sass-template-common 0.9.172 → 0.9.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as p, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import * as Ks from "react";
|
|
3
|
-
import ce, { useState as F, useRef as Vn, useCallback as le, useEffect as Ue, createElement as
|
|
3
|
+
import ce, { useState as F, useRef as Vn, useCallback as le, useEffect as Ue, createElement as Oe, forwardRef as Va, Fragment as gs, useMemo as dt, Component as Fn } from "react";
|
|
4
4
|
let ps = {
|
|
5
5
|
PUBLIC_API_HOST: "",
|
|
6
6
|
PUBLIC_API_FRONT: "",
|
|
@@ -697,7 +697,7 @@ const Dt = (e) => e === "en" ? "en" : "es", ke = (e, t) => {
|
|
|
697
697
|
});
|
|
698
698
|
const o = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), d = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - o.getTime()) / 6e4, c = d >= 0 ? "+" : "-", u = (g) => String(Math.floor(Math.abs(g))).padStart(2, "0"), m = u(d / 60), h = u(d % 60);
|
|
699
699
|
return `${i.year}-${i.month}-${i.day}T${i.hour}:${i.minute}:${i.second}${c}${m}:${h}`;
|
|
700
|
-
},
|
|
700
|
+
}, Me = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
701
701
|
function Ye(e) {
|
|
702
702
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
703
703
|
}
|
|
@@ -910,8 +910,7 @@ const Xd = ws, Ar = async (e, t) => {
|
|
|
910
910
|
"twitter.card": { attr: "name", value: "twitter:card" },
|
|
911
911
|
"twitter.title": { attr: "name", value: "twitter:title" },
|
|
912
912
|
"twitter.description": { attr: "name", value: "twitter:description" },
|
|
913
|
-
"twitter.site": { attr: "name", value: "twitter:site" }
|
|
914
|
-
"twitter.creator": { attr: "name", value: "twitter:creator" }
|
|
913
|
+
"twitter.site": { attr: "name", value: "twitter:site" }
|
|
915
914
|
}, Er = (e) => {
|
|
916
915
|
const t = [];
|
|
917
916
|
let s = 0;
|
|
@@ -1587,15 +1586,18 @@ const Mr = {
|
|
|
1587
1586
|
Common: qr,
|
|
1588
1587
|
Nota: Dr,
|
|
1589
1588
|
NotaLista: _r
|
|
1590
|
-
}, Gr = ({ active: e, type: t, customSpeculation: s }) =>
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1589
|
+
}, Gr = ({ active: e, type: t, customSpeculation: s }) => {
|
|
1590
|
+
const n = s || jr[t];
|
|
1591
|
+
return e && /* @__PURE__ */ a(
|
|
1592
|
+
"script",
|
|
1593
|
+
{
|
|
1594
|
+
type: "speculationrules",
|
|
1595
|
+
dangerouslySetInnerHTML: {
|
|
1596
|
+
__html: JSON.stringify(n)
|
|
1597
|
+
}
|
|
1596
1598
|
}
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
+
);
|
|
1600
|
+
}, Us = async (e, t, s) => {
|
|
1599
1601
|
if (s)
|
|
1600
1602
|
return s.get(`/schemas${t}`, { params: e }).catch((n) => {
|
|
1601
1603
|
console.log(`[/schemas${t}] Error: ${n.message}`);
|
|
@@ -1703,7 +1705,7 @@ const zr = async ({
|
|
|
1703
1705
|
name: t.name,
|
|
1704
1706
|
logow: t.socialBlockLogo?.width,
|
|
1705
1707
|
logoh: t.socialBlockLogo?.height,
|
|
1706
|
-
authorurl: s + "/autor/",
|
|
1708
|
+
authorurl: s + (t.paths.autor ? `/${t.paths.autor}/` : "/autor/"),
|
|
1707
1709
|
lang: t.lang
|
|
1708
1710
|
}, u = e.split("/")[1], m = r && r.length > 0 ? r : u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], h = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, g = i ? i + h : h;
|
|
1709
1711
|
o = (await Promise.all(
|
|
@@ -4081,7 +4083,7 @@ const {
|
|
|
4081
4083
|
getAdapter: ku,
|
|
4082
4084
|
mergeConfig: Ru
|
|
4083
4085
|
} = re;
|
|
4084
|
-
class
|
|
4086
|
+
class Be {
|
|
4085
4087
|
constructor(t) {
|
|
4086
4088
|
this.props = t, t?.config?.configVersion && (this.configVersion = t.config.configVersion), t?.exclude && (this.exclude = t.exclude);
|
|
4087
4089
|
}
|
|
@@ -4461,7 +4463,7 @@ class Oe {
|
|
|
4461
4463
|
};
|
|
4462
4464
|
};
|
|
4463
4465
|
}
|
|
4464
|
-
class Lo extends
|
|
4466
|
+
class Lo extends Be {
|
|
4465
4467
|
MULTIPUBLICATION_FETCHES;
|
|
4466
4468
|
PUBLIC_PUBLICATION_ID;
|
|
4467
4469
|
IS_MULTIPUBLICATION;
|
|
@@ -4715,7 +4717,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4715
4717
|
return i ? { ...t, ...i } : ge(t);
|
|
4716
4718
|
},
|
|
4717
4719
|
seccion: async (e) => {
|
|
4718
|
-
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new
|
|
4720
|
+
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), d = it(n).split("/"), c = [], u = nt(n), m = Number(s.newsListLimit) ?? 0, h = M().PUBLIC_LNG === "en";
|
|
4719
4721
|
try {
|
|
4720
4722
|
const g = await o.getNewsListSection({
|
|
4721
4723
|
section: r,
|
|
@@ -4761,7 +4763,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4761
4763
|
}
|
|
4762
4764
|
},
|
|
4763
4765
|
tema: async (e) => {
|
|
4764
|
-
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new
|
|
4766
|
+
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), d = it(n).split("/"), c = [], u = nt(n), m = Number(s.newsListLimit) ?? 0, h = /([t][0-9]{4})\w+/.exec(r || ""), g = h && h?.length > 0 ? h[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: f, PUBLIC_LNG: w } = M(), A = w === "en";
|
|
4765
4767
|
try {
|
|
4766
4768
|
const b = await o.getNewsListTags({
|
|
4767
4769
|
tagid: g,
|
|
@@ -4816,7 +4818,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4816
4818
|
}
|
|
4817
4819
|
},
|
|
4818
4820
|
"ultimas-noticias": async (e) => {
|
|
4819
|
-
const { meta: t, config: s, pathname: n, texts: r, axiosApi: i } = e, o = new
|
|
4821
|
+
const { meta: t, config: s, pathname: n, texts: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), d = it(n).split("/"), c = [], u = nt(n), m = Number(s.newsListLimit) ?? 0, h = {
|
|
4820
4822
|
...t,
|
|
4821
4823
|
title: `${s.name} | ${r.lastNotesTitle}`,
|
|
4822
4824
|
alternates: {
|
|
@@ -4853,7 +4855,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4853
4855
|
}
|
|
4854
4856
|
},
|
|
4855
4857
|
video: async (e) => {
|
|
4856
|
-
const { meta: t, config: s, internalPath: n, axiosApi: r } = e, i = new
|
|
4858
|
+
const { meta: t, config: s, internalPath: n, axiosApi: r } = e, i = new Be({ config: s, axiosApi: r });
|
|
4857
4859
|
try {
|
|
4858
4860
|
const o = await i.getVideos({
|
|
4859
4861
|
imagesizes: "w:1200,h:630,t:2;",
|
|
@@ -4872,7 +4874,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4872
4874
|
}
|
|
4873
4875
|
},
|
|
4874
4876
|
videos: async (e) => {
|
|
4875
|
-
const { meta: t, config: s, pathname: n, axiosApi: r } = e, i = new
|
|
4877
|
+
const { meta: t, config: s, pathname: n, axiosApi: r } = e, i = new Be({ config: s, axiosApi: r }), l = it(n).split("/"), d = [], c = nt(n), u = await i.getvideoListAdvanced({
|
|
4876
4878
|
size: Number(s.newsListLimit),
|
|
4877
4879
|
query: "Category:(videohome OR destacadoseccion OR seccion)",
|
|
4878
4880
|
page: Number(c)
|
|
@@ -4901,7 +4903,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4901
4903
|
}) : ge(t);
|
|
4902
4904
|
},
|
|
4903
4905
|
pages: async (e, t) => {
|
|
4904
|
-
const { meta: s, config: n, pathname: r, slug: i, axiosApi: o } = e, l = new
|
|
4906
|
+
const { meta: s, config: n, pathname: r, slug: i, axiosApi: o } = e, l = new Be({ config: n, axiosApi: o });
|
|
4905
4907
|
try {
|
|
4906
4908
|
const d = await l.getPages({
|
|
4907
4909
|
path: t || n.servicePrefix + `/pages/${i}`
|
|
@@ -4993,7 +4995,7 @@ const Pu = async (e, t, s, n, r, i, o) => {
|
|
|
4993
4995
|
}
|
|
4994
4996
|
},
|
|
4995
4997
|
autor: async (e) => {
|
|
4996
|
-
const { meta: t, config: s, pathname: n, imgSizes: r, slug: i, axiosApi: o } = e, l = new
|
|
4998
|
+
const { meta: t, config: s, pathname: n, imgSizes: r, slug: i, axiosApi: o } = e, l = new Be({ config: s, axiosApi: o, imgSizes: r }), c = it(n).split("/"), u = [], m = nt(n), h = M().PUBLIC_LNG === "en";
|
|
4997
4999
|
try {
|
|
4998
5000
|
const g = await l.getAutorInfo({
|
|
4999
5001
|
user: i,
|
|
@@ -5863,7 +5865,7 @@ const yn = ({
|
|
|
5863
5865
|
"--lineHeightSubTitle": n,
|
|
5864
5866
|
"--colorSubTitle": r
|
|
5865
5867
|
};
|
|
5866
|
-
return t ? /* @__PURE__ */ a("p", { className: `sass-com-nd-description ${i}`, style: l, children:
|
|
5868
|
+
return t ? /* @__PURE__ */ a("p", { className: `sass-com-nd-description ${i}`, style: l, children: e }) : ce.createElement(o ? "h2" : "p", { className: `sass-com-nd-description ${i}`, style: l }, e);
|
|
5867
5869
|
}, ze = (e) => {
|
|
5868
5870
|
const {
|
|
5869
5871
|
share: t = !1,
|
|
@@ -5871,7 +5873,7 @@ const yn = ({
|
|
|
5871
5873
|
keywords: n,
|
|
5872
5874
|
info: r,
|
|
5873
5875
|
paths: i,
|
|
5874
|
-
newsDescriptionSectionTag: o = "
|
|
5876
|
+
newsDescriptionSectionTag: o = "span",
|
|
5875
5877
|
speculationPrerenderClass: l
|
|
5876
5878
|
} = e, { SHOW_TAG_BY_SECTION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } = M(), u = () => {
|
|
5877
5879
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
@@ -5964,7 +5966,7 @@ const yn = ({
|
|
|
5964
5966
|
isH2: e.isTitle
|
|
5965
5967
|
}
|
|
5966
5968
|
),
|
|
5967
|
-
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
5969
|
+
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
5968
5970
|
O,
|
|
5969
5971
|
{
|
|
5970
5972
|
block_subPublication: c?.autor,
|
|
@@ -5973,7 +5975,7 @@ const yn = ({
|
|
|
5973
5975
|
href: `/${e?.paths?.autor}/${e?.authors[0]?.name}`,
|
|
5974
5976
|
children: u()
|
|
5975
5977
|
}
|
|
5976
|
-
)
|
|
5978
|
+
) : /* @__PURE__ */ a("span", { className: "sass-com-nd-correspondent", children: u() }) })
|
|
5977
5979
|
] });
|
|
5978
5980
|
}, Nn = (e) => /* @__PURE__ */ p(
|
|
5979
5981
|
"svg",
|
|
@@ -7142,8 +7144,9 @@ const zo = (e) => {
|
|
|
7142
7144
|
...i,
|
|
7143
7145
|
config: Sa
|
|
7144
7146
|
}))), Array.isArray(t) && t.length > 0 && /* @__PURE__ */ p(
|
|
7145
|
-
"
|
|
7147
|
+
"aside",
|
|
7146
7148
|
{
|
|
7149
|
+
"aria-label": "Lo Más Leído",
|
|
7147
7150
|
className: "sass-com-rd-content sass-readest",
|
|
7148
7151
|
style: { "--aspect-ratio": "1 / 1" },
|
|
7149
7152
|
children: [
|
|
@@ -7648,7 +7651,7 @@ const zo = (e) => {
|
|
|
7648
7651
|
)
|
|
7649
7652
|
}
|
|
7650
7653
|
);
|
|
7651
|
-
},
|
|
7654
|
+
}, Re = (e) => {
|
|
7652
7655
|
const { PUBLIC_ENV: t } = M(), s = ie("/linkedin.svg");
|
|
7653
7656
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ p("svg", { width: "32", height: "32", viewBox: "0 0 42 42", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
7654
7657
|
/* @__PURE__ */ a("path", { d: "M23.9693 19.7768C22.9443 20.1795 22.3065 21.1785 22.3043 22.2887L22.278 32.7258C22.278 33.1474 21.8 33.4956 21.4127 33.4956H16.1736C15.7995 33.4956 15.293 33.1629 15.293 32.7302V14.8898C15.293 14.4081 15.7995 14.0455 16.2229 14.0466L20.9335 14.051C21.3842 14.051 21.7814 14.5105 21.8065 14.9254L21.8481 15.6185C22.9082 14.4994 24.2166 13.803 25.7055 13.6316C26.5599 13.5338 27.3957 13.5326 28.2555 13.625C31.5769 13.9821 34 16.8678 34 20.2318V32.5678C34 33.0283 33.5602 33.4911 33.1216 33.4911L28.3792 33.4945C27.9295 33.4945 27.4766 33.0484 27.4766 32.57L27.4646 22.2298C27.4646 21.7247 27.3847 21.1908 27.1101 20.7769C26.445 19.7735 25.1169 19.3263 23.9704 19.7757L23.9693 19.7768ZM23.5788 18.9414C25.118 18.2683 26.9143 18.8068 27.8606 20.1751C28.261 20.7536 28.3452 21.4099 28.4021 22.1107L28.4481 32.5522H33.0712V20.3442C33.0898 17.3717 30.9664 14.7964 28.0455 14.5539C27.2742 14.4905 26.5347 14.4816 25.7799 14.585C24.3621 14.7775 23.1084 15.5262 22.266 16.6764L20.9423 18.0125L20.9292 14.9911L16.2677 15V32.5522L21.4007 32.5544L21.4028 22.2342C21.4794 20.7858 22.2441 19.5254 23.5777 18.9414H23.5788Z", fill: "currentColor", stroke: "currentColor", "stroke-width": "0.5" }),
|
|
@@ -7786,8 +7789,8 @@ const zo = (e) => {
|
|
|
7786
7789
|
e
|
|
7787
7790
|
)}`,
|
|
7788
7791
|
icon: {
|
|
7789
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
7790
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
7792
|
+
outline: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 }),
|
|
7793
|
+
solid: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 })
|
|
7791
7794
|
}
|
|
7792
7795
|
}
|
|
7793
7796
|
};
|
|
@@ -7865,7 +7868,7 @@ const Hu = (e) => {
|
|
|
7865
7868
|
}
|
|
7866
7869
|
),
|
|
7867
7870
|
/* @__PURE__ */ p("div", { className: "sass-com-bv3-articleSection", children: [
|
|
7868
|
-
/* @__PURE__ */ a("p", { className: "sass-com-bv3-article", children:
|
|
7871
|
+
/* @__PURE__ */ a("p", { className: "sass-com-bv3-article", children: Me(e.video.main.description) }),
|
|
7869
7872
|
/* @__PURE__ */ a("p", { className: "sass-com-bv3-correspondent", children: t() })
|
|
7870
7873
|
] })
|
|
7871
7874
|
] }) }) });
|
|
@@ -7909,7 +7912,7 @@ const Hu = (e) => {
|
|
|
7909
7912
|
),
|
|
7910
7913
|
/* @__PURE__ */ a(K, { children: e.paginatorComponent })
|
|
7911
7914
|
] });
|
|
7912
|
-
},
|
|
7915
|
+
}, Pe = (e) => {
|
|
7913
7916
|
const {
|
|
7914
7917
|
main: t,
|
|
7915
7918
|
authors: s,
|
|
@@ -8098,7 +8101,7 @@ const Hu = (e) => {
|
|
|
8098
8101
|
] }),
|
|
8099
8102
|
/* @__PURE__ */ a("h1", { className: "sass-com-lbh-articule", children: e.main?.title?.section }),
|
|
8100
8103
|
e.config?.showsubtitle && /* @__PURE__ */ a(
|
|
8101
|
-
"
|
|
8104
|
+
"p",
|
|
8102
8105
|
{
|
|
8103
8106
|
className: "sass-com-lbh-description",
|
|
8104
8107
|
style: {
|
|
@@ -8221,7 +8224,7 @@ const Hu = (e) => {
|
|
|
8221
8224
|
target: "_blank",
|
|
8222
8225
|
className: `sass-com-ah1-social-link ${n ? "sass-com-ah1-social-filled" : "sass-com-ah1-social-stroke"}`,
|
|
8223
8226
|
rel: "noreferrer",
|
|
8224
|
-
children: n ? /* @__PURE__ */ a(kn, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ a(
|
|
8227
|
+
children: n ? /* @__PURE__ */ a(kn, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ a(Re, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 })
|
|
8225
8228
|
}
|
|
8226
8229
|
)
|
|
8227
8230
|
] })
|
|
@@ -8302,7 +8305,7 @@ const Hu = (e) => {
|
|
|
8302
8305
|
target: "_blank",
|
|
8303
8306
|
className: n ? "sass-com-ah2-socialIconFilled" : "sass-com-ah2-socialIconStroke",
|
|
8304
8307
|
rel: "noreferrer",
|
|
8305
|
-
children: n ? /* @__PURE__ */ a(kn, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ a(
|
|
8308
|
+
children: n ? /* @__PURE__ */ a(kn, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ a(Re, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin", forceSVG: !0 })
|
|
8306
8309
|
}
|
|
8307
8310
|
)
|
|
8308
8311
|
]
|
|
@@ -8350,7 +8353,7 @@ const Hu = (e) => {
|
|
|
8350
8353
|
...e.main,
|
|
8351
8354
|
title: {
|
|
8352
8355
|
...e.main.title,
|
|
8353
|
-
article:
|
|
8356
|
+
article: Me(e.main.title.article, 60)
|
|
8354
8357
|
}
|
|
8355
8358
|
}
|
|
8356
8359
|
};
|
|
@@ -8464,7 +8467,7 @@ const Hu = (e) => {
|
|
|
8464
8467
|
}
|
|
8465
8468
|
),
|
|
8466
8469
|
e.relatedName && /* @__PURE__ */ a("h2", { className: "sass-com-bv4-relatedTitle saas-video-related-title", children: e.relatedName }),
|
|
8467
|
-
Array.isArray(t) && t.map((s, n) => /* @__PURE__ */
|
|
8470
|
+
Array.isArray(t) && t.map((s, n) => /* @__PURE__ */ Oe(
|
|
8468
8471
|
ul,
|
|
8469
8472
|
{
|
|
8470
8473
|
...ut(s, !0, !1, !1),
|
|
@@ -8830,7 +8833,7 @@ const Hu = (e) => {
|
|
|
8830
8833
|
href: t.data[0]?.info.link.url,
|
|
8831
8834
|
target: t.data[0]?.info.link.target,
|
|
8832
8835
|
title: t.data[0]?.main.title.home,
|
|
8833
|
-
children:
|
|
8836
|
+
children: Me(t.data[0]?.main.title.home ?? "", 120)
|
|
8834
8837
|
}
|
|
8835
8838
|
)
|
|
8836
8839
|
] }),
|
|
@@ -8996,7 +8999,7 @@ const Hu = (e) => {
|
|
|
8996
8999
|
href: s.data[0]?.info.link.url,
|
|
8997
9000
|
target: s.data[0]?.info.link.target,
|
|
8998
9001
|
title: s.data[0]?.main.title.home,
|
|
8999
|
-
children:
|
|
9002
|
+
children: Me(s.data[0]?.main.title.home ?? "", 120)
|
|
9000
9003
|
}
|
|
9001
9004
|
)
|
|
9002
9005
|
] }) : /* @__PURE__ */ a("div", { className: "sass-com-h1st-line" }),
|
|
@@ -9390,7 +9393,7 @@ const Hu = (e) => {
|
|
|
9390
9393
|
target: "_blank",
|
|
9391
9394
|
className: "sass-com-th-socialIconLink sass-com-th-socialIconStroke",
|
|
9392
9395
|
rel: "noreferrer",
|
|
9393
|
-
children: /* @__PURE__ */ a(
|
|
9396
|
+
children: /* @__PURE__ */ a(Re, { className: "sass-com-th-socialIcon", forceSVG: !0 })
|
|
9394
9397
|
}
|
|
9395
9398
|
)
|
|
9396
9399
|
] })
|
|
@@ -9826,7 +9829,7 @@ const Ze = (e) => {
|
|
|
9826
9829
|
)
|
|
9827
9830
|
}
|
|
9828
9831
|
) : /* @__PURE__ */ a(
|
|
9829
|
-
|
|
9832
|
+
Pe,
|
|
9830
9833
|
{
|
|
9831
9834
|
...e,
|
|
9832
9835
|
main: t,
|
|
@@ -9892,7 +9895,7 @@ const Ze = (e) => {
|
|
|
9892
9895
|
{
|
|
9893
9896
|
style: s,
|
|
9894
9897
|
className: "su-flex su-flex-col su-gap-2 su-w-full su-h-auto su-md:gap-0 sass-bmd-dnh-secondSection",
|
|
9895
|
-
children: e.map((o, l) => l > 0 && /* @__PURE__ */
|
|
9898
|
+
children: e.map((o, l) => l > 0 && /* @__PURE__ */ Oe(
|
|
9896
9899
|
Ze,
|
|
9897
9900
|
{
|
|
9898
9901
|
...o,
|
|
@@ -9932,7 +9935,7 @@ const Ze = (e) => {
|
|
|
9932
9935
|
)
|
|
9933
9936
|
},
|
|
9934
9937
|
o
|
|
9935
|
-
) : /* @__PURE__ */ a("section", { style: s, children: /* @__PURE__ */
|
|
9938
|
+
) : /* @__PURE__ */ a("section", { style: s, children: /* @__PURE__ */ Oe(
|
|
9936
9939
|
Ze,
|
|
9937
9940
|
{
|
|
9938
9941
|
...i,
|
|
@@ -10033,7 +10036,7 @@ const Ze = (e) => {
|
|
|
10033
10036
|
}
|
|
10034
10037
|
};
|
|
10035
10038
|
return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */ a(
|
|
10036
|
-
|
|
10039
|
+
Pe,
|
|
10037
10040
|
{
|
|
10038
10041
|
...c,
|
|
10039
10042
|
isVideo: n,
|
|
@@ -10057,7 +10060,7 @@ const Ze = (e) => {
|
|
|
10057
10060
|
alt: t?.authors[0]?.fullname
|
|
10058
10061
|
}
|
|
10059
10062
|
) : /* @__PURE__ */ a("div", { className: "sass-com-oc2-contentIcon", children: s }),
|
|
10060
|
-
/* @__PURE__ */ a("p", { className: "sass-com-oc2-autorName", children:
|
|
10063
|
+
/* @__PURE__ */ a("p", { className: "sass-com-oc2-autorName", children: Me(t?.authors[0]?.fullname ?? "Redacción", 18) }),
|
|
10061
10064
|
/* @__PURE__ */ a("p", { className: "sass-com-oc2-time", children: i() })
|
|
10062
10065
|
] });
|
|
10063
10066
|
return /* @__PURE__ */ p("div", { className: "sass-com-oc2-content", children: [
|
|
@@ -10079,7 +10082,7 @@ const Ze = (e) => {
|
|
|
10079
10082
|
children: t?.main?.title?.home
|
|
10080
10083
|
}
|
|
10081
10084
|
),
|
|
10082
|
-
/* @__PURE__ */ a("p", { className: "sass-com-oc2-comment", children:
|
|
10085
|
+
/* @__PURE__ */ a("p", { className: "sass-com-oc2-comment", children: Me(t?.main?.subtitle?.striped || "") })
|
|
10083
10086
|
] })
|
|
10084
10087
|
] });
|
|
10085
10088
|
};
|
|
@@ -10190,7 +10193,7 @@ const sm = (e) => {
|
|
|
10190
10193
|
{
|
|
10191
10194
|
className: "sass-bs-m2c-boxPosition",
|
|
10192
10195
|
style: { order: n },
|
|
10193
|
-
children: /* @__PURE__ */ a(
|
|
10196
|
+
children: /* @__PURE__ */ a(Pe, { ...s, share: e.share, paths: e.paths })
|
|
10194
10197
|
},
|
|
10195
10198
|
n
|
|
10196
10199
|
))
|
|
@@ -10245,7 +10248,7 @@ const sm = (e) => {
|
|
|
10245
10248
|
};
|
|
10246
10249
|
n.push(
|
|
10247
10250
|
/* @__PURE__ */ a("section", { className: s(r), children: /* @__PURE__ */ a(
|
|
10248
|
-
|
|
10251
|
+
Pe,
|
|
10249
10252
|
{
|
|
10250
10253
|
...c,
|
|
10251
10254
|
isVideo: e.isVideo,
|
|
@@ -10295,7 +10298,7 @@ const sm = (e) => {
|
|
|
10295
10298
|
}
|
|
10296
10299
|
};
|
|
10297
10300
|
return /* @__PURE__ */ a("section", { children: /* @__PURE__ */ a(
|
|
10298
|
-
|
|
10301
|
+
Pe,
|
|
10299
10302
|
{
|
|
10300
10303
|
...o,
|
|
10301
10304
|
share: e.share,
|
|
@@ -10324,7 +10327,7 @@ const sm = (e) => {
|
|
|
10324
10327
|
}
|
|
10325
10328
|
};
|
|
10326
10329
|
return /* @__PURE__ */ a("section", { children: /* @__PURE__ */ a(
|
|
10327
|
-
|
|
10330
|
+
Pe,
|
|
10328
10331
|
{
|
|
10329
10332
|
...o,
|
|
10330
10333
|
share: e.share,
|
|
@@ -10382,8 +10385,8 @@ const sm = (e) => {
|
|
|
10382
10385
|
}
|
|
10383
10386
|
}
|
|
10384
10387
|
};
|
|
10385
|
-
return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */
|
|
10386
|
-
|
|
10388
|
+
return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */ Oe(
|
|
10389
|
+
Pe,
|
|
10387
10390
|
{
|
|
10388
10391
|
...u,
|
|
10389
10392
|
isVideo: n,
|
|
@@ -10454,7 +10457,7 @@ const sm = (e) => {
|
|
|
10454
10457
|
"section",
|
|
10455
10458
|
{
|
|
10456
10459
|
className: e.hasLines ? "sass-bd-m13-hasLinesBlock" : "",
|
|
10457
|
-
children: /* @__PURE__ */
|
|
10460
|
+
children: /* @__PURE__ */ Oe(
|
|
10458
10461
|
Ll,
|
|
10459
10462
|
{
|
|
10460
10463
|
...r,
|
|
@@ -10531,7 +10534,7 @@ const sm = (e) => {
|
|
|
10531
10534
|
className: "sass-com-opt1-linkStyled",
|
|
10532
10535
|
href: s?.info?.link?.url,
|
|
10533
10536
|
target: s?.info?.link?.target,
|
|
10534
|
-
children:
|
|
10537
|
+
children: Me(s?.main?.title?.home, 40)
|
|
10535
10538
|
}
|
|
10536
10539
|
) }),
|
|
10537
10540
|
/* @__PURE__ */ a("p", { className: "sass-com-opt1-comment", children: s?.main?.subtitle?.striped }),
|
|
@@ -10613,7 +10616,7 @@ const sm = (e) => {
|
|
|
10613
10616
|
); */
|
|
10614
10617
|
default:
|
|
10615
10618
|
return /* @__PURE__ */ a("div", { className: "sass-pg-sec-ItemCustomContent", children: /* @__PURE__ */ a(
|
|
10616
|
-
|
|
10619
|
+
Pe,
|
|
10617
10620
|
{
|
|
10618
10621
|
...t,
|
|
10619
10622
|
paths: e.paths,
|
|
@@ -11001,7 +11004,7 @@ const sm = (e) => {
|
|
|
11001
11004
|
...n,
|
|
11002
11005
|
fontSizeSubTitle: "18px",
|
|
11003
11006
|
lineHeightSubTitle: "28px",
|
|
11004
|
-
cutSubtitle: !
|
|
11007
|
+
cutSubtitle: !0,
|
|
11005
11008
|
colorSubTitle: "black",
|
|
11006
11009
|
isTitle: !0,
|
|
11007
11010
|
paths: e.paths,
|
|
@@ -11513,8 +11516,8 @@ const nc = (e) => /* @__PURE__ */ a(
|
|
|
11513
11516
|
e
|
|
11514
11517
|
)}`,
|
|
11515
11518
|
icon: {
|
|
11516
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
11517
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
11519
|
+
outline: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 }),
|
|
11520
|
+
solid: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 })
|
|
11518
11521
|
}
|
|
11519
11522
|
}
|
|
11520
11523
|
};
|
|
@@ -11766,8 +11769,8 @@ const oc = async (e) => {
|
|
|
11766
11769
|
e
|
|
11767
11770
|
)}`,
|
|
11768
11771
|
icon: {
|
|
11769
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
11770
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
11772
|
+
outline: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 }),
|
|
11773
|
+
solid: (e) => /* @__PURE__ */ a(Re, { className: e, forceSVG: !0 })
|
|
11771
11774
|
}
|
|
11772
11775
|
}
|
|
11773
11776
|
};
|
|
@@ -13708,7 +13711,7 @@ const hm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13708
13711
|
/* @__PURE__ */ a(() => {
|
|
13709
13712
|
if (n && r?.tags?.length && r.tags.length > 0) {
|
|
13710
13713
|
const u = r.tags[0], m = u.name;
|
|
13711
|
-
return /* @__PURE__ */ p("
|
|
13714
|
+
return /* @__PURE__ */ p("span", { className: "sass-com-nd-sectionDescriptionContainer", children: [
|
|
13712
13715
|
u.approved ? /* @__PURE__ */ a(
|
|
13713
13716
|
O,
|
|
13714
13717
|
{
|
|
@@ -13723,7 +13726,7 @@ const hm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13723
13726
|
] });
|
|
13724
13727
|
} else if (i?.section?.url) {
|
|
13725
13728
|
const u = i.section.name;
|
|
13726
|
-
return /* @__PURE__ */ p("
|
|
13729
|
+
return /* @__PURE__ */ p("span", { className: "sass-com-nd-sectionDescriptionContainer", children: [
|
|
13727
13730
|
/* @__PURE__ */ a(
|
|
13728
13731
|
O,
|
|
13729
13732
|
{
|
|
@@ -13760,7 +13763,7 @@ const hm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13760
13763
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
13761
13764
|
"--colorSubTitle": e.colorSubTitle
|
|
13762
13765
|
},
|
|
13763
|
-
children: s ?
|
|
13766
|
+
children: s ? Me(e.main?.subtitle?.striped) : e.main?.subtitle?.striped
|
|
13764
13767
|
}
|
|
13765
13768
|
),
|
|
13766
13769
|
(e?.config?.showtime || e.config?.showauthor) && l && /* @__PURE__ */ a(K, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
@@ -13909,7 +13912,7 @@ const ys = {
|
|
|
13909
13912
|
function gm(e) {
|
|
13910
13913
|
return ys[e];
|
|
13911
13914
|
}
|
|
13912
|
-
const
|
|
13915
|
+
const Le = 300, xe = {
|
|
13913
13916
|
username: "anonimo",
|
|
13914
13917
|
firstname: "Usuario",
|
|
13915
13918
|
lastname: "Anonimo"
|
|
@@ -13922,7 +13925,7 @@ function jc(e) {
|
|
|
13922
13925
|
}
|
|
13923
13926
|
const es = (e, t, s) => {
|
|
13924
13927
|
if (!e || !e.current) return { boolean: !1, text: "" };
|
|
13925
|
-
const n = e.current?.value || "", r = n.length >
|
|
13928
|
+
const n = e.current?.value || "", r = n.length > Le, { PUBLIC_ENV: i } = s, o = i === "local", l = n.trim() !== "" && (o || t !== "") && !r, d = r ? `No debes exceder el limite de ${Le} caracteres.` : "Debes completar todos los campos para comentar.";
|
|
13926
13929
|
return { boolean: l, text: d };
|
|
13927
13930
|
}, qn = (e) => {
|
|
13928
13931
|
const t = e.cookie.split("; ").find((s) => s.startsWith("reported="));
|
|
@@ -14891,10 +14894,10 @@ function id(e, t) {
|
|
|
14891
14894
|
var m = t.globalName, h = this.props;
|
|
14892
14895
|
h.asyncScriptOnLoad;
|
|
14893
14896
|
var g = h.forwardedRef, f = ad(h, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
14894
|
-
return m && typeof window < "u" && (f[m] = typeof window[m] < "u" ? window[m] : void 0), f.ref = g,
|
|
14897
|
+
return m && typeof window < "u" && (f[m] = typeof window[m] < "u" ? window[m] : void 0), f.ref = g, Oe(n, f);
|
|
14895
14898
|
}, d;
|
|
14896
14899
|
})(Fn), o = Va(function(l, d) {
|
|
14897
|
-
return
|
|
14900
|
+
return Oe(i, Es({}, l, {
|
|
14898
14901
|
forwardedRef: d
|
|
14899
14902
|
}));
|
|
14900
14903
|
});
|
|
@@ -15275,7 +15278,7 @@ const hd = (e, t) => {
|
|
|
15275
15278
|
if (!o) return;
|
|
15276
15279
|
const l = () => {
|
|
15277
15280
|
const c = o.value.length;
|
|
15278
|
-
o.parentElement && (o.parentElement.dataset.text = `${c}/${
|
|
15281
|
+
o.parentElement && (o.parentElement.dataset.text = `${c}/${Le}`), o.classList.toggle("over-limit", c > Le), s(!es(e, t, n).boolean);
|
|
15279
15282
|
};
|
|
15280
15283
|
return o.addEventListener("input", l), l(), () => o.removeEventListener("input", l);
|
|
15281
15284
|
}, [e, t, s]), /* @__PURE__ */ p("div", { className: "su-relative", children: [
|
|
@@ -15551,7 +15554,7 @@ const Ad = {
|
|
|
15551
15554
|
texts: l
|
|
15552
15555
|
}) => {
|
|
15553
15556
|
const [d, c] = F(!0), [u, m] = F(""), h = () => {
|
|
15554
|
-
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${
|
|
15557
|
+
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Le}`), c(!0), i();
|
|
15555
15558
|
};
|
|
15556
15559
|
return /* @__PURE__ */ p("div", { className: "comment-form reply-form su-p-8 su-relative", children: [
|
|
15557
15560
|
/* @__PURE__ */ a("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: h, children: /* @__PURE__ */ a(We, {}) }),
|
|
@@ -15744,8 +15747,8 @@ const Ad = {
|
|
|
15744
15747
|
addComment: n,
|
|
15745
15748
|
API_ENV: r
|
|
15746
15749
|
});
|
|
15747
|
-
return m && typeof m == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${
|
|
15748
|
-
e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${
|
|
15750
|
+
return m && typeof m == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${Le}`), l(!0), setTimeout(() => {
|
|
15751
|
+
e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${Le}`), l(!0);
|
|
15749
15752
|
}, m), !0) : !1;
|
|
15750
15753
|
},
|
|
15751
15754
|
isDisabled: o,
|
|
@@ -15831,8 +15834,8 @@ const Ad = {
|
|
|
15831
15834
|
API_ENV: o,
|
|
15832
15835
|
anonimusUser: f
|
|
15833
15836
|
});
|
|
15834
|
-
return m(""), w && typeof w == "number" ? (t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${
|
|
15835
|
-
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${
|
|
15837
|
+
return m(""), w && typeof w == "number" ? (t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Le}`), c(!0), setTimeout(() => {
|
|
15838
|
+
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Le}`), c(!0);
|
|
15836
15839
|
}, w), !0) : !1;
|
|
15837
15840
|
},
|
|
15838
15841
|
isDisabled: d,
|
|
@@ -17159,7 +17162,7 @@ const bm = async ({
|
|
|
17159
17162
|
...i.main,
|
|
17160
17163
|
title: { ...i.main.title, section: r ? i.main.title.home : i.main.title.section }
|
|
17161
17164
|
} };
|
|
17162
|
-
return /* @__PURE__ */
|
|
17165
|
+
return /* @__PURE__ */ Oe(
|
|
17163
17166
|
Zt,
|
|
17164
17167
|
{
|
|
17165
17168
|
...l,
|
|
@@ -17211,7 +17214,7 @@ const bm = async ({
|
|
|
17211
17214
|
}
|
|
17212
17215
|
};
|
|
17213
17216
|
return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */ a(
|
|
17214
|
-
|
|
17217
|
+
Pe,
|
|
17215
17218
|
{
|
|
17216
17219
|
...c,
|
|
17217
17220
|
isVideo: n,
|
|
@@ -17481,7 +17484,7 @@ export {
|
|
|
17481
17484
|
Bl as CarruselCard,
|
|
17482
17485
|
Ml as CarruselOpinion,
|
|
17483
17486
|
pm as CommentLazyLoader,
|
|
17484
|
-
|
|
17487
|
+
Be as CommonServices,
|
|
17485
17488
|
zn as Comscore,
|
|
17486
17489
|
om as ContactInfoServer,
|
|
17487
17490
|
zu as ContactInput,
|
|
@@ -17551,7 +17554,7 @@ export {
|
|
|
17551
17554
|
mm as ScriptHydrator,
|
|
17552
17555
|
cm as SearchSection,
|
|
17553
17556
|
fe as Section,
|
|
17554
|
-
|
|
17557
|
+
Pe as SectionCard,
|
|
17555
17558
|
Zt as SectionCard2,
|
|
17556
17559
|
_u as SectionCard5,
|
|
17557
17560
|
xa as SectionCardServerComponent,
|
|
@@ -17584,7 +17587,7 @@ export {
|
|
|
17584
17587
|
Gu as coloringByStrokeSVGs,
|
|
17585
17588
|
Ys as compileStyleProps,
|
|
17586
17589
|
iu as createAssessment,
|
|
17587
|
-
|
|
17590
|
+
Me as cutString,
|
|
17588
17591
|
$a as decodeApiEnv,
|
|
17589
17592
|
cu as encodeApiEnv,
|
|
17590
17593
|
Ce as extractMainSlug,
|