sass-template-common 0.9.74 → 0.9.76
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 +691 -687
- package/dist/sass-template-common.umd.cjs +20 -20
- package/package.json +1 -1
|
@@ -67,11 +67,11 @@ let ns = {
|
|
|
67
67
|
function Cd(e = {}) {
|
|
68
68
|
ns = { ...ns, ...e };
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function q() {
|
|
71
71
|
return ns;
|
|
72
72
|
}
|
|
73
73
|
const _a = () => {
|
|
74
|
-
const { ANALYTICS_comscore: e } =
|
|
74
|
+
const { ANALYTICS_comscore: e } = q();
|
|
75
75
|
return e && /* @__PURE__ */ n(
|
|
76
76
|
"script",
|
|
77
77
|
{
|
|
@@ -96,7 +96,7 @@ const _a = () => {
|
|
|
96
96
|
return Object.keys(t).forEach((i) => {
|
|
97
97
|
r[i] = i;
|
|
98
98
|
}), r;
|
|
99
|
-
}, [t]), { ANALYTICS_ga4: a } =
|
|
99
|
+
}, [t]), { ANALYTICS_ga4: a } = q();
|
|
100
100
|
return a && /* @__PURE__ */ p(J, { children: [
|
|
101
101
|
/* @__PURE__ */ n("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + a }),
|
|
102
102
|
/* @__PURE__ */ n(
|
|
@@ -119,7 +119,7 @@ const _a = () => {
|
|
|
119
119
|
)
|
|
120
120
|
] });
|
|
121
121
|
}, Qa = () => {
|
|
122
|
-
const { ANALYTICS_gtm: e } =
|
|
122
|
+
const { ANALYTICS_gtm: e } = q();
|
|
123
123
|
return e && /* @__PURE__ */ p(J, { children: [
|
|
124
124
|
/* @__PURE__ */ n(
|
|
125
125
|
"script",
|
|
@@ -147,7 +147,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
147
147
|
) })
|
|
148
148
|
] });
|
|
149
149
|
}, Ha = () => {
|
|
150
|
-
const { ANALYTICS_marfeel: e } =
|
|
150
|
+
const { ANALYTICS_marfeel: e } = q();
|
|
151
151
|
return e && /* @__PURE__ */ n(
|
|
152
152
|
"script",
|
|
153
153
|
{
|
|
@@ -158,7 +158,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
158
158
|
}
|
|
159
159
|
);
|
|
160
160
|
}, Nd = ({ defaultRouteName: e }) => {
|
|
161
|
-
const { CAPTCHA_KEY: t, CONFIG_comments: s = !1, CONFIG_commentsV2: a = !1 } =
|
|
161
|
+
const { CAPTCHA_KEY: t, CONFIG_comments: s = !1, CONFIG_commentsV2: a = !1 } = q();
|
|
162
162
|
return t && t !== "" && (e === "video" && s && !a || e === "news" && s && !a || e === "auth" || e === "anuncia" || e === "contacto") && /* @__PURE__ */ n(
|
|
163
163
|
"script",
|
|
164
164
|
{
|
|
@@ -177,58 +177,58 @@ function qn() {
|
|
|
177
177
|
(function(s, a) {
|
|
178
178
|
e.exports = a();
|
|
179
179
|
})(Va, (function() {
|
|
180
|
-
var s = 1e3, a = 6e4, r = 36e5, i = "millisecond", o = "second", c = "minute", d = "hour", l = "day", u = "week", m = "month",
|
|
181
|
-
var x = ["th", "st", "nd", "rd"], U =
|
|
182
|
-
return "[" +
|
|
183
|
-
} }, N = function(
|
|
184
|
-
var
|
|
185
|
-
return !
|
|
186
|
-
}, S = { s: N, z: function(
|
|
187
|
-
var x = -
|
|
188
|
-
return (x <= 0 ? "+" : "-") + N(
|
|
189
|
-
}, m: function
|
|
190
|
-
if (x.date() < U.date()) return -
|
|
191
|
-
var
|
|
192
|
-
return +(-(
|
|
193
|
-
}, a: function(
|
|
194
|
-
return
|
|
195
|
-
}, p: function(
|
|
196
|
-
return { M: m, y: A, w: u, d: l, D:
|
|
197
|
-
}, u: function(
|
|
198
|
-
return
|
|
180
|
+
var s = 1e3, a = 6e4, r = 36e5, i = "millisecond", o = "second", c = "minute", d = "hour", l = "day", u = "week", m = "month", h = "quarter", A = "year", f = "date", g = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, E = { 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) {
|
|
181
|
+
var x = ["th", "st", "nd", "rd"], U = M % 100;
|
|
182
|
+
return "[" + M + (x[(U - 20) % 10] || x[U] || x[0]) + "]";
|
|
183
|
+
} }, N = function(M, x, U) {
|
|
184
|
+
var D = String(M);
|
|
185
|
+
return !D || D.length >= x ? M : "" + Array(x + 1 - D.length).join(U) + M;
|
|
186
|
+
}, S = { s: N, z: function(M) {
|
|
187
|
+
var x = -M.utcOffset(), U = Math.abs(x), D = Math.floor(U / 60), k = U % 60;
|
|
188
|
+
return (x <= 0 ? "+" : "-") + N(D, 2, "0") + ":" + N(k, 2, "0");
|
|
189
|
+
}, m: function M(x, U) {
|
|
190
|
+
if (x.date() < U.date()) return -M(U, x);
|
|
191
|
+
var D = 12 * (U.year() - x.year()) + (U.month() - x.month()), k = x.clone().add(D, m), F = U - k < 0, y = x.clone().add(D + (F ? -1 : 1), m);
|
|
192
|
+
return +(-(D + (U - k) / (F ? k - y : y - k)) || 0);
|
|
193
|
+
}, a: function(M) {
|
|
194
|
+
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
195
|
+
}, p: function(M) {
|
|
196
|
+
return { M: m, y: A, w: u, d: l, D: f, h: d, m: c, s: o, ms: i, Q: h }[M] || String(M || "").toLowerCase().replace(/s$/, "");
|
|
197
|
+
}, u: function(M) {
|
|
198
|
+
return M === void 0;
|
|
199
199
|
} }, b = "en", I = {};
|
|
200
200
|
I[b] = E;
|
|
201
|
-
var R = "$isDayjsObject", Q = function(
|
|
202
|
-
return
|
|
203
|
-
}, W = function
|
|
201
|
+
var R = "$isDayjsObject", Q = function(M) {
|
|
202
|
+
return M instanceof H || !(!M || !M[R]);
|
|
203
|
+
}, W = function M(x, U, D) {
|
|
204
204
|
var k;
|
|
205
205
|
if (!x) return b;
|
|
206
206
|
if (typeof x == "string") {
|
|
207
207
|
var F = x.toLowerCase();
|
|
208
208
|
I[F] && (k = F), U && (I[F] = U, k = F);
|
|
209
209
|
var y = x.split("-");
|
|
210
|
-
if (!k && y.length > 1) return
|
|
210
|
+
if (!k && y.length > 1) return M(y[0]);
|
|
211
211
|
} else {
|
|
212
212
|
var T = x.name;
|
|
213
213
|
I[T] = x, k = T;
|
|
214
214
|
}
|
|
215
|
-
return !
|
|
216
|
-
}, j = function(
|
|
217
|
-
if (Q(
|
|
215
|
+
return !D && k && (b = k), k || !D && b;
|
|
216
|
+
}, j = function(M, x) {
|
|
217
|
+
if (Q(M)) return M.clone();
|
|
218
218
|
var U = typeof x == "object" ? x : {};
|
|
219
|
-
return U.date =
|
|
219
|
+
return U.date = M, U.args = arguments, new H(U);
|
|
220
220
|
}, L = S;
|
|
221
|
-
L.l = W, L.i = Q, L.w = function(
|
|
222
|
-
return j(
|
|
221
|
+
L.l = W, L.i = Q, L.w = function(M, x) {
|
|
222
|
+
return j(M, { locale: x.$L, utc: x.$u, x: x.$x, $offset: x.$offset });
|
|
223
223
|
};
|
|
224
224
|
var H = (function() {
|
|
225
|
-
function
|
|
225
|
+
function M(U) {
|
|
226
226
|
this.$L = W(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[R] = !0;
|
|
227
227
|
}
|
|
228
|
-
var x =
|
|
228
|
+
var x = M.prototype;
|
|
229
229
|
return x.parse = function(U) {
|
|
230
|
-
this.$d = (function(
|
|
231
|
-
var k =
|
|
230
|
+
this.$d = (function(D) {
|
|
231
|
+
var k = D.date, F = D.utc;
|
|
232
232
|
if (k === null) return /* @__PURE__ */ new Date(NaN);
|
|
233
233
|
if (L.u(k)) return /* @__PURE__ */ new Date();
|
|
234
234
|
if (k instanceof Date) return new Date(k);
|
|
@@ -248,36 +248,36 @@ function qn() {
|
|
|
248
248
|
return L;
|
|
249
249
|
}, x.isValid = function() {
|
|
250
250
|
return this.$d.toString() !== g;
|
|
251
|
-
}, x.isSame = function(U,
|
|
251
|
+
}, x.isSame = function(U, D) {
|
|
252
252
|
var k = j(U);
|
|
253
|
-
return this.startOf(
|
|
254
|
-
}, x.isAfter = function(U,
|
|
255
|
-
return j(U) < this.startOf(
|
|
256
|
-
}, x.isBefore = function(U,
|
|
257
|
-
return this.endOf(
|
|
258
|
-
}, x.$g = function(U,
|
|
259
|
-
return L.u(U) ? this[
|
|
253
|
+
return this.startOf(D) <= k && k <= this.endOf(D);
|
|
254
|
+
}, x.isAfter = function(U, D) {
|
|
255
|
+
return j(U) < this.startOf(D);
|
|
256
|
+
}, x.isBefore = function(U, D) {
|
|
257
|
+
return this.endOf(D) < j(U);
|
|
258
|
+
}, x.$g = function(U, D, k) {
|
|
259
|
+
return L.u(U) ? this[D] : this.set(k, U);
|
|
260
260
|
}, x.unix = function() {
|
|
261
261
|
return Math.floor(this.valueOf() / 1e3);
|
|
262
262
|
}, x.valueOf = function() {
|
|
263
263
|
return this.$d.getTime();
|
|
264
|
-
}, x.startOf = function(U,
|
|
265
|
-
var k = this, F = !!L.u(
|
|
264
|
+
}, x.startOf = function(U, D) {
|
|
265
|
+
var k = this, F = !!L.u(D) || D, y = L.p(U), T = function(te, K) {
|
|
266
266
|
var ie = L.w(k.$u ? Date.UTC(k.$y, K, te) : new Date(k.$y, K, te), k);
|
|
267
267
|
return F ? ie : ie.endOf(l);
|
|
268
268
|
}, P = function(te, K) {
|
|
269
269
|
return L.w(k.toDate()[te].apply(k.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(K)), k);
|
|
270
|
-
}, G = this.$W,
|
|
270
|
+
}, G = this.$W, _ = this.$M, V = this.$D, z = "set" + (this.$u ? "UTC" : "");
|
|
271
271
|
switch (y) {
|
|
272
272
|
case A:
|
|
273
273
|
return F ? T(1, 0) : T(31, 11);
|
|
274
274
|
case m:
|
|
275
|
-
return F ? T(1,
|
|
275
|
+
return F ? T(1, _) : T(0, _ + 1);
|
|
276
276
|
case u:
|
|
277
277
|
var Y = this.$locale().weekStart || 0, ee = (G < Y ? G + 7 : G) - Y;
|
|
278
|
-
return T(F ? V - ee : V + (6 - ee),
|
|
278
|
+
return T(F ? V - ee : V + (6 - ee), _);
|
|
279
279
|
case l:
|
|
280
|
-
case
|
|
280
|
+
case f:
|
|
281
281
|
return P(z + "Hours", 0);
|
|
282
282
|
case d:
|
|
283
283
|
return P(z + "Minutes", 1);
|
|
@@ -290,23 +290,23 @@ function qn() {
|
|
|
290
290
|
}
|
|
291
291
|
}, x.endOf = function(U) {
|
|
292
292
|
return this.startOf(U, !1);
|
|
293
|
-
}, x.$set = function(U,
|
|
294
|
-
var k, F = L.p(U), y = "set" + (this.$u ? "UTC" : ""), T = (k = {}, k[l] = y + "Date", k[
|
|
293
|
+
}, x.$set = function(U, D) {
|
|
294
|
+
var k, F = L.p(U), y = "set" + (this.$u ? "UTC" : ""), T = (k = {}, k[l] = y + "Date", k[f] = y + "Date", k[m] = y + "Month", k[A] = y + "FullYear", k[d] = y + "Hours", k[c] = y + "Minutes", k[o] = y + "Seconds", k[i] = y + "Milliseconds", k)[F], P = F === l ? this.$D + (D - this.$W) : D;
|
|
295
295
|
if (F === m || F === A) {
|
|
296
|
-
var G = this.clone().set(
|
|
297
|
-
G.$d[T](P), G.init(), this.$d = G.set(
|
|
296
|
+
var G = this.clone().set(f, 1);
|
|
297
|
+
G.$d[T](P), G.init(), this.$d = G.set(f, Math.min(this.$D, G.daysInMonth())).$d;
|
|
298
298
|
} else T && this.$d[T](P);
|
|
299
299
|
return this.init(), this;
|
|
300
|
-
}, x.set = function(U,
|
|
301
|
-
return this.clone().$set(U,
|
|
300
|
+
}, x.set = function(U, D) {
|
|
301
|
+
return this.clone().$set(U, D);
|
|
302
302
|
}, x.get = function(U) {
|
|
303
303
|
return this[L.p(U)]();
|
|
304
|
-
}, x.add = function(U,
|
|
304
|
+
}, x.add = function(U, D) {
|
|
305
305
|
var k, F = this;
|
|
306
306
|
U = Number(U);
|
|
307
|
-
var y = L.p(
|
|
307
|
+
var y = L.p(D), T = function(_) {
|
|
308
308
|
var V = j(F);
|
|
309
|
-
return L.w(V.date(V.date() + Math.round(
|
|
309
|
+
return L.w(V.date(V.date() + Math.round(_ * U)), F);
|
|
310
310
|
};
|
|
311
311
|
if (y === m) return this.set(m, this.$M + U);
|
|
312
312
|
if (y === A) return this.set(A, this.$y + U);
|
|
@@ -314,13 +314,13 @@ function qn() {
|
|
|
314
314
|
if (y === u) return T(7);
|
|
315
315
|
var P = (k = {}, k[c] = a, k[d] = r, k[o] = s, k)[y] || 1, G = this.$d.getTime() + U * P;
|
|
316
316
|
return L.w(G, this);
|
|
317
|
-
}, x.subtract = function(U,
|
|
318
|
-
return this.add(-1 * U,
|
|
317
|
+
}, x.subtract = function(U, D) {
|
|
318
|
+
return this.add(-1 * U, D);
|
|
319
319
|
}, x.format = function(U) {
|
|
320
|
-
var
|
|
320
|
+
var D = this, k = this.$locale();
|
|
321
321
|
if (!this.isValid()) return k.invalidDate || g;
|
|
322
|
-
var F = U || "YYYY-MM-DDTHH:mm:ssZ", y = L.z(this), T = this.$H, P = this.$m, G = this.$M,
|
|
323
|
-
return K && (K[ie] || K(
|
|
322
|
+
var F = U || "YYYY-MM-DDTHH:mm:ssZ", y = L.z(this), T = this.$H, P = this.$m, G = this.$M, _ = k.weekdays, V = k.months, z = k.meridiem, Y = function(K, ie, B, me) {
|
|
323
|
+
return K && (K[ie] || K(D, F)) || B[ie].slice(0, me);
|
|
324
324
|
}, ee = function(K) {
|
|
325
325
|
return L.s(T % 12 || 12, K, "0");
|
|
326
326
|
}, te = z || function(K, ie, B) {
|
|
@@ -331,9 +331,9 @@ function qn() {
|
|
|
331
331
|
return ie || (function(B) {
|
|
332
332
|
switch (B) {
|
|
333
333
|
case "YY":
|
|
334
|
-
return String(
|
|
334
|
+
return String(D.$y).slice(-2);
|
|
335
335
|
case "YYYY":
|
|
336
|
-
return L.s(
|
|
336
|
+
return L.s(D.$y, 4, "0");
|
|
337
337
|
case "M":
|
|
338
338
|
return G + 1;
|
|
339
339
|
case "MM":
|
|
@@ -343,17 +343,17 @@ function qn() {
|
|
|
343
343
|
case "MMMM":
|
|
344
344
|
return Y(V, G);
|
|
345
345
|
case "D":
|
|
346
|
-
return
|
|
346
|
+
return D.$D;
|
|
347
347
|
case "DD":
|
|
348
|
-
return L.s(
|
|
348
|
+
return L.s(D.$D, 2, "0");
|
|
349
349
|
case "d":
|
|
350
|
-
return String(
|
|
350
|
+
return String(D.$W);
|
|
351
351
|
case "dd":
|
|
352
|
-
return Y(k.weekdaysMin,
|
|
352
|
+
return Y(k.weekdaysMin, D.$W, _, 2);
|
|
353
353
|
case "ddd":
|
|
354
|
-
return Y(k.weekdaysShort,
|
|
354
|
+
return Y(k.weekdaysShort, D.$W, _, 3);
|
|
355
355
|
case "dddd":
|
|
356
|
-
return D
|
|
356
|
+
return _[D.$W];
|
|
357
357
|
case "H":
|
|
358
358
|
return String(T);
|
|
359
359
|
case "HH":
|
|
@@ -371,11 +371,11 @@ function qn() {
|
|
|
371
371
|
case "mm":
|
|
372
372
|
return L.s(P, 2, "0");
|
|
373
373
|
case "s":
|
|
374
|
-
return String(
|
|
374
|
+
return String(D.$s);
|
|
375
375
|
case "ss":
|
|
376
|
-
return L.s(
|
|
376
|
+
return L.s(D.$s, 2, "0");
|
|
377
377
|
case "SSS":
|
|
378
|
-
return L.s(
|
|
378
|
+
return L.s(D.$ms, 3, "0");
|
|
379
379
|
case "Z":
|
|
380
380
|
return y;
|
|
381
381
|
}
|
|
@@ -384,8 +384,8 @@ function qn() {
|
|
|
384
384
|
}));
|
|
385
385
|
}, x.utcOffset = function() {
|
|
386
386
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
387
|
-
}, x.diff = function(U,
|
|
388
|
-
var F, y = this, T = L.p(
|
|
387
|
+
}, x.diff = function(U, D, k) {
|
|
388
|
+
var F, y = this, T = L.p(D), P = j(U), G = (P.utcOffset() - this.utcOffset()) * a, _ = this - P, V = function() {
|
|
389
389
|
return L.m(y, P);
|
|
390
390
|
};
|
|
391
391
|
switch (T) {
|
|
@@ -395,35 +395,35 @@ function qn() {
|
|
|
395
395
|
case m:
|
|
396
396
|
F = V();
|
|
397
397
|
break;
|
|
398
|
-
case
|
|
398
|
+
case h:
|
|
399
399
|
F = V() / 3;
|
|
400
400
|
break;
|
|
401
401
|
case u:
|
|
402
|
-
F = (
|
|
402
|
+
F = (_ - G) / 6048e5;
|
|
403
403
|
break;
|
|
404
404
|
case l:
|
|
405
|
-
F = (
|
|
405
|
+
F = (_ - G) / 864e5;
|
|
406
406
|
break;
|
|
407
407
|
case d:
|
|
408
|
-
F =
|
|
408
|
+
F = _ / r;
|
|
409
409
|
break;
|
|
410
410
|
case c:
|
|
411
|
-
F =
|
|
411
|
+
F = _ / a;
|
|
412
412
|
break;
|
|
413
413
|
case o:
|
|
414
|
-
F =
|
|
414
|
+
F = _ / s;
|
|
415
415
|
break;
|
|
416
416
|
default:
|
|
417
|
-
F =
|
|
417
|
+
F = _;
|
|
418
418
|
}
|
|
419
419
|
return k ? F : L.a(F);
|
|
420
420
|
}, x.daysInMonth = function() {
|
|
421
421
|
return this.endOf(m).$D;
|
|
422
422
|
}, x.$locale = function() {
|
|
423
423
|
return I[this.$L];
|
|
424
|
-
}, x.locale = function(U,
|
|
424
|
+
}, x.locale = function(U, D) {
|
|
425
425
|
if (!U) return this.$L;
|
|
426
|
-
var k = this.clone(), F = W(U,
|
|
426
|
+
var k = this.clone(), F = W(U, D, !0);
|
|
427
427
|
return F && (k.$L = F), k;
|
|
428
428
|
}, x.clone = function() {
|
|
429
429
|
return L.w(this.$d, this);
|
|
@@ -435,16 +435,16 @@ function qn() {
|
|
|
435
435
|
return this.$d.toISOString();
|
|
436
436
|
}, x.toString = function() {
|
|
437
437
|
return this.$d.toUTCString();
|
|
438
|
-
},
|
|
438
|
+
}, M;
|
|
439
439
|
})(), se = H.prototype;
|
|
440
|
-
return j.prototype = se, [["$ms", i], ["$s", o], ["$m", c], ["$H", d], ["$W", l], ["$M", m], ["$y", A], ["$D",
|
|
441
|
-
se[
|
|
442
|
-
return this.$g(x,
|
|
440
|
+
return j.prototype = se, [["$ms", i], ["$s", o], ["$m", c], ["$H", d], ["$W", l], ["$M", m], ["$y", A], ["$D", f]].forEach((function(M) {
|
|
441
|
+
se[M[1]] = function(x) {
|
|
442
|
+
return this.$g(x, M[0], M[1]);
|
|
443
443
|
};
|
|
444
|
-
})), j.extend = function(
|
|
445
|
-
return
|
|
446
|
-
}, j.locale = W, j.isDayjs = Q, j.unix = function(
|
|
447
|
-
return j(1e3 *
|
|
444
|
+
})), j.extend = function(M, x) {
|
|
445
|
+
return M.$i || (M(x, H, j), M.$i = !0), j;
|
|
446
|
+
}, j.locale = W, j.isDayjs = Q, j.unix = function(M) {
|
|
447
|
+
return j(1e3 * M);
|
|
448
448
|
}, j.en = I[b], j.Ls = I, j.p = {}, j;
|
|
449
449
|
}));
|
|
450
450
|
})(wt)), wt.exports;
|
|
@@ -460,15 +460,15 @@ function Wa() {
|
|
|
460
460
|
return function(s, a, r) {
|
|
461
461
|
s = s || {};
|
|
462
462
|
var i = a.prototype, o = { 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" };
|
|
463
|
-
function c(l, u, m,
|
|
464
|
-
return i.fromToBase(l, u, m,
|
|
463
|
+
function c(l, u, m, h) {
|
|
464
|
+
return i.fromToBase(l, u, m, h);
|
|
465
465
|
}
|
|
466
|
-
r.en.relativeTime = o, i.fromToBase = function(l, u, m,
|
|
467
|
-
for (var
|
|
466
|
+
r.en.relativeTime = o, i.fromToBase = function(l, u, m, h, A) {
|
|
467
|
+
for (var f, g, w, v = m.$locale().relativeTime || o, E = s.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], N = E.length, S = 0; S < N; S += 1) {
|
|
468
468
|
var b = E[S];
|
|
469
|
-
b.d && (
|
|
470
|
-
var I = (s.rounding || Math.round)(Math.abs(
|
|
471
|
-
if (w =
|
|
469
|
+
b.d && (f = h ? r(l).diff(m, b.d, !0) : m.diff(l, b.d, !0));
|
|
470
|
+
var I = (s.rounding || Math.round)(Math.abs(f));
|
|
471
|
+
if (w = f > 0, I <= b.r || !b.r) {
|
|
472
472
|
I <= 1 && S > 0 && (b = E[S - 1]);
|
|
473
473
|
var R = v[b.l];
|
|
474
474
|
A && (I = A("" + I)), g = typeof R == "string" ? R.replace("%d", I) : R(I, u, b.l, w);
|
|
@@ -561,10 +561,10 @@ function Xa() {
|
|
|
561
561
|
var S = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
562
562
|
return (N = this.local().add(E + S, s)).$offset = E, N.$x.$localOffset = S, N;
|
|
563
563
|
};
|
|
564
|
-
var
|
|
564
|
+
var h = d.format;
|
|
565
565
|
d.format = function(g) {
|
|
566
566
|
var w = g || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
567
|
-
return
|
|
567
|
+
return h.call(this, w);
|
|
568
568
|
}, d.valueOf = function() {
|
|
569
569
|
var g = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
570
570
|
return this.$d.valueOf() - 6e4 * g;
|
|
@@ -579,11 +579,11 @@ function Xa() {
|
|
|
579
579
|
d.toDate = function(g) {
|
|
580
580
|
return g === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : A.call(this);
|
|
581
581
|
};
|
|
582
|
-
var
|
|
582
|
+
var f = d.diff;
|
|
583
583
|
d.diff = function(g, w, v) {
|
|
584
|
-
if (g && this.$u === g.$u) return
|
|
584
|
+
if (g && this.$u === g.$u) return f.call(this, g, w, v);
|
|
585
585
|
var E = this.local(), N = c(g).local();
|
|
586
|
-
return
|
|
586
|
+
return f.call(E, N, w, v);
|
|
587
587
|
};
|
|
588
588
|
};
|
|
589
589
|
}));
|
|
@@ -599,56 +599,56 @@ function nr() {
|
|
|
599
599
|
})(sr, (function() {
|
|
600
600
|
var s = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, a = {};
|
|
601
601
|
return function(r, i, o) {
|
|
602
|
-
var c, d = function(
|
|
603
|
-
|
|
604
|
-
var g = new Date(
|
|
602
|
+
var c, d = function(h, A, f) {
|
|
603
|
+
f === void 0 && (f = {});
|
|
604
|
+
var g = new Date(h), w = (function(v, E) {
|
|
605
605
|
E === void 0 && (E = {});
|
|
606
606
|
var N = E.timeZoneName || "short", S = v + "|" + N, b = a[S];
|
|
607
607
|
return b || (b = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: v, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: N }), a[S] = b), b;
|
|
608
|
-
})(A,
|
|
608
|
+
})(A, f);
|
|
609
609
|
return w.formatToParts(g);
|
|
610
|
-
}, l = function(
|
|
611
|
-
for (var
|
|
612
|
-
var v =
|
|
610
|
+
}, l = function(h, A) {
|
|
611
|
+
for (var f = d(h, A), g = [], w = 0; w < f.length; w += 1) {
|
|
612
|
+
var v = f[w], E = v.type, N = v.value, S = s[E];
|
|
613
613
|
S >= 0 && (g[S] = parseInt(N, 10));
|
|
614
614
|
}
|
|
615
|
-
var b = g[3], I = b === 24 ? 0 : b, R = g[0] + "-" + g[1] + "-" + g[2] + " " + I + ":" + g[4] + ":" + g[5] + ":000", Q = +
|
|
615
|
+
var b = g[3], I = b === 24 ? 0 : b, R = g[0] + "-" + g[1] + "-" + g[2] + " " + I + ":" + g[4] + ":" + g[5] + ":000", Q = +h;
|
|
616
616
|
return (o.utc(R).valueOf() - (Q -= Q % 1e3)) / 6e4;
|
|
617
617
|
}, u = i.prototype;
|
|
618
|
-
u.tz = function(
|
|
619
|
-
|
|
620
|
-
var
|
|
621
|
-
if (!Number(N))
|
|
622
|
-
else if (
|
|
623
|
-
var S =
|
|
624
|
-
|
|
618
|
+
u.tz = function(h, A) {
|
|
619
|
+
h === void 0 && (h = c);
|
|
620
|
+
var f, g = this.utcOffset(), w = this.toDate(), v = w.toLocaleString("en-US", { timeZone: h }), E = Math.round((w - new Date(v)) / 1e3 / 60), N = 15 * -Math.round(w.getTimezoneOffset() / 15) - E;
|
|
621
|
+
if (!Number(N)) f = this.utcOffset(0, A);
|
|
622
|
+
else if (f = o(v, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(N, !0), A) {
|
|
623
|
+
var S = f.utcOffset();
|
|
624
|
+
f = f.add(g - S, "minute");
|
|
625
625
|
}
|
|
626
|
-
return
|
|
627
|
-
}, u.offsetName = function(
|
|
628
|
-
var A = this.$x.$timezone || o.tz.guess(),
|
|
626
|
+
return f.$x.$timezone = h, f;
|
|
627
|
+
}, u.offsetName = function(h) {
|
|
628
|
+
var A = this.$x.$timezone || o.tz.guess(), f = d(this.valueOf(), A, { timeZoneName: h }).find((function(g) {
|
|
629
629
|
return g.type.toLowerCase() === "timezonename";
|
|
630
630
|
}));
|
|
631
|
-
return
|
|
631
|
+
return f && f.value;
|
|
632
632
|
};
|
|
633
633
|
var m = u.startOf;
|
|
634
|
-
u.startOf = function(
|
|
635
|
-
if (!this.$x || !this.$x.$timezone) return m.call(this,
|
|
636
|
-
var
|
|
637
|
-
return m.call(
|
|
638
|
-
}, o.tz = function(
|
|
639
|
-
var g =
|
|
640
|
-
if (typeof
|
|
634
|
+
u.startOf = function(h, A) {
|
|
635
|
+
if (!this.$x || !this.$x.$timezone) return m.call(this, h, A);
|
|
636
|
+
var f = o(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
637
|
+
return m.call(f, h, A).tz(this.$x.$timezone, !0);
|
|
638
|
+
}, o.tz = function(h, A, f) {
|
|
639
|
+
var g = f && A, w = f || A || c, v = l(+o(), w);
|
|
640
|
+
if (typeof h != "string") return o(h).tz(w);
|
|
641
641
|
var E = (function(I, R, Q) {
|
|
642
642
|
var W = I - 60 * R * 1e3, j = l(W, Q);
|
|
643
643
|
if (R === j) return [W, R];
|
|
644
644
|
var L = l(W -= 60 * (j - R) * 1e3, Q);
|
|
645
645
|
return j === L ? [W, j] : [I - 60 * Math.min(j, L) * 1e3, Math.max(j, L)];
|
|
646
|
-
})(o.utc(
|
|
646
|
+
})(o.utc(h, g).valueOf(), v, w), N = E[0], S = E[1], b = o(N).utcOffset(S);
|
|
647
647
|
return b.$x.$timezone = w, b;
|
|
648
648
|
}, o.tz.guess = function() {
|
|
649
649
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
650
|
-
}, o.tz.setDefault = function(
|
|
651
|
-
c =
|
|
650
|
+
}, o.tz.setDefault = function(h) {
|
|
651
|
+
c = h;
|
|
652
652
|
};
|
|
653
653
|
};
|
|
654
654
|
}));
|
|
@@ -660,18 +660,18 @@ be.extend(tr);
|
|
|
660
660
|
be.extend(rr);
|
|
661
661
|
be.extend(Ka);
|
|
662
662
|
const Rt = (e) => e === "en" ? "en" : "es", Ue = (e, t) => {
|
|
663
|
-
const { PUBLIC_LNG: s, DATE_TIMEZONE: a } = t ||
|
|
663
|
+
const { PUBLIC_LNG: s, DATE_TIMEZONE: a } = t || q(), r = Rt(s ?? "es");
|
|
664
664
|
return be.tz(e, a).locale(r).format("DD MMMM YYYY");
|
|
665
665
|
}, gs = (e) => {
|
|
666
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } =
|
|
666
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = q(), a = Rt(t ?? "es");
|
|
667
667
|
return be.tz(e, s).locale(a).format(
|
|
668
668
|
a === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
669
669
|
);
|
|
670
670
|
}, ir = (e) => {
|
|
671
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } =
|
|
671
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = q(), a = Rt(t ?? "es");
|
|
672
672
|
return be.tz(e, s).locale(a).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
673
673
|
}, Sd = (e) => {
|
|
674
|
-
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } =
|
|
674
|
+
const { PUBLIC_LNG: t, DATE_TIMEZONE: s } = q(), a = Rt(t ?? "es");
|
|
675
675
|
return be.tz(e, s).locale(a).format("dddd DD [de] MMMM YYYY");
|
|
676
676
|
}, Fe = (e, t) => {
|
|
677
677
|
if (!e) return "";
|
|
@@ -688,8 +688,8 @@ const Rt = (e) => e === "en" ? "en" : "es", Ue = (e, t) => {
|
|
|
688
688
|
r.forEach((A) => {
|
|
689
689
|
A.type !== "literal" && (i[A.type] = A.value);
|
|
690
690
|
});
|
|
691
|
-
const o = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), d = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - o.getTime()) / 6e4, l = d >= 0 ? "+" : "-", u = (A) => String(Math.floor(Math.abs(A))).padStart(2, "0"), m = u(d / 60),
|
|
692
|
-
return `${i.year}-${i.month}-${i.day}T${i.hour}:${i.minute}:${i.second}${l}${m}:${
|
|
691
|
+
const o = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), d = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - o.getTime()) / 6e4, l = d >= 0 ? "+" : "-", u = (A) => String(Math.floor(Math.abs(A))).padStart(2, "0"), m = u(d / 60), h = u(d % 60);
|
|
692
|
+
return `${i.year}-${i.month}-${i.day}T${i.hour}:${i.minute}:${i.second}${l}${m}:${h}`;
|
|
693
693
|
}, xe = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
694
694
|
function He(e) {
|
|
695
695
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
@@ -764,15 +764,15 @@ function as(e) {
|
|
|
764
764
|
const i = r.index + r[0].length;
|
|
765
765
|
let o = 1, c = i, d = i;
|
|
766
766
|
for (; c < t.length && o > 0; ) {
|
|
767
|
-
const A = t.slice(c),
|
|
767
|
+
const A = t.slice(c), f = A.match(/<div\b/i), g = A.match(/<\/div>/i), w = f?.index ?? -1, v = g?.index ?? -1;
|
|
768
768
|
if (v === -1) break;
|
|
769
769
|
const E = w === -1 ? 1 / 0 : c + w, N = c + v;
|
|
770
|
-
w !== -1 && w < v ? (o += 1, c = E +
|
|
770
|
+
w !== -1 && w < v ? (o += 1, c = E + f[0].length) : (o -= 1, d = N, c = N + g[0].length);
|
|
771
771
|
}
|
|
772
772
|
const l = t.slice(i, d), u = [], m = /<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;
|
|
773
|
-
let
|
|
774
|
-
for (; (
|
|
775
|
-
const A =
|
|
773
|
+
let h;
|
|
774
|
+
for (; (h = m.exec(l)) !== null; ) {
|
|
775
|
+
const A = h[1];
|
|
776
776
|
A && u.push(A);
|
|
777
777
|
}
|
|
778
778
|
u.length > 0 && s.push(u), a = c;
|
|
@@ -794,10 +794,10 @@ const Ed = as, ur = async (e, t) => {
|
|
|
794
794
|
(i) => He(i)?.data
|
|
795
795
|
);
|
|
796
796
|
}, st = () => {
|
|
797
|
-
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: s } =
|
|
797
|
+
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: s } = q();
|
|
798
798
|
return e == "local" ? t : s && s !== "false" ? s : "";
|
|
799
799
|
}, Td = () => {
|
|
800
|
-
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } =
|
|
800
|
+
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = q();
|
|
801
801
|
return e === "local" ? t : "";
|
|
802
802
|
}, mr = (e) => {
|
|
803
803
|
if (!e?.preview?.length) return null;
|
|
@@ -827,7 +827,7 @@ const Ed = as, ur = async (e, t) => {
|
|
|
827
827
|
PUBLIC_ASSETS_URL: r,
|
|
828
828
|
PUBLIC_API_FRONT: i,
|
|
829
829
|
DATE_TIMEZONE: o = "America/Mexico_City"
|
|
830
|
-
} =
|
|
830
|
+
} = q(), c = Mn(t.keywords) ?? "", d = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", l = (r !== "false" ? r : i) ?? "", u = mr(a), m = t.main.title.article, h = Ws({
|
|
831
831
|
schemaImage: u,
|
|
832
832
|
socialImage: t?.social?.images?.facebook,
|
|
833
833
|
fallbackImage: d,
|
|
@@ -861,7 +861,7 @@ const Ed = as, ur = async (e, t) => {
|
|
|
861
861
|
url: t?.info?.link?.canonical,
|
|
862
862
|
type: "article",
|
|
863
863
|
description: t?.social?.description ? t?.social?.description : t?.main?.subtitle?.striped ?? "",
|
|
864
|
-
images: [
|
|
864
|
+
images: [h],
|
|
865
865
|
siteName: s.name.toLocaleUpperCase(),
|
|
866
866
|
locale: s.lang.startsWith("en") ? "en_US" : s.lang === "es" ? "es_LA" : s.lang.replace("-", "_")
|
|
867
867
|
},
|
|
@@ -1177,9 +1177,9 @@ function Id(e) {
|
|
|
1177
1177
|
return t > 1 && e.charCodeAt(t - 1) === 47 ? e.slice(0, t - 1) : e;
|
|
1178
1178
|
}
|
|
1179
1179
|
const Cr = () => {
|
|
1180
|
-
const { PUBLIC_ASSETS_URL: e } =
|
|
1180
|
+
const { PUBLIC_ASSETS_URL: e } = q();
|
|
1181
1181
|
return e && e !== "false" && /* @__PURE__ */ n("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" });
|
|
1182
|
-
}, { PUBLIC_ASSETS_URL: Ht } =
|
|
1182
|
+
}, { PUBLIC_ASSETS_URL: Ht } = q(), Nr = Ht && Ht !== "false" ? Ht : "", Ys = ({ images: e }) => /* @__PURE__ */ n(J, { children: e.map(
|
|
1183
1183
|
(t, s) => t.href !== "" && /* @__PURE__ */ n(
|
|
1184
1184
|
"link",
|
|
1185
1185
|
{
|
|
@@ -1193,7 +1193,7 @@ const Cr = () => {
|
|
|
1193
1193
|
)
|
|
1194
1194
|
) }), Sr = (e, t, s) => {
|
|
1195
1195
|
if (!t) return {};
|
|
1196
|
-
const { PUBLIC_API_FRONT: a } =
|
|
1196
|
+
const { PUBLIC_API_FRONT: a } = q();
|
|
1197
1197
|
return {
|
|
1198
1198
|
title: t?.main?.title + " | " + s.name,
|
|
1199
1199
|
robots: "index, follow, max-image-preview:large",
|
|
@@ -1269,7 +1269,7 @@ const De = (e, t) => {
|
|
|
1269
1269
|
const { AssetsPrefix: t = "", AssetsPath: s = "src", isDev: a = !1 } = e;
|
|
1270
1270
|
return a ? "src" : t + s;
|
|
1271
1271
|
}, kd = async (e, t, s, a) => {
|
|
1272
|
-
const { FETCH_TAG_BASED_RELATED_NEWS: r = !1, FETCH_SIZE_RELATED_NEWS: i = 10 } =
|
|
1272
|
+
const { FETCH_TAG_BASED_RELATED_NEWS: r = !1, FETCH_SIZE_RELATED_NEWS: i = 10 } = q();
|
|
1273
1273
|
if (!e) return [];
|
|
1274
1274
|
try {
|
|
1275
1275
|
if (e.related && e.related?.automatic === !1 && e.related?.news && e.related?.news.length > 0)
|
|
@@ -1340,7 +1340,7 @@ const De = (e, t) => {
|
|
|
1340
1340
|
a
|
|
1341
1341
|
), null;
|
|
1342
1342
|
const m = u?.riskAnalysis?.score;
|
|
1343
|
-
return m !== void 0 && (console.log("reCAPTCHA score:", m), u?.riskAnalysis?.reasons?.forEach((
|
|
1343
|
+
return m !== void 0 && (console.log("reCAPTCHA score:", m), u?.riskAnalysis?.reasons?.forEach((h) => console.log(h))), typeof m == "number" ? m : null;
|
|
1344
1344
|
} catch (l) {
|
|
1345
1345
|
return console.error("createAssessment error:", l), null;
|
|
1346
1346
|
}
|
|
@@ -1578,7 +1578,7 @@ const qd = async (e, t, s) => {
|
|
|
1578
1578
|
pathname: s,
|
|
1579
1579
|
ROUTE: a
|
|
1580
1580
|
}) => {
|
|
1581
|
-
const { PUBLIC_PUBLICATION_ID: r = "" } =
|
|
1581
|
+
const { PUBLIC_PUBLICATION_ID: r = "" } = q();
|
|
1582
1582
|
let i = [];
|
|
1583
1583
|
const o = s === "/" || s === "/index.html" ? void 0 : _r(Gr[a]({ pathname: s, config: e })), c = Lr[a] ?? void 0, d = {
|
|
1584
1584
|
newstype: e.newsType,
|
|
@@ -1606,7 +1606,7 @@ const qd = async (e, t, s) => {
|
|
|
1606
1606
|
);
|
|
1607
1607
|
};
|
|
1608
1608
|
function kt(e) {
|
|
1609
|
-
const { PUBLIC_ASSETS_URL: t } =
|
|
1609
|
+
const { PUBLIC_ASSETS_URL: t } = q();
|
|
1610
1610
|
if (!t || t === "false") return e;
|
|
1611
1611
|
const s = t.replace(/\/+$/, ""), a = /https?:\/\/[^/\s]+\/(arte|__export)\//g;
|
|
1612
1612
|
return e.replace(a, (r, i) => `${s}/${i}/`);
|
|
@@ -1617,7 +1617,7 @@ const Br = async ({
|
|
|
1617
1617
|
BASE_URL: s,
|
|
1618
1618
|
axiosApi: a
|
|
1619
1619
|
}) => {
|
|
1620
|
-
const { PUBLIC_SERVICE_PREFIX: r, PUBLIC_IS_SUB_PUBLICATION: i } =
|
|
1620
|
+
const { PUBLIC_SERVICE_PREFIX: r, PUBLIC_IS_SUB_PUBLICATION: i } = q();
|
|
1621
1621
|
let o = [];
|
|
1622
1622
|
try {
|
|
1623
1623
|
const c = t.socialBlockLogo?.url ? new URL(t.socialBlockLogo.url).pathname : void 0, d = t.landscapeLogo?.url ? new URL(t.landscapeLogo.url).pathname : void 0, l = {
|
|
@@ -1629,7 +1629,7 @@ const Br = async ({
|
|
|
1629
1629
|
logow: t.socialBlockLogo?.width,
|
|
1630
1630
|
logoh: t.socialBlockLogo?.height,
|
|
1631
1631
|
authorurl: s + "/autor/"
|
|
1632
|
-
}, u = e.split("/")[1], m = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"],
|
|
1632
|
+
}, u = e.split("/")[1], m = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], h = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, A = r !== "false" && i !== "false" ? "/" + r + h : h;
|
|
1633
1633
|
o = (await Promise.all(
|
|
1634
1634
|
m.map(async (g) => {
|
|
1635
1635
|
const w = g === "/news-breadcrumb" ? { ...l, prefixtag: A } : g === "/news" && t.schemasNewsParams ? { ...l, ...t.schemasNewsParams } : l;
|
|
@@ -1877,7 +1877,7 @@ const Br = async ({
|
|
|
1877
1877
|
PUBLIC_API_HOST: s,
|
|
1878
1878
|
PUBLIC_ENV: a,
|
|
1879
1879
|
PUBLIC_PUBLICATION_ID: r
|
|
1880
|
-
} =
|
|
1880
|
+
} = q(), i = (/* @__PURE__ */ new Date()).toISOString(), o = t?.projectName ?? "";
|
|
1881
1881
|
return `<!doctype html>
|
|
1882
1882
|
<html lang="es">
|
|
1883
1883
|
<head>
|
|
@@ -1980,7 +1980,7 @@ const Br = async ({
|
|
|
1980
1980
|
</body>
|
|
1981
1981
|
</html>`;
|
|
1982
1982
|
}, X = async (e) => {
|
|
1983
|
-
const { SERVICE_DEBUG: t } =
|
|
1983
|
+
const { SERVICE_DEBUG: t } = q();
|
|
1984
1984
|
if (!t?.enabled)
|
|
1985
1985
|
return;
|
|
1986
1986
|
const s = Qr(e);
|
|
@@ -2539,22 +2539,22 @@ function Ot(e, t, s) {
|
|
|
2539
2539
|
const a = s.metaTokens, r = s.visitor || u, i = s.dots, o = s.indexes, d = (s.Blob || typeof Blob < "u" && Blob) && C.isSpecCompliantForm(t);
|
|
2540
2540
|
if (!C.isFunction(r))
|
|
2541
2541
|
throw new TypeError("visitor must be a function");
|
|
2542
|
-
function l(
|
|
2543
|
-
if (
|
|
2544
|
-
if (C.isDate(
|
|
2545
|
-
return
|
|
2546
|
-
if (C.isBoolean(
|
|
2547
|
-
return
|
|
2548
|
-
if (!d && C.isBlob(
|
|
2542
|
+
function l(f) {
|
|
2543
|
+
if (f === null) return "";
|
|
2544
|
+
if (C.isDate(f))
|
|
2545
|
+
return f.toISOString();
|
|
2546
|
+
if (C.isBoolean(f))
|
|
2547
|
+
return f.toString();
|
|
2548
|
+
if (!d && C.isBlob(f))
|
|
2549
2549
|
throw new Z("Blob is not supported. Use a Buffer instead.");
|
|
2550
|
-
return C.isArrayBuffer(
|
|
2550
|
+
return C.isArrayBuffer(f) || C.isTypedArray(f) ? d && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
2551
2551
|
}
|
|
2552
|
-
function u(
|
|
2553
|
-
let v =
|
|
2554
|
-
if (
|
|
2552
|
+
function u(f, g, w) {
|
|
2553
|
+
let v = f;
|
|
2554
|
+
if (f && !w && typeof f == "object") {
|
|
2555
2555
|
if (C.endsWith(g, "{}"))
|
|
2556
|
-
g = a ? g : g.slice(0, -2),
|
|
2557
|
-
else if (C.isArray(
|
|
2556
|
+
g = a ? g : g.slice(0, -2), f = JSON.stringify(f);
|
|
2557
|
+
else if (C.isArray(f) && xi(f) || (C.isFileList(f) || C.endsWith(g, "[]")) && (v = C.toArray(f)))
|
|
2558
2558
|
return g = Zn(g), v.forEach(function(N, S) {
|
|
2559
2559
|
!(C.isUndefined(N) || N === null) && t.append(
|
|
2560
2560
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -2563,24 +2563,24 @@ function Ot(e, t, s) {
|
|
|
2563
2563
|
);
|
|
2564
2564
|
}), !1;
|
|
2565
2565
|
}
|
|
2566
|
-
return is(
|
|
2566
|
+
return is(f) ? !0 : (t.append(Js(w, g, i), l(f)), !1);
|
|
2567
2567
|
}
|
|
2568
|
-
const m = [],
|
|
2568
|
+
const m = [], h = Object.assign(Ri, {
|
|
2569
2569
|
defaultVisitor: u,
|
|
2570
2570
|
convertValue: l,
|
|
2571
2571
|
isVisitable: is
|
|
2572
2572
|
});
|
|
2573
|
-
function A(
|
|
2574
|
-
if (!C.isUndefined(
|
|
2575
|
-
if (m.indexOf(
|
|
2573
|
+
function A(f, g) {
|
|
2574
|
+
if (!C.isUndefined(f)) {
|
|
2575
|
+
if (m.indexOf(f) !== -1)
|
|
2576
2576
|
throw Error("Circular reference detected in " + g.join("."));
|
|
2577
|
-
m.push(
|
|
2577
|
+
m.push(f), C.forEach(f, function(v, E) {
|
|
2578
2578
|
(!(C.isUndefined(v) || v === null) && r.call(
|
|
2579
2579
|
t,
|
|
2580
2580
|
v,
|
|
2581
2581
|
C.isString(E) ? E.trim() : E,
|
|
2582
2582
|
g,
|
|
2583
|
-
|
|
2583
|
+
h
|
|
2584
2584
|
)) === !0 && A(v, g ? g.concat(E) : [E]);
|
|
2585
2585
|
}), m.pop();
|
|
2586
2586
|
}
|
|
@@ -3066,13 +3066,13 @@ function $i(e, t) {
|
|
|
3066
3066
|
return t = t !== void 0 ? t : 1e3, function(d) {
|
|
3067
3067
|
const l = Date.now(), u = a[i];
|
|
3068
3068
|
o || (o = l), s[r] = d, a[r] = l;
|
|
3069
|
-
let m = i,
|
|
3069
|
+
let m = i, h = 0;
|
|
3070
3070
|
for (; m !== r; )
|
|
3071
|
-
|
|
3071
|
+
h += s[m++], m = m % e;
|
|
3072
3072
|
if (r = (r + 1) % e, r === i && (i = (i + 1) % e), l - o < t)
|
|
3073
3073
|
return;
|
|
3074
3074
|
const A = u && l - u;
|
|
3075
|
-
return A ? Math.round(
|
|
3075
|
+
return A ? Math.round(h * 1e3 / A) : void 0;
|
|
3076
3076
|
};
|
|
3077
3077
|
}
|
|
3078
3078
|
function Zi(e, t) {
|
|
@@ -3159,14 +3159,14 @@ const sn = (e) => e instanceof Ae ? { ...e } : e;
|
|
|
3159
3159
|
function _e(e, t) {
|
|
3160
3160
|
t = t || {};
|
|
3161
3161
|
const s = {};
|
|
3162
|
-
function a(l, u, m,
|
|
3163
|
-
return C.isPlainObject(l) && C.isPlainObject(u) ? C.merge.call({ caseless:
|
|
3162
|
+
function a(l, u, m, h) {
|
|
3163
|
+
return C.isPlainObject(l) && C.isPlainObject(u) ? C.merge.call({ caseless: h }, l, u) : C.isPlainObject(u) ? C.merge({}, u) : C.isArray(u) ? u.slice() : u;
|
|
3164
3164
|
}
|
|
3165
|
-
function r(l, u, m,
|
|
3165
|
+
function r(l, u, m, h) {
|
|
3166
3166
|
if (C.isUndefined(u)) {
|
|
3167
3167
|
if (!C.isUndefined(l))
|
|
3168
|
-
return a(void 0, l, m,
|
|
3169
|
-
} else return a(l, u, m,
|
|
3168
|
+
return a(void 0, l, m, h);
|
|
3169
|
+
} else return a(l, u, m, h);
|
|
3170
3170
|
}
|
|
3171
3171
|
function i(l, u) {
|
|
3172
3172
|
if (!C.isUndefined(u))
|
|
@@ -3216,8 +3216,8 @@ function _e(e, t) {
|
|
|
3216
3216
|
headers: (l, u, m) => r(sn(l), sn(u), m, !0)
|
|
3217
3217
|
};
|
|
3218
3218
|
return C.forEach(Object.keys({ ...e, ...t }), function(u) {
|
|
3219
|
-
const m = d[u] || r,
|
|
3220
|
-
C.isUndefined(
|
|
3219
|
+
const m = d[u] || r, h = m(e[u], t[u], u);
|
|
3220
|
+
C.isUndefined(h) && m !== c || (s[u] = h);
|
|
3221
3221
|
}), s;
|
|
3222
3222
|
}
|
|
3223
3223
|
const ia = (e) => {
|
|
@@ -3246,9 +3246,9 @@ const ia = (e) => {
|
|
|
3246
3246
|
const r = ia(e);
|
|
3247
3247
|
let i = r.data;
|
|
3248
3248
|
const o = Ae.from(r.headers).normalize();
|
|
3249
|
-
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = r, u, m,
|
|
3249
|
+
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = r, u, m, h, A, f;
|
|
3250
3250
|
function g() {
|
|
3251
|
-
A && A(),
|
|
3251
|
+
A && A(), f && f(), r.cancelToken && r.cancelToken.unsubscribe(u), r.signal && r.signal.removeEventListener("abort", u);
|
|
3252
3252
|
}
|
|
3253
3253
|
let w = new XMLHttpRequest();
|
|
3254
3254
|
w.open(r.method.toUpperCase(), r.url, !0), w.timeout = r.timeout;
|
|
@@ -3289,7 +3289,7 @@ const ia = (e) => {
|
|
|
3289
3289
|
)), w = null;
|
|
3290
3290
|
}, i === void 0 && o.setContentType(null), "setRequestHeader" in w && C.forEach(o.toJSON(), function(S, b) {
|
|
3291
3291
|
w.setRequestHeader(b, S);
|
|
3292
|
-
}), C.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), c && c !== "json" && (w.responseType = r.responseType), l && ([
|
|
3292
|
+
}), C.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), c && c !== "json" && (w.responseType = r.responseType), l && ([h, f] = It(l, !0), w.addEventListener("progress", h)), d && w.upload && ([m, A] = It(d), w.upload.addEventListener("progress", m), w.upload.addEventListener("loadend", A)), (r.cancelToken || r.signal) && (u = (N) => {
|
|
3293
3293
|
w && (a(!N || N.type ? new Je(null, e, w) : N), w.abort(), w = null);
|
|
3294
3294
|
}, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
|
|
3295
3295
|
const E = Ji(r.url);
|
|
@@ -3365,8 +3365,8 @@ const ia = (e) => {
|
|
|
3365
3365
|
}
|
|
3366
3366
|
let m = u.byteLength;
|
|
3367
3367
|
if (s) {
|
|
3368
|
-
let
|
|
3369
|
-
s(
|
|
3368
|
+
let h = i += m;
|
|
3369
|
+
s(h);
|
|
3370
3370
|
}
|
|
3371
3371
|
d.enqueue(new Uint8Array(u));
|
|
3372
3372
|
} catch (l) {
|
|
@@ -3398,46 +3398,46 @@ const ia = (e) => {
|
|
|
3398
3398
|
const { fetch: t, Request: s, Response: a } = e, r = t ? mt(t) : typeof fetch == "function", i = mt(s), o = mt(a);
|
|
3399
3399
|
if (!r)
|
|
3400
3400
|
return !1;
|
|
3401
|
-
const c = r && mt(rn), d = r && (typeof on == "function" ? /* @__PURE__ */ ((
|
|
3402
|
-
let
|
|
3401
|
+
const c = r && mt(rn), d = r && (typeof on == "function" ? /* @__PURE__ */ ((f) => (g) => f.encode(g))(new on()) : async (f) => new Uint8Array(await new s(f).arrayBuffer())), l = i && c && cn(() => {
|
|
3402
|
+
let f = !1;
|
|
3403
3403
|
const g = new s(de.origin, {
|
|
3404
3404
|
body: new rn(),
|
|
3405
3405
|
method: "POST",
|
|
3406
3406
|
get duplex() {
|
|
3407
|
-
return
|
|
3407
|
+
return f = !0, "half";
|
|
3408
3408
|
}
|
|
3409
3409
|
}).headers.has("Content-Type");
|
|
3410
|
-
return
|
|
3410
|
+
return f && !g;
|
|
3411
3411
|
}), u = o && c && cn(() => C.isReadableStream(new a("").body)), m = {
|
|
3412
|
-
stream: u && ((
|
|
3412
|
+
stream: u && ((f) => f.body)
|
|
3413
3413
|
};
|
|
3414
|
-
r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((
|
|
3415
|
-
!m[
|
|
3416
|
-
let v = g && g[
|
|
3414
|
+
r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
|
|
3415
|
+
!m[f] && (m[f] = (g, w) => {
|
|
3416
|
+
let v = g && g[f];
|
|
3417
3417
|
if (v)
|
|
3418
3418
|
return v.call(g);
|
|
3419
|
-
throw new Z(`Response type '${
|
|
3419
|
+
throw new Z(`Response type '${f}' is not supported`, Z.ERR_NOT_SUPPORT, w);
|
|
3420
3420
|
});
|
|
3421
3421
|
});
|
|
3422
|
-
const
|
|
3423
|
-
if (
|
|
3422
|
+
const h = async (f) => {
|
|
3423
|
+
if (f == null)
|
|
3424
3424
|
return 0;
|
|
3425
|
-
if (C.isBlob(
|
|
3426
|
-
return
|
|
3427
|
-
if (C.isSpecCompliantForm(
|
|
3425
|
+
if (C.isBlob(f))
|
|
3426
|
+
return f.size;
|
|
3427
|
+
if (C.isSpecCompliantForm(f))
|
|
3428
3428
|
return (await new s(de.origin, {
|
|
3429
3429
|
method: "POST",
|
|
3430
|
-
body:
|
|
3430
|
+
body: f
|
|
3431
3431
|
}).arrayBuffer()).byteLength;
|
|
3432
|
-
if (C.isArrayBufferView(
|
|
3433
|
-
return
|
|
3434
|
-
if (C.isURLSearchParams(
|
|
3435
|
-
return (await d(
|
|
3436
|
-
}, A = async (
|
|
3437
|
-
const w = C.toFiniteNumber(
|
|
3438
|
-
return w ??
|
|
3432
|
+
if (C.isArrayBufferView(f) || C.isArrayBuffer(f))
|
|
3433
|
+
return f.byteLength;
|
|
3434
|
+
if (C.isURLSearchParams(f) && (f = f + ""), C.isString(f))
|
|
3435
|
+
return (await d(f)).byteLength;
|
|
3436
|
+
}, A = async (f, g) => {
|
|
3437
|
+
const w = C.toFiniteNumber(f.getContentLength());
|
|
3438
|
+
return w ?? h(g);
|
|
3439
3439
|
};
|
|
3440
|
-
return async (
|
|
3440
|
+
return async (f) => {
|
|
3441
3441
|
let {
|
|
3442
3442
|
url: g,
|
|
3443
3443
|
method: w,
|
|
@@ -3451,10 +3451,10 @@ const ia = (e) => {
|
|
|
3451
3451
|
headers: Q,
|
|
3452
3452
|
withCredentials: W = "same-origin",
|
|
3453
3453
|
fetchOptions: j
|
|
3454
|
-
} = ia(
|
|
3454
|
+
} = ia(f), L = t || fetch;
|
|
3455
3455
|
R = R ? (R + "").toLowerCase() : "text";
|
|
3456
3456
|
let H = ro([E, N && N.toAbortSignal()], S), se = null;
|
|
3457
|
-
const
|
|
3457
|
+
const M = H && H.unsubscribe && (() => {
|
|
3458
3458
|
H.unsubscribe();
|
|
3459
3459
|
});
|
|
3460
3460
|
let x;
|
|
@@ -3466,15 +3466,15 @@ const ia = (e) => {
|
|
|
3466
3466
|
duplex: "half"
|
|
3467
3467
|
}), P;
|
|
3468
3468
|
if (C.isFormData(v) && (P = T.headers.get("content-type")) && Q.setContentType(P), T.body) {
|
|
3469
|
-
const [G,
|
|
3469
|
+
const [G, _] = en(
|
|
3470
3470
|
x,
|
|
3471
3471
|
It(tn(I))
|
|
3472
3472
|
);
|
|
3473
|
-
v = nn(T.body, an, G,
|
|
3473
|
+
v = nn(T.body, an, G, _);
|
|
3474
3474
|
}
|
|
3475
3475
|
}
|
|
3476
3476
|
C.isString(W) || (W = W ? "include" : "omit");
|
|
3477
|
-
const U = i && "credentials" in s.prototype,
|
|
3477
|
+
const U = i && "credentials" in s.prototype, D = {
|
|
3478
3478
|
...j,
|
|
3479
3479
|
signal: H,
|
|
3480
3480
|
method: w.toUpperCase(),
|
|
@@ -3483,44 +3483,44 @@ const ia = (e) => {
|
|
|
3483
3483
|
duplex: "half",
|
|
3484
3484
|
credentials: U ? W : void 0
|
|
3485
3485
|
};
|
|
3486
|
-
se = i && new s(g,
|
|
3487
|
-
let k = await (i ? L(se, j) : L(g,
|
|
3486
|
+
se = i && new s(g, D);
|
|
3487
|
+
let k = await (i ? L(se, j) : L(g, D));
|
|
3488
3488
|
const F = u && (R === "stream" || R === "response");
|
|
3489
|
-
if (u && (b || F &&
|
|
3489
|
+
if (u && (b || F && M)) {
|
|
3490
3490
|
const T = {};
|
|
3491
3491
|
["status", "statusText", "headers"].forEach((V) => {
|
|
3492
3492
|
T[V] = k[V];
|
|
3493
3493
|
});
|
|
3494
|
-
const P = C.toFiniteNumber(k.headers.get("content-length")), [G,
|
|
3494
|
+
const P = C.toFiniteNumber(k.headers.get("content-length")), [G, _] = b && en(
|
|
3495
3495
|
P,
|
|
3496
3496
|
It(tn(b), !0)
|
|
3497
3497
|
) || [];
|
|
3498
3498
|
k = new a(
|
|
3499
3499
|
nn(k.body, an, G, () => {
|
|
3500
|
-
|
|
3500
|
+
_ && _(), M && M();
|
|
3501
3501
|
}),
|
|
3502
3502
|
T
|
|
3503
3503
|
);
|
|
3504
3504
|
}
|
|
3505
3505
|
R = R || "text";
|
|
3506
|
-
let y = await m[C.findKey(m, R) || "text"](k,
|
|
3507
|
-
return !F &&
|
|
3506
|
+
let y = await m[C.findKey(m, R) || "text"](k, f);
|
|
3507
|
+
return !F && M && M(), await new Promise((T, P) => {
|
|
3508
3508
|
aa(T, P, {
|
|
3509
3509
|
data: y,
|
|
3510
3510
|
headers: Ae.from(k.headers),
|
|
3511
3511
|
status: k.status,
|
|
3512
3512
|
statusText: k.statusText,
|
|
3513
|
-
config:
|
|
3513
|
+
config: f,
|
|
3514
3514
|
request: se
|
|
3515
3515
|
});
|
|
3516
3516
|
});
|
|
3517
3517
|
} catch (U) {
|
|
3518
|
-
throw
|
|
3519
|
-
new Z("Network Error", Z.ERR_NETWORK,
|
|
3518
|
+
throw M && M(), U && U.name === "TypeError" && /Load failed|fetch/i.test(U.message) ? Object.assign(
|
|
3519
|
+
new Z("Network Error", Z.ERR_NETWORK, f, se),
|
|
3520
3520
|
{
|
|
3521
3521
|
cause: U.cause || U
|
|
3522
3522
|
}
|
|
3523
|
-
) : Z.from(U, U && U.code,
|
|
3523
|
+
) : Z.from(U, U && U.code, f, se);
|
|
3524
3524
|
}
|
|
3525
3525
|
};
|
|
3526
3526
|
}, mo = /* @__PURE__ */ new Map(), oa = (e) => {
|
|
@@ -3718,8 +3718,8 @@ let qe = class {
|
|
|
3718
3718
|
);
|
|
3719
3719
|
i && C.forEach(
|
|
3720
3720
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
3721
|
-
(
|
|
3722
|
-
delete i[
|
|
3721
|
+
(f) => {
|
|
3722
|
+
delete i[f];
|
|
3723
3723
|
}
|
|
3724
3724
|
), s.headers = Ae.concat(o, i);
|
|
3725
3725
|
const c = [];
|
|
@@ -3731,19 +3731,19 @@ let qe = class {
|
|
|
3731
3731
|
this.interceptors.response.forEach(function(g) {
|
|
3732
3732
|
l.push(g.fulfilled, g.rejected);
|
|
3733
3733
|
});
|
|
3734
|
-
let u, m = 0,
|
|
3734
|
+
let u, m = 0, h;
|
|
3735
3735
|
if (!d) {
|
|
3736
|
-
const
|
|
3737
|
-
for (
|
|
3738
|
-
u = u.then(
|
|
3736
|
+
const f = [dn.bind(this), void 0];
|
|
3737
|
+
for (f.unshift(...c), f.push(...l), h = f.length, u = Promise.resolve(s); m < h; )
|
|
3738
|
+
u = u.then(f[m++], f[m++]);
|
|
3739
3739
|
return u;
|
|
3740
3740
|
}
|
|
3741
|
-
|
|
3741
|
+
h = c.length;
|
|
3742
3742
|
let A = s;
|
|
3743
|
-
for (; m <
|
|
3744
|
-
const
|
|
3743
|
+
for (; m < h; ) {
|
|
3744
|
+
const f = c[m++], g = c[m++];
|
|
3745
3745
|
try {
|
|
3746
|
-
A =
|
|
3746
|
+
A = f(A);
|
|
3747
3747
|
} catch (w) {
|
|
3748
3748
|
g.call(this, w);
|
|
3749
3749
|
break;
|
|
@@ -3751,10 +3751,10 @@ let qe = class {
|
|
|
3751
3751
|
}
|
|
3752
3752
|
try {
|
|
3753
3753
|
u = dn.call(this, A);
|
|
3754
|
-
} catch (
|
|
3755
|
-
return Promise.reject(
|
|
3754
|
+
} catch (f) {
|
|
3755
|
+
return Promise.reject(f);
|
|
3756
3756
|
}
|
|
3757
|
-
for (m = 0,
|
|
3757
|
+
for (m = 0, h = l.length; m < h; )
|
|
3758
3758
|
u = u.then(l[m++], l[m++]);
|
|
3759
3759
|
return u;
|
|
3760
3760
|
}
|
|
@@ -3998,7 +3998,7 @@ class Be {
|
|
|
3998
3998
|
PUBLIC_IS_OFFLINE: s,
|
|
3999
3999
|
PUBLIC_USERNAME_OFFLINE: a,
|
|
4000
4000
|
PUBLIC_PASSWORD_OFFLINE: r
|
|
4001
|
-
} =
|
|
4001
|
+
} = q();
|
|
4002
4002
|
if (s === "true")
|
|
4003
4003
|
try {
|
|
4004
4004
|
return (await this.props?.axiosApi.get("/auth", {
|
|
@@ -4328,7 +4328,7 @@ class Be {
|
|
|
4328
4328
|
exclude: a.getAutorInfo,
|
|
4329
4329
|
imagesizes: s.getAutorInfo
|
|
4330
4330
|
}))?.data.data ?? []);
|
|
4331
|
-
const l = as(c), m = (He(i)?.data ?? [])[0]?.list?.items?.map((v) => as(v)),
|
|
4331
|
+
const l = as(c), m = (He(i)?.data ?? [])[0]?.list?.items?.map((v) => as(v)), h = [];
|
|
4332
4332
|
console.log("newsRelatedList: ", m), m?.forEach((v) => {
|
|
4333
4333
|
v && v.length > 0 && v.forEach((E) => {
|
|
4334
4334
|
E.forEach((N) => {
|
|
@@ -4337,14 +4337,14 @@ class Be {
|
|
|
4337
4337
|
imagesizes: s.getNewsItemsRelated,
|
|
4338
4338
|
exclude: a.getNewsItemsRelated
|
|
4339
4339
|
});
|
|
4340
|
-
S &&
|
|
4340
|
+
S && h.push(
|
|
4341
4341
|
S
|
|
4342
4342
|
);
|
|
4343
4343
|
});
|
|
4344
4344
|
});
|
|
4345
|
-
}), console.log("newsRelatedListRequest: ",
|
|
4346
|
-
const
|
|
4347
|
-
...
|
|
4345
|
+
}), console.log("newsRelatedListRequest: ", h);
|
|
4346
|
+
const f = (await Promise.allSettled([
|
|
4347
|
+
...h
|
|
4348
4348
|
])).map(
|
|
4349
4349
|
(v) => He(v)?.data
|
|
4350
4350
|
), g = await ur(
|
|
@@ -4362,7 +4362,7 @@ class Be {
|
|
|
4362
4362
|
autor: d,
|
|
4363
4363
|
newsRelatedResponses: g,
|
|
4364
4364
|
itemList: He(i)?.data ?? [],
|
|
4365
|
-
newsRelatedListResponses:
|
|
4365
|
+
newsRelatedListResponses: f,
|
|
4366
4366
|
schemasImages: w ?? []
|
|
4367
4367
|
};
|
|
4368
4368
|
};
|
|
@@ -4373,7 +4373,7 @@ class bo extends Be {
|
|
|
4373
4373
|
IS_MULTIPUBLICATION;
|
|
4374
4374
|
constructor(t) {
|
|
4375
4375
|
super(t);
|
|
4376
|
-
const { MULTIPUBLICATION_FETCHES: s, PUBLIC_PUBLICATION_ID: a } =
|
|
4376
|
+
const { MULTIPUBLICATION_FETCHES: s, PUBLIC_PUBLICATION_ID: a } = q();
|
|
4377
4377
|
this.MULTIPUBLICATION_FETCHES = s, this.PUBLIC_PUBLICATION_ID = a, this.IS_MULTIPUBLICATION = s != null && s !== "" || a != null && a !== "";
|
|
4378
4378
|
}
|
|
4379
4379
|
getBlockSass = async (t) => {
|
|
@@ -4424,7 +4424,7 @@ class bo extends Be {
|
|
|
4424
4424
|
}
|
|
4425
4425
|
},
|
|
4426
4426
|
tag: async () => {
|
|
4427
|
-
const { USE_QUOTE_IN_QUERY_TAG_HOME: l } =
|
|
4427
|
+
const { USE_QUOTE_IN_QUERY_TAG_HOME: l } = q(), u = {
|
|
4428
4428
|
query: l ? 'claves:("' + o + '")' : "claves:(" + o + ")",
|
|
4429
4429
|
size: this.props?.imgSizes[c]?.size ?? 3,
|
|
4430
4430
|
newstype: this.props?.config?.newsType,
|
|
@@ -4537,21 +4537,21 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4537
4537
|
exclude: o
|
|
4538
4538
|
}), d = [];
|
|
4539
4539
|
for (let m = 1; m <= r; m++)
|
|
4540
|
-
for (let
|
|
4540
|
+
for (let h = 1; h <= i; h++)
|
|
4541
4541
|
d.push({
|
|
4542
4542
|
func: c.getBlockSass,
|
|
4543
|
-
slot_id: m + "_" +
|
|
4543
|
+
slot_id: m + "_" + h
|
|
4544
4544
|
});
|
|
4545
4545
|
const l = await Promise.allSettled([
|
|
4546
4546
|
...d.map((m) => m.func({ template: "Home_" + m.slot_id }))
|
|
4547
4547
|
]);
|
|
4548
4548
|
return (() => {
|
|
4549
4549
|
const m = {};
|
|
4550
|
-
for (let
|
|
4550
|
+
for (let h = 0; h < l.length; h++) {
|
|
4551
4551
|
const A = or(
|
|
4552
|
-
l[
|
|
4553
|
-
),
|
|
4554
|
-
A && (m[
|
|
4552
|
+
l[h]
|
|
4553
|
+
), f = "Home_" + (Math.floor(h / i) + 1) + "_" + (Math.floor(h % i) + 1);
|
|
4554
|
+
A && (m[f] = { ...A });
|
|
4555
4555
|
}
|
|
4556
4556
|
return m;
|
|
4557
4557
|
})();
|
|
@@ -4560,7 +4560,11 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4560
4560
|
return t && t.data ? t.data : t;
|
|
4561
4561
|
}, ru = async (e) => {
|
|
4562
4562
|
const t = await Promise.allSettled(
|
|
4563
|
-
Object.values(e).map((r) =>
|
|
4563
|
+
Object.values(e).map((r) => {
|
|
4564
|
+
const i = r.promise ?? Promise.resolve(void 0);
|
|
4565
|
+
return i.catch(() => {
|
|
4566
|
+
}), i;
|
|
4567
|
+
})
|
|
4564
4568
|
), s = Object.keys(e), a = {};
|
|
4565
4569
|
for (const r in e) {
|
|
4566
4570
|
const i = e[r];
|
|
@@ -4617,21 +4621,21 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4617
4621
|
return i ? { ...t, ...i } : fe(t);
|
|
4618
4622
|
},
|
|
4619
4623
|
seccion: async (e) => {
|
|
4620
|
-
const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), d = [], l = ut(a), u = Number(s.newsListLimit) ?? 0;
|
|
4624
|
+
const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), d = [], l = ut(a), u = Number(s.newsListLimit) ?? 0, m = q().PUBLIC_LNG === "en";
|
|
4621
4625
|
try {
|
|
4622
|
-
const
|
|
4626
|
+
const h = await o.getNewsListSection({
|
|
4623
4627
|
section: r,
|
|
4624
4628
|
size: u,
|
|
4625
4629
|
newstype: s.newsType,
|
|
4626
4630
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4627
4631
|
page: l
|
|
4628
4632
|
});
|
|
4629
|
-
if (!
|
|
4630
|
-
const
|
|
4631
|
-
return
|
|
4633
|
+
if (!h) return fe(t);
|
|
4634
|
+
const A = h.data.data, f = A[0];
|
|
4635
|
+
return A.length < u || d.push({ rel: "next", url: lt(s, c, l) }), l > 1 && d.push({ rel: "prev", url: dt(s, c, l) }), {
|
|
4632
4636
|
...t,
|
|
4633
|
-
title: `Últimas Noticias de ${
|
|
4634
|
-
description: `Todas las últimas noticias de ${
|
|
4637
|
+
title: m ? `Latest News from ${f.info.section?.name} | ${s.name}` : `Últimas Noticias de ${f.info.section?.name} | ${s.name}`,
|
|
4638
|
+
description: m ? `All the latest news from ${f.info.section?.name} on ${s.name}` : `Todas las últimas noticias de ${f.info.section?.name} en ${s.name}`,
|
|
4635
4639
|
alternates: {
|
|
4636
4640
|
...t.alternates,
|
|
4637
4641
|
canonical: s.siteUrl + a
|
|
@@ -4645,37 +4649,37 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4645
4649
|
"msapplication-TileImage": s.msapplicationTileImage ?? ""
|
|
4646
4650
|
},
|
|
4647
4651
|
openGraph: {
|
|
4648
|
-
title: `${
|
|
4652
|
+
title: `${f.info.section?.name}`,
|
|
4649
4653
|
type: "website",
|
|
4650
4654
|
url: `${s.siteUrl}${a}`,
|
|
4651
4655
|
locale: t.openGraph.locale
|
|
4652
4656
|
},
|
|
4653
4657
|
twitter: {
|
|
4654
4658
|
card: "summary_large_image",
|
|
4655
|
-
title: `${
|
|
4659
|
+
title: `${f.info.section?.name}`,
|
|
4656
4660
|
site: t.twitter.site,
|
|
4657
4661
|
domain: s.siteUrl,
|
|
4658
4662
|
url: `${s.siteUrl}${a}`
|
|
4659
4663
|
}
|
|
4660
4664
|
};
|
|
4661
|
-
} catch (
|
|
4662
|
-
return console.error(
|
|
4665
|
+
} catch (h) {
|
|
4666
|
+
return console.error(h), fe(t);
|
|
4663
4667
|
}
|
|
4664
4668
|
},
|
|
4665
4669
|
tema: async (e) => {
|
|
4666
|
-
const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), d = [], l = ut(a), u = Number(s.newsListLimit) ?? 0, m = /([t][0-9]{4})\w+/.exec(r || ""),
|
|
4670
|
+
const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), d = [], l = ut(a), u = Number(s.newsListLimit) ?? 0, m = /([t][0-9]{4})\w+/.exec(r || ""), h = m && m?.length > 0 ? m[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: A, PUBLIC_LNG: f } = q(), g = f === "en";
|
|
4667
4671
|
try {
|
|
4668
|
-
const
|
|
4669
|
-
tagid:
|
|
4672
|
+
const w = await o.getNewsListTags({
|
|
4673
|
+
tagid: h,
|
|
4670
4674
|
size: u,
|
|
4671
4675
|
tagtype: Number(A),
|
|
4672
4676
|
newstype: s.newsType,
|
|
4673
4677
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4674
4678
|
page: l
|
|
4675
4679
|
});
|
|
4676
|
-
if (!
|
|
4677
|
-
const
|
|
4678
|
-
return
|
|
4680
|
+
if (!w) return fe(t);
|
|
4681
|
+
const v = w.data.entity;
|
|
4682
|
+
return v ? (w.data.data?.length < u || d.push({
|
|
4679
4683
|
rel: "next",
|
|
4680
4684
|
url: lt(s, c, l)
|
|
4681
4685
|
}), l > 1 && d.push({
|
|
@@ -4683,8 +4687,8 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4683
4687
|
url: dt(s, c, l)
|
|
4684
4688
|
}), {
|
|
4685
4689
|
...t,
|
|
4686
|
-
title: `Últimas noticias de ${
|
|
4687
|
-
description: `Las últimas noticias sobre ${
|
|
4690
|
+
title: g ? `Latest news about ${v.name} | ${s.name}` : `Últimas noticias de ${v.name} | ${s.name}`,
|
|
4691
|
+
description: g ? `The latest news about ${v.name} on ${s.name}` : `Las últimas noticias sobre ${v.name} en ${s.name}`,
|
|
4688
4692
|
alternates: {
|
|
4689
4693
|
...t.alternates,
|
|
4690
4694
|
canonical: s.siteUrl + a
|
|
@@ -4698,21 +4702,21 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4698
4702
|
"msapplication-TileImage": s.msapplicationTileImage ?? ""
|
|
4699
4703
|
},
|
|
4700
4704
|
openGraph: {
|
|
4701
|
-
title: `${
|
|
4705
|
+
title: `${v.name}`,
|
|
4702
4706
|
type: "website",
|
|
4703
4707
|
url: `${s.siteUrl}${a}`,
|
|
4704
4708
|
locale: t.openGraph.locale
|
|
4705
4709
|
},
|
|
4706
4710
|
twitter: {
|
|
4707
4711
|
card: "summary_large_image",
|
|
4708
|
-
title: `${
|
|
4712
|
+
title: `${v.name}`,
|
|
4709
4713
|
site: t.twitter.site,
|
|
4710
4714
|
domain: s.siteUrl,
|
|
4711
4715
|
url: `${s.siteUrl}${a}`
|
|
4712
4716
|
}
|
|
4713
4717
|
}) : t;
|
|
4714
|
-
} catch (
|
|
4715
|
-
return console.error(
|
|
4718
|
+
} catch (w) {
|
|
4719
|
+
return console.error(w), fe(t);
|
|
4716
4720
|
}
|
|
4717
4721
|
},
|
|
4718
4722
|
"ultimas-noticias": (e) => {
|
|
@@ -4794,10 +4798,10 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4794
4798
|
}
|
|
4795
4799
|
},
|
|
4796
4800
|
contacto: (e) => {
|
|
4797
|
-
const { meta: t, config: s, pathname: a } = e;
|
|
4801
|
+
const { meta: t, config: s, pathname: a } = e, r = q().PUBLIC_LNG === "en";
|
|
4798
4802
|
return {
|
|
4799
4803
|
...t,
|
|
4800
|
-
title: `${s.name} | Contacto`,
|
|
4804
|
+
title: `${s.name} | ${r ? "Contact" : "Contacto"}`,
|
|
4801
4805
|
alternates: {
|
|
4802
4806
|
...t.alternates,
|
|
4803
4807
|
canonical: s.siteUrl + a
|
|
@@ -4805,10 +4809,10 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4805
4809
|
};
|
|
4806
4810
|
},
|
|
4807
4811
|
anuncia: (e) => {
|
|
4808
|
-
const { meta: t, config: s, pathname: a } = e;
|
|
4812
|
+
const { meta: t, config: s, pathname: a } = e, r = q().PUBLIC_LNG === "en";
|
|
4809
4813
|
return {
|
|
4810
4814
|
...t,
|
|
4811
|
-
title: `${s.name} | Anuncia`,
|
|
4815
|
+
title: `${s.name} | ${r ? "Advertise" : "Anuncia"}`,
|
|
4812
4816
|
alternates: {
|
|
4813
4817
|
...t.alternates,
|
|
4814
4818
|
canonical: s.siteUrl + a
|
|
@@ -4834,13 +4838,13 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4834
4838
|
};
|
|
4835
4839
|
},
|
|
4836
4840
|
autor: async (e) => {
|
|
4837
|
-
const { meta: t, config: s, pathname: a, imgSizes: r, slug: i, axiosApi: o } = e, c = new Be({ config: s, axiosApi: o, imgSizes: r }), d = a.split("/"), l = [], u = ut(a);
|
|
4841
|
+
const { meta: t, config: s, pathname: a, imgSizes: r, slug: i, axiosApi: o } = e, c = new Be({ config: s, axiosApi: o, imgSizes: r }), d = a.split("/"), l = [], u = ut(a), m = q().PUBLIC_LNG === "en";
|
|
4838
4842
|
try {
|
|
4839
|
-
const
|
|
4843
|
+
const h = await c.getAutorInfo({
|
|
4840
4844
|
user: i,
|
|
4841
4845
|
exclude: "groups",
|
|
4842
4846
|
imagesizes: r.sm
|
|
4843
|
-
}),
|
|
4847
|
+
}), A = await c.getNewsListAutor({
|
|
4844
4848
|
size: Number(s.newsListLimit) ?? 0,
|
|
4845
4849
|
user: i,
|
|
4846
4850
|
page: u,
|
|
@@ -4848,7 +4852,7 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4848
4852
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4849
4853
|
imagesizes: r.md
|
|
4850
4854
|
});
|
|
4851
|
-
return
|
|
4855
|
+
return A ? (A.data.data.length < Number(s.newsListLimit) || l.push({
|
|
4852
4856
|
rel: "next",
|
|
4853
4857
|
url: lt(s, d, u)
|
|
4854
4858
|
}), u > 1 && l.push({
|
|
@@ -4856,8 +4860,8 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4856
4860
|
url: dt(s, d, u)
|
|
4857
4861
|
}), {
|
|
4858
4862
|
...t,
|
|
4859
|
-
title: `Últimas Noticias de ${
|
|
4860
|
-
description: `Todas las últimas noticias de ${
|
|
4863
|
+
title: m ? `Latest News from ${h?.data.data[0]?.info.fullname} | ${s.name}` : `Últimas Noticias de ${h?.data.data[0]?.info.fullname} | ${s.name}`,
|
|
4864
|
+
description: m ? `All the latest news from ${h?.data.data[0]?.info.fullname} on ${s.name}` : `Todas las últimas noticias de ${h?.data.data[0]?.info.fullname} en ${s.name}`,
|
|
4861
4865
|
alternates: {
|
|
4862
4866
|
...t.alternates,
|
|
4863
4867
|
canonical: s.siteUrl + a
|
|
@@ -4871,8 +4875,8 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4871
4875
|
"msapplication-TileImage": s.msapplicationTileImage ?? ""
|
|
4872
4876
|
}
|
|
4873
4877
|
}) : fe(t);
|
|
4874
|
-
} catch (
|
|
4875
|
-
return console.error(
|
|
4878
|
+
} catch (h) {
|
|
4879
|
+
return console.error(h), fe(t);
|
|
4876
4880
|
}
|
|
4877
4881
|
}
|
|
4878
4882
|
}, Co = (e) => e ? e.replace(/<[^>]*>/g, "").replace(/ /gi, " ").replace(/&/gi, "&").replace(/"/gi, '"').replace(/'/gi, "'").replace(/\s+/g, " ").trim() : "", No = ({
|
|
@@ -4880,7 +4884,7 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4880
4884
|
listAutor: t,
|
|
4881
4885
|
config: s
|
|
4882
4886
|
}) => {
|
|
4883
|
-
const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: i } =
|
|
4887
|
+
const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: i } = q(), o = r, c = a?.info?.date?.modified ? Fe(a.info.date.modified, o) : void 0, d = e.addtional?.USER_JOBSTART ? Fe(e.addtional.USER_JOBSTART, o) : void 0, l = i && i !== "false" ? i : "", u = {
|
|
4884
4888
|
"@context": "https://schema.org",
|
|
4885
4889
|
"@type": "ProfilePage",
|
|
4886
4890
|
mainEntity: {
|
|
@@ -4889,7 +4893,7 @@ const au = async (e, t, s, a, r, i, o) => {
|
|
|
4889
4893
|
alternateName: e.info.nickname ? e.info.nickname : e.info.name,
|
|
4890
4894
|
identifier: e.info.id,
|
|
4891
4895
|
description: Co(e.addtional?.USER_MIBIO ?? ""),
|
|
4892
|
-
image: e.info.image ? e.info.image.sizes.map((m,
|
|
4896
|
+
image: e.info.image ? e.info.image.sizes.map((m, h) => h === 0 && e.info.image.sizes.length !== 1 ? null : l + m.url).filter(Boolean) : [],
|
|
4893
4897
|
sameAs: [
|
|
4894
4898
|
e.addtional?.USER_USERFB,
|
|
4895
4899
|
e.addtional?.USER_USERIG,
|
|
@@ -4924,9 +4928,9 @@ async function iu({
|
|
|
4924
4928
|
autor: l,
|
|
4925
4929
|
listAutor: u,
|
|
4926
4930
|
currentNew: m,
|
|
4927
|
-
banners:
|
|
4931
|
+
banners: h,
|
|
4928
4932
|
schemasImages: A,
|
|
4929
|
-
internalPath:
|
|
4933
|
+
internalPath: f,
|
|
4930
4934
|
config: g,
|
|
4931
4935
|
socials: w,
|
|
4932
4936
|
speculationType: v = "Common",
|
|
@@ -4946,14 +4950,14 @@ async function iu({
|
|
|
4946
4950
|
texts: c,
|
|
4947
4951
|
query: d,
|
|
4948
4952
|
axiosApi: e,
|
|
4949
|
-
internalPath:
|
|
4953
|
+
internalPath: f,
|
|
4950
4954
|
schemasImages: R
|
|
4951
4955
|
}), W = Ar(Q), j = b || jn[r]({
|
|
4952
4956
|
pathname: i,
|
|
4953
4957
|
slug: o,
|
|
4954
4958
|
config: g,
|
|
4955
4959
|
currentNew: m,
|
|
4956
|
-
internalPath:
|
|
4960
|
+
internalPath: f
|
|
4957
4961
|
});
|
|
4958
4962
|
return /* @__PURE__ */ p(J, { children: [
|
|
4959
4963
|
/* @__PURE__ */ n("meta", { charSet: "utf-8" }),
|
|
@@ -4983,24 +4987,24 @@ async function iu({
|
|
|
4983
4987
|
{
|
|
4984
4988
|
name: "headscripts",
|
|
4985
4989
|
replaces: j,
|
|
4986
|
-
banners:
|
|
4990
|
+
banners: h
|
|
4987
4991
|
}
|
|
4988
4992
|
),
|
|
4989
|
-
t.schemas_NewsArticle &&
|
|
4993
|
+
t.schemas_NewsArticle && f && /* @__PURE__ */ n(
|
|
4990
4994
|
Br,
|
|
4991
4995
|
{
|
|
4992
4996
|
BASE_URL: g.siteUrl,
|
|
4993
4997
|
config: g,
|
|
4994
|
-
realPath:
|
|
4998
|
+
realPath: f,
|
|
4995
4999
|
axiosApi: e
|
|
4996
5000
|
}
|
|
4997
5001
|
),
|
|
4998
5002
|
/* @__PURE__ */ n(Or, { config: g, socials: w }),
|
|
4999
|
-
t.schemas_Videos &&
|
|
5003
|
+
t.schemas_Videos && f && /* @__PURE__ */ n(
|
|
5000
5004
|
Mr,
|
|
5001
5005
|
{
|
|
5002
5006
|
axiosApi: e,
|
|
5003
|
-
realPath:
|
|
5007
|
+
realPath: f,
|
|
5004
5008
|
config: g
|
|
5005
5009
|
}
|
|
5006
5010
|
),
|
|
@@ -5046,13 +5050,13 @@ const ou = ({
|
|
|
5046
5050
|
scriptReplaces: l,
|
|
5047
5051
|
body_custom_elements: u
|
|
5048
5052
|
}) => {
|
|
5049
|
-
const m = Ga(c, d),
|
|
5053
|
+
const m = Ga(c, d), h = jn[t]({
|
|
5050
5054
|
pathname: a,
|
|
5051
5055
|
slug: r,
|
|
5052
5056
|
config: i,
|
|
5053
5057
|
currentNew: c,
|
|
5054
5058
|
internalPath: o
|
|
5055
|
-
}), A = l.before.active,
|
|
5059
|
+
}), A = l.before.active, f = l.after.active, g = A ? l.before.customData ? l.before.customData : h : void 0, w = f ? l.after.customData ? l.after.customData : h : void 0;
|
|
5056
5060
|
return /* @__PURE__ */ p(J, { children: [
|
|
5057
5061
|
/* @__PURE__ */ n(_n, { name: "bodybefore", banners: s, replaces: g }),
|
|
5058
5062
|
e,
|
|
@@ -5099,7 +5103,7 @@ function Eo({
|
|
|
5099
5103
|
enableDrag: i,
|
|
5100
5104
|
onIndexChange: o
|
|
5101
5105
|
}) {
|
|
5102
|
-
const [c, d] = $(!1), [l, u] = $(0), [m,
|
|
5106
|
+
const [c, d] = $(!1), [l, u] = $(0), [m, h] = $(0), [A, f] = $(0), [g, w] = $(0), [v, E] = $(null), N = Ma(null), [S, b] = $(1), I = ce(() => {
|
|
5103
5107
|
if (r) return 1;
|
|
5104
5108
|
const y = N.current?.offsetWidth || window.innerWidth, T = s + a, P = Math.floor(y / T);
|
|
5105
5109
|
return Math.max(1, P);
|
|
@@ -5132,24 +5136,24 @@ function Eo({
|
|
|
5132
5136
|
if (r)
|
|
5133
5137
|
return Math.abs(y) / T * 100 > 30 ? 1 : 0;
|
|
5134
5138
|
{
|
|
5135
|
-
const
|
|
5139
|
+
const _ = s + a, V = Math.abs(y) / _;
|
|
5136
5140
|
return V >= (P === 1 ? 0.2 : 0.3) ? P === 1 ? 1 : Math.min(Math.round(V), G) : 0;
|
|
5137
5141
|
}
|
|
5138
5142
|
},
|
|
5139
5143
|
[r, s, a, I, W]
|
|
5140
5144
|
), H = ce(
|
|
5141
5145
|
(y) => {
|
|
5142
|
-
i && (u(y),
|
|
5146
|
+
i && (u(y), h(y), f(0), w(Date.now()), d(!0), document.body.classList.add("dragging"));
|
|
5143
5147
|
},
|
|
5144
5148
|
[i]
|
|
5145
5149
|
), se = ce(
|
|
5146
5150
|
(y) => {
|
|
5147
5151
|
if (!c || !i) return;
|
|
5148
|
-
const T = y - l, P = (s + a) * 1.2, G = e === 0 && T > 0,
|
|
5149
|
-
|
|
5152
|
+
const T = y - l, P = (s + a) * 1.2, G = e === 0 && T > 0, _ = e === Q && T < 0, V = G || _ ? Math.sign(T) * Math.min(Math.abs(T), P) : T;
|
|
5153
|
+
h(y), f(V);
|
|
5150
5154
|
},
|
|
5151
5155
|
[c, l, i, e, Q, s, a]
|
|
5152
|
-
),
|
|
5156
|
+
), M = ce(
|
|
5153
5157
|
(y) => {
|
|
5154
5158
|
se(y.clientX);
|
|
5155
5159
|
},
|
|
@@ -5157,7 +5161,7 @@ function Eo({
|
|
|
5157
5161
|
), x = ce(
|
|
5158
5162
|
(y) => {
|
|
5159
5163
|
if (!c || !i) return;
|
|
5160
|
-
const T = m - l, P = Date.now() - g, G = Math.abs(T) / Math.max(P, 1),
|
|
5164
|
+
const T = m - l, P = Date.now() - g, G = Math.abs(T) / Math.max(P, 1), _ = L(T), z = G > 0.5 && Math.abs(T) > 50 ? Math.max(_, 1) : _;
|
|
5161
5165
|
if (z > 0)
|
|
5162
5166
|
if (T > 0) {
|
|
5163
5167
|
const Y = Math.max(0, e - z);
|
|
@@ -5166,7 +5170,7 @@ function Eo({
|
|
|
5166
5170
|
const Y = Math.min(Q, e + z);
|
|
5167
5171
|
o(Y);
|
|
5168
5172
|
}
|
|
5169
|
-
d(!1),
|
|
5173
|
+
d(!1), f(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", x), y.clientX === l && v?.dispatchEvent(new PointerEvent("click"));
|
|
5170
5174
|
},
|
|
5171
5175
|
[
|
|
5172
5176
|
c,
|
|
@@ -5178,7 +5182,7 @@ function Eo({
|
|
|
5178
5182
|
i,
|
|
5179
5183
|
o,
|
|
5180
5184
|
L,
|
|
5181
|
-
|
|
5185
|
+
M,
|
|
5182
5186
|
v
|
|
5183
5187
|
]
|
|
5184
5188
|
), U = ce(
|
|
@@ -5186,7 +5190,7 @@ function Eo({
|
|
|
5186
5190
|
y.preventDefault(), ["a", "span"].includes(y.target?.localName) && E(y.target), H(y.clientX);
|
|
5187
5191
|
},
|
|
5188
5192
|
[H]
|
|
5189
|
-
),
|
|
5193
|
+
), D = ce(
|
|
5190
5194
|
(y) => {
|
|
5191
5195
|
H(y.touches[0].clientX);
|
|
5192
5196
|
},
|
|
@@ -5204,13 +5208,13 @@ function Eo({
|
|
|
5204
5208
|
);
|
|
5205
5209
|
return Te(() => {
|
|
5206
5210
|
if (c)
|
|
5207
|
-
return N.current?.addEventListener("mousemove",
|
|
5211
|
+
return N.current?.addEventListener("mousemove", M), N.current?.addEventListener("mouseup", x), () => {
|
|
5208
5212
|
N.current?.removeEventListener(
|
|
5209
5213
|
"mousemove",
|
|
5210
|
-
|
|
5214
|
+
M
|
|
5211
5215
|
), N.current?.removeEventListener("mouseup", x);
|
|
5212
5216
|
};
|
|
5213
|
-
}, [c, se, x,
|
|
5217
|
+
}, [c, se, x, M]), {
|
|
5214
5218
|
isDragging: c,
|
|
5215
5219
|
translateOffset: A,
|
|
5216
5220
|
carrouselRef: N,
|
|
@@ -5219,7 +5223,7 @@ function Eo({
|
|
|
5219
5223
|
actualVisibleItems: S,
|
|
5220
5224
|
dragHandlers: {
|
|
5221
5225
|
onMouseDown: U,
|
|
5222
|
-
onTouchStart:
|
|
5226
|
+
onTouchStart: D,
|
|
5223
5227
|
onTouchMove: k,
|
|
5224
5228
|
onTouchEnd: F,
|
|
5225
5229
|
onMouseLeave: x
|
|
@@ -5236,14 +5240,14 @@ function lu(e) {
|
|
|
5236
5240
|
fullPageWidth: o = !1,
|
|
5237
5241
|
pagination: c = !1,
|
|
5238
5242
|
enableDrag: d = !0
|
|
5239
|
-
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, m] = $(0), [
|
|
5243
|
+
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, m] = $(0), [h, A] = $(!1);
|
|
5240
5244
|
Te(() => {
|
|
5241
5245
|
A(!0);
|
|
5242
5246
|
const j = document.getElementById("ssr-dummy_" + s);
|
|
5243
5247
|
j && j.remove();
|
|
5244
5248
|
}, []);
|
|
5245
5249
|
const {
|
|
5246
|
-
isDragging:
|
|
5250
|
+
isDragging: f,
|
|
5247
5251
|
translateOffset: g,
|
|
5248
5252
|
carrouselRef: w,
|
|
5249
5253
|
maxIndex: v,
|
|
@@ -5269,7 +5273,7 @@ function lu(e) {
|
|
|
5269
5273
|
}, [u, b]), R = ce(() => {
|
|
5270
5274
|
b(u + 1);
|
|
5271
5275
|
}, [u, b]);
|
|
5272
|
-
if (!
|
|
5276
|
+
if (!h) return;
|
|
5273
5277
|
const Q = E(u, g), W = o ? `translateX(${Q}%)` : `translateX(${Q}px)`;
|
|
5274
5278
|
return /* @__PURE__ */ p("div", { className: `${s}- carrousel-container`, children: [
|
|
5275
5279
|
u > 0 && /* @__PURE__ */ n(
|
|
@@ -5332,7 +5336,7 @@ function lu(e) {
|
|
|
5332
5336
|
style: {
|
|
5333
5337
|
gap: i,
|
|
5334
5338
|
margin: i === 0 ? "0" : "0 0.5rem 1rem",
|
|
5335
|
-
cursor: d ?
|
|
5339
|
+
cursor: d ? f ? "grabbing" : "grab" : "default",
|
|
5336
5340
|
justifyContent: "start !important"
|
|
5337
5341
|
},
|
|
5338
5342
|
...S,
|
|
@@ -5342,11 +5346,11 @@ function lu(e) {
|
|
|
5342
5346
|
className: "card",
|
|
5343
5347
|
style: {
|
|
5344
5348
|
transform: W,
|
|
5345
|
-
transition:
|
|
5349
|
+
transition: f ? "none" : "transform 300ms ease",
|
|
5346
5350
|
minWidth: o ? "100%" : r,
|
|
5347
5351
|
width: "min-content",
|
|
5348
|
-
userSelect:
|
|
5349
|
-
pointerEvents:
|
|
5352
|
+
userSelect: f ? "none" : "auto",
|
|
5353
|
+
pointerEvents: f ? "none" : "auto"
|
|
5350
5354
|
},
|
|
5351
5355
|
dangerouslySetInnerHTML: { __html: j }
|
|
5352
5356
|
},
|
|
@@ -5357,11 +5361,11 @@ function lu(e) {
|
|
|
5357
5361
|
className: "card",
|
|
5358
5362
|
style: {
|
|
5359
5363
|
transform: W,
|
|
5360
|
-
transition:
|
|
5364
|
+
transition: f ? "none" : "transform 300ms ease",
|
|
5361
5365
|
minWidth: o ? "100%" : r,
|
|
5362
5366
|
width: "min-content",
|
|
5363
|
-
userSelect:
|
|
5364
|
-
pointerEvents:
|
|
5367
|
+
userSelect: f ? "none" : "auto",
|
|
5368
|
+
pointerEvents: f ? "none" : "auto"
|
|
5365
5369
|
},
|
|
5366
5370
|
children: j
|
|
5367
5371
|
},
|
|
@@ -5467,25 +5471,25 @@ const et = (e) => /* @__PURE__ */ n("div", { className: "su-flex su-flex-col sas
|
|
|
5467
5471
|
);
|
|
5468
5472
|
};
|
|
5469
5473
|
function O(e) {
|
|
5470
|
-
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: s, SUB_PUBLICATION_PREFIX_IN_ROUTES: a } =
|
|
5474
|
+
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: s, SUB_PUBLICATION_PREFIX_IN_ROUTES: a } = q(), { block_subPublication: r } = e, i = xo(e.href), o = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, c = a?.tema && i, d = a?.buscar && o, l = !r && !c && !d && t !== "false" && s !== "false" ? "/" + t : "", u = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), m = e.href?.split("/")[1] === l.replace("/", ""), h = {
|
|
5471
5475
|
...e,
|
|
5472
5476
|
href: (!u && !m ? l : "") + (l && e.href === "/" ? "" : e.href ?? "")
|
|
5473
5477
|
};
|
|
5474
5478
|
return u ? /* @__PURE__ */ n(
|
|
5475
5479
|
"a",
|
|
5476
5480
|
{
|
|
5477
|
-
target:
|
|
5478
|
-
rel:
|
|
5479
|
-
...
|
|
5481
|
+
target: h.target ?? "_blank",
|
|
5482
|
+
rel: h.rel ?? "noopener noreferrer",
|
|
5483
|
+
...h,
|
|
5480
5484
|
children: e.children
|
|
5481
5485
|
}
|
|
5482
|
-
) : /* @__PURE__ */ n("a", { ...
|
|
5486
|
+
) : /* @__PURE__ */ n("a", { ...h, children: e.children });
|
|
5483
5487
|
}
|
|
5484
5488
|
const xo = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
5485
|
-
const { PUBLIC_ASSETS_URL: t, PUBLIC_ENV: s, PUBLIC_SERVICE_PREFIX: a, PUBLIC_IS_SUB_PUBLICATION: r } =
|
|
5489
|
+
const { PUBLIC_ASSETS_URL: t, PUBLIC_ENV: s, PUBLIC_SERVICE_PREFIX: a, PUBLIC_IS_SUB_PUBLICATION: r } = q(), i = a && a !== "false" ? a : "", c = r && r !== "false" && i && s === "local" ? `/${i}` : "", d = t;
|
|
5486
5490
|
return (d && d !== "false" ? d : "") + c + "/versions/images" + e;
|
|
5487
5491
|
}, Ns = (e) => {
|
|
5488
|
-
const { PUBLIC_ENV: t } =
|
|
5492
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/whatsapp-black.svg");
|
|
5489
5493
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
5490
5494
|
"svg",
|
|
5491
5495
|
{
|
|
@@ -5505,7 +5509,7 @@ const xo = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
|
5505
5509
|
}
|
|
5506
5510
|
);
|
|
5507
5511
|
}, Ss = (e) => {
|
|
5508
|
-
const { PUBLIC_ENV: t } =
|
|
5512
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/whatsapp-note.svg");
|
|
5509
5513
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
5510
5514
|
"svg",
|
|
5511
5515
|
{
|
|
@@ -5526,7 +5530,7 @@ const xo = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
|
5526
5530
|
}
|
|
5527
5531
|
);
|
|
5528
5532
|
}, Es = (e) => {
|
|
5529
|
-
const { PUBLIC_ENV: t } =
|
|
5533
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/clipboard.svg");
|
|
5530
5534
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ p(
|
|
5531
5535
|
"svg",
|
|
5532
5536
|
{
|
|
@@ -5555,7 +5559,7 @@ const xo = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
|
5555
5559
|
}
|
|
5556
5560
|
);
|
|
5557
5561
|
}, Ro = (e) => {
|
|
5558
|
-
const { PUBLIC_ENV: t } =
|
|
5562
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/send.svg");
|
|
5559
5563
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
5560
5564
|
"svg",
|
|
5561
5565
|
{
|
|
@@ -5575,7 +5579,7 @@ const xo = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
|
5575
5579
|
}
|
|
5576
5580
|
);
|
|
5577
5581
|
}, fn = (e) => {
|
|
5578
|
-
const { PUBLIC_ENV: t } =
|
|
5582
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/message.svg");
|
|
5579
5583
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n("svg", { width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ n("path", { d: "M15 4C21.0751 4 26 8.92487 26 15C26 16.2691 25.5577 17.9814 24.6729 20.1367L24.502 20.5459L25.5459 24.8428C25.5943 25.042 25.5804 25.2514 25.5059 25.4424C25.3194 25.92 24.8065 26.1738 24.3223 26.0469L24.2109 26.0107L20.4648 24.5488C18.1478 25.5163 16.326 26 15 26C8.92487 26 4 21.0751 4 15C4 8.92487 8.92487 4 15 4ZM15 5.5C9.75329 5.5 5.5 9.75329 5.5 15C5.5 20.2467 9.75329 24.5 15 24.5C16.0245 24.5 17.5449 24.1124 19.5127 23.3184L20.4453 22.9316L23.8623 24.2637L22.9268 20.417L23.2715 19.6006C24.0971 17.5954 24.5 16.0455 24.5 15C24.5 9.75329 20.2467 5.5 15 5.5Z", fill: "#162950" }) });
|
|
5580
5584
|
}, ko = {
|
|
5581
5585
|
Whatsapp: {
|
|
@@ -5644,7 +5648,7 @@ const Qe = (e) => {
|
|
|
5644
5648
|
paths: i,
|
|
5645
5649
|
newsDescriptionSectionTag: o = "h3",
|
|
5646
5650
|
speculationPrerenderClass: c
|
|
5647
|
-
} = e, { SHOW_TAG_BY_SECTION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } =
|
|
5651
|
+
} = e, { SHOW_TAG_BY_SECTION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } = q(), u = () => {
|
|
5648
5652
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
5649
5653
|
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Ue(
|
|
5650
5654
|
e.info?.date?.modified
|
|
@@ -5654,7 +5658,7 @@ const Qe = (e) => {
|
|
|
5654
5658
|
if (e?.config?.showtime)
|
|
5655
5659
|
return Ue(e.info?.date?.modified);
|
|
5656
5660
|
}, m = () => {
|
|
5657
|
-
const
|
|
5661
|
+
const f = {
|
|
5658
5662
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
5659
5663
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
5660
5664
|
"--colorSubTitle": e.colorSubTitle
|
|
@@ -5666,31 +5670,31 @@ const Qe = (e) => {
|
|
|
5666
5670
|
dangerouslySetInnerHTML: {
|
|
5667
5671
|
__html: e.main?.subtitle?.striped ?? ""
|
|
5668
5672
|
},
|
|
5669
|
-
style:
|
|
5673
|
+
style: f
|
|
5670
5674
|
}
|
|
5671
5675
|
);
|
|
5672
|
-
},
|
|
5676
|
+
}, h = () => e.main.uppertitle ? /* @__PURE__ */ n("p", { className: "sass-com-nd-uppertitle", title: e.main.uppertitle, children: e.main.uppertitle }) : null, A = () => {
|
|
5673
5677
|
if (d && a?.tags?.length && a.tags.length > 0) {
|
|
5674
|
-
const
|
|
5678
|
+
const f = a.tags[0], g = f.name;
|
|
5675
5679
|
return le.createElement(
|
|
5676
5680
|
o,
|
|
5677
5681
|
{ className: "sass-com-nd-sectionDescriptionContainer section" },
|
|
5678
5682
|
/* @__PURE__ */ p(J, { children: [
|
|
5679
|
-
|
|
5683
|
+
f.approved ? /* @__PURE__ */ n(
|
|
5680
5684
|
O,
|
|
5681
5685
|
{
|
|
5682
5686
|
block_subPublication: l?.tema,
|
|
5683
5687
|
"aria-label": g,
|
|
5684
5688
|
className: "sass-com-nd-sectionDescription",
|
|
5685
|
-
href: De(
|
|
5689
|
+
href: De(f, i),
|
|
5686
5690
|
children: g
|
|
5687
5691
|
}
|
|
5688
5692
|
) : /* @__PURE__ */ n("div", { className: "sass-com-nd-sectionDescription", children: g }),
|
|
5689
|
-
|
|
5693
|
+
h()
|
|
5690
5694
|
] })
|
|
5691
5695
|
);
|
|
5692
5696
|
} else if (r?.section?.url) {
|
|
5693
|
-
const
|
|
5697
|
+
const f = r.section.name;
|
|
5694
5698
|
return le.createElement(
|
|
5695
5699
|
o,
|
|
5696
5700
|
{ className: "sass-com-nd-sectionDescriptionContainer section" },
|
|
@@ -5698,13 +5702,13 @@ const Qe = (e) => {
|
|
|
5698
5702
|
/* @__PURE__ */ n(
|
|
5699
5703
|
O,
|
|
5700
5704
|
{
|
|
5701
|
-
"aria-label":
|
|
5705
|
+
"aria-label": f,
|
|
5702
5706
|
className: "sass-com-nd-sectionDescription",
|
|
5703
5707
|
href: r.section.url,
|
|
5704
|
-
children:
|
|
5708
|
+
children: f
|
|
5705
5709
|
}
|
|
5706
5710
|
),
|
|
5707
|
-
|
|
5711
|
+
h()
|
|
5708
5712
|
] })
|
|
5709
5713
|
);
|
|
5710
5714
|
}
|
|
@@ -5774,10 +5778,10 @@ const Qe = (e) => {
|
|
|
5774
5778
|
}
|
|
5775
5779
|
);
|
|
5776
5780
|
function ha() {
|
|
5777
|
-
return
|
|
5781
|
+
return q().COMPONENTS?.PlayIcon || ma;
|
|
5778
5782
|
}
|
|
5779
5783
|
function fa() {
|
|
5780
|
-
return
|
|
5784
|
+
return q().COMPONENTS?.PlayIcon || ma;
|
|
5781
5785
|
}
|
|
5782
5786
|
const Po = (e) => {
|
|
5783
5787
|
const { isVideo: t = !1, priorityHigh: s = !1 } = e, a = ha(), r = e.preview.sizes;
|
|
@@ -5915,7 +5919,7 @@ const Po = (e) => {
|
|
|
5915
5919
|
const { preview: t } = e;
|
|
5916
5920
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((i) => !i.url))
|
|
5917
5921
|
return /* @__PURE__ */ n("div", { className: "sass-com-img-imageLogoPlaceholder su-flex-center" });
|
|
5918
|
-
const { PUBLIC_IS_OFFLINE: s } =
|
|
5922
|
+
const { PUBLIC_IS_OFFLINE: s } = q();
|
|
5919
5923
|
if (s === "true")
|
|
5920
5924
|
return /* @__PURE__ */ n(
|
|
5921
5925
|
Bo,
|
|
@@ -6915,7 +6919,7 @@ const Po = (e) => {
|
|
|
6915
6919
|
showads: !1
|
|
6916
6920
|
}, Ts = (e) => {
|
|
6917
6921
|
let t = [];
|
|
6918
|
-
const { PUBLIC_ENV: s, PUBLIC_IS_OFFLINE: a, SHOW_DEV_RANKING: r } =
|
|
6922
|
+
const { PUBLIC_ENV: s, PUBLIC_IS_OFFLINE: a, SHOW_DEV_RANKING: r } = q();
|
|
6919
6923
|
return e.content && e.content.length > 0 ? t = e.content.map((i) => ({
|
|
6920
6924
|
...i,
|
|
6921
6925
|
config: gn
|
|
@@ -7110,7 +7114,7 @@ const Po = (e) => {
|
|
|
7110
7114
|
/* @__PURE__ */ n(O, { className: "sass-com-subw-terms", href: e.terms, target: "_blank", children: "Términos y condiciones" })
|
|
7111
7115
|
] })
|
|
7112
7116
|
] }), _o = (e) => {
|
|
7113
|
-
const { PUBLIC_ENV: t } =
|
|
7117
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/bluestack.svg");
|
|
7114
7118
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "BlueStack logo", ...e }) : /* @__PURE__ */ p(
|
|
7115
7119
|
"svg",
|
|
7116
7120
|
{
|
|
@@ -7130,10 +7134,10 @@ const Po = (e) => {
|
|
|
7130
7134
|
}
|
|
7131
7135
|
);
|
|
7132
7136
|
}, Mt = (e) => {
|
|
7133
|
-
const { PUBLIC_ENV: t } =
|
|
7137
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/facebook.svg");
|
|
7134
7138
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 17, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ n("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ n("path", { stroke: "currentColor", d: "M27.5444 6H23.9083C19.8444 6 17.1708 8.67176 17.1708 12.9466V16.1527H13.5347C13.2139 16.1527 13 16.3664 13 16.687V21.2824C13 21.6031 13.2139 21.8168 13.5347 21.8168H17.1708V33.4656C17.1708 33.7863 17.3847 34 17.7055 34H22.518C22.8389 34 23.0527 33.7863 23.0527 33.4656V21.8168H27.3305C27.6513 21.8168 27.8652 21.6031 27.8652 21.2824V16.687C27.8652 16.5802 27.7583 16.3664 27.6513 16.2595C27.5444 16.1527 27.4375 16.0458 27.2236 16.0458H22.9458V13.374C22.9458 12.0916 23.2666 11.4504 24.9777 11.4504H27.4375C27.7583 11.4504 27.9722 11.2366 27.9722 10.916V6.64122C28.0791 6.21374 27.8652 6 27.5444 6Z", "stroke-width": "1.6" }) });
|
|
7135
7139
|
}, Go = (e) => {
|
|
7136
|
-
const { PUBLIC_ENV: t } =
|
|
7140
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/gnews.svg");
|
|
7137
7141
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 31, height: 40, src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7138
7142
|
"svg",
|
|
7139
7143
|
{
|
|
@@ -7162,10 +7166,10 @@ const Po = (e) => {
|
|
|
7162
7166
|
}
|
|
7163
7167
|
);
|
|
7164
7168
|
}, Dt = (e) => {
|
|
7165
|
-
const { PUBLIC_ENV: t } =
|
|
7169
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/instagram.svg");
|
|
7166
7170
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 23, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ n("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ n("path", { d: "M25.3 6.5H15.3C10.7 6.5 7 10.2 7 14.8V24.8C7 29.4 10.7 33.1 15.3 33.1H25.3C29.9 33.1 33.6 29.4 33.6 24.8V14.8C33.6 10.2 29.9 6.5 25.3 6.5ZM31.1 24.6C31.1 27.8 28.5 30.4 25.3 30.4H15.3C12.1 30.4 9.5 27.8 9.5 24.6V14.6C9.5 11.4 12.1 8.8 15.3 8.8H25.3C28.5 8.8 31.1 11.4 31.1 14.6V24.6ZM20.4 13.1C16.8 13.1 13.8 16.1 13.8 19.7C13.8 23.3 16.8 26.3 20.4 26.3C24 26.3 27 23.3 27 19.7C27 16.1 24.1 13.1 20.5 13.1H20.4ZM20.4 23.8C18.1 23.8 16.3 22 16.3 19.7C16.3 17.4 18.1 15.6 20.4 15.6C22.7 15.6 24.5 17.4 24.5 19.7C24.6 21.9 22.8 23.7 20.6 23.8H20.4ZM27.5 11.7C28 11.7 28.4 12.1 28.4 12.6C28.4 13.1 28 13.5 27.5 13.5C27 13.5 26.6 13.1 26.6 12.6C26.6 12.1 27 11.7 27.5 11.7Z", fill: "currentColor" }) });
|
|
7167
7171
|
}, jo = (e) => {
|
|
7168
|
-
const { PUBLIC_ENV: t } =
|
|
7172
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/podcast.svg");
|
|
7169
7173
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n(
|
|
7170
7174
|
"img",
|
|
7171
7175
|
{
|
|
@@ -7196,7 +7200,7 @@ const Po = (e) => {
|
|
|
7196
7200
|
}
|
|
7197
7201
|
);
|
|
7198
7202
|
}, Qo = (e) => {
|
|
7199
|
-
const { PUBLIC_ENV: t } =
|
|
7203
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/telegram.svg");
|
|
7200
7204
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7201
7205
|
"svg",
|
|
7202
7206
|
{
|
|
@@ -7217,7 +7221,7 @@ const Po = (e) => {
|
|
|
7217
7221
|
}
|
|
7218
7222
|
);
|
|
7219
7223
|
}, Ho = (e) => {
|
|
7220
|
-
const { PUBLIC_ENV: t } =
|
|
7224
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/tiktok.svg");
|
|
7221
7225
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n(
|
|
7222
7226
|
"img",
|
|
7223
7227
|
{
|
|
@@ -7260,7 +7264,7 @@ const Po = (e) => {
|
|
|
7260
7264
|
}
|
|
7261
7265
|
);
|
|
7262
7266
|
}, Vo = (e) => {
|
|
7263
|
-
const { PUBLIC_ENV: t } =
|
|
7267
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/whatsapp.svg");
|
|
7264
7268
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 23, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7265
7269
|
"svg",
|
|
7266
7270
|
{
|
|
@@ -7292,10 +7296,10 @@ const Po = (e) => {
|
|
|
7292
7296
|
}
|
|
7293
7297
|
);
|
|
7294
7298
|
}, Pe = (e) => {
|
|
7295
|
-
const { PUBLIC_ENV: t } =
|
|
7299
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/x.svg");
|
|
7296
7300
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", width: 23, height: 23, ...e }) : /* @__PURE__ */ n("svg", { ...e, width: 28, height: 28, version: "1.1", baseProfile: "tiny", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 30 30", overflow: "visible", xmlSpace: "preserve", children: /* @__PURE__ */ n("path", { fill: "currentColor", d: "M5.9,6.1l7.1,9.8l-7.1,7.9h1.6l6.2-7l5,7h5.4l-7.5-10.3l6.6-7.4h-1.6L16,12.5l-4.6-6.4L5.9,6.1L5.9,6.1zM8.2,7.4h2.5l11,15.3h-2.5L8.2,7.4z" }) });
|
|
7297
7301
|
}, Fo = (e) => {
|
|
7298
|
-
const { PUBLIC_ENV: t } =
|
|
7302
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/youtube.svg");
|
|
7299
7303
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 32, height: 20, src: s, alt: "", ...e }) : /* @__PURE__ */ p(
|
|
7300
7304
|
"svg",
|
|
7301
7305
|
{
|
|
@@ -7410,7 +7414,7 @@ const Po = (e) => {
|
|
|
7410
7414
|
}
|
|
7411
7415
|
);
|
|
7412
7416
|
}, _t = (e) => {
|
|
7413
|
-
const { PUBLIC_ENV: t } =
|
|
7417
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/facebook-black.svg");
|
|
7414
7418
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 17, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7415
7419
|
"svg",
|
|
7416
7420
|
{
|
|
@@ -7430,14 +7434,14 @@ const Po = (e) => {
|
|
|
7430
7434
|
}
|
|
7431
7435
|
);
|
|
7432
7436
|
}, Ge = (e) => {
|
|
7433
|
-
const { PUBLIC_ENV: t } =
|
|
7437
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/linkedin.svg");
|
|
7434
7438
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ p("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
7435
7439
|
/* @__PURE__ */ n("path", { d: "M23.9693 19.7768C22.9443 20.1795 22.3065 21.1785 22.3043 22.2887L22.278 32.7258C22.278 33.1474 21.8 33.4956 21.4127 33.4956H16.1736C15.7995 33.4956 15.293 33.1629 15.293 32.7302V14.8898C15.293 14.4081 15.7995 14.0455 16.2229 14.0466L20.9335 14.051C21.3842 14.051 21.7814 14.5105 21.8065 14.9254L21.8481 15.6185C22.9082 14.4994 24.2166 13.803 25.7055 13.6316C26.5599 13.5338 27.3957 13.5326 28.2555 13.625C31.5769 13.9821 34 16.8678 34 20.2318V32.5678C34 33.0283 33.5602 33.4911 33.1216 33.4911L28.3792 33.4945C27.9295 33.4945 27.4766 33.0484 27.4766 32.57L27.4646 22.2298C27.4646 21.7247 27.3847 21.1908 27.1101 20.7769C26.445 19.7735 25.1169 19.3263 23.9704 19.7757L23.9693 19.7768ZM23.5788 18.9414C25.118 18.2683 26.9143 18.8068 27.8606 20.1751C28.261 20.7536 28.3452 21.4099 28.4021 22.1107L28.4481 32.5522H33.0712V20.3442C33.0898 17.3717 30.9664 14.7964 28.0455 14.5539C27.2742 14.4905 26.5347 14.4816 25.7799 14.585C24.3621 14.7775 23.1084 15.5262 22.266 16.6764L20.9423 18.0125L20.9292 14.9911L16.2677 15V32.5522L21.4007 32.5544L21.4028 22.2342C21.4794 20.7858 22.2441 19.5254 23.5777 18.9414H23.5788Z", fill: "currentColor", stroke: "currentColor", "stroke-width": "0.5" }),
|
|
7436
7440
|
/* @__PURE__ */ n("path", { d: "M11.6141 33.4944L7.91316 33.5011C7.09486 33.5022 6.46473 32.847 6.46582 32.006L6.46801 15.4505C6.46801 14.6384 7.09158 14.0432 7.85627 14.0432L11.5211 14.041C12.3689 14.041 13.0023 14.6885 13.0023 15.5595L12.9925 32.1773C12.9925 32.9026 12.2978 33.4922 11.6152 33.4944H11.6141ZM11.6283 32.5544C11.8952 32.4932 12.067 32.3453 12.067 32.0605V15.5106C12.067 15.1835 11.8099 14.991 11.5233 14.991H7.85846C7.59809 14.9922 7.43728 15.1791 7.39789 15.4516V32.006C7.39789 32.2986 7.597 32.5511 7.88034 32.5511L11.6272 32.5555L11.6283 32.5544Z", fill: "currentColor", stroke: "currentColor", "stroke-width": "0.5" }),
|
|
7437
7441
|
/* @__PURE__ */ n("path", { d: "M13.4654 9.03032C13.5595 10.9582 12.2708 12.6836 10.4296 13.0318C9.25798 13.2532 8.14212 12.9372 7.26804 12.1385C6.08982 11.0639 5.67082 9.39631 6.27142 7.88227C6.82716 6.48392 8.16072 5.51164 9.71855 5.4994C10.8103 5.4905 11.7829 5.93103 12.5038 6.75536C13.0628 7.3939 13.4206 8.12701 13.4654 9.03032ZM11.5094 11.5022C12.9447 10.2807 12.8058 8.12256 11.4645 7.05572C10.7119 6.45611 9.73058 6.29925 8.80289 6.61519C7.48464 7.06573 6.74621 8.42403 6.98141 9.82461C7.19255 11.0861 8.2012 11.9661 9.44068 12.1218C10.2097 12.2186 10.9022 12.0184 11.5094 11.5022Z", fill: "currentColor", stroke: "currentColor", "stroke-width": "0.5" })
|
|
7438
7442
|
] });
|
|
7439
7443
|
}, pa = (e) => {
|
|
7440
|
-
const { PUBLIC_ENV: t } =
|
|
7444
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/email.svg");
|
|
7441
7445
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ p(
|
|
7442
7446
|
"svg",
|
|
7443
7447
|
{
|
|
@@ -7467,7 +7471,7 @@ const Po = (e) => {
|
|
|
7467
7471
|
}
|
|
7468
7472
|
);
|
|
7469
7473
|
}, Aa = (e) => {
|
|
7470
|
-
const { PUBLIC_ENV: t } =
|
|
7474
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/email-black.svg");
|
|
7471
7475
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ p(
|
|
7472
7476
|
"svg",
|
|
7473
7477
|
{
|
|
@@ -7496,7 +7500,7 @@ const Po = (e) => {
|
|
|
7496
7500
|
}
|
|
7497
7501
|
);
|
|
7498
7502
|
}, wa = (e) => {
|
|
7499
|
-
const { PUBLIC_ENV: t } =
|
|
7503
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/facebook-note.svg");
|
|
7500
7504
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", width: 17, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7501
7505
|
"svg",
|
|
7502
7506
|
{
|
|
@@ -7653,9 +7657,9 @@ const hu = (e) => {
|
|
|
7653
7657
|
}, pn = (e) => {
|
|
7654
7658
|
const { currentPage: t, showNext: s, maxPages: a, pathname: r, query: i, block_subPublication: o } = e, c = (d, l, u) => {
|
|
7655
7659
|
let m = "";
|
|
7656
|
-
const
|
|
7657
|
-
return
|
|
7658
|
-
|
|
7660
|
+
const h = l.split("/");
|
|
7661
|
+
return h.indexOf("page") !== -1 && h.splice(m.indexOf("page") - 1, h.length - 1), h.forEach((A, f) => {
|
|
7662
|
+
f !== 0 && (m += `/${A}`);
|
|
7659
7663
|
}), d === "next" ? m += `/page/${t + 1}${u ? `?query=${u}` : ""}` : m += `/page/${t - 1}${u ? `?query=${u}` : ""}`;
|
|
7660
7664
|
};
|
|
7661
7665
|
return (t > 1 || s && t < a) && /* @__PURE__ */ p("section", { className: "sass-com-np-content", children: [
|
|
@@ -7703,9 +7707,9 @@ const hu = (e) => {
|
|
|
7703
7707
|
isTitle: l,
|
|
7704
7708
|
priorityHigh: u = !1,
|
|
7705
7709
|
isLarge: m,
|
|
7706
|
-
paths:
|
|
7710
|
+
paths: h,
|
|
7707
7711
|
keywords: A,
|
|
7708
|
-
speculationPrerenderClass:
|
|
7712
|
+
speculationPrerenderClass: f
|
|
7709
7713
|
} = e;
|
|
7710
7714
|
return /* @__PURE__ */ p(
|
|
7711
7715
|
"section",
|
|
@@ -7719,7 +7723,7 @@ const hu = (e) => {
|
|
|
7719
7723
|
O,
|
|
7720
7724
|
{
|
|
7721
7725
|
"aria-label": e.main?.title?.section,
|
|
7722
|
-
className:
|
|
7726
|
+
className: f ? `${f} sass-com-sc1-image` : "sass-com-sc1-image",
|
|
7723
7727
|
title: t?.title?.section,
|
|
7724
7728
|
href: a?.link?.url,
|
|
7725
7729
|
target: a?.link?.target,
|
|
@@ -7745,7 +7749,7 @@ const hu = (e) => {
|
|
|
7745
7749
|
config: c,
|
|
7746
7750
|
overImage: d,
|
|
7747
7751
|
isTitle: l,
|
|
7748
|
-
paths:
|
|
7752
|
+
paths: h,
|
|
7749
7753
|
keywords: A
|
|
7750
7754
|
}
|
|
7751
7755
|
) })
|
|
@@ -7759,7 +7763,7 @@ const hu = (e) => {
|
|
|
7759
7763
|
main: a,
|
|
7760
7764
|
overImage: r = "default",
|
|
7761
7765
|
titleGradient: i = !1
|
|
7762
|
-
} = e, { SHOW_TAG_BY_SECTION: o, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } =
|
|
7766
|
+
} = e, { SHOW_TAG_BY_SECTION: o, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } = q(), d = () => {
|
|
7763
7767
|
if (o && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
7764
7768
|
const l = e.keywords.tags[0], u = l.name;
|
|
7765
7769
|
return l.approved ? /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
|
|
@@ -7894,7 +7898,7 @@ const hu = (e) => {
|
|
|
7894
7898
|
/* @__PURE__ */ n(O, { className: "sass-com-tl-dateLink", href: `#item-${s + 1}`, children: ir(t.date) }),
|
|
7895
7899
|
/* @__PURE__ */ n("div", { className: "sass-com-tl-contentText", children: (e.itemList[0]?.list.integrated, t.title) })
|
|
7896
7900
|
] }, s)) }), ya = (e) => {
|
|
7897
|
-
const { PUBLIC_ENV: t } =
|
|
7901
|
+
const { PUBLIC_ENV: t } = q(), s = oe("/linkedin-black.svg");
|
|
7898
7902
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n(
|
|
7899
7903
|
"svg",
|
|
7900
7904
|
{
|
|
@@ -7930,7 +7934,7 @@ const hu = (e) => {
|
|
|
7930
7934
|
const t = e.trim();
|
|
7931
7935
|
return t.startsWith("http://") || t.startsWith("https://") ? t : `https://${t}`;
|
|
7932
7936
|
}, Jo = (e) => !e || e.trim() === "" ? !1 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()), bu = async (e) => {
|
|
7933
|
-
const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", d = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, u = t?.addtional?.USER_MIBIO ?? "", m = ht(t?.addtional?.USER_USERFB ?? ""),
|
|
7937
|
+
const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", d = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, u = t?.addtional?.USER_MIBIO ?? "", m = ht(t?.addtional?.USER_USERFB ?? ""), h = ht(t?.addtional?.USER_USERIG ?? ""), A = ht(t?.addtional?.USER_USERTWT ?? ""), f = ht(t?.addtional?.USER_USERLIN ?? ""), g = () => !d || !c || c.trim() === "" ? !1 : Jo(c), w = (v) => `mailto:${v.trim()}`;
|
|
7934
7938
|
return /* @__PURE__ */ n(
|
|
7935
7939
|
"section",
|
|
7936
7940
|
{
|
|
@@ -7975,10 +7979,10 @@ const hu = (e) => {
|
|
|
7975
7979
|
children: a ? /* @__PURE__ */ n(_t, { className: "sass-com-ah1-social-icon sass-social-icon-facebook", forceSVG: !0 }) : /* @__PURE__ */ n(Mt, { className: "sass-com-ah1-facebook-icon sass-com-ah1-social-icon-facebook", forceSVG: !0 })
|
|
7976
7980
|
}
|
|
7977
7981
|
),
|
|
7978
|
-
|
|
7982
|
+
h && /* @__PURE__ */ n(
|
|
7979
7983
|
"a",
|
|
7980
7984
|
{
|
|
7981
|
-
href:
|
|
7985
|
+
href: h,
|
|
7982
7986
|
target: "_blank",
|
|
7983
7987
|
className: "sass-com-ah1-social-link",
|
|
7984
7988
|
rel: "noreferrer",
|
|
@@ -7995,10 +7999,10 @@ const hu = (e) => {
|
|
|
7995
7999
|
children: /* @__PURE__ */ n(Pe, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-x", forceSVG: !0 })
|
|
7996
8000
|
}
|
|
7997
8001
|
),
|
|
7998
|
-
|
|
8002
|
+
f && /* @__PURE__ */ n(
|
|
7999
8003
|
"a",
|
|
8000
8004
|
{
|
|
8001
|
-
href:
|
|
8005
|
+
href: f,
|
|
8002
8006
|
target: "_blank",
|
|
8003
8007
|
className: `sass-com-ah1-social-link ${a ? "sass-com-ah1-social-filled" : "sass-com-ah1-social-stroke"}`,
|
|
8004
8008
|
rel: "noreferrer",
|
|
@@ -8010,7 +8014,7 @@ const hu = (e) => {
|
|
|
8010
8014
|
}
|
|
8011
8015
|
);
|
|
8012
8016
|
}, vu = async (e) => {
|
|
8013
|
-
const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", d = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, u = t?.addtional?.USER_MIBIO ?? "", m = t?.addtional?.USER_USERFB ?? "",
|
|
8017
|
+
const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", d = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, u = t?.addtional?.USER_MIBIO ?? "", m = t?.addtional?.USER_USERFB ?? "", h = t?.addtional?.USER_USERIG ?? "", A = t?.addtional?.USER_USERTWT ?? "", f = t?.addtional?.USER_USERLIN ?? "";
|
|
8014
8018
|
return /* @__PURE__ */ n(
|
|
8015
8019
|
"section",
|
|
8016
8020
|
{
|
|
@@ -8052,10 +8056,10 @@ const hu = (e) => {
|
|
|
8052
8056
|
children: a ? /* @__PURE__ */ n(_t, { className: "sass-com-ah2-blackIconFaceBook sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook", forceSVG: !0 }) : /* @__PURE__ */ n(Mt, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook", forceSVG: !0 })
|
|
8053
8057
|
}
|
|
8054
8058
|
),
|
|
8055
|
-
|
|
8059
|
+
h && /* @__PURE__ */ n(
|
|
8056
8060
|
"a",
|
|
8057
8061
|
{
|
|
8058
|
-
href:
|
|
8062
|
+
href: h,
|
|
8059
8063
|
target: "_blank",
|
|
8060
8064
|
rel: "noreferrer",
|
|
8061
8065
|
children: /* @__PURE__ */ n(
|
|
@@ -8076,10 +8080,10 @@ const hu = (e) => {
|
|
|
8076
8080
|
children: /* @__PURE__ */ n(Pe, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-x", forceSVG: !0 })
|
|
8077
8081
|
}
|
|
8078
8082
|
),
|
|
8079
|
-
|
|
8083
|
+
f && /* @__PURE__ */ n(
|
|
8080
8084
|
"a",
|
|
8081
8085
|
{
|
|
8082
|
-
href:
|
|
8086
|
+
href: f,
|
|
8083
8087
|
target: "_blank",
|
|
8084
8088
|
className: a ? "sass-com-ah2-socialIconFilled" : "sass-com-ah2-socialIconStroke",
|
|
8085
8089
|
rel: "noreferrer",
|
|
@@ -8395,7 +8399,7 @@ const hu = (e) => {
|
|
|
8395
8399
|
searchLink: i,
|
|
8396
8400
|
custom_styles: o = {}
|
|
8397
8401
|
}) => {
|
|
8398
|
-
const { PUBLIC_SERVICE_PREFIX: c, PUBLIC_IS_SUB_PUBLICATION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } =
|
|
8402
|
+
const { PUBLIC_SERVICE_PREFIX: c, PUBLIC_IS_SUB_PUBLICATION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } = q(), u = l?.buscar && c !== "false" && d !== "false" ? `/${c}` : "";
|
|
8399
8403
|
return /* @__PURE__ */ p(
|
|
8400
8404
|
"aside",
|
|
8401
8405
|
{
|
|
@@ -8416,7 +8420,7 @@ const hu = (e) => {
|
|
|
8416
8420
|
/* @__PURE__ */ p("div", { className: "sass-com-sb-mainContent", children: [
|
|
8417
8421
|
/* @__PURE__ */ p("div", { children: [
|
|
8418
8422
|
a,
|
|
8419
|
-
e.map((m,
|
|
8423
|
+
e.map((m, h) => /* @__PURE__ */ n(tc, { item: m, index: h }, h))
|
|
8420
8424
|
] }),
|
|
8421
8425
|
/* @__PURE__ */ n(sc, { socials: t, copyright: s })
|
|
8422
8426
|
] })
|
|
@@ -8523,7 +8527,7 @@ const hu = (e) => {
|
|
|
8523
8527
|
)) })
|
|
8524
8528
|
] });
|
|
8525
8529
|
}, ac = (e) => {
|
|
8526
|
-
const { alertZone: t, custom_styles: s = {} } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: a } =
|
|
8530
|
+
const { alertZone: t, custom_styles: s = {} } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: a } = q();
|
|
8527
8531
|
return /* @__PURE__ */ p("header", { className: "sass-com-h1sk-headerStyled", style: s, id: "saas-header-sticky", children: [
|
|
8528
8532
|
e.socialIcons && e.headerTape?.sticky && /* @__PURE__ */ n(
|
|
8529
8533
|
Sa,
|
|
@@ -8665,7 +8669,7 @@ const hu = (e) => {
|
|
|
8665
8669
|
) }, i)) }) })
|
|
8666
8670
|
] }, a)) });
|
|
8667
8671
|
}, ic = (e) => {
|
|
8668
|
-
const { menu: t, alertZone: s, custom_styles: a = {}, prerender_classes: r } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: i } =
|
|
8672
|
+
const { menu: t, alertZone: s, custom_styles: a = {}, prerender_classes: r } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: i } = q();
|
|
8669
8673
|
return /* @__PURE__ */ p(
|
|
8670
8674
|
"header",
|
|
8671
8675
|
{
|
|
@@ -8819,7 +8823,7 @@ const hu = (e) => {
|
|
|
8819
8823
|
)
|
|
8820
8824
|
] });
|
|
8821
8825
|
}, oc = (e) => {
|
|
8822
|
-
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } =
|
|
8826
|
+
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } = q();
|
|
8823
8827
|
return e?.tags && e?.tags?.length > 0 && /* @__PURE__ */ n("section", { className: "sass-com-ts-content", children: Array.isArray(e.tags) && /* @__PURE__ */ p("div", { className: "sass-com-ts-tags", children: [
|
|
8824
8828
|
/* @__PURE__ */ n("p", { className: "sass-com-ts-tagStyled", children: e.title ? e.title : "Tags:" }),
|
|
8825
8829
|
e.tags.map((s, a) => s.approved ? /* @__PURE__ */ n(
|
|
@@ -8833,7 +8837,7 @@ const hu = (e) => {
|
|
|
8833
8837
|
) : /* @__PURE__ */ n("div", { className: "sass-com-ts-chipStyled", children: s.name }, a))
|
|
8834
8838
|
] }) });
|
|
8835
8839
|
}, cc = async (e) => {
|
|
8836
|
-
const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: s } =
|
|
8840
|
+
const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = q(), a = t?.addtional?.USER_SHOWBIO ?? !1, r = t?.info?.name ?? "", i = t?.info?.fullname ?? "", o = t?.info?.image?.sizes?.[0]?.url ?? "", c = t?.addtional?.USER_MIBIO ?? "", d = t?.addtional?.USER_USERFB ?? "", l = t?.addtional?.USER_USERIG ?? "", u = t?.addtional?.USER_USERTWT ?? "", m = t?.addtional?.USER_USERLIN ?? "";
|
|
8837
8841
|
return a && !!t && /* @__PURE__ */ n("section", { className: "sass-com-ja2-contentBox", children: /* @__PURE__ */ p("div", { className: "sass-com-ja2-content", children: [
|
|
8838
8842
|
/* @__PURE__ */ p("div", { className: "sass-com-ja2-avatarContent", children: [
|
|
8839
8843
|
/* @__PURE__ */ n(
|
|
@@ -9168,11 +9172,11 @@ function Su(e) {
|
|
|
9168
9172
|
priorityHigh: l,
|
|
9169
9173
|
share: u,
|
|
9170
9174
|
overImage: m,
|
|
9171
|
-
isTitle:
|
|
9175
|
+
isTitle: h,
|
|
9172
9176
|
paths: A
|
|
9173
|
-
} = e, { CONFIG_videoClipUrl:
|
|
9177
|
+
} = e, { CONFIG_videoClipUrl: f } = q(), g = i?.homepreview ?? "imagen", w = () => {
|
|
9174
9178
|
const b = e.videos?.[0]?.clip;
|
|
9175
|
-
return b ? /* @__PURE__ */ n("div", { className: "homeCardVideoClipContainer", children: /* @__PURE__ */ n("video", { autoPlay: !0, loop: !0, muted: !0, playsInline: !0, width: "480", height: "535", children: /* @__PURE__ */ n("source", { src: `${
|
|
9179
|
+
return b ? /* @__PURE__ */ n("div", { className: "homeCardVideoClipContainer", children: /* @__PURE__ */ n("video", { autoPlay: !0, loop: !0, muted: !0, playsInline: !0, width: "480", height: "535", children: /* @__PURE__ */ n("source", { src: `${f}${b}`, type: "video/mp4" }) }) }) : null;
|
|
9176
9180
|
}, v = () => {
|
|
9177
9181
|
if (!e.videos) return null;
|
|
9178
9182
|
const b = e.videos?.[0]?.code;
|
|
@@ -9306,7 +9310,7 @@ function Su(e) {
|
|
|
9306
9310
|
share: u,
|
|
9307
9311
|
config: i,
|
|
9308
9312
|
overImage: m,
|
|
9309
|
-
isTitle:
|
|
9313
|
+
isTitle: h,
|
|
9310
9314
|
paths: A,
|
|
9311
9315
|
keywords: o
|
|
9312
9316
|
}
|
|
@@ -9316,7 +9320,7 @@ function Su(e) {
|
|
|
9316
9320
|
);
|
|
9317
9321
|
}
|
|
9318
9322
|
const We = (e) => {
|
|
9319
|
-
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } =
|
|
9323
|
+
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = q(), a = () => {
|
|
9320
9324
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
9321
9325
|
return `${e?.authors[0]?.fullname} - ${Ue(
|
|
9322
9326
|
e.info?.date?.modified
|
|
@@ -9465,7 +9469,7 @@ const We = (e) => {
|
|
|
9465
9469
|
showSuper: l,
|
|
9466
9470
|
textPosition: u,
|
|
9467
9471
|
heightImageOverwrite: m,
|
|
9468
|
-
heightImageOverwriteMobile:
|
|
9472
|
+
heightImageOverwriteMobile: h
|
|
9469
9473
|
} = e;
|
|
9470
9474
|
return /* @__PURE__ */ p("section", { className: "su-grid su-w-full su-gap-8 sass-bmd-dd-content", children: [
|
|
9471
9475
|
l ? /* @__PURE__ */ n(
|
|
@@ -9486,7 +9490,7 @@ const We = (e) => {
|
|
|
9486
9490
|
paths: e.paths,
|
|
9487
9491
|
textPosition: u,
|
|
9488
9492
|
heightImageOverwrite: m,
|
|
9489
|
-
heightImageOverwriteMobile:
|
|
9493
|
+
heightImageOverwriteMobile: h,
|
|
9490
9494
|
speculationPrerenderClass: e.speculationPrerenderClass
|
|
9491
9495
|
}
|
|
9492
9496
|
)
|
|
@@ -9610,7 +9614,7 @@ const We = (e) => {
|
|
|
9610
9614
|
speculationPrerenderClass: r
|
|
9611
9615
|
}
|
|
9612
9616
|
) }, o)) }), Ea = (e) => {
|
|
9613
|
-
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } =
|
|
9617
|
+
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = q();
|
|
9614
9618
|
return /* @__PURE__ */ p("div", { className: "sass-com-bh-content", children: [
|
|
9615
9619
|
/* @__PURE__ */ n(() => {
|
|
9616
9620
|
if (t && e.mainNew.keywords?.tags?.length && e.mainNew.keywords.tags.length > 0) {
|
|
@@ -9711,7 +9715,7 @@ const We = (e) => {
|
|
|
9711
9715
|
)
|
|
9712
9716
|
] });
|
|
9713
9717
|
}, Tt = async (e) => {
|
|
9714
|
-
const { data: t, autorIcon: s, speculationPrerenderClass: a } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } =
|
|
9718
|
+
const { data: t, autorIcon: s, speculationPrerenderClass: a } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = q(), i = s, o = () => t?.config?.showtime ? `${Ue(t.info?.date?.modified)}` : "", c = /* @__PURE__ */ p("div", { className: "sass-com-oc2-autorContent", children: [
|
|
9715
9719
|
Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ n(
|
|
9716
9720
|
"img",
|
|
9717
9721
|
{
|
|
@@ -10168,7 +10172,7 @@ const Eu = (e) => {
|
|
|
10168
10172
|
}
|
|
10169
10173
|
) });
|
|
10170
10174
|
}, Cc = async (e) => {
|
|
10171
|
-
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } =
|
|
10175
|
+
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t } = q(), { data: s } = e;
|
|
10172
10176
|
return /* @__PURE__ */ p("div", { className: "sass-com-opt1-content", children: [
|
|
10173
10177
|
Array.isArray(s.authors) && s?.authors[0]?.image ? /* @__PURE__ */ n(
|
|
10174
10178
|
"img",
|
|
@@ -10697,7 +10701,7 @@ const Eu = (e) => {
|
|
|
10697
10701
|
i = i.replace(c, b);
|
|
10698
10702
|
continue;
|
|
10699
10703
|
}
|
|
10700
|
-
const u = l.preview?.sizes?.[0], m = u ? await ue(u.url) : "",
|
|
10704
|
+
const u = l.preview?.sizes?.[0], m = u ? await ue(u.url) : "", h = l.info.section?.url ?? "#", A = l.info.section?.name ?? "Sección", f = l.info.link?.url ?? "#", g = l.main?.title.article ?? "Título", w = (await Promise.all(
|
|
10701
10705
|
l.preview?.sizes?.map(async (b) => {
|
|
10702
10706
|
const I = await ue(b.url);
|
|
10703
10707
|
return b.width < 200 ? `<source srcset="${I}" media="(width < 750px)"/>` : `<source srcset="${I}" media="(width >= 750px)"/>`;
|
|
@@ -10709,8 +10713,8 @@ const Eu = (e) => {
|
|
|
10709
10713
|
<img fetchPriority='low' loading='lazy' src="${m}" alt="${String(t.noteRelatedImageAlt ?? "")} ${g}" />
|
|
10710
10714
|
</picture>
|
|
10711
10715
|
<div>
|
|
10712
|
-
<a class="section" href="${
|
|
10713
|
-
<a class="title" href="${
|
|
10716
|
+
<a class="section" href="${h}">${A}</a>
|
|
10717
|
+
<a class="title" href="${f}">${g}</a>
|
|
10714
10718
|
</div>
|
|
10715
10719
|
</span>
|
|
10716
10720
|
`, S = c.replace(E, N);
|
|
@@ -10746,29 +10750,29 @@ async function qc(e, t) {
|
|
|
10746
10750
|
let m = d;
|
|
10747
10751
|
if (u && l)
|
|
10748
10752
|
try {
|
|
10749
|
-
const
|
|
10750
|
-
if (
|
|
10751
|
-
const
|
|
10753
|
+
const h = await t.iframe({ path: l }), A = t.schema ? await t.schema(l) : null;
|
|
10754
|
+
if (h && h.data) {
|
|
10755
|
+
const f = h.data.data[0];
|
|
10752
10756
|
let g = "";
|
|
10753
10757
|
const w = d.match(
|
|
10754
10758
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
10755
10759
|
), v = w && w[1] ? w[1].trim() : "";
|
|
10756
|
-
|
|
10760
|
+
f.info && f.info.type === "video-youtube" ? g = `<iframe
|
|
10757
10761
|
loading="lazy"
|
|
10758
10762
|
frameborder="0"
|
|
10759
10763
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
10760
10764
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
10761
10765
|
allowfullscreen
|
|
10762
10766
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
10763
|
-
src="https://www.youtube.com/embed/${
|
|
10767
|
+
src="https://www.youtube.com/embed/${f.main?.code || f.main?.youtubeid || ""}"></iframe>` : f.info && f.info.type === "video-link" ? g = `<iframe
|
|
10764
10768
|
loading="lazy"
|
|
10765
10769
|
frameborder="0"
|
|
10766
10770
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
10767
10771
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
10768
10772
|
allowfullscreen
|
|
10769
10773
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
10770
|
-
src="${
|
|
10771
|
-
const E = v ||
|
|
10774
|
+
src="${f.main?.code || ""}"></iframe>` : g = f.main?.code || "";
|
|
10775
|
+
const E = v || f.main?.description || "";
|
|
10772
10776
|
m = `
|
|
10773
10777
|
<figure class="videoFigure">
|
|
10774
10778
|
${A && A.data && A.data.data ? `<script type="application/ld+json">${kt(
|
|
@@ -10779,8 +10783,8 @@ async function qc(e, t) {
|
|
|
10779
10783
|
</figure>
|
|
10780
10784
|
`;
|
|
10781
10785
|
}
|
|
10782
|
-
} catch (
|
|
10783
|
-
console.error("replaceVideoSpansWithIframes error for", l,
|
|
10786
|
+
} catch (h) {
|
|
10787
|
+
console.error("replaceVideoSpansWithIframes error for", l, h), m = d;
|
|
10784
10788
|
}
|
|
10785
10789
|
a = c, s += m, r.lastIndex = c;
|
|
10786
10790
|
}
|
|
@@ -10915,7 +10919,7 @@ const Gc = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
10915
10919
|
if (!e.news || !e.news.authors) return null;
|
|
10916
10920
|
const { news: t, socials: s, texts: a } = e, r = t.authors.map(
|
|
10917
10921
|
(d) => d.internaluser ? `<a href="${`/${e.paths.autor}/${d.name}`}">${d.fullname}</a>` : d.fullname
|
|
10918
|
-
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja3-width1Autor" : t.authors.length === 2 ? "sass-com-ja3-width2Autor" : t.authors.length === 3 ? "sass-com-ja3-width3Autor" : "", { DATE_TIMEZONE: o = "America/Mexico_City", CONFIG_shareOnlyWhatsApp: c } =
|
|
10922
|
+
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja3-width1Autor" : t.authors.length === 2 ? "sass-com-ja3-width2Autor" : t.authors.length === 3 ? "sass-com-ja3-width3Autor" : "", { DATE_TIMEZONE: o = "America/Mexico_City", CONFIG_shareOnlyWhatsApp: c } = q();
|
|
10919
10923
|
return t.config?.showauthor && /* @__PURE__ */ n("div", { className: "sass-com-ja3-content", children: /* @__PURE__ */ p("div", { className: "sass-com-ja3-avatarContent", children: [
|
|
10920
10924
|
c ? /* @__PURE__ */ p(
|
|
10921
10925
|
"a",
|
|
@@ -11039,39 +11043,39 @@ function Vc(e) {
|
|
|
11039
11043
|
function i(c) {
|
|
11040
11044
|
const d = [], l = [];
|
|
11041
11045
|
let u = "", m = !0;
|
|
11042
|
-
for (let
|
|
11043
|
-
const A = `[data-index="${
|
|
11046
|
+
for (let h = 0; h < c; h++) {
|
|
11047
|
+
const A = `[data-index="${h}"]:checked ~ .carrousel-pagination li:nth-child(${h + 1}) {
|
|
11044
11048
|
background-color:var(--carrousel-pagination-background-color)
|
|
11045
11049
|
}`;
|
|
11046
11050
|
u += `
|
|
11047
11051
|
.${s}.carrousel-container {
|
|
11048
11052
|
${A}
|
|
11049
|
-
[data-index="${
|
|
11050
|
-
transform: translate(-${
|
|
11053
|
+
[data-index="${h}"]:checked ~ .carrousel-ssr {
|
|
11054
|
+
transform: translate(-${h * (100 + r) + "%"});
|
|
11051
11055
|
transition: transform 300ms;
|
|
11052
11056
|
}
|
|
11053
|
-
[data-index="${
|
|
11054
|
-
${
|
|
11057
|
+
[data-index="${h + 1}"]:checked ~ .visible-arrow.left[data-index="${h}"]
|
|
11058
|
+
${h < c - 1 ? `,[data-index="${h}"]:checked ~ .visible-arrow.right[data-index="${h}"]` : ""} {
|
|
11055
11059
|
display: flex;
|
|
11056
11060
|
}
|
|
11057
11061
|
}
|
|
11058
|
-
`,
|
|
11062
|
+
`, h > c - (a + 1) && (u += `
|
|
11059
11063
|
@media (min-width:900px) {
|
|
11060
11064
|
.${s}.carrousel-container {
|
|
11061
|
-
[data-index="${
|
|
11065
|
+
[data-index="${h}"]:checked ~ .visible-arrow.right[data-index="${h}"] {
|
|
11062
11066
|
display:none!important;
|
|
11063
11067
|
}
|
|
11064
11068
|
}
|
|
11065
11069
|
}`), d.push(
|
|
11066
|
-
`<input type="radio" name="${s + "card"}" ${m ? "checked" : ""} id="${s + "input-check-" +
|
|
11070
|
+
`<input type="radio" name="${s + "card"}" ${m ? "checked" : ""} id="${s + "input-check-" + h}" data-index="${h}" />`
|
|
11067
11071
|
), l.push(`
|
|
11068
|
-
<label for="${s + "input-check-" +
|
|
11072
|
+
<label for="${s + "input-check-" + h}" data-index="${h}" class="visible-arrow left">
|
|
11069
11073
|
<svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
11070
11074
|
<path d="M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z" fill="currentColor" />
|
|
11071
11075
|
</svg>
|
|
11072
11076
|
</label>
|
|
11073
11077
|
|
|
11074
|
-
${
|
|
11078
|
+
${h < c - 1 ? `<label for="${s + "input-check-" + (h + 1)}" data-index="${h}" class="visible-arrow right">
|
|
11075
11079
|
<svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
11076
11080
|
<path d="M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z" fill="currentColor" />
|
|
11077
11081
|
</svg>
|
|
@@ -11229,7 +11233,7 @@ const Yc = async (e) => {
|
|
|
11229
11233
|
if (!e.news || !e.news.authors) return null;
|
|
11230
11234
|
const { news: t, socials: s, texts: a } = e, r = t.authors.map(
|
|
11231
11235
|
(l) => l.internaluser ? `<a href="${`/${e.paths.autor}/${l.name}`}">${l.fullname}</a>` : l.fullname
|
|
11232
|
-
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja4-width1Autor" : t.authors.length === 2 ? "sass-com-ja4-width2Autor" : t.authors.length === 3 ? "sass-com-ja4-width3Autor" : "", { CONFIG_shareOnlyWhatsApp: o, DATE_TIMEZONE: c = "America/Mexico_City", CONFIG_commentsV2: d } =
|
|
11236
|
+
).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja4-width1Autor" : t.authors.length === 2 ? "sass-com-ja4-width2Autor" : t.authors.length === 3 ? "sass-com-ja4-width3Autor" : "", { CONFIG_shareOnlyWhatsApp: o, DATE_TIMEZONE: c = "America/Mexico_City", CONFIG_commentsV2: d } = q();
|
|
11233
11237
|
return t.config?.showauthor && /* @__PURE__ */ n("div", { className: "sass-com-ja4-content sass-journalist-articule-4", children: /* @__PURE__ */ p("div", { className: "sass-com-ja4-avatarContent", children: [
|
|
11234
11238
|
/* @__PURE__ */ p("div", { className: "sass-com-ja4-socialActionsRow", children: [
|
|
11235
11239
|
/* @__PURE__ */ p("div", { style: { display: "flex", gap: "10px", alignItems: "center" }, children: [
|
|
@@ -11352,19 +11356,19 @@ const Yc = async (e) => {
|
|
|
11352
11356
|
/<span\b[^>]*class=["'][^"']*video__title[^"']*["'][^>]*>[\s\S]*?<\/span>/gi,
|
|
11353
11357
|
""
|
|
11354
11358
|
), Zc = async (e) => {
|
|
11355
|
-
const { PUBLIC_IS_OFFLINE: t } =
|
|
11359
|
+
const { PUBLIC_IS_OFFLINE: t } = q();
|
|
11356
11360
|
if (!(t === "true")) {
|
|
11357
11361
|
const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(l)], m = {};
|
|
11358
|
-
for (const
|
|
11359
|
-
const A =
|
|
11360
|
-
if (
|
|
11361
|
-
const g = await ue(
|
|
11362
|
+
for (const h of u) {
|
|
11363
|
+
const A = h[1] ?? "", f = e.includes(A) ? { url: A } : null;
|
|
11364
|
+
if (f) {
|
|
11365
|
+
const g = await ue(f.url) || "";
|
|
11362
11366
|
m[A] = g;
|
|
11363
11367
|
}
|
|
11364
11368
|
}
|
|
11365
11369
|
return e.replace(
|
|
11366
11370
|
l,
|
|
11367
|
-
(
|
|
11371
|
+
(h, A) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${m[A] || A}"`
|
|
11368
11372
|
);
|
|
11369
11373
|
}
|
|
11370
11374
|
let a = e;
|
|
@@ -11376,7 +11380,7 @@ const Yc = async (e) => {
|
|
|
11376
11380
|
if (!l) break;
|
|
11377
11381
|
const u = l[0], m = l[1] ?? "";
|
|
11378
11382
|
r.add(m);
|
|
11379
|
-
const
|
|
11383
|
+
const h = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), A = h ? h[1] : "imagen", f = m.match(/__scale=([^&"']+)/), g = f ? decodeURIComponent(f[1]) : null;
|
|
11380
11384
|
let w = 0, v = 0;
|
|
11381
11385
|
if (g) {
|
|
11382
11386
|
const I = g.match(/w:(\d+)/), R = g.match(/h:(\d+)/);
|
|
@@ -11410,7 +11414,7 @@ const Yc = async (e) => {
|
|
|
11410
11414
|
for (const l of d) {
|
|
11411
11415
|
const u = l[0], m = l[1] ?? "";
|
|
11412
11416
|
if (r.has(m)) continue;
|
|
11413
|
-
const
|
|
11417
|
+
const h = u.match(/\balt=["']([^"']*)["']/), A = h ? h[1] : "imagen", f = m.match(/__scale=([^&"']+)/), g = f ? decodeURIComponent(f[1]) : null;
|
|
11414
11418
|
let w = 0, v = 0;
|
|
11415
11419
|
if (g) {
|
|
11416
11420
|
const I = g.match(/w:(\d+)/), R = g.match(/h:(\d+)/);
|
|
@@ -11481,11 +11485,11 @@ const Yc = async (e) => {
|
|
|
11481
11485
|
const [o, c = ""] = i, d = i.index, l = d + o.length;
|
|
11482
11486
|
a += e.slice(r, d);
|
|
11483
11487
|
const m = [...c.matchAll(/data-src="([^"]+)"/g)].map(
|
|
11484
|
-
(
|
|
11488
|
+
(f) => f[1]
|
|
11485
11489
|
).map(
|
|
11486
|
-
(
|
|
11487
|
-
),
|
|
11488
|
-
slot_id:
|
|
11490
|
+
(f) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${f}" class="carrusel-note-item" width="800" height="469"/>`
|
|
11491
|
+
), h = "gallery_embeded" + d.toString(), A = Vc({
|
|
11492
|
+
slot_id: h,
|
|
11489
11493
|
children: m,
|
|
11490
11494
|
visibleItems: 1,
|
|
11491
11495
|
cardGap: 0
|
|
@@ -11502,7 +11506,7 @@ const Yc = async (e) => {
|
|
|
11502
11506
|
(E) => d.includes(E?.[0]?.info.link.internal || "")
|
|
11503
11507
|
);
|
|
11504
11508
|
if (!l || !l[0]) continue;
|
|
11505
|
-
const u = l[0].preview?.sizes?.[0], m = u ? await ue(u.url) : "",
|
|
11509
|
+
const u = l[0].preview?.sizes?.[0], m = u ? await ue(u.url) : "", h = l[0].info.section?.url ?? "#", A = l[0].info.section?.name ?? "Sección", f = l[0].info.link?.url ?? "#", g = l[0].main?.title.article ?? "Título", w = (await Promise.all(
|
|
11506
11510
|
l[0].preview?.sizes?.map(async (E, N) => {
|
|
11507
11511
|
const S = await ue(E.url);
|
|
11508
11512
|
return N === 0 ? `<source srcset="${S}" media="(width >= 900px)"/>` : `<source srcset="${S}" media="(width < 900px)"/>`;
|
|
@@ -11514,8 +11518,8 @@ const Yc = async (e) => {
|
|
|
11514
11518
|
<img fetchPriority='low' loading='lazy' src="${m}" alt="${String(t.noteRelatedImageAlt ?? "")} ${g}" />
|
|
11515
11519
|
</picture>
|
|
11516
11520
|
<div>
|
|
11517
|
-
<a class="section" href="${
|
|
11518
|
-
<a class="title" href="${
|
|
11521
|
+
<a class="section" href="${h}">${A}</a>
|
|
11522
|
+
<a class="title" href="${f}">${g}</a>
|
|
11519
11523
|
</div>
|
|
11520
11524
|
</span>
|
|
11521
11525
|
`;
|
|
@@ -11540,11 +11544,11 @@ async function nl(e, t) {
|
|
|
11540
11544
|
}
|
|
11541
11545
|
v !== -1 && v < E ? (d += 1, l = v + 4) : (d -= 1, l = E + 6);
|
|
11542
11546
|
}
|
|
11543
|
-
const m = l,
|
|
11547
|
+
const m = l, h = e.slice(o, m);
|
|
11544
11548
|
let A = null;
|
|
11545
|
-
const
|
|
11549
|
+
const f = /<span\b([^>]*)>/gi;
|
|
11546
11550
|
let g;
|
|
11547
|
-
for (; (g =
|
|
11551
|
+
for (; (g = f.exec(h)) !== null; ) {
|
|
11548
11552
|
const v = g[1];
|
|
11549
11553
|
if (!v) break;
|
|
11550
11554
|
if (/data-type\s*=\s*["']?video["']?/i.test(v)) {
|
|
@@ -11556,7 +11560,7 @@ async function nl(e, t) {
|
|
|
11556
11560
|
}
|
|
11557
11561
|
}
|
|
11558
11562
|
if (!A) {
|
|
11559
|
-
const v =
|
|
11563
|
+
const v = h.match(
|
|
11560
11564
|
/<span\b[^>]*data-src=["'][^"']+["'][^>]*>/i
|
|
11561
11565
|
);
|
|
11562
11566
|
if (v) {
|
|
@@ -11571,7 +11575,7 @@ async function nl(e, t) {
|
|
|
11571
11575
|
if (v && v.data) {
|
|
11572
11576
|
const N = v.data.data[0];
|
|
11573
11577
|
let S = "";
|
|
11574
|
-
const b =
|
|
11578
|
+
const b = h.match(
|
|
11575
11579
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
11576
11580
|
), I = b && b[1] ? b[1].trim() : "";
|
|
11577
11581
|
N.info && N.info.type === "video-youtube" ? S = `<iframe
|
|
@@ -11604,7 +11608,7 @@ async function nl(e, t) {
|
|
|
11604
11608
|
console.error("insertVideos error for", A, v), w = "";
|
|
11605
11609
|
}
|
|
11606
11610
|
else
|
|
11607
|
-
w =
|
|
11611
|
+
w = h;
|
|
11608
11612
|
a = m, s += w, r.lastIndex = m;
|
|
11609
11613
|
}
|
|
11610
11614
|
return s += e.slice(a), s = $c(s), s;
|
|
@@ -11630,9 +11634,9 @@ async function al(e) {
|
|
|
11630
11634
|
e.texts,
|
|
11631
11635
|
a
|
|
11632
11636
|
), u = await nl(u, d), u = Kc(u), u = Jc(u);
|
|
11633
|
-
const m = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT:
|
|
11637
|
+
const m = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT: h, CONFIG_blockDefaultTwitterHydrator: A } = q(), f = t.config.articlepreview === Me.fotoGaleria && t.hascontent?.hasgalleryimages;
|
|
11634
11638
|
return /* @__PURE__ */ p(J, { children: [
|
|
11635
|
-
i !== "liveblogs" && e.showHeaderImage ?
|
|
11639
|
+
i !== "liveblogs" && e.showHeaderImage ? f ? /* @__PURE__ */ n(
|
|
11636
11640
|
Hc,
|
|
11637
11641
|
{
|
|
11638
11642
|
commonServices: l,
|
|
@@ -11641,7 +11645,7 @@ async function al(e) {
|
|
|
11641
11645
|
}
|
|
11642
11646
|
) : /* @__PURE__ */ n(va, { preview: t.preview }) : null,
|
|
11643
11647
|
/* @__PURE__ */ n(we, { banners: s, name: "block_1" }),
|
|
11644
|
-
/* @__PURE__ */ n("div", { className: "sass-pg-nrs-journalistArticleContent", children:
|
|
11648
|
+
/* @__PURE__ */ n("div", { className: "sass-pg-nrs-journalistArticleContent", children: h === "op1" ? /* @__PURE__ */ n(
|
|
11645
11649
|
jc,
|
|
11646
11650
|
{
|
|
11647
11651
|
autorIcon: e.autorIcon,
|
|
@@ -11710,7 +11714,7 @@ const rl = (e) => {
|
|
|
11710
11714
|
newsRelatedResponses: l = [],
|
|
11711
11715
|
newsRelatedListResponses: u = [],
|
|
11712
11716
|
itemList: m = [],
|
|
11713
|
-
socials:
|
|
11717
|
+
socials: h,
|
|
11714
11718
|
getVideos: A
|
|
11715
11719
|
} = e;
|
|
11716
11720
|
if (d)
|
|
@@ -11720,7 +11724,7 @@ const rl = (e) => {
|
|
|
11720
11724
|
{
|
|
11721
11725
|
texts: t,
|
|
11722
11726
|
autorIcon: s,
|
|
11723
|
-
socials:
|
|
11727
|
+
socials: h,
|
|
11724
11728
|
news: d,
|
|
11725
11729
|
banners: c,
|
|
11726
11730
|
newsRelatedResponses: l,
|
|
@@ -11935,7 +11939,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11935
11939
|
{ label: a.passwordRuleSymbol, test: Ee[4] }
|
|
11936
11940
|
],
|
|
11937
11941
|
[a.passwordRuleMinLength, a.passwordRuleNumber, a.passwordRuleLowercase, a.passwordRuleUppercase, a.passwordRuleSymbol]
|
|
11938
|
-
), [o, c] = $({}), [d, l] = $(!1), [u, m] = $(!1), [
|
|
11942
|
+
), [o, c] = $({}), [d, l] = $(!1), [u, m] = $(!1), [h, A] = $(null), [f, g] = $(
|
|
11939
11943
|
"register"
|
|
11940
11944
|
), w = async () => {
|
|
11941
11945
|
if (t.PUBLIC_ENV === "local") {
|
|
@@ -12027,7 +12031,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12027
12031
|
}
|
|
12028
12032
|
}, S = o.password || "";
|
|
12029
12033
|
return /* @__PURE__ */ p(J, { children: [
|
|
12030
|
-
|
|
12034
|
+
f === "register" && /* @__PURE__ */ p(J, { children: [
|
|
12031
12035
|
/* @__PURE__ */ p("button", { onClick: w, className: "sass-pg-login-google", children: [
|
|
12032
12036
|
/* @__PURE__ */ n(
|
|
12033
12037
|
"img",
|
|
@@ -12045,7 +12049,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12045
12049
|
{
|
|
12046
12050
|
onSubmit: E,
|
|
12047
12051
|
className: "sass-pg-login-form",
|
|
12048
|
-
"data-error":
|
|
12052
|
+
"data-error": h ? "true" : "false",
|
|
12049
12053
|
children: [
|
|
12050
12054
|
/* @__PURE__ */ n("ul", { className: "sass-pg-login-formUl", children: Object.entries(r).map(([b, { label: I }]) => /* @__PURE__ */ p("div", { className: "sass-pg-login-field", children: [
|
|
12051
12055
|
/* @__PURE__ */ n("label", { className: "sass-pg-login-label", children: I }),
|
|
@@ -12094,7 +12098,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12094
12098
|
)
|
|
12095
12099
|
] })
|
|
12096
12100
|
] }, b)) }),
|
|
12097
|
-
|
|
12101
|
+
h && /* @__PURE__ */ n("p", { className: "sass-pg-login-error", children: h }),
|
|
12098
12102
|
/* @__PURE__ */ p("p", { className: "sass-pg-login-terms", children: [
|
|
12099
12103
|
a.termsPrefix,
|
|
12100
12104
|
" ",
|
|
@@ -12107,12 +12111,12 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12107
12111
|
}
|
|
12108
12112
|
)
|
|
12109
12113
|
] }),
|
|
12110
|
-
|
|
12114
|
+
f === "confirm" && /* @__PURE__ */ p(
|
|
12111
12115
|
"form",
|
|
12112
12116
|
{
|
|
12113
12117
|
onSubmit: N,
|
|
12114
12118
|
className: "sass-pg-login-form",
|
|
12115
|
-
"data-error":
|
|
12119
|
+
"data-error": h ? "true" : "false",
|
|
12116
12120
|
children: [
|
|
12117
12121
|
/* @__PURE__ */ p("div", { className: "sass-pg-login-field", children: [
|
|
12118
12122
|
/* @__PURE__ */ n("label", { className: "sass-pg-login-label", children: a.verificationCodeLabel }),
|
|
@@ -12128,7 +12132,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12128
12132
|
}
|
|
12129
12133
|
)
|
|
12130
12134
|
] }),
|
|
12131
|
-
|
|
12135
|
+
h && /* @__PURE__ */ n("p", { className: "sass-pg-login-error", children: h }),
|
|
12132
12136
|
/* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-login-primary", disabled: u, children: u ? /* @__PURE__ */ n(nt, {}) : a.confirmAccountButton }),
|
|
12133
12137
|
/* @__PURE__ */ p("p", { className: "sass-pg-login-switch", children: [
|
|
12134
12138
|
a.alreadyConfirmedText,
|
|
@@ -12137,7 +12141,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12137
12141
|
]
|
|
12138
12142
|
}
|
|
12139
12143
|
),
|
|
12140
|
-
|
|
12144
|
+
f === "success" && /* @__PURE__ */ p("form", { className: "sass-pg-login-form", children: [
|
|
12141
12145
|
/* @__PURE__ */ p("div", { className: "sass-pg-login-successContainer", children: [
|
|
12142
12146
|
/* @__PURE__ */ n("div", { className: "sass-pg-login-thumbsUp", children: /* @__PURE__ */ n(
|
|
12143
12147
|
"svg",
|
|
@@ -12162,7 +12166,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
12162
12166
|
] }),
|
|
12163
12167
|
/* @__PURE__ */ n("a", { href: "./login", type: "submit", className: "sass-pg-login-primary", children: a.loginButtonText })
|
|
12164
12168
|
] }),
|
|
12165
|
-
|
|
12169
|
+
f === "register" && /* @__PURE__ */ p("p", { className: "sass-pg-login-switch", children: [
|
|
12166
12170
|
a.alreadyHasAccountText,
|
|
12167
12171
|
/* @__PURE__ */ n("a", { className: "sass-pg-login-toRegister", href: "./login", children: a.loginButtonText })
|
|
12168
12172
|
] })
|
|
@@ -12196,7 +12200,7 @@ function Bu({
|
|
|
12196
12200
|
API_ENV: e,
|
|
12197
12201
|
texts: t
|
|
12198
12202
|
}) {
|
|
12199
|
-
const s = { ...dl, ...t?.comentarios }, [a, r] = $("login"), [i, o] = $(""), [c, d] = $(""), [l, u] = $(""), [m,
|
|
12203
|
+
const s = { ...dl, ...t?.comentarios }, [a, r] = $("login"), [i, o] = $(""), [c, d] = $(""), [l, u] = $(""), [m, h] = $(""), [A, f] = $(""), [g, w] = $(!1), [v, E] = $(!1), [N, S] = $(null);
|
|
12200
12204
|
le.useEffect(() => {
|
|
12201
12205
|
if (typeof window > "u") return;
|
|
12202
12206
|
window.location.hash.includes("forgot") && a === "login" && r("forgot"), a === "login" && I();
|
|
@@ -12237,8 +12241,8 @@ function Bu({
|
|
|
12237
12241
|
body: JSON.stringify({ email: i, password: c, token: H })
|
|
12238
12242
|
});
|
|
12239
12243
|
if (!se.ok) {
|
|
12240
|
-
const
|
|
12241
|
-
throw new Error(
|
|
12244
|
+
const M = await se.json().catch(() => ({}));
|
|
12245
|
+
throw new Error(M?.error || "Ha ocurrido un error");
|
|
12242
12246
|
}
|
|
12243
12247
|
await I();
|
|
12244
12248
|
return;
|
|
@@ -12309,8 +12313,8 @@ function Bu({
|
|
|
12309
12313
|
loading: v,
|
|
12310
12314
|
error: N,
|
|
12311
12315
|
setConfirmationCode: u,
|
|
12312
|
-
setNewPassword:
|
|
12313
|
-
setConfirmNewPassword:
|
|
12316
|
+
setNewPassword: h,
|
|
12317
|
+
setConfirmNewPassword: f,
|
|
12314
12318
|
setShowPassword: w,
|
|
12315
12319
|
onSubmit: async (L) => {
|
|
12316
12320
|
if (v) return;
|
|
@@ -12332,8 +12336,8 @@ function Bu({
|
|
|
12332
12336
|
body: JSON.stringify({ email: i, code: l, newPassword: m })
|
|
12333
12337
|
});
|
|
12334
12338
|
if (!se.ok) {
|
|
12335
|
-
const
|
|
12336
|
-
throw new Error(
|
|
12339
|
+
const M = await se.json().catch(() => ({}));
|
|
12340
|
+
throw new Error(M?.error || "Error al cambiar contraseña");
|
|
12337
12341
|
}
|
|
12338
12342
|
r("feedback");
|
|
12339
12343
|
} catch (se) {
|
|
@@ -12400,7 +12404,7 @@ function ul({
|
|
|
12400
12404
|
{
|
|
12401
12405
|
type: "email",
|
|
12402
12406
|
value: e,
|
|
12403
|
-
onChange: (
|
|
12407
|
+
onChange: (h) => i(h.target.value),
|
|
12404
12408
|
className: "sass-pg-login-input",
|
|
12405
12409
|
placeholder: ""
|
|
12406
12410
|
}
|
|
@@ -12413,7 +12417,7 @@ function ul({
|
|
|
12413
12417
|
{
|
|
12414
12418
|
type: s ? "text" : "password",
|
|
12415
12419
|
value: t,
|
|
12416
|
-
onChange: (
|
|
12420
|
+
onChange: (h) => o(h.target.value),
|
|
12417
12421
|
className: "sass-pg-login-input",
|
|
12418
12422
|
placeholder: ""
|
|
12419
12423
|
}
|
|
@@ -12425,7 +12429,7 @@ function ul({
|
|
|
12425
12429
|
id: "showPasswordLogin",
|
|
12426
12430
|
type: "checkbox",
|
|
12427
12431
|
checked: s,
|
|
12428
|
-
onChange: (
|
|
12432
|
+
onChange: (h) => c(h.target.checked)
|
|
12429
12433
|
}
|
|
12430
12434
|
),
|
|
12431
12435
|
/* @__PURE__ */ n("label", { htmlFor: "showPasswordLogin", className: "sass-pg-login-checkboxLabel", children: m.showPassword })
|
|
@@ -12513,10 +12517,10 @@ function fl({
|
|
|
12513
12517
|
setConfirmNewPassword: l,
|
|
12514
12518
|
setShowPassword: u,
|
|
12515
12519
|
onSubmit: m,
|
|
12516
|
-
onBack:
|
|
12520
|
+
onBack: h,
|
|
12517
12521
|
t: A
|
|
12518
12522
|
}) {
|
|
12519
|
-
const
|
|
12523
|
+
const f = A.changePasswordMessage.replace("{{email}}", hl(e));
|
|
12520
12524
|
return /* @__PURE__ */ p(
|
|
12521
12525
|
"form",
|
|
12522
12526
|
{
|
|
@@ -12524,7 +12528,7 @@ function fl({
|
|
|
12524
12528
|
className: "sass-pg-login-form",
|
|
12525
12529
|
"data-error": o ? "true" : "false",
|
|
12526
12530
|
children: [
|
|
12527
|
-
/* @__PURE__ */ n("p", { className: "sass-pg-login-message", children:
|
|
12531
|
+
/* @__PURE__ */ n("p", { className: "sass-pg-login-message", children: f }),
|
|
12528
12532
|
/* @__PURE__ */ p("ul", { className: "sass-pg-login-formUl", children: [
|
|
12529
12533
|
/* @__PURE__ */ p("div", { className: "sass-pg-login-field", children: [
|
|
12530
12534
|
/* @__PURE__ */ n("label", { className: "sass-pg-login-label", children: A.verificationCodeLabel }),
|
|
@@ -12604,7 +12608,7 @@ function fl({
|
|
|
12604
12608
|
children: i ? /* @__PURE__ */ n(nt, {}) : A.changePasswordButton
|
|
12605
12609
|
}
|
|
12606
12610
|
),
|
|
12607
|
-
/* @__PURE__ */ n("p", { className: "sass-pg-login-switch", children: /* @__PURE__ */ n("button", { type: "button", onClick:
|
|
12611
|
+
/* @__PURE__ */ n("p", { className: "sass-pg-login-switch", children: /* @__PURE__ */ n("button", { type: "button", onClick: h, children: A.backButton }) })
|
|
12608
12612
|
]
|
|
12609
12613
|
}
|
|
12610
12614
|
);
|
|
@@ -12630,8 +12634,8 @@ function Ou({ containerId: e, containerId2: t }) {
|
|
|
12630
12634
|
const i = a?.querySelectorAll("script[src]") ?? [], o = r?.querySelectorAll("script[src]") ?? [];
|
|
12631
12635
|
[...i, ...o].forEach((u) => {
|
|
12632
12636
|
const m = document.createElement("script");
|
|
12633
|
-
Array.from(u.attributes).forEach((
|
|
12634
|
-
m.setAttribute(
|
|
12637
|
+
Array.from(u.attributes).forEach((h) => {
|
|
12638
|
+
m.setAttribute(h.name, h.value);
|
|
12635
12639
|
}), u.replaceWith(m);
|
|
12636
12640
|
});
|
|
12637
12641
|
const d = document.querySelectorAll(
|
|
@@ -12663,8 +12667,8 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12663
12667
|
BackDropAuxHeigthMobile: r
|
|
12664
12668
|
//isVisible,
|
|
12665
12669
|
} = e, i = fa(), o = ss(() => {
|
|
12666
|
-
const
|
|
12667
|
-
if (
|
|
12670
|
+
const h = e?.preview?.sizes;
|
|
12671
|
+
if (h && Array.isArray(h) && h.length > 0) return h;
|
|
12668
12672
|
const A = e?.preview?.original;
|
|
12669
12673
|
return A?.url ? [{ url: A.url, width: A.width || 0, height: A.height || 0 }] : [];
|
|
12670
12674
|
}, [e?.preview?.sizes, e?.preview?.original]);
|
|
@@ -12802,7 +12806,7 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12802
12806
|
fetchConfig: o,
|
|
12803
12807
|
paths: c
|
|
12804
12808
|
}) => {
|
|
12805
|
-
const d = i.FETCH_SIZE_MORE_NEWS ?? 6, [l, u] = $({ data: Array.from({ length: d }, () => wl) }), [m,
|
|
12809
|
+
const d = i.FETCH_SIZE_MORE_NEWS ?? 6, [l, u] = $({ data: Array.from({ length: d }, () => wl) }), [m, h] = $(!1), A = ce(async () => {
|
|
12806
12810
|
if (!t) return;
|
|
12807
12811
|
const w = new URLSearchParams({
|
|
12808
12812
|
section: e,
|
|
@@ -12811,7 +12815,7 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12811
12815
|
if (!v.ok)
|
|
12812
12816
|
throw new Error(`HTTP error! status: ${v.status}`);
|
|
12813
12817
|
return await v.json();
|
|
12814
|
-
}, [e, t]),
|
|
12818
|
+
}, [e, t]), f = ce(async () => {
|
|
12815
12819
|
const {
|
|
12816
12820
|
PUBLIC_API_FRONT: w,
|
|
12817
12821
|
PUBLIC_X_SECURITY_TOKEN: v,
|
|
@@ -12844,10 +12848,10 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12844
12848
|
};
|
|
12845
12849
|
}, [e, t, i]), g = ce(async () => {
|
|
12846
12850
|
if (!(m || !t)) {
|
|
12847
|
-
|
|
12851
|
+
h(!0);
|
|
12848
12852
|
try {
|
|
12849
12853
|
let w;
|
|
12850
|
-
i.PUBLIC_ENV !== "prod" ? w = await A() : w = await
|
|
12854
|
+
i.PUBLIC_ENV !== "prod" ? w = await A() : w = await f(), u({
|
|
12851
12855
|
...w,
|
|
12852
12856
|
data: w.data.slice(0, d)
|
|
12853
12857
|
});
|
|
@@ -12860,7 +12864,7 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12860
12864
|
t,
|
|
12861
12865
|
i.PUBLIC_ENV,
|
|
12862
12866
|
A,
|
|
12863
|
-
|
|
12867
|
+
f
|
|
12864
12868
|
]);
|
|
12865
12869
|
return Te(() => {
|
|
12866
12870
|
a && g();
|
|
@@ -12896,9 +12900,9 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12896
12900
|
info: l,
|
|
12897
12901
|
preview: u,
|
|
12898
12902
|
isVideo: m = !1,
|
|
12899
|
-
config:
|
|
12903
|
+
config: h,
|
|
12900
12904
|
overImage: A = "default",
|
|
12901
|
-
isTitle:
|
|
12905
|
+
isTitle: f = !1,
|
|
12902
12906
|
isLarge: g = !1,
|
|
12903
12907
|
keywords: w
|
|
12904
12908
|
} = i;
|
|
@@ -12938,9 +12942,9 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12938
12942
|
info: l,
|
|
12939
12943
|
preview: u,
|
|
12940
12944
|
share: e.share,
|
|
12941
|
-
config:
|
|
12945
|
+
config: h,
|
|
12942
12946
|
overImage: A,
|
|
12943
|
-
isTitle:
|
|
12947
|
+
isTitle: f,
|
|
12944
12948
|
paths: e.paths,
|
|
12945
12949
|
isVisible: e.isVisible,
|
|
12946
12950
|
DATE_CONFIG: e.API_ENV,
|
|
@@ -13118,7 +13122,7 @@ async function Mu({
|
|
|
13118
13122
|
username: t ?? !1,
|
|
13119
13123
|
id: s,
|
|
13120
13124
|
type: u
|
|
13121
|
-
}),
|
|
13125
|
+
}), h = `${l}?${m.toString()}`;
|
|
13122
13126
|
try {
|
|
13123
13127
|
console.log("Reporting comment:", {
|
|
13124
13128
|
publication: e,
|
|
@@ -13126,9 +13130,9 @@ async function Mu({
|
|
|
13126
13130
|
id: s,
|
|
13127
13131
|
type: a,
|
|
13128
13132
|
encodedType: u,
|
|
13129
|
-
url:
|
|
13133
|
+
url: h
|
|
13130
13134
|
});
|
|
13131
|
-
const A = await re.get(
|
|
13135
|
+
const A = await re.get(h, {
|
|
13132
13136
|
headers: {
|
|
13133
13137
|
"User-Agent": "blu3st@ck-react",
|
|
13134
13138
|
"x-security-token": c,
|
|
@@ -13146,9 +13150,9 @@ async function Mu({
|
|
|
13146
13150
|
throw new Error(`Respuesta inesperada del servidor: ${A.status}`);
|
|
13147
13151
|
} catch (A) {
|
|
13148
13152
|
if (console.error("Error reporting comment:", A), re.isAxiosError(A)) {
|
|
13149
|
-
const
|
|
13150
|
-
throw
|
|
13151
|
-
g?.error || g?.message || `Error HTTP ${
|
|
13153
|
+
const f = A.response?.status, g = A.response?.data;
|
|
13154
|
+
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(
|
|
13155
|
+
g?.error || g?.message || `Error HTTP ${f}: No se pudo reportar el comentario`
|
|
13152
13156
|
);
|
|
13153
13157
|
}
|
|
13154
13158
|
throw A;
|
|
@@ -13200,7 +13204,7 @@ var yn;
|
|
|
13200
13204
|
function Tl() {
|
|
13201
13205
|
if (yn) return ne;
|
|
13202
13206
|
yn = 1;
|
|
13203
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113,
|
|
13207
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
13204
13208
|
function N(b) {
|
|
13205
13209
|
if (typeof b == "object" && b !== null) {
|
|
13206
13210
|
var I = b.$$typeof;
|
|
@@ -13218,7 +13222,7 @@ function Tl() {
|
|
|
13218
13222
|
switch (b = b && b.$$typeof, b) {
|
|
13219
13223
|
case c:
|
|
13220
13224
|
case u:
|
|
13221
|
-
case
|
|
13225
|
+
case f:
|
|
13222
13226
|
case A:
|
|
13223
13227
|
case o:
|
|
13224
13228
|
return b;
|
|
@@ -13234,7 +13238,7 @@ function Tl() {
|
|
|
13234
13238
|
function S(b) {
|
|
13235
13239
|
return N(b) === l;
|
|
13236
13240
|
}
|
|
13237
|
-
return ne.AsyncMode = d, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = o, ne.Element = t, ne.ForwardRef = u, ne.Fragment = a, ne.Lazy =
|
|
13241
|
+
return ne.AsyncMode = d, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = o, ne.Element = t, ne.ForwardRef = u, ne.Fragment = a, ne.Lazy = f, ne.Memo = A, ne.Portal = s, ne.Profiler = i, ne.StrictMode = r, ne.Suspense = m, ne.isAsyncMode = function(b) {
|
|
13238
13242
|
return S(b) || N(b) === d;
|
|
13239
13243
|
}, ne.isConcurrentMode = S, ne.isContextConsumer = function(b) {
|
|
13240
13244
|
return N(b) === c;
|
|
@@ -13247,7 +13251,7 @@ function Tl() {
|
|
|
13247
13251
|
}, ne.isFragment = function(b) {
|
|
13248
13252
|
return N(b) === a;
|
|
13249
13253
|
}, ne.isLazy = function(b) {
|
|
13250
|
-
return N(b) ===
|
|
13254
|
+
return N(b) === f;
|
|
13251
13255
|
}, ne.isMemo = function(b) {
|
|
13252
13256
|
return N(b) === A;
|
|
13253
13257
|
}, ne.isPortal = function(b) {
|
|
@@ -13259,17 +13263,17 @@ function Tl() {
|
|
|
13259
13263
|
}, ne.isSuspense = function(b) {
|
|
13260
13264
|
return N(b) === m;
|
|
13261
13265
|
}, ne.isValidElementType = function(b) {
|
|
13262
|
-
return typeof b == "string" || typeof b == "function" || b === a || b === l || b === i || b === r || b === m || b ===
|
|
13266
|
+
return typeof b == "string" || typeof b == "function" || b === a || b === l || b === i || b === r || b === m || b === h || typeof b == "object" && b !== null && (b.$$typeof === f || b.$$typeof === A || b.$$typeof === o || b.$$typeof === c || b.$$typeof === u || b.$$typeof === w || b.$$typeof === v || b.$$typeof === E || b.$$typeof === g);
|
|
13263
13267
|
}, ne.typeOf = N, ne;
|
|
13264
13268
|
}
|
|
13265
13269
|
var ae = {};
|
|
13266
13270
|
var Cn;
|
|
13267
13271
|
function Il() {
|
|
13268
13272
|
return Cn || (Cn = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
13269
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113,
|
|
13273
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
13270
13274
|
function N(B) {
|
|
13271
13275
|
return typeof B == "string" || typeof B == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
13272
|
-
B === a || B === l || B === i || B === r || B === m || B ===
|
|
13276
|
+
B === a || B === l || B === i || B === r || B === m || B === h || typeof B == "object" && B !== null && (B.$$typeof === f || B.$$typeof === A || B.$$typeof === o || B.$$typeof === c || B.$$typeof === u || B.$$typeof === w || B.$$typeof === v || B.$$typeof === E || B.$$typeof === g);
|
|
13273
13277
|
}
|
|
13274
13278
|
function S(B) {
|
|
13275
13279
|
if (typeof B == "object" && B !== null) {
|
|
@@ -13290,7 +13294,7 @@ function Il() {
|
|
|
13290
13294
|
switch (_s) {
|
|
13291
13295
|
case c:
|
|
13292
13296
|
case u:
|
|
13293
|
-
case
|
|
13297
|
+
case f:
|
|
13294
13298
|
case A:
|
|
13295
13299
|
case o:
|
|
13296
13300
|
return _s;
|
|
@@ -13303,7 +13307,7 @@ function Il() {
|
|
|
13303
13307
|
}
|
|
13304
13308
|
}
|
|
13305
13309
|
}
|
|
13306
|
-
var b = d, I = l, R = c, Q = o, W = t, j = u, L = a, H =
|
|
13310
|
+
var b = d, I = l, R = c, Q = o, W = t, j = u, L = a, H = f, se = A, M = s, x = i, U = r, D = m, k = !1;
|
|
13307
13311
|
function F(B) {
|
|
13308
13312
|
return k || (k = !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(B) || S(B) === d;
|
|
13309
13313
|
}
|
|
@@ -13319,14 +13323,14 @@ function Il() {
|
|
|
13319
13323
|
function G(B) {
|
|
13320
13324
|
return typeof B == "object" && B !== null && B.$$typeof === t;
|
|
13321
13325
|
}
|
|
13322
|
-
function
|
|
13326
|
+
function _(B) {
|
|
13323
13327
|
return S(B) === u;
|
|
13324
13328
|
}
|
|
13325
13329
|
function V(B) {
|
|
13326
13330
|
return S(B) === a;
|
|
13327
13331
|
}
|
|
13328
13332
|
function z(B) {
|
|
13329
|
-
return S(B) ===
|
|
13333
|
+
return S(B) === f;
|
|
13330
13334
|
}
|
|
13331
13335
|
function Y(B) {
|
|
13332
13336
|
return S(B) === A;
|
|
@@ -13343,7 +13347,7 @@ function Il() {
|
|
|
13343
13347
|
function ie(B) {
|
|
13344
13348
|
return S(B) === m;
|
|
13345
13349
|
}
|
|
13346
|
-
ae.AsyncMode = b, ae.ConcurrentMode = I, ae.ContextConsumer = R, ae.ContextProvider = Q, ae.Element = W, ae.ForwardRef = j, ae.Fragment = L, ae.Lazy = H, ae.Memo = se, ae.Portal =
|
|
13350
|
+
ae.AsyncMode = b, ae.ConcurrentMode = I, ae.ContextConsumer = R, ae.ContextProvider = Q, ae.Element = W, ae.ForwardRef = j, ae.Fragment = L, ae.Lazy = H, ae.Memo = se, ae.Portal = M, ae.Profiler = x, ae.StrictMode = U, ae.Suspense = D, ae.isAsyncMode = F, ae.isConcurrentMode = y, ae.isContextConsumer = T, ae.isContextProvider = P, ae.isElement = G, ae.isForwardRef = _, ae.isFragment = V, ae.isLazy = z, ae.isMemo = Y, ae.isPortal = ee, ae.isProfiler = te, ae.isStrictMode = K, ae.isSuspense = ie, ae.isValidElementType = N, ae.typeOf = S;
|
|
13347
13351
|
})()), ae;
|
|
13348
13352
|
}
|
|
13349
13353
|
var Nn;
|
|
@@ -13389,8 +13393,8 @@ function Ul() {
|
|
|
13389
13393
|
t.call(c, m) && (d[m] = c[m]);
|
|
13390
13394
|
if (e) {
|
|
13391
13395
|
l = e(c);
|
|
13392
|
-
for (var
|
|
13393
|
-
s.call(c, l[
|
|
13396
|
+
for (var h = 0; h < l.length; h++)
|
|
13397
|
+
s.call(c, l[h]) && (d[l[h]] = c[l[h]]);
|
|
13394
13398
|
}
|
|
13395
13399
|
}
|
|
13396
13400
|
return d;
|
|
@@ -13431,14 +13435,14 @@ function xl() {
|
|
|
13431
13435
|
var m;
|
|
13432
13436
|
try {
|
|
13433
13437
|
if (typeof i[u] != "function") {
|
|
13434
|
-
var
|
|
13438
|
+
var h = Error(
|
|
13435
13439
|
(d || "React class") + ": " + c + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
13436
13440
|
);
|
|
13437
|
-
throw
|
|
13441
|
+
throw h.name = "Invariant Violation", h;
|
|
13438
13442
|
}
|
|
13439
13443
|
m = i[u](o, u, d, c, null, t);
|
|
13440
|
-
} catch (
|
|
13441
|
-
m =
|
|
13444
|
+
} catch (f) {
|
|
13445
|
+
m = f;
|
|
13442
13446
|
}
|
|
13443
13447
|
if (m && !(m instanceof Error) && e(
|
|
13444
13448
|
(d || "React class") + ": type specification of " + c + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
@@ -13480,7 +13484,7 @@ function Rl() {
|
|
|
13480
13484
|
if (typeof T == "function")
|
|
13481
13485
|
return T;
|
|
13482
13486
|
}
|
|
13483
|
-
var
|
|
13487
|
+
var h = "<<anonymous>>", A = {
|
|
13484
13488
|
array: v("array"),
|
|
13485
13489
|
bigint: v("bigint"),
|
|
13486
13490
|
bool: v("boolean"),
|
|
@@ -13501,7 +13505,7 @@ function Rl() {
|
|
|
13501
13505
|
shape: H,
|
|
13502
13506
|
exact: se
|
|
13503
13507
|
};
|
|
13504
|
-
function
|
|
13508
|
+
function f(y, T) {
|
|
13505
13509
|
return y === T ? y !== 0 || 1 / y === 1 / T : y !== y && T !== T;
|
|
13506
13510
|
}
|
|
13507
13511
|
function g(y, T) {
|
|
@@ -13512,7 +13516,7 @@ function Rl() {
|
|
|
13512
13516
|
if (process.env.NODE_ENV !== "production")
|
|
13513
13517
|
var T = {}, P = 0;
|
|
13514
13518
|
function G(V, z, Y, ee, te, K, ie) {
|
|
13515
|
-
if (ee = ee ||
|
|
13519
|
+
if (ee = ee || h, K = K || Y, ie !== s) {
|
|
13516
13520
|
if (d) {
|
|
13517
13521
|
var B = new Error(
|
|
13518
13522
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -13528,16 +13532,16 @@ function Rl() {
|
|
|
13528
13532
|
}
|
|
13529
13533
|
return z[Y] == null ? V ? z[Y] === null ? new g("The " + te + " `" + K + "` is marked as required " + ("in `" + ee + "`, but its value is `null`.")) : new g("The " + te + " `" + K + "` is marked as required in " + ("`" + ee + "`, but its value is `undefined`.")) : null : y(z, Y, ee, te, K);
|
|
13530
13534
|
}
|
|
13531
|
-
var
|
|
13532
|
-
return
|
|
13535
|
+
var _ = G.bind(null, !1);
|
|
13536
|
+
return _.isRequired = G.bind(null, !0), _;
|
|
13533
13537
|
}
|
|
13534
13538
|
function v(y) {
|
|
13535
|
-
function T(P, G,
|
|
13539
|
+
function T(P, G, _, V, z, Y) {
|
|
13536
13540
|
var ee = P[G], te = U(ee);
|
|
13537
13541
|
if (te !== y) {
|
|
13538
|
-
var K =
|
|
13542
|
+
var K = D(ee);
|
|
13539
13543
|
return new g(
|
|
13540
|
-
"Invalid " + V + " `" + z + "` of type " + ("`" + K + "` supplied to `" +
|
|
13544
|
+
"Invalid " + V + " `" + z + "` of type " + ("`" + K + "` supplied to `" + _ + "`, expected ") + ("`" + y + "`."),
|
|
13541
13545
|
{ expectedType: y }
|
|
13542
13546
|
);
|
|
13543
13547
|
}
|
|
@@ -13549,16 +13553,16 @@ function Rl() {
|
|
|
13549
13553
|
return w(o);
|
|
13550
13554
|
}
|
|
13551
13555
|
function N(y) {
|
|
13552
|
-
function T(P, G,
|
|
13556
|
+
function T(P, G, _, V, z) {
|
|
13553
13557
|
if (typeof y != "function")
|
|
13554
|
-
return new g("Property `" + z + "` of component `" +
|
|
13558
|
+
return new g("Property `" + z + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
|
|
13555
13559
|
var Y = P[G];
|
|
13556
13560
|
if (!Array.isArray(Y)) {
|
|
13557
13561
|
var ee = U(Y);
|
|
13558
|
-
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" +
|
|
13562
|
+
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + _ + "`, expected an array."));
|
|
13559
13563
|
}
|
|
13560
13564
|
for (var te = 0; te < Y.length; te++) {
|
|
13561
|
-
var K = y(Y, te,
|
|
13565
|
+
var K = y(Y, te, _, V, z + "[" + te + "]", s);
|
|
13562
13566
|
if (K instanceof Error)
|
|
13563
13567
|
return K;
|
|
13564
13568
|
}
|
|
@@ -13567,32 +13571,32 @@ function Rl() {
|
|
|
13567
13571
|
return w(T);
|
|
13568
13572
|
}
|
|
13569
13573
|
function S() {
|
|
13570
|
-
function y(T, P, G,
|
|
13574
|
+
function y(T, P, G, _, V) {
|
|
13571
13575
|
var z = T[P];
|
|
13572
13576
|
if (!c(z)) {
|
|
13573
13577
|
var Y = U(z);
|
|
13574
|
-
return new g("Invalid " +
|
|
13578
|
+
return new g("Invalid " + _ + " `" + V + "` of type " + ("`" + Y + "` supplied to `" + G + "`, expected a single ReactElement."));
|
|
13575
13579
|
}
|
|
13576
13580
|
return null;
|
|
13577
13581
|
}
|
|
13578
13582
|
return w(y);
|
|
13579
13583
|
}
|
|
13580
13584
|
function b() {
|
|
13581
|
-
function y(T, P, G,
|
|
13585
|
+
function y(T, P, G, _, V) {
|
|
13582
13586
|
var z = T[P];
|
|
13583
13587
|
if (!e.isValidElementType(z)) {
|
|
13584
13588
|
var Y = U(z);
|
|
13585
|
-
return new g("Invalid " +
|
|
13589
|
+
return new g("Invalid " + _ + " `" + V + "` of type " + ("`" + Y + "` supplied to `" + G + "`, expected a single ReactElement type."));
|
|
13586
13590
|
}
|
|
13587
13591
|
return null;
|
|
13588
13592
|
}
|
|
13589
13593
|
return w(y);
|
|
13590
13594
|
}
|
|
13591
13595
|
function I(y) {
|
|
13592
|
-
function T(P, G,
|
|
13596
|
+
function T(P, G, _, V, z) {
|
|
13593
13597
|
if (!(P[G] instanceof y)) {
|
|
13594
|
-
var Y = y.name ||
|
|
13595
|
-
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" +
|
|
13598
|
+
var Y = y.name || h, ee = F(P[G]);
|
|
13599
|
+
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + _ + "`, expected ") + ("instance of `" + Y + "`."));
|
|
13596
13600
|
}
|
|
13597
13601
|
return null;
|
|
13598
13602
|
}
|
|
@@ -13603,28 +13607,28 @@ function Rl() {
|
|
|
13603
13607
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
13604
13608
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
13605
13609
|
) : i("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
13606
|
-
function T(P, G,
|
|
13610
|
+
function T(P, G, _, V, z) {
|
|
13607
13611
|
for (var Y = P[G], ee = 0; ee < y.length; ee++)
|
|
13608
|
-
if (
|
|
13612
|
+
if (f(Y, y[ee]))
|
|
13609
13613
|
return null;
|
|
13610
13614
|
var te = JSON.stringify(y, function(ie, B) {
|
|
13611
|
-
var me =
|
|
13615
|
+
var me = D(B);
|
|
13612
13616
|
return me === "symbol" ? String(B) : B;
|
|
13613
13617
|
});
|
|
13614
|
-
return new g("Invalid " + V + " `" + z + "` of value `" + String(Y) + "` " + ("supplied to `" +
|
|
13618
|
+
return new g("Invalid " + V + " `" + z + "` of value `" + String(Y) + "` " + ("supplied to `" + _ + "`, expected one of " + te + "."));
|
|
13615
13619
|
}
|
|
13616
13620
|
return w(T);
|
|
13617
13621
|
}
|
|
13618
13622
|
function Q(y) {
|
|
13619
|
-
function T(P, G,
|
|
13623
|
+
function T(P, G, _, V, z) {
|
|
13620
13624
|
if (typeof y != "function")
|
|
13621
|
-
return new g("Property `" + z + "` of component `" +
|
|
13625
|
+
return new g("Property `" + z + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
|
|
13622
13626
|
var Y = P[G], ee = U(Y);
|
|
13623
13627
|
if (ee !== "object")
|
|
13624
|
-
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" +
|
|
13628
|
+
return new g("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + _ + "`, expected an object."));
|
|
13625
13629
|
for (var te in Y)
|
|
13626
13630
|
if (a(Y, te)) {
|
|
13627
|
-
var K = y(Y, te,
|
|
13631
|
+
var K = y(Y, te, _, V, z + "." + te, s);
|
|
13628
13632
|
if (K instanceof Error)
|
|
13629
13633
|
return K;
|
|
13630
13634
|
}
|
|
@@ -13642,9 +13646,9 @@ function Rl() {
|
|
|
13642
13646
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + k(P) + " at index " + T + "."
|
|
13643
13647
|
), o;
|
|
13644
13648
|
}
|
|
13645
|
-
function G(
|
|
13649
|
+
function G(_, V, z, Y, ee) {
|
|
13646
13650
|
for (var te = [], K = 0; K < y.length; K++) {
|
|
13647
|
-
var ie = y[K], B = ie(
|
|
13651
|
+
var ie = y[K], B = ie(_, V, z, Y, ee, s);
|
|
13648
13652
|
if (B == null)
|
|
13649
13653
|
return null;
|
|
13650
13654
|
B.data && a(B.data, "expectedType") && te.push(B.data.expectedType);
|
|
@@ -13655,26 +13659,26 @@ function Rl() {
|
|
|
13655
13659
|
return w(G);
|
|
13656
13660
|
}
|
|
13657
13661
|
function j() {
|
|
13658
|
-
function y(T, P, G,
|
|
13659
|
-
return
|
|
13662
|
+
function y(T, P, G, _, V) {
|
|
13663
|
+
return M(T[P]) ? null : new g("Invalid " + _ + " `" + V + "` supplied to " + ("`" + G + "`, expected a ReactNode."));
|
|
13660
13664
|
}
|
|
13661
13665
|
return w(y);
|
|
13662
13666
|
}
|
|
13663
|
-
function L(y, T, P, G,
|
|
13667
|
+
function L(y, T, P, G, _) {
|
|
13664
13668
|
return new g(
|
|
13665
|
-
(y || "React class") + ": " + T + " type `" + P + "." + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
13669
|
+
(y || "React class") + ": " + T + " type `" + P + "." + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
|
|
13666
13670
|
);
|
|
13667
13671
|
}
|
|
13668
13672
|
function H(y) {
|
|
13669
|
-
function T(P, G,
|
|
13673
|
+
function T(P, G, _, V, z) {
|
|
13670
13674
|
var Y = P[G], ee = U(Y);
|
|
13671
13675
|
if (ee !== "object")
|
|
13672
|
-
return new g("Invalid " + V + " `" + z + "` of type `" + ee + "` " + ("supplied to `" +
|
|
13676
|
+
return new g("Invalid " + V + " `" + z + "` of type `" + ee + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
13673
13677
|
for (var te in y) {
|
|
13674
13678
|
var K = y[te];
|
|
13675
13679
|
if (typeof K != "function")
|
|
13676
|
-
return L(
|
|
13677
|
-
var ie = K(Y, te,
|
|
13680
|
+
return L(_, V, z, te, D(K));
|
|
13681
|
+
var ie = K(Y, te, _, V, z + "." + te, s);
|
|
13678
13682
|
if (ie)
|
|
13679
13683
|
return ie;
|
|
13680
13684
|
}
|
|
@@ -13683,21 +13687,21 @@ function Rl() {
|
|
|
13683
13687
|
return w(T);
|
|
13684
13688
|
}
|
|
13685
13689
|
function se(y) {
|
|
13686
|
-
function T(P, G,
|
|
13690
|
+
function T(P, G, _, V, z) {
|
|
13687
13691
|
var Y = P[G], ee = U(Y);
|
|
13688
13692
|
if (ee !== "object")
|
|
13689
|
-
return new g("Invalid " + V + " `" + z + "` of type `" + ee + "` " + ("supplied to `" +
|
|
13693
|
+
return new g("Invalid " + V + " `" + z + "` of type `" + ee + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
13690
13694
|
var te = t({}, P[G], y);
|
|
13691
13695
|
for (var K in te) {
|
|
13692
13696
|
var ie = y[K];
|
|
13693
13697
|
if (a(y, K) && typeof ie != "function")
|
|
13694
|
-
return L(
|
|
13698
|
+
return L(_, V, z, K, D(ie));
|
|
13695
13699
|
if (!ie)
|
|
13696
13700
|
return new g(
|
|
13697
|
-
"Invalid " + V + " `" + z + "` key `" + K + "` supplied to `" +
|
|
13701
|
+
"Invalid " + V + " `" + z + "` key `" + K + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(P[G], null, " ") + `
|
|
13698
13702
|
Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
13699
13703
|
);
|
|
13700
|
-
var B = ie(Y, K,
|
|
13704
|
+
var B = ie(Y, K, _, V, z + "." + K, s);
|
|
13701
13705
|
if (B)
|
|
13702
13706
|
return B;
|
|
13703
13707
|
}
|
|
@@ -13705,7 +13709,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13705
13709
|
}
|
|
13706
13710
|
return w(T);
|
|
13707
13711
|
}
|
|
13708
|
-
function
|
|
13712
|
+
function M(y) {
|
|
13709
13713
|
switch (typeof y) {
|
|
13710
13714
|
case "number":
|
|
13711
13715
|
case "string":
|
|
@@ -13715,7 +13719,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13715
13719
|
return !y;
|
|
13716
13720
|
case "object":
|
|
13717
13721
|
if (Array.isArray(y))
|
|
13718
|
-
return y.every(
|
|
13722
|
+
return y.every(M);
|
|
13719
13723
|
if (y === null || c(y))
|
|
13720
13724
|
return !0;
|
|
13721
13725
|
var T = m(y);
|
|
@@ -13723,12 +13727,12 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13723
13727
|
var P = T.call(y), G;
|
|
13724
13728
|
if (T !== y.entries) {
|
|
13725
13729
|
for (; !(G = P.next()).done; )
|
|
13726
|
-
if (!
|
|
13730
|
+
if (!M(G.value))
|
|
13727
13731
|
return !1;
|
|
13728
13732
|
} else
|
|
13729
13733
|
for (; !(G = P.next()).done; ) {
|
|
13730
|
-
var
|
|
13731
|
-
if (
|
|
13734
|
+
var _ = G.value;
|
|
13735
|
+
if (_ && !M(_[1]))
|
|
13732
13736
|
return !1;
|
|
13733
13737
|
}
|
|
13734
13738
|
} else
|
|
@@ -13745,7 +13749,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13745
13749
|
var T = typeof y;
|
|
13746
13750
|
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : x(T, y) ? "symbol" : T;
|
|
13747
13751
|
}
|
|
13748
|
-
function
|
|
13752
|
+
function D(y) {
|
|
13749
13753
|
if (typeof y > "u" || y === null)
|
|
13750
13754
|
return "" + y;
|
|
13751
13755
|
var T = U(y);
|
|
@@ -13758,7 +13762,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13758
13762
|
return T;
|
|
13759
13763
|
}
|
|
13760
13764
|
function k(y) {
|
|
13761
|
-
var T =
|
|
13765
|
+
var T = D(y);
|
|
13762
13766
|
switch (T) {
|
|
13763
13767
|
case "array":
|
|
13764
13768
|
case "object":
|
|
@@ -13772,7 +13776,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13772
13776
|
}
|
|
13773
13777
|
}
|
|
13774
13778
|
function F(y) {
|
|
13775
|
-
return !y.constructor || !y.constructor.name ?
|
|
13779
|
+
return !y.constructor || !y.constructor.name ? h : y.constructor.name;
|
|
13776
13780
|
}
|
|
13777
13781
|
return A.checkPropTypes = r, A.resetWarningCache = r.resetWarningCache, A.PropTypes = A, A;
|
|
13778
13782
|
}, $t;
|
|
@@ -13789,10 +13793,10 @@ function kl() {
|
|
|
13789
13793
|
return s.resetWarningCache = t, Zt = function() {
|
|
13790
13794
|
function a(o, c, d, l, u, m) {
|
|
13791
13795
|
if (m !== e) {
|
|
13792
|
-
var
|
|
13796
|
+
var h = new Error(
|
|
13793
13797
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
13794
13798
|
);
|
|
13795
|
-
throw
|
|
13799
|
+
throw h.name = "Invariant Violation", h;
|
|
13796
13800
|
}
|
|
13797
13801
|
}
|
|
13798
13802
|
a.isRequired = a;
|
|
@@ -14003,30 +14007,30 @@ function Ml() {
|
|
|
14003
14007
|
type: !0
|
|
14004
14008
|
}, i = {};
|
|
14005
14009
|
i[e.ForwardRef] = a, i[e.Memo] = r;
|
|
14006
|
-
function o(
|
|
14007
|
-
return e.isMemo(
|
|
14010
|
+
function o(f) {
|
|
14011
|
+
return e.isMemo(f) ? r : i[f.$$typeof] || t;
|
|
14008
14012
|
}
|
|
14009
|
-
var c = Object.defineProperty, d = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf,
|
|
14010
|
-
function A(
|
|
14013
|
+
var c = Object.defineProperty, d = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf, h = Object.prototype;
|
|
14014
|
+
function A(f, g, w) {
|
|
14011
14015
|
if (typeof g != "string") {
|
|
14012
|
-
if (
|
|
14016
|
+
if (h) {
|
|
14013
14017
|
var v = m(g);
|
|
14014
|
-
v && v !==
|
|
14018
|
+
v && v !== h && A(f, v, w);
|
|
14015
14019
|
}
|
|
14016
14020
|
var E = d(g);
|
|
14017
14021
|
l && (E = E.concat(l(g)));
|
|
14018
|
-
for (var N = o(
|
|
14022
|
+
for (var N = o(f), S = o(g), b = 0; b < E.length; ++b) {
|
|
14019
14023
|
var I = E[b];
|
|
14020
14024
|
if (!s[I] && !(w && w[I]) && !(S && S[I]) && !(N && N[I])) {
|
|
14021
14025
|
var R = u(g, I);
|
|
14022
14026
|
try {
|
|
14023
|
-
c(
|
|
14027
|
+
c(f, I, R);
|
|
14024
14028
|
} catch {
|
|
14025
14029
|
}
|
|
14026
14030
|
}
|
|
14027
14031
|
}
|
|
14028
14032
|
}
|
|
14029
|
-
return
|
|
14033
|
+
return f;
|
|
14030
14034
|
}
|
|
14031
14035
|
return Xt = A, Xt;
|
|
14032
14036
|
}
|
|
@@ -14058,8 +14062,8 @@ function Hl(e, t) {
|
|
|
14058
14062
|
var r = a.displayName || a.name || "Component", i = /* @__PURE__ */ (function(c) {
|
|
14059
14063
|
jl(d, c);
|
|
14060
14064
|
function d(u, m) {
|
|
14061
|
-
var
|
|
14062
|
-
return
|
|
14065
|
+
var h;
|
|
14066
|
+
return h = c.call(this, u, m) || this, h.state = {}, h.__scriptURL = "", h;
|
|
14063
14067
|
}
|
|
14064
14068
|
var l = d.prototype;
|
|
14065
14069
|
return l.asyncScriptLoaderGetScriptLoaderID = function() {
|
|
@@ -14067,24 +14071,24 @@ function Hl(e, t) {
|
|
|
14067
14071
|
}, l.setupScriptURL = function() {
|
|
14068
14072
|
return this.__scriptURL = typeof e == "function" ? e() : e, this.__scriptURL;
|
|
14069
14073
|
}, l.asyncScriptLoaderHandleLoad = function(m) {
|
|
14070
|
-
var
|
|
14074
|
+
var h = this;
|
|
14071
14075
|
this.setState(m, function() {
|
|
14072
|
-
return
|
|
14076
|
+
return h.props.asyncScriptOnLoad && h.props.asyncScriptOnLoad(h.state);
|
|
14073
14077
|
});
|
|
14074
14078
|
}, l.asyncScriptLoaderTriggerOnScriptLoaded = function() {
|
|
14075
14079
|
var m = Ce[this.__scriptURL];
|
|
14076
14080
|
if (!m || !m.loaded)
|
|
14077
14081
|
throw new Error("Script is not loaded.");
|
|
14078
|
-
for (var
|
|
14079
|
-
m.observers[
|
|
14082
|
+
for (var h in m.observers)
|
|
14083
|
+
m.observers[h](m);
|
|
14080
14084
|
delete window[t.callbackName];
|
|
14081
14085
|
}, l.componentDidMount = function() {
|
|
14082
|
-
var m = this,
|
|
14083
|
-
if (g && typeof window[g] < "u" && (Ce[
|
|
14086
|
+
var m = this, h = this.setupScriptURL(), A = this.asyncScriptLoaderGetScriptLoaderID(), f = t, g = f.globalName, w = f.callbackName, v = f.scriptId;
|
|
14087
|
+
if (g && typeof window[g] < "u" && (Ce[h] = {
|
|
14084
14088
|
loaded: !0,
|
|
14085
14089
|
observers: {}
|
|
14086
|
-
}), Ce[
|
|
14087
|
-
var E = Ce[
|
|
14090
|
+
}), Ce[h]) {
|
|
14091
|
+
var E = Ce[h];
|
|
14088
14092
|
if (E && (E.loaded || E.errored)) {
|
|
14089
14093
|
this.asyncScriptLoaderHandleLoad(E);
|
|
14090
14094
|
return;
|
|
@@ -14097,18 +14101,18 @@ function Hl(e, t) {
|
|
|
14097
14101
|
var N = {};
|
|
14098
14102
|
N[A] = function(R) {
|
|
14099
14103
|
return m.asyncScriptLoaderHandleLoad(R);
|
|
14100
|
-
}, Ce[
|
|
14104
|
+
}, Ce[h] = {
|
|
14101
14105
|
loaded: !1,
|
|
14102
14106
|
observers: N
|
|
14103
14107
|
};
|
|
14104
14108
|
var S = document.createElement("script");
|
|
14105
|
-
S.src =
|
|
14109
|
+
S.src = h, S.async = !0;
|
|
14106
14110
|
for (var b in t.attributes)
|
|
14107
14111
|
S.setAttribute(b, t.attributes[b]);
|
|
14108
14112
|
v && (S.id = v);
|
|
14109
14113
|
var I = function(Q) {
|
|
14110
|
-
if (Ce[
|
|
14111
|
-
var W = Ce[
|
|
14114
|
+
if (Ce[h]) {
|
|
14115
|
+
var W = Ce[h], j = W.observers;
|
|
14112
14116
|
for (var L in j)
|
|
14113
14117
|
Q(j[L]) && delete j[L];
|
|
14114
14118
|
}
|
|
@@ -14116,12 +14120,12 @@ function Hl(e, t) {
|
|
|
14116
14120
|
w && typeof window < "u" && (window[w] = function() {
|
|
14117
14121
|
return m.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
14118
14122
|
}), S.onload = function() {
|
|
14119
|
-
var R = Ce[
|
|
14123
|
+
var R = Ce[h];
|
|
14120
14124
|
R && (R.loaded = !0, I(function(Q) {
|
|
14121
14125
|
return w ? !1 : (Q(R), !0);
|
|
14122
14126
|
}));
|
|
14123
14127
|
}, S.onerror = function() {
|
|
14124
|
-
var R = Ce[
|
|
14128
|
+
var R = Ce[h];
|
|
14125
14129
|
R && (R.errored = !0, I(function(Q) {
|
|
14126
14130
|
return Q(R), !0;
|
|
14127
14131
|
}));
|
|
@@ -14129,15 +14133,15 @@ function Hl(e, t) {
|
|
|
14129
14133
|
}, l.componentWillUnmount = function() {
|
|
14130
14134
|
var m = this.__scriptURL;
|
|
14131
14135
|
if (t.removeOnUnmount === !0)
|
|
14132
|
-
for (var
|
|
14133
|
-
|
|
14134
|
-
var
|
|
14135
|
-
|
|
14136
|
+
for (var h = document.getElementsByTagName("script"), A = 0; A < h.length; A += 1)
|
|
14137
|
+
h[A].src.indexOf(m) > -1 && h[A].parentNode && h[A].parentNode.removeChild(h[A]);
|
|
14138
|
+
var f = Ce[m];
|
|
14139
|
+
f && (delete f.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Ce[m]);
|
|
14136
14140
|
}, l.render = function() {
|
|
14137
|
-
var m = t.globalName,
|
|
14138
|
-
|
|
14139
|
-
var A =
|
|
14140
|
-
return m && typeof window < "u" && (
|
|
14141
|
+
var m = t.globalName, h = this.props;
|
|
14142
|
+
h.asyncScriptOnLoad;
|
|
14143
|
+
var A = h.forwardedRef, f = Gl(h, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
14144
|
+
return m && typeof window < "u" && (f[m] = typeof window[m] < "u" ? window[m] : void 0), f.ref = A, Le(a, f);
|
|
14141
14145
|
}, d;
|
|
14142
14146
|
})(Da), o = On(function(c, d) {
|
|
14143
14147
|
return Le(i, ms({}, c, {
|
|
@@ -14191,9 +14195,9 @@ const La = Hl(Fl, {
|
|
|
14191
14195
|
CAPTCHA_KEY_V2: i,
|
|
14192
14196
|
texts: o
|
|
14193
14197
|
}) => {
|
|
14194
|
-
const c = { ...zl, ...o?.comentarios }, d = { ...ls, ...c.reportReasons ?? {} }, [l, u] = $("form"), [m,
|
|
14198
|
+
const c = { ...zl, ...o?.comentarios }, d = { ...ls, ...c.reportReasons ?? {} }, [l, u] = $("form"), [m, h] = $(
|
|
14195
14199
|
""
|
|
14196
|
-
), [A,
|
|
14200
|
+
), [A, f] = $(""), [g, w] = $(""), v = [
|
|
14197
14201
|
{ id: "spam", label: d.spam },
|
|
14198
14202
|
{ id: "inappropriate", label: d.inappropriate },
|
|
14199
14203
|
{ id: "hate", label: d.hate },
|
|
@@ -14204,10 +14208,10 @@ const La = Hl(Fl, {
|
|
|
14204
14208
|
], E = async () => {
|
|
14205
14209
|
if (!(!m || !s)) {
|
|
14206
14210
|
if (Ra(document).includes(s)) {
|
|
14207
|
-
|
|
14211
|
+
f(c.errorAlreadyReported);
|
|
14208
14212
|
return;
|
|
14209
14213
|
}
|
|
14210
|
-
u("loading"),
|
|
14214
|
+
u("loading"), f("");
|
|
14211
14215
|
try {
|
|
14212
14216
|
const b = await (await fetch("/api/comments-report", {
|
|
14213
14217
|
method: "POST",
|
|
@@ -14230,11 +14234,11 @@ const La = Hl(Fl, {
|
|
|
14230
14234
|
else
|
|
14231
14235
|
throw new Error(b.message || c.errorReportComment);
|
|
14232
14236
|
} catch (S) {
|
|
14233
|
-
console.error("Error reporting comment:", S),
|
|
14237
|
+
console.error("Error reporting comment:", S), f(S.message || c.errorReportComment), u("form");
|
|
14234
14238
|
}
|
|
14235
14239
|
}
|
|
14236
14240
|
}, N = () => {
|
|
14237
|
-
u("form"),
|
|
14241
|
+
u("form"), h(""), f(""), t();
|
|
14238
14242
|
};
|
|
14239
14243
|
return !e || !s || !r ? null : /* @__PURE__ */ n("div", { className: "sass-pg-cmt-rp-overlay", children: /* @__PURE__ */ p("div", { className: "sass-pg-cmt-rp-popup", children: [
|
|
14240
14244
|
/* @__PURE__ */ n("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: N, children: /* @__PURE__ */ n($e, {}) }),
|
|
@@ -14249,7 +14253,7 @@ const La = Hl(Fl, {
|
|
|
14249
14253
|
name: "reportReason",
|
|
14250
14254
|
value: S.id,
|
|
14251
14255
|
checked: m === S.id,
|
|
14252
|
-
onChange: (b) =>
|
|
14256
|
+
onChange: (b) => h(b.target.value),
|
|
14253
14257
|
className: "sass-pg-cmt-rp-radioInput"
|
|
14254
14258
|
}
|
|
14255
14259
|
),
|
|
@@ -14396,20 +14400,20 @@ async function Kl({
|
|
|
14396
14400
|
throw new Error("Invalid input types for publication or path");
|
|
14397
14401
|
if (!c)
|
|
14398
14402
|
throw new Error("Missing CMS API token");
|
|
14399
|
-
const { PUBLIC_ENV: l, PUBLIC_API_HOST: u = "dummy", PUBLIC_API_PATH: m, PUBLIC_API_PATH_VERSION:
|
|
14403
|
+
const { PUBLIC_ENV: l, PUBLIC_API_HOST: u = "dummy", PUBLIC_API_PATH: m, PUBLIC_API_PATH_VERSION: h } = d, A = parseInt(String(s), 10), f = parseInt(String(a), 10);
|
|
14400
14404
|
if (isNaN(A) || A <= 0)
|
|
14401
14405
|
throw new Error("Invalid size parameter");
|
|
14402
|
-
if (isNaN(
|
|
14406
|
+
if (isNaN(f) || f < 0)
|
|
14403
14407
|
throw new Error("Invalid sizereply parameter");
|
|
14404
14408
|
const g = l !== "prod" ? `${u}${m}` : "", w = new URLSearchParams({
|
|
14405
14409
|
publication: e,
|
|
14406
14410
|
path: t,
|
|
14407
14411
|
size: A.toString(),
|
|
14408
|
-
sizereply:
|
|
14412
|
+
sizereply: f.toString(),
|
|
14409
14413
|
state: o
|
|
14410
14414
|
});
|
|
14411
14415
|
r && w.append("id", r), i && w.append("lastid", i);
|
|
14412
|
-
const v = `${g}${
|
|
14416
|
+
const v = `${g}${h}/newcomments/get?${w.toString()}`;
|
|
14413
14417
|
try {
|
|
14414
14418
|
const { data: E } = await re.get(v, {
|
|
14415
14419
|
headers: {
|
|
@@ -14671,7 +14675,7 @@ function ed({
|
|
|
14671
14675
|
const td = {
|
|
14672
14676
|
submitCommentButton: "Enviar Comentario"
|
|
14673
14677
|
}, qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: a, handleGoogleLogin: r, showAlert: i, texts: o }) => {
|
|
14674
|
-
const c = { ...td, ...o?.comentarios }, [d, l] = le.useState(!1), [u, m] = le.useState(!1), [
|
|
14678
|
+
const c = { ...td, ...o?.comentarios }, [d, l] = le.useState(!1), [u, m] = le.useState(!1), [h, A] = le.useState(!1);
|
|
14675
14679
|
le.useEffect(() => {
|
|
14676
14680
|
let g = null;
|
|
14677
14681
|
return d && (g = setTimeout(() => {
|
|
@@ -14686,9 +14690,9 @@ const td = {
|
|
|
14686
14690
|
const w = g.closest(".comment-form"), v = w?.querySelector('input[name="username"]'), E = w?.querySelector('textarea[name="comment"]'), N = w?.querySelector("textarea.g-recaptcha-response") ?? document.querySelector("#g-recaptcha-response");
|
|
14687
14691
|
v?.value?.trim() && E?.value?.trim() && N?.value?.trim() && g.click();
|
|
14688
14692
|
});
|
|
14689
|
-
const
|
|
14690
|
-
return d ? /* @__PURE__ */ n("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ n("img", { className: "success-gif su-absolute", src:
|
|
14691
|
-
|
|
14693
|
+
const f = oe("/Success.gif");
|
|
14694
|
+
return d ? /* @__PURE__ */ n("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ n("img", { className: "success-gif su-absolute", src: f }) }) : /* @__PURE__ */ p(J, { children: [
|
|
14695
|
+
h && s.CONFIG_commentsV2 && i && /* @__PURE__ */ n(ed, { API_ENV: s, icon: a, handleGoogleLogin: r, texts: o, onClose: (g) => {
|
|
14692
14696
|
g && m(!0), A(!1);
|
|
14693
14697
|
} }),
|
|
14694
14698
|
/* @__PURE__ */ p(
|
|
@@ -14746,9 +14750,9 @@ const td = {
|
|
|
14746
14750
|
return A && (A.style.display = "block"), !1;
|
|
14747
14751
|
}
|
|
14748
14752
|
if (!r && !d) return;
|
|
14749
|
-
const
|
|
14753
|
+
const h = r ? l : "[[" + d + "]] " + l;
|
|
14750
14754
|
try {
|
|
14751
|
-
const A = Date.now(),
|
|
14755
|
+
const A = Date.now(), f = await fetch("/api/comments-add", {
|
|
14752
14756
|
method: "POST",
|
|
14753
14757
|
headers: { "Content-Type": "application/json" },
|
|
14754
14758
|
body: JSON.stringify({
|
|
@@ -14756,19 +14760,19 @@ const td = {
|
|
|
14756
14760
|
path: e,
|
|
14757
14761
|
id: i,
|
|
14758
14762
|
username: r ? r.username : !1,
|
|
14759
|
-
comment:
|
|
14763
|
+
comment: h,
|
|
14760
14764
|
recaptchaResponse: s
|
|
14761
14765
|
})
|
|
14762
14766
|
});
|
|
14763
14767
|
let g = null;
|
|
14764
14768
|
try {
|
|
14765
|
-
g = await
|
|
14769
|
+
g = await f.json();
|
|
14766
14770
|
} catch (S) {
|
|
14767
14771
|
console.error("Error parsing JSON response:", S);
|
|
14768
14772
|
}
|
|
14769
|
-
if (!
|
|
14773
|
+
if (!f.ok)
|
|
14770
14774
|
throw new Error(
|
|
14771
|
-
`Error al enviar comentario: ${g?.message} status: ${
|
|
14775
|
+
`Error al enviar comentario: ${g?.message} status: ${f.status}`
|
|
14772
14776
|
);
|
|
14773
14777
|
const w = Date.now(), v = Math.max(0, 2400 + Math.abs(w - A)), E = r || { username: d, firstname: d }, N = {
|
|
14774
14778
|
username: E.username,
|
|
@@ -14796,11 +14800,11 @@ const td = {
|
|
|
14796
14800
|
API_ENV: o,
|
|
14797
14801
|
texts: c
|
|
14798
14802
|
}) => {
|
|
14799
|
-
const [d, l] = $(!0), [u, m] = $(""),
|
|
14803
|
+
const [d, l] = $(!0), [u, m] = $(""), h = () => {
|
|
14800
14804
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Re}`), l(!0), i();
|
|
14801
14805
|
};
|
|
14802
14806
|
return /* @__PURE__ */ p("div", { className: "comment-form reply-form su-p-8 su-relative", children: [
|
|
14803
|
-
/* @__PURE__ */ n("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick:
|
|
14807
|
+
/* @__PURE__ */ n("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: h, children: /* @__PURE__ */ n($e, {}) }),
|
|
14804
14808
|
/* @__PURE__ */ n(
|
|
14805
14809
|
Bs,
|
|
14806
14810
|
{
|
|
@@ -14823,7 +14827,7 @@ const td = {
|
|
|
14823
14827
|
{
|
|
14824
14828
|
onClick: async (A) => {
|
|
14825
14829
|
if (d) return;
|
|
14826
|
-
const
|
|
14830
|
+
const f = await Ms({
|
|
14827
14831
|
path: a,
|
|
14828
14832
|
ref: t,
|
|
14829
14833
|
captchaToken: u,
|
|
@@ -14833,9 +14837,9 @@ const td = {
|
|
|
14833
14837
|
addComment: r,
|
|
14834
14838
|
API_ENV: o
|
|
14835
14839
|
});
|
|
14836
|
-
return
|
|
14837
|
-
|
|
14838
|
-
},
|
|
14840
|
+
return f && typeof f == "number" ? (setTimeout(() => {
|
|
14841
|
+
h();
|
|
14842
|
+
}, f), !0) : !1;
|
|
14839
14843
|
},
|
|
14840
14844
|
isDisabled: d,
|
|
14841
14845
|
API_ENV: o,
|
|
@@ -14867,7 +14871,7 @@ const td = {
|
|
|
14867
14871
|
}, rd = {
|
|
14868
14872
|
moreRepliesButton: "Más Respuestas"
|
|
14869
14873
|
}, id = ({ comment: e, replyingTo: t, path: s, user: a, handleReplyingTo: r, onFlag: i, API_ENV: o, texts: c }) => {
|
|
14870
|
-
const d = { ...rd, ...c?.comentarios }, l = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, m] = $(l), [
|
|
14874
|
+
const d = { ...rd, ...c?.comentarios }, l = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, m] = $(l), [h, A] = le.useState(!1), { PUBLIC_PUBLICATION_ID: f, PUBLIC_X_SECURITY_TOKEN: g } = o, w = e.text, v = le.useRef(null);
|
|
14871
14875
|
let E = `${Ie.firstname} ${Ie.lastname ?? ""}`, N = Ie.username;
|
|
14872
14876
|
e.user && (E = `${e.user.firstname} ${e.user.lastname ?? ""}`, N = e.user.username);
|
|
14873
14877
|
const S = (b) => {
|
|
@@ -14917,7 +14921,7 @@ const td = {
|
|
|
14917
14921
|
},
|
|
14918
14922
|
b.id
|
|
14919
14923
|
)),
|
|
14920
|
-
|
|
14924
|
+
h ? /* @__PURE__ */ n("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ n(Ls, {}) }) : u.morereply && /* @__PURE__ */ n(
|
|
14921
14925
|
"button",
|
|
14922
14926
|
{
|
|
14923
14927
|
className: "comment-replies-button reply-button su-flex-center su-rounded-full su-border-none su-relative",
|
|
@@ -14926,7 +14930,7 @@ const td = {
|
|
|
14926
14930
|
A(!0);
|
|
14927
14931
|
try {
|
|
14928
14932
|
const R = await Ps({
|
|
14929
|
-
publication:
|
|
14933
|
+
publication: f ?? "",
|
|
14930
14934
|
path: s ?? "",
|
|
14931
14935
|
size: 2,
|
|
14932
14936
|
sizereply: 2,
|
|
@@ -15067,7 +15071,7 @@ const td = {
|
|
|
15067
15071
|
console.log("invalidForm");
|
|
15068
15072
|
return;
|
|
15069
15073
|
}
|
|
15070
|
-
const
|
|
15074
|
+
const f = e.current.value, g = await Ms({
|
|
15071
15075
|
path: s,
|
|
15072
15076
|
ref: t,
|
|
15073
15077
|
captchaToken: u,
|
|
@@ -15075,7 +15079,7 @@ const td = {
|
|
|
15075
15079
|
user: void 0,
|
|
15076
15080
|
addComment: i,
|
|
15077
15081
|
API_ENV: o,
|
|
15078
|
-
anonimusUser:
|
|
15082
|
+
anonimusUser: f
|
|
15079
15083
|
});
|
|
15080
15084
|
return m(""), g && typeof g == "number" ? (t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Re}`), l(!0), setTimeout(() => {
|
|
15081
15085
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Re}`), l(!0);
|
|
@@ -15112,9 +15116,9 @@ const td = {
|
|
|
15112
15116
|
API_ENV: o,
|
|
15113
15117
|
texts: c
|
|
15114
15118
|
}) => {
|
|
15115
|
-
const d = { ...ud, ...c?.comentarios }, { PUBLIC_PUBLICATION_ID: l, PUBLIC_X_SECURITY_TOKEN: u } = o, m = l ?? "",
|
|
15119
|
+
const d = { ...ud, ...c?.comentarios }, { PUBLIC_PUBLICATION_ID: l, PUBLIC_X_SECURITY_TOKEN: u } = o, m = l ?? "", h = t.replaceAll("/", "|"), [A, f] = $(
|
|
15116
15120
|
void 0
|
|
15117
|
-
), [g, w] = $(""), { comments: v, setComments: E } = Jl(
|
|
15121
|
+
), [g, w] = $(""), { comments: v, setComments: E } = Jl(h, o), [N, S] = le.useState(!1), b = le.useRef(null), I = le.useRef(null), R = (x) => {
|
|
15118
15122
|
w(g === x ? "" : x);
|
|
15119
15123
|
}, Q = (x) => {
|
|
15120
15124
|
E(
|
|
@@ -15124,7 +15128,7 @@ const td = {
|
|
|
15124
15128
|
} : void 0
|
|
15125
15129
|
);
|
|
15126
15130
|
}, W = (x) => {
|
|
15127
|
-
|
|
15131
|
+
f(x);
|
|
15128
15132
|
}, j = async () => {
|
|
15129
15133
|
if (!v || !v.morecomment || v.comments.length === 0) return;
|
|
15130
15134
|
const x = v.comments[v.comments.length - 1];
|
|
@@ -15132,9 +15136,9 @@ const td = {
|
|
|
15132
15136
|
S(!0);
|
|
15133
15137
|
const U = x.id;
|
|
15134
15138
|
try {
|
|
15135
|
-
const
|
|
15139
|
+
const D = await Ps({
|
|
15136
15140
|
publication: m,
|
|
15137
|
-
path:
|
|
15141
|
+
path: h ?? "",
|
|
15138
15142
|
size: 5,
|
|
15139
15143
|
sizereply: 2,
|
|
15140
15144
|
id: void 0,
|
|
@@ -15144,13 +15148,13 @@ const td = {
|
|
|
15144
15148
|
API_ENV: o
|
|
15145
15149
|
});
|
|
15146
15150
|
E({
|
|
15147
|
-
morecomment:
|
|
15148
|
-
comments: [...v.comments, ...
|
|
15151
|
+
morecomment: D.morecomment ?? !1,
|
|
15152
|
+
comments: [...v.comments, ...D.comments]
|
|
15149
15153
|
}), S(!1);
|
|
15150
|
-
} catch (
|
|
15151
|
-
throw S(!1), new Error(`Error al obtener comentarios: ${
|
|
15154
|
+
} catch (D) {
|
|
15155
|
+
throw S(!1), new Error(`Error al obtener comentarios: ${D}`);
|
|
15152
15156
|
}
|
|
15153
|
-
}, L = v?.comments && v.comments.length > 0, H = L ? d.commentHeaderMessageWithComments : d.commentHeaderMessageEmpty, se = /* @__PURE__ */ n("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ n(Ls, {}) }),
|
|
15157
|
+
}, L = v?.comments && v.comments.length > 0, H = L ? d.commentHeaderMessageWithComments : d.commentHeaderMessageEmpty, se = /* @__PURE__ */ n("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ n(Ls, {}) }), M = () => {
|
|
15154
15158
|
!window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = "/auth/login");
|
|
15155
15159
|
};
|
|
15156
15160
|
return /* @__PURE__ */ p(J, { children: [
|
|
@@ -15171,7 +15175,7 @@ const td = {
|
|
|
15171
15175
|
commentRef: b,
|
|
15172
15176
|
user: s,
|
|
15173
15177
|
addComment: Q,
|
|
15174
|
-
path:
|
|
15178
|
+
path: h,
|
|
15175
15179
|
API_ENV: o,
|
|
15176
15180
|
texts: c
|
|
15177
15181
|
}
|
|
@@ -15179,7 +15183,7 @@ const td = {
|
|
|
15179
15183
|
] }) : o.CONFIG_commentsV2 ? /* @__PURE__ */ p(J, { children: [
|
|
15180
15184
|
/* @__PURE__ */ p("p", { className: "anonimus-message", children: [
|
|
15181
15185
|
d.anonimusPromptPrefix,
|
|
15182
|
-
/* @__PURE__ */ n("button", { className: "su-border-none su-p-0", onClick:
|
|
15186
|
+
/* @__PURE__ */ n("button", { className: "su-border-none su-p-0", onClick: M, children: d.anonimusPromptLinkText }),
|
|
15183
15187
|
d.anonimusPromptSuffix
|
|
15184
15188
|
] }),
|
|
15185
15189
|
/* @__PURE__ */ n(
|
|
@@ -15190,7 +15194,7 @@ const td = {
|
|
|
15190
15194
|
icon: r,
|
|
15191
15195
|
handleGoogleLogin: i,
|
|
15192
15196
|
addComment: Q,
|
|
15193
|
-
path:
|
|
15197
|
+
path: h,
|
|
15194
15198
|
API_ENV: o,
|
|
15195
15199
|
texts: c
|
|
15196
15200
|
}
|
|
@@ -15210,7 +15214,7 @@ const td = {
|
|
|
15210
15214
|
handleReplyingTo: R,
|
|
15211
15215
|
onFlag: W,
|
|
15212
15216
|
user: s ?? Ie,
|
|
15213
|
-
path:
|
|
15217
|
+
path: h,
|
|
15214
15218
|
API_ENV: o,
|
|
15215
15219
|
texts: c
|
|
15216
15220
|
},
|
|
@@ -15236,7 +15240,7 @@ const td = {
|
|
|
15236
15240
|
publication: m,
|
|
15237
15241
|
commentId: A,
|
|
15238
15242
|
isOpen: A !== void 0,
|
|
15239
|
-
onClose: () =>
|
|
15243
|
+
onClose: () => f(void 0),
|
|
15240
15244
|
CAPTCHA_KEY_V2: o.CAPTCHA_KEY_V2 ?? "",
|
|
15241
15245
|
texts: c
|
|
15242
15246
|
}
|
|
@@ -15303,8 +15307,8 @@ function fd({
|
|
|
15303
15307
|
try {
|
|
15304
15308
|
const g = await (await fetch("/api/auth/user", { credentials: "include" })).json();
|
|
15305
15309
|
o(g.isAuthenticated ?? !1), d(g.user ?? null), document.cookie = "redirect_after_login_1=; Max-Age=0; path=/";
|
|
15306
|
-
} catch (
|
|
15307
|
-
console.error("Error checking auth:",
|
|
15310
|
+
} catch (f) {
|
|
15311
|
+
console.error("Error checking auth:", f), o(!1), d(null);
|
|
15308
15312
|
}
|
|
15309
15313
|
}
|
|
15310
15314
|
}, [e, l]);
|
|
@@ -15312,14 +15316,14 @@ function fd({
|
|
|
15312
15316
|
u();
|
|
15313
15317
|
}, [u, e]), Te(() => {
|
|
15314
15318
|
if (!c || !e || typeof window > "u") return;
|
|
15315
|
-
const
|
|
15316
|
-
if (typeof
|
|
15319
|
+
const f = window;
|
|
15320
|
+
if (typeof f != "function") {
|
|
15317
15321
|
console.warn("gtag no está disponible todavía");
|
|
15318
15322
|
return;
|
|
15319
15323
|
}
|
|
15320
|
-
|
|
15324
|
+
f.gtag("set", { user_id: c.username }), console.log("username setted successfully");
|
|
15321
15325
|
}, [c, e]);
|
|
15322
|
-
const m = "/api/auth/login",
|
|
15326
|
+
const m = "/api/auth/login", h = /* @__PURE__ */ n(
|
|
15323
15327
|
"div",
|
|
15324
15328
|
{
|
|
15325
15329
|
className: "su-flex-center su-relative",
|
|
@@ -15328,7 +15332,7 @@ function fd({
|
|
|
15328
15332
|
}
|
|
15329
15333
|
}
|
|
15330
15334
|
);
|
|
15331
|
-
if (i === null) return
|
|
15335
|
+
if (i === null) return h;
|
|
15332
15336
|
const A = t.replaceAll("|", "/");
|
|
15333
15337
|
return e ? /* @__PURE__ */ n(
|
|
15334
15338
|
hd,
|
|
@@ -15343,7 +15347,7 @@ function fd({
|
|
|
15343
15347
|
API_ENV: a,
|
|
15344
15348
|
texts: r
|
|
15345
15349
|
}
|
|
15346
|
-
) :
|
|
15350
|
+
) : h;
|
|
15347
15351
|
}
|
|
15348
15352
|
const _u = ({
|
|
15349
15353
|
internalPath: e,
|
|
@@ -15415,7 +15419,7 @@ async function ju({
|
|
|
15415
15419
|
message: "Faltan campos obligatorios. Por favor, completa todos los campos.",
|
|
15416
15420
|
status: 400
|
|
15417
15421
|
};
|
|
15418
|
-
if ([e, t, a].some((
|
|
15422
|
+
if ([e, t, a].some((f) => typeof f != "string"))
|
|
15419
15423
|
return {
|
|
15420
15424
|
type: "error",
|
|
15421
15425
|
message: "Datos inválidos. Intenta de nuevo.",
|
|
@@ -15434,15 +15438,15 @@ async function ju({
|
|
|
15434
15438
|
message: "Captcha inválido. Intenta nuevamente.",
|
|
15435
15439
|
status: 403
|
|
15436
15440
|
};
|
|
15437
|
-
const m = `${o}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/add`,
|
|
15441
|
+
const m = `${o}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/add`, h = {
|
|
15438
15442
|
publication: e,
|
|
15439
15443
|
path: t.replace(/\|/gi, "/"),
|
|
15440
15444
|
text: a.trim()
|
|
15441
15445
|
};
|
|
15442
|
-
s && (
|
|
15443
|
-
const A = new URLSearchParams(
|
|
15446
|
+
s && (h.username = s), r && (h.id = r);
|
|
15447
|
+
const A = new URLSearchParams(h);
|
|
15444
15448
|
try {
|
|
15445
|
-
const { data:
|
|
15449
|
+
const { data: f } = await re.get(`${m}?${A.toString()}`, {
|
|
15446
15450
|
headers: {
|
|
15447
15451
|
"Content-Type": "application/json",
|
|
15448
15452
|
"x-security-token": d,
|
|
@@ -15450,18 +15454,18 @@ async function ju({
|
|
|
15450
15454
|
"User-Agent": "amplifyapp-comments-saas"
|
|
15451
15455
|
}
|
|
15452
15456
|
});
|
|
15453
|
-
return !
|
|
15457
|
+
return !f || f.error ? (console.error("CMS error response:", f), {
|
|
15454
15458
|
type: "error",
|
|
15455
15459
|
message: "No se pudo guardar el comentario. Intenta nuevamente en unos minutos.",
|
|
15456
15460
|
status: 502
|
|
15457
|
-
}) : (console.log("Comentario enviado con éxito",
|
|
15461
|
+
}) : (console.log("Comentario enviado con éxito", f), {
|
|
15458
15462
|
type: "success",
|
|
15459
15463
|
message: "Comentario enviado con éxito.",
|
|
15460
15464
|
status: 200
|
|
15461
15465
|
});
|
|
15462
|
-
} catch (
|
|
15463
|
-
if (console.error("Error enviando comentario:",
|
|
15464
|
-
const g =
|
|
15466
|
+
} catch (f) {
|
|
15467
|
+
if (console.error("Error enviando comentario:", f), re.isAxiosError(f)) {
|
|
15468
|
+
const g = f.response?.status ?? 500, w = f.response?.data;
|
|
15465
15469
|
return g === 400 ? {
|
|
15466
15470
|
type: "error",
|
|
15467
15471
|
message: w?.message || "Solicitud inválida. Verifica que los campos sean correctos.",
|
|
@@ -15791,15 +15795,15 @@ const Bn = {
|
|
|
15791
15795
|
}) => {
|
|
15792
15796
|
const c = [], l = t, u = Object.keys(e).length / l;
|
|
15793
15797
|
for (let m = 1; m <= u; m++)
|
|
15794
|
-
for (let
|
|
15795
|
-
const A = "Home_" + m + "_" +
|
|
15798
|
+
for (let h = 1; h <= l; h++) {
|
|
15799
|
+
const A = "Home_" + m + "_" + h;
|
|
15796
15800
|
!e[A] || !e[A].blockSass || !e[A].blockSass[0] || !e[A].blockSass[0].value || !e[A].blockSass[0].block || e[A].blockSass[0].block === "No Mostrar" || (e[A].blockSass[0]?.block === "Modulo iframe" ? c.push(
|
|
15797
15801
|
/* @__PURE__ */ p(
|
|
15798
15802
|
hn,
|
|
15799
15803
|
{
|
|
15800
15804
|
id: e[A].blockSass[0].key,
|
|
15801
15805
|
show: !!e[A].blockSass[0].value,
|
|
15802
|
-
order: (m - 1) * l + (
|
|
15806
|
+
order: (m - 1) * l + (h - 1),
|
|
15803
15807
|
children: [
|
|
15804
15808
|
/* @__PURE__ */ n(
|
|
15805
15809
|
Pn,
|
|
@@ -15818,12 +15822,12 @@ const Bn = {
|
|
|
15818
15822
|
Ve,
|
|
15819
15823
|
{
|
|
15820
15824
|
banners: i,
|
|
15821
|
-
index: "dynamic_" + m + "_" +
|
|
15825
|
+
index: "dynamic_" + m + "_" + h
|
|
15822
15826
|
}
|
|
15823
15827
|
) })
|
|
15824
15828
|
]
|
|
15825
15829
|
},
|
|
15826
|
-
m + "_" +
|
|
15830
|
+
m + "_" + h
|
|
15827
15831
|
)
|
|
15828
15832
|
) : c.push(
|
|
15829
15833
|
/* @__PURE__ */ p(
|
|
@@ -15831,7 +15835,7 @@ const Bn = {
|
|
|
15831
15835
|
{
|
|
15832
15836
|
id: e[A].blockSass[0].key,
|
|
15833
15837
|
show: !!e[A].content?.data,
|
|
15834
|
-
order: (m - 1) * l + (
|
|
15838
|
+
order: (m - 1) * l + (h - 1),
|
|
15835
15839
|
children: [
|
|
15836
15840
|
/* @__PURE__ */ n(
|
|
15837
15841
|
Pn,
|
|
@@ -15854,12 +15858,12 @@ const Bn = {
|
|
|
15854
15858
|
Ve,
|
|
15855
15859
|
{
|
|
15856
15860
|
banners: i,
|
|
15857
|
-
index: "dynamic_" + m + "_" +
|
|
15861
|
+
index: "dynamic_" + m + "_" + h
|
|
15858
15862
|
}
|
|
15859
15863
|
) })
|
|
15860
15864
|
]
|
|
15861
15865
|
},
|
|
15862
|
-
m + "_" +
|
|
15866
|
+
m + "_" + h
|
|
15863
15867
|
)
|
|
15864
15868
|
));
|
|
15865
15869
|
}
|
|
@@ -15870,7 +15874,7 @@ const Bn = {
|
|
|
15870
15874
|
config: s,
|
|
15871
15875
|
banners: a
|
|
15872
15876
|
}) => {
|
|
15873
|
-
const { PUBLIC_ENV: r } =
|
|
15877
|
+
const { PUBLIC_ENV: r } = q();
|
|
15874
15878
|
if (r !== "local") return null;
|
|
15875
15879
|
const i = e?.news?.data || [], o = (c, d) => ({
|
|
15876
15880
|
...e?.news,
|
|
@@ -16034,7 +16038,7 @@ export {
|
|
|
16034
16038
|
ru as generalGetData,
|
|
16035
16039
|
qa as getCaptchaToken,
|
|
16036
16040
|
Kl as getComments,
|
|
16037
|
-
|
|
16041
|
+
q as getConfig,
|
|
16038
16042
|
au as getDynamicSlots,
|
|
16039
16043
|
st as getEnvironmentUrl,
|
|
16040
16044
|
Td as getEnvironmentUrlFront,
|