sass-template-common 0.9.202 → 0.9.203

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.
@@ -1439,7 +1439,7 @@ function em(e = M()) {
1439
1439
  const { PUBLIC_SERVICE_PREFIX: t } = e;
1440
1440
  return t && t !== "false" ? "/" + t : "";
1441
1441
  }
1442
- function ge(e = M()) {
1442
+ function we(e = M()) {
1443
1443
  const {
1444
1444
  PUBLIC_SERVICE_PREFIX: t,
1445
1445
  PUBLIC_IS_SUB_PUBLICATION: s,
@@ -1718,14 +1718,14 @@ const oo = async ({
1718
1718
  axiosApi: a,
1719
1719
  schemasCustomEndpoints: r
1720
1720
  }) => {
1721
- const o = ge();
1721
+ const o = we();
1722
1722
  let i = [];
1723
1723
  try {
1724
1724
  const l = t.socialBlockLogo?.url ? new URL(t.socialBlockLogo.url).pathname : void 0, d = t.landscapeLogo?.url ? new URL(t.landscapeLogo.url).pathname : void 0, c = {
1725
1725
  path: e,
1726
1726
  image: d,
1727
1727
  logo: l,
1728
- url: t.siteUrl + o,
1728
+ url: t.siteUrl,
1729
1729
  name: t.name,
1730
1730
  logow: t.socialBlockLogo?.width,
1731
1731
  logoh: t.socialBlockLogo?.height,
@@ -1777,10 +1777,10 @@ const oo = async ({
1777
1777
  "@context": "https://schema.org",
1778
1778
  "@type": "WebSite",
1779
1779
  name: e.name,
1780
- url: e.siteUrl + ge(),
1780
+ url: e.siteUrl,
1781
1781
  potentialAction: {
1782
1782
  "@type": "SearchAction",
1783
- target: e.siteUrl + ge() + "/" + e.paths.buscar + "?query={search_term_string}",
1783
+ target: e.siteUrl + we() + "/" + e.paths.buscar + "?query={search_term_string}",
1784
1784
  "query-input": "required name=search_term_string"
1785
1785
  }
1786
1786
  };
@@ -1798,11 +1798,11 @@ const oo = async ({
1798
1798
  path: e,
1799
1799
  image: t.landscapeLogo?.url ? new URL(t.landscapeLogo.url).pathname : void 0,
1800
1800
  logo: t.socialBlockLogo?.url ? new URL(t.socialBlockLogo.url).pathname : void 0,
1801
- url: `${t.siteUrl}${ge()}`,
1801
+ url: t.siteUrl,
1802
1802
  name: t.name,
1803
1803
  logow: t.socialBlockLogo?.width,
1804
1804
  logoh: t.socialBlockLogo?.height,
1805
- authorurl: `${t.siteUrl}${ge()}/autor/`
1805
+ authorurl: `${t.siteUrl}${we()}${t.paths.autor ? `/${t.paths.autor}/` : "/autor/"}`
1806
1806
  }, o = (await Gs(a, "/videos", s))?.data.data;
1807
1807
  return o ? /* @__PURE__ */ n(
1808
1808
  "script",
@@ -3184,14 +3184,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Oi
3184
3184
  hasStandardBrowserWebWorkerEnv: Pi,
3185
3185
  navigator: Ls,
3186
3186
  origin: Oi
3187
- }, Symbol.toStringTag, { value: "Module" })), pe = {
3187
+ }, Symbol.toStringTag, { value: "Module" })), ge = {
3188
3188
  ...Bi,
3189
3189
  ...ki
3190
3190
  };
3191
3191
  function _i(e, t) {
3192
- return ts(e, new pe.classes.URLSearchParams(), {
3192
+ return ts(e, new ge.classes.URLSearchParams(), {
3193
3193
  visitor: function(s, a, r, o) {
3194
- return pe.isNode && S.isBuffer(s) ? (this.append(a, s.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
3194
+ return ge.isNode && S.isBuffer(s) ? (this.append(a, s.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
3195
3195
  },
3196
3196
  ...t
3197
3197
  });
@@ -3292,8 +3292,8 @@ const Et = {
3292
3292
  maxContentLength: -1,
3293
3293
  maxBodyLength: -1,
3294
3294
  env: {
3295
- FormData: pe.classes.FormData,
3296
- Blob: pe.classes.Blob
3295
+ FormData: ge.classes.FormData,
3296
+ Blob: ge.classes.Blob
3297
3297
  },
3298
3298
  validateStatus: function(t) {
3299
3299
  return t >= 200 && t < 300;
@@ -3405,10 +3405,10 @@ const Ht = (e, t, s = 3) => {
3405
3405
  }),
3406
3406
  t[1]
3407
3407
  ];
3408
- }, xn = (e) => (...t) => S.asap(() => e(...t)), Hi = pe.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (s) => (s = new URL(s, pe.origin), e.protocol === s.protocol && e.host === s.host && (t || e.port === s.port)))(
3409
- new URL(pe.origin),
3410
- pe.navigator && /(msie|trident)/i.test(pe.navigator.userAgent)
3411
- ) : () => !0, Vi = pe.hasStandardBrowserEnv ? (
3408
+ }, xn = (e) => (...t) => S.asap(() => e(...t)), Hi = ge.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (s) => (s = new URL(s, ge.origin), e.protocol === s.protocol && e.host === s.host && (t || e.port === s.port)))(
3409
+ new URL(ge.origin),
3410
+ ge.navigator && /(msie|trident)/i.test(ge.navigator.userAgent)
3411
+ ) : () => !0, Vi = ge.hasStandardBrowserEnv ? (
3412
3412
  // Standard browser envs support document.cookie
3413
3413
  {
3414
3414
  write(e, t, s, a, r, o, i) {
@@ -3555,7 +3555,7 @@ function Ia(e) {
3555
3555
  ), d && l.set(
3556
3556
  "Authorization",
3557
3557
  "Basic " + btoa((d.username || "") + ":" + (d.password ? $i(d.password) : ""))
3558
- ), S.isFormData(a) && (pe.hasStandardBrowserEnv || pe.hasStandardBrowserWebWorkerEnv || S.isReactNative(a) ? l.setContentType(void 0) : S.isFunction(a.getHeaders) && Yi(l, a.getHeaders(), s("formDataHeaderPolicy"))), pe.hasStandardBrowserEnv && (S.isFunction(r) && (r = r(t)), r === !0 || r == null && Hi(t.url))) {
3558
+ ), S.isFormData(a) && (ge.hasStandardBrowserEnv || ge.hasStandardBrowserWebWorkerEnv || S.isReactNative(a) ? l.setContentType(void 0) : S.isFunction(a.getHeaders) && Yi(l, a.getHeaders(), s("formDataHeaderPolicy"))), ge.hasStandardBrowserEnv && (S.isFunction(r) && (r = r(t)), r === !0 || r == null && Hi(t.url))) {
3559
3559
  const g = o && i && Vi.read(i);
3560
3560
  g && l.set(o, g);
3561
3561
  }
@@ -3619,7 +3619,7 @@ const Ki = typeof XMLHttpRequest < "u", Ji = Ki && function(e) {
3619
3619
  A && (a(!E || E.type ? new xt(null, e, A) : E), A.abort(), f(), A = null);
3620
3620
  }, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
3621
3621
  const C = ji(r.url);
3622
- if (C && !pe.protocols.includes(C)) {
3622
+ if (C && !ge.protocols.includes(C)) {
3623
3623
  a(
3624
3624
  new V(
3625
3625
  "Unsupported protocol " + C + ":",
@@ -3793,7 +3793,7 @@ const zs = "1.17.0", Un = 64 * 1024, { isFunction: It } = S, nl = (e) => encodeU
3793
3793
  return !1;
3794
3794
  const u = l && It(s), h = l && (typeof a == "function" ? /* @__PURE__ */ ((b) => (C) => b.encode(C))(new a()) : async (b) => new Uint8Array(await new o(b).arrayBuffer())), m = d && u && kn(() => {
3795
3795
  let b = !1;
3796
- const C = new o(pe.origin, {
3796
+ const C = new o(ge.origin, {
3797
3797
  body: new s(),
3798
3798
  method: "POST",
3799
3799
  get duplex() {
@@ -3822,7 +3822,7 @@ const zs = "1.17.0", Un = 64 * 1024, { isFunction: It } = S, nl = (e) => encodeU
3822
3822
  if (S.isBlob(b))
3823
3823
  return b.size;
3824
3824
  if (S.isSpecCompliantForm(b))
3825
- return (await new o(pe.origin, {
3825
+ return (await new o(ge.origin, {
3826
3826
  method: "POST",
3827
3827
  body: b
3828
3828
  }).arrayBuffer()).byteLength;
@@ -3873,7 +3873,7 @@ const zs = "1.17.0", Un = 64 * 1024, { isFunction: It } = S, nl = (e) => encodeU
3873
3873
  };
3874
3874
  }
3875
3875
  if (al(C)) {
3876
- const Q = new URL(C, pe.origin);
3876
+ const Q = new URL(C, ge.origin);
3877
3877
  if (!P && (Q.username || Q.password)) {
3878
3878
  const B = Rn(Q.username), ue = Rn(Q.password);
3879
3879
  P = {
@@ -5454,7 +5454,7 @@ const Sm = async (e, t, s, a, r, o, i) => {
5454
5454
  listAutor: t,
5455
5455
  config: s
5456
5456
  }) => {
5457
- const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: o, PUBLIC_LNG: i } = M(), l = i === "en", d = r, c = a?.info?.date?.modified ? $e(a.info.date.modified, d) : void 0, u = e.addtional?.USER_JOBSTART ? $e(e.addtional.USER_JOBSTART, d) : void 0, h = o && o !== "false" ? o : "", m = e.addtional, g = m?.USER_USERFB || m?.USER_PAGE_FACEBOOK || m?.USER_FACEBOOK_FAN_PAGE, w = m?.USER_USERTWT || m?.USER_PAGE_TWITTER, f = m?.USER_USERIG || m?.USER_PAGE_INSTAGRAM, A = m?.USER_USERLIN || m?.USER_PAGE_LINKEDIN, b = m?.USER_PAGE_TIKTOK, C = m?.USER_PAGE_YOUTUBE, E = m?.USER_PAGE_PINTEREST, N = l ? m?.USER_POSITION_EN || "" : m?.USER_JOBTITLE || m?.USER_POSITION || "", y = l ? m?.USER_DESCRIPCION_EN || m?.USER_MIBIO_EN || "" : m?.USER_DESCRIPCION || m?.USER_MIBIO || "", x = e?.addtional?.USER_SHOWEMAIL === !0 || m?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", I = ge(), L = {
5457
+ const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: o, PUBLIC_LNG: i } = M(), l = i === "en", d = r, c = a?.info?.date?.modified ? $e(a.info.date.modified, d) : void 0, u = e.addtional?.USER_JOBSTART ? $e(e.addtional.USER_JOBSTART, d) : void 0, h = o && o !== "false" ? o : "", m = e.addtional, g = m?.USER_USERFB || m?.USER_PAGE_FACEBOOK || m?.USER_FACEBOOK_FAN_PAGE, w = m?.USER_USERTWT || m?.USER_PAGE_TWITTER, f = m?.USER_USERIG || m?.USER_PAGE_INSTAGRAM, A = m?.USER_USERLIN || m?.USER_PAGE_LINKEDIN, b = m?.USER_PAGE_TIKTOK, C = m?.USER_PAGE_YOUTUBE, E = m?.USER_PAGE_PINTEREST, N = l ? m?.USER_POSITION_EN || "" : m?.USER_JOBTITLE || m?.USER_POSITION || "", y = l ? m?.USER_DESCRIPCION_EN || m?.USER_MIBIO_EN || "" : m?.USER_DESCRIPCION || m?.USER_MIBIO || "", x = e?.addtional?.USER_SHOWEMAIL === !0 || m?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", I = we(), L = {
5458
5458
  "@context": "https://schema.org",
5459
5459
  "@type": "ProfilePage",
5460
5460
  mainEntity: {
@@ -5598,27 +5598,27 @@ function yl({ manifest: e }) {
5598
5598
  ] }) : null;
5599
5599
  }
5600
5600
  const se = !0, ne = !1, oe = "meta", Cl = {
5601
- 404: we(se, se, ne, ne, oe, oe, ne, ne),
5602
- home: we(oe, oe, se, ne, oe, oe, ne, ne),
5603
- slug: we(se, oe, se, ne, oe, oe, ne, ne),
5604
- auth: we(se, oe, se, ne, oe, oe, ne, ne),
5605
- news: we(se, se, se, se, se, se, se, se),
5606
- seccion: we(se, se, se, ne, se, se, ne, ne),
5607
- tema: we(se, se, se, ne, se, se, ne, ne),
5608
- "ultimas-noticias": we(se, oe, se, ne, oe, oe, ne, ne),
5609
- video: we(se, se, se, se, se, se, ne, ne),
5610
- videos: we(se, oe, se, ne, oe, oe, ne, ne),
5611
- pages: we(se, oe, se, ne, oe, oe, ne, ne),
5612
- contacto: we(se, oe, se, ne, oe, oe, ne, ne),
5613
- anuncia: we(se, oe, se, ne, oe, oe, ne, ne),
5614
- buscar: we(se, oe, se, ne, se, se, ne, ne),
5615
- autor: we(se, se, se, ne, oe, oe, ne, ne)
5601
+ 404: pe(se, se, ne, ne, oe, oe, ne, ne),
5602
+ home: pe(oe, oe, se, ne, oe, oe, ne, ne),
5603
+ slug: pe(se, oe, se, ne, oe, oe, ne, ne),
5604
+ auth: pe(se, oe, se, ne, oe, oe, ne, ne),
5605
+ news: pe(se, se, se, se, se, se, se, se),
5606
+ seccion: pe(se, se, se, ne, se, se, ne, ne),
5607
+ tema: pe(se, se, se, ne, se, se, ne, ne),
5608
+ "ultimas-noticias": pe(se, oe, se, ne, oe, oe, ne, ne),
5609
+ video: pe(se, se, se, se, se, se, ne, ne),
5610
+ videos: pe(se, oe, se, ne, oe, oe, ne, ne),
5611
+ pages: pe(se, oe, se, ne, oe, oe, ne, ne),
5612
+ contacto: pe(se, oe, se, ne, oe, oe, ne, ne),
5613
+ anuncia: pe(se, oe, se, ne, oe, oe, ne, ne),
5614
+ buscar: pe(se, oe, se, ne, se, se, ne, ne),
5615
+ autor: pe(se, se, se, ne, oe, oe, ne, ne)
5616
5616
  };
5617
- function we(e, t, s, a, r, o, i, l) {
5617
+ function pe(e, t, s, a, r, o, i, l) {
5618
5618
  return { title: e, description: t, canonical: s, robots: a, openGraph: r, twitter: o, article: i, rss: l };
5619
5619
  }
5620
5620
  function vl(e) {
5621
- return Cl[e] ?? we(oe, oe, oe, ne, oe, oe, ne, ne);
5621
+ return Cl[e] ?? pe(oe, oe, oe, ne, oe, oe, ne, ne);
5622
5622
  }
5623
5623
  function Nl(e) {
5624
5624
  const t = e.headConfig, s = e.config, a = e.defaultMetadataName, r = M(), o = r.PUBLIC_ASSETS_URL, i = s.fontS3Url && s.useS3Font || s.googleFontFamily && !s.googleFontFamily.startsWith("family=") ? "selfHosted" : s.googleFontFamily?.startsWith("family=") ? "google" : "none";
@@ -5690,7 +5690,7 @@ async function xm({
5690
5690
  head_custom_elements: x,
5691
5691
  schemasCustomEndpoints: I
5692
5692
  }) {
5693
- const L = g && g[0] && g[0].preview ? g[0] : void 0, K = ge(), D = N || await gl[r]({
5693
+ const L = g && g[0] && g[0].preview ? g[0] : void 0, K = we(), D = N || await gl[r]({
5694
5694
  meta: s,
5695
5695
  config: { ...f, siteUrl: f.siteUrl + K },
5696
5696
  currentNew: h,
@@ -6243,7 +6243,7 @@ const bt = (e) => /* @__PURE__ */ n("div", { className: "su-flex su-flex-col sas
6243
6243
  );
6244
6244
  };
6245
6245
  function _(e) {
6246
- const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t, LINK_REMOVE: s, CONFIG_buscar_html: a } = M(), { block_subPublication: r, LINK_REMOVE: o } = e, i = o ?? s, l = Ul(e.href), d = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, c = t?.tema && l, u = t?.buscar && d, h = !r && !c && !u ? ge() : "", m = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), g = (typeof e.href == "string" ? e.href : "").split("/")?.[1] === h.replace("/", ""), { LINK_REMOVE: w, ...f } = e, A = {
6246
+ const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t, LINK_REMOVE: s, CONFIG_buscar_html: a } = M(), { block_subPublication: r, LINK_REMOVE: o } = e, i = o ?? s, l = Ul(e.href), d = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, c = t?.tema && l, u = t?.buscar && d, h = !r && !c && !u ? we() : "", m = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), g = (typeof e.href == "string" ? e.href : "").split("/")?.[1] === h.replace("/", ""), { LINK_REMOVE: w, ...f } = e, A = {
6247
6247
  ...f,
6248
6248
  href: (!m && !g ? h : "") + (h && e.href === "/" ? "" : e.href ?? "")
6249
6249
  };
@@ -6303,7 +6303,7 @@ const Ul = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), Rm = async (e) => {
6303
6303
  }
6304
6304
  ) : null;
6305
6305
  }, de = (e, t) => {
6306
- const { PUBLIC_ASSETS_URL: s, PUBLIC_ENV: a } = M(), r = a === "local" ? ge() : "", o = t || s;
6306
+ const { PUBLIC_ASSETS_URL: s, PUBLIC_ENV: a } = M(), r = a === "local" ? we() : "", o = t || s;
6307
6307
  return (o && o !== "false" ? o : "") + r + "/versions/images" + e;
6308
6308
  }, ns = (e) => {
6309
6309
  const { PUBLIC_ENV: t } = M(), s = de("/whatsapp-black.svg");
@@ -9241,7 +9241,7 @@ const Om = (e) => {
9241
9241
  searchLink: o,
9242
9242
  custom_styles: i = {}
9243
9243
  }) => {
9244
- const { SUB_PUBLICATION_PREFIX_IN_ROUTES: l, CONFIG_buscar_html: d } = M(), c = l?.buscar ? ge() : "";
9244
+ const { SUB_PUBLICATION_PREFIX_IN_ROUTES: l, CONFIG_buscar_html: d } = M(), c = l?.buscar ? we() : "";
9245
9245
  return /* @__PURE__ */ p(
9246
9246
  "aside",
9247
9247
  {
@@ -9694,7 +9694,7 @@ const Om = (e) => {
9694
9694
  ) : /* @__PURE__ */ n("div", { className: "sass-com-ts-chipStyled", children: s.name }, a))
9695
9695
  ] }) });
9696
9696
  }, cc = async (e) => {
9697
- const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: s, PUBLIC_LNG: a } = M(), r = ge(), o = a === "en", i = t?.addtional, l = i?.USER_SHOWBIO ?? !1, d = t?.info?.name ?? "", c = t?.info?.fullname ?? "", u = t?.info?.image?.sizes?.[0]?.url ?? "", h = o ? i?.USER_DESCRIPCION_EN || i?.USER_MIBIO_EN || "" : i?.USER_DESCRIPCION || i?.USER_MIBIO || "", m = t?.addtional?.USER_USERFB ?? "", g = t?.addtional?.USER_USERIG ?? "", w = t?.addtional?.USER_USERTWT ?? "", f = t?.addtional?.USER_USERLIN ?? "", A = `${r}/${e.paths.autor}/${d}`, E = h.replace(/<[^>]*>/g, "").replace(/&[^;]+;/g, " ").trim().length > 360, N = `ja2-bio-toggle-${d}`;
9697
+ const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: s, PUBLIC_LNG: a } = M(), r = we(), o = a === "en", i = t?.addtional, l = i?.USER_SHOWBIO ?? !1, d = t?.info?.name ?? "", c = t?.info?.fullname ?? "", u = t?.info?.image?.sizes?.[0]?.url ?? "", h = o ? i?.USER_DESCRIPCION_EN || i?.USER_MIBIO_EN || "" : i?.USER_DESCRIPCION || i?.USER_MIBIO || "", m = t?.addtional?.USER_USERFB ?? "", g = t?.addtional?.USER_USERIG ?? "", w = t?.addtional?.USER_USERTWT ?? "", f = t?.addtional?.USER_USERLIN ?? "", A = `${r}/${e.paths.autor}/${d}`, E = h.replace(/<[^>]*>/g, "").replace(/&[^;]+;/g, " ").trim().length > 360, N = `ja2-bio-toggle-${d}`;
9698
9698
  return l && !!t && /* @__PURE__ */ n("section", { className: "sass-com-ja2-contentBox", children: /* @__PURE__ */ p("div", { className: "sass-com-ja2-content", children: [
9699
9699
  /* @__PURE__ */ p("div", { className: "sass-com-ja2-avatarContent", children: [
9700
9700
  /* @__PURE__ */ n(
@@ -11949,7 +11949,7 @@ const Gc = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
11949
11949
  const { news: t, socials: s, texts: a } = e, {
11950
11950
  DATE_TIMEZONE: r = "America/Mexico_City",
11951
11951
  CONFIG_shareOnlyWhatsApp: o
11952
- } = M(), i = ge(), l = (g) => `${i}/${e.paths.autor}/${g}`, d = t.authors.map(
11952
+ } = M(), i = we(), l = (g) => `${i}/${e.paths.autor}/${g}`, d = t.authors.map(
11953
11953
  (g) => g.internaluser ? `<a href="${l(g.name)}">${g.fullname}</a>` : g.fullname
11954
11954
  ).join(", "), u = t.authors.length === 1 ? "sass-com-ja3--singleAuthor" : "sass-com-ja3--multiAuthor", m = `sass-com-ja3-imageContent--count${Math.min(t.authors.length, 6)}`;
11955
11955
  return t.config?.showauthor && /* @__PURE__ */ n("div", { className: "sass-com-ja3-content", children: /* @__PURE__ */ p("div", { className: "sass-com-ja3-avatarContent", children: [
@@ -12275,7 +12275,7 @@ const $c = async (e) => {
12275
12275
  CONFIG_shareOnlyWhatsApp: r,
12276
12276
  DATE_TIMEZONE: o = "America/Mexico_City",
12277
12277
  CONFIG_commentsV2: i
12278
- } = M(), l = ge(), d = (w) => `${l}/${e.paths.autor}/${w}`, c = t.authors.map(
12278
+ } = M(), l = we(), d = (w) => `${l}/${e.paths.autor}/${w}`, c = t.authors.map(
12279
12279
  (w) => w.internaluser ? `<a href="${d(w.name)}">${w.fullname}</a>` : w.fullname
12280
12280
  ).join(", "), h = t.authors.length === 1 ? "sass-com-ja4--singleAuthor" : "sass-com-ja4--multiAuthor", g = `sass-com-ja4-imageContent--count${Math.min(t.authors.length, 6)}`;
12281
12281
  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: [
@@ -12528,7 +12528,7 @@ const Zc = async (e) => {
12528
12528
  CONFIG_shareOnlyWhatsApp: r,
12529
12529
  DATE_TIMEZONE: o = "America/Mexico_City",
12530
12530
  CONFIG_commentsV2: i
12531
- } = M(), l = ge(), d = (w) => `${l}/${e.paths.autor}/${w}`, c = t.authors.map(
12531
+ } = M(), l = we(), d = (w) => `${l}/${e.paths.autor}/${w}`, c = t.authors.map(
12532
12532
  (w) => w.internaluser ? `<a href="${d(w.name)}">${w.fullname}</a>` : w.fullname
12533
12533
  ).join(", "), h = t.authors.length === 1 ? "sass-com-ja5--singleAuthor" : "sass-com-ja5--multiAuthor", g = `sass-com-ja5-imageContent--count${Math.min(t.authors.length, 6)}`;
12534
12534
  return t.config?.showauthor && /* @__PURE__ */ n(
@@ -13643,7 +13643,7 @@ function s1({
13643
13643
  if (document.cookie.search(e.COGNITO_AUTH_PREFIX + "IS_AUTH=true") !== -1) {
13644
13644
  if (!window) return;
13645
13645
  const R = y("redirect_after_login_1");
13646
- console.log("Redirect path after login:", R, document.cookie, document.cookie.search("redirect_after_login_1=") !== -1), R && R !== "" ? (window.location.pathname = R, window.location.hash = "comentarios") : window.location.pathname = ge(e) + "/auth/success";
13646
+ console.log("Redirect path after login:", R, document.cookie, document.cookie.search("redirect_after_login_1=") !== -1), R && R !== "" ? (window.location.pathname = R, window.location.hash = "comentarios") : window.location.pathname = we(e) + "/auth/success";
13647
13647
  }
13648
13648
  };
13649
13649
  return /* @__PURE__ */ p(X, { children: [
@@ -13695,7 +13695,7 @@ function s1({
13695
13695
  await fetch("/api/auth/debug-login", { method: "GET", credentials: "include" });
13696
13696
  return;
13697
13697
  }
13698
- let R = ge(e) + "/auth/login";
13698
+ let R = we(e) + "/auth/login";
13699
13699
  const F = y("redirect_after_login_1");
13700
13700
  F && F !== "" && (R = F), window.location.href = `/api/auth/login?redirect=${R}`;
13701
13701
  },
@@ -16060,7 +16060,7 @@ function ru({
16060
16060
  texts: a,
16061
16061
  API_ENV: r
16062
16062
  }) {
16063
- const o = { ...au, ...nu, ...a?.comentarios }, i = ge(r), l = (h) => {
16063
+ const o = { ...au, ...nu, ...a?.comentarios }, i = we(r), l = (h) => {
16064
16064
  !window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = i + "/auth/login" + (h ? "#forgot" : ""));
16065
16065
  }, d = () => {
16066
16066
  !window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = i + "/auth/register");
@@ -16614,7 +16614,7 @@ const ou = {
16614
16614
  throw N(!1), new Error(`Error al obtener comentarios: ${G}`);
16615
16615
  }
16616
16616
  }, R = b?.comments && b.comments.length > 0, F = R ? d.commentHeaderMessageWithComments : d.commentHeaderMessageEmpty, W = /* @__PURE__ */ n("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ n(Qe, {}) }), O = () => {
16617
- !window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = ge(i) + "/auth/login");
16617
+ !window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = we(i) + "/auth/login");
16618
16618
  };
16619
16619
  return /* @__PURE__ */ p(X, { children: [
16620
16620
  /* @__PURE__ */ n("div", { className: "comments-container", children: /* @__PURE__ */ n(ye, { noHeading: !0, title: i.CONFIG_commentsV2 || R || e ? d.commentsSectionTitle : !1, children: /* @__PURE__ */ p(X, { children: [
@@ -18330,7 +18330,7 @@ export {
18330
18330
  Sm as getDynamicSlots,
18331
18331
  at as getEnvironmentUrl,
18332
18332
  Hu as getEnvironmentUrlFront,
18333
- ge as getFrontPrefix,
18333
+ we as getFrontPrefix,
18334
18334
  Wu as getHydratorPath,
18335
18335
  fe as getImageUrl,
18336
18336
  Xu as getItemFormated,
@@ -10,7 +10,7 @@ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
10
10
  j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
11
11
  'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
12
12
  })(window,document,'script','dataLayer','${e}');
13
- `}}),s.jsx("noscript",{children:s.jsx("iframe",{src:`https://www.googletagmanager.com/ns.html?id=${e}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]})},Aa=()=>{const{ANALYTICS_marfeel:e}=D();return e&&s.jsx("script",{type:"text/javascript",dangerouslySetInnerHTML:{__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},{})}();`}})},so=({defaultRouteName:e})=>{const{CAPTCHA_KEY:t,CONFIG_comments:a=!1,CONFIG_commentsV2:n=!1}=D();return t&&t!==""&&(e==="video"&&a&&!n||e==="news"&&a&&!n||e==="auth"||e==="anuncia"||e==="contacto")&&s.jsx("script",{src:`https://www.google.com/recaptcha/enterprise.js?render=${t}`,async:!0,defer:!0})};function et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var It={exports:{}},ao=It.exports,ba;function ya(){return ba||(ba=1,(function(e,t){(function(a,n){e.exports=n()})(ao,(function(){var a=1e3,n=6e4,r=36e5,o="millisecond",i="second",l="minute",d="hour",c="day",h="week",m="month",u="quarter",g="year",p="date",f="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var k=["th","st","nd","rd"],O=M%100;return"["+M+(k[(O-20)%10]||k[O]||k[0])+"]"}},E=function(M,k,O){var H=String(M);return!H||H.length>=k?M:""+Array(k+1-H.length).join(O)+M},S={s:E,z:function(M){var k=-M.utcOffset(),O=Math.abs(k),H=Math.floor(O/60),F=O%60;return(k<=0?"+":"-")+E(H,2,"0")+":"+E(F,2,"0")},m:function M(k,O){if(k.date()<O.date())return-M(O,k);var H=12*(O.year()-k.year())+(O.month()-k.month()),F=k.clone().add(H,m),R=O-F<0,v=k.clone().add(H+(R?-1:1),m);return+(-(H+(O-F)/(R?F-v:v-F))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:m,y:g,w:h,d:c,D:p,h:d,m:l,s:i,ms:o,Q:u}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},b="en",T={};T[b]=C;var x="$isDayjsObject",P=function(M){return M instanceof V||!(!M||!M[x])},$=function M(k,O,H){var F;if(!k)return b;if(typeof k=="string"){var R=k.toLowerCase();T[R]&&(F=R),O&&(T[R]=O,F=R);var v=k.split("-");if(!F&&v.length>1)return M(v[0])}else{var U=k.name;T[U]=k,F=U}return!H&&F&&(b=F),F||!H&&b},G=function(M,k){if(P(M))return M.clone();var O=typeof k=="object"?k:{};return O.date=M,O.args=arguments,new V(O)},L=S;L.l=$,L.i=P,L.w=function(M,k){return G(M,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var V=(function(){function M(O){this.$L=$(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[x]=!0}var k=M.prototype;return k.parse=function(O){this.$d=(function(H){var F=H.date,R=H.utc;if(F===null)return new Date(NaN);if(L.u(F))return new Date;if(F instanceof Date)return new Date(F);if(typeof F=="string"&&!/Z$/i.test(F)){var v=F.match(w);if(v){var U=v[2]-1||0,j=(v[7]||"0").substring(0,3);return R?new Date(Date.UTC(v[1],U,v[3]||1,v[4]||0,v[5]||0,v[6]||0,j)):new Date(v[1],U,v[3]||1,v[4]||0,v[5]||0,v[6]||0,j)}}return new Date(F)})(O),this.init()},k.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},k.$utils=function(){return L},k.isValid=function(){return this.$d.toString()!==f},k.isSame=function(O,H){var F=G(O);return this.startOf(H)<=F&&F<=this.endOf(H)},k.isAfter=function(O,H){return G(O)<this.startOf(H)},k.isBefore=function(O,H){return this.endOf(H)<G(O)},k.$g=function(O,H,F){return L.u(O)?this[H]:this.set(F,O)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(O,H){var F=this,R=!!L.u(H)||H,v=L.p(O),U=function(ae,J){var W=L.w(F.$u?Date.UTC(F.$y,J,ae):new Date(F.$y,J,ae),F);return R?W:W.endOf(c)},j=function(ae,J){return L.w(F.toDate()[ae].apply(F.toDate("s"),(R?[0,0,0,0]:[23,59,59,999]).slice(J)),F)},Q=this.$W,B=this.$M,Y=this.$D,Z="set"+(this.$u?"UTC":"");switch(v){case g:return R?U(1,0):U(31,11);case m:return R?U(1,B):U(0,B+1);case h:var X=this.$locale().weekStart||0,ee=(Q<X?Q+7:Q)-X;return U(R?Y-ee:Y+(6-ee),B);case c:case p:return j(Z+"Hours",0);case d:return j(Z+"Minutes",1);case l:return j(Z+"Seconds",2);case i:return j(Z+"Milliseconds",3);default:return this.clone()}},k.endOf=function(O){return this.startOf(O,!1)},k.$set=function(O,H){var F,R=L.p(O),v="set"+(this.$u?"UTC":""),U=(F={},F[c]=v+"Date",F[p]=v+"Date",F[m]=v+"Month",F[g]=v+"FullYear",F[d]=v+"Hours",F[l]=v+"Minutes",F[i]=v+"Seconds",F[o]=v+"Milliseconds",F)[R],j=R===c?this.$D+(H-this.$W):H;if(R===m||R===g){var Q=this.clone().set(p,1);Q.$d[U](j),Q.init(),this.$d=Q.set(p,Math.min(this.$D,Q.daysInMonth())).$d}else U&&this.$d[U](j);return this.init(),this},k.set=function(O,H){return this.clone().$set(O,H)},k.get=function(O){return this[L.p(O)]()},k.add=function(O,H){var F,R=this;O=Number(O);var v=L.p(H),U=function(B){var Y=G(R);return L.w(Y.date(Y.date()+Math.round(B*O)),R)};if(v===m)return this.set(m,this.$M+O);if(v===g)return this.set(g,this.$y+O);if(v===c)return U(1);if(v===h)return U(7);var j=(F={},F[l]=n,F[d]=r,F[i]=a,F)[v]||1,Q=this.$d.getTime()+O*j;return L.w(Q,this)},k.subtract=function(O,H){return this.add(-1*O,H)},k.format=function(O){var H=this,F=this.$locale();if(!this.isValid())return F.invalidDate||f;var R=O||"YYYY-MM-DDTHH:mm:ssZ",v=L.z(this),U=this.$H,j=this.$m,Q=this.$M,B=F.weekdays,Y=F.months,Z=F.meridiem,X=function(J,W,_,de){return J&&(J[W]||J(H,R))||_[W].slice(0,de)},ee=function(J){return L.s(U%12||12,J,"0")},ae=Z||function(J,W,_){var de=J<12?"AM":"PM";return _?de.toLowerCase():de};return R.replace(A,(function(J,W){return W||(function(_){switch(_){case"YY":return String(H.$y).slice(-2);case"YYYY":return L.s(H.$y,4,"0");case"M":return Q+1;case"MM":return L.s(Q+1,2,"0");case"MMM":return X(F.monthsShort,Q,Y,3);case"MMMM":return X(Y,Q);case"D":return H.$D;case"DD":return L.s(H.$D,2,"0");case"d":return String(H.$W);case"dd":return X(F.weekdaysMin,H.$W,B,2);case"ddd":return X(F.weekdaysShort,H.$W,B,3);case"dddd":return B[H.$W];case"H":return String(U);case"HH":return L.s(U,2,"0");case"h":return ee(1);case"hh":return ee(2);case"a":return ae(U,j,!0);case"A":return ae(U,j,!1);case"m":return String(j);case"mm":return L.s(j,2,"0");case"s":return String(H.$s);case"ss":return L.s(H.$s,2,"0");case"SSS":return L.s(H.$ms,3,"0");case"Z":return v}return null})(J)||v.replace(":","")}))},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(O,H,F){var R,v=this,U=L.p(H),j=G(O),Q=(j.utcOffset()-this.utcOffset())*n,B=this-j,Y=function(){return L.m(v,j)};switch(U){case g:R=Y()/12;break;case m:R=Y();break;case u:R=Y()/3;break;case h:R=(B-Q)/6048e5;break;case c:R=(B-Q)/864e5;break;case d:R=B/r;break;case l:R=B/n;break;case i:R=B/a;break;default:R=B}return F?R:L.a(R)},k.daysInMonth=function(){return this.endOf(m).$D},k.$locale=function(){return T[this.$L]},k.locale=function(O,H){if(!O)return this.$L;var F=this.clone(),R=$(O,H,!0);return R&&(F.$L=R),F},k.clone=function(){return L.w(this.$d,this)},k.toDate=function(){return new Date(this.valueOf())},k.toJSON=function(){return this.isValid()?this.toISOString():null},k.toISOString=function(){return this.$d.toISOString()},k.toString=function(){return this.$d.toUTCString()},M})(),K=V.prototype;return G.prototype=K,[["$ms",o],["$s",i],["$m",l],["$H",d],["$W",c],["$M",m],["$y",g],["$D",p]].forEach((function(M){K[M[1]]=function(k){return this.$g(k,M[0],M[1])}})),G.extend=function(M,k){return M.$i||(M(k,V,G),M.$i=!0),G},G.locale=$,G.isDayjs=P,G.unix=function(M){return G(1e3*M)},G.en=T[b],G.Ls=T,G.p={},G}))})(It)),It.exports}var no=ya();const pe=et(no);var Ut={exports:{}},ro=Ut.exports,Ca;function oo(){return Ca||(Ca=1,(function(e,t){(function(a,n){e.exports=n()})(ro,(function(){return function(a,n,r){a=a||{};var o=n.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"};function l(c,h,m,u){return o.fromToBase(c,h,m,u)}r.en.relativeTime=i,o.fromToBase=function(c,h,m,u,g){for(var p,f,w,A=m.$locale().relativeTime||i,C=a.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],E=C.length,S=0;S<E;S+=1){var b=C[S];b.d&&(p=u?r(c).diff(m,b.d,!0):m.diff(c,b.d,!0));var T=(a.rounding||Math.round)(Math.abs(p));if(w=p>0,T<=b.r||!b.r){T<=1&&S>0&&(b=C[S-1]);var x=A[b.l];g&&(T=g(""+T)),f=typeof x=="string"?x.replace("%d",T):x(T,h,b.l,w);break}}if(h)return f;var P=w?A.future:A.past;return typeof P=="function"?P(f):P.replace("%s",f)},o.to=function(c,h){return l(c,h,this,!0)},o.from=function(c,h){return l(c,h,this)};var d=function(c){return c.$u?r.utc():r()};o.toNow=function(c){return this.to(d(this),c)},o.fromNow=function(c){return this.from(d(this),c)}}}))})(Ut)),Ut.exports}var io=oo();const lo=et(io);var xt={exports:{}},co=xt.exports,va;function ho(){return va||(va=1,(function(e,t){(function(a,n){e.exports=n(ya())})(co,(function(a){function n(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var r=n(a),o={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(i){return i+"º"}};return r.default.locale(o,null,!0),o}))})(xt)),xt.exports}ho();var kt={exports:{}},uo=kt.exports,Na;function mo(){return Na||(Na=1,(function(e,t){(function(a,n){e.exports=n()})(uo,(function(){var a="minute",n=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(o,i,l){var d=i.prototype;l.utc=function(f){var w={date:f,utc:!0,args:arguments};return new i(w)},d.utc=function(f){var w=l(this.toDate(),{locale:this.$L,utc:!0});return f?w.add(this.utcOffset(),a):w},d.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=d.parse;d.parse=function(f){f.utc&&(this.$u=!0),this.$utils().u(f.$offset)||(this.$offset=f.$offset),c.call(this,f)};var h=d.init;d.init=function(){if(this.$u){var f=this.$d;this.$y=f.getUTCFullYear(),this.$M=f.getUTCMonth(),this.$D=f.getUTCDate(),this.$W=f.getUTCDay(),this.$H=f.getUTCHours(),this.$m=f.getUTCMinutes(),this.$s=f.getUTCSeconds(),this.$ms=f.getUTCMilliseconds()}else h.call(this)};var m=d.utcOffset;d.utcOffset=function(f,w){var A=this.$utils().u;if(A(f))return this.$u?0:A(this.$offset)?m.call(this):this.$offset;if(typeof f=="string"&&(f=(function(b){b===void 0&&(b="");var T=b.match(n);if(!T)return null;var x=(""+T[0]).match(r)||["-",0,0],P=x[0],$=60*+x[1]+ +x[2];return $===0?0:P==="+"?$:-$})(f),f===null))return this;var C=Math.abs(f)<=16?60*f:f;if(C===0)return this.utc(w);var E=this.clone();if(w)return E.$offset=C,E.$u=!1,E;var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(E=this.local().add(C+S,a)).$offset=C,E.$x.$localOffset=S,E};var u=d.format;d.format=function(f){var w=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,w)},d.valueOf=function(){var f=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*f},d.isUTC=function(){return!!this.$u},d.toISOString=function(){return this.toDate().toISOString()},d.toString=function(){return this.toDate().toUTCString()};var g=d.toDate;d.toDate=function(f){return f==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var p=d.diff;d.diff=function(f,w,A){if(f&&this.$u===f.$u)return p.call(this,f,w,A);var C=this.local(),E=l(f).local();return p.call(C,E,w,A)}}}))})(kt)),kt.exports}var fo=mo();const go=et(fo);var Lt={exports:{}},po=Lt.exports,Sa;function wo(){return Sa||(Sa=1,(function(e,t){(function(a,n){e.exports=n()})(po,(function(){var a={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(r,o,i){var l,d=function(u,g,p){p===void 0&&(p={});var f=new Date(u),w=(function(A,C){C===void 0&&(C={});var E=C.timeZoneName||"short",S=A+"|"+E,b=n[S];return b||(b=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:A,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:E}),n[S]=b),b})(g,p);return w.formatToParts(f)},c=function(u,g){for(var p=d(u,g),f=[],w=0;w<p.length;w+=1){var A=p[w],C=A.type,E=A.value,S=a[C];S>=0&&(f[S]=parseInt(E,10))}var b=f[3],T=b===24?0:b,x=f[0]+"-"+f[1]+"-"+f[2]+" "+T+":"+f[4]+":"+f[5]+":000",P=+u;return(i.utc(x).valueOf()-(P-=P%1e3))/6e4},h=o.prototype;h.tz=function(u,g){u===void 0&&(u=l);var p,f=this.utcOffset(),w=this.toDate(),A=w.toLocaleString("en-US",{timeZone:u}),C=Math.round((w-new Date(A))/1e3/60),E=15*-Math.round(w.getTimezoneOffset()/15)-C;if(!Number(E))p=this.utcOffset(0,g);else if(p=i(A,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(E,!0),g){var S=p.utcOffset();p=p.add(f-S,"minute")}return p.$x.$timezone=u,p},h.offsetName=function(u){var g=this.$x.$timezone||i.tz.guess(),p=d(this.valueOf(),g,{timeZoneName:u}).find((function(f){return f.type.toLowerCase()==="timezonename"}));return p&&p.value};var m=h.startOf;h.startOf=function(u,g){if(!this.$x||!this.$x.$timezone)return m.call(this,u,g);var p=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return m.call(p,u,g).tz(this.$x.$timezone,!0)},i.tz=function(u,g,p){var f=p&&g,w=p||g||l,A=c(+i(),w);if(typeof u!="string")return i(u).tz(w);var C=(function(T,x,P){var $=T-60*x*1e3,G=c($,P);if(x===G)return[$,x];var L=c($-=60*(G-x)*1e3,P);return G===L?[$,G]:[T-60*Math.min(G,L)*1e3,Math.max(G,L)]})(i.utc(u,f).valueOf(),A,w),E=C[0],S=C[1],b=i(E).utcOffset(S);return b.$x.$timezone=w,b},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(u){l=u}}}))})(Lt)),Lt.exports}var Ao=wo();const bo=et(Ao);pe.extend(go),pe.extend(bo),pe.extend(lo);const Pt=e=>e==="en"?"en":"es",Ie=(e,t)=>{const{PUBLIC_LNG:a,DATE_TIMEZONE:n}=t||D(),r=Pt(a??"es");return pe.tz(e,n).locale(r).format("DD MMMM YYYY")},ht=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),n=Pt(t??"es");return pe.tz(e,a).locale(n).format(n==="en"?"MMMM DD YYYY [•] HH:mm [hs]":"DD [de] MMMM YYYY [•] HH:mm [hs]")},Ea=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),n=Pt(t??"es");return pe.tz(e,a).locale(n).format("MM/DD/YYYY [•] HH:mm [HS]")},yo=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),n=Pt(t??"es");return pe.tz(e,a).locale(n).format("dddd DD [de] MMMM YYYY")},je=(e,t)=>{if(!e)return"";const a=new Date(e),r=new Intl.DateTimeFormat("en-CA",{timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts(a),o={};r.forEach(g=>{g.type!=="literal"&&(o[g.type]=g.value)});const i=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),d=(new Date(a.toLocaleString("en-US",{timeZone:t})).getTime()-i.getTime())/6e4,c=d>=0?"+":"-",h=g=>String(Math.floor(Math.abs(g))).padStart(2,"0"),m=h(d/60),u=h(d%60);return`${o.year}-${o.month}-${o.day}T${o.hour}:${o.minute}:${o.second}${c}${m}:${u}`},Be=(e,t=136)=>e&&e.length>t?`${e.substring(0,t)}...`:e;function ze(e){return e&&e.status==="fulfilled"?e.value.data:null}function Ta(e){return e&&e.status==="fulfilled"?e.value:null}const Co={url:"",target:"_self",canonical:!1,internal:""},vo={date:"",created:0,modified:0,firstpublish:0,lastpublish:0};function No(e){return e==null?"":typeof e=="string"?e:e.article??e.home??e.section??e.seo??""}const tt=(e,t,a,n)=>{const r=No(e?.main?.title),o=e?.main?.description??"";return{authors:e?.main?.author?[{firstname:"",lastname:"",fullname:typeof e.main.author=="string"?e.main.author:String(e.main.author??"Redacción"),image:{sizes:[],description:""},name:"",internaluser:!1}]:[],social:{description:"",images:{facebook:"",twitter:""},title:""},info:{date:{...vo,...e?.info?.date},link:e?.info?.link??Co},preview:{sizes:e?.main?.image?.sizes??[],description:e?.main?.image?.description??""},config:{showtime:t??!1,showsubtitle:a??!1,showauthor:!!(n&&e?.main?.author)},main:{title:{article:r,home:r,seo:r,section:r},subtitle:{rendered:o,striped:o},tags:[]}}},Ia=/<div\b[^>]*class=["'][^"']*\bck-related-news\b[^"']*["'][^>]*>/gi;function Ot(e){if(!e?.body?.rendered)return[];const t=e.body.rendered,a=[];let n=0;for(;n<t.length;){Ia.lastIndex=n;const r=Ia.exec(t);if(!r)break;const o=r.index+r[0].length;let i=1,l=o,d=o;for(;l<t.length&&i>0;){const g=t.slice(l),p=g.match(/<div\b/i),f=g.match(/<\/div>/i),w=p?.index??-1,A=f?.index??-1;if(A===-1)break;const C=w===-1?1/0:l+w,E=l+A;w!==-1&&w<A?(i+=1,l=C+p[0].length):(i-=1,d=E,l=E+f[0].length)}const c=t.slice(o,d),h=[],m=/<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;let u;for(;(u=m.exec(c))!==null;){const g=u[1];g&&h.push(g)}h.length>0&&a.push(h),n=l}return a}const So=Ot,Ua=async(e,t)=>{const a=[];return e.forEach(o=>{o.forEach(i=>{const l=t({path:i.replaceAll("|","/"),imagesizes:"w:212,h:142,t:2;w:100,h:100,t:2",exclude:"config,keywords,authors,body,related,relatedexternal,social,external,hascontent,customfields,pixel"});l&&a.push(l)})}),(await Promise.allSettled(a)).map(o=>ze(o)?.data)},We=()=>{const{PUBLIC_ENV:e,PUBLIC_API_HOST:t,PUBLIC_ASSETS_URL:a}=D();return e=="local"&&(!a||a==="false")?t:a&&a!=="false"?a:""},Eo=()=>{const{PUBLIC_ENV:e,PUBLIC_API_FRONT:t}=D();return e==="local"?t:""},xa=e=>e.replace(/^https?:?\/\/[^/]+/,""),To=e=>{if(!e?.preview?.length)return null;const t=e.preview;return t.find(a=>a.format==="1.91:1")??t[t.length-1]},ka=({schemaImage:e,socialImage:t,fallbackImage:a,prefix:n,defaultWidth:r,defaultHeight:o,alt:i})=>e?.url?{url:n+e.url,width:e.width,height:e.height,alt:i}:{url:n+(t??a??""),width:r,height:o,alt:i},La=(e,t,a,n)=>{if(!t)return{};const{PUBLIC_ASSETS_URL:r,PUBLIC_API_FRONT:o,DATE_TIMEZONE:i="America/Mexico_City"}=D(),l=As(t.keywords)??"",d=t?.preview?.sizes?t?.preview?.sizes[0]?.url:"",c=(r!=="false"?r:o)??"",h=To(n),m=t.main.title.article,u=ka({schemaImage:h,socialImage:t?.social?.images?.facebook,fallbackImage:d,prefix:c,defaultWidth:a.landscapeLogo.width,defaultHeight:a.landscapeLogo.height,alt:n?.description??m}),g=ka({schemaImage:h,socialImage:t?.social?.images?.twitter,fallbackImage:d,prefix:c,defaultWidth:a.twitterSummaryCard.width,defaultHeight:a.twitterSummaryCard.height,alt:n?.description??m});return{title:(t?.main?.title?.seo??t?.main?.title?.article)+" | "+a.name,robots:"index, follow, max-image-preview:large",alternates:{types:{"application/rss+xml":(a.siteUrl??"")+"/rss/feed.xml"},canonical:t?.info?.link?.canonical},description:t?.main?.subtitle?.striped??"",news_keywords:l,keywords:l,openGraph:{title:t?.social?.title?t?.social?.title:t?.main?.title?.article,url:t?.info?.link?.canonical,type:"article",description:t?.social?.description?t?.social?.description:t?.main?.subtitle?.striped??"",images:[u],siteName:a.name.toLocaleUpperCase(),locale:a.lang.startsWith("en")?"en_US":a.lang==="es"?"es_LA":a.lang.replace("-","_")},twitter:{title:t?.main?.title?.article,card:"summary_large_image",site:e.twitter.site,description:t?.main?.subtitle?.striped??"",images:[g]},article:{published_time:je(t?.info?.date?.firstpublish,i),modified_time:je(t?.info?.date?.lastpublish??t?.info?.date?.firstpublish,i),section:t?.info?.section?.name,author:t?.authors?.[0]?.fullname,tag:t?.keywords?.tags??[]}}},As=e=>!e||!e?.tags||e?.tags?.length===0?"":e?.tags?.map(t=>t.name).join(", ").replaceAll('"',"'").replaceAll("`","'"),Pa=e=>{const t=e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);return t?{slug:t[1]??"",path:t[2]??""}:{slug:"",path:""}},Oa=e=>e.replaceAll("/","").replaceAll("_","").replace(".html",""),Io={description:{attr:"name",value:"description"},robots:{attr:"name",value:"robots"},keywords:{attr:"name",value:"keywords"},news_keywords:{attr:"name",value:"news_keywords"},"openGraph.title":{attr:"property",value:"og:title"},"openGraph.description":{attr:"property",value:"og:description"},"openGraph.type":{attr:"property",value:"og:type"},"openGraph.url":{attr:"property",value:"og:url"},"openGraph.siteName":{attr:"property",value:"og:site_name"},"openGraph.locale":{attr:"property",value:"og:locale"},"twitter.card":{attr:"name",value:"twitter:card"},"twitter.title":{attr:"name",value:"twitter:title"},"twitter.description":{attr:"name",value:"twitter:description"},"twitter.site":{attr:"name",value:"twitter:site"},"twitter.domain":{attr:"name",value:"twitter:domain"},"twitter.url":{attr:"name",value:"twitter:url"}},Ba=e=>{const t=[];let a=0;const n=i=>t.push(i);return e.title&&typeof e.title=="string"&&n(s.jsx("title",{children:e.title},`title-${a++}`)),Object.entries(Io).forEach(([i,l])=>{const d=i.split(".").reduce((c,h)=>c?.[h],e);d&&n(s.jsx("meta",{[l.attr]:l.value,content:String(d)},`meta-${a++}`))}),(e.openGraph?.images?Array.isArray(e.openGraph.images)?e.openGraph.images:[e.openGraph.images]:[]).forEach(i=>{i&&(typeof i=="string"?n(s.jsx("meta",{property:"og:image",content:i},`og-img-${a++}`)):(i.url&&n(s.jsx("meta",{property:"og:image",content:i.url},`og-img-${a++}`)),i.width&&n(s.jsx("meta",{property:"og:image:width",content:String(i.width)},`og-img-w-${a++}`)),i.height&&n(s.jsx("meta",{property:"og:image:height",content:String(i.height)},`og-img-h-${a++}`)),i.alt&&n(s.jsx("meta",{property:"og:image:alt",content:String(i.alt)},`og-img-alt-${a++}`))))}),(e.twitter?.images?Array.isArray(e.twitter.images)?e.twitter.images:[e.twitter.images]:[]).forEach(i=>{i&&(typeof i=="string"?n(s.jsx("meta",{name:"twitter:image",content:i},`tw-img-${a++}`)):(i.url&&n(s.jsx("meta",{name:"twitter:image",content:i.url},`tw-img-${a++}`)),i.width&&n(s.jsx("meta",{name:"twitter:image:width",content:String(i.width)},`tw-img-w-${a++}`)),i.height&&n(s.jsx("meta",{name:"twitter:image:height",content:String(i.height)},`tw-img-h-${a++}`)),i.alt&&n(s.jsx("meta",{name:"twitter:image:alt",content:String(i.alt)},`tw-img-alt-${a++}`))))}),e.article&&(n(s.jsx("meta",{property:"article:published_time",content:e.article.published_time})),n(s.jsx("meta",{property:"article:modified_time",content:e.article.modified_time})),n(s.jsx("meta",{property:"article:section",content:e.article.section})),n(s.jsx("meta",{property:"article:author",content:e.article.author})),Array.isArray(e.article.tag)&&e.article.tag.length>0&&e.article.tag.forEach(i=>{n(s.jsx("meta",{property:"article:tag",content:i.name}))})),e.alternates?.canonical&&n(s.jsx("link",{rel:"canonical",href:String(e.alternates.canonical)},`link-${a++}`)),e.manifest&&n(s.jsx("link",{rel:"manifest",href:String(e.manifest)},`link-${a++}`)),e.alternates?.types&&Object.entries(e.alternates.types).forEach(([i,l])=>{typeof l=="string"&&n(s.jsx("link",{rel:"alternate",type:i,href:l},`alt-${a++}`))}),e.icons&&[...e.icons?.icon??[],...e.icons?.other??[]].forEach(l=>{l&&n(typeof l=="string"?s.jsx("link",{rel:"icon",href:l},`icon-${a++}`):s.jsx("link",{rel:l.rel||"icon",href:l.url,...l.type&&{type:l.type},...l.sizes&&{sizes:l.sizes}},`icon-${a++}`))}),e.other&&Object.entries(e.other).forEach(([i,l])=>{l&&n(s.jsx("meta",{name:i,content:String(l)},`other-${a++}`))}),t},he=async e=>{const t=We()??"",a=e;return a?.startsWith("http")||a?.includes(t)||t===""?a:t+a},ut=(e,t)=>{const a=e||"";return t?a.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]"]??"")||"":a||""},Uo=/\[(?:general|seccion:[^\]]+|tema:\d+)\][\s\S]*?\[\/(?:general|seccion:[^\]]+|tema:\d+)\]/i,xo=/\[(general|seccion:[^\]]+|tema:\d+)\]([\s\S]*?)\[\/\1\]/gi,ko=e=>!e||e.type==="general"?"general":e.type==="seccion"?`seccion:${e.value}`.toLowerCase():`tema:${e.value}`,Bt=(e,t)=>{const a=e||"";if(!Uo.test(a))return a;const n=new Map;for(const l of a.matchAll(xo)){const d=l[1]?.toLowerCase(),c=l[2];d&&c!==void 0&&!n.has(d)&&n.set(d,c)}if(n.size===0)return a;const r=ko(t),o=n.get(r);if(o!==void 0)return o;const i=n.get("general");return i!==void 0?i:""},Lo=e=>{const t={};if(!e)return t;const a=/([^\s=]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'>]+)))?/g;let n;for(;n=a.exec(e);){const r=n[1],o=n[2]??n[3]??n[4]??!0;t[r]=o}return t},Po=e=>{const t=e.match(/\bsrc\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i);return t?.[1]||t?.[2]||t?.[3]||null},Ma=(e,t,a,n)=>{try{const r=Lo(e);return r.src?s.jsx("script",{"data-bs-name":n,...r},a):s.jsx("script",{...r,dangerouslySetInnerHTML:{__html:t}},a)}catch{const o=Po(e);return o?s.jsx("script",{"data-bs-name":n,src:o,async:!0,defer:!0},a):null}},Oo=e=>{const t=/<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/gi;return[...e.matchAll(t)]},bs=e=>{const t=e.banners.find(r=>r.key===e.name);if(!t||!t.show)return null;const a=ut(t.value||"",e.replaces),n=Oo(a);return s.jsx(s.Fragment,{children:n.map((r,o)=>{const i=r[1]||r[3]||"",l=r[2]?.trim()||"";return Ma(i,l,o,e.name)})})},_a=e=>{const t=e.banners.find(r=>r.key===e.name);if(!t||!t.show)return null;const n=ut(t.value||"",e.replaces).split(/(<script\b[\s\S]*?<\/script\s*>|<script\b[^>]*\/?>)/gi);return s.jsx(s.Fragment,{children:n.map((r,o)=>{const i=r.match(/<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/i);if(i){const l=i[1]||i[3]||"",d=i[2]?.trim()||"";return Ma(l,d,o,e.name)}return r.trim()&&/<[a-zA-Z]/.test(r)?s.jsx("div",{dangerouslySetInnerHTML:{__html:r}},o):null})})},st=(e,t,a)=>{let n=e.siteUrl;return t.forEach((r,o)=>{o>0&&(n+=`/${r}`)}),`${n}/page/${a+1}`},at=(e,t,a)=>{let n=e.siteUrl;return t.forEach((r,o)=>{o>0&&(n+=`/${r}`)}),`${n}/page/${a-1}`};function Bo(e){const t=e.length;return t>1&&e.charCodeAt(t-1)===47?e.slice(0,t-1):e}const Da=()=>{const{PUBLIC_ASSETS_URL:e}=D();return e&&e!=="false"&&s.jsx("link",{rel:"preconnect",href:e,crossOrigin:"anonymous"})},ys=({images:e})=>s.jsx(s.Fragment,{children:e.map((t,a)=>t.href!==""&&s.jsx("link",{rel:"preload",href:t.href,media:t.media??"",as:"image",fetchPriority:t.fetchPriority??"high"},a))}),qa=(e,t,a)=>{if(!t)return{};const{PUBLIC_API_FRONT:n}=D();return{title:t?.main?.title+" | "+a.name,robots:"index, follow, max-image-preview:large",alternates:{canonical:a.siteUrl+t?.info?.link?.url},description:t.main.description??"",news_keywords:t.main.tags,keywords:t.main.tags,openGraph:{title:t.main.title,url:t?.info?.link?.canonical,type:"video.other",description:t.main.description??"",images:[{url:(n??"")+t?.main.image.sizes[0]?.url,width:a.landscapeLogo.width,height:a.landscapeLogo.height}],siteName:a.name.toLocaleUpperCase(),locale:a.lang.startsWith("en")?"en_US":a.lang==="es"?"es_LA":a.lang.replace("-","_")},twitter:{title:t?.main?.title,card:"summary_large_image",site:e.twitter.site,description:t?.main.description??"",images:[{url:(n??"")+t?.main.image.sizes[0]?.url,width:a.twitterSummaryCard.width,height:a.twitterSummaryCard.height}]}}},Mo=e=>{let t="";if(e.params.news.match(/.*t[0-9]*.html/g)){const a=e.params.news.split("-"),n=a[a.length-1]??"",r=n.substring(1,9),o=n.substring(9,13);t=`/listas/${pe(r).format("YYYY/MM/DD")}/lista_${o}.html`}else if(e.params.news.match(/.*lb[0-9]*.html/g)){const a=e.params.news.split("-"),n=a[a.length-1]??"",r=n.substring(2,10),o=n.substring(10,14);t=`/liveblog/${pe(r).format("YYYY/MM/DD")}/liveblog_${o}.html`}else{const n=e.params.news.replace(/\.html$/g,"").split("-");Array.isArray(n)&&(t=`/contenidos/${pe(n[n.length-2]).format("YYYY/MM/DD")}/noticia_${n[n.length-1]}.html`)}return e.config.servicePrefix+t};function _o(e){const t=e.lastIndexOf("-"),a=t>=0?[e.slice(0,t),e.slice(t+1)]:[e],n=a[a.length-1]?.split("."),r=n&&n[0]?n[0]:"",o=r.substring(0,2),i=r.substring(2,10),l=r.substring(10);return{path:{vy:c=>`/videos/video-youtube/${pe(i).format("YYYY/MM/DD")}/videoYouTube_${c}.lnk`,ve:c=>`/videos/video-embedded/${pe(i).format("YYYY/MM/DD")}/videoEmbedded_${c}.lnk`,vf:c=>`/videos/video-flash/${pe(i).format("YYYY/MM/DD")}/${a[0]}.${c}`}[o]?.(l)??"",op:o}}const Fe=(e,t)=>{const a=e.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ñ/g,"n").replace(/Ñ/g,"n").replace(/[^\w\s]/gi,"").replaceAll(" ","-").toLowerCase();return t?.tema?`/${t.tema}/${a}-t${e.id}`:`/${a}-t${e.id}`},Do=e=>{const{AssetsPrefix:t="",AssetsPath:a="src",isDev:n=!1}=e;return n?"src":t+a},qo=async(e,t,a,n)=>{const{FETCH_TAG_BASED_RELATED_NEWS:r=!1,FETCH_SIZE_RELATED_NEWS:o=10}=D();if(!e)return[];try{if(e.related&&e.related?.automatic===!1&&e.related?.news&&e.related?.news.length>0)return(await a.getNewsListPath({path:e.related.news.map(l=>l.path).join(";"),exclude:"gallery,related,relatedexternal,external,customfields",imagesizes:n.md}))?.data?.data??[];{const i=e&&e.keywords&&e.keywords.tags&&e.keywords.tags[0];return((e?i&&r?await a.getNewsListAvanced({query:'claves:("'+e.keywords?.tags[0].name+'")',exclude:"gallery,related,relatedexternal,external,customfields",imagesizes:n.md,size:o+1}):await a.getNewsItemsRelated(t.split("/").join("|"),{size:o}):null)?.data?.data??[]).filter(c=>c.info.link.internal!==t.split("/").join("|"))}}catch(i){console.log(i)}},Go="https://recaptchaenterprise.googleapis.com/v1/projects",jo=async({projectID:e,recaptchaKey:t,token:a,recaptchaAction:n,apiKey:r,userAgent:o,userIpAddress:i})=>{if(!e||!t||!a||!r)return console.warn("createAssessment: faltan parámetros requeridos"),null;const l=`${Go}/${e}/assessments?key=${r}`,d={event:{token:a,siteKey:t,expectedAction:n,...o&&{userAgent:o},...i&&{userIpAddress:i}}};try{const c=await fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(d)});if(!c.ok)return console.error("createAssessment API error:",c.status,await c.text()),null;const h=await c.json();if(!h?.tokenProperties?.valid)return console.log(`CreateAssessment falló - token inválido: ${h?.tokenProperties?.invalidReason??"unknown"}`),null;if(h.tokenProperties.action!==n)return console.log("La acción en reCAPTCHA no coincide con la esperada:",n),null;const m=h?.riskAnalysis?.score;return m!==void 0&&(console.log("reCAPTCHA score:",m),h?.riskAnalysis?.reasons?.forEach(u=>console.log(u))),typeof m=="number"?m:null}catch(c){return console.error("createAssessment error:",c),null}};function Fo(e,t){if(t==="comentarios")return;const a=e[t];return typeof a=="string"||a===void 0?a:void 0}const Ho=e=>e?.body?.rendered.includes("ck-image-gallery")||e?.config?.articlepreview==="fotogaleria"&&e?.hascontent?.hasgalleryimages;function Vo(e){const t={};for(const[a,n]of Object.entries(e)){const r=btoa(a).split("").reverse().join("");typeof n=="string"?t[r]=btoa(n).split("").reverse().join(""):t[r]=n}return t}function Cs(e){const t={};for(const[a,n]of Object.entries(e)){const r=atob(a.split("").reverse().join(""));if(typeof n=="string")try{t[r]=atob(n.split("").reverse().join(""))}catch{t[r]=n}else t[r]=n}return t}const Qo=async(e,t,a)=>{const{info:n,preview:r}=e,o=e?.config?.homepreview||"imagen",i=o==="clip"&&e?.hascontent?.hasgalleryvideosflash,l={...r};if(o==="videoYouTube"||o==="videoEmbedded"||i){const d=await t.getNewsMultimedia({path:n.link.internal,imagesizes:a});if(d&&d.data)return{...e,preview:l,videos:d.data.data[0].videos??[]}}if(o==="fotogaleria"){const d=await t.getNewsMultimedia({path:n.link.internal,imagesizes:a});if(d&&d.data){const c=await Promise.all(d.data.data[0].gallery.map(async h=>({...h})));return{...e,preview:l,gallery:c??[]}}}return{...e,preview:l}};function zo(e=D()){const{PUBLIC_SERVICE_PREFIX:t}=e;return t&&t!=="false"?"/"+t:""}function ue(e=D()){const{PUBLIC_SERVICE_PREFIX:t,PUBLIC_IS_SUB_PUBLICATION:a,FORCE_SUB_PUBLICATION_PREFIX:n}=e;return n&&n!==""?"/"+n:t&&t!=="false"&&a&&a!=="false"?"/"+t:""}const Ga=e=>e==="/"||e==="/index.html",Wo=new Set(["@type","@context"]),ja=e=>{if(e==null)return!0;if(typeof e=="string")return e.trim()==="";if(Array.isArray(e))return e.length===0;if(typeof e=="object"){const t=Object.keys(e);return t.length===0?!0:t.every(a=>Wo.has(a))}return!1},Ue=e=>{if(Array.isArray(e))return e.map(t=>Ue(t)).filter(t=>!ja(t));if(e&&typeof e=="object"){const t={};for(const[a,n]of Object.entries(e)){const r=Ue(n);ja(r)||(t[a]=r)}return t}return e},Fa={prefetch:[{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:".nota-prerender"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"}]},eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}]},Ha={prefetch:[{urls:["/"],eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:".nota-prerender"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"}]},eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}]},Va={prefetch:[{urls:["/"],eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:"#content-news-section a"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},Qa={prefetch:[{urls:["/"],eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:"#block-notes-list a"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},Yo={Home:Fa,Common:Ha,Nota:Va,NotaLista:Qa},za=({active:e,type:t,customSpeculation:a})=>{const n=a||Yo[t];return e&&s.jsx("script",{type:"speculationrules",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})},Mt=async(e,t,a)=>{if(a)return a.get(`/schemas${t}`,{params:e}).catch(n=>{console.log(`[/schemas${t}] Error: ${n.message}`)})},$o={autor:"autor",seccion:"seccion",tema:"claves","ultimas-noticias":"seccion"},Wa=async({config:e,axiosApi:t,pathname:a,ROUTE:n})=>{const{PUBLIC_PUBLICATION_ID:r=""}=D();let o=[];const i=a==="/"||a==="/index.html"?void 0:en(tn[n]({pathname:a,config:e})),l=$o[n]??void 0,d={newstype:e.newsType,publication:Number(r),...i&&l?{query:`${l}:('${i}')`}:{}};try{const c=await Mt(d,"/news-list-summary",t);c?.data?.data?o=c.data.data:console.warn("getSchemas responded but did not contain expected data:",c)}catch(c){console.log("Error fetching schemas:",c)}return Object.keys(o).length>0&&s.jsx("script",{id:"webSiteItemListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Ue(o))}})},Ko=(e,t)=>{const a={"@context":"https://schema.org","@type":"SoftwareApplication",name:t.name??e.name,url:t.url,operatingSystem:t.operatingSystem,applicationCategory:t.applicationCategory,publisher:{"@id":`${e.siteUrl}/#organization`},offers:{"@type":"Offer",price:t.offers.price,priceCurrency:t.offers.priceCurrency},description:t.description??e.description,downloadUrl:t.downloadUrl??t.url};return t.applicationSubCategory&&(a.applicationSubCategory=t.applicationSubCategory),t.aggregateRating&&(a.aggregateRating={"@type":"AggregateRating",ratingValue:t.aggregateRating.ratingValue,ratingCount:t.aggregateRating.ratingCount,...t.aggregateRating.bestRating&&{bestRating:t.aggregateRating.bestRating}}),t.softwareVersion&&(a.softwareVersion=t.softwareVersion),t.contentRating&&(a.contentRating=t.contentRating),Ue(a)},Ya=({config:e})=>{if(!e.orgSoftware)return null;const t=Array.isArray(e.orgSoftware)?e.orgSoftware:[e.orgSoftware];return s.jsx(s.Fragment,{children:t.map((a,n)=>s.jsx("script",{id:`SoftwareApplicationSchema-${n}`,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Ko(e,a))}},n))})};function _t(e){const{PUBLIC_ASSETS_URL:t}=D();if(!t||t==="false")return e;const a=t.replace(/\/+$/,""),n=/https?:\/\/[^/\s]+\/(arte|__export)\//g;return e.replace(n,(r,o)=>`${a}/${o}/`)}const $a=async({realPath:e,config:t,BASE_URL:a,axiosApi:n,schemasCustomEndpoints:r})=>{const o=ue();let i=[];try{const l=t.socialBlockLogo?.url?new URL(t.socialBlockLogo.url).pathname:void 0,d=t.landscapeLogo?.url?new URL(t.landscapeLogo.url).pathname:void 0,c={path:e,image:d,logo:l,url:t.siteUrl+o,name:t.name,logow:t.socialBlockLogo?.width,logoh:t.socialBlockLogo?.height,authorurl:a+o+(t.paths.autor?`/${t.paths.autor}/`:"/autor/"),lang:t.lang},h=e.split("/").find(f=>["liveblogs","liveblog"].includes(f)),m=r&&r.length>0?r:h=="liveblogs"||h=="liveblog"?["/news","/news-breadcrumb","/news-liveblog"]:["/news","/news-breadcrumb"],u=t.paths.tema!==""?"/"+t.paths.tema:t.paths.tema,g=o?o+u:u;i=(await Promise.all(m.map(async f=>{const w=f==="/news-breadcrumb"?{...c,prefixtag:g}:f==="/news"&&t.schemasNewsParams?{...c,...t.schemasNewsParams}:c;return await Mt(w,f,n)}))).map(f=>f?.data?.data??[])}catch(l){console.log("Error fetching schemas:",l)}return i.map((l,d)=>s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:_t(JSON.stringify(Ue(l)))}},d))},Ka=({config:e,socials:t})=>{const a={"@context":"https://schema.org","@type":"NewsMediaOrganization","@id":`${e.siteUrl}/#organization`,name:e.name,description:e.description,email:e.email,url:e.siteUrl,logo:e.squareLogo.url,address:e.address&&Object.keys(e.address).length>0?{"@type":"PostalAddress",...e.address}:void 0,sameAs:Object.keys(t).filter(n=>t[n]?.showInSchema===void 0?t[n]?.show:t[n]?.showInSchema).map(n=>t[n]?.url)};return s.jsx("script",{id:"WebsiteOrgListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Ue(a))}})},Ja=({config:e})=>{const t={"@context":"https://schema.org","@type":"WebSite",name:e.name,url:e.siteUrl+ue(),potentialAction:{"@type":"SearchAction",target:e.siteUrl+ue()+"/"+e.paths.buscar+"?query={search_term_string}","query-input":"required name=search_term_string"}};return s.jsx("script",{id:"WebsiteListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Ue(t))}})},Za=async({realPath:e,config:t,axiosApi:a})=>{try{const n={path:e,image:t.landscapeLogo?.url?new URL(t.landscapeLogo.url).pathname:void 0,logo:t.socialBlockLogo?.url?new URL(t.socialBlockLogo.url).pathname:void 0,url:`${t.siteUrl}${ue()}`,name:t.name,logow:t.socialBlockLogo?.width,logoh:t.socialBlockLogo?.height,authorurl:`${t.siteUrl}${ue()}/autor/`},o=(await Mt(n,"/videos",a))?.data.data;return o?s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:_t(JSON.stringify(Ue(o)))}}):void 0}catch(n){return console.error("Error fetching video schemas:",n),null}},Jo="U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",Xa=e=>e?.startsWith("family=")??!1,Zo=e=>e.fontS3Url&&e.useS3Font?e.fontS3Url:e.googleFontFamily&&!Xa(e.googleFontFamily)?e.googleFontFamily:"",Xo=(e,t,a,n)=>`@font-face {
13
+ `}}),s.jsx("noscript",{children:s.jsx("iframe",{src:`https://www.googletagmanager.com/ns.html?id=${e}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]})},Aa=()=>{const{ANALYTICS_marfeel:e}=D();return e&&s.jsx("script",{type:"text/javascript",dangerouslySetInnerHTML:{__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},{})}();`}})},so=({defaultRouteName:e})=>{const{CAPTCHA_KEY:t,CONFIG_comments:a=!1,CONFIG_commentsV2:n=!1}=D();return t&&t!==""&&(e==="video"&&a&&!n||e==="news"&&a&&!n||e==="auth"||e==="anuncia"||e==="contacto")&&s.jsx("script",{src:`https://www.google.com/recaptcha/enterprise.js?render=${t}`,async:!0,defer:!0})};function et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var It={exports:{}},ao=It.exports,ba;function ya(){return ba||(ba=1,(function(e,t){(function(a,n){e.exports=n()})(ao,(function(){var a=1e3,n=6e4,r=36e5,o="millisecond",i="second",l="minute",d="hour",c="day",h="week",m="month",u="quarter",g="year",p="date",f="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var k=["th","st","nd","rd"],O=M%100;return"["+M+(k[(O-20)%10]||k[O]||k[0])+"]"}},E=function(M,k,O){var H=String(M);return!H||H.length>=k?M:""+Array(k+1-H.length).join(O)+M},S={s:E,z:function(M){var k=-M.utcOffset(),O=Math.abs(k),H=Math.floor(O/60),F=O%60;return(k<=0?"+":"-")+E(H,2,"0")+":"+E(F,2,"0")},m:function M(k,O){if(k.date()<O.date())return-M(O,k);var H=12*(O.year()-k.year())+(O.month()-k.month()),F=k.clone().add(H,m),R=O-F<0,v=k.clone().add(H+(R?-1:1),m);return+(-(H+(O-F)/(R?F-v:v-F))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:m,y:g,w:h,d:c,D:p,h:d,m:l,s:i,ms:o,Q:u}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return M===void 0}},b="en",T={};T[b]=C;var x="$isDayjsObject",P=function(M){return M instanceof V||!(!M||!M[x])},$=function M(k,O,H){var F;if(!k)return b;if(typeof k=="string"){var R=k.toLowerCase();T[R]&&(F=R),O&&(T[R]=O,F=R);var v=k.split("-");if(!F&&v.length>1)return M(v[0])}else{var U=k.name;T[U]=k,F=U}return!H&&F&&(b=F),F||!H&&b},G=function(M,k){if(P(M))return M.clone();var O=typeof k=="object"?k:{};return O.date=M,O.args=arguments,new V(O)},L=S;L.l=$,L.i=P,L.w=function(M,k){return G(M,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var V=(function(){function M(O){this.$L=$(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[x]=!0}var k=M.prototype;return k.parse=function(O){this.$d=(function(H){var F=H.date,R=H.utc;if(F===null)return new Date(NaN);if(L.u(F))return new Date;if(F instanceof Date)return new Date(F);if(typeof F=="string"&&!/Z$/i.test(F)){var v=F.match(w);if(v){var U=v[2]-1||0,j=(v[7]||"0").substring(0,3);return R?new Date(Date.UTC(v[1],U,v[3]||1,v[4]||0,v[5]||0,v[6]||0,j)):new Date(v[1],U,v[3]||1,v[4]||0,v[5]||0,v[6]||0,j)}}return new Date(F)})(O),this.init()},k.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},k.$utils=function(){return L},k.isValid=function(){return this.$d.toString()!==f},k.isSame=function(O,H){var F=G(O);return this.startOf(H)<=F&&F<=this.endOf(H)},k.isAfter=function(O,H){return G(O)<this.startOf(H)},k.isBefore=function(O,H){return this.endOf(H)<G(O)},k.$g=function(O,H,F){return L.u(O)?this[H]:this.set(F,O)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(O,H){var F=this,R=!!L.u(H)||H,v=L.p(O),U=function(ae,J){var W=L.w(F.$u?Date.UTC(F.$y,J,ae):new Date(F.$y,J,ae),F);return R?W:W.endOf(c)},j=function(ae,J){return L.w(F.toDate()[ae].apply(F.toDate("s"),(R?[0,0,0,0]:[23,59,59,999]).slice(J)),F)},Q=this.$W,B=this.$M,Y=this.$D,Z="set"+(this.$u?"UTC":"");switch(v){case g:return R?U(1,0):U(31,11);case m:return R?U(1,B):U(0,B+1);case h:var X=this.$locale().weekStart||0,ee=(Q<X?Q+7:Q)-X;return U(R?Y-ee:Y+(6-ee),B);case c:case p:return j(Z+"Hours",0);case d:return j(Z+"Minutes",1);case l:return j(Z+"Seconds",2);case i:return j(Z+"Milliseconds",3);default:return this.clone()}},k.endOf=function(O){return this.startOf(O,!1)},k.$set=function(O,H){var F,R=L.p(O),v="set"+(this.$u?"UTC":""),U=(F={},F[c]=v+"Date",F[p]=v+"Date",F[m]=v+"Month",F[g]=v+"FullYear",F[d]=v+"Hours",F[l]=v+"Minutes",F[i]=v+"Seconds",F[o]=v+"Milliseconds",F)[R],j=R===c?this.$D+(H-this.$W):H;if(R===m||R===g){var Q=this.clone().set(p,1);Q.$d[U](j),Q.init(),this.$d=Q.set(p,Math.min(this.$D,Q.daysInMonth())).$d}else U&&this.$d[U](j);return this.init(),this},k.set=function(O,H){return this.clone().$set(O,H)},k.get=function(O){return this[L.p(O)]()},k.add=function(O,H){var F,R=this;O=Number(O);var v=L.p(H),U=function(B){var Y=G(R);return L.w(Y.date(Y.date()+Math.round(B*O)),R)};if(v===m)return this.set(m,this.$M+O);if(v===g)return this.set(g,this.$y+O);if(v===c)return U(1);if(v===h)return U(7);var j=(F={},F[l]=n,F[d]=r,F[i]=a,F)[v]||1,Q=this.$d.getTime()+O*j;return L.w(Q,this)},k.subtract=function(O,H){return this.add(-1*O,H)},k.format=function(O){var H=this,F=this.$locale();if(!this.isValid())return F.invalidDate||f;var R=O||"YYYY-MM-DDTHH:mm:ssZ",v=L.z(this),U=this.$H,j=this.$m,Q=this.$M,B=F.weekdays,Y=F.months,Z=F.meridiem,X=function(J,W,_,de){return J&&(J[W]||J(H,R))||_[W].slice(0,de)},ee=function(J){return L.s(U%12||12,J,"0")},ae=Z||function(J,W,_){var de=J<12?"AM":"PM";return _?de.toLowerCase():de};return R.replace(A,(function(J,W){return W||(function(_){switch(_){case"YY":return String(H.$y).slice(-2);case"YYYY":return L.s(H.$y,4,"0");case"M":return Q+1;case"MM":return L.s(Q+1,2,"0");case"MMM":return X(F.monthsShort,Q,Y,3);case"MMMM":return X(Y,Q);case"D":return H.$D;case"DD":return L.s(H.$D,2,"0");case"d":return String(H.$W);case"dd":return X(F.weekdaysMin,H.$W,B,2);case"ddd":return X(F.weekdaysShort,H.$W,B,3);case"dddd":return B[H.$W];case"H":return String(U);case"HH":return L.s(U,2,"0");case"h":return ee(1);case"hh":return ee(2);case"a":return ae(U,j,!0);case"A":return ae(U,j,!1);case"m":return String(j);case"mm":return L.s(j,2,"0");case"s":return String(H.$s);case"ss":return L.s(H.$s,2,"0");case"SSS":return L.s(H.$ms,3,"0");case"Z":return v}return null})(J)||v.replace(":","")}))},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(O,H,F){var R,v=this,U=L.p(H),j=G(O),Q=(j.utcOffset()-this.utcOffset())*n,B=this-j,Y=function(){return L.m(v,j)};switch(U){case g:R=Y()/12;break;case m:R=Y();break;case u:R=Y()/3;break;case h:R=(B-Q)/6048e5;break;case c:R=(B-Q)/864e5;break;case d:R=B/r;break;case l:R=B/n;break;case i:R=B/a;break;default:R=B}return F?R:L.a(R)},k.daysInMonth=function(){return this.endOf(m).$D},k.$locale=function(){return T[this.$L]},k.locale=function(O,H){if(!O)return this.$L;var F=this.clone(),R=$(O,H,!0);return R&&(F.$L=R),F},k.clone=function(){return L.w(this.$d,this)},k.toDate=function(){return new Date(this.valueOf())},k.toJSON=function(){return this.isValid()?this.toISOString():null},k.toISOString=function(){return this.$d.toISOString()},k.toString=function(){return this.$d.toUTCString()},M})(),K=V.prototype;return G.prototype=K,[["$ms",o],["$s",i],["$m",l],["$H",d],["$W",c],["$M",m],["$y",g],["$D",p]].forEach((function(M){K[M[1]]=function(k){return this.$g(k,M[0],M[1])}})),G.extend=function(M,k){return M.$i||(M(k,V,G),M.$i=!0),G},G.locale=$,G.isDayjs=P,G.unix=function(M){return G(1e3*M)},G.en=T[b],G.Ls=T,G.p={},G}))})(It)),It.exports}var no=ya();const pe=et(no);var Ut={exports:{}},ro=Ut.exports,Ca;function oo(){return Ca||(Ca=1,(function(e,t){(function(a,n){e.exports=n()})(ro,(function(){return function(a,n,r){a=a||{};var o=n.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"};function l(c,h,m,u){return o.fromToBase(c,h,m,u)}r.en.relativeTime=i,o.fromToBase=function(c,h,m,u,g){for(var p,f,w,A=m.$locale().relativeTime||i,C=a.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],E=C.length,S=0;S<E;S+=1){var b=C[S];b.d&&(p=u?r(c).diff(m,b.d,!0):m.diff(c,b.d,!0));var T=(a.rounding||Math.round)(Math.abs(p));if(w=p>0,T<=b.r||!b.r){T<=1&&S>0&&(b=C[S-1]);var x=A[b.l];g&&(T=g(""+T)),f=typeof x=="string"?x.replace("%d",T):x(T,h,b.l,w);break}}if(h)return f;var P=w?A.future:A.past;return typeof P=="function"?P(f):P.replace("%s",f)},o.to=function(c,h){return l(c,h,this,!0)},o.from=function(c,h){return l(c,h,this)};var d=function(c){return c.$u?r.utc():r()};o.toNow=function(c){return this.to(d(this),c)},o.fromNow=function(c){return this.from(d(this),c)}}}))})(Ut)),Ut.exports}var io=oo();const lo=et(io);var xt={exports:{}},co=xt.exports,va;function ho(){return va||(va=1,(function(e,t){(function(a,n){e.exports=n(ya())})(co,(function(a){function n(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var r=n(a),o={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(i){return i+"º"}};return r.default.locale(o,null,!0),o}))})(xt)),xt.exports}ho();var kt={exports:{}},uo=kt.exports,Na;function mo(){return Na||(Na=1,(function(e,t){(function(a,n){e.exports=n()})(uo,(function(){var a="minute",n=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(o,i,l){var d=i.prototype;l.utc=function(f){var w={date:f,utc:!0,args:arguments};return new i(w)},d.utc=function(f){var w=l(this.toDate(),{locale:this.$L,utc:!0});return f?w.add(this.utcOffset(),a):w},d.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=d.parse;d.parse=function(f){f.utc&&(this.$u=!0),this.$utils().u(f.$offset)||(this.$offset=f.$offset),c.call(this,f)};var h=d.init;d.init=function(){if(this.$u){var f=this.$d;this.$y=f.getUTCFullYear(),this.$M=f.getUTCMonth(),this.$D=f.getUTCDate(),this.$W=f.getUTCDay(),this.$H=f.getUTCHours(),this.$m=f.getUTCMinutes(),this.$s=f.getUTCSeconds(),this.$ms=f.getUTCMilliseconds()}else h.call(this)};var m=d.utcOffset;d.utcOffset=function(f,w){var A=this.$utils().u;if(A(f))return this.$u?0:A(this.$offset)?m.call(this):this.$offset;if(typeof f=="string"&&(f=(function(b){b===void 0&&(b="");var T=b.match(n);if(!T)return null;var x=(""+T[0]).match(r)||["-",0,0],P=x[0],$=60*+x[1]+ +x[2];return $===0?0:P==="+"?$:-$})(f),f===null))return this;var C=Math.abs(f)<=16?60*f:f;if(C===0)return this.utc(w);var E=this.clone();if(w)return E.$offset=C,E.$u=!1,E;var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(E=this.local().add(C+S,a)).$offset=C,E.$x.$localOffset=S,E};var u=d.format;d.format=function(f){var w=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,w)},d.valueOf=function(){var f=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*f},d.isUTC=function(){return!!this.$u},d.toISOString=function(){return this.toDate().toISOString()},d.toString=function(){return this.toDate().toUTCString()};var g=d.toDate;d.toDate=function(f){return f==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var p=d.diff;d.diff=function(f,w,A){if(f&&this.$u===f.$u)return p.call(this,f,w,A);var C=this.local(),E=l(f).local();return p.call(C,E,w,A)}}}))})(kt)),kt.exports}var fo=mo();const go=et(fo);var Lt={exports:{}},po=Lt.exports,Sa;function wo(){return Sa||(Sa=1,(function(e,t){(function(a,n){e.exports=n()})(po,(function(){var a={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(r,o,i){var l,d=function(u,g,p){p===void 0&&(p={});var f=new Date(u),w=(function(A,C){C===void 0&&(C={});var E=C.timeZoneName||"short",S=A+"|"+E,b=n[S];return b||(b=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:A,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:E}),n[S]=b),b})(g,p);return w.formatToParts(f)},c=function(u,g){for(var p=d(u,g),f=[],w=0;w<p.length;w+=1){var A=p[w],C=A.type,E=A.value,S=a[C];S>=0&&(f[S]=parseInt(E,10))}var b=f[3],T=b===24?0:b,x=f[0]+"-"+f[1]+"-"+f[2]+" "+T+":"+f[4]+":"+f[5]+":000",P=+u;return(i.utc(x).valueOf()-(P-=P%1e3))/6e4},h=o.prototype;h.tz=function(u,g){u===void 0&&(u=l);var p,f=this.utcOffset(),w=this.toDate(),A=w.toLocaleString("en-US",{timeZone:u}),C=Math.round((w-new Date(A))/1e3/60),E=15*-Math.round(w.getTimezoneOffset()/15)-C;if(!Number(E))p=this.utcOffset(0,g);else if(p=i(A,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(E,!0),g){var S=p.utcOffset();p=p.add(f-S,"minute")}return p.$x.$timezone=u,p},h.offsetName=function(u){var g=this.$x.$timezone||i.tz.guess(),p=d(this.valueOf(),g,{timeZoneName:u}).find((function(f){return f.type.toLowerCase()==="timezonename"}));return p&&p.value};var m=h.startOf;h.startOf=function(u,g){if(!this.$x||!this.$x.$timezone)return m.call(this,u,g);var p=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return m.call(p,u,g).tz(this.$x.$timezone,!0)},i.tz=function(u,g,p){var f=p&&g,w=p||g||l,A=c(+i(),w);if(typeof u!="string")return i(u).tz(w);var C=(function(T,x,P){var $=T-60*x*1e3,G=c($,P);if(x===G)return[$,x];var L=c($-=60*(G-x)*1e3,P);return G===L?[$,G]:[T-60*Math.min(G,L)*1e3,Math.max(G,L)]})(i.utc(u,f).valueOf(),A,w),E=C[0],S=C[1],b=i(E).utcOffset(S);return b.$x.$timezone=w,b},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(u){l=u}}}))})(Lt)),Lt.exports}var Ao=wo();const bo=et(Ao);pe.extend(go),pe.extend(bo),pe.extend(lo);const Pt=e=>e==="en"?"en":"es",Ie=(e,t)=>{const{PUBLIC_LNG:a,DATE_TIMEZONE:n}=t||D(),r=Pt(a??"es");return pe.tz(e,n).locale(r).format("DD MMMM YYYY")},ht=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),n=Pt(t??"es");return pe.tz(e,a).locale(n).format(n==="en"?"MMMM DD YYYY [•] HH:mm [hs]":"DD [de] MMMM YYYY [•] HH:mm [hs]")},Ea=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),n=Pt(t??"es");return pe.tz(e,a).locale(n).format("MM/DD/YYYY [•] HH:mm [HS]")},yo=e=>{const{PUBLIC_LNG:t,DATE_TIMEZONE:a}=D(),n=Pt(t??"es");return pe.tz(e,a).locale(n).format("dddd DD [de] MMMM YYYY")},je=(e,t)=>{if(!e)return"";const a=new Date(e),r=new Intl.DateTimeFormat("en-CA",{timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts(a),o={};r.forEach(g=>{g.type!=="literal"&&(o[g.type]=g.value)});const i=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),d=(new Date(a.toLocaleString("en-US",{timeZone:t})).getTime()-i.getTime())/6e4,c=d>=0?"+":"-",h=g=>String(Math.floor(Math.abs(g))).padStart(2,"0"),m=h(d/60),u=h(d%60);return`${o.year}-${o.month}-${o.day}T${o.hour}:${o.minute}:${o.second}${c}${m}:${u}`},Be=(e,t=136)=>e&&e.length>t?`${e.substring(0,t)}...`:e;function ze(e){return e&&e.status==="fulfilled"?e.value.data:null}function Ta(e){return e&&e.status==="fulfilled"?e.value:null}const Co={url:"",target:"_self",canonical:!1,internal:""},vo={date:"",created:0,modified:0,firstpublish:0,lastpublish:0};function No(e){return e==null?"":typeof e=="string"?e:e.article??e.home??e.section??e.seo??""}const tt=(e,t,a,n)=>{const r=No(e?.main?.title),o=e?.main?.description??"";return{authors:e?.main?.author?[{firstname:"",lastname:"",fullname:typeof e.main.author=="string"?e.main.author:String(e.main.author??"Redacción"),image:{sizes:[],description:""},name:"",internaluser:!1}]:[],social:{description:"",images:{facebook:"",twitter:""},title:""},info:{date:{...vo,...e?.info?.date},link:e?.info?.link??Co},preview:{sizes:e?.main?.image?.sizes??[],description:e?.main?.image?.description??""},config:{showtime:t??!1,showsubtitle:a??!1,showauthor:!!(n&&e?.main?.author)},main:{title:{article:r,home:r,seo:r,section:r},subtitle:{rendered:o,striped:o},tags:[]}}},Ia=/<div\b[^>]*class=["'][^"']*\bck-related-news\b[^"']*["'][^>]*>/gi;function Ot(e){if(!e?.body?.rendered)return[];const t=e.body.rendered,a=[];let n=0;for(;n<t.length;){Ia.lastIndex=n;const r=Ia.exec(t);if(!r)break;const o=r.index+r[0].length;let i=1,l=o,d=o;for(;l<t.length&&i>0;){const g=t.slice(l),p=g.match(/<div\b/i),f=g.match(/<\/div>/i),w=p?.index??-1,A=f?.index??-1;if(A===-1)break;const C=w===-1?1/0:l+w,E=l+A;w!==-1&&w<A?(i+=1,l=C+p[0].length):(i-=1,d=E,l=E+f[0].length)}const c=t.slice(o,d),h=[],m=/<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;let u;for(;(u=m.exec(c))!==null;){const g=u[1];g&&h.push(g)}h.length>0&&a.push(h),n=l}return a}const So=Ot,Ua=async(e,t)=>{const a=[];return e.forEach(o=>{o.forEach(i=>{const l=t({path:i.replaceAll("|","/"),imagesizes:"w:212,h:142,t:2;w:100,h:100,t:2",exclude:"config,keywords,authors,body,related,relatedexternal,social,external,hascontent,customfields,pixel"});l&&a.push(l)})}),(await Promise.allSettled(a)).map(o=>ze(o)?.data)},We=()=>{const{PUBLIC_ENV:e,PUBLIC_API_HOST:t,PUBLIC_ASSETS_URL:a}=D();return e=="local"&&(!a||a==="false")?t:a&&a!=="false"?a:""},Eo=()=>{const{PUBLIC_ENV:e,PUBLIC_API_FRONT:t}=D();return e==="local"?t:""},xa=e=>e.replace(/^https?:?\/\/[^/]+/,""),To=e=>{if(!e?.preview?.length)return null;const t=e.preview;return t.find(a=>a.format==="1.91:1")??t[t.length-1]},ka=({schemaImage:e,socialImage:t,fallbackImage:a,prefix:n,defaultWidth:r,defaultHeight:o,alt:i})=>e?.url?{url:n+e.url,width:e.width,height:e.height,alt:i}:{url:n+(t??a??""),width:r,height:o,alt:i},La=(e,t,a,n)=>{if(!t)return{};const{PUBLIC_ASSETS_URL:r,PUBLIC_API_FRONT:o,DATE_TIMEZONE:i="America/Mexico_City"}=D(),l=As(t.keywords)??"",d=t?.preview?.sizes?t?.preview?.sizes[0]?.url:"",c=(r!=="false"?r:o)??"",h=To(n),m=t.main.title.article,u=ka({schemaImage:h,socialImage:t?.social?.images?.facebook,fallbackImage:d,prefix:c,defaultWidth:a.landscapeLogo.width,defaultHeight:a.landscapeLogo.height,alt:n?.description??m}),g=ka({schemaImage:h,socialImage:t?.social?.images?.twitter,fallbackImage:d,prefix:c,defaultWidth:a.twitterSummaryCard.width,defaultHeight:a.twitterSummaryCard.height,alt:n?.description??m});return{title:(t?.main?.title?.seo??t?.main?.title?.article)+" | "+a.name,robots:"index, follow, max-image-preview:large",alternates:{types:{"application/rss+xml":(a.siteUrl??"")+"/rss/feed.xml"},canonical:t?.info?.link?.canonical},description:t?.main?.subtitle?.striped??"",news_keywords:l,keywords:l,openGraph:{title:t?.social?.title?t?.social?.title:t?.main?.title?.article,url:t?.info?.link?.canonical,type:"article",description:t?.social?.description?t?.social?.description:t?.main?.subtitle?.striped??"",images:[u],siteName:a.name.toLocaleUpperCase(),locale:a.lang.startsWith("en")?"en_US":a.lang==="es"?"es_LA":a.lang.replace("-","_")},twitter:{title:t?.main?.title?.article,card:"summary_large_image",site:e.twitter.site,description:t?.main?.subtitle?.striped??"",images:[g]},article:{published_time:je(t?.info?.date?.firstpublish,i),modified_time:je(t?.info?.date?.lastpublish??t?.info?.date?.firstpublish,i),section:t?.info?.section?.name,author:t?.authors?.[0]?.fullname,tag:t?.keywords?.tags??[]}}},As=e=>!e||!e?.tags||e?.tags?.length===0?"":e?.tags?.map(t=>t.name).join(", ").replaceAll('"',"'").replaceAll("`","'"),Pa=e=>{const t=e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);return t?{slug:t[1]??"",path:t[2]??""}:{slug:"",path:""}},Oa=e=>e.replaceAll("/","").replaceAll("_","").replace(".html",""),Io={description:{attr:"name",value:"description"},robots:{attr:"name",value:"robots"},keywords:{attr:"name",value:"keywords"},news_keywords:{attr:"name",value:"news_keywords"},"openGraph.title":{attr:"property",value:"og:title"},"openGraph.description":{attr:"property",value:"og:description"},"openGraph.type":{attr:"property",value:"og:type"},"openGraph.url":{attr:"property",value:"og:url"},"openGraph.siteName":{attr:"property",value:"og:site_name"},"openGraph.locale":{attr:"property",value:"og:locale"},"twitter.card":{attr:"name",value:"twitter:card"},"twitter.title":{attr:"name",value:"twitter:title"},"twitter.description":{attr:"name",value:"twitter:description"},"twitter.site":{attr:"name",value:"twitter:site"},"twitter.domain":{attr:"name",value:"twitter:domain"},"twitter.url":{attr:"name",value:"twitter:url"}},Ba=e=>{const t=[];let a=0;const n=i=>t.push(i);return e.title&&typeof e.title=="string"&&n(s.jsx("title",{children:e.title},`title-${a++}`)),Object.entries(Io).forEach(([i,l])=>{const d=i.split(".").reduce((c,h)=>c?.[h],e);d&&n(s.jsx("meta",{[l.attr]:l.value,content:String(d)},`meta-${a++}`))}),(e.openGraph?.images?Array.isArray(e.openGraph.images)?e.openGraph.images:[e.openGraph.images]:[]).forEach(i=>{i&&(typeof i=="string"?n(s.jsx("meta",{property:"og:image",content:i},`og-img-${a++}`)):(i.url&&n(s.jsx("meta",{property:"og:image",content:i.url},`og-img-${a++}`)),i.width&&n(s.jsx("meta",{property:"og:image:width",content:String(i.width)},`og-img-w-${a++}`)),i.height&&n(s.jsx("meta",{property:"og:image:height",content:String(i.height)},`og-img-h-${a++}`)),i.alt&&n(s.jsx("meta",{property:"og:image:alt",content:String(i.alt)},`og-img-alt-${a++}`))))}),(e.twitter?.images?Array.isArray(e.twitter.images)?e.twitter.images:[e.twitter.images]:[]).forEach(i=>{i&&(typeof i=="string"?n(s.jsx("meta",{name:"twitter:image",content:i},`tw-img-${a++}`)):(i.url&&n(s.jsx("meta",{name:"twitter:image",content:i.url},`tw-img-${a++}`)),i.width&&n(s.jsx("meta",{name:"twitter:image:width",content:String(i.width)},`tw-img-w-${a++}`)),i.height&&n(s.jsx("meta",{name:"twitter:image:height",content:String(i.height)},`tw-img-h-${a++}`)),i.alt&&n(s.jsx("meta",{name:"twitter:image:alt",content:String(i.alt)},`tw-img-alt-${a++}`))))}),e.article&&(n(s.jsx("meta",{property:"article:published_time",content:e.article.published_time})),n(s.jsx("meta",{property:"article:modified_time",content:e.article.modified_time})),n(s.jsx("meta",{property:"article:section",content:e.article.section})),n(s.jsx("meta",{property:"article:author",content:e.article.author})),Array.isArray(e.article.tag)&&e.article.tag.length>0&&e.article.tag.forEach(i=>{n(s.jsx("meta",{property:"article:tag",content:i.name}))})),e.alternates?.canonical&&n(s.jsx("link",{rel:"canonical",href:String(e.alternates.canonical)},`link-${a++}`)),e.manifest&&n(s.jsx("link",{rel:"manifest",href:String(e.manifest)},`link-${a++}`)),e.alternates?.types&&Object.entries(e.alternates.types).forEach(([i,l])=>{typeof l=="string"&&n(s.jsx("link",{rel:"alternate",type:i,href:l},`alt-${a++}`))}),e.icons&&[...e.icons?.icon??[],...e.icons?.other??[]].forEach(l=>{l&&n(typeof l=="string"?s.jsx("link",{rel:"icon",href:l},`icon-${a++}`):s.jsx("link",{rel:l.rel||"icon",href:l.url,...l.type&&{type:l.type},...l.sizes&&{sizes:l.sizes}},`icon-${a++}`))}),e.other&&Object.entries(e.other).forEach(([i,l])=>{l&&n(s.jsx("meta",{name:i,content:String(l)},`other-${a++}`))}),t},he=async e=>{const t=We()??"",a=e;return a?.startsWith("http")||a?.includes(t)||t===""?a:t+a},ut=(e,t)=>{const a=e||"";return t?a.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]"]??"")||"":a||""},Uo=/\[(?:general|seccion:[^\]]+|tema:\d+)\][\s\S]*?\[\/(?:general|seccion:[^\]]+|tema:\d+)\]/i,xo=/\[(general|seccion:[^\]]+|tema:\d+)\]([\s\S]*?)\[\/\1\]/gi,ko=e=>!e||e.type==="general"?"general":e.type==="seccion"?`seccion:${e.value}`.toLowerCase():`tema:${e.value}`,Bt=(e,t)=>{const a=e||"";if(!Uo.test(a))return a;const n=new Map;for(const l of a.matchAll(xo)){const d=l[1]?.toLowerCase(),c=l[2];d&&c!==void 0&&!n.has(d)&&n.set(d,c)}if(n.size===0)return a;const r=ko(t),o=n.get(r);if(o!==void 0)return o;const i=n.get("general");return i!==void 0?i:""},Lo=e=>{const t={};if(!e)return t;const a=/([^\s=]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s"'>]+)))?/g;let n;for(;n=a.exec(e);){const r=n[1],o=n[2]??n[3]??n[4]??!0;t[r]=o}return t},Po=e=>{const t=e.match(/\bsrc\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i);return t?.[1]||t?.[2]||t?.[3]||null},Ma=(e,t,a,n)=>{try{const r=Lo(e);return r.src?s.jsx("script",{"data-bs-name":n,...r},a):s.jsx("script",{...r,dangerouslySetInnerHTML:{__html:t}},a)}catch{const o=Po(e);return o?s.jsx("script",{"data-bs-name":n,src:o,async:!0,defer:!0},a):null}},Oo=e=>{const t=/<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/gi;return[...e.matchAll(t)]},bs=e=>{const t=e.banners.find(r=>r.key===e.name);if(!t||!t.show)return null;const a=ut(t.value||"",e.replaces),n=Oo(a);return s.jsx(s.Fragment,{children:n.map((r,o)=>{const i=r[1]||r[3]||"",l=r[2]?.trim()||"";return Ma(i,l,o,e.name)})})},_a=e=>{const t=e.banners.find(r=>r.key===e.name);if(!t||!t.show)return null;const n=ut(t.value||"",e.replaces).split(/(<script\b[\s\S]*?<\/script\s*>|<script\b[^>]*\/?>)/gi);return s.jsx(s.Fragment,{children:n.map((r,o)=>{const i=r.match(/<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/i);if(i){const l=i[1]||i[3]||"",d=i[2]?.trim()||"";return Ma(l,d,o,e.name)}return r.trim()&&/<[a-zA-Z]/.test(r)?s.jsx("div",{dangerouslySetInnerHTML:{__html:r}},o):null})})},st=(e,t,a)=>{let n=e.siteUrl;return t.forEach((r,o)=>{o>0&&(n+=`/${r}`)}),`${n}/page/${a+1}`},at=(e,t,a)=>{let n=e.siteUrl;return t.forEach((r,o)=>{o>0&&(n+=`/${r}`)}),`${n}/page/${a-1}`};function Bo(e){const t=e.length;return t>1&&e.charCodeAt(t-1)===47?e.slice(0,t-1):e}const Da=()=>{const{PUBLIC_ASSETS_URL:e}=D();return e&&e!=="false"&&s.jsx("link",{rel:"preconnect",href:e,crossOrigin:"anonymous"})},ys=({images:e})=>s.jsx(s.Fragment,{children:e.map((t,a)=>t.href!==""&&s.jsx("link",{rel:"preload",href:t.href,media:t.media??"",as:"image",fetchPriority:t.fetchPriority??"high"},a))}),qa=(e,t,a)=>{if(!t)return{};const{PUBLIC_API_FRONT:n}=D();return{title:t?.main?.title+" | "+a.name,robots:"index, follow, max-image-preview:large",alternates:{canonical:a.siteUrl+t?.info?.link?.url},description:t.main.description??"",news_keywords:t.main.tags,keywords:t.main.tags,openGraph:{title:t.main.title,url:t?.info?.link?.canonical,type:"video.other",description:t.main.description??"",images:[{url:(n??"")+t?.main.image.sizes[0]?.url,width:a.landscapeLogo.width,height:a.landscapeLogo.height}],siteName:a.name.toLocaleUpperCase(),locale:a.lang.startsWith("en")?"en_US":a.lang==="es"?"es_LA":a.lang.replace("-","_")},twitter:{title:t?.main?.title,card:"summary_large_image",site:e.twitter.site,description:t?.main.description??"",images:[{url:(n??"")+t?.main.image.sizes[0]?.url,width:a.twitterSummaryCard.width,height:a.twitterSummaryCard.height}]}}},Mo=e=>{let t="";if(e.params.news.match(/.*t[0-9]*.html/g)){const a=e.params.news.split("-"),n=a[a.length-1]??"",r=n.substring(1,9),o=n.substring(9,13);t=`/listas/${pe(r).format("YYYY/MM/DD")}/lista_${o}.html`}else if(e.params.news.match(/.*lb[0-9]*.html/g)){const a=e.params.news.split("-"),n=a[a.length-1]??"",r=n.substring(2,10),o=n.substring(10,14);t=`/liveblog/${pe(r).format("YYYY/MM/DD")}/liveblog_${o}.html`}else{const n=e.params.news.replace(/\.html$/g,"").split("-");Array.isArray(n)&&(t=`/contenidos/${pe(n[n.length-2]).format("YYYY/MM/DD")}/noticia_${n[n.length-1]}.html`)}return e.config.servicePrefix+t};function _o(e){const t=e.lastIndexOf("-"),a=t>=0?[e.slice(0,t),e.slice(t+1)]:[e],n=a[a.length-1]?.split("."),r=n&&n[0]?n[0]:"",o=r.substring(0,2),i=r.substring(2,10),l=r.substring(10);return{path:{vy:c=>`/videos/video-youtube/${pe(i).format("YYYY/MM/DD")}/videoYouTube_${c}.lnk`,ve:c=>`/videos/video-embedded/${pe(i).format("YYYY/MM/DD")}/videoEmbedded_${c}.lnk`,vf:c=>`/videos/video-flash/${pe(i).format("YYYY/MM/DD")}/${a[0]}.${c}`}[o]?.(l)??"",op:o}}const Fe=(e,t)=>{const a=e.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ñ/g,"n").replace(/Ñ/g,"n").replace(/[^\w\s]/gi,"").replaceAll(" ","-").toLowerCase();return t?.tema?`/${t.tema}/${a}-t${e.id}`:`/${a}-t${e.id}`},Do=e=>{const{AssetsPrefix:t="",AssetsPath:a="src",isDev:n=!1}=e;return n?"src":t+a},qo=async(e,t,a,n)=>{const{FETCH_TAG_BASED_RELATED_NEWS:r=!1,FETCH_SIZE_RELATED_NEWS:o=10}=D();if(!e)return[];try{if(e.related&&e.related?.automatic===!1&&e.related?.news&&e.related?.news.length>0)return(await a.getNewsListPath({path:e.related.news.map(l=>l.path).join(";"),exclude:"gallery,related,relatedexternal,external,customfields",imagesizes:n.md}))?.data?.data??[];{const i=e&&e.keywords&&e.keywords.tags&&e.keywords.tags[0];return((e?i&&r?await a.getNewsListAvanced({query:'claves:("'+e.keywords?.tags[0].name+'")',exclude:"gallery,related,relatedexternal,external,customfields",imagesizes:n.md,size:o+1}):await a.getNewsItemsRelated(t.split("/").join("|"),{size:o}):null)?.data?.data??[]).filter(c=>c.info.link.internal!==t.split("/").join("|"))}}catch(i){console.log(i)}},Go="https://recaptchaenterprise.googleapis.com/v1/projects",jo=async({projectID:e,recaptchaKey:t,token:a,recaptchaAction:n,apiKey:r,userAgent:o,userIpAddress:i})=>{if(!e||!t||!a||!r)return console.warn("createAssessment: faltan parámetros requeridos"),null;const l=`${Go}/${e}/assessments?key=${r}`,d={event:{token:a,siteKey:t,expectedAction:n,...o&&{userAgent:o},...i&&{userIpAddress:i}}};try{const c=await fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(d)});if(!c.ok)return console.error("createAssessment API error:",c.status,await c.text()),null;const h=await c.json();if(!h?.tokenProperties?.valid)return console.log(`CreateAssessment falló - token inválido: ${h?.tokenProperties?.invalidReason??"unknown"}`),null;if(h.tokenProperties.action!==n)return console.log("La acción en reCAPTCHA no coincide con la esperada:",n),null;const m=h?.riskAnalysis?.score;return m!==void 0&&(console.log("reCAPTCHA score:",m),h?.riskAnalysis?.reasons?.forEach(u=>console.log(u))),typeof m=="number"?m:null}catch(c){return console.error("createAssessment error:",c),null}};function Fo(e,t){if(t==="comentarios")return;const a=e[t];return typeof a=="string"||a===void 0?a:void 0}const Ho=e=>e?.body?.rendered.includes("ck-image-gallery")||e?.config?.articlepreview==="fotogaleria"&&e?.hascontent?.hasgalleryimages;function Vo(e){const t={};for(const[a,n]of Object.entries(e)){const r=btoa(a).split("").reverse().join("");typeof n=="string"?t[r]=btoa(n).split("").reverse().join(""):t[r]=n}return t}function Cs(e){const t={};for(const[a,n]of Object.entries(e)){const r=atob(a.split("").reverse().join(""));if(typeof n=="string")try{t[r]=atob(n.split("").reverse().join(""))}catch{t[r]=n}else t[r]=n}return t}const Qo=async(e,t,a)=>{const{info:n,preview:r}=e,o=e?.config?.homepreview||"imagen",i=o==="clip"&&e?.hascontent?.hasgalleryvideosflash,l={...r};if(o==="videoYouTube"||o==="videoEmbedded"||i){const d=await t.getNewsMultimedia({path:n.link.internal,imagesizes:a});if(d&&d.data)return{...e,preview:l,videos:d.data.data[0].videos??[]}}if(o==="fotogaleria"){const d=await t.getNewsMultimedia({path:n.link.internal,imagesizes:a});if(d&&d.data){const c=await Promise.all(d.data.data[0].gallery.map(async h=>({...h})));return{...e,preview:l,gallery:c??[]}}}return{...e,preview:l}};function zo(e=D()){const{PUBLIC_SERVICE_PREFIX:t}=e;return t&&t!=="false"?"/"+t:""}function ue(e=D()){const{PUBLIC_SERVICE_PREFIX:t,PUBLIC_IS_SUB_PUBLICATION:a,FORCE_SUB_PUBLICATION_PREFIX:n}=e;return n&&n!==""?"/"+n:t&&t!=="false"&&a&&a!=="false"?"/"+t:""}const Ga=e=>e==="/"||e==="/index.html",Wo=new Set(["@type","@context"]),ja=e=>{if(e==null)return!0;if(typeof e=="string")return e.trim()==="";if(Array.isArray(e))return e.length===0;if(typeof e=="object"){const t=Object.keys(e);return t.length===0?!0:t.every(a=>Wo.has(a))}return!1},Ue=e=>{if(Array.isArray(e))return e.map(t=>Ue(t)).filter(t=>!ja(t));if(e&&typeof e=="object"){const t={};for(const[a,n]of Object.entries(e)){const r=Ue(n);ja(r)||(t[a]=r)}return t}return e},Fa={prefetch:[{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:".nota-prerender"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"}]},eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}]},Ha={prefetch:[{urls:["/"],eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:".nota-prerender"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"}]},eagerness:"eager"},{where:{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},eagerness:"moderate"}]},Va={prefetch:[{urls:["/"],eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:"#content-news-section a"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},Qa={prefetch:[{urls:["/"],eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}],prerender:[{where:{and:[{selector_matches:"#block-notes-list a"},{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"eager"},{where:{and:[{href_matches:"/*(-[0-9]{8}-[0-9]{4,6}|lb[0-9]{12,14}|t[0-9]{12,14}).html"},{not:{selector_matches:"[rel~=nofollow]"}}]},eagerness:"moderate"}]},Yo={Home:Fa,Common:Ha,Nota:Va,NotaLista:Qa},za=({active:e,type:t,customSpeculation:a})=>{const n=a||Yo[t];return e&&s.jsx("script",{type:"speculationrules",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})},Mt=async(e,t,a)=>{if(a)return a.get(`/schemas${t}`,{params:e}).catch(n=>{console.log(`[/schemas${t}] Error: ${n.message}`)})},$o={autor:"autor",seccion:"seccion",tema:"claves","ultimas-noticias":"seccion"},Wa=async({config:e,axiosApi:t,pathname:a,ROUTE:n})=>{const{PUBLIC_PUBLICATION_ID:r=""}=D();let o=[];const i=a==="/"||a==="/index.html"?void 0:en(tn[n]({pathname:a,config:e})),l=$o[n]??void 0,d={newstype:e.newsType,publication:Number(r),...i&&l?{query:`${l}:('${i}')`}:{}};try{const c=await Mt(d,"/news-list-summary",t);c?.data?.data?o=c.data.data:console.warn("getSchemas responded but did not contain expected data:",c)}catch(c){console.log("Error fetching schemas:",c)}return Object.keys(o).length>0&&s.jsx("script",{id:"webSiteItemListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Ue(o))}})},Ko=(e,t)=>{const a={"@context":"https://schema.org","@type":"SoftwareApplication",name:t.name??e.name,url:t.url,operatingSystem:t.operatingSystem,applicationCategory:t.applicationCategory,publisher:{"@id":`${e.siteUrl}/#organization`},offers:{"@type":"Offer",price:t.offers.price,priceCurrency:t.offers.priceCurrency},description:t.description??e.description,downloadUrl:t.downloadUrl??t.url};return t.applicationSubCategory&&(a.applicationSubCategory=t.applicationSubCategory),t.aggregateRating&&(a.aggregateRating={"@type":"AggregateRating",ratingValue:t.aggregateRating.ratingValue,ratingCount:t.aggregateRating.ratingCount,...t.aggregateRating.bestRating&&{bestRating:t.aggregateRating.bestRating}}),t.softwareVersion&&(a.softwareVersion=t.softwareVersion),t.contentRating&&(a.contentRating=t.contentRating),Ue(a)},Ya=({config:e})=>{if(!e.orgSoftware)return null;const t=Array.isArray(e.orgSoftware)?e.orgSoftware:[e.orgSoftware];return s.jsx(s.Fragment,{children:t.map((a,n)=>s.jsx("script",{id:`SoftwareApplicationSchema-${n}`,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Ko(e,a))}},n))})};function _t(e){const{PUBLIC_ASSETS_URL:t}=D();if(!t||t==="false")return e;const a=t.replace(/\/+$/,""),n=/https?:\/\/[^/\s]+\/(arte|__export)\//g;return e.replace(n,(r,o)=>`${a}/${o}/`)}const $a=async({realPath:e,config:t,BASE_URL:a,axiosApi:n,schemasCustomEndpoints:r})=>{const o=ue();let i=[];try{const l=t.socialBlockLogo?.url?new URL(t.socialBlockLogo.url).pathname:void 0,d=t.landscapeLogo?.url?new URL(t.landscapeLogo.url).pathname:void 0,c={path:e,image:d,logo:l,url:t.siteUrl,name:t.name,logow:t.socialBlockLogo?.width,logoh:t.socialBlockLogo?.height,authorurl:a+o+(t.paths.autor?`/${t.paths.autor}/`:"/autor/"),lang:t.lang},h=e.split("/").find(f=>["liveblogs","liveblog"].includes(f)),m=r&&r.length>0?r:h=="liveblogs"||h=="liveblog"?["/news","/news-breadcrumb","/news-liveblog"]:["/news","/news-breadcrumb"],u=t.paths.tema!==""?"/"+t.paths.tema:t.paths.tema,g=o?o+u:u;i=(await Promise.all(m.map(async f=>{const w=f==="/news-breadcrumb"?{...c,prefixtag:g}:f==="/news"&&t.schemasNewsParams?{...c,...t.schemasNewsParams}:c;return await Mt(w,f,n)}))).map(f=>f?.data?.data??[])}catch(l){console.log("Error fetching schemas:",l)}return i.map((l,d)=>s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:_t(JSON.stringify(Ue(l)))}},d))},Ka=({config:e,socials:t})=>{const a={"@context":"https://schema.org","@type":"NewsMediaOrganization","@id":`${e.siteUrl}/#organization`,name:e.name,description:e.description,email:e.email,url:e.siteUrl,logo:e.squareLogo.url,address:e.address&&Object.keys(e.address).length>0?{"@type":"PostalAddress",...e.address}:void 0,sameAs:Object.keys(t).filter(n=>t[n]?.showInSchema===void 0?t[n]?.show:t[n]?.showInSchema).map(n=>t[n]?.url)};return s.jsx("script",{id:"WebsiteOrgListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Ue(a))}})},Ja=({config:e})=>{const t={"@context":"https://schema.org","@type":"WebSite",name:e.name,url:e.siteUrl,potentialAction:{"@type":"SearchAction",target:e.siteUrl+ue()+"/"+e.paths.buscar+"?query={search_term_string}","query-input":"required name=search_term_string"}};return s.jsx("script",{id:"WebsiteListSchema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Ue(t))}})},Za=async({realPath:e,config:t,axiosApi:a})=>{try{const n={path:e,image:t.landscapeLogo?.url?new URL(t.landscapeLogo.url).pathname:void 0,logo:t.socialBlockLogo?.url?new URL(t.socialBlockLogo.url).pathname:void 0,url:t.siteUrl,name:t.name,logow:t.socialBlockLogo?.width,logoh:t.socialBlockLogo?.height,authorurl:`${t.siteUrl}${ue()}${t.paths.autor?`/${t.paths.autor}/`:"/autor/"}`},o=(await Mt(n,"/videos",a))?.data.data;return o?s.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:_t(JSON.stringify(Ue(o)))}}):void 0}catch(n){return console.error("Error fetching video schemas:",n),null}},Jo="U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",Xa=e=>e?.startsWith("family=")??!1,Zo=e=>e.fontS3Url&&e.useS3Font?e.fontS3Url:e.googleFontFamily&&!Xa(e.googleFontFamily)?e.googleFontFamily:"",Xo=(e,t,a,n)=>`@font-face {
14
14
  font-family: '${e.fontName}';
15
15
  font-style: normal;
16
16
  font-weight: ${e.fontWeight};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sass-template-common",
3
- "version": "0.9.202",
3
+ "version": "0.9.203",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"