sass-template-common 0.2.35 → 0.2.37
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
|
-
import { jsx as a, jsxs as f, Fragment as
|
|
1
|
+
import { jsx as a, jsxs as f, Fragment as Y } from "react/jsx-runtime";
|
|
2
2
|
import * as Ra from "react";
|
|
3
|
-
import Te, { useState as J, useRef as
|
|
3
|
+
import Te, { useState as J, useRef as Pr, useCallback as he, useEffect as De, createElement as st, forwardRef as Dr, Fragment as pn, useMemo as Go, Component as Ho } from "react";
|
|
4
4
|
let Xn = {
|
|
5
5
|
PUBLIC_API_HOST: "https://dev-saas.cms-medios.com",
|
|
6
6
|
PUBLIC_API_FRONT: "https://dev-lahora.cms-medios.com",
|
|
@@ -54,14 +54,14 @@ let Xn = {
|
|
|
54
54
|
SHOW_NEWS_MORE_NEWS: !0,
|
|
55
55
|
SHOW_NEWS_RELATED_NEWS: !0
|
|
56
56
|
};
|
|
57
|
-
function
|
|
57
|
+
function y9(e = {}) {
|
|
58
58
|
Xn = { ...Xn, ...e };
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function K() {
|
|
61
61
|
return Xn;
|
|
62
62
|
}
|
|
63
63
|
const zo = () => {
|
|
64
|
-
const { ANALYTICS_comscore: e } =
|
|
64
|
+
const { ANALYTICS_comscore: e } = K();
|
|
65
65
|
return e && /* @__PURE__ */ a(
|
|
66
66
|
"script",
|
|
67
67
|
{
|
|
@@ -86,8 +86,8 @@ const zo = () => {
|
|
|
86
86
|
return Object.keys(t).forEach((s) => {
|
|
87
87
|
o[s] = s;
|
|
88
88
|
}), o;
|
|
89
|
-
}, [t]), { ANALYTICS_ga4: r } =
|
|
90
|
-
return r && /* @__PURE__ */ f(
|
|
89
|
+
}, [t]), { ANALYTICS_ga4: r } = K();
|
|
90
|
+
return r && /* @__PURE__ */ f(Y, { children: [
|
|
91
91
|
/* @__PURE__ */ a("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + e }),
|
|
92
92
|
/* @__PURE__ */ a(
|
|
93
93
|
"script",
|
|
@@ -109,8 +109,8 @@ const zo = () => {
|
|
|
109
109
|
)
|
|
110
110
|
] });
|
|
111
111
|
}, $o = () => {
|
|
112
|
-
const { ANALYTICS_gtm: e } =
|
|
113
|
-
return e && /* @__PURE__ */ f(
|
|
112
|
+
const { ANALYTICS_gtm: e } = K();
|
|
113
|
+
return e && /* @__PURE__ */ f(Y, { children: [
|
|
114
114
|
/* @__PURE__ */ a(
|
|
115
115
|
"script",
|
|
116
116
|
{
|
|
@@ -137,7 +137,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
137
137
|
) })
|
|
138
138
|
] });
|
|
139
139
|
}, Wo = () => {
|
|
140
|
-
const { ANALYTICS_marfeel: e } =
|
|
140
|
+
const { ANALYTICS_marfeel: e } = K();
|
|
141
141
|
return e && /* @__PURE__ */ a(
|
|
142
142
|
"script",
|
|
143
143
|
{
|
|
@@ -157,7 +157,7 @@ function Mr() {
|
|
|
157
157
|
(function(n, r) {
|
|
158
158
|
e.exports = r();
|
|
159
159
|
})(Yo, (function() {
|
|
160
|
-
var n = 1e3, r = 6e4, o = 36e5, s = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", m = "month", h = "quarter", p = "year", g = "date", A = "Invalid Date",
|
|
160
|
+
var n = 1e3, r = 6e4, o = 36e5, s = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", m = "month", h = "quarter", p = "year", g = "date", A = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|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, N = { 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(M) {
|
|
161
161
|
var U = ["th", "st", "nd", "rd"], T = M % 100;
|
|
162
162
|
return "[" + M + (U[(T - 20) % 10] || U[T] || U[0]) + "]";
|
|
163
163
|
} }, _ = function(M, U, T) {
|
|
@@ -168,8 +168,8 @@ function Mr() {
|
|
|
168
168
|
return (U <= 0 ? "+" : "-") + _(D, 2, "0") + ":" + _(I, 2, "0");
|
|
169
169
|
}, m: function M(U, T) {
|
|
170
170
|
if (U.date() < T.date()) return -M(T, U);
|
|
171
|
-
var D = 12 * (T.year() - U.year()) + (T.month() - U.month()), I = U.clone().add(D, m), z = T - I < 0,
|
|
172
|
-
return +(-(D + (T - I) / (z ? I -
|
|
171
|
+
var D = 12 * (T.year() - U.year()) + (T.month() - U.month()), I = U.clone().add(D, m), z = T - I < 0, w = U.clone().add(D + (z ? -1 : 1), m);
|
|
172
|
+
return +(-(D + (T - I) / (z ? I - w : w - I)) || 0);
|
|
173
173
|
}, a: function(M) {
|
|
174
174
|
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
175
175
|
}, p: function(M) {
|
|
@@ -178,16 +178,16 @@ function Mr() {
|
|
|
178
178
|
return M === void 0;
|
|
179
179
|
} }, b = "en", x = {};
|
|
180
180
|
x[b] = N;
|
|
181
|
-
var
|
|
182
|
-
return M instanceof ee || !(!M || !M[
|
|
181
|
+
var O = "$isDayjsObject", Q = function(M) {
|
|
182
|
+
return M instanceof ee || !(!M || !M[O]);
|
|
183
183
|
}, te = function M(U, T, D) {
|
|
184
184
|
var I;
|
|
185
185
|
if (!U) return b;
|
|
186
186
|
if (typeof U == "string") {
|
|
187
187
|
var z = U.toLowerCase();
|
|
188
188
|
x[z] && (I = z), T && (x[z] = T, I = z);
|
|
189
|
-
var
|
|
190
|
-
if (!I &&
|
|
189
|
+
var w = U.split("-");
|
|
190
|
+
if (!I && w.length > 1) return M(w[0]);
|
|
191
191
|
} else {
|
|
192
192
|
var S = U.name;
|
|
193
193
|
x[S] = U, I = S;
|
|
@@ -197,26 +197,26 @@ function Mr() {
|
|
|
197
197
|
if (Q(M)) return M.clone();
|
|
198
198
|
var T = typeof U == "object" ? U : {};
|
|
199
199
|
return T.date = M, T.args = arguments, new ee(T);
|
|
200
|
-
},
|
|
201
|
-
|
|
200
|
+
}, P = E;
|
|
201
|
+
P.l = te, P.i = Q, P.w = function(M, U) {
|
|
202
202
|
return G(M, { locale: U.$L, utc: U.$u, x: U.$x, $offset: U.$offset });
|
|
203
203
|
};
|
|
204
204
|
var ee = (function() {
|
|
205
205
|
function M(T) {
|
|
206
|
-
this.$L = te(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[
|
|
206
|
+
this.$L = te(T.locale, null, !0), this.parse(T), this.$x = this.$x || T.x || {}, this[O] = !0;
|
|
207
207
|
}
|
|
208
208
|
var U = M.prototype;
|
|
209
209
|
return U.parse = function(T) {
|
|
210
210
|
this.$d = (function(D) {
|
|
211
211
|
var I = D.date, z = D.utc;
|
|
212
212
|
if (I === null) return /* @__PURE__ */ new Date(NaN);
|
|
213
|
-
if (
|
|
213
|
+
if (P.u(I)) return /* @__PURE__ */ new Date();
|
|
214
214
|
if (I instanceof Date) return new Date(I);
|
|
215
215
|
if (typeof I == "string" && !/Z$/i.test(I)) {
|
|
216
|
-
var
|
|
217
|
-
if (
|
|
218
|
-
var S =
|
|
219
|
-
return z ? new Date(Date.UTC(
|
|
216
|
+
var w = I.match(y);
|
|
217
|
+
if (w) {
|
|
218
|
+
var S = w[2] - 1 || 0, q = (w[7] || "0").substring(0, 3);
|
|
219
|
+
return z ? new Date(Date.UTC(w[1], S, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, q)) : new Date(w[1], S, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, q);
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
return new Date(I);
|
|
@@ -225,7 +225,7 @@ function Mr() {
|
|
|
225
225
|
var T = this.$d;
|
|
226
226
|
this.$y = T.getFullYear(), this.$M = T.getMonth(), this.$D = T.getDate(), this.$W = T.getDay(), this.$H = T.getHours(), this.$m = T.getMinutes(), this.$s = T.getSeconds(), this.$ms = T.getMilliseconds();
|
|
227
227
|
}, U.$utils = function() {
|
|
228
|
-
return
|
|
228
|
+
return P;
|
|
229
229
|
}, U.isValid = function() {
|
|
230
230
|
return this.$d.toString() !== A;
|
|
231
231
|
}, U.isSame = function(T, D) {
|
|
@@ -236,19 +236,19 @@ function Mr() {
|
|
|
236
236
|
}, U.isBefore = function(T, D) {
|
|
237
237
|
return this.endOf(D) < G(T);
|
|
238
238
|
}, U.$g = function(T, D, I) {
|
|
239
|
-
return
|
|
239
|
+
return P.u(T) ? this[D] : this.set(I, T);
|
|
240
240
|
}, U.unix = function() {
|
|
241
241
|
return Math.floor(this.valueOf() / 1e3);
|
|
242
242
|
}, U.valueOf = function() {
|
|
243
243
|
return this.$d.getTime();
|
|
244
244
|
}, U.startOf = function(T, D) {
|
|
245
|
-
var I = this, z = !!
|
|
246
|
-
var ie =
|
|
245
|
+
var I = this, z = !!P.u(D) || D, w = P.p(T), S = function(X, $) {
|
|
246
|
+
var ie = P.w(I.$u ? Date.UTC(I.$y, $, X) : new Date(I.$y, $, X), I);
|
|
247
247
|
return z ? ie : ie.endOf(l);
|
|
248
248
|
}, q = function(X, $) {
|
|
249
|
-
return
|
|
249
|
+
return P.w(I.toDate()[X].apply(I.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), I);
|
|
250
250
|
}, j = this.$W, L = this.$M, H = this.$D, V = "set" + (this.$u ? "UTC" : "");
|
|
251
|
-
switch (
|
|
251
|
+
switch (w) {
|
|
252
252
|
case p:
|
|
253
253
|
return z ? S(1, 0) : S(31, 11);
|
|
254
254
|
case m:
|
|
@@ -271,7 +271,7 @@ function Mr() {
|
|
|
271
271
|
}, U.endOf = function(T) {
|
|
272
272
|
return this.startOf(T, !1);
|
|
273
273
|
}, U.$set = function(T, D) {
|
|
274
|
-
var I, z =
|
|
274
|
+
var I, z = P.p(T), w = "set" + (this.$u ? "UTC" : ""), S = (I = {}, I[l] = w + "Date", I[g] = w + "Date", I[m] = w + "Month", I[p] = w + "FullYear", I[d] = w + "Hours", I[c] = w + "Minutes", I[i] = w + "Seconds", I[s] = w + "Milliseconds", I)[z], q = z === l ? this.$D + (D - this.$W) : D;
|
|
275
275
|
if (z === m || z === p) {
|
|
276
276
|
var j = this.clone().set(g, 1);
|
|
277
277
|
j.$d[S](q), j.init(), this.$d = j.set(g, Math.min(this.$D, j.daysInMonth())).$d;
|
|
@@ -280,29 +280,29 @@ function Mr() {
|
|
|
280
280
|
}, U.set = function(T, D) {
|
|
281
281
|
return this.clone().$set(T, D);
|
|
282
282
|
}, U.get = function(T) {
|
|
283
|
-
return this[
|
|
283
|
+
return this[P.p(T)]();
|
|
284
284
|
}, U.add = function(T, D) {
|
|
285
285
|
var I, z = this;
|
|
286
286
|
T = Number(T);
|
|
287
|
-
var
|
|
287
|
+
var w = P.p(D), S = function(L) {
|
|
288
288
|
var H = G(z);
|
|
289
|
-
return
|
|
289
|
+
return P.w(H.date(H.date() + Math.round(L * T)), z);
|
|
290
290
|
};
|
|
291
|
-
if (
|
|
292
|
-
if (
|
|
293
|
-
if (
|
|
294
|
-
if (
|
|
295
|
-
var q = (I = {}, I[c] = r, I[d] = o, I[i] = n, I)[
|
|
296
|
-
return
|
|
291
|
+
if (w === m) return this.set(m, this.$M + T);
|
|
292
|
+
if (w === p) return this.set(p, this.$y + T);
|
|
293
|
+
if (w === l) return S(1);
|
|
294
|
+
if (w === u) return S(7);
|
|
295
|
+
var q = (I = {}, I[c] = r, I[d] = o, I[i] = n, I)[w] || 1, j = this.$d.getTime() + T * q;
|
|
296
|
+
return P.w(j, this);
|
|
297
297
|
}, U.subtract = function(T, D) {
|
|
298
298
|
return this.add(-1 * T, D);
|
|
299
299
|
}, U.format = function(T) {
|
|
300
300
|
var D = this, I = this.$locale();
|
|
301
301
|
if (!this.isValid()) return I.invalidDate || A;
|
|
302
|
-
var z = T || "YYYY-MM-DDTHH:mm:ssZ",
|
|
302
|
+
var z = T || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), S = this.$H, q = this.$m, j = this.$M, L = I.weekdays, H = I.months, V = I.meridiem, F = function($, ie, R, Ae) {
|
|
303
303
|
return $ && ($[ie] || $(D, z)) || R[ie].slice(0, Ae);
|
|
304
304
|
}, Z = function($) {
|
|
305
|
-
return
|
|
305
|
+
return P.s(S % 12 || 12, $, "0");
|
|
306
306
|
}, X = V || function($, ie, R) {
|
|
307
307
|
var Ae = $ < 12 ? "AM" : "PM";
|
|
308
308
|
return R ? Ae.toLowerCase() : Ae;
|
|
@@ -313,11 +313,11 @@ function Mr() {
|
|
|
313
313
|
case "YY":
|
|
314
314
|
return String(D.$y).slice(-2);
|
|
315
315
|
case "YYYY":
|
|
316
|
-
return
|
|
316
|
+
return P.s(D.$y, 4, "0");
|
|
317
317
|
case "M":
|
|
318
318
|
return j + 1;
|
|
319
319
|
case "MM":
|
|
320
|
-
return
|
|
320
|
+
return P.s(j + 1, 2, "0");
|
|
321
321
|
case "MMM":
|
|
322
322
|
return F(I.monthsShort, j, H, 3);
|
|
323
323
|
case "MMMM":
|
|
@@ -325,7 +325,7 @@ function Mr() {
|
|
|
325
325
|
case "D":
|
|
326
326
|
return D.$D;
|
|
327
327
|
case "DD":
|
|
328
|
-
return
|
|
328
|
+
return P.s(D.$D, 2, "0");
|
|
329
329
|
case "d":
|
|
330
330
|
return String(D.$W);
|
|
331
331
|
case "dd":
|
|
@@ -337,7 +337,7 @@ function Mr() {
|
|
|
337
337
|
case "H":
|
|
338
338
|
return String(S);
|
|
339
339
|
case "HH":
|
|
340
|
-
return
|
|
340
|
+
return P.s(S, 2, "0");
|
|
341
341
|
case "h":
|
|
342
342
|
return Z(1);
|
|
343
343
|
case "hh":
|
|
@@ -349,24 +349,24 @@ function Mr() {
|
|
|
349
349
|
case "m":
|
|
350
350
|
return String(q);
|
|
351
351
|
case "mm":
|
|
352
|
-
return
|
|
352
|
+
return P.s(q, 2, "0");
|
|
353
353
|
case "s":
|
|
354
354
|
return String(D.$s);
|
|
355
355
|
case "ss":
|
|
356
|
-
return
|
|
356
|
+
return P.s(D.$s, 2, "0");
|
|
357
357
|
case "SSS":
|
|
358
|
-
return
|
|
358
|
+
return P.s(D.$ms, 3, "0");
|
|
359
359
|
case "Z":
|
|
360
|
-
return
|
|
360
|
+
return w;
|
|
361
361
|
}
|
|
362
362
|
return null;
|
|
363
|
-
})($) ||
|
|
363
|
+
})($) || w.replace(":", "");
|
|
364
364
|
}));
|
|
365
365
|
}, U.utcOffset = function() {
|
|
366
366
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
367
367
|
}, U.diff = function(T, D, I) {
|
|
368
|
-
var z,
|
|
369
|
-
return
|
|
368
|
+
var z, w = this, S = P.p(D), q = G(T), j = (q.utcOffset() - this.utcOffset()) * r, L = this - q, H = function() {
|
|
369
|
+
return P.m(w, q);
|
|
370
370
|
};
|
|
371
371
|
switch (S) {
|
|
372
372
|
case p:
|
|
@@ -396,7 +396,7 @@ function Mr() {
|
|
|
396
396
|
default:
|
|
397
397
|
z = L;
|
|
398
398
|
}
|
|
399
|
-
return I ? z :
|
|
399
|
+
return I ? z : P.a(z);
|
|
400
400
|
}, U.daysInMonth = function() {
|
|
401
401
|
return this.endOf(m).$D;
|
|
402
402
|
}, U.$locale = function() {
|
|
@@ -406,7 +406,7 @@ function Mr() {
|
|
|
406
406
|
var I = this.clone(), z = te(T, D, !0);
|
|
407
407
|
return z && (I.$L = z), I;
|
|
408
408
|
}, U.clone = function() {
|
|
409
|
-
return
|
|
409
|
+
return P.w(this.$d, this);
|
|
410
410
|
}, U.toDate = function() {
|
|
411
411
|
return new Date(this.valueOf());
|
|
412
412
|
}, U.toJSON = function() {
|
|
@@ -444,19 +444,19 @@ function Zo() {
|
|
|
444
444
|
return s.fromToBase(l, u, m, h);
|
|
445
445
|
}
|
|
446
446
|
o.en.relativeTime = i, s.fromToBase = function(l, u, m, h, p) {
|
|
447
|
-
for (var g, A,
|
|
447
|
+
for (var g, A, y, v = m.$locale().relativeTime || i, N = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], _ = N.length, E = 0; E < _; E += 1) {
|
|
448
448
|
var b = N[E];
|
|
449
449
|
b.d && (g = h ? o(l).diff(m, b.d, !0) : m.diff(l, b.d, !0));
|
|
450
450
|
var x = (n.rounding || Math.round)(Math.abs(g));
|
|
451
|
-
if (
|
|
451
|
+
if (y = g > 0, x <= b.r || !b.r) {
|
|
452
452
|
x <= 1 && E > 0 && (b = N[E - 1]);
|
|
453
|
-
var
|
|
454
|
-
p && (x = p("" + x)), A = typeof
|
|
453
|
+
var O = v[b.l];
|
|
454
|
+
p && (x = p("" + x)), A = typeof O == "string" ? O.replace("%d", x) : O(x, u, b.l, y);
|
|
455
455
|
break;
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
if (u) return A;
|
|
459
|
-
var Q =
|
|
459
|
+
var Q = y ? v.future : v.past;
|
|
460
460
|
return typeof Q == "function" ? Q(A) : Q.replace("%s", A);
|
|
461
461
|
}, s.to = function(l, u) {
|
|
462
462
|
return c(l, u, this, !0);
|
|
@@ -477,9 +477,9 @@ function Zo() {
|
|
|
477
477
|
}
|
|
478
478
|
var Xo = Zo();
|
|
479
479
|
const es = /* @__PURE__ */ _t(Xo);
|
|
480
|
-
var ln = { exports: {} }, ts = ln.exports,
|
|
480
|
+
var ln = { exports: {} }, ts = ln.exports, Oa;
|
|
481
481
|
function ns() {
|
|
482
|
-
return
|
|
482
|
+
return Oa || (Oa = 1, (function(e, t) {
|
|
483
483
|
(function(n, r) {
|
|
484
484
|
e.exports = r(Mr());
|
|
485
485
|
})(ts, (function(n) {
|
|
@@ -494,9 +494,9 @@ function ns() {
|
|
|
494
494
|
})(ln)), ln.exports;
|
|
495
495
|
}
|
|
496
496
|
ns();
|
|
497
|
-
var dn = { exports: {} }, as = dn.exports,
|
|
497
|
+
var dn = { exports: {} }, as = dn.exports, Pa;
|
|
498
498
|
function rs() {
|
|
499
|
-
return
|
|
499
|
+
return Pa || (Pa = 1, (function(e, t) {
|
|
500
500
|
(function(n, r) {
|
|
501
501
|
e.exports = r();
|
|
502
502
|
})(as, (function() {
|
|
@@ -504,11 +504,11 @@ function rs() {
|
|
|
504
504
|
return function(s, i, c) {
|
|
505
505
|
var d = i.prototype;
|
|
506
506
|
c.utc = function(A) {
|
|
507
|
-
var
|
|
508
|
-
return new i(
|
|
507
|
+
var y = { date: A, utc: !0, args: arguments };
|
|
508
|
+
return new i(y);
|
|
509
509
|
}, d.utc = function(A) {
|
|
510
|
-
var
|
|
511
|
-
return A ?
|
|
510
|
+
var y = c(this.toDate(), { locale: this.$L, utc: !0 });
|
|
511
|
+
return A ? y.add(this.utcOffset(), n) : y;
|
|
512
512
|
}, d.local = function() {
|
|
513
513
|
return c(this.toDate(), { locale: this.$L, utc: !1 });
|
|
514
514
|
};
|
|
@@ -524,27 +524,27 @@ function rs() {
|
|
|
524
524
|
} else u.call(this);
|
|
525
525
|
};
|
|
526
526
|
var m = d.utcOffset;
|
|
527
|
-
d.utcOffset = function(A,
|
|
527
|
+
d.utcOffset = function(A, y) {
|
|
528
528
|
var v = this.$utils().u;
|
|
529
529
|
if (v(A)) return this.$u ? 0 : v(this.$offset) ? m.call(this) : this.$offset;
|
|
530
530
|
if (typeof A == "string" && (A = (function(b) {
|
|
531
531
|
b === void 0 && (b = "");
|
|
532
532
|
var x = b.match(r);
|
|
533
533
|
if (!x) return null;
|
|
534
|
-
var
|
|
534
|
+
var O = ("" + x[0]).match(o) || ["-", 0, 0], Q = O[0], te = 60 * +O[1] + +O[2];
|
|
535
535
|
return te === 0 ? 0 : Q === "+" ? te : -te;
|
|
536
536
|
})(A), A === null)) return this;
|
|
537
537
|
var N = Math.abs(A) <= 16 ? 60 * A : A;
|
|
538
|
-
if (N === 0) return this.utc(
|
|
538
|
+
if (N === 0) return this.utc(y);
|
|
539
539
|
var _ = this.clone();
|
|
540
|
-
if (
|
|
540
|
+
if (y) return _.$offset = N, _.$u = !1, _;
|
|
541
541
|
var E = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
542
542
|
return (_ = this.local().add(N + E, n)).$offset = N, _.$x.$localOffset = E, _;
|
|
543
543
|
};
|
|
544
544
|
var h = d.format;
|
|
545
545
|
d.format = function(A) {
|
|
546
|
-
var
|
|
547
|
-
return h.call(this,
|
|
546
|
+
var y = A || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
547
|
+
return h.call(this, y);
|
|
548
548
|
}, d.valueOf = function() {
|
|
549
549
|
var A = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
550
550
|
return this.$d.valueOf() - 6e4 * A;
|
|
@@ -560,10 +560,10 @@ function rs() {
|
|
|
560
560
|
return A === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
|
|
561
561
|
};
|
|
562
562
|
var g = d.diff;
|
|
563
|
-
d.diff = function(A,
|
|
564
|
-
if (A && this.$u === A.$u) return g.call(this, A,
|
|
563
|
+
d.diff = function(A, y, v) {
|
|
564
|
+
if (A && this.$u === A.$u) return g.call(this, A, y, v);
|
|
565
565
|
var N = this.local(), _ = c(A).local();
|
|
566
|
-
return g.call(N, _,
|
|
566
|
+
return g.call(N, _, y, v);
|
|
567
567
|
};
|
|
568
568
|
};
|
|
569
569
|
}));
|
|
@@ -581,23 +581,23 @@ function cs() {
|
|
|
581
581
|
return function(o, s, i) {
|
|
582
582
|
var c, d = function(h, p, g) {
|
|
583
583
|
g === void 0 && (g = {});
|
|
584
|
-
var A = new Date(h),
|
|
584
|
+
var A = new Date(h), y = (function(v, N) {
|
|
585
585
|
N === void 0 && (N = {});
|
|
586
586
|
var _ = N.timeZoneName || "short", E = v + "|" + _, b = r[E];
|
|
587
587
|
return b || (b = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: v, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: _ }), r[E] = b), b;
|
|
588
588
|
})(p, g);
|
|
589
|
-
return
|
|
589
|
+
return y.formatToParts(A);
|
|
590
590
|
}, l = function(h, p) {
|
|
591
|
-
for (var g = d(h, p), A = [],
|
|
592
|
-
var v = g[
|
|
591
|
+
for (var g = d(h, p), A = [], y = 0; y < g.length; y += 1) {
|
|
592
|
+
var v = g[y], N = v.type, _ = v.value, E = n[N];
|
|
593
593
|
E >= 0 && (A[E] = parseInt(_, 10));
|
|
594
594
|
}
|
|
595
|
-
var b = A[3], x = b === 24 ? 0 : b,
|
|
596
|
-
return (i.utc(
|
|
595
|
+
var b = A[3], x = b === 24 ? 0 : b, O = A[0] + "-" + A[1] + "-" + A[2] + " " + x + ":" + A[4] + ":" + A[5] + ":000", Q = +h;
|
|
596
|
+
return (i.utc(O).valueOf() - (Q -= Q % 1e3)) / 6e4;
|
|
597
597
|
}, u = s.prototype;
|
|
598
598
|
u.tz = function(h, p) {
|
|
599
599
|
h === void 0 && (h = c);
|
|
600
|
-
var g, A = this.utcOffset(),
|
|
600
|
+
var g, A = this.utcOffset(), y = this.toDate(), v = y.toLocaleString("en-US", { timeZone: h }), N = Math.round((y - new Date(v)) / 1e3 / 60), _ = 15 * -Math.round(y.getTimezoneOffset() / 15) - N;
|
|
601
601
|
if (!Number(_)) g = this.utcOffset(0, p);
|
|
602
602
|
else if (g = i(v, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(_, !0), p) {
|
|
603
603
|
var E = g.utcOffset();
|
|
@@ -616,15 +616,15 @@ function cs() {
|
|
|
616
616
|
var g = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
617
617
|
return m.call(g, h, p).tz(this.$x.$timezone, !0);
|
|
618
618
|
}, i.tz = function(h, p, g) {
|
|
619
|
-
var A = g && p,
|
|
620
|
-
if (typeof h != "string") return i(h).tz(
|
|
621
|
-
var N = (function(x,
|
|
622
|
-
var te = x - 60 *
|
|
623
|
-
if (
|
|
624
|
-
var
|
|
625
|
-
return G ===
|
|
626
|
-
})(i.utc(h, A).valueOf(), v,
|
|
627
|
-
return b.$x.$timezone =
|
|
619
|
+
var A = g && p, y = g || p || c, v = l(+i(), y);
|
|
620
|
+
if (typeof h != "string") return i(h).tz(y);
|
|
621
|
+
var N = (function(x, O, Q) {
|
|
622
|
+
var te = x - 60 * O * 1e3, G = l(te, Q);
|
|
623
|
+
if (O === G) return [te, O];
|
|
624
|
+
var P = l(te -= 60 * (G - O) * 1e3, Q);
|
|
625
|
+
return G === P ? [te, G] : [x - 60 * Math.min(G, P) * 1e3, Math.max(G, P)];
|
|
626
|
+
})(i.utc(h, A).valueOf(), v, y), _ = N[0], E = N[1], b = i(_).utcOffset(E);
|
|
627
|
+
return b.$x.$timezone = y, b;
|
|
628
628
|
}, i.tz.guess = function() {
|
|
629
629
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
630
630
|
}, i.tz.setDefault = function(h) {
|
|
@@ -640,18 +640,18 @@ Ee.extend(ss);
|
|
|
640
640
|
Ee.extend(ds);
|
|
641
641
|
Ee.extend(es);
|
|
642
642
|
const _n = (e) => e === "en" ? "en" : "es", Me = (e) => {
|
|
643
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
643
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = K(), r = _n(t ?? "es");
|
|
644
644
|
return Ee.tz(e, n).locale(r).format("DD MMMM YYYY");
|
|
645
645
|
}, jr = (e) => {
|
|
646
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
646
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = K(), r = _n(t ?? "es");
|
|
647
647
|
return Ee.tz(e, n).locale(r).format(
|
|
648
648
|
r === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
649
649
|
);
|
|
650
650
|
}, us = (e) => {
|
|
651
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
651
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = K(), r = _n(t ?? "es");
|
|
652
652
|
return Ee.tz(e, n).locale(r).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
653
|
-
},
|
|
654
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } =
|
|
653
|
+
}, w9 = (e) => {
|
|
654
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = K(), r = _n(t ?? "es");
|
|
655
655
|
return Ee.tz(e, n).locale(r).format("dddd DD [de] MMMM YYYY");
|
|
656
656
|
}, je = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
657
657
|
function Qr(e) {
|
|
@@ -725,14 +725,14 @@ const b9 = async (e, t) => {
|
|
|
725
725
|
(s) => Qr(s)?.data
|
|
726
726
|
);
|
|
727
727
|
}, Mt = () => {
|
|
728
|
-
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } =
|
|
728
|
+
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } = K();
|
|
729
729
|
return e == "local" ? t : n && n !== "false" ? n : "";
|
|
730
730
|
}, ms = () => {
|
|
731
|
-
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } =
|
|
731
|
+
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = K();
|
|
732
732
|
return e === "local" ? t : "";
|
|
733
733
|
}, fs = (e, t) => {
|
|
734
734
|
if (!e) return {};
|
|
735
|
-
const { PUBLIC_ASSETS_URL: n, PUBLIC_API_FRONT: r } =
|
|
735
|
+
const { PUBLIC_ASSETS_URL: n, PUBLIC_API_FRONT: r } = K(), o = Gr(e.keywords) ?? "", s = e?.preview?.sizes ? e?.preview?.sizes[0]?.url : "", i = (n !== "false" ? n : r) ?? "";
|
|
736
736
|
return {
|
|
737
737
|
title: (e?.main?.title?.seo ?? e?.main?.title?.article) + " | " + t.name,
|
|
738
738
|
robots: "index, follow, max-image-preview:large",
|
|
@@ -791,7 +791,7 @@ const b9 = async (e, t) => {
|
|
|
791
791
|
"twitter.description": { attr: "name", value: "twitter:description" },
|
|
792
792
|
"twitter.site": { attr: "name", value: "twitter:site" },
|
|
793
793
|
"twitter.creator": { attr: "name", value: "twitter:creator" }
|
|
794
|
-
},
|
|
794
|
+
}, ys = (e) => {
|
|
795
795
|
const t = [];
|
|
796
796
|
let n = 0;
|
|
797
797
|
const r = (i) => t.push(i);
|
|
@@ -920,7 +920,7 @@ const b9 = async (e, t) => {
|
|
|
920
920
|
const t = e.banners.find((s) => s.key === e.name);
|
|
921
921
|
if (!t || !t.show) return null;
|
|
922
922
|
const n = ma(t.value || "", e.replaces), r = /<script([^>]*)>([\s\S]*?)<\/script\s*>/gi, o = [...n.matchAll(r)];
|
|
923
|
-
return /* @__PURE__ */ a(
|
|
923
|
+
return /* @__PURE__ */ a(Y, { children: o.map((s, i) => {
|
|
924
924
|
const c = s[1] || "", d = s[2]?.trim() || "", l = c.match(/src=["']([^"']+)["']/i);
|
|
925
925
|
if (l) {
|
|
926
926
|
const u = l[1];
|
|
@@ -935,11 +935,11 @@ const b9 = async (e, t) => {
|
|
|
935
935
|
i
|
|
936
936
|
);
|
|
937
937
|
}) });
|
|
938
|
-
},
|
|
938
|
+
}, ws = (e) => {
|
|
939
939
|
const t = e.banners.find((o) => o.key === e.name);
|
|
940
940
|
if (!t || !t.show) return null;
|
|
941
941
|
const r = ma(t.value || "", e.replaces).split(/(<script[\s\S]*?<\/script\s*>)/gi);
|
|
942
|
-
return /* @__PURE__ */ a(
|
|
942
|
+
return /* @__PURE__ */ a(Y, { children: r.map((o, s) => {
|
|
943
943
|
const i = o.match(
|
|
944
944
|
/<script([^>]*)>([\s\S]*?)<\/script\s*>/i
|
|
945
945
|
);
|
|
@@ -977,9 +977,9 @@ function C9(e) {
|
|
|
977
977
|
return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
|
|
978
978
|
}
|
|
979
979
|
const vs = () => {
|
|
980
|
-
const { PUBLIC_ASSETS_URL: e } =
|
|
980
|
+
const { PUBLIC_ASSETS_URL: e } = K();
|
|
981
981
|
return e && e !== "false" && /* @__PURE__ */ a("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" });
|
|
982
|
-
}, { PUBLIC_ASSETS_URL: Un } =
|
|
982
|
+
}, { PUBLIC_ASSETS_URL: Un } = K(), bs = Un && Un !== "false" ? Un : "", Ma = ({ images: e }) => /* @__PURE__ */ a(Y, { children: e.map(
|
|
983
983
|
(t, n) => t.href !== "" && /* @__PURE__ */ a(
|
|
984
984
|
"link",
|
|
985
985
|
{
|
|
@@ -993,7 +993,7 @@ const vs = () => {
|
|
|
993
993
|
)
|
|
994
994
|
) }), Cs = (e, t) => {
|
|
995
995
|
if (!e) return {};
|
|
996
|
-
const { PUBLIC_API_FRONT: n } =
|
|
996
|
+
const { PUBLIC_API_FRONT: n } = K();
|
|
997
997
|
return {
|
|
998
998
|
title: e?.main?.title + " | " + t.name,
|
|
999
999
|
robots: "index, follow, max-image-preview:large",
|
|
@@ -1105,7 +1105,7 @@ const vt = (e, t) => {
|
|
|
1105
1105
|
pathname: n,
|
|
1106
1106
|
ROUTE: r
|
|
1107
1107
|
}) => {
|
|
1108
|
-
const { PUBLIC_PUBLICATION_ID: o = "" } =
|
|
1108
|
+
const { PUBLIC_PUBLICATION_ID: o = "" } = K();
|
|
1109
1109
|
let s = [];
|
|
1110
1110
|
const i = n === "/" || n === "/index.html" ? void 0 : Ls(Bs[r]({ pathname: n, config: e })), c = Es[r] ?? void 0, d = {
|
|
1111
1111
|
newstype: e.newsType,
|
|
@@ -1133,7 +1133,7 @@ const vt = (e, t) => {
|
|
|
1133
1133
|
);
|
|
1134
1134
|
};
|
|
1135
1135
|
function ga(e) {
|
|
1136
|
-
const { PUBLIC_ASSETS_URL: t } =
|
|
1136
|
+
const { PUBLIC_ASSETS_URL: t } = K();
|
|
1137
1137
|
if (!t || t === "false") return e;
|
|
1138
1138
|
const n = t.replace(/\/+$/, ""), r = /https?:\/\/[^/\s]+\/(arte|__export)\//g;
|
|
1139
1139
|
return e.replace(r, (o, s) => `${n}/${s}/`);
|
|
@@ -1144,7 +1144,7 @@ const Is = async ({
|
|
|
1144
1144
|
BASE_URL: n,
|
|
1145
1145
|
axiosApi: r
|
|
1146
1146
|
}) => {
|
|
1147
|
-
const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: s } =
|
|
1147
|
+
const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: s } = K();
|
|
1148
1148
|
let i = [];
|
|
1149
1149
|
try {
|
|
1150
1150
|
const c = t.socialBlockLogo?.url ? new URL(t.socialBlockLogo.url).pathname : void 0, d = t.landscapeLogo?.url ? new URL(t.landscapeLogo.url).pathname : void 0, l = {
|
|
@@ -1159,8 +1159,8 @@ const Is = async ({
|
|
|
1159
1159
|
}, u = e.split("/")[1], m = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], h = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, p = o !== "false" && s !== "false" ? "/" + o + h : h;
|
|
1160
1160
|
i = (await Promise.all(
|
|
1161
1161
|
m.map(async (A) => {
|
|
1162
|
-
const
|
|
1163
|
-
return await fa(
|
|
1162
|
+
const y = A === "/news-breadcrumb" ? { ...l, prefixtag: p } : l;
|
|
1163
|
+
return await fa(y, A, r);
|
|
1164
1164
|
})
|
|
1165
1165
|
)).map((A) => A?.data?.data ?? []);
|
|
1166
1166
|
} catch (c) {
|
|
@@ -1247,7 +1247,7 @@ const Is = async ({
|
|
|
1247
1247
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
1248
1248
|
}
|
|
1249
1249
|
`;
|
|
1250
|
-
return /* @__PURE__ */ a(
|
|
1250
|
+
return /* @__PURE__ */ a(Y, { children: e.useS3Font ? /* @__PURE__ */ f(Y, { children: [
|
|
1251
1251
|
/* @__PURE__ */ a(
|
|
1252
1252
|
"link",
|
|
1253
1253
|
{
|
|
@@ -1508,15 +1508,15 @@ function Vr(e, t) {
|
|
|
1508
1508
|
return e.apply(t, arguments);
|
|
1509
1509
|
};
|
|
1510
1510
|
}
|
|
1511
|
-
const { toString:
|
|
1512
|
-
const n =
|
|
1511
|
+
const { toString: Os } = Object.prototype, { getPrototypeOf: pa } = Object, { iterator: Nn, toStringTag: Fr } = Symbol, Sn = /* @__PURE__ */ ((e) => (t) => {
|
|
1512
|
+
const n = Os.call(t);
|
|
1513
1513
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
1514
1514
|
})(/* @__PURE__ */ Object.create(null)), Be = (e) => (e = e.toLowerCase(), (t) => Sn(t) === e), xn = (e) => (t) => typeof t === e, { isArray: Nt } = Array, bt = xn("undefined");
|
|
1515
1515
|
function Qt(e) {
|
|
1516
1516
|
return e !== null && !bt(e) && e.constructor !== null && !bt(e.constructor) && Ce(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
1517
1517
|
}
|
|
1518
1518
|
const $r = Be("ArrayBuffer");
|
|
1519
|
-
function
|
|
1519
|
+
function Ps(e) {
|
|
1520
1520
|
let t;
|
|
1521
1521
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && $r(e.buffer), t;
|
|
1522
1522
|
}
|
|
@@ -1674,19 +1674,19 @@ const pi = (e) => {
|
|
|
1674
1674
|
return r;
|
|
1675
1675
|
};
|
|
1676
1676
|
return n(e, 0);
|
|
1677
|
-
}, Ai = Be("AsyncFunction"),
|
|
1677
|
+
}, Ai = Be("AsyncFunction"), yi = (e) => e && (Gt(e) || Ce(e)) && Ce(e.then) && Ce(e.catch), Zr = ((e, t) => e ? setImmediate : t ? ((n, r) => (dt.addEventListener("message", ({ source: o, data: s }) => {
|
|
1678
1678
|
o === dt && s === n && r.length && r.shift()();
|
|
1679
1679
|
}, !1), (o) => {
|
|
1680
1680
|
r.push(o), dt.postMessage(n, "*");
|
|
1681
1681
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
1682
1682
|
typeof setImmediate == "function",
|
|
1683
1683
|
Ce(dt.postMessage)
|
|
1684
|
-
),
|
|
1684
|
+
), wi = typeof queueMicrotask < "u" ? queueMicrotask.bind(dt) : typeof process < "u" && process.nextTick || Zr, vi = (e) => e != null && Ce(e[Nn]), C = {
|
|
1685
1685
|
isArray: Nt,
|
|
1686
1686
|
isArrayBuffer: $r,
|
|
1687
1687
|
isBuffer: Qt,
|
|
1688
1688
|
isFormData: Fs,
|
|
1689
|
-
isArrayBufferView:
|
|
1689
|
+
isArrayBufferView: Ps,
|
|
1690
1690
|
isString: Ds,
|
|
1691
1691
|
isNumber: Wr,
|
|
1692
1692
|
isBoolean: Ms,
|
|
@@ -1736,15 +1736,15 @@ const pi = (e) => {
|
|
|
1736
1736
|
isSpecCompliantForm: gi,
|
|
1737
1737
|
toJSONObject: pi,
|
|
1738
1738
|
isAsyncFn: Ai,
|
|
1739
|
-
isThenable:
|
|
1739
|
+
isThenable: yi,
|
|
1740
1740
|
setImmediate: Zr,
|
|
1741
|
-
asap:
|
|
1741
|
+
asap: wi,
|
|
1742
1742
|
isIterable: vi
|
|
1743
1743
|
};
|
|
1744
|
-
function
|
|
1744
|
+
function W(e, t, n, r, o) {
|
|
1745
1745
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
|
|
1746
1746
|
}
|
|
1747
|
-
C.inherits(
|
|
1747
|
+
C.inherits(W, Error, {
|
|
1748
1748
|
toJSON: function() {
|
|
1749
1749
|
return {
|
|
1750
1750
|
// Standard
|
|
@@ -1765,7 +1765,7 @@ C.inherits(Y, Error, {
|
|
|
1765
1765
|
};
|
|
1766
1766
|
}
|
|
1767
1767
|
});
|
|
1768
|
-
const Xr =
|
|
1768
|
+
const Xr = W.prototype, eo = {};
|
|
1769
1769
|
[
|
|
1770
1770
|
"ERR_BAD_OPTION_VALUE",
|
|
1771
1771
|
"ERR_BAD_OPTION",
|
|
@@ -1783,15 +1783,15 @@ const Xr = Y.prototype, eo = {};
|
|
|
1783
1783
|
].forEach((e) => {
|
|
1784
1784
|
eo[e] = { value: e };
|
|
1785
1785
|
});
|
|
1786
|
-
Object.defineProperties(
|
|
1786
|
+
Object.defineProperties(W, eo);
|
|
1787
1787
|
Object.defineProperty(Xr, "isAxiosError", { value: !0 });
|
|
1788
|
-
|
|
1788
|
+
W.from = (e, t, n, r, o, s) => {
|
|
1789
1789
|
const i = Object.create(Xr);
|
|
1790
1790
|
C.toFlatObject(e, i, function(u) {
|
|
1791
1791
|
return u !== Error.prototype;
|
|
1792
1792
|
}, (l) => l !== "isAxiosError");
|
|
1793
1793
|
const c = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
|
|
1794
|
-
return
|
|
1794
|
+
return W.call(i, c, d, n, r, o), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", s && Object.assign(i, s), i;
|
|
1795
1795
|
};
|
|
1796
1796
|
const bi = null;
|
|
1797
1797
|
function ta(e) {
|
|
@@ -1818,8 +1818,8 @@ function En(e, t, n) {
|
|
|
1818
1818
|
metaTokens: !0,
|
|
1819
1819
|
dots: !1,
|
|
1820
1820
|
indexes: !1
|
|
1821
|
-
}, !1, function(A,
|
|
1822
|
-
return !C.isUndefined(
|
|
1821
|
+
}, !1, function(A, y) {
|
|
1822
|
+
return !C.isUndefined(y[A]);
|
|
1823
1823
|
});
|
|
1824
1824
|
const r = n.metaTokens, o = n.visitor || u, s = n.dots, i = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && C.isSpecCompliantForm(t);
|
|
1825
1825
|
if (!C.isFunction(o))
|
|
@@ -1831,12 +1831,12 @@ function En(e, t, n) {
|
|
|
1831
1831
|
if (C.isBoolean(g))
|
|
1832
1832
|
return g.toString();
|
|
1833
1833
|
if (!d && C.isBlob(g))
|
|
1834
|
-
throw new
|
|
1834
|
+
throw new W("Blob is not supported. Use a Buffer instead.");
|
|
1835
1835
|
return C.isArrayBuffer(g) || C.isTypedArray(g) ? d && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
|
|
1836
1836
|
}
|
|
1837
|
-
function u(g, A,
|
|
1837
|
+
function u(g, A, y) {
|
|
1838
1838
|
let v = g;
|
|
1839
|
-
if (g && !
|
|
1839
|
+
if (g && !y && typeof g == "object") {
|
|
1840
1840
|
if (C.endsWith(A, "{}"))
|
|
1841
1841
|
A = r ? A : A.slice(0, -2), g = JSON.stringify(g);
|
|
1842
1842
|
else if (C.isArray(g) && Ci(g) || (C.isFileList(g) || C.endsWith(A, "[]")) && (v = C.toArray(g)))
|
|
@@ -1848,7 +1848,7 @@ function En(e, t, n) {
|
|
|
1848
1848
|
);
|
|
1849
1849
|
}), !1;
|
|
1850
1850
|
}
|
|
1851
|
-
return ta(g) ? !0 : (t.append(Qa(
|
|
1851
|
+
return ta(g) ? !0 : (t.append(Qa(y, A, s), l(g)), !1);
|
|
1852
1852
|
}
|
|
1853
1853
|
const m = [], h = Object.assign(_i, {
|
|
1854
1854
|
defaultVisitor: u,
|
|
@@ -1987,10 +1987,10 @@ const ro = {
|
|
|
1987
1987
|
Blob: Ei
|
|
1988
1988
|
},
|
|
1989
1989
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
1990
|
-
},
|
|
1991
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ui =
|
|
1990
|
+
}, ya = typeof window < "u" && typeof document < "u", na = typeof navigator == "object" && navigator || void 0, Ii = ya && (!na || ["ReactNative", "NativeScript", "NS"].indexOf(na.product) < 0), ki = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
1991
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ui = ya && window.location.href || "http://localhost", qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1992
1992
|
__proto__: null,
|
|
1993
|
-
hasBrowserEnv:
|
|
1993
|
+
hasBrowserEnv: ya,
|
|
1994
1994
|
hasStandardBrowserEnv: Ii,
|
|
1995
1995
|
hasStandardBrowserWebWorkerEnv: ki,
|
|
1996
1996
|
navigator: na,
|
|
@@ -2034,7 +2034,7 @@ function oo(e) {
|
|
|
2034
2034
|
}
|
|
2035
2035
|
return null;
|
|
2036
2036
|
}
|
|
2037
|
-
function
|
|
2037
|
+
function Oi(e, t, n) {
|
|
2038
2038
|
if (C.isString(e))
|
|
2039
2039
|
try {
|
|
2040
2040
|
return (t || JSON.parse)(e), C.trim(e);
|
|
@@ -2070,7 +2070,7 @@ const zt = {
|
|
|
2070
2070
|
);
|
|
2071
2071
|
}
|
|
2072
2072
|
}
|
|
2073
|
-
return s || o ? (n.setContentType("application/json", !1),
|
|
2073
|
+
return s || o ? (n.setContentType("application/json", !1), Oi(t)) : t;
|
|
2074
2074
|
}],
|
|
2075
2075
|
transformResponse: [function(t) {
|
|
2076
2076
|
const n = this.transitional || zt.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
|
|
@@ -2082,7 +2082,7 @@ const zt = {
|
|
|
2082
2082
|
return JSON.parse(t, this.parseReviver);
|
|
2083
2083
|
} catch (c) {
|
|
2084
2084
|
if (i)
|
|
2085
|
-
throw c.name === "SyntaxError" ?
|
|
2085
|
+
throw c.name === "SyntaxError" ? W.from(c, W.ERR_BAD_RESPONSE, this, null, this.response) : c;
|
|
2086
2086
|
}
|
|
2087
2087
|
}
|
|
2088
2088
|
return t;
|
|
@@ -2113,7 +2113,7 @@ const zt = {
|
|
|
2113
2113
|
C.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
2114
2114
|
zt.headers[e] = {};
|
|
2115
2115
|
});
|
|
2116
|
-
const
|
|
2116
|
+
const Pi = C.toObjectSet([
|
|
2117
2117
|
"age",
|
|
2118
2118
|
"authorization",
|
|
2119
2119
|
"content-length",
|
|
@@ -2136,7 +2136,7 @@ const Oi = C.toObjectSet([
|
|
|
2136
2136
|
let n, r, o;
|
|
2137
2137
|
return e && e.split(`
|
|
2138
2138
|
`).forEach(function(i) {
|
|
2139
|
-
o = i.indexOf(":"), n = i.substring(0, o).trim().toLowerCase(), r = i.substring(o + 1).trim(), !(!n || t[n] &&
|
|
2139
|
+
o = i.indexOf(":"), n = i.substring(0, o).trim().toLowerCase(), r = i.substring(o + 1).trim(), !(!n || t[n] && Pi[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
2140
2140
|
}), t;
|
|
2141
2141
|
}, za = Symbol("internals");
|
|
2142
2142
|
function It(e) {
|
|
@@ -2325,16 +2325,16 @@ function so(e) {
|
|
|
2325
2325
|
return !!(e && e.__CANCEL__);
|
|
2326
2326
|
}
|
|
2327
2327
|
function St(e, t, n) {
|
|
2328
|
-
|
|
2328
|
+
W.call(this, e ?? "canceled", W.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
2329
2329
|
}
|
|
2330
|
-
C.inherits(St,
|
|
2330
|
+
C.inherits(St, W, {
|
|
2331
2331
|
__CANCEL__: !0
|
|
2332
2332
|
});
|
|
2333
2333
|
function io(e, t, n) {
|
|
2334
2334
|
const r = n.config.validateStatus;
|
|
2335
|
-
!n.status || !r || r(n.status) ? e(n) : t(new
|
|
2335
|
+
!n.status || !r || r(n.status) ? e(n) : t(new W(
|
|
2336
2336
|
"Request failed with status code " + n.status,
|
|
2337
|
-
[
|
|
2337
|
+
[W.ERR_BAD_REQUEST, W.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
2338
2338
|
n.config,
|
|
2339
2339
|
n.request,
|
|
2340
2340
|
n
|
|
@@ -2535,54 +2535,54 @@ const lo = (e) => {
|
|
|
2535
2535
|
function A() {
|
|
2536
2536
|
p && p(), g && g(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
|
|
2537
2537
|
}
|
|
2538
|
-
let
|
|
2539
|
-
|
|
2538
|
+
let y = new XMLHttpRequest();
|
|
2539
|
+
y.open(o.method.toUpperCase(), o.url, !0), y.timeout = o.timeout;
|
|
2540
2540
|
function v() {
|
|
2541
|
-
if (!
|
|
2541
|
+
if (!y)
|
|
2542
2542
|
return;
|
|
2543
2543
|
const _ = _e.from(
|
|
2544
|
-
"getAllResponseHeaders" in
|
|
2544
|
+
"getAllResponseHeaders" in y && y.getAllResponseHeaders()
|
|
2545
2545
|
), b = {
|
|
2546
|
-
data: !c || c === "text" || c === "json" ?
|
|
2547
|
-
status:
|
|
2548
|
-
statusText:
|
|
2546
|
+
data: !c || c === "text" || c === "json" ? y.responseText : y.response,
|
|
2547
|
+
status: y.status,
|
|
2548
|
+
statusText: y.statusText,
|
|
2549
2549
|
headers: _,
|
|
2550
2550
|
config: e,
|
|
2551
|
-
request:
|
|
2551
|
+
request: y
|
|
2552
2552
|
};
|
|
2553
|
-
io(function(
|
|
2554
|
-
n(
|
|
2555
|
-
}, function(
|
|
2556
|
-
r(
|
|
2557
|
-
}, b),
|
|
2558
|
-
}
|
|
2559
|
-
"onloadend" in
|
|
2560
|
-
!
|
|
2561
|
-
},
|
|
2562
|
-
|
|
2563
|
-
},
|
|
2564
|
-
const b = E && E.message ? E.message : "Network Error", x = new
|
|
2565
|
-
x.event = E || null, r(x),
|
|
2566
|
-
},
|
|
2553
|
+
io(function(O) {
|
|
2554
|
+
n(O), A();
|
|
2555
|
+
}, function(O) {
|
|
2556
|
+
r(O), A();
|
|
2557
|
+
}, b), y = null;
|
|
2558
|
+
}
|
|
2559
|
+
"onloadend" in y ? y.onloadend = v : y.onreadystatechange = function() {
|
|
2560
|
+
!y || y.readyState !== 4 || y.status === 0 && !(y.responseURL && y.responseURL.indexOf("file:") === 0) || setTimeout(v);
|
|
2561
|
+
}, y.onabort = function() {
|
|
2562
|
+
y && (r(new W("Request aborted", W.ECONNABORTED, e, y)), y = null);
|
|
2563
|
+
}, y.onerror = function(E) {
|
|
2564
|
+
const b = E && E.message ? E.message : "Network Error", x = new W(b, W.ERR_NETWORK, e, y);
|
|
2565
|
+
x.event = E || null, r(x), y = null;
|
|
2566
|
+
}, y.ontimeout = function() {
|
|
2567
2567
|
let E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
2568
2568
|
const b = o.transitional || ro;
|
|
2569
|
-
o.timeoutErrorMessage && (E = o.timeoutErrorMessage), r(new
|
|
2569
|
+
o.timeoutErrorMessage && (E = o.timeoutErrorMessage), r(new W(
|
|
2570
2570
|
E,
|
|
2571
|
-
b.clarifyTimeoutError ?
|
|
2571
|
+
b.clarifyTimeoutError ? W.ETIMEDOUT : W.ECONNABORTED,
|
|
2572
2572
|
e,
|
|
2573
|
-
|
|
2574
|
-
)),
|
|
2575
|
-
}, s === void 0 && i.setContentType(null), "setRequestHeader" in
|
|
2576
|
-
|
|
2577
|
-
}), C.isUndefined(o.withCredentials) || (
|
|
2578
|
-
|
|
2573
|
+
y
|
|
2574
|
+
)), y = null;
|
|
2575
|
+
}, s === void 0 && i.setContentType(null), "setRequestHeader" in y && C.forEach(i.toJSON(), function(E, b) {
|
|
2576
|
+
y.setRequestHeader(b, E);
|
|
2577
|
+
}), C.isUndefined(o.withCredentials) || (y.withCredentials = !!o.withCredentials), c && c !== "json" && (y.responseType = o.responseType), l && ([h, g] = An(l, !0), y.addEventListener("progress", h)), d && y.upload && ([m, p] = An(d), y.upload.addEventListener("progress", m), y.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (u = (_) => {
|
|
2578
|
+
y && (r(!_ || _.type ? new St(null, e, y) : _), y.abort(), y = null);
|
|
2579
2579
|
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
2580
2580
|
const N = Hi(o.url);
|
|
2581
2581
|
if (N && ge.protocols.indexOf(N) === -1) {
|
|
2582
|
-
r(new
|
|
2582
|
+
r(new W("Unsupported protocol " + N + ":", W.ERR_BAD_REQUEST, e));
|
|
2583
2583
|
return;
|
|
2584
2584
|
}
|
|
2585
|
-
|
|
2585
|
+
y.send(s || null);
|
|
2586
2586
|
});
|
|
2587
2587
|
}, Zi = (e, t) => {
|
|
2588
2588
|
const { length: n } = e = e ? e.filter(Boolean) : [];
|
|
@@ -2592,11 +2592,11 @@ const lo = (e) => {
|
|
|
2592
2592
|
if (!o) {
|
|
2593
2593
|
o = !0, c();
|
|
2594
2594
|
const u = l instanceof Error ? l : this.reason;
|
|
2595
|
-
r.abort(u instanceof
|
|
2595
|
+
r.abort(u instanceof W ? u : new St(u instanceof Error ? u.message : u));
|
|
2596
2596
|
}
|
|
2597
2597
|
};
|
|
2598
2598
|
let i = t && setTimeout(() => {
|
|
2599
|
-
i = null, s(new
|
|
2599
|
+
i = null, s(new W(`timeout ${t} of ms exceeded`, W.ETIMEDOUT));
|
|
2600
2600
|
}, t);
|
|
2601
2601
|
const c = () => {
|
|
2602
2602
|
e && (i && clearTimeout(i), i = null, e.forEach((l) => {
|
|
@@ -2697,11 +2697,11 @@ const lo = (e) => {
|
|
|
2697
2697
|
stream: u && ((g) => g.body)
|
|
2698
2698
|
};
|
|
2699
2699
|
o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((g) => {
|
|
2700
|
-
!m[g] && (m[g] = (A,
|
|
2700
|
+
!m[g] && (m[g] = (A, y) => {
|
|
2701
2701
|
let v = A && A[g];
|
|
2702
2702
|
if (v)
|
|
2703
2703
|
return v.call(A);
|
|
2704
|
-
throw new
|
|
2704
|
+
throw new W(`Response type '${g}' is not supported`, W.ERR_NOT_SUPPORT, y);
|
|
2705
2705
|
});
|
|
2706
2706
|
});
|
|
2707
2707
|
const h = async (g) => {
|
|
@@ -2719,32 +2719,32 @@ const lo = (e) => {
|
|
|
2719
2719
|
if (C.isURLSearchParams(g) && (g = g + ""), C.isString(g))
|
|
2720
2720
|
return (await d(g)).byteLength;
|
|
2721
2721
|
}, p = async (g, A) => {
|
|
2722
|
-
const
|
|
2723
|
-
return
|
|
2722
|
+
const y = C.toFiniteNumber(g.getContentLength());
|
|
2723
|
+
return y ?? h(A);
|
|
2724
2724
|
};
|
|
2725
2725
|
return async (g) => {
|
|
2726
2726
|
let {
|
|
2727
2727
|
url: A,
|
|
2728
|
-
method:
|
|
2728
|
+
method: y,
|
|
2729
2729
|
data: v,
|
|
2730
2730
|
signal: N,
|
|
2731
2731
|
cancelToken: _,
|
|
2732
2732
|
timeout: E,
|
|
2733
2733
|
onDownloadProgress: b,
|
|
2734
2734
|
onUploadProgress: x,
|
|
2735
|
-
responseType:
|
|
2735
|
+
responseType: O,
|
|
2736
2736
|
headers: Q,
|
|
2737
2737
|
withCredentials: te = "same-origin",
|
|
2738
2738
|
fetchOptions: G
|
|
2739
|
-
} = lo(g),
|
|
2740
|
-
|
|
2739
|
+
} = lo(g), P = t || fetch;
|
|
2740
|
+
O = O ? (O + "").toLowerCase() : "text";
|
|
2741
2741
|
let ee = Zi([N, _ && _.toAbortSignal()], E), ce = null;
|
|
2742
2742
|
const M = ee && ee.unsubscribe && (() => {
|
|
2743
2743
|
ee.unsubscribe();
|
|
2744
2744
|
});
|
|
2745
2745
|
let U;
|
|
2746
2746
|
try {
|
|
2747
|
-
if (x && l &&
|
|
2747
|
+
if (x && l && y !== "get" && y !== "head" && (U = await p(Q, v)) !== 0) {
|
|
2748
2748
|
let S = new n(A, {
|
|
2749
2749
|
method: "POST",
|
|
2750
2750
|
body: v,
|
|
@@ -2762,15 +2762,15 @@ const lo = (e) => {
|
|
|
2762
2762
|
const T = s && "credentials" in n.prototype, D = {
|
|
2763
2763
|
...G,
|
|
2764
2764
|
signal: ee,
|
|
2765
|
-
method:
|
|
2765
|
+
method: y.toUpperCase(),
|
|
2766
2766
|
headers: Q.normalize().toJSON(),
|
|
2767
2767
|
body: v,
|
|
2768
2768
|
duplex: "half",
|
|
2769
2769
|
credentials: T ? te : void 0
|
|
2770
2770
|
};
|
|
2771
2771
|
ce = s && new n(A, D);
|
|
2772
|
-
let I = await (s ?
|
|
2773
|
-
const z = u && (
|
|
2772
|
+
let I = await (s ? P(ce, G) : P(A, D));
|
|
2773
|
+
const z = u && (O === "stream" || O === "response");
|
|
2774
2774
|
if (u && (b || z && M)) {
|
|
2775
2775
|
const S = {};
|
|
2776
2776
|
["status", "statusText", "headers"].forEach((H) => {
|
|
@@ -2787,11 +2787,11 @@ const lo = (e) => {
|
|
|
2787
2787
|
S
|
|
2788
2788
|
);
|
|
2789
2789
|
}
|
|
2790
|
-
|
|
2791
|
-
let
|
|
2790
|
+
O = O || "text";
|
|
2791
|
+
let w = await m[C.findKey(m, O) || "text"](I, g);
|
|
2792
2792
|
return !z && M && M(), await new Promise((S, q) => {
|
|
2793
2793
|
io(S, q, {
|
|
2794
|
-
data:
|
|
2794
|
+
data: w,
|
|
2795
2795
|
headers: _e.from(I.headers),
|
|
2796
2796
|
status: I.status,
|
|
2797
2797
|
statusText: I.statusText,
|
|
@@ -2801,11 +2801,11 @@ const lo = (e) => {
|
|
|
2801
2801
|
});
|
|
2802
2802
|
} catch (T) {
|
|
2803
2803
|
throw M && M(), T && T.name === "TypeError" && /Load failed|fetch/i.test(T.message) ? Object.assign(
|
|
2804
|
-
new
|
|
2804
|
+
new W("Network Error", W.ERR_NETWORK, g, ce),
|
|
2805
2805
|
{
|
|
2806
2806
|
cause: T.cause || T
|
|
2807
2807
|
}
|
|
2808
|
-
) :
|
|
2808
|
+
) : W.from(T, T && T.code, g, ce);
|
|
2809
2809
|
}
|
|
2810
2810
|
};
|
|
2811
2811
|
}, rc = /* @__PURE__ */ new Map(), uo = (e) => {
|
|
@@ -2821,14 +2821,14 @@ const lo = (e) => {
|
|
|
2821
2821
|
return l;
|
|
2822
2822
|
};
|
|
2823
2823
|
uo();
|
|
2824
|
-
const
|
|
2824
|
+
const wa = {
|
|
2825
2825
|
http: bi,
|
|
2826
2826
|
xhr: Ji,
|
|
2827
2827
|
fetch: {
|
|
2828
2828
|
get: uo
|
|
2829
2829
|
}
|
|
2830
2830
|
};
|
|
2831
|
-
C.forEach(
|
|
2831
|
+
C.forEach(wa, (e, t) => {
|
|
2832
2832
|
if (e) {
|
|
2833
2833
|
try {
|
|
2834
2834
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -2846,8 +2846,8 @@ function sc(e, t) {
|
|
|
2846
2846
|
for (let i = 0; i < n; i++) {
|
|
2847
2847
|
r = e[i];
|
|
2848
2848
|
let c;
|
|
2849
|
-
if (o = r, !oc(r) && (o =
|
|
2850
|
-
throw new
|
|
2849
|
+
if (o = r, !oc(r) && (o = wa[(c = String(r)).toLowerCase()], o === void 0))
|
|
2850
|
+
throw new W(`Unknown adapter '${c}'`);
|
|
2851
2851
|
if (o && (C.isFunction(o) || (o = o.get(t))))
|
|
2852
2852
|
break;
|
|
2853
2853
|
s[c || "#" + i] = o;
|
|
@@ -2859,7 +2859,7 @@ function sc(e, t) {
|
|
|
2859
2859
|
let c = n ? i.length > 1 ? `since :
|
|
2860
2860
|
` + i.map(Xa).join(`
|
|
2861
2861
|
`) : " " + Xa(i[0]) : "as no adapter specified";
|
|
2862
|
-
throw new
|
|
2862
|
+
throw new W(
|
|
2863
2863
|
"There is no suitable adapter to dispatch the request " + c,
|
|
2864
2864
|
"ERR_NOT_SUPPORT"
|
|
2865
2865
|
);
|
|
@@ -2876,7 +2876,7 @@ const ho = {
|
|
|
2876
2876
|
* Exposes all known adapters
|
|
2877
2877
|
* @type {Object<string, Function|Object>}
|
|
2878
2878
|
*/
|
|
2879
|
-
adapters:
|
|
2879
|
+
adapters: wa
|
|
2880
2880
|
};
|
|
2881
2881
|
function Ln(e) {
|
|
2882
2882
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
@@ -2913,9 +2913,9 @@ Tn.transitional = function(t, n, r) {
|
|
|
2913
2913
|
}
|
|
2914
2914
|
return (s, i, c) => {
|
|
2915
2915
|
if (t === !1)
|
|
2916
|
-
throw new
|
|
2916
|
+
throw new W(
|
|
2917
2917
|
o(i, " has been removed" + (n ? " in " + n : "")),
|
|
2918
|
-
|
|
2918
|
+
W.ERR_DEPRECATED
|
|
2919
2919
|
);
|
|
2920
2920
|
return n && !tr[i] && (tr[i] = !0, console.warn(
|
|
2921
2921
|
o(
|
|
@@ -2930,7 +2930,7 @@ Tn.spelling = function(t) {
|
|
|
2930
2930
|
};
|
|
2931
2931
|
function ic(e, t, n) {
|
|
2932
2932
|
if (typeof e != "object")
|
|
2933
|
-
throw new
|
|
2933
|
+
throw new W("options must be an object", W.ERR_BAD_OPTION_VALUE);
|
|
2934
2934
|
const r = Object.keys(e);
|
|
2935
2935
|
let o = r.length;
|
|
2936
2936
|
for (; o-- > 0; ) {
|
|
@@ -2938,17 +2938,17 @@ function ic(e, t, n) {
|
|
|
2938
2938
|
if (i) {
|
|
2939
2939
|
const c = e[s], d = c === void 0 || i(c, s, e);
|
|
2940
2940
|
if (d !== !0)
|
|
2941
|
-
throw new
|
|
2941
|
+
throw new W("option " + s + " must be " + d, W.ERR_BAD_OPTION_VALUE);
|
|
2942
2942
|
continue;
|
|
2943
2943
|
}
|
|
2944
2944
|
if (n !== !0)
|
|
2945
|
-
throw new
|
|
2945
|
+
throw new W("Unknown option " + s, W.ERR_BAD_OPTION);
|
|
2946
2946
|
}
|
|
2947
2947
|
}
|
|
2948
2948
|
const fn = {
|
|
2949
2949
|
assertOptions: ic,
|
|
2950
2950
|
validators: Tn
|
|
2951
|
-
},
|
|
2951
|
+
}, Oe = fn.validators;
|
|
2952
2952
|
let ut = class {
|
|
2953
2953
|
constructor(t) {
|
|
2954
2954
|
this.defaults = t || {}, this.interceptors = {
|
|
@@ -2985,17 +2985,17 @@ let ut = class {
|
|
|
2985
2985
|
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = mt(this.defaults, n);
|
|
2986
2986
|
const { transitional: r, paramsSerializer: o, headers: s } = n;
|
|
2987
2987
|
r !== void 0 && fn.assertOptions(r, {
|
|
2988
|
-
silentJSONParsing:
|
|
2989
|
-
forcedJSONParsing:
|
|
2990
|
-
clarifyTimeoutError:
|
|
2988
|
+
silentJSONParsing: Oe.transitional(Oe.boolean),
|
|
2989
|
+
forcedJSONParsing: Oe.transitional(Oe.boolean),
|
|
2990
|
+
clarifyTimeoutError: Oe.transitional(Oe.boolean)
|
|
2991
2991
|
}, !1), o != null && (C.isFunction(o) ? n.paramsSerializer = {
|
|
2992
2992
|
serialize: o
|
|
2993
2993
|
} : fn.assertOptions(o, {
|
|
2994
|
-
encode:
|
|
2995
|
-
serialize:
|
|
2994
|
+
encode: Oe.function,
|
|
2995
|
+
serialize: Oe.function
|
|
2996
2996
|
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), fn.assertOptions(n, {
|
|
2997
|
-
baseUrl:
|
|
2998
|
-
withXsrfToken:
|
|
2997
|
+
baseUrl: Oe.spelling("baseURL"),
|
|
2998
|
+
withXsrfToken: Oe.spelling("withXSRFToken")
|
|
2999
2999
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
3000
3000
|
let i = s && C.merge(
|
|
3001
3001
|
s.common,
|
|
@@ -3029,8 +3029,8 @@ let ut = class {
|
|
|
3029
3029
|
const g = c[m++], A = c[m++];
|
|
3030
3030
|
try {
|
|
3031
3031
|
p = g(p);
|
|
3032
|
-
} catch (
|
|
3033
|
-
A.call(this,
|
|
3032
|
+
} catch (y) {
|
|
3033
|
+
A.call(this, y);
|
|
3034
3034
|
break;
|
|
3035
3035
|
}
|
|
3036
3036
|
}
|
|
@@ -3241,7 +3241,7 @@ oe.CancelToken = cc;
|
|
|
3241
3241
|
oe.isCancel = so;
|
|
3242
3242
|
oe.VERSION = mo;
|
|
3243
3243
|
oe.toFormData = En;
|
|
3244
|
-
oe.AxiosError =
|
|
3244
|
+
oe.AxiosError = W;
|
|
3245
3245
|
oe.Cancel = oe.CanceledError;
|
|
3246
3246
|
oe.all = function(t) {
|
|
3247
3247
|
return Promise.all(t);
|
|
@@ -3261,8 +3261,8 @@ const {
|
|
|
3261
3261
|
isCancel: R9,
|
|
3262
3262
|
CancelToken: L9,
|
|
3263
3263
|
VERSION: B9,
|
|
3264
|
-
all:
|
|
3265
|
-
Cancel:
|
|
3264
|
+
all: O9,
|
|
3265
|
+
Cancel: P9,
|
|
3266
3266
|
isAxiosError: D9,
|
|
3267
3267
|
spread: M9,
|
|
3268
3268
|
toFormData: j9,
|
|
@@ -3283,7 +3283,7 @@ class at {
|
|
|
3283
3283
|
PUBLIC_IS_OFFLINE: n,
|
|
3284
3284
|
PUBLIC_USERNAME_OFFLINE: r,
|
|
3285
3285
|
PUBLIC_PASSWORD_OFFLINE: o
|
|
3286
|
-
} =
|
|
3286
|
+
} = K();
|
|
3287
3287
|
if (n === "true")
|
|
3288
3288
|
try {
|
|
3289
3289
|
return (await this.props?.axiosApi.get("/auth", {
|
|
@@ -3569,7 +3569,7 @@ const $9 = async (e, t, n, r, o, s, i) => {
|
|
|
3569
3569
|
}
|
|
3570
3570
|
},
|
|
3571
3571
|
tema: async (e) => {
|
|
3572
|
-
const { meta: t, config: n, pathname: r, slug: o } = e, s = new at(), i = r.split("/"), c = [], d = Yt(r), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(o || ""), m = u && u?.length > 0 ? u[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: h } =
|
|
3572
|
+
const { meta: t, config: n, pathname: r, slug: o } = e, s = new at(), i = r.split("/"), c = [], d = Yt(r), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(o || ""), m = u && u?.length > 0 ? u[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: h } = K();
|
|
3573
3573
|
try {
|
|
3574
3574
|
const p = await s.getNewsListTags({
|
|
3575
3575
|
tagid: m,
|
|
@@ -3801,7 +3801,7 @@ async function Y9({
|
|
|
3801
3801
|
socials: p,
|
|
3802
3802
|
speculationType: g = "Common",
|
|
3803
3803
|
preloadImageUrl: A,
|
|
3804
|
-
custom_Speculation:
|
|
3804
|
+
custom_Speculation: y,
|
|
3805
3805
|
custom_metadata: v,
|
|
3806
3806
|
custom_scriptReplaces: N,
|
|
3807
3807
|
head_custom_elements: _
|
|
@@ -3815,14 +3815,14 @@ async function Y9({
|
|
|
3815
3815
|
slug: i,
|
|
3816
3816
|
texts: c,
|
|
3817
3817
|
query: d
|
|
3818
|
-
}), b =
|
|
3818
|
+
}), b = ys(E), x = N || zr[o]({
|
|
3819
3819
|
pathname: s,
|
|
3820
3820
|
slug: i,
|
|
3821
3821
|
config: h,
|
|
3822
3822
|
currentNew: l,
|
|
3823
3823
|
internalPath: m
|
|
3824
3824
|
});
|
|
3825
|
-
return /* @__PURE__ */ f(
|
|
3825
|
+
return /* @__PURE__ */ f(Y, { children: [
|
|
3826
3826
|
/* @__PURE__ */ a("meta", { charSet: "utf-8" }),
|
|
3827
3827
|
/* @__PURE__ */ a("meta", { name: "viewport", content: "width=device-width" }),
|
|
3828
3828
|
b,
|
|
@@ -3886,7 +3886,7 @@ async function Y9({
|
|
|
3886
3886
|
{
|
|
3887
3887
|
type: g,
|
|
3888
3888
|
active: h.useSpeculationRules,
|
|
3889
|
-
customSpeculation:
|
|
3889
|
+
customSpeculation: y
|
|
3890
3890
|
}
|
|
3891
3891
|
),
|
|
3892
3892
|
_
|
|
@@ -3911,8 +3911,8 @@ const K9 = ({
|
|
|
3911
3911
|
config: s,
|
|
3912
3912
|
currentNew: c,
|
|
3913
3913
|
internalPath: i
|
|
3914
|
-
}), p = l.before.active, g = l.after.active, A = p ? l.before.customData ? l.before.customData : h : void 0,
|
|
3915
|
-
return /* @__PURE__ */ f(
|
|
3914
|
+
}), p = l.before.active, g = l.after.active, A = p ? l.before.customData ? l.before.customData : h : void 0, y = g ? l.after.customData ? l.after.customData : h : void 0;
|
|
3915
|
+
return /* @__PURE__ */ f(Y, { children: [
|
|
3916
3916
|
/* @__PURE__ */ a(Hr, { name: "bodybefore", banners: n, replaces: A }),
|
|
3917
3917
|
e,
|
|
3918
3918
|
/* @__PURE__ */ a(Wo, {}),
|
|
@@ -3920,7 +3920,7 @@ const K9 = ({
|
|
|
3920
3920
|
/* @__PURE__ */ a(Fo, { dimensionValues: m }),
|
|
3921
3921
|
/* @__PURE__ */ a($o, {}),
|
|
3922
3922
|
u,
|
|
3923
|
-
/* @__PURE__ */ a(
|
|
3923
|
+
/* @__PURE__ */ a(ws, { name: "bodyafter", banners: n, replaces: y })
|
|
3924
3924
|
] });
|
|
3925
3925
|
}, fc = "_content_1tvgz_1", gc = {
|
|
3926
3926
|
content: fc
|
|
@@ -3940,9 +3940,9 @@ const K9 = ({
|
|
|
3940
3940
|
}
|
|
3941
3941
|
)
|
|
3942
3942
|
}
|
|
3943
|
-
), Ac = "_content_19rc1_1",
|
|
3943
|
+
), Ac = "_content_19rc1_1", yc = "_location_19rc1_11", nr = {
|
|
3944
3944
|
content: Ac,
|
|
3945
|
-
location:
|
|
3945
|
+
location: yc
|
|
3946
3946
|
}, J9 = (e) => /* @__PURE__ */ f("div", { className: nr.content, children: [
|
|
3947
3947
|
/* @__PURE__ */ a(pc, {}),
|
|
3948
3948
|
/* @__PURE__ */ a("p", { className: nr.location, children: e.place })
|
|
@@ -3950,7 +3950,7 @@ const K9 = ({
|
|
|
3950
3950
|
children: e,
|
|
3951
3951
|
className: t
|
|
3952
3952
|
// desktopWidth = '1185px'
|
|
3953
|
-
}) => /* @__PURE__ */ a("div", { className: `content-layout-1 ${t || ""}`, children: e }),
|
|
3953
|
+
}) => /* @__PURE__ */ a("div", { className: `content-layout-1 ${t || ""}`, children: e }), wc = (e) => {
|
|
3954
3954
|
const { children: t, show: n, order: r = 0 } = e;
|
|
3955
3955
|
return n && /* @__PURE__ */ a("div", { style: { order: r }, children: t });
|
|
3956
3956
|
};
|
|
@@ -3963,65 +3963,65 @@ function vc({
|
|
|
3963
3963
|
enableDrag: s,
|
|
3964
3964
|
onIndexChange: i
|
|
3965
3965
|
}) {
|
|
3966
|
-
const [c, d] = J(!1), [l, u] = J(0), [m, h] = J(0), [p, g] = J(0), [A,
|
|
3966
|
+
const [c, d] = J(!1), [l, u] = J(0), [m, h] = J(0), [p, g] = J(0), [A, y] = J(0), [v, N] = J(null), _ = Pr(null), [E, b] = J(1), x = he(() => {
|
|
3967
3967
|
if (o) return 1;
|
|
3968
|
-
const
|
|
3968
|
+
const w = _.current?.offsetWidth || window.innerWidth, S = n + r, q = Math.floor(w / S);
|
|
3969
3969
|
return Math.max(1, q);
|
|
3970
3970
|
}, [o, n, r]);
|
|
3971
3971
|
De(() => {
|
|
3972
|
-
const
|
|
3972
|
+
const w = () => {
|
|
3973
3973
|
const S = x();
|
|
3974
3974
|
b(S);
|
|
3975
3975
|
};
|
|
3976
|
-
return
|
|
3976
|
+
return w(), window.addEventListener("resize", w), () => window.removeEventListener("resize", w);
|
|
3977
3977
|
}, [x]);
|
|
3978
3978
|
const Q = he(() => {
|
|
3979
|
-
const
|
|
3980
|
-
return Math.max(0, t -
|
|
3979
|
+
const w = x();
|
|
3980
|
+
return Math.max(0, t - w);
|
|
3981
3981
|
}, [t, x])(), te = he(() => {
|
|
3982
|
-
const
|
|
3983
|
-
return
|
|
3982
|
+
const w = x();
|
|
3983
|
+
return w === 1 ? 1 : Math.max(1, Math.ceil(w / 2));
|
|
3984
3984
|
}, [x]), G = he(
|
|
3985
|
-
(
|
|
3985
|
+
(w, S = 0) => {
|
|
3986
3986
|
if (o) {
|
|
3987
3987
|
const q = _.current?.offsetWidth || window.innerWidth;
|
|
3988
|
-
return -(
|
|
3988
|
+
return -(w * (100 + r)) + S / q * 100;
|
|
3989
3989
|
}
|
|
3990
|
-
return -(
|
|
3990
|
+
return -(w * (n + r)) + S;
|
|
3991
3991
|
},
|
|
3992
3992
|
[o, n, r]
|
|
3993
|
-
),
|
|
3994
|
-
(
|
|
3993
|
+
), P = he(
|
|
3994
|
+
(w) => {
|
|
3995
3995
|
const S = _.current?.offsetWidth || window.innerWidth, q = x(), j = te();
|
|
3996
3996
|
if (o)
|
|
3997
|
-
return Math.abs(
|
|
3997
|
+
return Math.abs(w) / S * 100 > 30 ? 1 : 0;
|
|
3998
3998
|
{
|
|
3999
|
-
const L = n + r, H = Math.abs(
|
|
3999
|
+
const L = n + r, H = Math.abs(w) / L;
|
|
4000
4000
|
return H >= (q === 1 ? 0.2 : 0.3) ? q === 1 ? 1 : Math.min(Math.round(H), j) : 0;
|
|
4001
4001
|
}
|
|
4002
4002
|
},
|
|
4003
4003
|
[o, n, r, x, te]
|
|
4004
4004
|
), ee = he(
|
|
4005
|
-
(
|
|
4006
|
-
s && (u(
|
|
4005
|
+
(w) => {
|
|
4006
|
+
s && (u(w), h(w), g(0), y(Date.now()), d(!0), document.body.classList.add("dragging"));
|
|
4007
4007
|
},
|
|
4008
4008
|
[s]
|
|
4009
4009
|
), ce = he(
|
|
4010
|
-
(
|
|
4010
|
+
(w) => {
|
|
4011
4011
|
if (!c || !s) return;
|
|
4012
|
-
const S =
|
|
4013
|
-
h(
|
|
4012
|
+
const S = w - l, q = (n + r) * 1.2, j = e === 0 && S > 0, L = e === Q && S < 0, H = j || L ? Math.sign(S) * Math.min(Math.abs(S), q) : S;
|
|
4013
|
+
h(w), g(H);
|
|
4014
4014
|
},
|
|
4015
4015
|
[c, l, s, e, Q, n, r]
|
|
4016
4016
|
), M = he(
|
|
4017
|
-
(
|
|
4018
|
-
ce(
|
|
4017
|
+
(w) => {
|
|
4018
|
+
ce(w.clientX);
|
|
4019
4019
|
},
|
|
4020
4020
|
[ce]
|
|
4021
4021
|
), U = he(
|
|
4022
|
-
(
|
|
4022
|
+
(w) => {
|
|
4023
4023
|
if (!c || !s) return;
|
|
4024
|
-
const S = m - l, q = Date.now() - A, j = Math.abs(S) / Math.max(q, 1), L =
|
|
4024
|
+
const S = m - l, q = Date.now() - A, j = Math.abs(S) / Math.max(q, 1), L = P(S), V = j > 0.5 && Math.abs(S) > 50 ? Math.max(L, 1) : L;
|
|
4025
4025
|
if (V > 0)
|
|
4026
4026
|
if (S > 0) {
|
|
4027
4027
|
const F = Math.max(0, e - V);
|
|
@@ -4030,7 +4030,7 @@ function vc({
|
|
|
4030
4030
|
const F = Math.min(Q, e + V);
|
|
4031
4031
|
i(F);
|
|
4032
4032
|
}
|
|
4033
|
-
d(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", U),
|
|
4033
|
+
d(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", U), w.clientX === l && v?.dispatchEvent(new PointerEvent("click"));
|
|
4034
4034
|
},
|
|
4035
4035
|
[
|
|
4036
4036
|
c,
|
|
@@ -4041,28 +4041,28 @@ function vc({
|
|
|
4041
4041
|
Q,
|
|
4042
4042
|
s,
|
|
4043
4043
|
i,
|
|
4044
|
-
|
|
4044
|
+
P,
|
|
4045
4045
|
M,
|
|
4046
4046
|
v
|
|
4047
4047
|
]
|
|
4048
4048
|
), T = he(
|
|
4049
|
-
(
|
|
4050
|
-
|
|
4049
|
+
(w) => {
|
|
4050
|
+
w.preventDefault(), ["a", "span"].includes(w.target?.localName) && N(w.target), ee(w.clientX);
|
|
4051
4051
|
},
|
|
4052
4052
|
[ee]
|
|
4053
4053
|
), D = he(
|
|
4054
|
-
(
|
|
4055
|
-
ee(
|
|
4054
|
+
(w) => {
|
|
4055
|
+
ee(w.touches[0].clientX);
|
|
4056
4056
|
},
|
|
4057
4057
|
[ee]
|
|
4058
4058
|
), I = he(
|
|
4059
|
-
(
|
|
4060
|
-
c && (
|
|
4059
|
+
(w) => {
|
|
4060
|
+
c && (w.preventDefault(), ce(w.touches[0].clientX));
|
|
4061
4061
|
},
|
|
4062
4062
|
[c, ce]
|
|
4063
4063
|
), z = he(
|
|
4064
|
-
(
|
|
4065
|
-
U(
|
|
4064
|
+
(w) => {
|
|
4065
|
+
U(w);
|
|
4066
4066
|
},
|
|
4067
4067
|
[U]
|
|
4068
4068
|
);
|
|
@@ -4109,7 +4109,7 @@ function Z9(e) {
|
|
|
4109
4109
|
const {
|
|
4110
4110
|
isDragging: g,
|
|
4111
4111
|
translateOffset: A,
|
|
4112
|
-
carrouselRef:
|
|
4112
|
+
carrouselRef: y,
|
|
4113
4113
|
maxIndex: v,
|
|
4114
4114
|
getTranslateValue: N,
|
|
4115
4115
|
actualVisibleItems: _,
|
|
@@ -4124,13 +4124,13 @@ function Z9(e) {
|
|
|
4124
4124
|
onIndexChange: m
|
|
4125
4125
|
}), b = he(
|
|
4126
4126
|
(G) => {
|
|
4127
|
-
const
|
|
4128
|
-
m(
|
|
4127
|
+
const P = Math.max(0, Math.min(G, v));
|
|
4128
|
+
m(P);
|
|
4129
4129
|
},
|
|
4130
4130
|
[v]
|
|
4131
4131
|
), x = he(() => {
|
|
4132
4132
|
b(u - 1);
|
|
4133
|
-
}, [u, b]),
|
|
4133
|
+
}, [u, b]), O = he(() => {
|
|
4134
4134
|
b(u + 1);
|
|
4135
4135
|
}, [u, b]);
|
|
4136
4136
|
if (!h) return;
|
|
@@ -4166,7 +4166,7 @@ function Z9(e) {
|
|
|
4166
4166
|
"button",
|
|
4167
4167
|
{
|
|
4168
4168
|
className: "visible-arrow right",
|
|
4169
|
-
onClick:
|
|
4169
|
+
onClick: O,
|
|
4170
4170
|
"aria-label": "Next slide",
|
|
4171
4171
|
style: { display: "flex" },
|
|
4172
4172
|
children: /* @__PURE__ */ a(
|
|
@@ -4191,7 +4191,7 @@ function Z9(e) {
|
|
|
4191
4191
|
/* @__PURE__ */ a(
|
|
4192
4192
|
"div",
|
|
4193
4193
|
{
|
|
4194
|
-
ref:
|
|
4194
|
+
ref: y,
|
|
4195
4195
|
className: "carrousel-ssr",
|
|
4196
4196
|
style: {
|
|
4197
4197
|
gap: s,
|
|
@@ -4199,7 +4199,7 @@ function Z9(e) {
|
|
|
4199
4199
|
cursor: d ? g ? "grabbing" : "grab" : "default"
|
|
4200
4200
|
},
|
|
4201
4201
|
...E,
|
|
4202
|
-
children: l && l.map((G,
|
|
4202
|
+
children: l && l.map((G, P) => typeof G == "string" ? /* @__PURE__ */ a(
|
|
4203
4203
|
"section",
|
|
4204
4204
|
{
|
|
4205
4205
|
className: "card",
|
|
@@ -4213,7 +4213,7 @@ function Z9(e) {
|
|
|
4213
4213
|
},
|
|
4214
4214
|
dangerouslySetInnerHTML: { __html: G }
|
|
4215
4215
|
},
|
|
4216
|
-
|
|
4216
|
+
P
|
|
4217
4217
|
) : /* @__PURE__ */ a(
|
|
4218
4218
|
"section",
|
|
4219
4219
|
{
|
|
@@ -4228,25 +4228,25 @@ function Z9(e) {
|
|
|
4228
4228
|
},
|
|
4229
4229
|
children: G
|
|
4230
4230
|
},
|
|
4231
|
-
|
|
4231
|
+
P
|
|
4232
4232
|
))
|
|
4233
4233
|
}
|
|
4234
4234
|
),
|
|
4235
4235
|
c && /* @__PURE__ */ a("nav", { className: "carrousel-pagination", children: Array.from(
|
|
4236
4236
|
{ length: Math.ceil(l.length / _) },
|
|
4237
|
-
(G,
|
|
4238
|
-
const ee = Math.floor(u / _) ===
|
|
4237
|
+
(G, P) => {
|
|
4238
|
+
const ee = Math.floor(u / _) === P;
|
|
4239
4239
|
return /* @__PURE__ */ a(
|
|
4240
4240
|
"li",
|
|
4241
4241
|
{
|
|
4242
4242
|
className: ee ? "active" : "",
|
|
4243
|
-
onClick: () => b(
|
|
4243
|
+
onClick: () => b(P * _),
|
|
4244
4244
|
style: {
|
|
4245
4245
|
cursor: "pointer",
|
|
4246
4246
|
backgroundColor: ee ? "var(--carrousel-pagination-background-color)" : "var(--carrousel-pagination-background-color-white)"
|
|
4247
4247
|
}
|
|
4248
4248
|
},
|
|
4249
|
-
|
|
4249
|
+
P
|
|
4250
4250
|
);
|
|
4251
4251
|
}
|
|
4252
4252
|
) })
|
|
@@ -4325,7 +4325,7 @@ const Cc = "_content_3olxv_1", _c = {
|
|
|
4325
4325
|
},
|
|
4326
4326
|
n.key
|
|
4327
4327
|
);
|
|
4328
|
-
}, Ec = "
|
|
4328
|
+
}, Ec = "_boxInformation_f94l2_1", Tc = "_sectionDescriptionContainer_f94l2_9", Ic = "_uppertitle_f94l2_26", kc = "_sectionDescription_f94l2_9", Uc = "_articule_f94l2_80", qc = "_linkStyled_f94l2_94", Rc = "_description_f94l2_105", Lc = "_correspondent_f94l2_133", Bc = "_correspondentLink_f94l2_145", Oc = "_dotStyles_f94l2_157", Pc = "_clipboardButton_f94l2_164", Dc = "_socialNetworkSection_f94l2_178", re = {
|
|
4329
4329
|
boxInformation: Ec,
|
|
4330
4330
|
sectionDescriptionContainer: Tc,
|
|
4331
4331
|
uppertitle: Ic,
|
|
@@ -4335,12 +4335,12 @@ const Cc = "_content_3olxv_1", _c = {
|
|
|
4335
4335
|
description: Rc,
|
|
4336
4336
|
correspondent: Lc,
|
|
4337
4337
|
correspondentLink: Bc,
|
|
4338
|
-
dotStyles:
|
|
4339
|
-
clipboardButton:
|
|
4338
|
+
dotStyles: Oc,
|
|
4339
|
+
clipboardButton: Pc,
|
|
4340
4340
|
socialNetworkSection: Dc
|
|
4341
4341
|
};
|
|
4342
4342
|
function B(e) {
|
|
4343
|
-
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } =
|
|
4343
|
+
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } = K(), r = t !== "false" && n !== "false" ? "/" + t : "", o = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), s = e.href?.split("/")[1] === r.replace("/", ""), i = {
|
|
4344
4344
|
...e,
|
|
4345
4345
|
href: (!o && !s ? r : "") + (e.href ?? "")
|
|
4346
4346
|
};
|
|
@@ -4389,7 +4389,7 @@ const po = (e) => /* @__PURE__ */ a(
|
|
|
4389
4389
|
}
|
|
4390
4390
|
)
|
|
4391
4391
|
}
|
|
4392
|
-
),
|
|
4392
|
+
), yo = (e) => /* @__PURE__ */ f(
|
|
4393
4393
|
"svg",
|
|
4394
4394
|
{
|
|
4395
4395
|
width: "24",
|
|
@@ -4502,13 +4502,13 @@ function Qc({ noteShare: e }) {
|
|
|
4502
4502
|
"data-active": "false",
|
|
4503
4503
|
"aria-label": "copy",
|
|
4504
4504
|
className: [re.clipboardButton, "clipbtn-id"].join(" "),
|
|
4505
|
-
children: /* @__PURE__ */ a(
|
|
4505
|
+
children: /* @__PURE__ */ a(yo, {})
|
|
4506
4506
|
}
|
|
4507
4507
|
)
|
|
4508
4508
|
] }) : null;
|
|
4509
4509
|
}
|
|
4510
4510
|
const Et = (e) => {
|
|
4511
|
-
const { share: t = !1, cutSubtitle: n = !0, keywords: r, info: o, paths: s } = e, { SHOW_TAG_BY_SECTION: i } =
|
|
4511
|
+
const { share: t = !1, cutSubtitle: n = !0, keywords: r, info: o, paths: s } = e, { SHOW_TAG_BY_SECTION: i } = K(), c = () => {
|
|
4512
4512
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
4513
4513
|
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Me(
|
|
4514
4514
|
e.info?.date?.modified
|
|
@@ -4596,7 +4596,7 @@ const Et = (e) => {
|
|
|
4596
4596
|
) : e.main?.title?.section
|
|
4597
4597
|
),
|
|
4598
4598
|
e.config?.showsubtitle && /* @__PURE__ */ a(d, {}),
|
|
4599
|
-
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(
|
|
4599
|
+
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(Y, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
4600
4600
|
B,
|
|
4601
4601
|
{
|
|
4602
4602
|
"aria-label": c(),
|
|
@@ -4620,7 +4620,7 @@ const Et = (e) => {
|
|
|
4620
4620
|
playStyled: Jc,
|
|
4621
4621
|
imageLogoPlaceholder: Zc,
|
|
4622
4622
|
imagePlaceholder: Xc
|
|
4623
|
-
},
|
|
4623
|
+
}, wo = (e) => /* @__PURE__ */ f(
|
|
4624
4624
|
"svg",
|
|
4625
4625
|
{
|
|
4626
4626
|
width: "43",
|
|
@@ -4642,10 +4642,10 @@ const Et = (e) => {
|
|
|
4642
4642
|
}
|
|
4643
4643
|
);
|
|
4644
4644
|
function va() {
|
|
4645
|
-
return
|
|
4645
|
+
return K().COMPONENTS?.PlayIcon || wo;
|
|
4646
4646
|
}
|
|
4647
4647
|
function vo() {
|
|
4648
|
-
return
|
|
4648
|
+
return K().COMPONENTS?.PlayIcon || wo;
|
|
4649
4649
|
}
|
|
4650
4650
|
const el = (e) => {
|
|
4651
4651
|
const { isVideo: t = !1, isLarge: n = !1, priorityHigh: r = !1 } = e, o = va(), s = e.preview.sizes;
|
|
@@ -4662,7 +4662,7 @@ const el = (e) => {
|
|
|
4662
4662
|
src: s[0]?.url ? s[0]?.url : void 0
|
|
4663
4663
|
}
|
|
4664
4664
|
),
|
|
4665
|
-
t && /* @__PURE__ */ f(
|
|
4665
|
+
t && /* @__PURE__ */ f(Y, { children: [
|
|
4666
4666
|
/* @__PURE__ */ a(
|
|
4667
4667
|
"div",
|
|
4668
4668
|
{
|
|
@@ -4714,7 +4714,7 @@ const el = (e) => {
|
|
|
4714
4714
|
src: s[0]?.url ? s[0]?.url : ""
|
|
4715
4715
|
}
|
|
4716
4716
|
),
|
|
4717
|
-
t && /* @__PURE__ */ f(
|
|
4717
|
+
t && /* @__PURE__ */ f(Y, { children: [
|
|
4718
4718
|
/* @__PURE__ */ a(
|
|
4719
4719
|
"div",
|
|
4720
4720
|
{
|
|
@@ -4781,7 +4781,7 @@ const el = (e) => {
|
|
|
4781
4781
|
const { preview: t } = e;
|
|
4782
4782
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((s) => !s.url))
|
|
4783
4783
|
return /* @__PURE__ */ a("div", { className: se.imageLogoPlaceholder });
|
|
4784
|
-
const { PUBLIC_IS_OFFLINE: n } =
|
|
4784
|
+
const { PUBLIC_IS_OFFLINE: n } = K();
|
|
4785
4785
|
if (n === "true")
|
|
4786
4786
|
return /* @__PURE__ */ a(
|
|
4787
4787
|
tl,
|
|
@@ -5777,7 +5777,7 @@ const el = (e) => {
|
|
|
5777
5777
|
showads: !1
|
|
5778
5778
|
}, ba = (e) => {
|
|
5779
5779
|
let t = [];
|
|
5780
|
-
const { PUBLIC_ENV: n, PUBLIC_IS_OFFLINE: r } =
|
|
5780
|
+
const { PUBLIC_ENV: n, PUBLIC_IS_OFFLINE: r } = K();
|
|
5781
5781
|
return e.content && e.content.length > 0 ? t = e.content.map((o) => ({
|
|
5782
5782
|
...o,
|
|
5783
5783
|
config: or
|
|
@@ -5842,11 +5842,11 @@ const el = (e) => {
|
|
|
5842
5842
|
}
|
|
5843
5843
|
)
|
|
5844
5844
|
] })
|
|
5845
|
-
] }), pl = "_content_1ms2y_1", Al = "_contentInfo_1ms2y_20",
|
|
5845
|
+
] }), pl = "_content_1ms2y_1", Al = "_contentInfo_1ms2y_20", yl = "_subscribeImage_1ms2y_28", wl = "_tag_1ms2y_42", vl = "_contentTitle_1ms2y_60", bl = "_title_1ms2y_65", Cl = "_subTitle_1ms2y_70", _l = "_inputStyled_1ms2y_79", Nl = "_buttonStyled_1ms2y_118", Sl = "_contentTerms_1ms2y_131", xl = "_subscribeText_1ms2y_137", El = "_terms_1ms2y_146", Ie = {
|
|
5846
5846
|
content: pl,
|
|
5847
5847
|
contentInfo: Al,
|
|
5848
|
-
subscribeImage:
|
|
5849
|
-
tag:
|
|
5848
|
+
subscribeImage: yl,
|
|
5849
|
+
tag: wl,
|
|
5850
5850
|
contentTitle: vl,
|
|
5851
5851
|
title: bl,
|
|
5852
5852
|
subTitle: Cl,
|
|
@@ -5947,15 +5947,15 @@ const el = (e) => {
|
|
|
5947
5947
|
] })
|
|
5948
5948
|
]
|
|
5949
5949
|
}
|
|
5950
|
-
), kl = "_content_qzaly_1", Ul = "_subscribeImage_qzaly_16", ql = "_contentTitle_qzaly_22", Rl = "_title_qzaly_33", Ll = "_subTitle_qzaly_40", Bl = "_contentTerms_qzaly_60",
|
|
5950
|
+
), kl = "_content_qzaly_1", Ul = "_subscribeImage_qzaly_16", ql = "_contentTitle_qzaly_22", Rl = "_title_qzaly_33", Ll = "_subTitle_qzaly_40", Bl = "_contentTerms_qzaly_60", Ol = "_whatsappLink_qzaly_65", Pl = "_subscribeText_qzaly_82", Dl = "_terms_qzaly_92", Qe = {
|
|
5951
5951
|
content: kl,
|
|
5952
5952
|
subscribeImage: Ul,
|
|
5953
5953
|
contentTitle: ql,
|
|
5954
5954
|
title: Rl,
|
|
5955
5955
|
subTitle: Ll,
|
|
5956
5956
|
contentTerms: Bl,
|
|
5957
|
-
whatsappLink:
|
|
5958
|
-
subscribeText:
|
|
5957
|
+
whatsappLink: Ol,
|
|
5958
|
+
subscribeText: Pl,
|
|
5959
5959
|
terms: Dl
|
|
5960
5960
|
}, X9 = (e) => /* @__PURE__ */ f("section", { className: Qe.content, children: [
|
|
5961
5961
|
/* @__PURE__ */ a(Il, { className: Qe.subscribeImage }),
|
|
@@ -6023,7 +6023,7 @@ const el = (e) => {
|
|
|
6023
6023
|
/* @__PURE__ */ a("path", { d: "M0,0v19.74h74.3V0H0ZM62.2,4.7h2v5.8l3-3h2.4l-1.1,1.2-6.3,6.2V4.7ZM69.8,15h-2.4l-1.6-2.1,1.4-1.4,2.6,3.5ZM40.3,7.7h1v-1.8h2v1.8h1.8v1.7h-1.8v3c0,.3.1.6.2.7.2.2.4.3.6.3.3,0,.6-.1.8-.3l.5,1.5c-.2.2-.5.3-.7.4-.3.1-.6.1-.9.1-.8,0-1.4-.2-1.9-.6-.5-.5-.7-1.1-.7-2v-3.1h-1v-1.7h.1ZM37.7,12.3c-.2-.1-.4-.2-.6-.2-.3,0-.5-.1-.8-.1s-.6-.1-.9-.2c-.3-.1-.6-.2-.8-.4-.3-.2-.5-.4-.6-.6-.2-.3-.2-.6-.2-1,0-.5.1-.9.4-1.2.3-.4.6-.6,1.1-.8s1-.3,1.7-.3c.5,0,1,.1,1.4.2.5.1.9.3,1.2.5l-.6,1.6c-.3-.2-.6-.4-1-.4-.3-.1-.6-.1-1-.1-.5,0-.8.1-1,.2-.2.1-.3.3-.3.5s.1.3.2.4c.2.1.4.2.6.2.3.1.5.1.8.1s.6.1.9.2c.3.1.6.2.8.4s.4.4.6.6c.2.3.2.6.2,1,0,.5-.1.9-.4,1.2-.3.4-.6.6-1.1.8-.4.2-1,.3-1.7.3-.6,0-1.2-.1-1.7-.2-.6-.2-1-.3-1.3-.6l.6-1.6c.3.2.7.4,1.1.5.4.1.8.2,1.3.2s.8-.1,1-.2c.2-.1.3-.3.3-.5,0-.2,0-.3-.2-.5ZM6.7,14.3l1.1-1.1c.2.1.4.1.6.1.3,0,.6-.1.9-.3.3-.2.5-.4.6-.7.2-.3.2-.7.2-1.1s0-.8-.1-1.1c-.2-.3-.4-.6-.6-.7-.3-.2-.6-.3-.9-.3s-.6.1-.9.3-.5.4-.6.7c-.2.3-.2.7-.2,1.1s.1.8.2,1.1c-.1.1,0,.1,0,.2l-2.3,2.3V4.7h1.9v3.6c.2-.2.4-.3.6-.5.5-.3.9-.4,1.5-.4s1.2.2,1.8.5c.5.3,1,.8,1.2,1.3.3.6.5,1.3.5,2.1s-.2,1.5-.5,2c-.3.6-.7,1-1.2,1.4-.5.3-1.1.5-1.8.5-.6,0-1.1-.2-1.6-.4-.1-.2-.3-.4-.4-.5ZM13.6,4.7h2v10.3h-2V4.7ZM17.7,13.6c-.3-.5-.4-1.1-.4-1.9v-4.2h2v3.9c0,.6.1,1.1.4,1.4.2.3.6.4,1,.4.3,0,.6-.1.8-.2s.4-.4.6-.6c.1-.3.2-.7.2-1.1v-3.8h2v7.5h-1.8v-.9c-.2.2-.4.5-.6.6-.5.2-1,.3-1.5.3-.6,0-1.1-.1-1.6-.4-.5-.1-.8-.5-1.1-1ZM33,11.5v.3h-5.3c0,.2.1.4.2.6.2.3.4.6.7.7.3.2.6.2,1.1.2.4,0,.7-.1,1-.2.3-.1.5-.3.8-.5l1,1.2c-.3.4-.7.7-1.2.9-.5.2-1,.3-1.6.3-.8,0-1.5-.2-2.1-.5s-1-.8-1.4-1.4c-.3-.6-.5-1.2-.5-2s.2-1.4.5-2,.8-1,1.3-1.4c.5-.1,1.2-.3,1.9-.3s1.3.2,1.8.5c.6.3,1,.8,1.3,1.3.3.6.5,1.3.5,2.1,0,0,0,.1,0,.2ZM47.4,14.8c-.4-.2-.7-.5-.9-.8s-.3-.7-.3-1.2c0-.4.1-.8.3-1.2.2-.3.5-.6,1-.8.4-.2,1-.3,1.7-.3h1.6c0-.4-.1-.8-.4-1-.3-.3-.6-.4-1.2-.4-.4,0-.7.1-1.1.2s-.6.3-.9.5l-.7-1.5c.4-.3.8-.5,1.4-.6.5-.2,1.1-.3,1.6-.3,1,0,1.9.3,2.5.8s.9,1.4.9,2.5v4.2h-1.9v-1.1c-.2.3-.4.6-.7.8-.4.3-.8.4-1.4.4-.6.1-1.1,0-1.5-.2ZM56,14.6c-.6-.3-1-.8-1.4-1.4-.3-.6-.5-1.2-.5-2s.2-1.4.5-2,.8-1,1.4-1.4c.6-.2,1.3-.4,2-.4s1.4.2,1.9.5,1,.8,1.2,1.4l-1.6.9c-.2-.4-.4-.6-.7-.8s-.6-.3-.9-.3-.6.1-.9.3c-.3.2-.5.4-.6.7-.2.3-.2.7-.2,1.1s.1.8.2,1.1c.2.3.4.5.6.7.3.2.6.3.9.3s.6-.1.9-.2c.3-.2.5-.4.7-.8l1.6.9c-.3.6-.6,1-1.2,1.4-.6.3-1.2.5-1.9.5s-1.4-.2-2-.5Z" })
|
|
6024
6024
|
]
|
|
6025
6025
|
}
|
|
6026
|
-
), jl = "_content_1p7b9_1", Ql = "_brandContent_1p7b9_10", Gl = "_socialMedia_1p7b9_21", Hl = "_linkSocialNetwoks_1p7b9_28", zl = "_sectionContent_1p7b9_42", Vl = "_section_1p7b9_42", Fl = "_menuItem_1p7b9_60", $l = "_otherItems_1p7b9_73", Wl = "_copyrigth_1p7b9_87", Yl = "_copyrigthText_1p7b9_97", Kl = "_logoStyled_1p7b9_107", Jl = "_socialNetworkIcon_1p7b9_118", Zl = "_socialInstagram_1p7b9_125", Xl = "_socialNetworkIcon_stroke_1p7b9_133",
|
|
6026
|
+
), jl = "_content_1p7b9_1", Ql = "_brandContent_1p7b9_10", Gl = "_socialMedia_1p7b9_21", Hl = "_linkSocialNetwoks_1p7b9_28", zl = "_sectionContent_1p7b9_42", Vl = "_section_1p7b9_42", Fl = "_menuItem_1p7b9_60", $l = "_otherItems_1p7b9_73", Wl = "_copyrigth_1p7b9_87", Yl = "_copyrigthText_1p7b9_97", Kl = "_logoStyled_1p7b9_107", Jl = "_socialNetworkIcon_1p7b9_118", Zl = "_socialInstagram_1p7b9_125", Xl = "_socialNetworkIcon_stroke_1p7b9_133", ye = {
|
|
6027
6027
|
content: jl,
|
|
6028
6028
|
brandContent: Ql,
|
|
6029
6029
|
socialMedia: Gl,
|
|
@@ -6234,50 +6234,50 @@ const el = (e) => {
|
|
|
6234
6234
|
telegram: (e) => /* @__PURE__ */ a(nd, { ...e })
|
|
6235
6235
|
}, e3 = (e) => {
|
|
6236
6236
|
const { freeZone: t, socials: n, menu: r, customBlock: o } = e;
|
|
6237
|
-
return /* @__PURE__ */ f("footer", { className:
|
|
6238
|
-
/* @__PURE__ */ f("section", { className:
|
|
6239
|
-
/* @__PURE__ */ a(B, { href: "/", "aria-label": "Ir a la home", children: /* @__PURE__ */ a("span", { className:
|
|
6240
|
-
/* @__PURE__ */ a("div", { className:
|
|
6237
|
+
return /* @__PURE__ */ f("footer", { className: ye.content, children: [
|
|
6238
|
+
/* @__PURE__ */ f("section", { className: ye.brandContent, children: [
|
|
6239
|
+
/* @__PURE__ */ a(B, { href: "/", "aria-label": "Ir a la home", children: /* @__PURE__ */ a("span", { className: ye.logoStyled, children: e.logo }) }),
|
|
6240
|
+
/* @__PURE__ */ a("div", { className: ye.socialMedia, children: Object.keys(n).map((s) => n[s]?.show && /* @__PURE__ */ a(
|
|
6241
6241
|
"a",
|
|
6242
6242
|
{
|
|
6243
6243
|
target: "_blank",
|
|
6244
6244
|
rel: "noreferrer",
|
|
6245
6245
|
"aria-label": n[s].title + " link",
|
|
6246
|
-
className:
|
|
6246
|
+
className: ye.linkSocialNetwoks,
|
|
6247
6247
|
href: n[s].url,
|
|
6248
6248
|
children: Sa[s]({
|
|
6249
|
-
className: `${sd.includes(s) ?
|
|
6249
|
+
className: `${sd.includes(s) ? ye.socialNetworkIcon_stroke : ye.socialNetworkIcon} ${s === "instagram" ? ye.socialInstagram : ""}`
|
|
6250
6250
|
})
|
|
6251
6251
|
},
|
|
6252
6252
|
s
|
|
6253
6253
|
)) })
|
|
6254
6254
|
] }),
|
|
6255
|
-
/* @__PURE__ */ f("section", { className:
|
|
6256
|
-
/* @__PURE__ */ a("div", { className:
|
|
6255
|
+
/* @__PURE__ */ f("section", { className: ye.sectionContent, children: [
|
|
6256
|
+
/* @__PURE__ */ a("div", { className: ye.section, children: r.filter((s) => !s.subitem).map((s, i) => /* @__PURE__ */ a(
|
|
6257
6257
|
B,
|
|
6258
6258
|
{
|
|
6259
6259
|
href: s.link ? s.link : void 0,
|
|
6260
6260
|
target: s.target,
|
|
6261
|
-
className: `${
|
|
6261
|
+
className: `${ye.menuItem} footer-menu-item`,
|
|
6262
6262
|
"aria-label": s.description,
|
|
6263
6263
|
children: s.description
|
|
6264
6264
|
},
|
|
6265
6265
|
i
|
|
6266
6266
|
)) }),
|
|
6267
|
-
/* @__PURE__ */ a("div", { className:
|
|
6267
|
+
/* @__PURE__ */ a("div", { className: ye.section, children: t && t.map((s, i) => /* @__PURE__ */ a(
|
|
6268
6268
|
B,
|
|
6269
6269
|
{
|
|
6270
6270
|
href: s.link ? s?.link : void 0,
|
|
6271
6271
|
target: s.target,
|
|
6272
|
-
className:
|
|
6272
|
+
className: ye.otherItems,
|
|
6273
6273
|
children: s.description
|
|
6274
6274
|
},
|
|
6275
6275
|
i
|
|
6276
6276
|
)) })
|
|
6277
6277
|
] }),
|
|
6278
|
-
o && /* @__PURE__ */ a(
|
|
6279
|
-
/* @__PURE__ */ f("section", { className:
|
|
6280
|
-
/* @__PURE__ */ a("p", { className:
|
|
6278
|
+
o && /* @__PURE__ */ a(Y, { children: o }),
|
|
6279
|
+
/* @__PURE__ */ f("section", { className: ye.copyrigth, children: [
|
|
6280
|
+
/* @__PURE__ */ a("p", { className: ye.copyrigthText, children: e.copyrigth }),
|
|
6281
6281
|
/* @__PURE__ */ a(
|
|
6282
6282
|
B,
|
|
6283
6283
|
{
|
|
@@ -6291,7 +6291,7 @@ const el = (e) => {
|
|
|
6291
6291
|
)
|
|
6292
6292
|
] })
|
|
6293
6293
|
] });
|
|
6294
|
-
}, id = "_content_1qzgn_1", cd = "_imageContent_1qzgn_9", ld = "_width1Autor_1qzgn_18", dd = "_width2Autor_1qzgn_22", ud = "_width3Autor_1qzgn_26", hd = "_imageAutor_1qzgn_30", md = "_imageStyled_1qzgn_69", fd = "_contentIconStyled_1qzgn_70", gd = "_avatarContent_1qzgn_87", pd = "_journalistSection_1qzgn_95", Ad = "_journalistInfo_1qzgn_103",
|
|
6294
|
+
}, id = "_content_1qzgn_1", cd = "_imageContent_1qzgn_9", ld = "_width1Autor_1qzgn_18", dd = "_width2Autor_1qzgn_22", ud = "_width3Autor_1qzgn_26", hd = "_imageAutor_1qzgn_30", md = "_imageStyled_1qzgn_69", fd = "_contentIconStyled_1qzgn_70", gd = "_avatarContent_1qzgn_87", pd = "_journalistSection_1qzgn_95", Ad = "_journalistInfo_1qzgn_103", yd = "_journalistInfoLink_1qzgn_104", wd = "_socialNetworkSection_1qzgn_139", vd = "_avatarStyled_1qzgn_151", bd = "_article_1qzgn_156", Cd = "_socialButton_1qzgn_160", _d = "_facebookStyled_1qzgn_176", Nd = "_emailStyled_1qzgn_180", Sd = "_xStyled_1qzgn_184", xd = "_linkedinStyled_1qzgn_188", Ed = "_whatsappStyled_1qzgn_192", Td = "_whatsappLink_1qzgn_196", Id = "_clipboardButton_1qzgn_212", kd = "_googleProfileButton_1qzgn_248", de = {
|
|
6295
6295
|
content: id,
|
|
6296
6296
|
imageContent: cd,
|
|
6297
6297
|
width1Autor: ld,
|
|
@@ -6303,8 +6303,8 @@ const el = (e) => {
|
|
|
6303
6303
|
avatarContent: gd,
|
|
6304
6304
|
journalistSection: pd,
|
|
6305
6305
|
journalistInfo: Ad,
|
|
6306
|
-
journalistInfoLink:
|
|
6307
|
-
socialNetworkSection:
|
|
6306
|
+
journalistInfoLink: yd,
|
|
6307
|
+
socialNetworkSection: wd,
|
|
6308
6308
|
avatarStyled: vd,
|
|
6309
6309
|
article: bd,
|
|
6310
6310
|
socialButton: Cd,
|
|
@@ -6333,7 +6333,7 @@ const el = (e) => {
|
|
|
6333
6333
|
}
|
|
6334
6334
|
)
|
|
6335
6335
|
}
|
|
6336
|
-
),
|
|
6336
|
+
), yn = (e) => /* @__PURE__ */ a(
|
|
6337
6337
|
"svg",
|
|
6338
6338
|
{
|
|
6339
6339
|
version: "1.1",
|
|
@@ -6449,7 +6449,7 @@ const el = (e) => {
|
|
|
6449
6449
|
}
|
|
6450
6450
|
)
|
|
6451
6451
|
}
|
|
6452
|
-
),
|
|
6452
|
+
), Od = {
|
|
6453
6453
|
FaceBook: {
|
|
6454
6454
|
url: (e) => `https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`,
|
|
6455
6455
|
icon: {
|
|
@@ -6483,16 +6483,16 @@ const el = (e) => {
|
|
|
6483
6483
|
e
|
|
6484
6484
|
)}`,
|
|
6485
6485
|
icon: {
|
|
6486
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
6487
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
6486
|
+
outline: (e) => /* @__PURE__ */ a(yn, { className: e }),
|
|
6487
|
+
solid: (e) => /* @__PURE__ */ a(yn, { className: e })
|
|
6488
6488
|
}
|
|
6489
6489
|
}
|
|
6490
6490
|
};
|
|
6491
|
-
function
|
|
6491
|
+
function Pd({ noteShare: e }) {
|
|
6492
6492
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
6493
6493
|
return e ? /* @__PURE__ */ f("div", { className: de.socialNetworkSection, children: [
|
|
6494
6494
|
e.options?.map((n) => {
|
|
6495
|
-
const r =
|
|
6495
|
+
const r = Od[n];
|
|
6496
6496
|
if (!r) return null;
|
|
6497
6497
|
const o = e.variant === "outline" ? r.icon.outline : r.icon.solid, s = r.url(t);
|
|
6498
6498
|
return /* @__PURE__ */ a(
|
|
@@ -6516,7 +6516,7 @@ function Od({ noteShare: e }) {
|
|
|
6516
6516
|
"data-active": "false",
|
|
6517
6517
|
"aria-label": "copy",
|
|
6518
6518
|
className: [de.clipboardButton, "clipbtn-id"].join(" "),
|
|
6519
|
-
children: /* @__PURE__ */ a(
|
|
6519
|
+
children: /* @__PURE__ */ a(yo, {})
|
|
6520
6520
|
}
|
|
6521
6521
|
),
|
|
6522
6522
|
/* @__PURE__ */ a(
|
|
@@ -6578,7 +6578,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6578
6578
|
}, Fd = "_content_wxhkd_1", $d = "_linkStyled_wxhkd_9", Bn = {
|
|
6579
6579
|
content: Fd,
|
|
6580
6580
|
linkStyled: $d
|
|
6581
|
-
},
|
|
6581
|
+
}, wn = (e) => {
|
|
6582
6582
|
const { currentPage: t, showNext: n, maxPages: r, pathname: o, query: s } = e, i = (c, d, l) => {
|
|
6583
6583
|
let u = "";
|
|
6584
6584
|
const m = d.split("/");
|
|
@@ -6619,9 +6619,9 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6619
6619
|
children: e.children
|
|
6620
6620
|
}
|
|
6621
6621
|
),
|
|
6622
|
-
/* @__PURE__ */ a(
|
|
6622
|
+
/* @__PURE__ */ a(Y, { children: e.paginatorComponent })
|
|
6623
6623
|
] });
|
|
6624
|
-
}, Zd = "_content_15x47_1", Xd = "_newsDescription_15x47_15", e1 = "_image_15x47_41",
|
|
6624
|
+
}, Zd = "_content_15x47_1", Xd = "_newsDescription_15x47_15", e1 = "_image_15x47_41", Pt = {
|
|
6625
6625
|
content: Zd,
|
|
6626
6626
|
newsDescription: Xd,
|
|
6627
6627
|
image: e1
|
|
@@ -6644,7 +6644,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6644
6644
|
return /* @__PURE__ */ f(
|
|
6645
6645
|
"section",
|
|
6646
6646
|
{
|
|
6647
|
-
className:
|
|
6647
|
+
className: Pt.content,
|
|
6648
6648
|
style: {
|
|
6649
6649
|
...e.customSectionCardStyles
|
|
6650
6650
|
},
|
|
@@ -6653,7 +6653,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6653
6653
|
B,
|
|
6654
6654
|
{
|
|
6655
6655
|
"aria-label": e.main?.title?.section,
|
|
6656
|
-
className:
|
|
6656
|
+
className: Pt.image,
|
|
6657
6657
|
title: t?.title?.section,
|
|
6658
6658
|
href: r?.link?.url,
|
|
6659
6659
|
target: r?.link?.target,
|
|
@@ -6668,7 +6668,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6668
6668
|
)
|
|
6669
6669
|
}
|
|
6670
6670
|
),
|
|
6671
|
-
/* @__PURE__ */ a("div", { className:
|
|
6671
|
+
/* @__PURE__ */ a("div", { className: Pt.newsDescription, children: /* @__PURE__ */ a(
|
|
6672
6672
|
Et,
|
|
6673
6673
|
{
|
|
6674
6674
|
main: t,
|
|
@@ -6700,7 +6700,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6700
6700
|
main: r,
|
|
6701
6701
|
overImage: o = "default",
|
|
6702
6702
|
titleGradient: s = !1
|
|
6703
|
-
} = e, { SHOW_TAG_BY_SECTION: i } =
|
|
6703
|
+
} = e, { SHOW_TAG_BY_SECTION: i } = K(), c = () => {
|
|
6704
6704
|
if (i && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
6705
6705
|
const d = e.keywords.tags[0], l = d.name;
|
|
6706
6706
|
return d.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
@@ -6782,12 +6782,12 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6782
6782
|
/* @__PURE__ */ a(B, { className: gt.linkStyled, href: "/", children: e.buttonText ?? "Inicio" })
|
|
6783
6783
|
] })
|
|
6784
6784
|
] });
|
|
6785
|
-
}, g1 = "_content_zxcog_1", p1 = "_contentLabel_zxcog_8", A1 = "_label_zxcog_13",
|
|
6785
|
+
}, g1 = "_content_zxcog_1", p1 = "_contentLabel_zxcog_8", A1 = "_label_zxcog_13", y1 = "_required_zxcog_22", w1 = "_input_zxcog_28", kt = {
|
|
6786
6786
|
content: g1,
|
|
6787
6787
|
contentLabel: p1,
|
|
6788
6788
|
label: A1,
|
|
6789
|
-
required:
|
|
6790
|
-
input:
|
|
6789
|
+
required: y1,
|
|
6790
|
+
input: w1
|
|
6791
6791
|
}, a3 = (e) => /* @__PURE__ */ f("div", { className: kt.content, children: [
|
|
6792
6792
|
/* @__PURE__ */ f("div", { className: kt.contentLabel, children: [
|
|
6793
6793
|
/* @__PURE__ */ a("label", { className: kt.label, children: e.label }),
|
|
@@ -6809,13 +6809,13 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6809
6809
|
/* @__PURE__ */ a("option", { value: "", children: "--Seleccione--" }),
|
|
6810
6810
|
e.options.map((t, n) => /* @__PURE__ */ a("option", { value: t.value, children: t.label }, n))
|
|
6811
6811
|
] })
|
|
6812
|
-
] }), S1 = "_content_1mi9t_1", x1 = "_label_1mi9t_8", E1 = "_input_1mi9t_17",
|
|
6812
|
+
] }), S1 = "_content_1mi9t_1", x1 = "_label_1mi9t_8", E1 = "_input_1mi9t_17", On = {
|
|
6813
6813
|
content: S1,
|
|
6814
6814
|
label: x1,
|
|
6815
6815
|
input: E1
|
|
6816
|
-
}, o3 = (e) => /* @__PURE__ */ f("div", { className:
|
|
6817
|
-
/* @__PURE__ */ a("label", { className:
|
|
6818
|
-
/* @__PURE__ */ a("textarea", { className:
|
|
6816
|
+
}, o3 = (e) => /* @__PURE__ */ f("div", { className: On.content, children: [
|
|
6817
|
+
/* @__PURE__ */ a("label", { className: On.label, children: e.label }),
|
|
6818
|
+
/* @__PURE__ */ a("textarea", { className: On.input, ...e })
|
|
6819
6819
|
] }), T1 = "_boxInformation_achvw_1", I1 = "_textBox_achvw_30", k1 = "_contentBox_achvw_40", U1 = "_liveBox_achvw_50", q1 = "_dot_achvw_72", R1 = "_sectionDescription_achvw_97", L1 = "_articule_achvw_110", B1 = "_description_achvw_137", et = {
|
|
6820
6820
|
boxInformation: T1,
|
|
6821
6821
|
textBox: I1,
|
|
@@ -6825,16 +6825,16 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6825
6825
|
sectionDescription: R1,
|
|
6826
6826
|
articule: L1,
|
|
6827
6827
|
description: B1
|
|
6828
|
-
},
|
|
6829
|
-
content:
|
|
6830
|
-
description:
|
|
6828
|
+
}, O1 = "_content_8ehij_1", P1 = "_description_8ehij_23", vn = {
|
|
6829
|
+
content: O1,
|
|
6830
|
+
description: P1
|
|
6831
6831
|
}, Co = (e) => {
|
|
6832
6832
|
let t = "";
|
|
6833
6833
|
return e.preview.description && (t = e.preview.description), e.preview.copyright && (t = `${t} ${e.preview.copyright}`), e.preview.photographer && (t = `${t} ${e.preview.photographer}`), /* @__PURE__ */ f("div", { className: vn.content, children: [
|
|
6834
6834
|
/* @__PURE__ */ a(Ue, { preview: e.preview, isLarge: !0, priorityHigh: !0 }),
|
|
6835
6835
|
t && /* @__PURE__ */ a("div", { className: vn.description, children: t })
|
|
6836
6836
|
] });
|
|
6837
|
-
}, D1 = (e) => /* @__PURE__ */ a(
|
|
6837
|
+
}, D1 = (e) => /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ f("div", { className: et.boxInformation, children: [
|
|
6838
6838
|
/* @__PURE__ */ a(Co, { preview: e.preview }),
|
|
6839
6839
|
/* @__PURE__ */ f("div", { className: et.textBox, children: [
|
|
6840
6840
|
/* @__PURE__ */ f("div", { className: et.contentBox, children: [
|
|
@@ -6943,7 +6943,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
6943
6943
|
href: p,
|
|
6944
6944
|
target: "_blank",
|
|
6945
6945
|
rel: "noreferrer",
|
|
6946
|
-
children: /* @__PURE__ */ a(
|
|
6946
|
+
children: /* @__PURE__ */ a(yn, { className: Ne.socialIcon })
|
|
6947
6947
|
}
|
|
6948
6948
|
)
|
|
6949
6949
|
] })
|
|
@@ -7017,7 +7017,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7017
7017
|
href: p,
|
|
7018
7018
|
target: "_blank",
|
|
7019
7019
|
rel: "noreferrer",
|
|
7020
|
-
children: /* @__PURE__ */ a(
|
|
7020
|
+
children: /* @__PURE__ */ a(yn, { className: Se.socialIcon })
|
|
7021
7021
|
}
|
|
7022
7022
|
)
|
|
7023
7023
|
] })
|
|
@@ -7046,17 +7046,17 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7046
7046
|
),
|
|
7047
7047
|
e.banner
|
|
7048
7048
|
] })
|
|
7049
|
-
] }), fu = "_content_7v98f_1", gu = "_header_7v98f_30", pu = "_videos_7v98f_56", Au = "_videoContent_7v98f_63",
|
|
7049
|
+
] }), fu = "_content_7v98f_1", gu = "_header_7v98f_30", pu = "_videos_7v98f_56", Au = "_videoContent_7v98f_63", yu = "_articleSection_7v98f_70", wu = "_contentLayoutVideoSection_7v98f_85", vu = "_sectionVideoList_7v98f_93", bu = "_iframeStyled_7v98f_166", Cu = "_contentFrame_7v98f_172", Re = {
|
|
7050
7050
|
content: fu,
|
|
7051
7051
|
header: gu,
|
|
7052
7052
|
videos: pu,
|
|
7053
7053
|
videoContent: Au,
|
|
7054
|
-
articleSection:
|
|
7055
|
-
contentLayoutVideoSection:
|
|
7054
|
+
articleSection: yu,
|
|
7055
|
+
contentLayoutVideoSection: wu,
|
|
7056
7056
|
sectionVideoList: vu,
|
|
7057
7057
|
iframeStyled: bu,
|
|
7058
7058
|
contentFrame: Cu
|
|
7059
|
-
}, _u = "_content_1dj0q_1", Nu = "_linkImage_1dj0q_12", Su = "_playStyled_1dj0q_19",
|
|
7059
|
+
}, _u = "_content_1dj0q_1", Nu = "_linkImage_1dj0q_12", Su = "_playStyled_1dj0q_19", Pn = {
|
|
7060
7060
|
content: _u,
|
|
7061
7061
|
linkImage: Nu,
|
|
7062
7062
|
playStyled: Su
|
|
@@ -7071,17 +7071,17 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7071
7071
|
}
|
|
7072
7072
|
}
|
|
7073
7073
|
};
|
|
7074
|
-
return e && e.info ? /* @__PURE__ */ f("section", { className:
|
|
7074
|
+
return e && e.info ? /* @__PURE__ */ f("section", { className: Pn.content, children: [
|
|
7075
7075
|
/* @__PURE__ */ a(
|
|
7076
7076
|
"a",
|
|
7077
7077
|
{
|
|
7078
|
-
className:
|
|
7078
|
+
className: Pn.linkImage,
|
|
7079
7079
|
target: e?.info?.link?.target,
|
|
7080
7080
|
title: e?.main?.title?.section,
|
|
7081
7081
|
href: e.info.link.url,
|
|
7082
7082
|
children: /* @__PURE__ */ f("div", { style: { position: "relative" }, children: [
|
|
7083
7083
|
/* @__PURE__ */ a("img", { src: await me(e.preview.sizes[0]?.url || "") }),
|
|
7084
|
-
/* @__PURE__ */ a(t, { className: `${
|
|
7084
|
+
/* @__PURE__ */ a(t, { className: `${Pn.playStyled} saas-image-play-icon` })
|
|
7085
7085
|
] })
|
|
7086
7086
|
}
|
|
7087
7087
|
),
|
|
@@ -7260,10 +7260,10 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7260
7260
|
}
|
|
7261
7261
|
)
|
|
7262
7262
|
}
|
|
7263
|
-
), Bu = "_drawerStyled_tm61w_1",
|
|
7263
|
+
), Bu = "_drawerStyled_tm61w_1", Ou = "_sidebarCustom_tm61w_6", Pu = "_accordionStyled_tm61w_24", Du = "_accordionHeading_tm61w_35", Mu = "_accordionSummeryStyled_tm61w_44", ju = "_linkStyled_tm61w_72", Qu = "_subLinkStyled_tm61w_92", Gu = "_inputContent_tm61w_114", Hu = "_buttonContent_tm61w_115", zu = "_inputStyled_tm61w_125", Vu = "_buscar_tm61w_141", Fu = "_buttonStyled_tm61w_170", $u = "_accordionDetailsStyled_tm61w_185", Wu = "_footerSlider_tm61w_200", Yu = "_socialMedia_tm61w_211", Ku = "_copyRights_tm61w_230", Ju = "_icon_tm61w_241", le = {
|
|
7264
7264
|
drawerStyled: Bu,
|
|
7265
|
-
sidebarCustom:
|
|
7266
|
-
accordionStyled:
|
|
7265
|
+
sidebarCustom: Ou,
|
|
7266
|
+
accordionStyled: Pu,
|
|
7267
7267
|
accordionHeading: Du,
|
|
7268
7268
|
accordionSummeryStyled: Mu,
|
|
7269
7269
|
linkStyled: ju,
|
|
@@ -7446,7 +7446,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7446
7446
|
children: t?.data[0]?.main?.title.home ?? ""
|
|
7447
7447
|
}
|
|
7448
7448
|
);
|
|
7449
|
-
return /* @__PURE__ */ f(
|
|
7449
|
+
return /* @__PURE__ */ f(Y, { children: [
|
|
7450
7450
|
/* @__PURE__ */ a(
|
|
7451
7451
|
"input",
|
|
7452
7452
|
{
|
|
@@ -7492,7 +7492,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7492
7492
|
gnews: gh,
|
|
7493
7493
|
tiktok: ph,
|
|
7494
7494
|
whatsapp: Ah
|
|
7495
|
-
},
|
|
7495
|
+
}, yh = (e) => {
|
|
7496
7496
|
const { cintillo: t, tapeTitle: n, socials: r } = e, o = "", s = t?.findIndex((i) => i.link === o) ?? 0;
|
|
7497
7497
|
return (Array.isArray(t) || e.socialIcons) && /* @__PURE__ */ f("section", { className: ze.content, children: [
|
|
7498
7498
|
Array.isArray(t) && /* @__PURE__ */ f("div", { className: `${ze.tabs} header-page-tape-content`, children: [
|
|
@@ -7543,8 +7543,8 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7543
7543
|
i
|
|
7544
7544
|
)) })
|
|
7545
7545
|
] });
|
|
7546
|
-
},
|
|
7547
|
-
headerStyled:
|
|
7546
|
+
}, wh = "_headerStyled_6yw62_1", vh = "_headerContent_6yw62_14", bh = "_iconContent_6yw62_25", Ch = "_menuButton_6yw62_34", _h = "_logoStyled_6yw62_66", Nh = "_buttonSection_6yw62_94", Sh = "_buttonSectionSearch_6yw62_109", xh = "_headLineContent_6yw62_131", Eh = "_headLineTitle_6yw62_144", Th = "_headLine_6yw62_131", Ih = "_hasAlertZone_6yw62_197", ke = {
|
|
7547
|
+
headerStyled: wh,
|
|
7548
7548
|
headerContent: vh,
|
|
7549
7549
|
iconContent: bh,
|
|
7550
7550
|
menuButton: Ch,
|
|
@@ -7559,7 +7559,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7559
7559
|
const { alertZone: t } = e;
|
|
7560
7560
|
return /* @__PURE__ */ f("header", { className: ke.headerStyled, children: [
|
|
7561
7561
|
e.socialIcons && /* @__PURE__ */ a(
|
|
7562
|
-
|
|
7562
|
+
yh,
|
|
7563
7563
|
{
|
|
7564
7564
|
socialIcons: e.socialIcons,
|
|
7565
7565
|
cintillo: e.cintillo,
|
|
@@ -7648,14 +7648,14 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7648
7648
|
}
|
|
7649
7649
|
)
|
|
7650
7650
|
] });
|
|
7651
|
-
}, Uh = "_ul_j3aqc_1", qh = "_li_j3aqc_10", Rh = "_liBefore_j3aqc_18", Lh = "_ulContent_j3aqc_33", Bh = "_contentModal_j3aqc_44",
|
|
7651
|
+
}, Uh = "_ul_j3aqc_1", qh = "_li_j3aqc_10", Rh = "_liBefore_j3aqc_18", Lh = "_ulContent_j3aqc_33", Bh = "_contentModal_j3aqc_44", Oh = "_linkStyled_j3aqc_56", Ph = "_itemLink_j3aqc_81", Ve = {
|
|
7652
7652
|
ul: Uh,
|
|
7653
7653
|
li: qh,
|
|
7654
7654
|
liBefore: Rh,
|
|
7655
7655
|
ulContent: Lh,
|
|
7656
7656
|
contentModal: Bh,
|
|
7657
|
-
linkStyled:
|
|
7658
|
-
itemLink:
|
|
7657
|
+
linkStyled: Oh,
|
|
7658
|
+
itemLink: Ph
|
|
7659
7659
|
}, Dh = (e) => {
|
|
7660
7660
|
const { items: t } = e;
|
|
7661
7661
|
return /* @__PURE__ */ a("ul", { className: Ve.ul, children: t.map((n, r) => /* @__PURE__ */ f("li", { className: `${Ve.liBefore} ${Ve.li}`, children: [
|
|
@@ -7686,7 +7686,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7686
7686
|
}
|
|
7687
7687
|
) }, s)) }) })
|
|
7688
7688
|
] }, r)) });
|
|
7689
|
-
}, Mh = "_headerStyled_1xeaj_1", jh = "_headerContent_1xeaj_23", Qh = "_menuButtonSection_1xeaj_33", Gh = "_menuButton_1xeaj_33", Hh = "_buttonSection_1xeaj_84", zh = "_buttonSectionSearch_1xeaj_101", Vh = "_hasAlertZone_1xeaj_112", Fh = "_buttonText_1xeaj_131", $h = "_logoContent_1xeaj_141", Wh = "_logoStyled_1xeaj_149", Yh = "_headLineContent_1xeaj_173", Kh = "_headLineTitle_1xeaj_188", Jh = "_menuSection_1xeaj_204", Zh = "_headLine_1xeaj_173", Xh = "_line_1xeaj_256",
|
|
7689
|
+
}, Mh = "_headerStyled_1xeaj_1", jh = "_headerContent_1xeaj_23", Qh = "_menuButtonSection_1xeaj_33", Gh = "_menuButton_1xeaj_33", Hh = "_buttonSection_1xeaj_84", zh = "_buttonSectionSearch_1xeaj_101", Vh = "_hasAlertZone_1xeaj_112", Fh = "_buttonText_1xeaj_131", $h = "_logoContent_1xeaj_141", Wh = "_logoStyled_1xeaj_149", Yh = "_headLineContent_1xeaj_173", Kh = "_headLineTitle_1xeaj_188", Jh = "_menuSection_1xeaj_204", Zh = "_headLine_1xeaj_173", Xh = "_line_1xeaj_256", we = {
|
|
7690
7690
|
headerStyled: Mh,
|
|
7691
7691
|
headerContent: jh,
|
|
7692
7692
|
menuButtonSection: Qh,
|
|
@@ -7707,21 +7707,21 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7707
7707
|
return /* @__PURE__ */ a(
|
|
7708
7708
|
"header",
|
|
7709
7709
|
{
|
|
7710
|
-
className:
|
|
7710
|
+
className: we.headerStyled,
|
|
7711
7711
|
style: { top: e.cintillo || e.socialIcons ? 40 : 0 },
|
|
7712
7712
|
children: /* @__PURE__ */ f(
|
|
7713
7713
|
"div",
|
|
7714
7714
|
{
|
|
7715
7715
|
style: e.showAlertPop ? { gap: 0 } : {},
|
|
7716
7716
|
className: [
|
|
7717
|
-
|
|
7718
|
-
n?.data ?
|
|
7717
|
+
we.headerContent,
|
|
7718
|
+
n?.data ? we.hasAlertZone : ""
|
|
7719
7719
|
].join(" "),
|
|
7720
7720
|
children: [
|
|
7721
|
-
/* @__PURE__ */ a("div", { className:
|
|
7721
|
+
/* @__PURE__ */ a("div", { className: we.menuButtonSection, children: /* @__PURE__ */ f(
|
|
7722
7722
|
Ca,
|
|
7723
7723
|
{
|
|
7724
|
-
className:
|
|
7724
|
+
className: we.menuButton,
|
|
7725
7725
|
id: "button-app",
|
|
7726
7726
|
toggledrawerevent: "true",
|
|
7727
7727
|
"aria-label": "menu",
|
|
@@ -7729,45 +7729,45 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7729
7729
|
title: "menu",
|
|
7730
7730
|
children: [
|
|
7731
7731
|
/* @__PURE__ */ a(No, { color: "var(--header-icons)", width: 27, height: 27 }),
|
|
7732
|
-
/* @__PURE__ */ a("p", { className:
|
|
7732
|
+
/* @__PURE__ */ a("p", { className: we.buttonText, style: { lineHeight: 0 }, children: e.menuText })
|
|
7733
7733
|
]
|
|
7734
7734
|
}
|
|
7735
7735
|
) }),
|
|
7736
|
-
/* @__PURE__ */ a("div", { className:
|
|
7736
|
+
/* @__PURE__ */ a("div", { className: we.logoContent, children: /* @__PURE__ */ a(B, { href: "/", "aria-label": "Home", className: "header-logo-link", children: Te.createElement(
|
|
7737
7737
|
"span",
|
|
7738
|
-
{ className: `${
|
|
7738
|
+
{ className: `${we.logoStyled}` },
|
|
7739
7739
|
e.icon
|
|
7740
7740
|
) }) }),
|
|
7741
|
-
/* @__PURE__ */ f("div", { className:
|
|
7741
|
+
/* @__PURE__ */ f("div", { className: we.buttonSection, children: [
|
|
7742
7742
|
/* @__PURE__ */ a(
|
|
7743
7743
|
B,
|
|
7744
7744
|
{
|
|
7745
7745
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
7746
7746
|
style: { display: "flex" },
|
|
7747
|
-
className:
|
|
7747
|
+
className: we.buttonSectionSearch,
|
|
7748
7748
|
"aria-label": e.searchKeyWord,
|
|
7749
7749
|
children: /* @__PURE__ */ a(xa, { width: 28, height: 28, color: "currentColor" })
|
|
7750
7750
|
}
|
|
7751
7751
|
),
|
|
7752
7752
|
e.rightZone
|
|
7753
7753
|
] }),
|
|
7754
|
-
!e.showAlertPop && n?.data ? /* @__PURE__ */ f("div", { className:
|
|
7755
|
-
/* @__PURE__ */ a("p", { className: `${
|
|
7754
|
+
!e.showAlertPop && n?.data ? /* @__PURE__ */ f("div", { className: we.headLineContent, children: [
|
|
7755
|
+
/* @__PURE__ */ a("p", { className: `${we.headLineTitle} headLineTitle`, children: n.entity.description ? `${n.entity.description}` : "" }),
|
|
7756
7756
|
/* @__PURE__ */ a(
|
|
7757
7757
|
B,
|
|
7758
7758
|
{
|
|
7759
|
-
className:
|
|
7759
|
+
className: we.headLine,
|
|
7760
7760
|
href: n.data[0]?.info.link.url,
|
|
7761
7761
|
target: n.data[0]?.info.link.target,
|
|
7762
7762
|
title: n.data[0]?.main.title.home,
|
|
7763
7763
|
children: je(n.data[0]?.main.title.home ?? "", 120)
|
|
7764
7764
|
}
|
|
7765
7765
|
)
|
|
7766
|
-
] }) : /* @__PURE__ */ a("div", { className:
|
|
7766
|
+
] }) : /* @__PURE__ */ a("div", { className: we.line }),
|
|
7767
7767
|
/* @__PURE__ */ a(
|
|
7768
7768
|
"div",
|
|
7769
7769
|
{
|
|
7770
|
-
className:
|
|
7770
|
+
className: we.menuSection,
|
|
7771
7771
|
style: e.showAlertPop ? { "--showAlertPop": "0px" } : {},
|
|
7772
7772
|
children: Array.isArray(t) && /* @__PURE__ */ a(Dh, { items: t })
|
|
7773
7773
|
}
|
|
@@ -7783,7 +7783,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7783
7783
|
op2: am
|
|
7784
7784
|
}, i3 = (e) => {
|
|
7785
7785
|
const { alertZone: t, children: n, sidebar: r } = e;
|
|
7786
|
-
return /* @__PURE__ */ f(
|
|
7786
|
+
return /* @__PURE__ */ f(Y, { children: [
|
|
7787
7787
|
/* @__PURE__ */ a(kh, { ...e }),
|
|
7788
7788
|
!e.showOnlyStickyHeader && /* @__PURE__ */ a(em, { ...e }),
|
|
7789
7789
|
/* @__PURE__ */ f(
|
|
@@ -7831,7 +7831,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7831
7831
|
}, lm = (e) => /* @__PURE__ */ a("section", { className: pt.content, children: Array.isArray(e.tags) && /* @__PURE__ */ f("div", { className: pt.tags, children: [
|
|
7832
7832
|
/* @__PURE__ */ a("p", { className: pt.tagStyled, children: e.title ? e.title : "Tags:" }),
|
|
7833
7833
|
e.tags.map((t, n) => t.approved ? /* @__PURE__ */ a(B, { href: vt(t, e.paths), children: /* @__PURE__ */ a("div", { className: `${pt.chipStyled} ${pt.tagLink}`, children: t.name }) }, n) : /* @__PURE__ */ a("div", { className: pt.chipStyled, children: t.name }, n))
|
|
7834
|
-
] }) }), dm = "_contentBox_1rkkg_1", um = "_content_1rkkg_1", hm = "_imageStyled_1rkkg_16", mm = "_contentIconStyled_1rkkg_23", fm = "_avatarContent_1rkkg_43", gm = "_journalistSection_1rkkg_50", pm = "_journalistInfo_1rkkg_56", Am = "_socialNetworkSection_1rkkg_70",
|
|
7834
|
+
] }) }), dm = "_contentBox_1rkkg_1", um = "_content_1rkkg_1", hm = "_imageStyled_1rkkg_16", mm = "_contentIconStyled_1rkkg_23", fm = "_avatarContent_1rkkg_43", gm = "_journalistSection_1rkkg_50", pm = "_journalistInfo_1rkkg_56", Am = "_socialNetworkSection_1rkkg_70", ym = "_article_1rkkg_83", Pe = {
|
|
7835
7835
|
contentBox: dm,
|
|
7836
7836
|
content: um,
|
|
7837
7837
|
imageStyled: hm,
|
|
@@ -7840,15 +7840,15 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7840
7840
|
journalistSection: gm,
|
|
7841
7841
|
journalistInfo: pm,
|
|
7842
7842
|
socialNetworkSection: Am,
|
|
7843
|
-
article:
|
|
7844
|
-
},
|
|
7843
|
+
article: ym
|
|
7844
|
+
}, wm = async (e) => {
|
|
7845
7845
|
const { autor: t } = e, n = t?.addtional?.USER_SHOWBIO ?? !1, r = t?.info?.name ?? "", o = t?.info?.fullname ?? "", s = t?.info?.image?.sizes?.[0]?.url ?? "", i = t?.addtional?.USER_MIBIO ?? "", c = t?.addtional?.USER_USERFB ?? "", d = t?.addtional?.USER_USERIG ?? "", l = t?.addtional?.USER_USERTWT ?? "", u = t?.addtional?.USER_USERLIN ?? "";
|
|
7846
|
-
return n && /* @__PURE__ */ a("section", { className:
|
|
7847
|
-
/* @__PURE__ */ f("div", { className:
|
|
7846
|
+
return n && /* @__PURE__ */ a("section", { className: Pe.contentBox, children: /* @__PURE__ */ f("div", { className: Pe.content, children: [
|
|
7847
|
+
/* @__PURE__ */ f("div", { className: Pe.avatarContent, children: [
|
|
7848
7848
|
/* @__PURE__ */ a(
|
|
7849
7849
|
B,
|
|
7850
7850
|
{
|
|
7851
|
-
className:
|
|
7851
|
+
className: Pe.journalistInfo,
|
|
7852
7852
|
href: `/${e.paths.autor}/${r}`,
|
|
7853
7853
|
children: s ? /* @__PURE__ */ a(
|
|
7854
7854
|
"img",
|
|
@@ -7856,15 +7856,15 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
7856
7856
|
fetchPriority: "low",
|
|
7857
7857
|
loading: "lazy",
|
|
7858
7858
|
alt: "autor-image",
|
|
7859
|
-
className:
|
|
7859
|
+
className: Pe.imageStyled,
|
|
7860
7860
|
src: await me(s)
|
|
7861
7861
|
}
|
|
7862
|
-
) : /* @__PURE__ */ a("div", { className:
|
|
7862
|
+
) : /* @__PURE__ */ a("div", { className: Pe.contentIconStyled, children: e.autorIcon() })
|
|
7863
7863
|
}
|
|
7864
7864
|
),
|
|
7865
|
-
/* @__PURE__ */ f("section", { className:
|
|
7866
|
-
/* @__PURE__ */ a("h3", { className:
|
|
7867
|
-
/* @__PURE__ */ f("section", { className:
|
|
7865
|
+
/* @__PURE__ */ f("section", { className: Pe.journalistSection, children: [
|
|
7866
|
+
/* @__PURE__ */ a("h3", { className: Pe.journalistInfo, children: /* @__PURE__ */ a(B, { href: `/${e.paths.autor}/${r}`, children: o }) }),
|
|
7867
|
+
/* @__PURE__ */ f("section", { className: Pe.socialNetworkSection, children: [
|
|
7868
7868
|
c && /* @__PURE__ */ a(
|
|
7869
7869
|
"a",
|
|
7870
7870
|
{
|
|
@@ -8025,7 +8025,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
8025
8025
|
n && /* @__PURE__ */ a(
|
|
8026
8026
|
"p",
|
|
8027
8027
|
{
|
|
8028
|
-
className:
|
|
8028
|
+
className: Pe.article,
|
|
8029
8029
|
dangerouslySetInnerHTML: {
|
|
8030
8030
|
__html: `${i} <a aria-label="${r}" href="/${e.paths.autor}/${r}">${e.texts.authorViewMore ?? "Ver más"}</a>`
|
|
8031
8031
|
}
|
|
@@ -8079,7 +8079,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
8079
8079
|
},
|
|
8080
8080
|
`author-${r.firstname}`
|
|
8081
8081
|
)) });
|
|
8082
|
-
}, Tm = "_content_1j0pj_1", Im = "_contentNews_1j0pj_10", km = "_linkTitle_1j0pj_27", Um = "_tag_1j0pj_35", qm = "_tagmx_1j0pj_55", Rm = "_titular_1j0pj_70", Lm = "_correspondent_1j0pj_85", Bm = "_correspondentLink_1j0pj_96",
|
|
8082
|
+
}, Tm = "_content_1j0pj_1", Im = "_contentNews_1j0pj_10", km = "_linkTitle_1j0pj_27", Um = "_tag_1j0pj_35", qm = "_tagmx_1j0pj_55", Rm = "_titular_1j0pj_70", Lm = "_correspondent_1j0pj_85", Bm = "_correspondentLink_1j0pj_96", Om = "_description_1j0pj_107", xe = {
|
|
8083
8083
|
content: Tm,
|
|
8084
8084
|
contentNews: Im,
|
|
8085
8085
|
linkTitle: km,
|
|
@@ -8088,9 +8088,9 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
8088
8088
|
titular: Rm,
|
|
8089
8089
|
correspondent: Lm,
|
|
8090
8090
|
correspondentLink: Bm,
|
|
8091
|
-
description:
|
|
8091
|
+
description: Om
|
|
8092
8092
|
}, Ct = (e) => {
|
|
8093
|
-
const { SHOW_TAG_BY_SECTION: t } =
|
|
8093
|
+
const { SHOW_TAG_BY_SECTION: t } = K(), n = () => {
|
|
8094
8094
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
8095
8095
|
return `${e?.authors[0]?.fullname} - ${Me(
|
|
8096
8096
|
e.info?.date?.modified
|
|
@@ -8203,7 +8203,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
8203
8203
|
}
|
|
8204
8204
|
}
|
|
8205
8205
|
),
|
|
8206
|
-
e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ a(
|
|
8206
|
+
e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ a(Y, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
8207
8207
|
B,
|
|
8208
8208
|
{
|
|
8209
8209
|
href: `/${e.paths?.autor ?? "autor"}/${e?.authors[0]?.name}`,
|
|
@@ -8279,8 +8279,8 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
8279
8279
|
}
|
|
8280
8280
|
)
|
|
8281
8281
|
] });
|
|
8282
|
-
},
|
|
8283
|
-
content:
|
|
8282
|
+
}, Pm = "_content_1dcf7_1", Dm = "_firstSection_1dcf7_10", Mm = "_secondSection_1dcf7_16", Mn = {
|
|
8283
|
+
content: Pm,
|
|
8284
8284
|
firstSection: Dm,
|
|
8285
8285
|
secondSection: Mm
|
|
8286
8286
|
}, jm = ({
|
|
@@ -8357,7 +8357,7 @@ const Dd = "_content_r1co8_1", Md = "_videoContent_r1co8_20", jd = "_articleSect
|
|
|
8357
8357
|
subtitle: $m,
|
|
8358
8358
|
linkStyled: Wm
|
|
8359
8359
|
}, xo = (e) => {
|
|
8360
|
-
const { SHOW_TAG_BY_SECTION: t } =
|
|
8360
|
+
const { SHOW_TAG_BY_SECTION: t } = K(), n = () => {
|
|
8361
8361
|
if (t && e.mainNew.keywords?.tags?.length && e.mainNew.keywords.tags.length > 0) {
|
|
8362
8362
|
const r = e.mainNew.keywords.tags[0], o = r.name;
|
|
8363
8363
|
return r.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
@@ -8583,22 +8583,22 @@ const c3 = (e) => {
|
|
|
8583
8583
|
}
|
|
8584
8584
|
)
|
|
8585
8585
|
] });
|
|
8586
|
-
}, Af = "_content_1nd2h_1",
|
|
8586
|
+
}, Af = "_content_1nd2h_1", yf = "_newsContent_1nd2h_8", wf = "_boxPosition_1nd2h_17", vf = "_bannerContent_1nd2h_23", bf = "_bannerContentAux_1nd2h_33", yt = {
|
|
8587
8587
|
content: Af,
|
|
8588
|
-
newsContent:
|
|
8589
|
-
boxPosition:
|
|
8588
|
+
newsContent: yf,
|
|
8589
|
+
boxPosition: wf,
|
|
8590
8590
|
bannerContent: vf,
|
|
8591
8591
|
bannerContentAux: bf
|
|
8592
8592
|
}, d3 = (e) => {
|
|
8593
8593
|
const { news: t } = e;
|
|
8594
|
-
return Array.isArray(t) && /* @__PURE__ */ f("div", { className:
|
|
8595
|
-
/* @__PURE__ */ f("div", { className:
|
|
8594
|
+
return Array.isArray(t) && /* @__PURE__ */ f("div", { className: yt.content, children: [
|
|
8595
|
+
/* @__PURE__ */ f("div", { className: yt.newsContent, children: [
|
|
8596
8596
|
e.bannerArray && e.bannerArray.map((n, r) => /* @__PURE__ */ a(
|
|
8597
8597
|
"div",
|
|
8598
8598
|
{
|
|
8599
|
-
className:
|
|
8599
|
+
className: yt.boxPosition + " banner-context",
|
|
8600
8600
|
style: { order: 2 + 5 * r },
|
|
8601
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
8601
|
+
children: /* @__PURE__ */ a("div", { className: yt.bannerContentAux, children: /* @__PURE__ */ a(
|
|
8602
8602
|
"div",
|
|
8603
8603
|
{
|
|
8604
8604
|
style: {
|
|
@@ -8615,16 +8615,16 @@ const c3 = (e) => {
|
|
|
8615
8615
|
t.map((n, r) => /* @__PURE__ */ a(
|
|
8616
8616
|
"div",
|
|
8617
8617
|
{
|
|
8618
|
-
className:
|
|
8618
|
+
className: yt.boxPosition,
|
|
8619
8619
|
style: { order: r },
|
|
8620
8620
|
children: /* @__PURE__ */ a(Ze, { ...n, share: e.share, paths: e.paths })
|
|
8621
8621
|
},
|
|
8622
8622
|
r
|
|
8623
8623
|
))
|
|
8624
8624
|
] }),
|
|
8625
|
-
/* @__PURE__ */ a("div", { className:
|
|
8625
|
+
/* @__PURE__ */ a("div", { className: yt.bannerContent, children: e.halfPageBanner })
|
|
8626
8626
|
] });
|
|
8627
|
-
}, u3 = (e) => /* @__PURE__ */ f(
|
|
8627
|
+
}, u3 = (e) => /* @__PURE__ */ f(Y, { children: [
|
|
8628
8628
|
/* @__PURE__ */ a(
|
|
8629
8629
|
gl,
|
|
8630
8630
|
{
|
|
@@ -8769,11 +8769,11 @@ const c3 = (e) => {
|
|
|
8769
8769
|
})
|
|
8770
8770
|
}
|
|
8771
8771
|
) });
|
|
8772
|
-
}, Lf = "_headerSection_1m1sp_3", Bf = "_headerSectionLink_1m1sp_16",
|
|
8772
|
+
}, Lf = "_headerSection_1m1sp_3", Bf = "_headerSectionLink_1m1sp_16", Of = "_newsContent_1m1sp_29", Gn = {
|
|
8773
8773
|
headerSection: Lf,
|
|
8774
8774
|
headerSectionLink: Bf,
|
|
8775
|
-
newsContent:
|
|
8776
|
-
},
|
|
8775
|
+
newsContent: Of
|
|
8776
|
+
}, Pf = (e) => {
|
|
8777
8777
|
const { content: t, title: n, isVideo: r = !0 } = e;
|
|
8778
8778
|
if (!t || t.length === 0) return;
|
|
8779
8779
|
const o = t[0], s = e.slot_id && e.slot_id !== "Nota_1", i = t.slice(1);
|
|
@@ -9103,7 +9103,7 @@ const c3 = (e) => {
|
|
|
9103
9103
|
{
|
|
9104
9104
|
className: [Ye.newsContentSection, "padding-0"].join(" "),
|
|
9105
9105
|
paginatorComponent: /* @__PURE__ */ a(
|
|
9106
|
-
|
|
9106
|
+
wn,
|
|
9107
9107
|
{
|
|
9108
9108
|
texts: c,
|
|
9109
9109
|
pathname: i,
|
|
@@ -9161,12 +9161,12 @@ const c3 = (e) => {
|
|
|
9161
9161
|
}
|
|
9162
9162
|
);
|
|
9163
9163
|
case "op2":
|
|
9164
|
-
return /* @__PURE__ */ a(
|
|
9164
|
+
return /* @__PURE__ */ a(Y, { children: t.length > 0 ? /* @__PURE__ */ a(
|
|
9165
9165
|
ra,
|
|
9166
9166
|
{
|
|
9167
9167
|
className: "padding-0",
|
|
9168
9168
|
paginatorComponent: /* @__PURE__ */ a(
|
|
9169
|
-
|
|
9169
|
+
wn,
|
|
9170
9170
|
{
|
|
9171
9171
|
texts: c,
|
|
9172
9172
|
pathname: i,
|
|
@@ -9222,7 +9222,7 @@ const c3 = (e) => {
|
|
|
9222
9222
|
}
|
|
9223
9223
|
) });
|
|
9224
9224
|
default:
|
|
9225
|
-
return /* @__PURE__ */ a(
|
|
9225
|
+
return /* @__PURE__ */ a(Y, {});
|
|
9226
9226
|
}
|
|
9227
9227
|
}, d2 = "_content_gwsqy_1", u2 = "_contactInfoContent_gwsqy_7", fr = {
|
|
9228
9228
|
content: d2,
|
|
@@ -9251,9 +9251,9 @@ const c3 = (e) => {
|
|
|
9251
9251
|
className: `content-layout-2 ${p2.content} ${t}`,
|
|
9252
9252
|
children: e
|
|
9253
9253
|
}
|
|
9254
|
-
),
|
|
9255
|
-
container:
|
|
9256
|
-
note:
|
|
9254
|
+
), y2 = "_container_8w9ca_1", w2 = "_note_8w9ca_9", v2 = "_commercial_8w9ca_49", b2 = "_commercialContent_8w9ca_66", C2 = "_complement_8w9ca_82", Lt = {
|
|
9255
|
+
container: y2,
|
|
9256
|
+
note: w2,
|
|
9257
9257
|
commercial: v2,
|
|
9258
9258
|
commercialContent: b2,
|
|
9259
9259
|
complement: C2
|
|
@@ -9377,7 +9377,7 @@ const c3 = (e) => {
|
|
|
9377
9377
|
linkStyled: R2
|
|
9378
9378
|
}, L2 = "_content_ifkxj_1", B2 = {
|
|
9379
9379
|
content: L2
|
|
9380
|
-
},
|
|
9380
|
+
}, O2 = (e) => /* @__PURE__ */ a("section", { className: B2.content, id: e.id, children: e.children }), P2 = async (e, t, n) => {
|
|
9381
9381
|
if (!n) return e;
|
|
9382
9382
|
const r = /<span data-src="(.*?)"><\/span>/g, o = [...e.matchAll(r)];
|
|
9383
9383
|
let s = e;
|
|
@@ -9392,7 +9392,7 @@ const c3 = (e) => {
|
|
|
9392
9392
|
s = s.replace("ck-related-news", "ck-related-news-empty");
|
|
9393
9393
|
break;
|
|
9394
9394
|
}
|
|
9395
|
-
const u = l.preview?.sizes?.[0], m = u ? await me(u.url) : "", h = l.info.section?.url ?? "#", p = l.info.section?.name ?? "Sección", g = l.info.link?.url ?? "#", A = l.main?.title.article ?? "Título",
|
|
9395
|
+
const u = l.preview?.sizes?.[0], m = u ? await me(u.url) : "", h = l.info.section?.url ?? "#", p = l.info.section?.name ?? "Sección", g = l.info.link?.url ?? "#", A = l.main?.title.article ?? "Título", y = (await Promise.all(
|
|
9396
9396
|
l.preview?.sizes?.map(async (N) => {
|
|
9397
9397
|
const _ = await me(N.url);
|
|
9398
9398
|
return N.width < 200 ? `<source srcset="${_}" media="(width < 750px)"/>` : `<source srcset="${_}" media="(width >= 750px)"/>`;
|
|
@@ -9400,7 +9400,7 @@ const c3 = (e) => {
|
|
|
9400
9400
|
)).reduce((N, _) => N += _, ""), v = `
|
|
9401
9401
|
<span data-src="${d}">
|
|
9402
9402
|
<picture style='display: flex'>
|
|
9403
|
-
${
|
|
9403
|
+
${y}
|
|
9404
9404
|
<img fetchPriority='low' loading='lazy' src="${m}" alt="${t.noteRelatedImageAlt}" />
|
|
9405
9405
|
</picture>
|
|
9406
9406
|
<div>
|
|
@@ -9445,9 +9445,9 @@ async function Q2(e, t) {
|
|
|
9445
9445
|
if (h && h.data) {
|
|
9446
9446
|
const g = h.data.data[0];
|
|
9447
9447
|
let A = "";
|
|
9448
|
-
const
|
|
9448
|
+
const y = d.match(
|
|
9449
9449
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
9450
|
-
), v =
|
|
9450
|
+
), v = y && y[1] ? y[1].trim() : "";
|
|
9451
9451
|
g.info && g.info.type === "video-youtube" ? A = `<iframe
|
|
9452
9452
|
loading="lazy"
|
|
9453
9453
|
frameborder="0"
|
|
@@ -9511,7 +9511,7 @@ const H2 = async ({
|
|
|
9511
9511
|
};
|
|
9512
9512
|
});
|
|
9513
9513
|
return /* @__PURE__ */ a("section", { className: $e.content, id: "block-notes-list", children: i?.map(async (c, d) => /* @__PURE__ */ f(pn, { children: [
|
|
9514
|
-
/* @__PURE__ */ a(
|
|
9514
|
+
/* @__PURE__ */ a(O2, { id: `item-${d + 1}`, children: /* @__PURE__ */ f("div", { className: $e.contentWithinCard, children: [
|
|
9515
9515
|
(await c).date > 0 && /* @__PURE__ */ f("div", { className: $e.contentDate, children: [
|
|
9516
9516
|
/* @__PURE__ */ a(
|
|
9517
9517
|
"span",
|
|
@@ -9540,7 +9540,7 @@ const H2 = async ({
|
|
|
9540
9540
|
{
|
|
9541
9541
|
className: `contentTextList ${$e.contentTextList}`,
|
|
9542
9542
|
dangerouslySetInnerHTML: {
|
|
9543
|
-
__html: await
|
|
9543
|
+
__html: await P2(
|
|
9544
9544
|
(await c).body.rendered.replace(/ /g, ""),
|
|
9545
9545
|
r,
|
|
9546
9546
|
s
|
|
@@ -9611,7 +9611,7 @@ const F2 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9611
9611
|
if (!e.news || !e.news.authors) return null;
|
|
9612
9612
|
const { news: t, socials: n, texts: r } = e, o = t.authors.map(
|
|
9613
9613
|
(c) => c.internaluser ? `<a href="${`/${e.paths.autor}/${c.name}`}">${c.fullname}</a>` : c.fullname
|
|
9614
|
-
).join(", "), s = () => t.authors.length === 1 ? de.width1Autor : t.authors.length === 2 ? de.width2Autor : t.authors.length === 3 ? de.width3Autor : "", { CONFIG_shareOnlyWhatsApp: i } =
|
|
9614
|
+
).join(", "), s = () => t.authors.length === 1 ? de.width1Autor : t.authors.length === 2 ? de.width2Autor : t.authors.length === 3 ? de.width3Autor : "", { CONFIG_shareOnlyWhatsApp: i } = K();
|
|
9615
9615
|
return t.config?.showauthor && /* @__PURE__ */ a("div", { className: de.content, children: /* @__PURE__ */ f("div", { className: de.avatarContent, children: [
|
|
9616
9616
|
i ? /* @__PURE__ */ f(
|
|
9617
9617
|
"a",
|
|
@@ -9652,7 +9652,7 @@ const F2 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9652
9652
|
"data-props": encodeURIComponent(
|
|
9653
9653
|
JSON.stringify({ noteShare: e.noteShare })
|
|
9654
9654
|
),
|
|
9655
|
-
children: /* @__PURE__ */ a(
|
|
9655
|
+
children: /* @__PURE__ */ a(Pd, { noteShare: e.noteShare })
|
|
9656
9656
|
}
|
|
9657
9657
|
),
|
|
9658
9658
|
/* @__PURE__ */ a(V2, { url: e.noteShare?.googleProfile ?? "" }),
|
|
@@ -9829,7 +9829,7 @@ const n0 = (e) => /* @__PURE__ */ a(
|
|
|
9829
9829
|
/<iframe(?![^>]*\btitle=)[^>]*>/gi,
|
|
9830
9830
|
(n) => n.replace("<iframe", '<iframe title="frame custom content"')
|
|
9831
9831
|
), Io = async (e) => {
|
|
9832
|
-
const { PUBLIC_IS_OFFLINE: t } =
|
|
9832
|
+
const { PUBLIC_IS_OFFLINE: t } = K();
|
|
9833
9833
|
if (!(t === "true")) {
|
|
9834
9834
|
const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(l)], m = {};
|
|
9835
9835
|
for (const h of u) {
|
|
@@ -9850,24 +9850,24 @@ const n0 = (e) => /* @__PURE__ */ a(
|
|
|
9850
9850
|
const u = l[0], m = l[2] ?? "";
|
|
9851
9851
|
i.add(m);
|
|
9852
9852
|
const h = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), p = h ? h[1] : "imagen", g = m.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
|
|
9853
|
-
let
|
|
9853
|
+
let y = 0, v = 0;
|
|
9854
9854
|
if (A) {
|
|
9855
|
-
const x = A.match(/w:(\d+)/),
|
|
9856
|
-
|
|
9855
|
+
const x = A.match(/w:(\d+)/), O = A.match(/h:(\d+)/);
|
|
9856
|
+
y = x ? parseInt(x[1]) : 0, v = O ? parseInt(O[1]) : 0;
|
|
9857
9857
|
}
|
|
9858
9858
|
const _ = {
|
|
9859
9859
|
preview: {
|
|
9860
9860
|
sizes: [
|
|
9861
9861
|
{
|
|
9862
|
-
scale: A || `w:${
|
|
9862
|
+
scale: A || `w:${y},h:${v},t:2`,
|
|
9863
9863
|
url: m,
|
|
9864
|
-
width:
|
|
9864
|
+
width: y,
|
|
9865
9865
|
height: v
|
|
9866
9866
|
}
|
|
9867
9867
|
],
|
|
9868
9868
|
original: {
|
|
9869
9869
|
url: m.split("?")[0],
|
|
9870
|
-
width:
|
|
9870
|
+
width: y,
|
|
9871
9871
|
height: v
|
|
9872
9872
|
},
|
|
9873
9873
|
copyright: !1,
|
|
@@ -9884,24 +9884,24 @@ const n0 = (e) => /* @__PURE__ */ a(
|
|
|
9884
9884
|
const u = l[0], m = l[1] ?? "";
|
|
9885
9885
|
if (i.has(m)) continue;
|
|
9886
9886
|
const h = u.match(/\balt=["']([^"']*)["']/), p = h ? h[1] : "imagen", g = m.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
|
|
9887
|
-
let
|
|
9887
|
+
let y = 0, v = 0;
|
|
9888
9888
|
if (A) {
|
|
9889
|
-
const x = A.match(/w:(\d+)/),
|
|
9890
|
-
|
|
9889
|
+
const x = A.match(/w:(\d+)/), O = A.match(/h:(\d+)/);
|
|
9890
|
+
y = x ? parseInt(x[1]) : 0, v = O ? parseInt(O[1]) : 0;
|
|
9891
9891
|
}
|
|
9892
9892
|
const _ = {
|
|
9893
9893
|
preview: {
|
|
9894
9894
|
sizes: [
|
|
9895
9895
|
{
|
|
9896
|
-
scale: A || `w:${
|
|
9896
|
+
scale: A || `w:${y},h:${v},t:2`,
|
|
9897
9897
|
url: m,
|
|
9898
|
-
width:
|
|
9898
|
+
width: y,
|
|
9899
9899
|
height: v
|
|
9900
9900
|
}
|
|
9901
9901
|
],
|
|
9902
9902
|
original: {
|
|
9903
9903
|
url: m.split("?")[0],
|
|
9904
|
-
width:
|
|
9904
|
+
width: y,
|
|
9905
9905
|
height: v
|
|
9906
9906
|
},
|
|
9907
9907
|
copyright: !1,
|
|
@@ -9972,7 +9972,7 @@ const n0 = (e) => /* @__PURE__ */ a(
|
|
|
9972
9972
|
(N) => d.includes(N?.[0]?.info.link.internal || "")
|
|
9973
9973
|
);
|
|
9974
9974
|
if (!l || !l[0]) continue;
|
|
9975
|
-
const u = l[0].preview?.sizes?.[0], m = u ? await me(u.url) : "", h = l[0].info.section?.url ?? "#", p = l[0].info.section?.name ?? "Sección", g = l[0].info.link?.url ?? "#", A = l[0].main?.title.article ?? "Título",
|
|
9975
|
+
const u = l[0].preview?.sizes?.[0], m = u ? await me(u.url) : "", h = l[0].info.section?.url ?? "#", p = l[0].info.section?.name ?? "Sección", g = l[0].info.link?.url ?? "#", A = l[0].main?.title.article ?? "Título", y = (await Promise.all(
|
|
9976
9976
|
l[0].preview?.sizes?.map(async (N, _) => {
|
|
9977
9977
|
const E = await me(N.url);
|
|
9978
9978
|
return _ === 0 ? `<source srcset="${E}" media="(width >= 900px)"/>` : `<source srcset="${E}" media="(width < 900px)"/>`;
|
|
@@ -9980,7 +9980,7 @@ const n0 = (e) => /* @__PURE__ */ a(
|
|
|
9980
9980
|
)).reduce((N, _) => N += _, ""), v = `
|
|
9981
9981
|
<span data-src="${d}">
|
|
9982
9982
|
<picture style='display: flex'>
|
|
9983
|
-
${
|
|
9983
|
+
${y}
|
|
9984
9984
|
<img fetchPriority='low' loading='lazy' src="${m}" alt="${t.noteRelatedImageAlt}" />
|
|
9985
9985
|
</picture>
|
|
9986
9986
|
<div>
|
|
@@ -10034,7 +10034,7 @@ async function c0(e, t) {
|
|
|
10034
10034
|
N && (p = N[1] ?? "");
|
|
10035
10035
|
}
|
|
10036
10036
|
}
|
|
10037
|
-
let
|
|
10037
|
+
let y = "";
|
|
10038
10038
|
if (p)
|
|
10039
10039
|
try {
|
|
10040
10040
|
const v = await t.iframe({ path: p }), N = t.schema ? await t.schema(p) : null;
|
|
@@ -10059,23 +10059,23 @@ async function c0(e, t) {
|
|
|
10059
10059
|
allowfullscreen
|
|
10060
10060
|
style="position: relative!important;"
|
|
10061
10061
|
src="${_.main?.code || ""}"></iframe>` : E = _.main?.code || "";
|
|
10062
|
-
const
|
|
10063
|
-
|
|
10062
|
+
const O = x || _.main?.description || "";
|
|
10063
|
+
y = `
|
|
10064
10064
|
<figure class="videoFigure">
|
|
10065
10065
|
${N && N.data && N.data.data ? `<script type="application/ld+json">${Io(
|
|
10066
10066
|
JSON.stringify(N.data.data)
|
|
10067
10067
|
)}<\/script>` : ""}
|
|
10068
10068
|
${E}
|
|
10069
|
-
<figcaption>${
|
|
10069
|
+
<figcaption>${O}</figcaption>
|
|
10070
10070
|
</figure>
|
|
10071
10071
|
`;
|
|
10072
10072
|
}
|
|
10073
10073
|
} catch (v) {
|
|
10074
|
-
console.error("insertVideos error for", p, v),
|
|
10074
|
+
console.error("insertVideos error for", p, v), y = "";
|
|
10075
10075
|
}
|
|
10076
10076
|
else
|
|
10077
|
-
|
|
10078
|
-
r = m, n +=
|
|
10077
|
+
y = h;
|
|
10078
|
+
r = m, n += y, o.lastIndex = m;
|
|
10079
10079
|
}
|
|
10080
10080
|
return n += e.slice(r), n;
|
|
10081
10081
|
}
|
|
@@ -10210,7 +10210,7 @@ const d0 = "_content_cu8lm_1", u0 = "_title_cu8lm_18", pr = {
|
|
|
10210
10210
|
}
|
|
10211
10211
|
}, p0 = "_content_ezbiw_1", A0 = {
|
|
10212
10212
|
content: p0
|
|
10213
|
-
},
|
|
10213
|
+
}, y0 = async ({
|
|
10214
10214
|
newsformated: e,
|
|
10215
10215
|
internal: t,
|
|
10216
10216
|
commonServices: n
|
|
@@ -10233,8 +10233,8 @@ const d0 = "_content_cu8lm_1", u0 = "_title_cu8lm_18", pr = {
|
|
|
10233
10233
|
} catch {
|
|
10234
10234
|
return null;
|
|
10235
10235
|
}
|
|
10236
|
-
},
|
|
10237
|
-
content:
|
|
10236
|
+
}, w0 = "_content_156j7_1", Ar = {
|
|
10237
|
+
content: w0
|
|
10238
10238
|
}, ot = {
|
|
10239
10239
|
imagen: "imagen",
|
|
10240
10240
|
videoEmbedded: "videoEmbedded",
|
|
@@ -10243,7 +10243,7 @@ const d0 = "_content_cu8lm_1", u0 = "_title_cu8lm_18", pr = {
|
|
|
10243
10243
|
}, v0 = {
|
|
10244
10244
|
[ot.videoEmbedded]: h0,
|
|
10245
10245
|
[ot.videoYouTube]: g0,
|
|
10246
|
-
[ot.iframe]:
|
|
10246
|
+
[ot.iframe]: y0
|
|
10247
10247
|
}, b0 = ({ news: e, commonServices: t }) => {
|
|
10248
10248
|
const { config: n, hascontent: r, info: o } = e, s = n.articlepreview, i = o.link.internal, c = r?.hasgalleryimages;
|
|
10249
10249
|
if (s === ot.imagen && c)
|
|
@@ -10385,7 +10385,7 @@ const d0 = "_content_cu8lm_1", u0 = "_title_cu8lm_18", pr = {
|
|
|
10385
10385
|
}) })
|
|
10386
10386
|
] })
|
|
10387
10387
|
] });
|
|
10388
|
-
},
|
|
10388
|
+
}, yr = {
|
|
10389
10389
|
banner: (e) => /* @__PURE__ */ a(pe, { ...e, name: e.slot_id.replace("Home", "block") }),
|
|
10390
10390
|
readest: (e) => /* @__PURE__ */ a(ba, { ...e }),
|
|
10391
10391
|
"Modulo 1x3": (e) => /* @__PURE__ */ a(Eo, { ...e }),
|
|
@@ -10393,7 +10393,7 @@ const d0 = "_content_cu8lm_1", u0 = "_title_cu8lm_18", pr = {
|
|
|
10393
10393
|
"Modulo 1x5": (e) => /* @__PURE__ */ a(Rf, { ...e }),
|
|
10394
10394
|
"Destacado noticias": (e) => /* @__PURE__ */ a(Zm, { ...e }),
|
|
10395
10395
|
"Destacado full width": (e) => /* @__PURE__ */ a(q0, { ...e }),
|
|
10396
|
-
"Destacado videos": (e) => /* @__PURE__ */ a(
|
|
10396
|
+
"Destacado videos": (e) => /* @__PURE__ */ a(Pf, { ...e }),
|
|
10397
10397
|
"Carrusel card": (e) => /* @__PURE__ */ a(Kf, { ...e }),
|
|
10398
10398
|
"Carrusel story": (e) => /* @__PURE__ */ a(C0, { ...e }),
|
|
10399
10399
|
"Carrusel owl": (e) => /* @__PURE__ */ a(_0, { ...e }),
|
|
@@ -10408,7 +10408,7 @@ function ko({
|
|
|
10408
10408
|
banners: r
|
|
10409
10409
|
}) {
|
|
10410
10410
|
if (r)
|
|
10411
|
-
return
|
|
10411
|
+
return yr[e] && /* @__PURE__ */ a("div", { className: "home-slot", style: Ea(n), children: yr[e]({ ...n, banners: r, slot_id: t }) });
|
|
10412
10412
|
}
|
|
10413
10413
|
function f3({
|
|
10414
10414
|
children: e,
|
|
@@ -10416,7 +10416,7 @@ function f3({
|
|
|
10416
10416
|
}) {
|
|
10417
10417
|
return /* @__PURE__ */ a("div", { className: "home-slot", style: Ea(t), children: e });
|
|
10418
10418
|
}
|
|
10419
|
-
const
|
|
10419
|
+
const wr = {
|
|
10420
10420
|
Diario: (e) => {
|
|
10421
10421
|
if (!e?.data || e.data.length === 0) return;
|
|
10422
10422
|
const t = e.data.slice(1);
|
|
@@ -10478,7 +10478,7 @@ const yr = {
|
|
|
10478
10478
|
data: t,
|
|
10479
10479
|
banners: n,
|
|
10480
10480
|
rightOnlyBanner: r
|
|
10481
|
-
}) => /* @__PURE__ */ a("div", { style: Ea(t), children:
|
|
10481
|
+
}) => /* @__PURE__ */ a("div", { style: Ea(t), children: wr[e] && wr[e]({
|
|
10482
10482
|
...t,
|
|
10483
10483
|
rightOnlyBanner: r,
|
|
10484
10484
|
banners: n
|
|
@@ -10497,7 +10497,7 @@ const yr = {
|
|
|
10497
10497
|
const p = "Home_" + m + "_" + h;
|
|
10498
10498
|
!e[p] || !e[p].blockSass || !e[p].blockSass[0] || !e[p].blockSass[0].value || !e[p].blockSass[0].block || e[p].blockSass[0].block === "No Mostrar" || c.push(
|
|
10499
10499
|
/* @__PURE__ */ f(
|
|
10500
|
-
|
|
10500
|
+
wc,
|
|
10501
10501
|
{
|
|
10502
10502
|
show: !!e[p].content?.data,
|
|
10503
10503
|
order: (m - 1) * l + (h - 1),
|
|
@@ -10539,7 +10539,7 @@ const yr = {
|
|
|
10539
10539
|
config: n,
|
|
10540
10540
|
banners: r
|
|
10541
10541
|
}) => {
|
|
10542
|
-
const { PUBLIC_ENV: o } =
|
|
10542
|
+
const { PUBLIC_ENV: o } = K();
|
|
10543
10543
|
if (o !== "local") return null;
|
|
10544
10544
|
const s = e?.news?.data || [], i = (c, d) => ({
|
|
10545
10545
|
...e?.news,
|
|
@@ -10547,7 +10547,7 @@ const yr = {
|
|
|
10547
10547
|
data: s.slice(0, d),
|
|
10548
10548
|
paths: n.paths
|
|
10549
10549
|
});
|
|
10550
|
-
return /* @__PURE__ */ f(
|
|
10550
|
+
return /* @__PURE__ */ f(Y, { children: [
|
|
10551
10551
|
/* @__PURE__ */ a(
|
|
10552
10552
|
zn,
|
|
10553
10553
|
{
|
|
@@ -10594,9 +10594,9 @@ const yr = {
|
|
|
10594
10594
|
itemList: c = [],
|
|
10595
10595
|
socials: d,
|
|
10596
10596
|
getVideos: l
|
|
10597
|
-
} = e, u = e.slug === "liveblogs", { SHOW_NEWS_MORE_NEWS: m, SHOW_NEWS_RELATED_NEWS: h } =
|
|
10597
|
+
} = e, u = e.slug === "liveblogs", { SHOW_NEWS_MORE_NEWS: m, SHOW_NEWS_RELATED_NEWS: h } = K();
|
|
10598
10598
|
if (!(!s || !s[0]))
|
|
10599
|
-
return /* @__PURE__ */ a(
|
|
10599
|
+
return /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ f(A2, { className: ia.contentLayout2, children: [
|
|
10600
10600
|
/* @__PURE__ */ a(
|
|
10601
10601
|
N2,
|
|
10602
10602
|
{
|
|
@@ -10626,7 +10626,7 @@ const yr = {
|
|
|
10626
10626
|
banner: /* @__PURE__ */ a(pe, { banners: r ?? [], name: "right_2" }),
|
|
10627
10627
|
complement: /* @__PURE__ */ f("div", { id: "comentarios", suppressHydrationWarning: !0, children: [
|
|
10628
10628
|
o.length > 0 && /* @__PURE__ */ a(
|
|
10629
|
-
|
|
10629
|
+
wm,
|
|
10630
10630
|
{
|
|
10631
10631
|
texts: e.texts,
|
|
10632
10632
|
autorIcon: e.autorIcon,
|
|
@@ -10675,7 +10675,7 @@ const yr = {
|
|
|
10675
10675
|
}
|
|
10676
10676
|
),
|
|
10677
10677
|
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(rt, { banners: r, index: 2 }) }),
|
|
10678
|
-
h && /* @__PURE__ */ f(
|
|
10678
|
+
h && /* @__PURE__ */ f(Y, { children: [
|
|
10679
10679
|
/* @__PURE__ */ a(
|
|
10680
10680
|
ko,
|
|
10681
10681
|
{
|
|
@@ -10692,7 +10692,7 @@ const yr = {
|
|
|
10692
10692
|
),
|
|
10693
10693
|
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(rt, { banners: r, index: 3 }) })
|
|
10694
10694
|
] }),
|
|
10695
|
-
m && /* @__PURE__ */ f(
|
|
10695
|
+
m && /* @__PURE__ */ f(Y, { children: [
|
|
10696
10696
|
/* @__PURE__ */ a(fe, { title: e.texts.moreNewsTitle, children: /* @__PURE__ */ a(
|
|
10697
10697
|
"div",
|
|
10698
10698
|
{
|
|
@@ -10746,34 +10746,34 @@ const yr = {
|
|
|
10746
10746
|
}
|
|
10747
10747
|
)
|
|
10748
10748
|
] }) });
|
|
10749
|
-
}, L0 = "_content_1tl6i_1", B0 = "_contentInfo_1tl6i_24",
|
|
10749
|
+
}, L0 = "_content_1tl6i_1", B0 = "_contentInfo_1tl6i_24", O0 = "_imageStyled_1tl6i_41", P0 = "_name_1tl6i_46", D0 = "_description_1tl6i_51", M0 = "_contentInfoWithoutImg_1tl6i_104", wt = {
|
|
10750
10750
|
content: L0,
|
|
10751
10751
|
contentInfo: B0,
|
|
10752
|
-
imageStyled:
|
|
10753
|
-
name:
|
|
10752
|
+
imageStyled: O0,
|
|
10753
|
+
name: P0,
|
|
10754
10754
|
description: D0,
|
|
10755
10755
|
contentInfoWithoutImg: M0
|
|
10756
10756
|
}, j0 = async (e) => {
|
|
10757
10757
|
const t = e.img ? await me(e.img) : "";
|
|
10758
|
-
return /* @__PURE__ */ a("section", { className:
|
|
10758
|
+
return /* @__PURE__ */ a("section", { className: wt.content, children: /* @__PURE__ */ f(
|
|
10759
10759
|
"div",
|
|
10760
10760
|
{
|
|
10761
|
-
className: `${
|
|
10761
|
+
className: `${wt.contentInfo} ${t ? "" : wt.contentInfoWithoutImg}`,
|
|
10762
10762
|
children: [
|
|
10763
10763
|
e.img && /* @__PURE__ */ a(
|
|
10764
10764
|
"img",
|
|
10765
10765
|
{
|
|
10766
10766
|
fetchPriority: "low",
|
|
10767
10767
|
loading: "lazy",
|
|
10768
|
-
className:
|
|
10768
|
+
className: wt.imageStyled,
|
|
10769
10769
|
src: t
|
|
10770
10770
|
}
|
|
10771
10771
|
),
|
|
10772
|
-
/* @__PURE__ */ a("h1", { className:
|
|
10772
|
+
/* @__PURE__ */ a("h1", { className: wt.name, children: e.tag }),
|
|
10773
10773
|
e.description && /* @__PURE__ */ a(
|
|
10774
10774
|
"div",
|
|
10775
10775
|
{
|
|
10776
|
-
className:
|
|
10776
|
+
className: wt.description,
|
|
10777
10777
|
dangerouslySetInnerHTML: {
|
|
10778
10778
|
__html: e.description
|
|
10779
10779
|
}
|
|
@@ -10822,7 +10822,7 @@ const yr = {
|
|
|
10822
10822
|
)
|
|
10823
10823
|
] })
|
|
10824
10824
|
}
|
|
10825
|
-
),
|
|
10825
|
+
), y3 = (e) => {
|
|
10826
10826
|
const { option: t, entity: n } = e;
|
|
10827
10827
|
switch (t) {
|
|
10828
10828
|
case "op1":
|
|
@@ -10847,7 +10847,7 @@ const yr = {
|
|
|
10847
10847
|
}
|
|
10848
10848
|
);
|
|
10849
10849
|
default:
|
|
10850
|
-
return /* @__PURE__ */ a(
|
|
10850
|
+
return /* @__PURE__ */ a(Y, {});
|
|
10851
10851
|
}
|
|
10852
10852
|
}, F0 = "_content_1046n_1", $0 = "_buttonStyled_1046n_9", W0 = "_searchStyled_1046n_20", Y0 = "_inputStyled_1046n_36", K0 = "_inputStyledTest_1046n_55", Bt = {
|
|
10853
10853
|
content: F0,
|
|
@@ -10874,7 +10874,7 @@ const yr = {
|
|
|
10874
10874
|
}
|
|
10875
10875
|
) })
|
|
10876
10876
|
}
|
|
10877
|
-
),
|
|
10877
|
+
), w3 = (e) => /* @__PURE__ */ a(
|
|
10878
10878
|
"form",
|
|
10879
10879
|
{
|
|
10880
10880
|
className: Bt.content,
|
|
@@ -10917,7 +10917,7 @@ const yr = {
|
|
|
10917
10917
|
};
|
|
10918
10918
|
switch (n) {
|
|
10919
10919
|
case "op1":
|
|
10920
|
-
return /* @__PURE__ */ a(
|
|
10920
|
+
return /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ f(ir, { children: [
|
|
10921
10921
|
/* @__PURE__ */ a(eu, { autor: r[0], autorIcon: e.autorIcon }),
|
|
10922
10922
|
/* @__PURE__ */ a(
|
|
10923
10923
|
_o,
|
|
@@ -10934,7 +10934,7 @@ const yr = {
|
|
|
10934
10934
|
" "
|
|
10935
10935
|
),
|
|
10936
10936
|
paginatorComponent: /* @__PURE__ */ a(
|
|
10937
|
-
|
|
10937
|
+
wn,
|
|
10938
10938
|
{
|
|
10939
10939
|
texts: u,
|
|
10940
10940
|
pathname: i,
|
|
@@ -10999,9 +10999,9 @@ const yr = {
|
|
|
10999
10999
|
)
|
|
11000
11000
|
] }) });
|
|
11001
11001
|
case "op2":
|
|
11002
|
-
return /* @__PURE__ */ a(
|
|
11002
|
+
return /* @__PURE__ */ a(Y, { children: /* @__PURE__ */ f(ir, { children: [
|
|
11003
11003
|
/* @__PURE__ */ a(uu, { autor: r[0], autorIcon: e.autorIcon }),
|
|
11004
|
-
Array.isArray(t) ? /* @__PURE__ */ f(
|
|
11004
|
+
Array.isArray(t) ? /* @__PURE__ */ f(Y, { children: [
|
|
11005
11005
|
/* @__PURE__ */ a(
|
|
11006
11006
|
Eo,
|
|
11007
11007
|
{
|
|
@@ -11015,7 +11015,7 @@ const yr = {
|
|
|
11015
11015
|
}
|
|
11016
11016
|
),
|
|
11017
11017
|
/* @__PURE__ */ a(
|
|
11018
|
-
|
|
11018
|
+
wn,
|
|
11019
11019
|
{
|
|
11020
11020
|
texts: u,
|
|
11021
11021
|
query: "",
|
|
@@ -11052,12 +11052,12 @@ const yr = {
|
|
|
11052
11052
|
)
|
|
11053
11053
|
] }) });
|
|
11054
11054
|
default:
|
|
11055
|
-
return /* @__PURE__ */ a(
|
|
11055
|
+
return /* @__PURE__ */ a(Y, {});
|
|
11056
11056
|
}
|
|
11057
11057
|
}, tg = "_content_pq89v_1", ng = "_videoContent_pq89v_9", vr = {
|
|
11058
11058
|
content: tg,
|
|
11059
11059
|
videoContent: ng
|
|
11060
|
-
}, ag = "_container_1xr2t_1", rg = "_playStyled_1xr2t_6", og = "_imageStyled_1xr2t_13", sg = "_longer_1xr2t_26", ig = "_contentNews_1xr2t_31", cg = "_tagContent_1xr2t_51", lg = "_tag_1xr2t_51", dg = "_titular_1xr2t_68", ug = "_small_1xr2t_81", hg = "_figure_1xr2t_87", mg = "_backDrop_1xr2t_92", fg = "_backDropAux_1xr2t_100",
|
|
11060
|
+
}, ag = "_container_1xr2t_1", rg = "_playStyled_1xr2t_6", og = "_imageStyled_1xr2t_13", sg = "_longer_1xr2t_26", ig = "_contentNews_1xr2t_31", cg = "_tagContent_1xr2t_51", lg = "_tag_1xr2t_51", dg = "_titular_1xr2t_68", ug = "_small_1xr2t_81", hg = "_figure_1xr2t_87", mg = "_backDrop_1xr2t_92", fg = "_backDropAux_1xr2t_100", Ot = {
|
|
11061
11061
|
container: ag,
|
|
11062
11062
|
playStyled: rg,
|
|
11063
11063
|
imageStyled: og,
|
|
@@ -11072,8 +11072,8 @@ const yr = {
|
|
|
11072
11072
|
backDropAux: fg
|
|
11073
11073
|
}, br = async (e) => {
|
|
11074
11074
|
const { size: t = "longer", video: n } = e, r = n.main.image.sizes[0]?.url ?? "";
|
|
11075
|
-
return /* @__PURE__ */ a("figure", { className:
|
|
11076
|
-
/* @__PURE__ */ a("span", { className:
|
|
11075
|
+
return /* @__PURE__ */ a("figure", { className: Ot.figure, children: /* @__PURE__ */ f("span", { className: Ot.backdrop, children: [
|
|
11076
|
+
/* @__PURE__ */ a("span", { className: Ot.backDropAux }),
|
|
11077
11077
|
/* @__PURE__ */ a(B, { href: n.info.link.url, target: n.info.link.target, children: /* @__PURE__ */ f("div", { children: [
|
|
11078
11078
|
n.main.image.sizes.map(async (o, s) => o.width >= 580 ? /* @__PURE__ */ a(
|
|
11079
11079
|
"source",
|
|
@@ -11095,7 +11095,7 @@ const yr = {
|
|
|
11095
11095
|
{
|
|
11096
11096
|
fetchPriority: "low",
|
|
11097
11097
|
loading: "lazy",
|
|
11098
|
-
className: [
|
|
11098
|
+
className: [Ot.imageStyled, Ot[t]].join(" "),
|
|
11099
11099
|
alt: "",
|
|
11100
11100
|
src: r ? await me(r) : ""
|
|
11101
11101
|
}
|
|
@@ -11115,11 +11115,11 @@ const yr = {
|
|
|
11115
11115
|
`video-small-${r}`
|
|
11116
11116
|
)) })
|
|
11117
11117
|
] }) }) }) });
|
|
11118
|
-
}, pg = "_content_ruy5q_1", Ag = "_videoContent_ruy5q_9",
|
|
11118
|
+
}, pg = "_content_ruy5q_1", Ag = "_videoContent_ruy5q_9", yg = "_articleSection_ruy5q_21", wg = "_contentLatout_ruy5q_31", vg = "_title_ruy5q_36", bg = "_article_ruy5q_21", Cg = "_correspondent_ruy5q_64", lt = {
|
|
11119
11119
|
content: pg,
|
|
11120
11120
|
videoContent: Ag,
|
|
11121
|
-
articleSection:
|
|
11122
|
-
contentLatout:
|
|
11121
|
+
articleSection: yg,
|
|
11122
|
+
contentLatout: wg,
|
|
11123
11123
|
title: vg,
|
|
11124
11124
|
article: bg,
|
|
11125
11125
|
correspondent: Cg
|
|
@@ -11175,7 +11175,7 @@ const yr = {
|
|
|
11175
11175
|
case "op2":
|
|
11176
11176
|
return /* @__PURE__ */ a(xg, { video: e.data[0] });
|
|
11177
11177
|
default:
|
|
11178
|
-
return /* @__PURE__ */ a(
|
|
11178
|
+
return /* @__PURE__ */ a(Y, {});
|
|
11179
11179
|
}
|
|
11180
11180
|
};
|
|
11181
11181
|
function C3({ containerId: e, containerId2: t }) {
|
|
@@ -11228,7 +11228,7 @@ const Eg = (e) => {
|
|
|
11228
11228
|
);
|
|
11229
11229
|
if (!i.length || !i[0]?.url || i[0]?.url === "")
|
|
11230
11230
|
return /* @__PURE__ */ a("div", { className: se.imagePlaceholder });
|
|
11231
|
-
const { PUBLIC_API_HOST: c, PUBLIC_ENV: d } =
|
|
11231
|
+
const { PUBLIC_API_HOST: c, PUBLIC_ENV: d } = K();
|
|
11232
11232
|
return /* @__PURE__ */ a("figure", { className: se.figure, children: /* @__PURE__ */ f("span", { className: se.backdrop, children: [
|
|
11233
11233
|
/* @__PURE__ */ a(
|
|
11234
11234
|
"span",
|
|
@@ -11253,7 +11253,7 @@ const Eg = (e) => {
|
|
|
11253
11253
|
}
|
|
11254
11254
|
}
|
|
11255
11255
|
),
|
|
11256
|
-
t && /* @__PURE__ */ f(
|
|
11256
|
+
t && /* @__PURE__ */ f(Y, { children: [
|
|
11257
11257
|
/* @__PURE__ */ a(
|
|
11258
11258
|
"div",
|
|
11259
11259
|
{
|
|
@@ -11419,7 +11419,7 @@ const Eg = (e) => {
|
|
|
11419
11419
|
{
|
|
11420
11420
|
className: r(s),
|
|
11421
11421
|
style: { order: s },
|
|
11422
|
-
children: /* @__PURE__ */ f("section", { className:
|
|
11422
|
+
children: /* @__PURE__ */ f("section", { className: Pt.content, children: [
|
|
11423
11423
|
/* @__PURE__ */ a(
|
|
11424
11424
|
B,
|
|
11425
11425
|
{
|
|
@@ -11440,7 +11440,7 @@ const Eg = (e) => {
|
|
|
11440
11440
|
)
|
|
11441
11441
|
}
|
|
11442
11442
|
),
|
|
11443
|
-
/* @__PURE__ */ a("div", { className:
|
|
11443
|
+
/* @__PURE__ */ a("div", { className: Pt.newsDescription, children: /* @__PURE__ */ a(
|
|
11444
11444
|
qg,
|
|
11445
11445
|
{
|
|
11446
11446
|
main: i,
|
|
@@ -11506,7 +11506,7 @@ const Eg = (e) => {
|
|
|
11506
11506
|
children: n ? je(e.main.subtitle.striped) : e.main.subtitle.striped
|
|
11507
11507
|
}
|
|
11508
11508
|
),
|
|
11509
|
-
(e?.config?.showtime || e.config?.showauthor) && o && /* @__PURE__ */ a(
|
|
11509
|
+
(e?.config?.showtime || e.config?.showauthor) && o && /* @__PURE__ */ a(Y, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
11510
11510
|
B,
|
|
11511
11511
|
{
|
|
11512
11512
|
className: re.correspondentLink,
|
|
@@ -11554,11 +11554,11 @@ const Eg = (e) => {
|
|
|
11554
11554
|
/* @__PURE__ */ a("p", { className: "comment-text", children: n })
|
|
11555
11555
|
] })
|
|
11556
11556
|
] }) });
|
|
11557
|
-
}, Lg = "_overlay_qj491_3", Bg = "_popup_qj491_17",
|
|
11557
|
+
}, Lg = "_overlay_qj491_3", Bg = "_popup_qj491_17", Og = "_title_qj491_40", Pg = "_optionsContainer_qj491_52", Dg = "_option_qj491_52", Mg = "_radioInput_qj491_66", jg = "_radioCustom_qj491_70", Qg = "_optionLabel_qj491_97", Gg = "_buttons_qj491_110", Hg = "_cancelButton_qj491_117", zg = "_closeButton_qj491_118", Vg = "_buttonAlone_qj491_137", Fg = "_reportButton_qj491_143", $g = "_successContainer_qj491_163", Wg = "_thumbsUp_qj491_171", Yg = "_successMessage_qj491_177", Kg = "_errorMessage_qj491_218", Jg = "_loadingContainer_qj491_231", ue = {
|
|
11558
11558
|
overlay: Lg,
|
|
11559
11559
|
popup: Bg,
|
|
11560
|
-
title:
|
|
11561
|
-
optionsContainer:
|
|
11560
|
+
title: Og,
|
|
11561
|
+
optionsContainer: Pg,
|
|
11562
11562
|
option: Dg,
|
|
11563
11563
|
radioInput: Mg,
|
|
11564
11564
|
radioCustom: jg,
|
|
@@ -11574,28 +11574,25 @@ const Eg = (e) => {
|
|
|
11574
11574
|
errorMessage: Kg,
|
|
11575
11575
|
loadingContainer: Jg
|
|
11576
11576
|
}, Uo = async (e, t) => {
|
|
11577
|
-
const { PUBLIC_ENV: n } = W();
|
|
11578
|
-
if (console.log(n, !0), n === "local") return !0;
|
|
11579
11577
|
if (!e) return !1;
|
|
11580
|
-
const { CAPTCHA_PROJECT:
|
|
11581
|
-
console.log();
|
|
11578
|
+
const { CAPTCHA_PROJECT: n, CAPTCHA_KEY_V2: r, COMMENTS_CAPTCHA_API_KEY: o } = t;
|
|
11582
11579
|
try {
|
|
11583
|
-
const
|
|
11584
|
-
`https://recaptchaenterprise.googleapis.com/v1/projects/${
|
|
11580
|
+
const s = n, i = r, l = await (await fetch(
|
|
11581
|
+
`https://recaptchaenterprise.googleapis.com/v1/projects/${s}/assessments?key=${o}`,
|
|
11585
11582
|
{
|
|
11586
11583
|
method: "POST",
|
|
11587
11584
|
headers: { "Content-Type": "application/json" },
|
|
11588
11585
|
body: JSON.stringify({
|
|
11589
11586
|
event: {
|
|
11590
11587
|
token: e,
|
|
11591
|
-
siteKey:
|
|
11588
|
+
siteKey: i
|
|
11592
11589
|
}
|
|
11593
11590
|
})
|
|
11594
11591
|
}
|
|
11595
11592
|
)).json();
|
|
11596
|
-
return console.log("reCAPTCHA Enterprise verification result:",
|
|
11597
|
-
} catch (
|
|
11598
|
-
return console.error("Error verificando reCAPTCHA Enterprise:",
|
|
11593
|
+
return console.log("reCAPTCHA Enterprise verification result:", l), l.tokenProperties?.valid === !0;
|
|
11594
|
+
} catch (s) {
|
|
11595
|
+
return console.error("Error verificando reCAPTCHA Enterprise:", s), !1;
|
|
11599
11596
|
}
|
|
11600
11597
|
};
|
|
11601
11598
|
async function _3({
|
|
@@ -11683,7 +11680,7 @@ function Zg(e) {
|
|
|
11683
11680
|
}
|
|
11684
11681
|
const Ta = (e, t) => {
|
|
11685
11682
|
if (!e || !e.current) return { boolean: !1, text: "" };
|
|
11686
|
-
const n = e.current?.value || "", r = n.length > ft, { PUBLIC_ENV: o } =
|
|
11683
|
+
const n = e.current?.value || "", r = n.length > ft, { PUBLIC_ENV: o } = K(), s = o === "local", i = n.trim() !== "" && (s || t !== "") && !r, c = r ? `No debes exceder el limite de ${ft} caracteres.` : "Debes completar todos los campos para comentar.";
|
|
11687
11684
|
return { boolean: i, text: c };
|
|
11688
11685
|
}, qo = (e) => {
|
|
11689
11686
|
const t = e.cookie.split("; ").find((n) => n.startsWith("reported="));
|
|
@@ -11715,7 +11712,7 @@ var Nr;
|
|
|
11715
11712
|
function tp() {
|
|
11716
11713
|
if (Nr) return ne;
|
|
11717
11714
|
Nr = 1;
|
|
11718
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121,
|
|
11715
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
11719
11716
|
function _(b) {
|
|
11720
11717
|
if (typeof b == "object" && b !== null) {
|
|
11721
11718
|
var x = b.$$typeof;
|
|
@@ -11774,17 +11771,17 @@ function tp() {
|
|
|
11774
11771
|
}, ne.isSuspense = function(b) {
|
|
11775
11772
|
return _(b) === m;
|
|
11776
11773
|
}, ne.isValidElementType = function(b) {
|
|
11777
|
-
return typeof b == "string" || typeof b == "function" || b === r || b === l || b === s || b === o || b === m || b === h || typeof b == "object" && b !== null && (b.$$typeof === g || b.$$typeof === p || b.$$typeof === i || b.$$typeof === c || b.$$typeof === u || b.$$typeof ===
|
|
11774
|
+
return typeof b == "string" || typeof b == "function" || b === r || b === l || b === s || b === o || b === m || b === h || typeof b == "object" && b !== null && (b.$$typeof === g || b.$$typeof === p || b.$$typeof === i || b.$$typeof === c || b.$$typeof === u || b.$$typeof === y || b.$$typeof === v || b.$$typeof === N || b.$$typeof === A);
|
|
11778
11775
|
}, ne.typeOf = _, ne;
|
|
11779
11776
|
}
|
|
11780
11777
|
var ae = {};
|
|
11781
11778
|
var Sr;
|
|
11782
11779
|
function np() {
|
|
11783
11780
|
return Sr || (Sr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
11784
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121,
|
|
11781
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
11785
11782
|
function _(R) {
|
|
11786
11783
|
return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
11787
|
-
R === r || R === l || R === s || R === o || R === m || R === h || typeof R == "object" && R !== null && (R.$$typeof === g || R.$$typeof === p || R.$$typeof === i || R.$$typeof === c || R.$$typeof === u || R.$$typeof ===
|
|
11784
|
+
R === r || R === l || R === s || R === o || R === m || R === h || typeof R == "object" && R !== null && (R.$$typeof === g || R.$$typeof === p || R.$$typeof === i || R.$$typeof === c || R.$$typeof === u || R.$$typeof === y || R.$$typeof === v || R.$$typeof === N || R.$$typeof === A);
|
|
11788
11785
|
}
|
|
11789
11786
|
function E(R) {
|
|
11790
11787
|
if (typeof R == "object" && R !== null) {
|
|
@@ -11818,11 +11815,11 @@ function np() {
|
|
|
11818
11815
|
}
|
|
11819
11816
|
}
|
|
11820
11817
|
}
|
|
11821
|
-
var b = d, x = l,
|
|
11818
|
+
var b = d, x = l, O = c, Q = i, te = t, G = u, P = r, ee = g, ce = p, M = n, U = s, T = o, D = m, I = !1;
|
|
11822
11819
|
function z(R) {
|
|
11823
|
-
return I || (I = !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.")),
|
|
11820
|
+
return I || (I = !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.")), w(R) || E(R) === d;
|
|
11824
11821
|
}
|
|
11825
|
-
function
|
|
11822
|
+
function w(R) {
|
|
11826
11823
|
return E(R) === l;
|
|
11827
11824
|
}
|
|
11828
11825
|
function S(R) {
|
|
@@ -11858,7 +11855,7 @@ function np() {
|
|
|
11858
11855
|
function ie(R) {
|
|
11859
11856
|
return E(R) === m;
|
|
11860
11857
|
}
|
|
11861
|
-
ae.AsyncMode = b, ae.ConcurrentMode = x, ae.ContextConsumer =
|
|
11858
|
+
ae.AsyncMode = b, ae.ConcurrentMode = x, ae.ContextConsumer = O, ae.ContextProvider = Q, ae.Element = te, ae.ForwardRef = G, ae.Fragment = P, ae.Lazy = ee, ae.Memo = ce, ae.Portal = M, ae.Profiler = U, ae.StrictMode = T, ae.Suspense = D, ae.isAsyncMode = z, ae.isConcurrentMode = w, ae.isContextConsumer = S, ae.isContextProvider = q, ae.isElement = j, ae.isForwardRef = L, ae.isFragment = H, ae.isLazy = V, ae.isMemo = F, ae.isPortal = Z, ae.isProfiler = X, ae.isStrictMode = $, ae.isSuspense = ie, ae.isValidElementType = _, ae.typeOf = E;
|
|
11862
11859
|
})()), ae;
|
|
11863
11860
|
}
|
|
11864
11861
|
var xr;
|
|
@@ -11990,8 +11987,8 @@ function op() {
|
|
|
11990
11987
|
}
|
|
11991
11988
|
return Kn = function(c, d) {
|
|
11992
11989
|
var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
11993
|
-
function m(
|
|
11994
|
-
var S =
|
|
11990
|
+
function m(w) {
|
|
11991
|
+
var S = w && (l && w[l] || w[u]);
|
|
11995
11992
|
if (typeof S == "function")
|
|
11996
11993
|
return S;
|
|
11997
11994
|
}
|
|
@@ -12011,19 +12008,19 @@ function op() {
|
|
|
12011
12008
|
instanceOf: x,
|
|
12012
12009
|
node: G(),
|
|
12013
12010
|
objectOf: Q,
|
|
12014
|
-
oneOf:
|
|
12011
|
+
oneOf: O,
|
|
12015
12012
|
oneOfType: te,
|
|
12016
12013
|
shape: ee,
|
|
12017
12014
|
exact: ce
|
|
12018
12015
|
};
|
|
12019
|
-
function g(
|
|
12020
|
-
return
|
|
12016
|
+
function g(w, S) {
|
|
12017
|
+
return w === S ? w !== 0 || 1 / w === 1 / S : w !== w && S !== S;
|
|
12021
12018
|
}
|
|
12022
|
-
function A(
|
|
12023
|
-
this.message =
|
|
12019
|
+
function A(w, S) {
|
|
12020
|
+
this.message = w, this.data = S && typeof S == "object" ? S : {}, this.stack = "";
|
|
12024
12021
|
}
|
|
12025
12022
|
A.prototype = Error.prototype;
|
|
12026
|
-
function w
|
|
12023
|
+
function y(w) {
|
|
12027
12024
|
if (process.env.NODE_ENV !== "production")
|
|
12028
12025
|
var S = {}, q = 0;
|
|
12029
12026
|
function j(H, V, F, Z, X, $, ie) {
|
|
@@ -12041,31 +12038,31 @@ function op() {
|
|
|
12041
12038
|
), S[Ae] = !0, q++);
|
|
12042
12039
|
}
|
|
12043
12040
|
}
|
|
12044
|
-
return V[F] == null ? H ? V[F] === null ? new A("The " + X + " `" + $ + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new A("The " + X + " `" + $ + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null :
|
|
12041
|
+
return V[F] == null ? H ? V[F] === null ? new A("The " + X + " `" + $ + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new A("The " + X + " `" + $ + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : w(V, F, Z, X, $);
|
|
12045
12042
|
}
|
|
12046
12043
|
var L = j.bind(null, !1);
|
|
12047
12044
|
return L.isRequired = j.bind(null, !0), L;
|
|
12048
12045
|
}
|
|
12049
|
-
function v(
|
|
12046
|
+
function v(w) {
|
|
12050
12047
|
function S(q, j, L, H, V, F) {
|
|
12051
12048
|
var Z = q[j], X = T(Z);
|
|
12052
|
-
if (X !==
|
|
12049
|
+
if (X !== w) {
|
|
12053
12050
|
var $ = D(Z);
|
|
12054
12051
|
return new A(
|
|
12055
|
-
"Invalid " + H + " `" + V + "` of type " + ("`" + $ + "` supplied to `" + L + "`, expected ") + ("`" +
|
|
12056
|
-
{ expectedType:
|
|
12052
|
+
"Invalid " + H + " `" + V + "` of type " + ("`" + $ + "` supplied to `" + L + "`, expected ") + ("`" + w + "`."),
|
|
12053
|
+
{ expectedType: w }
|
|
12057
12054
|
);
|
|
12058
12055
|
}
|
|
12059
12056
|
return null;
|
|
12060
12057
|
}
|
|
12061
|
-
return
|
|
12058
|
+
return y(S);
|
|
12062
12059
|
}
|
|
12063
12060
|
function N() {
|
|
12064
|
-
return
|
|
12061
|
+
return y(i);
|
|
12065
12062
|
}
|
|
12066
|
-
function _(
|
|
12063
|
+
function _(w) {
|
|
12067
12064
|
function S(q, j, L, H, V) {
|
|
12068
|
-
if (typeof
|
|
12065
|
+
if (typeof w != "function")
|
|
12069
12066
|
return new A("Property `" + V + "` of component `" + L + "` has invalid PropType notation inside arrayOf.");
|
|
12070
12067
|
var F = q[j];
|
|
12071
12068
|
if (!Array.isArray(F)) {
|
|
@@ -12073,16 +12070,16 @@ function op() {
|
|
|
12073
12070
|
return new A("Invalid " + H + " `" + V + "` of type " + ("`" + Z + "` supplied to `" + L + "`, expected an array."));
|
|
12074
12071
|
}
|
|
12075
12072
|
for (var X = 0; X < F.length; X++) {
|
|
12076
|
-
var $ =
|
|
12073
|
+
var $ = w(F, X, L, H, V + "[" + X + "]", n);
|
|
12077
12074
|
if ($ instanceof Error)
|
|
12078
12075
|
return $;
|
|
12079
12076
|
}
|
|
12080
12077
|
return null;
|
|
12081
12078
|
}
|
|
12082
|
-
return
|
|
12079
|
+
return y(S);
|
|
12083
12080
|
}
|
|
12084
12081
|
function E() {
|
|
12085
|
-
function
|
|
12082
|
+
function w(S, q, j, L, H) {
|
|
12086
12083
|
var V = S[q];
|
|
12087
12084
|
if (!c(V)) {
|
|
12088
12085
|
var F = T(V);
|
|
@@ -12090,10 +12087,10 @@ function op() {
|
|
|
12090
12087
|
}
|
|
12091
12088
|
return null;
|
|
12092
12089
|
}
|
|
12093
|
-
return w
|
|
12090
|
+
return y(w);
|
|
12094
12091
|
}
|
|
12095
12092
|
function b() {
|
|
12096
|
-
function
|
|
12093
|
+
function w(S, q, j, L, H) {
|
|
12097
12094
|
var V = S[q];
|
|
12098
12095
|
if (!e.isValidElementType(V)) {
|
|
12099
12096
|
var F = T(V);
|
|
@@ -12101,65 +12098,65 @@ function op() {
|
|
|
12101
12098
|
}
|
|
12102
12099
|
return null;
|
|
12103
12100
|
}
|
|
12104
|
-
return w
|
|
12101
|
+
return y(w);
|
|
12105
12102
|
}
|
|
12106
|
-
function x(
|
|
12103
|
+
function x(w) {
|
|
12107
12104
|
function S(q, j, L, H, V) {
|
|
12108
|
-
if (!(q[j] instanceof
|
|
12109
|
-
var F =
|
|
12105
|
+
if (!(q[j] instanceof w)) {
|
|
12106
|
+
var F = w.name || h, Z = z(q[j]);
|
|
12110
12107
|
return new A("Invalid " + H + " `" + V + "` of type " + ("`" + Z + "` supplied to `" + L + "`, expected ") + ("instance of `" + F + "`."));
|
|
12111
12108
|
}
|
|
12112
12109
|
return null;
|
|
12113
12110
|
}
|
|
12114
|
-
return
|
|
12111
|
+
return y(S);
|
|
12115
12112
|
}
|
|
12116
|
-
function
|
|
12117
|
-
if (!Array.isArray(
|
|
12113
|
+
function O(w) {
|
|
12114
|
+
if (!Array.isArray(w))
|
|
12118
12115
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
12119
12116
|
"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])."
|
|
12120
12117
|
) : s("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
12121
12118
|
function S(q, j, L, H, V) {
|
|
12122
|
-
for (var F = q[j], Z = 0; Z <
|
|
12123
|
-
if (g(F,
|
|
12119
|
+
for (var F = q[j], Z = 0; Z < w.length; Z++)
|
|
12120
|
+
if (g(F, w[Z]))
|
|
12124
12121
|
return null;
|
|
12125
|
-
var X = JSON.stringify(
|
|
12122
|
+
var X = JSON.stringify(w, function(ie, R) {
|
|
12126
12123
|
var Ae = D(R);
|
|
12127
12124
|
return Ae === "symbol" ? String(R) : R;
|
|
12128
12125
|
});
|
|
12129
12126
|
return new A("Invalid " + H + " `" + V + "` of value `" + String(F) + "` " + ("supplied to `" + L + "`, expected one of " + X + "."));
|
|
12130
12127
|
}
|
|
12131
|
-
return
|
|
12128
|
+
return y(S);
|
|
12132
12129
|
}
|
|
12133
|
-
function Q(
|
|
12130
|
+
function Q(w) {
|
|
12134
12131
|
function S(q, j, L, H, V) {
|
|
12135
|
-
if (typeof
|
|
12132
|
+
if (typeof w != "function")
|
|
12136
12133
|
return new A("Property `" + V + "` of component `" + L + "` has invalid PropType notation inside objectOf.");
|
|
12137
12134
|
var F = q[j], Z = T(F);
|
|
12138
12135
|
if (Z !== "object")
|
|
12139
12136
|
return new A("Invalid " + H + " `" + V + "` of type " + ("`" + Z + "` supplied to `" + L + "`, expected an object."));
|
|
12140
12137
|
for (var X in F)
|
|
12141
12138
|
if (r(F, X)) {
|
|
12142
|
-
var $ =
|
|
12139
|
+
var $ = w(F, X, L, H, V + "." + X, n);
|
|
12143
12140
|
if ($ instanceof Error)
|
|
12144
12141
|
return $;
|
|
12145
12142
|
}
|
|
12146
12143
|
return null;
|
|
12147
12144
|
}
|
|
12148
|
-
return
|
|
12145
|
+
return y(S);
|
|
12149
12146
|
}
|
|
12150
|
-
function te(
|
|
12151
|
-
if (!Array.isArray(
|
|
12147
|
+
function te(w) {
|
|
12148
|
+
if (!Array.isArray(w))
|
|
12152
12149
|
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), i;
|
|
12153
|
-
for (var S = 0; S <
|
|
12154
|
-
var q =
|
|
12150
|
+
for (var S = 0; S < w.length; S++) {
|
|
12151
|
+
var q = w[S];
|
|
12155
12152
|
if (typeof q != "function")
|
|
12156
12153
|
return s(
|
|
12157
12154
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + I(q) + " at index " + S + "."
|
|
12158
12155
|
), i;
|
|
12159
12156
|
}
|
|
12160
12157
|
function j(L, H, V, F, Z) {
|
|
12161
|
-
for (var X = [], $ = 0; $ <
|
|
12162
|
-
var ie =
|
|
12158
|
+
for (var X = [], $ = 0; $ < w.length; $++) {
|
|
12159
|
+
var ie = w[$], R = ie(L, H, V, F, Z, n);
|
|
12163
12160
|
if (R == null)
|
|
12164
12161
|
return null;
|
|
12165
12162
|
R.data && r(R.data, "expectedType") && X.push(R.data.expectedType);
|
|
@@ -12167,50 +12164,50 @@ function op() {
|
|
|
12167
12164
|
var Ae = X.length > 0 ? ", expected one of type [" + X.join(", ") + "]" : "";
|
|
12168
12165
|
return new A("Invalid " + F + " `" + Z + "` supplied to " + ("`" + V + "`" + Ae + "."));
|
|
12169
12166
|
}
|
|
12170
|
-
return
|
|
12167
|
+
return y(j);
|
|
12171
12168
|
}
|
|
12172
12169
|
function G() {
|
|
12173
|
-
function
|
|
12170
|
+
function w(S, q, j, L, H) {
|
|
12174
12171
|
return M(S[q]) ? null : new A("Invalid " + L + " `" + H + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
|
|
12175
12172
|
}
|
|
12176
|
-
return w
|
|
12173
|
+
return y(w);
|
|
12177
12174
|
}
|
|
12178
|
-
function
|
|
12175
|
+
function P(w, S, q, j, L) {
|
|
12179
12176
|
return new A(
|
|
12180
|
-
(
|
|
12177
|
+
(w || "React class") + ": " + S + " type `" + q + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + L + "`."
|
|
12181
12178
|
);
|
|
12182
12179
|
}
|
|
12183
|
-
function ee(
|
|
12180
|
+
function ee(w) {
|
|
12184
12181
|
function S(q, j, L, H, V) {
|
|
12185
12182
|
var F = q[j], Z = T(F);
|
|
12186
12183
|
if (Z !== "object")
|
|
12187
12184
|
return new A("Invalid " + H + " `" + V + "` of type `" + Z + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
12188
|
-
for (var X in
|
|
12189
|
-
var $ =
|
|
12185
|
+
for (var X in w) {
|
|
12186
|
+
var $ = w[X];
|
|
12190
12187
|
if (typeof $ != "function")
|
|
12191
|
-
return
|
|
12188
|
+
return P(L, H, V, X, D($));
|
|
12192
12189
|
var ie = $(F, X, L, H, V + "." + X, n);
|
|
12193
12190
|
if (ie)
|
|
12194
12191
|
return ie;
|
|
12195
12192
|
}
|
|
12196
12193
|
return null;
|
|
12197
12194
|
}
|
|
12198
|
-
return
|
|
12195
|
+
return y(S);
|
|
12199
12196
|
}
|
|
12200
|
-
function ce(
|
|
12197
|
+
function ce(w) {
|
|
12201
12198
|
function S(q, j, L, H, V) {
|
|
12202
12199
|
var F = q[j], Z = T(F);
|
|
12203
12200
|
if (Z !== "object")
|
|
12204
12201
|
return new A("Invalid " + H + " `" + V + "` of type `" + Z + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
12205
|
-
var X = t({}, q[j],
|
|
12202
|
+
var X = t({}, q[j], w);
|
|
12206
12203
|
for (var $ in X) {
|
|
12207
|
-
var ie =
|
|
12208
|
-
if (r(
|
|
12209
|
-
return
|
|
12204
|
+
var ie = w[$];
|
|
12205
|
+
if (r(w, $) && typeof ie != "function")
|
|
12206
|
+
return P(L, H, V, $, D(ie));
|
|
12210
12207
|
if (!ie)
|
|
12211
12208
|
return new A(
|
|
12212
12209
|
"Invalid " + H + " `" + V + "` key `" + $ + "` supplied to `" + L + "`.\nBad object: " + JSON.stringify(q[j], null, " ") + `
|
|
12213
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
12210
|
+
Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
12214
12211
|
);
|
|
12215
12212
|
var R = ie(F, $, L, H, V + "." + $, n);
|
|
12216
12213
|
if (R)
|
|
@@ -12218,25 +12215,25 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
12218
12215
|
}
|
|
12219
12216
|
return null;
|
|
12220
12217
|
}
|
|
12221
|
-
return
|
|
12218
|
+
return y(S);
|
|
12222
12219
|
}
|
|
12223
|
-
function M(
|
|
12224
|
-
switch (typeof
|
|
12220
|
+
function M(w) {
|
|
12221
|
+
switch (typeof w) {
|
|
12225
12222
|
case "number":
|
|
12226
12223
|
case "string":
|
|
12227
12224
|
case "undefined":
|
|
12228
12225
|
return !0;
|
|
12229
12226
|
case "boolean":
|
|
12230
|
-
return !
|
|
12227
|
+
return !w;
|
|
12231
12228
|
case "object":
|
|
12232
|
-
if (Array.isArray(
|
|
12233
|
-
return
|
|
12234
|
-
if (
|
|
12229
|
+
if (Array.isArray(w))
|
|
12230
|
+
return w.every(M);
|
|
12231
|
+
if (w === null || c(w))
|
|
12235
12232
|
return !0;
|
|
12236
|
-
var S = m(
|
|
12233
|
+
var S = m(w);
|
|
12237
12234
|
if (S) {
|
|
12238
|
-
var q = S.call(
|
|
12239
|
-
if (S !==
|
|
12235
|
+
var q = S.call(w), j;
|
|
12236
|
+
if (S !== w.entries) {
|
|
12240
12237
|
for (; !(j = q.next()).done; )
|
|
12241
12238
|
if (!M(j.value))
|
|
12242
12239
|
return !1;
|
|
@@ -12253,27 +12250,27 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
12253
12250
|
return !1;
|
|
12254
12251
|
}
|
|
12255
12252
|
}
|
|
12256
|
-
function U(
|
|
12257
|
-
return
|
|
12253
|
+
function U(w, S) {
|
|
12254
|
+
return w === "symbol" ? !0 : S ? S["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && S instanceof Symbol : !1;
|
|
12258
12255
|
}
|
|
12259
|
-
function T(
|
|
12260
|
-
var S = typeof
|
|
12261
|
-
return Array.isArray(
|
|
12256
|
+
function T(w) {
|
|
12257
|
+
var S = typeof w;
|
|
12258
|
+
return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : U(S, w) ? "symbol" : S;
|
|
12262
12259
|
}
|
|
12263
|
-
function D(
|
|
12264
|
-
if (typeof
|
|
12265
|
-
return "" +
|
|
12266
|
-
var S = T(
|
|
12260
|
+
function D(w) {
|
|
12261
|
+
if (typeof w > "u" || w === null)
|
|
12262
|
+
return "" + w;
|
|
12263
|
+
var S = T(w);
|
|
12267
12264
|
if (S === "object") {
|
|
12268
|
-
if (
|
|
12265
|
+
if (w instanceof Date)
|
|
12269
12266
|
return "date";
|
|
12270
|
-
if (
|
|
12267
|
+
if (w instanceof RegExp)
|
|
12271
12268
|
return "regexp";
|
|
12272
12269
|
}
|
|
12273
12270
|
return S;
|
|
12274
12271
|
}
|
|
12275
|
-
function I(
|
|
12276
|
-
var S = D(
|
|
12272
|
+
function I(w) {
|
|
12273
|
+
var S = D(w);
|
|
12277
12274
|
switch (S) {
|
|
12278
12275
|
case "array":
|
|
12279
12276
|
case "object":
|
|
@@ -12286,8 +12283,8 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
12286
12283
|
return S;
|
|
12287
12284
|
}
|
|
12288
12285
|
}
|
|
12289
|
-
function z(
|
|
12290
|
-
return !
|
|
12286
|
+
function z(w) {
|
|
12287
|
+
return !w.constructor || !w.constructor.name ? h : w.constructor.name;
|
|
12291
12288
|
}
|
|
12292
12289
|
return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
|
|
12293
12290
|
}, Kn;
|
|
@@ -12522,20 +12519,20 @@ function hp() {
|
|
|
12522
12519
|
return e.isMemo(g) ? o : s[g.$$typeof] || t;
|
|
12523
12520
|
}
|
|
12524
12521
|
var c = Object.defineProperty, d = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf, h = Object.prototype;
|
|
12525
|
-
function p(g, A,
|
|
12522
|
+
function p(g, A, y) {
|
|
12526
12523
|
if (typeof A != "string") {
|
|
12527
12524
|
if (h) {
|
|
12528
12525
|
var v = m(A);
|
|
12529
|
-
v && v !== h && p(g, v,
|
|
12526
|
+
v && v !== h && p(g, v, y);
|
|
12530
12527
|
}
|
|
12531
12528
|
var N = d(A);
|
|
12532
12529
|
l && (N = N.concat(l(A)));
|
|
12533
12530
|
for (var _ = i(g), E = i(A), b = 0; b < N.length; ++b) {
|
|
12534
12531
|
var x = N[b];
|
|
12535
|
-
if (!n[x] && !(
|
|
12536
|
-
var
|
|
12532
|
+
if (!n[x] && !(y && y[x]) && !(E && E[x]) && !(_ && _[x])) {
|
|
12533
|
+
var O = u(A, x);
|
|
12537
12534
|
try {
|
|
12538
|
-
c(g, x,
|
|
12535
|
+
c(g, x, O);
|
|
12539
12536
|
} catch {
|
|
12540
12537
|
}
|
|
12541
12538
|
}
|
|
@@ -12568,7 +12565,7 @@ function pp(e, t) {
|
|
|
12568
12565
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
|
|
12569
12566
|
}
|
|
12570
12567
|
var Le = {}, Ap = 0;
|
|
12571
|
-
function
|
|
12568
|
+
function yp(e, t) {
|
|
12572
12569
|
return t = t || {}, function(r) {
|
|
12573
12570
|
var o = r.displayName || r.name || "Component", s = /* @__PURE__ */ (function(c) {
|
|
12574
12571
|
pp(d, c);
|
|
@@ -12594,7 +12591,7 @@ function wp(e, t) {
|
|
|
12594
12591
|
m.observers[h](m);
|
|
12595
12592
|
delete window[t.callbackName];
|
|
12596
12593
|
}, l.componentDidMount = function() {
|
|
12597
|
-
var m = this, h = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), g = t, A = g.globalName,
|
|
12594
|
+
var m = this, h = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), g = t, A = g.globalName, y = g.callbackName, v = g.scriptId;
|
|
12598
12595
|
if (A && typeof window[A] < "u" && (Le[h] = {
|
|
12599
12596
|
loaded: !0,
|
|
12600
12597
|
observers: {}
|
|
@@ -12604,14 +12601,14 @@ function wp(e, t) {
|
|
|
12604
12601
|
this.asyncScriptLoaderHandleLoad(N);
|
|
12605
12602
|
return;
|
|
12606
12603
|
}
|
|
12607
|
-
N.observers[p] = function(
|
|
12608
|
-
return m.asyncScriptLoaderHandleLoad(
|
|
12604
|
+
N.observers[p] = function(O) {
|
|
12605
|
+
return m.asyncScriptLoaderHandleLoad(O);
|
|
12609
12606
|
};
|
|
12610
12607
|
return;
|
|
12611
12608
|
}
|
|
12612
12609
|
var _ = {};
|
|
12613
|
-
_[p] = function(
|
|
12614
|
-
return m.asyncScriptLoaderHandleLoad(
|
|
12610
|
+
_[p] = function(O) {
|
|
12611
|
+
return m.asyncScriptLoaderHandleLoad(O);
|
|
12615
12612
|
}, Le[h] = {
|
|
12616
12613
|
loaded: !1,
|
|
12617
12614
|
observers: _
|
|
@@ -12624,21 +12621,21 @@ function wp(e, t) {
|
|
|
12624
12621
|
var x = function(Q) {
|
|
12625
12622
|
if (Le[h]) {
|
|
12626
12623
|
var te = Le[h], G = te.observers;
|
|
12627
|
-
for (var
|
|
12628
|
-
Q(G[
|
|
12624
|
+
for (var P in G)
|
|
12625
|
+
Q(G[P]) && delete G[P];
|
|
12629
12626
|
}
|
|
12630
12627
|
};
|
|
12631
|
-
|
|
12628
|
+
y && typeof window < "u" && (window[y] = function() {
|
|
12632
12629
|
return m.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
12633
12630
|
}), E.onload = function() {
|
|
12634
|
-
var
|
|
12635
|
-
|
|
12636
|
-
return
|
|
12631
|
+
var O = Le[h];
|
|
12632
|
+
O && (O.loaded = !0, x(function(Q) {
|
|
12633
|
+
return y ? !1 : (Q(O), !0);
|
|
12637
12634
|
}));
|
|
12638
12635
|
}, E.onerror = function() {
|
|
12639
|
-
var
|
|
12640
|
-
|
|
12641
|
-
return Q(
|
|
12636
|
+
var O = Le[h];
|
|
12637
|
+
O && (O.errored = !0, x(function(Q) {
|
|
12638
|
+
return Q(O), !0;
|
|
12642
12639
|
}));
|
|
12643
12640
|
}, document.body.appendChild(E);
|
|
12644
12641
|
}, l.componentWillUnmount = function() {
|
|
@@ -12664,7 +12661,7 @@ function wp(e, t) {
|
|
|
12664
12661
|
}, fp(i, r);
|
|
12665
12662
|
};
|
|
12666
12663
|
}
|
|
12667
|
-
var ua = "onloadcallback",
|
|
12664
|
+
var ua = "onloadcallback", wp = "grecaptcha";
|
|
12668
12665
|
function ha() {
|
|
12669
12666
|
return typeof window < "u" && window.recaptchaOptions || {};
|
|
12670
12667
|
}
|
|
@@ -12672,13 +12669,13 @@ function vp() {
|
|
|
12672
12669
|
var e = ha(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
|
12673
12670
|
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + ua + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + ua + "&render=explicit";
|
|
12674
12671
|
}
|
|
12675
|
-
const Lo =
|
|
12672
|
+
const Lo = yp(vp, {
|
|
12676
12673
|
callbackName: ua,
|
|
12677
|
-
globalName:
|
|
12674
|
+
globalName: wp,
|
|
12678
12675
|
attributes: ha().nonce ? {
|
|
12679
12676
|
nonce: ha().nonce
|
|
12680
12677
|
} : {}
|
|
12681
|
-
})(kn), bp = "_overlay_18ksj_1", Cp = "_header_18ksj_18", _p = "_logo_18ksj_25", Np = "_card_18ksj_32", Sp = "_close_18ksj_47", xp = "_form_18ksj_71", Ep = "_formUl_18ksj_80", Tp = "_field_18ksj_92", Ip = "_label_18ksj_99", kp = "_input_18ksj_108", Up = "_error_18ksj_126", qp = "_primary_18ksj_132", Rp = "_divider_18ksj_170", Lp = "_google_18ksj_196", Bp = "_googleIcon_18ksj_226",
|
|
12678
|
+
})(kn), bp = "_overlay_18ksj_1", Cp = "_header_18ksj_18", _p = "_logo_18ksj_25", Np = "_card_18ksj_32", Sp = "_close_18ksj_47", xp = "_form_18ksj_71", Ep = "_formUl_18ksj_80", Tp = "_field_18ksj_92", Ip = "_label_18ksj_99", kp = "_input_18ksj_108", Up = "_error_18ksj_126", qp = "_primary_18ksj_132", Rp = "_divider_18ksj_170", Lp = "_google_18ksj_196", Bp = "_googleIcon_18ksj_226", Op = "_spin_18ksj_259", Pp = "_checkboxRow_18ksj_281", Dp = "_terms_18ksj_318", Mp = "_message_18ksj_349", jp = "_passwordChecker_18ksj_354", Qp = "_valid_18ksj_373", Gp = "_invalid_18ksj_377", Hp = "_forgotPassword_18ksj_381", zp = "_successContainer_18ksj_400", Vp = "_thumbsUp_18ksj_408", Fp = "_successMessage_18ksj_414", k = {
|
|
12682
12679
|
overlay: bp,
|
|
12683
12680
|
header: Cp,
|
|
12684
12681
|
logo: _p,
|
|
@@ -12694,8 +12691,8 @@ const Lo = wp(vp, {
|
|
|
12694
12691
|
divider: Rp,
|
|
12695
12692
|
google: Lp,
|
|
12696
12693
|
googleIcon: Bp,
|
|
12697
|
-
spin:
|
|
12698
|
-
checkboxRow:
|
|
12694
|
+
spin: Op,
|
|
12695
|
+
checkboxRow: Pp,
|
|
12699
12696
|
switch: "_switch_18ksj_310",
|
|
12700
12697
|
terms: Dp,
|
|
12701
12698
|
message: Mp,
|
|
@@ -12768,7 +12765,7 @@ const Lo = wp(vp, {
|
|
|
12768
12765
|
})).json();
|
|
12769
12766
|
if (N.type === "success")
|
|
12770
12767
|
Xg(document, n), c("success"), setTimeout(() => {
|
|
12771
|
-
|
|
12768
|
+
y();
|
|
12772
12769
|
}, 3e3);
|
|
12773
12770
|
else
|
|
12774
12771
|
throw new Error(N.message || "Error al reportar comentario");
|
|
@@ -12776,14 +12773,14 @@ const Lo = wp(vp, {
|
|
|
12776
12773
|
console.error("Error reporting comment:", v), m(v.message || "Error al reportar comentario"), c("form");
|
|
12777
12774
|
}
|
|
12778
12775
|
}
|
|
12779
|
-
},
|
|
12776
|
+
}, y = () => {
|
|
12780
12777
|
c("form"), l(""), m(""), t();
|
|
12781
12778
|
};
|
|
12782
12779
|
return !e || !n || !o ? null : /* @__PURE__ */ a("div", { className: ue.overlay, children: /* @__PURE__ */ f("div", { className: ue.popup, children: [
|
|
12783
|
-
/* @__PURE__ */ a("button", { className: "close-reply-form", onClick:
|
|
12780
|
+
/* @__PURE__ */ a("button", { className: "close-reply-form", onClick: y, children: /* @__PURE__ */ a(Tt, {}) }),
|
|
12784
12781
|
/* @__PURE__ */ a("h2", { className: ue.title, children: "Reportar Abuso" }),
|
|
12785
12782
|
i === "loading" && /* @__PURE__ */ a("div", { className: ue.loadingContainer, children: /* @__PURE__ */ a(Je, {}) }),
|
|
12786
|
-
i === "form" || i === "loading" ? /* @__PURE__ */ f(
|
|
12783
|
+
i === "form" || i === "loading" ? /* @__PURE__ */ f(Y, { children: [
|
|
12787
12784
|
/* @__PURE__ */ a("div", { className: ue.optionsContainer, children: g.map((v) => /* @__PURE__ */ f("label", { className: ue.option, children: [
|
|
12788
12785
|
/* @__PURE__ */ a(
|
|
12789
12786
|
"input",
|
|
@@ -12811,7 +12808,7 @@ const Lo = wp(vp, {
|
|
|
12811
12808
|
}
|
|
12812
12809
|
),
|
|
12813
12810
|
/* @__PURE__ */ f("div", { className: ue.buttons, children: [
|
|
12814
|
-
/* @__PURE__ */ a("button", { onClick:
|
|
12811
|
+
/* @__PURE__ */ a("button", { onClick: y, className: ue.cancelButton, children: "Cancelar" }),
|
|
12815
12812
|
/* @__PURE__ */ a(
|
|
12816
12813
|
"button",
|
|
12817
12814
|
{
|
|
@@ -12822,7 +12819,7 @@ const Lo = wp(vp, {
|
|
|
12822
12819
|
}
|
|
12823
12820
|
)
|
|
12824
12821
|
] })
|
|
12825
|
-
] }) : /* @__PURE__ */ f(
|
|
12822
|
+
] }) : /* @__PURE__ */ f(Y, { children: [
|
|
12826
12823
|
/* @__PURE__ */ f("div", { className: ue.successContainer, children: [
|
|
12827
12824
|
/* @__PURE__ */ a("div", { className: ue.thumbsUp, children: /* @__PURE__ */ a(
|
|
12828
12825
|
"svg",
|
|
@@ -12845,7 +12842,7 @@ const Lo = wp(vp, {
|
|
|
12845
12842
|
/* @__PURE__ */ a("div", { className: ue.buttons, children: /* @__PURE__ */ a(
|
|
12846
12843
|
"button",
|
|
12847
12844
|
{
|
|
12848
|
-
onClick:
|
|
12845
|
+
onClick: y,
|
|
12849
12846
|
className: [ue.closeButton, ue.buttonAlone].join(" "),
|
|
12850
12847
|
children: "Cerrar"
|
|
12851
12848
|
}
|
|
@@ -12863,7 +12860,7 @@ async function Ua({
|
|
|
12863
12860
|
state: i = "5,6",
|
|
12864
12861
|
apiToken: c
|
|
12865
12862
|
}) {
|
|
12866
|
-
const { PUBLIC_ENV: d } =
|
|
12863
|
+
const { PUBLIC_ENV: d } = K();
|
|
12867
12864
|
if (d === "prod")
|
|
12868
12865
|
return (await Wp({
|
|
12869
12866
|
publication: e,
|
|
@@ -12898,7 +12895,7 @@ async function Wp({
|
|
|
12898
12895
|
throw new Error("Invalid input types for publication or path");
|
|
12899
12896
|
if (!c)
|
|
12900
12897
|
throw new Error("Missing CMS API token");
|
|
12901
|
-
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: m } =
|
|
12898
|
+
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: m } = K(), h = parseInt(String(n), 10), p = parseInt(String(r), 10);
|
|
12902
12899
|
if (isNaN(h) || h <= 0)
|
|
12903
12900
|
throw new Error("Invalid size parameter");
|
|
12904
12901
|
if (isNaN(p) || p < 0)
|
|
@@ -12911,10 +12908,10 @@ async function Wp({
|
|
|
12911
12908
|
state: i
|
|
12912
12909
|
});
|
|
12913
12910
|
o && A.append("id", o), s && A.append("lastid", s);
|
|
12914
|
-
const
|
|
12911
|
+
const y = `${g}${m}/newcomments/get?${A.toString()}`;
|
|
12915
12912
|
try {
|
|
12916
|
-
console.log("Fetching comments from:",
|
|
12917
|
-
const { data: v } = await oe.get(
|
|
12913
|
+
console.log("Fetching comments from:", y);
|
|
12914
|
+
const { data: v } = await oe.get(y, {
|
|
12918
12915
|
headers: {
|
|
12919
12916
|
"x-api-token": c,
|
|
12920
12917
|
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
|
@@ -12933,12 +12930,12 @@ async function Wp({
|
|
|
12933
12930
|
throw v;
|
|
12934
12931
|
}
|
|
12935
12932
|
}
|
|
12936
|
-
const { PUBLIC_PUBLICATION_ID: Yp } =
|
|
12933
|
+
const { PUBLIC_PUBLICATION_ID: Yp } = K(), Kp = Yp, Jp = (e) => {
|
|
12937
12934
|
const [t, n] = J(void 0);
|
|
12938
12935
|
return De(() => {
|
|
12939
12936
|
if (t) return;
|
|
12940
12937
|
(async () => {
|
|
12941
|
-
const { PUBLIC_X_SECURITY_TOKEN: o } =
|
|
12938
|
+
const { PUBLIC_X_SECURITY_TOKEN: o } = K();
|
|
12942
12939
|
try {
|
|
12943
12940
|
const s = await Ua({
|
|
12944
12941
|
publication: Kp,
|
|
@@ -12960,14 +12957,14 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
12960
12957
|
/* @__PURE__ */ a("span", { className: "comment-username", children: e }),
|
|
12961
12958
|
/* @__PURE__ */ a("span", { className: "comment-header-dot", children: "•" }),
|
|
12962
12959
|
/* @__PURE__ */ a("span", { className: "comment-date", children: Zg(Me(Number(t))) })
|
|
12963
|
-
] }),
|
|
12960
|
+
] }), Oo = ({ user: e }) => /* @__PURE__ */ a("div", { className: "comment-avatar", children: e.picture ? /* @__PURE__ */ a(
|
|
12964
12961
|
"img",
|
|
12965
12962
|
{
|
|
12966
12963
|
className: "comment-avatar-img",
|
|
12967
12964
|
src: e.picture,
|
|
12968
12965
|
alt: e.username
|
|
12969
12966
|
}
|
|
12970
|
-
) : e.firstname.charAt(0).toUpperCase() }),
|
|
12967
|
+
) : e.firstname.charAt(0).toUpperCase() }), Po = ({ isReply: e = !1, onReply: t, onFlag: n }) => /* @__PURE__ */ f("div", { className: "comment-actions", children: [
|
|
12971
12968
|
!e && t && /* @__PURE__ */ a(
|
|
12972
12969
|
"button",
|
|
12973
12970
|
{
|
|
@@ -13057,7 +13054,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13057
13054
|
] })
|
|
13058
13055
|
] });
|
|
13059
13056
|
}, jo = ({ onClick: e, isDisabled: t }) => {
|
|
13060
|
-
const [n, r] = Te.useState(!1), { S3_ID_DIR: o } =
|
|
13057
|
+
const [n, r] = Te.useState(!1), { S3_ID_DIR: o } = K();
|
|
13061
13058
|
return Te.useEffect(() => {
|
|
13062
13059
|
let s = null;
|
|
13063
13060
|
return n && (s = setTimeout(() => {
|
|
@@ -13097,7 +13094,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13097
13094
|
]
|
|
13098
13095
|
}
|
|
13099
13096
|
);
|
|
13100
|
-
}, { PUBLIC_PUBLICATION_ID: Zp } =
|
|
13097
|
+
}, { PUBLIC_PUBLICATION_ID: Zp } = K(), Xp = Zp, Qo = async ({
|
|
13101
13098
|
path: e,
|
|
13102
13099
|
ref: t,
|
|
13103
13100
|
captchaToken: n,
|
|
@@ -13207,7 +13204,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13207
13204
|
const o = e.text;
|
|
13208
13205
|
let s = `${Ke.firstname} ${Ke.lastname}`, i = Ke.username;
|
|
13209
13206
|
return e.user && (s = `${e.user.firstname} ${e.user.lastname}`, i = e.user.username), /* @__PURE__ */ a("div", { className: "comment-item reply", children: /* @__PURE__ */ f("div", { className: "comment-header-container", children: [
|
|
13210
|
-
/* @__PURE__ */ a(
|
|
13207
|
+
/* @__PURE__ */ a(Oo, { user: e.user ? e.user : Ke }),
|
|
13211
13208
|
/* @__PURE__ */ f("div", { style: { flex: 1 }, children: [
|
|
13212
13209
|
/* @__PURE__ */ a(Bo, { username: s, date: e.date.time }),
|
|
13213
13210
|
/* @__PURE__ */ f("div", { className: "comment-reply-to", children: [
|
|
@@ -13216,13 +13213,13 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13216
13213
|
] }),
|
|
13217
13214
|
/* @__PURE__ */ a("p", { className: "comment-text", children: o }),
|
|
13218
13215
|
n?.username.toLowerCase() !== i.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
13219
|
-
/* @__PURE__ */ a(
|
|
13216
|
+
/* @__PURE__ */ a(Po, { isReply: !0, onFlag: () => r(e.id) })
|
|
13220
13217
|
] })
|
|
13221
13218
|
] }) });
|
|
13222
13219
|
}, n9 = ({ comment: e, replyingTo: t, path: n, user: r, handleReplyingTo: o, onFlag: s, CAPTCHA_KEY_V2: i }) => {
|
|
13223
|
-
const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, l] = J(c), [u, m] = Te.useState(!1), { PUBLIC_PUBLICATION_ID: h, PUBLIC_X_SECURITY_TOKEN: p } =
|
|
13224
|
-
let
|
|
13225
|
-
e.user && (
|
|
13220
|
+
const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, l] = J(c), [u, m] = Te.useState(!1), { PUBLIC_PUBLICATION_ID: h, PUBLIC_X_SECURITY_TOKEN: p } = K(), g = e.text, A = Te.useRef(null);
|
|
13221
|
+
let y = `${Ke.firstname} ${Ke.lastname}`, v = Ke.username;
|
|
13222
|
+
e.user && (y = `${e.user.firstname} ${e.user.lastname}`, v = e.user.username);
|
|
13226
13223
|
const N = (_) => {
|
|
13227
13224
|
l({ morereply: d.morereply, reply: [_, ...d.reply] });
|
|
13228
13225
|
};
|
|
@@ -13232,13 +13229,13 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13232
13229
|
className: "comment-header-container",
|
|
13233
13230
|
"data-hasreplies": d.reply.length > 0 ? "true" : "false",
|
|
13234
13231
|
children: [
|
|
13235
|
-
/* @__PURE__ */ a(
|
|
13232
|
+
/* @__PURE__ */ a(Oo, { user: e.user ? e.user : Ke }),
|
|
13236
13233
|
/* @__PURE__ */ f("div", { style: { flex: 1 }, children: [
|
|
13237
|
-
/* @__PURE__ */ a(Bo, { username:
|
|
13234
|
+
/* @__PURE__ */ a(Bo, { username: y, date: e.date.time }),
|
|
13238
13235
|
/* @__PURE__ */ a("p", { className: "comment-text", children: g }),
|
|
13239
13236
|
r?.username.toLowerCase() !== v.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
13240
13237
|
/* @__PURE__ */ a(
|
|
13241
|
-
|
|
13238
|
+
Po,
|
|
13242
13239
|
{
|
|
13243
13240
|
onReply: () => o(e.id),
|
|
13244
13241
|
onFlag: () => s(e.id)
|
|
@@ -13262,7 +13259,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13262
13259
|
{
|
|
13263
13260
|
user: r,
|
|
13264
13261
|
reply: _,
|
|
13265
|
-
replyingTo:
|
|
13262
|
+
replyingTo: y,
|
|
13266
13263
|
onFlag: s
|
|
13267
13264
|
},
|
|
13268
13265
|
_.id
|
|
@@ -13345,7 +13342,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13345
13342
|
}
|
|
13346
13343
|
)
|
|
13347
13344
|
] });
|
|
13348
|
-
}, { PUBLIC_PUBLICATION_ID: r9, PUBLIC_X_SECURITY_TOKEN: o9 } =
|
|
13345
|
+
}, { PUBLIC_PUBLICATION_ID: r9, PUBLIC_X_SECURITY_TOKEN: o9 } = K(), Br = r9 ?? "", s9 = ({
|
|
13349
13346
|
isAuthenticated: e,
|
|
13350
13347
|
path: t,
|
|
13351
13348
|
user: n,
|
|
@@ -13356,7 +13353,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13356
13353
|
void 0
|
|
13357
13354
|
), [d, l] = J(""), { comments: u, setComments: m } = Jp(s), [h, p] = Te.useState(!1), g = Te.useRef(null), A = (x) => {
|
|
13358
13355
|
l(d === x ? "" : x);
|
|
13359
|
-
},
|
|
13356
|
+
}, y = (x) => {
|
|
13360
13357
|
m(
|
|
13361
13358
|
u ? {
|
|
13362
13359
|
...u,
|
|
@@ -13370,7 +13367,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13370
13367
|
const x = u.comments[u.comments.length - 1];
|
|
13371
13368
|
if (!x) return;
|
|
13372
13369
|
p(!0);
|
|
13373
|
-
const
|
|
13370
|
+
const O = x.id;
|
|
13374
13371
|
try {
|
|
13375
13372
|
const Q = await Ua({
|
|
13376
13373
|
publication: Br,
|
|
@@ -13378,7 +13375,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13378
13375
|
size: 5,
|
|
13379
13376
|
sizereply: 2,
|
|
13380
13377
|
id: void 0,
|
|
13381
|
-
lastid:
|
|
13378
|
+
lastid: O,
|
|
13382
13379
|
state: "5,6",
|
|
13383
13380
|
apiToken: o9
|
|
13384
13381
|
});
|
|
@@ -13390,8 +13387,8 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13390
13387
|
throw p(!1), new Error(`Error al obtener comentarios: ${Q}`);
|
|
13391
13388
|
}
|
|
13392
13389
|
}, _ = u?.comments && u.comments.length > 0, E = _ ? "Comparte tu opinión de este artículo." : "Se el primero en compartir tu opinión de este artículo.", b = /* @__PURE__ */ a("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ a(Je, {}) });
|
|
13393
|
-
return /* @__PURE__ */ f(
|
|
13394
|
-
/* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(fe, { title: _ || e ? "COMENTARIOS" : !1, children: /* @__PURE__ */ f(
|
|
13390
|
+
return /* @__PURE__ */ f(Y, { children: [
|
|
13391
|
+
/* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(fe, { title: _ || e ? "COMENTARIOS" : !1, children: /* @__PURE__ */ f(Y, { children: [
|
|
13395
13392
|
e && n && /* @__PURE__ */ f("div", { className: "comments-header", children: [
|
|
13396
13393
|
/* @__PURE__ */ a(
|
|
13397
13394
|
Rg,
|
|
@@ -13406,7 +13403,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13406
13403
|
{
|
|
13407
13404
|
commentRef: g,
|
|
13408
13405
|
user: n,
|
|
13409
|
-
addComment:
|
|
13406
|
+
addComment: y,
|
|
13410
13407
|
path: s,
|
|
13411
13408
|
CAPTCHA_KEY_V2: o.CAPTCHA_KEY_V2
|
|
13412
13409
|
}
|
|
@@ -13475,7 +13472,7 @@ const { PUBLIC_PUBLICATION_ID: Yp } = W(), Kp = Yp, Jp = (e) => {
|
|
|
13475
13472
|
}
|
|
13476
13473
|
});
|
|
13477
13474
|
});
|
|
13478
|
-
},
|
|
13475
|
+
}, Or = {
|
|
13479
13476
|
email: { label: "Email", required: !0 },
|
|
13480
13477
|
given_name: { label: "Nombre", required: !0 },
|
|
13481
13478
|
family_name: { label: "Apellido", required: !0 },
|
|
@@ -13511,7 +13508,7 @@ function i9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13511
13508
|
}, g = async (v) => {
|
|
13512
13509
|
v.preventDefault(), u(null), d(!0);
|
|
13513
13510
|
try {
|
|
13514
|
-
const N = Object.keys(
|
|
13511
|
+
const N = Object.keys(Or).filter((Q) => !["username", "password", "confirmPassword"].includes(Q)).map((Q) => ({ Name: Q, Value: r[Q] }));
|
|
13515
13512
|
if (N.some((Q) => {
|
|
13516
13513
|
if (!Q.Value || Q.Value.trim() === "") return !0;
|
|
13517
13514
|
}))
|
|
@@ -13529,7 +13526,7 @@ function i9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13529
13526
|
}
|
|
13530
13527
|
const b = Math.floor(Date.now() / 1e3);
|
|
13531
13528
|
N.push({ Name: "updated_at", Value: String(b) });
|
|
13532
|
-
const x = "token",
|
|
13529
|
+
const x = "token", O = await fetch("/api/auth/create-user", {
|
|
13533
13530
|
method: "POST",
|
|
13534
13531
|
headers: { "Content-Type": "application/json" },
|
|
13535
13532
|
body: JSON.stringify({
|
|
@@ -13539,8 +13536,8 @@ function i9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13539
13536
|
token: x
|
|
13540
13537
|
})
|
|
13541
13538
|
});
|
|
13542
|
-
if (!
|
|
13543
|
-
const Q = await
|
|
13539
|
+
if (!O.ok) {
|
|
13540
|
+
const Q = await O.json().catch(() => ({}));
|
|
13544
13541
|
if (Q.code === "UsernameExistsException") {
|
|
13545
13542
|
await fetch("/api/auth/resend-code", {
|
|
13546
13543
|
method: "POST",
|
|
@@ -13582,9 +13579,9 @@ function i9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13582
13579
|
} finally {
|
|
13583
13580
|
d(!1);
|
|
13584
13581
|
}
|
|
13585
|
-
},
|
|
13586
|
-
return /* @__PURE__ */ f(
|
|
13587
|
-
m === "register" && /* @__PURE__ */ f(
|
|
13582
|
+
}, y = r.password || "";
|
|
13583
|
+
return /* @__PURE__ */ f(Y, { children: [
|
|
13584
|
+
m === "register" && /* @__PURE__ */ f(Y, { children: [
|
|
13588
13585
|
/* @__PURE__ */ f("button", { onClick: t, className: k.google, children: [
|
|
13589
13586
|
/* @__PURE__ */ a(
|
|
13590
13587
|
"img",
|
|
@@ -13604,7 +13601,7 @@ function i9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13604
13601
|
className: k.form,
|
|
13605
13602
|
"data-error": l ? "true" : "false",
|
|
13606
13603
|
children: [
|
|
13607
|
-
/* @__PURE__ */ a("ul", { className: k.formUl, children: Object.entries(
|
|
13604
|
+
/* @__PURE__ */ a("ul", { className: k.formUl, children: Object.entries(Or).map(([v, { label: N }]) => /* @__PURE__ */ f("div", { className: k.field, children: [
|
|
13608
13605
|
/* @__PURE__ */ a("label", { className: k.label, children: N }),
|
|
13609
13606
|
/* @__PURE__ */ a(
|
|
13610
13607
|
"input",
|
|
@@ -13618,7 +13615,7 @@ function i9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13618
13615
|
}
|
|
13619
13616
|
),
|
|
13620
13617
|
v === "password" && /* @__PURE__ */ a("div", { className: k.passwordChecker, children: Cn.map((_, E) => {
|
|
13621
|
-
const b = _.test(
|
|
13618
|
+
const b = _.test(y);
|
|
13622
13619
|
return /* @__PURE__ */ f(
|
|
13623
13620
|
"div",
|
|
13624
13621
|
{
|
|
@@ -13730,8 +13727,8 @@ function c9({
|
|
|
13730
13727
|
handleGoogleLogin: r,
|
|
13731
13728
|
CAPTCHA_KEY: o
|
|
13732
13729
|
}) {
|
|
13733
|
-
const [s, i] = J("login"), [c, d] = J(""), [l, u] = J(""), [m, h] = J(""), [p, g] = J(""), [A,
|
|
13734
|
-
return console.log("CAPTCHA_KEY", o), /* @__PURE__ */ f(
|
|
13730
|
+
const [s, i] = J("login"), [c, d] = J(""), [l, u] = J(""), [m, h] = J(""), [p, g] = J(""), [A, y] = J(""), [v, N] = J(!1), [_, E] = J(!1), [b, x] = J(null);
|
|
13731
|
+
return console.log("CAPTCHA_KEY", o), /* @__PURE__ */ f(Y, { children: [
|
|
13735
13732
|
s === "login" && /* @__PURE__ */ a(
|
|
13736
13733
|
l9,
|
|
13737
13734
|
{
|
|
@@ -13748,19 +13745,19 @@ function c9({
|
|
|
13748
13745
|
G.preventDefault(), x(null), E(!0);
|
|
13749
13746
|
try {
|
|
13750
13747
|
console.log(!0, o);
|
|
13751
|
-
const
|
|
13748
|
+
const P = "token", ee = await fetch("/api/auth/login-password", {
|
|
13752
13749
|
method: "POST",
|
|
13753
13750
|
headers: { "Content-Type": "application/json" },
|
|
13754
13751
|
credentials: "include",
|
|
13755
|
-
body: JSON.stringify({ email: c, password: l, token:
|
|
13752
|
+
body: JSON.stringify({ email: c, password: l, token: P })
|
|
13756
13753
|
});
|
|
13757
13754
|
if (!ee.ok) {
|
|
13758
13755
|
const ce = await ee.json().catch(() => ({}));
|
|
13759
13756
|
throw new Error(ce?.error || "Ha ocurrido un error");
|
|
13760
13757
|
}
|
|
13761
13758
|
e(), await t();
|
|
13762
|
-
} catch (
|
|
13763
|
-
x(
|
|
13759
|
+
} catch (P) {
|
|
13760
|
+
x(P?.message || "Error inesperado");
|
|
13764
13761
|
} finally {
|
|
13765
13762
|
E(!1);
|
|
13766
13763
|
}
|
|
@@ -13784,18 +13781,18 @@ function c9({
|
|
|
13784
13781
|
if (!_) {
|
|
13785
13782
|
G.preventDefault(), x(null), E(!0);
|
|
13786
13783
|
try {
|
|
13787
|
-
const
|
|
13784
|
+
const P = await fetch("/api/auth/forgot-password", {
|
|
13788
13785
|
method: "POST",
|
|
13789
13786
|
headers: { "Content-Type": "application/json" },
|
|
13790
13787
|
body: JSON.stringify({ email: c })
|
|
13791
13788
|
});
|
|
13792
|
-
if (!
|
|
13793
|
-
const ee = await
|
|
13789
|
+
if (!P.ok) {
|
|
13790
|
+
const ee = await P.json().catch(() => ({}));
|
|
13794
13791
|
throw new Error(ee?.error || "Error al enviar código");
|
|
13795
13792
|
}
|
|
13796
13793
|
u(""), i("changePassword");
|
|
13797
|
-
} catch (
|
|
13798
|
-
x(
|
|
13794
|
+
} catch (P) {
|
|
13795
|
+
x(P?.message || "Error inesperado");
|
|
13799
13796
|
} finally {
|
|
13800
13797
|
E(!1);
|
|
13801
13798
|
}
|
|
@@ -13818,7 +13815,7 @@ function c9({
|
|
|
13818
13815
|
error: b,
|
|
13819
13816
|
setConfirmationCode: h,
|
|
13820
13817
|
setNewPassword: g,
|
|
13821
|
-
setConfirmNewPassword:
|
|
13818
|
+
setConfirmNewPassword: y,
|
|
13822
13819
|
setShowPassword: N,
|
|
13823
13820
|
onSubmit: async (G) => {
|
|
13824
13821
|
if (_) return;
|
|
@@ -13879,7 +13876,7 @@ function l9({
|
|
|
13879
13876
|
onRegister: u,
|
|
13880
13877
|
handleGoogleLogin: m
|
|
13881
13878
|
}) {
|
|
13882
|
-
return /* @__PURE__ */ f(
|
|
13879
|
+
return /* @__PURE__ */ f(Y, { children: [
|
|
13883
13880
|
/* @__PURE__ */ f("button", { onClick: m, className: k.google, children: [
|
|
13884
13881
|
/* @__PURE__ */ a(
|
|
13885
13882
|
"img",
|
|
@@ -14180,7 +14177,7 @@ function f9({
|
|
|
14180
14177
|
COMMENTS_VARS: c
|
|
14181
14178
|
}) {
|
|
14182
14179
|
const [d, l] = Te.useState(!1);
|
|
14183
|
-
return /* @__PURE__ */ f(
|
|
14180
|
+
return /* @__PURE__ */ f(Y, { children: [
|
|
14184
14181
|
d && /* @__PURE__ */ a(
|
|
14185
14182
|
m9,
|
|
14186
14183
|
{
|
|
@@ -14292,7 +14289,7 @@ const x3 = ({
|
|
|
14292
14289
|
isVisibleDefault: i = !1,
|
|
14293
14290
|
COMMENTS_VARS: c
|
|
14294
14291
|
}) => {
|
|
14295
|
-
const d =
|
|
14292
|
+
const d = Pr(null), [l, u] = Te.useState(i);
|
|
14296
14293
|
Te.useEffect(() => {
|
|
14297
14294
|
if (i || l) return;
|
|
14298
14295
|
const h = new IntersectionObserver(
|
|
@@ -14416,10 +14413,10 @@ async function E3({
|
|
|
14416
14413
|
});
|
|
14417
14414
|
} catch (g) {
|
|
14418
14415
|
if (console.error("Error enviando comentario:", g), oe.isAxiosError(g)) {
|
|
14419
|
-
const A = g.response?.status ?? 500,
|
|
14416
|
+
const A = g.response?.status ?? 500, y = g.response?.data;
|
|
14420
14417
|
return A === 400 ? {
|
|
14421
14418
|
type: "error",
|
|
14422
|
-
message:
|
|
14419
|
+
message: y?.message || "Solicitud inválida. Verifica que los campos sean correctos.",
|
|
14423
14420
|
status: 400
|
|
14424
14421
|
} : A === 403 ? {
|
|
14425
14422
|
type: "error",
|
|
@@ -14431,7 +14428,7 @@ async function E3({
|
|
|
14431
14428
|
status: 500
|
|
14432
14429
|
} : {
|
|
14433
14430
|
type: "error",
|
|
14434
|
-
message:
|
|
14431
|
+
message: y?.message || "No se pudo enviar el comentario.",
|
|
14435
14432
|
status: A
|
|
14436
14433
|
};
|
|
14437
14434
|
}
|
|
@@ -14497,7 +14494,7 @@ export {
|
|
|
14497
14494
|
ir as ContentLayoutTema,
|
|
14498
14495
|
p3 as DEBUG_MainSlots,
|
|
14499
14496
|
Zm as DestacadoNoticias,
|
|
14500
|
-
|
|
14497
|
+
Pf as DestacadoVideos,
|
|
14501
14498
|
uc as DynamicBlockServices,
|
|
14502
14499
|
g3 as DynamicComponents,
|
|
14503
14500
|
zn as DynamicMainSlot,
|
|
@@ -14506,7 +14503,7 @@ export {
|
|
|
14506
14503
|
n3 as ErrorComponent,
|
|
14507
14504
|
Rs as Font,
|
|
14508
14505
|
e3 as Footer,
|
|
14509
|
-
|
|
14506
|
+
ws as FormatAfterScripts,
|
|
14510
14507
|
Hr as FormatScripts,
|
|
14511
14508
|
Fo as GA4,
|
|
14512
14509
|
$o as GTM,
|
|
@@ -14514,13 +14511,13 @@ export {
|
|
|
14514
14511
|
K9 as GenerateBody,
|
|
14515
14512
|
Y9 as GenerateHead,
|
|
14516
14513
|
i3 as Header,
|
|
14517
|
-
|
|
14514
|
+
y0 as IframeHeader,
|
|
14518
14515
|
tl as ImageOffline,
|
|
14519
14516
|
Ue as ImageOnline,
|
|
14520
14517
|
el as ImageOnlineClient,
|
|
14521
14518
|
F9 as IssuuServices,
|
|
14522
14519
|
Ts as ItemListSchema,
|
|
14523
|
-
|
|
14520
|
+
wm as JournalistArticule2,
|
|
14524
14521
|
Em as JournalistGroup,
|
|
14525
14522
|
_o as LayoutNewsComponent,
|
|
14526
14523
|
x3 as LazyLoader,
|
|
@@ -14543,26 +14540,26 @@ export {
|
|
|
14543
14540
|
A3 as NewsComponent,
|
|
14544
14541
|
ra as NewsContent,
|
|
14545
14542
|
Et as NewsDescriptionComponent,
|
|
14546
|
-
|
|
14543
|
+
wn as NextPrev,
|
|
14547
14544
|
ks as OrgList,
|
|
14548
14545
|
Ma as PreloadImages,
|
|
14549
14546
|
We as REPORT_REASONS,
|
|
14550
14547
|
ba as Readest,
|
|
14551
14548
|
C3 as ScriptHydrator,
|
|
14552
|
-
|
|
14549
|
+
w3 as SearchSection,
|
|
14553
14550
|
fe as Section,
|
|
14554
14551
|
Ze as SectionCard,
|
|
14555
14552
|
In as SectionCard2,
|
|
14556
14553
|
sa as SectionCardServerComponent,
|
|
14557
14554
|
h3 as SectionServerComponent,
|
|
14558
|
-
|
|
14555
|
+
wc as ShowSection,
|
|
14559
14556
|
z2 as SocialNetworks,
|
|
14560
14557
|
xs as SpeculationRules,
|
|
14561
14558
|
f3 as StaticSlotWrapper,
|
|
14562
14559
|
gl as SubscribeColumn,
|
|
14563
14560
|
Tl as SubscribeRow,
|
|
14564
14561
|
X9 as SubscribeWhatsAppColumn,
|
|
14565
|
-
|
|
14562
|
+
y3 as TagComponent,
|
|
14566
14563
|
lm as TagSection,
|
|
14567
14564
|
H1 as TimeLine,
|
|
14568
14565
|
C9 as TrimPathname,
|
|
@@ -14582,7 +14579,7 @@ export {
|
|
|
14582
14579
|
je as cutString,
|
|
14583
14580
|
v9 as extractRealtedNews,
|
|
14584
14581
|
Me as formatDate,
|
|
14585
|
-
|
|
14582
|
+
w9 as formatDateEdiciones,
|
|
14586
14583
|
jr as formatDateJournalistArticule,
|
|
14587
14584
|
us as formatDateTimeline,
|
|
14588
14585
|
fs as formatNewsMeta,
|
|
@@ -14590,7 +14587,7 @@ export {
|
|
|
14590
14587
|
W9 as generalGetData,
|
|
14591
14588
|
S3 as getCaptchaToken,
|
|
14592
14589
|
Wp as getComments,
|
|
14593
|
-
|
|
14590
|
+
K as getConfig,
|
|
14594
14591
|
$9 as getDynamicSlots,
|
|
14595
14592
|
Mt as getEnvironmentUrl,
|
|
14596
14593
|
ms as getEnvironmentUrlFront,
|
|
@@ -14610,15 +14607,15 @@ export {
|
|
|
14610
14607
|
_9 as getTypeOfNews,
|
|
14611
14608
|
N9 as getVideoRealPath,
|
|
14612
14609
|
Ua as handleGetComments,
|
|
14613
|
-
|
|
14614
|
-
|
|
14610
|
+
y9 as initLibrary,
|
|
14611
|
+
ys as metadataToJSX,
|
|
14615
14612
|
mc as metadata_defaults,
|
|
14616
14613
|
Gr as parseTags,
|
|
14617
14614
|
gs as pathnameSplit,
|
|
14618
14615
|
b9 as processExtractedRelatedNews,
|
|
14619
14616
|
Ls as removePages,
|
|
14620
14617
|
_3 as reportComment,
|
|
14621
|
-
|
|
14618
|
+
Pd as shareButtons,
|
|
14622
14619
|
Sa as socialIcons,
|
|
14623
14620
|
Ns as speculationRules,
|
|
14624
14621
|
_s as speculationRulesHome,
|