sass-template-common 0.9.184 → 0.9.185
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.
|
@@ -184,7 +184,7 @@ function Xa() {
|
|
|
184
184
|
(function(s, n) {
|
|
185
185
|
e.exports = n();
|
|
186
186
|
})(rr, (function() {
|
|
187
|
-
var s = 1e3, n = 6e4, r = 36e5, o = "millisecond", i = "second", l = "minute", d = "hour", c = "day", u = "week", h = "month", m = "quarter", f = "year", w = "date", g = "Invalid Date", A = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, b = /\[([^\]]+)]|YYYY|YY|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,
|
|
187
|
+
var s = 1e3, n = 6e4, r = 36e5, o = "millisecond", i = "second", l = "minute", d = "hour", c = "day", u = "week", h = "month", m = "quarter", f = "year", w = "date", g = "Invalid Date", A = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, b = /\[([^\]]+)]|YYYY|YY|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, y = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(O) {
|
|
188
188
|
var U = ["th", "st", "nd", "rd"], L = O % 100;
|
|
189
189
|
return "[" + O + (U[(L - 20) % 10] || U[L] || U[0]) + "]";
|
|
190
190
|
} }, E = function(O, U, L) {
|
|
@@ -195,8 +195,8 @@ function Xa() {
|
|
|
195
195
|
return (U <= 0 ? "+" : "-") + E(G, 2, "0") + ":" + E(j, 2, "0");
|
|
196
196
|
}, m: function O(U, L) {
|
|
197
197
|
if (U.date() < L.date()) return -O(L, U);
|
|
198
|
-
var G = 12 * (L.year() - U.year()) + (L.month() - U.month()), j = U.clone().add(G, h), X = L - j < 0,
|
|
199
|
-
return +(-(G + (L - j) / (X ? j -
|
|
198
|
+
var G = 12 * (L.year() - U.year()) + (L.month() - U.month()), j = U.clone().add(G, h), X = L - j < 0, C = U.clone().add(G + (X ? -1 : 1), h);
|
|
199
|
+
return +(-(G + (L - j) / (X ? j - C : C - j)) || 0);
|
|
200
200
|
}, a: function(O) {
|
|
201
201
|
return O < 0 ? Math.ceil(O) || 0 : Math.floor(O);
|
|
202
202
|
}, p: function(O) {
|
|
@@ -204,33 +204,33 @@ function Xa() {
|
|
|
204
204
|
}, u: function(O) {
|
|
205
205
|
return O === void 0;
|
|
206
206
|
} }, v = "en", T = {};
|
|
207
|
-
T[v] =
|
|
208
|
-
var x = "$isDayjsObject",
|
|
207
|
+
T[v] = y;
|
|
208
|
+
var x = "$isDayjsObject", k = function(O) {
|
|
209
209
|
return O instanceof V || !(!O || !O[x]);
|
|
210
|
-
},
|
|
210
|
+
}, $ = function O(U, L, G) {
|
|
211
211
|
var j;
|
|
212
212
|
if (!U) return v;
|
|
213
213
|
if (typeof U == "string") {
|
|
214
214
|
var X = U.toLowerCase();
|
|
215
215
|
T[X] && (j = X), L && (T[X] = L, j = X);
|
|
216
|
-
var
|
|
217
|
-
if (!j &&
|
|
216
|
+
var C = U.split("-");
|
|
217
|
+
if (!j && C.length > 1) return O(C[0]);
|
|
218
218
|
} else {
|
|
219
219
|
var I = U.name;
|
|
220
220
|
T[I] = U, j = I;
|
|
221
221
|
}
|
|
222
222
|
return !G && j && (v = j), j || !G && v;
|
|
223
223
|
}, q = function(O, U) {
|
|
224
|
-
if (
|
|
224
|
+
if (k(O)) return O.clone();
|
|
225
225
|
var L = typeof U == "object" ? U : {};
|
|
226
226
|
return L.date = O, L.args = arguments, new V(L);
|
|
227
227
|
}, R = S;
|
|
228
|
-
R.l =
|
|
228
|
+
R.l = $, R.i = k, R.w = function(O, U) {
|
|
229
229
|
return q(O, { locale: U.$L, utc: U.$u, x: U.$x, $offset: U.$offset });
|
|
230
230
|
};
|
|
231
231
|
var V = (function() {
|
|
232
232
|
function O(L) {
|
|
233
|
-
this.$L =
|
|
233
|
+
this.$L = $(L.locale, null, !0), this.parse(L), this.$x = this.$x || L.x || {}, this[x] = !0;
|
|
234
234
|
}
|
|
235
235
|
var U = O.prototype;
|
|
236
236
|
return U.parse = function(L) {
|
|
@@ -240,10 +240,10 @@ function Xa() {
|
|
|
240
240
|
if (R.u(j)) return /* @__PURE__ */ new Date();
|
|
241
241
|
if (j instanceof Date) return new Date(j);
|
|
242
242
|
if (typeof j == "string" && !/Z$/i.test(j)) {
|
|
243
|
-
var
|
|
244
|
-
if (
|
|
245
|
-
var I =
|
|
246
|
-
return X ? new Date(Date.UTC(
|
|
243
|
+
var C = j.match(A);
|
|
244
|
+
if (C) {
|
|
245
|
+
var I = C[2] - 1 || 0, D = (C[7] || "0").substring(0, 3);
|
|
246
|
+
return X ? new Date(Date.UTC(C[1], I, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, D)) : new Date(C[1], I, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, D);
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
return new Date(j);
|
|
@@ -269,20 +269,20 @@ function Xa() {
|
|
|
269
269
|
}, U.valueOf = function() {
|
|
270
270
|
return this.$d.getTime();
|
|
271
271
|
}, U.startOf = function(L, G) {
|
|
272
|
-
var j = this, X = !!R.u(G) || G,
|
|
272
|
+
var j = this, X = !!R.u(G) || G, C = R.p(L), I = function(se, W) {
|
|
273
273
|
var Q = R.w(j.$u ? Date.UTC(j.$y, W, se) : new Date(j.$y, W, se), j);
|
|
274
274
|
return X ? Q : Q.endOf(c);
|
|
275
275
|
}, D = function(se, W) {
|
|
276
276
|
return R.w(j.toDate()[se].apply(j.toDate("s"), (X ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(W)), j);
|
|
277
|
-
}, F = this.$W,
|
|
278
|
-
switch (
|
|
277
|
+
}, F = this.$W, P = this.$M, z = this.$D, J = "set" + (this.$u ? "UTC" : "");
|
|
278
|
+
switch (C) {
|
|
279
279
|
case f:
|
|
280
280
|
return X ? I(1, 0) : I(31, 11);
|
|
281
281
|
case h:
|
|
282
|
-
return X ? I(1,
|
|
282
|
+
return X ? I(1, P) : I(0, P + 1);
|
|
283
283
|
case u:
|
|
284
284
|
var Z = this.$locale().weekStart || 0, ee = (F < Z ? F + 7 : F) - Z;
|
|
285
|
-
return I(X ? z - ee : z + (6 - ee),
|
|
285
|
+
return I(X ? z - ee : z + (6 - ee), P);
|
|
286
286
|
case c:
|
|
287
287
|
case w:
|
|
288
288
|
return D(J + "Hours", 0);
|
|
@@ -298,7 +298,7 @@ function Xa() {
|
|
|
298
298
|
}, U.endOf = function(L) {
|
|
299
299
|
return this.startOf(L, !1);
|
|
300
300
|
}, U.$set = function(L, G) {
|
|
301
|
-
var j, X = R.p(L),
|
|
301
|
+
var j, X = R.p(L), C = "set" + (this.$u ? "UTC" : ""), I = (j = {}, j[c] = C + "Date", j[w] = C + "Date", j[h] = C + "Month", j[f] = C + "FullYear", j[d] = C + "Hours", j[l] = C + "Minutes", j[i] = C + "Seconds", j[o] = C + "Milliseconds", j)[X], D = X === c ? this.$D + (G - this.$W) : G;
|
|
302
302
|
if (X === h || X === f) {
|
|
303
303
|
var F = this.clone().set(w, 1);
|
|
304
304
|
F.$d[I](D), F.init(), this.$d = F.set(w, Math.min(this.$D, F.daysInMonth())).$d;
|
|
@@ -311,22 +311,22 @@ function Xa() {
|
|
|
311
311
|
}, U.add = function(L, G) {
|
|
312
312
|
var j, X = this;
|
|
313
313
|
L = Number(L);
|
|
314
|
-
var
|
|
314
|
+
var C = R.p(G), I = function(P) {
|
|
315
315
|
var z = q(X);
|
|
316
|
-
return R.w(z.date(z.date() + Math.round(
|
|
316
|
+
return R.w(z.date(z.date() + Math.round(P * L)), X);
|
|
317
317
|
};
|
|
318
|
-
if (
|
|
319
|
-
if (
|
|
320
|
-
if (
|
|
321
|
-
if (
|
|
322
|
-
var D = (j = {}, j[l] = n, j[d] = r, j[i] = s, j)[
|
|
318
|
+
if (C === h) return this.set(h, this.$M + L);
|
|
319
|
+
if (C === f) return this.set(f, this.$y + L);
|
|
320
|
+
if (C === c) return I(1);
|
|
321
|
+
if (C === u) return I(7);
|
|
322
|
+
var D = (j = {}, j[l] = n, j[d] = r, j[i] = s, j)[C] || 1, F = this.$d.getTime() + L * D;
|
|
323
323
|
return R.w(F, this);
|
|
324
324
|
}, U.subtract = function(L, G) {
|
|
325
325
|
return this.add(-1 * L, G);
|
|
326
326
|
}, U.format = function(L) {
|
|
327
327
|
var G = this, j = this.$locale();
|
|
328
328
|
if (!this.isValid()) return j.invalidDate || g;
|
|
329
|
-
var X = L || "YYYY-MM-DDTHH:mm:ssZ",
|
|
329
|
+
var X = L || "YYYY-MM-DDTHH:mm:ssZ", C = R.z(this), I = this.$H, D = this.$m, F = this.$M, P = j.weekdays, z = j.months, J = j.meridiem, Z = function(W, Q, B, le) {
|
|
330
330
|
return W && (W[Q] || W(G, X)) || B[Q].slice(0, le);
|
|
331
331
|
}, ee = function(W) {
|
|
332
332
|
return R.s(I % 12 || 12, W, "0");
|
|
@@ -356,11 +356,11 @@ function Xa() {
|
|
|
356
356
|
case "d":
|
|
357
357
|
return String(G.$W);
|
|
358
358
|
case "dd":
|
|
359
|
-
return Z(j.weekdaysMin, G.$W,
|
|
359
|
+
return Z(j.weekdaysMin, G.$W, P, 2);
|
|
360
360
|
case "ddd":
|
|
361
|
-
return Z(j.weekdaysShort, G.$W,
|
|
361
|
+
return Z(j.weekdaysShort, G.$W, P, 3);
|
|
362
362
|
case "dddd":
|
|
363
|
-
return
|
|
363
|
+
return P[G.$W];
|
|
364
364
|
case "H":
|
|
365
365
|
return String(I);
|
|
366
366
|
case "HH":
|
|
@@ -384,16 +384,16 @@ function Xa() {
|
|
|
384
384
|
case "SSS":
|
|
385
385
|
return R.s(G.$ms, 3, "0");
|
|
386
386
|
case "Z":
|
|
387
|
-
return
|
|
387
|
+
return C;
|
|
388
388
|
}
|
|
389
389
|
return null;
|
|
390
|
-
})(W) ||
|
|
390
|
+
})(W) || C.replace(":", "");
|
|
391
391
|
}));
|
|
392
392
|
}, U.utcOffset = function() {
|
|
393
393
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
394
394
|
}, U.diff = function(L, G, j) {
|
|
395
|
-
var X,
|
|
396
|
-
return R.m(
|
|
395
|
+
var X, C = this, I = R.p(G), D = q(L), F = (D.utcOffset() - this.utcOffset()) * n, P = this - D, z = function() {
|
|
396
|
+
return R.m(C, D);
|
|
397
397
|
};
|
|
398
398
|
switch (I) {
|
|
399
399
|
case f:
|
|
@@ -406,22 +406,22 @@ function Xa() {
|
|
|
406
406
|
X = z() / 3;
|
|
407
407
|
break;
|
|
408
408
|
case u:
|
|
409
|
-
X = (
|
|
409
|
+
X = (P - F) / 6048e5;
|
|
410
410
|
break;
|
|
411
411
|
case c:
|
|
412
|
-
X = (
|
|
412
|
+
X = (P - F) / 864e5;
|
|
413
413
|
break;
|
|
414
414
|
case d:
|
|
415
|
-
X =
|
|
415
|
+
X = P / r;
|
|
416
416
|
break;
|
|
417
417
|
case l:
|
|
418
|
-
X =
|
|
418
|
+
X = P / n;
|
|
419
419
|
break;
|
|
420
420
|
case i:
|
|
421
|
-
X =
|
|
421
|
+
X = P / s;
|
|
422
422
|
break;
|
|
423
423
|
default:
|
|
424
|
-
X =
|
|
424
|
+
X = P;
|
|
425
425
|
}
|
|
426
426
|
return j ? X : R.a(X);
|
|
427
427
|
}, U.daysInMonth = function() {
|
|
@@ -430,7 +430,7 @@ function Xa() {
|
|
|
430
430
|
return T[this.$L];
|
|
431
431
|
}, U.locale = function(L, G) {
|
|
432
432
|
if (!L) return this.$L;
|
|
433
|
-
var j = this.clone(), X =
|
|
433
|
+
var j = this.clone(), X = $(L, G, !0);
|
|
434
434
|
return X && (j.$L = X), j;
|
|
435
435
|
}, U.clone = function() {
|
|
436
436
|
return R.w(this.$d, this);
|
|
@@ -443,14 +443,14 @@ function Xa() {
|
|
|
443
443
|
}, U.toString = function() {
|
|
444
444
|
return this.$d.toUTCString();
|
|
445
445
|
}, O;
|
|
446
|
-
})(),
|
|
447
|
-
return q.prototype =
|
|
448
|
-
|
|
446
|
+
})(), K = V.prototype;
|
|
447
|
+
return q.prototype = K, [["$ms", o], ["$s", i], ["$m", l], ["$H", d], ["$W", c], ["$M", h], ["$y", f], ["$D", w]].forEach((function(O) {
|
|
448
|
+
K[O[1]] = function(U) {
|
|
449
449
|
return this.$g(U, O[0], O[1]);
|
|
450
450
|
};
|
|
451
451
|
})), q.extend = function(O, U) {
|
|
452
452
|
return O.$i || (O(U, V, q), O.$i = !0), q;
|
|
453
|
-
}, q.locale =
|
|
453
|
+
}, q.locale = $, q.isDayjs = k, q.unix = function(O) {
|
|
454
454
|
return q(1e3 * O);
|
|
455
455
|
}, q.en = T[v], q.Ls = T, q.p = {}, q;
|
|
456
456
|
}));
|
|
@@ -471,20 +471,20 @@ function lr() {
|
|
|
471
471
|
return o.fromToBase(c, u, h, m);
|
|
472
472
|
}
|
|
473
473
|
r.en.relativeTime = i, o.fromToBase = function(c, u, h, m, f) {
|
|
474
|
-
for (var w, g, A, b = h.$locale().relativeTime || i,
|
|
475
|
-
var v =
|
|
474
|
+
for (var w, g, A, b = h.$locale().relativeTime || i, y = 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" }], E = y.length, S = 0; S < E; S += 1) {
|
|
475
|
+
var v = y[S];
|
|
476
476
|
v.d && (w = m ? r(c).diff(h, v.d, !0) : h.diff(c, v.d, !0));
|
|
477
477
|
var T = (s.rounding || Math.round)(Math.abs(w));
|
|
478
478
|
if (A = w > 0, T <= v.r || !v.r) {
|
|
479
|
-
T <= 1 && S > 0 && (v =
|
|
479
|
+
T <= 1 && S > 0 && (v = y[S - 1]);
|
|
480
480
|
var x = b[v.l];
|
|
481
481
|
f && (T = f("" + T)), g = typeof x == "string" ? x.replace("%d", T) : x(T, u, v.l, A);
|
|
482
482
|
break;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
485
|
if (u) return g;
|
|
486
|
-
var
|
|
487
|
-
return typeof
|
|
486
|
+
var k = A ? b.future : b.past;
|
|
487
|
+
return typeof k == "function" ? k(g) : k.replace("%s", g);
|
|
488
488
|
}, o.to = function(c, u) {
|
|
489
489
|
return l(c, u, this, !0);
|
|
490
490
|
}, o.from = function(c, u) {
|
|
@@ -521,7 +521,7 @@ function mr() {
|
|
|
521
521
|
})(Lt)), Lt.exports;
|
|
522
522
|
}
|
|
523
523
|
mr();
|
|
524
|
-
var
|
|
524
|
+
var Pt = { exports: {} }, hr = Pt.exports, la;
|
|
525
525
|
function fr() {
|
|
526
526
|
return la || (la = 1, (function(e, t) {
|
|
527
527
|
(function(s, n) {
|
|
@@ -558,15 +558,15 @@ function fr() {
|
|
|
558
558
|
v === void 0 && (v = "");
|
|
559
559
|
var T = v.match(n);
|
|
560
560
|
if (!T) return null;
|
|
561
|
-
var x = ("" + T[0]).match(r) || ["-", 0, 0],
|
|
562
|
-
return
|
|
561
|
+
var x = ("" + T[0]).match(r) || ["-", 0, 0], k = x[0], $ = 60 * +x[1] + +x[2];
|
|
562
|
+
return $ === 0 ? 0 : k === "+" ? $ : -$;
|
|
563
563
|
})(g), g === null)) return this;
|
|
564
|
-
var
|
|
565
|
-
if (
|
|
564
|
+
var y = Math.abs(g) <= 16 ? 60 * g : g;
|
|
565
|
+
if (y === 0) return this.utc(A);
|
|
566
566
|
var E = this.clone();
|
|
567
|
-
if (A) return E.$offset =
|
|
567
|
+
if (A) return E.$offset = y, E.$u = !1, E;
|
|
568
568
|
var S = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
569
|
-
return (E = this.local().add(
|
|
569
|
+
return (E = this.local().add(y + S, s)).$offset = y, E.$x.$localOffset = S, E;
|
|
570
570
|
};
|
|
571
571
|
var m = d.format;
|
|
572
572
|
d.format = function(g) {
|
|
@@ -589,16 +589,16 @@ function fr() {
|
|
|
589
589
|
var w = d.diff;
|
|
590
590
|
d.diff = function(g, A, b) {
|
|
591
591
|
if (g && this.$u === g.$u) return w.call(this, g, A, b);
|
|
592
|
-
var
|
|
593
|
-
return w.call(
|
|
592
|
+
var y = this.local(), E = l(g).local();
|
|
593
|
+
return w.call(y, E, A, b);
|
|
594
594
|
};
|
|
595
595
|
};
|
|
596
596
|
}));
|
|
597
|
-
})(
|
|
597
|
+
})(Pt)), Pt.exports;
|
|
598
598
|
}
|
|
599
599
|
var gr = fr();
|
|
600
600
|
const pr = /* @__PURE__ */ at(gr);
|
|
601
|
-
var
|
|
601
|
+
var kt = { exports: {} }, wr = kt.exports, ca;
|
|
602
602
|
function Ar() {
|
|
603
603
|
return ca || (ca = 1, (function(e, t) {
|
|
604
604
|
(function(s, n) {
|
|
@@ -608,23 +608,23 @@ function Ar() {
|
|
|
608
608
|
return function(r, o, i) {
|
|
609
609
|
var l, d = function(m, f, w) {
|
|
610
610
|
w === void 0 && (w = {});
|
|
611
|
-
var g = new Date(m), A = (function(b,
|
|
612
|
-
|
|
613
|
-
var E =
|
|
611
|
+
var g = new Date(m), A = (function(b, y) {
|
|
612
|
+
y === void 0 && (y = {});
|
|
613
|
+
var E = y.timeZoneName || "short", S = b + "|" + E, v = n[S];
|
|
614
614
|
return v || (v = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: b, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: E }), n[S] = v), v;
|
|
615
615
|
})(f, w);
|
|
616
616
|
return A.formatToParts(g);
|
|
617
617
|
}, c = function(m, f) {
|
|
618
618
|
for (var w = d(m, f), g = [], A = 0; A < w.length; A += 1) {
|
|
619
|
-
var b = w[A],
|
|
619
|
+
var b = w[A], y = b.type, E = b.value, S = s[y];
|
|
620
620
|
S >= 0 && (g[S] = parseInt(E, 10));
|
|
621
621
|
}
|
|
622
|
-
var v = g[3], T = v === 24 ? 0 : v, x = g[0] + "-" + g[1] + "-" + g[2] + " " + T + ":" + g[4] + ":" + g[5] + ":000",
|
|
623
|
-
return (i.utc(x).valueOf() - (
|
|
622
|
+
var v = g[3], T = v === 24 ? 0 : v, x = g[0] + "-" + g[1] + "-" + g[2] + " " + T + ":" + g[4] + ":" + g[5] + ":000", k = +m;
|
|
623
|
+
return (i.utc(x).valueOf() - (k -= k % 1e3)) / 6e4;
|
|
624
624
|
}, u = o.prototype;
|
|
625
625
|
u.tz = function(m, f) {
|
|
626
626
|
m === void 0 && (m = l);
|
|
627
|
-
var w, g = this.utcOffset(), A = this.toDate(), b = A.toLocaleString("en-US", { timeZone: m }),
|
|
627
|
+
var w, g = this.utcOffset(), A = this.toDate(), b = A.toLocaleString("en-US", { timeZone: m }), y = Math.round((A - new Date(b)) / 1e3 / 60), E = 15 * -Math.round(A.getTimezoneOffset() / 15) - y;
|
|
628
628
|
if (!Number(E)) w = this.utcOffset(0, f);
|
|
629
629
|
else if (w = i(b, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(E, !0), f) {
|
|
630
630
|
var S = w.utcOffset();
|
|
@@ -645,12 +645,12 @@ function Ar() {
|
|
|
645
645
|
}, i.tz = function(m, f, w) {
|
|
646
646
|
var g = w && f, A = w || f || l, b = c(+i(), A);
|
|
647
647
|
if (typeof m != "string") return i(m).tz(A);
|
|
648
|
-
var
|
|
649
|
-
var
|
|
650
|
-
if (x === q) return [
|
|
651
|
-
var R = c(
|
|
652
|
-
return q === R ? [
|
|
653
|
-
})(i.utc(m, g).valueOf(), b, A), E =
|
|
648
|
+
var y = (function(T, x, k) {
|
|
649
|
+
var $ = T - 60 * x * 1e3, q = c($, k);
|
|
650
|
+
if (x === q) return [$, x];
|
|
651
|
+
var R = c($ -= 60 * (q - x) * 1e3, k);
|
|
652
|
+
return q === R ? [$, q] : [T - 60 * Math.min(q, R) * 1e3, Math.max(q, R)];
|
|
653
|
+
})(i.utc(m, g).valueOf(), b, A), E = y[0], S = y[1], v = i(E).utcOffset(S);
|
|
654
654
|
return v.$x.$timezone = A, v;
|
|
655
655
|
}, i.tz.guess = function() {
|
|
656
656
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
@@ -659,7 +659,7 @@ function Ar() {
|
|
|
659
659
|
};
|
|
660
660
|
};
|
|
661
661
|
}));
|
|
662
|
-
})(
|
|
662
|
+
})(kt)), kt.exports;
|
|
663
663
|
}
|
|
664
664
|
var br = Ar();
|
|
665
665
|
const vr = /* @__PURE__ */ at(br);
|
|
@@ -697,7 +697,7 @@ const Vt = (e) => e === "en" ? "en" : "es", Le = (e, t) => {
|
|
|
697
697
|
});
|
|
698
698
|
const i = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), d = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - i.getTime()) / 6e4, c = d >= 0 ? "+" : "-", u = (f) => String(Math.floor(Math.abs(f))).padStart(2, "0"), h = u(d / 60), m = u(d % 60);
|
|
699
699
|
return `${o.year}-${o.month}-${o.day}T${o.hour}:${o.minute}:${o.second}${c}${h}:${m}`;
|
|
700
|
-
},
|
|
700
|
+
}, Pe = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
701
701
|
function Ze(e) {
|
|
702
702
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
703
703
|
}
|
|
@@ -773,8 +773,8 @@ function Ns(e) {
|
|
|
773
773
|
for (; l < t.length && i > 0; ) {
|
|
774
774
|
const f = t.slice(l), w = f.match(/<div\b/i), g = f.match(/<\/div>/i), A = w?.index ?? -1, b = g?.index ?? -1;
|
|
775
775
|
if (b === -1) break;
|
|
776
|
-
const
|
|
777
|
-
A !== -1 && A < b ? (i += 1, l =
|
|
776
|
+
const y = A === -1 ? 1 / 0 : l + A, E = l + b;
|
|
777
|
+
A !== -1 && A < b ? (i += 1, l = y + w[0].length) : (i -= 1, d = E, l = E + g[0].length);
|
|
778
778
|
}
|
|
779
779
|
const c = t.slice(o, d), u = [], h = /<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;
|
|
780
780
|
let m;
|
|
@@ -896,7 +896,7 @@ const Uu = Ns, Tr = async (e, t) => {
|
|
|
896
896
|
}, en = (e) => !e || !e?.tags || e?.tags?.length === 0 ? "" : e?.tags?.map((t) => t.name).join(", ").replaceAll('"', "'").replaceAll("`", "'"), Rr = (e) => {
|
|
897
897
|
const t = e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);
|
|
898
898
|
return t ? { slug: t[1] ?? "", path: t[2] ?? "" } : { slug: "", path: "" };
|
|
899
|
-
}, Lr = (e) => e.replaceAll("/", "").replaceAll("_", "").replace(".html", ""),
|
|
899
|
+
}, Lr = (e) => e.replaceAll("/", "").replaceAll("_", "").replace(".html", ""), Pr = {
|
|
900
900
|
description: { attr: "name", value: "description" },
|
|
901
901
|
robots: { attr: "name", value: "robots" },
|
|
902
902
|
keywords: { attr: "name", value: "keywords" },
|
|
@@ -911,11 +911,11 @@ const Uu = Ns, Tr = async (e, t) => {
|
|
|
911
911
|
"twitter.title": { attr: "name", value: "twitter:title" },
|
|
912
912
|
"twitter.description": { attr: "name", value: "twitter:description" },
|
|
913
913
|
"twitter.site": { attr: "name", value: "twitter:site" }
|
|
914
|
-
},
|
|
914
|
+
}, kr = (e) => {
|
|
915
915
|
const t = [];
|
|
916
916
|
let s = 0;
|
|
917
917
|
const n = (i) => t.push(i);
|
|
918
|
-
return e.title && typeof e.title == "string" && n(/* @__PURE__ */ a("title", { children: e.title }, `title-${s++}`)), Object.entries(
|
|
918
|
+
return e.title && typeof e.title == "string" && n(/* @__PURE__ */ a("title", { children: e.title }, `title-${s++}`)), Object.entries(Pr).forEach(([i, l]) => {
|
|
919
919
|
const d = i.split(".").reduce((c, u) => c?.[u], e);
|
|
920
920
|
d && n(
|
|
921
921
|
/* @__PURE__ */ a(
|
|
@@ -1251,7 +1251,7 @@ const Gr = () => {
|
|
|
1251
1251
|
]
|
|
1252
1252
|
}
|
|
1253
1253
|
};
|
|
1254
|
-
},
|
|
1254
|
+
}, Pu = (e) => {
|
|
1255
1255
|
let t = "";
|
|
1256
1256
|
if (e.params.news.match(/.*t[0-9]*.html/g)) {
|
|
1257
1257
|
const s = e.params.news.split("-"), n = s[s.length - 1] ?? "", r = n.substring(1, 9), o = n.substring(9, 13);
|
|
@@ -1269,7 +1269,7 @@ const Gr = () => {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
return e.config.servicePrefix + t;
|
|
1271
1271
|
};
|
|
1272
|
-
function
|
|
1272
|
+
function ku(e) {
|
|
1273
1273
|
const t = e.lastIndexOf("-"), s = t >= 0 ? [e.slice(0, t), e.slice(t + 1)] : [e], n = s[s.length - 1]?.split("."), r = n && n[0] ? n[0] : "", o = r.substring(0, 2), i = r.substring(2, 10), l = r.substring(10);
|
|
1274
1274
|
return { path: {
|
|
1275
1275
|
vy: (c) => `/videos/video-youtube/${he(i).format(
|
|
@@ -1453,13 +1453,13 @@ const Hr = /* @__PURE__ */ new Set(["@type", "@context"]), ha = (e) => {
|
|
|
1453
1453
|
return t.length === 0 ? !0 : t.every((s) => Hr.has(s));
|
|
1454
1454
|
}
|
|
1455
1455
|
return !1;
|
|
1456
|
-
},
|
|
1456
|
+
}, ke = (e) => {
|
|
1457
1457
|
if (Array.isArray(e))
|
|
1458
|
-
return e.map((t) =>
|
|
1458
|
+
return e.map((t) => ke(t)).filter((t) => !ha(t));
|
|
1459
1459
|
if (e && typeof e == "object") {
|
|
1460
1460
|
const t = {};
|
|
1461
1461
|
for (const [s, n] of Object.entries(e)) {
|
|
1462
|
-
const r =
|
|
1462
|
+
const r = ke(n);
|
|
1463
1463
|
ha(r) || (t[s] = r);
|
|
1464
1464
|
}
|
|
1465
1465
|
return t;
|
|
@@ -1656,7 +1656,7 @@ const Hr = /* @__PURE__ */ new Set(["@type", "@context"]), ha = (e) => {
|
|
|
1656
1656
|
id: "webSiteItemListSchema",
|
|
1657
1657
|
type: "application/ld+json",
|
|
1658
1658
|
dangerouslySetInnerHTML: {
|
|
1659
|
-
__html: JSON.stringify(
|
|
1659
|
+
__html: JSON.stringify(ke(o))
|
|
1660
1660
|
}
|
|
1661
1661
|
}
|
|
1662
1662
|
);
|
|
@@ -1686,7 +1686,7 @@ const Hr = /* @__PURE__ */ new Set(["@type", "@context"]), ha = (e) => {
|
|
|
1686
1686
|
...t.aggregateRating.bestRating && {
|
|
1687
1687
|
bestRating: t.aggregateRating.bestRating
|
|
1688
1688
|
}
|
|
1689
|
-
}), t.softwareVersion && (s.softwareVersion = t.softwareVersion), t.contentRating && (s.contentRating = t.contentRating),
|
|
1689
|
+
}), t.softwareVersion && (s.softwareVersion = t.softwareVersion), t.contentRating && (s.contentRating = t.contentRating), ke(s);
|
|
1690
1690
|
}, eo = ({ config: e }) => {
|
|
1691
1691
|
if (!e.orgSoftware) return null;
|
|
1692
1692
|
const t = Array.isArray(e.orgSoftware) ? e.orgSoftware : [e.orgSoftware];
|
|
@@ -1743,7 +1743,7 @@ const to = async ({
|
|
|
1743
1743
|
{
|
|
1744
1744
|
type: "application/ld+json",
|
|
1745
1745
|
dangerouslySetInnerHTML: {
|
|
1746
|
-
__html: Qt(JSON.stringify(
|
|
1746
|
+
__html: Qt(JSON.stringify(ke(l)))
|
|
1747
1747
|
}
|
|
1748
1748
|
},
|
|
1749
1749
|
d
|
|
@@ -1766,7 +1766,7 @@ const to = async ({
|
|
|
1766
1766
|
{
|
|
1767
1767
|
id: "WebsiteOrgListSchema",
|
|
1768
1768
|
type: "application/ld+json",
|
|
1769
|
-
dangerouslySetInnerHTML: { __html: JSON.stringify(
|
|
1769
|
+
dangerouslySetInnerHTML: { __html: JSON.stringify(ke(s)) }
|
|
1770
1770
|
}
|
|
1771
1771
|
);
|
|
1772
1772
|
}, ao = ({ config: e }) => {
|
|
@@ -1786,7 +1786,7 @@ const to = async ({
|
|
|
1786
1786
|
{
|
|
1787
1787
|
id: "WebsiteListSchema",
|
|
1788
1788
|
type: "application/ld+json",
|
|
1789
|
-
dangerouslySetInnerHTML: { __html: JSON.stringify(
|
|
1789
|
+
dangerouslySetInnerHTML: { __html: JSON.stringify(ke(t)) }
|
|
1790
1790
|
}
|
|
1791
1791
|
);
|
|
1792
1792
|
}, no = async ({ realPath: e, config: t, axiosApi: s }) => {
|
|
@@ -1805,7 +1805,7 @@ const to = async ({
|
|
|
1805
1805
|
"script",
|
|
1806
1806
|
{
|
|
1807
1807
|
type: "application/ld+json",
|
|
1808
|
-
dangerouslySetInnerHTML: { __html: Qt(JSON.stringify(
|
|
1808
|
+
dangerouslySetInnerHTML: { __html: Qt(JSON.stringify(ke(o))) }
|
|
1809
1809
|
}
|
|
1810
1810
|
) : void 0;
|
|
1811
1811
|
} catch (n) {
|
|
@@ -2393,7 +2393,7 @@ const fa = xo(), ga = typeof fa.FormData < "u" ? fa.FormData : void 0, Uo = (e)
|
|
|
2393
2393
|
const s = Yt(e);
|
|
2394
2394
|
return s === "formdata" || // detect form-data instance
|
|
2395
2395
|
s === "object" && be(e.toString) && e.toString() === "[object FormData]";
|
|
2396
|
-
}, Ro = Se("URLSearchParams"), [Lo,
|
|
2396
|
+
}, Ro = Se("URLSearchParams"), [Lo, Po, ko, Oo] = [
|
|
2397
2397
|
"ReadableStream",
|
|
2398
2398
|
"Request",
|
|
2399
2399
|
"Response",
|
|
@@ -2588,8 +2588,8 @@ const ei = (e) => {
|
|
|
2588
2588
|
isPlainObject: Ot,
|
|
2589
2589
|
isEmptyObject: vo,
|
|
2590
2590
|
isReadableStream: Lo,
|
|
2591
|
-
isRequest:
|
|
2592
|
-
isResponse:
|
|
2591
|
+
isRequest: Po,
|
|
2592
|
+
isResponse: ko,
|
|
2593
2593
|
isHeaders: Oo,
|
|
2594
2594
|
isUndefined: tt,
|
|
2595
2595
|
isDate: yo,
|
|
@@ -3020,14 +3020,14 @@ function Kt(e, t, s) {
|
|
|
3020
3020
|
return N.isArrayBuffer(g) || N.isTypedArray(g) ? c && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
|
|
3021
3021
|
}
|
|
3022
3022
|
function h(g, A, b) {
|
|
3023
|
-
let
|
|
3023
|
+
let y = g;
|
|
3024
3024
|
if (N.isReactNative(t) && N.isReactNativeBlob(g))
|
|
3025
3025
|
return t.append(cs(b, A, o), u(g)), !1;
|
|
3026
3026
|
if (g && !b && typeof g == "object") {
|
|
3027
3027
|
if (N.endsWith(A, "{}"))
|
|
3028
3028
|
A = n ? A : A.slice(0, -2), g = JSON.stringify(g);
|
|
3029
|
-
else if (N.isArray(g) && vi(g) || (N.isFileList(g) || N.endsWith(A, "[]")) && (
|
|
3030
|
-
return A = wn(A),
|
|
3029
|
+
else if (N.isArray(g) && vi(g) || (N.isFileList(g) || N.endsWith(A, "[]")) && (y = N.toArray(g)))
|
|
3030
|
+
return A = wn(A), y.forEach(function(S, v) {
|
|
3031
3031
|
!(N.isUndefined(S) || S === null) && t.append(
|
|
3032
3032
|
// eslint-disable-next-line no-nested-ternary
|
|
3033
3033
|
i === !0 ? cs([A], v, o) : i === null ? A : A + "[]",
|
|
@@ -3193,10 +3193,10 @@ function Li(e, t) {
|
|
|
3193
3193
|
...t
|
|
3194
3194
|
});
|
|
3195
3195
|
}
|
|
3196
|
-
function
|
|
3196
|
+
function Pi(e) {
|
|
3197
3197
|
return N.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
3198
3198
|
}
|
|
3199
|
-
function
|
|
3199
|
+
function ki(e) {
|
|
3200
3200
|
const t = {}, s = Object.keys(e);
|
|
3201
3201
|
let n;
|
|
3202
3202
|
const r = s.length;
|
|
@@ -3210,12 +3210,12 @@ function vn(e) {
|
|
|
3210
3210
|
let i = s[o++];
|
|
3211
3211
|
if (i === "__proto__") return !0;
|
|
3212
3212
|
const l = Number.isFinite(+i), d = o >= s.length;
|
|
3213
|
-
return i = !i && N.isArray(r) ? r.length : i, d ? (N.hasOwnProp(r, i) ? r[i] = N.isArray(r[i]) ? r[i].concat(n) : [r[i], n] : r[i] = n, !l) : ((!N.hasOwnProp(r, i) || !N.isObject(r[i])) && (r[i] = []), t(s, n, r[i], o) && N.isArray(r[i]) && (r[i] =
|
|
3213
|
+
return i = !i && N.isArray(r) ? r.length : i, d ? (N.hasOwnProp(r, i) ? r[i] = N.isArray(r[i]) ? r[i].concat(n) : [r[i], n] : r[i] = n, !l) : ((!N.hasOwnProp(r, i) || !N.isObject(r[i])) && (r[i] = []), t(s, n, r[i], o) && N.isArray(r[i]) && (r[i] = ki(r[i])), !l);
|
|
3214
3214
|
}
|
|
3215
3215
|
if (N.isFormData(e) && N.isFunction(e.entries)) {
|
|
3216
3216
|
const s = {};
|
|
3217
3217
|
return N.forEachEntry(e, (n, r) => {
|
|
3218
|
-
t(
|
|
3218
|
+
t(Pi(n), r, s, 0);
|
|
3219
3219
|
}), s;
|
|
3220
3220
|
}
|
|
3221
3221
|
return null;
|
|
@@ -3615,11 +3615,11 @@ const Qi = typeof XMLHttpRequest < "u", zi = Qi && function(e) {
|
|
|
3615
3615
|
}), N.isUndefined(r.withCredentials) || (A.withCredentials = !!r.withCredentials), l && l !== "json" && (A.responseType = r.responseType), c && ([m, w] = Dt(c, !0), A.addEventListener("progress", m)), d && A.upload && ([h, f] = Dt(d), A.upload.addEventListener("progress", h), A.upload.addEventListener("loadend", f)), (r.cancelToken || r.signal) && (u = (E) => {
|
|
3616
3616
|
A && (n(!E || E.type ? new yt(null, e, A) : E), A.abort(), g(), A = null);
|
|
3617
3617
|
}, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
|
|
3618
|
-
const
|
|
3619
|
-
if (
|
|
3618
|
+
const y = Bi(r.url);
|
|
3619
|
+
if (y && !me.protocols.includes(y)) {
|
|
3620
3620
|
n(
|
|
3621
3621
|
new H(
|
|
3622
|
-
"Unsupported protocol " +
|
|
3622
|
+
"Unsupported protocol " + y + ":",
|
|
3623
3623
|
H.ERR_BAD_REQUEST,
|
|
3624
3624
|
e
|
|
3625
3625
|
)
|
|
@@ -3788,24 +3788,24 @@ const Gs = "1.17.0", Na = 64 * 1024, { isFunction: Nt } = N, Zi = (e) => encodeU
|
|
|
3788
3788
|
const { fetch: r, Request: o, Response: i } = e, l = r ? Nt(r) : typeof fetch == "function", d = Nt(o), c = Nt(i);
|
|
3789
3789
|
if (!l)
|
|
3790
3790
|
return !1;
|
|
3791
|
-
const u = l && Nt(s), h = l && (typeof n == "function" ? /* @__PURE__ */ ((b) => (
|
|
3791
|
+
const u = l && Nt(s), h = l && (typeof n == "function" ? /* @__PURE__ */ ((b) => (y) => b.encode(y))(new n()) : async (b) => new Uint8Array(await new o(b).arrayBuffer())), m = d && u && Ea(() => {
|
|
3792
3792
|
let b = !1;
|
|
3793
|
-
const
|
|
3793
|
+
const y = new o(me.origin, {
|
|
3794
3794
|
body: new s(),
|
|
3795
3795
|
method: "POST",
|
|
3796
3796
|
get duplex() {
|
|
3797
3797
|
return b = !0, "half";
|
|
3798
3798
|
}
|
|
3799
|
-
}), E =
|
|
3800
|
-
return
|
|
3799
|
+
}), E = y.headers.has("Content-Type");
|
|
3800
|
+
return y.body != null && y.body.cancel(), b && !E;
|
|
3801
3801
|
}), f = c && u && Ea(() => N.isReadableStream(new i("").body)), w = {
|
|
3802
3802
|
stream: f && ((b) => b.body)
|
|
3803
3803
|
};
|
|
3804
3804
|
l && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((b) => {
|
|
3805
|
-
!w[b] && (w[b] = (
|
|
3806
|
-
let S =
|
|
3805
|
+
!w[b] && (w[b] = (y, E) => {
|
|
3806
|
+
let S = y && y[b];
|
|
3807
3807
|
if (S)
|
|
3808
|
-
return S.call(
|
|
3808
|
+
return S.call(y);
|
|
3809
3809
|
throw new H(
|
|
3810
3810
|
`Response type '${b}' is not supported`,
|
|
3811
3811
|
H.ERR_NOT_SUPPORT,
|
|
@@ -3827,63 +3827,63 @@ const Gs = "1.17.0", Na = 64 * 1024, { isFunction: Nt } = N, Zi = (e) => encodeU
|
|
|
3827
3827
|
return b.byteLength;
|
|
3828
3828
|
if (N.isURLSearchParams(b) && (b = b + ""), N.isString(b))
|
|
3829
3829
|
return (await h(b)).byteLength;
|
|
3830
|
-
}, A = async (b,
|
|
3830
|
+
}, A = async (b, y) => {
|
|
3831
3831
|
const E = N.toFiniteNumber(b.getContentLength());
|
|
3832
|
-
return E ?? g(
|
|
3832
|
+
return E ?? g(y);
|
|
3833
3833
|
};
|
|
3834
3834
|
return async (b) => {
|
|
3835
3835
|
let {
|
|
3836
|
-
url:
|
|
3836
|
+
url: y,
|
|
3837
3837
|
method: E,
|
|
3838
3838
|
data: S,
|
|
3839
3839
|
signal: v,
|
|
3840
3840
|
cancelToken: T,
|
|
3841
3841
|
timeout: x,
|
|
3842
|
-
onDownloadProgress:
|
|
3843
|
-
onUploadProgress:
|
|
3842
|
+
onDownloadProgress: k,
|
|
3843
|
+
onUploadProgress: $,
|
|
3844
3844
|
responseType: q,
|
|
3845
3845
|
headers: R,
|
|
3846
3846
|
withCredentials: V = "same-origin",
|
|
3847
|
-
fetchOptions:
|
|
3847
|
+
fetchOptions: K,
|
|
3848
3848
|
maxContentLength: O,
|
|
3849
3849
|
maxBodyLength: U
|
|
3850
3850
|
} = Sn(b);
|
|
3851
|
-
const L = N.isNumber(O) && O > -1, G = N.isNumber(U) && U > -1, j = (
|
|
3851
|
+
const L = N.isNumber(O) && O > -1, G = N.isNumber(U) && U > -1, j = (P) => N.hasOwnProp(b, P) ? b[P] : void 0;
|
|
3852
3852
|
let X = r || fetch;
|
|
3853
3853
|
q = q ? (q + "").toLowerCase() : "text";
|
|
3854
|
-
let
|
|
3854
|
+
let C = Wi(
|
|
3855
3855
|
[v, T && T.toAbortSignal()],
|
|
3856
3856
|
x
|
|
3857
3857
|
), I = null;
|
|
3858
|
-
const D =
|
|
3859
|
-
|
|
3858
|
+
const D = C && C.unsubscribe && (() => {
|
|
3859
|
+
C.unsubscribe();
|
|
3860
3860
|
});
|
|
3861
3861
|
let F;
|
|
3862
3862
|
try {
|
|
3863
|
-
let
|
|
3863
|
+
let P;
|
|
3864
3864
|
const z = j("auth");
|
|
3865
3865
|
if (z) {
|
|
3866
3866
|
const Q = z.username || "", B = z.password || "";
|
|
3867
|
-
|
|
3867
|
+
P = {
|
|
3868
3868
|
username: Q,
|
|
3869
3869
|
password: B
|
|
3870
3870
|
};
|
|
3871
3871
|
}
|
|
3872
|
-
if (Xi(
|
|
3873
|
-
const Q = new URL(
|
|
3874
|
-
if (!
|
|
3872
|
+
if (Xi(y)) {
|
|
3873
|
+
const Q = new URL(y, me.origin);
|
|
3874
|
+
if (!P && (Q.username || Q.password)) {
|
|
3875
3875
|
const B = Sa(Q.username), le = Sa(Q.password);
|
|
3876
|
-
|
|
3876
|
+
P = {
|
|
3877
3877
|
username: B,
|
|
3878
3878
|
password: le
|
|
3879
3879
|
};
|
|
3880
3880
|
}
|
|
3881
|
-
(Q.username || Q.password) && (Q.username = "", Q.password = "",
|
|
3881
|
+
(Q.username || Q.password) && (Q.username = "", Q.password = "", y = Q.href);
|
|
3882
3882
|
}
|
|
3883
|
-
if (
|
|
3883
|
+
if (P && (R.delete("authorization"), R.set(
|
|
3884
3884
|
"Authorization",
|
|
3885
|
-
"Basic " + btoa(Zi((
|
|
3886
|
-
)), L && typeof
|
|
3885
|
+
"Basic " + btoa(Zi((P.username || "") + ":" + (P.password || "")))
|
|
3886
|
+
)), L && typeof y == "string" && y.startsWith("data:") && Ji(y) > O)
|
|
3887
3887
|
throw new H(
|
|
3888
3888
|
"maxContentLength size of " + O + " exceeded",
|
|
3889
3889
|
H.ERR_BAD_RESPONSE,
|
|
@@ -3900,8 +3900,8 @@ const Gs = "1.17.0", Na = 64 * 1024, { isFunction: Nt } = N, Zi = (e) => encodeU
|
|
|
3900
3900
|
I
|
|
3901
3901
|
);
|
|
3902
3902
|
}
|
|
3903
|
-
if (
|
|
3904
|
-
let Q = new o(
|
|
3903
|
+
if ($ && m && E !== "get" && E !== "head" && (F = await A(R, S)) !== 0) {
|
|
3904
|
+
let Q = new o(y, {
|
|
3905
3905
|
method: "POST",
|
|
3906
3906
|
body: S,
|
|
3907
3907
|
duplex: "half"
|
|
@@ -3909,7 +3909,7 @@ const Gs = "1.17.0", Na = 64 * 1024, { isFunction: Nt } = N, Zi = (e) => encodeU
|
|
|
3909
3909
|
if (N.isFormData(S) && (B = Q.headers.get("content-type")) && R.setContentType(B), Q.body) {
|
|
3910
3910
|
const [le, xe] = ba(
|
|
3911
3911
|
F,
|
|
3912
|
-
Dt(va(
|
|
3912
|
+
Dt(va($))
|
|
3913
3913
|
);
|
|
3914
3914
|
S = Ca(Q.body, Na, le, xe);
|
|
3915
3915
|
}
|
|
@@ -3922,16 +3922,16 @@ const Gs = "1.17.0", Na = 64 * 1024, { isFunction: Nt } = N, Zi = (e) => encodeU
|
|
|
3922
3922
|
}
|
|
3923
3923
|
R.set("User-Agent", "axios/" + Gs, !1);
|
|
3924
3924
|
const Z = {
|
|
3925
|
-
|
|
3926
|
-
signal:
|
|
3925
|
+
...K,
|
|
3926
|
+
signal: C,
|
|
3927
3927
|
method: E.toUpperCase(),
|
|
3928
3928
|
headers: gn(R.normalize()),
|
|
3929
3929
|
body: S,
|
|
3930
3930
|
duplex: "half",
|
|
3931
3931
|
credentials: J ? V : void 0
|
|
3932
3932
|
};
|
|
3933
|
-
I = d && new o(
|
|
3934
|
-
let ee = await (d ? X(I,
|
|
3933
|
+
I = d && new o(y, Z);
|
|
3934
|
+
let ee = await (d ? X(I, K) : X(y, Z));
|
|
3935
3935
|
if (L) {
|
|
3936
3936
|
const Q = N.toFiniteNumber(ee.headers.get("content-length"));
|
|
3937
3937
|
if (Q != null && Q > O)
|
|
@@ -3943,14 +3943,14 @@ const Gs = "1.17.0", Na = 64 * 1024, { isFunction: Nt } = N, Zi = (e) => encodeU
|
|
|
3943
3943
|
);
|
|
3944
3944
|
}
|
|
3945
3945
|
const se = f && (q === "stream" || q === "response");
|
|
3946
|
-
if (f && ee.body && (
|
|
3946
|
+
if (f && ee.body && (k || L || se && D)) {
|
|
3947
3947
|
const Q = {};
|
|
3948
3948
|
["status", "statusText", "headers"].forEach((ot) => {
|
|
3949
3949
|
Q[ot] = ee[ot];
|
|
3950
3950
|
});
|
|
3951
|
-
const B = N.toFiniteNumber(ee.headers.get("content-length")), [le, xe] =
|
|
3951
|
+
const B = N.toFiniteNumber(ee.headers.get("content-length")), [le, xe] = k && ba(
|
|
3952
3952
|
B,
|
|
3953
|
-
Dt(va(
|
|
3953
|
+
Dt(va(k), !0)
|
|
3954
3954
|
) || [];
|
|
3955
3955
|
let rt = 0;
|
|
3956
3956
|
const Jn = (ot) => {
|
|
@@ -3995,23 +3995,23 @@ const Gs = "1.17.0", Na = 64 * 1024, { isFunction: Nt } = N, Zi = (e) => encodeU
|
|
|
3995
3995
|
request: I
|
|
3996
3996
|
});
|
|
3997
3997
|
});
|
|
3998
|
-
} catch (
|
|
3999
|
-
if (D && D(),
|
|
4000
|
-
const z =
|
|
4001
|
-
throw z.config = b, I && (z.request = I),
|
|
3998
|
+
} catch (P) {
|
|
3999
|
+
if (D && D(), C && C.aborted && C.reason instanceof H) {
|
|
4000
|
+
const z = C.reason;
|
|
4001
|
+
throw z.config = b, I && (z.request = I), P !== z && (z.cause = P), z;
|
|
4002
4002
|
}
|
|
4003
|
-
throw
|
|
4003
|
+
throw P && P.name === "TypeError" && /Load failed|fetch/i.test(P.message) ? Object.assign(
|
|
4004
4004
|
new H(
|
|
4005
4005
|
"Network Error",
|
|
4006
4006
|
H.ERR_NETWORK,
|
|
4007
4007
|
b,
|
|
4008
4008
|
I,
|
|
4009
|
-
|
|
4009
|
+
P && P.response
|
|
4010
4010
|
),
|
|
4011
4011
|
{
|
|
4012
|
-
cause:
|
|
4012
|
+
cause: P.cause || P
|
|
4013
4013
|
}
|
|
4014
|
-
) : H.from(
|
|
4014
|
+
) : H.from(P, P && P.code, b, I, P && P.response);
|
|
4015
4015
|
}
|
|
4016
4016
|
};
|
|
4017
4017
|
}, tl = /* @__PURE__ */ new Map(), En = (e) => {
|
|
@@ -4862,8 +4862,8 @@ class _e {
|
|
|
4862
4862
|
}))?.data.data ?? []);
|
|
4863
4863
|
const c = Ns(l), h = (Ze(o)?.data ?? [])[0]?.list?.items?.map((b) => Ns(b)), m = [];
|
|
4864
4864
|
h?.forEach((b) => {
|
|
4865
|
-
b && b.length > 0 && b.forEach((
|
|
4866
|
-
|
|
4865
|
+
b && b.length > 0 && b.forEach((y) => {
|
|
4866
|
+
y.forEach((E) => {
|
|
4867
4867
|
const S = this.getNews({
|
|
4868
4868
|
path: E.replaceAll("|", "/"),
|
|
4869
4869
|
imagesizes: s.getNewsItemsRelated,
|
|
@@ -5210,8 +5210,8 @@ const um = async (e, t, s, n, r, o, i) => {
|
|
|
5210
5210
|
page: u
|
|
5211
5211
|
});
|
|
5212
5212
|
if (!b) return we(t);
|
|
5213
|
-
const
|
|
5214
|
-
return
|
|
5213
|
+
const y = b.data.entity;
|
|
5214
|
+
return y ? (b.data.data?.length < h || c.push({
|
|
5215
5215
|
rel: "next",
|
|
5216
5216
|
url: it(s, d, u)
|
|
5217
5217
|
}), u > 1 && c.push({
|
|
@@ -5219,8 +5219,8 @@ const um = async (e, t, s, n, r, o, i) => {
|
|
|
5219
5219
|
url: lt(s, d, u)
|
|
5220
5220
|
}), {
|
|
5221
5221
|
...t,
|
|
5222
|
-
title: A ? `Latest news about ${
|
|
5223
|
-
description: A ? `The latest news about ${
|
|
5222
|
+
title: A ? `Latest news about ${y.name} | ${s.name}` : `Últimas noticias de ${y.name} | ${s.name}`,
|
|
5223
|
+
description: A ? `The latest news about ${y.name} on ${s.name}` : `Las últimas noticias sobre ${y.name} en ${s.name}`,
|
|
5224
5224
|
alternates: {
|
|
5225
5225
|
...t.alternates,
|
|
5226
5226
|
canonical: s.siteUrl + n
|
|
@@ -5235,7 +5235,7 @@ const um = async (e, t, s, n, r, o, i) => {
|
|
|
5235
5235
|
},
|
|
5236
5236
|
openGraph: {
|
|
5237
5237
|
...t.openGraph,
|
|
5238
|
-
title: `${
|
|
5238
|
+
title: `${y.name}`,
|
|
5239
5239
|
type: "website",
|
|
5240
5240
|
url: `${s.siteUrl}${n}`,
|
|
5241
5241
|
locale: t.openGraph.locale
|
|
@@ -5243,7 +5243,7 @@ const um = async (e, t, s, n, r, o, i) => {
|
|
|
5243
5243
|
twitter: {
|
|
5244
5244
|
...t.twitter,
|
|
5245
5245
|
card: "summary_large_image",
|
|
5246
|
-
title: `${
|
|
5246
|
+
title: `${y.name}`,
|
|
5247
5247
|
site: t.twitter.site,
|
|
5248
5248
|
domain: s.siteUrl,
|
|
5249
5249
|
url: `${s.siteUrl}${n}`
|
|
@@ -5477,7 +5477,7 @@ const um = async (e, t, s, n, r, o, i) => {
|
|
|
5477
5477
|
listAutor: t,
|
|
5478
5478
|
config: s
|
|
5479
5479
|
}) => {
|
|
5480
|
-
const n = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: o } = _(), i = r,
|
|
5480
|
+
const n = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: o, PUBLIC_LNG: i } = _(), l = i === "en", d = r, c = n?.info?.date?.modified ? He(n.info.date.modified, d) : void 0, u = e.addtional?.USER_JOBSTART ? He(e.addtional.USER_JOBSTART, d) : void 0, h = o && o !== "false" ? o : "", m = e.addtional, f = m?.USER_USERFB || m?.USER_PAGE_FACEBOOK || m?.USER_FACEBOOK_FAN_PAGE, w = m?.USER_USERTWT || m?.USER_PAGE_TWITTER, g = m?.USER_USERIG || m?.USER_PAGE_INSTAGRAM, A = m?.USER_USERLIN || m?.USER_PAGE_LINKEDIN, b = m?.USER_PAGE_TIKTOK, y = m?.USER_PAGE_YOUTUBE, E = m?.USER_PAGE_PINTEREST, S = m?.USER_JOBTITLE || (l ? m?.USER_POSITION_EN : "") || m?.USER_POSITION || "", v = (l ? m?.USER_DESCRIPCION_EN : "") || m?.USER_DESCRIPCION || m?.USER_MIBIO || "", T = e?.addtional?.USER_SHOWEMAIL === !0 || m?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", x = {
|
|
5481
5481
|
"@context": "https://schema.org",
|
|
5482
5482
|
"@type": "ProfilePage",
|
|
5483
5483
|
mainEntity: {
|
|
@@ -5485,19 +5485,22 @@ const um = async (e, t, s, n, r, o, i) => {
|
|
|
5485
5485
|
name: e.info.fullname ?? e.info.name,
|
|
5486
5486
|
alternateName: e.info.nickname ? e.info.nickname : e.info.name,
|
|
5487
5487
|
identifier: e.info.id,
|
|
5488
|
-
description: ul(
|
|
5489
|
-
image: e.info.image ? e.info.image.sizes.map((
|
|
5488
|
+
description: ul(v),
|
|
5489
|
+
image: e.info.image ? e.info.image.sizes.map((k, $) => $ === 0 && e.info.image.sizes.length !== 1 ? null : h + k.url).filter(Boolean) : [],
|
|
5490
5490
|
sameAs: [
|
|
5491
|
-
u,
|
|
5492
|
-
m,
|
|
5493
5491
|
f,
|
|
5494
|
-
|
|
5492
|
+
g,
|
|
5493
|
+
A,
|
|
5494
|
+
w,
|
|
5495
|
+
b,
|
|
5496
|
+
y,
|
|
5497
|
+
E
|
|
5495
5498
|
].filter(Boolean),
|
|
5496
|
-
jobTitle:
|
|
5499
|
+
jobTitle: S,
|
|
5497
5500
|
url: s.siteUrl + (s.paths.autor !== "" ? `/${s.paths.autor}/` : "/") + e.info.name
|
|
5498
5501
|
}
|
|
5499
5502
|
};
|
|
5500
|
-
return
|
|
5503
|
+
return u && (x.dateCreated = u), c && (x.dateModified = c), T && (x.mainEntity.email = e.info.email), /* @__PURE__ */ a("script", { type: "application/ld+json", children: JSON.stringify(ke(x)) });
|
|
5501
5504
|
};
|
|
5502
5505
|
async function hm({
|
|
5503
5506
|
axiosApi: e,
|
|
@@ -5528,14 +5531,14 @@ async function hm({
|
|
|
5528
5531
|
config: g,
|
|
5529
5532
|
socials: A,
|
|
5530
5533
|
speculationType: b = "Common",
|
|
5531
|
-
preloadImageUrl:
|
|
5534
|
+
preloadImageUrl: y,
|
|
5532
5535
|
custom_Speculation: E,
|
|
5533
5536
|
custom_metadata: S,
|
|
5534
5537
|
custom_scriptReplaces: v,
|
|
5535
5538
|
head_custom_elements: T,
|
|
5536
5539
|
schemasCustomEndpoints: x
|
|
5537
5540
|
}) {
|
|
5538
|
-
const
|
|
5541
|
+
const k = f && f[0] && f[0].preview ? f[0] : void 0, $ = S || await dl[r]({
|
|
5539
5542
|
meta: s,
|
|
5540
5543
|
config: g,
|
|
5541
5544
|
currentNew: h,
|
|
@@ -5546,8 +5549,8 @@ async function hm({
|
|
|
5546
5549
|
query: d,
|
|
5547
5550
|
axiosApi: e,
|
|
5548
5551
|
internalPath: w,
|
|
5549
|
-
schemasImages:
|
|
5550
|
-
}), q =
|
|
5552
|
+
schemasImages: k
|
|
5553
|
+
}), q = kr($), R = v || rn[r]({
|
|
5551
5554
|
pathname: o,
|
|
5552
5555
|
slug: i,
|
|
5553
5556
|
config: g,
|
|
@@ -5573,10 +5576,10 @@ async function hm({
|
|
|
5573
5576
|
]
|
|
5574
5577
|
}
|
|
5575
5578
|
),
|
|
5576
|
-
t.preloadImages &&
|
|
5579
|
+
t.preloadImages && y && /* @__PURE__ */ a(
|
|
5577
5580
|
ma,
|
|
5578
5581
|
{
|
|
5579
|
-
images:
|
|
5582
|
+
images: y.map((V) => ({
|
|
5580
5583
|
...V,
|
|
5581
5584
|
href: Xe() + Ir(V.href)
|
|
5582
5585
|
}))
|
|
@@ -5701,74 +5704,74 @@ function fl({
|
|
|
5701
5704
|
enableDrag: o,
|
|
5702
5705
|
onIndexChange: i
|
|
5703
5706
|
}) {
|
|
5704
|
-
const [l, d] = Y(!1), [c, u] = Y(0), [h, m] = Y(0), [f, w] = Y(0), [g, A] = Y(0), [b,
|
|
5707
|
+
const [l, d] = Y(!1), [c, u] = Y(0), [h, m] = Y(0), [f, w] = Y(0), [g, A] = Y(0), [b, y] = Y(null), E = Zn(null), [S, v] = Y(1), T = ce(() => {
|
|
5705
5708
|
if (r) return 1;
|
|
5706
|
-
const
|
|
5709
|
+
const C = E.current?.offsetWidth || window.innerWidth, I = s + n, D = Math.floor(C / I);
|
|
5707
5710
|
return Math.max(1, D);
|
|
5708
5711
|
}, [r, s, n]);
|
|
5709
5712
|
Re(() => {
|
|
5710
|
-
const
|
|
5713
|
+
const C = () => {
|
|
5711
5714
|
const I = T();
|
|
5712
5715
|
v(I);
|
|
5713
5716
|
};
|
|
5714
|
-
return
|
|
5717
|
+
return C(), window.addEventListener("resize", C), () => window.removeEventListener("resize", C);
|
|
5715
5718
|
}, [T]);
|
|
5716
|
-
const
|
|
5717
|
-
const
|
|
5718
|
-
return Math.max(0, t -
|
|
5719
|
-
}, [t, T])(),
|
|
5720
|
-
const
|
|
5721
|
-
return
|
|
5719
|
+
const k = ce(() => {
|
|
5720
|
+
const C = T();
|
|
5721
|
+
return Math.max(0, t - C);
|
|
5722
|
+
}, [t, T])(), $ = ce(() => {
|
|
5723
|
+
const C = T();
|
|
5724
|
+
return C === 1 ? 1 : Math.max(1, Math.ceil(C / 2));
|
|
5722
5725
|
}, [T]), q = ce(
|
|
5723
|
-
(
|
|
5726
|
+
(C, I = 0) => {
|
|
5724
5727
|
if (r) {
|
|
5725
5728
|
const D = E.current?.offsetWidth || window.innerWidth;
|
|
5726
|
-
return -(
|
|
5729
|
+
return -(C * (100 + n)) + I / D * 100;
|
|
5727
5730
|
}
|
|
5728
|
-
return -(
|
|
5731
|
+
return -(C * (s + n)) + I;
|
|
5729
5732
|
},
|
|
5730
5733
|
[r, s, n]
|
|
5731
5734
|
), R = ce(
|
|
5732
|
-
(
|
|
5733
|
-
const I = E.current?.offsetWidth || window.innerWidth, D = T(), F =
|
|
5735
|
+
(C) => {
|
|
5736
|
+
const I = E.current?.offsetWidth || window.innerWidth, D = T(), F = $();
|
|
5734
5737
|
if (r)
|
|
5735
|
-
return Math.abs(
|
|
5738
|
+
return Math.abs(C) / I * 100 > 30 ? 1 : 0;
|
|
5736
5739
|
{
|
|
5737
|
-
const
|
|
5740
|
+
const P = s + n, z = Math.abs(C) / P;
|
|
5738
5741
|
return z >= (D === 1 ? 0.2 : 0.3) ? D === 1 ? 1 : Math.min(Math.round(z), F) : 0;
|
|
5739
5742
|
}
|
|
5740
5743
|
},
|
|
5741
|
-
[r, s, n, T,
|
|
5744
|
+
[r, s, n, T, $]
|
|
5742
5745
|
), V = ce(
|
|
5743
|
-
(
|
|
5744
|
-
o && (u(
|
|
5746
|
+
(C) => {
|
|
5747
|
+
o && (u(C), m(C), w(0), A(Date.now()), d(!0), document.body.classList.add("dragging"));
|
|
5745
5748
|
},
|
|
5746
5749
|
[o]
|
|
5747
|
-
),
|
|
5748
|
-
(
|
|
5750
|
+
), K = ce(
|
|
5751
|
+
(C) => {
|
|
5749
5752
|
if (!l || !o) return;
|
|
5750
|
-
const I =
|
|
5751
|
-
m(
|
|
5753
|
+
const I = C - c, D = (s + n) * 1.2, F = e === 0 && I > 0, P = e === k && I < 0, z = F || P ? Math.sign(I) * Math.min(Math.abs(I), D) : I;
|
|
5754
|
+
m(C), w(z);
|
|
5752
5755
|
},
|
|
5753
|
-
[l, c, o, e,
|
|
5756
|
+
[l, c, o, e, k, s, n]
|
|
5754
5757
|
), O = ce(
|
|
5755
|
-
(
|
|
5756
|
-
|
|
5758
|
+
(C) => {
|
|
5759
|
+
K(C.clientX);
|
|
5757
5760
|
},
|
|
5758
|
-
[
|
|
5761
|
+
[K]
|
|
5759
5762
|
), U = ce(
|
|
5760
|
-
(
|
|
5763
|
+
(C) => {
|
|
5761
5764
|
if (!l || !o) return;
|
|
5762
|
-
const I = h - c, D = Date.now() - g, F = Math.abs(I) / Math.max(D, 1),
|
|
5765
|
+
const I = h - c, D = Date.now() - g, F = Math.abs(I) / Math.max(D, 1), P = R(I), J = F > 0.5 && Math.abs(I) > 50 ? Math.max(P, 1) : P;
|
|
5763
5766
|
if (J > 0)
|
|
5764
5767
|
if (I > 0) {
|
|
5765
5768
|
const Z = Math.max(0, e - J);
|
|
5766
5769
|
i(Z);
|
|
5767
5770
|
} else {
|
|
5768
|
-
const Z = Math.min(
|
|
5771
|
+
const Z = Math.min(k, e + J);
|
|
5769
5772
|
i(Z);
|
|
5770
5773
|
}
|
|
5771
|
-
d(!1), w(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", U),
|
|
5774
|
+
d(!1), w(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", U), C.clientX === c && b?.dispatchEvent(new PointerEvent("click"));
|
|
5772
5775
|
},
|
|
5773
5776
|
[
|
|
5774
5777
|
l,
|
|
@@ -5776,7 +5779,7 @@ function fl({
|
|
|
5776
5779
|
c,
|
|
5777
5780
|
g,
|
|
5778
5781
|
e,
|
|
5779
|
-
|
|
5782
|
+
k,
|
|
5780
5783
|
o,
|
|
5781
5784
|
i,
|
|
5782
5785
|
R,
|
|
@@ -5784,23 +5787,23 @@ function fl({
|
|
|
5784
5787
|
b
|
|
5785
5788
|
]
|
|
5786
5789
|
), L = ce(
|
|
5787
|
-
(
|
|
5788
|
-
|
|
5790
|
+
(C) => {
|
|
5791
|
+
C.preventDefault(), ["a", "span"].includes(C.target?.localName) && y(C.target), V(C.clientX);
|
|
5789
5792
|
},
|
|
5790
5793
|
[V]
|
|
5791
5794
|
), G = ce(
|
|
5792
|
-
(
|
|
5793
|
-
V(
|
|
5795
|
+
(C) => {
|
|
5796
|
+
V(C.touches[0].clientX);
|
|
5794
5797
|
},
|
|
5795
5798
|
[V]
|
|
5796
5799
|
), j = ce(
|
|
5797
|
-
(
|
|
5798
|
-
l && (
|
|
5800
|
+
(C) => {
|
|
5801
|
+
l && (C.preventDefault(), K(C.touches[0].clientX));
|
|
5799
5802
|
},
|
|
5800
|
-
[l,
|
|
5803
|
+
[l, K]
|
|
5801
5804
|
), X = ce(
|
|
5802
|
-
(
|
|
5803
|
-
U(
|
|
5805
|
+
(C) => {
|
|
5806
|
+
U(C);
|
|
5804
5807
|
},
|
|
5805
5808
|
[U]
|
|
5806
5809
|
);
|
|
@@ -5812,11 +5815,11 @@ function fl({
|
|
|
5812
5815
|
O
|
|
5813
5816
|
), E.current?.removeEventListener("mouseup", U);
|
|
5814
5817
|
};
|
|
5815
|
-
}, [l,
|
|
5818
|
+
}, [l, K, U, O]), {
|
|
5816
5819
|
isDragging: l,
|
|
5817
5820
|
translateOffset: f,
|
|
5818
5821
|
carrouselRef: E,
|
|
5819
|
-
maxIndex:
|
|
5822
|
+
maxIndex: k,
|
|
5820
5823
|
getTranslateValue: q,
|
|
5821
5824
|
actualVisibleItems: S,
|
|
5822
5825
|
dragHandlers: {
|
|
@@ -5849,7 +5852,7 @@ function pm(e) {
|
|
|
5849
5852
|
translateOffset: g,
|
|
5850
5853
|
carrouselRef: A,
|
|
5851
5854
|
maxIndex: b,
|
|
5852
|
-
getTranslateValue:
|
|
5855
|
+
getTranslateValue: y,
|
|
5853
5856
|
actualVisibleItems: E,
|
|
5854
5857
|
dragHandlers: S
|
|
5855
5858
|
} = fl({
|
|
@@ -5872,7 +5875,7 @@ function pm(e) {
|
|
|
5872
5875
|
v(u + 1);
|
|
5873
5876
|
}, [u, v]);
|
|
5874
5877
|
if (!m) return;
|
|
5875
|
-
const
|
|
5878
|
+
const k = y(u, g), $ = i ? `translateX(${k}%)` : `translateX(${k}px)`;
|
|
5876
5879
|
return /* @__PURE__ */ p("div", { className: `${s}- carrousel-container`, children: [
|
|
5877
5880
|
u > 0 && /* @__PURE__ */ a(
|
|
5878
5881
|
"button",
|
|
@@ -5943,7 +5946,7 @@ function pm(e) {
|
|
|
5943
5946
|
{
|
|
5944
5947
|
className: "card",
|
|
5945
5948
|
style: {
|
|
5946
|
-
transform:
|
|
5949
|
+
transform: $,
|
|
5947
5950
|
transition: w ? "none" : "transform 300ms ease",
|
|
5948
5951
|
minWidth: i ? "100%" : r,
|
|
5949
5952
|
width: "min-content",
|
|
@@ -5958,7 +5961,7 @@ function pm(e) {
|
|
|
5958
5961
|
{
|
|
5959
5962
|
className: "card",
|
|
5960
5963
|
style: {
|
|
5961
|
-
transform:
|
|
5964
|
+
transform: $,
|
|
5962
5965
|
transition: w ? "none" : "transform 300ms ease",
|
|
5963
5966
|
minWidth: i ? "100%" : r,
|
|
5964
5967
|
width: "min-content",
|
|
@@ -6301,7 +6304,7 @@ const Un = ({
|
|
|
6301
6304
|
"--lineHeightSubTitle": n,
|
|
6302
6305
|
"--colorSubTitle": r
|
|
6303
6306
|
}, d = ["sass-com-nd-description", o].filter(Boolean).join(" ");
|
|
6304
|
-
return t ? /* @__PURE__ */ a("p", { className: d, style: l, children:
|
|
6307
|
+
return t ? /* @__PURE__ */ a("p", { className: d, style: l, children: Pe(e) }) : /* @__PURE__ */ a(
|
|
6305
6308
|
i ? "h2" : "div",
|
|
6306
6309
|
{
|
|
6307
6310
|
className: d,
|
|
@@ -6444,7 +6447,7 @@ const Un = ({
|
|
|
6444
6447
|
function Ln() {
|
|
6445
6448
|
return _().COMPONENTS?.PlayIcon || Rn;
|
|
6446
6449
|
}
|
|
6447
|
-
function
|
|
6450
|
+
function Pn() {
|
|
6448
6451
|
return _().COMPONENTS?.PlayIcon || Rn;
|
|
6449
6452
|
}
|
|
6450
6453
|
const Cl = (e) => {
|
|
@@ -6544,7 +6547,7 @@ const Cl = (e) => {
|
|
|
6544
6547
|
isVideo: s = !1,
|
|
6545
6548
|
hasShadow: n = !1,
|
|
6546
6549
|
priorityHigh: r = !1
|
|
6547
|
-
} = e, o =
|
|
6550
|
+
} = e, o = Pn();
|
|
6548
6551
|
let i;
|
|
6549
6552
|
const l = t?.sizes;
|
|
6550
6553
|
return l?.[0]?.url ? i = `/api/image-proxy?url=${encodeURIComponent(l[0].url)}` : i = l?.[0]?.url, l && i && i !== "invalidURL" ? /* @__PURE__ */ a("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */ p("span", { className: "sass-com-img-backdrop", children: [
|
|
@@ -6601,7 +6604,7 @@ const Cl = (e) => {
|
|
|
6601
6604
|
sizes: n
|
|
6602
6605
|
};
|
|
6603
6606
|
return /* @__PURE__ */ a(Cl, { ...e, preview: r });
|
|
6604
|
-
},
|
|
6607
|
+
}, kn = (e) => {
|
|
6605
6608
|
const { itemReverseOrder: t = !1 } = e;
|
|
6606
6609
|
return /* @__PURE__ */ a(
|
|
6607
6610
|
"section",
|
|
@@ -7565,7 +7568,7 @@ const Cl = (e) => {
|
|
|
7565
7568
|
customfields: !1
|
|
7566
7569
|
}
|
|
7567
7570
|
]
|
|
7568
|
-
},
|
|
7571
|
+
}, Pa = {
|
|
7569
7572
|
zonehome: void 0,
|
|
7570
7573
|
priorityhome: "",
|
|
7571
7574
|
zonesection: "no_mostrar",
|
|
@@ -7582,10 +7585,10 @@ const Cl = (e) => {
|
|
|
7582
7585
|
const { PUBLIC_ENV: s, PUBLIC_IS_OFFLINE: n, SHOW_DEV_RANKING: r } = _();
|
|
7583
7586
|
return e.content && e.content.length > 0 ? t = e.content.map((o) => ({
|
|
7584
7587
|
...o,
|
|
7585
|
-
config:
|
|
7588
|
+
config: Pa
|
|
7586
7589
|
})) : s === "local" && n === "false" && r && (t = Sl.data.map((o) => ({
|
|
7587
7590
|
...o,
|
|
7588
|
-
config:
|
|
7591
|
+
config: Pa
|
|
7589
7592
|
}))), Array.isArray(t) && t.length > 0 && /* @__PURE__ */ p(
|
|
7590
7593
|
"aside",
|
|
7591
7594
|
{
|
|
@@ -7595,7 +7598,7 @@ const Cl = (e) => {
|
|
|
7595
7598
|
children: [
|
|
7596
7599
|
/* @__PURE__ */ a("p", { className: "sass-com-rd-titulo", children: e.title ?? "" }),
|
|
7597
7600
|
/* @__PURE__ */ a(
|
|
7598
|
-
|
|
7601
|
+
kn,
|
|
7599
7602
|
{
|
|
7600
7603
|
block: t,
|
|
7601
7604
|
paths: e.paths,
|
|
@@ -7881,7 +7884,7 @@ const Cl = (e) => {
|
|
|
7881
7884
|
)
|
|
7882
7885
|
}
|
|
7883
7886
|
);
|
|
7884
|
-
},
|
|
7887
|
+
}, Pl = (e) => {
|
|
7885
7888
|
const { PUBLIC_ENV: t } = _(), s = ie("/tiktok.svg");
|
|
7886
7889
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a(
|
|
7887
7890
|
"img",
|
|
@@ -7924,7 +7927,7 @@ const Cl = (e) => {
|
|
|
7924
7927
|
) })
|
|
7925
7928
|
}
|
|
7926
7929
|
);
|
|
7927
|
-
},
|
|
7930
|
+
}, kl = (e) => {
|
|
7928
7931
|
const { PUBLIC_ENV: t } = _(), s = ie("/whatsapp.svg");
|
|
7929
7932
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ a("img", { fetchPriority: "low", loading: "lazy", width: 23, height: 23, src: s, alt: "", ...e }) : /* @__PURE__ */ a(
|
|
7930
7933
|
"svg",
|
|
@@ -7993,8 +7996,8 @@ const Cl = (e) => {
|
|
|
7993
7996
|
}, bm = ["telegram"], qt = {
|
|
7994
7997
|
facebook: (e) => /* @__PURE__ */ a(ts, { ...e }),
|
|
7995
7998
|
instagram: (e) => /* @__PURE__ */ a(ss, { ...e }),
|
|
7996
|
-
whatsapp: (e) => /* @__PURE__ */ a(
|
|
7997
|
-
tiktok: (e) => /* @__PURE__ */ a(
|
|
7999
|
+
whatsapp: (e) => /* @__PURE__ */ a(kl, { ...e }),
|
|
8000
|
+
tiktok: (e) => /* @__PURE__ */ a(Pl, { ...e }),
|
|
7998
8001
|
youtube: (e) => /* @__PURE__ */ a(Ol, { ...e }),
|
|
7999
8002
|
x: (e) => /* @__PURE__ */ a(Ie, { ...e }),
|
|
8000
8003
|
gnews: (e) => /* @__PURE__ */ a(Ul, { ...e }),
|
|
@@ -8311,11 +8314,11 @@ const ym = (e) => {
|
|
|
8311
8314
|
}
|
|
8312
8315
|
),
|
|
8313
8316
|
/* @__PURE__ */ p("div", { className: "sass-com-bv3-articleSection", children: [
|
|
8314
|
-
/* @__PURE__ */ a("p", { className: "sass-com-bv3-article", children:
|
|
8317
|
+
/* @__PURE__ */ a("p", { className: "sass-com-bv3-article", children: Pe(e.video.main.description) }),
|
|
8315
8318
|
/* @__PURE__ */ a("p", { className: "sass-com-bv3-correspondent", children: t() })
|
|
8316
8319
|
] })
|
|
8317
8320
|
] }) }) });
|
|
8318
|
-
},
|
|
8321
|
+
}, ka = (e) => {
|
|
8319
8322
|
const { currentPage: t, showNext: s, maxPages: n, pathname: r, query: o, block_subPublication: i } = e, l = (d, c, u) => {
|
|
8320
8323
|
let h = "";
|
|
8321
8324
|
const m = c.split("/");
|
|
@@ -8796,7 +8799,7 @@ const ym = (e) => {
|
|
|
8796
8799
|
...e.main,
|
|
8797
8800
|
title: {
|
|
8798
8801
|
...e.main.title,
|
|
8799
|
-
article:
|
|
8802
|
+
article: Pe(e.main.title.article, 60)
|
|
8800
8803
|
}
|
|
8801
8804
|
}
|
|
8802
8805
|
};
|
|
@@ -9276,7 +9279,7 @@ const ym = (e) => {
|
|
|
9276
9279
|
href: t.data[0]?.info.link.url,
|
|
9277
9280
|
target: t.data[0]?.info.link.target,
|
|
9278
9281
|
title: t.data[0]?.main.title.home,
|
|
9279
|
-
children:
|
|
9282
|
+
children: Pe(t.data[0]?.main.title.home ?? "", 120)
|
|
9280
9283
|
}
|
|
9281
9284
|
)
|
|
9282
9285
|
] }),
|
|
@@ -9442,7 +9445,7 @@ const ym = (e) => {
|
|
|
9442
9445
|
href: s.data[0]?.info.link.url,
|
|
9443
9446
|
target: s.data[0]?.info.link.target,
|
|
9444
9447
|
title: s.data[0]?.main.title.home,
|
|
9445
|
-
children:
|
|
9448
|
+
children: Pe(s.data[0]?.main.title.home ?? "", 120)
|
|
9446
9449
|
}
|
|
9447
9450
|
)
|
|
9448
9451
|
] }) : /* @__PURE__ */ a("div", { className: "sass-com-h1st-line" }),
|
|
@@ -9854,7 +9857,7 @@ const ym = (e) => {
|
|
|
9854
9857
|
children: /* @__PURE__ */ a("path", { d: "M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z" })
|
|
9855
9858
|
}
|
|
9856
9859
|
);
|
|
9857
|
-
function
|
|
9860
|
+
function Pm({
|
|
9858
9861
|
googleSourceShare: e,
|
|
9859
9862
|
googleProfile: t,
|
|
9860
9863
|
whatsAppShare: s,
|
|
@@ -9935,7 +9938,7 @@ function km({
|
|
|
9935
9938
|
)
|
|
9936
9939
|
] });
|
|
9937
9940
|
}
|
|
9938
|
-
function
|
|
9941
|
+
function km(e) {
|
|
9939
9942
|
const {
|
|
9940
9943
|
main: t,
|
|
9941
9944
|
authors: s,
|
|
@@ -9965,20 +9968,20 @@ function Pm(e) {
|
|
|
9965
9968
|
allowFullScreen: !0
|
|
9966
9969
|
}
|
|
9967
9970
|
) : null;
|
|
9968
|
-
},
|
|
9971
|
+
}, y = () => {
|
|
9969
9972
|
if (!e.videos) return null;
|
|
9970
9973
|
const v = (e.videos ?? []).find(
|
|
9971
9974
|
(V) => V.type === "video-embedded"
|
|
9972
9975
|
);
|
|
9973
9976
|
if (!v?.code) return null;
|
|
9974
|
-
const x = /src\s*=\s*"([^"]+)"/.exec(v.code),
|
|
9975
|
-
if (!
|
|
9976
|
-
const
|
|
9977
|
+
const x = /src\s*=\s*"([^"]+)"/.exec(v.code), k = x ? x[1] : null;
|
|
9978
|
+
if (!k) return null;
|
|
9979
|
+
const $ = r.original?.url ?? r.sizes?.[0]?.url ?? "", q = Xe() ?? "", R = $.startsWith("http") || $.includes(q) || q === "" ? $ : q + $;
|
|
9977
9980
|
return /* @__PURE__ */ a(
|
|
9978
9981
|
"iframe",
|
|
9979
9982
|
{
|
|
9980
9983
|
className: "homeCardEmbeddedIframeContainer",
|
|
9981
|
-
src:
|
|
9984
|
+
src: k,
|
|
9982
9985
|
frameBorder: "0",
|
|
9983
9986
|
allowFullScreen: !0,
|
|
9984
9987
|
style: {
|
|
@@ -9996,8 +9999,8 @@ function Pm(e) {
|
|
|
9996
9999
|
visibleItems: 1,
|
|
9997
10000
|
pagination: !0,
|
|
9998
10001
|
cardGap: 0,
|
|
9999
|
-
children: T.map((x,
|
|
10000
|
-
const
|
|
10002
|
+
children: T.map((x, k) => {
|
|
10003
|
+
const $ = x?.url || x?.id || `gallery-${k}`;
|
|
10001
10004
|
return /* @__PURE__ */ a(
|
|
10002
10005
|
M,
|
|
10003
10006
|
{
|
|
@@ -10016,7 +10019,7 @@ function Pm(e) {
|
|
|
10016
10019
|
}
|
|
10017
10020
|
)
|
|
10018
10021
|
},
|
|
10019
|
-
|
|
10022
|
+
$
|
|
10020
10023
|
);
|
|
10021
10024
|
})
|
|
10022
10025
|
}
|
|
@@ -10031,7 +10034,7 @@ function Pm(e) {
|
|
|
10031
10034
|
S = /* @__PURE__ */ a(b, {});
|
|
10032
10035
|
break;
|
|
10033
10036
|
case "videoEmbedded":
|
|
10034
|
-
S = /* @__PURE__ */ a(
|
|
10037
|
+
S = /* @__PURE__ */ a(y, {});
|
|
10035
10038
|
break;
|
|
10036
10039
|
case "clip":
|
|
10037
10040
|
S = /* @__PURE__ */ a(A, {});
|
|
@@ -10294,7 +10297,7 @@ const st = (e) => {
|
|
|
10294
10297
|
}
|
|
10295
10298
|
),
|
|
10296
10299
|
!e.rightOnlyBanner && /* @__PURE__ */ a(
|
|
10297
|
-
|
|
10300
|
+
kn,
|
|
10298
10301
|
{
|
|
10299
10302
|
block: e.block,
|
|
10300
10303
|
itemReverseOrder: l,
|
|
@@ -10503,7 +10506,7 @@ const st = (e) => {
|
|
|
10503
10506
|
alt: t?.authors[0]?.fullname
|
|
10504
10507
|
}
|
|
10505
10508
|
) : /* @__PURE__ */ a("div", { className: "sass-com-oc2-contentIcon", children: s }),
|
|
10506
|
-
/* @__PURE__ */ a("p", { className: "sass-com-oc2-autorName", children:
|
|
10509
|
+
/* @__PURE__ */ a("p", { className: "sass-com-oc2-autorName", children: Pe(t?.authors[0]?.fullname ?? "Redacción", 18) }),
|
|
10507
10510
|
/* @__PURE__ */ a("p", { className: "sass-com-oc2-time", children: o() })
|
|
10508
10511
|
] });
|
|
10509
10512
|
return /* @__PURE__ */ p("div", { className: "sass-com-oc2-content", children: [
|
|
@@ -10525,7 +10528,7 @@ const st = (e) => {
|
|
|
10525
10528
|
children: t?.main?.title?.home
|
|
10526
10529
|
}
|
|
10527
10530
|
),
|
|
10528
|
-
/* @__PURE__ */ a("p", { className: "sass-com-oc2-comment", children:
|
|
10531
|
+
/* @__PURE__ */ a("p", { className: "sass-com-oc2-comment", children: Pe(t?.main?.subtitle?.striped || "") })
|
|
10529
10532
|
] })
|
|
10530
10533
|
] });
|
|
10531
10534
|
};
|
|
@@ -10977,7 +10980,7 @@ const Om = (e) => {
|
|
|
10977
10980
|
className: "sass-com-opt1-linkStyled",
|
|
10978
10981
|
href: s?.info?.link?.url,
|
|
10979
10982
|
target: s?.info?.link?.target,
|
|
10980
|
-
children:
|
|
10983
|
+
children: Pe(s?.main?.title?.home, 40)
|
|
10981
10984
|
}
|
|
10982
10985
|
) }),
|
|
10983
10986
|
/* @__PURE__ */ a("p", { className: "sass-com-opt1-comment", children: s?.main?.subtitle?.striped }),
|
|
@@ -11100,7 +11103,7 @@ const Om = (e) => {
|
|
|
11100
11103
|
" "
|
|
11101
11104
|
),
|
|
11102
11105
|
paginatorComponent: /* @__PURE__ */ a(
|
|
11103
|
-
|
|
11106
|
+
ka,
|
|
11104
11107
|
{
|
|
11105
11108
|
texts: l,
|
|
11106
11109
|
pathname: i,
|
|
@@ -11170,7 +11173,7 @@ const Om = (e) => {
|
|
|
11170
11173
|
{
|
|
11171
11174
|
className: "padding-0",
|
|
11172
11175
|
paginatorComponent: /* @__PURE__ */ a(
|
|
11173
|
-
|
|
11176
|
+
ka,
|
|
11174
11177
|
{
|
|
11175
11178
|
texts: l,
|
|
11176
11179
|
pathname: i,
|
|
@@ -11484,7 +11487,7 @@ const Om = (e) => {
|
|
|
11484
11487
|
const T = await ue(v.url);
|
|
11485
11488
|
return v.width < 200 ? `<source srcset="${T}" media="(width < 750px)"/>` : `<source srcset="${T}" media="(width >= 750px)"/>`;
|
|
11486
11489
|
}) || []
|
|
11487
|
-
)).reduce((v, T) => v += T, ""), b = l.match(/<span\b[^>]*data-src="[^"]+"[^>]*>[\s\S]*?<\/span>/),
|
|
11490
|
+
)).reduce((v, T) => v += T, ""), b = l.match(/<span\b[^>]*data-src="[^"]+"[^>]*>[\s\S]*?<\/span>/), y = b ? b[0] : "", E = `
|
|
11488
11491
|
<span data-src="${d}">
|
|
11489
11492
|
<picture style='display: flex'>
|
|
11490
11493
|
${A}
|
|
@@ -11495,7 +11498,7 @@ const Om = (e) => {
|
|
|
11495
11498
|
<a class="title" href="${w}">${g}</a>
|
|
11496
11499
|
</div>
|
|
11497
11500
|
</span>
|
|
11498
|
-
`, S = l.replace(
|
|
11501
|
+
`, S = l.replace(y, E);
|
|
11499
11502
|
o = o.replace(l, S);
|
|
11500
11503
|
}
|
|
11501
11504
|
return o;
|
|
@@ -11550,14 +11553,14 @@ async function Ec(e, t) {
|
|
|
11550
11553
|
allowfullscreen
|
|
11551
11554
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
11552
11555
|
src="${w.main?.code || ""}"></iframe>` : g = w.main?.code || "";
|
|
11553
|
-
const
|
|
11556
|
+
const y = b || w.main?.description || "";
|
|
11554
11557
|
h = `
|
|
11555
11558
|
<figure class="videoFigure">
|
|
11556
11559
|
${f && f.data && f.data.data ? `<script type="application/ld+json">${Qt(
|
|
11557
11560
|
JSON.stringify(f.data.data)
|
|
11558
11561
|
)}<\/script>` : ""}
|
|
11559
11562
|
${g}
|
|
11560
|
-
${
|
|
11563
|
+
${y ? `<figcaption>${y}</figcaption>` : ""}
|
|
11561
11564
|
</figure>
|
|
11562
11565
|
`;
|
|
11563
11566
|
}
|
|
@@ -11804,7 +11807,7 @@ const Uc = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
11804
11807
|
__html: e.rendered
|
|
11805
11808
|
}
|
|
11806
11809
|
}
|
|
11807
|
-
),
|
|
11810
|
+
), Pc = async ({
|
|
11808
11811
|
newsformated: e,
|
|
11809
11812
|
internal: t,
|
|
11810
11813
|
commonServices: s
|
|
@@ -11829,7 +11832,7 @@ const Uc = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
11829
11832
|
/* @__PURE__ */ a("div", { className: "sass-com-in2-description", children: o && o[0]?.description })
|
|
11830
11833
|
] });
|
|
11831
11834
|
};
|
|
11832
|
-
function
|
|
11835
|
+
function kc(e) {
|
|
11833
11836
|
const t = e.children, s = `${e.slot_id}-`, n = e.visibleItems, r = e.cardGap ?? 20;
|
|
11834
11837
|
function o(l) {
|
|
11835
11838
|
const d = [], c = [];
|
|
@@ -12515,17 +12518,17 @@ const jc = async (e) => {
|
|
|
12515
12518
|
if (!c) break;
|
|
12516
12519
|
const u = c[0], h = c[1] ?? "";
|
|
12517
12520
|
r.add(h);
|
|
12518
|
-
const m = u.match(/<figcaption[^>]*>([\s\S]*?)<\/figcaption>/i), f = m ? m[1].replace(/<[^>]+>/g, "").trim() : null, w = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), g = u.match(/<img\b[^>]*\btitle=["']([^"']*)["']/), A = f || w?.[1] || g?.[1] || "imagen", b = h.match(/__scale=([^&"']+)/),
|
|
12521
|
+
const m = u.match(/<figcaption[^>]*>([\s\S]*?)<\/figcaption>/i), f = m ? m[1].replace(/<[^>]+>/g, "").trim() : null, w = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), g = u.match(/<img\b[^>]*\btitle=["']([^"']*)["']/), A = f || w?.[1] || g?.[1] || "imagen", b = h.match(/__scale=([^&"']+)/), y = b ? decodeURIComponent(b[1]) : null;
|
|
12519
12522
|
let E = 0, S = 0;
|
|
12520
|
-
if (
|
|
12521
|
-
const
|
|
12522
|
-
E =
|
|
12523
|
+
if (y) {
|
|
12524
|
+
const $ = y.match(/w:(\d+)/), q = y.match(/h:(\d+)/);
|
|
12525
|
+
E = $ ? parseInt($[1]) : 0, S = q ? parseInt(q[1]) : 0;
|
|
12523
12526
|
}
|
|
12524
12527
|
const T = {
|
|
12525
12528
|
preview: {
|
|
12526
12529
|
sizes: [
|
|
12527
12530
|
{
|
|
12528
|
-
scale:
|
|
12531
|
+
scale: y || `w:${E},h:${S},t:2`,
|
|
12529
12532
|
url: h,
|
|
12530
12533
|
width: E,
|
|
12531
12534
|
height: S
|
|
@@ -12542,33 +12545,33 @@ const jc = async (e) => {
|
|
|
12542
12545
|
},
|
|
12543
12546
|
isLarge: !1,
|
|
12544
12547
|
priorityHigh: !1
|
|
12545
|
-
},
|
|
12546
|
-
n = n.replace(u,
|
|
12548
|
+
}, k = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(T))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
|
|
12549
|
+
n = n.replace(u, k), o.lastIndex = 0;
|
|
12547
12550
|
}
|
|
12548
12551
|
const l = /<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/g, d = [...n.matchAll(l)];
|
|
12549
12552
|
for (const c of d) {
|
|
12550
12553
|
const u = c[0], h = c[1] ?? "";
|
|
12551
12554
|
if (r.has(h)) continue;
|
|
12552
12555
|
const m = u.match(/\balt=["']([^"']*)["']/), f = u.match(/\btitle=["']([^"']*)["']/), w = m?.[1] || f?.[1] || "imagen", g = h.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
|
|
12553
|
-
let b = 0,
|
|
12556
|
+
let b = 0, y = 0;
|
|
12554
12557
|
if (A) {
|
|
12555
|
-
const x = A.match(/w:(\d+)/),
|
|
12556
|
-
b = x ? parseInt(x[1]) : 0,
|
|
12558
|
+
const x = A.match(/w:(\d+)/), k = A.match(/h:(\d+)/);
|
|
12559
|
+
b = x ? parseInt(x[1]) : 0, y = k ? parseInt(k[1]) : 0;
|
|
12557
12560
|
}
|
|
12558
12561
|
const S = {
|
|
12559
12562
|
preview: {
|
|
12560
12563
|
sizes: [
|
|
12561
12564
|
{
|
|
12562
|
-
scale: A || `w:${b},h:${
|
|
12565
|
+
scale: A || `w:${b},h:${y},t:2`,
|
|
12563
12566
|
url: h,
|
|
12564
12567
|
width: b,
|
|
12565
|
-
height:
|
|
12568
|
+
height: y
|
|
12566
12569
|
}
|
|
12567
12570
|
],
|
|
12568
12571
|
original: {
|
|
12569
12572
|
url: h.split("?")[0],
|
|
12570
12573
|
width: b,
|
|
12571
|
-
height:
|
|
12574
|
+
height: y
|
|
12572
12575
|
},
|
|
12573
12576
|
copyright: !1,
|
|
12574
12577
|
description: w,
|
|
@@ -12631,7 +12634,7 @@ const jc = async (e) => {
|
|
|
12631
12634
|
(w) => w[1]
|
|
12632
12635
|
).map(
|
|
12633
12636
|
(w) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${w}" class="carrusel-note-item" width="800" height="469"/>`
|
|
12634
|
-
), m = "gallery_embeded" + d.toString(), f =
|
|
12637
|
+
), m = "gallery_embeded" + d.toString(), f = kc({
|
|
12635
12638
|
slot_id: m,
|
|
12636
12639
|
children: h,
|
|
12637
12640
|
visibleItems: 1,
|
|
@@ -12646,15 +12649,15 @@ const jc = async (e) => {
|
|
|
12646
12649
|
let o = e;
|
|
12647
12650
|
for (const i of r) {
|
|
12648
12651
|
const l = i[0], d = i[1] ?? "", c = s.find(
|
|
12649
|
-
(
|
|
12652
|
+
(y) => d.includes(y?.[0]?.info.link.internal || "")
|
|
12650
12653
|
);
|
|
12651
12654
|
if (!c || !c[0]) continue;
|
|
12652
12655
|
const u = c[0].preview?.sizes?.[0], h = u ? await ue(u.url) : "", m = c[0].info.section?.url ?? "#", f = c[0].info.section?.name ?? "Sección", w = c[0].info.link?.url ?? "#", g = c[0].main?.title.article ?? "Título", A = (await Promise.all(
|
|
12653
|
-
c[0].preview?.sizes?.map(async (
|
|
12654
|
-
const S = await ue(
|
|
12656
|
+
c[0].preview?.sizes?.map(async (y, E) => {
|
|
12657
|
+
const S = await ue(y.url);
|
|
12655
12658
|
return E === 0 ? `<source srcset="${S}" media="(width >= 900px)"/>` : `<source srcset="${S}" media="(width < 900px)"/>`;
|
|
12656
12659
|
})
|
|
12657
|
-
)).reduce((
|
|
12660
|
+
)).reduce((y, E) => y += E, ""), b = `
|
|
12658
12661
|
<span data-src="${d}">
|
|
12659
12662
|
<picture style='display: flex'>
|
|
12660
12663
|
${A}
|
|
@@ -12680,12 +12683,12 @@ async function $c(e, t) {
|
|
|
12680
12683
|
let d = 1, c = l;
|
|
12681
12684
|
const u = e.length;
|
|
12682
12685
|
for (; c < u && d > 0; ) {
|
|
12683
|
-
const b = e.indexOf("<div", c),
|
|
12684
|
-
if (
|
|
12686
|
+
const b = e.indexOf("<div", c), y = e.indexOf("</div>", c);
|
|
12687
|
+
if (y === -1) {
|
|
12685
12688
|
c = u;
|
|
12686
12689
|
break;
|
|
12687
12690
|
}
|
|
12688
|
-
b !== -1 && b <
|
|
12691
|
+
b !== -1 && b < y ? (d += 1, c = b + 4) : (d -= 1, c = y + 6);
|
|
12689
12692
|
}
|
|
12690
12693
|
const h = c, m = e.slice(i, h);
|
|
12691
12694
|
let f = null;
|
|
@@ -12695,9 +12698,9 @@ async function $c(e, t) {
|
|
|
12695
12698
|
const b = g[1];
|
|
12696
12699
|
if (!b) break;
|
|
12697
12700
|
if (/data-type\s*=\s*["']?video["']?/i.test(b)) {
|
|
12698
|
-
const
|
|
12699
|
-
if (
|
|
12700
|
-
f =
|
|
12701
|
+
const y = b.match(/data-src\s*=\s*["']([^"']+)["']/i);
|
|
12702
|
+
if (y) {
|
|
12703
|
+
f = y[1] ?? "";
|
|
12701
12704
|
break;
|
|
12702
12705
|
}
|
|
12703
12706
|
}
|
|
@@ -12707,14 +12710,14 @@ async function $c(e, t) {
|
|
|
12707
12710
|
/<span\b[^>]*data-src=["'][^"']+["'][^>]*>/i
|
|
12708
12711
|
);
|
|
12709
12712
|
if (b) {
|
|
12710
|
-
const
|
|
12711
|
-
|
|
12713
|
+
const y = b[0].match(/data-src\s*=\s*["']([^"']+)["']/i);
|
|
12714
|
+
y && (f = y[1] ?? "");
|
|
12712
12715
|
}
|
|
12713
12716
|
}
|
|
12714
12717
|
let A = "";
|
|
12715
12718
|
if (f)
|
|
12716
12719
|
try {
|
|
12717
|
-
const b = await t.iframe({ path: f }),
|
|
12720
|
+
const b = await t.iframe({ path: f }), y = t.schema ? await t.schema(f) : null;
|
|
12718
12721
|
if (b && b.data) {
|
|
12719
12722
|
const E = b.data.data[0];
|
|
12720
12723
|
let S = "";
|
|
@@ -12739,8 +12742,8 @@ async function $c(e, t) {
|
|
|
12739
12742
|
const x = T || E.main?.description || "";
|
|
12740
12743
|
A = `
|
|
12741
12744
|
<figure class="videoFigure">
|
|
12742
|
-
${
|
|
12743
|
-
JSON.stringify(
|
|
12745
|
+
${y && y.data && y.data.data ? `<script type="application/ld+json">${Qt(
|
|
12746
|
+
JSON.stringify(y.data.data)
|
|
12744
12747
|
)}<\/script>` : ""}
|
|
12745
12748
|
${S}
|
|
12746
12749
|
<figcaption>${x}</figcaption>
|
|
@@ -12780,7 +12783,7 @@ async function Kc(e) {
|
|
|
12780
12783
|
const f = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT: w, CONFIG_blockDefaultTwitterHydrator: g } = _(), A = t.config.articlepreview === Fe.fotoGaleria && t.hascontent?.hasgalleryimages;
|
|
12781
12784
|
return /* @__PURE__ */ p(te, { children: [
|
|
12782
12785
|
o !== "liveblogs" && e.showHeaderImage ? A ? /* @__PURE__ */ a(
|
|
12783
|
-
|
|
12786
|
+
Pc,
|
|
12784
12787
|
{
|
|
12785
12788
|
commonServices: c,
|
|
12786
12789
|
newsformated: t,
|
|
@@ -13135,7 +13138,7 @@ function Vm({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
13135
13138
|
window.location.href = `/api/auth/login?redirect=${v}`;
|
|
13136
13139
|
}, b = (v, T) => {
|
|
13137
13140
|
l((x) => ({ ...x, [v]: T }));
|
|
13138
|
-
},
|
|
13141
|
+
}, y = async (v) => {
|
|
13139
13142
|
v.preventDefault(), f(null), h(!0);
|
|
13140
13143
|
try {
|
|
13141
13144
|
const T = Object.keys(r).filter((V) => !["username", "password", "confirmPassword"].includes(V)).map((V) => ({ Name: V, Value: i[V] }));
|
|
@@ -13154,8 +13157,8 @@ function Vm({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
13154
13157
|
f(n.errorPasswordInvalid);
|
|
13155
13158
|
return;
|
|
13156
13159
|
}
|
|
13157
|
-
const
|
|
13158
|
-
T.push({ Name: "updated_at", Value: String(
|
|
13160
|
+
const $ = Math.floor(Date.now() / 1e3);
|
|
13161
|
+
T.push({ Name: "updated_at", Value: String($) });
|
|
13159
13162
|
const q = t.PUBLIC_ENV === "local" ? "token" : await is(
|
|
13160
13163
|
"comment_register",
|
|
13161
13164
|
t.CAPTCHA_KEY ?? ""
|
|
@@ -13232,7 +13235,7 @@ function Vm({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
13232
13235
|
/* @__PURE__ */ p(
|
|
13233
13236
|
"form",
|
|
13234
13237
|
{
|
|
13235
|
-
onSubmit:
|
|
13238
|
+
onSubmit: y,
|
|
13236
13239
|
className: "sass-pg-login-form",
|
|
13237
13240
|
"data-error": m ? "true" : "false",
|
|
13238
13241
|
children: [
|
|
@@ -13249,18 +13252,18 @@ function Vm({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
13249
13252
|
placeholder: ""
|
|
13250
13253
|
}
|
|
13251
13254
|
),
|
|
13252
|
-
v === "password" && /* @__PURE__ */ a("div", { className: "sass-pg-login-passwordChecker", children: o.map((x,
|
|
13253
|
-
const
|
|
13255
|
+
v === "password" && /* @__PURE__ */ a("div", { className: "sass-pg-login-passwordChecker", children: o.map((x, k) => {
|
|
13256
|
+
const $ = x.test(S);
|
|
13254
13257
|
return /* @__PURE__ */ p(
|
|
13255
13258
|
"div",
|
|
13256
13259
|
{
|
|
13257
|
-
className:
|
|
13260
|
+
className: $ ? "sass-pg-login-valid" : "sass-pg-login-invalid",
|
|
13258
13261
|
children: [
|
|
13259
|
-
/* @__PURE__ */ a("div", { children:
|
|
13262
|
+
/* @__PURE__ */ a("div", { children: $ ? "✔" : "○" }),
|
|
13260
13263
|
/* @__PURE__ */ a("div", { children: x.label })
|
|
13261
13264
|
]
|
|
13262
13265
|
},
|
|
13263
|
-
|
|
13266
|
+
k
|
|
13264
13267
|
);
|
|
13265
13268
|
}) }),
|
|
13266
13269
|
v === "confirmPassword" && /* @__PURE__ */ p("div", { className: "sass-pg-login-checkboxRow", children: [
|
|
@@ -13385,7 +13388,7 @@ function Fm({
|
|
|
13385
13388
|
API_ENV: e,
|
|
13386
13389
|
texts: t
|
|
13387
13390
|
}) {
|
|
13388
|
-
const s = { ...sd, ...t?.comentarios }, [n, r] = Y("login"), [o, i] = Y(""), [l, d] = Y(""), [c, u] = Y(""), [h, m] = Y(""), [f, w] = Y(""), [g, A] = Y(!1), [b,
|
|
13391
|
+
const s = { ...sd, ...t?.comentarios }, [n, r] = Y("login"), [o, i] = Y(""), [l, d] = Y(""), [c, u] = Y(""), [h, m] = Y(""), [f, w] = Y(""), [g, A] = Y(!1), [b, y] = Y(!1), [E, S] = Y(null);
|
|
13389
13392
|
de.useEffect(() => {
|
|
13390
13393
|
if (typeof window > "u") return;
|
|
13391
13394
|
window.location.hash.includes("forgot") && n === "login" && r("forgot"), n === "login" && T();
|
|
@@ -13415,18 +13418,18 @@ function Fm({
|
|
|
13415
13418
|
S("Complete todos los campos");
|
|
13416
13419
|
return;
|
|
13417
13420
|
}
|
|
13418
|
-
S(null),
|
|
13421
|
+
S(null), y(!0);
|
|
13419
13422
|
try {
|
|
13420
13423
|
const V = e.PUBLIC_ENV === "local" ? "token" : await is("comment_login", e.CAPTCHA_KEY || "");
|
|
13421
13424
|
if (!V) throw new Error("Captcha token no generado");
|
|
13422
|
-
const
|
|
13425
|
+
const K = await fetch("/api/auth/login-password", {
|
|
13423
13426
|
method: "POST",
|
|
13424
13427
|
headers: { "Content-Type": "application/json" },
|
|
13425
13428
|
credentials: "include",
|
|
13426
13429
|
body: JSON.stringify({ email: o, password: l, token: V })
|
|
13427
13430
|
});
|
|
13428
|
-
if (
|
|
13429
|
-
const O = await
|
|
13431
|
+
if (!K.ok) {
|
|
13432
|
+
const O = await K.json().catch(() => ({}));
|
|
13430
13433
|
throw new Error(O?.error || "Ha ocurrido un error");
|
|
13431
13434
|
}
|
|
13432
13435
|
await T();
|
|
@@ -13434,7 +13437,7 @@ function Fm({
|
|
|
13434
13437
|
} catch (V) {
|
|
13435
13438
|
S(V?.message || "Error inesperado");
|
|
13436
13439
|
} finally {
|
|
13437
|
-
|
|
13440
|
+
y(!1);
|
|
13438
13441
|
}
|
|
13439
13442
|
}
|
|
13440
13443
|
},
|
|
@@ -13462,7 +13465,7 @@ function Fm({
|
|
|
13462
13465
|
error: E,
|
|
13463
13466
|
onSubmit: async (R) => {
|
|
13464
13467
|
if (!b) {
|
|
13465
|
-
R.preventDefault(), S(null),
|
|
13468
|
+
R.preventDefault(), S(null), y(!0);
|
|
13466
13469
|
try {
|
|
13467
13470
|
const V = await fetch("/api/auth/forgot-password", {
|
|
13468
13471
|
method: "POST",
|
|
@@ -13470,14 +13473,14 @@ function Fm({
|
|
|
13470
13473
|
body: JSON.stringify({ email: o })
|
|
13471
13474
|
});
|
|
13472
13475
|
if (!V.ok) {
|
|
13473
|
-
const
|
|
13474
|
-
throw new Error(
|
|
13476
|
+
const K = await V.json().catch(() => ({}));
|
|
13477
|
+
throw new Error(K?.error || "Error al enviar código");
|
|
13475
13478
|
}
|
|
13476
13479
|
d(""), r("changePassword");
|
|
13477
13480
|
} catch (V) {
|
|
13478
13481
|
S(V?.message || "Error inesperado");
|
|
13479
13482
|
} finally {
|
|
13480
|
-
|
|
13483
|
+
y(!1);
|
|
13481
13484
|
}
|
|
13482
13485
|
}
|
|
13483
13486
|
},
|
|
@@ -13508,27 +13511,27 @@ function Fm({
|
|
|
13508
13511
|
return;
|
|
13509
13512
|
}
|
|
13510
13513
|
if (Vn.some(
|
|
13511
|
-
(
|
|
13514
|
+
(K) => !K.test(h)
|
|
13512
13515
|
)) {
|
|
13513
13516
|
S("La contraseña no cumple con los requisitos");
|
|
13514
13517
|
return;
|
|
13515
13518
|
}
|
|
13516
|
-
S(null),
|
|
13519
|
+
S(null), y(!0);
|
|
13517
13520
|
try {
|
|
13518
|
-
const
|
|
13521
|
+
const K = await fetch("/api/auth/confirm-forgot-password", {
|
|
13519
13522
|
method: "POST",
|
|
13520
13523
|
headers: { "Content-Type": "application/json" },
|
|
13521
13524
|
body: JSON.stringify({ email: o, code: c, newPassword: h })
|
|
13522
13525
|
});
|
|
13523
|
-
if (
|
|
13524
|
-
const O = await
|
|
13526
|
+
if (!K.ok) {
|
|
13527
|
+
const O = await K.json().catch(() => ({}));
|
|
13525
13528
|
throw new Error(O?.error || "Error al cambiar contraseña");
|
|
13526
13529
|
}
|
|
13527
13530
|
r("feedback");
|
|
13528
|
-
} catch (
|
|
13529
|
-
S(
|
|
13531
|
+
} catch (K) {
|
|
13532
|
+
S(K?.message || "Error inesperado");
|
|
13530
13533
|
} finally {
|
|
13531
|
-
|
|
13534
|
+
y(!1);
|
|
13532
13535
|
}
|
|
13533
13536
|
},
|
|
13534
13537
|
onBack: () => {
|
|
@@ -13851,7 +13854,7 @@ const Qm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
13851
13854
|
hasShadow: n = !1,
|
|
13852
13855
|
BackDropAuxHeigthMobile: r
|
|
13853
13856
|
//isVisible,
|
|
13854
|
-
} = e, o =
|
|
13857
|
+
} = e, o = Pn(), i = gt(() => {
|
|
13855
13858
|
const m = e?.preview?.sizes;
|
|
13856
13859
|
if (m && Array.isArray(m) && m.length > 0) return m;
|
|
13857
13860
|
const f = e?.preview?.original;
|
|
@@ -14004,13 +14007,13 @@ const Qm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
14004
14007
|
const {
|
|
14005
14008
|
PUBLIC_API_FRONT: A,
|
|
14006
14009
|
PUBLIC_X_SECURITY_TOKEN: b,
|
|
14007
|
-
PUBLIC_API_PATH_VERSION:
|
|
14010
|
+
PUBLIC_API_PATH_VERSION: y,
|
|
14008
14011
|
PUBLIC_PUBLICATION_ID: E
|
|
14009
14012
|
} = o;
|
|
14010
|
-
if (!A || !b || !E || !
|
|
14013
|
+
if (!A || !b || !E || !y)
|
|
14011
14014
|
throw new Error("Missing required environment variables");
|
|
14012
14015
|
const S = await oe.get(
|
|
14013
|
-
`${A}${
|
|
14016
|
+
`${A}${y}/news-list-section`,
|
|
14014
14017
|
{
|
|
14015
14018
|
params: {
|
|
14016
14019
|
size: d + 1,
|
|
@@ -14220,7 +14223,7 @@ const Qm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
14220
14223
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
14221
14224
|
"--colorSubTitle": e.colorSubTitle
|
|
14222
14225
|
},
|
|
14223
|
-
children: s ?
|
|
14226
|
+
children: s ? Pe(e.main?.subtitle?.striped) : e.main?.subtitle?.striped
|
|
14224
14227
|
}
|
|
14225
14228
|
),
|
|
14226
14229
|
(e?.config?.showtime || e.config?.showauthor) && l && /* @__PURE__ */ a(te, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
@@ -14414,7 +14417,7 @@ var Da;
|
|
|
14414
14417
|
function bd() {
|
|
14415
14418
|
if (Da) return ne;
|
|
14416
14419
|
Da = 1;
|
|
14417
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, s = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, r = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, i = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, c = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, h = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, f = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, w = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, g = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, A = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, b = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118,
|
|
14420
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, s = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, r = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, i = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, c = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, h = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, f = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, w = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, g = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, A = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, b = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, y = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
14418
14421
|
function E(v) {
|
|
14419
14422
|
if (typeof v == "object" && v !== null) {
|
|
14420
14423
|
var T = v.$$typeof;
|
|
@@ -14473,17 +14476,17 @@ function bd() {
|
|
|
14473
14476
|
}, ne.isSuspense = function(v) {
|
|
14474
14477
|
return E(v) === h;
|
|
14475
14478
|
}, ne.isValidElementType = function(v) {
|
|
14476
|
-
return typeof v == "string" || typeof v == "function" || v === n || v === c || v === o || v === r || v === h || v === m || typeof v == "object" && v !== null && (v.$$typeof === w || v.$$typeof === f || v.$$typeof === i || v.$$typeof === l || v.$$typeof === u || v.$$typeof === A || v.$$typeof === b || v.$$typeof ===
|
|
14479
|
+
return typeof v == "string" || typeof v == "function" || v === n || v === c || v === o || v === r || v === h || v === m || typeof v == "object" && v !== null && (v.$$typeof === w || v.$$typeof === f || v.$$typeof === i || v.$$typeof === l || v.$$typeof === u || v.$$typeof === A || v.$$typeof === b || v.$$typeof === y || v.$$typeof === g);
|
|
14477
14480
|
}, ne.typeOf = E, ne;
|
|
14478
14481
|
}
|
|
14479
14482
|
var re = {};
|
|
14480
14483
|
var qa;
|
|
14481
14484
|
function vd() {
|
|
14482
14485
|
return qa || (qa = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
14483
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, s = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, r = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, i = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, c = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, h = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, f = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, w = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, g = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, A = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, b = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118,
|
|
14486
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, s = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, r = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, i = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, c = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, h = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, f = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, w = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, g = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, A = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, b = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, y = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
14484
14487
|
function E(B) {
|
|
14485
14488
|
return typeof B == "string" || typeof B == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
14486
|
-
B === n || B === c || B === o || B === r || B === h || B === m || typeof B == "object" && B !== null && (B.$$typeof === w || B.$$typeof === f || B.$$typeof === i || B.$$typeof === l || B.$$typeof === u || B.$$typeof === A || B.$$typeof === b || B.$$typeof ===
|
|
14489
|
+
B === n || B === c || B === o || B === r || B === h || B === m || typeof B == "object" && B !== null && (B.$$typeof === w || B.$$typeof === f || B.$$typeof === i || B.$$typeof === l || B.$$typeof === u || B.$$typeof === A || B.$$typeof === b || B.$$typeof === y || B.$$typeof === g);
|
|
14487
14490
|
}
|
|
14488
14491
|
function S(B) {
|
|
14489
14492
|
if (typeof B == "object" && B !== null) {
|
|
@@ -14517,11 +14520,11 @@ function vd() {
|
|
|
14517
14520
|
}
|
|
14518
14521
|
}
|
|
14519
14522
|
}
|
|
14520
|
-
var v = d, T = c, x = l,
|
|
14523
|
+
var v = d, T = c, x = l, k = i, $ = t, q = u, R = n, V = w, K = f, O = s, U = o, L = r, G = h, j = !1;
|
|
14521
14524
|
function X(B) {
|
|
14522
|
-
return j || (j = !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.")),
|
|
14525
|
+
return j || (j = !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.")), C(B) || S(B) === d;
|
|
14523
14526
|
}
|
|
14524
|
-
function
|
|
14527
|
+
function C(B) {
|
|
14525
14528
|
return S(B) === c;
|
|
14526
14529
|
}
|
|
14527
14530
|
function I(B) {
|
|
@@ -14533,7 +14536,7 @@ function vd() {
|
|
|
14533
14536
|
function F(B) {
|
|
14534
14537
|
return typeof B == "object" && B !== null && B.$$typeof === t;
|
|
14535
14538
|
}
|
|
14536
|
-
function
|
|
14539
|
+
function P(B) {
|
|
14537
14540
|
return S(B) === u;
|
|
14538
14541
|
}
|
|
14539
14542
|
function z(B) {
|
|
@@ -14557,7 +14560,7 @@ function vd() {
|
|
|
14557
14560
|
function Q(B) {
|
|
14558
14561
|
return S(B) === h;
|
|
14559
14562
|
}
|
|
14560
|
-
re.AsyncMode = v, re.ConcurrentMode = T, re.ContextConsumer = x, re.ContextProvider =
|
|
14563
|
+
re.AsyncMode = v, re.ConcurrentMode = T, re.ContextConsumer = x, re.ContextProvider = k, re.Element = $, re.ForwardRef = q, re.Fragment = R, re.Lazy = V, re.Memo = K, re.Portal = O, re.Profiler = U, re.StrictMode = L, re.Suspense = G, re.isAsyncMode = X, re.isConcurrentMode = C, re.isContextConsumer = I, re.isContextProvider = D, re.isElement = F, re.isForwardRef = P, re.isFragment = z, re.isLazy = J, re.isMemo = Z, re.isPortal = ee, re.isProfiler = se, re.isStrictMode = W, re.isSuspense = Q, re.isValidElementType = E, re.typeOf = S;
|
|
14561
14564
|
})()), re;
|
|
14562
14565
|
}
|
|
14563
14566
|
var ja;
|
|
@@ -14689,8 +14692,8 @@ function Nd() {
|
|
|
14689
14692
|
}
|
|
14690
14693
|
return ws = function(l, d) {
|
|
14691
14694
|
var c = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
14692
|
-
function h(
|
|
14693
|
-
var I =
|
|
14695
|
+
function h(C) {
|
|
14696
|
+
var I = C && (c && C[c] || C[u]);
|
|
14694
14697
|
if (typeof I == "function")
|
|
14695
14698
|
return I;
|
|
14696
14699
|
}
|
|
@@ -14703,26 +14706,26 @@ function Nd() {
|
|
|
14703
14706
|
object: b("object"),
|
|
14704
14707
|
string: b("string"),
|
|
14705
14708
|
symbol: b("symbol"),
|
|
14706
|
-
any:
|
|
14709
|
+
any: y(),
|
|
14707
14710
|
arrayOf: E,
|
|
14708
14711
|
element: S(),
|
|
14709
14712
|
elementType: v(),
|
|
14710
14713
|
instanceOf: T,
|
|
14711
14714
|
node: q(),
|
|
14712
|
-
objectOf:
|
|
14715
|
+
objectOf: k,
|
|
14713
14716
|
oneOf: x,
|
|
14714
|
-
oneOfType:
|
|
14717
|
+
oneOfType: $,
|
|
14715
14718
|
shape: V,
|
|
14716
|
-
exact:
|
|
14719
|
+
exact: K
|
|
14717
14720
|
};
|
|
14718
|
-
function w(
|
|
14719
|
-
return
|
|
14721
|
+
function w(C, I) {
|
|
14722
|
+
return C === I ? C !== 0 || 1 / C === 1 / I : C !== C && I !== I;
|
|
14720
14723
|
}
|
|
14721
|
-
function g(
|
|
14722
|
-
this.message =
|
|
14724
|
+
function g(C, I) {
|
|
14725
|
+
this.message = C, this.data = I && typeof I == "object" ? I : {}, this.stack = "";
|
|
14723
14726
|
}
|
|
14724
14727
|
g.prototype = Error.prototype;
|
|
14725
|
-
function A(
|
|
14728
|
+
function A(C) {
|
|
14726
14729
|
if (process.env.NODE_ENV !== "production")
|
|
14727
14730
|
var I = {}, D = 0;
|
|
14728
14731
|
function F(z, J, Z, ee, se, W, Q) {
|
|
@@ -14740,39 +14743,39 @@ function Nd() {
|
|
|
14740
14743
|
), I[le] = !0, D++);
|
|
14741
14744
|
}
|
|
14742
14745
|
}
|
|
14743
|
-
return J[Z] == null ? z ? J[Z] === null ? new g("The " + se + " `" + W + "` is marked as required " + ("in `" + ee + "`, but its value is `null`.")) : new g("The " + se + " `" + W + "` is marked as required in " + ("`" + ee + "`, but its value is `undefined`.")) : null :
|
|
14746
|
+
return J[Z] == null ? z ? J[Z] === null ? new g("The " + se + " `" + W + "` is marked as required " + ("in `" + ee + "`, but its value is `null`.")) : new g("The " + se + " `" + W + "` is marked as required in " + ("`" + ee + "`, but its value is `undefined`.")) : null : C(J, Z, ee, se, W);
|
|
14744
14747
|
}
|
|
14745
|
-
var
|
|
14746
|
-
return
|
|
14748
|
+
var P = F.bind(null, !1);
|
|
14749
|
+
return P.isRequired = F.bind(null, !0), P;
|
|
14747
14750
|
}
|
|
14748
|
-
function b(
|
|
14749
|
-
function I(D, F,
|
|
14751
|
+
function b(C) {
|
|
14752
|
+
function I(D, F, P, z, J, Z) {
|
|
14750
14753
|
var ee = D[F], se = L(ee);
|
|
14751
|
-
if (se !==
|
|
14754
|
+
if (se !== C) {
|
|
14752
14755
|
var W = G(ee);
|
|
14753
14756
|
return new g(
|
|
14754
|
-
"Invalid " + z + " `" + J + "` of type " + ("`" + W + "` supplied to `" +
|
|
14755
|
-
{ expectedType:
|
|
14757
|
+
"Invalid " + z + " `" + J + "` of type " + ("`" + W + "` supplied to `" + P + "`, expected ") + ("`" + C + "`."),
|
|
14758
|
+
{ expectedType: C }
|
|
14756
14759
|
);
|
|
14757
14760
|
}
|
|
14758
14761
|
return null;
|
|
14759
14762
|
}
|
|
14760
14763
|
return A(I);
|
|
14761
14764
|
}
|
|
14762
|
-
function
|
|
14765
|
+
function y() {
|
|
14763
14766
|
return A(i);
|
|
14764
14767
|
}
|
|
14765
|
-
function E(
|
|
14766
|
-
function I(D, F,
|
|
14767
|
-
if (typeof
|
|
14768
|
-
return new g("Property `" + J + "` of component `" +
|
|
14768
|
+
function E(C) {
|
|
14769
|
+
function I(D, F, P, z, J) {
|
|
14770
|
+
if (typeof C != "function")
|
|
14771
|
+
return new g("Property `" + J + "` of component `" + P + "` has invalid PropType notation inside arrayOf.");
|
|
14769
14772
|
var Z = D[F];
|
|
14770
14773
|
if (!Array.isArray(Z)) {
|
|
14771
14774
|
var ee = L(Z);
|
|
14772
|
-
return new g("Invalid " + z + " `" + J + "` of type " + ("`" + ee + "` supplied to `" +
|
|
14775
|
+
return new g("Invalid " + z + " `" + J + "` of type " + ("`" + ee + "` supplied to `" + P + "`, expected an array."));
|
|
14773
14776
|
}
|
|
14774
14777
|
for (var se = 0; se < Z.length; se++) {
|
|
14775
|
-
var W =
|
|
14778
|
+
var W = C(Z, se, P, z, J + "[" + se + "]", s);
|
|
14776
14779
|
if (W instanceof Error)
|
|
14777
14780
|
return W;
|
|
14778
14781
|
}
|
|
@@ -14781,64 +14784,64 @@ function Nd() {
|
|
|
14781
14784
|
return A(I);
|
|
14782
14785
|
}
|
|
14783
14786
|
function S() {
|
|
14784
|
-
function
|
|
14787
|
+
function C(I, D, F, P, z) {
|
|
14785
14788
|
var J = I[D];
|
|
14786
14789
|
if (!l(J)) {
|
|
14787
14790
|
var Z = L(J);
|
|
14788
|
-
return new g("Invalid " +
|
|
14791
|
+
return new g("Invalid " + P + " `" + z + "` of type " + ("`" + Z + "` supplied to `" + F + "`, expected a single ReactElement."));
|
|
14789
14792
|
}
|
|
14790
14793
|
return null;
|
|
14791
14794
|
}
|
|
14792
|
-
return A(
|
|
14795
|
+
return A(C);
|
|
14793
14796
|
}
|
|
14794
14797
|
function v() {
|
|
14795
|
-
function
|
|
14798
|
+
function C(I, D, F, P, z) {
|
|
14796
14799
|
var J = I[D];
|
|
14797
14800
|
if (!e.isValidElementType(J)) {
|
|
14798
14801
|
var Z = L(J);
|
|
14799
|
-
return new g("Invalid " +
|
|
14802
|
+
return new g("Invalid " + P + " `" + z + "` of type " + ("`" + Z + "` supplied to `" + F + "`, expected a single ReactElement type."));
|
|
14800
14803
|
}
|
|
14801
14804
|
return null;
|
|
14802
14805
|
}
|
|
14803
|
-
return A(
|
|
14806
|
+
return A(C);
|
|
14804
14807
|
}
|
|
14805
|
-
function T(
|
|
14806
|
-
function I(D, F,
|
|
14807
|
-
if (!(D[F] instanceof
|
|
14808
|
-
var Z =
|
|
14809
|
-
return new g("Invalid " + z + " `" + J + "` of type " + ("`" + ee + "` supplied to `" +
|
|
14808
|
+
function T(C) {
|
|
14809
|
+
function I(D, F, P, z, J) {
|
|
14810
|
+
if (!(D[F] instanceof C)) {
|
|
14811
|
+
var Z = C.name || m, ee = X(D[F]);
|
|
14812
|
+
return new g("Invalid " + z + " `" + J + "` of type " + ("`" + ee + "` supplied to `" + P + "`, expected ") + ("instance of `" + Z + "`."));
|
|
14810
14813
|
}
|
|
14811
14814
|
return null;
|
|
14812
14815
|
}
|
|
14813
14816
|
return A(I);
|
|
14814
14817
|
}
|
|
14815
|
-
function x(
|
|
14816
|
-
if (!Array.isArray(
|
|
14818
|
+
function x(C) {
|
|
14819
|
+
if (!Array.isArray(C))
|
|
14817
14820
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
14818
14821
|
"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])."
|
|
14819
14822
|
) : o("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
14820
|
-
function I(D, F,
|
|
14821
|
-
for (var Z = D[F], ee = 0; ee <
|
|
14822
|
-
if (w(Z,
|
|
14823
|
+
function I(D, F, P, z, J) {
|
|
14824
|
+
for (var Z = D[F], ee = 0; ee < C.length; ee++)
|
|
14825
|
+
if (w(Z, C[ee]))
|
|
14823
14826
|
return null;
|
|
14824
|
-
var se = JSON.stringify(
|
|
14827
|
+
var se = JSON.stringify(C, function(Q, B) {
|
|
14825
14828
|
var le = G(B);
|
|
14826
14829
|
return le === "symbol" ? String(B) : B;
|
|
14827
14830
|
});
|
|
14828
|
-
return new g("Invalid " + z + " `" + J + "` of value `" + String(Z) + "` " + ("supplied to `" +
|
|
14831
|
+
return new g("Invalid " + z + " `" + J + "` of value `" + String(Z) + "` " + ("supplied to `" + P + "`, expected one of " + se + "."));
|
|
14829
14832
|
}
|
|
14830
14833
|
return A(I);
|
|
14831
14834
|
}
|
|
14832
|
-
function
|
|
14833
|
-
function I(D, F,
|
|
14834
|
-
if (typeof
|
|
14835
|
-
return new g("Property `" + J + "` of component `" +
|
|
14835
|
+
function k(C) {
|
|
14836
|
+
function I(D, F, P, z, J) {
|
|
14837
|
+
if (typeof C != "function")
|
|
14838
|
+
return new g("Property `" + J + "` of component `" + P + "` has invalid PropType notation inside objectOf.");
|
|
14836
14839
|
var Z = D[F], ee = L(Z);
|
|
14837
14840
|
if (ee !== "object")
|
|
14838
|
-
return new g("Invalid " + z + " `" + J + "` of type " + ("`" + ee + "` supplied to `" +
|
|
14841
|
+
return new g("Invalid " + z + " `" + J + "` of type " + ("`" + ee + "` supplied to `" + P + "`, expected an object."));
|
|
14839
14842
|
for (var se in Z)
|
|
14840
14843
|
if (n(Z, se)) {
|
|
14841
|
-
var W =
|
|
14844
|
+
var W = C(Z, se, P, z, J + "." + se, s);
|
|
14842
14845
|
if (W instanceof Error)
|
|
14843
14846
|
return W;
|
|
14844
14847
|
}
|
|
@@ -14846,19 +14849,19 @@ function Nd() {
|
|
|
14846
14849
|
}
|
|
14847
14850
|
return A(I);
|
|
14848
14851
|
}
|
|
14849
|
-
function
|
|
14850
|
-
if (!Array.isArray(
|
|
14852
|
+
function $(C) {
|
|
14853
|
+
if (!Array.isArray(C))
|
|
14851
14854
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), i;
|
|
14852
|
-
for (var I = 0; I <
|
|
14853
|
-
var D =
|
|
14855
|
+
for (var I = 0; I < C.length; I++) {
|
|
14856
|
+
var D = C[I];
|
|
14854
14857
|
if (typeof D != "function")
|
|
14855
14858
|
return o(
|
|
14856
14859
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + j(D) + " at index " + I + "."
|
|
14857
14860
|
), i;
|
|
14858
14861
|
}
|
|
14859
|
-
function F(
|
|
14860
|
-
for (var se = [], W = 0; W <
|
|
14861
|
-
var Q =
|
|
14862
|
+
function F(P, z, J, Z, ee) {
|
|
14863
|
+
for (var se = [], W = 0; W < C.length; W++) {
|
|
14864
|
+
var Q = C[W], B = Q(P, z, J, Z, ee, s);
|
|
14862
14865
|
if (B == null)
|
|
14863
14866
|
return null;
|
|
14864
14867
|
B.data && n(B.data, "expectedType") && se.push(B.data.expectedType);
|
|
@@ -14869,26 +14872,26 @@ function Nd() {
|
|
|
14869
14872
|
return A(F);
|
|
14870
14873
|
}
|
|
14871
14874
|
function q() {
|
|
14872
|
-
function
|
|
14873
|
-
return O(I[D]) ? null : new g("Invalid " +
|
|
14875
|
+
function C(I, D, F, P, z) {
|
|
14876
|
+
return O(I[D]) ? null : new g("Invalid " + P + " `" + z + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
|
|
14874
14877
|
}
|
|
14875
|
-
return A(
|
|
14878
|
+
return A(C);
|
|
14876
14879
|
}
|
|
14877
|
-
function R(
|
|
14880
|
+
function R(C, I, D, F, P) {
|
|
14878
14881
|
return new g(
|
|
14879
|
-
(
|
|
14882
|
+
(C || "React class") + ": " + I + " type `" + D + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + P + "`."
|
|
14880
14883
|
);
|
|
14881
14884
|
}
|
|
14882
|
-
function V(
|
|
14883
|
-
function I(D, F,
|
|
14885
|
+
function V(C) {
|
|
14886
|
+
function I(D, F, P, z, J) {
|
|
14884
14887
|
var Z = D[F], ee = L(Z);
|
|
14885
14888
|
if (ee !== "object")
|
|
14886
|
-
return new g("Invalid " + z + " `" + J + "` of type `" + ee + "` " + ("supplied to `" +
|
|
14887
|
-
for (var se in
|
|
14888
|
-
var W =
|
|
14889
|
+
return new g("Invalid " + z + " `" + J + "` of type `" + ee + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
14890
|
+
for (var se in C) {
|
|
14891
|
+
var W = C[se];
|
|
14889
14892
|
if (typeof W != "function")
|
|
14890
|
-
return R(
|
|
14891
|
-
var Q = W(Z, se,
|
|
14893
|
+
return R(P, z, J, se, G(W));
|
|
14894
|
+
var Q = W(Z, se, P, z, J + "." + se, s);
|
|
14892
14895
|
if (Q)
|
|
14893
14896
|
return Q;
|
|
14894
14897
|
}
|
|
@@ -14896,22 +14899,22 @@ function Nd() {
|
|
|
14896
14899
|
}
|
|
14897
14900
|
return A(I);
|
|
14898
14901
|
}
|
|
14899
|
-
function
|
|
14900
|
-
function I(D, F,
|
|
14902
|
+
function K(C) {
|
|
14903
|
+
function I(D, F, P, z, J) {
|
|
14901
14904
|
var Z = D[F], ee = L(Z);
|
|
14902
14905
|
if (ee !== "object")
|
|
14903
|
-
return new g("Invalid " + z + " `" + J + "` of type `" + ee + "` " + ("supplied to `" +
|
|
14904
|
-
var se = t({}, D[F],
|
|
14906
|
+
return new g("Invalid " + z + " `" + J + "` of type `" + ee + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
14907
|
+
var se = t({}, D[F], C);
|
|
14905
14908
|
for (var W in se) {
|
|
14906
|
-
var Q =
|
|
14907
|
-
if (n(
|
|
14908
|
-
return R(
|
|
14909
|
+
var Q = C[W];
|
|
14910
|
+
if (n(C, W) && typeof Q != "function")
|
|
14911
|
+
return R(P, z, J, W, G(Q));
|
|
14909
14912
|
if (!Q)
|
|
14910
14913
|
return new g(
|
|
14911
|
-
"Invalid " + z + " `" + J + "` key `" + W + "` supplied to `" +
|
|
14912
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
14914
|
+
"Invalid " + z + " `" + J + "` key `" + W + "` supplied to `" + P + "`.\nBad object: " + JSON.stringify(D[F], null, " ") + `
|
|
14915
|
+
Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
14913
14916
|
);
|
|
14914
|
-
var B = Q(Z, W,
|
|
14917
|
+
var B = Q(Z, W, P, z, J + "." + W, s);
|
|
14915
14918
|
if (B)
|
|
14916
14919
|
return B;
|
|
14917
14920
|
}
|
|
@@ -14919,30 +14922,30 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
14919
14922
|
}
|
|
14920
14923
|
return A(I);
|
|
14921
14924
|
}
|
|
14922
|
-
function O(
|
|
14923
|
-
switch (typeof
|
|
14925
|
+
function O(C) {
|
|
14926
|
+
switch (typeof C) {
|
|
14924
14927
|
case "number":
|
|
14925
14928
|
case "string":
|
|
14926
14929
|
case "undefined":
|
|
14927
14930
|
return !0;
|
|
14928
14931
|
case "boolean":
|
|
14929
|
-
return !
|
|
14932
|
+
return !C;
|
|
14930
14933
|
case "object":
|
|
14931
|
-
if (Array.isArray(
|
|
14932
|
-
return
|
|
14933
|
-
if (
|
|
14934
|
+
if (Array.isArray(C))
|
|
14935
|
+
return C.every(O);
|
|
14936
|
+
if (C === null || l(C))
|
|
14934
14937
|
return !0;
|
|
14935
|
-
var I = h(
|
|
14938
|
+
var I = h(C);
|
|
14936
14939
|
if (I) {
|
|
14937
|
-
var D = I.call(
|
|
14938
|
-
if (I !==
|
|
14940
|
+
var D = I.call(C), F;
|
|
14941
|
+
if (I !== C.entries) {
|
|
14939
14942
|
for (; !(F = D.next()).done; )
|
|
14940
14943
|
if (!O(F.value))
|
|
14941
14944
|
return !1;
|
|
14942
14945
|
} else
|
|
14943
14946
|
for (; !(F = D.next()).done; ) {
|
|
14944
|
-
var
|
|
14945
|
-
if (
|
|
14947
|
+
var P = F.value;
|
|
14948
|
+
if (P && !O(P[1]))
|
|
14946
14949
|
return !1;
|
|
14947
14950
|
}
|
|
14948
14951
|
} else
|
|
@@ -14952,27 +14955,27 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
14952
14955
|
return !1;
|
|
14953
14956
|
}
|
|
14954
14957
|
}
|
|
14955
|
-
function U(
|
|
14956
|
-
return
|
|
14958
|
+
function U(C, I) {
|
|
14959
|
+
return C === "symbol" ? !0 : I ? I["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && I instanceof Symbol : !1;
|
|
14957
14960
|
}
|
|
14958
|
-
function L(
|
|
14959
|
-
var I = typeof
|
|
14960
|
-
return Array.isArray(
|
|
14961
|
+
function L(C) {
|
|
14962
|
+
var I = typeof C;
|
|
14963
|
+
return Array.isArray(C) ? "array" : C instanceof RegExp ? "object" : U(I, C) ? "symbol" : I;
|
|
14961
14964
|
}
|
|
14962
|
-
function G(
|
|
14963
|
-
if (typeof
|
|
14964
|
-
return "" +
|
|
14965
|
-
var I = L(
|
|
14965
|
+
function G(C) {
|
|
14966
|
+
if (typeof C > "u" || C === null)
|
|
14967
|
+
return "" + C;
|
|
14968
|
+
var I = L(C);
|
|
14966
14969
|
if (I === "object") {
|
|
14967
|
-
if (
|
|
14970
|
+
if (C instanceof Date)
|
|
14968
14971
|
return "date";
|
|
14969
|
-
if (
|
|
14972
|
+
if (C instanceof RegExp)
|
|
14970
14973
|
return "regexp";
|
|
14971
14974
|
}
|
|
14972
14975
|
return I;
|
|
14973
14976
|
}
|
|
14974
|
-
function j(
|
|
14975
|
-
var I = G(
|
|
14977
|
+
function j(C) {
|
|
14978
|
+
var I = G(C);
|
|
14976
14979
|
switch (I) {
|
|
14977
14980
|
case "array":
|
|
14978
14981
|
case "object":
|
|
@@ -14985,8 +14988,8 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
14985
14988
|
return I;
|
|
14986
14989
|
}
|
|
14987
14990
|
}
|
|
14988
|
-
function X(
|
|
14989
|
-
return !
|
|
14991
|
+
function X(C) {
|
|
14992
|
+
return !C.constructor || !C.constructor.name ? m : C.constructor.name;
|
|
14990
14993
|
}
|
|
14991
14994
|
return f.checkPropTypes = r, f.resetWarningCache = r.resetWarningCache, f.PropTypes = f, f;
|
|
14992
14995
|
}, ws;
|
|
@@ -15227,10 +15230,10 @@ function Rd() {
|
|
|
15227
15230
|
var b = h(g);
|
|
15228
15231
|
b && b !== m && f(w, b, A);
|
|
15229
15232
|
}
|
|
15230
|
-
var
|
|
15231
|
-
c && (
|
|
15232
|
-
for (var E = i(w), S = i(g), v = 0; v <
|
|
15233
|
-
var T =
|
|
15233
|
+
var y = d(g);
|
|
15234
|
+
c && (y = y.concat(c(g)));
|
|
15235
|
+
for (var E = i(w), S = i(g), v = 0; v < y.length; ++v) {
|
|
15236
|
+
var T = y[v];
|
|
15234
15237
|
if (!s[T] && !(A && A[T]) && !(S && S[T]) && !(E && E[T])) {
|
|
15235
15238
|
var x = u(g, T);
|
|
15236
15239
|
try {
|
|
@@ -15245,18 +15248,18 @@ function Rd() {
|
|
|
15245
15248
|
return bs = f, bs;
|
|
15246
15249
|
}
|
|
15247
15250
|
var Ld = Rd();
|
|
15248
|
-
const
|
|
15249
|
-
function
|
|
15250
|
-
return
|
|
15251
|
+
const Pd = /* @__PURE__ */ at(Ld);
|
|
15252
|
+
function Ps() {
|
|
15253
|
+
return Ps = Object.assign || function(e) {
|
|
15251
15254
|
for (var t = 1; t < arguments.length; t++) {
|
|
15252
15255
|
var s = arguments[t];
|
|
15253
15256
|
for (var n in s)
|
|
15254
15257
|
Object.prototype.hasOwnProperty.call(s, n) && (e[n] = s[n]);
|
|
15255
15258
|
}
|
|
15256
15259
|
return e;
|
|
15257
|
-
},
|
|
15260
|
+
}, Ps.apply(this, arguments);
|
|
15258
15261
|
}
|
|
15259
|
-
function
|
|
15262
|
+
function kd(e, t) {
|
|
15260
15263
|
if (e == null) return {};
|
|
15261
15264
|
var s = {}, n = Object.keys(e), r, o;
|
|
15262
15265
|
for (o = 0; o < n.length; o++)
|
|
@@ -15298,12 +15301,12 @@ function Md(e, t) {
|
|
|
15298
15301
|
loaded: !0,
|
|
15299
15302
|
observers: {}
|
|
15300
15303
|
}), Ne[m]) {
|
|
15301
|
-
var
|
|
15302
|
-
if (
|
|
15303
|
-
this.asyncScriptLoaderHandleLoad(
|
|
15304
|
+
var y = Ne[m];
|
|
15305
|
+
if (y && (y.loaded || y.errored)) {
|
|
15306
|
+
this.asyncScriptLoaderHandleLoad(y);
|
|
15304
15307
|
return;
|
|
15305
15308
|
}
|
|
15306
|
-
|
|
15309
|
+
y.observers[f] = function(x) {
|
|
15307
15310
|
return h.asyncScriptLoaderHandleLoad(x);
|
|
15308
15311
|
};
|
|
15309
15312
|
return;
|
|
@@ -15320,24 +15323,24 @@ function Md(e, t) {
|
|
|
15320
15323
|
for (var v in t.attributes)
|
|
15321
15324
|
S.setAttribute(v, t.attributes[v]);
|
|
15322
15325
|
b && (S.id = b);
|
|
15323
|
-
var T = function(
|
|
15326
|
+
var T = function(k) {
|
|
15324
15327
|
if (Ne[m]) {
|
|
15325
|
-
var
|
|
15328
|
+
var $ = Ne[m], q = $.observers;
|
|
15326
15329
|
for (var R in q)
|
|
15327
|
-
|
|
15330
|
+
k(q[R]) && delete q[R];
|
|
15328
15331
|
}
|
|
15329
15332
|
};
|
|
15330
15333
|
A && typeof window < "u" && (window[A] = function() {
|
|
15331
15334
|
return h.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
15332
15335
|
}), S.onload = function() {
|
|
15333
15336
|
var x = Ne[m];
|
|
15334
|
-
x && (x.loaded = !0, T(function(
|
|
15335
|
-
return A ? !1 : (
|
|
15337
|
+
x && (x.loaded = !0, T(function(k) {
|
|
15338
|
+
return A ? !1 : (k(x), !0);
|
|
15336
15339
|
}));
|
|
15337
15340
|
}, S.onerror = function() {
|
|
15338
15341
|
var x = Ne[m];
|
|
15339
|
-
x && (x.errored = !0, T(function(
|
|
15340
|
-
return
|
|
15342
|
+
x && (x.errored = !0, T(function(k) {
|
|
15343
|
+
return k(x), !0;
|
|
15341
15344
|
}));
|
|
15342
15345
|
}, document.body.appendChild(S);
|
|
15343
15346
|
}, c.componentWillUnmount = function() {
|
|
@@ -15350,29 +15353,29 @@ function Md(e, t) {
|
|
|
15350
15353
|
}, c.render = function() {
|
|
15351
15354
|
var h = t.globalName, m = this.props;
|
|
15352
15355
|
m.asyncScriptOnLoad;
|
|
15353
|
-
var f = m.forwardedRef, w =
|
|
15356
|
+
var f = m.forwardedRef, w = kd(m, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
15354
15357
|
return h && typeof window < "u" && (w[h] = typeof window[h] < "u" ? window[h] : void 0), w.ref = f, De(n, w);
|
|
15355
15358
|
}, d;
|
|
15356
15359
|
})(Xn), i = Za(function(l, d) {
|
|
15357
|
-
return De(o,
|
|
15360
|
+
return De(o, Ps({}, l, {
|
|
15358
15361
|
forwardedRef: d
|
|
15359
15362
|
}));
|
|
15360
15363
|
});
|
|
15361
15364
|
return i.displayName = "AsyncScriptLoader(" + r + ")", i.propTypes = {
|
|
15362
15365
|
asyncScriptOnLoad: Ae.func
|
|
15363
|
-
},
|
|
15366
|
+
}, Pd(i, n);
|
|
15364
15367
|
};
|
|
15365
15368
|
}
|
|
15366
|
-
var
|
|
15369
|
+
var ks = "onloadcallback", _d = "grecaptcha";
|
|
15367
15370
|
function Os() {
|
|
15368
15371
|
return typeof window < "u" && window.recaptchaOptions || {};
|
|
15369
15372
|
}
|
|
15370
15373
|
function Dd() {
|
|
15371
15374
|
var e = Os(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
|
15372
|
-
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" +
|
|
15375
|
+
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + ks + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + ks + "&render=explicit";
|
|
15373
15376
|
}
|
|
15374
15377
|
const zn = Md(Dd, {
|
|
15375
|
-
callbackName:
|
|
15378
|
+
callbackName: ks,
|
|
15376
15379
|
globalName: _d,
|
|
15377
15380
|
attributes: Os().nonce ? {
|
|
15378
15381
|
nonce: Os().nonce
|
|
@@ -15415,7 +15418,7 @@ const zn = Md(Dd, {
|
|
|
15415
15418
|
{ id: "terrorism", label: d.terrorism },
|
|
15416
15419
|
{ id: "intellectual", label: d.intellectual },
|
|
15417
15420
|
{ id: "bullying", label: d.bullying }
|
|
15418
|
-
],
|
|
15421
|
+
], y = async () => {
|
|
15419
15422
|
if (!(!h || !s)) {
|
|
15420
15423
|
if (Hn(document).includes(s)) {
|
|
15421
15424
|
w(l.errorAlreadyReported);
|
|
@@ -15486,7 +15489,7 @@ const zn = Md(Dd, {
|
|
|
15486
15489
|
/* @__PURE__ */ a(
|
|
15487
15490
|
"button",
|
|
15488
15491
|
{
|
|
15489
|
-
onClick:
|
|
15492
|
+
onClick: y,
|
|
15490
15493
|
disabled: !h,
|
|
15491
15494
|
className: "sass-pg-cmt-rp-reportButton",
|
|
15492
15495
|
children: l.reportButton
|
|
@@ -15625,7 +15628,7 @@ async function Vd({
|
|
|
15625
15628
|
r && A.append("id", r), o && A.append("lastid", o);
|
|
15626
15629
|
const b = `${g}${m}/newcomments/get?${A.toString()}`;
|
|
15627
15630
|
try {
|
|
15628
|
-
const { data:
|
|
15631
|
+
const { data: y } = await oe.get(b, {
|
|
15629
15632
|
headers: {
|
|
15630
15633
|
"x-api-token": l,
|
|
15631
15634
|
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
|
@@ -15633,15 +15636,15 @@ async function Vd({
|
|
|
15633
15636
|
Expires: "0"
|
|
15634
15637
|
}
|
|
15635
15638
|
});
|
|
15636
|
-
if (!
|
|
15639
|
+
if (!y)
|
|
15637
15640
|
throw new Error("No comments data received");
|
|
15638
|
-
return
|
|
15639
|
-
} catch (
|
|
15640
|
-
if (console.error("Error fetching comments:",
|
|
15641
|
-
const E =
|
|
15641
|
+
return y.data || y || [];
|
|
15642
|
+
} catch (y) {
|
|
15643
|
+
if (console.error("Error fetching comments:", y), oe.isAxiosError(y)) {
|
|
15644
|
+
const E = y.response?.status, S = y.response?.data;
|
|
15642
15645
|
throw E === 404 ? new Error("Comments not found") : E === 403 ? new Error("Access forbidden - check API token") : E === 401 ? new Error("Unauthorized - invalid API token") : E === 500 ? new Error("Internal server error from CMS") : new Error(S?.error || S?.message || `HTTP ${E}: Failed to fetch comments`);
|
|
15643
15646
|
}
|
|
15644
|
-
throw
|
|
15647
|
+
throw y;
|
|
15645
15648
|
}
|
|
15646
15649
|
}
|
|
15647
15650
|
const Fd = (e, t) => {
|
|
@@ -15897,8 +15900,8 @@ const Yd = {
|
|
|
15897
15900
|
if (!u || !s.CONFIG_commentsV2 || !o || !document) return;
|
|
15898
15901
|
const g = document.getElementById("comment-button");
|
|
15899
15902
|
if (!g) return;
|
|
15900
|
-
const A = g.closest(".comment-form"), b = A?.querySelector('input[name="username"]'),
|
|
15901
|
-
b?.value?.trim() &&
|
|
15903
|
+
const A = g.closest(".comment-form"), b = A?.querySelector('input[name="username"]'), y = A?.querySelector('textarea[name="comment"]'), E = A?.querySelector("textarea.g-recaptcha-response") ?? document.querySelector("#g-recaptcha-response");
|
|
15904
|
+
b?.value?.trim() && y?.value?.trim() && E?.value?.trim() && g.click();
|
|
15902
15905
|
});
|
|
15903
15906
|
const w = ie("/Success.gif", s.PUBLIC_ASSETS_URL);
|
|
15904
15907
|
return d ? /* @__PURE__ */ a("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ a("img", { className: "success-gif su-absolute", src: w }) }) : /* @__PURE__ */ p(te, { children: [
|
|
@@ -15984,11 +15987,11 @@ const Yd = {
|
|
|
15984
15987
|
throw new Error(
|
|
15985
15988
|
`Error al enviar comentario: ${g?.message} status: ${w.status}`
|
|
15986
15989
|
);
|
|
15987
|
-
const A = Date.now(), b = Math.max(0, 2400 + Math.abs(A - f)),
|
|
15988
|
-
username:
|
|
15989
|
-
firstname:
|
|
15990
|
-
...
|
|
15991
|
-
...
|
|
15990
|
+
const A = Date.now(), b = Math.max(0, 2400 + Math.abs(A - f)), y = r || { username: d, firstname: d }, E = {
|
|
15991
|
+
username: y.username,
|
|
15992
|
+
firstname: y.firstname,
|
|
15993
|
+
...y.lastname && { lastname: y.lastname },
|
|
15994
|
+
...y.picture && { picture: y.picture }
|
|
15992
15995
|
};
|
|
15993
15996
|
return i({
|
|
15994
15997
|
id: A.toString(),
|
|
@@ -16082,8 +16085,8 @@ const Yd = {
|
|
|
16082
16085
|
moreRepliesButton: "Más Respuestas"
|
|
16083
16086
|
}, Xd = ({ comment: e, replyingTo: t, path: s, user: n, handleReplyingTo: r, onFlag: o, API_ENV: i, texts: l }) => {
|
|
16084
16087
|
const d = { ...Zd, ...l?.comentarios }, c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, h] = Y(c), [m, f] = de.useState(!1), { PUBLIC_PUBLICATION_ID: w, PUBLIC_X_SECURITY_TOKEN: g } = i, A = e.text, b = de.useRef(null);
|
|
16085
|
-
let
|
|
16086
|
-
e.user && (
|
|
16088
|
+
let y = `${Ue.firstname} ${Ue.lastname ?? ""}`, E = Ue.username;
|
|
16089
|
+
e.user && (y = `${e.user.firstname} ${e.user.lastname ?? ""}`, E = e.user.username);
|
|
16087
16090
|
const S = (v) => {
|
|
16088
16091
|
h({ morereply: u.morereply, reply: [v, ...u.reply] });
|
|
16089
16092
|
};
|
|
@@ -16095,7 +16098,7 @@ const Yd = {
|
|
|
16095
16098
|
children: [
|
|
16096
16099
|
/* @__PURE__ */ a(Yn, { user: e.user ? e.user : Ue }),
|
|
16097
16100
|
/* @__PURE__ */ p("div", { style: { flex: 1 }, children: [
|
|
16098
|
-
/* @__PURE__ */ a(Wn, { username:
|
|
16101
|
+
/* @__PURE__ */ a(Wn, { username: y, date: e.date.time, DATE_CONFIG: i }),
|
|
16099
16102
|
/* @__PURE__ */ a("p", { className: "comment-text su-font-normal", children: A }),
|
|
16100
16103
|
n?.username.toLowerCase() !== E.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
16101
16104
|
/* @__PURE__ */ a(
|
|
@@ -16124,7 +16127,7 @@ const Yd = {
|
|
|
16124
16127
|
{
|
|
16125
16128
|
user: n,
|
|
16126
16129
|
reply: v,
|
|
16127
|
-
replyingTo:
|
|
16130
|
+
replyingTo: y,
|
|
16128
16131
|
onFlag: o,
|
|
16129
16132
|
DATE_CONFIG: i,
|
|
16130
16133
|
texts: l
|
|
@@ -16328,16 +16331,16 @@ const Yd = {
|
|
|
16328
16331
|
}) => {
|
|
16329
16332
|
const d = { ...nu, ...l?.comentarios }, { PUBLIC_PUBLICATION_ID: c, PUBLIC_X_SECURITY_TOKEN: u } = i, h = c ?? "", m = t.replaceAll("/", "|"), [f, w] = Y(
|
|
16330
16333
|
void 0
|
|
16331
|
-
), [g, A] = Y(""), { comments: b, setComments:
|
|
16334
|
+
), [g, A] = Y(""), { comments: b, setComments: y } = Fd(m, i), [E, S] = de.useState(!1), v = de.useRef(null), T = de.useRef(null), x = (U) => {
|
|
16332
16335
|
A(g === U ? "" : U);
|
|
16333
|
-
},
|
|
16334
|
-
|
|
16336
|
+
}, k = (U) => {
|
|
16337
|
+
y(
|
|
16335
16338
|
b ? {
|
|
16336
16339
|
...b,
|
|
16337
16340
|
comments: [U, ...b.comments ?? []]
|
|
16338
16341
|
} : void 0
|
|
16339
16342
|
);
|
|
16340
|
-
},
|
|
16343
|
+
}, $ = (U) => {
|
|
16341
16344
|
w(U);
|
|
16342
16345
|
}, q = async () => {
|
|
16343
16346
|
if (!b || !b.morecomment || b.comments.length === 0) return;
|
|
@@ -16357,14 +16360,14 @@ const Yd = {
|
|
|
16357
16360
|
apiToken: u,
|
|
16358
16361
|
API_ENV: i
|
|
16359
16362
|
});
|
|
16360
|
-
|
|
16363
|
+
y({
|
|
16361
16364
|
morecomment: G.morecomment ?? !1,
|
|
16362
16365
|
comments: [...b.comments, ...G.comments]
|
|
16363
16366
|
}), S(!1);
|
|
16364
16367
|
} catch (G) {
|
|
16365
16368
|
throw S(!1), new Error(`Error al obtener comentarios: ${G}`);
|
|
16366
16369
|
}
|
|
16367
|
-
}, R = b?.comments && b.comments.length > 0, V = R ? d.commentHeaderMessageWithComments : d.commentHeaderMessageEmpty,
|
|
16370
|
+
}, R = b?.comments && b.comments.length > 0, V = R ? d.commentHeaderMessageWithComments : d.commentHeaderMessageEmpty, K = /* @__PURE__ */ a("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ a(qe, {}) }), O = () => {
|
|
16368
16371
|
!window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = "/auth/login");
|
|
16369
16372
|
};
|
|
16370
16373
|
return /* @__PURE__ */ p(te, { children: [
|
|
@@ -16384,7 +16387,7 @@ const Yd = {
|
|
|
16384
16387
|
{
|
|
16385
16388
|
commentRef: v,
|
|
16386
16389
|
user: s,
|
|
16387
|
-
addComment:
|
|
16390
|
+
addComment: k,
|
|
16388
16391
|
path: m,
|
|
16389
16392
|
API_ENV: i,
|
|
16390
16393
|
texts: l
|
|
@@ -16403,7 +16406,7 @@ const Yd = {
|
|
|
16403
16406
|
commentRef: v,
|
|
16404
16407
|
icon: r,
|
|
16405
16408
|
handleGoogleLogin: o,
|
|
16406
|
-
addComment:
|
|
16409
|
+
addComment: k,
|
|
16407
16410
|
path: m,
|
|
16408
16411
|
API_ENV: i,
|
|
16409
16412
|
texts: l
|
|
@@ -16422,7 +16425,7 @@ const Yd = {
|
|
|
16422
16425
|
comment: U,
|
|
16423
16426
|
replyingTo: g,
|
|
16424
16427
|
handleReplyingTo: x,
|
|
16425
|
-
onFlag:
|
|
16428
|
+
onFlag: $,
|
|
16426
16429
|
user: s ?? Ue,
|
|
16427
16430
|
path: m,
|
|
16428
16431
|
API_ENV: i,
|
|
@@ -16430,10 +16433,10 @@ const Yd = {
|
|
|
16430
16433
|
},
|
|
16431
16434
|
U.id
|
|
16432
16435
|
)),
|
|
16433
|
-
E &&
|
|
16436
|
+
E && K
|
|
16434
16437
|
]
|
|
16435
16438
|
}
|
|
16436
|
-
) : null :
|
|
16439
|
+
) : null : K,
|
|
16437
16440
|
b?.morecomment && !E && /* @__PURE__ */ a(
|
|
16438
16441
|
"button",
|
|
16439
16442
|
{
|
|
@@ -16544,23 +16547,23 @@ function lu({ goToLogin: e, handleGoogleLogin: t, API_ENV: s, texts: n, termsAnd
|
|
|
16544
16547
|
[o.passwordRuleMinLength, o.passwordRuleNumber, o.passwordRuleLowercase, o.passwordRuleUppercase, o.passwordRuleSymbol]
|
|
16545
16548
|
), [d, c] = Y({}), [u, h] = Y(!1), [m, f] = Y(!1), [w, g] = Y(null), [A, b] = Y(
|
|
16546
16549
|
"register"
|
|
16547
|
-
),
|
|
16548
|
-
c((
|
|
16550
|
+
), y = (T, x) => {
|
|
16551
|
+
c((k) => ({ ...k, [T]: x }));
|
|
16549
16552
|
}, E = async (T) => {
|
|
16550
16553
|
T.preventDefault(), g(null), f(!0);
|
|
16551
16554
|
try {
|
|
16552
|
-
const x = Object.keys(i).filter((
|
|
16553
|
-
if (x.some((
|
|
16554
|
-
if (
|
|
16555
|
+
const x = Object.keys(i).filter((K) => !["username", "password", "confirmPassword"].includes(K)).map((K) => ({ Name: K, Value: d[K] }));
|
|
16556
|
+
if (x.some((K) => {
|
|
16557
|
+
if (!K.Value || K.Value.trim() === "") return !0;
|
|
16555
16558
|
}))
|
|
16556
16559
|
return f(!1), g(o.errorCompleteFields);
|
|
16557
16560
|
if (d.password !== d.confirmPassword) {
|
|
16558
16561
|
g(o.errorPasswordMismatch);
|
|
16559
16562
|
return;
|
|
16560
16563
|
}
|
|
16561
|
-
const
|
|
16564
|
+
const k = d.password || "";
|
|
16562
16565
|
if (l.some(
|
|
16563
|
-
(
|
|
16566
|
+
(K) => !K.test(k)
|
|
16564
16567
|
)) {
|
|
16565
16568
|
g(o.errorPasswordInvalid);
|
|
16566
16569
|
return;
|
|
@@ -16583,8 +16586,8 @@ function lu({ goToLogin: e, handleGoogleLogin: t, API_ENV: s, texts: n, termsAnd
|
|
|
16583
16586
|
})
|
|
16584
16587
|
});
|
|
16585
16588
|
if (!V.ok) {
|
|
16586
|
-
const
|
|
16587
|
-
if (
|
|
16589
|
+
const K = await V.json().catch(() => ({}));
|
|
16590
|
+
if (K.code === "UsernameExistsException") {
|
|
16588
16591
|
await fetch("/api/auth/resend-code", {
|
|
16589
16592
|
method: "POST",
|
|
16590
16593
|
headers: { "Content-Type": "application/json" },
|
|
@@ -16592,7 +16595,7 @@ function lu({ goToLogin: e, handleGoogleLogin: t, API_ENV: s, texts: n, termsAnd
|
|
|
16592
16595
|
}), b("confirm");
|
|
16593
16596
|
return;
|
|
16594
16597
|
}
|
|
16595
|
-
throw new Error(
|
|
16598
|
+
throw new Error(K?.error || "Error al crear usuario");
|
|
16596
16599
|
}
|
|
16597
16600
|
b("confirm");
|
|
16598
16601
|
} catch (x) {
|
|
@@ -16616,8 +16619,8 @@ function lu({ goToLogin: e, handleGoogleLogin: t, API_ENV: s, texts: n, termsAnd
|
|
|
16616
16619
|
})
|
|
16617
16620
|
});
|
|
16618
16621
|
if (!x.ok) {
|
|
16619
|
-
const
|
|
16620
|
-
throw new Error(
|
|
16622
|
+
const k = await x.json().catch(() => ({}));
|
|
16623
|
+
throw new Error(k?.error || "Error al confirmar usuario");
|
|
16621
16624
|
}
|
|
16622
16625
|
b("success");
|
|
16623
16626
|
} catch (x) {
|
|
@@ -16655,23 +16658,23 @@ function lu({ goToLogin: e, handleGoogleLogin: t, API_ENV: s, texts: n, termsAnd
|
|
|
16655
16658
|
type: T.toLowerCase().includes("password") ? u ? "text" : "password" : T === "birthdate" ? "date" : T === "email" ? "email" : T === "phone_number" ? "tel" : "text",
|
|
16656
16659
|
name: T,
|
|
16657
16660
|
value: d[T] || "",
|
|
16658
|
-
onChange: (
|
|
16661
|
+
onChange: (k) => y(T, k.target.value),
|
|
16659
16662
|
className: "sass-pg-cmt-lp-input",
|
|
16660
16663
|
placeholder: ""
|
|
16661
16664
|
}
|
|
16662
16665
|
),
|
|
16663
|
-
T === "password" && /* @__PURE__ */ a("div", { className: "sass-pg-cmt-lp-passwordChecker", children: l.map((
|
|
16664
|
-
const q =
|
|
16666
|
+
T === "password" && /* @__PURE__ */ a("div", { className: "sass-pg-cmt-lp-passwordChecker", children: l.map((k, $) => {
|
|
16667
|
+
const q = k.test(v);
|
|
16665
16668
|
return /* @__PURE__ */ p(
|
|
16666
16669
|
"div",
|
|
16667
16670
|
{
|
|
16668
16671
|
className: q ? "sass-pg-cmt-lp-valid" : "sass-pg-cmt-lp-invalid",
|
|
16669
16672
|
children: [
|
|
16670
16673
|
/* @__PURE__ */ a("div", { children: q ? "✔" : "○" }),
|
|
16671
|
-
/* @__PURE__ */ a("div", { children:
|
|
16674
|
+
/* @__PURE__ */ a("div", { children: k.label })
|
|
16672
16675
|
]
|
|
16673
16676
|
},
|
|
16674
|
-
|
|
16677
|
+
$
|
|
16675
16678
|
);
|
|
16676
16679
|
}) }),
|
|
16677
16680
|
T === "confirmPassword" && /* @__PURE__ */ p("div", { className: "sass-pg-cmt-lp-checkboxRow", children: [
|
|
@@ -16681,7 +16684,7 @@ function lu({ goToLogin: e, handleGoogleLogin: t, API_ENV: s, texts: n, termsAnd
|
|
|
16681
16684
|
id: "showPasswordRegister",
|
|
16682
16685
|
type: "checkbox",
|
|
16683
16686
|
checked: u,
|
|
16684
|
-
onChange: (
|
|
16687
|
+
onChange: (k) => h(k.target.checked)
|
|
16685
16688
|
}
|
|
16686
16689
|
),
|
|
16687
16690
|
/* @__PURE__ */ a(
|
|
@@ -16722,7 +16725,7 @@ function lu({ goToLogin: e, handleGoogleLogin: t, API_ENV: s, texts: n, termsAnd
|
|
|
16722
16725
|
type: "text",
|
|
16723
16726
|
name: "confirmationCode",
|
|
16724
16727
|
value: d.confirmationCode || "",
|
|
16725
|
-
onChange: (T) =>
|
|
16728
|
+
onChange: (T) => y("confirmationCode", T.target.value),
|
|
16726
16729
|
className: "sass-pg-cmt-lp-input",
|
|
16727
16730
|
required: !0
|
|
16728
16731
|
}
|
|
@@ -16800,7 +16803,7 @@ function du({
|
|
|
16800
16803
|
API_ENV: r,
|
|
16801
16804
|
texts: o
|
|
16802
16805
|
}) {
|
|
16803
|
-
const i = { ...cu, ...o?.comentarios }, [l, d] = Y("login"), [c, u] = Y(""), [h, m] = Y(""), [f, w] = Y(""), [g, A] = Y(""), [b,
|
|
16806
|
+
const i = { ...cu, ...o?.comentarios }, [l, d] = Y("login"), [c, u] = Y(""), [h, m] = Y(""), [f, w] = Y(""), [g, A] = Y(""), [b, y] = Y(""), [E, S] = Y(!1), [v, T] = Y(!1), [x, k] = Y(null);
|
|
16804
16807
|
return /* @__PURE__ */ p(te, { children: [
|
|
16805
16808
|
l === "login" && /* @__PURE__ */ a(
|
|
16806
16809
|
uu,
|
|
@@ -16815,30 +16818,30 @@ function du({
|
|
|
16815
16818
|
setShowPassword: S,
|
|
16816
16819
|
onSubmit: async (V) => {
|
|
16817
16820
|
if (!v) {
|
|
16818
|
-
V.preventDefault(),
|
|
16821
|
+
V.preventDefault(), k(null), T(!0);
|
|
16819
16822
|
try {
|
|
16820
|
-
const
|
|
16821
|
-
if (
|
|
16823
|
+
const K = r.PUBLIC_ENV === "local" ? "token" : await is("comment_login", r.CAPTCHA_KEY || "");
|
|
16824
|
+
if (!K) throw new Error("Captcha token no generado");
|
|
16822
16825
|
const O = await fetch("/api/auth/login-password", {
|
|
16823
16826
|
method: "POST",
|
|
16824
16827
|
headers: { "Content-Type": "application/json" },
|
|
16825
16828
|
credentials: "include",
|
|
16826
|
-
body: JSON.stringify({ email: c, password: h, token:
|
|
16829
|
+
body: JSON.stringify({ email: c, password: h, token: K })
|
|
16827
16830
|
});
|
|
16828
16831
|
if (!O.ok) {
|
|
16829
16832
|
const U = await O.json().catch(() => ({}));
|
|
16830
16833
|
throw new Error(U?.error || "Ha ocurrido un error");
|
|
16831
16834
|
}
|
|
16832
16835
|
e(), await t();
|
|
16833
|
-
} catch (
|
|
16834
|
-
|
|
16836
|
+
} catch (K) {
|
|
16837
|
+
k(K?.message || "Error inesperado");
|
|
16835
16838
|
} finally {
|
|
16836
16839
|
T(!1);
|
|
16837
16840
|
}
|
|
16838
16841
|
}
|
|
16839
16842
|
},
|
|
16840
16843
|
onForgot: () => {
|
|
16841
|
-
|
|
16844
|
+
k(null), d("forgot");
|
|
16842
16845
|
},
|
|
16843
16846
|
onRegister: s,
|
|
16844
16847
|
handleGoogleLogin: n,
|
|
@@ -16854,27 +16857,27 @@ function du({
|
|
|
16854
16857
|
error: x,
|
|
16855
16858
|
onSubmit: async (V) => {
|
|
16856
16859
|
if (!v) {
|
|
16857
|
-
V.preventDefault(),
|
|
16860
|
+
V.preventDefault(), k(null), T(!0);
|
|
16858
16861
|
try {
|
|
16859
|
-
const
|
|
16862
|
+
const K = await fetch("/api/auth/forgot-password", {
|
|
16860
16863
|
method: "POST",
|
|
16861
16864
|
headers: { "Content-Type": "application/json" },
|
|
16862
16865
|
body: JSON.stringify({ email: c })
|
|
16863
16866
|
});
|
|
16864
|
-
if (
|
|
16865
|
-
const O = await
|
|
16867
|
+
if (!K.ok) {
|
|
16868
|
+
const O = await K.json().catch(() => ({}));
|
|
16866
16869
|
throw new Error(O?.error || "Error al enviar código");
|
|
16867
16870
|
}
|
|
16868
16871
|
m(""), d("changePassword");
|
|
16869
|
-
} catch (
|
|
16870
|
-
|
|
16872
|
+
} catch (K) {
|
|
16873
|
+
k(K?.message || "Error inesperado");
|
|
16871
16874
|
} finally {
|
|
16872
16875
|
T(!1);
|
|
16873
16876
|
}
|
|
16874
16877
|
}
|
|
16875
16878
|
},
|
|
16876
16879
|
onBack: () => {
|
|
16877
|
-
|
|
16880
|
+
k(null), d("login");
|
|
16878
16881
|
},
|
|
16879
16882
|
t: i
|
|
16880
16883
|
}
|
|
@@ -16891,21 +16894,21 @@ function du({
|
|
|
16891
16894
|
error: x,
|
|
16892
16895
|
setConfirmationCode: w,
|
|
16893
16896
|
setNewPassword: A,
|
|
16894
|
-
setConfirmNewPassword:
|
|
16897
|
+
setConfirmNewPassword: y,
|
|
16895
16898
|
setShowPassword: S,
|
|
16896
16899
|
onSubmit: async (V) => {
|
|
16897
16900
|
if (v) return;
|
|
16898
16901
|
if (V.preventDefault(), g !== b) {
|
|
16899
|
-
|
|
16902
|
+
k("Las contraseñas no coinciden");
|
|
16900
16903
|
return;
|
|
16901
16904
|
}
|
|
16902
16905
|
if (Kn.some(
|
|
16903
16906
|
(O) => !O.test(g)
|
|
16904
16907
|
)) {
|
|
16905
|
-
|
|
16908
|
+
k("La contraseña no cumple con los requisitos");
|
|
16906
16909
|
return;
|
|
16907
16910
|
}
|
|
16908
|
-
|
|
16911
|
+
k(null), T(!0);
|
|
16909
16912
|
try {
|
|
16910
16913
|
const O = await fetch("/api/auth/confirm-forgot-password", {
|
|
16911
16914
|
method: "POST",
|
|
@@ -16918,13 +16921,13 @@ function du({
|
|
|
16918
16921
|
}
|
|
16919
16922
|
d("feedback");
|
|
16920
16923
|
} catch (O) {
|
|
16921
|
-
|
|
16924
|
+
k(O?.message || "Error inesperado");
|
|
16922
16925
|
} finally {
|
|
16923
16926
|
T(!1);
|
|
16924
16927
|
}
|
|
16925
16928
|
},
|
|
16926
16929
|
onBack: () => {
|
|
16927
|
-
|
|
16930
|
+
k(null), d("forgot");
|
|
16928
16931
|
},
|
|
16929
16932
|
t: i
|
|
16930
16933
|
}
|
|
@@ -16933,7 +16936,7 @@ function du({
|
|
|
16933
16936
|
fu,
|
|
16934
16937
|
{
|
|
16935
16938
|
onBackToLogin: () => {
|
|
16936
|
-
|
|
16939
|
+
k(null), d("login");
|
|
16937
16940
|
},
|
|
16938
16941
|
t: i
|
|
16939
16942
|
}
|
|
@@ -17964,12 +17967,12 @@ export {
|
|
|
17964
17967
|
sn as FormatScripts,
|
|
17965
17968
|
sr as GA4,
|
|
17966
17969
|
ar as GTM,
|
|
17967
|
-
|
|
17970
|
+
Pc as GalleryHeader,
|
|
17968
17971
|
fm as GenerateBody,
|
|
17969
17972
|
hm as GenerateHead,
|
|
17970
17973
|
Rm as Header,
|
|
17971
17974
|
bc as HeaderSectionComponent,
|
|
17972
|
-
|
|
17975
|
+
km as HomeCard,
|
|
17973
17976
|
pc as IframeHeader,
|
|
17974
17977
|
Nl as ImageOffline,
|
|
17975
17978
|
ye as ImageOnline,
|
|
@@ -18001,7 +18004,7 @@ export {
|
|
|
18001
18004
|
Oa as NewsContent,
|
|
18002
18005
|
$e as NewsDescriptionComponent,
|
|
18003
18006
|
Zc as News_Content,
|
|
18004
|
-
|
|
18007
|
+
ka as NextPrev,
|
|
18005
18008
|
so as OrgList,
|
|
18006
18009
|
ma as PreloadImages,
|
|
18007
18010
|
Us as REPORT_REASONS,
|
|
@@ -18019,7 +18022,7 @@ export {
|
|
|
18019
18022
|
Ra as ShowSection,
|
|
18020
18023
|
$s as SocialNetworks,
|
|
18021
18024
|
eo as SoftwareApplication,
|
|
18022
|
-
|
|
18025
|
+
Pm as SourceButtons,
|
|
18023
18026
|
Kr as SpeculationRules,
|
|
18024
18027
|
wt as Spin,
|
|
18025
18028
|
Zm as StaticSlotWrapper,
|
|
@@ -18041,11 +18044,11 @@ export {
|
|
|
18041
18044
|
Ht as bannersReplace,
|
|
18042
18045
|
pt as becomeVideoObject,
|
|
18043
18046
|
Qe as buildTagUrl,
|
|
18044
|
-
|
|
18047
|
+
ke as cleanSchema,
|
|
18045
18048
|
bm as coloringByStrokeSVGs,
|
|
18046
18049
|
aa as compileStyleProps,
|
|
18047
18050
|
Mu as createAssessment,
|
|
18048
|
-
|
|
18051
|
+
Pe as cutString,
|
|
18049
18052
|
an as decodeApiEnv,
|
|
18050
18053
|
qu as encodeApiEnv,
|
|
18051
18054
|
Ce as extractMainSlug,
|
|
@@ -18082,12 +18085,12 @@ export {
|
|
|
18082
18085
|
Gu as getServicePrefix,
|
|
18083
18086
|
ho as getSlugs,
|
|
18084
18087
|
_u as getTextsStringValue,
|
|
18085
|
-
|
|
18086
|
-
|
|
18088
|
+
Pu as getTypeOfNews,
|
|
18089
|
+
ku as getVideoRealPath,
|
|
18087
18090
|
Zs as handleGetComments,
|
|
18088
18091
|
Tu as initLibrary,
|
|
18089
18092
|
Du as isPhotoGallery,
|
|
18090
|
-
|
|
18093
|
+
kr as metadataToJSX,
|
|
18091
18094
|
dl as metadata_defaults,
|
|
18092
18095
|
Qr as new_speculationRules_home,
|
|
18093
18096
|
Wr as new_speculationRules_note,
|
|
@@ -18103,7 +18106,7 @@ export {
|
|
|
18103
18106
|
qt as socialIcons,
|
|
18104
18107
|
He as toISOWithTimeZone,
|
|
18105
18108
|
Lr as urlReplaces,
|
|
18106
|
-
|
|
18109
|
+
Pn as usePlayIcon,
|
|
18107
18110
|
Ir as validateHttpUrl,
|
|
18108
18111
|
Jm as verifyCaptchaTokenEnterprise
|
|
18109
18112
|
};
|