sass-template-common 0.2.12 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { jsx as a, jsxs as f, Fragment as K } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as f, Fragment as Y } from "react/jsx-runtime";
2
2
  import * as Ra from "react";
3
3
  import Te, { useState as J, useRef as Or, useCallback as he, useEffect as De, createElement as st, forwardRef as Pr, Fragment as gn, useMemo as Go, Component as Ho } from "react";
4
4
  let ea = {
@@ -7,8 +7,8 @@ let ea = {
7
7
  PUBLIC_API_PATH: void 0,
8
8
  PUBLIC_API_PATH_VERSION: void 0,
9
9
  PUBLIC_X_SECURITY_TOKEN: "wj5oeACJStV3exBvodMa",
10
- PUBLIC_PUBLICATION_ID: "35",
11
- PUBLIC_TAG_TYPE: "27",
10
+ PUBLIC_PUBLICATION_ID: "41",
11
+ PUBLIC_TAG_TYPE: "30",
12
12
  PUBLIC_ENV: "local",
13
13
  PUBLIC_LNG: "en",
14
14
  PUBLIC_SERVICE_PREFIX: "false",
@@ -57,11 +57,11 @@ let ea = {
57
57
  function A9(e = {}) {
58
58
  ea = { ...ea, ...e };
59
59
  }
60
- function $() {
60
+ function K() {
61
61
  return ea;
62
62
  }
63
63
  const zo = () => {
64
- const { ANALYTICS_comscore: e } = $();
64
+ const { ANALYTICS_comscore: e } = K();
65
65
  return e && /* @__PURE__ */ a(
66
66
  "script",
67
67
  {
@@ -86,8 +86,8 @@ const zo = () => {
86
86
  return Object.keys(t).forEach((s) => {
87
87
  o[s] = s;
88
88
  }), o;
89
- }, [t]), { ANALYTICS_ga4: r } = $();
90
- return r && /* @__PURE__ */ f(K, { children: [
89
+ }, [t]), { ANALYTICS_ga4: r } = K();
90
+ return r && /* @__PURE__ */ f(Y, { children: [
91
91
  /* @__PURE__ */ a("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + e }),
92
92
  /* @__PURE__ */ a(
93
93
  "script",
@@ -109,8 +109,8 @@ const zo = () => {
109
109
  )
110
110
  ] });
111
111
  }, Wo = () => {
112
- const { ANALYTICS_gtm: e } = $();
113
- return e && /* @__PURE__ */ f(K, { children: [
112
+ const { ANALYTICS_gtm: e } = K();
113
+ return e && /* @__PURE__ */ f(Y, { children: [
114
114
  /* @__PURE__ */ a(
115
115
  "script",
116
116
  {
@@ -137,7 +137,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
137
137
  ) })
138
138
  ] });
139
139
  }, $o = () => {
140
- const { ANALYTICS_marfeel: e } = $();
140
+ const { ANALYTICS_marfeel: e } = K();
141
141
  return e && /* @__PURE__ */ a(
142
142
  "script",
143
143
  {
@@ -640,18 +640,18 @@ xe.extend(ss);
640
640
  xe.extend(ds);
641
641
  xe.extend(es);
642
642
  const _n = (e) => e === "en" ? "en" : "es", Me = (e) => {
643
- const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = $(), r = _n(t ?? "es");
643
+ const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = K(), r = _n(t ?? "es");
644
644
  return xe.tz(e, n).locale(r).format("DD MMMM YYYY");
645
645
  }, Mr = (e) => {
646
- const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = $(), r = _n(t ?? "es");
646
+ const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = K(), r = _n(t ?? "es");
647
647
  return xe.tz(e, n).locale(r).format(
648
648
  r === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
649
649
  );
650
650
  }, us = (e) => {
651
- const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = $(), r = _n(t ?? "es");
651
+ const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = K(), r = _n(t ?? "es");
652
652
  return xe.tz(e, n).locale(r).format("MM/DD/YYYY [•] HH:mm [HS]");
653
653
  }, y9 = (e) => {
654
- const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = $(), r = _n(t ?? "es");
654
+ const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = K(), r = _n(t ?? "es");
655
655
  return xe.tz(e, n).locale(r).format("dddd DD [de] MMMM YYYY");
656
656
  }, je = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
657
657
  function jr(e) {
@@ -725,14 +725,14 @@ const v9 = async (e, t) => {
725
725
  (s) => jr(s)?.data
726
726
  );
727
727
  }, pn = () => {
728
- const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } = $();
728
+ const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } = K();
729
729
  return e == "local" ? t : n !== "false" && n !== "false" ? n : "";
730
730
  }, ms = () => {
731
- const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = $();
731
+ const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = K();
732
732
  return e === "local" ? t : "";
733
733
  }, fs = (e, t) => {
734
734
  if (!e) return {};
735
- const { PUBLIC_ASSETS_URL: n, PUBLIC_API_FRONT: r } = $(), o = Qr(e.keywords) ?? "", s = e?.preview?.sizes ? e?.preview?.sizes[0]?.url : "", i = (n !== "false" ? n : r) ?? "";
735
+ const { PUBLIC_ASSETS_URL: n, PUBLIC_API_FRONT: r } = K(), o = Qr(e.keywords) ?? "", s = e?.preview?.sizes ? e?.preview?.sizes[0]?.url : "", i = (n !== "false" ? n : r) ?? "";
736
736
  return {
737
737
  title: (e?.main?.title?.seo ?? e?.main?.title?.article) + " | " + t.name,
738
738
  robots: "index, follow, max-image-preview:large",
@@ -920,7 +920,7 @@ const v9 = async (e, t) => {
920
920
  const t = e.banners.find((s) => s.key === e.name);
921
921
  if (!t || !t.show) return null;
922
922
  const n = fa(t.value || "", e.replaces), r = /<script([^>]*)>([\s\S]*?)<\/script\s*>/gi, o = [...n.matchAll(r)];
923
- return /* @__PURE__ */ a(K, { children: o.map((s, i) => {
923
+ return /* @__PURE__ */ a(Y, { children: o.map((s, i) => {
924
924
  const c = s[1] || "", d = s[2]?.trim() || "", l = c.match(/src=["']([^"']+)["']/i);
925
925
  if (l) {
926
926
  const u = l[1];
@@ -939,7 +939,7 @@ const v9 = async (e, t) => {
939
939
  const t = e.banners.find((o) => o.key === e.name);
940
940
  if (!t || !t.show) return null;
941
941
  const r = fa(t.value || "", e.replaces).split(/(<script[\s\S]*?<\/script\s*>)/gi);
942
- return /* @__PURE__ */ a(K, { children: r.map((o, s) => {
942
+ return /* @__PURE__ */ a(Y, { children: r.map((o, s) => {
943
943
  const i = o.match(
944
944
  /<script([^>]*)>([\s\S]*?)<\/script\s*>/i
945
945
  );
@@ -977,9 +977,9 @@ function b9(e) {
977
977
  return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
978
978
  }
979
979
  const vs = () => {
980
- const { PUBLIC_ASSETS_URL: e } = $();
980
+ const { PUBLIC_ASSETS_URL: e } = K();
981
981
  return e && e !== "false" && /* @__PURE__ */ a("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" });
982
- }, { PUBLIC_ASSETS_URL: Rn } = $(), bs = Rn && Rn !== "false" ? Rn : "", Da = ({ images: e }) => /* @__PURE__ */ a(K, { children: e.map(
982
+ }, { PUBLIC_ASSETS_URL: Rn } = K(), bs = Rn && Rn !== "false" ? Rn : "", Da = ({ images: e }) => /* @__PURE__ */ a(Y, { children: e.map(
983
983
  (t, n) => t.href !== "" && /* @__PURE__ */ a(
984
984
  "link",
985
985
  {
@@ -993,7 +993,7 @@ const vs = () => {
993
993
  )
994
994
  ) }), Cs = (e, t) => {
995
995
  if (!e) return {};
996
- const { PUBLIC_API_FRONT: n } = $();
996
+ const { PUBLIC_API_FRONT: n } = K();
997
997
  return {
998
998
  title: e?.main?.title + " | " + t.name,
999
999
  robots: "index, follow, max-image-preview:large",
@@ -1105,7 +1105,7 @@ const vt = (e, t) => {
1105
1105
  pathname: n,
1106
1106
  ROUTE: r
1107
1107
  }) => {
1108
- const { PUBLIC_PUBLICATION_ID: o = "" } = $();
1108
+ const { PUBLIC_PUBLICATION_ID: o = "" } = K();
1109
1109
  let s = [];
1110
1110
  const i = n === "/" || n === "/index.html" ? void 0 : Ls(Bs[r]({ pathname: n, config: e })), c = xs[r] ?? void 0, d = {
1111
1111
  newstype: e.newsType,
@@ -1133,7 +1133,7 @@ const vt = (e, t) => {
1133
1133
  );
1134
1134
  };
1135
1135
  function Hr(e) {
1136
- const { PUBLIC_ASSETS_URL: t } = $();
1136
+ const { PUBLIC_ASSETS_URL: t } = K();
1137
1137
  if (!t || t === "false") return e;
1138
1138
  const n = t.replace(/\/+$/, ""), r = /https?:\/\/[^/\s]+\/(arte|__export)\//g;
1139
1139
  return e.replace(r, (o, s) => `${n}/${s}/`);
@@ -1144,7 +1144,7 @@ const Is = async ({
1144
1144
  BASE_URL: n,
1145
1145
  axiosApi: r
1146
1146
  }) => {
1147
- const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: s } = $();
1147
+ const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: s } = K();
1148
1148
  let i = [];
1149
1149
  try {
1150
1150
  const c = t.socialBlockLogo?.url ? new URL(t.socialBlockLogo.url).pathname : void 0, d = t.landscapeLogo?.url ? new URL(t.landscapeLogo.url).pathname : void 0, l = {
@@ -1247,7 +1247,7 @@ const Is = async ({
1247
1247
  unicode-range: 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;
1248
1248
  }
1249
1249
  `;
1250
- return /* @__PURE__ */ a(K, { children: e.useS3Font ? /* @__PURE__ */ f(K, { children: [
1250
+ return /* @__PURE__ */ a(Y, { children: e.useS3Font ? /* @__PURE__ */ f(Y, { children: [
1251
1251
  /* @__PURE__ */ a(
1252
1252
  "link",
1253
1253
  {
@@ -1741,10 +1741,10 @@ const pi = (e) => {
1741
1741
  asap: wi,
1742
1742
  isIterable: vi
1743
1743
  };
1744
- function Y(e, t, n, r, o) {
1744
+ function $(e, t, n, r, o) {
1745
1745
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
1746
1746
  }
1747
- C.inherits(Y, Error, {
1747
+ C.inherits($, Error, {
1748
1748
  toJSON: function() {
1749
1749
  return {
1750
1750
  // Standard
@@ -1765,7 +1765,7 @@ C.inherits(Y, Error, {
1765
1765
  };
1766
1766
  }
1767
1767
  });
1768
- const Xr = Y.prototype, eo = {};
1768
+ const Xr = $.prototype, eo = {};
1769
1769
  [
1770
1770
  "ERR_BAD_OPTION_VALUE",
1771
1771
  "ERR_BAD_OPTION",
@@ -1783,15 +1783,15 @@ const Xr = Y.prototype, eo = {};
1783
1783
  ].forEach((e) => {
1784
1784
  eo[e] = { value: e };
1785
1785
  });
1786
- Object.defineProperties(Y, eo);
1786
+ Object.defineProperties($, eo);
1787
1787
  Object.defineProperty(Xr, "isAxiosError", { value: !0 });
1788
- Y.from = (e, t, n, r, o, s) => {
1788
+ $.from = (e, t, n, r, o, s) => {
1789
1789
  const i = Object.create(Xr);
1790
1790
  C.toFlatObject(e, i, function(u) {
1791
1791
  return u !== Error.prototype;
1792
1792
  }, (l) => l !== "isAxiosError");
1793
1793
  const c = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
1794
- return Y.call(i, c, d, n, r, o), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", s && Object.assign(i, s), i;
1794
+ return $.call(i, c, d, n, r, o), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", s && Object.assign(i, s), i;
1795
1795
  };
1796
1796
  const bi = null;
1797
1797
  function na(e) {
@@ -1831,7 +1831,7 @@ function xn(e, t, n) {
1831
1831
  if (C.isBoolean(g))
1832
1832
  return g.toString();
1833
1833
  if (!d && C.isBlob(g))
1834
- throw new Y("Blob is not supported. Use a Buffer instead.");
1834
+ throw new $("Blob is not supported. Use a Buffer instead.");
1835
1835
  return C.isArrayBuffer(g) || C.isTypedArray(g) ? d && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
1836
1836
  }
1837
1837
  function u(g, A, w) {
@@ -2082,7 +2082,7 @@ const Ht = {
2082
2082
  return JSON.parse(t, this.parseReviver);
2083
2083
  } catch (c) {
2084
2084
  if (i)
2085
- throw c.name === "SyntaxError" ? Y.from(c, Y.ERR_BAD_RESPONSE, this, null, this.response) : c;
2085
+ throw c.name === "SyntaxError" ? $.from(c, $.ERR_BAD_RESPONSE, this, null, this.response) : c;
2086
2086
  }
2087
2087
  }
2088
2088
  return t;
@@ -2325,16 +2325,16 @@ function so(e) {
2325
2325
  return !!(e && e.__CANCEL__);
2326
2326
  }
2327
2327
  function St(e, t, n) {
2328
- Y.call(this, e ?? "canceled", Y.ERR_CANCELED, t, n), this.name = "CanceledError";
2328
+ $.call(this, e ?? "canceled", $.ERR_CANCELED, t, n), this.name = "CanceledError";
2329
2329
  }
2330
- C.inherits(St, Y, {
2330
+ C.inherits(St, $, {
2331
2331
  __CANCEL__: !0
2332
2332
  });
2333
2333
  function io(e, t, n) {
2334
2334
  const r = n.config.validateStatus;
2335
- !n.status || !r || r(n.status) ? e(n) : t(new Y(
2335
+ !n.status || !r || r(n.status) ? e(n) : t(new $(
2336
2336
  "Request failed with status code " + n.status,
2337
- [Y.ERR_BAD_REQUEST, Y.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
2337
+ [$.ERR_BAD_REQUEST, $.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
2338
2338
  n.config,
2339
2339
  n.request,
2340
2340
  n
@@ -2559,16 +2559,16 @@ const lo = (e) => {
2559
2559
  "onloadend" in w ? w.onloadend = v : w.onreadystatechange = function() {
2560
2560
  !w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.indexOf("file:") === 0) || setTimeout(v);
2561
2561
  }, w.onabort = function() {
2562
- w && (r(new Y("Request aborted", Y.ECONNABORTED, e, w)), w = null);
2562
+ w && (r(new $("Request aborted", $.ECONNABORTED, e, w)), w = null);
2563
2563
  }, w.onerror = function(x) {
2564
- const b = x && x.message ? x.message : "Network Error", E = new Y(b, Y.ERR_NETWORK, e, w);
2564
+ const b = x && x.message ? x.message : "Network Error", E = new $(b, $.ERR_NETWORK, e, w);
2565
2565
  E.event = x || null, r(E), w = null;
2566
2566
  }, w.ontimeout = function() {
2567
2567
  let x = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
2568
2568
  const b = o.transitional || ro;
2569
- o.timeoutErrorMessage && (x = o.timeoutErrorMessage), r(new Y(
2569
+ o.timeoutErrorMessage && (x = o.timeoutErrorMessage), r(new $(
2570
2570
  x,
2571
- b.clarifyTimeoutError ? Y.ETIMEDOUT : Y.ECONNABORTED,
2571
+ b.clarifyTimeoutError ? $.ETIMEDOUT : $.ECONNABORTED,
2572
2572
  e,
2573
2573
  w
2574
2574
  )), w = null;
@@ -2579,7 +2579,7 @@ const lo = (e) => {
2579
2579
  }, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
2580
2580
  const S = Hi(o.url);
2581
2581
  if (S && fe.protocols.indexOf(S) === -1) {
2582
- r(new Y("Unsupported protocol " + S + ":", Y.ERR_BAD_REQUEST, e));
2582
+ r(new $("Unsupported protocol " + S + ":", $.ERR_BAD_REQUEST, e));
2583
2583
  return;
2584
2584
  }
2585
2585
  w.send(s || null);
@@ -2592,11 +2592,11 @@ const lo = (e) => {
2592
2592
  if (!o) {
2593
2593
  o = !0, c();
2594
2594
  const u = l instanceof Error ? l : this.reason;
2595
- r.abort(u instanceof Y ? u : new St(u instanceof Error ? u.message : u));
2595
+ r.abort(u instanceof $ ? u : new St(u instanceof Error ? u.message : u));
2596
2596
  }
2597
2597
  };
2598
2598
  let i = t && setTimeout(() => {
2599
- i = null, s(new Y(`timeout ${t} of ms exceeded`, Y.ETIMEDOUT));
2599
+ i = null, s(new $(`timeout ${t} of ms exceeded`, $.ETIMEDOUT));
2600
2600
  }, t);
2601
2601
  const c = () => {
2602
2602
  e && (i && clearTimeout(i), i = null, e.forEach((l) => {
@@ -2701,7 +2701,7 @@ const lo = (e) => {
2701
2701
  let v = A && A[g];
2702
2702
  if (v)
2703
2703
  return v.call(A);
2704
- throw new Y(`Response type '${g}' is not supported`, Y.ERR_NOT_SUPPORT, w);
2704
+ throw new $(`Response type '${g}' is not supported`, $.ERR_NOT_SUPPORT, w);
2705
2705
  });
2706
2706
  });
2707
2707
  const m = async (g) => {
@@ -2801,11 +2801,11 @@ const lo = (e) => {
2801
2801
  });
2802
2802
  } catch (T) {
2803
2803
  throw M && M(), T && T.name === "TypeError" && /Load failed|fetch/i.test(T.message) ? Object.assign(
2804
- new Y("Network Error", Y.ERR_NETWORK, g, ce),
2804
+ new $("Network Error", $.ERR_NETWORK, g, ce),
2805
2805
  {
2806
2806
  cause: T.cause || T
2807
2807
  }
2808
- ) : Y.from(T, T && T.code, g, ce);
2808
+ ) : $.from(T, T && T.code, g, ce);
2809
2809
  }
2810
2810
  };
2811
2811
  }, rc = /* @__PURE__ */ new Map(), uo = (e) => {
@@ -2847,7 +2847,7 @@ function sc(e, t) {
2847
2847
  r = e[i];
2848
2848
  let c;
2849
2849
  if (o = r, !oc(r) && (o = wa[(c = String(r)).toLowerCase()], o === void 0))
2850
- throw new Y(`Unknown adapter '${c}'`);
2850
+ throw new $(`Unknown adapter '${c}'`);
2851
2851
  if (o && (C.isFunction(o) || (o = o.get(t))))
2852
2852
  break;
2853
2853
  s[c || "#" + i] = o;
@@ -2859,7 +2859,7 @@ function sc(e, t) {
2859
2859
  let c = n ? i.length > 1 ? `since :
2860
2860
  ` + i.map(Za).join(`
2861
2861
  `) : " " + Za(i[0]) : "as no adapter specified";
2862
- throw new Y(
2862
+ throw new $(
2863
2863
  "There is no suitable adapter to dispatch the request " + c,
2864
2864
  "ERR_NOT_SUPPORT"
2865
2865
  );
@@ -2913,9 +2913,9 @@ Tn.transitional = function(t, n, r) {
2913
2913
  }
2914
2914
  return (s, i, c) => {
2915
2915
  if (t === !1)
2916
- throw new Y(
2916
+ throw new $(
2917
2917
  o(i, " has been removed" + (n ? " in " + n : "")),
2918
- Y.ERR_DEPRECATED
2918
+ $.ERR_DEPRECATED
2919
2919
  );
2920
2920
  return n && !er[i] && (er[i] = !0, console.warn(
2921
2921
  o(
@@ -2930,7 +2930,7 @@ Tn.spelling = function(t) {
2930
2930
  };
2931
2931
  function ic(e, t, n) {
2932
2932
  if (typeof e != "object")
2933
- throw new Y("options must be an object", Y.ERR_BAD_OPTION_VALUE);
2933
+ throw new $("options must be an object", $.ERR_BAD_OPTION_VALUE);
2934
2934
  const r = Object.keys(e);
2935
2935
  let o = r.length;
2936
2936
  for (; o-- > 0; ) {
@@ -2938,11 +2938,11 @@ function ic(e, t, n) {
2938
2938
  if (i) {
2939
2939
  const c = e[s], d = c === void 0 || i(c, s, e);
2940
2940
  if (d !== !0)
2941
- throw new Y("option " + s + " must be " + d, Y.ERR_BAD_OPTION_VALUE);
2941
+ throw new $("option " + s + " must be " + d, $.ERR_BAD_OPTION_VALUE);
2942
2942
  continue;
2943
2943
  }
2944
2944
  if (n !== !0)
2945
- throw new Y("Unknown option " + s, Y.ERR_BAD_OPTION);
2945
+ throw new $("Unknown option " + s, $.ERR_BAD_OPTION);
2946
2946
  }
2947
2947
  }
2948
2948
  const mn = {
@@ -3241,7 +3241,7 @@ oe.CancelToken = cc;
3241
3241
  oe.isCancel = so;
3242
3242
  oe.VERSION = mo;
3243
3243
  oe.toFormData = xn;
3244
- oe.AxiosError = Y;
3244
+ oe.AxiosError = $;
3245
3245
  oe.Cancel = oe.CanceledError;
3246
3246
  oe.all = function(t) {
3247
3247
  return Promise.all(t);
@@ -3283,7 +3283,7 @@ class at {
3283
3283
  PUBLIC_IS_OFFLINE: n,
3284
3284
  PUBLIC_USERNAME_OFFLINE: r,
3285
3285
  PUBLIC_PASSWORD_OFFLINE: o
3286
- } = $();
3286
+ } = K();
3287
3287
  if (n === "true")
3288
3288
  try {
3289
3289
  return (await this.props?.axiosApi.get("/auth", {
@@ -3574,7 +3574,7 @@ const F9 = async (e, t, n, r, o, s, i) => {
3574
3574
  }
3575
3575
  },
3576
3576
  tema: async (e) => {
3577
- const { meta: t, config: n, pathname: r, slug: o } = e, s = new at(), i = r.split("/"), c = [], d = $t(r), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(o || ""), h = u && u?.length > 0 ? u[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: m } = $();
3577
+ const { meta: t, config: n, pathname: r, slug: o } = e, s = new at(), i = r.split("/"), c = [], d = $t(r), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(o || ""), h = u && u?.length > 0 ? u[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: m } = K();
3578
3578
  try {
3579
3579
  const p = await s.getNewsListTags({
3580
3580
  tagid: h,
@@ -3827,7 +3827,7 @@ async function $9({
3827
3827
  currentNew: l,
3828
3828
  internalPath: h
3829
3829
  });
3830
- return /* @__PURE__ */ f(K, { children: [
3830
+ return /* @__PURE__ */ f(Y, { children: [
3831
3831
  /* @__PURE__ */ a("meta", { charSet: "utf-8" }),
3832
3832
  /* @__PURE__ */ a("meta", { name: "viewport", content: "width=device-width" }),
3833
3833
  b,
@@ -3917,7 +3917,7 @@ const Y9 = ({
3917
3917
  currentNew: c,
3918
3918
  internalPath: i
3919
3919
  }), p = l.before.active, g = l.after.active, A = p ? l.before.customData ? l.before.customData : m : void 0, w = g ? l.after.customData ? l.after.customData : m : void 0;
3920
- return /* @__PURE__ */ f(K, { children: [
3920
+ return /* @__PURE__ */ f(Y, { children: [
3921
3921
  /* @__PURE__ */ a(Gr, { name: "bodybefore", banners: n, replaces: A }),
3922
3922
  e,
3923
3923
  /* @__PURE__ */ a($o, {}),
@@ -4345,7 +4345,7 @@ const Cc = "_content_3olxv_1", _c = {
4345
4345
  socialNetworkSection: Dc
4346
4346
  };
4347
4347
  function B(e) {
4348
- const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } = $(), r = t !== "false" && n !== "false" ? "/" + t : "", o = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), s = e.href?.split("/")[1] === r.replace("/", ""), i = {
4348
+ const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } = K(), r = t !== "false" && n !== "false" ? "/" + t : "", o = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), s = e.href?.split("/")[1] === r.replace("/", ""), i = {
4349
4349
  ...e,
4350
4350
  href: (!o && !s ? r : "") + (e.href ?? "")
4351
4351
  };
@@ -4513,7 +4513,7 @@ function Qc({ noteShare: e }) {
4513
4513
  ] }) : null;
4514
4514
  }
4515
4515
  const xt = (e) => {
4516
- const { share: t = !1, cutSubtitle: n = !0, keywords: r, info: o, paths: s } = e, { SHOW_TAG_BY_SECTION: i } = $(), c = () => {
4516
+ const { share: t = !1, cutSubtitle: n = !0, keywords: r, info: o, paths: s } = e, { SHOW_TAG_BY_SECTION: i } = K(), c = () => {
4517
4517
  if (e?.config?.showtime && e.config?.showauthor)
4518
4518
  return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Me(
4519
4519
  e.info?.date?.modified
@@ -4601,7 +4601,7 @@ const xt = (e) => {
4601
4601
  ) : e.main?.title?.section
4602
4602
  ),
4603
4603
  e.config?.showsubtitle && /* @__PURE__ */ a(d, {}),
4604
- (e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
4604
+ (e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(Y, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
4605
4605
  B,
4606
4606
  {
4607
4607
  "aria-label": c(),
@@ -4647,10 +4647,10 @@ const xt = (e) => {
4647
4647
  }
4648
4648
  );
4649
4649
  function va() {
4650
- return $().COMPONENTS?.PlayIcon || wo;
4650
+ return K().COMPONENTS?.PlayIcon || wo;
4651
4651
  }
4652
4652
  function vo() {
4653
- return $().COMPONENTS?.PlayIcon || wo;
4653
+ return K().COMPONENTS?.PlayIcon || wo;
4654
4654
  }
4655
4655
  const el = (e) => {
4656
4656
  const { isVideo: t = !1, isLarge: n = !1, priorityHigh: r = !1 } = e, o = va(), s = e.preview.sizes;
@@ -4667,7 +4667,7 @@ const el = (e) => {
4667
4667
  src: s[0]?.url ? s[0]?.url : void 0
4668
4668
  }
4669
4669
  ),
4670
- t && /* @__PURE__ */ f(K, { children: [
4670
+ t && /* @__PURE__ */ f(Y, { children: [
4671
4671
  /* @__PURE__ */ a(
4672
4672
  "div",
4673
4673
  {
@@ -4719,7 +4719,7 @@ const el = (e) => {
4719
4719
  src: s[0]?.url ? s[0]?.url : ""
4720
4720
  }
4721
4721
  ),
4722
- t && /* @__PURE__ */ f(K, { children: [
4722
+ t && /* @__PURE__ */ f(Y, { children: [
4723
4723
  /* @__PURE__ */ a(
4724
4724
  "div",
4725
4725
  {
@@ -4739,9 +4739,9 @@ const el = (e) => {
4739
4739
  }, Tt = (e) => /* @__PURE__ */ f("svg", { width: "28", height: "28", viewBox: "0 0 28 28", ...e, xmlns: "http://www.w3.org/2000/svg", children: [
4740
4740
  /* @__PURE__ */ a("g", { clipPath: "url(#clip0_2503_6565)", children: /* @__PURE__ */ a("path", { d: "M22.1668 7.47825L20.5218 5.83325L14.0002 12.3549L7.4785 5.83325L5.8335 7.47825L12.3552 13.9999L5.8335 20.5216L7.4785 22.1666L14.0002 15.6449L20.5218 22.1666L22.1668 20.5216L15.6452 13.9999L22.1668 7.47825Z", fill: "currentColor" }) }),
4741
4741
  /* @__PURE__ */ a("defs", { children: /* @__PURE__ */ a("clipPath", { id: "clip0_2503_6565", children: /* @__PURE__ */ a("rect", { width: "28", height: "28", fill: "currentColor" }) }) })
4742
- ] }), tl = async (e) => Buffer.from(await e.arrayBuffer()).toString("base64"), nl = async (e, t) => {
4742
+ ] }), tl = async (e) => Buffer.from(await e.arrayBuffer()).toString("base64"), nl = async (e, t, n, r) => {
4743
4743
  try {
4744
- const { PUBLIC_API_HOST: n, PUBLIC_OFFLINE_SITE: r } = $(), o = t?.site ?? "", s = decodeURIComponent(o ?? ""), i = t?.browser ?? "";
4744
+ const o = t?.site ?? "", s = decodeURIComponent(o ?? ""), i = t?.browser ?? "";
4745
4745
  console.log("IMAGE OFFLINE", `${n}${e}`, {
4746
4746
  headers: {
4747
4747
  PROJECT: "Offline",
@@ -4761,8 +4761,8 @@ const el = (e) => {
4761
4761
  if (!c.ok) return "invalidURL";
4762
4762
  const d = await c.blob();
4763
4763
  return `data:image/png;base64,${await tl(d)}`;
4764
- } catch (n) {
4765
- return console.log("getImageUrl (client) failed:", n), "invalidURL";
4764
+ } catch (o) {
4765
+ return console.log("getImageUrl (client) failed:", o), "invalidURL";
4766
4766
  }
4767
4767
  }, al = (e) => {
4768
4768
  const {
@@ -4775,11 +4775,14 @@ const el = (e) => {
4775
4775
  const s = vo(), [i, c] = J(void 0), d = t?.sizes;
4776
4776
  return De(() => {
4777
4777
  (async () => {
4778
- console.log("image offline - effect");
4779
- const { PUBLIC_IS_OFFLINE: u } = $();
4780
- if (u === "true" && d?.[0]?.url) {
4781
- const h = await nl(d[0].url, e.cookies);
4782
- c(h);
4778
+ if (console.log("image offline - effect"), d?.[0]?.url) {
4779
+ const u = await nl(
4780
+ d[0].url,
4781
+ e.cookies,
4782
+ e.PUBLIC_API_HOST,
4783
+ e.PUBLIC_OFFLINE_SITE
4784
+ );
4785
+ c(u);
4783
4786
  } else
4784
4787
  c(d?.[0]?.url);
4785
4788
  })();
@@ -4813,23 +4816,30 @@ const el = (e) => {
4813
4816
  );
4814
4817
  }, Ue = async (e) => {
4815
4818
  const { preview: t } = e;
4816
- if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((s) => !s.url))
4819
+ if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((i) => !i.url))
4817
4820
  return /* @__PURE__ */ a("div", { className: se.imageLogoPlaceholder });
4818
- const { PUBLIC_IS_OFFLINE: n } = $();
4821
+ const { PUBLIC_IS_OFFLINE: n, PUBLIC_API_HOST: r } = K();
4819
4822
  if (n === "true")
4820
- return /* @__PURE__ */ a(al, { ...e });
4821
- const r = await Promise.all(
4823
+ return /* @__PURE__ */ a(
4824
+ al,
4825
+ {
4826
+ ...e,
4827
+ PUBLIC_API_HOST: r ?? "",
4828
+ PUBLIC_OFFLINE_SITE: n ?? ""
4829
+ }
4830
+ );
4831
+ const o = await Promise.all(
4822
4832
  t.sizes.map(
4823
- async (s) => ({
4824
- ...s,
4825
- url: await pe(s.url)
4833
+ async (i) => ({
4834
+ ...i,
4835
+ url: await pe(i.url)
4826
4836
  })
4827
4837
  )
4828
- ), o = {
4838
+ ), s = {
4829
4839
  ...t,
4830
- sizes: r
4840
+ sizes: o
4831
4841
  };
4832
- return /* @__PURE__ */ a(el, { ...e, preview: o });
4842
+ return /* @__PURE__ */ a(el, { ...e, preview: s });
4833
4843
  }, bo = (e) => {
4834
4844
  const { itemReverseOrder: t = !1 } = e;
4835
4845
  return /* @__PURE__ */ a(
@@ -5804,7 +5814,7 @@ const el = (e) => {
5804
5814
  showads: !1
5805
5815
  }, ba = (e) => {
5806
5816
  let t = [];
5807
- const { PUBLIC_ENV: n, PUBLIC_IS_OFFLINE: r } = $();
5817
+ const { PUBLIC_ENV: n, PUBLIC_IS_OFFLINE: r } = K();
5808
5818
  return e.content && e.content.length > 0 ? t = e.content.map((o) => ({
5809
5819
  ...o,
5810
5820
  config: rr
@@ -6292,7 +6302,7 @@ const el = (e) => {
6292
6302
  i
6293
6303
  )) })
6294
6304
  ] }),
6295
- o && /* @__PURE__ */ a(K, { children: o }),
6305
+ o && /* @__PURE__ */ a(Y, { children: o }),
6296
6306
  /* @__PURE__ */ f("section", { className: ye.copyrigth, children: [
6297
6307
  /* @__PURE__ */ a("p", { className: ye.copyrigthText, children: e.copyrigth }),
6298
6308
  /* @__PURE__ */ a(
@@ -6636,7 +6646,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
6636
6646
  children: e.children
6637
6647
  }
6638
6648
  ),
6639
- /* @__PURE__ */ a(K, { children: e.paginatorComponent })
6649
+ /* @__PURE__ */ a(Y, { children: e.paginatorComponent })
6640
6650
  ] });
6641
6651
  }, e1 = "_content_15x47_1", t1 = "_newsDescription_15x47_15", n1 = "_image_15x47_41", Pt = {
6642
6652
  content: e1,
@@ -6717,7 +6727,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
6717
6727
  main: r,
6718
6728
  overImage: o = "default",
6719
6729
  titleGradient: s = !1
6720
- } = e, { SHOW_TAG_BY_SECTION: i } = $(), c = () => {
6730
+ } = e, { SHOW_TAG_BY_SECTION: i } = K(), c = () => {
6721
6731
  if (i && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
6722
6732
  const d = e.keywords.tags[0], l = d.name;
6723
6733
  return d.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
@@ -6851,7 +6861,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
6851
6861
  /* @__PURE__ */ a(Ue, { preview: e.preview, isLarge: !0, priorityHigh: !0 }),
6852
6862
  t && /* @__PURE__ */ a("div", { className: vn.description, children: t })
6853
6863
  ] });
6854
- }, j1 = (e) => /* @__PURE__ */ a(K, { children: /* @__PURE__ */ f("div", { className: et.boxInformation, children: [
6864
+ }, j1 = (e) => /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ f("div", { className: et.boxInformation, children: [
6855
6865
  /* @__PURE__ */ a(Co, { preview: e.preview }),
6856
6866
  /* @__PURE__ */ f("div", { className: et.textBox, children: [
6857
6867
  /* @__PURE__ */ f("div", { className: et.contentBox, children: [
@@ -7463,7 +7473,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
7463
7473
  children: t?.data[0]?.main?.title.home ?? ""
7464
7474
  }
7465
7475
  );
7466
- return /* @__PURE__ */ f(K, { children: [
7476
+ return /* @__PURE__ */ f(Y, { children: [
7467
7477
  /* @__PURE__ */ a(
7468
7478
  "input",
7469
7479
  {
@@ -7800,7 +7810,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
7800
7810
  op2: om
7801
7811
  }, s3 = (e) => {
7802
7812
  const { alertZone: t, children: n, sidebar: r } = e;
7803
- return /* @__PURE__ */ f(K, { children: [
7813
+ return /* @__PURE__ */ f(Y, { children: [
7804
7814
  /* @__PURE__ */ a(Rh, { ...e }),
7805
7815
  !e.showOnlyStickyHeader && /* @__PURE__ */ a(nm, { ...e }),
7806
7816
  /* @__PURE__ */ f(
@@ -8107,7 +8117,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
8107
8117
  correspondentLink: Pm,
8108
8118
  description: Dm
8109
8119
  }, Ct = (e) => {
8110
- const { SHOW_TAG_BY_SECTION: t } = $(), n = () => {
8120
+ const { SHOW_TAG_BY_SECTION: t } = K(), n = () => {
8111
8121
  if (e?.config?.showtime && e.config?.showauthor)
8112
8122
  return `${e?.authors[0]?.fullname} - ${Me(
8113
8123
  e.info?.date?.modified
@@ -8220,7 +8230,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
8220
8230
  }
8221
8231
  }
8222
8232
  ),
8223
- e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
8233
+ e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ a(Y, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
8224
8234
  B,
8225
8235
  {
8226
8236
  href: `/${e.paths?.autor ?? "autor"}/${e?.authors[0]?.name}`,
@@ -8374,7 +8384,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
8374
8384
  subtitle: Ym,
8375
8385
  linkStyled: Km
8376
8386
  }, Eo = (e) => {
8377
- const { SHOW_TAG_BY_SECTION: t } = $(), n = () => {
8387
+ const { SHOW_TAG_BY_SECTION: t } = K(), n = () => {
8378
8388
  if (t && e.mainNew.keywords?.tags?.length && e.mainNew.keywords.tags.length > 0) {
8379
8389
  const r = e.mainNew.keywords.tags[0], o = r.name;
8380
8390
  return r.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
@@ -8641,7 +8651,7 @@ const i3 = (e) => {
8641
8651
  ] }),
8642
8652
  /* @__PURE__ */ a("div", { className: yt.bannerContent, children: e.halfPageBanner })
8643
8653
  ] });
8644
- }, d3 = (e) => /* @__PURE__ */ f(K, { children: [
8654
+ }, d3 = (e) => /* @__PURE__ */ f(Y, { children: [
8645
8655
  /* @__PURE__ */ a(
8646
8656
  Al,
8647
8657
  {
@@ -9178,7 +9188,7 @@ const i3 = (e) => {
9178
9188
  }
9179
9189
  );
9180
9190
  case "op2":
9181
- return /* @__PURE__ */ a(K, { children: t.length > 0 ? /* @__PURE__ */ a(
9191
+ return /* @__PURE__ */ a(Y, { children: t.length > 0 ? /* @__PURE__ */ a(
9182
9192
  oa,
9183
9193
  {
9184
9194
  className: "padding-0",
@@ -9239,7 +9249,7 @@ const i3 = (e) => {
9239
9249
  }
9240
9250
  ) });
9241
9251
  default:
9242
- return /* @__PURE__ */ a(K, {});
9252
+ return /* @__PURE__ */ a(Y, {});
9243
9253
  }
9244
9254
  }, h2 = "_content_gwsqy_1", m2 = "_contactInfoContent_gwsqy_7", mr = {
9245
9255
  content: h2,
@@ -9525,7 +9535,7 @@ const V2 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
9525
9535
  if (!e.news || !e.news.authors) return null;
9526
9536
  const { news: t, socials: n, texts: r } = e, o = t.authors.map(
9527
9537
  (c) => c.internaluser ? `<a href="${`/${e.paths.autor}/${c.name}`}">${c.fullname}</a>` : c.fullname
9528
- ).join(", "), s = () => t.authors.length === 1 ? de.width1Autor : t.authors.length === 2 ? de.width2Autor : t.authors.length === 3 ? de.width3Autor : "", { CONFIG_shareOnlyWhatsApp: i } = $();
9538
+ ).join(", "), s = () => t.authors.length === 1 ? de.width1Autor : t.authors.length === 2 ? de.width2Autor : t.authors.length === 3 ? de.width3Autor : "", { CONFIG_shareOnlyWhatsApp: i } = K();
9529
9539
  return t.config?.showauthor && /* @__PURE__ */ a("div", { className: de.content, children: /* @__PURE__ */ f("div", { className: de.avatarContent, children: [
9530
9540
  i ? /* @__PURE__ */ f(
9531
9541
  "a",
@@ -9743,7 +9753,7 @@ const t0 = (e) => /* @__PURE__ */ a(
9743
9753
  /<iframe(?![^>]*\btitle=)[^>]*>/gi,
9744
9754
  (n) => n.replace("<iframe", '<iframe title="frame custom content"')
9745
9755
  ), Io = async (e) => {
9746
- const { PUBLIC_IS_OFFLINE: t } = $();
9756
+ const { PUBLIC_IS_OFFLINE: t } = K();
9747
9757
  if (!(t === "true")) {
9748
9758
  const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(l)], h = {};
9749
9759
  for (const m of u) {
@@ -10451,7 +10461,7 @@ const yr = {
10451
10461
  config: n,
10452
10462
  banners: r
10453
10463
  }) => {
10454
- const { PUBLIC_ENV: o } = $();
10464
+ const { PUBLIC_ENV: o } = K();
10455
10465
  if (o !== "local") return null;
10456
10466
  const s = e?.news?.data || [], i = (c, d) => ({
10457
10467
  ...e?.news,
@@ -10459,7 +10469,7 @@ const yr = {
10459
10469
  data: s.slice(0, d),
10460
10470
  paths: n.paths
10461
10471
  });
10462
- return /* @__PURE__ */ f(K, { children: [
10472
+ return /* @__PURE__ */ f(Y, { children: [
10463
10473
  /* @__PURE__ */ a(
10464
10474
  Vn,
10465
10475
  {
@@ -10506,9 +10516,9 @@ const yr = {
10506
10516
  itemList: c = [],
10507
10517
  socials: d,
10508
10518
  getVideos: l
10509
- } = e, u = e.slug === "liveblogs", { SHOW_NEWS_MORE_NEWS: h, SHOW_NEWS_RELATED_NEWS: m } = $();
10519
+ } = e, u = e.slug === "liveblogs", { SHOW_NEWS_MORE_NEWS: h, SHOW_NEWS_RELATED_NEWS: m } = K();
10510
10520
  if (!(!s || !s[0]))
10511
- return /* @__PURE__ */ a(K, { children: /* @__PURE__ */ f(w2, { className: ca.contentLayout2, children: [
10521
+ return /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ f(w2, { className: ca.contentLayout2, children: [
10512
10522
  /* @__PURE__ */ a(
10513
10523
  E2,
10514
10524
  {
@@ -10586,7 +10596,7 @@ const yr = {
10586
10596
  }
10587
10597
  ),
10588
10598
  /* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(rt, { banners: r, index: 2 }) }),
10589
- m && /* @__PURE__ */ f(K, { children: [
10599
+ m && /* @__PURE__ */ f(Y, { children: [
10590
10600
  /* @__PURE__ */ a(
10591
10601
  ko,
10592
10602
  {
@@ -10603,7 +10613,7 @@ const yr = {
10603
10613
  ),
10604
10614
  /* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(rt, { banners: r, index: 3 }) })
10605
10615
  ] }),
10606
- h && /* @__PURE__ */ f(K, { children: [
10616
+ h && /* @__PURE__ */ f(Y, { children: [
10607
10617
  /* @__PURE__ */ a(me, { title: e.texts.moreNewsTitle, children: /* @__PURE__ */ a(
10608
10618
  "div",
10609
10619
  {
@@ -10758,7 +10768,7 @@ const yr = {
10758
10768
  }
10759
10769
  );
10760
10770
  default:
10761
- return /* @__PURE__ */ a(K, {});
10771
+ return /* @__PURE__ */ a(Y, {});
10762
10772
  }
10763
10773
  }, V0 = "_content_gxziw_1", F0 = "_buttonStyled_gxziw_9", W0 = "_searchStyled_gxziw_21", $0 = "_inputStyled_gxziw_32", Y0 = "_inputStyledTest_gxziw_51", Bt = {
10764
10774
  content: V0,
@@ -10828,7 +10838,7 @@ const yr = {
10828
10838
  };
10829
10839
  switch (n) {
10830
10840
  case "op1":
10831
- return /* @__PURE__ */ a(K, { children: /* @__PURE__ */ f(sr, { children: [
10841
+ return /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ f(sr, { children: [
10832
10842
  /* @__PURE__ */ a(nu, { autor: r[0], autorIcon: e.autorIcon }),
10833
10843
  /* @__PURE__ */ a(
10834
10844
  _o,
@@ -10910,9 +10920,9 @@ const yr = {
10910
10920
  )
10911
10921
  ] }) });
10912
10922
  case "op2":
10913
- return /* @__PURE__ */ a(K, { children: /* @__PURE__ */ f(sr, { children: [
10923
+ return /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ f(sr, { children: [
10914
10924
  /* @__PURE__ */ a(mu, { autor: r[0], autorIcon: e.autorIcon }),
10915
- Array.isArray(t) ? /* @__PURE__ */ f(K, { children: [
10925
+ Array.isArray(t) ? /* @__PURE__ */ f(Y, { children: [
10916
10926
  /* @__PURE__ */ a(
10917
10927
  xo,
10918
10928
  {
@@ -10963,7 +10973,7 @@ const yr = {
10963
10973
  )
10964
10974
  ] }) });
10965
10975
  default:
10966
- return /* @__PURE__ */ a(K, {});
10976
+ return /* @__PURE__ */ a(Y, {});
10967
10977
  }
10968
10978
  }, eg = "_content_pq89v_1", tg = "_videoContent_pq89v_9", wr = {
10969
10979
  content: eg,
@@ -11086,7 +11096,7 @@ const yr = {
11086
11096
  case "op2":
11087
11097
  return /* @__PURE__ */ a(Sg, { video: e.data[0] });
11088
11098
  default:
11089
- return /* @__PURE__ */ a(K, {});
11099
+ return /* @__PURE__ */ a(Y, {});
11090
11100
  }
11091
11101
  };
11092
11102
  function b3({ containerId: e, containerId2: t }) {
@@ -11139,7 +11149,7 @@ const Eg = (e) => {
11139
11149
  );
11140
11150
  if (!i.length || !i[0]?.url || i[0]?.url === "")
11141
11151
  return /* @__PURE__ */ a("div", { className: se.imagePlaceholder });
11142
- const { PUBLIC_API_HOST: c, PUBLIC_ENV: d } = $();
11152
+ const { PUBLIC_API_HOST: c, PUBLIC_ENV: d } = K();
11143
11153
  return /* @__PURE__ */ a("figure", { className: se.figure, children: /* @__PURE__ */ f("span", { className: se.backdrop, children: [
11144
11154
  /* @__PURE__ */ a(
11145
11155
  "span",
@@ -11164,7 +11174,7 @@ const Eg = (e) => {
11164
11174
  }
11165
11175
  }
11166
11176
  ),
11167
- t && /* @__PURE__ */ f(K, { children: [
11177
+ t && /* @__PURE__ */ f(Y, { children: [
11168
11178
  /* @__PURE__ */ a(
11169
11179
  "div",
11170
11180
  {
@@ -11417,7 +11427,7 @@ const Eg = (e) => {
11417
11427
  children: n ? je(e.main.subtitle.striped) : e.main.subtitle.striped
11418
11428
  }
11419
11429
  ),
11420
- (e?.config?.showtime || e.config?.showauthor) && o && /* @__PURE__ */ a(K, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
11430
+ (e?.config?.showtime || e.config?.showauthor) && o && /* @__PURE__ */ a(Y, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
11421
11431
  B,
11422
11432
  {
11423
11433
  className: re.correspondentLink,
@@ -11485,7 +11495,7 @@ const Eg = (e) => {
11485
11495
  errorMessage: Yg,
11486
11496
  loadingContainer: Kg
11487
11497
  }, Uo = async (e, t) => {
11488
- const { PUBLIC_ENV: n } = $();
11498
+ const { PUBLIC_ENV: n } = K();
11489
11499
  if (console.log(n, !0), n === "local") return !0;
11490
11500
  if (!e) return !1;
11491
11501
  const { CAPTCHA_PROJECT: r, CAPTCHA_KEY_V2: o, COMMENTS_CAPTCHA_API_KEY: s } = t;
@@ -11594,7 +11604,7 @@ function Jg(e) {
11594
11604
  }
11595
11605
  const xa = (e, t) => {
11596
11606
  if (!e || !e.current) return { boolean: !1, text: "" };
11597
- const n = e.current?.value || "", r = n.length > ft, { PUBLIC_ENV: o } = $(), s = o === "local", i = n.trim() !== "" && (s || t !== "") && !r, c = r ? `No debes exceder el limite de ${ft} caracteres.` : "Debes completar todos los campos para comentar.";
11607
+ const n = e.current?.value || "", r = n.length > ft, { PUBLIC_ENV: o } = K(), s = o === "local", i = n.trim() !== "" && (s || t !== "") && !r, c = r ? `No debes exceder el limite de ${ft} caracteres.` : "Debes completar todos los campos para comentar.";
11598
11608
  return { boolean: i, text: c };
11599
11609
  }, Ro = (e) => {
11600
11610
  const t = e.cookie.split("; ").find((n) => n.startsWith("reported="));
@@ -12694,7 +12704,7 @@ const Lo = Ap(wp, {
12694
12704
  /* @__PURE__ */ a("button", { className: "close-reply-form", onClick: w, children: /* @__PURE__ */ a(Tt, {}) }),
12695
12705
  /* @__PURE__ */ a("h2", { className: ue.title, children: "Reportar Abuso" }),
12696
12706
  i === "loading" && /* @__PURE__ */ a("div", { className: ue.loadingContainer, children: /* @__PURE__ */ a(Je, {}) }),
12697
- i === "form" || i === "loading" ? /* @__PURE__ */ f(K, { children: [
12707
+ i === "form" || i === "loading" ? /* @__PURE__ */ f(Y, { children: [
12698
12708
  /* @__PURE__ */ a("div", { className: ue.optionsContainer, children: g.map((v) => /* @__PURE__ */ f("label", { className: ue.option, children: [
12699
12709
  /* @__PURE__ */ a(
12700
12710
  "input",
@@ -12733,7 +12743,7 @@ const Lo = Ap(wp, {
12733
12743
  }
12734
12744
  )
12735
12745
  ] })
12736
- ] }) : /* @__PURE__ */ f(K, { children: [
12746
+ ] }) : /* @__PURE__ */ f(Y, { children: [
12737
12747
  /* @__PURE__ */ f("div", { className: ue.successContainer, children: [
12738
12748
  /* @__PURE__ */ a("div", { className: ue.thumbsUp, children: /* @__PURE__ */ a(
12739
12749
  "svg",
@@ -12774,7 +12784,7 @@ async function ka({
12774
12784
  state: i = "5,6",
12775
12785
  apiToken: c
12776
12786
  }) {
12777
- const { PUBLIC_ENV: d } = $();
12787
+ const { PUBLIC_ENV: d } = K();
12778
12788
  if (d === "prod")
12779
12789
  return (await Wp({
12780
12790
  publication: e,
@@ -12809,7 +12819,7 @@ async function Wp({
12809
12819
  throw new Error("Invalid input types for publication or path");
12810
12820
  if (!c)
12811
12821
  throw new Error("Missing CMS API token");
12812
- const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: h } = $(), m = parseInt(String(n), 10), p = parseInt(String(r), 10);
12822
+ const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: h } = K(), m = parseInt(String(n), 10), p = parseInt(String(r), 10);
12813
12823
  if (isNaN(m) || m <= 0)
12814
12824
  throw new Error("Invalid size parameter");
12815
12825
  if (isNaN(p) || p < 0)
@@ -12844,12 +12854,12 @@ async function Wp({
12844
12854
  throw v;
12845
12855
  }
12846
12856
  }
12847
- const { PUBLIC_PUBLICATION_ID: $p } = $(), Yp = $p, Kp = (e) => {
12857
+ const { PUBLIC_PUBLICATION_ID: $p } = K(), Yp = $p, Kp = (e) => {
12848
12858
  const [t, n] = J(void 0);
12849
12859
  return De(() => {
12850
12860
  if (t) return;
12851
12861
  (async () => {
12852
- const { PUBLIC_X_SECURITY_TOKEN: o } = $();
12862
+ const { PUBLIC_X_SECURITY_TOKEN: o } = K();
12853
12863
  try {
12854
12864
  const s = await ka({
12855
12865
  publication: Yp,
@@ -13008,7 +13018,7 @@ const { PUBLIC_PUBLICATION_ID: $p } = $(), Yp = $p, Kp = (e) => {
13008
13018
  ]
13009
13019
  }
13010
13020
  );
13011
- }, { PUBLIC_PUBLICATION_ID: Jp } = $(), Zp = Jp, Qo = async ({
13021
+ }, { PUBLIC_PUBLICATION_ID: Jp } = K(), Zp = Jp, Qo = async ({
13012
13022
  path: e,
13013
13023
  ref: t,
13014
13024
  captchaToken: n,
@@ -13131,7 +13141,7 @@ const { PUBLIC_PUBLICATION_ID: $p } = $(), Yp = $p, Kp = (e) => {
13131
13141
  ] })
13132
13142
  ] }) });
13133
13143
  }, t9 = ({ comment: e, replyingTo: t, path: n, user: r, handleReplyingTo: o, onFlag: s, CAPTCHA_KEY_V2: i }) => {
13134
- const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, l] = J(c), [u, h] = Te.useState(!1), { PUBLIC_PUBLICATION_ID: m, PUBLIC_X_SECURITY_TOKEN: p } = $(), g = e.text, A = Te.useRef(null);
13144
+ const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, l] = J(c), [u, h] = Te.useState(!1), { PUBLIC_PUBLICATION_ID: m, PUBLIC_X_SECURITY_TOKEN: p } = K(), g = e.text, A = Te.useRef(null);
13135
13145
  let w = `${Ke.firstname} ${Ke.lastname}`, v = Ke.username;
13136
13146
  e.user && (w = `${e.user.firstname} ${e.user.lastname}`, v = e.user.username);
13137
13147
  const S = (_) => {
@@ -13256,7 +13266,7 @@ const { PUBLIC_PUBLICATION_ID: $p } = $(), Yp = $p, Kp = (e) => {
13256
13266
  }
13257
13267
  )
13258
13268
  ] });
13259
- }, { PUBLIC_PUBLICATION_ID: a9, PUBLIC_X_SECURITY_TOKEN: r9 } = $(), Lr = a9 ?? "", o9 = ({
13269
+ }, { PUBLIC_PUBLICATION_ID: a9, PUBLIC_X_SECURITY_TOKEN: r9 } = K(), Lr = a9 ?? "", o9 = ({
13260
13270
  isAuthenticated: e,
13261
13271
  path: t,
13262
13272
  user: n,
@@ -13301,8 +13311,8 @@ const { PUBLIC_PUBLICATION_ID: $p } = $(), Yp = $p, Kp = (e) => {
13301
13311
  throw p(!1), new Error(`Error al obtener comentarios: ${Q}`);
13302
13312
  }
13303
13313
  }, _ = u?.comments && u.comments.length > 0, x = _ ? "Comparte tu opinión de este artículo." : "Se el primero en compartir tu opinión de este artículo.", b = /* @__PURE__ */ a("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ a(Je, {}) });
13304
- return /* @__PURE__ */ f(K, { children: [
13305
- /* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(me, { title: _ || e ? "COMENTARIOS" : !1, children: /* @__PURE__ */ f(K, { children: [
13314
+ return /* @__PURE__ */ f(Y, { children: [
13315
+ /* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(me, { title: _ || e ? "COMENTARIOS" : !1, children: /* @__PURE__ */ f(Y, { children: [
13306
13316
  e && n && /* @__PURE__ */ f("div", { className: "comments-header", children: [
13307
13317
  /* @__PURE__ */ a(
13308
13318
  Rg,
@@ -13494,8 +13504,8 @@ function s9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
13494
13504
  d(!1);
13495
13505
  }
13496
13506
  }, w = r.password || "";
13497
- return /* @__PURE__ */ f(K, { children: [
13498
- h === "register" && /* @__PURE__ */ f(K, { children: [
13507
+ return /* @__PURE__ */ f(Y, { children: [
13508
+ h === "register" && /* @__PURE__ */ f(Y, { children: [
13499
13509
  /* @__PURE__ */ f("button", { onClick: t, className: k.google, children: [
13500
13510
  /* @__PURE__ */ a(
13501
13511
  "img",
@@ -13642,7 +13652,7 @@ function i9({
13642
13652
  CAPTCHA_KEY: o
13643
13653
  }) {
13644
13654
  const [s, i] = J("login"), [c, d] = J(""), [l, u] = J(""), [h, m] = J(""), [p, g] = J(""), [A, w] = J(""), [v, S] = J(!1), [_, x] = J(!1), [b, E] = J(null);
13645
- return console.log("CAPTCHA_KEY", o), /* @__PURE__ */ f(K, { children: [
13655
+ return console.log("CAPTCHA_KEY", o), /* @__PURE__ */ f(Y, { children: [
13646
13656
  s === "login" && /* @__PURE__ */ a(
13647
13657
  c9,
13648
13658
  {
@@ -13790,7 +13800,7 @@ function c9({
13790
13800
  onRegister: u,
13791
13801
  handleGoogleLogin: h
13792
13802
  }) {
13793
- return /* @__PURE__ */ f(K, { children: [
13803
+ return /* @__PURE__ */ f(Y, { children: [
13794
13804
  /* @__PURE__ */ f("button", { onClick: h, className: k.google, children: [
13795
13805
  /* @__PURE__ */ a(
13796
13806
  "img",
@@ -14092,7 +14102,7 @@ function m9({
14092
14102
  COMMENTS_VARS: c
14093
14103
  }) {
14094
14104
  const [d, l] = Te.useState(!1);
14095
- return /* @__PURE__ */ f(K, { children: [
14105
+ return /* @__PURE__ */ f(Y, { children: [
14096
14106
  d && /* @__PURE__ */ a(
14097
14107
  h9,
14098
14108
  {
@@ -14502,7 +14512,7 @@ export {
14502
14512
  W9 as generalGetData,
14503
14513
  N3 as getCaptchaToken,
14504
14514
  Wp as getComments,
14505
- $ as getConfig,
14515
+ K as getConfig,
14506
14516
  F9 as getDynamicSlots,
14507
14517
  pn as getEnvironmentUrl,
14508
14518
  ms as getEnvironmentUrlFront,