sass-template-common 0.2.13 → 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 {
@@ -4776,7 +4776,12 @@ const el = (e) => {
4776
4776
  return De(() => {
4777
4777
  (async () => {
4778
4778
  if (console.log("image offline - effect"), d?.[0]?.url) {
4779
- const u = await nl(d[0].url, e.cookies);
4779
+ const u = await nl(
4780
+ d[0].url,
4781
+ e.cookies,
4782
+ e.PUBLIC_API_HOST,
4783
+ e.PUBLIC_OFFLINE_SITE
4784
+ );
4780
4785
  c(u);
4781
4786
  } else
4782
4787
  c(d?.[0]?.url);
@@ -4811,23 +4816,30 @@ const el = (e) => {
4811
4816
  );
4812
4817
  }, Ue = async (e) => {
4813
4818
  const { preview: t } = e;
4814
- 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))
4815
4820
  return /* @__PURE__ */ a("div", { className: se.imageLogoPlaceholder });
4816
- const { PUBLIC_IS_OFFLINE: n } = $();
4821
+ const { PUBLIC_IS_OFFLINE: n, PUBLIC_API_HOST: r } = K();
4817
4822
  if (n === "true")
4818
- return /* @__PURE__ */ a(al, { ...e });
4819
- 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(
4820
4832
  t.sizes.map(
4821
- async (s) => ({
4822
- ...s,
4823
- url: await pe(s.url)
4833
+ async (i) => ({
4834
+ ...i,
4835
+ url: await pe(i.url)
4824
4836
  })
4825
4837
  )
4826
- ), o = {
4838
+ ), s = {
4827
4839
  ...t,
4828
- sizes: r
4840
+ sizes: o
4829
4841
  };
4830
- return /* @__PURE__ */ a(el, { ...e, preview: o });
4842
+ return /* @__PURE__ */ a(el, { ...e, preview: s });
4831
4843
  }, bo = (e) => {
4832
4844
  const { itemReverseOrder: t = !1 } = e;
4833
4845
  return /* @__PURE__ */ a(
@@ -5802,7 +5814,7 @@ const el = (e) => {
5802
5814
  showads: !1
5803
5815
  }, ba = (e) => {
5804
5816
  let t = [];
5805
- const { PUBLIC_ENV: n, PUBLIC_IS_OFFLINE: r } = $();
5817
+ const { PUBLIC_ENV: n, PUBLIC_IS_OFFLINE: r } = K();
5806
5818
  return e.content && e.content.length > 0 ? t = e.content.map((o) => ({
5807
5819
  ...o,
5808
5820
  config: rr
@@ -6290,7 +6302,7 @@ const el = (e) => {
6290
6302
  i
6291
6303
  )) })
6292
6304
  ] }),
6293
- o && /* @__PURE__ */ a(K, { children: o }),
6305
+ o && /* @__PURE__ */ a(Y, { children: o }),
6294
6306
  /* @__PURE__ */ f("section", { className: ye.copyrigth, children: [
6295
6307
  /* @__PURE__ */ a("p", { className: ye.copyrigthText, children: e.copyrigth }),
6296
6308
  /* @__PURE__ */ a(
@@ -6634,7 +6646,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
6634
6646
  children: e.children
6635
6647
  }
6636
6648
  ),
6637
- /* @__PURE__ */ a(K, { children: e.paginatorComponent })
6649
+ /* @__PURE__ */ a(Y, { children: e.paginatorComponent })
6638
6650
  ] });
6639
6651
  }, e1 = "_content_15x47_1", t1 = "_newsDescription_15x47_15", n1 = "_image_15x47_41", Pt = {
6640
6652
  content: e1,
@@ -6715,7 +6727,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
6715
6727
  main: r,
6716
6728
  overImage: o = "default",
6717
6729
  titleGradient: s = !1
6718
- } = e, { SHOW_TAG_BY_SECTION: i } = $(), c = () => {
6730
+ } = e, { SHOW_TAG_BY_SECTION: i } = K(), c = () => {
6719
6731
  if (i && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
6720
6732
  const d = e.keywords.tags[0], l = d.name;
6721
6733
  return d.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
@@ -6849,7 +6861,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
6849
6861
  /* @__PURE__ */ a(Ue, { preview: e.preview, isLarge: !0, priorityHigh: !0 }),
6850
6862
  t && /* @__PURE__ */ a("div", { className: vn.description, children: t })
6851
6863
  ] });
6852
- }, 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: [
6853
6865
  /* @__PURE__ */ a(Co, { preview: e.preview }),
6854
6866
  /* @__PURE__ */ f("div", { className: et.textBox, children: [
6855
6867
  /* @__PURE__ */ f("div", { className: et.contentBox, children: [
@@ -7461,7 +7473,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
7461
7473
  children: t?.data[0]?.main?.title.home ?? ""
7462
7474
  }
7463
7475
  );
7464
- return /* @__PURE__ */ f(K, { children: [
7476
+ return /* @__PURE__ */ f(Y, { children: [
7465
7477
  /* @__PURE__ */ a(
7466
7478
  "input",
7467
7479
  {
@@ -7798,7 +7810,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
7798
7810
  op2: om
7799
7811
  }, s3 = (e) => {
7800
7812
  const { alertZone: t, children: n, sidebar: r } = e;
7801
- return /* @__PURE__ */ f(K, { children: [
7813
+ return /* @__PURE__ */ f(Y, { children: [
7802
7814
  /* @__PURE__ */ a(Rh, { ...e }),
7803
7815
  !e.showOnlyStickyHeader && /* @__PURE__ */ a(nm, { ...e }),
7804
7816
  /* @__PURE__ */ f(
@@ -8105,7 +8117,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
8105
8117
  correspondentLink: Pm,
8106
8118
  description: Dm
8107
8119
  }, Ct = (e) => {
8108
- const { SHOW_TAG_BY_SECTION: t } = $(), n = () => {
8120
+ const { SHOW_TAG_BY_SECTION: t } = K(), n = () => {
8109
8121
  if (e?.config?.showtime && e.config?.showauthor)
8110
8122
  return `${e?.authors[0]?.fullname} - ${Me(
8111
8123
  e.info?.date?.modified
@@ -8218,7 +8230,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
8218
8230
  }
8219
8231
  }
8220
8232
  ),
8221
- 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(
8222
8234
  B,
8223
8235
  {
8224
8236
  href: `/${e.paths?.autor ?? "autor"}/${e?.authors[0]?.name}`,
@@ -8372,7 +8384,7 @@ const jd = "_content_r1co8_1", Qd = "_videoContent_r1co8_20", Gd = "_articleSect
8372
8384
  subtitle: Ym,
8373
8385
  linkStyled: Km
8374
8386
  }, Eo = (e) => {
8375
- const { SHOW_TAG_BY_SECTION: t } = $(), n = () => {
8387
+ const { SHOW_TAG_BY_SECTION: t } = K(), n = () => {
8376
8388
  if (t && e.mainNew.keywords?.tags?.length && e.mainNew.keywords.tags.length > 0) {
8377
8389
  const r = e.mainNew.keywords.tags[0], o = r.name;
8378
8390
  return r.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
@@ -8639,7 +8651,7 @@ const i3 = (e) => {
8639
8651
  ] }),
8640
8652
  /* @__PURE__ */ a("div", { className: yt.bannerContent, children: e.halfPageBanner })
8641
8653
  ] });
8642
- }, d3 = (e) => /* @__PURE__ */ f(K, { children: [
8654
+ }, d3 = (e) => /* @__PURE__ */ f(Y, { children: [
8643
8655
  /* @__PURE__ */ a(
8644
8656
  Al,
8645
8657
  {
@@ -9176,7 +9188,7 @@ const i3 = (e) => {
9176
9188
  }
9177
9189
  );
9178
9190
  case "op2":
9179
- return /* @__PURE__ */ a(K, { children: t.length > 0 ? /* @__PURE__ */ a(
9191
+ return /* @__PURE__ */ a(Y, { children: t.length > 0 ? /* @__PURE__ */ a(
9180
9192
  oa,
9181
9193
  {
9182
9194
  className: "padding-0",
@@ -9237,7 +9249,7 @@ const i3 = (e) => {
9237
9249
  }
9238
9250
  ) });
9239
9251
  default:
9240
- return /* @__PURE__ */ a(K, {});
9252
+ return /* @__PURE__ */ a(Y, {});
9241
9253
  }
9242
9254
  }, h2 = "_content_gwsqy_1", m2 = "_contactInfoContent_gwsqy_7", mr = {
9243
9255
  content: h2,
@@ -9523,7 +9535,7 @@ const V2 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
9523
9535
  if (!e.news || !e.news.authors) return null;
9524
9536
  const { news: t, socials: n, texts: r } = e, o = t.authors.map(
9525
9537
  (c) => c.internaluser ? `<a href="${`/${e.paths.autor}/${c.name}`}">${c.fullname}</a>` : c.fullname
9526
- ).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();
9527
9539
  return t.config?.showauthor && /* @__PURE__ */ a("div", { className: de.content, children: /* @__PURE__ */ f("div", { className: de.avatarContent, children: [
9528
9540
  i ? /* @__PURE__ */ f(
9529
9541
  "a",
@@ -9741,7 +9753,7 @@ const t0 = (e) => /* @__PURE__ */ a(
9741
9753
  /<iframe(?![^>]*\btitle=)[^>]*>/gi,
9742
9754
  (n) => n.replace("<iframe", '<iframe title="frame custom content"')
9743
9755
  ), Io = async (e) => {
9744
- const { PUBLIC_IS_OFFLINE: t } = $();
9756
+ const { PUBLIC_IS_OFFLINE: t } = K();
9745
9757
  if (!(t === "true")) {
9746
9758
  const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(l)], h = {};
9747
9759
  for (const m of u) {
@@ -10449,7 +10461,7 @@ const yr = {
10449
10461
  config: n,
10450
10462
  banners: r
10451
10463
  }) => {
10452
- const { PUBLIC_ENV: o } = $();
10464
+ const { PUBLIC_ENV: o } = K();
10453
10465
  if (o !== "local") return null;
10454
10466
  const s = e?.news?.data || [], i = (c, d) => ({
10455
10467
  ...e?.news,
@@ -10457,7 +10469,7 @@ const yr = {
10457
10469
  data: s.slice(0, d),
10458
10470
  paths: n.paths
10459
10471
  });
10460
- return /* @__PURE__ */ f(K, { children: [
10472
+ return /* @__PURE__ */ f(Y, { children: [
10461
10473
  /* @__PURE__ */ a(
10462
10474
  Vn,
10463
10475
  {
@@ -10504,9 +10516,9 @@ const yr = {
10504
10516
  itemList: c = [],
10505
10517
  socials: d,
10506
10518
  getVideos: l
10507
- } = 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();
10508
10520
  if (!(!s || !s[0]))
10509
- 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: [
10510
10522
  /* @__PURE__ */ a(
10511
10523
  E2,
10512
10524
  {
@@ -10584,7 +10596,7 @@ const yr = {
10584
10596
  }
10585
10597
  ),
10586
10598
  /* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(rt, { banners: r, index: 2 }) }),
10587
- m && /* @__PURE__ */ f(K, { children: [
10599
+ m && /* @__PURE__ */ f(Y, { children: [
10588
10600
  /* @__PURE__ */ a(
10589
10601
  ko,
10590
10602
  {
@@ -10601,7 +10613,7 @@ const yr = {
10601
10613
  ),
10602
10614
  /* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(rt, { banners: r, index: 3 }) })
10603
10615
  ] }),
10604
- h && /* @__PURE__ */ f(K, { children: [
10616
+ h && /* @__PURE__ */ f(Y, { children: [
10605
10617
  /* @__PURE__ */ a(me, { title: e.texts.moreNewsTitle, children: /* @__PURE__ */ a(
10606
10618
  "div",
10607
10619
  {
@@ -10756,7 +10768,7 @@ const yr = {
10756
10768
  }
10757
10769
  );
10758
10770
  default:
10759
- return /* @__PURE__ */ a(K, {});
10771
+ return /* @__PURE__ */ a(Y, {});
10760
10772
  }
10761
10773
  }, V0 = "_content_gxziw_1", F0 = "_buttonStyled_gxziw_9", W0 = "_searchStyled_gxziw_21", $0 = "_inputStyled_gxziw_32", Y0 = "_inputStyledTest_gxziw_51", Bt = {
10762
10774
  content: V0,
@@ -10826,7 +10838,7 @@ const yr = {
10826
10838
  };
10827
10839
  switch (n) {
10828
10840
  case "op1":
10829
- return /* @__PURE__ */ a(K, { children: /* @__PURE__ */ f(sr, { children: [
10841
+ return /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ f(sr, { children: [
10830
10842
  /* @__PURE__ */ a(nu, { autor: r[0], autorIcon: e.autorIcon }),
10831
10843
  /* @__PURE__ */ a(
10832
10844
  _o,
@@ -10908,9 +10920,9 @@ const yr = {
10908
10920
  )
10909
10921
  ] }) });
10910
10922
  case "op2":
10911
- return /* @__PURE__ */ a(K, { children: /* @__PURE__ */ f(sr, { children: [
10923
+ return /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ f(sr, { children: [
10912
10924
  /* @__PURE__ */ a(mu, { autor: r[0], autorIcon: e.autorIcon }),
10913
- Array.isArray(t) ? /* @__PURE__ */ f(K, { children: [
10925
+ Array.isArray(t) ? /* @__PURE__ */ f(Y, { children: [
10914
10926
  /* @__PURE__ */ a(
10915
10927
  xo,
10916
10928
  {
@@ -10961,7 +10973,7 @@ const yr = {
10961
10973
  )
10962
10974
  ] }) });
10963
10975
  default:
10964
- return /* @__PURE__ */ a(K, {});
10976
+ return /* @__PURE__ */ a(Y, {});
10965
10977
  }
10966
10978
  }, eg = "_content_pq89v_1", tg = "_videoContent_pq89v_9", wr = {
10967
10979
  content: eg,
@@ -11084,7 +11096,7 @@ const yr = {
11084
11096
  case "op2":
11085
11097
  return /* @__PURE__ */ a(Sg, { video: e.data[0] });
11086
11098
  default:
11087
- return /* @__PURE__ */ a(K, {});
11099
+ return /* @__PURE__ */ a(Y, {});
11088
11100
  }
11089
11101
  };
11090
11102
  function b3({ containerId: e, containerId2: t }) {
@@ -11137,7 +11149,7 @@ const Eg = (e) => {
11137
11149
  );
11138
11150
  if (!i.length || !i[0]?.url || i[0]?.url === "")
11139
11151
  return /* @__PURE__ */ a("div", { className: se.imagePlaceholder });
11140
- const { PUBLIC_API_HOST: c, PUBLIC_ENV: d } = $();
11152
+ const { PUBLIC_API_HOST: c, PUBLIC_ENV: d } = K();
11141
11153
  return /* @__PURE__ */ a("figure", { className: se.figure, children: /* @__PURE__ */ f("span", { className: se.backdrop, children: [
11142
11154
  /* @__PURE__ */ a(
11143
11155
  "span",
@@ -11162,7 +11174,7 @@ const Eg = (e) => {
11162
11174
  }
11163
11175
  }
11164
11176
  ),
11165
- t && /* @__PURE__ */ f(K, { children: [
11177
+ t && /* @__PURE__ */ f(Y, { children: [
11166
11178
  /* @__PURE__ */ a(
11167
11179
  "div",
11168
11180
  {
@@ -11415,7 +11427,7 @@ const Eg = (e) => {
11415
11427
  children: n ? je(e.main.subtitle.striped) : e.main.subtitle.striped
11416
11428
  }
11417
11429
  ),
11418
- (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(
11419
11431
  B,
11420
11432
  {
11421
11433
  className: re.correspondentLink,
@@ -11483,7 +11495,7 @@ const Eg = (e) => {
11483
11495
  errorMessage: Yg,
11484
11496
  loadingContainer: Kg
11485
11497
  }, Uo = async (e, t) => {
11486
- const { PUBLIC_ENV: n } = $();
11498
+ const { PUBLIC_ENV: n } = K();
11487
11499
  if (console.log(n, !0), n === "local") return !0;
11488
11500
  if (!e) return !1;
11489
11501
  const { CAPTCHA_PROJECT: r, CAPTCHA_KEY_V2: o, COMMENTS_CAPTCHA_API_KEY: s } = t;
@@ -11592,7 +11604,7 @@ function Jg(e) {
11592
11604
  }
11593
11605
  const xa = (e, t) => {
11594
11606
  if (!e || !e.current) return { boolean: !1, text: "" };
11595
- 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.";
11596
11608
  return { boolean: i, text: c };
11597
11609
  }, Ro = (e) => {
11598
11610
  const t = e.cookie.split("; ").find((n) => n.startsWith("reported="));
@@ -12692,7 +12704,7 @@ const Lo = Ap(wp, {
12692
12704
  /* @__PURE__ */ a("button", { className: "close-reply-form", onClick: w, children: /* @__PURE__ */ a(Tt, {}) }),
12693
12705
  /* @__PURE__ */ a("h2", { className: ue.title, children: "Reportar Abuso" }),
12694
12706
  i === "loading" && /* @__PURE__ */ a("div", { className: ue.loadingContainer, children: /* @__PURE__ */ a(Je, {}) }),
12695
- i === "form" || i === "loading" ? /* @__PURE__ */ f(K, { children: [
12707
+ i === "form" || i === "loading" ? /* @__PURE__ */ f(Y, { children: [
12696
12708
  /* @__PURE__ */ a("div", { className: ue.optionsContainer, children: g.map((v) => /* @__PURE__ */ f("label", { className: ue.option, children: [
12697
12709
  /* @__PURE__ */ a(
12698
12710
  "input",
@@ -12731,7 +12743,7 @@ const Lo = Ap(wp, {
12731
12743
  }
12732
12744
  )
12733
12745
  ] })
12734
- ] }) : /* @__PURE__ */ f(K, { children: [
12746
+ ] }) : /* @__PURE__ */ f(Y, { children: [
12735
12747
  /* @__PURE__ */ f("div", { className: ue.successContainer, children: [
12736
12748
  /* @__PURE__ */ a("div", { className: ue.thumbsUp, children: /* @__PURE__ */ a(
12737
12749
  "svg",
@@ -12772,7 +12784,7 @@ async function ka({
12772
12784
  state: i = "5,6",
12773
12785
  apiToken: c
12774
12786
  }) {
12775
- const { PUBLIC_ENV: d } = $();
12787
+ const { PUBLIC_ENV: d } = K();
12776
12788
  if (d === "prod")
12777
12789
  return (await Wp({
12778
12790
  publication: e,
@@ -12807,7 +12819,7 @@ async function Wp({
12807
12819
  throw new Error("Invalid input types for publication or path");
12808
12820
  if (!c)
12809
12821
  throw new Error("Missing CMS API token");
12810
- 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);
12811
12823
  if (isNaN(m) || m <= 0)
12812
12824
  throw new Error("Invalid size parameter");
12813
12825
  if (isNaN(p) || p < 0)
@@ -12842,12 +12854,12 @@ async function Wp({
12842
12854
  throw v;
12843
12855
  }
12844
12856
  }
12845
- const { PUBLIC_PUBLICATION_ID: $p } = $(), Yp = $p, Kp = (e) => {
12857
+ const { PUBLIC_PUBLICATION_ID: $p } = K(), Yp = $p, Kp = (e) => {
12846
12858
  const [t, n] = J(void 0);
12847
12859
  return De(() => {
12848
12860
  if (t) return;
12849
12861
  (async () => {
12850
- const { PUBLIC_X_SECURITY_TOKEN: o } = $();
12862
+ const { PUBLIC_X_SECURITY_TOKEN: o } = K();
12851
12863
  try {
12852
12864
  const s = await ka({
12853
12865
  publication: Yp,
@@ -13006,7 +13018,7 @@ const { PUBLIC_PUBLICATION_ID: $p } = $(), Yp = $p, Kp = (e) => {
13006
13018
  ]
13007
13019
  }
13008
13020
  );
13009
- }, { PUBLIC_PUBLICATION_ID: Jp } = $(), Zp = Jp, Qo = async ({
13021
+ }, { PUBLIC_PUBLICATION_ID: Jp } = K(), Zp = Jp, Qo = async ({
13010
13022
  path: e,
13011
13023
  ref: t,
13012
13024
  captchaToken: n,
@@ -13129,7 +13141,7 @@ const { PUBLIC_PUBLICATION_ID: $p } = $(), Yp = $p, Kp = (e) => {
13129
13141
  ] })
13130
13142
  ] }) });
13131
13143
  }, t9 = ({ comment: e, replyingTo: t, path: n, user: r, handleReplyingTo: o, onFlag: s, CAPTCHA_KEY_V2: i }) => {
13132
- 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);
13133
13145
  let w = `${Ke.firstname} ${Ke.lastname}`, v = Ke.username;
13134
13146
  e.user && (w = `${e.user.firstname} ${e.user.lastname}`, v = e.user.username);
13135
13147
  const S = (_) => {
@@ -13254,7 +13266,7 @@ const { PUBLIC_PUBLICATION_ID: $p } = $(), Yp = $p, Kp = (e) => {
13254
13266
  }
13255
13267
  )
13256
13268
  ] });
13257
- }, { 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 = ({
13258
13270
  isAuthenticated: e,
13259
13271
  path: t,
13260
13272
  user: n,
@@ -13299,8 +13311,8 @@ const { PUBLIC_PUBLICATION_ID: $p } = $(), Yp = $p, Kp = (e) => {
13299
13311
  throw p(!1), new Error(`Error al obtener comentarios: ${Q}`);
13300
13312
  }
13301
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, {}) });
13302
- return /* @__PURE__ */ f(K, { children: [
13303
- /* @__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: [
13304
13316
  e && n && /* @__PURE__ */ f("div", { className: "comments-header", children: [
13305
13317
  /* @__PURE__ */ a(
13306
13318
  Rg,
@@ -13492,8 +13504,8 @@ function s9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
13492
13504
  d(!1);
13493
13505
  }
13494
13506
  }, w = r.password || "";
13495
- return /* @__PURE__ */ f(K, { children: [
13496
- h === "register" && /* @__PURE__ */ f(K, { children: [
13507
+ return /* @__PURE__ */ f(Y, { children: [
13508
+ h === "register" && /* @__PURE__ */ f(Y, { children: [
13497
13509
  /* @__PURE__ */ f("button", { onClick: t, className: k.google, children: [
13498
13510
  /* @__PURE__ */ a(
13499
13511
  "img",
@@ -13640,7 +13652,7 @@ function i9({
13640
13652
  CAPTCHA_KEY: o
13641
13653
  }) {
13642
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);
13643
- return console.log("CAPTCHA_KEY", o), /* @__PURE__ */ f(K, { children: [
13655
+ return console.log("CAPTCHA_KEY", o), /* @__PURE__ */ f(Y, { children: [
13644
13656
  s === "login" && /* @__PURE__ */ a(
13645
13657
  c9,
13646
13658
  {
@@ -13788,7 +13800,7 @@ function c9({
13788
13800
  onRegister: u,
13789
13801
  handleGoogleLogin: h
13790
13802
  }) {
13791
- return /* @__PURE__ */ f(K, { children: [
13803
+ return /* @__PURE__ */ f(Y, { children: [
13792
13804
  /* @__PURE__ */ f("button", { onClick: h, className: k.google, children: [
13793
13805
  /* @__PURE__ */ a(
13794
13806
  "img",
@@ -14090,7 +14102,7 @@ function m9({
14090
14102
  COMMENTS_VARS: c
14091
14103
  }) {
14092
14104
  const [d, l] = Te.useState(!1);
14093
- return /* @__PURE__ */ f(K, { children: [
14105
+ return /* @__PURE__ */ f(Y, { children: [
14094
14106
  d && /* @__PURE__ */ a(
14095
14107
  h9,
14096
14108
  {
@@ -14500,7 +14512,7 @@ export {
14500
14512
  W9 as generalGetData,
14501
14513
  N3 as getCaptchaToken,
14502
14514
  Wp as getComments,
14503
- $ as getConfig,
14515
+ K as getConfig,
14504
14516
  F9 as getDynamicSlots,
14505
14517
  pn as getEnvironmentUrl,
14506
14518
  ms as getEnvironmentUrlFront,