sass-template-common 0.0.84 → 0.0.86

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.
@@ -49,7 +49,7 @@ const Zs = ({ id: e }) => e && /* @__PURE__ */ a(
49
49
  }
50
50
  )
51
51
  ] });
52
- }, Jg = ({ id: e }) => /* @__PURE__ */ m(Q, { children: [
52
+ }, Zg = ({ id: e }) => /* @__PURE__ */ m(Q, { children: [
53
53
  /* @__PURE__ */ a(
54
54
  "script",
55
55
  {
@@ -593,7 +593,7 @@ let On = {
593
593
  PUBLIC_ASSETS_URL: "false",
594
594
  PUBLIC_BUILD_ID: "123456789"
595
595
  };
596
- function Zg(e = {}) {
596
+ function Xg(e = {}) {
597
597
  On = { ...On, ...e };
598
598
  }
599
599
  function J() {
@@ -604,7 +604,7 @@ ge.extend(wo);
604
604
  ge.extend(ro);
605
605
  const gn = "America/Mexico_City", { PUBLIC_LNG: yo } = J(), It = yo === "en" ? "en" : "es", Te = (e) => ge.tz(e, gn).locale(It).format("DD MMMM YYYY"), Xa = (e) => ge.tz(e, gn).locale(It).format(
606
606
  It === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
607
- ), Co = (e) => ge.tz(e, gn).locale(It).format("MM/DD/YYYY [•] HH:mm [HS]"), Xg = (e) => ge.tz(e, gn).locale(It).format("dddd DD [de] MMMM YYYY"), ye = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
607
+ ), Co = (e) => ge.tz(e, gn).locale(It).format("MM/DD/YYYY [•] HH:mm [HS]"), e9 = (e) => ge.tz(e, gn).locale(It).format("dddd DD [de] MMMM YYYY"), ye = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
608
608
  function bo(e) {
609
609
  return e && e.status === "fulfilled" ? e.value.data : null;
610
610
  }
@@ -644,7 +644,7 @@ const Tt = (e, t, n) => ({
644
644
  tags: []
645
645
  }
646
646
  });
647
- function e9(e) {
647
+ function t9(e) {
648
648
  const t = [], n = e.match(
649
649
  /<div[^>]*class=["'][^"']*ck-related-news[^"']*["'][^>]*>[\s\S]*?<\/div>/gi
650
650
  );
@@ -908,7 +908,7 @@ const rn = () => {
908
908
  i > 0 && (s += `/${o}`);
909
909
  }), `${s}/page/${n - 1}`;
910
910
  };
911
- function t9(e) {
911
+ function n9(e) {
912
912
  const t = e.length;
913
913
  return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
914
914
  }
@@ -967,7 +967,7 @@ const Io = () => {
967
967
  ]
968
968
  }
969
969
  };
970
- }, n9 = (e) => {
970
+ }, a9 = (e) => {
971
971
  let t = "";
972
972
  if (e.params.news.match(/.*t[0-9]*.html/g)) {
973
973
  const n = e.params.news.split("-"), s = n[n.length - 1] ?? "", o = s.substring(1, 9), i = s.substring(9, 13);
@@ -985,7 +985,7 @@ const Io = () => {
985
985
  }
986
986
  return e.config.servicePrefix + t;
987
987
  };
988
- function a9(e) {
988
+ function s9(e) {
989
989
  const t = e.split("-"), n = t[t.length - 1]?.split("."), s = n && n[0] ? n[0] : "", o = s.substring(0, 2), i = s.substring(2, 10), r = s.substring(10);
990
990
  return { path: {
991
991
  vy: (c) => `/videos/video-youtube/${ge(i).format(
@@ -1295,7 +1295,7 @@ const Oo = async ({
1295
1295
  }, Qt = (e) => {
1296
1296
  const t = e.split("/"), n = t[t.length - 1] ?? "1";
1297
1297
  return Number(n) > 0 ? Number(n) : 1;
1298
- }, s9 = (e, t = 2) => {
1298
+ }, o9 = (e, t = 2) => {
1299
1299
  if (!e || e.length === 0) return [];
1300
1300
  const n = [];
1301
1301
  for (let s = 0; s < t; s++) {
@@ -1308,7 +1308,7 @@ const Oo = async ({
1308
1308
  }
1309
1309
  return n;
1310
1310
  };
1311
- class o9 {
1311
+ class i9 {
1312
1312
  exclude = "keywords,gallery,related,relatedexternal,external,customfields";
1313
1313
  config = {};
1314
1314
  imgSizes = {};
@@ -3174,22 +3174,22 @@ Y.getAdapter = Ns.getAdapter;
3174
3174
  Y.HttpStatusCode = zn;
3175
3175
  Y.default = Y;
3176
3176
  const {
3177
- Axios: l9,
3178
- AxiosError: c9,
3179
- CanceledError: d9,
3180
- isCancel: u9,
3181
- CancelToken: m9,
3182
- VERSION: h9,
3183
- all: f9,
3184
- Cancel: g9,
3185
- isAxiosError: p9,
3186
- spread: A9,
3187
- toFormData: w9,
3188
- AxiosHeaders: y9,
3189
- HttpStatusCode: C9,
3190
- formToJSON: b9,
3191
- getAdapter: v9,
3192
- mergeConfig: _9
3177
+ Axios: c9,
3178
+ AxiosError: d9,
3179
+ CanceledError: u9,
3180
+ isCancel: m9,
3181
+ CancelToken: h9,
3182
+ VERSION: f9,
3183
+ all: g9,
3184
+ Cancel: p9,
3185
+ isAxiosError: A9,
3186
+ spread: w9,
3187
+ toFormData: y9,
3188
+ AxiosHeaders: C9,
3189
+ HttpStatusCode: b9,
3190
+ formToJSON: v9,
3191
+ getAdapter: _9,
3192
+ mergeConfig: N9
3193
3193
  } = Y;
3194
3194
  class Se {
3195
3195
  constructor(t) {
@@ -3332,7 +3332,7 @@ class br extends Se {
3332
3332
  return { blockSass: n.data.data };
3333
3333
  };
3334
3334
  }
3335
- class N9 {
3335
+ class S9 {
3336
3336
  issuuApi = "https://api.issuu.com/v2";
3337
3337
  api = void 0;
3338
3338
  constructor(t) {
@@ -3368,7 +3368,7 @@ class N9 {
3368
3368
  }
3369
3369
  }
3370
3370
  }
3371
- const S9 = async (e, t, n, s, o, i) => {
3371
+ const x9 = async (e, t, n, s, o, i) => {
3372
3372
  const r = new br({
3373
3373
  config: t,
3374
3374
  imgSizes: n,
@@ -3397,7 +3397,7 @@ const S9 = async (e, t, n, s, o, i) => {
3397
3397
  }, vr = (e) => {
3398
3398
  const t = bo(e);
3399
3399
  return t && t.data ? t.data : t;
3400
- }, x9 = async (e) => {
3400
+ }, E9 = async (e) => {
3401
3401
  const t = await Promise.allSettled(
3402
3402
  Object.values(e).map((o) => o.promise)
3403
3403
  ), n = Object.keys(e), s = {};
@@ -3696,7 +3696,7 @@ const S9 = async (e, t, n, s, o, i) => {
3696
3696
  }
3697
3697
  }
3698
3698
  };
3699
- async function E9({
3699
+ async function k9({
3700
3700
  axiosApi: e,
3701
3701
  headConfig: t = {
3702
3702
  ampConfig: !1,
@@ -3812,7 +3812,7 @@ async function E9({
3812
3812
  N
3813
3813
  ] });
3814
3814
  }
3815
- const k9 = ({
3815
+ const U9 = ({
3816
3816
  children: e,
3817
3817
  defaultRouteName: t,
3818
3818
  banners: n,
@@ -3863,7 +3863,7 @@ const k9 = ({
3863
3863
  ), Er = "_content_19rc1_1", kr = "_location_19rc1_11", Ua = {
3864
3864
  content: Er,
3865
3865
  location: kr
3866
- }, U9 = (e) => /* @__PURE__ */ m("div", { className: Ua.content, children: [
3866
+ }, I9 = (e) => /* @__PURE__ */ m("div", { className: Ua.content, children: [
3867
3867
  /* @__PURE__ */ a(xr, {}),
3868
3868
  /* @__PURE__ */ a("p", { className: Ua.location, children: e.place })
3869
3869
  ] }), Mt = ({
@@ -4010,7 +4010,7 @@ function Ir({
4010
4010
  }
4011
4011
  };
4012
4012
  }
4013
- function I9(e) {
4013
+ function T9(e) {
4014
4014
  const {
4015
4015
  children: t,
4016
4016
  slot_id: n,
@@ -5810,7 +5810,7 @@ const gt = (e) => {
5810
5810
  whatsappLink: Wl,
5811
5811
  subscribeText: Yl,
5812
5812
  terms: $l
5813
- }, T9 = (e) => /* @__PURE__ */ m("section", { className: qe.content, children: [
5813
+ }, q9 = (e) => /* @__PURE__ */ m("section", { className: qe.content, children: [
5814
5814
  /* @__PURE__ */ a(jl, { className: qe.subscribeImage }),
5815
5815
  /* @__PURE__ */ m("div", { className: qe.contentTitle, children: [
5816
5816
  /* @__PURE__ */ a("p", { className: qe.title, children: "Mantenete Informado" }),
@@ -6085,7 +6085,7 @@ const gt = (e) => {
6085
6085
  gnews: (e) => /* @__PURE__ */ a(uc, { ...e }),
6086
6086
  podcast: (e) => /* @__PURE__ */ a(mc, { ...e }),
6087
6087
  telegram: (e) => /* @__PURE__ */ a(hc, { ...e })
6088
- }, q9 = (e) => {
6088
+ }, B9 = (e) => {
6089
6089
  const { freeZone: t, socials: n, menu: s, customBlock: o } = e;
6090
6090
  return /* @__PURE__ */ m("footer", { className: re.content, children: [
6091
6091
  /* @__PURE__ */ m("section", { className: re.brandContent, children: [
@@ -6388,7 +6388,7 @@ const Vc = "_content_r1co8_1", Fc = "_videoContent_r1co8_20", Wc = "_articleSect
6388
6388
  correspondent: Kc,
6389
6389
  iframeStyled: Jc,
6390
6390
  contentFrame: Zc
6391
- }, B9 = (e) => {
6391
+ }, L9 = (e) => {
6392
6392
  const t = () => e?.video.main.author ? `${e?.video.main.author} - ${Te(
6393
6393
  e.video.info.date.created
6394
6394
  )}` : e?.video.main.author;
@@ -6605,7 +6605,7 @@ const Vc = "_content_r1co8_1", Fc = "_videoContent_r1co8_20", Wc = "_articleSect
6605
6605
  title: yd,
6606
6606
  description: Cd,
6607
6607
  linkStyled: bd
6608
- }, L9 = (e) => {
6608
+ }, R9 = (e) => {
6609
6609
  const t = e.logo;
6610
6610
  return /* @__PURE__ */ m("section", { className: at.content, children: [
6611
6611
  e.backgroundImgURL && /* @__PURE__ */ a("img", { className: at.before, src: e.backgroundImgURL, alt: "" }),
@@ -6622,7 +6622,7 @@ const Vc = "_content_r1co8_1", Fc = "_videoContent_r1co8_20", Wc = "_articleSect
6622
6622
  label: Nd,
6623
6623
  required: Sd,
6624
6624
  input: xd
6625
- }, R9 = (e) => /* @__PURE__ */ m("div", { className: Ct.content, children: [
6625
+ }, D9 = (e) => /* @__PURE__ */ m("div", { className: Ct.content, children: [
6626
6626
  /* @__PURE__ */ m("div", { className: Ct.contentLabel, children: [
6627
6627
  /* @__PURE__ */ a("label", { className: Ct.label, children: e.label }),
6628
6628
  e.required && /* @__PURE__ */ a("span", { className: Ct.required, children: "*" })
@@ -6634,7 +6634,7 @@ const Vc = "_content_r1co8_1", Fc = "_videoContent_r1co8_20", Wc = "_articleSect
6634
6634
  label: Ud,
6635
6635
  required: Id,
6636
6636
  input: Td
6637
- }, D9 = (e) => /* @__PURE__ */ m("div", { className: bt.content, children: [
6637
+ }, M9 = (e) => /* @__PURE__ */ m("div", { className: bt.content, children: [
6638
6638
  /* @__PURE__ */ m("div", { className: bt.contentLabel, children: [
6639
6639
  /* @__PURE__ */ a("label", { className: bt.label, children: e.label }),
6640
6640
  e.required && /* @__PURE__ */ a("span", { className: bt.required, children: "*" })
@@ -6647,7 +6647,7 @@ const Vc = "_content_r1co8_1", Fc = "_videoContent_r1co8_20", Wc = "_articleSect
6647
6647
  content: qd,
6648
6648
  label: Bd,
6649
6649
  input: Ld
6650
- }, M9 = (e) => /* @__PURE__ */ m("div", { className: kn.content, children: [
6650
+ }, P9 = (e) => /* @__PURE__ */ m("div", { className: kn.content, children: [
6651
6651
  /* @__PURE__ */ a("label", { className: kn.label, children: e.label }),
6652
6652
  /* @__PURE__ */ a("textarea", { className: kn.input, ...e })
6653
6653
  ] }), Rd = "_boxInformation_achvw_1", Dd = "_textBox_achvw_30", Md = "_contentBox_achvw_40", Pd = "_liveBox_achvw_50", Od = "_dot_achvw_72", jd = "_sectionDescription_achvw_97", Qd = "_articule_achvw_110", Gd = "_description_achvw_137", Fe = {
@@ -6915,7 +6915,7 @@ const Vc = "_content_r1co8_1", Fc = "_videoContent_r1co8_20", Wc = "_articleSect
6915
6915
  ),
6916
6916
  /* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(gt, { ...t, paths: e.paths }) })
6917
6917
  ] }) : null;
6918
- }, P9 = (e) => /* @__PURE__ */ a("div", { className: Ne.content, children: /* @__PURE__ */ m(Mt, { className: Ne.contentLayoutVideoSection, children: [
6918
+ }, O9 = (e) => /* @__PURE__ */ a("div", { className: Ne.content, children: /* @__PURE__ */ m(Mt, { className: Ne.contentLayoutVideoSection, children: [
6919
6919
  /* @__PURE__ */ m("a", { className: Ne.header, href: "/", children: [
6920
6920
  /* @__PURE__ */ a(
6921
6921
  "svg",
@@ -7593,7 +7593,7 @@ const Vc = "_content_r1co8_1", Fc = "_videoContent_r1co8_20", Wc = "_articleSect
7593
7593
  childrenContent: lm,
7594
7594
  childrenContentAux: cm,
7595
7595
  op2: dm
7596
- }, O9 = (e) => {
7596
+ }, j9 = (e) => {
7597
7597
  const { alertZone: t, children: n, sidebar: s } = e;
7598
7598
  return /* @__PURE__ */ m(Q, { children: [
7599
7599
  /* @__PURE__ */ a(Mu, { ...e }),
@@ -7640,7 +7640,7 @@ const Vc = "_content_r1co8_1", Fc = "_videoContent_r1co8_20", Wc = "_articleSect
7640
7640
  chipStyled: hm,
7641
7641
  tagLink: fm,
7642
7642
  tagStyled: gm
7643
- }, j9 = (e) => {
7643
+ }, Q9 = (e) => {
7644
7644
  const t = (n) => {
7645
7645
  const s = n.name.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/ñ/g, "n").replace(/Ñ/g, "n").replace(/[^\w\s]/gi, "").replaceAll(" ", "-").toLowerCase();
7646
7646
  return e.paths.tema ? `/${e.paths.tema}/${s}-t${n.id}` : `/${s}-t${n.id}`;
@@ -7659,7 +7659,7 @@ const Vc = "_content_r1co8_1", Fc = "_videoContent_r1co8_20", Wc = "_articleSect
7659
7659
  journalistInfo: vm,
7660
7660
  socialNetworkSection: _m,
7661
7661
  article: Nm
7662
- }, Q9 = async (e) => {
7662
+ }, G9 = async (e) => {
7663
7663
  const { autor: t } = e;
7664
7664
  return t.addtional.USER_SHOWBIO && /* @__PURE__ */ a("section", { className: Ie.contentBox, children: /* @__PURE__ */ m("div", { className: Ie.content, children: [
7665
7665
  /* @__PURE__ */ m("div", { className: Ie.avatarContent, children: [
@@ -7858,7 +7858,7 @@ const Vc = "_content_r1co8_1", Fc = "_videoContent_r1co8_20", Wc = "_articleSect
7858
7858
  contentInfo: Um,
7859
7859
  fullName: Im,
7860
7860
  LearnMoreLink: Tm
7861
- }, G9 = async (e) => {
7861
+ }, z9 = async (e) => {
7862
7862
  const { news: t, texts: n } = e;
7863
7863
  return t.config?.showauthor && /* @__PURE__ */ a("div", { className: We.content, children: Array.isArray(t.authors) && t.authors?.map(async (s) => /* @__PURE__ */ m(
7864
7864
  "div",
@@ -8274,7 +8274,7 @@ function Ah(e) {
8274
8274
  s % 2 === 0 ? t[Math.floor(s / 2)] = e[s] : t[n + Math.floor(s / 2)] = e[s];
8275
8275
  return t;
8276
8276
  }
8277
- const z9 = (e) => {
8277
+ const H9 = (e) => {
8278
8278
  const { isOpinion: t = !1 } = e, n = (i) => /* @__PURE__ */ a(
8279
8279
  "div",
8280
8280
  {
@@ -8331,7 +8331,7 @@ const z9 = (e) => {
8331
8331
  }, wh = "_content_w9viv_1", yh = "_title_w9viv_10", Ma = {
8332
8332
  content: wh,
8333
8333
  title: yh
8334
- }, H9 = (e) => {
8334
+ }, V9 = (e) => {
8335
8335
  const { showTitle: t = !0 } = e;
8336
8336
  return /* @__PURE__ */ m("div", { className: Ma.content, children: [
8337
8337
  t && /* @__PURE__ */ a("p", { className: Ma.title, children: "Editorial" }),
@@ -8356,7 +8356,7 @@ const z9 = (e) => {
8356
8356
  boxPosition: vh,
8357
8357
  bannerContent: _h,
8358
8358
  bannerContentAux: Nh
8359
- }, V9 = (e) => {
8359
+ }, F9 = (e) => {
8360
8360
  const { news: t } = e;
8361
8361
  return Array.isArray(t) && /* @__PURE__ */ m("div", { className: it.content, children: [
8362
8362
  /* @__PURE__ */ m("div", { className: it.newsContent, children: [
@@ -8391,7 +8391,7 @@ const z9 = (e) => {
8391
8391
  ] }),
8392
8392
  /* @__PURE__ */ a("div", { className: it.bannerContent, children: e.halfPageBanner })
8393
8393
  ] });
8394
- }, F9 = (e) => /* @__PURE__ */ m(Q, { children: [
8394
+ }, W9 = (e) => /* @__PURE__ */ m(Q, { children: [
8395
8395
  /* @__PURE__ */ a(xl, { className: "display-on-lower-900px", ...e }),
8396
8396
  /* @__PURE__ */ a(Ol, { ...e })
8397
8397
  ] }), Sh = "_newsContent_gd57q_1", xh = "_newsContentWithLines_gd57q_8", Eh = "_newsContentWithoutLines_gd57q_13", kh = "_contentSeparator_gd57q_18", Ft = {
@@ -8829,7 +8829,7 @@ const z9 = (e) => {
8829
8829
  default:
8830
8830
  return /* @__PURE__ */ a("div", { className: Qe.ItemCustomContent, children: /* @__PURE__ */ a(He, { ...t, paths: e.paths }) });
8831
8831
  }
8832
- }, W9 = (e) => {
8832
+ }, Y9 = (e) => {
8833
8833
  const {
8834
8834
  data: t,
8835
8835
  currentPage: n,
@@ -8982,7 +8982,7 @@ const z9 = (e) => {
8982
8982
  }, h2 = "_content_gwsqy_1", f2 = "_contactInfoContent_gwsqy_7", ja = {
8983
8983
  content: h2,
8984
8984
  contactInfoContent: f2
8985
- }, Y9 = (e) => {
8985
+ }, $9 = (e) => {
8986
8986
  const { data: t } = e;
8987
8987
  return /* @__PURE__ */ a("section", { className: ja.content, children: t.map((n, s) => /* @__PURE__ */ a(
8988
8988
  "div",
@@ -9484,6 +9484,9 @@ const n0 = (e) => /* @__PURE__ */ a(
9484
9484
  ), a0 = (e) => e.replace(
9485
9485
  /<iframe(?![^>]*\bloading=)[^>]*>/gi,
9486
9486
  (n) => n.replace("<iframe", '<iframe loading="lazy"')
9487
+ ), s0 = (e) => e.replace(
9488
+ /<iframe(?![^>]*\btitle=)[^>]*>/gi,
9489
+ (n) => n.replace("<iframe", '<iframe title="frame custom content"')
9487
9490
  ), Os = async (e) => {
9488
9491
  const t = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, n = [...e.matchAll(t)], s = {};
9489
9492
  for (const o of n) {
@@ -9497,7 +9500,7 @@ const n0 = (e) => /* @__PURE__ */ a(
9497
9500
  t,
9498
9501
  (o, i) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${s[i] || i}"`
9499
9502
  );
9500
- }, s0 = (e, t) => {
9503
+ }, o0 = (e, t) => {
9501
9504
  const n = {
9502
9505
  2: 1,
9503
9506
  4: 2,
@@ -9527,7 +9530,7 @@ const n0 = (e) => /* @__PURE__ */ a(
9527
9530
  return l;
9528
9531
  }
9529
9532
  ), o;
9530
- }, o0 = (e) => {
9533
+ }, i0 = (e) => {
9531
9534
  const t = /<div class="ck-image-gallery"[^>]*?>([\s\S]*?)<\/div>/g, n = [...e.matchAll(t)];
9532
9535
  let s = "", o = 0;
9533
9536
  for (const i of n) {
@@ -9546,7 +9549,7 @@ const n0 = (e) => /* @__PURE__ */ a(
9546
9549
  s += y, o = u;
9547
9550
  }
9548
9551
  return s += e.slice(o), s;
9549
- }, i0 = async (e, t, n) => {
9552
+ }, r0 = async (e, t, n) => {
9550
9553
  if (!n) return e;
9551
9554
  const s = /<span data-src="(.*?)"><\/span>/g, o = [...e.matchAll(s)];
9552
9555
  let i = e;
@@ -9576,7 +9579,7 @@ const n0 = (e) => /* @__PURE__ */ a(
9576
9579
  }
9577
9580
  return i;
9578
9581
  };
9579
- async function r0(e, t) {
9582
+ async function l0(e, t) {
9580
9583
  const n = /<div class="ck-video-player"[^>]*?>[\s\S]*?<span[^>]*data-src="([^"]+)"[^>]*data-type="video"[^>]*><\/span>[\s\S]*?<\/div>/g, s = [...e.matchAll(n)];
9581
9584
  let o = "", i = 0;
9582
9585
  for (const r of s) {
@@ -9602,7 +9605,7 @@ async function r0(e, t) {
9602
9605
  }
9603
9606
  return o += e.slice(i), o;
9604
9607
  }
9605
- async function l0(e) {
9608
+ async function c0(e) {
9606
9609
  const {
9607
9610
  news: t,
9608
9611
  banners: n,
@@ -9616,11 +9619,11 @@ async function l0(e) {
9616
9619
  c = c.replace(
9617
9620
  /<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,
9618
9621
  ""
9619
- ), c = c.replace(/&nbsp;/g, ""), c = s0(c, n), c = o0(c), c = await Os(c), c = await i0(
9622
+ ), c = c.replace(/&nbsp;/g, ""), c = o0(c, n), c = i0(c), c = await Os(c), c = await r0(
9620
9623
  c,
9621
9624
  e.texts,
9622
9625
  s
9623
- ), c = await r0(c, l), c = a0(c);
9626
+ ), c = await l0(c, l), c = a0(c), c = s0(c);
9624
9627
  const u = t.main.sources ?? [];
9625
9628
  return /* @__PURE__ */ m("div", { className: Wt.content, children: [
9626
9629
  o !== "liveblogs" ? t.hascontent?.hasgalleryimages ? /* @__PURE__ */ a(
@@ -9668,10 +9671,10 @@ async function l0(e) {
9668
9671
  ] })
9669
9672
  ] });
9670
9673
  }
9671
- const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9672
- content: c0,
9673
- title: d0
9674
- }, u0 = async ({
9674
+ const d0 = "_content_cu8lm_1", u0 = "_title_cu8lm_18", Ga = {
9675
+ content: d0,
9676
+ title: u0
9677
+ }, m0 = async ({
9675
9678
  newsformated: e,
9676
9679
  internal: t
9677
9680
  }) => {
@@ -9688,10 +9691,10 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9688
9691
  /* @__PURE__ */ a("div", { dangerouslySetInnerHTML: { __html: o?.code ?? "" } }),
9689
9692
  /* @__PURE__ */ a("p", { className: Ga.title, children: o?.title })
9690
9693
  ] });
9691
- }, m0 = "_content_cu8lm_1", h0 = "_title_cu8lm_18", Rn = {
9692
- content: m0,
9693
- title: h0
9694
- }, f0 = async ({
9694
+ }, h0 = "_content_cu8lm_1", f0 = "_title_cu8lm_18", Rn = {
9695
+ content: h0,
9696
+ title: f0
9697
+ }, g0 = async ({
9695
9698
  newsformated: e,
9696
9699
  internal: t
9697
9700
  }) => {
@@ -9716,9 +9719,9 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9716
9719
  ),
9717
9720
  /* @__PURE__ */ a("p", { className: Rn.title, children: o?.title })
9718
9721
  ] });
9719
- }, g0 = "_content_ezbiw_1", p0 = {
9720
- content: g0
9721
- }, A0 = async ({
9722
+ }, p0 = "_content_ezbiw_1", A0 = {
9723
+ content: p0
9724
+ }, w0 = async ({
9722
9725
  newsformated: e,
9723
9726
  internal: t
9724
9727
  }) => {
@@ -9732,16 +9735,16 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9732
9735
  return /* @__PURE__ */ a(
9733
9736
  "div",
9734
9737
  {
9735
- className: p0.content,
9738
+ className: A0.content,
9736
9739
  dangerouslySetInnerHTML: { __html: o ?? "" }
9737
9740
  }
9738
9741
  );
9739
- }, w0 = "_content_156j7_1", Dn = {
9740
- content: w0
9741
- }, y0 = (e) => {
9742
+ }, y0 = "_content_156j7_1", Dn = {
9743
+ content: y0
9744
+ }, C0 = (e) => {
9742
9745
  if (e.news.config.articlepreview === "videoEmbedded")
9743
9746
  return /* @__PURE__ */ a("div", { className: Dn.content, children: /* @__PURE__ */ a(
9744
- u0,
9747
+ m0,
9745
9748
  {
9746
9749
  newsformated: e.news,
9747
9750
  internal: e.news.info.link.internal
@@ -9749,7 +9752,7 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9749
9752
  ) });
9750
9753
  if (e.news.config.articlepreview === "videoYouTube")
9751
9754
  return /* @__PURE__ */ a("div", { className: Dn.content, children: /* @__PURE__ */ a(
9752
- f0,
9755
+ g0,
9753
9756
  {
9754
9757
  newsformated: e.news,
9755
9758
  internal: e.news.info.link.internal
@@ -9757,13 +9760,13 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9757
9760
  ) });
9758
9761
  if (e.news.config.articlepreview === "iframe")
9759
9762
  return /* @__PURE__ */ a("div", { className: Dn.content, children: /* @__PURE__ */ a(
9760
- A0,
9763
+ w0,
9761
9764
  {
9762
9765
  newsformated: e.news,
9763
9766
  internal: e.news.info.link.internal
9764
9767
  }
9765
9768
  ) });
9766
- }, $9 = async (e) => {
9769
+ }, K9 = async (e) => {
9767
9770
  const {
9768
9771
  children: t,
9769
9772
  ranking: n = [],
@@ -9785,7 +9788,7 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9785
9788
  }
9786
9789
  ),
9787
9790
  /* @__PURE__ */ a(kt, { banners: s, index: 1 }),
9788
- !u && /* @__PURE__ */ a(y0, { news: o[0] }),
9791
+ !u && /* @__PURE__ */ a(C0, { news: o[0] }),
9789
9792
  /* @__PURE__ */ a(
9790
9793
  S2,
9791
9794
  {
@@ -9805,7 +9808,7 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9805
9808
  },
9806
9809
  children: [
9807
9810
  /* @__PURE__ */ a(
9808
- l0,
9811
+ c0,
9809
9812
  {
9810
9813
  texts: e.texts,
9811
9814
  autorIcon: e.autorIcon,
@@ -9828,14 +9831,14 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9828
9831
  }
9829
9832
  )
9830
9833
  ] }) });
9831
- }, C0 = "_content_nz5ec_1", b0 = "_contentInfo_nz5ec_24", v0 = "_imageStyled_nz5ec_40", _0 = "_name_nz5ec_44", N0 = "_description_nz5ec_48", S0 = "_contentInfoWithoutImg_nz5ec_101", rt = {
9832
- content: C0,
9833
- contentInfo: b0,
9834
- imageStyled: v0,
9835
- name: _0,
9836
- description: N0,
9837
- contentInfoWithoutImg: S0
9838
- }, x0 = async (e) => {
9834
+ }, b0 = "_content_nz5ec_1", v0 = "_contentInfo_nz5ec_24", _0 = "_imageStyled_nz5ec_40", N0 = "_name_nz5ec_44", S0 = "_description_nz5ec_48", x0 = "_contentInfoWithoutImg_nz5ec_101", rt = {
9835
+ content: b0,
9836
+ contentInfo: v0,
9837
+ imageStyled: _0,
9838
+ name: N0,
9839
+ description: S0,
9840
+ contentInfoWithoutImg: x0
9841
+ }, E0 = async (e) => {
9839
9842
  const t = e.img ? await oe(e.img) : "";
9840
9843
  return /* @__PURE__ */ a("section", { className: rt.content, children: /* @__PURE__ */ m(
9841
9844
  "div",
@@ -9864,12 +9867,12 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9864
9867
  ]
9865
9868
  }
9866
9869
  ) });
9867
- }, E0 = "_content_7wvro_1", k0 = "_contentInfo_7wvro_23", U0 = "_name_7wvro_34", I0 = "_description_7wvro_43", Yt = {
9868
- content: E0,
9869
- contentInfo: k0,
9870
- name: U0,
9871
- description: I0
9872
- }, T0 = (e) => /* @__PURE__ */ a(
9870
+ }, k0 = "_content_7wvro_1", U0 = "_contentInfo_7wvro_23", I0 = "_name_7wvro_34", T0 = "_description_7wvro_43", Yt = {
9871
+ content: k0,
9872
+ contentInfo: U0,
9873
+ name: I0,
9874
+ description: T0
9875
+ }, q0 = (e) => /* @__PURE__ */ a(
9873
9876
  "section",
9874
9877
  {
9875
9878
  className: Yt.content,
@@ -9904,12 +9907,12 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9904
9907
  )
9905
9908
  ] })
9906
9909
  }
