sass-template-common 0.9.227 → 0.9.228
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sass-template-common.d.ts +10 -1
- package/dist/sass-template-common.js +331 -323
- package/dist/sass-template-common.umd.cjs +16 -15
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as s,
|
|
1
|
+
import { jsx as s, Fragment as W, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import * as us from "react";
|
|
3
3
|
import ue, { useState as V, useRef as ua, useCallback as de, useEffect as Be, createElement as Ve, forwardRef as ma, Fragment as In, useMemo as vt, Component as Nr } from "react";
|
|
4
4
|
let Un = {
|
|
@@ -93,102 +93,16 @@ const xr = () => {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
);
|
|
96
|
-
}, Sr = (e, t) => e && t ? {
|
|
97
|
-
author: e?.authors[0]?.name ?? "",
|
|
98
|
-
creator: e?.authors[0]?.name ?? "",
|
|
99
|
-
// currentNew?.info?.creator,
|
|
100
|
-
section: e?.info?.section?.name ?? "",
|
|
101
|
-
tags: t,
|
|
102
|
-
hiddentags: String(e?.keywords?.hiddentags) ?? "",
|
|
103
|
-
newsType: e?.info?.type ?? "",
|
|
104
|
-
publishDate: new Date(e?.info?.date?.firstpublish ?? "").toISOString().split("T")[0] ?? ""
|
|
105
|
-
} : void 0, Er = ({ id: e, dimensionValues: t = {} }) => {
|
|
106
|
-
const n = ue.useMemo(() => {
|
|
107
|
-
const r = {};
|
|
108
|
-
return Object.keys(t).forEach((o) => {
|
|
109
|
-
r[o] = o;
|
|
110
|
-
}), r;
|
|
111
|
-
}, [t]), { ANALYTICS_ga4: a } = R();
|
|
112
|
-
return a && /* @__PURE__ */ p(W, { children: [
|
|
113
|
-
/* @__PURE__ */ s("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + a }),
|
|
114
|
-
/* @__PURE__ */ s(
|
|
115
|
-
"script",
|
|
116
|
-
{
|
|
117
|
-
id: "googleanalytics",
|
|
118
|
-
defer: !0,
|
|
119
|
-
dangerouslySetInnerHTML: {
|
|
120
|
-
__html: `window.dataLayer = window.dataLayer || [];
|
|
121
|
-
function gtag(){dataLayer.push(arguments);}
|
|
122
|
-
gtag('js', new Date());
|
|
123
|
-
|
|
124
|
-
gtag('config', '${a}', {'send_page_view': false, 'custom_map': ${JSON.stringify(
|
|
125
|
-
n
|
|
126
|
-
)}});
|
|
127
|
-
|
|
128
|
-
gtag('event', 'page_view',${JSON.stringify(t)});`
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
)
|
|
132
|
-
] });
|
|
133
|
-
}, Tr = () => {
|
|
134
|
-
const { ANALYTICS_gtm: e } = R();
|
|
135
|
-
return e && /* @__PURE__ */ p(W, { children: [
|
|
136
|
-
/* @__PURE__ */ s(
|
|
137
|
-
"script",
|
|
138
|
-
{
|
|
139
|
-
id: "GTM",
|
|
140
|
-
dangerouslySetInnerHTML: {
|
|
141
|
-
__html: `
|
|
142
|
-
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
143
|
-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
144
|
-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
145
|
-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
146
|
-
})(window,document,'script','dataLayer','${e}');
|
|
147
|
-
`
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
),
|
|
151
|
-
/* @__PURE__ */ s("noscript", { children: /* @__PURE__ */ s(
|
|
152
|
-
"iframe",
|
|
153
|
-
{
|
|
154
|
-
src: `https://www.googletagmanager.com/ns.html?id=${e}`,
|
|
155
|
-
height: "0",
|
|
156
|
-
width: "0",
|
|
157
|
-
style: { display: "none", visibility: "hidden" }
|
|
158
|
-
}
|
|
159
|
-
) })
|
|
160
|
-
] });
|
|
161
|
-
}, kr = () => {
|
|
162
|
-
const { ANALYTICS_marfeel: e } = R();
|
|
163
|
-
return e && /* @__PURE__ */ s(
|
|
164
|
-
"script",
|
|
165
|
-
{
|
|
166
|
-
type: "text/javascript",
|
|
167
|
-
dangerouslySetInnerHTML: {
|
|
168
|
-
__html: `!function(){"use strict";function e(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],c=document.createElement("script");c.src=e,t?c.type="module":(c.defer=!0,c.type="text/javascript",c.setAttribute("nomodule",""));var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(c,n)}!function(t,c){!function(t,c,n){var a,o,r;n.accountId=c,null!==(a=t.marfeel)&&void 0!==a||(t.marfeel={}),null!==(o=(r=t.marfeel).cmd)&&void 0!==o||(r.cmd=[]),t.marfeel.config=n;var i="https://sdk.mrf.io/statics";e("".concat(i,"/marfeel-sdk.js?id=").concat(c),!0),e("".concat(i,"/marfeel-sdk.es5.js?id=").concat(c),!1)}(t,c,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})}(window,${e},{})}();`
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
);
|
|
172
|
-
}, mm = ({ defaultRouteName: e }) => {
|
|
173
|
-
const { CAPTCHA_KEY: t, CONFIG_comments: n = !1, CONFIG_commentsV2: a = !1 } = R();
|
|
174
|
-
return t && t !== "" && (e === "video" && n && !a || e === "news" && n && !a || e === "auth" || e === "anuncia" || e === "contacto") && /* @__PURE__ */ s(
|
|
175
|
-
"script",
|
|
176
|
-
{
|
|
177
|
-
src: `https://www.google.com/recaptcha/enterprise.js?render=${t}`,
|
|
178
|
-
async: !0,
|
|
179
|
-
defer: !0
|
|
180
|
-
}
|
|
181
|
-
);
|
|
182
96
|
};
|
|
183
97
|
function ut(e) {
|
|
184
98
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
185
99
|
}
|
|
186
|
-
var
|
|
100
|
+
var Dt = { exports: {} }, Sr = Dt.exports, ms;
|
|
187
101
|
function ha() {
|
|
188
102
|
return ms || (ms = 1, (function(e, t) {
|
|
189
103
|
(function(n, a) {
|
|
190
104
|
e.exports = a();
|
|
191
|
-
})(
|
|
105
|
+
})(Sr, (function() {
|
|
192
106
|
var n = 1e3, a = 6e4, r = 36e5, o = "millisecond", i = "second", l = "minute", d = "hour", c = "day", u = "week", h = "month", m = "quarter", w = "year", f = "date", g = "Invalid Date", b = /^(\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, v = { 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(O) {
|
|
193
107
|
var U = ["th", "st", "nd", "rd"], I = O % 100;
|
|
194
108
|
return "[" + O + (U[(I - 20) % 10] || U[I] || U[0]) + "]";
|
|
@@ -459,16 +373,16 @@ function ha() {
|
|
|
459
373
|
return D(1e3 * O);
|
|
460
374
|
}, D.en = E[y], D.Ls = E, D.p = {}, D;
|
|
461
375
|
}));
|
|
462
|
-
})(
|
|
376
|
+
})(Dt)), Dt.exports;
|
|
463
377
|
}
|
|
464
|
-
var
|
|
465
|
-
const Ae = /* @__PURE__ */ ut(
|
|
466
|
-
var
|
|
467
|
-
function
|
|
378
|
+
var Er = ha();
|
|
379
|
+
const Ae = /* @__PURE__ */ ut(Er);
|
|
380
|
+
var jt = { exports: {} }, Tr = jt.exports, hs;
|
|
381
|
+
function kr() {
|
|
468
382
|
return hs || (hs = 1, (function(e, t) {
|
|
469
383
|
(function(n, a) {
|
|
470
384
|
e.exports = a();
|
|
471
|
-
})(
|
|
385
|
+
})(Tr, (function() {
|
|
472
386
|
return function(n, a, r) {
|
|
473
387
|
n = n || {};
|
|
474
388
|
var o = a.prototype, i = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
@@ -505,16 +419,16 @@ function Rr() {
|
|
|
505
419
|
};
|
|
506
420
|
};
|
|
507
421
|
}));
|
|
508
|
-
})(
|
|
422
|
+
})(jt)), jt.exports;
|
|
509
423
|
}
|
|
510
|
-
var
|
|
511
|
-
const
|
|
512
|
-
var
|
|
513
|
-
function
|
|
424
|
+
var Ir = kr();
|
|
425
|
+
const Ur = /* @__PURE__ */ ut(Ir);
|
|
426
|
+
var Gt = { exports: {} }, Lr = Gt.exports, fs;
|
|
427
|
+
function Rr() {
|
|
514
428
|
return fs || (fs = 1, (function(e, t) {
|
|
515
429
|
(function(n, a) {
|
|
516
430
|
e.exports = a(ha());
|
|
517
|
-
})(
|
|
431
|
+
})(Lr, (function(n) {
|
|
518
432
|
function a(i) {
|
|
519
433
|
return i && typeof i == "object" && "default" in i ? i : { default: i };
|
|
520
434
|
}
|
|
@@ -523,15 +437,15 @@ function Mr() {
|
|
|
523
437
|
} };
|
|
524
438
|
return r.default.locale(o, null, !0), o;
|
|
525
439
|
}));
|
|
526
|
-
})(
|
|
440
|
+
})(Gt)), Gt.exports;
|
|
527
441
|
}
|
|
528
|
-
|
|
529
|
-
var
|
|
530
|
-
function
|
|
442
|
+
Rr();
|
|
443
|
+
var Ft = { exports: {} }, Pr = Ft.exports, ps;
|
|
444
|
+
function Or() {
|
|
531
445
|
return ps || (ps = 1, (function(e, t) {
|
|
532
446
|
(function(n, a) {
|
|
533
447
|
e.exports = a();
|
|
534
|
-
})(
|
|
448
|
+
})(Pr, (function() {
|
|
535
449
|
var n = "minute", a = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
|
|
536
450
|
return function(o, i, l) {
|
|
537
451
|
var d = i.prototype;
|
|
@@ -599,16 +513,16 @@ function qr() {
|
|
|
599
513
|
};
|
|
600
514
|
};
|
|
601
515
|
}));
|
|
602
|
-
})(
|
|
516
|
+
})(Ft)), Ft.exports;
|
|
603
517
|
}
|
|
604
|
-
var
|
|
605
|
-
const
|
|
606
|
-
var
|
|
607
|
-
function
|
|
518
|
+
var Br = Or();
|
|
519
|
+
const Mr = /* @__PURE__ */ ut(Br);
|
|
520
|
+
var Ht = { exports: {} }, _r = Ht.exports, gs;
|
|
521
|
+
function qr() {
|
|
608
522
|
return gs || (gs = 1, (function(e, t) {
|
|
609
523
|
(function(n, a) {
|
|
610
524
|
e.exports = a();
|
|
611
|
-
})(
|
|
525
|
+
})(_r, (function() {
|
|
612
526
|
var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, a = {};
|
|
613
527
|
return function(r, o, i) {
|
|
614
528
|
var l, d = function(m, w, f) {
|
|
@@ -664,26 +578,26 @@ function Fr() {
|
|
|
664
578
|
};
|
|
665
579
|
};
|
|
666
580
|
}));
|
|
667
|
-
})(
|
|
581
|
+
})(Ht)), Ht.exports;
|
|
668
582
|
}
|
|
669
|
-
var
|
|
670
|
-
const
|
|
583
|
+
var Dr = qr();
|
|
584
|
+
const jr = /* @__PURE__ */ ut(Dr);
|
|
585
|
+
Ae.extend(Mr);
|
|
671
586
|
Ae.extend(jr);
|
|
672
|
-
Ae.extend(
|
|
673
|
-
|
|
674
|
-
const
|
|
675
|
-
const { PUBLIC_LNG: n, DATE_TIMEZONE: a } = t || R(), r = Jt(n ?? "es");
|
|
587
|
+
Ae.extend(Ur);
|
|
588
|
+
const Zt = (e) => e === "en" ? "en" : "es", Oe = (e, t) => {
|
|
589
|
+
const { PUBLIC_LNG: n, DATE_TIMEZONE: a } = t || R(), r = Zt(n ?? "es");
|
|
676
590
|
return Ae.tz(e, a).locale(r).format("DD MMMM YYYY");
|
|
677
|
-
},
|
|
678
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = R(), a =
|
|
591
|
+
}, Xt = (e) => {
|
|
592
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = R(), a = Zt(t ?? "es");
|
|
679
593
|
return Ae.tz(e, n).locale(a).format(
|
|
680
594
|
a === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
681
595
|
);
|
|
682
|
-
},
|
|
683
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = R(), a =
|
|
596
|
+
}, Gr = (e) => {
|
|
597
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = R(), a = Zt(t ?? "es");
|
|
684
598
|
return Ae.tz(e, n).locale(a).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
685
|
-
},
|
|
686
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = R(), a =
|
|
599
|
+
}, mm = (e) => {
|
|
600
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = R(), a = Zt(t ?? "es");
|
|
687
601
|
return Ae.tz(e, n).locale(a).format("dddd DD [de] MMMM YYYY");
|
|
688
602
|
}, Ze = (e, t) => {
|
|
689
603
|
if (!e) return "";
|
|
@@ -706,21 +620,21 @@ const Jt = (e) => e === "en" ? "en" : "es", Oe = (e, t) => {
|
|
|
706
620
|
function rt(e) {
|
|
707
621
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
708
622
|
}
|
|
709
|
-
function
|
|
623
|
+
function Fr(e) {
|
|
710
624
|
return e && e.status === "fulfilled" ? e.value : null;
|
|
711
625
|
}
|
|
712
|
-
const
|
|
626
|
+
const Hr = { url: "", target: "_self", canonical: "", internal: "" }, Vr = {
|
|
713
627
|
date: "",
|
|
714
628
|
created: 0,
|
|
715
629
|
modified: 0,
|
|
716
630
|
firstpublish: 0,
|
|
717
631
|
lastpublish: 0
|
|
718
632
|
};
|
|
719
|
-
function
|
|
633
|
+
function zr(e) {
|
|
720
634
|
return e == null ? "" : typeof e == "string" ? e : e.article ?? e.home ?? e.section ?? e.seo ?? "";
|
|
721
635
|
}
|
|
722
636
|
const Ct = (e, t, n, a) => {
|
|
723
|
-
const r =
|
|
637
|
+
const r = zr(e?.main?.title), o = e?.main?.description ?? "";
|
|
724
638
|
return {
|
|
725
639
|
authors: e?.main?.author ? [
|
|
726
640
|
{
|
|
@@ -738,8 +652,8 @@ const Ct = (e, t, n, a) => {
|
|
|
738
652
|
title: ""
|
|
739
653
|
},
|
|
740
654
|
info: {
|
|
741
|
-
date: {
|
|
742
|
-
link: e?.info?.link ??
|
|
655
|
+
date: { ...Vr, ...e?.info?.date },
|
|
656
|
+
link: e?.info?.link ?? Hr
|
|
743
657
|
},
|
|
744
658
|
preview: {
|
|
745
659
|
sizes: e?.main?.image?.sizes ?? [],
|
|
@@ -791,7 +705,7 @@ function Ln(e) {
|
|
|
791
705
|
}
|
|
792
706
|
return n;
|
|
793
707
|
}
|
|
794
|
-
const
|
|
708
|
+
const hm = Ln, Qr = async (e, t) => {
|
|
795
709
|
const n = [];
|
|
796
710
|
return e.forEach((o) => {
|
|
797
711
|
o.forEach((i) => {
|
|
@@ -808,10 +722,10 @@ const fm = Ln, Kr = async (e, t) => {
|
|
|
808
722
|
}, ot = () => {
|
|
809
723
|
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } = R();
|
|
810
724
|
return e == "local" && (!n || n === "false") ? t : n && n !== "false" ? n : "";
|
|
811
|
-
},
|
|
725
|
+
}, fm = () => {
|
|
812
726
|
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = R();
|
|
813
727
|
return e === "local" ? t : "";
|
|
814
|
-
},
|
|
728
|
+
}, Wr = (e) => e.replace(/^https?:?\/\/[^/]+/, "");
|
|
815
729
|
function fa(e = R()) {
|
|
816
730
|
const { PUBLIC_SERVICE_PREFIX: t } = e;
|
|
817
731
|
return t && t !== "false" ? "/" + t : "";
|
|
@@ -838,7 +752,7 @@ function At(e, t, n = R()) {
|
|
|
838
752
|
const i = me(n), l = r.pathname.slice(a.length) || "/";
|
|
839
753
|
return `${t.replace(/\/+$/, "")}${i}${l}${r.search}${r.hash}`;
|
|
840
754
|
}
|
|
841
|
-
function
|
|
755
|
+
function pm(e, t = R()) {
|
|
842
756
|
if (!e) return e;
|
|
843
757
|
const n = me(t);
|
|
844
758
|
if (!n) return e;
|
|
@@ -853,7 +767,7 @@ function gm(e, t = R()) {
|
|
|
853
767
|
}
|
|
854
768
|
return a && (o === a || o.startsWith(a + "/")) && (o = o.slice(a.length) || "/"), o !== n && !o.startsWith(n + "/") && (o = n + o), `${r}${o}${i}`;
|
|
855
769
|
}
|
|
856
|
-
const
|
|
770
|
+
const $r = (e) => {
|
|
857
771
|
if (!e?.preview?.length) return null;
|
|
858
772
|
const t = e.preview;
|
|
859
773
|
return t.find((n) => n.format === "1.91:1") ?? t[t.length - 1];
|
|
@@ -875,13 +789,13 @@ const Zr = (e) => {
|
|
|
875
789
|
width: r,
|
|
876
790
|
height: o,
|
|
877
791
|
alt: i
|
|
878
|
-
},
|
|
792
|
+
}, Yr = (e, t, n, a) => {
|
|
879
793
|
if (!t) return {};
|
|
880
794
|
const {
|
|
881
795
|
PUBLIC_ASSETS_URL: r,
|
|
882
796
|
PUBLIC_API_FRONT: o,
|
|
883
797
|
DATE_TIMEZONE: i = "America/Mexico_City"
|
|
884
|
-
} = R(), l = pa(t.keywords) ?? "", d = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", c = (r !== "false" ? r : o) ?? "", u =
|
|
798
|
+
} = R(), l = pa(t.keywords) ?? "", d = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", c = (r !== "false" ? r : o) ?? "", u = $r(a), h = t.main.title.article, m = bs({
|
|
885
799
|
schemaImage: u,
|
|
886
800
|
socialImage: t?.social?.images?.facebook,
|
|
887
801
|
fallbackImage: d,
|
|
@@ -949,10 +863,10 @@ const Zr = (e) => {
|
|
|
949
863
|
tag: t?.keywords?.tags ?? []
|
|
950
864
|
}
|
|
951
865
|
};
|
|
952
|
-
}, pa = (e) => !e || !e?.tags || e?.tags?.length === 0 ? "" : e?.tags?.map((t) => t.name).join(", ").replaceAll('"', "'").replaceAll("`", "'"),
|
|
866
|
+
}, pa = (e) => !e || !e?.tags || e?.tags?.length === 0 ? "" : e?.tags?.map((t) => t.name).join(", ").replaceAll('"', "'").replaceAll("`", "'"), Kr = (e) => {
|
|
953
867
|
const t = e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);
|
|
954
868
|
return t ? { slug: t[1] ?? "", path: t[2] ?? "" } : { slug: "", path: "" };
|
|
955
|
-
},
|
|
869
|
+
}, Jr = (e) => e.replaceAll("/", "").replaceAll("_", "").replace(".html", ""), Zr = {
|
|
956
870
|
description: { attr: "name", value: "description" },
|
|
957
871
|
robots: { attr: "name", value: "robots" },
|
|
958
872
|
keywords: { attr: "name", value: "keywords" },
|
|
@@ -969,11 +883,11 @@ const Zr = (e) => {
|
|
|
969
883
|
"twitter.site": { attr: "name", value: "twitter:site" },
|
|
970
884
|
"twitter.domain": { attr: "name", value: "twitter:domain" },
|
|
971
885
|
"twitter.url": { attr: "name", value: "twitter:url" }
|
|
972
|
-
},
|
|
886
|
+
}, Xr = (e) => {
|
|
973
887
|
const t = [];
|
|
974
888
|
let n = 0;
|
|
975
889
|
const a = (i) => t.push(i);
|
|
976
|
-
return e.title && typeof e.title == "string" && a(/* @__PURE__ */ s("title", { children: e.title }, `title-${n++}`)), Object.entries(
|
|
890
|
+
return e.title && typeof e.title == "string" && a(/* @__PURE__ */ s("title", { children: e.title }, `title-${n++}`)), Object.entries(Zr).forEach(([i, l]) => {
|
|
977
891
|
const d = i.split(".").reduce((c, u) => c?.[u], e);
|
|
978
892
|
d && a(
|
|
979
893
|
/* @__PURE__ */ s(
|
|
@@ -1140,24 +1054,24 @@ const Zr = (e) => {
|
|
|
1140
1054
|
}, he = async (e) => {
|
|
1141
1055
|
const t = ot() ?? "", n = e;
|
|
1142
1056
|
return n?.startsWith("http") || n?.includes(t) || t === "" ? n : t + n;
|
|
1143
|
-
},
|
|
1057
|
+
}, xt = (e, t) => {
|
|
1144
1058
|
const n = e || "";
|
|
1145
1059
|
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 || "";
|
|
1146
|
-
},
|
|
1060
|
+
}, eo = /\[(?:general|seccion:[^\]]+|tema:\d+)\][\s\S]*?\[\/(?:general|seccion:[^\]]+|tema:\d+)\]/i, to = /\[(general|seccion:[^\]]+|tema:\d+)\]([\s\S]*?)\[\/\1\]/gi, no = (e) => !e || e.type === "general" ? "general" : e.type === "seccion" ? `seccion:${e.value}`.toLowerCase() : `tema:${e.value}`, Hn = (e, t) => {
|
|
1147
1061
|
const n = e || "";
|
|
1148
|
-
if (!
|
|
1062
|
+
if (!eo.test(n)) return n;
|
|
1149
1063
|
const a = /* @__PURE__ */ new Map();
|
|
1150
|
-
for (const l of n.matchAll(
|
|
1064
|
+
for (const l of n.matchAll(to)) {
|
|
1151
1065
|
const d = l[1]?.toLowerCase(), c = l[2];
|
|
1152
1066
|
d && c !== void 0 && !a.has(d) && a.set(d, c);
|
|
1153
1067
|
}
|
|
1154
1068
|
if (a.size === 0) return n;
|
|
1155
|
-
const r =
|
|
1069
|
+
const r = no(t), o = a.get(r);
|
|
1156
1070
|
if (o !== void 0) return o;
|
|
1157
1071
|
const i = a.get("general");
|
|
1158
1072
|
return i !== void 0 ? i : "";
|
|
1159
1073
|
};
|
|
1160
|
-
async function
|
|
1074
|
+
async function so({
|
|
1161
1075
|
fetchFn: e,
|
|
1162
1076
|
baseParams: t,
|
|
1163
1077
|
userPage: n,
|
|
@@ -1206,7 +1120,7 @@ const We = [], $e = [], As = () => !!R().DEBUG_ENABLED, Ie = {
|
|
|
1206
1120
|
clearAll() {
|
|
1207
1121
|
We.length = 0, $e.length = 0;
|
|
1208
1122
|
}
|
|
1209
|
-
},
|
|
1123
|
+
}, ao = (e) => {
|
|
1210
1124
|
const t = {};
|
|
1211
1125
|
if (!e) return t;
|
|
1212
1126
|
const n = /([^\s=]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'>]+)))?/g;
|
|
@@ -1216,14 +1130,14 @@ const We = [], $e = [], As = () => !!R().DEBUG_ENABLED, Ie = {
|
|
|
1216
1130
|
t[r] = o;
|
|
1217
1131
|
}
|
|
1218
1132
|
return t;
|
|
1219
|
-
},
|
|
1133
|
+
}, ro = (e) => {
|
|
1220
1134
|
const t = e.match(
|
|
1221
1135
|
/\bsrc\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i
|
|
1222
1136
|
);
|
|
1223
1137
|
return t?.[1] || t?.[2] || t?.[3] || null;
|
|
1224
1138
|
}, ga = (e, t, n, a) => {
|
|
1225
1139
|
try {
|
|
1226
|
-
const r =
|
|
1140
|
+
const r = ao(e);
|
|
1227
1141
|
return r.src ? /* @__PURE__ */ s("script", { "data-bs-name": a, ...r }, n) : /* @__PURE__ */ s(
|
|
1228
1142
|
"script",
|
|
1229
1143
|
{
|
|
@@ -1233,7 +1147,7 @@ const We = [], $e = [], As = () => !!R().DEBUG_ENABLED, Ie = {
|
|
|
1233
1147
|
n
|
|
1234
1148
|
);
|
|
1235
1149
|
} catch {
|
|
1236
|
-
const o =
|
|
1150
|
+
const o = ro(e);
|
|
1237
1151
|
return o ? /* @__PURE__ */ s(
|
|
1238
1152
|
"script",
|
|
1239
1153
|
{
|
|
@@ -1245,7 +1159,7 @@ const We = [], $e = [], As = () => !!R().DEBUG_ENABLED, Ie = {
|
|
|
1245
1159
|
n
|
|
1246
1160
|
) : null;
|
|
1247
1161
|
}
|
|
1248
|
-
},
|
|
1162
|
+
}, oo = (e) => {
|
|
1249
1163
|
const t = /<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/gi;
|
|
1250
1164
|
return [...e.matchAll(t)];
|
|
1251
1165
|
}, wa = (e) => {
|
|
@@ -1253,20 +1167,20 @@ const We = [], $e = [], As = () => !!R().DEBUG_ENABLED, Ie = {
|
|
|
1253
1167
|
(r) => r.key === e.name
|
|
1254
1168
|
);
|
|
1255
1169
|
if (!t || !t.show) return null;
|
|
1256
|
-
const n =
|
|
1170
|
+
const n = xt(
|
|
1257
1171
|
t.value || "",
|
|
1258
1172
|
e.replaces
|
|
1259
|
-
), a =
|
|
1173
|
+
), a = oo(n);
|
|
1260
1174
|
return /* @__PURE__ */ s(W, { children: a.map((r, o) => {
|
|
1261
1175
|
const i = r[1] || r[3] || "", l = r[2]?.trim() || "";
|
|
1262
1176
|
return ga(i, l, o, e.name);
|
|
1263
1177
|
}) });
|
|
1264
|
-
},
|
|
1178
|
+
}, io = (e) => {
|
|
1265
1179
|
const t = e.banners.find(
|
|
1266
1180
|
(r) => r.key === e.name
|
|
1267
1181
|
);
|
|
1268
1182
|
if (!t || !t.show) return null;
|
|
1269
|
-
const a =
|
|
1183
|
+
const a = xt(
|
|
1270
1184
|
t.value || "",
|
|
1271
1185
|
e.replaces
|
|
1272
1186
|
).split(
|
|
@@ -1299,11 +1213,11 @@ const We = [], $e = [], As = () => !!R().DEBUG_ENABLED, Ie = {
|
|
|
1299
1213
|
o > 0 && (a += `/${r}`);
|
|
1300
1214
|
}), `${a}/page/${n - 1}`;
|
|
1301
1215
|
};
|
|
1302
|
-
function
|
|
1216
|
+
function gm(e) {
|
|
1303
1217
|
const t = e.length;
|
|
1304
1218
|
return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
|
|
1305
1219
|
}
|
|
1306
|
-
const
|
|
1220
|
+
const lo = () => {
|
|
1307
1221
|
const { PUBLIC_ASSETS_URL: e } = R();
|
|
1308
1222
|
return e && e !== "false" && /* @__PURE__ */ s("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" });
|
|
1309
1223
|
}, ys = ({ images: e }) => /* @__PURE__ */ s(W, { children: e.map(
|
|
@@ -1318,7 +1232,7 @@ const ho = () => {
|
|
|
1318
1232
|
},
|
|
1319
1233
|
n
|
|
1320
1234
|
)
|
|
1321
|
-
) }),
|
|
1235
|
+
) }), co = (e, t, n) => {
|
|
1322
1236
|
if (!t) return {};
|
|
1323
1237
|
const { PUBLIC_API_FRONT: a } = R();
|
|
1324
1238
|
return {
|
|
@@ -1359,7 +1273,7 @@ const ho = () => {
|
|
|
1359
1273
|
]
|
|
1360
1274
|
}
|
|
1361
1275
|
};
|
|
1362
|
-
},
|
|
1276
|
+
}, wm = (e) => {
|
|
1363
1277
|
let t = "";
|
|
1364
1278
|
if (e.params.news.match(/.*t[0-9]*.html/g)) {
|
|
1365
1279
|
const n = e.params.news.split("-"), a = n[n.length - 1] ?? "", r = a.substring(1, 9), o = a.substring(9, 13);
|
|
@@ -1377,7 +1291,7 @@ const ho = () => {
|
|
|
1377
1291
|
}
|
|
1378
1292
|
return e.config.servicePrefix + t;
|
|
1379
1293
|
};
|
|
1380
|
-
function
|
|
1294
|
+
function bm(e) {
|
|
1381
1295
|
const t = e.lastIndexOf("-"), n = t >= 0 ? [e.slice(0, t), e.slice(t + 1)] : [e], a = n[n.length - 1]?.split("."), r = a && a[0] ? a[0] : "", o = r.substring(0, 2), i = r.substring(2, 10), l = r.substring(10);
|
|
1382
1296
|
return { path: {
|
|
1383
1297
|
vy: (c) => `/videos/video-youtube/${Ae(i).format(
|
|
@@ -1392,10 +1306,10 @@ function Am(e) {
|
|
|
1392
1306
|
const Xe = (e, t) => {
|
|
1393
1307
|
const n = e.name.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/ñ/g, "n").replace(/Ñ/g, "n").replace(/[^\w\s]/gi, "").replaceAll(" ", "-").toLowerCase();
|
|
1394
1308
|
return t?.tema ? `/${t.tema}/${n}-t${e.id}` : `/${n}-t${e.id}`;
|
|
1395
|
-
},
|
|
1309
|
+
}, Am = (e) => {
|
|
1396
1310
|
const { AssetsPrefix: t = "", AssetsPath: n = "src", isDev: a = !1 } = e;
|
|
1397
1311
|
return a ? "src" : t + n;
|
|
1398
|
-
},
|
|
1312
|
+
}, ym = async (e, t, n, a) => {
|
|
1399
1313
|
const { FETCH_TAG_BASED_RELATED_NEWS: r = !1, FETCH_SIZE_RELATED_NEWS: o = 10 } = R();
|
|
1400
1314
|
if (!e) return [];
|
|
1401
1315
|
try {
|
|
@@ -1424,7 +1338,7 @@ const Xe = (e, t) => {
|
|
|
1424
1338
|
} catch (i) {
|
|
1425
1339
|
console.log(i);
|
|
1426
1340
|
}
|
|
1427
|
-
},
|
|
1341
|
+
}, uo = "https://recaptchaenterprise.googleapis.com/v1/projects", vm = async ({
|
|
1428
1342
|
projectID: e,
|
|
1429
1343
|
recaptchaKey: t,
|
|
1430
1344
|
token: n,
|
|
@@ -1435,7 +1349,7 @@ const Xe = (e, t) => {
|
|
|
1435
1349
|
}) => {
|
|
1436
1350
|
if (!e || !t || !n || !r)
|
|
1437
1351
|
return console.warn("createAssessment: faltan parámetros requeridos"), null;
|
|
1438
|
-
const l = `${
|
|
1352
|
+
const l = `${uo}/${e}/assessments?key=${r}`, d = {
|
|
1439
1353
|
event: {
|
|
1440
1354
|
token: n,
|
|
1441
1355
|
siteKey: t,
|
|
@@ -1472,13 +1386,13 @@ const Xe = (e, t) => {
|
|
|
1472
1386
|
return console.error("createAssessment error:", c), null;
|
|
1473
1387
|
}
|
|
1474
1388
|
};
|
|
1475
|
-
function
|
|
1389
|
+
function Cm(e, t) {
|
|
1476
1390
|
if (t === "comentarios") return;
|
|
1477
1391
|
const n = e[t];
|
|
1478
1392
|
return typeof n == "string" || n === void 0 ? n : void 0;
|
|
1479
1393
|
}
|
|
1480
|
-
const
|
|
1481
|
-
function
|
|
1394
|
+
const Nm = (e) => e?.body?.rendered.includes("ck-image-gallery") || e?.config?.articlepreview === "fotogaleria" && e?.hascontent?.hasgalleryimages;
|
|
1395
|
+
function xm(e) {
|
|
1482
1396
|
const t = {};
|
|
1483
1397
|
for (const [n, a] of Object.entries(e)) {
|
|
1484
1398
|
const r = btoa(n).split("").reverse().join("");
|
|
@@ -1501,7 +1415,7 @@ function ba(e) {
|
|
|
1501
1415
|
}
|
|
1502
1416
|
return t;
|
|
1503
1417
|
}
|
|
1504
|
-
const
|
|
1418
|
+
const Sm = async (e, t, n) => {
|
|
1505
1419
|
const { info: a, preview: r } = e, o = e?.config?.homepreview || "imagen", i = o === "clip" && e?.hascontent?.hasgalleryvideosflash, l = {
|
|
1506
1420
|
...r
|
|
1507
1421
|
};
|
|
@@ -1539,13 +1453,13 @@ const Em = async (e, t, n) => {
|
|
|
1539
1453
|
...e,
|
|
1540
1454
|
preview: l
|
|
1541
1455
|
};
|
|
1542
|
-
},
|
|
1456
|
+
}, mo = (e) => e === "/" || e === "/index.html", ho = /* @__PURE__ */ new Set(["@type", "@context"]), vs = (e) => {
|
|
1543
1457
|
if (e == null) return !0;
|
|
1544
1458
|
if (typeof e == "string") return e.trim() === "";
|
|
1545
1459
|
if (Array.isArray(e)) return e.length === 0;
|
|
1546
1460
|
if (typeof e == "object") {
|
|
1547
1461
|
const t = Object.keys(e);
|
|
1548
|
-
return t.length === 0 ? !0 : t.every((n) =>
|
|
1462
|
+
return t.length === 0 ? !0 : t.every((n) => ho.has(n));
|
|
1549
1463
|
}
|
|
1550
1464
|
return !1;
|
|
1551
1465
|
}, De = (e) => {
|
|
@@ -1560,6 +1474,93 @@ const Em = async (e, t, n) => {
|
|
|
1560
1474
|
return t;
|
|
1561
1475
|
}
|
|
1562
1476
|
return e;
|
|
1477
|
+
}, fo = (e, t) => e && t ? {
|
|
1478
|
+
author: e?.authors[0]?.name ?? "",
|
|
1479
|
+
creator: e?.authors[0]?.name ?? "",
|
|
1480
|
+
// currentNew?.info?.creator,
|
|
1481
|
+
section: e?.info?.section?.name ?? "",
|
|
1482
|
+
tags: t,
|
|
1483
|
+
hiddentags: String(e?.keywords?.hiddentags) ?? "",
|
|
1484
|
+
newsType: e?.info?.type ?? "",
|
|
1485
|
+
publishDate: new Date(e?.info?.date?.firstpublish ?? "").toISOString().split("T")[0] ?? ""
|
|
1486
|
+
} : void 0, po = ({ id: e, dimensionValues: t = {}, event_analytics: n, eventReplaces: a }) => {
|
|
1487
|
+
const r = ue.useMemo(() => {
|
|
1488
|
+
const l = {};
|
|
1489
|
+
return Object.keys(t).forEach((d) => {
|
|
1490
|
+
l[d] = d;
|
|
1491
|
+
}), l;
|
|
1492
|
+
}, [t]), { ANALYTICS_ga4: o } = R(), i = n && n.show && n.value ? xt(n.value, a) : "";
|
|
1493
|
+
return o && /* @__PURE__ */ p(W, { children: [
|
|
1494
|
+
/* @__PURE__ */ s("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + o }),
|
|
1495
|
+
/* @__PURE__ */ s(
|
|
1496
|
+
"script",
|
|
1497
|
+
{
|
|
1498
|
+
id: "googleanalytics",
|
|
1499
|
+
defer: !0,
|
|
1500
|
+
dangerouslySetInnerHTML: {
|
|
1501
|
+
__html: `window.dataLayer = window.dataLayer || [];
|
|
1502
|
+
function gtag(){dataLayer.push(arguments);}
|
|
1503
|
+
gtag('js', new Date());
|
|
1504
|
+
|
|
1505
|
+
gtag('config', '${o}', {'send_page_view': false, 'custom_map': ${JSON.stringify(
|
|
1506
|
+
r
|
|
1507
|
+
)}});
|
|
1508
|
+
|
|
1509
|
+
gtag('event', 'page_view',${JSON.stringify(t)});
|
|
1510
|
+
${i}`
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
)
|
|
1514
|
+
] });
|
|
1515
|
+
}, go = () => {
|
|
1516
|
+
const { ANALYTICS_gtm: e } = R();
|
|
1517
|
+
return e && /* @__PURE__ */ p(W, { children: [
|
|
1518
|
+
/* @__PURE__ */ s(
|
|
1519
|
+
"script",
|
|
1520
|
+
{
|
|
1521
|
+
id: "GTM",
|
|
1522
|
+
dangerouslySetInnerHTML: {
|
|
1523
|
+
__html: `
|
|
1524
|
+
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
1525
|
+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
1526
|
+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
1527
|
+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
1528
|
+
})(window,document,'script','dataLayer','${e}');
|
|
1529
|
+
`
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
),
|
|
1533
|
+
/* @__PURE__ */ s("noscript", { children: /* @__PURE__ */ s(
|
|
1534
|
+
"iframe",
|
|
1535
|
+
{
|
|
1536
|
+
src: `https://www.googletagmanager.com/ns.html?id=${e}`,
|
|
1537
|
+
height: "0",
|
|
1538
|
+
width: "0",
|
|
1539
|
+
style: { display: "none", visibility: "hidden" }
|
|
1540
|
+
}
|
|
1541
|
+
) })
|
|
1542
|
+
] });
|
|
1543
|
+
}, wo = () => {
|
|
1544
|
+
const { ANALYTICS_marfeel: e } = R();
|
|
1545
|
+
return e && /* @__PURE__ */ s(
|
|
1546
|
+
"script",
|
|
1547
|
+
{
|
|
1548
|
+
type: "text/javascript",
|
|
1549
|
+
dangerouslySetInnerHTML: {
|
|
1550
|
+
__html: `!function(){"use strict";function e(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],c=document.createElement("script");c.src=e,t?c.type="module":(c.defer=!0,c.type="text/javascript",c.setAttribute("nomodule",""));var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(c,n)}!function(t,c){!function(t,c,n){var a,o,r;n.accountId=c,null!==(a=t.marfeel)&&void 0!==a||(t.marfeel={}),null!==(o=(r=t.marfeel).cmd)&&void 0!==o||(r.cmd=[]),t.marfeel.config=n;var i="https://sdk.mrf.io/statics";e("".concat(i,"/marfeel-sdk.js?id=").concat(c),!0),e("".concat(i,"/marfeel-sdk.es5.js?id=").concat(c),!1)}(t,c,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})}(window,${e},{})}();`
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
);
|
|
1554
|
+
}, Em = ({ defaultRouteName: e }) => {
|
|
1555
|
+
const { CAPTCHA_KEY: t, CONFIG_comments: n = !1, CONFIG_commentsV2: a = !1 } = R();
|
|
1556
|
+
return t && t !== "" && (e === "video" && n && !a || e === "news" && n && !a || e === "auth" || e === "anuncia" || e === "contacto") && /* @__PURE__ */ s(
|
|
1557
|
+
"script",
|
|
1558
|
+
{
|
|
1559
|
+
src: `https://www.google.com/recaptcha/enterprise.js?render=${t}`,
|
|
1560
|
+
async: !0,
|
|
1561
|
+
defer: !0
|
|
1562
|
+
}
|
|
1563
|
+
);
|
|
1563
1564
|
}, bo = {
|
|
1564
1565
|
prefetch: [
|
|
1565
1566
|
{
|
|
@@ -1725,10 +1726,10 @@ const Em = async (e, t, n) => {
|
|
|
1725
1726
|
return typeof n.url == "string" && (n.url = At(n.url, t)), typeof n["@id"] == "string" && (n["@id"] = At(n["@id"], t)), n;
|
|
1726
1727
|
}
|
|
1727
1728
|
return e;
|
|
1728
|
-
},
|
|
1729
|
+
}, $t = (e, t) => {
|
|
1729
1730
|
if (Array.isArray(e))
|
|
1730
1731
|
return e.map(
|
|
1731
|
-
(n) =>
|
|
1732
|
+
(n) => $t(n, t)
|
|
1732
1733
|
);
|
|
1733
1734
|
if (e && typeof e == "object") {
|
|
1734
1735
|
const n = e, a = n["@type"];
|
|
@@ -1745,7 +1746,7 @@ const Em = async (e, t, n) => {
|
|
|
1745
1746
|
}
|
|
1746
1747
|
const r = {};
|
|
1747
1748
|
for (const [o, i] of Object.entries(n))
|
|
1748
|
-
r[o] =
|
|
1749
|
+
r[o] = $t(i, t);
|
|
1749
1750
|
return r;
|
|
1750
1751
|
}
|
|
1751
1752
|
return e;
|
|
@@ -1790,7 +1791,7 @@ const Em = async (e, t, n) => {
|
|
|
1790
1791
|
type: "application/ld+json",
|
|
1791
1792
|
dangerouslySetInnerHTML: {
|
|
1792
1793
|
__html: JSON.stringify(
|
|
1793
|
-
|
|
1794
|
+
$t(De(o), c)
|
|
1794
1795
|
)
|
|
1795
1796
|
}
|
|
1796
1797
|
}
|
|
@@ -1886,7 +1887,7 @@ const Io = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
1886
1887
|
type: "application/ld+json",
|
|
1887
1888
|
dangerouslySetInnerHTML: {
|
|
1888
1889
|
__html: en(
|
|
1889
|
-
JSON.stringify(
|
|
1890
|
+
JSON.stringify($t(d, l))
|
|
1890
1891
|
)
|
|
1891
1892
|
}
|
|
1892
1893
|
},
|
|
@@ -2035,7 +2036,7 @@ const Io = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
2035
2036
|
"[author_replace]": e.currentNew?.authors[0]?.name ?? "",
|
|
2036
2037
|
"[section_replace]": e.currentNew?.info?.section?.slug ?? "",
|
|
2037
2038
|
"[tag_replace]": pa(e.currentNew?.keywords),
|
|
2038
|
-
"[url_replace]":
|
|
2039
|
+
"[url_replace]": Jr(e.internalPath ?? "")
|
|
2039
2040
|
}),
|
|
2040
2041
|
seccion: (e) => ({
|
|
2041
2042
|
"[author_replace]": "",
|
|
@@ -2115,7 +2116,7 @@ const Io = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
2115
2116
|
404: () => "404",
|
|
2116
2117
|
home: () => "home",
|
|
2117
2118
|
slug: (e) => Ee(e.pathname),
|
|
2118
|
-
news: (e) =>
|
|
2119
|
+
news: (e) => Kr(e.pathname)?.slug,
|
|
2119
2120
|
seccion: (e) => Ee(e.pathname),
|
|
2120
2121
|
tema: (e) => Ee(e.pathname),
|
|
2121
2122
|
pages: (e) => Ee(e.pathname),
|
|
@@ -2314,7 +2315,7 @@ const { toString: Fo } = Object.prototype, { getPrototypeOf: zn } = Object, { it
|
|
|
2314
2315
|
const n = Fo.call(t);
|
|
2315
2316
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
2316
2317
|
})(/* @__PURE__ */ Object.create(null)), ke = (e) => (e = e.toLowerCase(), (t) => nn(t) === e), sn = (e) => (t) => typeof t === e, { isArray: mt } = Array, lt = sn("undefined");
|
|
2317
|
-
function
|
|
2318
|
+
function St(e) {
|
|
2318
2319
|
return e !== null && !lt(e) && e.constructor !== null && !lt(e.constructor) && Ce(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2319
2320
|
}
|
|
2320
2321
|
const Na = ke("ArrayBuffer");
|
|
@@ -2322,25 +2323,25 @@ function Ho(e) {
|
|
|
2322
2323
|
let t;
|
|
2323
2324
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Na(e.buffer), t;
|
|
2324
2325
|
}
|
|
2325
|
-
const Vo = sn("string"), Ce = sn("function"), xa = sn("number"),
|
|
2326
|
+
const Vo = sn("string"), Ce = sn("function"), xa = sn("number"), Et = (e) => e !== null && typeof e == "object", zo = (e) => e === !0 || e === !1, Vt = (e) => {
|
|
2326
2327
|
if (nn(e) !== "object")
|
|
2327
2328
|
return !1;
|
|
2328
2329
|
const t = zn(e);
|
|
2329
2330
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ca in e) && !(tn in e);
|
|
2330
2331
|
}, Qo = (e) => {
|
|
2331
|
-
if (!
|
|
2332
|
+
if (!Et(e) || St(e))
|
|
2332
2333
|
return !1;
|
|
2333
2334
|
try {
|
|
2334
2335
|
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
2335
2336
|
} catch {
|
|
2336
2337
|
return !1;
|
|
2337
2338
|
}
|
|
2338
|
-
}, Wo = ke("Date"), $o = ke("File"), Yo = ke("Blob"), Ko = ke("FileList"), Jo = (e) =>
|
|
2339
|
+
}, Wo = ke("Date"), $o = ke("File"), Yo = ke("Blob"), Ko = ke("FileList"), Jo = (e) => Et(e) && Ce(e.pipe), Zo = (e) => {
|
|
2339
2340
|
let t;
|
|
2340
2341
|
return e && (typeof FormData == "function" && e instanceof FormData || Ce(e.append) && ((t = nn(e)) === "formdata" || // detect form-data instance
|
|
2341
2342
|
t === "object" && Ce(e.toString) && e.toString() === "[object FormData]"));
|
|
2342
2343
|
}, Xo = ke("URLSearchParams"), [ei, ti, ni, si] = ["ReadableStream", "Request", "Response", "Headers"].map(ke), ai = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
2343
|
-
function
|
|
2344
|
+
function Tt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
2344
2345
|
if (e === null || typeof e > "u")
|
|
2345
2346
|
return;
|
|
2346
2347
|
let a, r;
|
|
@@ -2348,7 +2349,7 @@ function Et(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
2348
2349
|
for (a = 0, r = e.length; a < r; a++)
|
|
2349
2350
|
t.call(null, e[a], a, e);
|
|
2350
2351
|
else {
|
|
2351
|
-
if (
|
|
2352
|
+
if (St(e))
|
|
2352
2353
|
return;
|
|
2353
2354
|
const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
|
|
2354
2355
|
let l;
|
|
@@ -2357,7 +2358,7 @@ function Et(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
2357
2358
|
}
|
|
2358
2359
|
}
|
|
2359
2360
|
function Sa(e, t) {
|
|
2360
|
-
if (
|
|
2361
|
+
if (St(e))
|
|
2361
2362
|
return null;
|
|
2362
2363
|
t = t.toLowerCase();
|
|
2363
2364
|
const n = Object.keys(e);
|
|
@@ -2371,13 +2372,13 @@ const Ye = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
|
|
|
2371
2372
|
function Rn() {
|
|
2372
2373
|
const { caseless: e, skipUndefined: t } = Ea(this) && this || {}, n = {}, a = (r, o) => {
|
|
2373
2374
|
const i = e && Sa(n, o) || o;
|
|
2374
|
-
|
|
2375
|
+
Vt(n[i]) && Vt(r) ? n[i] = Rn(n[i], r) : Vt(r) ? n[i] = Rn({}, r) : mt(r) ? n[i] = r.slice() : (!t || !lt(r)) && (n[i] = r);
|
|
2375
2376
|
};
|
|
2376
2377
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
2377
|
-
arguments[r] &&
|
|
2378
|
+
arguments[r] && Tt(arguments[r], a);
|
|
2378
2379
|
return n;
|
|
2379
2380
|
}
|
|
2380
|
-
const ri = (e, t, n, { allOwnKeys: a } = {}) => (
|
|
2381
|
+
const ri = (e, t, n, { allOwnKeys: a } = {}) => (Tt(t, (r, o) => {
|
|
2381
2382
|
n && Ce(r) ? e[o] = va(r, n) : e[o] = r;
|
|
2382
2383
|
}, { allOwnKeys: a }), e), oi = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), ii = (e, t, n, a) => {
|
|
2383
2384
|
e.prototype = Object.create(t.prototype, a), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
@@ -2426,7 +2427,7 @@ const ri = (e, t, n, { allOwnKeys: a } = {}) => (Et(t, (r, o) => {
|
|
|
2426
2427
|
}
|
|
2427
2428
|
), Cs = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), gi = ke("RegExp"), Ta = (e, t) => {
|
|
2428
2429
|
const n = Object.getOwnPropertyDescriptors(e), a = {};
|
|
2429
|
-
|
|
2430
|
+
Tt(n, (r, o) => {
|
|
2430
2431
|
let i;
|
|
2431
2432
|
(i = t(r, o, e)) !== !1 && (a[o] = i || r);
|
|
2432
2433
|
}), Object.defineProperties(e, a);
|
|
@@ -2459,15 +2460,15 @@ function vi(e) {
|
|
|
2459
2460
|
}
|
|
2460
2461
|
const Ci = (e) => {
|
|
2461
2462
|
const t = new Array(10), n = (a, r) => {
|
|
2462
|
-
if (
|
|
2463
|
+
if (Et(a)) {
|
|
2463
2464
|
if (t.indexOf(a) >= 0)
|
|
2464
2465
|
return;
|
|
2465
|
-
if (
|
|
2466
|
+
if (St(a))
|
|
2466
2467
|
return a;
|
|
2467
2468
|
if (!("toJSON" in a)) {
|
|
2468
2469
|
t[r] = a;
|
|
2469
2470
|
const o = mt(a) ? [] : {};
|
|
2470
|
-
return
|
|
2471
|
+
return Tt(a, (i, l) => {
|
|
2471
2472
|
const d = n(i, r + 1);
|
|
2472
2473
|
!lt(d) && (o[l] = d);
|
|
2473
2474
|
}), t[r] = void 0, o;
|
|
@@ -2476,7 +2477,7 @@ const Ci = (e) => {
|
|
|
2476
2477
|
return a;
|
|
2477
2478
|
};
|
|
2478
2479
|
return n(e, 0);
|
|
2479
|
-
}, Ni = ke("AsyncFunction"), xi = (e) => e && (
|
|
2480
|
+
}, Ni = ke("AsyncFunction"), xi = (e) => e && (Et(e) || Ce(e)) && Ce(e.then) && Ce(e.catch), ka = ((e, t) => e ? setImmediate : t ? ((n, a) => (Ye.addEventListener("message", ({ source: r, data: o }) => {
|
|
2480
2481
|
r === Ye && o === n && a.length && a.shift()();
|
|
2481
2482
|
}, !1), (r) => {
|
|
2482
2483
|
a.push(r), Ye.postMessage(n, "*");
|
|
@@ -2486,14 +2487,14 @@ const Ci = (e) => {
|
|
|
2486
2487
|
), Si = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ye) : typeof process < "u" && process.nextTick || ka, Ei = (e) => e != null && Ce(e[tn]), S = {
|
|
2487
2488
|
isArray: mt,
|
|
2488
2489
|
isArrayBuffer: Na,
|
|
2489
|
-
isBuffer:
|
|
2490
|
+
isBuffer: St,
|
|
2490
2491
|
isFormData: Zo,
|
|
2491
2492
|
isArrayBufferView: Ho,
|
|
2492
2493
|
isString: Vo,
|
|
2493
2494
|
isNumber: xa,
|
|
2494
2495
|
isBoolean: zo,
|
|
2495
|
-
isObject:
|
|
2496
|
-
isPlainObject:
|
|
2496
|
+
isObject: Et,
|
|
2497
|
+
isPlainObject: Vt,
|
|
2497
2498
|
isEmptyObject: Qo,
|
|
2498
2499
|
isReadableStream: ei,
|
|
2499
2500
|
isRequest: ti,
|
|
@@ -2509,7 +2510,7 @@ const Ci = (e) => {
|
|
|
2509
2510
|
isURLSearchParams: Xo,
|
|
2510
2511
|
isTypedArray: ui,
|
|
2511
2512
|
isFileList: Ko,
|
|
2512
|
-
forEach:
|
|
2513
|
+
forEach: Tt,
|
|
2513
2514
|
merge: Rn,
|
|
2514
2515
|
extend: ri,
|
|
2515
2516
|
trim: ai,
|
|
@@ -2846,7 +2847,7 @@ function Fi(e, t, n) {
|
|
|
2846
2847
|
}
|
|
2847
2848
|
return (n || JSON.stringify)(e);
|
|
2848
2849
|
}
|
|
2849
|
-
const
|
|
2850
|
+
const kt = {
|
|
2850
2851
|
transitional: Oa,
|
|
2851
2852
|
adapter: ["xhr", "http", "fetch"],
|
|
2852
2853
|
transformRequest: [function(t, n) {
|
|
@@ -2875,7 +2876,7 @@ const Tt = {
|
|
|
2875
2876
|
return o || r ? (n.setContentType("application/json", !1), Fi(t)) : t;
|
|
2876
2877
|
}],
|
|
2877
2878
|
transformResponse: [function(t) {
|
|
2878
|
-
const n = this.transitional ||
|
|
2879
|
+
const n = this.transitional || kt.transitional, a = n && n.forcedJSONParsing, r = this.responseType === "json";
|
|
2879
2880
|
if (S.isResponse(t) || S.isReadableStream(t))
|
|
2880
2881
|
return t;
|
|
2881
2882
|
if (t && S.isString(t) && (a && !this.responseType || r)) {
|
|
@@ -2913,7 +2914,7 @@ const Tt = {
|
|
|
2913
2914
|
}
|
|
2914
2915
|
};
|
|
2915
2916
|
S.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
2916
|
-
|
|
2917
|
+
kt.headers[e] = {};
|
|
2917
2918
|
});
|
|
2918
2919
|
const Hi = S.toObjectSet([
|
|
2919
2920
|
"age",
|
|
@@ -2944,8 +2945,8 @@ const Hi = S.toObjectSet([
|
|
|
2944
2945
|
function pt(e) {
|
|
2945
2946
|
return e && String(e).trim().toLowerCase();
|
|
2946
2947
|
}
|
|
2947
|
-
function
|
|
2948
|
-
return e === !1 || e == null ? e : S.isArray(e) ? e.map(
|
|
2948
|
+
function zt(e) {
|
|
2949
|
+
return e === !1 || e == null ? e : S.isArray(e) ? e.map(zt) : String(e);
|
|
2949
2950
|
}
|
|
2950
2951
|
function zi(e) {
|
|
2951
2952
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -2990,7 +2991,7 @@ let Ne = class {
|
|
|
2990
2991
|
if (!u)
|
|
2991
2992
|
throw new Error("header name must be a non-empty string");
|
|
2992
2993
|
const h = S.findKey(r, u);
|
|
2993
|
-
(!h || r[h] === void 0 || c === !0 || c === void 0 && r[h] !== !1) && (r[h || d] =
|
|
2994
|
+
(!h || r[h] === void 0 || c === !0 || c === void 0 && r[h] !== !1) && (r[h || d] = zt(l));
|
|
2994
2995
|
}
|
|
2995
2996
|
const i = (l, d) => S.forEach(l, (c, u) => o(c, u, d));
|
|
2996
2997
|
if (S.isPlainObject(t) || t instanceof this.constructor)
|
|
@@ -3058,11 +3059,11 @@ let Ne = class {
|
|
|
3058
3059
|
return S.forEach(this, (r, o) => {
|
|
3059
3060
|
const i = S.findKey(a, o);
|
|
3060
3061
|
if (i) {
|
|
3061
|
-
n[i] =
|
|
3062
|
+
n[i] = zt(r), delete n[o];
|
|
3062
3063
|
return;
|
|
3063
3064
|
}
|
|
3064
3065
|
const l = t ? Wi(o) : String(o).trim();
|
|
3065
|
-
l !== o && delete n[o], n[l] =
|
|
3066
|
+
l !== o && delete n[o], n[l] = zt(r), a[l] = !0;
|
|
3066
3067
|
}), this;
|
|
3067
3068
|
}
|
|
3068
3069
|
concat(...t) {
|
|
@@ -3117,7 +3118,7 @@ S.reduceDescriptors(Ne.prototype, ({ value: e }, t) => {
|
|
|
3117
3118
|
});
|
|
3118
3119
|
S.freezeMethods(Ne);
|
|
3119
3120
|
function bn(e, t) {
|
|
3120
|
-
const n = this ||
|
|
3121
|
+
const n = this || kt, a = t || n, r = Ne.from(a.headers);
|
|
3121
3122
|
let o = a.data;
|
|
3122
3123
|
return S.forEach(e, function(l) {
|
|
3123
3124
|
o = l.call(n, o, r.normalize(), t ? t.status : void 0);
|
|
@@ -3174,7 +3175,7 @@ function Ji(e, t) {
|
|
|
3174
3175
|
}, a - h)));
|
|
3175
3176
|
}, () => r && i(r)];
|
|
3176
3177
|
}
|
|
3177
|
-
const
|
|
3178
|
+
const Yt = (e, t, n = 3) => {
|
|
3178
3179
|
let a = 0;
|
|
3179
3180
|
const r = Ki(50, 250);
|
|
3180
3181
|
return Ji((o) => {
|
|
@@ -3376,7 +3377,7 @@ const Da = (e) => {
|
|
|
3376
3377
|
)), b = null;
|
|
3377
3378
|
}, o === void 0 && i.setContentType(null), "setRequestHeader" in b && S.forEach(i.toJSON(), function(C, y) {
|
|
3378
3379
|
b.setRequestHeader(y, C);
|
|
3379
|
-
}), S.isUndefined(r.withCredentials) || (b.withCredentials = !!r.withCredentials), l && l !== "json" && (b.responseType = r.responseType), c && ([m, f] =
|
|
3380
|
+
}), S.isUndefined(r.withCredentials) || (b.withCredentials = !!r.withCredentials), l && l !== "json" && (b.responseType = r.responseType), c && ([m, f] = Yt(c, !0), b.addEventListener("progress", m)), d && b.upload && ([h, w] = Yt(d), b.upload.addEventListener("progress", h), b.upload.addEventListener("loadend", w)), (r.cancelToken || r.signal) && (u = (x) => {
|
|
3380
3381
|
b && (a(!x || x.type ? new ht(null, e, b) : x), b.abort(), b = null);
|
|
3381
3382
|
}, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
|
|
3382
3383
|
const v = Yi(r.url);
|
|
@@ -3466,7 +3467,7 @@ const Da = (e) => {
|
|
|
3466
3467
|
}, {
|
|
3467
3468
|
highWaterMark: 2
|
|
3468
3469
|
});
|
|
3469
|
-
}, Ls = 64 * 1024, { isFunction:
|
|
3470
|
+
}, Ls = 64 * 1024, { isFunction: Lt } = S, ll = (({ Request: e, Response: t }) => ({
|
|
3470
3471
|
Request: e,
|
|
3471
3472
|
Response: t
|
|
3472
3473
|
}))(S.global), {
|
|
@@ -3482,10 +3483,10 @@ const Da = (e) => {
|
|
|
3482
3483
|
e = S.merge.call({
|
|
3483
3484
|
skipUndefined: !0
|
|
3484
3485
|
}, ll, e);
|
|
3485
|
-
const { fetch: t, Request: n, Response: a } = e, r = t ?
|
|
3486
|
+
const { fetch: t, Request: n, Response: a } = e, r = t ? Lt(t) : typeof fetch == "function", o = Lt(n), i = Lt(a);
|
|
3486
3487
|
if (!r)
|
|
3487
3488
|
return !1;
|
|
3488
|
-
const l = r &&
|
|
3489
|
+
const l = r && Lt(Rs), d = r && (typeof Ps == "function" ? /* @__PURE__ */ ((f) => (g) => f.encode(g))(new Ps()) : async (f) => new Uint8Array(await new n(f).arrayBuffer())), c = o && l && Os(() => {
|
|
3489
3490
|
let f = !1;
|
|
3490
3491
|
const g = new n(ge.origin, {
|
|
3491
3492
|
body: new Rs(),
|
|
@@ -3555,7 +3556,7 @@ const Da = (e) => {
|
|
|
3555
3556
|
if (S.isFormData(A) && (_ = T.headers.get("content-type")) && L.setContentType(_), T.body) {
|
|
3556
3557
|
const [H, G] = Ts(
|
|
3557
3558
|
U,
|
|
3558
|
-
|
|
3559
|
+
Yt(ks(E))
|
|
3559
3560
|
);
|
|
3560
3561
|
A = Us(T.body, Ls, H, G);
|
|
3561
3562
|
}
|
|
@@ -3580,7 +3581,7 @@ const Da = (e) => {
|
|
|
3580
3581
|
});
|
|
3581
3582
|
const _ = S.toFiniteNumber(M.headers.get("content-length")), [H, G] = y && Ts(
|
|
3582
3583
|
_,
|
|
3583
|
-
|
|
3584
|
+
Yt(ks(y), !0)
|
|
3584
3585
|
) || [];
|
|
3585
3586
|
M = new a(
|
|
3586
3587
|
Us(M.body, Ls, H, () => {
|
|
@@ -3688,7 +3689,7 @@ function Ms(e) {
|
|
|
3688
3689
|
return An(e), e.headers = Ne.from(e.headers), e.data = bn.call(
|
|
3689
3690
|
e,
|
|
3690
3691
|
e.transformRequest
|
|
3691
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Ga.getAdapter(e.adapter ||
|
|
3692
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Ga.getAdapter(e.adapter || kt.adapter, e)(e).then(function(a) {
|
|
3692
3693
|
return An(e), a.data = bn.call(
|
|
3693
3694
|
e,
|
|
3694
3695
|
e.transformResponse,
|
|
@@ -3747,10 +3748,10 @@ function hl(e, t, n) {
|
|
|
3747
3748
|
throw new te("Unknown option " + o, te.ERR_BAD_OPTION);
|
|
3748
3749
|
}
|
|
3749
3750
|
}
|
|
3750
|
-
const
|
|
3751
|
+
const Qt = {
|
|
3751
3752
|
assertOptions: hl,
|
|
3752
3753
|
validators: rn
|
|
3753
|
-
}, Ue =
|
|
3754
|
+
}, Ue = Qt.validators;
|
|
3754
3755
|
let Ke = class {
|
|
3755
3756
|
constructor(t) {
|
|
3756
3757
|
this.defaults = t || {}, this.interceptors = {
|
|
@@ -3786,16 +3787,16 @@ let Ke = class {
|
|
|
3786
3787
|
_request(t, n) {
|
|
3787
3788
|
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = et(this.defaults, n);
|
|
3788
3789
|
const { transitional: a, paramsSerializer: r, headers: o } = n;
|
|
3789
|
-
a !== void 0 &&
|
|
3790
|
+
a !== void 0 && Qt.assertOptions(a, {
|
|
3790
3791
|
silentJSONParsing: Ue.transitional(Ue.boolean),
|
|
3791
3792
|
forcedJSONParsing: Ue.transitional(Ue.boolean),
|
|
3792
3793
|
clarifyTimeoutError: Ue.transitional(Ue.boolean)
|
|
3793
3794
|
}, !1), r != null && (S.isFunction(r) ? n.paramsSerializer = {
|
|
3794
3795
|
serialize: r
|
|
3795
|
-
} :
|
|
3796
|
+
} : Qt.assertOptions(r, {
|
|
3796
3797
|
encode: Ue.function,
|
|
3797
3798
|
serialize: Ue.function
|
|
3798
|
-
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0),
|
|
3799
|
+
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), Qt.assertOptions(n, {
|
|
3799
3800
|
baseUrl: Ue.spelling("baseURL"),
|
|
3800
3801
|
withXsrfToken: Ue.spelling("withXSRFToken")
|
|
3801
3802
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -4036,7 +4037,7 @@ function Va(e) {
|
|
|
4036
4037
|
return Va(et(e, r));
|
|
4037
4038
|
}, n;
|
|
4038
4039
|
}
|
|
4039
|
-
const re = Va(
|
|
4040
|
+
const re = Va(kt);
|
|
4040
4041
|
re.Axios = Ke;
|
|
4041
4042
|
re.CanceledError = ht;
|
|
4042
4043
|
re.CancelToken = fl;
|
|
@@ -4210,7 +4211,7 @@ class He {
|
|
|
4210
4211
|
...m
|
|
4211
4212
|
])).map(
|
|
4212
4213
|
(A) => rt(A)?.data
|
|
4213
|
-
), g = await
|
|
4214
|
+
), g = await Qr(
|
|
4214
4215
|
c,
|
|
4215
4216
|
this.getNews
|
|
4216
4217
|
);
|
|
@@ -4379,7 +4380,7 @@ const $m = async (e, t, n, a, r, o, i) => {
|
|
|
4379
4380
|
return (() => {
|
|
4380
4381
|
const h = {};
|
|
4381
4382
|
for (let m = 0; m < c.length; m++) {
|
|
4382
|
-
const w =
|
|
4383
|
+
const w = Fr(
|
|
4383
4384
|
c[m]
|
|
4384
4385
|
), f = "Home_" + (Math.floor(m / o) + 1) + "_" + (Math.floor(m % o) + 1);
|
|
4385
4386
|
w && (h[f] = { ...w });
|
|
@@ -4455,7 +4456,7 @@ const $m = async (e, t, n, a, r, o, i) => {
|
|
|
4455
4456
|
news: (e) => {
|
|
4456
4457
|
const { meta: t, config: n, currentNew: a, schemasImages: r } = e;
|
|
4457
4458
|
if (!a) return ye(t);
|
|
4458
|
-
const o =
|
|
4459
|
+
const o = Yr(t, a, n, r);
|
|
4459
4460
|
return o ? { ...t, ...o } : ye(t);
|
|
4460
4461
|
},
|
|
4461
4462
|
seccion: async (e) => {
|
|
@@ -4491,7 +4492,7 @@ const $m = async (e, t, n, a, r, o, i) => {
|
|
|
4491
4492
|
try {
|
|
4492
4493
|
let A, v;
|
|
4493
4494
|
if (d) {
|
|
4494
|
-
const C = await
|
|
4495
|
+
const C = await so({
|
|
4495
4496
|
fetchFn: (y) => b.getNewsListSection(y),
|
|
4496
4497
|
baseParams: {
|
|
4497
4498
|
section: r,
|
|
@@ -4643,7 +4644,7 @@ const $m = async (e, t, n, a, r, o, i) => {
|
|
|
4643
4644
|
});
|
|
4644
4645
|
return i?.data?.data?.length ? {
|
|
4645
4646
|
...t,
|
|
4646
|
-
...
|
|
4647
|
+
...co(
|
|
4647
4648
|
t,
|
|
4648
4649
|
i.data.data[0],
|
|
4649
4650
|
n
|
|
@@ -5357,7 +5358,7 @@ async function Km({
|
|
|
5357
5358
|
internalPath: f,
|
|
5358
5359
|
meta_info: g,
|
|
5359
5360
|
schemasImages: Q
|
|
5360
|
-
}), F =
|
|
5361
|
+
}), F = Xr(P), z = E || ya[r]({
|
|
5361
5362
|
pathname: o,
|
|
5362
5363
|
slug: i,
|
|
5363
5364
|
config: b,
|
|
@@ -5367,7 +5368,7 @@ async function Km({
|
|
|
5367
5368
|
return /* @__PURE__ */ p(W, { children: [
|
|
5368
5369
|
/* @__PURE__ */ s("meta", { charSet: "utf-8" }),
|
|
5369
5370
|
/* @__PURE__ */ s("meta", { name: "viewport", content: "width=device-width, initial-scale=1" }),
|
|
5370
|
-
/* @__PURE__ */ s(
|
|
5371
|
+
/* @__PURE__ */ s(lo, {}),
|
|
5371
5372
|
/* @__PURE__ */ s(Do, { config: b }),
|
|
5372
5373
|
t.preloadImages && h && h.preview?.sizes && /* @__PURE__ */ s(
|
|
5373
5374
|
ys,
|
|
@@ -5389,7 +5390,7 @@ async function Km({
|
|
|
5389
5390
|
{
|
|
5390
5391
|
images: x.map((O) => ({
|
|
5391
5392
|
...O,
|
|
5392
|
-
href: ot() +
|
|
5393
|
+
href: ot() + Wr(O.href)
|
|
5393
5394
|
}))
|
|
5394
5395
|
}
|
|
5395
5396
|
),
|
|
@@ -5473,22 +5474,29 @@ const Jm = ({
|
|
|
5473
5474
|
scriptReplaces: c,
|
|
5474
5475
|
body_custom_elements: u
|
|
5475
5476
|
}) => {
|
|
5476
|
-
const h =
|
|
5477
|
+
const h = fo(l, d), m = ya[t]({
|
|
5477
5478
|
pathname: a,
|
|
5478
5479
|
slug: r,
|
|
5479
5480
|
config: o,
|
|
5480
5481
|
currentNew: l,
|
|
5481
5482
|
internalPath: i
|
|
5482
|
-
}), w = c.before.active,
|
|
5483
|
+
}), w = n.find((v) => v.key === "event_analytics"), f = c.before.active, g = c.after.active, b = f ? c.before.customData ? c.before.customData : m : void 0, A = g ? c.after.customData ? c.after.customData : m : void 0;
|
|
5483
5484
|
return /* @__PURE__ */ p(W, { children: [
|
|
5484
|
-
/* @__PURE__ */ s(wa, { name: "bodybefore", banners: n, replaces:
|
|
5485
|
+
/* @__PURE__ */ s(wa, { name: "bodybefore", banners: n, replaces: b }),
|
|
5485
5486
|
e,
|
|
5486
|
-
/* @__PURE__ */ s(
|
|
5487
|
+
/* @__PURE__ */ s(wo, {}),
|
|
5487
5488
|
/* @__PURE__ */ s(xr, {}),
|
|
5488
|
-
/* @__PURE__ */ s(
|
|
5489
|
-
|
|
5489
|
+
/* @__PURE__ */ s(
|
|
5490
|
+
po,
|
|
5491
|
+
{
|
|
5492
|
+
dimensionValues: h,
|
|
5493
|
+
event_analytics: w,
|
|
5494
|
+
eventReplaces: m
|
|
5495
|
+
}
|
|
5496
|
+
),
|
|
5497
|
+
/* @__PURE__ */ s(go, {}),
|
|
5490
5498
|
u,
|
|
5491
|
-
/* @__PURE__ */ s(
|
|
5499
|
+
/* @__PURE__ */ s(io, { name: "bodyafter", banners: n, replaces: A })
|
|
5492
5500
|
] });
|
|
5493
5501
|
}, Il = () => /* @__PURE__ */ s(
|
|
5494
5502
|
"svg",
|
|
@@ -5870,7 +5878,7 @@ const yt = (e) => /* @__PURE__ */ s("div", { className: "su-flex su-flex-col sas
|
|
|
5870
5878
|
if (!a?.value || !a.show) return null;
|
|
5871
5879
|
const r = Hn(a.value, n);
|
|
5872
5880
|
if (!r) return null;
|
|
5873
|
-
const { CONFIG_deferBanners: o } = R(), i =
|
|
5881
|
+
const { CONFIG_deferBanners: o } = R(), i = xt(r, {}), l = o?.middle !== !1 ? Rl(i) : i;
|
|
5874
5882
|
return /* @__PURE__ */ s(
|
|
5875
5883
|
"div",
|
|
5876
5884
|
{
|
|
@@ -5887,7 +5895,7 @@ const yt = (e) => /* @__PURE__ */ s("div", { className: "su-flex su-flex-col sas
|
|
|
5887
5895
|
if (!a?.show) return null;
|
|
5888
5896
|
const r = Hn(a.value, n);
|
|
5889
5897
|
if (!r) return null;
|
|
5890
|
-
const o =
|
|
5898
|
+
const o = xt(r) ?? "", { CONFIG_deferBanners: i } = R(), l = i?.common !== !1 ? Pl(o) : o;
|
|
5891
5899
|
return /* @__PURE__ */ s(
|
|
5892
5900
|
"div",
|
|
5893
5901
|
{
|
|
@@ -7973,7 +7981,7 @@ const ql = (e) => {
|
|
|
7973
7981
|
]
|
|
7974
7982
|
}
|
|
7975
7983
|
);
|
|
7976
|
-
},
|
|
7984
|
+
}, It = (e) => {
|
|
7977
7985
|
const { PUBLIC_ENV: t } = R(), n = le("/facebook-black.svg");
|
|
7978
7986
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", width: 17, height: 23, src: n, alt: "", ...e }) : /* @__PURE__ */ s(
|
|
7979
7987
|
"svg",
|
|
@@ -8098,7 +8106,7 @@ const ql = (e) => {
|
|
|
8098
8106
|
url: (e) => `https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,
|
|
8099
8107
|
icon: {
|
|
8100
8108
|
outline: (e) => /* @__PURE__ */ s(Zn, { className: e, forceSVG: !0 }),
|
|
8101
|
-
solid: (e) => /* @__PURE__ */ s(
|
|
8109
|
+
solid: (e) => /* @__PURE__ */ s(It, { className: e, forceSVG: !0 })
|
|
8102
8110
|
}
|
|
8103
8111
|
},
|
|
8104
8112
|
X: {
|
|
@@ -8451,7 +8459,7 @@ const a1 = (e) => {
|
|
|
8451
8459
|
)
|
|
8452
8460
|
] })
|
|
8453
8461
|
] }) }), sc = (e) => /* @__PURE__ */ s("section", { className: "sass-com-tl-content sass-liveblog-time-line", children: e.itemList[0]?.list.items.map((t, n) => /* @__PURE__ */ p("div", { className: "sass-com-tl-contentLine", children: [
|
|
8454
|
-
/* @__PURE__ */ s(B, { className: "sass-com-tl-dateLink", href: `#item-${n + 1}`, children:
|
|
8462
|
+
/* @__PURE__ */ s(B, { className: "sass-com-tl-dateLink", href: `#item-${n + 1}`, children: Gr(t.date) }),
|
|
8455
8463
|
/* @__PURE__ */ s("div", { className: "sass-com-tl-contentText", children: (e.itemList[0]?.list.integrated, t.title) })
|
|
8456
8464
|
] }, n)) }), Xa = (e) => {
|
|
8457
8465
|
const { PUBLIC_ENV: t } = R(), n = le("/linkedin-black.svg");
|
|
@@ -8484,12 +8492,12 @@ const a1 = (e) => {
|
|
|
8484
8492
|
)
|
|
8485
8493
|
}
|
|
8486
8494
|
);
|
|
8487
|
-
},
|
|
8495
|
+
}, Rt = (e) => {
|
|
8488
8496
|
if (!e || e.trim() === "")
|
|
8489
8497
|
return e;
|
|
8490
8498
|
const t = e.trim();
|
|
8491
8499
|
return t.startsWith("http://") || t.startsWith("https://") ? t : `https://${t}`;
|
|
8492
|
-
}, ac = (e) => !e || e.trim() === "" ? !1 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()),
|
|
8500
|
+
}, ac = (e) => !e || e.trim() === "" ? !1 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()), Pt = (e, t, n) => /* @__PURE__ */ s(
|
|
8493
8501
|
"img",
|
|
8494
8502
|
{
|
|
8495
8503
|
className: n,
|
|
@@ -8499,7 +8507,7 @@ const a1 = (e) => {
|
|
|
8499
8507
|
loading: "lazy"
|
|
8500
8508
|
}
|
|
8501
8509
|
), d1 = async (e) => {
|
|
8502
|
-
const { autor: t, autorIcon: n, socialIconsFilled: a = !1, socialIconsCustom: r = !1 } = e, o = n, { PUBLIC_LNG: i } = R(), l = i === "en", d = t?.addtional, c = t?.info?.image?.sizes?.[0]?.url ?? "", u = t?.info?.fullname ?? "", h = t?.info?.email ?? "", m = d?.USER_SHOWEMAIL === !0 || d?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", w = d?.USER_SHOWBIO ?? !1, f = l ? d?.USER_DESCRIPCION_EN || d?.USER_MIBIO_EN || "" : d?.USER_DESCRIPCION || d?.USER_MIBIO || "", g =
|
|
8510
|
+
const { autor: t, autorIcon: n, socialIconsFilled: a = !1, socialIconsCustom: r = !1 } = e, o = n, { PUBLIC_LNG: i } = R(), l = i === "en", d = t?.addtional, c = t?.info?.image?.sizes?.[0]?.url ?? "", u = t?.info?.fullname ?? "", h = t?.info?.email ?? "", m = d?.USER_SHOWEMAIL === !0 || d?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", w = d?.USER_SHOWBIO ?? !1, f = l ? d?.USER_DESCRIPCION_EN || d?.USER_MIBIO_EN || "" : d?.USER_DESCRIPCION || d?.USER_MIBIO || "", g = Rt(t?.addtional?.USER_USERFB ?? ""), b = Rt(t?.addtional?.USER_USERIG ?? ""), A = Rt(t?.addtional?.USER_USERTWT ?? ""), v = Rt(t?.addtional?.USER_USERLIN ?? ""), x = () => !m || !h || h.trim() === "" ? !1 : ac(h), C = (y) => `mailto:${y.trim()}`;
|
|
8503
8511
|
return /* @__PURE__ */ s(
|
|
8504
8512
|
"section",
|
|
8505
8513
|
{
|
|
@@ -8541,7 +8549,7 @@ const a1 = (e) => {
|
|
|
8541
8549
|
target: "_blank",
|
|
8542
8550
|
className: `sass-com-ah1-social-link ${a ? "sass-com-ah1-social-filled" : "sass-com-ah1-social-stroke"}`,
|
|
8543
8551
|
rel: "noreferrer",
|
|
8544
|
-
children: r ?
|
|
8552
|
+
children: r ? Pt(a ? "facebook-black" : "facebook", "Facebook", "sass-com-ah1-social-icon sass-social-icon-facebook") : a ? /* @__PURE__ */ s(It, { className: "sass-com-ah1-social-icon sass-social-icon-facebook", forceSVG: !0 }) : /* @__PURE__ */ s(dn, { className: "sass-com-ah1-facebook-icon sass-com-ah1-social-icon-facebook", forceSVG: !0 })
|
|
8545
8553
|
}
|
|
8546
8554
|
),
|
|
8547
8555
|
b && /* @__PURE__ */ s(
|
|
@@ -8551,7 +8559,7 @@ const a1 = (e) => {
|
|
|
8551
8559
|
target: "_blank",
|
|
8552
8560
|
className: "sass-com-ah1-social-link",
|
|
8553
8561
|
rel: "noreferrer",
|
|
8554
|
-
children: r ?
|
|
8562
|
+
children: r ? Pt("instagram", "Instagram", "sass-com-ah1-social-icon sass-com-ah1-social-icon-instagram") : /* @__PURE__ */ s(un, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-instagram", forceSVG: !0 })
|
|
8555
8563
|
}
|
|
8556
8564
|
),
|
|
8557
8565
|
A && /* @__PURE__ */ s(
|
|
@@ -8561,7 +8569,7 @@ const a1 = (e) => {
|
|
|
8561
8569
|
target: "_blank",
|
|
8562
8570
|
className: "sass-com-ah1-social-link",
|
|
8563
8571
|
rel: "noreferrer",
|
|
8564
|
-
children: r ?
|
|
8572
|
+
children: r ? Pt("x", "X", "sass-com-ah1-social-icon sass-com-ah1-social-icon-x") : /* @__PURE__ */ s(_e, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-x", forceSVG: !0 })
|
|
8565
8573
|
}
|
|
8566
8574
|
),
|
|
8567
8575
|
v && /* @__PURE__ */ s(
|
|
@@ -8571,7 +8579,7 @@ const a1 = (e) => {
|
|
|
8571
8579
|
target: "_blank",
|
|
8572
8580
|
className: `sass-com-ah1-social-link ${a ? "sass-com-ah1-social-filled" : "sass-com-ah1-social-stroke"}`,
|
|
8573
8581
|
rel: "noreferrer",
|
|
8574
|
-
children: r ?
|
|
8582
|
+
children: r ? Pt(a ? "linkedin-black" : "linkedin", "LinkedIn", "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin") : a ? /* @__PURE__ */ s(Xa, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ s(Me, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 })
|
|
8575
8583
|
}
|
|
8576
8584
|
)
|
|
8577
8585
|
] })
|
|
@@ -8618,7 +8626,7 @@ const a1 = (e) => {
|
|
|
8618
8626
|
target: "_blank",
|
|
8619
8627
|
className: a ? "sass-com-ah2-socialIconFilled" : "sass-com-ah2-socialIconStroke",
|
|
8620
8628
|
rel: "noreferrer",
|
|
8621
|
-
children: a ? /* @__PURE__ */ s(
|
|
8629
|
+
children: a ? /* @__PURE__ */ s(It, { className: "sass-com-ah2-blackIconFaceBook sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook", forceSVG: !0 }) : /* @__PURE__ */ s(dn, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook", forceSVG: !0 })
|
|
8622
8630
|
}
|
|
8623
8631
|
),
|
|
8624
8632
|
g && /* @__PURE__ */ s(
|
|
@@ -8871,7 +8879,7 @@ const a1 = (e) => {
|
|
|
8871
8879
|
}
|
|
8872
8880
|
)
|
|
8873
8881
|
}
|
|
8874
|
-
),
|
|
8882
|
+
), Kt = (e) => /* @__PURE__ */ s(
|
|
8875
8883
|
"svg",
|
|
8876
8884
|
{
|
|
8877
8885
|
width: "12",
|
|
@@ -8923,7 +8931,7 @@ const a1 = (e) => {
|
|
|
8923
8931
|
htmlFor: n,
|
|
8924
8932
|
"aria-label": `Expandir ${e.description}`,
|
|
8925
8933
|
children: /* @__PURE__ */ s(
|
|
8926
|
-
|
|
8934
|
+
Kt,
|
|
8927
8935
|
{
|
|
8928
8936
|
className: "sass-com-sb-accordionChevron",
|
|
8929
8937
|
width: 13,
|
|
@@ -9251,12 +9259,12 @@ const a1 = (e) => {
|
|
|
9251
9259
|
target: n.target,
|
|
9252
9260
|
children: [
|
|
9253
9261
|
n.description,
|
|
9254
|
-
Array.isArray(n.subitem) && /* @__PURE__ */ s(
|
|
9262
|
+
Array.isArray(n.subitem) && /* @__PURE__ */ s(Kt, {})
|
|
9255
9263
|
]
|
|
9256
9264
|
}
|
|
9257
9265
|
) : /* @__PURE__ */ p("span", { "aria-label": n.description, className: "sass-com-mopt-linkStyled", children: [
|
|
9258
9266
|
n.description,
|
|
9259
|
-
Array.isArray(n.subitem) && /* @__PURE__ */ s(
|
|
9267
|
+
Array.isArray(n.subitem) && /* @__PURE__ */ s(Kt, {})
|
|
9260
9268
|
] }),
|
|
9261
9269
|
Array.isArray(n.subitem) && /* @__PURE__ */ s("ul", { className: "sass-com-mopt-ulContent", children: /* @__PURE__ */ s("div", { className: "sass-com-mopt-contentModal", children: n.subitem.map((r, o) => /* @__PURE__ */ s("li", { className: "sass-com-mopt-li", children: /* @__PURE__ */ s(
|
|
9262
9270
|
B,
|
|
@@ -9745,13 +9753,13 @@ const a1 = (e) => {
|
|
|
9745
9753
|
))
|
|
9746
9754
|
}
|
|
9747
9755
|
);
|
|
9748
|
-
},
|
|
9756
|
+
}, Ot = (e) => {
|
|
9749
9757
|
if (!e || e.trim() === "")
|
|
9750
9758
|
return e;
|
|
9751
9759
|
const t = e.trim();
|
|
9752
9760
|
return t.startsWith("http://") || t.startsWith("https://") ? t : `https://${t}`;
|
|
9753
9761
|
}, f1 = async (e) => {
|
|
9754
|
-
const t = e.img ? await he(e.img) : "", n =
|
|
9762
|
+
const t = e.img ? await he(e.img) : "", n = Ot(e.social?.facebook ?? ""), a = Ot(e.social?.instagram ?? ""), r = Ot(e.social?.twitter ?? ""), o = Ot(e.social?.linkedin ?? ""), i = e.social && (n || a || r || o);
|
|
9755
9763
|
return /* @__PURE__ */ s("section", { className: `sass-com-th-content ${e.className}`, children: /* @__PURE__ */ p(
|
|
9756
9764
|
"div",
|
|
9757
9765
|
{
|
|
@@ -10470,7 +10478,7 @@ const dt = (e) => {
|
|
|
10470
10478
|
}
|
|
10471
10479
|
)
|
|
10472
10480
|
] });
|
|
10473
|
-
},
|
|
10481
|
+
}, Wt = async (e) => {
|
|
10474
10482
|
const { data: t, autorIcon: n, speculationPrerenderClass: a } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = R(), o = () => t?.config?.showtime ? `${Oe(t.info?.date?.modified)}` : "", i = /* @__PURE__ */ p("div", { className: "sass-com-oc2-autorContent", children: [
|
|
10475
10483
|
Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ s(
|
|
10476
10484
|
"img",
|
|
@@ -10543,7 +10551,7 @@ const w1 = (e) => {
|
|
|
10543
10551
|
className: "sass-bs-mo-boxPosition",
|
|
10544
10552
|
style: { order: o },
|
|
10545
10553
|
children: /* @__PURE__ */ s(
|
|
10546
|
-
|
|
10554
|
+
Wt,
|
|
10547
10555
|
{
|
|
10548
10556
|
data: i,
|
|
10549
10557
|
autorIcon: e.autorIcon,
|
|
@@ -11078,7 +11086,7 @@ const v1 = (e) => {
|
|
|
11078
11086
|
return /* @__PURE__ */ s("div", { className: "sass-pg-sec-ItemCustomContent" });
|
|
11079
11087
|
case "columnistasnacionales":
|
|
11080
11088
|
return /* @__PURE__ */ s("div", { className: "sass-pg-sec-ItemCustomContent", children: /* @__PURE__ */ s(
|
|
11081
|
-
|
|
11089
|
+
Wt,
|
|
11082
11090
|
{
|
|
11083
11091
|
data: t,
|
|
11084
11092
|
autorIcon: e.autorIcon,
|
|
@@ -11088,7 +11096,7 @@ const v1 = (e) => {
|
|
|
11088
11096
|
) });
|
|
11089
11097
|
case "columnistaslocales":
|
|
11090
11098
|
return /* @__PURE__ */ s("div", { className: "sass-pg-sec-ItemCustomContent", children: /* @__PURE__ */ s(
|
|
11091
|
-
|
|
11099
|
+
Wt,
|
|
11092
11100
|
{
|
|
11093
11101
|
data: t,
|
|
11094
11102
|
autorIcon: e.autorIcon,
|
|
@@ -11098,7 +11106,7 @@ const v1 = (e) => {
|
|
|
11098
11106
|
) });
|
|
11099
11107
|
case "columnistas":
|
|
11100
11108
|
return /* @__PURE__ */ s("div", { className: "sass-pg-sec-ItemCustomContent", children: /* @__PURE__ */ s(
|
|
11101
|
-
|
|
11109
|
+
Wt,
|
|
11102
11110
|
{
|
|
11103
11111
|
data: t,
|
|
11104
11112
|
autorIcon: e.autorIcon,
|
|
@@ -11677,7 +11685,7 @@ const Wc = async ({
|
|
|
11677
11685
|
style: {
|
|
11678
11686
|
color: t === "liveblogs" ? "var(--news-liveblog-timeline-datelink-color)" : "var(--common-black)"
|
|
11679
11687
|
},
|
|
11680
|
-
children:
|
|
11688
|
+
children: Xt((await d).date)
|
|
11681
11689
|
}
|
|
11682
11690
|
)
|
|
11683
11691
|
] }),
|
|
@@ -11851,7 +11859,7 @@ const Yc = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
11851
11859
|
{
|
|
11852
11860
|
className: `sass-com-ja3-journalistInfoLink ${u}`,
|
|
11853
11861
|
dangerouslySetInnerHTML: {
|
|
11854
|
-
__html: `${a.JournalistPrefix} <h3>${d ?? "Redaccion"}${t.config?.showtime && ","}</h3> <time datetime="${Ze(t.info.date.modified, r)}">${t.config?.showtime ?
|
|
11862
|
+
__html: `${a.JournalistPrefix} <h3>${d ?? "Redaccion"}${t.config?.showtime && ","}</h3> <time datetime="${Ze(t.info.date.modified, r)}">${t.config?.showtime ? Xt(t.info.date.modified) : null}`
|
|
11855
11863
|
}
|
|
11856
11864
|
}
|
|
11857
11865
|
)
|
|
@@ -11988,7 +11996,7 @@ const ed = (e) => /* @__PURE__ */ s(
|
|
|
11988
11996
|
url: (e) => `https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,
|
|
11989
11997
|
icon: {
|
|
11990
11998
|
outline: (e) => /* @__PURE__ */ s(Zn, { className: e, forceSVG: !0 }),
|
|
11991
|
-
solid: (e) => /* @__PURE__ */ s(
|
|
11999
|
+
solid: (e) => /* @__PURE__ */ s(It, { className: e, forceSVG: !0 })
|
|
11992
12000
|
}
|
|
11993
12001
|
},
|
|
11994
12002
|
X: {
|
|
@@ -12236,14 +12244,14 @@ const sd = async (e) => {
|
|
|
12236
12244
|
t.info.date.modified,
|
|
12237
12245
|
o
|
|
12238
12246
|
),
|
|
12239
|
-
children:
|
|
12247
|
+
children: Xt(t.info.date.modified)
|
|
12240
12248
|
}
|
|
12241
12249
|
)
|
|
12242
12250
|
]
|
|
12243
12251
|
}
|
|
12244
12252
|
)
|
|
12245
12253
|
] }) });
|
|
12246
|
-
},
|
|
12254
|
+
}, Bt = (e, t) => (n) => /* @__PURE__ */ s(
|
|
12247
12255
|
"img",
|
|
12248
12256
|
{
|
|
12249
12257
|
className: n,
|
|
@@ -12257,8 +12265,8 @@ const sd = async (e) => {
|
|
|
12257
12265
|
url: (e) => `https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,
|
|
12258
12266
|
icon: {
|
|
12259
12267
|
outline: (e) => /* @__PURE__ */ s(Zn, { className: e, forceSVG: !0 }),
|
|
12260
|
-
solid: (e) => /* @__PURE__ */ s(
|
|
12261
|
-
custom:
|
|
12268
|
+
solid: (e) => /* @__PURE__ */ s(It, { className: e, forceSVG: !0 }),
|
|
12269
|
+
custom: Bt("/ja-facebook.svg", "Facebook")
|
|
12262
12270
|
}
|
|
12263
12271
|
},
|
|
12264
12272
|
X: {
|
|
@@ -12266,7 +12274,7 @@ const sd = async (e) => {
|
|
|
12266
12274
|
icon: {
|
|
12267
12275
|
outline: (e) => /* @__PURE__ */ s(_e, { className: e, forceSVG: !0 }),
|
|
12268
12276
|
solid: (e) => /* @__PURE__ */ s(_e, { className: e, forceSVG: !0 }),
|
|
12269
|
-
custom:
|
|
12277
|
+
custom: Bt("/ja-x.svg", "X")
|
|
12270
12278
|
}
|
|
12271
12279
|
},
|
|
12272
12280
|
Whatsapp: {
|
|
@@ -12274,7 +12282,7 @@ const sd = async (e) => {
|
|
|
12274
12282
|
icon: {
|
|
12275
12283
|
outline: (e) => /* @__PURE__ */ s(ln, { className: e, forceSVG: !0 }),
|
|
12276
12284
|
solid: (e) => /* @__PURE__ */ s(on, { className: e, forceSVG: !0 }),
|
|
12277
|
-
custom:
|
|
12285
|
+
custom: Bt("/ja-whatsapp.svg", "Whatsapp")
|
|
12278
12286
|
}
|
|
12279
12287
|
},
|
|
12280
12288
|
LinkedIn: {
|
|
@@ -12284,7 +12292,7 @@ const sd = async (e) => {
|
|
|
12284
12292
|
icon: {
|
|
12285
12293
|
outline: (e) => /* @__PURE__ */ s(Me, { className: e, forceSVG: !0 }),
|
|
12286
12294
|
solid: (e) => /* @__PURE__ */ s(Me, { className: e, forceSVG: !0 }),
|
|
12287
|
-
custom:
|
|
12295
|
+
custom: Bt("/ja-linkedin.svg", "LinkedIn")
|
|
12288
12296
|
}
|
|
12289
12297
|
}
|
|
12290
12298
|
};
|
|
@@ -12545,7 +12553,7 @@ const od = async (e) => {
|
|
|
12545
12553
|
t.info.date.modified,
|
|
12546
12554
|
o
|
|
12547
12555
|
),
|
|
12548
|
-
children:
|
|
12556
|
+
children: Xt(t.info.date.modified)
|
|
12549
12557
|
}
|
|
12550
12558
|
)
|
|
12551
12559
|
]
|
|
@@ -14349,7 +14357,7 @@ const I1 = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
14349
14357
|
children: r.logoutButton
|
|
14350
14358
|
}
|
|
14351
14359
|
) }),
|
|
14352
|
-
/* @__PURE__ */ s("button", { className: "user-actions-span", onClick: o, children: /* @__PURE__ */ s(
|
|
14360
|
+
/* @__PURE__ */ s("button", { className: "user-actions-span", onClick: o, children: /* @__PURE__ */ s(Kt, { width: 13, height: 13, fill: "black" }) })
|
|
14353
14361
|
] }),
|
|
14354
14362
|
/* @__PURE__ */ s("p", { className: "comment-text su-font-normal", children: n })
|
|
14355
14363
|
] })
|
|
@@ -14490,7 +14498,7 @@ function qd(e) {
|
|
|
14490
14498
|
let l = "";
|
|
14491
14499
|
return o.length <= 2 ? l = o[0] + "*" : l = o[0] + "*".repeat(o.length - 2) + o[o.length - 1], `${a}@${l}${i}`;
|
|
14492
14500
|
}
|
|
14493
|
-
var
|
|
14501
|
+
var Mt = { exports: {} }, _t = { exports: {} }, oe = {};
|
|
14494
14502
|
var Qs;
|
|
14495
14503
|
function Dd() {
|
|
14496
14504
|
if (Qs) return oe;
|
|
@@ -14571,17 +14579,17 @@ function jd() {
|
|
|
14571
14579
|
var be = q.$$typeof;
|
|
14572
14580
|
switch (be) {
|
|
14573
14581
|
case t:
|
|
14574
|
-
var
|
|
14575
|
-
switch (
|
|
14582
|
+
var Ut = q.type;
|
|
14583
|
+
switch (Ut) {
|
|
14576
14584
|
case d:
|
|
14577
14585
|
case c:
|
|
14578
14586
|
case a:
|
|
14579
14587
|
case o:
|
|
14580
14588
|
case r:
|
|
14581
14589
|
case h:
|
|
14582
|
-
return
|
|
14590
|
+
return Ut;
|
|
14583
14591
|
default:
|
|
14584
|
-
var ds =
|
|
14592
|
+
var ds = Ut && Ut.$$typeof;
|
|
14585
14593
|
switch (ds) {
|
|
14586
14594
|
case l:
|
|
14587
14595
|
case u:
|
|
@@ -14643,7 +14651,7 @@ function jd() {
|
|
|
14643
14651
|
}
|
|
14644
14652
|
var $s;
|
|
14645
14653
|
function ns() {
|
|
14646
|
-
return $s || ($s = 1, process.env.NODE_ENV === "production" ?
|
|
14654
|
+
return $s || ($s = 1, process.env.NODE_ENV === "production" ? _t.exports = Dd() : _t.exports = jd()), _t.exports;
|
|
14647
14655
|
}
|
|
14648
14656
|
var vn, Ys;
|
|
14649
14657
|
function Gd() {
|
|
@@ -15122,13 +15130,13 @@ function Vd() {
|
|
|
15122
15130
|
}
|
|
15123
15131
|
var ta;
|
|
15124
15132
|
function zd() {
|
|
15125
|
-
if (ta) return
|
|
15133
|
+
if (ta) return Mt.exports;
|
|
15126
15134
|
if (ta = 1, process.env.NODE_ENV !== "production") {
|
|
15127
15135
|
var e = ns(), t = !0;
|
|
15128
|
-
|
|
15136
|
+
Mt.exports = /* @__PURE__ */ Hd()(e.isElement, t);
|
|
15129
15137
|
} else
|
|
15130
|
-
|
|
15131
|
-
return
|
|
15138
|
+
Mt.exports = /* @__PURE__ */ Vd()();
|
|
15139
|
+
return Mt.exports;
|
|
15132
15140
|
}
|
|
15133
15141
|
var Qd = /* @__PURE__ */ zd();
|
|
15134
15142
|
const ve = /* @__PURE__ */ ut(Qd);
|
|
@@ -15150,7 +15158,7 @@ function $d(e, t) {
|
|
|
15150
15158
|
r = a[o], !(t.indexOf(r) >= 0) && (n[r] = e[r]);
|
|
15151
15159
|
return n;
|
|
15152
15160
|
}
|
|
15153
|
-
function
|
|
15161
|
+
function qt(e) {
|
|
15154
15162
|
if (e === void 0)
|
|
15155
15163
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
15156
15164
|
return e;
|
|
@@ -15167,7 +15175,7 @@ var pn = /* @__PURE__ */ (function(e) {
|
|
|
15167
15175
|
Yd(t, e);
|
|
15168
15176
|
function t() {
|
|
15169
15177
|
var a;
|
|
15170
|
-
return a = e.call(this) || this, a.handleExpired = a.handleExpired.bind(
|
|
15178
|
+
return a = e.call(this) || this, a.handleExpired = a.handleExpired.bind(qt(a)), a.handleErrored = a.handleErrored.bind(qt(a)), a.handleChange = a.handleChange.bind(qt(a)), a.handleRecaptchaRef = a.handleRecaptchaRef.bind(qt(a)), a;
|
|
15171
15179
|
}
|
|
15172
15180
|
var n = t.prototype;
|
|
15173
15181
|
return n.getCaptchaFunction = function(r) {
|
|
@@ -15619,21 +15627,21 @@ function iu(e) {
|
|
|
15619
15627
|
text: e
|
|
15620
15628
|
};
|
|
15621
15629
|
}
|
|
15622
|
-
function
|
|
15630
|
+
function Jt(e) {
|
|
15623
15631
|
const t = e.comments.map((n) => {
|
|
15624
15632
|
if (n.user)
|
|
15625
15633
|
return {
|
|
15626
15634
|
...n,
|
|
15627
15635
|
user: n.user,
|
|
15628
15636
|
text: n.text,
|
|
15629
|
-
reply: n.reply ?
|
|
15637
|
+
reply: n.reply ? Jt({ comments: n.reply }).comments : n.reply
|
|
15630
15638
|
};
|
|
15631
15639
|
const { user: a, text: r } = iu(n.text);
|
|
15632
15640
|
return {
|
|
15633
15641
|
...n,
|
|
15634
15642
|
user: a || !1,
|
|
15635
15643
|
text: r,
|
|
15636
|
-
reply: n.reply ?
|
|
15644
|
+
reply: n.reply ? Jt({ comments: n.reply }).comments : n.reply
|
|
15637
15645
|
};
|
|
15638
15646
|
});
|
|
15639
15647
|
return {
|
|
@@ -15665,13 +15673,13 @@ async function as({
|
|
|
15665
15673
|
apiToken: l,
|
|
15666
15674
|
API_ENV: d
|
|
15667
15675
|
});
|
|
15668
|
-
return
|
|
15676
|
+
return Jt(u[0]);
|
|
15669
15677
|
} else {
|
|
15670
15678
|
const u = await fetch(`/api/comments-get?publication=${e}&path=${t}&size=${n}&sizereply=${a}&lastid=${o}`);
|
|
15671
15679
|
if (!u.ok)
|
|
15672
15680
|
throw new Error(`Error al obtener comentarios: ${u.status}`);
|
|
15673
15681
|
const h = await u.json();
|
|
15674
|
-
return
|
|
15682
|
+
return Jt(h.data[0]);
|
|
15675
15683
|
}
|
|
15676
15684
|
}
|
|
15677
15685
|
async function lu({
|
|
@@ -17907,7 +17915,7 @@ const Vu = (e) => e?.main?.title ? {
|
|
|
17907
17915
|
showTagBySection: i,
|
|
17908
17916
|
pathname: l
|
|
17909
17917
|
}) => {
|
|
17910
|
-
const d =
|
|
17918
|
+
const d = mo(l), c = [], u = 1, h = t, m = Object.keys(e).length / h;
|
|
17911
17919
|
for (let w = u; w <= m; w++)
|
|
17912
17920
|
for (let f = 1; f <= h; f++) {
|
|
17913
17921
|
const g = "Home_" + w + "_" + f;
|
|
@@ -18451,7 +18459,7 @@ function Cr(e) {
|
|
|
18451
18459
|
};
|
|
18452
18460
|
}
|
|
18453
18461
|
export {
|
|
18454
|
-
|
|
18462
|
+
lo as AssetsPreconnect,
|
|
18455
18463
|
d1 as AutorHeader1,
|
|
18456
18464
|
u1 as AutorHeader2,
|
|
18457
18465
|
xe as BannerAdvertising,
|
|
@@ -18482,10 +18490,10 @@ export {
|
|
|
18482
18490
|
o1 as ErrorComponent,
|
|
18483
18491
|
Do as Font,
|
|
18484
18492
|
s1 as Footer,
|
|
18485
|
-
|
|
18493
|
+
io as FormatAfterScripts,
|
|
18486
18494
|
wa as FormatScripts,
|
|
18487
|
-
|
|
18488
|
-
|
|
18495
|
+
po as GA4,
|
|
18496
|
+
go as GTM,
|
|
18489
18497
|
Zc as GalleryHeader,
|
|
18490
18498
|
Jm as GenerateBody,
|
|
18491
18499
|
Km as GenerateHead,
|
|
@@ -18506,7 +18514,7 @@ export {
|
|
|
18506
18514
|
Zm as Location,
|
|
18507
18515
|
T1 as LoginForm,
|
|
18508
18516
|
km as MainComponentServices,
|
|
18509
|
-
|
|
18517
|
+
wo as Marfeel,
|
|
18510
18518
|
P1 as MasNoticiasLazyLoader,
|
|
18511
18519
|
yt as MiddleSection,
|
|
18512
18520
|
xc as Modulo1x3,
|
|
@@ -18529,7 +18537,7 @@ export {
|
|
|
18529
18537
|
Lo as OrgList,
|
|
18530
18538
|
ys as PreloadImages,
|
|
18531
18539
|
Mn as REPORT_REASONS,
|
|
18532
|
-
|
|
18540
|
+
Em as ReCaptchaRender,
|
|
18533
18541
|
Kn as Readest,
|
|
18534
18542
|
E1 as RegisterForm,
|
|
18535
18543
|
k1 as ScriptHydrator,
|
|
@@ -18553,7 +18561,7 @@ export {
|
|
|
18553
18561
|
f1 as TagHeader,
|
|
18554
18562
|
pc as TagSection,
|
|
18555
18563
|
sc as TimeLine,
|
|
18556
|
-
|
|
18564
|
+
gm as TrimPathname,
|
|
18557
18565
|
I1 as TwitterHydration,
|
|
18558
18566
|
a1 as VideoBlock3,
|
|
18559
18567
|
m1 as VideoBlock4,
|
|
@@ -18562,76 +18570,76 @@ export {
|
|
|
18562
18570
|
Po as VideosSchemas,
|
|
18563
18571
|
Ro as WebsiteList,
|
|
18564
18572
|
O1 as addComment,
|
|
18565
|
-
|
|
18566
|
-
|
|
18573
|
+
xt as bannersReplace,
|
|
18574
|
+
so as batchedNewsFetch,
|
|
18567
18575
|
Ct as becomeVideoObject,
|
|
18568
18576
|
Xe as buildTagUrl,
|
|
18569
18577
|
De as cleanSchema,
|
|
18570
18578
|
n1 as coloringByStrokeSVGs,
|
|
18571
18579
|
cs as compileStyleProps,
|
|
18572
|
-
|
|
18580
|
+
vm as createAssessment,
|
|
18573
18581
|
ze as cutString,
|
|
18574
18582
|
ba as decodeApiEnv,
|
|
18575
|
-
|
|
18583
|
+
xm as encodeApiEnv,
|
|
18576
18584
|
Ee as extractMainSlug,
|
|
18577
|
-
|
|
18585
|
+
hm as extractRealtedNews,
|
|
18578
18586
|
Ln as extractRelatedNews,
|
|
18579
18587
|
Oe as formatDate,
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18588
|
+
mm as formatDateEdiciones,
|
|
18589
|
+
Xt as formatDateJournalistArticule,
|
|
18590
|
+
Gr as formatDateTimeline,
|
|
18591
|
+
Yr as formatNewsMeta,
|
|
18592
|
+
co as formatVideoData,
|
|
18585
18593
|
Ym as generalGetData,
|
|
18586
18594
|
gn as getCaptchaToken,
|
|
18587
18595
|
lu as getComments,
|
|
18588
18596
|
R as getConfig,
|
|
18589
18597
|
$m as getDynamicSlots,
|
|
18590
18598
|
ot as getEnvironmentUrl,
|
|
18591
|
-
|
|
18599
|
+
fm as getEnvironmentUrlFront,
|
|
18592
18600
|
me as getFrontPrefix,
|
|
18593
|
-
|
|
18601
|
+
Am as getHydratorPath,
|
|
18594
18602
|
he as getImageUrl,
|
|
18595
|
-
|
|
18603
|
+
Sm as getItemFormated,
|
|
18596
18604
|
st as getNextMeta,
|
|
18597
18605
|
ft as getPage,
|
|
18598
18606
|
Wa as getPlayIcon,
|
|
18599
18607
|
Tm as getPreloadImages,
|
|
18600
18608
|
at as getPrevMeta,
|
|
18601
|
-
|
|
18609
|
+
ym as getRelatedNewsCarrousel,
|
|
18602
18610
|
L1 as getReportReasonLabel,
|
|
18603
18611
|
rt as getResponse,
|
|
18604
|
-
|
|
18612
|
+
Fr as getResponsePromise,
|
|
18605
18613
|
Vn as getSchemas,
|
|
18606
18614
|
ya as getScriptReplaces,
|
|
18607
18615
|
fa as getServicePrefix,
|
|
18608
18616
|
Go as getSlugs,
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18617
|
+
Cm as getTextsStringValue,
|
|
18618
|
+
wm as getTypeOfNews,
|
|
18619
|
+
bm as getVideoRealPath,
|
|
18612
18620
|
as as handleGetComments,
|
|
18613
18621
|
um as initLibrary,
|
|
18614
|
-
|
|
18615
|
-
|
|
18616
|
-
|
|
18622
|
+
mo as isHomePath,
|
|
18623
|
+
Nm as isPhotoGallery,
|
|
18624
|
+
Xr as metadataToJSX,
|
|
18617
18625
|
Al as metadata_defaults,
|
|
18618
18626
|
bo as new_speculationRules_home,
|
|
18619
18627
|
yo as new_speculationRules_note,
|
|
18620
18628
|
vo as new_speculationRules_noteList,
|
|
18621
18629
|
Ao as new_speculationRules_section,
|
|
18622
18630
|
pa as parseTags,
|
|
18623
|
-
|
|
18631
|
+
Kr as pathnameSplit,
|
|
18624
18632
|
Hn as pickBannerVariant,
|
|
18625
|
-
|
|
18633
|
+
Qr as processExtractedRelatedNews,
|
|
18626
18634
|
jo as removePages,
|
|
18627
18635
|
U1 as reportComment,
|
|
18628
18636
|
tc as shareButtons,
|
|
18629
18637
|
ct as socialIcons,
|
|
18630
18638
|
Ze as toISOWithTimeZone,
|
|
18631
18639
|
At as toPublicEditionUrl,
|
|
18632
|
-
|
|
18633
|
-
|
|
18640
|
+
pm as toPublicShareUrl,
|
|
18641
|
+
Jr as urlReplaces,
|
|
18634
18642
|
$a as usePlayIcon,
|
|
18635
|
-
|
|
18643
|
+
Wr as validateHttpUrl,
|
|
18636
18644
|
B1 as verifyCaptchaTokenEnterprise
|
|
18637
18645
|
};
|