sass-template-common 0.1.50 → 0.1.53
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.
- package/dist/sass-template-common.js +482 -504
- package/dist/sass-template-common.umd.cjs +13 -13
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as m, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import * as ka from "react";
|
|
3
|
-
import Ee, { useState as $, useRef as Br, useCallback as he, useEffect as De, createElement as ot, forwardRef as Or, Fragment as gn, useMemo as
|
|
3
|
+
import Ee, { useState as $, useRef as Br, useCallback as he, useEffect as De, createElement as ot, forwardRef as Or, Fragment as gn, useMemo as Mo, Component as jo } from "react";
|
|
4
4
|
let ea = {
|
|
5
5
|
PUBLIC_API_HOST: "https://dev-saas.cms-medios.com",
|
|
6
6
|
PUBLIC_API_FRONT: "https://dev-lahora.cms-medios.com",
|
|
@@ -57,7 +57,7 @@ function p9(e = {}) {
|
|
|
57
57
|
function J() {
|
|
58
58
|
return ea;
|
|
59
59
|
}
|
|
60
|
-
const
|
|
60
|
+
const Qo = () => {
|
|
61
61
|
const { ANALYTICS_comscore: e } = J();
|
|
62
62
|
return e && /* @__PURE__ */ a(
|
|
63
63
|
"script",
|
|
@@ -68,7 +68,7 @@ const Go = () => {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
);
|
|
71
|
-
},
|
|
71
|
+
}, Go = (e, t) => e && t ? {
|
|
72
72
|
author: e?.authors[0]?.name ?? "",
|
|
73
73
|
creator: e?.authors[0]?.name ?? "",
|
|
74
74
|
// currentNew?.info?.creator,
|
|
@@ -77,7 +77,7 @@ const Go = () => {
|
|
|
77
77
|
hiddentags: String(e?.keywords?.hiddentags) ?? "",
|
|
78
78
|
newsType: e?.info?.type ?? "",
|
|
79
79
|
publishDate: new Date(e?.info?.date?.firstpublish ?? "").toISOString().split("T")[0] ?? ""
|
|
80
|
-
} : void 0,
|
|
80
|
+
} : void 0, zo = ({ id: e, dimensionValues: t = {} }) => {
|
|
81
81
|
const n = Ee.useMemo(() => {
|
|
82
82
|
const o = {};
|
|
83
83
|
return Object.keys(t).forEach((s) => {
|
|
@@ -105,7 +105,7 @@ const Go = () => {
|
|
|
105
105
|
}
|
|
106
106
|
)
|
|
107
107
|
] });
|
|
108
|
-
},
|
|
108
|
+
}, Ho = () => {
|
|
109
109
|
const { ANALYTICS_gtm: e } = J();
|
|
110
110
|
return e && /* @__PURE__ */ m(K, { children: [
|
|
111
111
|
/* @__PURE__ */ a(
|
|
@@ -133,7 +133,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
133
133
|
}
|
|
134
134
|
) })
|
|
135
135
|
] });
|
|
136
|
-
},
|
|
136
|
+
}, Vo = () => {
|
|
137
137
|
const { ANALYTICS_marfeel: e } = J();
|
|
138
138
|
return e && /* @__PURE__ */ a(
|
|
139
139
|
"script",
|
|
@@ -148,25 +148,25 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
148
148
|
function Ct(e) {
|
|
149
149
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
150
150
|
}
|
|
151
|
-
var on = { exports: {} },
|
|
151
|
+
var on = { exports: {} }, Fo = on.exports, qa;
|
|
152
152
|
function Pr() {
|
|
153
153
|
return qa || (qa = 1, (function(e, t) {
|
|
154
154
|
(function(n, r) {
|
|
155
155
|
e.exports = r();
|
|
156
|
-
})(
|
|
156
|
+
})(Fo, (function() {
|
|
157
157
|
var n = 1e3, r = 6e4, o = 36e5, s = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", h = "month", f = "quarter", w = "year", g = "date", p = "Invalid Date", A = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, _ = /\[([^\]]+)]|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, S = { 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) {
|
|
158
158
|
var U = ["th", "st", "nd", "rd"], E = M % 100;
|
|
159
159
|
return "[" + M + (U[(E - 20) % 10] || U[E] || U[0]) + "]";
|
|
160
160
|
} }, N = function(M, U, E) {
|
|
161
|
-
var
|
|
162
|
-
return !
|
|
161
|
+
var P = String(M);
|
|
162
|
+
return !P || P.length >= U ? M : "" + Array(U + 1 - P.length).join(E) + M;
|
|
163
163
|
}, x = { s: N, z: function(M) {
|
|
164
|
-
var U = -M.utcOffset(), E = Math.abs(U),
|
|
165
|
-
return (U <= 0 ? "+" : "-") + N(
|
|
164
|
+
var U = -M.utcOffset(), E = Math.abs(U), P = Math.floor(E / 60), T = E % 60;
|
|
165
|
+
return (U <= 0 ? "+" : "-") + N(P, 2, "0") + ":" + N(T, 2, "0");
|
|
166
166
|
}, m: function M(U, E) {
|
|
167
167
|
if (U.date() < E.date()) return -M(E, U);
|
|
168
|
-
var
|
|
169
|
-
return +(-(
|
|
168
|
+
var P = 12 * (E.year() - U.year()) + (E.month() - U.month()), T = U.clone().add(P, h), z = E - T < 0, y = U.clone().add(P + (z ? -1 : 1), h);
|
|
169
|
+
return +(-(P + (E - T) / (z ? T - y : y - T)) || 0);
|
|
170
170
|
}, a: function(M) {
|
|
171
171
|
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
172
172
|
}, p: function(M) {
|
|
@@ -177,7 +177,7 @@ function Pr() {
|
|
|
177
177
|
B[v] = S;
|
|
178
178
|
var R = "$isDayjsObject", Y = function(M) {
|
|
179
179
|
return M instanceof ee || !(!M || !M[R]);
|
|
180
|
-
}, te = function M(U, E,
|
|
180
|
+
}, te = function M(U, E, P) {
|
|
181
181
|
var T;
|
|
182
182
|
if (!U) return v;
|
|
183
183
|
if (typeof U == "string") {
|
|
@@ -189,13 +189,13 @@ function Pr() {
|
|
|
189
189
|
var C = U.name;
|
|
190
190
|
B[C] = U, T = C;
|
|
191
191
|
}
|
|
192
|
-
return !
|
|
192
|
+
return !P && T && (v = T), T || !P && v;
|
|
193
193
|
}, Q = function(M, U) {
|
|
194
194
|
if (Y(M)) return M.clone();
|
|
195
195
|
var E = typeof U == "object" ? U : {};
|
|
196
196
|
return E.date = M, E.args = arguments, new ee(E);
|
|
197
|
-
},
|
|
198
|
-
|
|
197
|
+
}, O = x;
|
|
198
|
+
O.l = te, O.i = Y, O.w = function(M, U) {
|
|
199
199
|
return Q(M, { locale: U.$L, utc: U.$u, x: U.$x, $offset: U.$offset });
|
|
200
200
|
};
|
|
201
201
|
var ee = (function() {
|
|
@@ -204,10 +204,10 @@ function Pr() {
|
|
|
204
204
|
}
|
|
205
205
|
var U = M.prototype;
|
|
206
206
|
return U.parse = function(E) {
|
|
207
|
-
this.$d = (function(
|
|
208
|
-
var T =
|
|
207
|
+
this.$d = (function(P) {
|
|
208
|
+
var T = P.date, z = P.utc;
|
|
209
209
|
if (T === null) return /* @__PURE__ */ new Date(NaN);
|
|
210
|
-
if (
|
|
210
|
+
if (O.u(T)) return /* @__PURE__ */ new Date();
|
|
211
211
|
if (T instanceof Date) return new Date(T);
|
|
212
212
|
if (typeof T == "string" && !/Z$/i.test(T)) {
|
|
213
213
|
var y = T.match(A);
|
|
@@ -222,28 +222,28 @@ function Pr() {
|
|
|
222
222
|
var E = this.$d;
|
|
223
223
|
this.$y = E.getFullYear(), this.$M = E.getMonth(), this.$D = E.getDate(), this.$W = E.getDay(), this.$H = E.getHours(), this.$m = E.getMinutes(), this.$s = E.getSeconds(), this.$ms = E.getMilliseconds();
|
|
224
224
|
}, U.$utils = function() {
|
|
225
|
-
return
|
|
225
|
+
return O;
|
|
226
226
|
}, U.isValid = function() {
|
|
227
227
|
return this.$d.toString() !== p;
|
|
228
|
-
}, U.isSame = function(E,
|
|
228
|
+
}, U.isSame = function(E, P) {
|
|
229
229
|
var T = Q(E);
|
|
230
|
-
return this.startOf(
|
|
231
|
-
}, U.isAfter = function(E,
|
|
232
|
-
return Q(E) < this.startOf(
|
|
233
|
-
}, U.isBefore = function(E,
|
|
234
|
-
return this.endOf(
|
|
235
|
-
}, U.$g = function(E,
|
|
236
|
-
return
|
|
230
|
+
return this.startOf(P) <= T && T <= this.endOf(P);
|
|
231
|
+
}, U.isAfter = function(E, P) {
|
|
232
|
+
return Q(E) < this.startOf(P);
|
|
233
|
+
}, U.isBefore = function(E, P) {
|
|
234
|
+
return this.endOf(P) < Q(E);
|
|
235
|
+
}, U.$g = function(E, P, T) {
|
|
236
|
+
return O.u(E) ? this[P] : this.set(T, E);
|
|
237
237
|
}, U.unix = function() {
|
|
238
238
|
return Math.floor(this.valueOf() / 1e3);
|
|
239
239
|
}, U.valueOf = function() {
|
|
240
240
|
return this.$d.getTime();
|
|
241
|
-
}, U.startOf = function(E,
|
|
242
|
-
var T = this, z = !!
|
|
243
|
-
var ie =
|
|
241
|
+
}, U.startOf = function(E, P) {
|
|
242
|
+
var T = this, z = !!O.u(P) || P, y = O.p(E), C = function(X, F) {
|
|
243
|
+
var ie = O.w(T.$u ? Date.UTC(T.$y, F, X) : new Date(T.$y, F, X), T);
|
|
244
244
|
return z ? ie : ie.endOf(l);
|
|
245
245
|
}, k = function(X, F) {
|
|
246
|
-
return
|
|
246
|
+
return O.w(T.toDate()[X].apply(T.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(F)), T);
|
|
247
247
|
}, j = this.$W, L = this.$M, G = this.$D, H = "set" + (this.$u ? "UTC" : "");
|
|
248
248
|
switch (y) {
|
|
249
249
|
case w:
|
|
@@ -267,39 +267,39 @@ function Pr() {
|
|
|
267
267
|
}
|
|
268
268
|
}, U.endOf = function(E) {
|
|
269
269
|
return this.startOf(E, !1);
|
|
270
|
-
}, U.$set = function(E,
|
|
271
|
-
var T, z =
|
|
270
|
+
}, U.$set = function(E, P) {
|
|
271
|
+
var T, z = O.p(E), y = "set" + (this.$u ? "UTC" : ""), C = (T = {}, T[l] = y + "Date", T[g] = y + "Date", T[h] = y + "Month", T[w] = y + "FullYear", T[d] = y + "Hours", T[c] = y + "Minutes", T[i] = y + "Seconds", T[s] = y + "Milliseconds", T)[z], k = z === l ? this.$D + (P - this.$W) : P;
|
|
272
272
|
if (z === h || z === w) {
|
|
273
273
|
var j = this.clone().set(g, 1);
|
|
274
274
|
j.$d[C](k), j.init(), this.$d = j.set(g, Math.min(this.$D, j.daysInMonth())).$d;
|
|
275
275
|
} else C && this.$d[C](k);
|
|
276
276
|
return this.init(), this;
|
|
277
|
-
}, U.set = function(E,
|
|
278
|
-
return this.clone().$set(E,
|
|
277
|
+
}, U.set = function(E, P) {
|
|
278
|
+
return this.clone().$set(E, P);
|
|
279
279
|
}, U.get = function(E) {
|
|
280
|
-
return this[
|
|
281
|
-
}, U.add = function(E,
|
|
280
|
+
return this[O.p(E)]();
|
|
281
|
+
}, U.add = function(E, P) {
|
|
282
282
|
var T, z = this;
|
|
283
283
|
E = Number(E);
|
|
284
|
-
var y =
|
|
284
|
+
var y = O.p(P), C = function(L) {
|
|
285
285
|
var G = Q(z);
|
|
286
|
-
return
|
|
286
|
+
return O.w(G.date(G.date() + Math.round(L * E)), z);
|
|
287
287
|
};
|
|
288
288
|
if (y === h) return this.set(h, this.$M + E);
|
|
289
289
|
if (y === w) return this.set(w, this.$y + E);
|
|
290
290
|
if (y === l) return C(1);
|
|
291
291
|
if (y === u) return C(7);
|
|
292
292
|
var k = (T = {}, T[c] = r, T[d] = o, T[i] = n, T)[y] || 1, j = this.$d.getTime() + E * k;
|
|
293
|
-
return
|
|
294
|
-
}, U.subtract = function(E,
|
|
295
|
-
return this.add(-1 * E,
|
|
293
|
+
return O.w(j, this);
|
|
294
|
+
}, U.subtract = function(E, P) {
|
|
295
|
+
return this.add(-1 * E, P);
|
|
296
296
|
}, U.format = function(E) {
|
|
297
|
-
var
|
|
297
|
+
var P = this, T = this.$locale();
|
|
298
298
|
if (!this.isValid()) return T.invalidDate || p;
|
|
299
|
-
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y =
|
|
300
|
-
return F && (F[ie] || F(
|
|
299
|
+
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y = O.z(this), C = this.$H, k = this.$m, j = this.$M, L = T.weekdays, G = T.months, H = T.meridiem, V = function(F, ie, q, Ae) {
|
|
300
|
+
return F && (F[ie] || F(P, z)) || q[ie].slice(0, Ae);
|
|
301
301
|
}, Z = function(F) {
|
|
302
|
-
return
|
|
302
|
+
return O.s(C % 12 || 12, F, "0");
|
|
303
303
|
}, X = H || function(F, ie, q) {
|
|
304
304
|
var Ae = F < 12 ? "AM" : "PM";
|
|
305
305
|
return q ? Ae.toLowerCase() : Ae;
|
|
@@ -308,33 +308,33 @@ function Pr() {
|
|
|
308
308
|
return ie || (function(q) {
|
|
309
309
|
switch (q) {
|
|
310
310
|
case "YY":
|
|
311
|
-
return String(
|
|
311
|
+
return String(P.$y).slice(-2);
|
|
312
312
|
case "YYYY":
|
|
313
|
-
return
|
|
313
|
+
return O.s(P.$y, 4, "0");
|
|
314
314
|
case "M":
|
|
315
315
|
return j + 1;
|
|
316
316
|
case "MM":
|
|
317
|
-
return
|
|
317
|
+
return O.s(j + 1, 2, "0");
|
|
318
318
|
case "MMM":
|
|
319
319
|
return V(T.monthsShort, j, G, 3);
|
|
320
320
|
case "MMMM":
|
|
321
321
|
return V(G, j);
|
|
322
322
|
case "D":
|
|
323
|
-
return
|
|
323
|
+
return P.$D;
|
|
324
324
|
case "DD":
|
|
325
|
-
return
|
|
325
|
+
return O.s(P.$D, 2, "0");
|
|
326
326
|
case "d":
|
|
327
|
-
return String(
|
|
327
|
+
return String(P.$W);
|
|
328
328
|
case "dd":
|
|
329
|
-
return V(T.weekdaysMin,
|
|
329
|
+
return V(T.weekdaysMin, P.$W, L, 2);
|
|
330
330
|
case "ddd":
|
|
331
|
-
return V(T.weekdaysShort,
|
|
331
|
+
return V(T.weekdaysShort, P.$W, L, 3);
|
|
332
332
|
case "dddd":
|
|
333
|
-
return L[
|
|
333
|
+
return L[P.$W];
|
|
334
334
|
case "H":
|
|
335
335
|
return String(C);
|
|
336
336
|
case "HH":
|
|
337
|
-
return
|
|
337
|
+
return O.s(C, 2, "0");
|
|
338
338
|
case "h":
|
|
339
339
|
return Z(1);
|
|
340
340
|
case "hh":
|
|
@@ -346,13 +346,13 @@ function Pr() {
|
|
|
346
346
|
case "m":
|
|
347
347
|
return String(k);
|
|
348
348
|
case "mm":
|
|
349
|
-
return
|
|
349
|
+
return O.s(k, 2, "0");
|
|
350
350
|
case "s":
|
|
351
|
-
return String(
|
|
351
|
+
return String(P.$s);
|
|
352
352
|
case "ss":
|
|
353
|
-
return
|
|
353
|
+
return O.s(P.$s, 2, "0");
|
|
354
354
|
case "SSS":
|
|
355
|
-
return
|
|
355
|
+
return O.s(P.$ms, 3, "0");
|
|
356
356
|
case "Z":
|
|
357
357
|
return y;
|
|
358
358
|
}
|
|
@@ -361,9 +361,9 @@ function Pr() {
|
|
|
361
361
|
}));
|
|
362
362
|
}, U.utcOffset = function() {
|
|
363
363
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
364
|
-
}, U.diff = function(E,
|
|
365
|
-
var z, y = this, C =
|
|
366
|
-
return
|
|
364
|
+
}, U.diff = function(E, P, T) {
|
|
365
|
+
var z, y = this, C = O.p(P), k = Q(E), j = (k.utcOffset() - this.utcOffset()) * r, L = this - k, G = function() {
|
|
366
|
+
return O.m(y, k);
|
|
367
367
|
};
|
|
368
368
|
switch (C) {
|
|
369
369
|
case w:
|
|
@@ -393,17 +393,17 @@ function Pr() {
|
|
|
393
393
|
default:
|
|
394
394
|
z = L;
|
|
395
395
|
}
|
|
396
|
-
return T ? z :
|
|
396
|
+
return T ? z : O.a(z);
|
|
397
397
|
}, U.daysInMonth = function() {
|
|
398
398
|
return this.endOf(h).$D;
|
|
399
399
|
}, U.$locale = function() {
|
|
400
400
|
return B[this.$L];
|
|
401
|
-
}, U.locale = function(E,
|
|
401
|
+
}, U.locale = function(E, P) {
|
|
402
402
|
if (!E) return this.$L;
|
|
403
|
-
var T = this.clone(), z = te(E,
|
|
403
|
+
var T = this.clone(), z = te(E, P, !0);
|
|
404
404
|
return z && (T.$L = z), T;
|
|
405
405
|
}, U.clone = function() {
|
|
406
|
-
return
|
|
406
|
+
return O.w(this.$d, this);
|
|
407
407
|
}, U.toDate = function() {
|
|
408
408
|
return new Date(this.valueOf());
|
|
409
409
|
}, U.toJSON = function() {
|
|
@@ -426,14 +426,14 @@ function Pr() {
|
|
|
426
426
|
}));
|
|
427
427
|
})(on)), on.exports;
|
|
428
428
|
}
|
|
429
|
-
var
|
|
430
|
-
const Se = /* @__PURE__ */ Ct(
|
|
431
|
-
var sn = { exports: {} },
|
|
432
|
-
function
|
|
429
|
+
var Wo = Pr();
|
|
430
|
+
const Se = /* @__PURE__ */ Ct(Wo);
|
|
431
|
+
var sn = { exports: {} }, $o = sn.exports, Ra;
|
|
432
|
+
function Yo() {
|
|
433
433
|
return Ra || (Ra = 1, (function(e, t) {
|
|
434
434
|
(function(n, r) {
|
|
435
435
|
e.exports = r();
|
|
436
|
-
})(
|
|
436
|
+
})($o, (function() {
|
|
437
437
|
return function(n, r, o) {
|
|
438
438
|
n = n || {};
|
|
439
439
|
var s = r.prototype, i = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
@@ -472,14 +472,14 @@ function Ko() {
|
|
|
472
472
|
}));
|
|
473
473
|
})(sn)), sn.exports;
|
|
474
474
|
}
|
|
475
|
-
var
|
|
476
|
-
const
|
|
477
|
-
var cn = { exports: {} },
|
|
478
|
-
function
|
|
475
|
+
var Ko = Yo();
|
|
476
|
+
const Jo = /* @__PURE__ */ Ct(Ko);
|
|
477
|
+
var cn = { exports: {} }, Zo = cn.exports, La;
|
|
478
|
+
function Xo() {
|
|
479
479
|
return La || (La = 1, (function(e, t) {
|
|
480
480
|
(function(n, r) {
|
|
481
481
|
e.exports = r(Pr());
|
|
482
|
-
})(
|
|
482
|
+
})(Zo, (function(n) {
|
|
483
483
|
function r(i) {
|
|
484
484
|
return i && typeof i == "object" && "default" in i ? i : { default: i };
|
|
485
485
|
}
|
|
@@ -490,13 +490,13 @@ function es() {
|
|
|
490
490
|
}));
|
|
491
491
|
})(cn)), cn.exports;
|
|
492
492
|
}
|
|
493
|
-
|
|
494
|
-
var ln = { exports: {} },
|
|
495
|
-
function
|
|
493
|
+
Xo();
|
|
494
|
+
var ln = { exports: {} }, es = ln.exports, Ba;
|
|
495
|
+
function ts() {
|
|
496
496
|
return Ba || (Ba = 1, (function(e, t) {
|
|
497
497
|
(function(n, r) {
|
|
498
498
|
e.exports = r();
|
|
499
|
-
})(
|
|
499
|
+
})(es, (function() {
|
|
500
500
|
var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, o = /([+-]|\d\d)/g;
|
|
501
501
|
return function(s, i, c) {
|
|
502
502
|
var d = i.prototype;
|
|
@@ -566,14 +566,14 @@ function ns() {
|
|
|
566
566
|
}));
|
|
567
567
|
})(ln)), ln.exports;
|
|
568
568
|
}
|
|
569
|
-
var
|
|
570
|
-
const
|
|
571
|
-
var dn = { exports: {} },
|
|
572
|
-
function
|
|
569
|
+
var ns = ts();
|
|
570
|
+
const as = /* @__PURE__ */ Ct(ns);
|
|
571
|
+
var dn = { exports: {} }, rs = dn.exports, Oa;
|
|
572
|
+
function os() {
|
|
573
573
|
return Oa || (Oa = 1, (function(e, t) {
|
|
574
574
|
(function(n, r) {
|
|
575
575
|
e.exports = r();
|
|
576
|
-
})(
|
|
576
|
+
})(rs, (function() {
|
|
577
577
|
var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, r = {};
|
|
578
578
|
return function(o, s, i) {
|
|
579
579
|
var c, d = function(f, w, g) {
|
|
@@ -618,8 +618,8 @@ function ss() {
|
|
|
618
618
|
var S = (function(B, R, Y) {
|
|
619
619
|
var te = B - 60 * R * 1e3, Q = l(te, Y);
|
|
620
620
|
if (R === Q) return [te, R];
|
|
621
|
-
var
|
|
622
|
-
return Q ===
|
|
621
|
+
var O = l(te -= 60 * (Q - R) * 1e3, Y);
|
|
622
|
+
return Q === O ? [te, Q] : [B - 60 * Math.min(Q, O) * 1e3, Math.max(Q, O)];
|
|
623
623
|
})(i.utc(f, p).valueOf(), _, A), N = S[0], x = S[1], v = i(N).utcOffset(x);
|
|
624
624
|
return v.$x.$timezone = A, v;
|
|
625
625
|
}, i.tz.guess = function() {
|
|
@@ -631,11 +631,11 @@ function ss() {
|
|
|
631
631
|
}));
|
|
632
632
|
})(dn)), dn.exports;
|
|
633
633
|
}
|
|
634
|
-
var
|
|
635
|
-
const
|
|
636
|
-
Se.extend(
|
|
637
|
-
Se.extend(
|
|
638
|
-
Se.extend(
|
|
634
|
+
var ss = os();
|
|
635
|
+
const is = /* @__PURE__ */ Ct(ss);
|
|
636
|
+
Se.extend(as);
|
|
637
|
+
Se.extend(is);
|
|
638
|
+
Se.extend(Jo);
|
|
639
639
|
const _n = (e) => e === "en" ? "en" : "es", Me = (e) => {
|
|
640
640
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = J(), r = _n(t ?? "es");
|
|
641
641
|
return Se.tz(e, n).locale(r).format("DD MMMM YYYY");
|
|
@@ -644,17 +644,17 @@ const _n = (e) => e === "en" ? "en" : "es", Me = (e) => {
|
|
|
644
644
|
return Se.tz(e, n).locale(r).format(
|
|
645
645
|
r === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
646
646
|
);
|
|
647
|
-
},
|
|
647
|
+
}, cs = (e) => {
|
|
648
648
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = J(), r = _n(t ?? "es");
|
|
649
649
|
return Se.tz(e, n).locale(r).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
650
650
|
}, A9 = (e) => {
|
|
651
651
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = J(), r = _n(t ?? "es");
|
|
652
652
|
return Se.tz(e, n).locale(r).format("dddd DD [de] MMMM YYYY");
|
|
653
653
|
}, je = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
654
|
-
function
|
|
654
|
+
function ls(e) {
|
|
655
655
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function ds(e) {
|
|
658
658
|
return e && e.status === "fulfilled" ? e.value : null;
|
|
659
659
|
}
|
|
660
660
|
const Dt = (e, t, n) => ({
|
|
@@ -709,10 +709,10 @@ function w9(e) {
|
|
|
709
709
|
const pn = () => {
|
|
710
710
|
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } = J();
|
|
711
711
|
return e == "local" ? t : n !== "false" && n !== "false" ? n : "";
|
|
712
|
-
},
|
|
712
|
+
}, us = () => {
|
|
713
713
|
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = J();
|
|
714
714
|
return e === "local" ? t : "";
|
|
715
|
-
},
|
|
715
|
+
}, hs = (e, t) => {
|
|
716
716
|
if (!e) return {};
|
|
717
717
|
const { PUBLIC_ASSETS_URL: n, PUBLIC_API_FRONT: r } = J(), o = Mr(e.keywords) ?? "", s = e?.preview?.sizes ? e?.preview?.sizes[0]?.url : "", i = (n !== "false" ? n : r) ?? "";
|
|
718
718
|
return {
|
|
@@ -755,10 +755,10 @@ const pn = () => {
|
|
|
755
755
|
]
|
|
756
756
|
}
|
|
757
757
|
};
|
|
758
|
-
}, Mr = (e) => !e || !e?.tags || e?.tags?.length === 0 ? "" : e?.tags?.map((t) => t.name).join(", ").replaceAll('"', "'").replaceAll("`", "'"),
|
|
758
|
+
}, Mr = (e) => !e || !e?.tags || e?.tags?.length === 0 ? "" : e?.tags?.map((t) => t.name).join(", ").replaceAll('"', "'").replaceAll("`", "'"), ms = (e) => {
|
|
759
759
|
const t = e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);
|
|
760
760
|
return t ? { slug: t[1] ?? "", path: t[2] ?? "" } : { slug: "", path: "" };
|
|
761
|
-
},
|
|
761
|
+
}, fs = (e) => e.replaceAll("/", "").replaceAll("_", "").replace(".html", ""), gs = {
|
|
762
762
|
description: { attr: "name", value: "description" },
|
|
763
763
|
robots: { attr: "name", value: "robots" },
|
|
764
764
|
keywords: { attr: "name", value: "keywords" },
|
|
@@ -773,11 +773,11 @@ const pn = () => {
|
|
|
773
773
|
"twitter.description": { attr: "name", value: "twitter:description" },
|
|
774
774
|
"twitter.site": { attr: "name", value: "twitter:site" },
|
|
775
775
|
"twitter.creator": { attr: "name", value: "twitter:creator" }
|
|
776
|
-
},
|
|
776
|
+
}, ps = (e) => {
|
|
777
777
|
const t = [];
|
|
778
778
|
let n = 0;
|
|
779
779
|
const r = (i) => t.push(i);
|
|
780
|
-
return e.title && typeof e.title == "string" && r(/* @__PURE__ */ a("title", { children: e.title }, `title-${n++}`)), Object.entries(
|
|
780
|
+
return e.title && typeof e.title == "string" && r(/* @__PURE__ */ a("title", { children: e.title }, `title-${n++}`)), Object.entries(gs).forEach(([i, c]) => {
|
|
781
781
|
const d = i.split(".").reduce((l, u) => l?.[u], e);
|
|
782
782
|
d && r(
|
|
783
783
|
/* @__PURE__ */ a(
|
|
@@ -917,7 +917,7 @@ const pn = () => {
|
|
|
917
917
|
i
|
|
918
918
|
);
|
|
919
919
|
}) });
|
|
920
|
-
},
|
|
920
|
+
}, As = (e) => {
|
|
921
921
|
const t = e.banners.find((o) => o.key === e.name);
|
|
922
922
|
if (!t || !t.show) return null;
|
|
923
923
|
const r = fa(t.value || "", e.replaces).split(/(<script[\s\S]*?<\/script\s*>)/gi);
|
|
@@ -958,22 +958,22 @@ function y9(e) {
|
|
|
958
958
|
const t = e.length;
|
|
959
959
|
return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
|
|
960
960
|
}
|
|
961
|
-
const
|
|
961
|
+
const ws = () => {
|
|
962
962
|
const { PUBLIC_ASSETS_URL: e } = J();
|
|
963
963
|
return e && e !== "false" && /* @__PURE__ */ a("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" });
|
|
964
|
-
}, { PUBLIC_ASSETS_URL: qn } = J(),
|
|
964
|
+
}, { PUBLIC_ASSETS_URL: qn } = J(), ys = qn && qn !== "false" ? qn : "", Pa = ({ images: e }) => /* @__PURE__ */ a(K, { children: e.map(
|
|
965
965
|
(t, n) => t.href !== "" && /* @__PURE__ */ a(
|
|
966
966
|
"link",
|
|
967
967
|
{
|
|
968
968
|
rel: "preload",
|
|
969
|
-
href:
|
|
969
|
+
href: ys + t.href,
|
|
970
970
|
media: t.media ?? "",
|
|
971
971
|
as: "image",
|
|
972
972
|
fetchPriority: t.fetchPriority ?? "high"
|
|
973
973
|
},
|
|
974
974
|
n
|
|
975
975
|
)
|
|
976
|
-
) }),
|
|
976
|
+
) }), vs = (e, t) => {
|
|
977
977
|
if (!e) return {};
|
|
978
978
|
const { PUBLIC_API_FRONT: n } = J();
|
|
979
979
|
return {
|
|
@@ -1043,7 +1043,7 @@ function b9(e) {
|
|
|
1043
1043
|
vf: (d) => `/videos/video-flash/${Se(s).format("YYYY/MM/DD")}/${t[0]}.${d}`
|
|
1044
1044
|
}[o]?.(i) ?? "", op: o };
|
|
1045
1045
|
}
|
|
1046
|
-
const
|
|
1046
|
+
const bs = (e, t) => {
|
|
1047
1047
|
const n = e.name.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/ñ/g, "n").replace(/Ñ/g, "n").replace(/[^\w\s]/gi, "").replaceAll(" ", "-").toLowerCase();
|
|
1048
1048
|
return t.tema ? `/${t.tema}/${n}-t${e.id}` : `/${n}-t${e.id}`;
|
|
1049
1049
|
}, C9 = (e) => {
|
|
@@ -1114,7 +1114,7 @@ const Qr = (e, t) => {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
);
|
|
1116
1116
|
};
|
|
1117
|
-
function
|
|
1117
|
+
function Qr(e) {
|
|
1118
1118
|
const { PUBLIC_ASSETS_URL: t } = J();
|
|
1119
1119
|
if (!t || t === "false") return e;
|
|
1120
1120
|
const n = t.replace(/\/+$/, ""), r = /https?:\/\/[^/\s]+\/(arte|__export)\//g;
|
|
@@ -1153,7 +1153,7 @@ const Ts = async ({
|
|
|
1153
1153
|
{
|
|
1154
1154
|
type: "application/ld+json",
|
|
1155
1155
|
dangerouslySetInnerHTML: {
|
|
1156
|
-
__html:
|
|
1156
|
+
__html: Qr(JSON.stringify(c))
|
|
1157
1157
|
}
|
|
1158
1158
|
},
|
|
1159
1159
|
d
|
|
@@ -1213,7 +1213,7 @@ const Ts = async ({
|
|
|
1213
1213
|
"script",
|
|
1214
1214
|
{
|
|
1215
1215
|
type: "application/ld+json",
|
|
1216
|
-
dangerouslySetInnerHTML: { __html:
|
|
1216
|
+
dangerouslySetInnerHTML: { __html: Qr(JSON.stringify(s)) }
|
|
1217
1217
|
}
|
|
1218
1218
|
) : void 0;
|
|
1219
1219
|
} catch (r) {
|
|
@@ -1248,7 +1248,7 @@ const Ts = async ({
|
|
|
1248
1248
|
href: `https://fonts.googleapis.com/css2?${e.googleFontFamily}&display=swap`
|
|
1249
1249
|
}
|
|
1250
1250
|
) });
|
|
1251
|
-
},
|
|
1251
|
+
}, Gr = {
|
|
1252
1252
|
404: () => {
|
|
1253
1253
|
},
|
|
1254
1254
|
home: () => ({
|
|
@@ -1267,7 +1267,7 @@ const Ts = async ({
|
|
|
1267
1267
|
"[author_replace]": e.currentNew?.authors[0]?.name ?? "",
|
|
1268
1268
|
"[section_replace]": e.currentNew?.info?.section?.slug ?? "",
|
|
1269
1269
|
"[tag_replace]": Mr(e.currentNew?.keywords),
|
|
1270
|
-
"[url_replace]":
|
|
1270
|
+
"[url_replace]": fs(e.internalPath ?? "")
|
|
1271
1271
|
}),
|
|
1272
1272
|
seccion: (e) => ({
|
|
1273
1273
|
"[author_replace]": "",
|
|
@@ -1337,7 +1337,7 @@ const Ts = async ({
|
|
|
1337
1337
|
404: () => "404",
|
|
1338
1338
|
home: () => "home",
|
|
1339
1339
|
slug: (e) => e.pathname.replace("/", ""),
|
|
1340
|
-
news: (e) =>
|
|
1340
|
+
news: (e) => ms(e.pathname)?.slug,
|
|
1341
1341
|
seccion: (e) => e.pathname.split("/seccion/")[1] ?? "",
|
|
1342
1342
|
tema: (e) => e.pathname.split("/tema/")[1] ?? "",
|
|
1343
1343
|
pages: (e) => e.pathname.split("/pages/")[1] ?? "",
|
|
@@ -1485,28 +1485,28 @@ class N9 {
|
|
|
1485
1485
|
};
|
|
1486
1486
|
}
|
|
1487
1487
|
}
|
|
1488
|
-
function
|
|
1488
|
+
function zr(e, t) {
|
|
1489
1489
|
return function() {
|
|
1490
1490
|
return e.apply(t, arguments);
|
|
1491
1491
|
};
|
|
1492
1492
|
}
|
|
1493
|
-
const { toString: Bs } = Object.prototype, { getPrototypeOf: pa } = Object, { iterator: Nn, toStringTag:
|
|
1493
|
+
const { toString: Bs } = Object.prototype, { getPrototypeOf: pa } = Object, { iterator: Nn, toStringTag: Hr } = Symbol, Sn = /* @__PURE__ */ ((e) => (t) => {
|
|
1494
1494
|
const n = Bs.call(t);
|
|
1495
1495
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
1496
1496
|
})(/* @__PURE__ */ Object.create(null)), Be = (e) => (e = e.toLowerCase(), (t) => Sn(t) === e), En = (e) => (t) => typeof t === e, { isArray: _t } = Array, yt = En("undefined");
|
|
1497
1497
|
function jt(e) {
|
|
1498
1498
|
return e !== null && !yt(e) && e.constructor !== null && !yt(e.constructor) && Ce(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
1499
1499
|
}
|
|
1500
|
-
const
|
|
1500
|
+
const Vr = Be("ArrayBuffer");
|
|
1501
1501
|
function Os(e) {
|
|
1502
1502
|
let t;
|
|
1503
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
1503
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Vr(e.buffer), t;
|
|
1504
1504
|
}
|
|
1505
|
-
const Ps = En("string"), Ce = En("function"),
|
|
1505
|
+
const Ps = En("string"), Ce = En("function"), Fr = En("number"), Qt = (e) => e !== null && typeof e == "object", Ds = (e) => e === !0 || e === !1, un = (e) => {
|
|
1506
1506
|
if (Sn(e) !== "object")
|
|
1507
1507
|
return !1;
|
|
1508
1508
|
const t = pa(e);
|
|
1509
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(
|
|
1509
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Hr in e) && !(Nn in e);
|
|
1510
1510
|
}, Ms = (e) => {
|
|
1511
1511
|
if (!Qt(e) || jt(e))
|
|
1512
1512
|
return !1;
|
|
@@ -1536,7 +1536,7 @@ function Gt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
1536
1536
|
c = s[r], t.call(null, e[c], c, e);
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1539
|
+
function Wr(e, t) {
|
|
1540
1540
|
if (jt(e))
|
|
1541
1541
|
return null;
|
|
1542
1542
|
t = t.toLowerCase();
|
|
@@ -1547,10 +1547,10 @@ function $r(e, t) {
|
|
|
1547
1547
|
return o;
|
|
1548
1548
|
return null;
|
|
1549
1549
|
}
|
|
1550
|
-
const ct = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
1550
|
+
const ct = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, $r = (e) => !yt(e) && e !== ct;
|
|
1551
1551
|
function ta() {
|
|
1552
|
-
const { caseless: e, skipUndefined: t } =
|
|
1553
|
-
const i = e &&
|
|
1552
|
+
const { caseless: e, skipUndefined: t } = $r(this) && this || {}, n = {}, r = (o, s) => {
|
|
1553
|
+
const i = e && Wr(n, s) || s;
|
|
1554
1554
|
un(n[i]) && un(o) ? n[i] = ta(n[i], o) : un(o) ? n[i] = ta({}, o) : _t(o) ? n[i] = o.slice() : (!t || !yt(o)) && (n[i] = o);
|
|
1555
1555
|
};
|
|
1556
1556
|
for (let o = 0, s = arguments.length; o < s; o++)
|
|
@@ -1558,7 +1558,7 @@ function ta() {
|
|
|
1558
1558
|
return n;
|
|
1559
1559
|
}
|
|
1560
1560
|
const Zs = (e, t, n, { allOwnKeys: r } = {}) => (Gt(t, (o, s) => {
|
|
1561
|
-
n && Ce(o) ? e[s] =
|
|
1561
|
+
n && Ce(o) ? e[s] = zr(o, n) : e[s] = o;
|
|
1562
1562
|
}, { allOwnKeys: r }), e), Xs = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), ei = (e, t, n, r) => {
|
|
1563
1563
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
1564
1564
|
value: t.prototype
|
|
@@ -1581,7 +1581,7 @@ const Zs = (e, t, n, { allOwnKeys: r } = {}) => (Gt(t, (o, s) => {
|
|
|
1581
1581
|
if (!e) return null;
|
|
1582
1582
|
if (_t(e)) return e;
|
|
1583
1583
|
let t = e.length;
|
|
1584
|
-
if (!
|
|
1584
|
+
if (!Fr(t)) return null;
|
|
1585
1585
|
const n = new Array(t);
|
|
1586
1586
|
for (; t-- > 0; )
|
|
1587
1587
|
n[t] = e[t];
|
|
@@ -1604,14 +1604,14 @@ const Zs = (e, t, n, { allOwnKeys: r } = {}) => (Gt(t, (o, s) => {
|
|
|
1604
1604
|
function(n, r, o) {
|
|
1605
1605
|
return r.toUpperCase() + o;
|
|
1606
1606
|
}
|
|
1607
|
-
), Da = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), li = Be("RegExp"),
|
|
1607
|
+
), Da = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), li = Be("RegExp"), Yr = (e, t) => {
|
|
1608
1608
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
1609
1609
|
Gt(n, (o, s) => {
|
|
1610
1610
|
let i;
|
|
1611
1611
|
(i = t(o, s, e)) !== !1 && (r[s] = i || o);
|
|
1612
1612
|
}), Object.defineProperties(e, r);
|
|
1613
1613
|
}, di = (e) => {
|
|
1614
|
-
|
|
1614
|
+
Yr(e, (t, n) => {
|
|
1615
1615
|
if (Ce(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
1616
1616
|
return !1;
|
|
1617
1617
|
const r = e[n];
|
|
@@ -1635,7 +1635,7 @@ const Zs = (e, t, n, { allOwnKeys: r } = {}) => (Gt(t, (o, s) => {
|
|
|
1635
1635
|
}, hi = () => {
|
|
1636
1636
|
}, mi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
1637
1637
|
function fi(e) {
|
|
1638
|
-
return !!(e && Ce(e.append) && e[
|
|
1638
|
+
return !!(e && Ce(e.append) && e[Hr] === "FormData" && e[Nn]);
|
|
1639
1639
|
}
|
|
1640
1640
|
const gi = (e) => {
|
|
1641
1641
|
const t = new Array(10), n = (r, o) => {
|
|
@@ -1656,21 +1656,21 @@ const gi = (e) => {
|
|
|
1656
1656
|
return r;
|
|
1657
1657
|
};
|
|
1658
1658
|
return n(e, 0);
|
|
1659
|
-
}, pi = Be("AsyncFunction"), Ai = (e) => e && (Qt(e) || Ce(e)) && Ce(e.then) && Ce(e.catch),
|
|
1659
|
+
}, pi = Be("AsyncFunction"), Ai = (e) => e && (Qt(e) || Ce(e)) && Ce(e.then) && Ce(e.catch), Kr = ((e, t) => e ? setImmediate : t ? ((n, r) => (ct.addEventListener("message", ({ source: o, data: s }) => {
|
|
1660
1660
|
o === ct && s === n && r.length && r.shift()();
|
|
1661
1661
|
}, !1), (o) => {
|
|
1662
1662
|
r.push(o), ct.postMessage(n, "*");
|
|
1663
1663
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
1664
1664
|
typeof setImmediate == "function",
|
|
1665
1665
|
Ce(ct.postMessage)
|
|
1666
|
-
), wi = typeof queueMicrotask < "u" ? queueMicrotask.bind(ct) : typeof process < "u" && process.nextTick ||
|
|
1666
|
+
), wi = typeof queueMicrotask < "u" ? queueMicrotask.bind(ct) : typeof process < "u" && process.nextTick || Kr, yi = (e) => e != null && Ce(e[Nn]), b = {
|
|
1667
1667
|
isArray: _t,
|
|
1668
|
-
isArrayBuffer:
|
|
1668
|
+
isArrayBuffer: Vr,
|
|
1669
1669
|
isBuffer: jt,
|
|
1670
1670
|
isFormData: Vs,
|
|
1671
1671
|
isArrayBufferView: Os,
|
|
1672
1672
|
isString: Ps,
|
|
1673
|
-
isNumber:
|
|
1673
|
+
isNumber: Fr,
|
|
1674
1674
|
isBoolean: Ds,
|
|
1675
1675
|
isObject: Qt,
|
|
1676
1676
|
isPlainObject: un,
|
|
@@ -1706,20 +1706,20 @@ const gi = (e) => {
|
|
|
1706
1706
|
hasOwnProperty: Da,
|
|
1707
1707
|
hasOwnProp: Da,
|
|
1708
1708
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
1709
|
-
reduceDescriptors:
|
|
1709
|
+
reduceDescriptors: Yr,
|
|
1710
1710
|
freezeMethods: di,
|
|
1711
1711
|
toObjectSet: ui,
|
|
1712
1712
|
toCamelCase: ci,
|
|
1713
1713
|
noop: hi,
|
|
1714
1714
|
toFiniteNumber: mi,
|
|
1715
|
-
findKey:
|
|
1715
|
+
findKey: Wr,
|
|
1716
1716
|
global: ct,
|
|
1717
|
-
isContextDefined:
|
|
1717
|
+
isContextDefined: $r,
|
|
1718
1718
|
isSpecCompliantForm: fi,
|
|
1719
1719
|
toJSONObject: gi,
|
|
1720
1720
|
isAsyncFn: pi,
|
|
1721
1721
|
isThenable: Ai,
|
|
1722
|
-
setImmediate:
|
|
1722
|
+
setImmediate: Kr,
|
|
1723
1723
|
asap: wi,
|
|
1724
1724
|
isIterable: yi
|
|
1725
1725
|
};
|
|
@@ -1747,7 +1747,7 @@ b.inherits(W, Error, {
|
|
|
1747
1747
|
};
|
|
1748
1748
|
}
|
|
1749
1749
|
});
|
|
1750
|
-
const
|
|
1750
|
+
const Jr = W.prototype, Zr = {};
|
|
1751
1751
|
[
|
|
1752
1752
|
"ERR_BAD_OPTION_VALUE",
|
|
1753
1753
|
"ERR_BAD_OPTION",
|
|
@@ -1763,12 +1763,12 @@ const Zr = W.prototype, Xr = {};
|
|
|
1763
1763
|
"ERR_INVALID_URL"
|
|
1764
1764
|
// eslint-disable-next-line func-names
|
|
1765
1765
|
].forEach((e) => {
|
|
1766
|
-
|
|
1766
|
+
Zr[e] = { value: e };
|
|
1767
1767
|
});
|
|
1768
|
-
Object.defineProperties(W,
|
|
1769
|
-
Object.defineProperty(
|
|
1768
|
+
Object.defineProperties(W, Zr);
|
|
1769
|
+
Object.defineProperty(Jr, "isAxiosError", { value: !0 });
|
|
1770
1770
|
W.from = (e, t, n, r, o, s) => {
|
|
1771
|
-
const i = Object.create(
|
|
1771
|
+
const i = Object.create(Jr);
|
|
1772
1772
|
b.toFlatObject(e, i, function(u) {
|
|
1773
1773
|
return u !== Error.prototype;
|
|
1774
1774
|
}, (l) => l !== "isAxiosError");
|
|
@@ -1779,12 +1779,12 @@ const vi = null;
|
|
|
1779
1779
|
function na(e) {
|
|
1780
1780
|
return b.isPlainObject(e) || b.isArray(e);
|
|
1781
1781
|
}
|
|
1782
|
-
function
|
|
1782
|
+
function Xr(e) {
|
|
1783
1783
|
return b.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
1784
1784
|
}
|
|
1785
1785
|
function Ma(e, t, n) {
|
|
1786
1786
|
return e ? e.concat(t).map(function(o, s) {
|
|
1787
|
-
return o =
|
|
1787
|
+
return o = Xr(o), !n && s ? "[" + o + "]" : o;
|
|
1788
1788
|
}).join(n ? "." : "") : t;
|
|
1789
1789
|
}
|
|
1790
1790
|
function bi(e) {
|
|
@@ -1822,7 +1822,7 @@ function xn(e, t, n) {
|
|
|
1822
1822
|
if (b.endsWith(p, "{}"))
|
|
1823
1823
|
p = r ? p : p.slice(0, -2), g = JSON.stringify(g);
|
|
1824
1824
|
else if (b.isArray(g) && bi(g) || (b.isFileList(g) || b.endsWith(p, "[]")) && (_ = b.toArray(g)))
|
|
1825
|
-
return p =
|
|
1825
|
+
return p = Xr(p), _.forEach(function(N, x) {
|
|
1826
1826
|
!(b.isUndefined(N) || N === null) && t.append(
|
|
1827
1827
|
// eslint-disable-next-line no-nested-ternary
|
|
1828
1828
|
i === !0 ? Ma([p], x, s) : i === null ? p : p + "[]",
|
|
@@ -1873,11 +1873,11 @@ function ja(e) {
|
|
|
1873
1873
|
function Aa(e, t) {
|
|
1874
1874
|
this._pairs = [], e && xn(e, this, t);
|
|
1875
1875
|
}
|
|
1876
|
-
const
|
|
1877
|
-
|
|
1876
|
+
const eo = Aa.prototype;
|
|
1877
|
+
eo.append = function(t, n) {
|
|
1878
1878
|
this._pairs.push([t, n]);
|
|
1879
1879
|
};
|
|
1880
|
-
|
|
1880
|
+
eo.toString = function(t) {
|
|
1881
1881
|
const n = t ? function(r) {
|
|
1882
1882
|
return t.call(this, r, ja);
|
|
1883
1883
|
} : ja;
|
|
@@ -1888,7 +1888,7 @@ to.toString = function(t) {
|
|
|
1888
1888
|
function _i(e) {
|
|
1889
1889
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
1890
1890
|
}
|
|
1891
|
-
function
|
|
1891
|
+
function to(e, t, n) {
|
|
1892
1892
|
if (!t)
|
|
1893
1893
|
return e;
|
|
1894
1894
|
const r = n && n.encode || _i;
|
|
@@ -1957,7 +1957,7 @@ class Qa {
|
|
|
1957
1957
|
});
|
|
1958
1958
|
}
|
|
1959
1959
|
}
|
|
1960
|
-
const
|
|
1960
|
+
const no = {
|
|
1961
1961
|
silentJSONParsing: !0,
|
|
1962
1962
|
forcedJSONParsing: !0,
|
|
1963
1963
|
clarifyTimeoutError: !1
|
|
@@ -2001,7 +2001,7 @@ function Li(e) {
|
|
|
2001
2001
|
s = n[r], t[s] = e[s];
|
|
2002
2002
|
return t;
|
|
2003
2003
|
}
|
|
2004
|
-
function
|
|
2004
|
+
function ao(e) {
|
|
2005
2005
|
function t(n, r, o, s) {
|
|
2006
2006
|
let i = n[s++];
|
|
2007
2007
|
if (i === "__proto__") return !0;
|
|
@@ -2027,12 +2027,12 @@ function Bi(e, t, n) {
|
|
|
2027
2027
|
return (n || JSON.stringify)(e);
|
|
2028
2028
|
}
|
|
2029
2029
|
const zt = {
|
|
2030
|
-
transitional:
|
|
2030
|
+
transitional: no,
|
|
2031
2031
|
adapter: ["xhr", "http", "fetch"],
|
|
2032
2032
|
transformRequest: [function(t, n) {
|
|
2033
2033
|
const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, s = b.isObject(t);
|
|
2034
2034
|
if (s && b.isHTMLForm(t) && (t = new FormData(t)), b.isFormData(t))
|
|
2035
|
-
return o ? JSON.stringify(
|
|
2035
|
+
return o ? JSON.stringify(ao(t)) : t;
|
|
2036
2036
|
if (b.isArrayBuffer(t) || b.isBuffer(t) || b.isStream(t) || b.isFile(t) || b.isBlob(t) || b.isReadableStream(t))
|
|
2037
2037
|
return t;
|
|
2038
2038
|
if (b.isArrayBufferView(t))
|
|
@@ -2303,7 +2303,7 @@ function Ln(e, t) {
|
|
|
2303
2303
|
s = c.call(n, s, o.normalize(), t ? t.status : void 0);
|
|
2304
2304
|
}), o.normalize(), s;
|
|
2305
2305
|
}
|
|
2306
|
-
function
|
|
2306
|
+
function ro(e) {
|
|
2307
2307
|
return !!(e && e.__CANCEL__);
|
|
2308
2308
|
}
|
|
2309
2309
|
function Nt(e, t, n) {
|
|
@@ -2312,7 +2312,7 @@ function Nt(e, t, n) {
|
|
|
2312
2312
|
b.inherits(Nt, W, {
|
|
2313
2313
|
__CANCEL__: !0
|
|
2314
2314
|
});
|
|
2315
|
-
function
|
|
2315
|
+
function oo(e, t, n) {
|
|
2316
2316
|
const r = n.config.validateStatus;
|
|
2317
2317
|
!n.status || !r || r(n.status) ? e(n) : t(new W(
|
|
2318
2318
|
"Request failed with status code " + n.status,
|
|
@@ -2418,7 +2418,7 @@ function Wi(e) {
|
|
|
2418
2418
|
function $i(e, t) {
|
|
2419
2419
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
2420
2420
|
}
|
|
2421
|
-
function
|
|
2421
|
+
function so(e, t, n) {
|
|
2422
2422
|
let r = !Wi(t);
|
|
2423
2423
|
return e && (r || n == !1) ? $i(e, t) : t;
|
|
2424
2424
|
}
|
|
@@ -2487,10 +2487,10 @@ function ut(e, t) {
|
|
|
2487
2487
|
b.isUndefined(f) && h !== c || (n[u] = f);
|
|
2488
2488
|
}), n;
|
|
2489
2489
|
}
|
|
2490
|
-
const
|
|
2490
|
+
const io = (e) => {
|
|
2491
2491
|
const t = ut({}, e);
|
|
2492
2492
|
let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: s, headers: i, auth: c } = t;
|
|
2493
|
-
if (t.headers = i = _e.from(i), t.url =
|
|
2493
|
+
if (t.headers = i = _e.from(i), t.url = to(so(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && i.set(
|
|
2494
2494
|
"Authorization",
|
|
2495
2495
|
"Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
|
|
2496
2496
|
), b.isFormData(n)) {
|
|
@@ -2510,7 +2510,7 @@ const co = (e) => {
|
|
|
2510
2510
|
return t;
|
|
2511
2511
|
}, Yi = typeof XMLHttpRequest < "u", Ki = Yi && function(e) {
|
|
2512
2512
|
return new Promise(function(n, r) {
|
|
2513
|
-
const o =
|
|
2513
|
+
const o = io(e);
|
|
2514
2514
|
let s = o.data;
|
|
2515
2515
|
const i = _e.from(o.headers).normalize();
|
|
2516
2516
|
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = o, u, h, f, w, g;
|
|
@@ -2532,7 +2532,7 @@ const co = (e) => {
|
|
|
2532
2532
|
config: e,
|
|
2533
2533
|
request: A
|
|
2534
2534
|
};
|
|
2535
|
-
|
|
2535
|
+
oo(function(R) {
|
|
2536
2536
|
n(R), p();
|
|
2537
2537
|
}, function(R) {
|
|
2538
2538
|
r(R), p();
|
|
@@ -2547,7 +2547,7 @@ const co = (e) => {
|
|
|
2547
2547
|
B.event = x || null, r(B), A = null;
|
|
2548
2548
|
}, A.ontimeout = function() {
|
|
2549
2549
|
let x = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
2550
|
-
const v = o.transitional ||
|
|
2550
|
+
const v = o.transitional || no;
|
|
2551
2551
|
o.timeoutErrorMessage && (x = o.timeoutErrorMessage), r(new W(
|
|
2552
2552
|
x,
|
|
2553
2553
|
v.clarifyTimeoutError ? W.ETIMEDOUT : W.ECONNABORTED,
|
|
@@ -2718,7 +2718,7 @@ const co = (e) => {
|
|
|
2718
2718
|
headers: Y,
|
|
2719
2719
|
withCredentials: te = "same-origin",
|
|
2720
2720
|
fetchOptions: Q
|
|
2721
|
-
} =
|
|
2721
|
+
} = io(g), O = t || fetch;
|
|
2722
2722
|
R = R ? (R + "").toLowerCase() : "text";
|
|
2723
2723
|
let ee = Ji([S, N && N.toAbortSignal()], x), ce = null;
|
|
2724
2724
|
const M = ee && ee.unsubscribe && (() => {
|
|
@@ -2741,7 +2741,7 @@ const co = (e) => {
|
|
|
2741
2741
|
}
|
|
2742
2742
|
}
|
|
2743
2743
|
b.isString(te) || (te = te ? "include" : "omit");
|
|
2744
|
-
const E = s && "credentials" in n.prototype,
|
|
2744
|
+
const E = s && "credentials" in n.prototype, P = {
|
|
2745
2745
|
...Q,
|
|
2746
2746
|
signal: ee,
|
|
2747
2747
|
method: A.toUpperCase(),
|
|
@@ -2750,8 +2750,8 @@ const co = (e) => {
|
|
|
2750
2750
|
duplex: "half",
|
|
2751
2751
|
credentials: E ? te : void 0
|
|
2752
2752
|
};
|
|
2753
|
-
ce = s && new n(p,
|
|
2754
|
-
let T = await (s ?
|
|
2753
|
+
ce = s && new n(p, P);
|
|
2754
|
+
let T = await (s ? O(ce, Q) : O(p, P));
|
|
2755
2755
|
const z = u && (R === "stream" || R === "response");
|
|
2756
2756
|
if (u && (v || z && M)) {
|
|
2757
2757
|
const C = {};
|
|
@@ -2772,7 +2772,7 @@ const co = (e) => {
|
|
|
2772
2772
|
R = R || "text";
|
|
2773
2773
|
let y = await h[b.findKey(h, R) || "text"](T, g);
|
|
2774
2774
|
return !z && M && M(), await new Promise((C, k) => {
|
|
2775
|
-
|
|
2775
|
+
oo(C, k, {
|
|
2776
2776
|
data: y,
|
|
2777
2777
|
headers: _e.from(T.headers),
|
|
2778
2778
|
status: T.status,
|
|
@@ -2790,7 +2790,7 @@ const co = (e) => {
|
|
|
2790
2790
|
) : W.from(E, E && E.code, g, ce);
|
|
2791
2791
|
}
|
|
2792
2792
|
};
|
|
2793
|
-
}, ac = /* @__PURE__ */ new Map(),
|
|
2793
|
+
}, ac = /* @__PURE__ */ new Map(), co = (e) => {
|
|
2794
2794
|
let t = e && e.env || {};
|
|
2795
2795
|
const { fetch: n, Request: r, Response: o } = t, s = [
|
|
2796
2796
|
r,
|
|
@@ -2802,12 +2802,12 @@ const co = (e) => {
|
|
|
2802
2802
|
d = s[c], l = u.get(d), l === void 0 && u.set(d, l = c ? /* @__PURE__ */ new Map() : nc(t)), u = l;
|
|
2803
2803
|
return l;
|
|
2804
2804
|
};
|
|
2805
|
-
|
|
2805
|
+
co();
|
|
2806
2806
|
const ya = {
|
|
2807
2807
|
http: vi,
|
|
2808
2808
|
xhr: Ki,
|
|
2809
2809
|
fetch: {
|
|
2810
|
-
get:
|
|
2810
|
+
get: co
|
|
2811
2811
|
}
|
|
2812
2812
|
};
|
|
2813
2813
|
b.forEach(ya, (e, t) => {
|
|
@@ -2848,7 +2848,7 @@ function oc(e, t) {
|
|
|
2848
2848
|
}
|
|
2849
2849
|
return o;
|
|
2850
2850
|
}
|
|
2851
|
-
const
|
|
2851
|
+
const lo = {
|
|
2852
2852
|
/**
|
|
2853
2853
|
* Resolve an adapter from a list of adapter names or functions.
|
|
2854
2854
|
* @type {Function}
|
|
@@ -2868,21 +2868,21 @@ function Za(e) {
|
|
|
2868
2868
|
return Bn(e), e.headers = _e.from(e.headers), e.data = Ln.call(
|
|
2869
2869
|
e,
|
|
2870
2870
|
e.transformRequest
|
|
2871
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
2871
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), lo.getAdapter(e.adapter || zt.adapter, e)(e).then(function(r) {
|
|
2872
2872
|
return Bn(e), r.data = Ln.call(
|
|
2873
2873
|
e,
|
|
2874
2874
|
e.transformResponse,
|
|
2875
2875
|
r
|
|
2876
2876
|
), r.headers = _e.from(r.headers), r;
|
|
2877
2877
|
}, function(r) {
|
|
2878
|
-
return
|
|
2878
|
+
return ro(r) || (Bn(e), r && r.response && (r.response.data = Ln.call(
|
|
2879
2879
|
e,
|
|
2880
2880
|
e.transformResponse,
|
|
2881
2881
|
r.response
|
|
2882
2882
|
), r.response.headers = _e.from(r.response.headers))), Promise.reject(r);
|
|
2883
2883
|
});
|
|
2884
2884
|
}
|
|
2885
|
-
const
|
|
2885
|
+
const uo = "1.13.2", Tn = {};
|
|
2886
2886
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
2887
2887
|
Tn[e] = function(r) {
|
|
2888
2888
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -2891,7 +2891,7 @@ const ho = "1.13.2", Tn = {};
|
|
|
2891
2891
|
const Xa = {};
|
|
2892
2892
|
Tn.transitional = function(t, n, r) {
|
|
2893
2893
|
function o(s, i) {
|
|
2894
|
-
return "[Axios v" +
|
|
2894
|
+
return "[Axios v" + uo + "] Transitional option '" + s + "'" + i + (r ? ". " + r : "");
|
|
2895
2895
|
}
|
|
2896
2896
|
return (s, i, c) => {
|
|
2897
2897
|
if (t === !1)
|
|
@@ -3027,8 +3027,8 @@ let lt = class {
|
|
|
3027
3027
|
}
|
|
3028
3028
|
getUri(t) {
|
|
3029
3029
|
t = ut(this.defaults, t);
|
|
3030
|
-
const n =
|
|
3031
|
-
return
|
|
3030
|
+
const n = so(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
3031
|
+
return to(n, t.params, t.paramsSerializer);
|
|
3032
3032
|
}
|
|
3033
3033
|
};
|
|
3034
3034
|
b.forEach(["delete", "get", "head", "options"], function(t) {
|
|
@@ -3055,7 +3055,7 @@ b.forEach(["post", "put", "patch"], function(t) {
|
|
|
3055
3055
|
}
|
|
3056
3056
|
lt.prototype[t] = n(), lt.prototype[t + "Form"] = n(!0);
|
|
3057
3057
|
});
|
|
3058
|
-
let ic = class
|
|
3058
|
+
let ic = class ho {
|
|
3059
3059
|
constructor(t) {
|
|
3060
3060
|
if (typeof t != "function")
|
|
3061
3061
|
throw new TypeError("executor must be a function.");
|
|
@@ -3121,7 +3121,7 @@ let ic = class mo {
|
|
|
3121
3121
|
static source() {
|
|
3122
3122
|
let t;
|
|
3123
3123
|
return {
|
|
3124
|
-
token: new
|
|
3124
|
+
token: new ho(function(o) {
|
|
3125
3125
|
t = o;
|
|
3126
3126
|
}),
|
|
3127
3127
|
cancel: t
|
|
@@ -3210,32 +3210,32 @@ const ra = {
|
|
|
3210
3210
|
Object.entries(ra).forEach(([e, t]) => {
|
|
3211
3211
|
ra[t] = e;
|
|
3212
3212
|
});
|
|
3213
|
-
function
|
|
3214
|
-
const t = new lt(e), n =
|
|
3213
|
+
function mo(e) {
|
|
3214
|
+
const t = new lt(e), n = zr(lt.prototype.request, t);
|
|
3215
3215
|
return b.extend(n, lt.prototype, t, { allOwnKeys: !0 }), b.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
3216
|
-
return
|
|
3216
|
+
return mo(ut(e, o));
|
|
3217
3217
|
}, n;
|
|
3218
3218
|
}
|
|
3219
|
-
const
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3219
|
+
const re = mo(zt);
|
|
3220
|
+
re.Axios = lt;
|
|
3221
|
+
re.CanceledError = Nt;
|
|
3222
|
+
re.CancelToken = ic;
|
|
3223
|
+
re.isCancel = ro;
|
|
3224
|
+
re.VERSION = uo;
|
|
3225
|
+
re.toFormData = xn;
|
|
3226
|
+
re.AxiosError = W;
|
|
3227
|
+
re.Cancel = re.CanceledError;
|
|
3228
|
+
re.all = function(t) {
|
|
3229
3229
|
return Promise.all(t);
|
|
3230
3230
|
};
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3231
|
+
re.spread = cc;
|
|
3232
|
+
re.isAxiosError = lc;
|
|
3233
|
+
re.mergeConfig = ut;
|
|
3234
|
+
re.AxiosHeaders = _e;
|
|
3235
|
+
re.formToJSON = (e) => ao(b.isHTMLForm(e) ? new FormData(e) : e);
|
|
3236
|
+
re.getAdapter = lo.getAdapter;
|
|
3237
|
+
re.HttpStatusCode = ra;
|
|
3238
|
+
re.default = re;
|
|
3239
3239
|
const {
|
|
3240
3240
|
Axios: x9,
|
|
3241
3241
|
AxiosError: T9,
|
|
@@ -3253,7 +3253,7 @@ const {
|
|
|
3253
3253
|
formToJSON: j9,
|
|
3254
3254
|
getAdapter: Q9,
|
|
3255
3255
|
mergeConfig: G9
|
|
3256
|
-
} =
|
|
3256
|
+
} = re;
|
|
3257
3257
|
class Le {
|
|
3258
3258
|
constructor(t) {
|
|
3259
3259
|
this.props = t, t?.config?.configVersion && (this.configVersion = t.config.configVersion);
|
|
@@ -3301,7 +3301,7 @@ class Le {
|
|
|
3301
3301
|
getPages = (t) => this.props?.axiosApi.get("/config/pages", { params: t }).catch((n) => (console.log(`[/config/pages] Error: ${n.message}`), Promise.reject(n)));
|
|
3302
3302
|
getRankingS3 = async (t, n = {
|
|
3303
3303
|
Referer: "https://goamg.amplifyapp.com/vndomv"
|
|
3304
|
-
}) => !t || t === "" ? { data: [] } : await
|
|
3304
|
+
}) => !t || t === "" ? { data: [] } : await re.get(t, { headers: n }).catch((r) => {
|
|
3305
3305
|
console.log(`[Rankings s3] Error: ${r.message}`);
|
|
3306
3306
|
});
|
|
3307
3307
|
getNews = (t) => this.props?.axiosApi.get("/news", {
|
|
@@ -3400,7 +3400,7 @@ class z9 {
|
|
|
3400
3400
|
issuuApi = "https://api.issuu.com/v2";
|
|
3401
3401
|
api = void 0;
|
|
3402
3402
|
constructor(t) {
|
|
3403
|
-
this.api =
|
|
3403
|
+
this.api = re.create({
|
|
3404
3404
|
baseURL: this.issuuApi,
|
|
3405
3405
|
params: {
|
|
3406
3406
|
state: "PUBLISHED",
|
|
@@ -3451,7 +3451,7 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3451
3451
|
return (() => {
|
|
3452
3452
|
const u = {};
|
|
3453
3453
|
for (let h = 0; h < d.length; h++) {
|
|
3454
|
-
const f =
|
|
3454
|
+
const f = ds(
|
|
3455
3455
|
d[h]
|
|
3456
3456
|
), w = "Home_" + (Math.floor(h / s) + 1) + "_" + (Math.floor(h % s) + 1);
|
|
3457
3457
|
f && (u[w] = { ...f });
|
|
@@ -3459,7 +3459,7 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3459
3459
|
return u;
|
|
3460
3460
|
})();
|
|
3461
3461
|
}, uc = (e) => {
|
|
3462
|
-
const t =
|
|
3462
|
+
const t = ls(e);
|
|
3463
3463
|
return t && t.data ? t.data : t;
|
|
3464
3464
|
}, V9 = async (e) => {
|
|
3465
3465
|
const t = await Promise.allSettled(
|
|
@@ -3505,7 +3505,7 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3505
3505
|
news: (e) => {
|
|
3506
3506
|
const { meta: t, config: n, currentNew: r } = e;
|
|
3507
3507
|
if (!r) return ve(t);
|
|
3508
|
-
const o =
|
|
3508
|
+
const o = hs(r, n);
|
|
3509
3509
|
return o ? { ...t, ...o } : ve(t);
|
|
3510
3510
|
},
|
|
3511
3511
|
seccion: async (e) => {
|
|
@@ -3622,7 +3622,7 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3622
3622
|
});
|
|
3623
3623
|
return s?.data?.data?.length ? {
|
|
3624
3624
|
...t,
|
|
3625
|
-
...
|
|
3625
|
+
...vs(s.data.data[0], n) ?? {}
|
|
3626
3626
|
} : ve(t);
|
|
3627
3627
|
} catch (s) {
|
|
3628
3628
|
return console.error("metadata (video) error:", s), ve(t);
|
|
@@ -3799,7 +3799,7 @@ async function F9({
|
|
|
3799
3799
|
slug: i,
|
|
3800
3800
|
texts: c,
|
|
3801
3801
|
query: d
|
|
3802
|
-
}), v =
|
|
3802
|
+
}), v = ps(x), B = S || Gr[o]({
|
|
3803
3803
|
pathname: s,
|
|
3804
3804
|
slug: i,
|
|
3805
3805
|
config: f,
|
|
@@ -3810,7 +3810,7 @@ async function F9({
|
|
|
3810
3810
|
/* @__PURE__ */ a("meta", { charSet: "utf-8" }),
|
|
3811
3811
|
/* @__PURE__ */ a("meta", { name: "viewport", content: "width=device-width" }),
|
|
3812
3812
|
v,
|
|
3813
|
-
/* @__PURE__ */ a(
|
|
3813
|
+
/* @__PURE__ */ a(ws, {}),
|
|
3814
3814
|
t.ampConfig && f.ampOption && t.ampConfig_slugIsValid && /* @__PURE__ */ a("link", { rel: "amphtml", href: f.siteUrl + "/amp" + s }),
|
|
3815
3815
|
t.preloadImages && l && l.preview?.sizes && /* @__PURE__ */ a(
|
|
3816
3816
|
Pa,
|
|
@@ -3889,7 +3889,7 @@ const W9 = ({
|
|
|
3889
3889
|
scriptReplaces: l,
|
|
3890
3890
|
body_custom_elements: u
|
|
3891
3891
|
}) => {
|
|
3892
|
-
const h =
|
|
3892
|
+
const h = Go(c, d), f = Gr[t]({
|
|
3893
3893
|
pathname: r,
|
|
3894
3894
|
slug: o,
|
|
3895
3895
|
config: s,
|
|
@@ -3899,12 +3899,12 @@ const W9 = ({
|
|
|
3899
3899
|
return /* @__PURE__ */ m(K, { children: [
|
|
3900
3900
|
/* @__PURE__ */ a(jr, { name: "bodybefore", banners: n, replaces: p }),
|
|
3901
3901
|
e,
|
|
3902
|
-
/* @__PURE__ */ a(Fo, {}),
|
|
3903
|
-
/* @__PURE__ */ a(Go, {}),
|
|
3904
|
-
/* @__PURE__ */ a(Ho, { dimensionValues: h }),
|
|
3905
3902
|
/* @__PURE__ */ a(Vo, {}),
|
|
3903
|
+
/* @__PURE__ */ a(Qo, {}),
|
|
3904
|
+
/* @__PURE__ */ a(zo, { dimensionValues: h }),
|
|
3905
|
+
/* @__PURE__ */ a(Ho, {}),
|
|
3906
3906
|
u,
|
|
3907
|
-
/* @__PURE__ */ a(
|
|
3907
|
+
/* @__PURE__ */ a(As, { name: "bodyafter", banners: n, replaces: A })
|
|
3908
3908
|
] });
|
|
3909
3909
|
}, mc = "_content_1tvgz_1", fc = {
|
|
3910
3910
|
content: mc
|
|
@@ -3974,7 +3974,7 @@ function yc({
|
|
|
3974
3974
|
return -(y * (n + r)) + C;
|
|
3975
3975
|
},
|
|
3976
3976
|
[o, n, r]
|
|
3977
|
-
),
|
|
3977
|
+
), O = he(
|
|
3978
3978
|
(y) => {
|
|
3979
3979
|
const C = N.current?.offsetWidth || window.innerWidth, k = B(), j = te();
|
|
3980
3980
|
if (o)
|
|
@@ -4005,7 +4005,7 @@ function yc({
|
|
|
4005
4005
|
), U = he(
|
|
4006
4006
|
(y) => {
|
|
4007
4007
|
if (!c || !s) return;
|
|
4008
|
-
const C = h - l, k = Date.now() - p, j = Math.abs(C) / Math.max(k, 1), L =
|
|
4008
|
+
const C = h - l, k = Date.now() - p, j = Math.abs(C) / Math.max(k, 1), L = O(C), H = j > 0.5 && Math.abs(C) > 50 ? Math.max(L, 1) : L;
|
|
4009
4009
|
if (H > 0)
|
|
4010
4010
|
if (C > 0) {
|
|
4011
4011
|
const V = Math.max(0, e - H);
|
|
@@ -4025,7 +4025,7 @@ function yc({
|
|
|
4025
4025
|
Y,
|
|
4026
4026
|
s,
|
|
4027
4027
|
i,
|
|
4028
|
-
|
|
4028
|
+
O,
|
|
4029
4029
|
M,
|
|
4030
4030
|
_
|
|
4031
4031
|
]
|
|
@@ -4034,7 +4034,7 @@ function yc({
|
|
|
4034
4034
|
y.preventDefault(), ["a", "span"].includes(y.target?.localName) && S(y.target), ee(y.clientX);
|
|
4035
4035
|
},
|
|
4036
4036
|
[ee]
|
|
4037
|
-
),
|
|
4037
|
+
), P = he(
|
|
4038
4038
|
(y) => {
|
|
4039
4039
|
ee(y.touches[0].clientX);
|
|
4040
4040
|
},
|
|
@@ -4067,7 +4067,7 @@ function yc({
|
|
|
4067
4067
|
actualVisibleItems: x,
|
|
4068
4068
|
dragHandlers: {
|
|
4069
4069
|
onMouseDown: E,
|
|
4070
|
-
onTouchStart:
|
|
4070
|
+
onTouchStart: P,
|
|
4071
4071
|
onTouchMove: T,
|
|
4072
4072
|
onTouchEnd: z,
|
|
4073
4073
|
onMouseLeave: U
|
|
@@ -4108,8 +4108,8 @@ function Y9(e) {
|
|
|
4108
4108
|
onIndexChange: h
|
|
4109
4109
|
}), v = he(
|
|
4110
4110
|
(Q) => {
|
|
4111
|
-
const
|
|
4112
|
-
h(
|
|
4111
|
+
const O = Math.max(0, Math.min(Q, _));
|
|
4112
|
+
h(O);
|
|
4113
4113
|
},
|
|
4114
4114
|
[_]
|
|
4115
4115
|
), B = he(() => {
|
|
@@ -4183,7 +4183,7 @@ function Y9(e) {
|
|
|
4183
4183
|
cursor: d ? g ? "grabbing" : "grab" : "default"
|
|
4184
4184
|
},
|
|
4185
4185
|
...x,
|
|
4186
|
-
children: l && l.map((Q,
|
|
4186
|
+
children: l && l.map((Q, O) => typeof Q == "string" ? /* @__PURE__ */ a(
|
|
4187
4187
|
"section",
|
|
4188
4188
|
{
|
|
4189
4189
|
className: "card",
|
|
@@ -4197,7 +4197,7 @@ function Y9(e) {
|
|
|
4197
4197
|
},
|
|
4198
4198
|
dangerouslySetInnerHTML: { __html: Q }
|
|
4199
4199
|
},
|
|
4200
|
-
|
|
4200
|
+
O
|
|
4201
4201
|
) : /* @__PURE__ */ a(
|
|
4202
4202
|
"section",
|
|
4203
4203
|
{
|
|
@@ -4212,25 +4212,25 @@ function Y9(e) {
|
|
|
4212
4212
|
},
|
|
4213
4213
|
children: Q
|
|
4214
4214
|
},
|
|
4215
|
-
|
|
4215
|
+
O
|
|
4216
4216
|
))
|
|
4217
4217
|
}
|
|
4218
4218
|
),
|
|
4219
4219
|
c && /* @__PURE__ */ a("nav", { className: "carrousel-pagination", children: Array.from(
|
|
4220
4220
|
{ length: Math.ceil(l.length / N) },
|
|
4221
|
-
(Q,
|
|
4222
|
-
const ee = Math.floor(u / N) ===
|
|
4221
|
+
(Q, O) => {
|
|
4222
|
+
const ee = Math.floor(u / N) === O;
|
|
4223
4223
|
return /* @__PURE__ */ a(
|
|
4224
4224
|
"li",
|
|
4225
4225
|
{
|
|
4226
4226
|
className: ee ? "active" : "",
|
|
4227
|
-
onClick: () => v(
|
|
4227
|
+
onClick: () => v(O * N),
|
|
4228
4228
|
style: {
|
|
4229
4229
|
cursor: "pointer",
|
|
4230
4230
|
backgroundColor: ee ? "var(--carrousel-pagination-background-color)" : "var(--carrousel-pagination-background-color-white)"
|
|
4231
4231
|
}
|
|
4232
4232
|
},
|
|
4233
|
-
|
|
4233
|
+
O
|
|
4234
4234
|
);
|
|
4235
4235
|
}
|
|
4236
4236
|
) })
|
|
@@ -4309,7 +4309,7 @@ const bc = "_content_3olxv_1", Cc = {
|
|
|
4309
4309
|
},
|
|
4310
4310
|
n.key
|
|
4311
4311
|
);
|
|
4312
|
-
}, Ec = "_boxInformation_o5vhf_1", xc = "_sectionDescriptionContainer_o5vhf_9", Tc = "_uppertitle_o5vhf_20", Ic = "_sectionDescription_o5vhf_9", Uc = "_articule_o5vhf_60", kc = "_linkStyled_o5vhf_74", qc = "_description_o5vhf_85", Rc = "_correspondent_o5vhf_113", Lc = "_correspondentLink_o5vhf_125", Bc = "_dotStyles_o5vhf_137", Oc = "_clipboardButton_o5vhf_144", Pc = "_socialNetworkSection_o5vhf_158",
|
|
4312
|
+
}, Ec = "_boxInformation_o5vhf_1", xc = "_sectionDescriptionContainer_o5vhf_9", Tc = "_uppertitle_o5vhf_20", Ic = "_sectionDescription_o5vhf_9", Uc = "_articule_o5vhf_60", kc = "_linkStyled_o5vhf_74", qc = "_description_o5vhf_85", Rc = "_correspondent_o5vhf_113", Lc = "_correspondentLink_o5vhf_125", Bc = "_dotStyles_o5vhf_137", Oc = "_clipboardButton_o5vhf_144", Pc = "_socialNetworkSection_o5vhf_158", se = {
|
|
4313
4313
|
boxInformation: Ec,
|
|
4314
4314
|
sectionDescriptionContainer: xc,
|
|
4315
4315
|
uppertitle: Tc,
|
|
@@ -4323,7 +4323,7 @@ const bc = "_content_3olxv_1", Cc = {
|
|
|
4323
4323
|
clipboardButton: Oc,
|
|
4324
4324
|
socialNetworkSection: Pc
|
|
4325
4325
|
};
|
|
4326
|
-
function
|
|
4326
|
+
function D(e) {
|
|
4327
4327
|
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } = J(), 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 = {
|
|
4328
4328
|
...e,
|
|
4329
4329
|
href: (!o && !s ? r : "") + (e.href ?? "")
|
|
@@ -4338,7 +4338,7 @@ function O(e) {
|
|
|
4338
4338
|
}
|
|
4339
4339
|
) : /* @__PURE__ */ a("a", { ...i, children: e.children });
|
|
4340
4340
|
}
|
|
4341
|
-
const
|
|
4341
|
+
const fo = (e) => /* @__PURE__ */ a(
|
|
4342
4342
|
"svg",
|
|
4343
4343
|
{
|
|
4344
4344
|
width: "23",
|
|
@@ -4355,7 +4355,7 @@ const go = (e) => /* @__PURE__ */ a(
|
|
|
4355
4355
|
}
|
|
4356
4356
|
)
|
|
4357
4357
|
}
|
|
4358
|
-
),
|
|
4358
|
+
), go = (e) => /* @__PURE__ */ a(
|
|
4359
4359
|
"svg",
|
|
4360
4360
|
{
|
|
4361
4361
|
width: "23",
|
|
@@ -4373,7 +4373,7 @@ const go = (e) => /* @__PURE__ */ a(
|
|
|
4373
4373
|
}
|
|
4374
4374
|
)
|
|
4375
4375
|
}
|
|
4376
|
-
),
|
|
4376
|
+
), po = (e) => /* @__PURE__ */ m(
|
|
4377
4377
|
"svg",
|
|
4378
4378
|
{
|
|
4379
4379
|
width: "24",
|
|
@@ -4437,8 +4437,8 @@ const go = (e) => /* @__PURE__ */ a(
|
|
|
4437
4437
|
Whatsapp: {
|
|
4438
4438
|
url: (e) => `https://wa.me/?text=${encodeURIComponent(e)}`,
|
|
4439
4439
|
icon: {
|
|
4440
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
4441
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
4440
|
+
outline: (e) => /* @__PURE__ */ a(go, { className: e }),
|
|
4441
|
+
solid: (e) => /* @__PURE__ */ a(fo, { className: e })
|
|
4442
4442
|
}
|
|
4443
4443
|
},
|
|
4444
4444
|
Message: {
|
|
@@ -4451,19 +4451,19 @@ const go = (e) => /* @__PURE__ */ a(
|
|
|
4451
4451
|
};
|
|
4452
4452
|
function jc({ noteShare: e }) {
|
|
4453
4453
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
4454
|
-
return e ? /* @__PURE__ */ m("div", { className:
|
|
4454
|
+
return e ? /* @__PURE__ */ m("div", { className: se.socialNetworkSection, children: [
|
|
4455
4455
|
e.options?.map((n) => {
|
|
4456
4456
|
const r = Mc[n];
|
|
4457
4457
|
if (!r) return null;
|
|
4458
4458
|
const o = e.variant === "outline" ? r.icon.outline : r.icon.solid, s = r.url(t);
|
|
4459
4459
|
return /* @__PURE__ */ a(
|
|
4460
|
-
|
|
4460
|
+
D,
|
|
4461
4461
|
{
|
|
4462
4462
|
href: s,
|
|
4463
4463
|
target: "_blank",
|
|
4464
4464
|
rel: "noopener noreferrer",
|
|
4465
4465
|
"aria-label": `Compartir en ${n}`,
|
|
4466
|
-
className: `${
|
|
4466
|
+
className: `${se.socialButton} ${se[`${n.toLowerCase()}Button`] ?? ""} ${se[`${n.toLowerCase()}Styled`]}`,
|
|
4467
4467
|
children: o("")
|
|
4468
4468
|
},
|
|
4469
4469
|
n
|
|
@@ -4474,7 +4474,7 @@ function jc({ noteShare: e }) {
|
|
|
4474
4474
|
{
|
|
4475
4475
|
type: "button",
|
|
4476
4476
|
"aria-label": "share",
|
|
4477
|
-
className: [
|
|
4477
|
+
className: [se.clipboardButton, "sharebtn-id"].join(" "),
|
|
4478
4478
|
children: /* @__PURE__ */ a(Dc, {})
|
|
4479
4479
|
}
|
|
4480
4480
|
),
|
|
@@ -4485,14 +4485,14 @@ function jc({ noteShare: e }) {
|
|
|
4485
4485
|
"data-text": "Link copiado",
|
|
4486
4486
|
"data-active": "false",
|
|
4487
4487
|
"aria-label": "copy",
|
|
4488
|
-
className: [
|
|
4489
|
-
children: /* @__PURE__ */ a(
|
|
4488
|
+
className: [se.clipboardButton, "clipbtn-id"].join(" "),
|
|
4489
|
+
children: /* @__PURE__ */ a(po, {})
|
|
4490
4490
|
}
|
|
4491
4491
|
)
|
|
4492
4492
|
] }) : null;
|
|
4493
4493
|
}
|
|
4494
4494
|
const Et = (e) => {
|
|
4495
|
-
const { share: t = !1, cutSubtitle: n = !0, keywords: r
|
|
4495
|
+
const { share: t = !1, cutSubtitle: n = !0, keywords: r } = e, { SHOW_TAG_BY_SECTION: o } = J(), s = () => {
|
|
4496
4496
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
4497
4497
|
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Me(
|
|
4498
4498
|
e.info?.date?.modified
|
|
@@ -4501,55 +4501,33 @@ const Et = (e) => {
|
|
|
4501
4501
|
return e?.authors[0]?.fullname ?? "Redacción";
|
|
4502
4502
|
if (e?.config?.showtime)
|
|
4503
4503
|
return Me(e.info?.date?.modified);
|
|
4504
|
-
},
|
|
4505
|
-
const
|
|
4504
|
+
}, i = () => {
|
|
4505
|
+
const l = {
|
|
4506
4506
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
4507
4507
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
4508
4508
|
"--colorSubTitle": e.colorSubTitle
|
|
4509
4509
|
};
|
|
4510
|
-
return n ? /* @__PURE__ */ a("p", { className:
|
|
4510
|
+
return n ? /* @__PURE__ */ a("p", { className: se.description, children: je(e.main.subtitle.striped ?? "") }) : /* @__PURE__ */ a(
|
|
4511
4511
|
"h2",
|
|
4512
4512
|
{
|
|
4513
|
-
className:
|
|
4513
|
+
className: se.description,
|
|
4514
4514
|
dangerouslySetInnerHTML: {
|
|
4515
4515
|
__html: e.main.subtitle.rendered ?? e.main.subtitle.striped ?? ""
|
|
4516
4516
|
},
|
|
4517
|
-
style:
|
|
4517
|
+
style: l
|
|
4518
4518
|
}
|
|
4519
4519
|
);
|
|
4520
|
-
},
|
|
4521
|
-
if (
|
|
4522
|
-
const
|
|
4523
|
-
return /* @__PURE__ */ m("h3", { className:
|
|
4524
|
-
/* @__PURE__ */ a(
|
|
4525
|
-
|
|
4526
|
-
{
|
|
4527
|
-
"aria-label": f,
|
|
4528
|
-
className: re.sectionDescription,
|
|
4529
|
-
href: Qr(h, s),
|
|
4530
|
-
children: f
|
|
4531
|
-
}
|
|
4532
|
-
),
|
|
4533
|
-
l()
|
|
4534
|
-
] });
|
|
4535
|
-
} else if (o?.section?.url) {
|
|
4536
|
-
const h = o.section.name;
|
|
4537
|
-
return /* @__PURE__ */ m("h3", { className: re.sectionDescriptionContainer, children: [
|
|
4538
|
-
/* @__PURE__ */ a(
|
|
4539
|
-
O,
|
|
4540
|
-
{
|
|
4541
|
-
"aria-label": h,
|
|
4542
|
-
className: re.sectionDescription,
|
|
4543
|
-
href: o.section.url,
|
|
4544
|
-
children: h
|
|
4545
|
-
}
|
|
4546
|
-
),
|
|
4547
|
-
l()
|
|
4520
|
+
}, c = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: se.uppertitle, title: e.main.uppertitle, children: e.main.uppertitle }) : null, d = () => {
|
|
4521
|
+
if (o && r?.tags?.length && r.tags.length > 0) {
|
|
4522
|
+
const u = r.tags[0].name;
|
|
4523
|
+
return /* @__PURE__ */ m("h3", { className: se.sectionDescriptionContainer, children: [
|
|
4524
|
+
/* @__PURE__ */ a(D, { "aria-label": u, className: se.sectionDescription, children: u }),
|
|
4525
|
+
c()
|
|
4548
4526
|
] });
|
|
4549
4527
|
}
|
|
4550
4528
|
return null;
|
|
4551
4529
|
};
|
|
4552
|
-
return /* @__PURE__ */ m("div", { className:
|
|
4530
|
+
return /* @__PURE__ */ m("div", { className: se.boxInformation, children: [
|
|
4553
4531
|
t && /* @__PURE__ */ a(
|
|
4554
4532
|
"div",
|
|
4555
4533
|
{
|
|
@@ -4559,17 +4537,17 @@ const Et = (e) => {
|
|
|
4559
4537
|
children: /* @__PURE__ */ a(jc, { noteShare: { ...t } })
|
|
4560
4538
|
}
|
|
4561
4539
|
),
|
|
4562
|
-
/* @__PURE__ */ a(
|
|
4540
|
+
/* @__PURE__ */ a(d, {}),
|
|
4563
4541
|
Ee.createElement(
|
|
4564
4542
|
e.isTitle ? "h1" : "h2",
|
|
4565
4543
|
{
|
|
4566
|
-
className:
|
|
4544
|
+
className: se.articule
|
|
4567
4545
|
},
|
|
4568
4546
|
e?.info?.link?.url ? /* @__PURE__ */ a(
|
|
4569
|
-
|
|
4547
|
+
D,
|
|
4570
4548
|
{
|
|
4571
4549
|
"aria-label": e.main?.title?.section,
|
|
4572
|
-
className:
|
|
4550
|
+
className: se.linkStyled,
|
|
4573
4551
|
style: {
|
|
4574
4552
|
"--isLink": "var(--news-description-title-color-hover-decoration)"
|
|
4575
4553
|
},
|
|
@@ -4579,23 +4557,23 @@ const Et = (e) => {
|
|
|
4579
4557
|
}
|
|
4580
4558
|
) : e.main?.title?.section
|
|
4581
4559
|
),
|
|
4582
|
-
e.config?.showsubtitle && /* @__PURE__ */ a(
|
|
4560
|
+
e.config?.showsubtitle && /* @__PURE__ */ a(i, {}),
|
|
4583
4561
|
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
4584
|
-
|
|
4562
|
+
D,
|
|
4585
4563
|
{
|
|
4586
|
-
"aria-label":
|
|
4587
|
-
className:
|
|
4564
|
+
"aria-label": s(),
|
|
4565
|
+
className: se.correspondentLink,
|
|
4588
4566
|
href: `/${e?.paths?.autor}/${e?.authors[0]?.name}`,
|
|
4589
|
-
children:
|
|
4567
|
+
children: s()
|
|
4590
4568
|
}
|
|
4591
|
-
) }) : /* @__PURE__ */ a("h3", { className:
|
|
4569
|
+
) }) : /* @__PURE__ */ a("h3", { className: se.correspondent, children: s() }) })
|
|
4592
4570
|
] });
|
|
4593
4571
|
}, Qc = "_content_coxjf_1", Gc = "_contentNew_coxjf_21", zc = "_imageBox_coxjf_29", Hc = "_numberTag_coxjf_44", Kt = {
|
|
4594
4572
|
content: Qc,
|
|
4595
4573
|
contentNew: Gc,
|
|
4596
4574
|
imageBox: zc,
|
|
4597
4575
|
numberTag: Hc
|
|
4598
|
-
}, Vc = "_figure_ooa5j_1", Fc = "_backdrop_ooa5j_6", Wc = "_backdropAux_ooa5j_16", $c = "_imageStyled_ooa5j_37", Yc = "_boxPlayIcon_ooa5j_51", Kc = "_playStyled_ooa5j_60", Jc = "_imageLogoPlaceholder_ooa5j_77", Zc = "_imagePlaceholder_ooa5j_98",
|
|
4576
|
+
}, Vc = "_figure_ooa5j_1", Fc = "_backdrop_ooa5j_6", Wc = "_backdropAux_ooa5j_16", $c = "_imageStyled_ooa5j_37", Yc = "_boxPlayIcon_ooa5j_51", Kc = "_playStyled_ooa5j_60", Jc = "_imageLogoPlaceholder_ooa5j_77", Zc = "_imagePlaceholder_ooa5j_98", oe = {
|
|
4599
4577
|
figure: Vc,
|
|
4600
4578
|
backdrop: Fc,
|
|
4601
4579
|
backdropAux: Wc,
|
|
@@ -4626,15 +4604,15 @@ const Et = (e) => {
|
|
|
4626
4604
|
}
|
|
4627
4605
|
), Xc = (e) => {
|
|
4628
4606
|
const { isVideo: t = !1, isLarge: n = !1, priorityHigh: r = !1 } = e, o = e.preview.sizes;
|
|
4629
|
-
return o ? o.length === 1 ? /* @__PURE__ */ a("figure", { className:
|
|
4630
|
-
/* @__PURE__ */ a("span", { className:
|
|
4607
|
+
return o ? o.length === 1 ? /* @__PURE__ */ a("figure", { className: oe.figure, children: /* @__PURE__ */ m("span", { className: oe.backdrop, children: [
|
|
4608
|
+
/* @__PURE__ */ a("span", { className: oe.backdropAux }),
|
|
4631
4609
|
/* @__PURE__ */ m("picture", { children: [
|
|
4632
4610
|
/* @__PURE__ */ a(
|
|
4633
4611
|
"img",
|
|
4634
4612
|
{
|
|
4635
4613
|
fetchPriority: r ? "high" : "low",
|
|
4636
4614
|
loading: r ? "eager" : "lazy",
|
|
4637
|
-
className:
|
|
4615
|
+
className: oe.imageStyled,
|
|
4638
4616
|
alt: e.preview?.description ? e.preview?.description : "",
|
|
4639
4617
|
src: o[0]?.url ? o[0]?.url : void 0
|
|
4640
4618
|
}
|
|
@@ -4643,14 +4621,14 @@ const Et = (e) => {
|
|
|
4643
4621
|
/* @__PURE__ */ a(
|
|
4644
4622
|
"div",
|
|
4645
4623
|
{
|
|
4646
|
-
className:
|
|
4624
|
+
className: oe.boxPlayIcon,
|
|
4647
4625
|
style: { height: n ? "40%" : "72px" }
|
|
4648
4626
|
}
|
|
4649
4627
|
),
|
|
4650
4628
|
/* @__PURE__ */ a(
|
|
4651
4629
|
vt,
|
|
4652
4630
|
{
|
|
4653
|
-
className:
|
|
4631
|
+
className: oe.playStyled,
|
|
4654
4632
|
style: {
|
|
4655
4633
|
width: n ? "3rem" : "27px",
|
|
4656
4634
|
height: n ? "3rem" : "27px",
|
|
@@ -4661,8 +4639,8 @@ const Et = (e) => {
|
|
|
4661
4639
|
)
|
|
4662
4640
|
] })
|
|
4663
4641
|
] })
|
|
4664
|
-
] }) }) : /* @__PURE__ */ a("figure", { className:
|
|
4665
|
-
/* @__PURE__ */ a("span", { className:
|
|
4642
|
+
] }) }) : /* @__PURE__ */ a("figure", { className: oe.figure, children: /* @__PURE__ */ m("span", { className: oe.backdrop, children: [
|
|
4643
|
+
/* @__PURE__ */ a("span", { className: oe.backdropAux }),
|
|
4666
4644
|
/* @__PURE__ */ m("picture", { children: [
|
|
4667
4645
|
o.map(async (s, i) => {
|
|
4668
4646
|
if (e.isLarge)
|
|
@@ -4690,7 +4668,7 @@ const Et = (e) => {
|
|
|
4690
4668
|
fetchPriority: r ? "high" : "low",
|
|
4691
4669
|
loading: r ? "eager" : "lazy",
|
|
4692
4670
|
decoding: "async",
|
|
4693
|
-
className:
|
|
4671
|
+
className: oe.imageStyled,
|
|
4694
4672
|
width: o[0]?.width,
|
|
4695
4673
|
height: o[0]?.height,
|
|
4696
4674
|
alt: e.preview?.description ? e.preview?.description : "",
|
|
@@ -4701,14 +4679,14 @@ const Et = (e) => {
|
|
|
4701
4679
|
/* @__PURE__ */ a(
|
|
4702
4680
|
"div",
|
|
4703
4681
|
{
|
|
4704
|
-
className:
|
|
4682
|
+
className: oe.boxPlayIcon,
|
|
4705
4683
|
style: { height: n ? "40%" : "72px" }
|
|
4706
4684
|
}
|
|
4707
4685
|
),
|
|
4708
4686
|
/* @__PURE__ */ a(
|
|
4709
4687
|
vt,
|
|
4710
4688
|
{
|
|
4711
|
-
className:
|
|
4689
|
+
className: oe.playStyled,
|
|
4712
4690
|
style: {
|
|
4713
4691
|
width: n ? "3rem" : "var(--image-play-width)",
|
|
4714
4692
|
height: n ? "3rem" : "var(--image-play-height)",
|
|
@@ -4754,15 +4732,15 @@ const Et = (e) => {
|
|
|
4754
4732
|
} else
|
|
4755
4733
|
i(c?.[0]?.url);
|
|
4756
4734
|
})();
|
|
4757
|
-
}, [c, t, e.cookies]), c && s && s !== "invalidURL" ? /* @__PURE__ */ a("figure", { className:
|
|
4758
|
-
/* @__PURE__ */ a("span", { className:
|
|
4735
|
+
}, [c, t, e.cookies]), c && s && s !== "invalidURL" ? /* @__PURE__ */ a("figure", { className: oe.figure, children: /* @__PURE__ */ m("span", { className: oe.backdrop, children: [
|
|
4736
|
+
/* @__PURE__ */ a("span", { className: oe.backdropAux }),
|
|
4759
4737
|
/* @__PURE__ */ m("picture", { children: [
|
|
4760
4738
|
/* @__PURE__ */ a(
|
|
4761
4739
|
"img",
|
|
4762
4740
|
{
|
|
4763
4741
|
fetchPriority: o ? "high" : "low",
|
|
4764
4742
|
loading: o ? "eager" : "lazy",
|
|
4765
|
-
className:
|
|
4743
|
+
className: oe.imageStyled,
|
|
4766
4744
|
style: {
|
|
4767
4745
|
boxShadow: r ? "0px 4px 8px 0px #00000033" : "0px"
|
|
4768
4746
|
},
|
|
@@ -4770,9 +4748,9 @@ const Et = (e) => {
|
|
|
4770
4748
|
src: s
|
|
4771
4749
|
}
|
|
4772
4750
|
),
|
|
4773
|
-
n && /* @__PURE__ */ a("div", { className:
|
|
4751
|
+
n && /* @__PURE__ */ a("div", { className: oe.playWrapper, children: /* @__PURE__ */ a(vt, {}) })
|
|
4774
4752
|
] })
|
|
4775
|
-
] }) }) : s === "invalidURL" ? /* @__PURE__ */ a("div", { className:
|
|
4753
|
+
] }) }) : s === "invalidURL" ? /* @__PURE__ */ a("div", { className: oe.imageLogoPlaceholder, children: /* @__PURE__ */ a(xt, { style: { color: "var(--grey-100)" } }) }) : /* @__PURE__ */ a(
|
|
4776
4754
|
"div",
|
|
4777
4755
|
{
|
|
4778
4756
|
style: { display: "flex" },
|
|
@@ -4780,13 +4758,13 @@ const Et = (e) => {
|
|
|
4780
4758
|
"data-props": encodeURIComponent(
|
|
4781
4759
|
JSON.stringify({ ...e, children: void 0 })
|
|
4782
4760
|
),
|
|
4783
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
4761
|
+
children: /* @__PURE__ */ a("div", { className: oe.imagePlaceholder })
|
|
4784
4762
|
}
|
|
4785
4763
|
);
|
|
4786
4764
|
}, Ue = async (e) => {
|
|
4787
4765
|
const { preview: t } = e;
|
|
4788
4766
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((s) => !s.url))
|
|
4789
|
-
return /* @__PURE__ */ a("div", { className:
|
|
4767
|
+
return /* @__PURE__ */ a("div", { className: oe.imageLogoPlaceholder });
|
|
4790
4768
|
const { PUBLIC_IS_OFFLINE: n } = J();
|
|
4791
4769
|
if (n === "true")
|
|
4792
4770
|
return /* @__PURE__ */ a(nl, { ...e });
|
|
@@ -4802,7 +4780,7 @@ const Et = (e) => {
|
|
|
4802
4780
|
sizes: r
|
|
4803
4781
|
};
|
|
4804
4782
|
return /* @__PURE__ */ a(Xc, { ...e, preview: o });
|
|
4805
|
-
},
|
|
4783
|
+
}, Ao = (e) => {
|
|
4806
4784
|
const { itemReverseOrder: t = !1 } = e;
|
|
4807
4785
|
return /* @__PURE__ */ a(
|
|
4808
4786
|
"section",
|
|
@@ -5791,7 +5769,7 @@ const Et = (e) => {
|
|
|
5791
5769
|
children: [
|
|
5792
5770
|
/* @__PURE__ */ a("p", { className: nr.titulo, children: e.title ?? "" }),
|
|
5793
5771
|
/* @__PURE__ */ a(
|
|
5794
|
-
|
|
5772
|
+
Ao,
|
|
5795
5773
|
{
|
|
5796
5774
|
block: t,
|
|
5797
5775
|
paths: e.paths,
|
|
@@ -5837,7 +5815,7 @@ const Et = (e) => {
|
|
|
5837
5815
|
style: o,
|
|
5838
5816
|
htmlFor: e?.toggledrawerevent === "true" ? "side-bar-state" : ""
|
|
5839
5817
|
}
|
|
5840
|
-
) : /* @__PURE__ */ a(
|
|
5818
|
+
) : /* @__PURE__ */ a(D, { ...r, style: o });
|
|
5841
5819
|
}, pl = (e) => /* @__PURE__ */ m("section", { className: [ke.content, e.className ?? ""].join(" "), children: [
|
|
5842
5820
|
/* @__PURE__ */ a("div", { className: ke.subscribeImage, children: e.image }),
|
|
5843
5821
|
/* @__PURE__ */ a("div", { className: ke.tag, children: e.texts.newsletterTag ?? "NEWS" }),
|
|
@@ -5856,7 +5834,7 @@ const Et = (e) => {
|
|
|
5856
5834
|
/* @__PURE__ */ a(In, { className: ke.buttonStyled, size: "large", full: !0, children: e.texts.newsletterButtonText ?? "Suscribirme" }),
|
|
5857
5835
|
/* @__PURE__ */ m("div", { className: ke.contentTerms, children: [
|
|
5858
5836
|
/* @__PURE__ */ a("p", { className: ke.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
5859
|
-
/* @__PURE__ */ a(
|
|
5837
|
+
/* @__PURE__ */ a(D, { className: ke.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
|
|
5860
5838
|
] })
|
|
5861
5839
|
] }), Al = "_content_1ms2y_1", wl = "_contentInfo_1ms2y_20", yl = "_subscribeImage_1ms2y_28", vl = "_tag_1ms2y_42", bl = "_contentTitle_1ms2y_60", Cl = "_title_1ms2y_65", _l = "_subTitle_1ms2y_70", Nl = "_inputStyled_1ms2y_79", Sl = "_buttonStyled_1ms2y_118", El = "_contentTerms_1ms2y_131", xl = "_subscribeText_1ms2y_137", Tl = "_terms_1ms2y_146", xe = {
|
|
5862
5840
|
content: Al,
|
|
@@ -5892,7 +5870,7 @@ const Et = (e) => {
|
|
|
5892
5870
|
] }),
|
|
5893
5871
|
/* @__PURE__ */ m("div", { className: xe.contentTerms, children: [
|
|
5894
5872
|
/* @__PURE__ */ a("p", { className: xe.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
5895
|
-
/* @__PURE__ */ a(
|
|
5873
|
+
/* @__PURE__ */ a(D, { className: xe.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
|
|
5896
5874
|
] })
|
|
5897
5875
|
] })
|
|
5898
5876
|
] }), Ul = (e) => /* @__PURE__ */ m(
|
|
@@ -5993,7 +5971,7 @@ const Et = (e) => {
|
|
|
5993
5971
|
),
|
|
5994
5972
|
/* @__PURE__ */ m("div", { className: Qe.contentTerms, children: [
|
|
5995
5973
|
/* @__PURE__ */ a("p", { className: Qe.subscribeText, children: "Suscribirte implica aceptar los" }),
|
|
5996
|
-
/* @__PURE__ */ a(
|
|
5974
|
+
/* @__PURE__ */ a(D, { className: Qe.terms, href: e.terms, target: "_blank", children: "Términos y condiciones" })
|
|
5997
5975
|
] })
|
|
5998
5976
|
] }), jl = (e) => /* @__PURE__ */ m(
|
|
5999
5977
|
"svg",
|
|
@@ -6225,7 +6203,7 @@ const Et = (e) => {
|
|
|
6225
6203
|
const { freeZone: t, socials: n, menu: r, customBlock: o } = e;
|
|
6226
6204
|
return /* @__PURE__ */ m("footer", { className: we.content, children: [
|
|
6227
6205
|
/* @__PURE__ */ m("section", { className: we.brandContent, children: [
|
|
6228
|
-
/* @__PURE__ */ a(
|
|
6206
|
+
/* @__PURE__ */ a(D, { href: "/", "aria-label": "Ir a la home", children: /* @__PURE__ */ a("span", { className: we.logoStyled, children: e.logo }) }),
|
|
6229
6207
|
/* @__PURE__ */ a("div", { className: we.socialMedia, children: Object.keys(n).map((s) => n[s]?.show && /* @__PURE__ */ a(
|
|
6230
6208
|
"a",
|
|
6231
6209
|
{
|
|
@@ -6243,7 +6221,7 @@ const Et = (e) => {
|
|
|
6243
6221
|
] }),
|
|
6244
6222
|
/* @__PURE__ */ m("section", { className: we.sectionContent, children: [
|
|
6245
6223
|
/* @__PURE__ */ a("div", { className: we.section, children: r.filter((s) => !s.subitem).map((s, i) => /* @__PURE__ */ a(
|
|
6246
|
-
|
|
6224
|
+
D,
|
|
6247
6225
|
{
|
|
6248
6226
|
href: s.link ? s.link : void 0,
|
|
6249
6227
|
target: s.target,
|
|
@@ -6254,7 +6232,7 @@ const Et = (e) => {
|
|
|
6254
6232
|
i
|
|
6255
6233
|
)) }),
|
|
6256
6234
|
/* @__PURE__ */ a("div", { className: we.section, children: t && t.map((s, i) => /* @__PURE__ */ a(
|
|
6257
|
-
|
|
6235
|
+
D,
|
|
6258
6236
|
{
|
|
6259
6237
|
href: s.link ? s?.link : void 0,
|
|
6260
6238
|
target: s.target,
|
|
@@ -6268,7 +6246,7 @@ const Et = (e) => {
|
|
|
6268
6246
|
/* @__PURE__ */ m("section", { className: we.copyrigth, children: [
|
|
6269
6247
|
/* @__PURE__ */ a("p", { className: we.copyrigthText, children: e.copyrigth }),
|
|
6270
6248
|
/* @__PURE__ */ a(
|
|
6271
|
-
|
|
6249
|
+
D,
|
|
6272
6250
|
{
|
|
6273
6251
|
"aria-label": "Bluestack link",
|
|
6274
6252
|
href: "https://www.bluestack.la",
|
|
@@ -6456,8 +6434,8 @@ const Et = (e) => {
|
|
|
6456
6434
|
Whatsapp: {
|
|
6457
6435
|
url: (e) => `https://wa.me/?text=${encodeURIComponent(e)}`,
|
|
6458
6436
|
icon: {
|
|
6459
|
-
outline: (e) => /* @__PURE__ */ a(
|
|
6460
|
-
solid: (e) => /* @__PURE__ */ a(
|
|
6437
|
+
outline: (e) => /* @__PURE__ */ a(go, { className: e }),
|
|
6438
|
+
solid: (e) => /* @__PURE__ */ a(fo, { className: e })
|
|
6461
6439
|
}
|
|
6462
6440
|
},
|
|
6463
6441
|
Email: {
|
|
@@ -6485,7 +6463,7 @@ function Dd({ noteShare: e }) {
|
|
|
6485
6463
|
if (!r) return null;
|
|
6486
6464
|
const o = e.variant === "outline" ? r.icon.outline : r.icon.solid, s = r.url(t);
|
|
6487
6465
|
return /* @__PURE__ */ a(
|
|
6488
|
-
|
|
6466
|
+
D,
|
|
6489
6467
|
{
|
|
6490
6468
|
href: s,
|
|
6491
6469
|
target: "_blank",
|
|
@@ -6505,7 +6483,7 @@ function Dd({ noteShare: e }) {
|
|
|
6505
6483
|
"data-active": "false",
|
|
6506
6484
|
"aria-label": "copy",
|
|
6507
6485
|
className: [de.clipboardButton, "clipbtn-id"].join(" "),
|
|
6508
|
-
children: /* @__PURE__ */ a(
|
|
6486
|
+
children: /* @__PURE__ */ a(po, {})
|
|
6509
6487
|
}
|
|
6510
6488
|
),
|
|
6511
6489
|
/* @__PURE__ */ a(
|
|
@@ -6577,7 +6555,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6577
6555
|
};
|
|
6578
6556
|
return (t > 1 || n && t < r) && /* @__PURE__ */ m("section", { className: On.content, children: [
|
|
6579
6557
|
t > 1 && /* @__PURE__ */ a(
|
|
6580
|
-
|
|
6558
|
+
D,
|
|
6581
6559
|
{
|
|
6582
6560
|
className: On.linkStyled,
|
|
6583
6561
|
href: i("prev", o || "", s || ""),
|
|
@@ -6585,7 +6563,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6585
6563
|
}
|
|
6586
6564
|
),
|
|
6587
6565
|
n && t < r && /* @__PURE__ */ a(
|
|
6588
|
-
|
|
6566
|
+
D,
|
|
6589
6567
|
{
|
|
6590
6568
|
className: On.linkStyled,
|
|
6591
6569
|
href: i("next", o || "", s || ""),
|
|
@@ -6638,7 +6616,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6638
6616
|
},
|
|
6639
6617
|
children: [
|
|
6640
6618
|
/* @__PURE__ */ a(
|
|
6641
|
-
|
|
6619
|
+
D,
|
|
6642
6620
|
{
|
|
6643
6621
|
"aria-label": e.main?.title?.section,
|
|
6644
6622
|
className: Pt.image,
|
|
@@ -6690,7 +6668,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6690
6668
|
} = e;
|
|
6691
6669
|
return /* @__PURE__ */ m("section", { className: mt.content, children: [
|
|
6692
6670
|
/* @__PURE__ */ a(
|
|
6693
|
-
|
|
6671
|
+
D,
|
|
6694
6672
|
{
|
|
6695
6673
|
title: r?.title?.section,
|
|
6696
6674
|
href: n.link.url,
|
|
@@ -6712,7 +6690,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6712
6690
|
},
|
|
6713
6691
|
children: [
|
|
6714
6692
|
e?.info?.section && /* @__PURE__ */ a(
|
|
6715
|
-
|
|
6693
|
+
D,
|
|
6716
6694
|
{
|
|
6717
6695
|
className: [mt.sectionDescription].join(" "),
|
|
6718
6696
|
href: e?.info?.section?.url,
|
|
@@ -6720,7 +6698,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6720
6698
|
}
|
|
6721
6699
|
),
|
|
6722
6700
|
/* @__PURE__ */ a("h2", { className: mt.articule, children: /* @__PURE__ */ a(
|
|
6723
|
-
|
|
6701
|
+
D,
|
|
6724
6702
|
{
|
|
6725
6703
|
className: mt.linkStyled,
|
|
6726
6704
|
href: e?.info?.link?.url,
|
|
@@ -6750,7 +6728,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6750
6728
|
/* @__PURE__ */ a(t, {}),
|
|
6751
6729
|
/* @__PURE__ */ a("p", { className: ft.title, children: e.title }),
|
|
6752
6730
|
/* @__PURE__ */ a("p", { className: ft.description, children: e.description }),
|
|
6753
|
-
/* @__PURE__ */ a(
|
|
6731
|
+
/* @__PURE__ */ a(D, { className: ft.linkStyled, href: "/", children: e.buttonText ?? "Inicio" })
|
|
6754
6732
|
] })
|
|
6755
6733
|
] });
|
|
6756
6734
|
}, p1 = "_content_zxcog_1", A1 = "_contentLabel_zxcog_8", w1 = "_label_zxcog_13", y1 = "_required_zxcog_22", v1 = "_input_zxcog_28", It = {
|
|
@@ -6799,18 +6777,18 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6799
6777
|
}, P1 = "_content_8ehij_1", D1 = "_description_8ehij_23", vn = {
|
|
6800
6778
|
content: P1,
|
|
6801
6779
|
description: D1
|
|
6802
|
-
},
|
|
6780
|
+
}, wo = (e) => {
|
|
6803
6781
|
let t = "";
|
|
6804
6782
|
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__ */ m("div", { className: vn.content, children: [
|
|
6805
6783
|
/* @__PURE__ */ a(Ue, { preview: e.preview, isLarge: !0, priorityHigh: !0 }),
|
|
6806
6784
|
t && /* @__PURE__ */ a("div", { className: vn.description, children: t })
|
|
6807
6785
|
] });
|
|
6808
6786
|
}, M1 = (e) => /* @__PURE__ */ a(K, { children: /* @__PURE__ */ m("div", { className: et.boxInformation, children: [
|
|
6809
|
-
/* @__PURE__ */ a(
|
|
6787
|
+
/* @__PURE__ */ a(wo, { preview: e.preview }),
|
|
6810
6788
|
/* @__PURE__ */ m("div", { className: et.textBox, children: [
|
|
6811
6789
|
/* @__PURE__ */ m("div", { className: et.contentBox, children: [
|
|
6812
6790
|
e?.info?.section && /* @__PURE__ */ a(
|
|
6813
|
-
|
|
6791
|
+
D,
|
|
6814
6792
|
{
|
|
6815
6793
|
className: et.sectionDescription,
|
|
6816
6794
|
href: e?.info?.section?.url,
|
|
@@ -6841,7 +6819,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6841
6819
|
contentText: G1,
|
|
6842
6820
|
dateLink: z1
|
|
6843
6821
|
}, H1 = (e) => /* @__PURE__ */ a("section", { className: Zt.content, children: e.itemList[0]?.list.items.map((t, n) => /* @__PURE__ */ m("div", { className: Zt.contentLine, children: [
|
|
6844
|
-
/* @__PURE__ */ a(
|
|
6822
|
+
/* @__PURE__ */ a(D, { className: Zt.dateLink, href: `#item-${n + 1}`, children: cs(t.date) }),
|
|
6845
6823
|
/* @__PURE__ */ a("div", { className: Zt.contentText, children: (e.itemList[0]?.list.integrated, t.title) })
|
|
6846
6824
|
] }, n)) }), V1 = "_content_w8a84_1", F1 = "_contentInfo_w8a84_11", W1 = "_imageStyled_w8a84_19", $1 = "_contentIconStyled_w8a84_30", Y1 = "_name_w8a84_56", K1 = "_email_w8a84_65", J1 = "_description_w8a84_81", Z1 = "_contenSocialNetwork_w8a84_93", X1 = "_socialIcon_w8a84_103", Te = {
|
|
6847
6825
|
content: V1,
|
|
@@ -6990,7 +6968,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6990
6968
|
}, hu = "_content_jg6i2_1", mu = "_bannerSection_jg6i2_25", sr = {
|
|
6991
6969
|
content: hu,
|
|
6992
6970
|
bannerSection: mu
|
|
6993
|
-
},
|
|
6971
|
+
}, yo = (e) => /* @__PURE__ */ m("section", { className: sr.content, children: [
|
|
6994
6972
|
e.children,
|
|
6995
6973
|
/* @__PURE__ */ m("div", { className: sr.bannerSection, children: [
|
|
6996
6974
|
e.bannerTop,
|
|
@@ -7159,10 +7137,10 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7159
7137
|
"data-after": `${r}`,
|
|
7160
7138
|
children: [
|
|
7161
7139
|
/* @__PURE__ */ a("hr", { className: ze.startLine }),
|
|
7162
|
-
e.titleUrl ? /* @__PURE__ */ a(
|
|
7140
|
+
e.titleUrl ? /* @__PURE__ */ a(D, { href: e.titleUrl, children: o }) : o,
|
|
7163
7141
|
/* @__PURE__ */ a("hr", { className: ze.line }),
|
|
7164
7142
|
e.titleUrl && /* @__PURE__ */ a(
|
|
7165
|
-
|
|
7143
|
+
D,
|
|
7166
7144
|
{
|
|
7167
7145
|
className: ze.readMore,
|
|
7168
7146
|
href: e.titleUrl?.toString() ?? ""
|
|
@@ -7248,7 +7226,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7248
7226
|
/* @__PURE__ */ a("input", { type: "checkbox", id: "side-bar-state" }),
|
|
7249
7227
|
/* @__PURE__ */ m("section", { className: le.sidebarCustom, children: [
|
|
7250
7228
|
/* @__PURE__ */ a("div", { className: le.buttonContent, children: /* @__PURE__ */ a("label", { className: le.buttonStyled, htmlFor: "side-bar-state", children: /* @__PURE__ */ a(xt, { className: le.icon }) }) }),
|
|
7251
|
-
/* @__PURE__ */ a("div", { className: le.inputContent, children: /* @__PURE__ */ m(
|
|
7229
|
+
/* @__PURE__ */ a("div", { className: le.inputContent, children: /* @__PURE__ */ m(D, { href: "/buscar", className: le.inputStyled, children: [
|
|
7252
7230
|
/* @__PURE__ */ m("p", { className: le.buscar, children: [
|
|
7253
7231
|
o,
|
|
7254
7232
|
"..."
|
|
@@ -7283,7 +7261,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7283
7261
|
htmlFor: "accordion_" + i,
|
|
7284
7262
|
children: [
|
|
7285
7263
|
s.link ? /* @__PURE__ */ a(
|
|
7286
|
-
|
|
7264
|
+
D,
|
|
7287
7265
|
{
|
|
7288
7266
|
className: `${le.linkStyledAccordion} ${le.linkStyled}`,
|
|
7289
7267
|
href: s.link ? s.link : void 0,
|
|
@@ -7302,7 +7280,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7302
7280
|
]
|
|
7303
7281
|
}
|
|
7304
7282
|
) : /* @__PURE__ */ a(
|
|
7305
|
-
|
|
7283
|
+
D,
|
|
7306
7284
|
{
|
|
7307
7285
|
className: le.linkStyled,
|
|
7308
7286
|
href: s.link ? s.link : void 0,
|
|
@@ -7318,7 +7296,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7318
7296
|
"--max-height": s.subitem.length * 45 + "px"
|
|
7319
7297
|
},
|
|
7320
7298
|
children: s.subitem.map((c, d) => /* @__PURE__ */ a(
|
|
7321
|
-
|
|
7299
|
+
D,
|
|
7322
7300
|
{
|
|
7323
7301
|
className: le.subLinkStyled,
|
|
7324
7302
|
href: c.link ? c.link : void 0,
|
|
@@ -7352,7 +7330,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7352
7330
|
] })
|
|
7353
7331
|
]
|
|
7354
7332
|
}
|
|
7355
|
-
),
|
|
7333
|
+
), vo = (e) => /* @__PURE__ */ m(
|
|
7356
7334
|
"svg",
|
|
7357
7335
|
{
|
|
7358
7336
|
width: "30",
|
|
@@ -7384,9 +7362,9 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7384
7362
|
headLine: nh,
|
|
7385
7363
|
live: ah,
|
|
7386
7364
|
closeLiveStyled: rh
|
|
7387
|
-
},
|
|
7365
|
+
}, bo = (e) => {
|
|
7388
7366
|
const { alertZone: t, id: n = "close-alert" } = e, r = () => /* @__PURE__ */ a(
|
|
7389
|
-
|
|
7367
|
+
D,
|
|
7390
7368
|
{
|
|
7391
7369
|
className: kt.headLine,
|
|
7392
7370
|
href: t?.data[0]?.info.link.url,
|
|
@@ -7447,7 +7425,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7447
7425
|
Array.isArray(t) && /* @__PURE__ */ m("div", { className: `${He.tabs} header-page-tape-content`, children: [
|
|
7448
7426
|
n !== "" && /* @__PURE__ */ a("p", { className: He.title, children: `${n}` }),
|
|
7449
7427
|
t && t[s] && /* @__PURE__ */ a(
|
|
7450
|
-
|
|
7428
|
+
D,
|
|
7451
7429
|
{
|
|
7452
7430
|
className: He.linkStyled,
|
|
7453
7431
|
target: t[s]?.target,
|
|
@@ -7463,7 +7441,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7463
7441
|
t && t.map((i, c) => {
|
|
7464
7442
|
if (c !== s)
|
|
7465
7443
|
return /* @__PURE__ */ a(
|
|
7466
|
-
|
|
7444
|
+
D,
|
|
7467
7445
|
{
|
|
7468
7446
|
className: He.linkStyled,
|
|
7469
7447
|
href: i?.link,
|
|
@@ -7527,7 +7505,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7527
7505
|
"aria-labelledby": "menu",
|
|
7528
7506
|
title: "menu",
|
|
7529
7507
|
children: /* @__PURE__ */ a(
|
|
7530
|
-
|
|
7508
|
+
vo,
|
|
7531
7509
|
{
|
|
7532
7510
|
className: Ie.startIcon,
|
|
7533
7511
|
color: "var(--header-icons)",
|
|
@@ -7538,7 +7516,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7538
7516
|
}
|
|
7539
7517
|
),
|
|
7540
7518
|
/* @__PURE__ */ a("div", { className: Ie.iconContent, children: /* @__PURE__ */ a(
|
|
7541
|
-
|
|
7519
|
+
D,
|
|
7542
7520
|
{
|
|
7543
7521
|
href: "/",
|
|
7544
7522
|
"aria-label": "Home",
|
|
@@ -7554,7 +7532,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7554
7532
|
!e.showAlertPop && t?.data && /* @__PURE__ */ m("div", { className: Ie.headLineContent, children: [
|
|
7555
7533
|
/* @__PURE__ */ a("div", { className: `${Ie.headLineTitle} headLineTitle`, children: t.entity.description ? `${t.entity.description}` : "" }),
|
|
7556
7534
|
/* @__PURE__ */ a(
|
|
7557
|
-
|
|
7535
|
+
D,
|
|
7558
7536
|
{
|
|
7559
7537
|
className: Ie.headLine,
|
|
7560
7538
|
href: t.data[0]?.info.link.url,
|
|
@@ -7575,7 +7553,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7575
7553
|
].join(" "),
|
|
7576
7554
|
children: [
|
|
7577
7555
|
/* @__PURE__ */ a(
|
|
7578
|
-
|
|
7556
|
+
D,
|
|
7579
7557
|
{
|
|
7580
7558
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
7581
7559
|
"aria-label": e.searchKeyWord,
|
|
@@ -7590,7 +7568,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7590
7568
|
)
|
|
7591
7569
|
] }),
|
|
7592
7570
|
!e.showAlertPop && /* @__PURE__ */ a(
|
|
7593
|
-
|
|
7571
|
+
bo,
|
|
7594
7572
|
{
|
|
7595
7573
|
alertZone: t,
|
|
7596
7574
|
forceShow: e.showAlertPop
|
|
@@ -7609,7 +7587,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7609
7587
|
const { items: t } = e;
|
|
7610
7588
|
return /* @__PURE__ */ a("ul", { className: Ve.ul, children: t.map((n, r) => /* @__PURE__ */ m("li", { className: `${Ve.liBefore} ${Ve.li}`, children: [
|
|
7611
7589
|
n.link ? /* @__PURE__ */ m(
|
|
7612
|
-
|
|
7590
|
+
D,
|
|
7613
7591
|
{
|
|
7614
7592
|
"aria-label": n.description,
|
|
7615
7593
|
className: Ve.linkStyled,
|
|
@@ -7625,7 +7603,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7625
7603
|
Array.isArray(n.subitem) && /* @__PURE__ */ a(bn, {})
|
|
7626
7604
|
] }),
|
|
7627
7605
|
Array.isArray(n.subitem) && /* @__PURE__ */ a("ul", { className: Ve.ulContent, children: /* @__PURE__ */ a("div", { className: Ve.contentModal, children: n.subitem.map((o, s) => /* @__PURE__ */ a("li", { className: Ve.li, children: /* @__PURE__ */ a(
|
|
7628
|
-
|
|
7606
|
+
D,
|
|
7629
7607
|
{
|
|
7630
7608
|
className: Ve.itemLink,
|
|
7631
7609
|
"aria-label": o.description,
|
|
@@ -7677,19 +7655,19 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7677
7655
|
"aria-labelledby": "menu",
|
|
7678
7656
|
title: "menu",
|
|
7679
7657
|
children: [
|
|
7680
|
-
/* @__PURE__ */ a(
|
|
7658
|
+
/* @__PURE__ */ a(vo, { color: "var(--header-icons)", width: 27, height: 27 }),
|
|
7681
7659
|
/* @__PURE__ */ a("p", { className: ye.buttonText, style: { lineHeight: 0 }, children: e.menuText })
|
|
7682
7660
|
]
|
|
7683
7661
|
}
|
|
7684
7662
|
) }),
|
|
7685
|
-
/* @__PURE__ */ a("div", { className: ye.logoContent, children: /* @__PURE__ */ a(
|
|
7663
|
+
/* @__PURE__ */ a("div", { className: ye.logoContent, children: /* @__PURE__ */ a(D, { href: "/", "aria-label": "Home", className: "header-logo-link", children: Ee.createElement(
|
|
7686
7664
|
"span",
|
|
7687
7665
|
{ className: `${ye.logoStyled}` },
|
|
7688
7666
|
e.icon
|
|
7689
7667
|
) }) }),
|
|
7690
7668
|
/* @__PURE__ */ m("div", { className: ye.buttonSection, children: [
|
|
7691
7669
|
/* @__PURE__ */ a(
|
|
7692
|
-
|
|
7670
|
+
D,
|
|
7693
7671
|
{
|
|
7694
7672
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
7695
7673
|
style: { display: "flex" },
|
|
@@ -7703,7 +7681,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7703
7681
|
!e.showAlertPop && n?.data ? /* @__PURE__ */ m("div", { className: ye.headLineContent, children: [
|
|
7704
7682
|
/* @__PURE__ */ a("p", { className: `${ye.headLineTitle} headLineTitle`, children: n.entity.description ? `${n.entity.description}` : "" }),
|
|
7705
7683
|
/* @__PURE__ */ a(
|
|
7706
|
-
|
|
7684
|
+
D,
|
|
7707
7685
|
{
|
|
7708
7686
|
className: ye.headLine,
|
|
7709
7687
|
href: n.data[0]?.info.link.url,
|
|
@@ -7749,7 +7727,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7749
7727
|
id: "content-layout",
|
|
7750
7728
|
children: [
|
|
7751
7729
|
e.showAlertPop && /* @__PURE__ */ a(
|
|
7752
|
-
|
|
7730
|
+
bo,
|
|
7753
7731
|
{
|
|
7754
7732
|
alertZone: t,
|
|
7755
7733
|
forceShow: e.showAlertPop,
|
|
@@ -7779,7 +7757,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7779
7757
|
tagStyled: lm
|
|
7780
7758
|
}, dm = (e) => /* @__PURE__ */ a("section", { className: gt.content, children: Array.isArray(e.tags) && /* @__PURE__ */ m("div", { className: gt.tags, children: [
|
|
7781
7759
|
/* @__PURE__ */ a("p", { className: gt.tagStyled, children: e.title ? e.title : "Tags:" }),
|
|
7782
|
-
e.tags.map((t, n) => t.approved ? /* @__PURE__ */ a(
|
|
7760
|
+
e.tags.map((t, n) => t.approved ? /* @__PURE__ */ a(D, { href: bs(t, e.paths), children: /* @__PURE__ */ a("div", { className: `${gt.chipStyled} ${gt.tagLink}`, children: t.name }) }, n) : /* @__PURE__ */ a("div", { className: gt.chipStyled, children: t.name }, n))
|
|
7783
7761
|
] }) }), um = "_contentBox_1rkkg_1", hm = "_content_1rkkg_1", mm = "_imageStyled_1rkkg_16", fm = "_contentIconStyled_1rkkg_23", gm = "_avatarContent_1rkkg_43", pm = "_journalistSection_1rkkg_50", Am = "_journalistInfo_1rkkg_56", wm = "_socialNetworkSection_1rkkg_70", ym = "_article_1rkkg_83", Pe = {
|
|
7784
7762
|
contentBox: um,
|
|
7785
7763
|
content: hm,
|
|
@@ -7795,7 +7773,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7795
7773
|
return t.addtional.USER_SHOWBIO && /* @__PURE__ */ a("section", { className: Pe.contentBox, children: /* @__PURE__ */ m("div", { className: Pe.content, children: [
|
|
7796
7774
|
/* @__PURE__ */ m("div", { className: Pe.avatarContent, children: [
|
|
7797
7775
|
/* @__PURE__ */ a(
|
|
7798
|
-
|
|
7776
|
+
D,
|
|
7799
7777
|
{
|
|
7800
7778
|
className: Pe.journalistInfo,
|
|
7801
7779
|
href: `/${e.paths.autor}/${t.info.name}`,
|
|
@@ -7812,7 +7790,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7812
7790
|
}
|
|
7813
7791
|
),
|
|
7814
7792
|
/* @__PURE__ */ m("section", { className: Pe.journalistSection, children: [
|
|
7815
|
-
/* @__PURE__ */ a("h3", { className: Pe.journalistInfo, children: /* @__PURE__ */ a(
|
|
7793
|
+
/* @__PURE__ */ a("h3", { className: Pe.journalistInfo, children: /* @__PURE__ */ a(D, { href: `/${e.paths.autor}/${t.info.name}`, children: t.info.fullname }) }),
|
|
7816
7794
|
/* @__PURE__ */ m("section", { className: Pe.socialNetworkSection, children: [
|
|
7817
7795
|
t.addtional.USER_USERFB && /* @__PURE__ */ a(
|
|
7818
7796
|
"a",
|
|
@@ -8051,7 +8029,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8051
8029
|
};
|
|
8052
8030
|
return /* @__PURE__ */ m("section", { className: `${Fe.content} destacado-super-content`, children: [
|
|
8053
8031
|
/* @__PURE__ */ a(
|
|
8054
|
-
|
|
8032
|
+
D,
|
|
8055
8033
|
{
|
|
8056
8034
|
href: e?.info?.link?.url,
|
|
8057
8035
|
target: e?.info?.link?.target,
|
|
@@ -8080,7 +8058,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8080
8058
|
"--widthTextContent": e.textPosition === "start" ? "100%" : "80%"
|
|
8081
8059
|
},
|
|
8082
8060
|
children: [
|
|
8083
|
-
/* @__PURE__ */ a(
|
|
8061
|
+
/* @__PURE__ */ a(D, { className: Fe.tagmx, href: e?.info?.section?.url, children: e?.info?.section?.name }),
|
|
8084
8062
|
/* @__PURE__ */ m(
|
|
8085
8063
|
"div",
|
|
8086
8064
|
{
|
|
@@ -8088,9 +8066,9 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8088
8066
|
position: "relative"
|
|
8089
8067
|
},
|
|
8090
8068
|
children: [
|
|
8091
|
-
/* @__PURE__ */ a(
|
|
8069
|
+
/* @__PURE__ */ a(D, { className: Fe.tag, href: e?.info?.section?.url, children: e?.info?.section?.name }),
|
|
8092
8070
|
/* @__PURE__ */ a(
|
|
8093
|
-
|
|
8071
|
+
D,
|
|
8094
8072
|
{
|
|
8095
8073
|
className: Fe.linkTitle,
|
|
8096
8074
|
href: e?.info?.link?.url,
|
|
@@ -8120,7 +8098,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8120
8098
|
}
|
|
8121
8099
|
),
|
|
8122
8100
|
e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
8123
|
-
|
|
8101
|
+
D,
|
|
8124
8102
|
{
|
|
8125
8103
|
href: `/${e.paths?.autor ?? "autor"}/${e?.authors[0]?.name}`,
|
|
8126
8104
|
className: Fe.correspondent,
|
|
@@ -8184,7 +8162,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8184
8162
|
}
|
|
8185
8163
|
),
|
|
8186
8164
|
!e.rightOnlyBanner && /* @__PURE__ */ a(
|
|
8187
|
-
|
|
8165
|
+
Ao,
|
|
8188
8166
|
{
|
|
8189
8167
|
block: e.block,
|
|
8190
8168
|
itemReverseOrder: c,
|
|
@@ -8272,9 +8250,9 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8272
8250
|
title: Wm,
|
|
8273
8251
|
subtitle: $m,
|
|
8274
8252
|
linkStyled: Ym
|
|
8275
|
-
},
|
|
8253
|
+
}, Co = (e) => /* @__PURE__ */ m("div", { className: qt.content, children: [
|
|
8276
8254
|
e?.mainNew?.info.section && /* @__PURE__ */ a(
|
|
8277
|
-
|
|
8255
|
+
D,
|
|
8278
8256
|
{
|
|
8279
8257
|
className: qt.sectionDescription,
|
|
8280
8258
|
href: e?.mainNew?.info?.section?.url,
|
|
@@ -8282,7 +8260,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8282
8260
|
}
|
|
8283
8261
|
),
|
|
8284
8262
|
/* @__PURE__ */ a(
|
|
8285
|
-
|
|
8263
|
+
D,
|
|
8286
8264
|
{
|
|
8287
8265
|
className: qt.title,
|
|
8288
8266
|
href: e?.mainNew?.info?.link?.url,
|
|
@@ -8291,7 +8269,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8291
8269
|
}
|
|
8292
8270
|
),
|
|
8293
8271
|
e?.mainNew?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className: qt.subtitle, children: e?.mainNew?.main?.subtitle?.striped }),
|
|
8294
|
-
e.goTo && /* @__PURE__ */ a(
|
|
8272
|
+
e.goTo && /* @__PURE__ */ a(D, { href: e.goTo.url, className: qt.linkStyled, children: e.goTo.description })
|
|
8295
8273
|
] }), Km = "_headerSection_drjnj_1", Jm = "_headerSectionLink_drjnj_12", Zm = "_newsContent_drjnj_17", Qn = {
|
|
8296
8274
|
headerSection: Km,
|
|
8297
8275
|
headerSectionLink: Jm,
|
|
@@ -8311,9 +8289,9 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8311
8289
|
}, i = t.slice(1);
|
|
8312
8290
|
return s && i && /* @__PURE__ */ m(me, { title: n, titleUrl: e.titleUrl, children: [
|
|
8313
8291
|
/* @__PURE__ */ m("div", { className: Qn.headerSection, children: [
|
|
8314
|
-
/* @__PURE__ */ a(
|
|
8292
|
+
/* @__PURE__ */ a(Co, { mainNew: s, goTo: e.goTo }),
|
|
8315
8293
|
/* @__PURE__ */ a(
|
|
8316
|
-
|
|
8294
|
+
D,
|
|
8317
8295
|
{
|
|
8318
8296
|
className: Qn.headerSectionLink,
|
|
8319
8297
|
href: s?.info?.link?.url,
|
|
@@ -8373,7 +8351,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8373
8351
|
] });
|
|
8374
8352
|
return /* @__PURE__ */ m("div", { className: We.content, children: [
|
|
8375
8353
|
t?.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
8376
|
-
|
|
8354
|
+
D,
|
|
8377
8355
|
{
|
|
8378
8356
|
href: t.authors[0]?.internaluser ? `/${e.paths.autor}/${t?.authors[0]?.name}` : "#",
|
|
8379
8357
|
children: s
|
|
@@ -8381,7 +8359,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8381
8359
|
) : s,
|
|
8382
8360
|
/* @__PURE__ */ m("div", { className: We.boxInformationContent, children: [
|
|
8383
8361
|
/* @__PURE__ */ a(
|
|
8384
|
-
|
|
8362
|
+
D,
|
|
8385
8363
|
{
|
|
8386
8364
|
className: We.title,
|
|
8387
8365
|
href: t?.info?.link?.url,
|
|
@@ -8581,7 +8559,7 @@ const o3 = (e) => {
|
|
|
8581
8559
|
children: r
|
|
8582
8560
|
}
|
|
8583
8561
|
);
|
|
8584
|
-
},
|
|
8562
|
+
}, _o = (e) => /* @__PURE__ */ a(me, { title: e.title, titleUrl: e.titleUrl, children: /* @__PURE__ */ a(
|
|
8585
8563
|
E2,
|
|
8586
8564
|
{
|
|
8587
8565
|
content: e.content,
|
|
@@ -8669,9 +8647,9 @@ const o3 = (e) => {
|
|
|
8669
8647
|
const o = t[0], s = e.slot_id && e.slot_id !== "Nota_1", i = t.slice(1);
|
|
8670
8648
|
return o && i && /* @__PURE__ */ m(me, { title: n, titleUrl: e.titleUrl, children: [
|
|
8671
8649
|
/* @__PURE__ */ m("div", { className: zn.headerSection, children: [
|
|
8672
|
-
/* @__PURE__ */ a(
|
|
8650
|
+
/* @__PURE__ */ a(Co, { goTo: e.goTo, mainNew: Dt(o) }),
|
|
8673
8651
|
/* @__PURE__ */ a(
|
|
8674
|
-
|
|
8652
|
+
D,
|
|
8675
8653
|
{
|
|
8676
8654
|
className: zn.headerSectionLink,
|
|
8677
8655
|
href: o?.info?.link.url,
|
|
@@ -8733,7 +8711,7 @@ const o3 = (e) => {
|
|
|
8733
8711
|
},
|
|
8734
8712
|
children: [
|
|
8735
8713
|
/* @__PURE__ */ a(
|
|
8736
|
-
|
|
8714
|
+
D,
|
|
8737
8715
|
{
|
|
8738
8716
|
className: Rt.linkImage,
|
|
8739
8717
|
target: e?.info?.link?.target,
|
|
@@ -8744,7 +8722,7 @@ const o3 = (e) => {
|
|
|
8744
8722
|
),
|
|
8745
8723
|
/* @__PURE__ */ m("div", { className: Rt.textContent, children: [
|
|
8746
8724
|
/* @__PURE__ */ a(
|
|
8747
|
-
|
|
8725
|
+
D,
|
|
8748
8726
|
{
|
|
8749
8727
|
className: Rt.sectionDescription,
|
|
8750
8728
|
target: e?.info?.link?.target,
|
|
@@ -8861,14 +8839,14 @@ const o3 = (e) => {
|
|
|
8861
8839
|
) : /* @__PURE__ */ a("div", { className: nt.contentIcon, children: e.autorIcon }),
|
|
8862
8840
|
/* @__PURE__ */ m("div", { className: nt.boxInformation, children: [
|
|
8863
8841
|
/* @__PURE__ */ a("p", { className: nt.authorName, children: t?.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
8864
|
-
|
|
8842
|
+
D,
|
|
8865
8843
|
{
|
|
8866
8844
|
href: t.authors[0]?.internaluser ? `/${e.paths.autor}/${t?.authors[0]?.name}` : "#",
|
|
8867
8845
|
children: t?.authors[0]?.fullname ?? "Redacción"
|
|
8868
8846
|
}
|
|
8869
8847
|
) : t?.authors[0]?.fullname ?? "Redacción" }),
|
|
8870
8848
|
/* @__PURE__ */ a("p", { className: nt.title, children: /* @__PURE__ */ a(
|
|
8871
|
-
|
|
8849
|
+
D,
|
|
8872
8850
|
{
|
|
8873
8851
|
className: nt.linkStyled,
|
|
8874
8852
|
href: t?.info?.link?.url,
|
|
@@ -8974,7 +8952,7 @@ const o3 = (e) => {
|
|
|
8974
8952
|
switch (e.option) {
|
|
8975
8953
|
case "op1":
|
|
8976
8954
|
return /* @__PURE__ */ a(
|
|
8977
|
-
|
|
8955
|
+
yo,
|
|
8978
8956
|
{
|
|
8979
8957
|
ranking: s,
|
|
8980
8958
|
readestTitle: c.readestTitle ?? "",
|
|
@@ -9359,7 +9337,7 @@ const Qf = async ({
|
|
|
9359
9337
|
Telegram: "telegram"
|
|
9360
9338
|
};
|
|
9361
9339
|
function zf({ url: e }) {
|
|
9362
|
-
return e && e !== "" && /* @__PURE__ */ m(
|
|
9340
|
+
return e && e !== "" && /* @__PURE__ */ m(D, { href: e, className: de.googleProfileButton, children: [
|
|
9363
9341
|
/* @__PURE__ */ a(
|
|
9364
9342
|
"svg",
|
|
9365
9343
|
{
|
|
@@ -9492,7 +9470,7 @@ const Hf = () => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9492
9470
|
__html: e.rendered
|
|
9493
9471
|
}
|
|
9494
9472
|
}
|
|
9495
|
-
),
|
|
9473
|
+
), No = async ({
|
|
9496
9474
|
newsformated: e,
|
|
9497
9475
|
internal: t
|
|
9498
9476
|
}) => {
|
|
@@ -9608,7 +9586,7 @@ const e0 = (e) => /* @__PURE__ */ a(
|
|
|
9608
9586
|
), n0 = (e) => e.replace(
|
|
9609
9587
|
/<iframe(?![^>]*\btitle=)[^>]*>/gi,
|
|
9610
9588
|
(n) => n.replace("<iframe", '<iframe title="frame custom content"')
|
|
9611
|
-
),
|
|
9589
|
+
), So = async (e) => {
|
|
9612
9590
|
const t = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, n = [...e.matchAll(t)], r = {};
|
|
9613
9591
|
for (const o of n) {
|
|
9614
9592
|
const s = o[1] ?? "", i = e.includes(s) ? { url: s } : null;
|
|
@@ -9722,7 +9700,7 @@ async function s0(e, t) {
|
|
|
9722
9700
|
<figure class="videoFigure">
|
|
9723
9701
|
${f && f.data && f.data.data && /* @__PURE__ */ m("script", { type: "application/ld+json", children: [
|
|
9724
9702
|
"$",
|
|
9725
|
-
|
|
9703
|
+
So(
|
|
9726
9704
|
JSON.stringify(f.data.data) || ""
|
|
9727
9705
|
)
|
|
9728
9706
|
] })}
|
|
@@ -9746,7 +9724,7 @@ async function i0(e) {
|
|
|
9746
9724
|
getVideos: c
|
|
9747
9725
|
} = e;
|
|
9748
9726
|
let d = t?.body?.rendered ?? "";
|
|
9749
|
-
d = d.replace(/ /g, ""), d = a0(d, n), d = r0(d), d = await
|
|
9727
|
+
d = d.replace(/ /g, ""), d = a0(d, n), d = r0(d), d = await So(d), d = await o0(
|
|
9750
9728
|
d,
|
|
9751
9729
|
e.texts,
|
|
9752
9730
|
r
|
|
@@ -9754,12 +9732,12 @@ async function i0(e) {
|
|
|
9754
9732
|
const l = t.main.sources ?? [];
|
|
9755
9733
|
return /* @__PURE__ */ m("div", { className: en.content, children: [
|
|
9756
9734
|
o !== "liveblogs" && e.showHeaderImage ? t.hascontent?.hasgalleryimages ? /* @__PURE__ */ a(
|
|
9757
|
-
|
|
9735
|
+
No,
|
|
9758
9736
|
{
|
|
9759
9737
|
newsformated: t,
|
|
9760
9738
|
internal: t.info.link.internal
|
|
9761
9739
|
}
|
|
9762
|
-
) : /* @__PURE__ */ a(
|
|
9740
|
+
) : /* @__PURE__ */ a(wo, { preview: t.preview }) : null,
|
|
9763
9741
|
/* @__PURE__ */ a(ge, { banners: n, name: "block_1" }),
|
|
9764
9742
|
/* @__PURE__ */ a("div", { className: en.journalistArticleContent, children: /* @__PURE__ */ a(
|
|
9765
9743
|
Vf,
|
|
@@ -9879,7 +9857,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
9879
9857
|
}, y0 = ({ news: e }) => {
|
|
9880
9858
|
const { config: t, hascontent: n, info: r } = e, o = t.articlepreview, s = r.link.internal, i = n?.hasgalleryimages;
|
|
9881
9859
|
if (o === rt.imagen && i)
|
|
9882
|
-
return /* @__PURE__ */ a("div", { className: gr.content, children: /* @__PURE__ */ a(
|
|
9860
|
+
return /* @__PURE__ */ a("div", { className: gr.content, children: /* @__PURE__ */ a(No, { newsformated: e, internal: s }) });
|
|
9883
9861
|
const c = o ? w0[o] : null;
|
|
9884
9862
|
return c ? /* @__PURE__ */ a("div", { className: gr.content, children: /* @__PURE__ */ a(c, { newsformated: e, internal: s }) }) : null;
|
|
9885
9863
|
}, v0 = (e) => {
|
|
@@ -10013,7 +9991,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
10013
9991
|
}, pr = {
|
|
10014
9992
|
banner: (e) => /* @__PURE__ */ a(ge, { ...e, name: e.slot_id.replace("Home", "block") }),
|
|
10015
9993
|
readest: (e) => /* @__PURE__ */ a(va, { ...e }),
|
|
10016
|
-
"Modulo 1x3": (e) => /* @__PURE__ */ a(
|
|
9994
|
+
"Modulo 1x3": (e) => /* @__PURE__ */ a(_o, { ...e }),
|
|
10017
9995
|
"Modulo 1x4": (e) => /* @__PURE__ */ a(I2, { ...e }),
|
|
10018
9996
|
"Modulo 1x5": (e) => /* @__PURE__ */ a(R2, { ...e }),
|
|
10019
9997
|
"Destacado noticias": (e) => /* @__PURE__ */ a(Xm, { ...e }),
|
|
@@ -10026,7 +10004,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
10026
10004
|
"Carrusel opinion": (e) => /* @__PURE__ */ a(of, { ...e }),
|
|
10027
10005
|
"Modulo 1x3 card": (e) => /* @__PURE__ */ a(Y2, { ...e })
|
|
10028
10006
|
};
|
|
10029
|
-
function
|
|
10007
|
+
function Eo({
|
|
10030
10008
|
component: e,
|
|
10031
10009
|
slot_id: t,
|
|
10032
10010
|
data: n,
|
|
@@ -10128,7 +10106,7 @@ const Ar = {
|
|
|
10128
10106
|
order: (h - 1) * l + (f - 1),
|
|
10129
10107
|
children: [
|
|
10130
10108
|
/* @__PURE__ */ a(
|
|
10131
|
-
|
|
10109
|
+
Eo,
|
|
10132
10110
|
{
|
|
10133
10111
|
component: e[w].blockSass[0].block,
|
|
10134
10112
|
banners: s,
|
|
@@ -10293,7 +10271,7 @@ const Ar = {
|
|
|
10293
10271
|
),
|
|
10294
10272
|
/* @__PURE__ */ a(dt, { children: /* @__PURE__ */ a(at, { banners: r, index: 2 }) }),
|
|
10295
10273
|
/* @__PURE__ */ a(
|
|
10296
|
-
|
|
10274
|
+
Eo,
|
|
10297
10275
|
{
|
|
10298
10276
|
component: "Carrusel card",
|
|
10299
10277
|
banners: [],
|
|
@@ -10532,7 +10510,7 @@ const Ar = {
|
|
|
10532
10510
|
return /* @__PURE__ */ a(K, { children: /* @__PURE__ */ m(or, { children: [
|
|
10533
10511
|
/* @__PURE__ */ a(eu, { autor: r[0], autorIcon: e.autorIcon }),
|
|
10534
10512
|
/* @__PURE__ */ a(
|
|
10535
|
-
|
|
10513
|
+
yo,
|
|
10536
10514
|
{
|
|
10537
10515
|
paths: e.paths,
|
|
10538
10516
|
ranking: c,
|
|
@@ -10615,7 +10593,7 @@ const Ar = {
|
|
|
10615
10593
|
/* @__PURE__ */ a(uu, { autor: r[0], autorIcon: e.autorIcon }),
|
|
10616
10594
|
Array.isArray(t) ? /* @__PURE__ */ m(K, { children: [
|
|
10617
10595
|
/* @__PURE__ */ a(
|
|
10618
|
-
|
|
10596
|
+
_o,
|
|
10619
10597
|
{
|
|
10620
10598
|
content: t,
|
|
10621
10599
|
title: "",
|
|
@@ -10686,7 +10664,7 @@ const Ar = {
|
|
|
10686
10664
|
const { size: t = "longer", video: n } = e, r = n.main.image.sizes[0]?.url ?? "";
|
|
10687
10665
|
return /* @__PURE__ */ a("figure", { className: Ot.figure, children: /* @__PURE__ */ m("span", { className: Ot.backdrop, children: [
|
|
10688
10666
|
/* @__PURE__ */ a("span", { className: Ot.backDropAux }),
|
|
10689
|
-
/* @__PURE__ */ a(
|
|
10667
|
+
/* @__PURE__ */ a(D, { href: n.info.link.url, target: n.info.link.target, children: /* @__PURE__ */ m("div", { children: [
|
|
10690
10668
|
n.main.image.sizes.map(async (o, s) => o.width >= 580 ? /* @__PURE__ */ a(
|
|
10691
10669
|
"source",
|
|
10692
10670
|
{
|
|
@@ -10741,7 +10719,7 @@ const Ar = {
|
|
|
10741
10719
|
}, _g = (e) => {
|
|
10742
10720
|
const { video: t } = e;
|
|
10743
10721
|
return /* @__PURE__ */ a(
|
|
10744
|
-
|
|
10722
|
+
D,
|
|
10745
10723
|
{
|
|
10746
10724
|
href: t.info.link.url ? t.info.link.url : void 0,
|
|
10747
10725
|
target: t.info.link.target,
|
|
@@ -10768,7 +10746,7 @@ const Ar = {
|
|
|
10768
10746
|
/* @__PURE__ */ a(_g, { video: e.video }),
|
|
10769
10747
|
/* @__PURE__ */ m("div", { className: it.articleSection, children: [
|
|
10770
10748
|
/* @__PURE__ */ a(
|
|
10771
|
-
|
|
10749
|
+
D,
|
|
10772
10750
|
{
|
|
10773
10751
|
className: it.title,
|
|
10774
10752
|
href: e.video.info.link.url,
|
|
@@ -10834,18 +10812,18 @@ const Sg = (e) => {
|
|
|
10834
10812
|
hasShadow: r = !1,
|
|
10835
10813
|
BackDropAuxHeigthMobile: o
|
|
10836
10814
|
//isVisible,
|
|
10837
|
-
} = e, s =
|
|
10815
|
+
} = e, s = Mo(
|
|
10838
10816
|
() => e?.preview?.sizes || [],
|
|
10839
10817
|
[e?.preview?.sizes]
|
|
10840
10818
|
);
|
|
10841
10819
|
if (!s.length || !s[0]?.url || s[0]?.url === "")
|
|
10842
|
-
return /* @__PURE__ */ a("div", { className:
|
|
10820
|
+
return /* @__PURE__ */ a("div", { className: oe.imagePlaceholder });
|
|
10843
10821
|
const { PUBLIC_API_HOST: i, PUBLIC_ENV: c } = J();
|
|
10844
|
-
return /* @__PURE__ */ a("figure", { className:
|
|
10822
|
+
return /* @__PURE__ */ a("figure", { className: oe.figure, children: /* @__PURE__ */ m("span", { className: oe.backdrop, children: [
|
|
10845
10823
|
/* @__PURE__ */ a(
|
|
10846
10824
|
"span",
|
|
10847
10825
|
{
|
|
10848
|
-
className:
|
|
10826
|
+
className: oe.backdropAux,
|
|
10849
10827
|
style: {
|
|
10850
10828
|
height: o || "56.25%"
|
|
10851
10829
|
}
|
|
@@ -10857,7 +10835,7 @@ const Sg = (e) => {
|
|
|
10857
10835
|
{
|
|
10858
10836
|
fetchPriority: "low",
|
|
10859
10837
|
loading: "lazy",
|
|
10860
|
-
className:
|
|
10838
|
+
className: oe.imageStyled,
|
|
10861
10839
|
alt: e.preview?.description || "",
|
|
10862
10840
|
src: (c === "local" ? i : "") + s[0]?.url,
|
|
10863
10841
|
style: {
|
|
@@ -10869,14 +10847,14 @@ const Sg = (e) => {
|
|
|
10869
10847
|
/* @__PURE__ */ a(
|
|
10870
10848
|
"div",
|
|
10871
10849
|
{
|
|
10872
|
-
className:
|
|
10850
|
+
className: oe.boxPlayIcon,
|
|
10873
10851
|
style: { height: n ? "40%" : "72px" }
|
|
10874
10852
|
}
|
|
10875
10853
|
),
|
|
10876
10854
|
/* @__PURE__ */ a(
|
|
10877
10855
|
vt,
|
|
10878
10856
|
{
|
|
10879
|
-
className:
|
|
10857
|
+
className: oe.playStyled,
|
|
10880
10858
|
style: {
|
|
10881
10859
|
width: n ? "3rem" : "27px",
|
|
10882
10860
|
height: n ? "3rem" : "27px",
|
|
@@ -11033,7 +11011,7 @@ const Sg = (e) => {
|
|
|
11033
11011
|
style: { order: s },
|
|
11034
11012
|
children: /* @__PURE__ */ m("section", { className: Pt.content, children: [
|
|
11035
11013
|
/* @__PURE__ */ a(
|
|
11036
|
-
|
|
11014
|
+
D,
|
|
11037
11015
|
{
|
|
11038
11016
|
title: i?.title?.section,
|
|
11039
11017
|
href: d?.link?.url ?? "invalidUrl",
|
|
@@ -11080,23 +11058,23 @@ const Sg = (e) => {
|
|
|
11080
11058
|
const s = e.authors[0], i = Me(e.info?.date?.modified);
|
|
11081
11059
|
return s && e?.config?.showtime && e.config?.showauthor ? `${s.fullname} - ${i}` : s && e.config?.showauthor ? s.fullname : e?.config?.showtime ? i : "";
|
|
11082
11060
|
})();
|
|
11083
|
-
return /* @__PURE__ */ m("div", { className:
|
|
11084
|
-
t && /* @__PURE__ */ a(Eg, { className:
|
|
11085
|
-
e?.info?.section?.url && /* @__PURE__ */ m("div", { className:
|
|
11061
|
+
return /* @__PURE__ */ m("div", { className: se.boxInformation, children: [
|
|
11062
|
+
t && /* @__PURE__ */ a(Eg, { className: se.dotStyles }),
|
|
11063
|
+
e?.info?.section?.url && /* @__PURE__ */ m("div", { className: se.sectionDescriptionContainer, children: [
|
|
11086
11064
|
/* @__PURE__ */ a(
|
|
11087
|
-
|
|
11065
|
+
D,
|
|
11088
11066
|
{
|
|
11089
|
-
className:
|
|
11067
|
+
className: se.sectionDescription,
|
|
11090
11068
|
href: e.info.section.url ?? "invalidUrl",
|
|
11091
11069
|
children: e.info.section.name
|
|
11092
11070
|
}
|
|
11093
11071
|
),
|
|
11094
|
-
e?.main?.uppertitle && /* @__PURE__ */ a("p", { className:
|
|
11072
|
+
e?.main?.uppertitle && /* @__PURE__ */ a("p", { className: se.uppertitle, children: e.main.uppertitle })
|
|
11095
11073
|
] }),
|
|
11096
|
-
/* @__PURE__ */ a("h2", { className:
|
|
11097
|
-
|
|
11074
|
+
/* @__PURE__ */ a("h2", { className: se.articule, children: /* @__PURE__ */ a(
|
|
11075
|
+
D,
|
|
11098
11076
|
{
|
|
11099
|
-
className:
|
|
11077
|
+
className: se.linkStyled,
|
|
11100
11078
|
style: {
|
|
11101
11079
|
"--isLink": e?.info?.link?.url ? "underline" : "none"
|
|
11102
11080
|
},
|
|
@@ -11109,7 +11087,7 @@ const Sg = (e) => {
|
|
|
11109
11087
|
e.config?.showsubtitle && e.main?.subtitle?.striped && /* @__PURE__ */ a(
|
|
11110
11088
|
"p",
|
|
11111
11089
|
{
|
|
11112
|
-
className:
|
|
11090
|
+
className: se.description,
|
|
11113
11091
|
style: {
|
|
11114
11092
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
11115
11093
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
@@ -11119,13 +11097,13 @@ const Sg = (e) => {
|
|
|
11119
11097
|
}
|
|
11120
11098
|
),
|
|
11121
11099
|
(e?.config?.showtime || e.config?.showauthor) && o && /* @__PURE__ */ a(K, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
11122
|
-
|
|
11100
|
+
D,
|
|
11123
11101
|
{
|
|
11124
|
-
className:
|
|
11102
|
+
className: se.correspondentLink,
|
|
11125
11103
|
href: `/autor/${e.authors[0].name}`,
|
|
11126
11104
|
children: o
|
|
11127
11105
|
}
|
|
11128
|
-
) : /* @__PURE__ */ a("div", { className:
|
|
11106
|
+
) : /* @__PURE__ */ a("div", { className: se.correspondent, children: o }) })
|
|
11129
11107
|
] });
|
|
11130
11108
|
}, kg = ({
|
|
11131
11109
|
user: e,
|
|
@@ -11185,7 +11163,7 @@ const Sg = (e) => {
|
|
|
11185
11163
|
successMessage: Wg,
|
|
11186
11164
|
errorMessage: $g,
|
|
11187
11165
|
loadingContainer: Yg
|
|
11188
|
-
},
|
|
11166
|
+
}, xo = async (e) => {
|
|
11189
11167
|
const { PUBLIC_ENV: t } = J();
|
|
11190
11168
|
if (t === "local") return !0;
|
|
11191
11169
|
if (!e) return !1;
|
|
@@ -11224,7 +11202,7 @@ async function v3({
|
|
|
11224
11202
|
);
|
|
11225
11203
|
if (typeof e != "string" || typeof t != "string" || typeof n != "string" || typeof r != "string" || typeof s != "string")
|
|
11226
11204
|
throw new Error("Todos los parámetros deben ser strings");
|
|
11227
|
-
if (!await
|
|
11205
|
+
if (!await xo(s))
|
|
11228
11206
|
throw new Error("Token de captcha inválido");
|
|
11229
11207
|
if (!i)
|
|
11230
11208
|
throw new Error("Falta el token de API del CMS");
|
|
@@ -11243,7 +11221,7 @@ async function v3({
|
|
|
11243
11221
|
encodedType: d,
|
|
11244
11222
|
url: u
|
|
11245
11223
|
});
|
|
11246
|
-
const h = await
|
|
11224
|
+
const h = await re.post(u, null, {
|
|
11247
11225
|
headers: {
|
|
11248
11226
|
"User-Agent": "Bluestack",
|
|
11249
11227
|
"x-api-token": i,
|
|
@@ -11259,7 +11237,7 @@ async function v3({
|
|
|
11259
11237
|
};
|
|
11260
11238
|
throw new Error(`Respuesta inesperada del servidor: ${h.status}`);
|
|
11261
11239
|
} catch (h) {
|
|
11262
|
-
if (console.error("Error reporting comment:", h),
|
|
11240
|
+
if (console.error("Error reporting comment:", h), re.isAxiosError(h)) {
|
|
11263
11241
|
const f = h.response?.status, w = h.response?.data;
|
|
11264
11242
|
throw f === 400 ? new Error("Datos inválidos para el reporte") : f === 401 ? new Error("Token de API inválido") : f === 403 ? new Error("Acceso denegado para reportar comentario") : f === 404 ? new Error("Comentario no encontrado") : f === 409 ? new Error("El comentario ya fue reportado por este usuario") : f === 500 ? new Error("Error interno del servidor CMS") : new Error(
|
|
11265
11243
|
w?.error || w?.message || `Error HTTP ${f}: No se pudo reportar el comentario`
|
|
@@ -11295,7 +11273,7 @@ const Ea = (e, t) => {
|
|
|
11295
11273
|
if (!e || !e.current) return { boolean: !1, text: "" };
|
|
11296
11274
|
const n = e.current?.value || "", r = n.length > ht, { PUBLIC_ENV: o } = J(), s = o === "local", i = n.trim() !== "" && (s || t !== "") && !r, c = r ? `No debes exceder el limite de ${ht} caracteres.` : "Debes completar todos los campos para comentar.";
|
|
11297
11275
|
return { boolean: i, text: c };
|
|
11298
|
-
},
|
|
11276
|
+
}, To = (e) => {
|
|
11299
11277
|
const t = e.cookie.split("; ").find((n) => n.startsWith("reported="));
|
|
11300
11278
|
if (!t) return [];
|
|
11301
11279
|
try {
|
|
@@ -11304,7 +11282,7 @@ const Ea = (e, t) => {
|
|
|
11304
11282
|
return [];
|
|
11305
11283
|
}
|
|
11306
11284
|
}, Jg = (e, t) => {
|
|
11307
|
-
const n =
|
|
11285
|
+
const n = To(e);
|
|
11308
11286
|
n.includes(t) || (n.push(t), e.cookie = `reported=${encodeURIComponent(
|
|
11309
11287
|
JSON.stringify(n)
|
|
11310
11288
|
)}; path=/; max-age=${3600 * 24 * 1}`);
|
|
@@ -11428,7 +11406,7 @@ function ep() {
|
|
|
11428
11406
|
}
|
|
11429
11407
|
}
|
|
11430
11408
|
}
|
|
11431
|
-
var v = d, B = l, R = c, Y = i, te = t, Q = u,
|
|
11409
|
+
var v = d, B = l, R = c, Y = i, te = t, Q = u, O = r, ee = g, ce = w, M = n, U = s, E = o, P = h, T = !1;
|
|
11432
11410
|
function z(q) {
|
|
11433
11411
|
return T || (T = !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.")), y(q) || x(q) === d;
|
|
11434
11412
|
}
|
|
@@ -11468,7 +11446,7 @@ function ep() {
|
|
|
11468
11446
|
function ie(q) {
|
|
11469
11447
|
return x(q) === h;
|
|
11470
11448
|
}
|
|
11471
|
-
ae.AsyncMode = v, ae.ConcurrentMode = B, ae.ContextConsumer = R, ae.ContextProvider = Y, ae.Element = te, ae.ForwardRef = Q, ae.Fragment =
|
|
11449
|
+
ae.AsyncMode = v, ae.ConcurrentMode = B, ae.ContextConsumer = R, ae.ContextProvider = Y, ae.Element = te, ae.ForwardRef = Q, ae.Fragment = O, ae.Lazy = ee, ae.Memo = ce, ae.Portal = M, ae.Profiler = U, ae.StrictMode = E, ae.Suspense = P, ae.isAsyncMode = z, ae.isConcurrentMode = y, ae.isContextConsumer = C, ae.isContextProvider = k, ae.isElement = j, ae.isForwardRef = L, ae.isFragment = G, ae.isLazy = H, ae.isMemo = V, ae.isPortal = Z, ae.isProfiler = X, ae.isStrictMode = F, ae.isSuspense = ie, ae.isValidElementType = N, ae.typeOf = x;
|
|
11472
11450
|
})()), ae;
|
|
11473
11451
|
}
|
|
11474
11452
|
var Nr;
|
|
@@ -11529,7 +11507,7 @@ function Ta() {
|
|
|
11529
11507
|
return $n = e, $n;
|
|
11530
11508
|
}
|
|
11531
11509
|
var Yn, xr;
|
|
11532
|
-
function
|
|
11510
|
+
function Io() {
|
|
11533
11511
|
return xr || (xr = 1, Yn = Function.call.bind(Object.prototype.hasOwnProperty)), Yn;
|
|
11534
11512
|
}
|
|
11535
11513
|
var Kn, Tr;
|
|
@@ -11539,7 +11517,7 @@ function np() {
|
|
|
11539
11517
|
var e = function() {
|
|
11540
11518
|
};
|
|
11541
11519
|
if (process.env.NODE_ENV !== "production") {
|
|
11542
|
-
var t = /* @__PURE__ */ Ta(), n = {}, r = /* @__PURE__ */
|
|
11520
|
+
var t = /* @__PURE__ */ Ta(), n = {}, r = /* @__PURE__ */ Io();
|
|
11543
11521
|
e = function(s) {
|
|
11544
11522
|
var i = "Warning: " + s;
|
|
11545
11523
|
typeof console < "u" && console.error(i);
|
|
@@ -11585,7 +11563,7 @@ var Jn, Ir;
|
|
|
11585
11563
|
function ap() {
|
|
11586
11564
|
if (Ir) return Jn;
|
|
11587
11565
|
Ir = 1;
|
|
11588
|
-
var e = xa(), t = tp(), n = /* @__PURE__ */ Ta(), r = /* @__PURE__ */
|
|
11566
|
+
var e = xa(), t = tp(), n = /* @__PURE__ */ Ta(), r = /* @__PURE__ */ Io(), o = /* @__PURE__ */ np(), s = function() {
|
|
11589
11567
|
};
|
|
11590
11568
|
process.env.NODE_ENV !== "production" && (s = function(c) {
|
|
11591
11569
|
var d = "Warning: " + c;
|
|
@@ -11660,7 +11638,7 @@ function ap() {
|
|
|
11660
11638
|
function C(k, j, L, G, H, V) {
|
|
11661
11639
|
var Z = k[j], X = E(Z);
|
|
11662
11640
|
if (X !== y) {
|
|
11663
|
-
var F =
|
|
11641
|
+
var F = P(Z);
|
|
11664
11642
|
return new p(
|
|
11665
11643
|
"Invalid " + G + " `" + H + "` of type " + ("`" + F + "` supplied to `" + L + "`, expected ") + ("`" + y + "`."),
|
|
11666
11644
|
{ expectedType: y }
|
|
@@ -11733,7 +11711,7 @@ function ap() {
|
|
|
11733
11711
|
if (g(V, y[Z]))
|
|
11734
11712
|
return null;
|
|
11735
11713
|
var X = JSON.stringify(y, function(ie, q) {
|
|
11736
|
-
var Ae =
|
|
11714
|
+
var Ae = P(q);
|
|
11737
11715
|
return Ae === "symbol" ? String(q) : q;
|
|
11738
11716
|
});
|
|
11739
11717
|
return new p("Invalid " + G + " `" + H + "` of value `" + String(V) + "` " + ("supplied to `" + L + "`, expected one of " + X + "."));
|
|
@@ -11785,7 +11763,7 @@ function ap() {
|
|
|
11785
11763
|
}
|
|
11786
11764
|
return A(y);
|
|
11787
11765
|
}
|
|
11788
|
-
function
|
|
11766
|
+
function O(y, C, k, j, L) {
|
|
11789
11767
|
return new p(
|
|
11790
11768
|
(y || "React class") + ": " + C + " type `" + k + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + L + "`."
|
|
11791
11769
|
);
|
|
@@ -11798,7 +11776,7 @@ function ap() {
|
|
|
11798
11776
|
for (var X in y) {
|
|
11799
11777
|
var F = y[X];
|
|
11800
11778
|
if (typeof F != "function")
|
|
11801
|
-
return
|
|
11779
|
+
return O(L, G, H, X, P(F));
|
|
11802
11780
|
var ie = F(V, X, L, G, H + "." + X, n);
|
|
11803
11781
|
if (ie)
|
|
11804
11782
|
return ie;
|
|
@@ -11816,7 +11794,7 @@ function ap() {
|
|
|
11816
11794
|
for (var F in X) {
|
|
11817
11795
|
var ie = y[F];
|
|
11818
11796
|
if (r(y, F) && typeof ie != "function")
|
|
11819
|
-
return
|
|
11797
|
+
return O(L, G, H, F, P(ie));
|
|
11820
11798
|
if (!ie)
|
|
11821
11799
|
return new p(
|
|
11822
11800
|
"Invalid " + G + " `" + H + "` key `" + F + "` supplied to `" + L + "`.\nBad object: " + JSON.stringify(k[j], null, " ") + `
|
|
@@ -11870,7 +11848,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11870
11848
|
var C = typeof y;
|
|
11871
11849
|
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : U(C, y) ? "symbol" : C;
|
|
11872
11850
|
}
|
|
11873
|
-
function
|
|
11851
|
+
function P(y) {
|
|
11874
11852
|
if (typeof y > "u" || y === null)
|
|
11875
11853
|
return "" + y;
|
|
11876
11854
|
var C = E(y);
|
|
@@ -11883,7 +11861,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11883
11861
|
return C;
|
|
11884
11862
|
}
|
|
11885
11863
|
function T(y) {
|
|
11886
|
-
var C =
|
|
11864
|
+
var C = P(y);
|
|
11887
11865
|
switch (C) {
|
|
11888
11866
|
case "array":
|
|
11889
11867
|
case "object":
|
|
@@ -12234,8 +12212,8 @@ function pp(e, t) {
|
|
|
12234
12212
|
var B = function(Y) {
|
|
12235
12213
|
if (Re[f]) {
|
|
12236
12214
|
var te = Re[f], Q = te.observers;
|
|
12237
|
-
for (var
|
|
12238
|
-
Y(Q[
|
|
12215
|
+
for (var O in Q)
|
|
12216
|
+
Y(Q[O]) && delete Q[O];
|
|
12239
12217
|
}
|
|
12240
12218
|
};
|
|
12241
12219
|
A && typeof window < "u" && (window[A] = function() {
|
|
@@ -12264,7 +12242,7 @@ function pp(e, t) {
|
|
|
12264
12242
|
var w = f.forwardedRef, g = mp(f, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
12265
12243
|
return h && typeof window < "u" && (g[h] = typeof window[h] < "u" ? window[h] : void 0), g.ref = w, ot(r, g);
|
|
12266
12244
|
}, d;
|
|
12267
|
-
})(
|
|
12245
|
+
})(jo), i = Or(function(c, d) {
|
|
12268
12246
|
return ot(s, ua({}, c, {
|
|
12269
12247
|
forwardedRef: d
|
|
12270
12248
|
}));
|
|
@@ -12282,7 +12260,7 @@ function wp() {
|
|
|
12282
12260
|
var e = ma(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
|
12283
12261
|
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + ha + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + ha + "&render=explicit";
|
|
12284
12262
|
}
|
|
12285
|
-
const
|
|
12263
|
+
const Uo = pp(wp, {
|
|
12286
12264
|
callbackName: ha,
|
|
12287
12265
|
globalName: Ap,
|
|
12288
12266
|
attributes: ma().nonce ? {
|
|
@@ -12355,7 +12333,7 @@ const ko = pp(wp, {
|
|
|
12355
12333
|
{ id: "bullying", label: Ye.bullying }
|
|
12356
12334
|
], g = async () => {
|
|
12357
12335
|
if (!(!c || !n)) {
|
|
12358
|
-
if (
|
|
12336
|
+
if (To(document).includes(n)) {
|
|
12359
12337
|
u("Ya has reportado este comentario.");
|
|
12360
12338
|
return;
|
|
12361
12339
|
}
|
|
@@ -12410,7 +12388,7 @@ const ko = pp(wp, {
|
|
|
12410
12388
|
] }, A.id)) }),
|
|
12411
12389
|
l && /* @__PURE__ */ a("div", { className: ue.errorMessage, children: l }),
|
|
12412
12390
|
/* @__PURE__ */ a(
|
|
12413
|
-
|
|
12391
|
+
Uo,
|
|
12414
12392
|
{
|
|
12415
12393
|
sitekey: "",
|
|
12416
12394
|
theme: "light",
|
|
@@ -12512,7 +12490,7 @@ async function Fp({
|
|
|
12512
12490
|
throw new Error("Invalid size parameter");
|
|
12513
12491
|
if (isNaN(w) || w < 0)
|
|
12514
12492
|
throw new Error("Invalid sizereply parameter");
|
|
12515
|
-
const g = d !== "prod" ? `${l}${u}` :
|
|
12493
|
+
const g = d !== "prod" ? `${l}${u}` : us(), p = new URLSearchParams({
|
|
12516
12494
|
publication: e,
|
|
12517
12495
|
path: t,
|
|
12518
12496
|
size: f.toString(),
|
|
@@ -12523,7 +12501,7 @@ async function Fp({
|
|
|
12523
12501
|
const A = `${g}${h}/newcomments/get?${p.toString()}`;
|
|
12524
12502
|
try {
|
|
12525
12503
|
console.log("Fetching comments from:", A);
|
|
12526
|
-
const { data: _ } = await
|
|
12504
|
+
const { data: _ } = await re.get(A, {
|
|
12527
12505
|
headers: {
|
|
12528
12506
|
"x-api-token": c,
|
|
12529
12507
|
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
|
@@ -12535,7 +12513,7 @@ async function Fp({
|
|
|
12535
12513
|
throw new Error("No comments data received");
|
|
12536
12514
|
return _.data || _ || [];
|
|
12537
12515
|
} catch (_) {
|
|
12538
|
-
if (console.error("Error fetching comments:", _),
|
|
12516
|
+
if (console.error("Error fetching comments:", _), re.isAxiosError(_)) {
|
|
12539
12517
|
const S = _.response?.status, N = _.response?.data;
|
|
12540
12518
|
throw S === 404 ? new Error("Comments not found") : S === 403 ? new Error("Access forbidden - check API token") : S === 401 ? new Error("Unauthorized - invalid API token") : S === 500 ? new Error("Internal server error from CMS") : new Error(N?.error || N?.message || `HTTP ${S}: Failed to fetch comments`);
|
|
12541
12519
|
}
|
|
@@ -12565,18 +12543,18 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12565
12543
|
}
|
|
12566
12544
|
})();
|
|
12567
12545
|
}, [t]), { comments: t, setComments: n };
|
|
12568
|
-
},
|
|
12546
|
+
}, ko = ({ username: e, date: t }) => /* @__PURE__ */ m("div", { className: "comment-header", children: [
|
|
12569
12547
|
/* @__PURE__ */ a("span", { className: "comment-username", children: e }),
|
|
12570
12548
|
/* @__PURE__ */ a("span", { className: "comment-header-dot", children: "•" }),
|
|
12571
12549
|
/* @__PURE__ */ a("span", { className: "comment-date", children: Kg(Me(Number(t))) })
|
|
12572
|
-
] }),
|
|
12550
|
+
] }), qo = ({ user: e }) => /* @__PURE__ */ a("div", { className: "comment-avatar", children: e.picture ? /* @__PURE__ */ a(
|
|
12573
12551
|
"img",
|
|
12574
12552
|
{
|
|
12575
12553
|
className: "comment-avatar-img",
|
|
12576
12554
|
src: e.picture,
|
|
12577
12555
|
alt: e.username
|
|
12578
12556
|
}
|
|
12579
|
-
) : e.firstname.charAt(0).toUpperCase() }),
|
|
12557
|
+
) : e.firstname.charAt(0).toUpperCase() }), Ro = ({ isReply: e = !1, onReply: t, onFlag: n }) => /* @__PURE__ */ m("div", { className: "comment-actions", children: [
|
|
12580
12558
|
!e && t && /* @__PURE__ */ a(
|
|
12581
12559
|
"button",
|
|
12582
12560
|
{
|
|
@@ -12622,7 +12600,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12622
12600
|
]
|
|
12623
12601
|
}
|
|
12624
12602
|
) })
|
|
12625
|
-
] }),
|
|
12603
|
+
] }), Lo = ({ commentRef: e, captchaToken: t = "", setIsDisabled: n }) => (De(() => {
|
|
12626
12604
|
const r = e.current;
|
|
12627
12605
|
if (!r) return;
|
|
12628
12606
|
const o = () => {
|
|
@@ -12641,7 +12619,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12641
12619
|
rows: 2
|
|
12642
12620
|
}
|
|
12643
12621
|
)
|
|
12644
|
-
] })),
|
|
12622
|
+
] })), Bo = ({
|
|
12645
12623
|
commentRef: e,
|
|
12646
12624
|
captchaToken: t = "",
|
|
12647
12625
|
setCaptchaToken: n,
|
|
@@ -12650,7 +12628,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12650
12628
|
const o = Ea(e, t);
|
|
12651
12629
|
return /* @__PURE__ */ m("div", { className: "form-actions", children: [
|
|
12652
12630
|
/* @__PURE__ */ a(
|
|
12653
|
-
|
|
12631
|
+
Uo,
|
|
12654
12632
|
{
|
|
12655
12633
|
sitekey: "",
|
|
12656
12634
|
theme: "light",
|
|
@@ -12664,7 +12642,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12664
12642
|
!o.boolean && /* @__PURE__ */ a("p", { className: "submit-warning", children: o.text })
|
|
12665
12643
|
] })
|
|
12666
12644
|
] });
|
|
12667
|
-
},
|
|
12645
|
+
}, Oo = ({ onClick: e, isDisabled: t }) => {
|
|
12668
12646
|
const [n, r] = Ee.useState(!1);
|
|
12669
12647
|
return Ee.useEffect(() => {
|
|
12670
12648
|
let o = null;
|
|
@@ -12705,7 +12683,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12705
12683
|
]
|
|
12706
12684
|
}
|
|
12707
12685
|
);
|
|
12708
|
-
}, { PUBLIC_PUBLICATION_ID: Kp } = J(), Jp = Kp,
|
|
12686
|
+
}, { PUBLIC_PUBLICATION_ID: Kp } = J(), Jp = Kp, Po = async ({
|
|
12709
12687
|
path: e,
|
|
12710
12688
|
ref: t,
|
|
12711
12689
|
captchaToken: n,
|
|
@@ -12772,7 +12750,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12772
12750
|
return /* @__PURE__ */ m("div", { className: "comment-form reply-form", children: [
|
|
12773
12751
|
/* @__PURE__ */ a("button", { className: "close-reply-form", onClick: u, children: /* @__PURE__ */ a(xt, {}) }),
|
|
12774
12752
|
/* @__PURE__ */ a(
|
|
12775
|
-
|
|
12753
|
+
Lo,
|
|
12776
12754
|
{
|
|
12777
12755
|
commentRef: t,
|
|
12778
12756
|
captchaToken: d,
|
|
@@ -12780,17 +12758,17 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12780
12758
|
}
|
|
12781
12759
|
),
|
|
12782
12760
|
/* @__PURE__ */ a(
|
|
12783
|
-
|
|
12761
|
+
Bo,
|
|
12784
12762
|
{
|
|
12785
12763
|
commentRef: t,
|
|
12786
12764
|
captchaToken: d,
|
|
12787
12765
|
setCaptchaToken: l,
|
|
12788
12766
|
children: /* @__PURE__ */ a(
|
|
12789
|
-
|
|
12767
|
+
Oo,
|
|
12790
12768
|
{
|
|
12791
12769
|
onClick: async (h) => {
|
|
12792
12770
|
if (i) return;
|
|
12793
|
-
const f = await
|
|
12771
|
+
const f = await Po({
|
|
12794
12772
|
path: r,
|
|
12795
12773
|
ref: t,
|
|
12796
12774
|
captchaToken: d,
|
|
@@ -12813,16 +12791,16 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12813
12791
|
const o = e.text;
|
|
12814
12792
|
let s = `${Je.firstname} ${Je.lastname}`, i = Je.username;
|
|
12815
12793
|
return e.user && (s = `${e.user.firstname} ${e.user.lastname}`, i = e.user.username), /* @__PURE__ */ a("div", { className: "comment-item reply", children: /* @__PURE__ */ m("div", { className: "comment-header-container", children: [
|
|
12816
|
-
/* @__PURE__ */ a(
|
|
12794
|
+
/* @__PURE__ */ a(qo, { user: e.user ? e.user : Je }),
|
|
12817
12795
|
/* @__PURE__ */ m("div", { style: { flex: 1 }, children: [
|
|
12818
|
-
/* @__PURE__ */ a(
|
|
12796
|
+
/* @__PURE__ */ a(ko, { username: s, date: e.date.time }),
|
|
12819
12797
|
/* @__PURE__ */ m("div", { className: "comment-reply-to", children: [
|
|
12820
12798
|
"Respondiendo a ",
|
|
12821
12799
|
/* @__PURE__ */ a("strong", { children: t })
|
|
12822
12800
|
] }),
|
|
12823
12801
|
/* @__PURE__ */ a("p", { className: "comment-text", children: o }),
|
|
12824
12802
|
n?.username.toLowerCase() !== i.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
12825
|
-
/* @__PURE__ */ a(
|
|
12803
|
+
/* @__PURE__ */ a(Ro, { isReply: !0, onFlag: () => r(e.id) })
|
|
12826
12804
|
] })
|
|
12827
12805
|
] }) });
|
|
12828
12806
|
}, e9 = ({ comment: e, replyingTo: t, path: n, user: r, handleReplyingTo: o, onFlag: s }) => {
|
|
@@ -12838,13 +12816,13 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12838
12816
|
className: "comment-header-container",
|
|
12839
12817
|
"data-hasreplies": c.reply.length > 0 ? "true" : "false",
|
|
12840
12818
|
children: [
|
|
12841
|
-
/* @__PURE__ */ a(
|
|
12819
|
+
/* @__PURE__ */ a(qo, { user: e.user ? e.user : Je }),
|
|
12842
12820
|
/* @__PURE__ */ m("div", { style: { flex: 1 }, children: [
|
|
12843
|
-
/* @__PURE__ */ a(
|
|
12821
|
+
/* @__PURE__ */ a(ko, { username: g, date: e.date.time }),
|
|
12844
12822
|
/* @__PURE__ */ a("p", { className: "comment-text", children: f }),
|
|
12845
12823
|
r?.username.toLowerCase() !== p.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
12846
12824
|
/* @__PURE__ */ a(
|
|
12847
|
-
|
|
12825
|
+
Ro,
|
|
12848
12826
|
{
|
|
12849
12827
|
onReply: () => o(e.id),
|
|
12850
12828
|
onFlag: () => s(e.id)
|
|
@@ -12912,7 +12890,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12912
12890
|
const [o, s] = $(!0), [i, c] = $("");
|
|
12913
12891
|
return /* @__PURE__ */ m("div", { className: "comment-form", children: [
|
|
12914
12892
|
/* @__PURE__ */ a(
|
|
12915
|
-
|
|
12893
|
+
Lo,
|
|
12916
12894
|
{
|
|
12917
12895
|
commentRef: e,
|
|
12918
12896
|
captchaToken: i,
|
|
@@ -12920,17 +12898,17 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12920
12898
|
}
|
|
12921
12899
|
),
|
|
12922
12900
|
/* @__PURE__ */ a(
|
|
12923
|
-
|
|
12901
|
+
Bo,
|
|
12924
12902
|
{
|
|
12925
12903
|
commentRef: e,
|
|
12926
12904
|
captchaToken: i,
|
|
12927
12905
|
setCaptchaToken: c,
|
|
12928
12906
|
children: /* @__PURE__ */ a(
|
|
12929
|
-
|
|
12907
|
+
Oo,
|
|
12930
12908
|
{
|
|
12931
12909
|
onClick: async (d) => {
|
|
12932
12910
|
if (o) return;
|
|
12933
|
-
const l = await
|
|
12911
|
+
const l = await Po({
|
|
12934
12912
|
path: n,
|
|
12935
12913
|
ref: e,
|
|
12936
12914
|
captchaToken: i,
|
|
@@ -13055,7 +13033,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
13055
13033
|
}
|
|
13056
13034
|
)
|
|
13057
13035
|
] });
|
|
13058
|
-
},
|
|
13036
|
+
}, Do = async (e, t) => {
|
|
13059
13037
|
if (!e) throw new Error("No action provided");
|
|
13060
13038
|
if (!t) throw new Error("No site key provided");
|
|
13061
13039
|
const n = window.grecaptcha;
|
|
@@ -13128,7 +13106,7 @@ function o9({ goToLogin: e, handleGoogleLogin: t }) {
|
|
|
13128
13106
|
}
|
|
13129
13107
|
const x = Math.floor(Date.now() / 1e3);
|
|
13130
13108
|
_.push({ Name: "updated_at", Value: String(x) });
|
|
13131
|
-
const v = await
|
|
13109
|
+
const v = await Do(
|
|
13132
13110
|
"comment_register",
|
|
13133
13111
|
""
|
|
13134
13112
|
);
|
|
@@ -13350,21 +13328,21 @@ function s9({
|
|
|
13350
13328
|
if (!S) {
|
|
13351
13329
|
Q.preventDefault(), v(null), N(!0);
|
|
13352
13330
|
try {
|
|
13353
|
-
const
|
|
13354
|
-
if (!
|
|
13331
|
+
const O = await Do("comment_login", B || "");
|
|
13332
|
+
if (!O) throw new Error("Captcha token no generado");
|
|
13355
13333
|
const ee = await fetch("/api/auth/login-password", {
|
|
13356
13334
|
method: "POST",
|
|
13357
13335
|
headers: { "Content-Type": "application/json" },
|
|
13358
13336
|
credentials: "include",
|
|
13359
|
-
body: JSON.stringify({ email: i, password: d, token:
|
|
13337
|
+
body: JSON.stringify({ email: i, password: d, token: O })
|
|
13360
13338
|
});
|
|
13361
13339
|
if (!ee.ok) {
|
|
13362
13340
|
const ce = await ee.json().catch(() => ({}));
|
|
13363
13341
|
throw new Error(ce?.error || "Ha ocurrido un error");
|
|
13364
13342
|
}
|
|
13365
13343
|
e(), await t();
|
|
13366
|
-
} catch (
|
|
13367
|
-
v(
|
|
13344
|
+
} catch (O) {
|
|
13345
|
+
v(O?.message || "Error inesperado");
|
|
13368
13346
|
} finally {
|
|
13369
13347
|
N(!1);
|
|
13370
13348
|
}
|
|
@@ -13388,18 +13366,18 @@ function s9({
|
|
|
13388
13366
|
if (!S) {
|
|
13389
13367
|
Q.preventDefault(), v(null), N(!0);
|
|
13390
13368
|
try {
|
|
13391
|
-
const
|
|
13369
|
+
const O = await fetch("/api/auth/forgot-password", {
|
|
13392
13370
|
method: "POST",
|
|
13393
13371
|
headers: { "Content-Type": "application/json" },
|
|
13394
13372
|
body: JSON.stringify({ email: i })
|
|
13395
13373
|
});
|
|
13396
|
-
if (!
|
|
13397
|
-
const ee = await
|
|
13374
|
+
if (!O.ok) {
|
|
13375
|
+
const ee = await O.json().catch(() => ({}));
|
|
13398
13376
|
throw new Error(ee?.error || "Error al enviar código");
|
|
13399
13377
|
}
|
|
13400
13378
|
l(""), s("changePassword");
|
|
13401
|
-
} catch (
|
|
13402
|
-
v(
|
|
13379
|
+
} catch (O) {
|
|
13380
|
+
v(O?.message || "Error inesperado");
|
|
13403
13381
|
} finally {
|
|
13404
13382
|
N(!1);
|
|
13405
13383
|
}
|
|
@@ -13975,7 +13953,7 @@ async function _3({
|
|
|
13975
13953
|
message: "El comentario no puede estar vacío.",
|
|
13976
13954
|
status: 400
|
|
13977
13955
|
};
|
|
13978
|
-
const l = await
|
|
13956
|
+
const l = await xo(s);
|
|
13979
13957
|
if (console.log("Verifying captcha token...", l), !l)
|
|
13980
13958
|
return {
|
|
13981
13959
|
type: "error",
|
|
@@ -13991,7 +13969,7 @@ async function _3({
|
|
|
13991
13969
|
o && (h.id = o);
|
|
13992
13970
|
const f = new URLSearchParams(h);
|
|
13993
13971
|
try {
|
|
13994
|
-
const { data: w } = await
|
|
13972
|
+
const { data: w } = await re.get(`${u}?${f.toString()}`, {
|
|
13995
13973
|
headers: {
|
|
13996
13974
|
"Content-Type": "application/json",
|
|
13997
13975
|
"x-security-token": d,
|
|
@@ -14009,7 +13987,7 @@ async function _3({
|
|
|
14009
13987
|
status: 200
|
|
14010
13988
|
});
|
|
14011
13989
|
} catch (w) {
|
|
14012
|
-
if (console.error("Error enviando comentario:", w),
|
|
13990
|
+
if (console.error("Error enviando comentario:", w), re.isAxiosError(w)) {
|
|
14013
13991
|
const g = w.response?.status ?? 500, p = w.response?.data;
|
|
14014
13992
|
return g === 400 ? {
|
|
14015
13993
|
type: "error",
|
|
@@ -14071,7 +14049,7 @@ const N3 = async ({
|
|
|
14071
14049
|
}
|
|
14072
14050
|
};
|
|
14073
14051
|
export {
|
|
14074
|
-
|
|
14052
|
+
ws as AssetsPreconnect,
|
|
14075
14053
|
A3 as AutorComponent,
|
|
14076
14054
|
eu as AutorHeader1,
|
|
14077
14055
|
uu as AutorHeader2,
|
|
@@ -14082,7 +14060,7 @@ export {
|
|
|
14082
14060
|
K2 as CarruselCard,
|
|
14083
14061
|
of as CarruselOpinion,
|
|
14084
14062
|
Le as CommonServices,
|
|
14085
|
-
|
|
14063
|
+
Qo as Comscore,
|
|
14086
14064
|
d3 as ContactInfoServer,
|
|
14087
14065
|
e3 as ContactInput,
|
|
14088
14066
|
t3 as ContactSelect,
|
|
@@ -14095,16 +14073,16 @@ export {
|
|
|
14095
14073
|
dc as DynamicBlockServices,
|
|
14096
14074
|
h3 as DynamicComponents,
|
|
14097
14075
|
Vn as DynamicMainSlot,
|
|
14098
|
-
|
|
14076
|
+
Eo as DynamicSlot,
|
|
14099
14077
|
s3 as EditorialBlock,
|
|
14100
14078
|
X9 as ErrorComponent,
|
|
14101
14079
|
qs as Font,
|
|
14102
14080
|
J9 as Footer,
|
|
14103
|
-
|
|
14081
|
+
As as FormatAfterScripts,
|
|
14104
14082
|
jr as FormatScripts,
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14083
|
+
zo as GA4,
|
|
14084
|
+
Ho as GTM,
|
|
14085
|
+
No as GalleryHeader,
|
|
14108
14086
|
W9 as GenerateBody,
|
|
14109
14087
|
F9 as GenerateHead,
|
|
14110
14088
|
r3 as Header,
|
|
@@ -14113,14 +14091,14 @@ export {
|
|
|
14113
14091
|
xs as ItemListSchema,
|
|
14114
14092
|
vm as JournalistArticule2,
|
|
14115
14093
|
Tm as JournalistGroup,
|
|
14116
|
-
|
|
14094
|
+
yo as LayoutNewsComponent,
|
|
14117
14095
|
C3 as LazyLoader,
|
|
14118
14096
|
M1 as LiveBlogHeader,
|
|
14119
14097
|
$9 as Location,
|
|
14120
14098
|
N9 as MainComponentServices,
|
|
14121
|
-
|
|
14099
|
+
Vo as Marfeel,
|
|
14122
14100
|
dt as MiddleSection,
|
|
14123
|
-
|
|
14101
|
+
_o as Modulo1x3,
|
|
14124
14102
|
Y2 as Modulo1x3Card,
|
|
14125
14103
|
I2 as Modulo1x4,
|
|
14126
14104
|
R2 as Modulo1x5,
|
|
@@ -14163,7 +14141,7 @@ export {
|
|
|
14163
14141
|
_3 as addComment,
|
|
14164
14142
|
fa as bannersReplace,
|
|
14165
14143
|
Dt as becomeVideoObject,
|
|
14166
|
-
|
|
14144
|
+
bs as buildTagUrl,
|
|
14167
14145
|
id as coloringByStrokeSVGs,
|
|
14168
14146
|
Sa as compileStyleProps,
|
|
14169
14147
|
je as cutString,
|
|
@@ -14171,16 +14149,16 @@ export {
|
|
|
14171
14149
|
Me as formatDate,
|
|
14172
14150
|
A9 as formatDateEdiciones,
|
|
14173
14151
|
Dr as formatDateJournalistArticule,
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14152
|
+
cs as formatDateTimeline,
|
|
14153
|
+
hs as formatNewsMeta,
|
|
14154
|
+
vs as formatVideoData,
|
|
14177
14155
|
V9 as generalGetData,
|
|
14178
|
-
|
|
14156
|
+
Do as getCaptchaToken,
|
|
14179
14157
|
Fp as getComments,
|
|
14180
14158
|
J as getConfig,
|
|
14181
14159
|
H9 as getDynamicSlots,
|
|
14182
14160
|
pn as getEnvironmentUrl,
|
|
14183
|
-
|
|
14161
|
+
us as getEnvironmentUrlFront,
|
|
14184
14162
|
C9 as getHydratorPath,
|
|
14185
14163
|
pe as getImageUrl,
|
|
14186
14164
|
Ft as getNextMeta,
|
|
@@ -14188,25 +14166,25 @@ export {
|
|
|
14188
14166
|
_9 as getPreloadImages,
|
|
14189
14167
|
Wt as getPrevMeta,
|
|
14190
14168
|
b3 as getReportReasonLabel,
|
|
14191
|
-
|
|
14192
|
-
|
|
14169
|
+
ls as getResponse,
|
|
14170
|
+
ds as getResponsePromise,
|
|
14193
14171
|
ga as getSchemas,
|
|
14194
|
-
|
|
14172
|
+
Gr as getScriptReplaces,
|
|
14195
14173
|
Ls as getSlugs,
|
|
14196
14174
|
v9 as getTypeOfNews,
|
|
14197
14175
|
b9 as getVideoRealPath,
|
|
14198
14176
|
Ia as handleGetComments,
|
|
14199
14177
|
p9 as initLibrary,
|
|
14200
|
-
|
|
14178
|
+
ps as metadataToJSX,
|
|
14201
14179
|
hc as metadata_defaults,
|
|
14202
14180
|
Mr as parseTags,
|
|
14203
|
-
|
|
14181
|
+
ms as pathnameSplit,
|
|
14204
14182
|
Rs as removePages,
|
|
14205
14183
|
v3 as reportComment,
|
|
14206
14184
|
Dd as shareButtons,
|
|
14207
14185
|
_a as socialIcons,
|
|
14208
14186
|
_s as speculationRules,
|
|
14209
14187
|
Cs as speculationRulesHome,
|
|
14210
|
-
|
|
14188
|
+
fs as urlReplaces,
|
|
14211
14189
|
N3 as verifyCaptchaTokenEnterprise
|
|
14212
14190
|
};
|