9907
- ), K9 = (e) => {
9910
+ ), J9 = (e) => {
9908
9911
  const { option: t, entity: n } = e;
9909
9912
  switch (t) {
9910
9913
  case "op1":
9911
9914
  return /* @__PURE__ */ a(
9912
- x0,
9915
+ E0,
9913
9916
  {
9914
9917
  tag: n?.name ?? "",
9915
9918
  img: n?.image?.url ?? "",
@@ -9918,7 +9921,7 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9918
9921
  );
9919
9922
  case "op2":
9920
9923
  return /* @__PURE__ */ a(
9921
- T0,
9924
+ q0,
9922
9925
  {
9923
9926
  tag: n?.name ?? "",
9924
9927
  description: n?.description ? n?.description : "",
@@ -9931,13 +9934,13 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9931
9934
  default:
9932
9935
  return /* @__PURE__ */ a(Q, {});
9933
9936
  }
9934
- }, q0 = "_content_gxziw_1", B0 = "_buttonStyled_gxziw_9", L0 = "_searchStyled_gxziw_21", R0 = "_inputStyled_gxziw_32", D0 = "_inputStyledTest_gxziw_51", xt = {
9935
- content: q0,
9936
- buttonStyled: B0,
9937
- searchStyled: L0,
9938
- inputStyled: R0,
9939
- inputStyledTest: D0
9940
- }, M0 = (e) => /* @__PURE__ */ a(
9937
+ }, B0 = "_content_gxziw_1", L0 = "_buttonStyled_gxziw_9", R0 = "_searchStyled_gxziw_21", D0 = "_inputStyled_gxziw_32", M0 = "_inputStyledTest_gxziw_51", xt = {
9938
+ content: B0,
9939
+ buttonStyled: L0,
9940
+ searchStyled: R0,
9941
+ inputStyled: D0,
9942
+ inputStyledTest: M0
9943
+ }, P0 = (e) => /* @__PURE__ */ a(
9941
9944
  "svg",
9942
9945
  {
9943
9946
  width: "68",
@@ -9956,7 +9959,7 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9956
9959
  }
9957
9960
  ) })
9958
9961
  }
