sass-template-common 0.9.80 → 0.9.82
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.
|
@@ -8839,23 +8839,27 @@ const hu = (e) => {
|
|
|
8839
8839
|
) : /* @__PURE__ */ n("div", { className: "sass-com-ts-chipStyled", children: s.name }, a))
|
|
8840
8840
|
] }) });
|
|
8841
8841
|
}, cc = async (e) => {
|
|
8842
|
-
const { autor: t } = e, {
|
|
8843
|
-
|
|
8842
|
+
const { autor: t } = e, {
|
|
8843
|
+
SUB_PUBLICATION_PREFIX_IN_ROUTES: s,
|
|
8844
|
+
PUBLIC_SERVICE_PREFIX: a,
|
|
8845
|
+
PUBLIC_IS_SUB_PUBLICATION: r
|
|
8846
|
+
} = q(), i = t?.addtional?.USER_SHOWBIO ?? !1, o = t?.info?.name ?? "", c = t?.info?.fullname ?? "", u = t?.info?.image?.sizes?.[0]?.url ?? "", l = t?.addtional?.USER_MIBIO ?? "", d = t?.addtional?.USER_USERFB ?? "", m = t?.addtional?.USER_USERIG ?? "", h = t?.addtional?.USER_USERTWT ?? "", A = t?.addtional?.USER_USERLIN ?? "", f = a !== "false" && r !== "false" ? `/${a}/${e.paths.autor}/${o}` : `/${e.paths.autor}/${o}`;
|
|
8847
|
+
return i && !!t && /* @__PURE__ */ n("section", { className: "sass-com-ja2-contentBox", children: /* @__PURE__ */ p("div", { className: "sass-com-ja2-content", children: [
|
|
8844
8848
|
/* @__PURE__ */ p("div", { className: "sass-com-ja2-avatarContent", children: [
|
|
8845
8849
|
/* @__PURE__ */ n(
|
|
8846
8850
|
O,
|
|
8847
8851
|
{
|
|
8848
8852
|
block_subPublication: s?.autor,
|
|
8849
8853
|
className: "sass-com-ja2-journalistInfo su-no-underline",
|
|
8850
|
-
href:
|
|
8851
|
-
children:
|
|
8854
|
+
href: f,
|
|
8855
|
+
children: u ? /* @__PURE__ */ n(
|
|
8852
8856
|
"img",
|
|
8853
8857
|
{
|
|
8854
8858
|
fetchPriority: "low",
|
|
8855
8859
|
loading: "lazy",
|
|
8856
|
-
alt: "Imagen de perfil de " +
|
|
8860
|
+
alt: "Imagen de perfil de " + o,
|
|
8857
8861
|
className: "sass-com-ja2-imageStyled",
|
|
8858
|
-
src: await ue(
|
|
8862
|
+
src: await ue(u)
|
|
8859
8863
|
}
|
|
8860
8864
|
) : /* @__PURE__ */ n("div", { className: "sass-com-ja2-contentIconStyled", children: e.autorIcon })
|
|
8861
8865
|
}
|
|
@@ -8866,17 +8870,17 @@ const hu = (e) => {
|
|
|
8866
8870
|
{
|
|
8867
8871
|
block_subPublication: s?.autor,
|
|
8868
8872
|
className: "su-no-underline",
|
|
8869
|
-
href:
|
|
8870
|
-
children:
|
|
8873
|
+
href: f,
|
|
8874
|
+
children: c
|
|
8871
8875
|
}
|
|
8872
8876
|
) }),
|
|
8873
8877
|
/* @__PURE__ */ p("section", { className: "sass-com-ja2-socialNetworkSection", children: [
|
|
8874
|
-
|
|
8878
|
+
d && /* @__PURE__ */ n(
|
|
8875
8879
|
"a",
|
|
8876
8880
|
{
|
|
8877
|
-
href:
|
|
8881
|
+
href: d,
|
|
8878
8882
|
target: "_blank",
|
|
8879
|
-
"aria-label":
|
|
8883
|
+
"aria-label": l,
|
|
8880
8884
|
rel: "noreferrer",
|
|
8881
8885
|
children: /* @__PURE__ */ n(
|
|
8882
8886
|
"svg",
|
|
@@ -8898,12 +8902,12 @@ const hu = (e) => {
|
|
|
8898
8902
|
)
|
|
8899
8903
|
}
|
|
8900
8904
|
),
|
|
8901
|
-
|
|
8905
|
+
m && /* @__PURE__ */ n(
|
|
8902
8906
|
"a",
|
|
8903
8907
|
{
|
|
8904
|
-
href:
|
|
8908
|
+
href: m,
|
|
8905
8909
|
target: "_blank",
|
|
8906
|
-
"aria-label":
|
|
8910
|
+
"aria-label": l,
|
|
8907
8911
|
rel: "noreferrer",
|
|
8908
8912
|
children: /* @__PURE__ */ p(
|
|
8909
8913
|
"svg",
|
|
@@ -8951,12 +8955,12 @@ const hu = (e) => {
|
|
|
8951
8955
|
)
|
|
8952
8956
|
}
|
|
8953
8957
|
),
|
|
8954
|
-
|
|
8958
|
+
h && /* @__PURE__ */ n(
|
|
8955
8959
|
"a",
|
|
8956
8960
|
{
|
|
8957
|
-
href:
|
|
8961
|
+
href: h,
|
|
8958
8962
|
target: "_blank",
|
|
8959
|
-
"aria-label":
|
|
8963
|
+
"aria-label": l,
|
|
8960
8964
|
rel: "noreferrer",
|
|
8961
8965
|
children: /* @__PURE__ */ n(
|
|
8962
8966
|
"svg",
|
|
@@ -8977,12 +8981,12 @@ const hu = (e) => {
|
|
|
8977
8981
|
)
|
|
8978
8982
|
}
|
|
8979
8983
|
),
|
|
8980
|
-
|
|
8984
|
+
A && /* @__PURE__ */ n(
|
|
8981
8985
|
"a",
|
|
8982
8986
|
{
|
|
8983
|
-
href:
|
|
8987
|
+
href: A,
|
|
8984
8988
|
target: "_blank",
|
|
8985
|
-
"aria-label":
|
|
8989
|
+
"aria-label": l,
|
|
8986
8990
|
rel: "noreferrer",
|
|
8987
8991
|
children: /* @__PURE__ */ p(
|
|
8988
8992
|
"svg",
|
|
@@ -9028,12 +9032,12 @@ const hu = (e) => {
|
|
|
9028
9032
|
] })
|
|
9029
9033
|
] })
|
|
9030
9034
|
] }),
|
|
9031
|
-
|
|
9035
|
+
i && /* @__PURE__ */ n(
|
|
9032
9036
|
"p",
|
|
9033
9037
|
{
|
|
9034
9038
|
className: "sass-com-ja2-article",
|
|
9035
9039
|
dangerouslySetInnerHTML: {
|
|
9036
|
-
__html: `${
|
|
9040
|
+
__html: `${l} <a aria-label="${o}" href="${f}">${String(
|
|
9037
9041
|
e.texts.authorViewMore ?? "Ver más"
|
|
9038
9042
|
)}</a>`
|
|
9039
9043
|
}
|
|
@@ -10924,10 +10928,11 @@ const Gc = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
10924
10928
|
const { news: t, socials: s, texts: a } = e, {
|
|
10925
10929
|
DATE_TIMEZONE: r = "America/Mexico_City",
|
|
10926
10930
|
CONFIG_shareOnlyWhatsApp: i,
|
|
10927
|
-
PUBLIC_SERVICE_PREFIX: o
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
+
PUBLIC_SERVICE_PREFIX: o,
|
|
10932
|
+
PUBLIC_IS_SUB_PUBLICATION: c
|
|
10933
|
+
} = q(), u = (m) => o !== "false" && c !== "false" ? `/${o}/${e.paths.autor}/${m}` : `/${e.paths.autor}/${m}`, l = t.authors.map(
|
|
10934
|
+
(m) => m.internaluser ? `<a href="${u(m.name)}">${m.fullname}</a>` : m.fullname
|
|
10935
|
+
).join(", "), d = () => t.authors.length === 1 ? "sass-com-ja3-width1Autor" : t.authors.length === 2 ? "sass-com-ja3-width2Autor" : t.authors.length === 3 ? "sass-com-ja3-width3Autor" : "";
|
|
10931
10936
|
return t.config?.showauthor && /* @__PURE__ */ n("div", { className: "sass-com-ja3-content", children: /* @__PURE__ */ p("div", { className: "sass-com-ja3-avatarContent", children: [
|
|
10932
10937
|
i ? /* @__PURE__ */ p(
|
|
10933
10938
|
"a",
|
|
@@ -10981,38 +10986,38 @@ const Gc = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
10981
10986
|
/* @__PURE__ */ n(
|
|
10982
10987
|
"div",
|
|
10983
10988
|
{
|
|
10984
|
-
className: `sass-com-ja3-imageContent ${
|
|
10989
|
+
className: `sass-com-ja3-imageContent ${d()}`,
|
|
10985
10990
|
style: {
|
|
10986
10991
|
width: `${t.authors?.length > 2 ? t.authors?.length * 30 : t.authors?.length * 35}px`
|
|
10987
10992
|
},
|
|
10988
10993
|
children: Array.isArray(t.authors) && t.authors?.map(
|
|
10989
|
-
async (
|
|
10994
|
+
async (m, h) => m.image ? /* @__PURE__ */ n(
|
|
10990
10995
|
"img",
|
|
10991
10996
|
{
|
|
10992
10997
|
fetchPriority: "low",
|
|
10993
10998
|
loading: "lazy",
|
|
10994
|
-
alt: "Imagen de perfil de " +
|
|
10999
|
+
alt: "Imagen de perfil de " + m.fullname,
|
|
10995
11000
|
className: "sass-com-ja3-imageStyled sass-com-ja3-imageAutor su-object-cover su-flex-center",
|
|
10996
|
-
src: await ue(
|
|
11001
|
+
src: await ue(m.image.sizes[0]?.url || "")
|
|
10997
11002
|
},
|
|
10998
|
-
|
|
11003
|
+
m.fullname
|
|
10999
11004
|
) : /* @__PURE__ */ n(
|
|
11000
11005
|
"div",
|
|
11001
11006
|
{
|
|
11002
11007
|
className: "sass-com-ja3-contentIconStyled sass-com-ja3-imageAutor su-flex-center",
|
|
11003
11008
|
children: e.autorIcon
|
|
11004
11009
|
},
|
|
11005
|
-
|
|
11010
|
+
m.fullname
|
|
11006
11011
|
)
|
|
11007
11012
|
)
|
|
11008
11013
|
}
|
|
11009
11014
|
),
|
|
11010
|
-
|
|
11015
|
+
l && /* @__PURE__ */ n(
|
|
11011
11016
|
"div",
|
|
11012
11017
|
{
|
|
11013
11018
|
className: "sass-com-ja3-journalistInfoLink",
|
|
11014
11019
|
dangerouslySetInnerHTML: {
|
|
11015
|
-
__html: `${a.JournalistPrefix} <h3 style="padding:0px;">${
|
|
11020
|
+
__html: `${a.JournalistPrefix} <h3 style="padding:0px;">${l ?? "Redaccion"}${t.config?.showtime && ","}</h3> <time datetime="${Fe(t.info.date.modified, r)}">${t.config?.showtime ? gs(t.info.date.modified) : null}`
|
|
11016
11021
|
}
|
|
11017
11022
|
}
|
|
11018
11023
|
)
|
|
@@ -11248,10 +11253,11 @@ const Yc = async (e) => {
|
|
|
11248
11253
|
CONFIG_shareOnlyWhatsApp: r,
|
|
11249
11254
|
DATE_TIMEZONE: i = "America/Mexico_City",
|
|
11250
11255
|
CONFIG_commentsV2: o,
|
|
11251
|
-
PUBLIC_SERVICE_PREFIX: c
|
|
11252
|
-
|
|
11253
|
-
|
|
11254
|
-
|
|
11256
|
+
PUBLIC_SERVICE_PREFIX: c,
|
|
11257
|
+
PUBLIC_IS_SUB_PUBLICATION: u
|
|
11258
|
+
} = q(), l = (h) => c !== "false" && u !== "false" ? `/${c}/${e.paths.autor}/${h}` : `/${e.paths.autor}/${h}`, d = t.authors.map(
|
|
11259
|
+
(h) => h.internaluser ? `<a href="${l(h.name)}">${h.fullname}</a>` : h.fullname
|
|
11260
|
+
).join(", "), m = () => t.authors.length === 1 ? "sass-com-ja4-width1Autor" : t.authors.length === 2 ? "sass-com-ja4-width2Autor" : t.authors.length === 3 ? "sass-com-ja4-width3Autor" : "";
|
|
11255
11261
|
return t.config?.showauthor && /* @__PURE__ */ n("div", { className: "sass-com-ja4-content sass-journalist-articule-4", children: /* @__PURE__ */ p("div", { className: "sass-com-ja4-avatarContent", children: [
|
|
11256
11262
|
/* @__PURE__ */ p("div", { className: "sass-com-ja4-socialActionsRow", children: [
|
|
11257
11263
|
/* @__PURE__ */ p("div", { style: { display: "flex", gap: "10px", alignItems: "center" }, children: [
|
|
@@ -11343,30 +11349,30 @@ const Yc = async (e) => {
|
|
|
11343
11349
|
/* @__PURE__ */ n(
|
|
11344
11350
|
"div",
|
|
11345
11351
|
{
|
|
11346
|
-
className: `sass-com-ja4-imageContent ${
|
|
11352
|
+
className: `sass-com-ja4-imageContent ${m()}`,
|
|
11347
11353
|
style: {
|
|
11348
11354
|
width: `${t.authors?.length > 2 ? t.authors?.length * 30 : t.authors?.length * 40}px`
|
|
11349
11355
|
},
|
|
11350
11356
|
children: Array.isArray(t.authors) && t.authors?.map(
|
|
11351
|
-
async (
|
|
11357
|
+
async (h, A) => h.image ? /* @__PURE__ */ n(
|
|
11352
11358
|
"img",
|
|
11353
11359
|
{
|
|
11354
11360
|
fetchPriority: "low",
|
|
11355
11361
|
loading: "lazy",
|
|
11356
|
-
alt: "Imagen de perfil de " +
|
|
11362
|
+
alt: "Imagen de perfil de " + h.fullname,
|
|
11357
11363
|
className: "sass-com-ja4-imageStyled sass-com-ja4-imageAutor su-object-cover su-flex-center",
|
|
11358
11364
|
src: await ue(
|
|
11359
|
-
|
|
11365
|
+
h.image.sizes[0]?.url || ""
|
|
11360
11366
|
)
|
|
11361
11367
|
},
|
|
11362
|
-
|
|
11368
|
+
h.fullname
|
|
11363
11369
|
) : /* @__PURE__ */ n(
|
|
11364
11370
|
"div",
|
|
11365
11371
|
{
|
|
11366
11372
|
className: "sass-com-ja4-contentIconStyled sass-com-ja4-imageAutor su-flex-center",
|
|
11367
11373
|
children: e.autorIcon
|
|
11368
11374
|
},
|
|
11369
|
-
|
|
11375
|
+
h.fullname
|
|
11370
11376
|
)
|
|
11371
11377
|
)
|
|
11372
11378
|
}
|
|
@@ -11376,7 +11382,7 @@ const Yc = async (e) => {
|
|
|
11376
11382
|
{
|
|
11377
11383
|
className: "sass-com-ja4-journalistInfoLink",
|
|
11378
11384
|
dangerouslySetInnerHTML: {
|
|
11379
|
-
__html: `${a.JournalistPrefix} <h3 style="padding:0px;">${
|
|
11385
|
+
__html: `${a.JournalistPrefix} <h3 style="padding:0px;">${d ?? "Redaccion"}</h3>`
|
|
11380
11386
|
}
|
|
11381
11387
|
}
|
|
11382
11388
|
)
|
|
@@ -13019,7 +13025,7 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13019
13025
|
e.info?.date?.modified,
|
|
13020
13026
|
e.DATE_CONFIG
|
|
13021
13027
|
);
|
|
13022
|
-
return d && e?.config?.showtime && e.config?.
|
|
13028
|
+
return d && e?.config?.showtime && e.config?.showautho && d.fullname ? `${d.fullname} - ${m}` : d && d.fullname && e.config?.showauthor ? d.fullname : (e?.config?.showtime, "");
|
|
13023
13029
|
})(), u = () => e.main.uppertitle ? /* @__PURE__ */ n("p", { className: "sass-com-nd-uppertitle", title: e.main.uppertitle, children: e.main.uppertitle }) : null;
|
|
13024
13030
|
return /* @__PURE__ */ p("div", { className: "sass-com-nd-boxInformation", children: [
|
|
13025
13031
|
t && /* @__PURE__ */ n(Al, { className: "sass-com-nd-dotStyles" }),
|