sass-template-common 0.9.238 → 0.9.239
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 s, Fragment as $, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import * as fs from "react";
|
|
3
|
-
import ue, { useState as z, useRef as pa, useCallback as de, useEffect as Be, createElement as Ve, forwardRef as ga, Fragment as Rn, useMemo as Ct, Component as
|
|
3
|
+
import ue, { useState as z, useRef as pa, useCallback as de, useEffect as Be, createElement as Ve, forwardRef as ga, Fragment as Rn, useMemo as Ct, Component as Ir } from "react";
|
|
4
4
|
let Pn = {
|
|
5
5
|
PUBLIC_API_HOST: "",
|
|
6
6
|
PUBLIC_API_FRONT: "",
|
|
@@ -83,7 +83,7 @@ function vm(e = {}) {
|
|
|
83
83
|
function R() {
|
|
84
84
|
return Pn;
|
|
85
85
|
}
|
|
86
|
-
const
|
|
86
|
+
const kr = () => {
|
|
87
87
|
const { ANALYTICS_comscore: e } = R();
|
|
88
88
|
return e && /* @__PURE__ */ s(
|
|
89
89
|
"script",
|
|
@@ -105,17 +105,17 @@ function wa() {
|
|
|
105
105
|
e.exports = a();
|
|
106
106
|
})(Ur, (function() {
|
|
107
107
|
var n = 1e3, a = 6e4, r = 36e5, o = "millisecond", i = "second", l = "minute", c = "hour", d = "day", u = "week", h = "month", m = "quarter", w = "year", f = "date", g = "Invalid Date", b = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, C = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(O) {
|
|
108
|
-
var
|
|
109
|
-
return "[" + O + (
|
|
110
|
-
} }, N = function(O,
|
|
108
|
+
var k = ["th", "st", "nd", "rd"], U = O % 100;
|
|
109
|
+
return "[" + O + (k[(U - 20) % 10] || k[U] || k[0]) + "]";
|
|
110
|
+
} }, N = function(O, k, U) {
|
|
111
111
|
var G = String(O);
|
|
112
|
-
return !G || G.length >=
|
|
112
|
+
return !G || G.length >= k ? O : "" + Array(k + 1 - G.length).join(U) + O;
|
|
113
113
|
}, v = { s: N, z: function(O) {
|
|
114
|
-
var
|
|
115
|
-
return (
|
|
116
|
-
}, m: function O(
|
|
117
|
-
if (
|
|
118
|
-
var G = 12 * (U.year() -
|
|
114
|
+
var k = -O.utcOffset(), U = Math.abs(k), G = Math.floor(U / 60), B = U % 60;
|
|
115
|
+
return (k <= 0 ? "+" : "-") + N(G, 2, "0") + ":" + N(B, 2, "0");
|
|
116
|
+
}, m: function O(k, U) {
|
|
117
|
+
if (k.date() < U.date()) return -O(U, k);
|
|
118
|
+
var G = 12 * (U.year() - k.year()) + (U.month() - k.month()), B = k.clone().add(G, h), Y = U - B < 0, x = k.clone().add(G + (Y ? -1 : 1), h);
|
|
119
119
|
return +(-(G + (U - B) / (Y ? B - x : x - B)) || 0);
|
|
120
120
|
}, a: function(O) {
|
|
121
121
|
return O < 0 ? Math.ceil(O) || 0 : Math.floor(O);
|
|
@@ -125,35 +125,35 @@ function wa() {
|
|
|
125
125
|
return O === void 0;
|
|
126
126
|
} }, y = "en", S = {};
|
|
127
127
|
S[y] = C;
|
|
128
|
-
var
|
|
129
|
-
return O instanceof H || !(!O || !O[
|
|
130
|
-
}, D = function O(
|
|
128
|
+
var I = "$isDayjsObject", L = function(O) {
|
|
129
|
+
return O instanceof H || !(!O || !O[I]);
|
|
130
|
+
}, D = function O(k, U, G) {
|
|
131
131
|
var B;
|
|
132
|
-
if (!
|
|
133
|
-
if (typeof
|
|
134
|
-
var Y =
|
|
132
|
+
if (!k) return y;
|
|
133
|
+
if (typeof k == "string") {
|
|
134
|
+
var Y = k.toLowerCase();
|
|
135
135
|
S[Y] && (B = Y), U && (S[Y] = U, B = Y);
|
|
136
|
-
var x =
|
|
136
|
+
var x = k.split("-");
|
|
137
137
|
if (!B && x.length > 1) return O(x[0]);
|
|
138
138
|
} else {
|
|
139
|
-
var T =
|
|
140
|
-
S[T] =
|
|
139
|
+
var T = k.name;
|
|
140
|
+
S[T] = k, B = T;
|
|
141
141
|
}
|
|
142
142
|
return !G && B && (y = B), B || !G && y;
|
|
143
|
-
}, j = function(O,
|
|
143
|
+
}, j = function(O, k) {
|
|
144
144
|
if (L(O)) return O.clone();
|
|
145
|
-
var U = typeof
|
|
145
|
+
var U = typeof k == "object" ? k : {};
|
|
146
146
|
return U.date = O, U.args = arguments, new H(U);
|
|
147
147
|
}, P = v;
|
|
148
|
-
P.l = D, P.i = L, P.w = function(O,
|
|
149
|
-
return j(O, { locale:
|
|
148
|
+
P.l = D, P.i = L, P.w = function(O, k) {
|
|
149
|
+
return j(O, { locale: k.$L, utc: k.$u, x: k.$x, $offset: k.$offset });
|
|
150
150
|
};
|
|
151
151
|
var H = (function() {
|
|
152
152
|
function O(U) {
|
|
153
|
-
this.$L = D(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[
|
|
153
|
+
this.$L = D(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[I] = !0;
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
return
|
|
155
|
+
var k = O.prototype;
|
|
156
|
+
return k.parse = function(U) {
|
|
157
157
|
this.$d = (function(G) {
|
|
158
158
|
var B = G.date, Y = G.utc;
|
|
159
159
|
if (B === null) return /* @__PURE__ */ new Date(NaN);
|
|
@@ -168,27 +168,27 @@ function wa() {
|
|
|
168
168
|
}
|
|
169
169
|
return new Date(B);
|
|
170
170
|
})(U), this.init();
|
|
171
|
-
},
|
|
171
|
+
}, k.init = function() {
|
|
172
172
|
var U = this.$d;
|
|
173
173
|
this.$y = U.getFullYear(), this.$M = U.getMonth(), this.$D = U.getDate(), this.$W = U.getDay(), this.$H = U.getHours(), this.$m = U.getMinutes(), this.$s = U.getSeconds(), this.$ms = U.getMilliseconds();
|
|
174
|
-
},
|
|
174
|
+
}, k.$utils = function() {
|
|
175
175
|
return P;
|
|
176
|
-
},
|
|
176
|
+
}, k.isValid = function() {
|
|
177
177
|
return this.$d.toString() !== g;
|
|
178
|
-
},
|
|
178
|
+
}, k.isSame = function(U, G) {
|
|
179
179
|
var B = j(U);
|
|
180
180
|
return this.startOf(G) <= B && B <= this.endOf(G);
|
|
181
|
-
},
|
|
181
|
+
}, k.isAfter = function(U, G) {
|
|
182
182
|
return j(U) < this.startOf(G);
|
|
183
|
-
},
|
|
183
|
+
}, k.isBefore = function(U, G) {
|
|
184
184
|
return this.endOf(G) < j(U);
|
|
185
|
-
},
|
|
185
|
+
}, k.$g = function(U, G, B) {
|
|
186
186
|
return P.u(U) ? this[G] : this.set(B, U);
|
|
187
|
-
},
|
|
187
|
+
}, k.unix = function() {
|
|
188
188
|
return Math.floor(this.valueOf() / 1e3);
|
|
189
|
-
},
|
|
189
|
+
}, k.valueOf = function() {
|
|
190
190
|
return this.$d.getTime();
|
|
191
|
-
},
|
|
191
|
+
}, k.startOf = function(U, G) {
|
|
192
192
|
var B = this, Y = !!P.u(G) || G, x = P.p(U), T = function(se, X) {
|
|
193
193
|
var ce = P.w(B.$u ? Date.UTC(B.$y, X, se) : new Date(B.$y, X, se), B);
|
|
194
194
|
return Y ? ce : ce.endOf(d);
|
|
@@ -215,20 +215,20 @@ function wa() {
|
|
|
215
215
|
default:
|
|
216
216
|
return this.clone();
|
|
217
217
|
}
|
|
218
|
-
},
|
|
218
|
+
}, k.endOf = function(U) {
|
|
219
219
|
return this.startOf(U, !1);
|
|
220
|
-
},
|
|
220
|
+
}, k.$set = function(U, G) {
|
|
221
221
|
var B, Y = P.p(U), x = "set" + (this.$u ? "UTC" : ""), T = (B = {}, B[d] = x + "Date", B[f] = x + "Date", B[h] = x + "Month", B[w] = x + "FullYear", B[c] = x + "Hours", B[l] = x + "Minutes", B[i] = x + "Seconds", B[o] = x + "Milliseconds", B)[Y], _ = Y === d ? this.$D + (G - this.$W) : G;
|
|
222
222
|
if (Y === h || Y === w) {
|
|
223
223
|
var V = this.clone().set(f, 1);
|
|
224
224
|
V.$d[T](_), V.init(), this.$d = V.set(f, Math.min(this.$D, V.daysInMonth())).$d;
|
|
225
225
|
} else T && this.$d[T](_);
|
|
226
226
|
return this.init(), this;
|
|
227
|
-
},
|
|
227
|
+
}, k.set = function(U, G) {
|
|
228
228
|
return this.clone().$set(U, G);
|
|
229
|
-
},
|
|
229
|
+
}, k.get = function(U) {
|
|
230
230
|
return this[P.p(U)]();
|
|
231
|
-
},
|
|
231
|
+
}, k.add = function(U, G) {
|
|
232
232
|
var B, Y = this;
|
|
233
233
|
U = Number(U);
|
|
234
234
|
var x = P.p(G), T = function(F) {
|
|
@@ -241,9 +241,9 @@ function wa() {
|
|
|
241
241
|
if (x === u) return T(7);
|
|
242
242
|
var _ = (B = {}, B[l] = a, B[c] = r, B[i] = n, B)[x] || 1, V = this.$d.getTime() + U * _;
|
|
243
243
|
return P.w(V, this);
|
|
244
|
-
},
|
|
244
|
+
}, k.subtract = function(U, G) {
|
|
245
245
|
return this.add(-1 * U, G);
|
|
246
|
-
},
|
|
246
|
+
}, k.format = function(U) {
|
|
247
247
|
var G = this, B = this.$locale();
|
|
248
248
|
if (!this.isValid()) return B.invalidDate || g;
|
|
249
249
|
var Y = U || "YYYY-MM-DDTHH:mm:ssZ", x = P.z(this), T = this.$H, _ = this.$m, V = this.$M, F = B.weekdays, W = B.months, K = B.meridiem, J = function(X, ce, q, Ae) {
|
|
@@ -309,9 +309,9 @@ function wa() {
|
|
|
309
309
|
return null;
|
|
310
310
|
})(X) || x.replace(":", "");
|
|
311
311
|
}));
|
|
312
|
-
},
|
|
312
|
+
}, k.utcOffset = function() {
|
|
313
313
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
314
|
-
},
|
|
314
|
+
}, k.diff = function(U, G, B) {
|
|
315
315
|
var Y, x = this, T = P.p(G), _ = j(U), V = (_.utcOffset() - this.utcOffset()) * a, F = this - _, W = function() {
|
|
316
316
|
return P.m(x, _);
|
|
317
317
|
};
|
|
@@ -344,32 +344,32 @@ function wa() {
|
|
|
344
344
|
Y = F;
|
|
345
345
|
}
|
|
346
346
|
return B ? Y : P.a(Y);
|
|
347
|
-
},
|
|
347
|
+
}, k.daysInMonth = function() {
|
|
348
348
|
return this.endOf(h).$D;
|
|
349
|
-
},
|
|
349
|
+
}, k.$locale = function() {
|
|
350
350
|
return S[this.$L];
|
|
351
|
-
},
|
|
351
|
+
}, k.locale = function(U, G) {
|
|
352
352
|
if (!U) return this.$L;
|
|
353
353
|
var B = this.clone(), Y = D(U, G, !0);
|
|
354
354
|
return Y && (B.$L = Y), B;
|
|
355
|
-
},
|
|
355
|
+
}, k.clone = function() {
|
|
356
356
|
return P.w(this.$d, this);
|
|
357
|
-
},
|
|
357
|
+
}, k.toDate = function() {
|
|
358
358
|
return new Date(this.valueOf());
|
|
359
|
-
},
|
|
359
|
+
}, k.toJSON = function() {
|
|
360
360
|
return this.isValid() ? this.toISOString() : null;
|
|
361
|
-
},
|
|
361
|
+
}, k.toISOString = function() {
|
|
362
362
|
return this.$d.toISOString();
|
|
363
|
-
},
|
|
363
|
+
}, k.toString = function() {
|
|
364
364
|
return this.$d.toUTCString();
|
|
365
365
|
}, O;
|
|
366
366
|
})(), Q = H.prototype;
|
|
367
367
|
return j.prototype = Q, [["$ms", o], ["$s", i], ["$m", l], ["$H", c], ["$W", d], ["$M", h], ["$y", w], ["$D", f]].forEach((function(O) {
|
|
368
|
-
Q[O[1]] = function(
|
|
369
|
-
return this.$g(
|
|
368
|
+
Q[O[1]] = function(k) {
|
|
369
|
+
return this.$g(k, O[0], O[1]);
|
|
370
370
|
};
|
|
371
|
-
})), j.extend = function(O,
|
|
372
|
-
return O.$i || (O(
|
|
371
|
+
})), j.extend = function(O, k) {
|
|
372
|
+
return O.$i || (O(k, H, j), O.$i = !0), j;
|
|
373
373
|
}, j.locale = D, j.isDayjs = L, j.unix = function(O) {
|
|
374
374
|
return j(1e3 * O);
|
|
375
375
|
}, j.en = S[y], j.Ls = S, j.p = {}, j;
|
|
@@ -397,8 +397,8 @@ function Pr() {
|
|
|
397
397
|
var S = (n.rounding || Math.round)(Math.abs(f));
|
|
398
398
|
if (b = f > 0, S <= y.r || !y.r) {
|
|
399
399
|
S <= 1 && v > 0 && (y = C[v - 1]);
|
|
400
|
-
var
|
|
401
|
-
w && (S = w("" + S)), g = typeof
|
|
400
|
+
var I = A[y.l];
|
|
401
|
+
w && (S = w("" + S)), g = typeof I == "string" ? I.replace("%d", S) : I(S, u, y.l, b);
|
|
402
402
|
break;
|
|
403
403
|
}
|
|
404
404
|
}
|
|
@@ -478,7 +478,7 @@ function Dr() {
|
|
|
478
478
|
y === void 0 && (y = "");
|
|
479
479
|
var S = y.match(a);
|
|
480
480
|
if (!S) return null;
|
|
481
|
-
var
|
|
481
|
+
var I = ("" + S[0]).match(r) || ["-", 0, 0], L = I[0], D = 60 * +I[1] + +I[2];
|
|
482
482
|
return D === 0 ? 0 : L === "+" ? D : -D;
|
|
483
483
|
})(g), g === null)) return this;
|
|
484
484
|
var C = Math.abs(g) <= 16 ? 60 * g : g;
|
|
@@ -539,8 +539,8 @@ function Hr() {
|
|
|
539
539
|
var A = f[b], C = A.type, N = A.value, v = n[C];
|
|
540
540
|
v >= 0 && (g[v] = parseInt(N, 10));
|
|
541
541
|
}
|
|
542
|
-
var y = g[3], S = y === 24 ? 0 : y,
|
|
543
|
-
return (i.utc(
|
|
542
|
+
var y = g[3], S = y === 24 ? 0 : y, I = g[0] + "-" + g[1] + "-" + g[2] + " " + S + ":" + g[4] + ":" + g[5] + ":000", L = +m;
|
|
543
|
+
return (i.utc(I).valueOf() - (L -= L % 1e3)) / 6e4;
|
|
544
544
|
}, u = o.prototype;
|
|
545
545
|
u.tz = function(m, w) {
|
|
546
546
|
m === void 0 && (m = l);
|
|
@@ -565,10 +565,10 @@ function Hr() {
|
|
|
565
565
|
}, i.tz = function(m, w, f) {
|
|
566
566
|
var g = f && w, b = f || w || l, A = d(+i(), b);
|
|
567
567
|
if (typeof m != "string") return i(m).tz(b);
|
|
568
|
-
var C = (function(S,
|
|
569
|
-
var D = S - 60 *
|
|
570
|
-
if (
|
|
571
|
-
var P = d(D -= 60 * (j -
|
|
568
|
+
var C = (function(S, I, L) {
|
|
569
|
+
var D = S - 60 * I * 1e3, j = d(D, L);
|
|
570
|
+
if (I === j) return [D, I];
|
|
571
|
+
var P = d(D -= 60 * (j - I) * 1e3, L);
|
|
572
572
|
return j === P ? [D, j] : [S - 60 * Math.min(j, P) * 1e3, Math.max(j, P)];
|
|
573
573
|
})(i.utc(m, g).valueOf(), A, b), N = C[0], v = C[1], y = i(N).utcOffset(v);
|
|
574
574
|
return y.$x.$timezone = b, y;
|
|
@@ -1085,7 +1085,7 @@ async function lo({
|
|
|
1085
1085
|
), c = await Promise.allSettled(l), d = c.map((f) => f.status === "fulfilled" && f.value?.data?.data ? f.value.data.data : []), u = d.flat(), m = (d[d.length - 1] ?? []).length === o, w = c[0]?.status === "fulfilled" ? c[0].value : void 0;
|
|
1086
1086
|
return { data: u, hasNextPage: m, firstBatchResponse: w };
|
|
1087
1087
|
}
|
|
1088
|
-
const $e = [], We = [], vs = () => !!R().DEBUG_ENABLED,
|
|
1088
|
+
const $e = [], We = [], vs = () => !!R().DEBUG_ENABLED, ke = {
|
|
1089
1089
|
add(e) {
|
|
1090
1090
|
vs() && ($e.push({
|
|
1091
1091
|
id: `${Date.now()}-${$e.length}`,
|
|
@@ -1274,7 +1274,7 @@ const fo = () => {
|
|
|
1274
1274
|
]
|
|
1275
1275
|
}
|
|
1276
1276
|
};
|
|
1277
|
-
},
|
|
1277
|
+
}, Im = (e) => {
|
|
1278
1278
|
let t = "";
|
|
1279
1279
|
if (e.params.news.match(/.*t[0-9]*.html/g)) {
|
|
1280
1280
|
const n = e.params.news.split("-"), a = n[n.length - 1] ?? "", r = a.substring(1, 9), o = a.substring(9, 13);
|
|
@@ -1292,7 +1292,7 @@ const fo = () => {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
return e.config.servicePrefix + t;
|
|
1294
1294
|
};
|
|
1295
|
-
function
|
|
1295
|
+
function km(e) {
|
|
1296
1296
|
const t = e.lastIndexOf("-"), n = t >= 0 ? [e.slice(0, t), e.slice(t + 1)] : [e], a = n[n.length - 1]?.split("."), r = a && a[0] ? a[0] : "", o = r.substring(0, 2), i = r.substring(2, 10), l = r.substring(10);
|
|
1297
1297
|
return { path: {
|
|
1298
1298
|
vy: (d) => `/videos/video-youtube/${ye(i).format(
|
|
@@ -1704,7 +1704,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
1704
1704
|
Common: xo,
|
|
1705
1705
|
Nota: So,
|
|
1706
1706
|
NotaLista: Eo
|
|
1707
|
-
},
|
|
1707
|
+
}, Io = ({ active: e, type: t, customSpeculation: n }) => {
|
|
1708
1708
|
const a = n || To[t];
|
|
1709
1709
|
return e && /* @__PURE__ */ s(
|
|
1710
1710
|
"script",
|
|
@@ -1720,7 +1720,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
1720
1720
|
return n.get(`/schemas${t}`, { params: e }).catch((a) => {
|
|
1721
1721
|
console.log(`[/schemas${t}] Error: ${a.message}`);
|
|
1722
1722
|
});
|
|
1723
|
-
},
|
|
1723
|
+
}, ko = (e, t) => {
|
|
1724
1724
|
if (typeof e == "string") return At(e, t);
|
|
1725
1725
|
if (e && typeof e == "object") {
|
|
1726
1726
|
const n = { ...e };
|
|
@@ -1741,7 +1741,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
1741
1741
|
itemListElement: o.map((l, c) => {
|
|
1742
1742
|
if (!l || typeof l != "object") return l;
|
|
1743
1743
|
const d = { ...l };
|
|
1744
|
-
return "item" in d && (d.item =
|
|
1744
|
+
return "item" in d && (d.item = ko(d.item, t)), typeof d.url == "string" && (d.url = At(d.url, t)), i && (d.position = c + 1), d;
|
|
1745
1745
|
})
|
|
1746
1746
|
};
|
|
1747
1747
|
}
|
|
@@ -2346,16 +2346,16 @@ function Sa(e, t) {
|
|
|
2346
2346
|
const { toString: Wo } = Object.prototype, { getPrototypeOf: Wn } = Object, { iterator: sn, toStringTag: Ea } = Symbol, an = /* @__PURE__ */ ((e) => (t) => {
|
|
2347
2347
|
const n = Wo.call(t);
|
|
2348
2348
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
2349
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
2349
|
+
})(/* @__PURE__ */ Object.create(null)), Ie = (e) => (e = e.toLowerCase(), (t) => an(t) === e), rn = (e) => (t) => typeof t === e, { isArray: mt } = Array, lt = rn("undefined");
|
|
2350
2350
|
function St(e) {
|
|
2351
2351
|
return e !== null && !lt(e) && e.constructor !== null && !lt(e.constructor) && ve(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2352
2352
|
}
|
|
2353
|
-
const Ta =
|
|
2353
|
+
const Ta = Ie("ArrayBuffer");
|
|
2354
2354
|
function Yo(e) {
|
|
2355
2355
|
let t;
|
|
2356
2356
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ta(e.buffer), t;
|
|
2357
2357
|
}
|
|
2358
|
-
const Ko = rn("string"), ve = rn("function"),
|
|
2358
|
+
const Ko = rn("string"), ve = rn("function"), Ia = rn("number"), Et = (e) => e !== null && typeof e == "object", Jo = (e) => e === !0 || e === !1, zt = (e) => {
|
|
2359
2359
|
if (an(e) !== "object")
|
|
2360
2360
|
return !1;
|
|
2361
2361
|
const t = Wn(e);
|
|
@@ -2368,11 +2368,11 @@ const Ko = rn("string"), ve = rn("function"), ka = rn("number"), Et = (e) => e !
|
|
|
2368
2368
|
} catch {
|
|
2369
2369
|
return !1;
|
|
2370
2370
|
}
|
|
2371
|
-
}, Xo =
|
|
2371
|
+
}, Xo = Ie("Date"), ei = Ie("File"), ti = Ie("Blob"), ni = Ie("FileList"), si = (e) => Et(e) && ve(e.pipe), ai = (e) => {
|
|
2372
2372
|
let t;
|
|
2373
2373
|
return e && (typeof FormData == "function" && e instanceof FormData || ve(e.append) && ((t = an(e)) === "formdata" || // detect form-data instance
|
|
2374
2374
|
t === "object" && ve(e.toString) && e.toString() === "[object FormData]"));
|
|
2375
|
-
}, ri =
|
|
2375
|
+
}, ri = Ie("URLSearchParams"), [oi, ii, li, ci] = ["ReadableStream", "Request", "Response", "Headers"].map(Ie), di = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
2376
2376
|
function Tt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
2377
2377
|
if (e === null || typeof e > "u")
|
|
2378
2378
|
return;
|
|
@@ -2389,7 +2389,7 @@ function Tt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
2389
2389
|
l = o[a], t.call(null, e[l], l, e);
|
|
2390
2390
|
}
|
|
2391
2391
|
}
|
|
2392
|
-
function
|
|
2392
|
+
function ka(e, t) {
|
|
2393
2393
|
if (St(e))
|
|
2394
2394
|
return null;
|
|
2395
2395
|
t = t.toLowerCase();
|
|
@@ -2403,7 +2403,7 @@ function Ia(e, t) {
|
|
|
2403
2403
|
const Ye = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ua = (e) => !lt(e) && e !== Ye;
|
|
2404
2404
|
function Bn() {
|
|
2405
2405
|
const { caseless: e, skipUndefined: t } = Ua(this) && this || {}, n = {}, a = (r, o) => {
|
|
2406
|
-
const i = e &&
|
|
2406
|
+
const i = e && ka(n, o) || o;
|
|
2407
2407
|
zt(n[i]) && zt(r) ? n[i] = Bn(n[i], r) : zt(r) ? n[i] = Bn({}, r) : mt(r) ? n[i] = r.slice() : (!t || !lt(r)) && (n[i] = r);
|
|
2408
2408
|
};
|
|
2409
2409
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
@@ -2434,7 +2434,7 @@ const ui = (e, t, n, { allOwnKeys: a } = {}) => (Tt(t, (r, o) => {
|
|
|
2434
2434
|
if (!e) return null;
|
|
2435
2435
|
if (mt(e)) return e;
|
|
2436
2436
|
let t = e.length;
|
|
2437
|
-
if (!
|
|
2437
|
+
if (!Ia(t)) return null;
|
|
2438
2438
|
const n = new Array(t);
|
|
2439
2439
|
for (; t-- > 0; )
|
|
2440
2440
|
n[t] = e[t];
|
|
@@ -2452,12 +2452,12 @@ const ui = (e, t, n, { allOwnKeys: a } = {}) => (Tt(t, (r, o) => {
|
|
|
2452
2452
|
for (; (n = e.exec(t)) !== null; )
|
|
2453
2453
|
a.push(n);
|
|
2454
2454
|
return a;
|
|
2455
|
-
}, yi =
|
|
2455
|
+
}, yi = Ie("HTMLFormElement"), Ci = (e) => e.toLowerCase().replace(
|
|
2456
2456
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
2457
2457
|
function(n, a, r) {
|
|
2458
2458
|
return a.toUpperCase() + r;
|
|
2459
2459
|
}
|
|
2460
|
-
), Ss = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), vi =
|
|
2460
|
+
), Ss = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), vi = Ie("RegExp"), La = (e, t) => {
|
|
2461
2461
|
const n = Object.getOwnPropertyDescriptors(e), a = {};
|
|
2462
2462
|
Tt(n, (r, o) => {
|
|
2463
2463
|
let i;
|
|
@@ -2490,7 +2490,7 @@ const ui = (e, t, n, { allOwnKeys: a } = {}) => (Tt(t, (r, o) => {
|
|
|
2490
2490
|
function Ti(e) {
|
|
2491
2491
|
return !!(e && ve(e.append) && e[Ea] === "FormData" && e[sn]);
|
|
2492
2492
|
}
|
|
2493
|
-
const
|
|
2493
|
+
const Ii = (e) => {
|
|
2494
2494
|
const t = new Array(10), n = (a, r) => {
|
|
2495
2495
|
if (Et(a)) {
|
|
2496
2496
|
if (t.indexOf(a) >= 0)
|
|
@@ -2509,7 +2509,7 @@ const ki = (e) => {
|
|
|
2509
2509
|
return a;
|
|
2510
2510
|
};
|
|
2511
2511
|
return n(e, 0);
|
|
2512
|
-
},
|
|
2512
|
+
}, ki = Ie("AsyncFunction"), Ui = (e) => e && (Et(e) || ve(e)) && ve(e.then) && ve(e.catch), Ra = ((e, t) => e ? setImmediate : t ? ((n, a) => (Ye.addEventListener("message", ({ source: r, data: o }) => {
|
|
2513
2513
|
r === Ye && o === n && a.length && a.shift()();
|
|
2514
2514
|
}, !1), (r) => {
|
|
2515
2515
|
a.push(r), Ye.postMessage(n, "*");
|
|
@@ -2523,7 +2523,7 @@ const ki = (e) => {
|
|
|
2523
2523
|
isFormData: ai,
|
|
2524
2524
|
isArrayBufferView: Yo,
|
|
2525
2525
|
isString: Ko,
|
|
2526
|
-
isNumber:
|
|
2526
|
+
isNumber: Ia,
|
|
2527
2527
|
isBoolean: Jo,
|
|
2528
2528
|
isObject: Et,
|
|
2529
2529
|
isPlainObject: zt,
|
|
@@ -2550,7 +2550,7 @@ const ki = (e) => {
|
|
|
2550
2550
|
inherits: hi,
|
|
2551
2551
|
toFlatObject: fi,
|
|
2552
2552
|
kindOf: an,
|
|
2553
|
-
kindOfTest:
|
|
2553
|
+
kindOfTest: Ie,
|
|
2554
2554
|
endsWith: pi,
|
|
2555
2555
|
toArray: gi,
|
|
2556
2556
|
forEachEntry: bi,
|
|
@@ -2565,12 +2565,12 @@ const ki = (e) => {
|
|
|
2565
2565
|
toCamelCase: Ci,
|
|
2566
2566
|
noop: Si,
|
|
2567
2567
|
toFiniteNumber: Ei,
|
|
2568
|
-
findKey:
|
|
2568
|
+
findKey: ka,
|
|
2569
2569
|
global: Ye,
|
|
2570
2570
|
isContextDefined: Ua,
|
|
2571
2571
|
isSpecCompliantForm: Ti,
|
|
2572
|
-
toJSONObject:
|
|
2573
|
-
isAsyncFn:
|
|
2572
|
+
toJSONObject: Ii,
|
|
2573
|
+
isAsyncFn: ki,
|
|
2574
2574
|
isThenable: Ui,
|
|
2575
2575
|
setImmediate: Ra,
|
|
2576
2576
|
asap: Li,
|
|
@@ -2756,7 +2756,7 @@ function _a(e, t, n) {
|
|
|
2756
2756
|
}
|
|
2757
2757
|
return e;
|
|
2758
2758
|
}
|
|
2759
|
-
class
|
|
2759
|
+
class Is {
|
|
2760
2760
|
constructor() {
|
|
2761
2761
|
this.handlers = [];
|
|
2762
2762
|
}
|
|
@@ -2879,7 +2879,7 @@ function Wi(e, t, n) {
|
|
|
2879
2879
|
}
|
|
2880
2880
|
return (n || JSON.stringify)(e);
|
|
2881
2881
|
}
|
|
2882
|
-
const
|
|
2882
|
+
const It = {
|
|
2883
2883
|
transitional: qa,
|
|
2884
2884
|
adapter: ["xhr", "http", "fetch"],
|
|
2885
2885
|
transformRequest: [function(t, n) {
|
|
@@ -2908,7 +2908,7 @@ const kt = {
|
|
|
2908
2908
|
return o || r ? (n.setContentType("application/json", !1), Wi(t)) : t;
|
|
2909
2909
|
}],
|
|
2910
2910
|
transformResponse: [function(t) {
|
|
2911
|
-
const n = this.transitional ||
|
|
2911
|
+
const n = this.transitional || It.transitional, a = n && n.forcedJSONParsing, r = this.responseType === "json";
|
|
2912
2912
|
if (E.isResponse(t) || E.isReadableStream(t))
|
|
2913
2913
|
return t;
|
|
2914
2914
|
if (t && E.isString(t) && (a && !this.responseType || r)) {
|
|
@@ -2946,7 +2946,7 @@ const kt = {
|
|
|
2946
2946
|
}
|
|
2947
2947
|
};
|
|
2948
2948
|
E.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
2949
|
-
|
|
2949
|
+
It.headers[e] = {};
|
|
2950
2950
|
});
|
|
2951
2951
|
const Yi = E.toObjectSet([
|
|
2952
2952
|
"age",
|
|
@@ -2973,7 +2973,7 @@ const Yi = E.toObjectSet([
|
|
|
2973
2973
|
`).forEach(function(i) {
|
|
2974
2974
|
r = i.indexOf(":"), n = i.substring(0, r).trim().toLowerCase(), a = i.substring(r + 1).trim(), !(!n || t[n] && Yi[n]) && (n === "set-cookie" ? t[n] ? t[n].push(a) : t[n] = [a] : t[n] = t[n] ? t[n] + ", " + a : a);
|
|
2975
2975
|
}), t;
|
|
2976
|
-
},
|
|
2976
|
+
}, ks = Symbol("internals");
|
|
2977
2977
|
function pt(e) {
|
|
2978
2978
|
return e && String(e).trim().toLowerCase();
|
|
2979
2979
|
}
|
|
@@ -3128,7 +3128,7 @@ let Ne = class {
|
|
|
3128
3128
|
return n.forEach((r) => a.set(r)), a;
|
|
3129
3129
|
}
|
|
3130
3130
|
static accessor(t) {
|
|
3131
|
-
const a = (this[
|
|
3131
|
+
const a = (this[ks] = this[ks] = {
|
|
3132
3132
|
accessors: {}
|
|
3133
3133
|
}).accessors, r = this.prototype;
|
|
3134
3134
|
function o(i) {
|
|
@@ -3150,7 +3150,7 @@ E.reduceDescriptors(Ne.prototype, ({ value: e }, t) => {
|
|
|
3150
3150
|
});
|
|
3151
3151
|
E.freezeMethods(Ne);
|
|
3152
3152
|
function yn(e, t) {
|
|
3153
|
-
const n = this ||
|
|
3153
|
+
const n = this || It, a = t || n, r = Ne.from(a.headers);
|
|
3154
3154
|
let o = a.data;
|
|
3155
3155
|
return E.forEach(e, function(l) {
|
|
3156
3156
|
o = l.call(n, o, r.normalize(), t ? t.status : void 0);
|
|
@@ -3385,10 +3385,10 @@ const Ha = (e) => {
|
|
|
3385
3385
|
config: e,
|
|
3386
3386
|
request: b
|
|
3387
3387
|
};
|
|
3388
|
-
Ga(function(
|
|
3389
|
-
n(
|
|
3390
|
-
}, function(
|
|
3391
|
-
a(
|
|
3388
|
+
Ga(function(I) {
|
|
3389
|
+
n(I), g();
|
|
3390
|
+
}, function(I) {
|
|
3391
|
+
a(I), g();
|
|
3392
3392
|
}, y), b = null;
|
|
3393
3393
|
}
|
|
3394
3394
|
"onloadend" in b ? b.onloadend = A : b.onreadystatechange = function() {
|
|
@@ -3567,19 +3567,19 @@ const Ha = (e) => {
|
|
|
3567
3567
|
timeout: v,
|
|
3568
3568
|
onDownloadProgress: y,
|
|
3569
3569
|
onUploadProgress: S,
|
|
3570
|
-
responseType:
|
|
3570
|
+
responseType: I,
|
|
3571
3571
|
headers: L,
|
|
3572
3572
|
withCredentials: D = "same-origin",
|
|
3573
3573
|
fetchOptions: j
|
|
3574
3574
|
} = Ha(f), P = t || fetch;
|
|
3575
|
-
|
|
3575
|
+
I = I ? (I + "").toLowerCase() : "text";
|
|
3576
3576
|
let H = dl([C, N && N.toAbortSignal()], v), Q = null;
|
|
3577
3577
|
const O = H && H.unsubscribe && (() => {
|
|
3578
3578
|
H.unsubscribe();
|
|
3579
3579
|
});
|
|
3580
|
-
let
|
|
3580
|
+
let k;
|
|
3581
3581
|
try {
|
|
3582
|
-
if (S && d && b !== "get" && b !== "head" && (
|
|
3582
|
+
if (S && d && b !== "get" && b !== "head" && (k = await w(L, A)) !== 0) {
|
|
3583
3583
|
let T = new n(g, {
|
|
3584
3584
|
method: "POST",
|
|
3585
3585
|
body: A,
|
|
@@ -3587,7 +3587,7 @@ const Ha = (e) => {
|
|
|
3587
3587
|
}), _;
|
|
3588
3588
|
if (E.isFormData(A) && (_ = T.headers.get("content-type")) && L.setContentType(_), T.body) {
|
|
3589
3589
|
const [V, F] = Us(
|
|
3590
|
-
|
|
3590
|
+
k,
|
|
3591
3591
|
Kt(Ls(S))
|
|
3592
3592
|
);
|
|
3593
3593
|
A = Ps(T.body, Os, V, F);
|
|
@@ -3605,7 +3605,7 @@ const Ha = (e) => {
|
|
|
3605
3605
|
};
|
|
3606
3606
|
Q = o && new n(g, G);
|
|
3607
3607
|
let B = await (o ? P(Q, j) : P(g, G));
|
|
3608
|
-
const Y = u && (
|
|
3608
|
+
const Y = u && (I === "stream" || I === "response");
|
|
3609
3609
|
if (u && (y || Y && O)) {
|
|
3610
3610
|
const T = {};
|
|
3611
3611
|
["status", "statusText", "headers"].forEach((W) => {
|
|
@@ -3622,8 +3622,8 @@ const Ha = (e) => {
|
|
|
3622
3622
|
T
|
|
3623
3623
|
);
|
|
3624
3624
|
}
|
|
3625
|
-
|
|
3626
|
-
let x = await h[E.findKey(h,
|
|
3625
|
+
I = I || "text";
|
|
3626
|
+
let x = await h[E.findKey(h, I) || "text"](B, f);
|
|
3627
3627
|
return !Y && O && O(), await new Promise((T, _) => {
|
|
3628
3628
|
Ga(T, _, {
|
|
3629
3629
|
data: x,
|
|
@@ -3721,7 +3721,7 @@ function Ds(e) {
|
|
|
3721
3721
|
return Cn(e), e.headers = Ne.from(e.headers), e.data = yn.call(
|
|
3722
3722
|
e,
|
|
3723
3723
|
e.transformRequest
|
|
3724
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), za.getAdapter(e.adapter ||
|
|
3724
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), za.getAdapter(e.adapter || It.adapter, e)(e).then(function(a) {
|
|
3725
3725
|
return Cn(e), a.data = yn.call(
|
|
3726
3726
|
e,
|
|
3727
3727
|
e.transformResponse,
|
|
@@ -3787,8 +3787,8 @@ const $t = {
|
|
|
3787
3787
|
let Je = class {
|
|
3788
3788
|
constructor(t) {
|
|
3789
3789
|
this.defaults = t || {}, this.interceptors = {
|
|
3790
|
-
request: new
|
|
3791
|
-
response: new
|
|
3790
|
+
request: new Is(),
|
|
3791
|
+
response: new Is()
|
|
3792
3792
|
};
|
|
3793
3793
|
}
|
|
3794
3794
|
/**
|
|
@@ -4069,7 +4069,7 @@ function Wa(e) {
|
|
|
4069
4069
|
return Wa(tt(e, r));
|
|
4070
4070
|
}, n;
|
|
4071
4071
|
}
|
|
4072
|
-
const re = Wa(
|
|
4072
|
+
const re = Wa(It);
|
|
4073
4073
|
re.Axios = Je;
|
|
4074
4074
|
re.CanceledError = ht;
|
|
4075
4075
|
re.CancelToken = yl;
|
|
@@ -4114,8 +4114,8 @@ function xl(e) {
|
|
|
4114
4114
|
return Nl[n] ?? n;
|
|
4115
4115
|
}
|
|
4116
4116
|
function Gs(e, t, n, a) {
|
|
4117
|
-
const
|
|
4118
|
-
return `${e.url.replace(/\/+$/, "")}/${e.clientName}/${
|
|
4117
|
+
const o = (t ?? "").replace(/^\/+|\/+$/g, "") || e.forceSite || e.clientName;
|
|
4118
|
+
return `${e.url.replace(/\/+$/, "")}/${e.clientName}/${o}/${n}/${a}/${a}.json`;
|
|
4119
4119
|
}
|
|
4120
4120
|
class He {
|
|
4121
4121
|
constructor(t) {
|
|
@@ -4568,7 +4568,7 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4568
4568
|
let A, C;
|
|
4569
4569
|
if (c) {
|
|
4570
4570
|
const S = await lo({
|
|
4571
|
-
fetchFn: (
|
|
4571
|
+
fetchFn: (I) => b.getNewsListSection(I),
|
|
4572
4572
|
baseParams: {
|
|
4573
4573
|
section: r,
|
|
4574
4574
|
newstype: n.newsType,
|
|
@@ -4916,12 +4916,12 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4916
4916
|
return console.error(f), fe(t);
|
|
4917
4917
|
}
|
|
4918
4918
|
}
|
|
4919
|
-
},
|
|
4919
|
+
}, Il = (e) => e ? e.replace(/<[^>]*>/g, "").replace(/ /gi, " ").replace(/&/gi, "&").replace(/"/gi, '"').replace(/'/gi, "'").replace(/\s+/g, " ").trim() : "", kl = ({
|
|
4920
4920
|
autor: e,
|
|
4921
4921
|
listAutor: t,
|
|
4922
4922
|
config: n
|
|
4923
4923
|
}) => {
|
|
4924
|
-
const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: o, PUBLIC_LNG: i } = R(), l = i === "en", c = r, d = a?.info?.date?.modified ? Xe(a.info.date.modified, c) : void 0, u = e.addtional?.USER_JOBSTART ? Xe(e.addtional.USER_JOBSTART, c) : void 0, h = o && o !== "false" ? o : "", m = e.addtional, w = m?.USER_USERFB || m?.USER_PAGE_FACEBOOK || m?.USER_FACEBOOK_FAN_PAGE, f = m?.USER_USERTWT || m?.USER_PAGE_TWITTER, g = m?.USER_USERIG || m?.USER_PAGE_INSTAGRAM, b = m?.USER_USERLIN || m?.USER_PAGE_LINKEDIN, A = m?.USER_PAGE_TIKTOK, C = m?.USER_PAGE_YOUTUBE, N = m?.USER_PAGE_PINTEREST, v = l ? m?.USER_POSITION_EN || "" : m?.USER_JOBTITLE || m?.USER_POSITION || "", y = l ? m?.USER_DESCRIPCION_EN || m?.USER_MIBIO_EN || "" : m?.USER_DESCRIPCION || m?.USER_MIBIO || "", S = e?.addtional?.USER_SHOWEMAIL === !0 || m?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE",
|
|
4924
|
+
const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: o, PUBLIC_LNG: i } = R(), l = i === "en", c = r, d = a?.info?.date?.modified ? Xe(a.info.date.modified, c) : void 0, u = e.addtional?.USER_JOBSTART ? Xe(e.addtional.USER_JOBSTART, c) : void 0, h = o && o !== "false" ? o : "", m = e.addtional, w = m?.USER_USERFB || m?.USER_PAGE_FACEBOOK || m?.USER_FACEBOOK_FAN_PAGE, f = m?.USER_USERTWT || m?.USER_PAGE_TWITTER, g = m?.USER_USERIG || m?.USER_PAGE_INSTAGRAM, b = m?.USER_USERLIN || m?.USER_PAGE_LINKEDIN, A = m?.USER_PAGE_TIKTOK, C = m?.USER_PAGE_YOUTUBE, N = m?.USER_PAGE_PINTEREST, v = l ? m?.USER_POSITION_EN || "" : m?.USER_JOBTITLE || m?.USER_POSITION || "", y = l ? m?.USER_DESCRIPCION_EN || m?.USER_MIBIO_EN || "" : m?.USER_DESCRIPCION || m?.USER_MIBIO || "", S = e?.addtional?.USER_SHOWEMAIL === !0 || m?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", I = me(), L = {
|
|
4925
4925
|
"@context": "https://schema.org",
|
|
4926
4926
|
"@type": "ProfilePage",
|
|
4927
4927
|
mainEntity: {
|
|
@@ -4929,7 +4929,7 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4929
4929
|
name: e.info.fullname ?? e.info.name,
|
|
4930
4930
|
alternateName: e.info.nickname ? e.info.nickname : e.info.name,
|
|
4931
4931
|
identifier: e.info.id,
|
|
4932
|
-
description:
|
|
4932
|
+
description: Il(y),
|
|
4933
4933
|
image: e.info.image ? e.info.image.sizes.map((D, j) => j === 0 && e.info.image.sizes.length !== 1 ? null : h + D.url).filter(Boolean) : [],
|
|
4934
4934
|
sameAs: [
|
|
4935
4935
|
w,
|
|
@@ -4941,7 +4941,7 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4941
4941
|
N
|
|
4942
4942
|
].filter(Boolean),
|
|
4943
4943
|
jobTitle: v,
|
|
4944
|
-
url: n.siteUrl +
|
|
4944
|
+
url: n.siteUrl + I + (n.paths.autor !== "" ? `/${n.paths.autor}/` : "/") + e.info.name
|
|
4945
4945
|
}
|
|
4946
4946
|
};
|
|
4947
4947
|
return u && (L.dateCreated = u), d && (L.dateModified = d), S && (L.mainEntity.email = e.info.email), /* @__PURE__ */ s("script", { type: "application/ld+json", children: JSON.stringify(De(L)) });
|
|
@@ -5453,7 +5453,7 @@ async function ih({
|
|
|
5453
5453
|
custom_Speculation: v,
|
|
5454
5454
|
custom_metadata: y,
|
|
5455
5455
|
custom_scriptReplaces: S,
|
|
5456
|
-
head_custom_elements:
|
|
5456
|
+
head_custom_elements: I,
|
|
5457
5457
|
schemasCustomEndpoints: L
|
|
5458
5458
|
}) {
|
|
5459
5459
|
const D = { ..._l, ...t }, j = w && w[0] && w[0].preview ? w[0] : void 0, P = me(), H = y || await Tl[r]({
|
|
@@ -5508,9 +5508,9 @@ async function ih({
|
|
|
5508
5508
|
D.preloadImages && N && /* @__PURE__ */ s(
|
|
5509
5509
|
Ns,
|
|
5510
5510
|
{
|
|
5511
|
-
images: N.map((
|
|
5512
|
-
...
|
|
5513
|
-
href: Ke() + Zr(
|
|
5511
|
+
images: N.map((k) => ({
|
|
5512
|
+
...k,
|
|
5513
|
+
href: Ke() + Zr(k.href)
|
|
5514
5514
|
}))
|
|
5515
5515
|
}
|
|
5516
5516
|
),
|
|
@@ -5536,7 +5536,7 @@ async function ih({
|
|
|
5536
5536
|
config: b
|
|
5537
5537
|
}
|
|
5538
5538
|
),
|
|
5539
|
-
D.schemas_Autor && d && /* @__PURE__ */ s(
|
|
5539
|
+
D.schemas_Autor && d && /* @__PURE__ */ s(kl, { autor: d, listAutor: u, config: b }),
|
|
5540
5540
|
D.schemas_ItemList && /* @__PURE__ */ s(
|
|
5541
5541
|
Lo,
|
|
5542
5542
|
{
|
|
@@ -5548,7 +5548,7 @@ async function ih({
|
|
|
5548
5548
|
),
|
|
5549
5549
|
D.schemas_WebsiteList && /* @__PURE__ */ s(_o, { config: b }),
|
|
5550
5550
|
C && /* @__PURE__ */ s(
|
|
5551
|
-
|
|
5551
|
+
Io,
|
|
5552
5552
|
{
|
|
5553
5553
|
type: C,
|
|
5554
5554
|
active: b.useSpeculationRules,
|
|
@@ -5578,7 +5578,7 @@ async function ih({
|
|
|
5578
5578
|
banners: m
|
|
5579
5579
|
}
|
|
5580
5580
|
),
|
|
5581
|
-
|
|
5581
|
+
I
|
|
5582
5582
|
] });
|
|
5583
5583
|
}
|
|
5584
5584
|
const lh = ({
|
|
@@ -5605,7 +5605,7 @@ const lh = ({
|
|
|
5605
5605
|
/* @__PURE__ */ s(Ca, { name: "bodybefore", banners: n, replaces: b }),
|
|
5606
5606
|
e,
|
|
5607
5607
|
/* @__PURE__ */ s(vo, {}),
|
|
5608
|
-
/* @__PURE__ */ s(
|
|
5608
|
+
/* @__PURE__ */ s(kr, {}),
|
|
5609
5609
|
/* @__PURE__ */ s(
|
|
5610
5610
|
yo,
|
|
5611
5611
|
{
|
|
@@ -5709,7 +5709,7 @@ function Dl({
|
|
|
5709
5709
|
Q(x.clientX);
|
|
5710
5710
|
},
|
|
5711
5711
|
[Q]
|
|
5712
|
-
),
|
|
5712
|
+
), k = de(
|
|
5713
5713
|
(x) => {
|
|
5714
5714
|
if (!l || !o) return;
|
|
5715
5715
|
const T = h - d, _ = Date.now() - g, V = Math.abs(T) / Math.max(_, 1), F = P(T), K = V > 0.5 && Math.abs(T) > 50 ? Math.max(F, 1) : F;
|
|
@@ -5721,7 +5721,7 @@ function Dl({
|
|
|
5721
5721
|
const J = Math.min(L, e + K);
|
|
5722
5722
|
i(J);
|
|
5723
5723
|
}
|
|
5724
|
-
c(!1), f(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", O), document.removeEventListener("mouseup",
|
|
5724
|
+
c(!1), f(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", k), x.clientX === d && A?.dispatchEvent(new PointerEvent("click"));
|
|
5725
5725
|
},
|
|
5726
5726
|
[
|
|
5727
5727
|
l,
|
|
@@ -5753,19 +5753,19 @@ function Dl({
|
|
|
5753
5753
|
[l, Q]
|
|
5754
5754
|
), Y = de(
|
|
5755
5755
|
(x) => {
|
|
5756
|
-
|
|
5756
|
+
k(x);
|
|
5757
5757
|
},
|
|
5758
|
-
[
|
|
5758
|
+
[k]
|
|
5759
5759
|
);
|
|
5760
5760
|
return Be(() => {
|
|
5761
5761
|
if (l)
|
|
5762
|
-
return N.current?.addEventListener("mousemove", O), N.current?.addEventListener("mouseup",
|
|
5762
|
+
return N.current?.addEventListener("mousemove", O), N.current?.addEventListener("mouseup", k), () => {
|
|
5763
5763
|
N.current?.removeEventListener(
|
|
5764
5764
|
"mousemove",
|
|
5765
5765
|
O
|
|
5766
|
-
), N.current?.removeEventListener("mouseup",
|
|
5766
|
+
), N.current?.removeEventListener("mouseup", k);
|
|
5767
5767
|
};
|
|
5768
|
-
}, [l, Q,
|
|
5768
|
+
}, [l, Q, k, O]), {
|
|
5769
5769
|
isDragging: l,
|
|
5770
5770
|
translateOffset: w,
|
|
5771
5771
|
carrouselRef: N,
|
|
@@ -5777,7 +5777,7 @@ function Dl({
|
|
|
5777
5777
|
onTouchStart: G,
|
|
5778
5778
|
onTouchMove: B,
|
|
5779
5779
|
onTouchEnd: Y,
|
|
5780
|
-
onMouseLeave:
|
|
5780
|
+
onMouseLeave: k
|
|
5781
5781
|
}
|
|
5782
5782
|
};
|
|
5783
5783
|
}
|
|
@@ -5821,7 +5821,7 @@ function dh(e) {
|
|
|
5821
5821
|
[A]
|
|
5822
5822
|
), S = de(() => {
|
|
5823
5823
|
y(u - 1);
|
|
5824
|
-
}, [u, y]),
|
|
5824
|
+
}, [u, y]), I = de(() => {
|
|
5825
5825
|
y(u + 1);
|
|
5826
5826
|
}, [u, y]);
|
|
5827
5827
|
if (!m) return;
|
|
@@ -5857,7 +5857,7 @@ function dh(e) {
|
|
|
5857
5857
|
"button",
|
|
5858
5858
|
{
|
|
5859
5859
|
className: "visible-arrow right",
|
|
5860
|
-
onClick:
|
|
5860
|
+
onClick: I,
|
|
5861
5861
|
"aria-label": "Next slide",
|
|
5862
5862
|
style: { display: "flex" },
|
|
5863
5863
|
children: /* @__PURE__ */ s(
|
|
@@ -6181,7 +6181,7 @@ const Hl = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), uh = async (e) => {
|
|
|
6181
6181
|
}, Vs = (e) => {
|
|
6182
6182
|
const { PUBLIC_ENV: t } = R(), n = le("/message.svg");
|
|
6183
6183
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */ s("svg", { width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ s("path", { d: "M15 4C21.0751 4 26 8.92487 26 15C26 16.2691 25.5577 17.9814 24.6729 20.1367L24.502 20.5459L25.5459 24.8428C25.5943 25.042 25.5804 25.2514 25.5059 25.4424C25.3194 25.92 24.8065 26.1738 24.3223 26.0469L24.2109 26.0107L20.4648 24.5488C18.1478 25.5163 16.326 26 15 26C8.92487 26 4 21.0751 4 15C4 8.92487 8.92487 4 15 4ZM15 5.5C9.75329 5.5 5.5 9.75329 5.5 15C5.5 20.2467 9.75329 24.5 15 24.5C16.0245 24.5 17.5449 24.1124 19.5127 23.3184L20.4453 22.9316L23.8623 24.2637L22.9268 20.417L23.2715 19.6006C24.0971 17.5954 24.5 16.0455 24.5 15C24.5 9.75329 20.2467 5.5 15 5.5Z", fill: "currentColor" }) });
|
|
6184
|
-
}, Jt = "test-company",
|
|
6184
|
+
}, Jt = "test-company", kt = () => {
|
|
6185
6185
|
const { PUBLIC_LNG: e } = R();
|
|
6186
6186
|
return e === "en" ? zl : Ql;
|
|
6187
6187
|
}, zl = {
|
|
@@ -6446,7 +6446,7 @@ const Hl = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), uh = async (e) => {
|
|
|
6446
6446
|
function Wl({ noteShare: e }) {
|
|
6447
6447
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
6448
6448
|
if (!e) return null;
|
|
6449
|
-
const n =
|
|
6449
|
+
const n = kt();
|
|
6450
6450
|
return /* @__PURE__ */ p("div", { className: "sass-com-nd-socialNetworkSection sass-news-description-social-network-section", children: [
|
|
6451
6451
|
e.options?.map((a) => {
|
|
6452
6452
|
const r = $l[a];
|
|
@@ -8281,7 +8281,7 @@ const Yl = (e) => {
|
|
|
8281
8281
|
spotify: (e) => /* @__PURE__ */ s(rc, { ...e }),
|
|
8282
8282
|
threads: (e) => /* @__PURE__ */ s(ic, { ...e })
|
|
8283
8283
|
}, fh = (e) => {
|
|
8284
|
-
const { freeZone: t, socials: n, menu: a, customBlock: r, custom_styles: o = {} } = e, i =
|
|
8284
|
+
const { freeZone: t, socials: n, menu: a, customBlock: r, custom_styles: o = {} } = e, i = kt();
|
|
8285
8285
|
return /* @__PURE__ */ p(
|
|
8286
8286
|
"footer",
|
|
8287
8287
|
{
|
|
@@ -8516,7 +8516,7 @@ const Yl = (e) => {
|
|
|
8516
8516
|
function mc({ noteShare: e }) {
|
|
8517
8517
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
8518
8518
|
if (!e) return null;
|
|
8519
|
-
const n =
|
|
8519
|
+
const n = kt();
|
|
8520
8520
|
return /* @__PURE__ */ p("div", { className: "sass-com-ja3-socialNetworkSection", children: [
|
|
8521
8521
|
e.options?.map((a) => {
|
|
8522
8522
|
const r = uc[a];
|
|
@@ -8667,7 +8667,7 @@ const ph = (e) => {
|
|
|
8667
8667
|
if (!C?.code) return null;
|
|
8668
8668
|
const v = /src\s*=\s*"([^"]+)"/.exec(C.code), y = v ? v[1] : null;
|
|
8669
8669
|
if (!y) return null;
|
|
8670
|
-
const S = a.original?.url ?? a.sizes?.[0]?.url ?? "",
|
|
8670
|
+
const S = a.original?.url ?? a.sizes?.[0]?.url ?? "", I = Ke() ?? "", L = S.startsWith("http") || S.includes(I) || I === "" ? S : I + S;
|
|
8671
8671
|
return /* @__PURE__ */ s(
|
|
8672
8672
|
"iframe",
|
|
8673
8673
|
{
|
|
@@ -10164,7 +10164,7 @@ const ph = (e) => {
|
|
|
10164
10164
|
}
|
|
10165
10165
|
))
|
|
10166
10166
|
] }) });
|
|
10167
|
-
},
|
|
10167
|
+
}, Ic = async (e) => {
|
|
10168
10168
|
const { news: t, texts: n } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: a } = R();
|
|
10169
10169
|
return t.config?.showauthor && t.authors?.length > 1 && /* @__PURE__ */ s(
|
|
10170
10170
|
"div",
|
|
@@ -10416,7 +10416,7 @@ function Th(e) {
|
|
|
10416
10416
|
(H) => H.type === "video-embedded"
|
|
10417
10417
|
);
|
|
10418
10418
|
if (!y?.code) return null;
|
|
10419
|
-
const
|
|
10419
|
+
const I = /src\s*=\s*"([^"]+)"/.exec(y.code), L = I ? I[1] : null;
|
|
10420
10420
|
if (!L) return null;
|
|
10421
10421
|
const D = r.original?.url ?? r.sizes?.[0]?.url ?? "", j = Ke() ?? "", P = D.startsWith("http") || D.includes(j) || j === "" ? D : j + D;
|
|
10422
10422
|
return /* @__PURE__ */ s(
|
|
@@ -10441,8 +10441,8 @@ function Th(e) {
|
|
|
10441
10441
|
visibleItems: 1,
|
|
10442
10442
|
pagination: !0,
|
|
10443
10443
|
cardGap: 0,
|
|
10444
|
-
children: S.map((
|
|
10445
|
-
const D =
|
|
10444
|
+
children: S.map((I, L) => {
|
|
10445
|
+
const D = I?.url || I?.id || `gallery-${L}`;
|
|
10446
10446
|
return /* @__PURE__ */ s(
|
|
10447
10447
|
M,
|
|
10448
10448
|
{
|
|
@@ -10454,7 +10454,7 @@ function Th(e) {
|
|
|
10454
10454
|
children: /* @__PURE__ */ s(
|
|
10455
10455
|
Ee,
|
|
10456
10456
|
{
|
|
10457
|
-
preview:
|
|
10457
|
+
preview: I,
|
|
10458
10458
|
isVideo: l,
|
|
10459
10459
|
isLarge: c,
|
|
10460
10460
|
priorityHigh: d
|
|
@@ -10751,7 +10751,7 @@ const dt = (e) => {
|
|
|
10751
10751
|
}
|
|
10752
10752
|
)
|
|
10753
10753
|
] });
|
|
10754
|
-
},
|
|
10754
|
+
}, kc = ({
|
|
10755
10755
|
content: e,
|
|
10756
10756
|
customLargeSection: t,
|
|
10757
10757
|
customSmallSection: n,
|
|
@@ -10987,7 +10987,7 @@ function Rc(e) {
|
|
|
10987
10987
|
a % 2 === 0 ? t[Math.floor(a / 2)] = e[a] : t[n + Math.floor(a / 2)] = e[a];
|
|
10988
10988
|
return t;
|
|
10989
10989
|
}
|
|
10990
|
-
const
|
|
10990
|
+
const Ih = (e) => {
|
|
10991
10991
|
const { isOpinion: t = !1 } = e, n = (o) => /* @__PURE__ */ s(
|
|
10992
10992
|
"div",
|
|
10993
10993
|
{
|
|
@@ -11041,7 +11041,7 @@ const kh = (e) => {
|
|
|
11041
11041
|
] })
|
|
11042
11042
|
}
|
|
11043
11043
|
) });
|
|
11044
|
-
},
|
|
11044
|
+
}, kh = (e) => {
|
|
11045
11045
|
const { showTitle: t = !0 } = e;
|
|
11046
11046
|
return /* @__PURE__ */ p("div", { className: "sass-bs-eb1-content", children: [
|
|
11047
11047
|
t && /* @__PURE__ */ s("p", { className: "sass-bs-eb1-title", children: "Editorial" }),
|
|
@@ -12504,7 +12504,7 @@ const ud = (e) => /* @__PURE__ */ s(
|
|
|
12504
12504
|
function hd({ noteShare: e }) {
|
|
12505
12505
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
12506
12506
|
if (!e) return null;
|
|
12507
|
-
const n =
|
|
12507
|
+
const n = kt();
|
|
12508
12508
|
return /* @__PURE__ */ p("div", { className: "sass-com-ja4-socialNetworkSection", children: [
|
|
12509
12509
|
e.options?.map((a) => {
|
|
12510
12510
|
const r = md[a];
|
|
@@ -12772,7 +12772,7 @@ const fd = async (e) => {
|
|
|
12772
12772
|
function gd({ noteShare: e, GoogleProfile: t }) {
|
|
12773
12773
|
const n = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
12774
12774
|
if (!e) return null;
|
|
12775
|
-
const a = e.variant === "custom", r =
|
|
12775
|
+
const a = e.variant === "custom", r = kt();
|
|
12776
12776
|
return /* @__PURE__ */ p("div", { className: "sass-com-ja5-socialNetworkSection", children: [
|
|
12777
12777
|
e.options?.map((o) => {
|
|
12778
12778
|
const i = pd[o];
|
|
@@ -13114,8 +13114,8 @@ const wd = async (e) => {
|
|
|
13114
13114
|
const m = u.match(/\balt=["']([^"']*)["']/), w = u.match(/\btitle=["']([^"']*)["']/), f = m?.[1] || w?.[1] || "imagen", g = h.match(/__scale=([^&"']+)/), b = g ? decodeURIComponent(g[1]) : null;
|
|
13115
13115
|
let A = 0, C = 0;
|
|
13116
13116
|
if (b) {
|
|
13117
|
-
const
|
|
13118
|
-
A =
|
|
13117
|
+
const I = b.match(/w:(\d+)/), L = b.match(/h:(\d+)/);
|
|
13118
|
+
A = I ? parseInt(I[1]) : 0, C = L ? parseInt(L[1]) : 0;
|
|
13119
13119
|
}
|
|
13120
13120
|
const v = {
|
|
13121
13121
|
preview: {
|
|
@@ -13298,14 +13298,14 @@ async function Ed(e, t) {
|
|
|
13298
13298
|
allowfullscreen
|
|
13299
13299
|
style="position: relative!important;"
|
|
13300
13300
|
src="${N.main?.code || ""}"></iframe>` : v = N.main?.code || "";
|
|
13301
|
-
const
|
|
13301
|
+
const I = S || N.main?.description || "";
|
|
13302
13302
|
b = `
|
|
13303
13303
|
<figure class="videoFigure">
|
|
13304
13304
|
${C && C.data && C.data.data ? `<script type="application/ld+json">${nn(
|
|
13305
13305
|
JSON.stringify(C.data.data)
|
|
13306
13306
|
)}<\/script>` : ""}
|
|
13307
13307
|
${v}
|
|
13308
|
-
<figcaption>${
|
|
13308
|
+
<figcaption>${I}</figcaption>
|
|
13309
13309
|
</figure>
|
|
13310
13310
|
`;
|
|
13311
13311
|
}
|
|
@@ -13427,14 +13427,14 @@ async function Td(e) {
|
|
|
13427
13427
|
!g && t && t.hascontent && t.hascontent.hasembeddedtwitter && /* @__PURE__ */ s("script", { async: !0, defer: !0, src: "https://platform.twitter.com/widgets.js" })
|
|
13428
13428
|
] });
|
|
13429
13429
|
}
|
|
13430
|
-
const
|
|
13430
|
+
const Id = (e) => {
|
|
13431
13431
|
const { config: t } = e, n = t.articlepreview;
|
|
13432
13432
|
return !![
|
|
13433
13433
|
Ze.videoEmbedded,
|
|
13434
13434
|
Ze.videoYouTube,
|
|
13435
13435
|
Ze.iframe
|
|
13436
13436
|
].includes(n);
|
|
13437
|
-
},
|
|
13437
|
+
}, kd = async (e) => {
|
|
13438
13438
|
const {
|
|
13439
13439
|
texts: t,
|
|
13440
13440
|
autorIcon: n,
|
|
@@ -13471,7 +13471,7 @@ const kd = (e) => {
|
|
|
13471
13471
|
getVideos: w,
|
|
13472
13472
|
noteShare: o,
|
|
13473
13473
|
paths: i,
|
|
13474
|
-
showHeaderImage: !
|
|
13474
|
+
showHeaderImage: !Id(c),
|
|
13475
13475
|
commonServices: a,
|
|
13476
13476
|
customSummary: g,
|
|
13477
13477
|
subtitleBeforeImage: b,
|
|
@@ -13531,7 +13531,7 @@ const kd = (e) => {
|
|
|
13531
13531
|
}
|
|
13532
13532
|
),
|
|
13533
13533
|
r[0].authors.length > 1 && /* @__PURE__ */ s(
|
|
13534
|
-
|
|
13534
|
+
Ic,
|
|
13535
13535
|
{
|
|
13536
13536
|
news: r[0],
|
|
13537
13537
|
autorIcon: e.autorIcon,
|
|
@@ -13548,7 +13548,7 @@ const kd = (e) => {
|
|
|
13548
13548
|
) })
|
|
13549
13549
|
] }),
|
|
13550
13550
|
children: /* @__PURE__ */ s(
|
|
13551
|
-
|
|
13551
|
+
kd,
|
|
13552
13552
|
{
|
|
13553
13553
|
texts: e.texts,
|
|
13554
13554
|
autorIcon: e.autorIcon,
|
|
@@ -13696,7 +13696,7 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13696
13696
|
const y = encodeURIComponent(window.location.pathname);
|
|
13697
13697
|
window.location.href = `/api/auth/login?redirect=${y}`;
|
|
13698
13698
|
}, A = (y, S) => {
|
|
13699
|
-
l((
|
|
13699
|
+
l((I) => ({ ...I, [y]: S }));
|
|
13700
13700
|
}, C = async (y) => {
|
|
13701
13701
|
y.preventDefault(), w(null), h(!0);
|
|
13702
13702
|
try {
|
|
@@ -13709,9 +13709,9 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13709
13709
|
w(a.errorPasswordMismatch);
|
|
13710
13710
|
return;
|
|
13711
13711
|
}
|
|
13712
|
-
const
|
|
13712
|
+
const I = i.password || "";
|
|
13713
13713
|
if (o.some(
|
|
13714
|
-
(H) => !H.test(
|
|
13714
|
+
(H) => !H.test(I)
|
|
13715
13715
|
)) {
|
|
13716
13716
|
w(a.errorPasswordInvalid);
|
|
13717
13717
|
return;
|
|
@@ -13767,8 +13767,8 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13767
13767
|
})
|
|
13768
13768
|
});
|
|
13769
13769
|
if (!S.ok) {
|
|
13770
|
-
const
|
|
13771
|
-
throw new Error(
|
|
13770
|
+
const I = await S.json().catch(() => ({}));
|
|
13771
|
+
throw new Error(I?.error || "Error al confirmar usuario");
|
|
13772
13772
|
}
|
|
13773
13773
|
g("success");
|
|
13774
13774
|
} catch (S) {
|
|
@@ -13806,20 +13806,20 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13806
13806
|
type: y.toLowerCase().includes("password") ? c ? "text" : "password" : y === "birthdate" ? "date" : y === "email" ? "email" : y === "phone_number" ? "tel" : "text",
|
|
13807
13807
|
name: y,
|
|
13808
13808
|
value: i[y] || "",
|
|
13809
|
-
onChange: (
|
|
13809
|
+
onChange: (I) => A(y, I.target.value),
|
|
13810
13810
|
className: "sass-pg-login-input",
|
|
13811
13811
|
placeholder: ""
|
|
13812
13812
|
}
|
|
13813
13813
|
),
|
|
13814
|
-
y === "password" && /* @__PURE__ */ s("div", { className: "sass-pg-login-passwordChecker", children: o.map((
|
|
13815
|
-
const D =
|
|
13814
|
+
y === "password" && /* @__PURE__ */ s("div", { className: "sass-pg-login-passwordChecker", children: o.map((I, L) => {
|
|
13815
|
+
const D = I.test(v);
|
|
13816
13816
|
return /* @__PURE__ */ p(
|
|
13817
13817
|
"div",
|
|
13818
13818
|
{
|
|
13819
13819
|
className: D ? "sass-pg-login-valid" : "sass-pg-login-invalid",
|
|
13820
13820
|
children: [
|
|
13821
13821
|
/* @__PURE__ */ s("div", { children: D ? "✔" : "○" }),
|
|
13822
|
-
/* @__PURE__ */ s("div", { children:
|
|
13822
|
+
/* @__PURE__ */ s("div", { children: I.label })
|
|
13823
13823
|
]
|
|
13824
13824
|
},
|
|
13825
13825
|
L
|
|
@@ -13832,7 +13832,7 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13832
13832
|
id: "showPasswordRegister",
|
|
13833
13833
|
type: "checkbox",
|
|
13834
13834
|
checked: c,
|
|
13835
|
-
onChange: (
|
|
13835
|
+
onChange: (I) => d(I.target.checked)
|
|
13836
13836
|
}
|
|
13837
13837
|
),
|
|
13838
13838
|
/* @__PURE__ */ s(
|
|
@@ -15079,7 +15079,7 @@ function Jd() {
|
|
|
15079
15079
|
}
|
|
15080
15080
|
}
|
|
15081
15081
|
}
|
|
15082
|
-
var y = c, S = d,
|
|
15082
|
+
var y = c, S = d, I = l, L = i, D = t, j = u, P = a, H = f, Q = w, O = n, k = o, U = r, G = h, B = !1;
|
|
15083
15083
|
function Y(q) {
|
|
15084
15084
|
return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), x(q) || v(q) === c;
|
|
15085
15085
|
}
|
|
@@ -15119,7 +15119,7 @@ function Jd() {
|
|
|
15119
15119
|
function ce(q) {
|
|
15120
15120
|
return v(q) === h;
|
|
15121
15121
|
}
|
|
15122
|
-
ie.AsyncMode = y, ie.ConcurrentMode = S, ie.ContextConsumer =
|
|
15122
|
+
ie.AsyncMode = y, ie.ConcurrentMode = S, ie.ContextConsumer = I, ie.ContextProvider = L, ie.Element = D, ie.ForwardRef = j, ie.Fragment = P, ie.Lazy = H, ie.Memo = Q, ie.Portal = O, ie.Profiler = k, ie.StrictMode = U, ie.Suspense = G, ie.isAsyncMode = Y, ie.isConcurrentMode = x, ie.isContextConsumer = T, ie.isContextProvider = _, ie.isElement = V, ie.isForwardRef = F, ie.isFragment = W, ie.isLazy = K, ie.isMemo = J, ie.isPortal = ne, ie.isProfiler = se, ie.isStrictMode = X, ie.isSuspense = ce, ie.isValidElementType = N, ie.typeOf = v;
|
|
15123
15123
|
})()), ie;
|
|
15124
15124
|
}
|
|
15125
15125
|
var Zs;
|
|
@@ -15232,9 +15232,9 @@ function Xd() {
|
|
|
15232
15232
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
15233
15233
|
}, Tn = r, Tn;
|
|
15234
15234
|
}
|
|
15235
|
-
var
|
|
15235
|
+
var In, sa;
|
|
15236
15236
|
function eu() {
|
|
15237
|
-
if (sa) return
|
|
15237
|
+
if (sa) return In;
|
|
15238
15238
|
sa = 1;
|
|
15239
15239
|
var e = rs(), t = Zd(), n = /* @__PURE__ */ os(), a = /* @__PURE__ */ mr(), r = /* @__PURE__ */ Xd(), o = function() {
|
|
15240
15240
|
};
|
|
@@ -15249,7 +15249,7 @@ function eu() {
|
|
|
15249
15249
|
function i() {
|
|
15250
15250
|
return null;
|
|
15251
15251
|
}
|
|
15252
|
-
return
|
|
15252
|
+
return In = function(l, c) {
|
|
15253
15253
|
var d = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
15254
15254
|
function h(x) {
|
|
15255
15255
|
var T = x && (d && x[d] || x[u]);
|
|
@@ -15272,7 +15272,7 @@ function eu() {
|
|
|
15272
15272
|
instanceOf: S,
|
|
15273
15273
|
node: j(),
|
|
15274
15274
|
objectOf: L,
|
|
15275
|
-
oneOf:
|
|
15275
|
+
oneOf: I,
|
|
15276
15276
|
oneOfType: D,
|
|
15277
15277
|
shape: H,
|
|
15278
15278
|
exact: Q
|
|
@@ -15374,7 +15374,7 @@ function eu() {
|
|
|
15374
15374
|
}
|
|
15375
15375
|
return b(T);
|
|
15376
15376
|
}
|
|
15377
|
-
function
|
|
15377
|
+
function I(x) {
|
|
15378
15378
|
if (!Array.isArray(x))
|
|
15379
15379
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
15380
15380
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
@@ -15514,12 +15514,12 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
15514
15514
|
return !1;
|
|
15515
15515
|
}
|
|
15516
15516
|
}
|
|
15517
|
-
function
|
|
15517
|
+
function k(x, T) {
|
|
15518
15518
|
return x === "symbol" ? !0 : T ? T["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && T instanceof Symbol : !1;
|
|
15519
15519
|
}
|
|
15520
15520
|
function U(x) {
|
|
15521
15521
|
var T = typeof x;
|
|
15522
|
-
return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" :
|
|
15522
|
+
return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : k(T, x) ? "symbol" : T;
|
|
15523
15523
|
}
|
|
15524
15524
|
function G(x) {
|
|
15525
15525
|
if (typeof x > "u" || x === null)
|
|
@@ -15551,18 +15551,18 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
15551
15551
|
return !x.constructor || !x.constructor.name ? m : x.constructor.name;
|
|
15552
15552
|
}
|
|
15553
15553
|
return w.checkPropTypes = r, w.resetWarningCache = r.resetWarningCache, w.PropTypes = w, w;
|
|
15554
|
-
},
|
|
15554
|
+
}, In;
|
|
15555
15555
|
}
|
|
15556
|
-
var
|
|
15556
|
+
var kn, aa;
|
|
15557
15557
|
function tu() {
|
|
15558
|
-
if (aa) return
|
|
15558
|
+
if (aa) return kn;
|
|
15559
15559
|
aa = 1;
|
|
15560
15560
|
var e = /* @__PURE__ */ os();
|
|
15561
15561
|
function t() {
|
|
15562
15562
|
}
|
|
15563
15563
|
function n() {
|
|
15564
15564
|
}
|
|
15565
|
-
return n.resetWarningCache = t,
|
|
15565
|
+
return n.resetWarningCache = t, kn = function() {
|
|
15566
15566
|
function a(i, l, c, d, u, h) {
|
|
15567
15567
|
if (h !== e) {
|
|
15568
15568
|
var m = new Error(
|
|
@@ -15599,7 +15599,7 @@ function tu() {
|
|
|
15599
15599
|
resetWarningCache: t
|
|
15600
15600
|
};
|
|
15601
15601
|
return o.PropTypes = o, o;
|
|
15602
|
-
},
|
|
15602
|
+
}, kn;
|
|
15603
15603
|
}
|
|
15604
15604
|
var ra;
|
|
15605
15605
|
function nu() {
|
|
@@ -15794,9 +15794,9 @@ function iu() {
|
|
|
15794
15794
|
for (var N = i(f), v = i(g), y = 0; y < C.length; ++y) {
|
|
15795
15795
|
var S = C[y];
|
|
15796
15796
|
if (!n[S] && !(b && b[S]) && !(v && v[S]) && !(N && N[S])) {
|
|
15797
|
-
var
|
|
15797
|
+
var I = u(g, S);
|
|
15798
15798
|
try {
|
|
15799
|
-
l(f, S,
|
|
15799
|
+
l(f, S, I);
|
|
15800
15800
|
} catch {
|
|
15801
15801
|
}
|
|
15802
15802
|
}
|
|
@@ -15865,14 +15865,14 @@ function hu(e, t) {
|
|
|
15865
15865
|
this.asyncScriptLoaderHandleLoad(C);
|
|
15866
15866
|
return;
|
|
15867
15867
|
}
|
|
15868
|
-
C.observers[w] = function(
|
|
15869
|
-
return h.asyncScriptLoaderHandleLoad(
|
|
15868
|
+
C.observers[w] = function(I) {
|
|
15869
|
+
return h.asyncScriptLoaderHandleLoad(I);
|
|
15870
15870
|
};
|
|
15871
15871
|
return;
|
|
15872
15872
|
}
|
|
15873
15873
|
var N = {};
|
|
15874
|
-
N[w] = function(
|
|
15875
|
-
return h.asyncScriptLoaderHandleLoad(
|
|
15874
|
+
N[w] = function(I) {
|
|
15875
|
+
return h.asyncScriptLoaderHandleLoad(I);
|
|
15876
15876
|
}, Te[m] = {
|
|
15877
15877
|
loaded: !1,
|
|
15878
15878
|
observers: N
|
|
@@ -15892,14 +15892,14 @@ function hu(e, t) {
|
|
|
15892
15892
|
b && typeof window < "u" && (window[b] = function() {
|
|
15893
15893
|
return h.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
15894
15894
|
}), v.onload = function() {
|
|
15895
|
-
var
|
|
15896
|
-
|
|
15897
|
-
return b ? !1 : (L(
|
|
15895
|
+
var I = Te[m];
|
|
15896
|
+
I && (I.loaded = !0, S(function(L) {
|
|
15897
|
+
return b ? !1 : (L(I), !0);
|
|
15898
15898
|
}));
|
|
15899
15899
|
}, v.onerror = function() {
|
|
15900
|
-
var
|
|
15901
|
-
|
|
15902
|
-
return L(
|
|
15900
|
+
var I = Te[m];
|
|
15901
|
+
I && (I.errored = !0, S(function(L) {
|
|
15902
|
+
return L(I), !0;
|
|
15903
15903
|
}));
|
|
15904
15904
|
}, document.body.appendChild(v);
|
|
15905
15905
|
}, d.componentWillUnmount = function() {
|
|
@@ -15915,7 +15915,7 @@ function hu(e, t) {
|
|
|
15915
15915
|
var w = m.forwardedRef, f = du(m, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
15916
15916
|
return h && typeof window < "u" && (f[h] = typeof window[h] < "u" ? window[h] : void 0), f.ref = w, Ve(a, f);
|
|
15917
15917
|
}, c;
|
|
15918
|
-
})(
|
|
15918
|
+
})(Ir), i = ga(function(l, c) {
|
|
15919
15919
|
return Ve(o, Fn({}, l, {
|
|
15920
15920
|
forwardedRef: c
|
|
15921
15921
|
}));
|
|
@@ -16623,7 +16623,7 @@ const Su = {
|
|
|
16623
16623
|
] });
|
|
16624
16624
|
}, Tu = {
|
|
16625
16625
|
replyingToLabel: "Respondiendo a"
|
|
16626
|
-
},
|
|
16626
|
+
}, Iu = ({ reply: e, replyingTo: t, user: n, onFlag: a, DATE_CONFIG: r, texts: o }) => {
|
|
16627
16627
|
const i = { ...Tu, ...o?.comentarios }, l = e.text;
|
|
16628
16628
|
let c = `${qe.firstname} ${qe.lastname ?? ""}`, d = qe.username;
|
|
16629
16629
|
return e.user && (c = `${e.user.firstname} ${e.user.lastname ?? ""}`, d = e.user.username), /* @__PURE__ */ s("div", { className: "comment-item reply", children: /* @__PURE__ */ p("div", { className: "comment-header-container su-flex su-relative", children: [
|
|
@@ -16640,10 +16640,10 @@ const Su = {
|
|
|
16640
16640
|
/* @__PURE__ */ s(gr, { isReply: !0, onFlag: () => a(e.id) })
|
|
16641
16641
|
] })
|
|
16642
16642
|
] }) });
|
|
16643
|
-
},
|
|
16643
|
+
}, ku = {
|
|
16644
16644
|
moreRepliesButton: "Más Respuestas"
|
|
16645
16645
|
}, Uu = ({ comment: e, replyingTo: t, path: n, user: a, handleReplyingTo: r, onFlag: o, API_ENV: i, texts: l }) => {
|
|
16646
|
-
const c = { ...
|
|
16646
|
+
const c = { ...ku, ...l?.comentarios }, d = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, h] = z(d), [m, w] = ue.useState(!1), { PUBLIC_PUBLICATION_ID: f, PUBLIC_X_SECURITY_TOKEN: g } = i, b = e.text, A = ue.useRef(null);
|
|
16647
16647
|
let C = `${qe.firstname} ${qe.lastname ?? ""}`, N = qe.username;
|
|
16648
16648
|
e.user && (C = `${e.user.firstname} ${e.user.lastname ?? ""}`, N = e.user.username);
|
|
16649
16649
|
const v = (y) => {
|
|
@@ -16682,7 +16682,7 @@ const Su = {
|
|
|
16682
16682
|
),
|
|
16683
16683
|
u.reply.length > 0 && /* @__PURE__ */ p("div", { className: "comment-replies", children: [
|
|
16684
16684
|
u.reply.map((y) => /* @__PURE__ */ s(
|
|
16685
|
-
|
|
16685
|
+
Iu,
|
|
16686
16686
|
{
|
|
16687
16687
|
user: a,
|
|
16688
16688
|
reply: y,
|
|
@@ -16701,7 +16701,7 @@ const Su = {
|
|
|
16701
16701
|
const y = u.reply[u.reply.length - 1]?.id;
|
|
16702
16702
|
w(!0);
|
|
16703
16703
|
try {
|
|
16704
|
-
const
|
|
16704
|
+
const I = await is({
|
|
16705
16705
|
publication: f ?? "",
|
|
16706
16706
|
path: n ?? "",
|
|
16707
16707
|
size: 2,
|
|
@@ -16712,7 +16712,7 @@ const Su = {
|
|
|
16712
16712
|
apiToken: g ?? "",
|
|
16713
16713
|
API_ENV: i
|
|
16714
16714
|
});
|
|
16715
|
-
w(!1), h({ morereply:
|
|
16715
|
+
w(!1), h({ morereply: I.morecomment, reply: [...u.reply, ...I.comments] });
|
|
16716
16716
|
} catch (S) {
|
|
16717
16717
|
throw w(!1), new Error(`Error al obtener comentarios: ${S}`);
|
|
16718
16718
|
}
|
|
@@ -16890,23 +16890,23 @@ const Su = {
|
|
|
16890
16890
|
}) => {
|
|
16891
16891
|
const c = { ...Bu, ...l?.comentarios }, { PUBLIC_PUBLICATION_ID: d, PUBLIC_X_SECURITY_TOKEN: u } = i, h = d ?? "", m = t.replaceAll("/", "|"), [w, f] = z(
|
|
16892
16892
|
void 0
|
|
16893
|
-
), [g, b] = z(""), { comments: A, setComments: C } = yu(m, i), [N, v] = ue.useState(!1), y = ue.useRef(null), S = ue.useRef(null),
|
|
16894
|
-
b(g ===
|
|
16895
|
-
}, L = (
|
|
16893
|
+
), [g, b] = z(""), { comments: A, setComments: C } = yu(m, i), [N, v] = ue.useState(!1), y = ue.useRef(null), S = ue.useRef(null), I = (k) => {
|
|
16894
|
+
b(g === k ? "" : k);
|
|
16895
|
+
}, L = (k) => {
|
|
16896
16896
|
C(
|
|
16897
16897
|
A ? {
|
|
16898
16898
|
...A,
|
|
16899
|
-
comments: [
|
|
16899
|
+
comments: [k, ...A.comments ?? []]
|
|
16900
16900
|
} : void 0
|
|
16901
16901
|
);
|
|
16902
|
-
}, D = (
|
|
16903
|
-
f(
|
|
16902
|
+
}, D = (k) => {
|
|
16903
|
+
f(k);
|
|
16904
16904
|
}, j = async () => {
|
|
16905
16905
|
if (!A || !A.morecomment || A.comments.length === 0) return;
|
|
16906
|
-
const
|
|
16907
|
-
if (!
|
|
16906
|
+
const k = A.comments[A.comments.length - 1];
|
|
16907
|
+
if (!k) return;
|
|
16908
16908
|
v(!0);
|
|
16909
|
-
const U =
|
|
16909
|
+
const U = k.id;
|
|
16910
16910
|
try {
|
|
16911
16911
|
const G = await is({
|
|
16912
16912
|
publication: h,
|
|
@@ -16978,19 +16978,19 @@ const Su = {
|
|
|
16978
16978
|
className: "comments-list",
|
|
16979
16979
|
"data-isauthenticated": `${e}`,
|
|
16980
16980
|
children: [
|
|
16981
|
-
A.comments.map((
|
|
16981
|
+
A.comments.map((k) => /* @__PURE__ */ s(
|
|
16982
16982
|
Uu,
|
|
16983
16983
|
{
|
|
16984
|
-
comment:
|
|
16984
|
+
comment: k,
|
|
16985
16985
|
replyingTo: g,
|
|
16986
|
-
handleReplyingTo:
|
|
16986
|
+
handleReplyingTo: I,
|
|
16987
16987
|
onFlag: D,
|
|
16988
16988
|
user: n ?? qe,
|
|
16989
16989
|
path: m,
|
|
16990
16990
|
API_ENV: i,
|
|
16991
16991
|
texts: l
|
|
16992
16992
|
},
|
|
16993
|
-
|
|
16993
|
+
k.id
|
|
16994
16994
|
)),
|
|
16995
16995
|
N && Q
|
|
16996
16996
|
]
|
|
@@ -17106,13 +17106,13 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17106
17106
|
[o.passwordRuleMinLength, o.passwordRuleNumber, o.passwordRuleLowercase, o.passwordRuleUppercase, o.passwordRuleSymbol]
|
|
17107
17107
|
), [c, d] = z({}), [u, h] = z(!1), [m, w] = z(!1), [f, g] = z(null), [b, A] = z(
|
|
17108
17108
|
"register"
|
|
17109
|
-
), C = (S,
|
|
17110
|
-
d((L) => ({ ...L, [S]:
|
|
17109
|
+
), C = (S, I) => {
|
|
17110
|
+
d((L) => ({ ...L, [S]: I }));
|
|
17111
17111
|
}, N = async (S) => {
|
|
17112
17112
|
S.preventDefault(), g(null), w(!0);
|
|
17113
17113
|
try {
|
|
17114
|
-
const
|
|
17115
|
-
if (
|
|
17114
|
+
const I = Object.keys(i).filter((Q) => !["username", "password", "confirmPassword"].includes(Q)).map((Q) => ({ Name: Q, Value: c[Q] }));
|
|
17115
|
+
if (I.some((Q) => {
|
|
17116
17116
|
if (!Q.Value || Q.Value.trim() === "") return !0;
|
|
17117
17117
|
}))
|
|
17118
17118
|
return w(!1), g(o.errorCompleteFields);
|
|
@@ -17128,7 +17128,7 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17128
17128
|
return;
|
|
17129
17129
|
}
|
|
17130
17130
|
const j = Math.floor(Date.now() / 1e3);
|
|
17131
|
-
|
|
17131
|
+
I.push({ Name: "updated_at", Value: String(j) });
|
|
17132
17132
|
const P = n.PUBLIC_ENV === "local" ? "token" : await bn(
|
|
17133
17133
|
"comment_register",
|
|
17134
17134
|
n.CAPTCHA_KEY ?? ""
|
|
@@ -17140,7 +17140,7 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17140
17140
|
body: JSON.stringify({
|
|
17141
17141
|
username: c.email,
|
|
17142
17142
|
password: c.password,
|
|
17143
|
-
userAttributes:
|
|
17143
|
+
userAttributes: I,
|
|
17144
17144
|
token: P
|
|
17145
17145
|
})
|
|
17146
17146
|
});
|
|
@@ -17157,8 +17157,8 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17157
17157
|
throw new Error(Q?.error || "Error al crear usuario");
|
|
17158
17158
|
}
|
|
17159
17159
|
A("confirm");
|
|
17160
|
-
} catch (
|
|
17161
|
-
console.log(
|
|
17160
|
+
} catch (I) {
|
|
17161
|
+
console.log(I), g(I?.message || I?.error || o.errorUnexpected);
|
|
17162
17162
|
} finally {
|
|
17163
17163
|
w(!1);
|
|
17164
17164
|
}
|
|
@@ -17169,7 +17169,7 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17169
17169
|
}
|
|
17170
17170
|
g(null), w(!0);
|
|
17171
17171
|
try {
|
|
17172
|
-
const
|
|
17172
|
+
const I = await fetch("/api/auth/confirm-user", {
|
|
17173
17173
|
method: "POST",
|
|
17174
17174
|
headers: { "Content-Type": "application/json" },
|
|
17175
17175
|
body: JSON.stringify({
|
|
@@ -17177,13 +17177,13 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17177
17177
|
code: c.confirmationCode
|
|
17178
17178
|
})
|
|
17179
17179
|
});
|
|
17180
|
-
if (!
|
|
17181
|
-
const L = await
|
|
17180
|
+
if (!I.ok) {
|
|
17181
|
+
const L = await I.json().catch(() => ({}));
|
|
17182
17182
|
throw new Error(L?.error || "Error al confirmar usuario");
|
|
17183
17183
|
}
|
|
17184
17184
|
A("success");
|
|
17185
|
-
} catch (
|
|
17186
|
-
g(
|
|
17185
|
+
} catch (I) {
|
|
17186
|
+
g(I?.message || o.errorUnexpected);
|
|
17187
17187
|
} finally {
|
|
17188
17188
|
w(!1);
|
|
17189
17189
|
}
|
|
@@ -17209,8 +17209,8 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17209
17209
|
className: "sass-pg-cmt-lp-form",
|
|
17210
17210
|
"data-error": f ? "true" : "false",
|
|
17211
17211
|
children: [
|
|
17212
|
-
/* @__PURE__ */ s("ul", { className: "sass-pg-cmt-lp-formUl", children: Object.entries(i).map(([S, { label:
|
|
17213
|
-
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children:
|
|
17212
|
+
/* @__PURE__ */ s("ul", { className: "sass-pg-cmt-lp-formUl", children: Object.entries(i).map(([S, { label: I }]) => /* @__PURE__ */ p("div", { className: "sass-pg-cmt-lp-field", children: [
|
|
17213
|
+
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children: I }),
|
|
17214
17214
|
/* @__PURE__ */ s(
|
|
17215
17215
|
"input",
|
|
17216
17216
|
{
|
|
@@ -17362,7 +17362,7 @@ function Gu({
|
|
|
17362
17362
|
API_ENV: r,
|
|
17363
17363
|
texts: o
|
|
17364
17364
|
}) {
|
|
17365
|
-
const i = { ...ju, ...o?.comentarios }, [l, c] = z("login"), [d, u] = z(""), [h, m] = z(""), [w, f] = z(""), [g, b] = z(""), [A, C] = z(""), [N, v] = z(!1), [y, S] = z(!1), [
|
|
17365
|
+
const i = { ...ju, ...o?.comentarios }, [l, c] = z("login"), [d, u] = z(""), [h, m] = z(""), [w, f] = z(""), [g, b] = z(""), [A, C] = z(""), [N, v] = z(!1), [y, S] = z(!1), [I, L] = z(null);
|
|
17366
17366
|
return /* @__PURE__ */ p($, { children: [
|
|
17367
17367
|
l === "login" && /* @__PURE__ */ s(
|
|
17368
17368
|
Fu,
|
|
@@ -17371,7 +17371,7 @@ function Gu({
|
|
|
17371
17371
|
password: h,
|
|
17372
17372
|
showPassword: N,
|
|
17373
17373
|
loading: y,
|
|
17374
|
-
error:
|
|
17374
|
+
error: I,
|
|
17375
17375
|
setEmail: u,
|
|
17376
17376
|
setPassword: m,
|
|
17377
17377
|
setShowPassword: v,
|
|
@@ -17388,8 +17388,8 @@ function Gu({
|
|
|
17388
17388
|
body: JSON.stringify({ email: d, password: h, token: Q })
|
|
17389
17389
|
});
|
|
17390
17390
|
if (!O.ok) {
|
|
17391
|
-
const
|
|
17392
|
-
throw new Error(
|
|
17391
|
+
const k = await O.json().catch(() => ({}));
|
|
17392
|
+
throw new Error(k?.error || "Ha ocurrido un error");
|
|
17393
17393
|
}
|
|
17394
17394
|
e(), await t();
|
|
17395
17395
|
} catch (Q) {
|
|
@@ -17413,7 +17413,7 @@ function Gu({
|
|
|
17413
17413
|
email: d,
|
|
17414
17414
|
setEmail: u,
|
|
17415
17415
|
loading: y,
|
|
17416
|
-
error:
|
|
17416
|
+
error: I,
|
|
17417
17417
|
onSubmit: async (H) => {
|
|
17418
17418
|
if (!y) {
|
|
17419
17419
|
H.preventDefault(), L(null), S(!0);
|
|
@@ -17450,7 +17450,7 @@ function Gu({
|
|
|
17450
17450
|
confirmNewPassword: A,
|
|
17451
17451
|
showPassword: N,
|
|
17452
17452
|
loading: y,
|
|
17453
|
-
error:
|
|
17453
|
+
error: I,
|
|
17454
17454
|
setConfirmationCode: f,
|
|
17455
17455
|
setNewPassword: b,
|
|
17456
17456
|
setConfirmNewPassword: C,
|
|
@@ -17475,8 +17475,8 @@ function Gu({
|
|
|
17475
17475
|
body: JSON.stringify({ email: d, code: w, newPassword: g })
|
|
17476
17476
|
});
|
|
17477
17477
|
if (!O.ok) {
|
|
17478
|
-
const
|
|
17479
|
-
throw new Error(
|
|
17478
|
+
const k = await O.json().catch(() => ({}));
|
|
17479
|
+
throw new Error(k?.error || "Error al cambiar contraseña");
|
|
17480
17480
|
}
|
|
17481
17481
|
c("feedback");
|
|
17482
17482
|
} catch (O) {
|
|
@@ -18356,7 +18356,7 @@ const tm = (e) => e?.main?.title ? {
|
|
|
18356
18356
|
}
|
|
18357
18357
|
),
|
|
18358
18358
|
"3 notas horizontales": (e) => /* @__PURE__ */ s(
|
|
18359
|
-
|
|
18359
|
+
kc,
|
|
18360
18360
|
{
|
|
18361
18361
|
content: e.data,
|
|
18362
18362
|
customLargeSection: e.customLargeSection,
|
|
@@ -18527,21 +18527,21 @@ function nm({
|
|
|
18527
18527
|
const [a, r] = z(0), [o, i] = z(0), [l, c] = z(!1), [d, u] = z("errors"), [h, m] = z([]), [w, f] = z([]), g = pa(null);
|
|
18528
18528
|
Be(() => {
|
|
18529
18529
|
if (t && t.length > 0) {
|
|
18530
|
-
const v = new Set(
|
|
18530
|
+
const v = new Set(ke.getAll().map((y) => y.id));
|
|
18531
18531
|
for (const y of t)
|
|
18532
|
-
v.has(y.id) ||
|
|
18532
|
+
v.has(y.id) || ke.add(y);
|
|
18533
18533
|
}
|
|
18534
18534
|
if (n && n.length > 0) {
|
|
18535
|
-
const v = new Set(
|
|
18535
|
+
const v = new Set(ke.getAllSuccesses().map((y) => y.id));
|
|
18536
18536
|
for (const y of n)
|
|
18537
|
-
v.has(y.id) ||
|
|
18537
|
+
v.has(y.id) || ke.addSuccess(y);
|
|
18538
18538
|
}
|
|
18539
|
-
r(
|
|
18539
|
+
r(ke.getCount()), i(ke.getSuccessCount());
|
|
18540
18540
|
const C = (v) => r(v.detail.count), N = (v) => i(v.detail.count);
|
|
18541
18541
|
return window.addEventListener("debug-fetch-error", C), window.addEventListener("debug-fetch-success", N), g.current = re.interceptors.response.use(
|
|
18542
18542
|
(v) => {
|
|
18543
18543
|
const y = sm(v.data);
|
|
18544
|
-
return
|
|
18544
|
+
return ke.addSuccess({
|
|
18545
18545
|
endpoint: v.config.url ?? "(unknown)",
|
|
18546
18546
|
method: (v.config.method ?? "GET").toUpperCase(),
|
|
18547
18547
|
params: v.config.params,
|
|
@@ -18557,10 +18557,10 @@ function nm({
|
|
|
18557
18557
|
};
|
|
18558
18558
|
}, []);
|
|
18559
18559
|
function b() {
|
|
18560
|
-
m(
|
|
18560
|
+
m(ke.getAll()), f(ke.getAllSuccesses()), c(!0);
|
|
18561
18561
|
}
|
|
18562
18562
|
function A() {
|
|
18563
|
-
|
|
18563
|
+
ke.clearAll(), m([]), f([]), r(0), i(0), c(!1);
|
|
18564
18564
|
}
|
|
18565
18565
|
return /* @__PURE__ */ p($, { children: [
|
|
18566
18566
|
/* @__PURE__ */ p("button", { onClick: b, style: lm(e), title: "Debug panel", children: [
|
|
@@ -18944,7 +18944,7 @@ export {
|
|
|
18944
18944
|
Hc as CarruselOpinion,
|
|
18945
18945
|
Hh as CommentLazyLoader,
|
|
18946
18946
|
He as CommonServices,
|
|
18947
|
-
|
|
18947
|
+
kr as Comscore,
|
|
18948
18948
|
Oh as ContactInfoServer,
|
|
18949
18949
|
bh as ContactInput,
|
|
18950
18950
|
Ah as ContactSelect,
|
|
@@ -18954,14 +18954,14 @@ export {
|
|
|
18954
18954
|
Yh as DEBUG_MainSlots,
|
|
18955
18955
|
_l as DEFAULT_HEAD_CONFIG,
|
|
18956
18956
|
Kh as DebugPanel,
|
|
18957
|
-
|
|
18957
|
+
ke as DebugStore,
|
|
18958
18958
|
Lc as DestacadoNoticias,
|
|
18959
18959
|
qc as DestacadoVideos,
|
|
18960
18960
|
Sl as DynamicBlockServices,
|
|
18961
18961
|
Wh as DynamicComponents,
|
|
18962
18962
|
Ln as DynamicMainSlot,
|
|
18963
18963
|
la as DynamicSlot,
|
|
18964
|
-
|
|
18964
|
+
kh as EditorialBlock,
|
|
18965
18965
|
wh as ErrorComponent,
|
|
18966
18966
|
Vo as Font,
|
|
18967
18967
|
fh as Footer,
|
|
@@ -18982,7 +18982,7 @@ export {
|
|
|
18982
18982
|
ah as IssuuServices,
|
|
18983
18983
|
Lo as ItemListSchema,
|
|
18984
18984
|
Tc as JournalistArticule2,
|
|
18985
|
-
|
|
18985
|
+
Ic as JournalistGroup,
|
|
18986
18986
|
gc as LayoutNewsComponent,
|
|
18987
18987
|
M as LinkComponent,
|
|
18988
18988
|
hc as LiveBlogHeader,
|
|
@@ -19000,14 +19000,14 @@ export {
|
|
|
19000
19000
|
Pc as Modulo3Columnas,
|
|
19001
19001
|
Rh as ModuloBlockNews,
|
|
19002
19002
|
Lh as ModuloNewsletter,
|
|
19003
|
-
|
|
19003
|
+
Ih as ModuloOpinion,
|
|
19004
19004
|
Xa as NewDescriptionBlock,
|
|
19005
19005
|
Gd as NewListResponseDataPH,
|
|
19006
19006
|
Bo as NewsArticle,
|
|
19007
19007
|
Bh as NewsComponent,
|
|
19008
19008
|
Qs as NewsContent,
|
|
19009
19009
|
Ge as NewsDescriptionComponent,
|
|
19010
|
-
|
|
19010
|
+
kd as News_Content,
|
|
19011
19011
|
zs as NextPrev,
|
|
19012
19012
|
Mo as OrgList,
|
|
19013
19013
|
Ns as PreloadImages,
|
|
@@ -19027,7 +19027,7 @@ export {
|
|
|
19027
19027
|
as as SocialNetworks,
|
|
19028
19028
|
Po as SoftwareApplication,
|
|
19029
19029
|
Eh as SourceButtons,
|
|
19030
|
-
|
|
19030
|
+
Io as SpeculationRules,
|
|
19031
19031
|
Nt as Spin,
|
|
19032
19032
|
$h as StaticSlotWrapper,
|
|
19033
19033
|
Xl as SubscribeColumn,
|
|
@@ -19090,8 +19090,8 @@ export {
|
|
|
19090
19090
|
ba as getServicePrefix,
|
|
19091
19091
|
Qo as getSlugs,
|
|
19092
19092
|
Pm as getTextsStringValue,
|
|
19093
|
-
|
|
19094
|
-
|
|
19093
|
+
Im as getTypeOfNews,
|
|
19094
|
+
km as getVideoRealPath,
|
|
19095
19095
|
is as handleGetComments,
|
|
19096
19096
|
vm as initLibrary,
|
|
19097
19097
|
wo as isHomePath,
|