9959
- ), J9 = (e) => /* @__PURE__ */ a(
9962
+ ), Z9 = (e) => /* @__PURE__ */ a(
9960
9963
  "form",
9961
9964
  {
9962
9965
  className: xt.content,
@@ -9973,14 +9976,14 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
9973
9976
  placeholder: e.texts.searchKeyWord + "..."
9974
9977
  }
9975
9978
  ),
9976
- /* @__PURE__ */ a("button", { className: xt.buttonStyled, type: "submit", children: /* @__PURE__ */ a(M0, { className: xt.searchStyled }) })
9979
+ /* @__PURE__ */ a("button", { className: xt.buttonStyled, type: "submit", children: /* @__PURE__ */ a(P0, { className: xt.searchStyled }) })
9977
9980
  ] })
9978
9981
  }
9979
- ), P0 = "_content_io3tv_1", O0 = "_newsContentSection_io3tv_5", j0 = "_itemContent_io3tv_10", Mn = {
9980
- content: P0,
9981
- newsContentSection: O0,
9982
- itemContent: j0
9983
- }, Z9 = (e) => {
9982
+ ), O0 = "_content_io3tv_1", j0 = "_newsContentSection_io3tv_5", Q0 = "_itemContent_io3tv_10", Mn = {
9983
+ content: O0,
9984
+ newsContentSection: j0,
9985
+ itemContent: Q0
9986
+ }, X9 = (e) => {
9984
9987
  const {
9985
9988
  data: t,
9986
9989
  option: n,
@@ -10136,22 +10139,22 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
10136
10139
  default:
10137
10140
  return /* @__PURE__ */ a(Q, {});
10138
10141
  }
10139
- }, Q0 = "_content_pq89v_1", G0 = "_videoContent_pq89v_9", za = {
10140
- content: Q0,
10141
- videoContent: G0
10142
- }, z0 = "_container_1xr2t_1", H0 = "_playStyled_1xr2t_6", V0 = "_imageStyled_1xr2t_13", F0 = "_longer_1xr2t_26", W0 = "_contentNews_1xr2t_31", Y0 = "_tagContent_1xr2t_51", $0 = "_tag_1xr2t_51", K0 = "_titular_1xr2t_68", J0 = "_small_1xr2t_81", Z0 = "_figure_1xr2t_87", X0 = "_backDrop_1xr2t_92", ef = "_backDropAux_1xr2t_100", Et = {
10143
- container: z0,
10144
- playStyled: H0,
10145
- imageStyled: V0,
10146
- longer: F0,
10147
- contentNews: W0,
10148
- tagContent: Y0,
10149
- tag: $0,
10150
- titular: K0,
10151
- small: J0,
10152
- figure: Z0,
10153
- backDrop: X0,
10154
- backDropAux: ef
10142
+ }, G0 = "_content_pq89v_1", z0 = "_videoContent_pq89v_9", za = {
10143
+ content: G0,
10144
+ videoContent: z0
10145
+ }, H0 = "_container_1xr2t_1", V0 = "_playStyled_1xr2t_6", F0 = "_imageStyled_1xr2t_13", W0 = "_longer_1xr2t_26", Y0 = "_contentNews_1xr2t_31", $0 = "_tagContent_1xr2t_51", K0 = "_tag_1xr2t_51", J0 = "_titular_1xr2t_68", Z0 = "_small_1xr2t_81", X0 = "_figure_1xr2t_87", ef = "_backDrop_1xr2t_92", tf = "_backDropAux_1xr2t_100", Et = {
10146
+ container: H0,
10147
+ playStyled: V0,
10148
+ imageStyled: F0,
10149
+ longer: W0,
10150
+ contentNews: Y0,
10151
+ tagContent: $0,
10152
+ tag: K0,
10153
+ titular: J0,
10154
+ small: Z0,
10155
+ figure: X0,
10156
+ backDrop: ef,
10157
+ backDropAux: tf
10155
10158
  }, Ha = async (e) => {
10156
10159
  const { size: t = "longer", video: n } = e, s = n.main.image.sizes[0]?.url ?? "";
10157
10160
  return /* @__PURE__ */ a("figure", { className: Et.figure, children: /* @__PURE__ */ m("span", { className: Et.backdrop, children: [
@@ -10184,7 +10187,7 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
10184
10187
  )
10185
10188
  ] }) })
