sass-template-common 0.9.2 → 0.9.3
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.js +145 -142
- package/dist/sass-template-common.umd.cjs +34 -34
- package/package.json +68 -68
|
@@ -66,11 +66,11 @@ let os = {
|
|
|
66
66
|
function Id(e = {}) {
|
|
67
67
|
os = { ...os, ...e };
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function K() {
|
|
70
70
|
return os;
|
|
71
71
|
}
|
|
72
72
|
const Hn = () => {
|
|
73
|
-
const { ANALYTICS_comscore: e } =
|
|
73
|
+
const { ANALYTICS_comscore: e } = K();
|
|
74
74
|
return e && /* @__PURE__ */ a(
|
|
75
75
|
"script",
|
|
76
76
|
{
|
|
@@ -95,7 +95,7 @@ const Hn = () => {
|
|
|
95
95
|
return Object.keys(t).forEach((i) => {
|
|
96
96
|
r[i] = i;
|
|
97
97
|
}), r;
|
|
98
|
-
}, [t]), { ANALYTICS_ga4: n } =
|
|
98
|
+
}, [t]), { ANALYTICS_ga4: n } = K();
|
|
99
99
|
return n && /* @__PURE__ */ f(z, { children: [
|
|
100
100
|
/* @__PURE__ */ a("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + n }),
|
|
101
101
|
/* @__PURE__ */ a(
|
|
@@ -118,7 +118,7 @@ const Hn = () => {
|
|
|
118
118
|
)
|
|
119
119
|
] });
|
|
120
120
|
}, zn = () => {
|
|
121
|
-
const { ANALYTICS_gtm: e } =
|
|
121
|
+
const { ANALYTICS_gtm: e } = K();
|
|
122
122
|
return e && /* @__PURE__ */ f(z, { children: [
|
|
123
123
|
/* @__PURE__ */ a(
|
|
124
124
|
"script",
|
|
@@ -146,7 +146,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
146
146
|
) })
|
|
147
147
|
] });
|
|
148
148
|
}, Wn = () => {
|
|
149
|
-
const { ANALYTICS_marfeel: e } =
|
|
149
|
+
const { ANALYTICS_marfeel: e } = K();
|
|
150
150
|
return e && /* @__PURE__ */ a(
|
|
151
151
|
"script",
|
|
152
152
|
{
|
|
@@ -157,7 +157,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
157
157
|
}
|
|
158
158
|
);
|
|
159
159
|
}, Ud = ({ defaultRouteName: e }) => {
|
|
160
|
-
const { CAPTCHA_KEY: t, CONFIG_comments: s = !1, CONFIG_commentsV2: n = !1 } =
|
|
160
|
+
const { CAPTCHA_KEY: t, CONFIG_comments: s = !1, CONFIG_commentsV2: n = !1 } = K();
|
|
161
161
|
return t && t !== "" && (e === "video" && s && !n || e === "news" && s && !n || e === "auth" || e === "anuncia" || e === "contacto") && /* @__PURE__ */ a(
|
|
162
162
|
"script",
|
|
163
163
|
{
|
|
@@ -273,7 +273,7 @@ function Ma() {
|
|
|
273
273
|
case m:
|
|
274
274
|
return W ? I(1, _) : I(0, _ + 1);
|
|
275
275
|
case d:
|
|
276
|
-
var
|
|
276
|
+
var J = this.$locale().weekStart || 0, ee = (j < J ? j + 7 : j) - J;
|
|
277
277
|
return I(W ? V - ee : V + (6 - ee), _);
|
|
278
278
|
case l:
|
|
279
279
|
case g:
|
|
@@ -318,7 +318,7 @@ function Ma() {
|
|
|
318
318
|
}, R.format = function(x) {
|
|
319
319
|
var D = this, L = this.$locale();
|
|
320
320
|
if (!this.isValid()) return L.invalidDate || A;
|
|
321
|
-
var W = x || "YYYY-MM-DDTHH:mm:ssZ", y = P.z(this), I = this.$H, O = this.$m, j = this.$M, _ = L.weekdays, V = L.months, Y = L.meridiem,
|
|
321
|
+
var W = x || "YYYY-MM-DDTHH:mm:ssZ", y = P.z(this), I = this.$H, O = this.$m, j = this.$M, _ = L.weekdays, V = L.months, Y = L.meridiem, J = function($, ie, q, me) {
|
|
322
322
|
return $ && ($[ie] || $(D, W)) || q[ie].slice(0, me);
|
|
323
323
|
}, ee = function($) {
|
|
324
324
|
return P.s(I % 12 || 12, $, "0");
|
|
@@ -338,9 +338,9 @@ function Ma() {
|
|
|
338
338
|
case "MM":
|
|
339
339
|
return P.s(j + 1, 2, "0");
|
|
340
340
|
case "MMM":
|
|
341
|
-
return
|
|
341
|
+
return J(L.monthsShort, j, V, 3);
|
|
342
342
|
case "MMMM":
|
|
343
|
-
return
|
|
343
|
+
return J(V, j);
|
|
344
344
|
case "D":
|
|
345
345
|
return D.$D;
|
|
346
346
|
case "DD":
|
|
@@ -348,9 +348,9 @@ function Ma() {
|
|
|
348
348
|
case "d":
|
|
349
349
|
return String(D.$W);
|
|
350
350
|
case "dd":
|
|
351
|
-
return
|
|
351
|
+
return J(L.weekdaysMin, D.$W, _, 2);
|
|
352
352
|
case "ddd":
|
|
353
|
-
return
|
|
353
|
+
return J(L.weekdaysShort, D.$W, _, 3);
|
|
354
354
|
case "dddd":
|
|
355
355
|
return _[D.$W];
|
|
356
356
|
case "H":
|
|
@@ -659,18 +659,18 @@ we.extend(rr);
|
|
|
659
659
|
we.extend(lr);
|
|
660
660
|
we.extend(Xn);
|
|
661
661
|
const Ot = (e) => e === "en" ? "en" : "es", Ue = (e, t) => {
|
|
662
|
-
const { PUBLIC_LNG: s, DATE_TIMEZONE: n } = t ||
|
|
662
|
+
const { PUBLIC_LNG: s, DATE_TIMEZONE: n } = t || K(), r = Ot(s ?? "es");
|
|
663
663
|
return we.tz(e, n).locale(r).format("DD MMMM YYYY");
|
|
664
664
|
}, vs = (e) => {
|
|
665
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } =
|
|
665
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = K(), n = Ot(t ?? "es");
|
|
666
666
|
return we.tz(e, s).locale(n).format(
|
|
667
667
|
n === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
668
668
|
);
|
|
669
669
|
}, dr = (e) => {
|
|
670
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } =
|
|
670
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = K(), n = Ot(t ?? "es");
|
|
671
671
|
return we.tz(e, s).locale(n).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
672
672
|
}, xd = (e) => {
|
|
673
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } =
|
|
673
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = K(), n = Ot(t ?? "es");
|
|
674
674
|
return we.tz(e, s).locale(n).format("dddd DD [de] MMMM YYYY");
|
|
675
675
|
}, Ve = (e, t) => {
|
|
676
676
|
if (!e) return "";
|
|
@@ -777,10 +777,10 @@ const gr = async (e, t) => {
|
|
|
777
777
|
(i) => He(i)?.data
|
|
778
778
|
);
|
|
779
779
|
}, Rt = () => {
|
|
780
|
-
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: s } =
|
|
780
|
+
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: s } = K();
|
|
781
781
|
return e == "local" ? t : s && s !== "false" ? s : "";
|
|
782
782
|
}, Rd = () => {
|
|
783
|
-
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } =
|
|
783
|
+
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = K();
|
|
784
784
|
return e === "local" ? t : "";
|
|
785
785
|
}, pr = (e) => {
|
|
786
786
|
if (!e?.preview?.length) return null;
|
|
@@ -810,7 +810,7 @@ const gr = async (e, t) => {
|
|
|
810
810
|
PUBLIC_ASSETS_URL: r,
|
|
811
811
|
PUBLIC_API_FRONT: i,
|
|
812
812
|
DATE_TIMEZONE: o = "America/Mexico_City"
|
|
813
|
-
} =
|
|
813
|
+
} = K(), c = Da(t.keywords) ?? "", u = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", l = (r !== "false" ? r : i) ?? "", d = pr(n), m = t.main.title.article, h = $s({
|
|
814
814
|
schemaImage: d,
|
|
815
815
|
socialImage: t?.social?.images?.facebook,
|
|
816
816
|
fallbackImage: u,
|
|
@@ -1160,9 +1160,9 @@ function kd(e) {
|
|
|
1160
1160
|
return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
|
|
1161
1161
|
}
|
|
1162
1162
|
const Tr = () => {
|
|
1163
|
-
const { PUBLIC_ASSETS_URL: e } =
|
|
1163
|
+
const { PUBLIC_ASSETS_URL: e } = K();
|
|
1164
1164
|
return e && e !== "false" && /* @__PURE__ */ a("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" });
|
|
1165
|
-
}, { PUBLIC_ASSETS_URL: Kt } =
|
|
1165
|
+
}, { PUBLIC_ASSETS_URL: Kt } = K(), Ir = Kt && Kt !== "false" ? Kt : "", Zs = ({ images: e }) => /* @__PURE__ */ a(z, { children: e.map(
|
|
1166
1166
|
(t, s) => t.href !== "" && /* @__PURE__ */ a(
|
|
1167
1167
|
"link",
|
|
1168
1168
|
{
|
|
@@ -1176,7 +1176,7 @@ const Tr = () => {
|
|
|
1176
1176
|
)
|
|
1177
1177
|
) }), Ur = (e, t, s) => {
|
|
1178
1178
|
if (!t) return {};
|
|
1179
|
-
const { PUBLIC_API_FRONT: n } =
|
|
1179
|
+
const { PUBLIC_API_FRONT: n } = K();
|
|
1180
1180
|
return {
|
|
1181
1181
|
title: t?.main?.title + " | " + s.name,
|
|
1182
1182
|
robots: "index, follow, max-image-preview:large",
|
|
@@ -1252,7 +1252,7 @@ const _e = (e, t) => {
|
|
|
1252
1252
|
const { AssetsPrefix: t = "", AssetsPath: s = "src", isDev: n = !1 } = e;
|
|
1253
1253
|
return n ? "src" : t + s;
|
|
1254
1254
|
}, Od = async (e, t, s, n) => {
|
|
1255
|
-
const { FETCH_TAG_BASED_RELATED_NEWS: r = !1, FETCH_SIZE_RELATED_NEWS: i = 10 } =
|
|
1255
|
+
const { FETCH_TAG_BASED_RELATED_NEWS: r = !1, FETCH_SIZE_RELATED_NEWS: i = 10 } = K();
|
|
1256
1256
|
if (!e) return [];
|
|
1257
1257
|
try {
|
|
1258
1258
|
if (e.related && e.related?.automatic === !1 && e.related?.news && e.related?.news.length > 0)
|
|
@@ -1395,7 +1395,7 @@ const Rr = { prerender: [
|
|
|
1395
1395
|
pathname: s,
|
|
1396
1396
|
ROUTE: n
|
|
1397
1397
|
}) => {
|
|
1398
|
-
const { PUBLIC_PUBLICATION_ID: r = "" } =
|
|
1398
|
+
const { PUBLIC_PUBLICATION_ID: r = "" } = K();
|
|
1399
1399
|
let i = [];
|
|
1400
1400
|
const o = s === "/" || s === "/index.html" ? void 0 : Gr(Qr[n]({ pathname: s, config: e })), c = Br[n] ?? void 0, u = {
|
|
1401
1401
|
newstype: e.newsType,
|
|
@@ -1423,7 +1423,7 @@ const Rr = { prerender: [
|
|
|
1423
1423
|
);
|
|
1424
1424
|
};
|
|
1425
1425
|
function qt(e) {
|
|
1426
|
-
const { PUBLIC_ASSETS_URL: t } =
|
|
1426
|
+
const { PUBLIC_ASSETS_URL: t } = K();
|
|
1427
1427
|
if (!t || t === "false") return e;
|
|
1428
1428
|
const s = t.replace(/\/+$/, ""), n = /https?:\/\/[^/\s]+\/(arte|__export)\//g;
|
|
1429
1429
|
return e.replace(n, (r, i) => `${s}/${i}/`);
|
|
@@ -1434,7 +1434,7 @@ const qr = async ({
|
|
|
1434
1434
|
BASE_URL: s,
|
|
1435
1435
|
axiosApi: n
|
|
1436
1436
|
}) => {
|
|
1437
|
-
const { PUBLIC_SERVICE_PREFIX: r, PUBLIC_IS_SUB_PUBLICATION: i } =
|
|
1437
|
+
const { PUBLIC_SERVICE_PREFIX: r, PUBLIC_IS_SUB_PUBLICATION: i } = K();
|
|
1438
1438
|
let o = [];
|
|
1439
1439
|
try {
|
|
1440
1440
|
const c = t.socialBlockLogo?.url ? new URL(t.socialBlockLogo.url).pathname : void 0, u = t.landscapeLogo?.url ? new URL(t.landscapeLogo.url).pathname : void 0, l = {
|
|
@@ -1694,7 +1694,7 @@ const qr = async ({
|
|
|
1694
1694
|
PUBLIC_API_HOST: s,
|
|
1695
1695
|
PUBLIC_ENV: n,
|
|
1696
1696
|
PUBLIC_PUBLICATION_ID: r
|
|
1697
|
-
} =
|
|
1697
|
+
} = K(), i = (/* @__PURE__ */ new Date()).toISOString(), o = t?.projectName ?? "";
|
|
1698
1698
|
return `<!doctype html>
|
|
1699
1699
|
<html lang="es">
|
|
1700
1700
|
<head>
|
|
@@ -1797,7 +1797,7 @@ const qr = async ({
|
|
|
1797
1797
|
</body>
|
|
1798
1798
|
</html>`;
|
|
1799
1799
|
}, te = async (e) => {
|
|
1800
|
-
const { SERVICE_DEBUG: t } =
|
|
1800
|
+
const { SERVICE_DEBUG: t } = K();
|
|
1801
1801
|
if (!t?.enabled)
|
|
1802
1802
|
return;
|
|
1803
1803
|
const s = Fr(e);
|
|
@@ -3815,7 +3815,7 @@ class Oe {
|
|
|
3815
3815
|
PUBLIC_IS_OFFLINE: s,
|
|
3816
3816
|
PUBLIC_USERNAME_OFFLINE: n,
|
|
3817
3817
|
PUBLIC_PASSWORD_OFFLINE: r
|
|
3818
|
-
} =
|
|
3818
|
+
} = K();
|
|
3819
3819
|
if (s === "true")
|
|
3820
3820
|
try {
|
|
3821
3821
|
return (await this.props?.axiosApi.get("/auth", {
|
|
@@ -4172,7 +4172,7 @@ class yo extends Oe {
|
|
|
4172
4172
|
IS_MULTIPUBLICATION;
|
|
4173
4173
|
constructor(t) {
|
|
4174
4174
|
super(t);
|
|
4175
|
-
const { MULTIPUBLICATION_FETCHES: s, PUBLIC_PUBLICATION_ID: n } =
|
|
4175
|
+
const { MULTIPUBLICATION_FETCHES: s, PUBLIC_PUBLICATION_ID: n } = K();
|
|
4176
4176
|
this.MULTIPUBLICATION_FETCHES = s, this.PUBLIC_PUBLICATION_ID = n, this.IS_MULTIPUBLICATION = s != null && s !== "" || n != null && n !== "";
|
|
4177
4177
|
}
|
|
4178
4178
|
getBlockSass = async (t) => {
|
|
@@ -4223,7 +4223,7 @@ class yo extends Oe {
|
|
|
4223
4223
|
}
|
|
4224
4224
|
},
|
|
4225
4225
|
tag: async () => {
|
|
4226
|
-
const { USE_QUOTE_IN_QUERY_TAG_HOME: l } =
|
|
4226
|
+
const { USE_QUOTE_IN_QUERY_TAG_HOME: l } = K(), d = {
|
|
4227
4227
|
query: l ? 'claves:("' + o + '")' : "claves:(" + o + ")",
|
|
4228
4228
|
size: this.props?.imgSizes[c]?.size ?? 3,
|
|
4229
4229
|
newstype: this.props?.config?.newsType,
|
|
@@ -4462,7 +4462,7 @@ const ou = async (e, t, s, n, r, i, o) => {
|
|
|
4462
4462
|
}
|
|
4463
4463
|
},
|
|
4464
4464
|
tema: async (e) => {
|
|
4465
|
-
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new Oe({ config: s, axiosApi: i }), c = n.split("/"), u = [], l = ht(n), d = Number(s.newsListLimit) ?? 0, m = /([t][0-9]{4})\w+/.exec(r || ""), h = m && m?.length > 0 ? m[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: p } =
|
|
4465
|
+
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new Oe({ config: s, axiosApi: i }), c = n.split("/"), u = [], l = ht(n), d = Number(s.newsListLimit) ?? 0, m = /([t][0-9]{4})\w+/.exec(r || ""), h = m && m?.length > 0 ? m[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: p } = K();
|
|
4466
4466
|
try {
|
|
4467
4467
|
const g = await o.getNewsListTags({
|
|
4468
4468
|
tagid: h,
|
|
@@ -4675,7 +4675,7 @@ const ou = async (e, t, s, n, r, i, o) => {
|
|
|
4675
4675
|
listAutor: t,
|
|
4676
4676
|
config: s
|
|
4677
4677
|
}) => {
|
|
4678
|
-
const n = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: i } =
|
|
4678
|
+
const n = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: i } = K(), o = r, c = n?.info?.date?.modified ? Ve(n.info.date.modified, o) : void 0, u = e.addtional?.USER_JOBSTART ? Ve(e.addtional.USER_JOBSTART, o) : void 0, l = i && i !== "false" ? i : "", d = {
|
|
4679
4679
|
"@context": "https://schema.org",
|
|
4680
4680
|
"@type": "ProfilePage",
|
|
4681
4681
|
mainEntity: {
|
|
@@ -4955,11 +4955,11 @@ function Io({
|
|
|
4955
4955
|
const I = m - l, O = Date.now() - A, j = Math.abs(I) / Math.max(O, 1), _ = P(I), Y = j > 0.5 && Math.abs(I) > 50 ? Math.max(_, 1) : _;
|
|
4956
4956
|
if (Y > 0)
|
|
4957
4957
|
if (I > 0) {
|
|
4958
|
-
const
|
|
4959
|
-
o(
|
|
4958
|
+
const J = Math.max(0, e - Y);
|
|
4959
|
+
o(J);
|
|
4960
4960
|
} else {
|
|
4961
|
-
const
|
|
4962
|
-
o(
|
|
4961
|
+
const J = Math.min(B, e + Y);
|
|
4962
|
+
o(J);
|
|
4963
4963
|
}
|
|
4964
4964
|
u(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", k), document.removeEventListener("mouseup", R), y.clientX === l && v?.dispatchEvent(new PointerEvent("click"));
|
|
4965
4965
|
},
|
|
@@ -5262,7 +5262,7 @@ const st = (e) => /* @__PURE__ */ a("div", { className: "su-flex su-flex-col sas
|
|
|
5262
5262
|
);
|
|
5263
5263
|
};
|
|
5264
5264
|
function M(e) {
|
|
5265
|
-
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: s, SUB_PUBLICATION_PREFIX_IN_ROUTES: n } =
|
|
5265
|
+
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: s, SUB_PUBLICATION_PREFIX_IN_ROUTES: n } = K(), { block_subPublication: r } = e, i = ko(e.href), o = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, c = n?.tema && i, u = n?.buscar && o, l = !r && !c && !u && t !== "false" && s !== "false" ? "/" + t : "", d = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), m = e.href?.split("/")[1] === l.replace("/", ""), h = {
|
|
5266
5266
|
...e,
|
|
5267
5267
|
href: (!d && !m ? l : "") + (l && e.href === "/" ? "" : e.href ?? "")
|
|
5268
5268
|
};
|
|
@@ -5311,33 +5311,36 @@ const ko = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), Us = (e) => /* @__PURE__ *
|
|
|
5311
5311
|
}
|
|
5312
5312
|
)
|
|
5313
5313
|
}
|
|
5314
|
-
), Rs = (e) =>
|
|
5315
|
-
"
|
|
5316
|
-
{
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5314
|
+
), Rs = (e) => {
|
|
5315
|
+
const { PUBLIC_ASSETS_URL: t, PUBLIC_ENV: s } = K(), n = t && t !== "false" ? t + "/versions/images/" : "";
|
|
5316
|
+
return s !== "" ? /* @__PURE__ */ a("img", { src: n + "/clipboard.svg", alt: "Clipboard Icon", ...e }) : /* @__PURE__ */ f(
|
|
5317
|
+
"svg",
|
|
5318
|
+
{
|
|
5319
|
+
width: "24",
|
|
5320
|
+
height: "26",
|
|
5321
|
+
viewBox: "0 0 20 24",
|
|
5322
|
+
fill: "none",
|
|
5323
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5324
|
+
...e,
|
|
5325
|
+
children: [
|
|
5326
|
+
/* @__PURE__ */ a(
|
|
5327
|
+
"path",
|
|
5328
|
+
{
|
|
5329
|
+
d: "M15.468 0.0176692C19.1667 -0.312768 21.4241 4.0663 18.9843 6.88436C17.3076 8.82178 15.1141 10.5527 13.3915 12.4761C12.2176 13.476 10.6337 13.7557 9.18071 13.2164C8.74887 13.0559 7.79245 12.4979 7.58121 12.088C7.34035 11.6196 7.56874 11.0468 8.06994 10.8964C8.70055 10.707 8.98194 11.2549 9.47302 11.5206C10.4177 12.0326 11.5324 11.8775 12.3392 11.1894C14.1959 9.60579 15.8539 7.46497 17.6981 5.83149C19.2961 3.95875 17.6443 1.19212 15.2404 1.73766C13.9722 2.02523 12.3205 4.35309 11.2479 5.2275C10.4458 5.88136 9.47224 5.01708 9.97968 4.15436C11.6922 2.72273 13.0469 0.233544 15.468 0.0176692Z",
|
|
5330
|
+
fill: "currentColor"
|
|
5331
|
+
}
|
|
5332
|
+
),
|
|
5333
|
+
/* @__PURE__ */ a(
|
|
5334
|
+
"path",
|
|
5335
|
+
{
|
|
5336
|
+
d: "M8.5303 6.95371C9.60676 6.85786 11.2055 7.32623 11.8891 8.20922C12.487 8.98231 11.6077 9.94089 10.7853 9.42965C10.6567 9.34938 10.5273 9.19507 10.4057 9.10779C9.40644 8.39782 8.16472 8.4438 7.23168 9.24027C5.52383 10.6968 3.99604 12.6654 2.30378 14.1719C0.74403 16.0719 2.47293 18.851 4.88309 18.1925C6.09675 17.8612 7.32288 16.0173 8.32295 15.2022C9.06502 14.5974 9.97858 15.2848 9.65821 16.1475C8.76882 17.0414 7.85526 18.1449 6.90117 18.9632C3.04429 22.2707 -2.2866 16.9362 1.05349 13.0777C2.59608 11.2962 4.61339 9.7032 6.19886 7.93489C6.85207 7.39014 7.67598 7.02931 8.5303 6.95371Z",
|
|
5337
|
+
fill: "currentColor"
|
|
5338
|
+
}
|
|
5339
|
+
)
|
|
5340
|
+
]
|
|
5341
|
+
}
|
|
5342
|
+
);
|
|
5343
|
+
}, Lo = (e) => /* @__PURE__ */ a(
|
|
5341
5344
|
"svg",
|
|
5342
5345
|
{
|
|
5343
5346
|
width: "23",
|
|
@@ -5413,7 +5416,7 @@ function Bo({ noteShare: e }) {
|
|
|
5413
5416
|
] }) : null;
|
|
5414
5417
|
}
|
|
5415
5418
|
const Ze = (e) => {
|
|
5416
|
-
const { share: t = !1, cutSubtitle: s = !0, keywords: n, info: r, paths: i, newsDescriptionSectionTag: o = "h3" } = e, { SHOW_TAG_BY_SECTION: c, SUB_PUBLICATION_PREFIX_IN_ROUTES: u } =
|
|
5419
|
+
const { share: t = !1, cutSubtitle: s = !0, keywords: n, info: r, paths: i, newsDescriptionSectionTag: o = "h3" } = e, { SHOW_TAG_BY_SECTION: c, SUB_PUBLICATION_PREFIX_IN_ROUTES: u } = K(), l = () => {
|
|
5417
5420
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
5418
5421
|
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Ue(
|
|
5419
5422
|
e.info?.date?.modified
|
|
@@ -5535,10 +5538,10 @@ const Ze = (e) => {
|
|
|
5535
5538
|
}
|
|
5536
5539
|
);
|
|
5537
5540
|
function gn() {
|
|
5538
|
-
return
|
|
5541
|
+
return K().COMPONENTS?.PlayIcon || fn;
|
|
5539
5542
|
}
|
|
5540
5543
|
function pn() {
|
|
5541
|
-
return
|
|
5544
|
+
return K().COMPONENTS?.PlayIcon || fn;
|
|
5542
5545
|
}
|
|
5543
5546
|
const Oo = (e) => {
|
|
5544
5547
|
const { isVideo: t = !1, priorityHigh: s = !1 } = e, n = gn(), r = e.preview.sizes;
|
|
@@ -5676,7 +5679,7 @@ const Oo = (e) => {
|
|
|
5676
5679
|
const { preview: t } = e;
|
|
5677
5680
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((i) => !i.url))
|
|
5678
5681
|
return /* @__PURE__ */ a("div", { className: "sass-com-img-imageLogoPlaceholder su-flex-center" });
|
|
5679
|
-
const { PUBLIC_IS_OFFLINE: s } =
|
|
5682
|
+
const { PUBLIC_IS_OFFLINE: s } = K();
|
|
5680
5683
|
if (s === "true")
|
|
5681
5684
|
return /* @__PURE__ */ a(
|
|
5682
5685
|
qo,
|
|
@@ -6669,7 +6672,7 @@ const Oo = (e) => {
|
|
|
6669
6672
|
showads: !1
|
|
6670
6673
|
}, ks = (e) => {
|
|
6671
6674
|
let t = [];
|
|
6672
|
-
const { PUBLIC_ENV: s, PUBLIC_IS_OFFLINE: n, SHOW_DEV_RANKING: r } =
|
|
6675
|
+
const { PUBLIC_ENV: s, PUBLIC_IS_OFFLINE: n, SHOW_DEV_RANKING: r } = K();
|
|
6673
6676
|
return e.content && e.content.length > 0 ? t = e.content.map((i) => ({
|
|
6674
6677
|
...i,
|
|
6675
6678
|
config: wa
|
|
@@ -6898,10 +6901,10 @@ const Oo = (e) => {
|
|
|
6898
6901
|
"path",
|
|
6899
6902
|
{
|
|
6900
6903
|
fill: "currentColor",
|
|
6901
|
-
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
|
|
6902
|
-
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
|
|
6903
|
-
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
|
|
6904
|
-
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
|
|
6904
|
+
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
|
|
6905
|
+
c-3,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,0.9,2.4,1.3,3.8,1.5v-0.3\r
|
|
6954
|
+
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
|
|
6952
6955
|
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`
|
|
6953
6956
|
}
|
|
6954
6957
|
) })
|
|
@@ -6971,13 +6974,13 @@ const Oo = (e) => {
|
|
|
6971
6974
|
"path",
|
|
6972
6975
|
{
|
|
6973
6976
|
fill: "currentColor",
|
|
6974
|
-
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
|
|
6975
|
-
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
|
|
6976
|
-
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
|
|
6977
|
-
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
|
|
6978
|
-
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
|
|
6979
|
-
c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0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.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
|
|
7008
|
+
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
|
|
7009
|
+
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
|
|
7007
7010
|
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`
|
|
7008
7011
|
}
|
|
7009
7012
|
),
|
|
@@ -7428,7 +7431,7 @@ const pu = (e) => {
|
|
|
7428
7431
|
main: n,
|
|
7429
7432
|
overImage: r = "default",
|
|
7430
7433
|
titleGradient: i = !1
|
|
7431
|
-
} = e, { SHOW_TAG_BY_SECTION: o, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } =
|
|
7434
|
+
} = e, { SHOW_TAG_BY_SECTION: o, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } = K(), u = () => {
|
|
7432
7435
|
if (o && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
7433
7436
|
const l = e.keywords.tags[0], d = l.name;
|
|
7434
7437
|
return l.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
@@ -7584,8 +7587,8 @@ const pu = (e) => {
|
|
|
7584
7587
|
strokeLinecap: "round",
|
|
7585
7588
|
strokeLinejoin: "round",
|
|
7586
7589
|
strokeMiterlimit: "10",
|
|
7587
|
-
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
|
|
7588
|
-
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
|
|
7590
|
+
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
|
|
7591
|
+
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
|
|
7589
7592
|
h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`
|
|
7590
7593
|
}
|
|
7591
7594
|
)
|
|
@@ -7987,7 +7990,7 @@ const pu = (e) => {
|
|
|
7987
7990
|
searchKeyWord: r,
|
|
7988
7991
|
custom_styles: i = {}
|
|
7989
7992
|
}) => {
|
|
7990
|
-
const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: c, SUB_PUBLICATION_PREFIX_IN_ROUTES: u } =
|
|
7993
|
+
const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: c, SUB_PUBLICATION_PREFIX_IN_ROUTES: u } = K(), l = u?.buscar && o !== "false" && c !== "false" ? "/" + o : "";
|
|
7991
7994
|
return /* @__PURE__ */ f(
|
|
7992
7995
|
"aside",
|
|
7993
7996
|
{
|
|
@@ -8211,7 +8214,7 @@ const pu = (e) => {
|
|
|
8211
8214
|
)) })
|
|
8212
8215
|
] });
|
|
8213
8216
|
}, ac = (e) => {
|
|
8214
|
-
const { alertZone: t, custom_styles: s = {} } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: n } =
|
|
8217
|
+
const { alertZone: t, custom_styles: s = {} } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: n } = K();
|
|
8215
8218
|
return /* @__PURE__ */ f("header", { className: "sass-com-h1sk-headerStyled", style: s, id: "saas-header-sticky", children: [
|
|
8216
8219
|
e.socialIcons && e.headerTape?.sticky && /* @__PURE__ */ a(
|
|
8217
8220
|
In,
|
|
@@ -8353,7 +8356,7 @@ const pu = (e) => {
|
|
|
8353
8356
|
) }, i)) }) })
|
|
8354
8357
|
] }, n)) });
|
|
8355
8358
|
}, rc = (e) => {
|
|
8356
|
-
const { menu: t, alertZone: s, custom_styles: n = {} } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } =
|
|
8359
|
+
const { menu: t, alertZone: s, custom_styles: n = {} } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = K();
|
|
8357
8360
|
return /* @__PURE__ */ f(
|
|
8358
8361
|
"header",
|
|
8359
8362
|
{
|
|
@@ -8484,7 +8487,7 @@ const pu = (e) => {
|
|
|
8484
8487
|
)
|
|
8485
8488
|
] });
|
|
8486
8489
|
}, ic = (e) => {
|
|
8487
|
-
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } =
|
|
8490
|
+
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } = K();
|
|
8488
8491
|
return e?.tags && e?.tags?.length > 0 && /* @__PURE__ */ a("section", { className: "sass-com-ts-content", children: Array.isArray(e.tags) && /* @__PURE__ */ f("div", { className: "sass-com-ts-tags", children: [
|
|
8489
8492
|
/* @__PURE__ */ a("p", { className: "sass-com-ts-tagStyled", children: e.title ? e.title : "Tags:" }),
|
|
8490
8493
|
e.tags.map((s, n) => s.approved ? /* @__PURE__ */ a(
|
|
@@ -8498,7 +8501,7 @@ const pu = (e) => {
|
|
|
8498
8501
|
) : /* @__PURE__ */ a("div", { className: "sass-com-ts-chipStyled", children: s.name }, n))
|
|
8499
8502
|
] }) });
|
|
8500
8503
|
}, oc = async (e) => {
|
|
8501
|
-
const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: s } =
|
|
8504
|
+
const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = K(), n = t?.addtional?.USER_SHOWBIO ?? !1, r = t?.info?.name ?? "", i = t?.info?.fullname ?? "", o = t?.info?.image?.sizes?.[0]?.url ?? "", c = t?.addtional?.USER_MIBIO ?? "", u = t?.addtional?.USER_USERFB ?? "", l = t?.addtional?.USER_USERIG ?? "", d = t?.addtional?.USER_USERTWT ?? "", m = t?.addtional?.USER_USERLIN ?? "";
|
|
8502
8505
|
return n && !!t && /* @__PURE__ */ a("section", { className: "sass-com-ja2-contentBox", children: /* @__PURE__ */ f("div", { className: "sass-com-ja2-content", children: [
|
|
8503
8506
|
/* @__PURE__ */ f("div", { className: "sass-com-ja2-avatarContent", children: [
|
|
8504
8507
|
/* @__PURE__ */ a(
|
|
@@ -8820,7 +8823,7 @@ const pu = (e) => {
|
|
|
8820
8823
|
}
|
|
8821
8824
|
) });
|
|
8822
8825
|
}, We = (e) => {
|
|
8823
|
-
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } =
|
|
8826
|
+
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = K(), n = () => {
|
|
8824
8827
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
8825
8828
|
return `${e?.authors[0]?.fullname} - ${Ue(
|
|
8826
8829
|
e.info?.date?.modified
|
|
@@ -9105,7 +9108,7 @@ const pu = (e) => {
|
|
|
9105
9108
|
) }, i))
|
|
9106
9109
|
}
|
|
9107
9110
|
), Un = (e) => {
|
|
9108
|
-
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } =
|
|
9111
|
+
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = K();
|
|
9109
9112
|
return /* @__PURE__ */ f("div", { className: "sass-com-bh-content", children: [
|
|
9110
9113
|
/* @__PURE__ */ a(() => {
|
|
9111
9114
|
if (t && e.mainNew.keywords?.tags?.length && e.mainNew.keywords.tags.length > 0) {
|
|
@@ -9206,7 +9209,7 @@ const pu = (e) => {
|
|
|
9206
9209
|
)
|
|
9207
9210
|
] });
|
|
9208
9211
|
}, Ut = async (e) => {
|
|
9209
|
-
const { data: t, autorIcon: s } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: n } =
|
|
9212
|
+
const { data: t, autorIcon: s } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: n } = K(), r = s, i = () => t?.config?.showtime ? `${Ue(t.info?.date?.modified)}` : "", o = /* @__PURE__ */ f("div", { className: "sass-com-oc2-autorContent", children: [
|
|
9210
9213
|
Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ a(
|
|
9211
9214
|
"img",
|
|
9212
9215
|
{
|
|
@@ -9661,7 +9664,7 @@ const Su = (e) => {
|
|
|
9661
9664
|
}
|
|
9662
9665
|
) });
|
|
9663
9666
|
}, vc = async (e) => {
|
|
9664
|
-
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } =
|
|
9667
|
+
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } = K(), { data: s } = e;
|
|
9665
9668
|
return /* @__PURE__ */ f("div", { className: "sass-com-opt1-content", children: [
|
|
9666
9669
|
Array.isArray(s.authors) && s?.authors[0]?.image ? /* @__PURE__ */ a(
|
|
9667
9670
|
"img",
|
|
@@ -10394,7 +10397,7 @@ const _c = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
10394
10397
|
if (!e.news || !e.news.authors) return null;
|
|
10395
10398
|
const { news: t, socials: s, texts: n } = e, r = t.authors.map(
|
|
10396
10399
|
(u) => u.internaluser ? `<a href="${`/${e.paths.autor}/${u.name}`}">${u.fullname}</a>` : u.fullname
|
|
10397
|
-
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja3-width1Autor" : t.authors.length === 2 ? "sass-com-ja3-width2Autor" : t.authors.length === 3 ? "sass-com-ja3-width3Autor" : "", { DATE_TIMEZONE: o = "America/Mexico_City", CONFIG_shareOnlyWhatsApp: c } =
|
|
10400
|
+
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja3-width1Autor" : t.authors.length === 2 ? "sass-com-ja3-width2Autor" : t.authors.length === 3 ? "sass-com-ja3-width3Autor" : "", { DATE_TIMEZONE: o = "America/Mexico_City", CONFIG_shareOnlyWhatsApp: c } = K();
|
|
10398
10401
|
return t.config?.showauthor && /* @__PURE__ */ a("div", { className: "sass-com-ja3-content", children: /* @__PURE__ */ f("div", { className: "sass-com-ja3-avatarContent", children: [
|
|
10399
10402
|
c ? /* @__PURE__ */ f(
|
|
10400
10403
|
"a",
|
|
@@ -10708,7 +10711,7 @@ const Wc = async (e) => {
|
|
|
10708
10711
|
if (!e.news || !e.news.authors) return null;
|
|
10709
10712
|
const { news: t, socials: s, texts: n } = e, r = t.authors.map(
|
|
10710
10713
|
(l) => l.internaluser ? `<a href="${`/${e.paths.autor}/${l.name}`}">${l.fullname}</a>` : l.fullname
|
|
10711
|
-
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja4-width1Autor" : t.authors.length === 2 ? "sass-com-ja4-width2Autor" : t.authors.length === 3 ? "sass-com-ja4-width3Autor" : "", { CONFIG_shareOnlyWhatsApp: o, DATE_TIMEZONE: c = "America/Mexico_City", CONFIG_commentsV2: u } =
|
|
10714
|
+
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja4-width1Autor" : t.authors.length === 2 ? "sass-com-ja4-width2Autor" : t.authors.length === 3 ? "sass-com-ja4-width3Autor" : "", { CONFIG_shareOnlyWhatsApp: o, DATE_TIMEZONE: c = "America/Mexico_City", CONFIG_commentsV2: u } = K();
|
|
10712
10715
|
return t.config?.showauthor && /* @__PURE__ */ a("div", { className: "sass-com-ja4-content sass-journalist-articule-4", children: /* @__PURE__ */ f("div", { className: "sass-com-ja4-avatarContent", children: [
|
|
10713
10716
|
/* @__PURE__ */ f("div", { className: "sass-com-ja4-socialActionsRow", children: [
|
|
10714
10717
|
/* @__PURE__ */ f("div", { style: { display: "flex", gap: "10px", alignItems: "center" }, children: [
|
|
@@ -10831,7 +10834,7 @@ const Wc = async (e) => {
|
|
|
10831
10834
|
/<span\b[^>]*class=["'][^"']*video__title[^"']*["'][^>]*>[\s\S]*?<\/span>/gi,
|
|
10832
10835
|
""
|
|
10833
10836
|
), $c = async (e) => {
|
|
10834
|
-
const { PUBLIC_IS_OFFLINE: t } =
|
|
10837
|
+
const { PUBLIC_IS_OFFLINE: t } = K();
|
|
10835
10838
|
if (!(t === "true")) {
|
|
10836
10839
|
const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, d = [...e.matchAll(l)], m = {};
|
|
10837
10840
|
for (const h of d) {
|
|
@@ -11109,7 +11112,7 @@ async function al(e) {
|
|
|
11109
11112
|
e.texts,
|
|
11110
11113
|
n
|
|
11111
11114
|
), d = await sl(d, u), d = Yc(d), d = Kc(d);
|
|
11112
|
-
const m = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT: h, CONFIG_blockDefaultTwitterHydrator: p } =
|
|
11115
|
+
const m = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT: h, CONFIG_blockDefaultTwitterHydrator: p } = K(), g = t.config.articlepreview === De.fotoGaleria && t.hascontent?.hasgalleryimages;
|
|
11113
11116
|
return /* @__PURE__ */ f(z, { children: [
|
|
11114
11117
|
i !== "liveblogs" && e.showHeaderImage ? g ? /* @__PURE__ */ a(
|
|
11115
11118
|
Qc,
|
|
@@ -11349,7 +11352,7 @@ const nl = (e) => {
|
|
|
11349
11352
|
slug: l,
|
|
11350
11353
|
texts: d = {},
|
|
11351
11354
|
socialIconsFilled: m = !1
|
|
11352
|
-
} = e, h = [5, 10, 15], { SUB_PUBLICATION_PREFIX_IN_ROUTES: p } =
|
|
11355
|
+
} = e, h = [5, 10, 15], { SUB_PUBLICATION_PREFIX_IN_ROUTES: p } = K(), g = {
|
|
11353
11356
|
5: 1,
|
|
11354
11357
|
10: 2,
|
|
11355
11358
|
15: 3
|
|
@@ -13778,7 +13781,7 @@ function ql() {
|
|
|
13778
13781
|
function Y(q) {
|
|
13779
13782
|
return E(q) === g;
|
|
13780
13783
|
}
|
|
13781
|
-
function
|
|
13784
|
+
function J(q) {
|
|
13782
13785
|
return E(q) === p;
|
|
13783
13786
|
}
|
|
13784
13787
|
function ee(q) {
|
|
@@ -13793,7 +13796,7 @@ function ql() {
|
|
|
13793
13796
|
function ie(q) {
|
|
13794
13797
|
return E(q) === m;
|
|
13795
13798
|
}
|
|
13796
|
-
ne.AsyncMode = b, ne.ConcurrentMode = T, ne.ContextConsumer = U, ne.ContextProvider = B, ne.Element = Z, ne.ForwardRef = G, ne.Fragment = P, ne.Lazy = Q, ne.Memo = F, ne.Portal = k, ne.Profiler = R, ne.StrictMode = x, ne.Suspense = D, ne.isAsyncMode = W, ne.isConcurrentMode = y, ne.isContextConsumer = I, ne.isContextProvider = O, ne.isElement = j, ne.isForwardRef = _, ne.isFragment = V, ne.isLazy = Y, ne.isMemo =
|
|
13799
|
+
ne.AsyncMode = b, ne.ConcurrentMode = T, ne.ContextConsumer = U, ne.ContextProvider = B, ne.Element = Z, ne.ForwardRef = G, ne.Fragment = P, ne.Lazy = Q, ne.Memo = F, ne.Portal = k, ne.Profiler = R, ne.StrictMode = x, ne.Suspense = D, ne.isAsyncMode = W, ne.isConcurrentMode = y, ne.isContextConsumer = I, ne.isContextProvider = O, ne.isElement = j, ne.isForwardRef = _, ne.isFragment = V, ne.isLazy = Y, ne.isMemo = J, ne.isPortal = ee, ne.isProfiler = se, ne.isStrictMode = $, ne.isSuspense = ie, ne.isValidElementType = N, ne.typeOf = E;
|
|
13797
13800
|
})()), ne;
|
|
13798
13801
|
}
|
|
13799
13802
|
var Sa;
|
|
@@ -13961,28 +13964,28 @@ function _l() {
|
|
|
13961
13964
|
function w(y) {
|
|
13962
13965
|
if (process.env.NODE_ENV !== "production")
|
|
13963
13966
|
var I = {}, O = 0;
|
|
13964
|
-
function j(V, Y,
|
|
13965
|
-
if (ee = ee || h, $ = $ ||
|
|
13967
|
+
function j(V, Y, J, ee, se, $, ie) {
|
|
13968
|
+
if (ee = ee || h, $ = $ || J, ie !== s) {
|
|
13966
13969
|
if (u) {
|
|
13967
13970
|
var q = new Error(
|
|
13968
13971
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
13969
13972
|
);
|
|
13970
13973
|
throw q.name = "Invariant Violation", q;
|
|
13971
13974
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
13972
|
-
var me = ee + ":" +
|
|
13975
|
+
var me = ee + ":" + J;
|
|
13973
13976
|
!I[me] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
13974
13977
|
O < 3 && (i(
|
|
13975
13978
|
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + ee + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
13976
13979
|
), I[me] = !0, O++);
|
|
13977
13980
|
}
|
|
13978
13981
|
}
|
|
13979
|
-
return Y[
|
|
13982
|
+
return Y[J] == null ? V ? Y[J] === null ? new A("The " + se + " `" + $ + "` is marked as required " + ("in `" + ee + "`, but its value is `null`.")) : new A("The " + se + " `" + $ + "` is marked as required in " + ("`" + ee + "`, but its value is `undefined`.")) : null : y(Y, J, ee, se, $);
|
|
13980
13983
|
}
|
|
13981
13984
|
var _ = j.bind(null, !1);
|
|
13982
13985
|
return _.isRequired = j.bind(null, !0), _;
|
|
13983
13986
|
}
|
|
13984
13987
|
function v(y) {
|
|
13985
|
-
function I(O, j, _, V, Y,
|
|
13988
|
+
function I(O, j, _, V, Y, J) {
|
|
13986
13989
|
var ee = O[j], se = x(ee);
|
|
13987
13990
|
if (se !== y) {
|
|
13988
13991
|
var $ = D(ee);
|
|
@@ -14002,13 +14005,13 @@ function _l() {
|
|
|
14002
14005
|
function I(O, j, _, V, Y) {
|
|
14003
14006
|
if (typeof y != "function")
|
|
14004
14007
|
return new A("Property `" + Y + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
|
|
14005
|
-
var
|
|
14006
|
-
if (!Array.isArray(
|
|
14007
|
-
var ee = x(
|
|
14008
|
+
var J = O[j];
|
|
14009
|
+
if (!Array.isArray(J)) {
|
|
14010
|
+
var ee = x(J);
|
|
14008
14011
|
return new A("Invalid " + V + " `" + Y + "` of type " + ("`" + ee + "` supplied to `" + _ + "`, expected an array."));
|
|
14009
14012
|
}
|
|
14010
|
-
for (var se = 0; se <
|
|
14011
|
-
var $ = y(
|
|
14013
|
+
for (var se = 0; se < J.length; se++) {
|
|
14014
|
+
var $ = y(J, se, _, V, Y + "[" + se + "]", s);
|
|
14012
14015
|
if ($ instanceof Error)
|
|
14013
14016
|
return $;
|
|
14014
14017
|
}
|
|
@@ -14020,8 +14023,8 @@ function _l() {
|
|
|
14020
14023
|
function y(I, O, j, _, V) {
|
|
14021
14024
|
var Y = I[O];
|
|
14022
14025
|
if (!c(Y)) {
|
|
14023
|
-
var
|
|
14024
|
-
return new A("Invalid " + _ + " `" + V + "` of type " + ("`" +
|
|
14026
|
+
var J = x(Y);
|
|
14027
|
+
return new A("Invalid " + _ + " `" + V + "` of type " + ("`" + J + "` supplied to `" + j + "`, expected a single ReactElement."));
|
|
14025
14028
|
}
|
|
14026
14029
|
return null;
|
|
14027
14030
|
}
|
|
@@ -14031,8 +14034,8 @@ function _l() {
|
|
|
14031
14034
|
function y(I, O, j, _, V) {
|
|
14032
14035
|
var Y = I[O];
|
|
14033
14036
|
if (!e.isValidElementType(Y)) {
|
|
14034
|
-
var
|
|
14035
|
-
return new A("Invalid " + _ + " `" + V + "` of type " + ("`" +
|
|
14037
|
+
var J = x(Y);
|
|
14038
|
+
return new A("Invalid " + _ + " `" + V + "` of type " + ("`" + J + "` supplied to `" + j + "`, expected a single ReactElement type."));
|
|
14036
14039
|
}
|
|
14037
14040
|
return null;
|
|
14038
14041
|
}
|
|
@@ -14041,8 +14044,8 @@ function _l() {
|
|
|
14041
14044
|
function T(y) {
|
|
14042
14045
|
function I(O, j, _, V, Y) {
|
|
14043
14046
|
if (!(O[j] instanceof y)) {
|
|
14044
|
-
var
|
|
14045
|
-
return new A("Invalid " + V + " `" + Y + "` of type " + ("`" + ee + "` supplied to `" + _ + "`, expected ") + ("instance of `" +
|
|
14047
|
+
var J = y.name || h, ee = W(O[j]);
|
|
14048
|
+
return new A("Invalid " + V + " `" + Y + "` of type " + ("`" + ee + "` supplied to `" + _ + "`, expected ") + ("instance of `" + J + "`."));
|
|
14046
14049
|
}
|
|
14047
14050
|
return null;
|
|
14048
14051
|
}
|
|
@@ -14054,14 +14057,14 @@ function _l() {
|
|
|
14054
14057
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
14055
14058
|
) : i("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
14056
14059
|
function I(O, j, _, V, Y) {
|
|
14057
|
-
for (var
|
|
14058
|
-
if (g(
|
|
14060
|
+
for (var J = O[j], ee = 0; ee < y.length; ee++)
|
|
14061
|
+
if (g(J, y[ee]))
|
|
14059
14062
|
return null;
|
|
14060
14063
|
var se = JSON.stringify(y, function(ie, q) {
|
|
14061
14064
|
var me = D(q);
|
|
14062
14065
|
return me === "symbol" ? String(q) : q;
|
|
14063
14066
|
});
|
|
14064
|
-
return new A("Invalid " + V + " `" + Y + "` of value `" + String(
|
|
14067
|
+
return new A("Invalid " + V + " `" + Y + "` of value `" + String(J) + "` " + ("supplied to `" + _ + "`, expected one of " + se + "."));
|
|
14065
14068
|
}
|
|
14066
14069
|
return w(I);
|
|
14067
14070
|
}
|
|
@@ -14069,12 +14072,12 @@ function _l() {
|
|
|
14069
14072
|
function I(O, j, _, V, Y) {
|
|
14070
14073
|
if (typeof y != "function")
|
|
14071
14074
|
return new A("Property `" + Y + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
|
|
14072
|
-
var
|
|
14075
|
+
var J = O[j], ee = x(J);
|
|
14073
14076
|
if (ee !== "object")
|
|
14074
14077
|
return new A("Invalid " + V + " `" + Y + "` of type " + ("`" + ee + "` supplied to `" + _ + "`, expected an object."));
|
|
14075
|
-
for (var se in
|
|
14076
|
-
if (n(
|
|
14077
|
-
var $ = y(
|
|
14078
|
+
for (var se in J)
|
|
14079
|
+
if (n(J, se)) {
|
|
14080
|
+
var $ = y(J, se, _, V, Y + "." + se, s);
|
|
14078
14081
|
if ($ instanceof Error)
|
|
14079
14082
|
return $;
|
|
14080
14083
|
}
|
|
@@ -14092,15 +14095,15 @@ function _l() {
|
|
|
14092
14095
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + L(O) + " at index " + I + "."
|
|
14093
14096
|
), o;
|
|
14094
14097
|
}
|
|
14095
|
-
function j(_, V, Y,
|
|
14098
|
+
function j(_, V, Y, J, ee) {
|
|
14096
14099
|
for (var se = [], $ = 0; $ < y.length; $++) {
|
|
14097
|
-
var ie = y[$], q = ie(_, V, Y,
|
|
14100
|
+
var ie = y[$], q = ie(_, V, Y, J, ee, s);
|
|
14098
14101
|
if (q == null)
|
|
14099
14102
|
return null;
|
|
14100
14103
|
q.data && n(q.data, "expectedType") && se.push(q.data.expectedType);
|
|
14101
14104
|
}
|
|
14102
14105
|
var me = se.length > 0 ? ", expected one of type [" + se.join(", ") + "]" : "";
|
|
14103
|
-
return new A("Invalid " +
|
|
14106
|
+
return new A("Invalid " + J + " `" + ee + "` supplied to " + ("`" + Y + "`" + me + "."));
|
|
14104
14107
|
}
|
|
14105
14108
|
return w(j);
|
|
14106
14109
|
}
|
|
@@ -14117,14 +14120,14 @@ function _l() {
|
|
|
14117
14120
|
}
|
|
14118
14121
|
function Q(y) {
|
|
14119
14122
|
function I(O, j, _, V, Y) {
|
|
14120
|
-
var
|
|
14123
|
+
var J = O[j], ee = x(J);
|
|
14121
14124
|
if (ee !== "object")
|
|
14122
14125
|
return new A("Invalid " + V + " `" + Y + "` of type `" + ee + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
14123
14126
|
for (var se in y) {
|
|
14124
14127
|
var $ = y[se];
|
|
14125
14128
|
if (typeof $ != "function")
|
|
14126
14129
|
return P(_, V, Y, se, D($));
|
|
14127
|
-
var ie = $(
|
|
14130
|
+
var ie = $(J, se, _, V, Y + "." + se, s);
|
|
14128
14131
|
if (ie)
|
|
14129
14132
|
return ie;
|
|
14130
14133
|
}
|
|
@@ -14134,7 +14137,7 @@ function _l() {
|
|
|
14134
14137
|
}
|
|
14135
14138
|
function F(y) {
|
|
14136
14139
|
function I(O, j, _, V, Y) {
|
|
14137
|
-
var
|
|
14140
|
+
var J = O[j], ee = x(J);
|
|
14138
14141
|
if (ee !== "object")
|
|
14139
14142
|
return new A("Invalid " + V + " `" + Y + "` of type `" + ee + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
14140
14143
|
var se = t({}, O[j], y);
|
|
@@ -14147,7 +14150,7 @@ function _l() {
|
|
|
14147
14150
|
"Invalid " + V + " `" + Y + "` key `" + $ + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(O[j], null, " ") + `
|
|
14148
14151
|
Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
14149
14152
|
);
|
|
14150
|
-
var q = ie(
|
|
14153
|
+
var q = ie(J, $, _, V, Y + "." + $, s);
|
|
14151
14154
|
if (q)
|
|
14152
14155
|
return q;
|
|
14153
14156
|
}
|
|
@@ -16270,7 +16273,7 @@ const Oa = {
|
|
|
16270
16273
|
config: s,
|
|
16271
16274
|
banners: n
|
|
16272
16275
|
}) => {
|
|
16273
|
-
const { PUBLIC_ENV: r } =
|
|
16276
|
+
const { PUBLIC_ENV: r } = K();
|
|
16274
16277
|
if (r !== "local") return null;
|
|
16275
16278
|
const i = e?.news?.data || [], o = (c, u) => ({
|
|
16276
16279
|
...e?.news,
|
|
@@ -16434,7 +16437,7 @@ export {
|
|
|
16434
16437
|
cu as generalGetData,
|
|
16435
16438
|
zt as getCaptchaToken,
|
|
16436
16439
|
nd as getComments,
|
|
16437
|
-
|
|
16440
|
+
K as getConfig,
|
|
16438
16441
|
ou as getDynamicSlots,
|
|
16439
16442
|
Rt as getEnvironmentUrl,
|
|
16440
16443
|
Rd as getEnvironmentUrlFront,
|