sass-template-common 0.9.134 → 0.9.136
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,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as g, Fragment as $ } from "react/jsx-runtime";
|
|
2
2
|
import * as Ws from "react";
|
|
3
|
-
import ce, { useState as
|
|
3
|
+
import ce, { useState as Z, useRef as Ga, useCallback as le, useEffect as xe, createElement as Be, forwardRef as Qn, Fragment as ds, useMemo as us, Component as ja } from "react";
|
|
4
4
|
let ms = {
|
|
5
5
|
PUBLIC_API_HOST: "",
|
|
6
6
|
PUBLIC_API_FRONT: "",
|
|
@@ -2531,10 +2531,10 @@ const Ri = (e) => {
|
|
|
2531
2531
|
asap: Bi,
|
|
2532
2532
|
isIterable: Oi
|
|
2533
2533
|
};
|
|
2534
|
-
function
|
|
2534
|
+
function J(e, t, s, a, r) {
|
|
2535
2535
|
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), s && (this.config = s), a && (this.request = a), r && (this.response = r, this.status = r.status ? r.status : null);
|
|
2536
2536
|
}
|
|
2537
|
-
N.inherits(
|
|
2537
|
+
N.inherits(J, Error, {
|
|
2538
2538
|
toJSON: function() {
|
|
2539
2539
|
return {
|
|
2540
2540
|
// Standard
|
|
@@ -2555,7 +2555,7 @@ N.inherits(Z, Error, {
|
|
|
2555
2555
|
};
|
|
2556
2556
|
}
|
|
2557
2557
|
});
|
|
2558
|
-
const na =
|
|
2558
|
+
const na = J.prototype, aa = {};
|
|
2559
2559
|
[
|
|
2560
2560
|
"ERR_BAD_OPTION_VALUE",
|
|
2561
2561
|
"ERR_BAD_OPTION",
|
|
@@ -2573,15 +2573,15 @@ const na = Z.prototype, aa = {};
|
|
|
2573
2573
|
].forEach((e) => {
|
|
2574
2574
|
aa[e] = { value: e };
|
|
2575
2575
|
});
|
|
2576
|
-
Object.defineProperties(
|
|
2576
|
+
Object.defineProperties(J, aa);
|
|
2577
2577
|
Object.defineProperty(na, "isAxiosError", { value: !0 });
|
|
2578
|
-
|
|
2578
|
+
J.from = (e, t, s, a, r, i) => {
|
|
2579
2579
|
const o = Object.create(na);
|
|
2580
2580
|
N.toFlatObject(e, o, function(d) {
|
|
2581
2581
|
return d !== Error.prototype;
|
|
2582
2582
|
}, (c) => c !== "isAxiosError");
|
|
2583
2583
|
const l = e && e.message ? e.message : "Error", u = t == null && e ? e.code : t;
|
|
2584
|
-
return
|
|
2584
|
+
return J.call(o, l, u, s, a, r), e && o.cause == null && Object.defineProperty(o, "cause", { value: e, configurable: !0 }), o.name = e && e.name || "Error", i && Object.assign(o, i), o;
|
|
2585
2585
|
};
|
|
2586
2586
|
const Mi = null;
|
|
2587
2587
|
function gs(e) {
|
|
@@ -2621,7 +2621,7 @@ function jt(e, t, s) {
|
|
|
2621
2621
|
if (N.isBoolean(f))
|
|
2622
2622
|
return f.toString();
|
|
2623
2623
|
if (!u && N.isBlob(f))
|
|
2624
|
-
throw new
|
|
2624
|
+
throw new J("Blob is not supported. Use a Buffer instead.");
|
|
2625
2625
|
return N.isArrayBuffer(f) || N.isTypedArray(f) ? u && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
2626
2626
|
}
|
|
2627
2627
|
function d(f, A, w) {
|
|
@@ -2872,7 +2872,7 @@ const lt = {
|
|
|
2872
2872
|
return JSON.parse(t, this.parseReviver);
|
|
2873
2873
|
} catch (l) {
|
|
2874
2874
|
if (o)
|
|
2875
|
-
throw l.name === "SyntaxError" ?
|
|
2875
|
+
throw l.name === "SyntaxError" ? J.from(l, J.ERR_BAD_RESPONSE, this, null, this.response) : l;
|
|
2876
2876
|
}
|
|
2877
2877
|
}
|
|
2878
2878
|
return t;
|
|
@@ -3115,16 +3115,16 @@ function da(e) {
|
|
|
3115
3115
|
return !!(e && e.__CANCEL__);
|
|
3116
3116
|
}
|
|
3117
3117
|
function Ze(e, t, s) {
|
|
3118
|
-
|
|
3118
|
+
J.call(this, e ?? "canceled", J.ERR_CANCELED, t, s), this.name = "CanceledError";
|
|
3119
3119
|
}
|
|
3120
|
-
N.inherits(Ze,
|
|
3120
|
+
N.inherits(Ze, J, {
|
|
3121
3121
|
__CANCEL__: !0
|
|
3122
3122
|
});
|
|
3123
3123
|
function ua(e, t, s) {
|
|
3124
3124
|
const a = s.config.validateStatus;
|
|
3125
|
-
!s.status || !a || a(s.status) ? e(s) : t(new
|
|
3125
|
+
!s.status || !a || a(s.status) ? e(s) : t(new J(
|
|
3126
3126
|
"Request failed with status code " + s.status,
|
|
3127
|
-
[
|
|
3127
|
+
[J.ERR_BAD_REQUEST, J.ERR_BAD_RESPONSE][Math.floor(s.status / 100) - 4],
|
|
3128
3128
|
s.config,
|
|
3129
3129
|
s.request,
|
|
3130
3130
|
s
|
|
@@ -3349,16 +3349,16 @@ const ha = (e) => {
|
|
|
3349
3349
|
"onloadend" in w ? w.onloadend = v : w.onreadystatechange = function() {
|
|
3350
3350
|
!w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.indexOf("file:") === 0) || setTimeout(v);
|
|
3351
3351
|
}, w.onabort = function() {
|
|
3352
|
-
w && (a(new
|
|
3352
|
+
w && (a(new J("Request aborted", J.ECONNABORTED, e, w)), w = null);
|
|
3353
3353
|
}, w.onerror = function(E) {
|
|
3354
|
-
const b = E && E.message ? E.message : "Network Error", I = new
|
|
3354
|
+
const b = E && E.message ? E.message : "Network Error", I = new J(b, J.ERR_NETWORK, e, w);
|
|
3355
3355
|
I.event = E || null, a(I), w = null;
|
|
3356
3356
|
}, w.ontimeout = function() {
|
|
3357
3357
|
let E = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
|
|
3358
3358
|
const b = r.transitional || la;
|
|
3359
|
-
r.timeoutErrorMessage && (E = r.timeoutErrorMessage), a(new
|
|
3359
|
+
r.timeoutErrorMessage && (E = r.timeoutErrorMessage), a(new J(
|
|
3360
3360
|
E,
|
|
3361
|
-
b.clarifyTimeoutError ?
|
|
3361
|
+
b.clarifyTimeoutError ? J.ETIMEDOUT : J.ECONNABORTED,
|
|
3362
3362
|
e,
|
|
3363
3363
|
w
|
|
3364
3364
|
)), w = null;
|
|
@@ -3369,7 +3369,7 @@ const ha = (e) => {
|
|
|
3369
3369
|
}, r.cancelToken && r.cancelToken.subscribe(d), r.signal && (r.signal.aborted ? d() : r.signal.addEventListener("abort", d)));
|
|
3370
3370
|
const y = ao(r.url);
|
|
3371
3371
|
if (y && ue.protocols.indexOf(y) === -1) {
|
|
3372
|
-
a(new
|
|
3372
|
+
a(new J("Unsupported protocol " + y + ":", J.ERR_BAD_REQUEST, e));
|
|
3373
3373
|
return;
|
|
3374
3374
|
}
|
|
3375
3375
|
w.send(i || null);
|
|
@@ -3382,11 +3382,11 @@ const ha = (e) => {
|
|
|
3382
3382
|
if (!r) {
|
|
3383
3383
|
r = !0, l();
|
|
3384
3384
|
const d = c instanceof Error ? c : this.reason;
|
|
3385
|
-
a.abort(d instanceof
|
|
3385
|
+
a.abort(d instanceof J ? d : new Ze(d instanceof Error ? d.message : d));
|
|
3386
3386
|
}
|
|
3387
3387
|
};
|
|
3388
3388
|
let o = t && setTimeout(() => {
|
|
3389
|
-
o = null, i(new
|
|
3389
|
+
o = null, i(new J(`timeout ${t} of ms exceeded`, J.ETIMEDOUT));
|
|
3390
3390
|
}, t);
|
|
3391
3391
|
const l = () => {
|
|
3392
3392
|
e && (o && clearTimeout(o), o = null, e.forEach((c) => {
|
|
@@ -3491,7 +3491,7 @@ const ha = (e) => {
|
|
|
3491
3491
|
let v = A && A[f];
|
|
3492
3492
|
if (v)
|
|
3493
3493
|
return v.call(A);
|
|
3494
|
-
throw new
|
|
3494
|
+
throw new J(`Response type '${f}' is not supported`, J.ERR_NOT_SUPPORT, w);
|
|
3495
3495
|
});
|
|
3496
3496
|
});
|
|
3497
3497
|
const h = async (f) => {
|
|
@@ -3591,11 +3591,11 @@ const ha = (e) => {
|
|
|
3591
3591
|
});
|
|
3592
3592
|
} catch (x) {
|
|
3593
3593
|
throw q && q(), x && x.name === "TypeError" && /Load failed|fetch/i.test(x.message) ? Object.assign(
|
|
3594
|
-
new
|
|
3594
|
+
new J("Network Error", J.ERR_NETWORK, f, se),
|
|
3595
3595
|
{
|
|
3596
3596
|
cause: x.cause || x
|
|
3597
3597
|
}
|
|
3598
|
-
) :
|
|
3598
|
+
) : J.from(x, x && x.code, f, se);
|
|
3599
3599
|
}
|
|
3600
3600
|
};
|
|
3601
3601
|
}, vo = /* @__PURE__ */ new Map(), fa = (e) => {
|
|
@@ -3637,7 +3637,7 @@ function yo(e, t) {
|
|
|
3637
3637
|
a = e[o];
|
|
3638
3638
|
let l;
|
|
3639
3639
|
if (r = a, !Co(a) && (r = Us[(l = String(a)).toLowerCase()], r === void 0))
|
|
3640
|
-
throw new
|
|
3640
|
+
throw new J(`Unknown adapter '${l}'`);
|
|
3641
3641
|
if (r && (N.isFunction(r) || (r = r.get(t))))
|
|
3642
3642
|
break;
|
|
3643
3643
|
i[l || "#" + o] = r;
|
|
@@ -3649,7 +3649,7 @@ function yo(e, t) {
|
|
|
3649
3649
|
let l = s ? o.length > 1 ? `since :
|
|
3650
3650
|
` + o.map(pn).join(`
|
|
3651
3651
|
`) : " " + pn(o[0]) : "as no adapter specified";
|
|
3652
|
-
throw new
|
|
3652
|
+
throw new J(
|
|
3653
3653
|
"There is no suitable adapter to dispatch the request " + l,
|
|
3654
3654
|
"ERR_NOT_SUPPORT"
|
|
3655
3655
|
);
|
|
@@ -3703,9 +3703,9 @@ Qt.transitional = function(t, s, a) {
|
|
|
3703
3703
|
}
|
|
3704
3704
|
return (i, o, l) => {
|
|
3705
3705
|
if (t === !1)
|
|
3706
|
-
throw new
|
|
3706
|
+
throw new J(
|
|
3707
3707
|
r(o, " has been removed" + (s ? " in " + s : "")),
|
|
3708
|
-
|
|
3708
|
+
J.ERR_DEPRECATED
|
|
3709
3709
|
);
|
|
3710
3710
|
return s && !wn[o] && (wn[o] = !0, console.warn(
|
|
3711
3711
|
r(
|
|
@@ -3720,7 +3720,7 @@ Qt.spelling = function(t) {
|
|
|
3720
3720
|
};
|
|
3721
3721
|
function No(e, t, s) {
|
|
3722
3722
|
if (typeof e != "object")
|
|
3723
|
-
throw new
|
|
3723
|
+
throw new J("options must be an object", J.ERR_BAD_OPTION_VALUE);
|
|
3724
3724
|
const a = Object.keys(e);
|
|
3725
3725
|
let r = a.length;
|
|
3726
3726
|
for (; r-- > 0; ) {
|
|
@@ -3728,11 +3728,11 @@ function No(e, t, s) {
|
|
|
3728
3728
|
if (o) {
|
|
3729
3729
|
const l = e[i], u = l === void 0 || o(l, i, e);
|
|
3730
3730
|
if (u !== !0)
|
|
3731
|
-
throw new
|
|
3731
|
+
throw new J("option " + i + " must be " + u, J.ERR_BAD_OPTION_VALUE);
|
|
3732
3732
|
continue;
|
|
3733
3733
|
}
|
|
3734
3734
|
if (s !== !0)
|
|
3735
|
-
throw new
|
|
3735
|
+
throw new J("Unknown option " + i, J.ERR_BAD_OPTION);
|
|
3736
3736
|
}
|
|
3737
3737
|
}
|
|
3738
3738
|
const xt = {
|
|
@@ -4031,7 +4031,7 @@ re.CancelToken = So;
|
|
|
4031
4031
|
re.isCancel = da;
|
|
4032
4032
|
re.VERSION = pa;
|
|
4033
4033
|
re.toFormData = jt;
|
|
4034
|
-
re.AxiosError =
|
|
4034
|
+
re.AxiosError = J;
|
|
4035
4035
|
re.Cancel = re.CanceledError;
|
|
4036
4036
|
re.all = function(t) {
|
|
4037
4037
|
return Promise.all(t);
|
|
@@ -5215,12 +5215,12 @@ function Po({
|
|
|
5215
5215
|
enableDrag: i,
|
|
5216
5216
|
onIndexChange: o
|
|
5217
5217
|
}) {
|
|
5218
|
-
const [l, u] =
|
|
5218
|
+
const [l, u] = Z(!1), [c, d] = Z(0), [m, h] = Z(0), [p, f] = Z(0), [A, w] = Z(0), [v, y] = Z(null), S = Ga(null), [E, b] = Z(1), I = le(() => {
|
|
5219
5219
|
if (r) return 1;
|
|
5220
5220
|
const C = S.current?.offsetWidth || window.innerWidth, T = s + a, O = Math.floor(C / T);
|
|
5221
5221
|
return Math.max(1, O);
|
|
5222
5222
|
}, [r, s, a]);
|
|
5223
|
-
|
|
5223
|
+
xe(() => {
|
|
5224
5224
|
const C = () => {
|
|
5225
5225
|
const T = I();
|
|
5226
5226
|
b(T);
|
|
@@ -5318,7 +5318,7 @@ function Po({
|
|
|
5318
5318
|
},
|
|
5319
5319
|
[U]
|
|
5320
5320
|
);
|
|
5321
|
-
return
|
|
5321
|
+
return xe(() => {
|
|
5322
5322
|
if (l)
|
|
5323
5323
|
return S.current?.addEventListener("mousemove", q), S.current?.addEventListener("mouseup", U), () => {
|
|
5324
5324
|
S.current?.removeEventListener(
|
|
@@ -5352,8 +5352,8 @@ function vu(e) {
|
|
|
5352
5352
|
fullPageWidth: o = !1,
|
|
5353
5353
|
pagination: l = !1,
|
|
5354
5354
|
enableDrag: u = !0
|
|
5355
|
-
} = e, c = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [d, m] =
|
|
5356
|
-
|
|
5355
|
+
} = e, c = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [d, m] = Z(0), [h, p] = Z(!1);
|
|
5356
|
+
xe(() => {
|
|
5357
5357
|
p(!0);
|
|
5358
5358
|
const j = document.getElementById("ssr-dummy_" + s);
|
|
5359
5359
|
j && j.remove();
|
|
@@ -6041,14 +6041,10 @@ const Go = (e) => {
|
|
|
6041
6041
|
isVideo: s = !1,
|
|
6042
6042
|
hasShadow: a = !1,
|
|
6043
6043
|
priorityHigh: r = !1
|
|
6044
|
-
} = e, i = Ca()
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
`/api/image-proxy?url=${encodeURIComponent(u[0].url)}`
|
|
6049
|
-
) : l(u?.[0]?.url);
|
|
6050
|
-
})();
|
|
6051
|
-
}, [u, t, e.cookies]), u && o && o !== "invalidURL" ? /* @__PURE__ */ n("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */ g("span", { className: "sass-com-img-backdrop", children: [
|
|
6044
|
+
} = e, i = Ca();
|
|
6045
|
+
let o;
|
|
6046
|
+
const l = t?.sizes;
|
|
6047
|
+
return l?.[0]?.url ? o = `/api/image-proxy?url=${encodeURIComponent(l[0].url)}` : o = l?.[0]?.url, l && o && o !== "invalidURL" ? /* @__PURE__ */ n("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */ g("span", { className: "sass-com-img-backdrop", children: [
|
|
6052
6048
|
/* @__PURE__ */ n("span", { className: "sass-com-img-backdropAux" }),
|
|
6053
6049
|
/* @__PURE__ */ g("picture", { children: [
|
|
6054
6050
|
/* @__PURE__ */ n(
|
|
@@ -7456,7 +7452,7 @@ const Go = (e) => {
|
|
|
7456
7452
|
) }) })
|
|
7457
7453
|
}
|
|
7458
7454
|
);
|
|
7459
|
-
},
|
|
7455
|
+
}, Te = (e) => {
|
|
7460
7456
|
const { PUBLIC_ENV: t } = B(), s = ie("/x.svg");
|
|
7461
7457
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", width: 23, height: 23, ...e }) : /* @__PURE__ */ n("svg", { ...e, width: 28, height: 28, version: "1.1", baseProfile: "tiny", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 30 30", overflow: "visible", xmlSpace: "preserve", children: /* @__PURE__ */ n("path", { fill: "currentColor", d: "M5.9,6.1l7.1,9.8l-7.1,7.9h1.6l6.2-7l5,7h5.4l-7.5-10.3l6.6-7.4h-1.6L16,12.5l-4.6-6.4L5.9,6.1L5.9,6.1zM8.2,7.4h2.5l11,15.3h-2.5L8.2,7.4z" }) });
|
|
7462
7458
|
}, Zo = (e) => {
|
|
@@ -7496,7 +7492,7 @@ const Go = (e) => {
|
|
|
7496
7492
|
whatsapp: (e) => /* @__PURE__ */ n(Jo, { ...e }),
|
|
7497
7493
|
tiktok: (e) => /* @__PURE__ */ n($o, { ...e }),
|
|
7498
7494
|
youtube: (e) => /* @__PURE__ */ n(Zo, { ...e }),
|
|
7499
|
-
x: (e) => /* @__PURE__ */ n(
|
|
7495
|
+
x: (e) => /* @__PURE__ */ n(Te, { ...e }),
|
|
7500
7496
|
gnews: (e) => /* @__PURE__ */ n(Wo, { ...e }),
|
|
7501
7497
|
podcast: (e) => /* @__PURE__ */ n(Yo, { ...e }),
|
|
7502
7498
|
telegram: (e) => /* @__PURE__ */ n(Ko, { ...e })
|
|
@@ -7709,8 +7705,8 @@ const Go = (e) => {
|
|
|
7709
7705
|
X: {
|
|
7710
7706
|
url: (e) => `https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,
|
|
7711
7707
|
icon: {
|
|
7712
|
-
outline: (e) => /* @__PURE__ */ n(
|
|
7713
|
-
solid: (e) => /* @__PURE__ */ n(
|
|
7708
|
+
outline: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 }),
|
|
7709
|
+
solid: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 })
|
|
7714
7710
|
}
|
|
7715
7711
|
},
|
|
7716
7712
|
Whatsapp: {
|
|
@@ -7919,24 +7915,23 @@ const Eu = (e) => {
|
|
|
7919
7915
|
);
|
|
7920
7916
|
}, Yt = (e) => {
|
|
7921
7917
|
const {
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
return c.approved ? /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
|
|
7918
|
+
info: t,
|
|
7919
|
+
main: s,
|
|
7920
|
+
overImage: a = "default",
|
|
7921
|
+
titleGradient: r = !1
|
|
7922
|
+
} = e, { SHOW_TAG_BY_SECTION: i, SUB_PUBLICATION_PREFIX_IN_ROUTES: o } = B(), l = () => {
|
|
7923
|
+
if (i && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
7924
|
+
const u = e.keywords.tags[0], c = u.name;
|
|
7925
|
+
return u.approved ? /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
|
|
7931
7926
|
P,
|
|
7932
7927
|
{
|
|
7933
|
-
"aria-label":
|
|
7934
|
-
block_subPublication:
|
|
7928
|
+
"aria-label": c,
|
|
7929
|
+
block_subPublication: o?.tema,
|
|
7935
7930
|
className: "sass-com-sc2-sectionDescription",
|
|
7936
|
-
href: je(
|
|
7937
|
-
children:
|
|
7931
|
+
href: je(u, e.paths),
|
|
7932
|
+
children: c
|
|
7938
7933
|
}
|
|
7939
|
-
) }) : /* @__PURE__ */ n("div", { className: "sass-com-sc2-sectionDescription", children:
|
|
7934
|
+
) }) : /* @__PURE__ */ n("div", { className: "sass-com-sc2-sectionDescription", children: c });
|
|
7940
7935
|
} else if (e.info?.section?.url)
|
|
7941
7936
|
return /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
|
|
7942
7937
|
P,
|
|
@@ -7949,14 +7944,14 @@ const Eu = (e) => {
|
|
|
7949
7944
|
) });
|
|
7950
7945
|
return null;
|
|
7951
7946
|
};
|
|
7952
|
-
return /* @__PURE__ */ g("section", { className: "sass-com-sc2-content", children: [
|
|
7947
|
+
return console.log("props-sc2 owl preview", e.preview), /* @__PURE__ */ g("section", { className: "sass-com-sc2-content", children: [
|
|
7953
7948
|
/* @__PURE__ */ n(
|
|
7954
7949
|
P,
|
|
7955
7950
|
{
|
|
7956
|
-
title:
|
|
7957
|
-
href:
|
|
7958
|
-
target:
|
|
7959
|
-
children: /* @__PURE__ */ n(ve, { preview: e.preview
|
|
7951
|
+
title: s?.title?.section,
|
|
7952
|
+
href: t.link.url,
|
|
7953
|
+
target: t.link.target,
|
|
7954
|
+
children: /* @__PURE__ */ n(ve, { preview: e.preview })
|
|
7960
7955
|
}
|
|
7961
7956
|
),
|
|
7962
7957
|
/* @__PURE__ */ g(
|
|
@@ -7964,15 +7959,15 @@ const Eu = (e) => {
|
|
|
7964
7959
|
{
|
|
7965
7960
|
className: [
|
|
7966
7961
|
"sass-com-sc2-boxInformation",
|
|
7967
|
-
|
|
7962
|
+
r ? "sass-com-sc2-titleGradient" : ""
|
|
7968
7963
|
].join(" "),
|
|
7969
7964
|
style: {
|
|
7970
|
-
width:
|
|
7971
|
-
left:
|
|
7972
|
-
top:
|
|
7965
|
+
width: a !== "default" ? "90%" : "",
|
|
7966
|
+
left: a === "left" ? 0 : a === "right" ? "calc(10% - 1px)" : "auto",
|
|
7967
|
+
top: a !== "default" ? "-1rem" : ""
|
|
7973
7968
|
},
|
|
7974
7969
|
children: [
|
|
7975
|
-
/* @__PURE__ */ n(
|
|
7970
|
+
/* @__PURE__ */ n(l, {}),
|
|
7976
7971
|
/* @__PURE__ */ n("h2", { className: "sass-com-sc2-articule", children: /* @__PURE__ */ n(
|
|
7977
7972
|
P,
|
|
7978
7973
|
{
|
|
@@ -8157,7 +8152,7 @@ const Eu = (e) => {
|
|
|
8157
8152
|
target: "_blank",
|
|
8158
8153
|
className: "sass-com-ah1-social-link",
|
|
8159
8154
|
rel: "noreferrer",
|
|
8160
|
-
children: /* @__PURE__ */ n(
|
|
8155
|
+
children: /* @__PURE__ */ n(Te, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-x", forceSVG: !0 })
|
|
8161
8156
|
}
|
|
8162
8157
|
),
|
|
8163
8158
|
f && /* @__PURE__ */ n(
|
|
@@ -8238,7 +8233,7 @@ const Eu = (e) => {
|
|
|
8238
8233
|
href: p,
|
|
8239
8234
|
target: "_blank",
|
|
8240
8235
|
rel: "noreferrer",
|
|
8241
|
-
children: /* @__PURE__ */ n(
|
|
8236
|
+
children: /* @__PURE__ */ n(Te, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-x", forceSVG: !0 })
|
|
8242
8237
|
}
|
|
8243
8238
|
),
|
|
8244
8239
|
f && /* @__PURE__ */ n(
|
|
@@ -9326,7 +9321,7 @@ const Eu = (e) => {
|
|
|
9326
9321
|
target: "_blank",
|
|
9327
9322
|
className: "sass-com-th-socialIconLink",
|
|
9328
9323
|
rel: "noreferrer",
|
|
9329
|
-
children: /* @__PURE__ */ n(
|
|
9324
|
+
children: /* @__PURE__ */ n(Te, { className: "sass-com-th-socialIcon", forceSVG: !0 })
|
|
9330
9325
|
}
|
|
9331
9326
|
),
|
|
9332
9327
|
i && /* @__PURE__ */ n(
|
|
@@ -11432,8 +11427,8 @@ const Zl = (e) => /* @__PURE__ */ n(
|
|
|
11432
11427
|
X: {
|
|
11433
11428
|
url: (e) => `https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,
|
|
11434
11429
|
icon: {
|
|
11435
|
-
outline: (e) => /* @__PURE__ */ n(
|
|
11436
|
-
solid: (e) => /* @__PURE__ */ n(
|
|
11430
|
+
outline: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 }),
|
|
11431
|
+
solid: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 })
|
|
11437
11432
|
}
|
|
11438
11433
|
},
|
|
11439
11434
|
Whatsapp: {
|
|
@@ -11683,8 +11678,8 @@ const tc = async (e) => {
|
|
|
11683
11678
|
X: {
|
|
11684
11679
|
url: (e) => `https://twitter.com/intent/tweet?url=${encodeURIComponent(e)}`,
|
|
11685
11680
|
icon: {
|
|
11686
|
-
outline: (e) => /* @__PURE__ */ n(
|
|
11687
|
-
solid: (e) => /* @__PURE__ */ n(
|
|
11681
|
+
outline: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 }),
|
|
11682
|
+
solid: (e) => /* @__PURE__ */ n(Te, { className: e, forceSVG: !0 })
|
|
11688
11683
|
}
|
|
11689
11684
|
},
|
|
11690
11685
|
Whatsapp: {
|
|
@@ -12296,7 +12291,7 @@ async function fc(e) {
|
|
|
12296
12291
|
paths: e.paths
|
|
12297
12292
|
}
|
|
12298
12293
|
) }),
|
|
12299
|
-
/* @__PURE__ */ n(Kl, { summary: t.main.summary }),
|
|
12294
|
+
e.customSummary ? e.customSummary : /* @__PURE__ */ n(Kl, { summary: t.main.summary }),
|
|
12300
12295
|
/* @__PURE__ */ n(
|
|
12301
12296
|
"main",
|
|
12302
12297
|
{
|
|
@@ -12347,7 +12342,8 @@ const gc = (e) => {
|
|
|
12347
12342
|
itemList: m = [],
|
|
12348
12343
|
socials: h,
|
|
12349
12344
|
getVideos: p,
|
|
12350
|
-
scope: f
|
|
12345
|
+
scope: f,
|
|
12346
|
+
customSummary: A
|
|
12351
12347
|
} = e;
|
|
12352
12348
|
if (u)
|
|
12353
12349
|
return /* @__PURE__ */ g($, { children: [
|
|
@@ -12367,7 +12363,8 @@ const gc = (e) => {
|
|
|
12367
12363
|
noteShare: i,
|
|
12368
12364
|
paths: o,
|
|
12369
12365
|
showHeaderImage: !gc(u),
|
|
12370
|
-
commonServices: a
|
|
12366
|
+
commonServices: a,
|
|
12367
|
+
customSummary: A
|
|
12371
12368
|
}
|
|
12372
12369
|
),
|
|
12373
12370
|
/* @__PURE__ */ n(be, { banners: l ?? [], name: "block_3", scope: f })
|
|
@@ -12454,7 +12451,8 @@ const gc = (e) => {
|
|
|
12454
12451
|
noteShare: e.noteShare,
|
|
12455
12452
|
paths: e.paths,
|
|
12456
12453
|
commonServices: e.commonServices,
|
|
12457
|
-
scope: m
|
|
12454
|
+
scope: m,
|
|
12455
|
+
customSummary: e.customSummary
|
|
12458
12456
|
}
|
|
12459
12457
|
)
|
|
12460
12458
|
}
|
|
@@ -12574,7 +12572,7 @@ function zu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12574
12572
|
{ label: a.passwordRuleSymbol, test: Ee[4] }
|
|
12575
12573
|
],
|
|
12576
12574
|
[a.passwordRuleMinLength, a.passwordRuleNumber, a.passwordRuleLowercase, a.passwordRuleUppercase, a.passwordRuleSymbol]
|
|
12577
|
-
), [o, l] =
|
|
12575
|
+
), [o, l] = Z({}), [u, c] = Z(!1), [d, m] = Z(!1), [h, p] = Z(null), [f, A] = Z(
|
|
12578
12576
|
"register"
|
|
12579
12577
|
), w = async () => {
|
|
12580
12578
|
if (t.PUBLIC_ENV === "local") {
|
|
@@ -12835,7 +12833,7 @@ function Wu({
|
|
|
12835
12833
|
API_ENV: e,
|
|
12836
12834
|
texts: t
|
|
12837
12835
|
}) {
|
|
12838
|
-
const s = { ...vc, ...t?.comentarios }, [a, r] =
|
|
12836
|
+
const s = { ...vc, ...t?.comentarios }, [a, r] = Z("login"), [i, o] = Z(""), [l, u] = Z(""), [c, d] = Z(""), [m, h] = Z(""), [p, f] = Z(""), [A, w] = Z(!1), [v, y] = Z(!1), [S, E] = Z(null);
|
|
12839
12837
|
ce.useEffect(() => {
|
|
12840
12838
|
if (typeof window > "u") return;
|
|
12841
12839
|
window.location.hash.includes("forgot") && a === "login" && r("forgot"), a === "login" && I();
|
|
@@ -13258,7 +13256,7 @@ function Ec({
|
|
|
13258
13256
|
] });
|
|
13259
13257
|
}
|
|
13260
13258
|
function Yu({ containerId: e, containerId2: t }) {
|
|
13261
|
-
return
|
|
13259
|
+
return xe(() => {
|
|
13262
13260
|
try {
|
|
13263
13261
|
let s = function() {
|
|
13264
13262
|
const d = window.twttr;
|
|
@@ -13441,7 +13439,7 @@ const Ku = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13441
13439
|
fetchConfig: o,
|
|
13442
13440
|
paths: l
|
|
13443
13441
|
}) => {
|
|
13444
|
-
const u = i.FETCH_SIZE_MORE_NEWS ?? 6, [c, d] =
|
|
13442
|
+
const u = i.FETCH_SIZE_MORE_NEWS ?? 6, [c, d] = Z({ data: Array.from({ length: u }, () => xc) }), [m, h] = Z(!1), p = le(async () => {
|
|
13445
13443
|
if (!t) return;
|
|
13446
13444
|
const w = new URLSearchParams({
|
|
13447
13445
|
section: e,
|
|
@@ -13501,7 +13499,7 @@ const Ku = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13501
13499
|
p,
|
|
13502
13500
|
f
|
|
13503
13501
|
]);
|
|
13504
|
-
return
|
|
13502
|
+
return xe(() => {
|
|
13505
13503
|
a && A();
|
|
13506
13504
|
}, [a, A]), !c?.data || c.data.length === 0 ? null : /* @__PURE__ */ n(
|
|
13507
13505
|
kc,
|
|
@@ -13815,7 +13813,7 @@ const ws = {
|
|
|
13815
13813
|
function Ju(e) {
|
|
13816
13814
|
return ws[e];
|
|
13817
13815
|
}
|
|
13818
|
-
const Le = 300,
|
|
13816
|
+
const Le = 300, Ie = {
|
|
13819
13817
|
username: "anonimo",
|
|
13820
13818
|
firstname: "Usuario",
|
|
13821
13819
|
lastname: "Anonimo"
|
|
@@ -14840,9 +14838,9 @@ const Oa = Xc(td, {
|
|
|
14840
14838
|
CAPTCHA_KEY_V2: i,
|
|
14841
14839
|
texts: o
|
|
14842
14840
|
}) => {
|
|
14843
|
-
const l = { ...sd, ...o?.comentarios }, u = { ...ws, ...l.reportReasons ?? {} }, [c, d] =
|
|
14841
|
+
const l = { ...sd, ...o?.comentarios }, u = { ...ws, ...l.reportReasons ?? {} }, [c, d] = Z("form"), [m, h] = Z(
|
|
14844
14842
|
""
|
|
14845
|
-
), [p, f] =
|
|
14843
|
+
), [p, f] = Z(""), [A, w] = Z(""), v = [
|
|
14846
14844
|
{ id: "spam", label: u.spam },
|
|
14847
14845
|
{ id: "inappropriate", label: u.inappropriate },
|
|
14848
14846
|
{ id: "hate", label: u.hate },
|
|
@@ -15080,8 +15078,8 @@ async function rd({
|
|
|
15080
15078
|
}
|
|
15081
15079
|
}
|
|
15082
15080
|
const id = (e, t) => {
|
|
15083
|
-
const [s, a] =
|
|
15084
|
-
return
|
|
15081
|
+
const [s, a] = Z(void 0), { PUBLIC_PUBLICATION_ID: r } = t, i = r;
|
|
15082
|
+
return xe(() => {
|
|
15085
15083
|
if (s) return;
|
|
15086
15084
|
(async () => {
|
|
15087
15085
|
const { PUBLIC_X_SECURITY_TOKEN: l } = t;
|
|
@@ -15165,7 +15163,7 @@ const id = (e, t) => {
|
|
|
15165
15163
|
commentInputPlaceholder: "Ingresa un comentario"
|
|
15166
15164
|
}, js = ({ commentRef: e, captchaToken: t = "", setIsDisabled: s, API_ENV: a, texts: r }) => {
|
|
15167
15165
|
const i = { ...od, ...r?.comentarios };
|
|
15168
|
-
return
|
|
15166
|
+
return xe(() => {
|
|
15169
15167
|
const o = e.current;
|
|
15170
15168
|
if (!o) return;
|
|
15171
15169
|
const l = () => {
|
|
@@ -15445,7 +15443,7 @@ const ud = {
|
|
|
15445
15443
|
API_ENV: o,
|
|
15446
15444
|
texts: l
|
|
15447
15445
|
}) => {
|
|
15448
|
-
const [u, c] =
|
|
15446
|
+
const [u, c] = Z(!0), [d, m] = Z(""), h = () => {
|
|
15449
15447
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Le}`), c(!0), i();
|
|
15450
15448
|
};
|
|
15451
15449
|
return /* @__PURE__ */ g("div", { className: "comment-form reply-form su-p-8 su-relative", children: [
|
|
@@ -15498,9 +15496,9 @@ const ud = {
|
|
|
15498
15496
|
replyingToLabel: "Respondiendo a"
|
|
15499
15497
|
}, fd = ({ reply: e, replyingTo: t, user: s, onFlag: a, DATE_CONFIG: r, texts: i }) => {
|
|
15500
15498
|
const o = { ...hd, ...i?.comentarios }, l = e.text;
|
|
15501
|
-
let u = `${
|
|
15499
|
+
let u = `${Ie.firstname} ${Ie.lastname ?? ""}`, c = Ie.username;
|
|
15502
15500
|
return e.user && (u = `${e.user.firstname} ${e.user.lastname ?? ""}`, c = e.user.username), /* @__PURE__ */ n("div", { className: "comment-item reply", children: /* @__PURE__ */ g("div", { className: "comment-header-container su-flex su-relative", children: [
|
|
15503
|
-
/* @__PURE__ */ n(qa, { user: e.user ? e.user :
|
|
15501
|
+
/* @__PURE__ */ n(qa, { user: e.user ? e.user : Ie }),
|
|
15504
15502
|
/* @__PURE__ */ g("div", { style: { flex: 1 }, children: [
|
|
15505
15503
|
/* @__PURE__ */ n(Ma, { username: u, date: e.date.time, DATE_CONFIG: r }),
|
|
15506
15504
|
/* @__PURE__ */ g("div", { className: "comment-reply-to", children: [
|
|
@@ -15516,8 +15514,8 @@ const ud = {
|
|
|
15516
15514
|
}, gd = {
|
|
15517
15515
|
moreRepliesButton: "Más Respuestas"
|
|
15518
15516
|
}, pd = ({ comment: e, replyingTo: t, path: s, user: a, handleReplyingTo: r, onFlag: i, API_ENV: o, texts: l }) => {
|
|
15519
|
-
const u = { ...gd, ...l?.comentarios }, c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, m] =
|
|
15520
|
-
let y = `${
|
|
15517
|
+
const u = { ...gd, ...l?.comentarios }, c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, m] = Z(c), [h, p] = ce.useState(!1), { PUBLIC_PUBLICATION_ID: f, PUBLIC_X_SECURITY_TOKEN: A } = o, w = e.text, v = ce.useRef(null);
|
|
15518
|
+
let y = `${Ie.firstname} ${Ie.lastname ?? ""}`, S = Ie.username;
|
|
15521
15519
|
e.user && (y = `${e.user.firstname} ${e.user.lastname ?? ""}`, S = e.user.username);
|
|
15522
15520
|
const E = (b) => {
|
|
15523
15521
|
m({ morereply: d.morereply, reply: [b, ...d.reply] });
|
|
@@ -15528,7 +15526,7 @@ const ud = {
|
|
|
15528
15526
|
className: "comment-header-container su-flex su-relative",
|
|
15529
15527
|
"data-hasreplies": d.reply.length > 0 ? "true" : "false",
|
|
15530
15528
|
children: [
|
|
15531
|
-
/* @__PURE__ */ n(qa, { user: e.user ? e.user :
|
|
15529
|
+
/* @__PURE__ */ n(qa, { user: e.user ? e.user : Ie }),
|
|
15532
15530
|
/* @__PURE__ */ g("div", { style: { flex: 1 }, children: [
|
|
15533
15531
|
/* @__PURE__ */ n(Ma, { username: y, date: e.date.time, DATE_CONFIG: o }),
|
|
15534
15532
|
/* @__PURE__ */ n("p", { className: "comment-text su-font-normal", children: w }),
|
|
@@ -15606,7 +15604,7 @@ const ud = {
|
|
|
15606
15604
|
API_ENV: r,
|
|
15607
15605
|
texts: i
|
|
15608
15606
|
}) => {
|
|
15609
|
-
const [o, l] =
|
|
15607
|
+
const [o, l] = Z(!0), [u, c] = Z("");
|
|
15610
15608
|
return /* @__PURE__ */ g("div", { className: "comment-form su-p-8 su-relative", children: [
|
|
15611
15609
|
/* @__PURE__ */ n(
|
|
15612
15610
|
js,
|
|
@@ -15678,7 +15676,7 @@ const ud = {
|
|
|
15678
15676
|
API_ENV: o,
|
|
15679
15677
|
texts: l
|
|
15680
15678
|
}) => {
|
|
15681
|
-
const [u, c] =
|
|
15679
|
+
const [u, c] = Z(!0), [d, m] = Z("");
|
|
15682
15680
|
return /* @__PURE__ */ n($, { children: /* @__PURE__ */ g("div", { className: "comment-form anoninus-form su-p-8 su-relative", children: [
|
|
15683
15681
|
/* @__PURE__ */ n(
|
|
15684
15682
|
bd,
|
|
@@ -15761,9 +15759,9 @@ const ud = {
|
|
|
15761
15759
|
API_ENV: o,
|
|
15762
15760
|
texts: l
|
|
15763
15761
|
}) => {
|
|
15764
|
-
const u = { ...Cd, ...l?.comentarios }, { PUBLIC_PUBLICATION_ID: c, PUBLIC_X_SECURITY_TOKEN: d } = o, m = c ?? "", h = t.replaceAll("/", "|"), [p, f] =
|
|
15762
|
+
const u = { ...Cd, ...l?.comentarios }, { PUBLIC_PUBLICATION_ID: c, PUBLIC_X_SECURITY_TOKEN: d } = o, m = c ?? "", h = t.replaceAll("/", "|"), [p, f] = Z(
|
|
15765
15763
|
void 0
|
|
15766
|
-
), [A, w] =
|
|
15764
|
+
), [A, w] = Z(""), { comments: v, setComments: y } = id(h, o), [S, E] = ce.useState(!1), b = ce.useRef(null), I = ce.useRef(null), k = (U) => {
|
|
15767
15765
|
w(A === U ? "" : U);
|
|
15768
15766
|
}, Q = (U) => {
|
|
15769
15767
|
y(
|
|
@@ -15858,7 +15856,7 @@ const ud = {
|
|
|
15858
15856
|
replyingTo: A,
|
|
15859
15857
|
handleReplyingTo: k,
|
|
15860
15858
|
onFlag: W,
|
|
15861
|
-
user: s ??
|
|
15859
|
+
user: s ?? Ie,
|
|
15862
15860
|
path: h,
|
|
15863
15861
|
API_ENV: o,
|
|
15864
15862
|
texts: l
|
|
@@ -15943,7 +15941,7 @@ function Sd({
|
|
|
15943
15941
|
API_ENV: a,
|
|
15944
15942
|
texts: r
|
|
15945
15943
|
}) {
|
|
15946
|
-
const [i, o] =
|
|
15944
|
+
const [i, o] = Z(null), [l, u] = Z(null), c = a?.COGNITO_AUTH_PREFIX ?? "ASTRO_", d = le(async () => {
|
|
15947
15945
|
if (e) {
|
|
15948
15946
|
if (document.cookie.search(c + "IS_AUTH=true") === -1) {
|
|
15949
15947
|
o(!1), u(null);
|
|
@@ -15957,9 +15955,9 @@ function Sd({
|
|
|
15957
15955
|
}
|
|
15958
15956
|
}
|
|
15959
15957
|
}, [e, c]);
|
|
15960
|
-
|
|
15958
|
+
xe(() => {
|
|
15961
15959
|
d();
|
|
15962
|
-
}, [d, e]),
|
|
15960
|
+
}, [d, e]), xe(() => {
|
|
15963
15961
|
if (!l || !e || typeof window > "u") return;
|
|
15964
15962
|
const f = window;
|
|
15965
15963
|
if (typeof f != "function") {
|
|
@@ -16215,10 +16213,16 @@ const _a = async (e, t) => {
|
|
|
16215
16213
|
cardGap: 32,
|
|
16216
16214
|
visibleItems: 3,
|
|
16217
16215
|
children: t.map((i, o) => {
|
|
16218
|
-
const l = {
|
|
16219
|
-
...i
|
|
16220
|
-
|
|
16221
|
-
|
|
16216
|
+
const l = {
|
|
16217
|
+
...i,
|
|
16218
|
+
preview: {
|
|
16219
|
+
...i.preview
|
|
16220
|
+
},
|
|
16221
|
+
main: {
|
|
16222
|
+
...i.main,
|
|
16223
|
+
title: { ...i.main.title, section: r ? i.main.title.home : i.main.title.section }
|
|
16224
|
+
}
|
|
16225
|
+
};
|
|
16222
16226
|
return /* @__PURE__ */ n(
|
|
16223
16227
|
Yt,
|
|
16224
16228
|
{
|