10186
10189
  ] }) });
10187
- }, tf = (e) => {
10190
+ }, nf = (e) => {
10188
10191
  const { videos: t } = e;
10189
10192
  return /* @__PURE__ */ a("div", { className: za.content, children: /* @__PURE__ */ a(Mt, { children: /* @__PURE__ */ a(ie, { title: "Videos", isTitle: !0, children: /* @__PURE__ */ m("div", { className: za.videoContent, children: [
10190
10193
  /* @__PURE__ */ a(Ha, { video: t[0] }),
@@ -10197,18 +10200,18 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
10197
10200
  `video-small-${s}`
10198
10201
  )) })
10199
10202
  ] }) }) }) });
10200
- }, nf = "_content_ruy5q_1", af = "_videoContent_ruy5q_9", sf = "_articleSection_ruy5q_21", of = "_contentLatout_ruy5q_31", rf = "_title_ruy5q_36", lf = "_article_ruy5q_21", cf = "_correspondent_ruy5q_64", Ke = {
10201
- content: nf,
10202
- videoContent: af,
10203
- articleSection: sf,
10204
- contentLatout: of,
10205
- title: rf,
10206
- article: lf,
10207
- correspondent: cf
10208
- }, df = "_container_1rq2h_1", uf = "_playStyled_1rq2h_9", Va = {
10209
- container: df,
10210
- playStyled: uf
10211
- }, mf = (e) => {
10203
+ }, af = "_content_ruy5q_1", sf = "_videoContent_ruy5q_9", of = "_articleSection_ruy5q_21", rf = "_contentLatout_ruy5q_31", lf = "_title_ruy5q_36", cf = "_article_ruy5q_21", df = "_correspondent_ruy5q_64", Ke = {
10204
+ content: af,
10205
+ videoContent: sf,
10206
+ articleSection: of,
10207
+ contentLatout: rf,
10208
+ title: lf,
10209
+ article: cf,
10210
+ correspondent: df
10211
+ }, uf = "_container_1rq2h_1", mf = "_playStyled_1rq2h_9", Va = {
10212
+ container: uf,
10213
+ playStyled: mf
10214
+ }, hf = (e) => {
10212
10215
  const { video: t } = e;
10213
10216
  return /* @__PURE__ */ a(
10214
10217
  U,
@@ -10230,12 +10233,12 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
10230
10233
  ] })
10231
10234
  }
10232
10235
  );
10233
- }, hf = (e) => {
10236
+ }, ff = (e) => {
10234
10237
  const t = () => e?.video.main.author ? `${e?.video.main.author} - ${Te(
10235
10238
  e.video.info.date.created
10236
10239
  )}` : e?.video.main.author;
10237
10240
  return /* @__PURE__ */ a("div", { className: Ke.content, children: /* @__PURE__ */ a(Mt, { className: Ke.contentLatout, children: /* @__PURE__ */ a(ie, { title: "Videos", isTitle: !0, children: /* @__PURE__ */ m("div", { className: Ke.videoContent, children: [
10238
- /* @__PURE__ */ a(mf, { video: e.video }),
10241
+ /* @__PURE__ */ a(hf, { video: e.video }),
10239
10242
  /* @__PURE__ */ m("div", { className: Ke.articleSection, children: [
10240
10243
  /* @__PURE__ */ a(
10241
10244
  U,
@@ -10250,17 +10253,17 @@ const c0 = "_content_cu8lm_1", d0 = "_title_cu8lm_18", Ga = {
10250
10253
  /* @__PURE__ */ a("p", { className: Ke.correspondent, children: t() })
10251
10254
  ] })
10252
10255
  ] }) }) }) });
10253
- }, X9 = (e) => {
10256
+ }, ep = (e) => {
10254
10257
  switch (e.option) {
10255
10258
  case "op1":
10256
- return /* @__PURE__ */ a(tf, { videos: e.data });
10259
+ return /* @__PURE__ */ a(nf, { videos: e.data });
10257
10260
  case "op2":
10258
- return /* @__PURE__ */ a(hf, { video: e.data[0] });
10261
+ return /* @__PURE__ */ a(ff, { video: e.data[0] });
10259
10262
  default:
10260
10263
  return /* @__PURE__ */ a(Q, {});
10261
10264
  }
10262
10265
  };
10263
- function ep({ containerId: e, containerId2: t }) {
10266
+ function tp({ containerId: e, containerId2: t }) {
10264
10267
  return Ee(() => {
10265
10268
  try {
10266
10269
  let n = function() {
@@ -10296,7 +10299,7 @@ function ep({ containerId: e, containerId2: t }) {
10296
10299
  }
10297
10300
  }, [e]), null;
10298
10301
  }
10299
- const ff = (e) => {
10302
+ const gf = (e) => {
10300
10303
  const {
10301
10304
  //rounded = false,
10302
10305
  isVideo: t = !1,
@@ -10358,7 +10361,7 @@ const ff = (e) => {
10358
10361
  ] })
10359
10362
  ] })
10360
10363
  ] }) });
10361
- }, gf = (e) => /* @__PURE__ */ a(
10364
+ }, pf = (e) => /* @__PURE__ */ a(
10362
10365
  "svg",
10363
10366
  {
10364
10367
  width: "41",
@@ -10375,7 +10378,7 @@ const ff = (e) => {
10375
10378
  }
10376
10379
  )
10377
10380
  }
10378
- ), pf = {
10381
+ ), Af = {
10379
10382
  info: {
10380
10383
  section: {
10381
10384
  name: "",
@@ -10432,14 +10435,14 @@ const ff = (e) => {
10432
10435
  }
10433
10436
  ],
10434
10437
  preview: void 0
10435
- }, Fa = 6, Af = ({
10438
+ }, Fa = 6, wf = ({
10436
10439
  section: e,
10437
10440
  currentNews: t,
10438
10441
  banner: n,
10439
10442
  isVisible: s = !1,
10440
10443
  stylesConfig: o
10441
10444
  }) => {
10442
- const [i, r] = O({ data: Array.from({ length: Fa }, () => pf) }), [l, c] = O(!1), u = ne(async () => {
10445
+ const [i, r] = O({ data: Array.from({ length: Fa }, () => Af) }), [l, c] = O(!1), u = ne(async () => {
10443
10446
  if (!(l || !t?.info?.link?.internal)) {
10444
10447
  c(!0);
10445
10448
  try {
@@ -10462,7 +10465,7 @@ const ff = (e) => {
10462
10465
  return Ee(() => {
10463
10466
  s && u();
10464
10467
  }, [s, i, u]), !i?.data || i.data.length === 0 ? null : /* @__PURE__ */ a(
10465
- wf,
10468
+ yf,
10466
10469
  {
10467
10470
  news: i.data,
10468
10471
  title: "Más Noticias",
@@ -10474,7 +10477,7 @@ const ff = (e) => {
10474
10477
  isVisible: s
10475
10478
  }
10476
10479
  );
10477
- }, wf = (e) => {
10480
+ }, yf = (e) => {
10478
10481
  const { news: t, hasLines: n = !1 } = e, s = (o) => n && (o + 1) % 3 !== 0 ? Vn.contentSeparator : "";
10479
10482
  return /* @__PURE__ */ a(
10480
10483
  "div",
@@ -10510,7 +10513,7 @@ const ff = (e) => {
10510
10513
  "aria-label": r?.title?.section ?? "nota",
10511
10514
  target: c?.link?.target,
10512
10515
  children: /* @__PURE__ */ a(
10513
- ff,
10516
+ gf,
10514
10517
  {
10515
10518
  isVisible: e.isVisible,
10516
10519
  preview: u,
@@ -10523,7 +10526,7 @@ const ff = (e) => {
10523
10526
  }
10524
10527
  ),
10525
10528
  /* @__PURE__ */ a("div", { className: Ut.newsDescription, children: /* @__PURE__ */ a(
10526
- yf,
10529
+ Cf,
10527
10530
  {
10528
10531
  main: r,
10529
10532
  authors: l,
@@ -10544,14 +10547,14 @@ const ff = (e) => {
10544
10547
  })
10545
10548
  }
10546
10549
  );
10547
- }, yf = (e) => {
10550
+ }, Cf = (e) => {
10548
10551
  const { share: t = !1, cutSubtitle: n = !0 } = e, o = (() => {
10549
10552
  if (!e?.authors || e.authors.length === 0) return "";
10550
10553
  const i = e.authors[0], r = Te(e.info?.date?.modified);
10551
10554
  return i && e?.config?.showtime && e.config?.showauthor ? `${i.fullname} - ${r}` : i && e.config?.showauthor ? i.fullname : e?.config?.showtime ? r : "";
10552
10555
  })();
10553
10556
  return /* @__PURE__ */ m("div", { className: K.boxInformation, children: [
10554
- t && /* @__PURE__ */ a(gf, { className: K.dotStyles }),
10557
+ t && /* @__PURE__ */ a(pf, { className: K.dotStyles }),
10555
10558
  e?.info?.section?.url && /* @__PURE__ */ m("div", { className: K.sectionDescriptionContainer, children: [
10556
10559
  /* @__PURE__ */ a(
10557
10560
  U,
@@ -10597,7 +10600,7 @@ const ff = (e) => {
10597
10600
  }
10598
10601
  ) : /* @__PURE__ */ a("div", { className: K.correspondent, children: o }) })
10599
10602
  ] });
10600
- }, Cf = ({
10603
+ }, bf = ({
10601
10604
  user: e,
10602
10605
  handleLogout: t,
10603
10606
  message: n
@@ -10636,25 +10639,25 @@ const ff = (e) => {
10636
10639
  /* @__PURE__ */ a("p", { className: "comment-text", children: n })
10637
10640
  ] })
10638
10641
  ] }) });
10639
- }, bf = "_overlay_qj491_3", vf = "_popup_qj491_17", _f = "_title_qj491_40", Nf = "_optionsContainer_qj491_52", Sf = "_option_qj491_52", xf = "_radioInput_qj491_66", Ef = "_radioCustom_qj491_70", kf = "_optionLabel_qj491_97", Uf = "_buttons_qj491_110", If = "_cancelButton_qj491_117", Tf = "_closeButton_qj491_118", qf = "_buttonAlone_qj491_137", Bf = "_reportButton_qj491_143", Lf = "_successContainer_qj491_163", Rf = "_thumbsUp_qj491_171", Df = "_successMessage_qj491_177", Mf = "_errorMessage_qj491_218", Pf = "_loadingContainer_qj491_231", ee = {
10640
- overlay: bf,
10641
- popup: vf,
10642
- title: _f,
10643
- optionsContainer: Nf,
10644
- option: Sf,
10645
- radioInput: xf,
10646
- radioCustom: Ef,
10647
- optionLabel: kf,
10648
- buttons: Uf,
10649
- cancelButton: If,
10650
- closeButton: Tf,
10651
- buttonAlone: qf,
10652
- reportButton: Bf,
10653
- successContainer: Lf,
10654
- thumbsUp: Rf,
10655
- successMessage: Df,
10656
- errorMessage: Mf,
10657
- loadingContainer: Pf
10642
+ }, vf = "_overlay_qj491_3", _f = "_popup_qj491_17", Nf = "_title_qj491_40", Sf = "_optionsContainer_qj491_52", xf = "_option_qj491_52", Ef = "_radioInput_qj491_66", kf = "_radioCustom_qj491_70", Uf = "_optionLabel_qj491_97", If = "_buttons_qj491_110", Tf = "_cancelButton_qj491_117", qf = "_closeButton_qj491_118", Bf = "_buttonAlone_qj491_137", Lf = "_reportButton_qj491_143", Rf = "_successContainer_qj491_163", Df = "_thumbsUp_qj491_171", Mf = "_successMessage_qj491_177", Pf = "_errorMessage_qj491_218", Of = "_loadingContainer_qj491_231", ee = {
10643
+ overlay: vf,
10644
+ popup: _f,
10645
+ title: Nf,
10646
+ optionsContainer: Sf,
10647
+ option: xf,
10648
+ radioInput: Ef,
10649
+ radioCustom: kf,
10650
+ optionLabel: Uf,
10651
+ buttons: If,
10652
+ cancelButton: Tf,
10653
+ closeButton: qf,
10654
+ buttonAlone: Bf,
10655
+ reportButton: Lf,
10656
+ successContainer: Rf,
10657
+ thumbsUp: Df,
10658
+ successMessage: Mf,
10659
+ errorMessage: Pf,
10660
+ loadingContainer: Of
10658
10661
  }, js = async (e, t) => {
10659
10662
  const { PUBLIC_ENV: n } = J();
10660
10663
  if (n === "local") return !0;
@@ -10678,7 +10681,7 @@ const ff = (e) => {
10678
10681
  return console.error("Error verificando reCAPTCHA Enterprise:", s), !1;
10679
10682
  }
10680
10683
  };
10681
- async function tp({
10684
+ async function np({
10682
10685
  publication: e,
10683
10686
  username: t,
10684
10687
  id: n,
@@ -10747,7 +10750,7 @@ const je = {
10747
10750
  intellectual: "Violación de propiedad intelectual",
10748
10751
  bullying: "Bullying o acoso"
10749
10752
  };
10750
- function np(e) {
10753
+ function ap(e) {
10751
10754
  return je[e];
10752
10755
  }
10753
10756
  const tt = 300, Ge = {
@@ -10755,7 +10758,7 @@ const tt = 300, Ge = {
10755
10758
  firstname: "Usuario",
10756
10759
  lastname: "Anonimo"
10757
10760
  };
10758
- function Of(e) {
10761
+ function jf(e) {
10759
10762
  const t = e.split(" ");
10760
10763
  if (t.length !== 3) return e;
10761
10764
  const [n, s, o] = t, i = s.charAt(0).toUpperCase() + s.slice(1).toLowerCase();
@@ -10773,13 +10776,13 @@ const sa = (e, t) => {
10773
10776
  } catch {
10774
10777
  return [];
10775
10778
  }
10776
- }, jf = (e, t) => {
10779
+ }, Qf = (e, t) => {
10777
10780
  const n = Qs(e);
10778
10781
  n.includes(t) || (n.push(t), e.cookie = `reported=${encodeURIComponent(
10779
10782
  JSON.stringify(n)
10780
10783
  )}; path=/; max-age=${3600 * 24 * 1}`);
10781
10784
  };
10782
- function Qf(e) {
10785
+ function Gf(e) {
10783
10786
  const [t, n] = e.split("@");
10784
10787
  if (!t || !n) return e;
10785
10788
  let s = "";
@@ -10790,34 +10793,34 @@ function Qf(e) {
10790
10793
  let l = "";
10791
10794
  return i.length <= 2 ? l = i[0] + "*" : l = i[0] + "*".repeat(i.length - 2) + i[i.length - 1], `${s}@${l}${r}`;
10792
10795
  }
10793
- const Gf = "_overlay_tlrod_1", zf = "_header_tlrod_18", Hf = "_logo_tlrod_25", Vf = "_card_tlrod_32", Ff = "_close_tlrod_47", Wf = "_form_tlrod_71", Yf = "_formUl_tlrod_80", $f = "_field_tlrod_92", Kf = "_label_tlrod_99", Jf = "_input_tlrod_108", Zf = "_error_tlrod_126", Xf = "_primary_tlrod_132", eg = "_divider_tlrod_167", tg = "_google_tlrod_193", ng = "_googleIcon_tlrod_223", ag = "_spin_tlrod_256", sg = "_checkboxRow_tlrod_278", og = "_terms_tlrod_315", ig = "_message_tlrod_346", rg = "_passwordChecker_tlrod_351", lg = "_valid_tlrod_370", cg = "_invalid_tlrod_374", dg = "_forgotPassword_tlrod_378", ug = "_successContainer_tlrod_397", mg = "_thumbsUp_tlrod_405", hg = "_successMessage_tlrod_411", _ = {
10794
- overlay: Gf,
10795
- header: zf,
10796
- logo: Hf,
10797
- card: Vf,
10798
- close: Ff,
10799
- form: Wf,
10800
- formUl: Yf,
10801
- field: $f,
10802
- label: Kf,
10803
- input: Jf,
10804
- error: Zf,
10805
- primary: Xf,
10806
- divider: eg,
10807
- google: tg,
10808
- googleIcon: ng,
10809
- spin: ag,
10810
- checkboxRow: sg,
10796
+ const zf = "_overlay_tlrod_1", Hf = "_header_tlrod_18", Vf = "_logo_tlrod_25", Ff = "_card_tlrod_32", Wf = "_close_tlrod_47", Yf = "_form_tlrod_71", $f = "_formUl_tlrod_80", Kf = "_field_tlrod_92", Jf = "_label_tlrod_99", Zf = "_input_tlrod_108", Xf = "_error_tlrod_126", eg = "_primary_tlrod_132", tg = "_divider_tlrod_167", ng = "_google_tlrod_193", ag = "_googleIcon_tlrod_223", sg = "_spin_tlrod_256", og = "_checkboxRow_tlrod_278", ig = "_terms_tlrod_315", rg = "_message_tlrod_346", lg = "_passwordChecker_tlrod_351", cg = "_valid_tlrod_370", dg = "_invalid_tlrod_374", ug = "_forgotPassword_tlrod_378", mg = "_successContainer_tlrod_397", hg = "_thumbsUp_tlrod_405", fg = "_successMessage_tlrod_411", _ = {
10797
+ overlay: zf,
10798
+ header: Hf,
10799
+ logo: Vf,
10800
+ card: Ff,
10801
+ close: Wf,
10802
+ form: Yf,
10803
+ formUl: $f,
10804
+ field: Kf,
10805
+ label: Jf,
10806
+ input: Zf,
10807
+ error: Xf,
10808
+ primary: eg,
10809
+ divider: tg,
10810
+ google: ng,
10811
+ googleIcon: ag,
10812
+ spin: sg,
10813
+ checkboxRow: og,
10811
10814
  switch: "_switch_tlrod_307",
10812
- terms: og,
10813
- message: ig,
10814
- passwordChecker: rg,
10815
- valid: lg,
10816
- invalid: cg,
10817
- forgotPassword: dg,
10818
- successContainer: ug,
10819
- thumbsUp: mg,
10820
- successMessage: hg
10815
+ terms: ig,
10816
+ message: rg,
10817
+ passwordChecker: lg,
10818
+ valid: cg,
10819
+ invalid: dg,
10820
+ forgotPassword: ug,
10821
+ successContainer: mg,
10822
+ thumbsUp: hg,
10823
+ successMessage: fg
10821
10824
  }, ze = () => /* @__PURE__ */ a(
10822
10825
  "svg",
10823
10826
  {
@@ -10829,7 +10832,7 @@ const Gf = "_overlay_tlrod_1", zf = "_header_tlrod_18", Hf = "_logo_tlrod_25", V
10829
10832
  className: _.spin,
10830
10833
  children: /* @__PURE__ */ a("path", { d: "M18,4.181v2.021c4.559,0.929,8,4.97,8,9.798c0,5.514-4.486,10-10,10S6,21.514,6,16c0-4.829,3.441-8.869,8-9.798V4.181 C8.334,5.137,4,10.066,4,16c0,6.617,5.383,12,12,12s12-5.383,12-12C28,10.066,23.666,5.137,18,4.181z" })
10831
10834
  }
10832
- ), fg = ({
10835
+ ), gg = ({
10833
10836
  isOpen: e,
10834
10837
  onClose: t,
10835
10838
  commentId: n,
@@ -10878,7 +10881,7 @@ const Gf = "_overlay_tlrod_1", zf = "_header_tlrod_18", Hf = "_logo_tlrod_25", V
10878
10881
  })
10879
10882
  })).json();
10880
10883
  if (w.type === "success")
10881
- jf(document, n), r("success"), setTimeout(() => {
10884
+ Qf(document, n), r("success"), setTimeout(() => {
10882
10885
  g();
10883
10886
  }, 3e3);
10884
10887
  else
@@ -11008,7 +11011,7 @@ async function oa({
11008
11011
  throw y;
11009
11012
  }
11010
11013
  }
11011
- const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11014
+ const { PUBLIC_PUBLICATION_ID: pg } = J(), Ag = pg, wg = (e) => {
11012
11015
  const [t, n] = O(void 0);
11013
11016
  return Ee(() => {
11014
11017
  if (t) return;
@@ -11016,7 +11019,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11016
11019
  const { PUBLIC_X_SECURITY_TOKEN: o } = J();
11017
11020
  try {
11018
11021
  const i = await oa({
11019
- publication: pg,
11022
+ publication: Ag,
11020
11023
  path: e ?? "",
11021
11024
  size: 5,
11022
11025
  sizereply: 2,
@@ -11034,7 +11037,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11034
11037
  }, Gs = ({ username: e, date: t }) => /* @__PURE__ */ m("div", { className: "comment-header", children: [
11035
11038
  /* @__PURE__ */ a("span", { className: "comment-username", children: e }),
11036
11039
  /* @__PURE__ */ a("span", { className: "comment-header-dot", children: "•" }),
11037
- /* @__PURE__ */ a("span", { className: "comment-date", children: Of(Te(Number(t))) })
11040
+ /* @__PURE__ */ a("span", { className: "comment-date", children: jf(Te(Number(t))) })
11038
11041
  ] }), zs = ({ user: e }) => /* @__PURE__ */ a("div", { className: "comment-avatar", children: e.picture ? /* @__PURE__ */ a(
11039
11042
  "img",
11040
11043
  {
@@ -11158,7 +11161,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11158
11161
  ]
11159
11162
  }
11160
11163
  );
11161
- }, { PUBLIC_PUBLICATION_ID: wg } = J(), yg = wg, Ys = async ({
11164
+ }, { PUBLIC_PUBLICATION_ID: yg } = J(), Cg = yg, Ys = async ({
11162
11165
  path: e,
11163
11166
  ref: t,
11164
11167
  captchaToken: n,
@@ -11177,7 +11180,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11177
11180
  method: "POST",
11178
11181
  headers: { "Content-Type": "application/json" },
11179
11182
  body: JSON.stringify({
11180
- publication: yg,
11183
+ publication: Cg,
11181
11184
  path: e,
11182
11185
  id: i,
11183
11186
  username: o.username,
@@ -11211,7 +11214,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11211
11214
  } catch (c) {
11212
11215
  return console.error("Error enviando comentario:", c), alert(c.message || "Error al enviar el comentario."), !1;
11213
11216
  }
11214
- }, Cg = ({
11217
+ }, bg = ({
11215
11218
  replyingTo: e,
11216
11219
  commentRef: t,
11217
11220
  user: n,
@@ -11262,7 +11265,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11262
11265
  }
11263
11266
  )
11264
11267
  ] });
11265
- }, bg = ({ reply: e, replyingTo: t, user: n, onFlag: s }) => {
11268
+ }, vg = ({ reply: e, replyingTo: t, user: n, onFlag: s }) => {
11266
11269
  const o = e.text;
11267
11270
  let i = `${Ge.firstname} ${Ge.lastname}`, r = Ge.username;
11268
11271
  return e.user && (i = `${e.user.firstname} ${e.user.lastname}`, r = e.user.username), /* @__PURE__ */ a("div", { className: "comment-item reply", children: /* @__PURE__ */ m("div", { className: "comment-header-container", children: [
@@ -11278,7 +11281,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11278
11281
  /* @__PURE__ */ a(Hs, { isReply: !0, onFlag: () => s(e.id) })
11279
11282
  ] })
11280
11283
  ] }) });
11281
- }, vg = ({ comment: e, replyingTo: t, path: n, user: s, handleReplyingTo: o, onFlag: i }) => {
11284
+ }, _g = ({ comment: e, replyingTo: t, path: n, user: s, handleReplyingTo: o, onFlag: i }) => {
11282
11285
  const r = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [l, c] = O(r), [u, d] = xe.useState(!1), h = process.env.NEXT_PUBLIC_PUBLICATION_ID ?? "", f = e.text, y = xe.useRef(null);
11283
11286
  let g = `${Ge.firstname} ${Ge.lastname}`, p = Ge.username;
11284
11287
  e.user && (g = `${e.user.firstname} ${e.user.lastname}`, p = e.user.username);
@@ -11304,7 +11307,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11304
11307
  }
11305
11308
  ),
11306
11309
  t === e.id && s && /* @__PURE__ */ a(
11307
- Cg,
11310
+ bg,
11308
11311
  {
11309
11312
  replyingTo: t,
11310
11313
  commentRef: y,
@@ -11316,7 +11319,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11316
11319
  ),
11317
11320
  l.reply.length > 0 && /* @__PURE__ */ m("div", { className: "comment-replies", children: [
11318
11321
  l.reply.map((C) => /* @__PURE__ */ a(
11319
- bg,
11322
+ vg,
11320
11323
  {
11321
11324
  user: s,
11322
11325
  reply: C,
@@ -11356,7 +11359,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11356
11359
  ]
11357
11360
  }
11358
11361
  ) });
11359
- }, _g = ({
11362
+ }, Ng = ({
11360
11363
  commentRef: e,
11361
11364
  user: t,
11362
11365
  path: n,
@@ -11401,7 +11404,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11401
11404
  }
11402
11405
  )
11403
11406
  ] });
11404
- }, { PUBLIC_PUBLICATION_ID: Ng, PUBLIC_X_SECURITY_TOKEN: Sg } = J(), Wa = Ng ?? "", xg = ({
11407
+ }, { PUBLIC_PUBLICATION_ID: Sg, PUBLIC_X_SECURITY_TOKEN: xg } = J(), Wa = Sg ?? "", Eg = ({
11405
11408
  isAuthenticated: e,
11406
11409
  path: t,
11407
11410
  user: n,
@@ -11410,7 +11413,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11410
11413
  }) => {
11411
11414
  const i = t.replaceAll("/", "|"), [r, l] = O(
11412
11415
  void 0
11413
- ), [c, u] = O(""), { comments: d, setComments: h } = Ag(i), [f, y] = xe.useState(!1), g = xe.useRef(null), p = (E) => {
11416
+ ), [c, u] = O(""), { comments: d, setComments: h } = wg(i), [f, y] = xe.useState(!1), g = xe.useRef(null), p = (E) => {
11414
11417
  u(c === E ? "" : E);
11415
11418
  }, w = (E) => {
11416
11419
  h(
@@ -11437,7 +11440,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11437
11440
  id: void 0,
11438
11441
  lastid: D,
11439
11442
  state: "5,6",
11440
- apiToken: Sg
11443
+ apiToken: xg
11441
11444
  }))[0];
11442
11445
  h({
11443
11446
  morecomment: F.morecomment ?? !1,
@@ -11451,7 +11454,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11451
11454
  /* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(ie, { title: N || e ? "COMENTARIOS" : !1, children: /* @__PURE__ */ m(Q, { children: [
11452
11455
  /* @__PURE__ */ a("div", { className: "comments-header", children: e && n && /* @__PURE__ */ m(Q, { children: [
11453
11456
  /* @__PURE__ */ a(
11454
- Cf,
11457
+ bf,
11455
11458
  {
11456
11459
  user: n,
11457
11460
  handleLogout: s,
@@ -11459,7 +11462,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11459
11462
  }
11460
11463
  ),
11461
11464
  /* @__PURE__ */ a(
11462
- _g,
11465
+ Ng,
11463
11466
  {
11464
11467
  commentRef: g,
11465
11468
  user: n,
@@ -11475,7 +11478,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11475
11478
  "data-isauthenticated": `${e}`,
11476
11479
  children: d ? d.comments && d.comments.length > 0 ? /* @__PURE__ */ m(Q, { children: [
11477
11480
  d.comments.map((E) => /* @__PURE__ */ a(
11478
- vg,
11481
+ _g,
11479
11482
  {
11480
11483
  comment: E,
11481
11484
  replyingTo: c,
@@ -11500,7 +11503,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11500
11503
  )
11501
11504
  ] }) }) }),
11502
11505
  /* @__PURE__ */ a(
11503
- fg,
11506
+ gg,
11504
11507
  {
11505
11508
  username: n?.username ?? void 0,
11506
11509
  publication: Wa,
@@ -11558,7 +11561,7 @@ const { PUBLIC_PUBLICATION_ID: gg } = J(), pg = gg, Ag = (e) => {
11558
11561
  test: (e) => /[^A-Za-z0-9]/.test(e)
11559
11562
  }
11560
11563
  ];
11561
- function Eg({ goToLogin: e, handleGoogleLogin: t }) {
11564
+ function kg({ goToLogin: e, handleGoogleLogin: t }) {
11562
11565
  const [n, s] = O({}), [o, i] = O(!1), [r, l] = O(!1), [c, u] = O(null), [d, h] = O(
11563
11566
  "register"
11564
11567
  ), f = (w, C) => {
@@ -11783,7 +11786,7 @@ function Eg({ goToLogin: e, handleGoogleLogin: t }) {
11783
11786
  ] })
11784
11787
  ] });
11785
11788
  }
11786
- function kg({
11789
+ function Ug({
11787
11790
  onClose: e,
11788
11791
  checkAuth: t,
11789
11792
  goToRegister: n,
@@ -11793,7 +11796,7 @@ function kg({
11793
11796
  const [i, r] = O("login"), [l, c] = O(""), [u, d] = O(""), [h, f] = O(""), [y, g] = O(""), [p, w] = O(""), [C, k] = O(!1), [N, R] = O(!1), [I, E] = O(null);
11794
11797
  return /* @__PURE__ */ m(Q, { children: [
11795
11798
  i === "login" && /* @__PURE__ */ a(
11796
- Ug,
11799
+ Ig,
11797
11800
  {
11798
11801
  email: l,
11799
11802
  password: u,
@@ -11835,7 +11838,7 @@ function kg({
11835
11838
  }
11836
11839
  ),
11837
11840
  i === "forgot" && /* @__PURE__ */ a(
11838
- Ig,
11841
+ Tg,
11839
11842
  {
11840
11843
  email: l,
11841
11844
  setEmail: c,
@@ -11868,7 +11871,7 @@ function kg({
11868
11871
  }
11869
11872
  ),
11870
11873
  i === "changePassword" && /* @__PURE__ */ a(
11871
- Tg,
11874
+ qg,
11872
11875
  {
11873
11876
  email: l,
11874
11877
  confirmationCode: h,
@@ -11917,7 +11920,7 @@ function kg({
11917
11920
  }
11918
11921
  ),
11919
11922
  i === "feedback" && /* @__PURE__ */ a(
11920
- qg,
11923
+ Bg,
11921
11924
  {
11922
11925
  onBackToLogin: () => {
11923
11926
  E(null), r("login");
@@ -11926,7 +11929,7 @@ function kg({
11926
11929
  )
11927
11930
  ] });
11928
11931
  }
11929
- function Ug({
11932
+ function Ig({
11930
11933
  email: e,
11931
11934
  password: t,
11932
11935
  showPassword: n,
@@ -12018,7 +12021,7 @@ function Ug({
12018
12021
  )
12019
12022
  ] });
12020
12023
  }
12021
- function Ig({
12024
+ function Tg({
12022
12025
  email: e,
12023
12026
  setEmail: t,
12024
12027
  loading: n,
@@ -12055,7 +12058,7 @@ function Ig({
12055
12058
  }
12056
12059
  );
12057
12060
  }
12058
- function Tg({
12061
+ function qg({
12059
12062
  email: e,
12060
12063
  confirmationCode: t,
12061
12064
  newPassword: n,
@@ -12079,7 +12082,7 @@ function Tg({
12079
12082
  children: [
12080
12083
  /* @__PURE__ */ m("p", { className: _.message, children: [
12081
12084
  "Hemos enviado un código de restablecimiento de contraseña en un mensaje de Correo electrónico a ",
12082
- Qf(e),
12085
+ Gf(e),
12083
12086
  ". Ingrese el código y la contraseña nueva."
12084
12087
  ] }),
12085
12088
  /* @__PURE__ */ m("ul", { className: _.formUl, children: [
@@ -12166,13 +12169,13 @@ function Tg({
12166
12169
  }
12167
12170
  );
12168
12171
  }
12169
- function qg({ onBackToLogin: e }) {
12172
+ function Bg({ onBackToLogin: e }) {
12170
12173
  return /* @__PURE__ */ m("div", { className: _.form, children: [
12171
12174
  /* @__PURE__ */ a("p", { className: _.success, children: "La contraseña fue cambiada con éxito" }),
12172
12175
  /* @__PURE__ */ a("button", { type: "button", className: _.primary, onClick: e, children: "Iniciar Sesión" })
12173
12176
  ] });
12174
12177
  }
12175
- function Bg({
12178
+ function Lg({
12176
12179
  loginUrl: e,
12177
12180
  COGNITO_AUTH_PREFIX: t,
12178
12181
  CAPTCHA_KEY: n,
@@ -12210,7 +12213,7 @@ function Bg({
12210
12213
  )
12211
12214
  ] }),
12212
12215
  r === "login" && /* @__PURE__ */ a(
12213
- kg,
12216
+ Ug,
12214
12217
  {
12215
12218
  CAPTCHA_KEY: n,
12216
12219
  onClose: s,
@@ -12220,7 +12223,7 @@ function Bg({
12220
12223
  }
12221
12224
  ),
12222
12225
  r === "register" && /* @__PURE__ */ a(
12223
- Eg,
12226
+ kg,
12224
12227
  {
12225
12228
  handleGoogleLogin: c,
12226
12229
  goToLogin: () => l("login")
@@ -12230,7 +12233,7 @@ function Bg({
12230
12233
  }
12231
12234
  );
12232
12235
  }
12233
- function Lg({
12236
+ function Rg({
12234
12237
  isAuthenticated: e,
12235
12238
  setIsAuthenticated: t,
12236
12239
  loginUrl: n,
@@ -12251,7 +12254,7 @@ function Lg({
12251
12254
  };
12252
12255
  return /* @__PURE__ */ m(Q, { children: [
12253
12256
  u && /* @__PURE__ */ a(
12254
- Bg,
12257
+ Lg,
12255
12258
  {
12256
12259
  loginUrl: n,
12257
12260
  COGNITO_AUTH_PREFIX: l,
@@ -12276,7 +12279,7 @@ function Lg({
12276
12279
  )
12277
12280
  ] }),
12278
12281
  /* @__PURE__ */ a(
12279
- xg,
12282
+ Eg,
12280
12283
  {
12281
12284
  isAuthenticated: e,
12282
12285
  handleLogout: h,
@@ -12287,8 +12290,8 @@ function Lg({
12287
12290
  )
12288
12291
  ] });
12289
12292
  }
12290
- const Rg = "radioformula_";
12291
- function Dg({
12293
+ const Dg = "radioformula_";
12294
+ function Mg({
12292
12295
  isVisible: e,
12293
12296
  path: t,
12294
12297
  icon: n,
@@ -12297,7 +12300,7 @@ function Dg({
12297
12300
  }) {
12298
12301
  const [i, r] = O(null), [l, c] = O(null), u = async () => {
12299
12302
  if (e) {
12300
- if (document.cookie.search(Rg + "IS_AUTH=true") === -1) {
12303
+ if (document.cookie.search(Dg + "IS_AUTH=true") === -1) {
12301
12304
  r(!1), c(null), console.log("user not logged");
12302
12305
  return;
12303
12306
  }
@@ -12322,7 +12325,7 @@ function Dg({
12322
12325
  }, [l, e]);
12323
12326
  const d = "/api/auth/login", h = /* @__PURE__ */ a("div", { style: { display: "flex", justifyContent: "center", alignItems: "center", minHeight: 310, position: "relative" }, children: /* @__PURE__ */ a(ze, {}) });
12324
12327
  return i === null ? h : e ? /* @__PURE__ */ a(
12325
- Lg,
12328
+ Rg,
12326
12329
  {
12327
12330
  COGNITO_AUTH_PREFIX: s,
12328
12331
  captchaVars: o,
@@ -12336,7 +12339,7 @@ function Dg({
12336
12339
  }
12337
12340
  ) : h;
12338
12341
  }
12339
- const ap = ({
12342
+ const sp = ({
12340
12343
  render: e,
12341
12344
  internalPath: t,
12342
12345
  section: n,
@@ -12373,7 +12376,7 @@ const ap = ({
12373
12376
  // />
12374
12377
  // ),
12375
12378
  comment: /* @__PURE__ */ a(
12376
- Dg,
12379
+ Mg,
12377
12380
  {
12378
12381
  COGNITO_AUTH_PREFIX: r ?? "template_",
12379
12382
  captchaVars: l,
@@ -12383,7 +12386,7 @@ const ap = ({
12383
12386
  }
12384
12387
  ),
12385
12388
  more: /* @__PURE__ */ a(
12386
- Af,
12389
+ wf,
12387
12390
  {
12388
12391
  section: n,
12389
12392
  currentNews: s,
@@ -12404,7 +12407,7 @@ const ap = ({
12404
12407
  }
12405
12408
  );
12406
12409
  };
12407
- async function sp({
12410
+ async function op({
12408
12411
  publication: e,
12409
12412
  path: t,
12410
12413
  username: n,
@@ -12511,7 +12514,7 @@ async function sp({
12511
12514
  };
12512
12515
  }
12513
12516
  }
12514
- const op = async ({
12517
+ const ip = async ({
12515
12518
  token: e,
12516
12519
  projectId: t,
12517
12520
  captchaKey: n,
@@ -12544,7 +12547,7 @@ const op = async ({
12544
12547
  } catch (i) {
12545
12548
  throw console.error("Recaptcha verification failed", i), new Error(String(i));
12546
12549
  }
12547
- }, Mg = (e) => {
12550
+ }, Pg = (e) => {
12548
12551
  const { content: t, title: n, slot_id: s } = e, o = e.slot_id && e.slot_id !== "Nota_1";
12549
12552
  return t && t.length !== 0 && /* @__PURE__ */ a(ie, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ a(ft, { slot_id: s, cardWidth: 200, children: t.map((i, r) => {
12550
12553
  const l = { ...i, main: {
@@ -12561,7 +12564,7 @@ const op = async ({
12561
12564
  r
12562
12565
  );
12563
12566
  }) }) });
12564
- }, Pg = (e) => {
12567
+ }, Og = (e) => {
12565
12568
  const { content: t, title: n, slot_id: s } = e, o = e.slot_id && e.slot_id !== "Nota_1";
12566
12569
  return t && t.length !== 0 && /* @__PURE__ */ a(ie, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ a(
12567
12570
  ft,
@@ -12587,7 +12590,7 @@ const op = async ({
12587
12590
  })
12588
12591
  }
12589
12592
  ) });
12590
- }, Og = (e) => {
12593
+ }, jg = (e) => {
12591
12594
  const { content: t, title: n, slot_id: s } = e, o = e.slot_id && e.slot_id !== "Nota_1";
12592
12595
  return t && t.length !== 0 && /* @__PURE__ */ a(ie, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ a(
12593
12596
  ft,
@@ -12619,15 +12622,15 @@ const op = async ({
12619
12622
  for (const n in e)
12620
12623
  n.startsWith("--") && (t[n] = e[n]);
12621
12624
  return t;
12622
- }, jg = "_headerSection_1c69w_1", Qg = "_title_1c69w_11", Gg = "_subtitle_1c69w_23", zg = "_newsContent_1c69w_36", Hg = "_containerCards_1c69w_44", Vg = "_image_1c69w_50", Fg = "_blockHeadContainer_1c69w_56", Je = {
12623
- headerSection: jg,
12624
- title: Qg,
12625
- subtitle: Gg,
12626
- newsContent: zg,
12627
- containerCards: Hg,
12628
- image: Vg,
12629
- blockHeadContainer: Fg
12630
- }, Wg = (e) => {
12625
+ }, Qg = "_headerSection_1c69w_1", Gg = "_title_1c69w_11", zg = "_subtitle_1c69w_23", Hg = "_newsContent_1c69w_36", Vg = "_containerCards_1c69w_44", Fg = "_image_1c69w_50", Wg = "_blockHeadContainer_1c69w_56", Je = {
12626
+ headerSection: Qg,
12627
+ title: Gg,
12628
+ subtitle: zg,
12629
+ newsContent: Hg,
12630
+ containerCards: Vg,
12631
+ image: Fg,
12632
+ blockHeadContainer: Wg
12633
+ }, Yg = (e) => {
12631
12634
  const { content: t, title: n, isVideo: s } = e;
12632
12635
  if (!t || t.length === 0) return;
12633
12636
  const o = t[0], i = t.slice(1), r = e.slot_id && e.slot_id !== "Nota_1";
@@ -12679,16 +12682,16 @@ const op = async ({
12679
12682
  "Modulo 1x4": (e) => /* @__PURE__ */ a(qh, { ...e }),
12680
12683
  "Modulo 1x5": (e) => /* @__PURE__ */ a(Dh, { ...e }),
12681
12684
  "Destacado noticias": (e) => /* @__PURE__ */ a(nh, { ...e }),
12682
- "Destacado full width": (e) => /* @__PURE__ */ a(Wg, { ...e }),
12685
+ "Destacado full width": (e) => /* @__PURE__ */ a(Yg, { ...e }),
12683
12686
  "Destacado videos": (e) => /* @__PURE__ */ a(jh, { ...e }),
12684
12687
  "Carrusel card": (e) => /* @__PURE__ */ a(Xh, { ...e }),
12685
- "Carrusel story": (e) => /* @__PURE__ */ a(Mg, { ...e }),
12686
- "Carrusel owl": (e) => /* @__PURE__ */ a(Pg, { ...e }),
12687
- "Modulo fotogaleria": (e) => /* @__PURE__ */ a(Og, { ...e }),
12688
+ "Carrusel story": (e) => /* @__PURE__ */ a(Pg, { ...e }),
12689
+ "Carrusel owl": (e) => /* @__PURE__ */ a(Og, { ...e }),
12690
+ "Modulo fotogaleria": (e) => /* @__PURE__ */ a(jg, { ...e }),
12688
12691
  "Carrusel opinion": (e) => /* @__PURE__ */ a(l2, { ...e }),
12689
12692
  "Modulo 1x3 card": (e) => /* @__PURE__ */ a(Zh, { ...e })
12690
12693
  };
12691
- function Yg({
12694
+ function $g({
12692
12695
  component: e,
12693
12696
  slot_id: t,
12694
12697
  data: n,
@@ -12697,7 +12700,7 @@ function Yg({
12697
12700
  if (s)
12698
12701
  return $a[e] && /* @__PURE__ */ a("div", { className: "home-slot", style: ia(n), children: $a[e]({ ...n, banners: s, slot_id: t }) });
12699
12702
  }
12700
- function ip({
12703
+ function rp({
12701
12704
  children: e,
12702
12705
  stylesConfigEntry: t
12703
12706
  }) {
@@ -12769,7 +12772,7 @@ const Ka = {
12769
12772
  ...t,
12770
12773
  rightOnlyBanner: s,
12771
12774
  banners: n
12772
- }) }), rp = ({
12775
+ }) }), lp = ({
12773
12776
  slots: e,
12774
12777
  DYNAMIC_SLOT_SUBINDEXES: t,
12775
12778
  stylesConfig: n,
@@ -12789,7 +12792,7 @@ const Ka = {
12789
12792
  order: (d - 1) * c + (h - 1),
12790
12793
  children: [
12791
12794
  /* @__PURE__ */ a(
12792
- Yg,
12795
+ $g,
12793
12796
  {
12794
12797
  component: e[f].blockSass[0].block,
12795
12798
  banners: i,
@@ -12818,7 +12821,7 @@ const Ka = {
12818
12821
  );
12819
12822
  }
12820
12823
  return r;
12821
- }, lp = ({
12824
+ }, cp = ({
12822
12825
  mainBlock: e,
12823
12826
  StylesConfigMain: t,
12824
12827
  config: n,
@@ -12864,138 +12867,138 @@ const Ka = {
12864
12867
  };
12865
12868
  export {
12866
12869
  Io as AssetsPreconnect,
12867
- Z9 as AutorComponent,
12870
+ X9 as AutorComponent,
12868
12871
  i1 as AutorHeader1,
12869
12872
  A1 as AutorHeader2,
12870
12873
  se as BannerAdvertising,
12871
12874
  kt as BannerAdvertisingMiddle,
12872
- I9 as CarrouselCSR,
12875
+ T9 as CarrouselCSR,
12873
12876
  ft as CarrouselIRS,
12874
12877
  Xh as CarruselCard,
12875
12878
  l2 as CarruselOpinion,
12876
12879
  Se as CommonServices,
12877
12880
  Zs as Comscore,
12878
- Y9 as ContactInfoServer,
12879
- R9 as ContactInput,
12880
- D9 as ContactSelect,
12881
- M9 as ContactTextarea,
12881
+ $9 as ContactInfoServer,
12882
+ D9 as ContactInput,
12883
+ M9 as ContactSelect,
12884
+ P9 as ContactTextarea,
12882
12885
  Mt as ContentLayout1,
12883
12886
  Ba as ContentLayoutTema,
12884
- lp as DEBUG_MainSlots,
12887
+ cp as DEBUG_MainSlots,
12885
12888
  nh as DestacadoNoticias,
12886
12889
  jh as DestacadoVideos,
12887
12890
  br as DynamicBlockServices,
12888
- rp as DynamicComponents,
12891
+ lp as DynamicComponents,
12889
12892
  Pn as DynamicMainSlot,
12890
- Yg as DynamicSlot,
12891
- H9 as EditorialBlock,
12892
- L9 as ErrorComponent,
12893
+ $g as DynamicSlot,
12894
+ V9 as EditorialBlock,
12895
+ R9 as ErrorComponent,
12893
12896
  zo as Font,
12894
- q9 as Footer,
12897
+ B9 as Footer,
12895
12898
  Uo as FormatAfterScripts,
12896
12899
  ts as FormatScripts,
12897
12900
  eo as GA4,
12898
- Jg as GTM,
12901
+ Zg as GTM,
12899
12902
  e0 as GalleryHeader,
12900
- k9 as GenerateBody,
12901
- E9 as GenerateHead,
12902
- O9 as Header,
12903
+ U9 as GenerateBody,
12904
+ k9 as GenerateHead,
12905
+ j9 as Header,
12903
12906
  ml as ImageOffline,
12904
- N9 as IssuuServices,
12907
+ S9 as IssuuServices,
12905
12908
  Po as ItemListSchema,
12906
- Q9 as JournalistArticule2,
12907
- G9 as JournalistGroup,
12909
+ G9 as JournalistArticule2,
12910
+ z9 as JournalistGroup,
12908
12911
  Bs as LayoutNewsComponent,
12909
- ap as LazyLoader,
12912
+ sp as LazyLoader,
12910
12913
  Vd as LiveBlogHeader,
12911
- U9 as Location,
12912
- o9 as MainComponentServices,
12914
+ I9 as Location,
12915
+ i9 as MainComponentServices,
12913
12916
  to as Marfeel,
12914
12917
  an as MiddleSection,
12915
12918
  Ms as Modulo1x3,
12916
12919
  Zh as Modulo1x3Card,
12917
12920
  qh as Modulo1x4,
12918
12921
  Dh as Modulo1x5,
12919
- V9 as Modulo2Columnas,
12922
+ F9 as Modulo2Columnas,
12920
12923
  Uh as Modulo3Columnas,
12921
- F9 as ModuloNewsletter,
12922
- z9 as ModuloOpinion,
12923
- pf as NewListResponseDataPH,
12924
+ W9 as ModuloNewsletter,
12925
+ H9 as ModuloOpinion,
12926
+ Af as NewListResponseDataPH,
12924
12927
  Oo as NewsArticle,
12925
- $9 as NewsComponent,
12928
+ K9 as NewsComponent,
12926
12929
  Hn as NewsContent,
12927
12930
  dn as NextPrev,
12928
12931
  jo as OrgList,
12929
12932
  ma as PreloadImages,
12930
12933
  je as REPORT_REASONS,
12931
12934
  Xn as Readest,
12932
- ep as ScriptHydrator,
12933
- J9 as SearchSection,
12935
+ tp as ScriptHydrator,
12936
+ Z9 as SearchSection,
12934
12937
  ie as Section,
12935
12938
  He as SectionCard,
12936
12939
  vn as SectionCard2,
12937
12940
  Fn as SectionCardServerComponent,
12938
- W9 as SectionServerComponent,
12941
+ Y9 as SectionServerComponent,
12939
12942
  Ur as ShowSection,
12940
12943
  z2 as SocialNetworks,
12941
12944
  Do as SpeculationRules,
12942
- ip as StaticSlotWrapper,
12945
+ rp as StaticSlotWrapper,
12943
12946
  xl as SubscribeColumn,
12944
12947
  Ol as SubscribeRow,
12945
- T9 as SubscribeWhatsAppColumn,
12946
- K9 as TagComponent,
12947
- j9 as TagSection,
12948
+ q9 as SubscribeWhatsAppColumn,
12949
+ J9 as TagComponent,
12950
+ Q9 as TagSection,
12948
12951
  Kd as TimeLine,
12949
- t9 as TrimPathname,
12950
- B9 as VideoBlock3,
12951
- P9 as VideoBlock4,
12952
- X9 as VideoSection,
12952
+ n9 as TrimPathname,
12953
+ L9 as VideoBlock3,
12954
+ O9 as VideoBlock4,
12955
+ ep as VideoSection,
12953
12956
  Go as VideosSchemas,
12954
12957
  Qo as WebsiteList,
12955
- sp as addComment,
12958
+ op as addComment,
12956
12959
  Wn as bannersReplace,
12957
12960
  Tt as becomeVideoObject,
12958
12961
  Ac as coloringByStrokeSVGs,
12959
12962
  ia as compileStyleProps,
12960
12963
  ye as cutString,
12961
- e9 as extractRealtedNews,
12964
+ t9 as extractRealtedNews,
12962
12965
  Te as formatDate,
12963
- Xg as formatDateEdiciones,
12966
+ e9 as formatDateEdiciones,
12964
12967
  Xa as formatDateJournalistArticule,
12965
12968
  Co as formatDateTimeline,
12966
12969
  No as formatNewsMeta,
12967
12970
  qo as formatVideoData,
12968
- x9 as generalGetData,
12971
+ E9 as generalGetData,
12969
12972
  $s as getCaptchaToken,
12970
12973
  oa as getComments,
12971
12974
  J as getConfig,
12972
- S9 as getDynamicSlots,
12975
+ x9 as getDynamicSlots,
12973
12976
  rn as getEnvironmentUrl,
12974
12977
  _o as getEnvironmentUrlFront,
12975
12978
  oe as getImageUrl,
12976
12979
  Ot as getNextMeta,
12977
12980
  Qt as getPage,
12978
- s9 as getPreloadImages,
12981
+ o9 as getPreloadImages,
12979
12982
  jt as getPrevMeta,
12980
- np as getReportReasonLabel,
12983
+ ap as getReportReasonLabel,
12981
12984
  bo as getResponse,
12982
12985
  vo as getResponsePromise,
12983
12986
  Yn as getSchemas,
12984
12987
  as as getScriptReplaces,
12985
12988
  Vo as getSlugs,
12986
- n9 as getTypeOfNews,
12987
- a9 as getVideoRealPath,
12988
- Zg as initLibrary,
12989
+ a9 as getTypeOfNews,
12990
+ s9 as getVideoRealPath,
12991
+ Xg as initLibrary,
12989
12992
  ko as metadataToJSX,
12990
12993
  _r as metadata_defaults,
12991
12994
  es as parseTags,
12992
12995
  So as pathnameSplit,
12993
12996
  Ho as removePages,
12994
- tp as reportComment,
12997
+ np as reportComment,
12995
12998
  Hc as shareButtons,
12996
12999
  na as socialIcons,
12997
13000
  Lo as speculationRules,
12998
13001
  Bo as speculationRulesHome,
12999
13002
  xo as urlReplaces,
13000
- op as verifyCaptchaTokenEnterprise
13003
+ ip as verifyCaptchaTokenEnterprise
13001
13004
  };