sass-template-common 0.9.239 → 0.9.241
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/note.css +2 -2
- package/dist/sass-template-common.css +1 -1
- package/dist/sass-template-common.d.ts +12 -4
- package/dist/sass-template-common.js +763 -716
- package/dist/sass-template-common.umd.cjs +16 -16
- package/dist/ui/components/common/journalist-articule-2/journalist-articule-2.css +1 -1
- package/dist/ui/components/pages/news/components-pages-news-header-section.css +1 -1
- package/dist/ui/components/pages/news/right-side/components-pages-news-right-side.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s, Fragment as $, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import * as fs from "react";
|
|
3
|
-
import ue, { useState as z, useRef as pa, useCallback as de, useEffect as Be, createElement as Ve, forwardRef as ga, Fragment as Rn, useMemo as
|
|
3
|
+
import ue, { useState as z, useRef as pa, useCallback as de, useEffect as Be, createElement as Ve, forwardRef as ga, Fragment as Rn, useMemo as vt, Component as kr } from "react";
|
|
4
4
|
let Pn = {
|
|
5
5
|
PUBLIC_API_HOST: "",
|
|
6
6
|
PUBLIC_API_FRONT: "",
|
|
@@ -77,13 +77,13 @@ let Pn = {
|
|
|
77
77
|
MULTIPUBLICATION_FETCHES: void 0,
|
|
78
78
|
BUCKET_ORIGIN: void 0
|
|
79
79
|
};
|
|
80
|
-
function
|
|
80
|
+
function Cm(e = {}) {
|
|
81
81
|
Pn = { ...Pn, ...e };
|
|
82
82
|
}
|
|
83
83
|
function R() {
|
|
84
84
|
return Pn;
|
|
85
85
|
}
|
|
86
|
-
const
|
|
86
|
+
const Ir = () => {
|
|
87
87
|
const { ANALYTICS_comscore: e } = R();
|
|
88
88
|
return e && /* @__PURE__ */ s(
|
|
89
89
|
"script",
|
|
@@ -104,18 +104,18 @@ function wa() {
|
|
|
104
104
|
(function(n, a) {
|
|
105
105
|
e.exports = a();
|
|
106
106
|
})(Ur, (function() {
|
|
107
|
-
var n = 1e3, a = 6e4, r = 36e5, o = "millisecond", i = "second", l = "minute", c = "hour", d = "day", u = "week", h = "month", m = "quarter", w = "year", f = "date", g = "Invalid Date", b = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
|
|
108
|
-
var
|
|
109
|
-
return "[" + O + (
|
|
110
|
-
} }, N = function(O,
|
|
107
|
+
var n = 1e3, a = 6e4, r = 36e5, o = "millisecond", i = "second", l = "minute", c = "hour", d = "day", u = "week", h = "month", m = "quarter", w = "year", f = "date", g = "Invalid Date", b = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, v = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(O) {
|
|
108
|
+
var I = ["th", "st", "nd", "rd"], U = O % 100;
|
|
109
|
+
return "[" + O + (I[(U - 20) % 10] || I[U] || I[0]) + "]";
|
|
110
|
+
} }, N = function(O, I, U) {
|
|
111
111
|
var G = String(O);
|
|
112
|
-
return !G || G.length >=
|
|
113
|
-
},
|
|
114
|
-
var
|
|
115
|
-
return (
|
|
116
|
-
}, m: function O(
|
|
117
|
-
if (
|
|
118
|
-
var G = 12 * (U.year() -
|
|
112
|
+
return !G || G.length >= I ? O : "" + Array(I + 1 - G.length).join(U) + O;
|
|
113
|
+
}, C = { s: N, z: function(O) {
|
|
114
|
+
var I = -O.utcOffset(), U = Math.abs(I), G = Math.floor(U / 60), B = U % 60;
|
|
115
|
+
return (I <= 0 ? "+" : "-") + N(G, 2, "0") + ":" + N(B, 2, "0");
|
|
116
|
+
}, m: function O(I, U) {
|
|
117
|
+
if (I.date() < U.date()) return -O(U, I);
|
|
118
|
+
var G = 12 * (U.year() - I.year()) + (U.month() - I.month()), B = I.clone().add(G, h), Y = U - B < 0, x = I.clone().add(G + (Y ? -1 : 1), h);
|
|
119
119
|
return +(-(G + (U - B) / (Y ? B - x : x - B)) || 0);
|
|
120
120
|
}, a: function(O) {
|
|
121
121
|
return O < 0 ? Math.ceil(O) || 0 : Math.floor(O);
|
|
@@ -124,36 +124,36 @@ function wa() {
|
|
|
124
124
|
}, u: function(O) {
|
|
125
125
|
return O === void 0;
|
|
126
126
|
} }, y = "en", S = {};
|
|
127
|
-
S[y] =
|
|
128
|
-
var
|
|
129
|
-
return O instanceof H || !(!O || !O[
|
|
130
|
-
}, D = function O(
|
|
127
|
+
S[y] = v;
|
|
128
|
+
var k = "$isDayjsObject", L = function(O) {
|
|
129
|
+
return O instanceof H || !(!O || !O[k]);
|
|
130
|
+
}, D = function O(I, U, G) {
|
|
131
131
|
var B;
|
|
132
|
-
if (!
|
|
133
|
-
if (typeof
|
|
134
|
-
var Y =
|
|
132
|
+
if (!I) return y;
|
|
133
|
+
if (typeof I == "string") {
|
|
134
|
+
var Y = I.toLowerCase();
|
|
135
135
|
S[Y] && (B = Y), U && (S[Y] = U, B = Y);
|
|
136
|
-
var x =
|
|
136
|
+
var x = I.split("-");
|
|
137
137
|
if (!B && x.length > 1) return O(x[0]);
|
|
138
138
|
} else {
|
|
139
|
-
var T =
|
|
140
|
-
S[T] =
|
|
139
|
+
var T = I.name;
|
|
140
|
+
S[T] = I, B = T;
|
|
141
141
|
}
|
|
142
142
|
return !G && B && (y = B), B || !G && y;
|
|
143
|
-
}, j = function(O,
|
|
143
|
+
}, j = function(O, I) {
|
|
144
144
|
if (L(O)) return O.clone();
|
|
145
|
-
var U = typeof
|
|
145
|
+
var U = typeof I == "object" ? I : {};
|
|
146
146
|
return U.date = O, U.args = arguments, new H(U);
|
|
147
|
-
}, P =
|
|
148
|
-
P.l = D, P.i = L, P.w = function(O,
|
|
149
|
-
return j(O, { locale:
|
|
147
|
+
}, P = C;
|
|
148
|
+
P.l = D, P.i = L, P.w = function(O, I) {
|
|
149
|
+
return j(O, { locale: I.$L, utc: I.$u, x: I.$x, $offset: I.$offset });
|
|
150
150
|
};
|
|
151
151
|
var H = (function() {
|
|
152
152
|
function O(U) {
|
|
153
|
-
this.$L = D(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[
|
|
153
|
+
this.$L = D(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[k] = !0;
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
return
|
|
155
|
+
var I = O.prototype;
|
|
156
|
+
return I.parse = function(U) {
|
|
157
157
|
this.$d = (function(G) {
|
|
158
158
|
var B = G.date, Y = G.utc;
|
|
159
159
|
if (B === null) return /* @__PURE__ */ new Date(NaN);
|
|
@@ -168,27 +168,27 @@ function wa() {
|
|
|
168
168
|
}
|
|
169
169
|
return new Date(B);
|
|
170
170
|
})(U), this.init();
|
|
171
|
-
},
|
|
171
|
+
}, I.init = function() {
|
|
172
172
|
var U = this.$d;
|
|
173
173
|
this.$y = U.getFullYear(), this.$M = U.getMonth(), this.$D = U.getDate(), this.$W = U.getDay(), this.$H = U.getHours(), this.$m = U.getMinutes(), this.$s = U.getSeconds(), this.$ms = U.getMilliseconds();
|
|
174
|
-
},
|
|
174
|
+
}, I.$utils = function() {
|
|
175
175
|
return P;
|
|
176
|
-
},
|
|
176
|
+
}, I.isValid = function() {
|
|
177
177
|
return this.$d.toString() !== g;
|
|
178
|
-
},
|
|
178
|
+
}, I.isSame = function(U, G) {
|
|
179
179
|
var B = j(U);
|
|
180
180
|
return this.startOf(G) <= B && B <= this.endOf(G);
|
|
181
|
-
},
|
|
181
|
+
}, I.isAfter = function(U, G) {
|
|
182
182
|
return j(U) < this.startOf(G);
|
|
183
|
-
},
|
|
183
|
+
}, I.isBefore = function(U, G) {
|
|
184
184
|
return this.endOf(G) < j(U);
|
|
185
|
-
},
|
|
185
|
+
}, I.$g = function(U, G, B) {
|
|
186
186
|
return P.u(U) ? this[G] : this.set(B, U);
|
|
187
|
-
},
|
|
187
|
+
}, I.unix = function() {
|
|
188
188
|
return Math.floor(this.valueOf() / 1e3);
|
|
189
|
-
},
|
|
189
|
+
}, I.valueOf = function() {
|
|
190
190
|
return this.$d.getTime();
|
|
191
|
-
},
|
|
191
|
+
}, I.startOf = function(U, G) {
|
|
192
192
|
var B = this, Y = !!P.u(G) || G, x = P.p(U), T = function(se, X) {
|
|
193
193
|
var ce = P.w(B.$u ? Date.UTC(B.$y, X, se) : new Date(B.$y, X, se), B);
|
|
194
194
|
return Y ? ce : ce.endOf(d);
|
|
@@ -215,20 +215,20 @@ function wa() {
|
|
|
215
215
|
default:
|
|
216
216
|
return this.clone();
|
|
217
217
|
}
|
|
218
|
-
},
|
|
218
|
+
}, I.endOf = function(U) {
|
|
219
219
|
return this.startOf(U, !1);
|
|
220
|
-
},
|
|
220
|
+
}, I.$set = function(U, G) {
|
|
221
221
|
var B, Y = P.p(U), x = "set" + (this.$u ? "UTC" : ""), T = (B = {}, B[d] = x + "Date", B[f] = x + "Date", B[h] = x + "Month", B[w] = x + "FullYear", B[c] = x + "Hours", B[l] = x + "Minutes", B[i] = x + "Seconds", B[o] = x + "Milliseconds", B)[Y], _ = Y === d ? this.$D + (G - this.$W) : G;
|
|
222
222
|
if (Y === h || Y === w) {
|
|
223
223
|
var V = this.clone().set(f, 1);
|
|
224
224
|
V.$d[T](_), V.init(), this.$d = V.set(f, Math.min(this.$D, V.daysInMonth())).$d;
|
|
225
225
|
} else T && this.$d[T](_);
|
|
226
226
|
return this.init(), this;
|
|
227
|
-
},
|
|
227
|
+
}, I.set = function(U, G) {
|
|
228
228
|
return this.clone().$set(U, G);
|
|
229
|
-
},
|
|
229
|
+
}, I.get = function(U) {
|
|
230
230
|
return this[P.p(U)]();
|
|
231
|
-
},
|
|
231
|
+
}, I.add = function(U, G) {
|
|
232
232
|
var B, Y = this;
|
|
233
233
|
U = Number(U);
|
|
234
234
|
var x = P.p(G), T = function(F) {
|
|
@@ -241,9 +241,9 @@ function wa() {
|
|
|
241
241
|
if (x === u) return T(7);
|
|
242
242
|
var _ = (B = {}, B[l] = a, B[c] = r, B[i] = n, B)[x] || 1, V = this.$d.getTime() + U * _;
|
|
243
243
|
return P.w(V, this);
|
|
244
|
-
},
|
|
244
|
+
}, I.subtract = function(U, G) {
|
|
245
245
|
return this.add(-1 * U, G);
|
|
246
|
-
},
|
|
246
|
+
}, I.format = function(U) {
|
|
247
247
|
var G = this, B = this.$locale();
|
|
248
248
|
if (!this.isValid()) return B.invalidDate || g;
|
|
249
249
|
var Y = U || "YYYY-MM-DDTHH:mm:ssZ", x = P.z(this), T = this.$H, _ = this.$m, V = this.$M, F = B.weekdays, W = B.months, K = B.meridiem, J = function(X, ce, q, Ae) {
|
|
@@ -309,9 +309,9 @@ function wa() {
|
|
|
309
309
|
return null;
|
|
310
310
|
})(X) || x.replace(":", "");
|
|
311
311
|
}));
|
|
312
|
-
},
|
|
312
|
+
}, I.utcOffset = function() {
|
|
313
313
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
314
|
-
},
|
|
314
|
+
}, I.diff = function(U, G, B) {
|
|
315
315
|
var Y, x = this, T = P.p(G), _ = j(U), V = (_.utcOffset() - this.utcOffset()) * a, F = this - _, W = function() {
|
|
316
316
|
return P.m(x, _);
|
|
317
317
|
};
|
|
@@ -344,32 +344,32 @@ function wa() {
|
|
|
344
344
|
Y = F;
|
|
345
345
|
}
|
|
346
346
|
return B ? Y : P.a(Y);
|
|
347
|
-
},
|
|
347
|
+
}, I.daysInMonth = function() {
|
|
348
348
|
return this.endOf(h).$D;
|
|
349
|
-
},
|
|
349
|
+
}, I.$locale = function() {
|
|
350
350
|
return S[this.$L];
|
|
351
|
-
},
|
|
351
|
+
}, I.locale = function(U, G) {
|
|
352
352
|
if (!U) return this.$L;
|
|
353
353
|
var B = this.clone(), Y = D(U, G, !0);
|
|
354
354
|
return Y && (B.$L = Y), B;
|
|
355
|
-
},
|
|
355
|
+
}, I.clone = function() {
|
|
356
356
|
return P.w(this.$d, this);
|
|
357
|
-
},
|
|
357
|
+
}, I.toDate = function() {
|
|
358
358
|
return new Date(this.valueOf());
|
|
359
|
-
},
|
|
359
|
+
}, I.toJSON = function() {
|
|
360
360
|
return this.isValid() ? this.toISOString() : null;
|
|
361
|
-
},
|
|
361
|
+
}, I.toISOString = function() {
|
|
362
362
|
return this.$d.toISOString();
|
|
363
|
-
},
|
|
363
|
+
}, I.toString = function() {
|
|
364
364
|
return this.$d.toUTCString();
|
|
365
365
|
}, O;
|
|
366
366
|
})(), Q = H.prototype;
|
|
367
367
|
return j.prototype = Q, [["$ms", o], ["$s", i], ["$m", l], ["$H", c], ["$W", d], ["$M", h], ["$y", w], ["$D", f]].forEach((function(O) {
|
|
368
|
-
Q[O[1]] = function(
|
|
369
|
-
return this.$g(
|
|
368
|
+
Q[O[1]] = function(I) {
|
|
369
|
+
return this.$g(I, O[0], O[1]);
|
|
370
370
|
};
|
|
371
|
-
})), j.extend = function(O,
|
|
372
|
-
return O.$i || (O(
|
|
371
|
+
})), j.extend = function(O, I) {
|
|
372
|
+
return O.$i || (O(I, H, j), O.$i = !0), j;
|
|
373
373
|
}, j.locale = D, j.isDayjs = L, j.unix = function(O) {
|
|
374
374
|
return j(1e3 * O);
|
|
375
375
|
}, j.en = S[y], j.Ls = S, j.p = {}, j;
|
|
@@ -391,14 +391,14 @@ function Pr() {
|
|
|
391
391
|
return o.fromToBase(d, u, h, m);
|
|
392
392
|
}
|
|
393
393
|
r.en.relativeTime = i, o.fromToBase = function(d, u, h, m, w) {
|
|
394
|
-
for (var f, g, b, A = h.$locale().relativeTime || i,
|
|
395
|
-
var y = C
|
|
394
|
+
for (var f, g, b, A = h.$locale().relativeTime || i, v = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], N = v.length, C = 0; C < N; C += 1) {
|
|
395
|
+
var y = v[C];
|
|
396
396
|
y.d && (f = m ? r(d).diff(h, y.d, !0) : h.diff(d, y.d, !0));
|
|
397
397
|
var S = (n.rounding || Math.round)(Math.abs(f));
|
|
398
398
|
if (b = f > 0, S <= y.r || !y.r) {
|
|
399
|
-
S <= 1 &&
|
|
400
|
-
var
|
|
401
|
-
w && (S = w("" + S)), g = typeof
|
|
399
|
+
S <= 1 && C > 0 && (y = v[C - 1]);
|
|
400
|
+
var k = A[y.l];
|
|
401
|
+
w && (S = w("" + S)), g = typeof k == "string" ? k.replace("%d", S) : k(S, u, y.l, b);
|
|
402
402
|
break;
|
|
403
403
|
}
|
|
404
404
|
}
|
|
@@ -478,15 +478,15 @@ function Dr() {
|
|
|
478
478
|
y === void 0 && (y = "");
|
|
479
479
|
var S = y.match(a);
|
|
480
480
|
if (!S) return null;
|
|
481
|
-
var
|
|
481
|
+
var k = ("" + S[0]).match(r) || ["-", 0, 0], L = k[0], D = 60 * +k[1] + +k[2];
|
|
482
482
|
return D === 0 ? 0 : L === "+" ? D : -D;
|
|
483
483
|
})(g), g === null)) return this;
|
|
484
|
-
var
|
|
485
|
-
if (
|
|
484
|
+
var v = Math.abs(g) <= 16 ? 60 * g : g;
|
|
485
|
+
if (v === 0) return this.utc(b);
|
|
486
486
|
var N = this.clone();
|
|
487
|
-
if (b) return N.$offset =
|
|
488
|
-
var
|
|
489
|
-
return (N = this.local().add(
|
|
487
|
+
if (b) return N.$offset = v, N.$u = !1, N;
|
|
488
|
+
var C = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
489
|
+
return (N = this.local().add(v + C, n)).$offset = v, N.$x.$localOffset = C, N;
|
|
490
490
|
};
|
|
491
491
|
var m = c.format;
|
|
492
492
|
c.format = function(g) {
|
|
@@ -509,8 +509,8 @@ function Dr() {
|
|
|
509
509
|
var f = c.diff;
|
|
510
510
|
c.diff = function(g, b, A) {
|
|
511
511
|
if (g && this.$u === g.$u) return f.call(this, g, b, A);
|
|
512
|
-
var
|
|
513
|
-
return f.call(
|
|
512
|
+
var v = this.local(), N = l(g).local();
|
|
513
|
+
return f.call(v, N, b, A);
|
|
514
514
|
};
|
|
515
515
|
};
|
|
516
516
|
}));
|
|
@@ -528,27 +528,27 @@ function Hr() {
|
|
|
528
528
|
return function(r, o, i) {
|
|
529
529
|
var l, c = function(m, w, f) {
|
|
530
530
|
f === void 0 && (f = {});
|
|
531
|
-
var g = new Date(m), b = (function(A,
|
|
532
|
-
|
|
533
|
-
var N =
|
|
534
|
-
return y || (y = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: A, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: N }), a[
|
|
531
|
+
var g = new Date(m), b = (function(A, v) {
|
|
532
|
+
v === void 0 && (v = {});
|
|
533
|
+
var N = v.timeZoneName || "short", C = A + "|" + N, y = a[C];
|
|
534
|
+
return y || (y = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: A, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: N }), a[C] = y), y;
|
|
535
535
|
})(w, f);
|
|
536
536
|
return b.formatToParts(g);
|
|
537
537
|
}, d = function(m, w) {
|
|
538
538
|
for (var f = c(m, w), g = [], b = 0; b < f.length; b += 1) {
|
|
539
|
-
var A = f[b],
|
|
540
|
-
|
|
539
|
+
var A = f[b], v = A.type, N = A.value, C = n[v];
|
|
540
|
+
C >= 0 && (g[C] = parseInt(N, 10));
|
|
541
541
|
}
|
|
542
|
-
var y = g[3], S = y === 24 ? 0 : y,
|
|
543
|
-
return (i.utc(
|
|
542
|
+
var y = g[3], S = y === 24 ? 0 : y, k = g[0] + "-" + g[1] + "-" + g[2] + " " + S + ":" + g[4] + ":" + g[5] + ":000", L = +m;
|
|
543
|
+
return (i.utc(k).valueOf() - (L -= L % 1e3)) / 6e4;
|
|
544
544
|
}, u = o.prototype;
|
|
545
545
|
u.tz = function(m, w) {
|
|
546
546
|
m === void 0 && (m = l);
|
|
547
|
-
var f, g = this.utcOffset(), b = this.toDate(), A = b.toLocaleString("en-US", { timeZone: m }),
|
|
547
|
+
var f, g = this.utcOffset(), b = this.toDate(), A = b.toLocaleString("en-US", { timeZone: m }), v = Math.round((b - new Date(A)) / 1e3 / 60), N = 15 * -Math.round(b.getTimezoneOffset() / 15) - v;
|
|
548
548
|
if (!Number(N)) f = this.utcOffset(0, w);
|
|
549
549
|
else if (f = i(A, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(N, !0), w) {
|
|
550
|
-
var
|
|
551
|
-
f = f.add(g -
|
|
550
|
+
var C = f.utcOffset();
|
|
551
|
+
f = f.add(g - C, "minute");
|
|
552
552
|
}
|
|
553
553
|
return f.$x.$timezone = m, f;
|
|
554
554
|
}, u.offsetName = function(m) {
|
|
@@ -565,12 +565,12 @@ function Hr() {
|
|
|
565
565
|
}, i.tz = function(m, w, f) {
|
|
566
566
|
var g = f && w, b = f || w || l, A = d(+i(), b);
|
|
567
567
|
if (typeof m != "string") return i(m).tz(b);
|
|
568
|
-
var
|
|
569
|
-
var D = S - 60 *
|
|
570
|
-
if (
|
|
571
|
-
var P = d(D -= 60 * (j -
|
|
568
|
+
var v = (function(S, k, L) {
|
|
569
|
+
var D = S - 60 * k * 1e3, j = d(D, L);
|
|
570
|
+
if (k === j) return [D, k];
|
|
571
|
+
var P = d(D -= 60 * (j - k) * 1e3, L);
|
|
572
572
|
return j === P ? [D, j] : [S - 60 * Math.min(j, P) * 1e3, Math.max(j, P)];
|
|
573
|
-
})(i.utc(m, g).valueOf(), A, b), N =
|
|
573
|
+
})(i.utc(m, g).valueOf(), A, b), N = v[0], C = v[1], y = i(N).utcOffset(C);
|
|
574
574
|
return y.$x.$timezone = b, y;
|
|
575
575
|
}, i.tz.guess = function() {
|
|
576
576
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
@@ -634,7 +634,7 @@ const Wr = { url: "", target: "_self", canonical: "", internal: "" }, Yr = {
|
|
|
634
634
|
function Kr(e) {
|
|
635
635
|
return e == null ? "" : typeof e == "string" ? e : e.article ?? e.home ?? e.section ?? e.seo ?? "";
|
|
636
636
|
}
|
|
637
|
-
const
|
|
637
|
+
const Ct = (e, t, n, a) => {
|
|
638
638
|
const r = Kr(e?.main?.title), o = e?.main?.description ?? "";
|
|
639
639
|
return {
|
|
640
640
|
authors: e?.main?.author ? [
|
|
@@ -693,8 +693,8 @@ function On(e) {
|
|
|
693
693
|
for (; l < t.length && i > 0; ) {
|
|
694
694
|
const w = t.slice(l), f = w.match(/<div\b/i), g = w.match(/<\/div>/i), b = f?.index ?? -1, A = g?.index ?? -1;
|
|
695
695
|
if (A === -1) break;
|
|
696
|
-
const
|
|
697
|
-
b !== -1 && b < A ? (i += 1, l =
|
|
696
|
+
const v = b === -1 ? 1 / 0 : l + b, N = l + A;
|
|
697
|
+
b !== -1 && b < A ? (i += 1, l = v + f[0].length) : (i -= 1, c = N, l = N + g[0].length);
|
|
698
698
|
}
|
|
699
699
|
const d = t.slice(o, c), u = [], h = /<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;
|
|
700
700
|
let m;
|
|
@@ -772,7 +772,7 @@ const Xr = (e) => {
|
|
|
772
772
|
if (!e?.preview?.length) return null;
|
|
773
773
|
const t = e.preview;
|
|
774
774
|
return t.find((n) => n.format === "1.91:1") ?? t[t.length - 1];
|
|
775
|
-
},
|
|
775
|
+
}, vs = ({
|
|
776
776
|
schemaImage: e,
|
|
777
777
|
socialImage: t,
|
|
778
778
|
fallbackImage: n,
|
|
@@ -796,7 +796,7 @@ const Xr = (e) => {
|
|
|
796
796
|
PUBLIC_ASSETS_URL: r,
|
|
797
797
|
PUBLIC_API_FRONT: o,
|
|
798
798
|
DATE_TIMEZONE: i = "America/Mexico_City"
|
|
799
|
-
} = R(), l = Aa(t.keywords) ?? "", c = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", d = (r !== "false" ? r : o) ?? "", u = Xr(a), h = t.main.title.article, m =
|
|
799
|
+
} = R(), l = Aa(t.keywords) ?? "", c = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", d = (r !== "false" ? r : o) ?? "", u = Xr(a), h = t.main.title.article, m = vs({
|
|
800
800
|
schemaImage: u,
|
|
801
801
|
socialImage: t?.social?.images?.facebook,
|
|
802
802
|
fallbackImage: c,
|
|
@@ -804,7 +804,7 @@ const Xr = (e) => {
|
|
|
804
804
|
defaultWidth: n.landscapeLogo.width,
|
|
805
805
|
defaultHeight: n.landscapeLogo.height,
|
|
806
806
|
alt: a?.description ?? h
|
|
807
|
-
}), w =
|
|
807
|
+
}), w = vs({
|
|
808
808
|
schemaImage: u,
|
|
809
809
|
socialImage: t?.social?.images?.twitter,
|
|
810
810
|
fallbackImage: c,
|
|
@@ -1085,9 +1085,9 @@ async function lo({
|
|
|
1085
1085
|
), c = await Promise.allSettled(l), d = c.map((f) => f.status === "fulfilled" && f.value?.data?.data ? f.value.data.data : []), u = d.flat(), m = (d[d.length - 1] ?? []).length === o, w = c[0]?.status === "fulfilled" ? c[0].value : void 0;
|
|
1086
1086
|
return { data: u, hasNextPage: m, firstBatchResponse: w };
|
|
1087
1087
|
}
|
|
1088
|
-
const $e = [], We = [],
|
|
1088
|
+
const $e = [], We = [], Cs = () => !!R().DEBUG_ENABLED, Ce = {
|
|
1089
1089
|
add(e) {
|
|
1090
|
-
|
|
1090
|
+
Cs() && ($e.push({
|
|
1091
1091
|
id: `${Date.now()}-${$e.length}`,
|
|
1092
1092
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1093
1093
|
...e
|
|
@@ -1103,7 +1103,7 @@ const $e = [], We = [], vs = () => !!R().DEBUG_ENABLED, ke = {
|
|
|
1103
1103
|
$e.length = 0;
|
|
1104
1104
|
},
|
|
1105
1105
|
addSuccess(e) {
|
|
1106
|
-
|
|
1106
|
+
Cs() && (We.push({
|
|
1107
1107
|
id: `${Date.now()}-s-${We.length}`,
|
|
1108
1108
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1109
1109
|
...e
|
|
@@ -1163,7 +1163,7 @@ const $e = [], We = [], vs = () => !!R().DEBUG_ENABLED, ke = {
|
|
|
1163
1163
|
}, mo = (e) => {
|
|
1164
1164
|
const t = /<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/gi;
|
|
1165
1165
|
return [...e.matchAll(t)];
|
|
1166
|
-
},
|
|
1166
|
+
}, va = (e) => {
|
|
1167
1167
|
const t = e.banners.find(
|
|
1168
1168
|
(r) => r.key === e.name
|
|
1169
1169
|
);
|
|
@@ -1274,7 +1274,7 @@ const fo = () => {
|
|
|
1274
1274
|
]
|
|
1275
1275
|
}
|
|
1276
1276
|
};
|
|
1277
|
-
},
|
|
1277
|
+
}, km = (e) => {
|
|
1278
1278
|
let t = "";
|
|
1279
1279
|
if (e.params.news.match(/.*t[0-9]*.html/g)) {
|
|
1280
1280
|
const n = e.params.news.split("-"), a = n[n.length - 1] ?? "", r = a.substring(1, 9), o = a.substring(9, 13);
|
|
@@ -1292,7 +1292,7 @@ const fo = () => {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
return e.config.servicePrefix + t;
|
|
1294
1294
|
};
|
|
1295
|
-
function
|
|
1295
|
+
function Im(e) {
|
|
1296
1296
|
const t = e.lastIndexOf("-"), n = t >= 0 ? [e.slice(0, t), e.slice(t + 1)] : [e], a = n[n.length - 1]?.split("."), r = a && a[0] ? a[0] : "", o = r.substring(0, 2), i = r.substring(2, 10), l = r.substring(10);
|
|
1297
1297
|
return { path: {
|
|
1298
1298
|
vy: (d) => `/videos/video-youtube/${ye(i).format(
|
|
@@ -1401,7 +1401,7 @@ function Bm(e) {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
return t;
|
|
1403
1403
|
}
|
|
1404
|
-
function
|
|
1404
|
+
function Ca(e) {
|
|
1405
1405
|
const t = {};
|
|
1406
1406
|
for (const [n, a] of Object.entries(e)) {
|
|
1407
1407
|
const r = atob(n.split("").reverse().join(""));
|
|
@@ -1513,7 +1513,7 @@ const Mm = async (e, t, n) => {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
)
|
|
1515
1515
|
] });
|
|
1516
|
-
},
|
|
1516
|
+
}, vo = () => {
|
|
1517
1517
|
const { ANALYTICS_gtm: e } = R();
|
|
1518
1518
|
return e && /* @__PURE__ */ p($, { children: [
|
|
1519
1519
|
/* @__PURE__ */ s(
|
|
@@ -1541,7 +1541,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
1541
1541
|
}
|
|
1542
1542
|
) })
|
|
1543
1543
|
] });
|
|
1544
|
-
},
|
|
1544
|
+
}, Co = () => {
|
|
1545
1545
|
const { ANALYTICS_marfeel: e } = R();
|
|
1546
1546
|
return e && /* @__PURE__ */ s(
|
|
1547
1547
|
"script",
|
|
@@ -1704,7 +1704,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
1704
1704
|
Common: xo,
|
|
1705
1705
|
Nota: So,
|
|
1706
1706
|
NotaLista: Eo
|
|
1707
|
-
},
|
|
1707
|
+
}, ko = ({ active: e, type: t, customSpeculation: n }) => {
|
|
1708
1708
|
const a = n || To[t];
|
|
1709
1709
|
return e && /* @__PURE__ */ s(
|
|
1710
1710
|
"script",
|
|
@@ -1720,7 +1720,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
1720
1720
|
return n.get(`/schemas${t}`, { params: e }).catch((a) => {
|
|
1721
1721
|
console.log(`[/schemas${t}] Error: ${a.message}`);
|
|
1722
1722
|
});
|
|
1723
|
-
},
|
|
1723
|
+
}, Io = (e, t) => {
|
|
1724
1724
|
if (typeof e == "string") return At(e, t);
|
|
1725
1725
|
if (e && typeof e == "object") {
|
|
1726
1726
|
const n = { ...e };
|
|
@@ -1741,7 +1741,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
1741
1741
|
itemListElement: o.map((l, c) => {
|
|
1742
1742
|
if (!l || typeof l != "object") return l;
|
|
1743
1743
|
const d = { ...l };
|
|
1744
|
-
return "item" in d && (d.item =
|
|
1744
|
+
return "item" in d && (d.item = Io(d.item, t)), typeof d.url == "string" && (d.url = At(d.url, t)), i && (d.position = c + 1), d;
|
|
1745
1745
|
})
|
|
1746
1746
|
};
|
|
1747
1747
|
}
|
|
@@ -2110,25 +2110,25 @@ const Oo = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
2110
2110
|
if (e.search("/page/") === -1) return e.replace("/", "");
|
|
2111
2111
|
const t = e.split("/"), n = t.indexOf("page") - 1;
|
|
2112
2112
|
return n < 0 ? e : (t[n] ?? "").replace("/", "");
|
|
2113
|
-
},
|
|
2113
|
+
}, Ee = (e) => {
|
|
2114
2114
|
const n = e.replace(/^\/|\/$/g, "").split("/"), a = n.indexOf("page");
|
|
2115
2115
|
return a > 0 ? `${n[a - 1] ?? ""}` : `${n[n.length - 1] ?? ""}`;
|
|
2116
2116
|
}, Qo = {
|
|
2117
2117
|
404: () => "404",
|
|
2118
2118
|
home: () => "home",
|
|
2119
|
-
slug: (e) =>
|
|
2119
|
+
slug: (e) => Ee(e.pathname),
|
|
2120
2120
|
news: (e) => to(e.pathname)?.slug,
|
|
2121
|
-
seccion: (e) =>
|
|
2122
|
-
tema: (e) =>
|
|
2123
|
-
pages: (e) =>
|
|
2124
|
-
auth: (e) =>
|
|
2125
|
-
buscar: (e) =>
|
|
2126
|
-
"ultimas-noticias": (e) =>
|
|
2127
|
-
anuncia: (e) =>
|
|
2128
|
-
contacto: (e) =>
|
|
2129
|
-
autor: (e) =>
|
|
2130
|
-
video: (e) =>
|
|
2131
|
-
videos: (e) =>
|
|
2121
|
+
seccion: (e) => Ee(e.pathname),
|
|
2122
|
+
tema: (e) => Ee(e.pathname),
|
|
2123
|
+
pages: (e) => Ee(e.pathname),
|
|
2124
|
+
auth: (e) => Ee(e.pathname),
|
|
2125
|
+
buscar: (e) => Ee(e.pathname),
|
|
2126
|
+
"ultimas-noticias": (e) => Ee(e.pathname),
|
|
2127
|
+
anuncia: (e) => Ee(e.pathname),
|
|
2128
|
+
contacto: (e) => Ee(e.pathname),
|
|
2129
|
+
autor: (e) => Ee(e.pathname),
|
|
2130
|
+
video: (e) => Ee(e.pathname),
|
|
2131
|
+
videos: (e) => Ee(e.pathname)
|
|
2132
2132
|
}, ft = (e) => {
|
|
2133
2133
|
const t = e.split("/"), n = t[t.length - 1] ?? "1";
|
|
2134
2134
|
return Number(n) > 0 ? Number(n) : 1;
|
|
@@ -2348,14 +2348,14 @@ const { toString: Wo } = Object.prototype, { getPrototypeOf: Wn } = Object, { it
|
|
|
2348
2348
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
2349
2349
|
})(/* @__PURE__ */ Object.create(null)), Ie = (e) => (e = e.toLowerCase(), (t) => an(t) === e), rn = (e) => (t) => typeof t === e, { isArray: mt } = Array, lt = rn("undefined");
|
|
2350
2350
|
function St(e) {
|
|
2351
|
-
return e !== null && !lt(e) && e.constructor !== null && !lt(e.constructor) &&
|
|
2351
|
+
return e !== null && !lt(e) && e.constructor !== null && !lt(e.constructor) && Ne(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2352
2352
|
}
|
|
2353
2353
|
const Ta = Ie("ArrayBuffer");
|
|
2354
2354
|
function Yo(e) {
|
|
2355
2355
|
let t;
|
|
2356
2356
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ta(e.buffer), t;
|
|
2357
2357
|
}
|
|
2358
|
-
const Ko = rn("string"),
|
|
2358
|
+
const Ko = rn("string"), Ne = rn("function"), ka = rn("number"), Et = (e) => e !== null && typeof e == "object", Jo = (e) => e === !0 || e === !1, zt = (e) => {
|
|
2359
2359
|
if (an(e) !== "object")
|
|
2360
2360
|
return !1;
|
|
2361
2361
|
const t = Wn(e);
|
|
@@ -2368,10 +2368,10 @@ const Ko = rn("string"), ve = rn("function"), Ia = rn("number"), Et = (e) => e !
|
|
|
2368
2368
|
} catch {
|
|
2369
2369
|
return !1;
|
|
2370
2370
|
}
|
|
2371
|
-
}, Xo = Ie("Date"), ei = Ie("File"), ti = Ie("Blob"), ni = Ie("FileList"), si = (e) => Et(e) &&
|
|
2371
|
+
}, Xo = Ie("Date"), ei = Ie("File"), ti = Ie("Blob"), ni = Ie("FileList"), si = (e) => Et(e) && Ne(e.pipe), ai = (e) => {
|
|
2372
2372
|
let t;
|
|
2373
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
|
2374
|
-
t === "object" &&
|
|
2373
|
+
return e && (typeof FormData == "function" && e instanceof FormData || Ne(e.append) && ((t = an(e)) === "formdata" || // detect form-data instance
|
|
2374
|
+
t === "object" && Ne(e.toString) && e.toString() === "[object FormData]"));
|
|
2375
2375
|
}, ri = Ie("URLSearchParams"), [oi, ii, li, ci] = ["ReadableStream", "Request", "Response", "Headers"].map(Ie), di = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
2376
2376
|
function Tt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
2377
2377
|
if (e === null || typeof e > "u")
|
|
@@ -2389,7 +2389,7 @@ function Tt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
2389
2389
|
l = o[a], t.call(null, e[l], l, e);
|
|
2390
2390
|
}
|
|
2391
2391
|
}
|
|
2392
|
-
function
|
|
2392
|
+
function Ia(e, t) {
|
|
2393
2393
|
if (St(e))
|
|
2394
2394
|
return null;
|
|
2395
2395
|
t = t.toLowerCase();
|
|
@@ -2403,7 +2403,7 @@ function ka(e, t) {
|
|
|
2403
2403
|
const Ye = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ua = (e) => !lt(e) && e !== Ye;
|
|
2404
2404
|
function Bn() {
|
|
2405
2405
|
const { caseless: e, skipUndefined: t } = Ua(this) && this || {}, n = {}, a = (r, o) => {
|
|
2406
|
-
const i = e &&
|
|
2406
|
+
const i = e && Ia(n, o) || o;
|
|
2407
2407
|
zt(n[i]) && zt(r) ? n[i] = Bn(n[i], r) : zt(r) ? n[i] = Bn({}, r) : mt(r) ? n[i] = r.slice() : (!t || !lt(r)) && (n[i] = r);
|
|
2408
2408
|
};
|
|
2409
2409
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
@@ -2411,7 +2411,7 @@ function Bn() {
|
|
|
2411
2411
|
return n;
|
|
2412
2412
|
}
|
|
2413
2413
|
const ui = (e, t, n, { allOwnKeys: a } = {}) => (Tt(t, (r, o) => {
|
|
2414
|
-
n &&
|
|
2414
|
+
n && Ne(r) ? e[o] = Sa(r, n) : e[o] = r;
|
|
2415
2415
|
}, { allOwnKeys: a }), e), mi = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), hi = (e, t, n, a) => {
|
|
2416
2416
|
e.prototype = Object.create(t.prototype, a), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
2417
2417
|
value: t.prototype
|
|
@@ -2434,7 +2434,7 @@ const ui = (e, t, n, { allOwnKeys: a } = {}) => (Tt(t, (r, o) => {
|
|
|
2434
2434
|
if (!e) return null;
|
|
2435
2435
|
if (mt(e)) return e;
|
|
2436
2436
|
let t = e.length;
|
|
2437
|
-
if (!
|
|
2437
|
+
if (!ka(t)) return null;
|
|
2438
2438
|
const n = new Array(t);
|
|
2439
2439
|
for (; t-- > 0; )
|
|
2440
2440
|
n[t] = e[t];
|
|
@@ -2452,12 +2452,12 @@ const ui = (e, t, n, { allOwnKeys: a } = {}) => (Tt(t, (r, o) => {
|
|
|
2452
2452
|
for (; (n = e.exec(t)) !== null; )
|
|
2453
2453
|
a.push(n);
|
|
2454
2454
|
return a;
|
|
2455
|
-
}, yi = Ie("HTMLFormElement"),
|
|
2455
|
+
}, yi = Ie("HTMLFormElement"), vi = (e) => e.toLowerCase().replace(
|
|
2456
2456
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
2457
2457
|
function(n, a, r) {
|
|
2458
2458
|
return a.toUpperCase() + r;
|
|
2459
2459
|
}
|
|
2460
|
-
), Ss = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype),
|
|
2460
|
+
), Ss = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Ci = Ie("RegExp"), La = (e, t) => {
|
|
2461
2461
|
const n = Object.getOwnPropertyDescriptors(e), a = {};
|
|
2462
2462
|
Tt(n, (r, o) => {
|
|
2463
2463
|
let i;
|
|
@@ -2465,10 +2465,10 @@ const ui = (e, t, n, { allOwnKeys: a } = {}) => (Tt(t, (r, o) => {
|
|
|
2465
2465
|
}), Object.defineProperties(e, a);
|
|
2466
2466
|
}, Ni = (e) => {
|
|
2467
2467
|
La(e, (t, n) => {
|
|
2468
|
-
if (
|
|
2468
|
+
if (Ne(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
2469
2469
|
return !1;
|
|
2470
2470
|
const a = e[n];
|
|
2471
|
-
if (
|
|
2471
|
+
if (Ne(a)) {
|
|
2472
2472
|
if (t.enumerable = !1, "writable" in t) {
|
|
2473
2473
|
t.writable = !1;
|
|
2474
2474
|
return;
|
|
@@ -2488,9 +2488,9 @@ const ui = (e, t, n, { allOwnKeys: a } = {}) => (Tt(t, (r, o) => {
|
|
|
2488
2488
|
}, Si = () => {
|
|
2489
2489
|
}, Ei = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
2490
2490
|
function Ti(e) {
|
|
2491
|
-
return !!(e &&
|
|
2491
|
+
return !!(e && Ne(e.append) && e[Ea] === "FormData" && e[sn]);
|
|
2492
2492
|
}
|
|
2493
|
-
const
|
|
2493
|
+
const ki = (e) => {
|
|
2494
2494
|
const t = new Array(10), n = (a, r) => {
|
|
2495
2495
|
if (Et(a)) {
|
|
2496
2496
|
if (t.indexOf(a) >= 0)
|
|
@@ -2509,21 +2509,21 @@ const Ii = (e) => {
|
|
|
2509
2509
|
return a;
|
|
2510
2510
|
};
|
|
2511
2511
|
return n(e, 0);
|
|
2512
|
-
},
|
|
2512
|
+
}, Ii = Ie("AsyncFunction"), Ui = (e) => e && (Et(e) || Ne(e)) && Ne(e.then) && Ne(e.catch), Ra = ((e, t) => e ? setImmediate : t ? ((n, a) => (Ye.addEventListener("message", ({ source: r, data: o }) => {
|
|
2513
2513
|
r === Ye && o === n && a.length && a.shift()();
|
|
2514
2514
|
}, !1), (r) => {
|
|
2515
2515
|
a.push(r), Ye.postMessage(n, "*");
|
|
2516
2516
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
2517
2517
|
typeof setImmediate == "function",
|
|
2518
|
-
|
|
2519
|
-
), Li = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ye) : typeof process < "u" && process.nextTick || Ra, Ri = (e) => e != null &&
|
|
2518
|
+
Ne(Ye.postMessage)
|
|
2519
|
+
), Li = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ye) : typeof process < "u" && process.nextTick || Ra, Ri = (e) => e != null && Ne(e[sn]), E = {
|
|
2520
2520
|
isArray: mt,
|
|
2521
2521
|
isArrayBuffer: Ta,
|
|
2522
2522
|
isBuffer: St,
|
|
2523
2523
|
isFormData: ai,
|
|
2524
2524
|
isArrayBufferView: Yo,
|
|
2525
2525
|
isString: Ko,
|
|
2526
|
-
isNumber:
|
|
2526
|
+
isNumber: ka,
|
|
2527
2527
|
isBoolean: Jo,
|
|
2528
2528
|
isObject: Et,
|
|
2529
2529
|
isPlainObject: zt,
|
|
@@ -2536,8 +2536,8 @@ const Ii = (e) => {
|
|
|
2536
2536
|
isDate: Xo,
|
|
2537
2537
|
isFile: ei,
|
|
2538
2538
|
isBlob: ti,
|
|
2539
|
-
isRegExp:
|
|
2540
|
-
isFunction:
|
|
2539
|
+
isRegExp: Ci,
|
|
2540
|
+
isFunction: Ne,
|
|
2541
2541
|
isStream: si,
|
|
2542
2542
|
isURLSearchParams: ri,
|
|
2543
2543
|
isTypedArray: wi,
|
|
@@ -2562,15 +2562,15 @@ const Ii = (e) => {
|
|
|
2562
2562
|
reduceDescriptors: La,
|
|
2563
2563
|
freezeMethods: Ni,
|
|
2564
2564
|
toObjectSet: xi,
|
|
2565
|
-
toCamelCase:
|
|
2565
|
+
toCamelCase: vi,
|
|
2566
2566
|
noop: Si,
|
|
2567
2567
|
toFiniteNumber: Ei,
|
|
2568
|
-
findKey:
|
|
2568
|
+
findKey: Ia,
|
|
2569
2569
|
global: Ye,
|
|
2570
2570
|
isContextDefined: Ua,
|
|
2571
2571
|
isSpecCompliantForm: Ti,
|
|
2572
|
-
toJSONObject:
|
|
2573
|
-
isAsyncFn:
|
|
2572
|
+
toJSONObject: ki,
|
|
2573
|
+
isAsyncFn: Ii,
|
|
2574
2574
|
isThenable: Ui,
|
|
2575
2575
|
setImmediate: Ra,
|
|
2576
2576
|
asap: Li,
|
|
@@ -2675,10 +2675,10 @@ function on(e, t, n) {
|
|
|
2675
2675
|
if (E.endsWith(g, "{}"))
|
|
2676
2676
|
g = a ? g : g.slice(0, -2), f = JSON.stringify(f);
|
|
2677
2677
|
else if (E.isArray(f) && Oi(f) || (E.isFileList(f) || E.endsWith(g, "[]")) && (A = E.toArray(f)))
|
|
2678
|
-
return g = Ba(g), A.forEach(function(N,
|
|
2678
|
+
return g = Ba(g), A.forEach(function(N, C) {
|
|
2679
2679
|
!(E.isUndefined(N) || N === null) && t.append(
|
|
2680
2680
|
// eslint-disable-next-line no-nested-ternary
|
|
2681
|
-
i === !0 ? Es([g],
|
|
2681
|
+
i === !0 ? Es([g], C, o) : i === null ? g : g + "[]",
|
|
2682
2682
|
d(N)
|
|
2683
2683
|
);
|
|
2684
2684
|
}), !1;
|
|
@@ -2694,14 +2694,14 @@ function on(e, t, n) {
|
|
|
2694
2694
|
if (!E.isUndefined(f)) {
|
|
2695
2695
|
if (h.indexOf(f) !== -1)
|
|
2696
2696
|
throw Error("Circular reference detected in " + g.join("."));
|
|
2697
|
-
h.push(f), E.forEach(f, function(A,
|
|
2697
|
+
h.push(f), E.forEach(f, function(A, v) {
|
|
2698
2698
|
(!(E.isUndefined(A) || A === null) && r.call(
|
|
2699
2699
|
t,
|
|
2700
2700
|
A,
|
|
2701
|
-
E.isString(
|
|
2701
|
+
E.isString(v) ? v.trim() : v,
|
|
2702
2702
|
g,
|
|
2703
2703
|
m
|
|
2704
|
-
)) === !0 && w(A, g ? g.concat(
|
|
2704
|
+
)) === !0 && w(A, g ? g.concat(v) : [v]);
|
|
2705
2705
|
}), h.pop();
|
|
2706
2706
|
}
|
|
2707
2707
|
}
|
|
@@ -2756,7 +2756,7 @@ function _a(e, t, n) {
|
|
|
2756
2756
|
}
|
|
2757
2757
|
return e;
|
|
2758
2758
|
}
|
|
2759
|
-
class
|
|
2759
|
+
class ks {
|
|
2760
2760
|
constructor() {
|
|
2761
2761
|
this.handlers = [];
|
|
2762
2762
|
}
|
|
@@ -2879,7 +2879,7 @@ function Wi(e, t, n) {
|
|
|
2879
2879
|
}
|
|
2880
2880
|
return (n || JSON.stringify)(e);
|
|
2881
2881
|
}
|
|
2882
|
-
const
|
|
2882
|
+
const kt = {
|
|
2883
2883
|
transitional: qa,
|
|
2884
2884
|
adapter: ["xhr", "http", "fetch"],
|
|
2885
2885
|
transformRequest: [function(t, n) {
|
|
@@ -2908,7 +2908,7 @@ const It = {
|
|
|
2908
2908
|
return o || r ? (n.setContentType("application/json", !1), Wi(t)) : t;
|
|
2909
2909
|
}],
|
|
2910
2910
|
transformResponse: [function(t) {
|
|
2911
|
-
const n = this.transitional ||
|
|
2911
|
+
const n = this.transitional || kt.transitional, a = n && n.forcedJSONParsing, r = this.responseType === "json";
|
|
2912
2912
|
if (E.isResponse(t) || E.isReadableStream(t))
|
|
2913
2913
|
return t;
|
|
2914
2914
|
if (t && E.isString(t) && (a && !this.responseType || r)) {
|
|
@@ -2946,7 +2946,7 @@ const It = {
|
|
|
2946
2946
|
}
|
|
2947
2947
|
};
|
|
2948
2948
|
E.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
2949
|
-
|
|
2949
|
+
kt.headers[e] = {};
|
|
2950
2950
|
});
|
|
2951
2951
|
const Yi = E.toObjectSet([
|
|
2952
2952
|
"age",
|
|
@@ -2973,7 +2973,7 @@ const Yi = E.toObjectSet([
|
|
|
2973
2973
|
`).forEach(function(i) {
|
|
2974
2974
|
r = i.indexOf(":"), n = i.substring(0, r).trim().toLowerCase(), a = i.substring(r + 1).trim(), !(!n || t[n] && Yi[n]) && (n === "set-cookie" ? t[n] ? t[n].push(a) : t[n] = [a] : t[n] = t[n] ? t[n] + ", " + a : a);
|
|
2975
2975
|
}), t;
|
|
2976
|
-
},
|
|
2976
|
+
}, Is = Symbol("internals");
|
|
2977
2977
|
function pt(e) {
|
|
2978
2978
|
return e && String(e).trim().toLowerCase();
|
|
2979
2979
|
}
|
|
@@ -3012,7 +3012,7 @@ function el(e, t) {
|
|
|
3012
3012
|
});
|
|
3013
3013
|
});
|
|
3014
3014
|
}
|
|
3015
|
-
let
|
|
3015
|
+
let xe = class {
|
|
3016
3016
|
constructor(t) {
|
|
3017
3017
|
t && this.set(t);
|
|
3018
3018
|
}
|
|
@@ -3128,7 +3128,7 @@ let Ne = class {
|
|
|
3128
3128
|
return n.forEach((r) => a.set(r)), a;
|
|
3129
3129
|
}
|
|
3130
3130
|
static accessor(t) {
|
|
3131
|
-
const a = (this[
|
|
3131
|
+
const a = (this[Is] = this[Is] = {
|
|
3132
3132
|
accessors: {}
|
|
3133
3133
|
}).accessors, r = this.prototype;
|
|
3134
3134
|
function o(i) {
|
|
@@ -3138,8 +3138,8 @@ let Ne = class {
|
|
|
3138
3138
|
return E.isArray(t) ? t.forEach(o) : o(t), this;
|
|
3139
3139
|
}
|
|
3140
3140
|
};
|
|
3141
|
-
|
|
3142
|
-
E.reduceDescriptors(
|
|
3141
|
+
xe.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
3142
|
+
E.reduceDescriptors(xe.prototype, ({ value: e }, t) => {
|
|
3143
3143
|
let n = t[0].toUpperCase() + t.slice(1);
|
|
3144
3144
|
return {
|
|
3145
3145
|
get: () => e,
|
|
@@ -3148,9 +3148,9 @@ E.reduceDescriptors(Ne.prototype, ({ value: e }, t) => {
|
|
|
3148
3148
|
}
|
|
3149
3149
|
};
|
|
3150
3150
|
});
|
|
3151
|
-
E.freezeMethods(
|
|
3151
|
+
E.freezeMethods(xe);
|
|
3152
3152
|
function yn(e, t) {
|
|
3153
|
-
const n = this ||
|
|
3153
|
+
const n = this || kt, a = t || n, r = xe.from(a.headers);
|
|
3154
3154
|
let o = a.data;
|
|
3155
3155
|
return E.forEach(e, function(l) {
|
|
3156
3156
|
o = l.call(n, o, r.normalize(), t ? t.status : void 0);
|
|
@@ -3275,7 +3275,7 @@ function Fa(e, t, n) {
|
|
|
3275
3275
|
let a = !ol(t);
|
|
3276
3276
|
return e && (a || n == !1) ? il(e, t) : t;
|
|
3277
3277
|
}
|
|
3278
|
-
const Rs = (e) => e instanceof
|
|
3278
|
+
const Rs = (e) => e instanceof xe ? { ...e } : e;
|
|
3279
3279
|
function tt(e, t) {
|
|
3280
3280
|
t = t || {};
|
|
3281
3281
|
const n = {};
|
|
@@ -3343,7 +3343,7 @@ function tt(e, t) {
|
|
|
3343
3343
|
const Ha = (e) => {
|
|
3344
3344
|
const t = tt({}, e);
|
|
3345
3345
|
let { data: n, withXSRFToken: a, xsrfHeaderName: r, xsrfCookieName: o, headers: i, auth: l } = t;
|
|
3346
|
-
if (t.headers = i =
|
|
3346
|
+
if (t.headers = i = xe.from(i), t.url = _a(Fa(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), l && i.set(
|
|
3347
3347
|
"Authorization",
|
|
3348
3348
|
"Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
|
|
3349
3349
|
), E.isFormData(n)) {
|
|
@@ -3365,7 +3365,7 @@ const Ha = (e) => {
|
|
|
3365
3365
|
return new Promise(function(n, a) {
|
|
3366
3366
|
const r = Ha(e);
|
|
3367
3367
|
let o = r.data;
|
|
3368
|
-
const i =
|
|
3368
|
+
const i = xe.from(r.headers).normalize();
|
|
3369
3369
|
let { responseType: l, onUploadProgress: c, onDownloadProgress: d } = r, u, h, m, w, f;
|
|
3370
3370
|
function g() {
|
|
3371
3371
|
w && w(), f && f(), r.cancelToken && r.cancelToken.unsubscribe(u), r.signal && r.signal.removeEventListener("abort", u);
|
|
@@ -3375,7 +3375,7 @@ const Ha = (e) => {
|
|
|
3375
3375
|
function A() {
|
|
3376
3376
|
if (!b)
|
|
3377
3377
|
return;
|
|
3378
|
-
const N =
|
|
3378
|
+
const N = xe.from(
|
|
3379
3379
|
"getAllResponseHeaders" in b && b.getAllResponseHeaders()
|
|
3380
3380
|
), y = {
|
|
3381
3381
|
data: !l || l === "text" || l === "json" ? b.responseText : b.response,
|
|
@@ -3385,36 +3385,36 @@ const Ha = (e) => {
|
|
|
3385
3385
|
config: e,
|
|
3386
3386
|
request: b
|
|
3387
3387
|
};
|
|
3388
|
-
Ga(function(
|
|
3389
|
-
n(
|
|
3390
|
-
}, function(
|
|
3391
|
-
a(
|
|
3388
|
+
Ga(function(k) {
|
|
3389
|
+
n(k), g();
|
|
3390
|
+
}, function(k) {
|
|
3391
|
+
a(k), g();
|
|
3392
3392
|
}, y), b = null;
|
|
3393
3393
|
}
|
|
3394
3394
|
"onloadend" in b ? b.onloadend = A : b.onreadystatechange = function() {
|
|
3395
3395
|
!b || b.readyState !== 4 || b.status === 0 && !(b.responseURL && b.responseURL.indexOf("file:") === 0) || setTimeout(A);
|
|
3396
3396
|
}, b.onabort = function() {
|
|
3397
3397
|
b && (a(new te("Request aborted", te.ECONNABORTED, e, b)), b = null);
|
|
3398
|
-
}, b.onerror = function(
|
|
3399
|
-
const y =
|
|
3400
|
-
S.event =
|
|
3398
|
+
}, b.onerror = function(C) {
|
|
3399
|
+
const y = C && C.message ? C.message : "Network Error", S = new te(y, te.ERR_NETWORK, e, b);
|
|
3400
|
+
S.event = C || null, a(S), b = null;
|
|
3401
3401
|
}, b.ontimeout = function() {
|
|
3402
|
-
let
|
|
3402
|
+
let C = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
|
|
3403
3403
|
const y = r.transitional || qa;
|
|
3404
|
-
r.timeoutErrorMessage && (
|
|
3405
|
-
|
|
3404
|
+
r.timeoutErrorMessage && (C = r.timeoutErrorMessage), a(new te(
|
|
3405
|
+
C,
|
|
3406
3406
|
y.clarifyTimeoutError ? te.ETIMEDOUT : te.ECONNABORTED,
|
|
3407
3407
|
e,
|
|
3408
3408
|
b
|
|
3409
3409
|
)), b = null;
|
|
3410
|
-
}, o === void 0 && i.setContentType(null), "setRequestHeader" in b && E.forEach(i.toJSON(), function(
|
|
3411
|
-
b.setRequestHeader(y,
|
|
3410
|
+
}, o === void 0 && i.setContentType(null), "setRequestHeader" in b && E.forEach(i.toJSON(), function(C, y) {
|
|
3411
|
+
b.setRequestHeader(y, C);
|
|
3412
3412
|
}), E.isUndefined(r.withCredentials) || (b.withCredentials = !!r.withCredentials), l && l !== "json" && (b.responseType = r.responseType), d && ([m, f] = Kt(d, !0), b.addEventListener("progress", m)), c && b.upload && ([h, w] = Kt(c), b.upload.addEventListener("progress", h), b.upload.addEventListener("loadend", w)), (r.cancelToken || r.signal) && (u = (N) => {
|
|
3413
3413
|
b && (a(!N || N.type ? new ht(null, e, b) : N), b.abort(), b = null);
|
|
3414
3414
|
}, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
|
|
3415
|
-
const
|
|
3416
|
-
if (
|
|
3417
|
-
a(new te("Unsupported protocol " +
|
|
3415
|
+
const v = tl(r.url);
|
|
3416
|
+
if (v && we.protocols.indexOf(v) === -1) {
|
|
3417
|
+
a(new te("Unsupported protocol " + v + ":", te.ERR_BAD_REQUEST, e));
|
|
3418
3418
|
return;
|
|
3419
3419
|
}
|
|
3420
3420
|
b.send(o || null);
|
|
@@ -3562,24 +3562,24 @@ const Ha = (e) => {
|
|
|
3562
3562
|
url: g,
|
|
3563
3563
|
method: b,
|
|
3564
3564
|
data: A,
|
|
3565
|
-
signal:
|
|
3565
|
+
signal: v,
|
|
3566
3566
|
cancelToken: N,
|
|
3567
|
-
timeout:
|
|
3567
|
+
timeout: C,
|
|
3568
3568
|
onDownloadProgress: y,
|
|
3569
3569
|
onUploadProgress: S,
|
|
3570
|
-
responseType:
|
|
3570
|
+
responseType: k,
|
|
3571
3571
|
headers: L,
|
|
3572
3572
|
withCredentials: D = "same-origin",
|
|
3573
3573
|
fetchOptions: j
|
|
3574
3574
|
} = Ha(f), P = t || fetch;
|
|
3575
|
-
|
|
3576
|
-
let H = dl([
|
|
3575
|
+
k = k ? (k + "").toLowerCase() : "text";
|
|
3576
|
+
let H = dl([v, N && N.toAbortSignal()], C), Q = null;
|
|
3577
3577
|
const O = H && H.unsubscribe && (() => {
|
|
3578
3578
|
H.unsubscribe();
|
|
3579
3579
|
});
|
|
3580
|
-
let
|
|
3580
|
+
let I;
|
|
3581
3581
|
try {
|
|
3582
|
-
if (S && d && b !== "get" && b !== "head" && (
|
|
3582
|
+
if (S && d && b !== "get" && b !== "head" && (I = await w(L, A)) !== 0) {
|
|
3583
3583
|
let T = new n(g, {
|
|
3584
3584
|
method: "POST",
|
|
3585
3585
|
body: A,
|
|
@@ -3587,7 +3587,7 @@ const Ha = (e) => {
|
|
|
3587
3587
|
}), _;
|
|
3588
3588
|
if (E.isFormData(A) && (_ = T.headers.get("content-type")) && L.setContentType(_), T.body) {
|
|
3589
3589
|
const [V, F] = Us(
|
|
3590
|
-
|
|
3590
|
+
I,
|
|
3591
3591
|
Kt(Ls(S))
|
|
3592
3592
|
);
|
|
3593
3593
|
A = Ps(T.body, Os, V, F);
|
|
@@ -3605,7 +3605,7 @@ const Ha = (e) => {
|
|
|
3605
3605
|
};
|
|
3606
3606
|
Q = o && new n(g, G);
|
|
3607
3607
|
let B = await (o ? P(Q, j) : P(g, G));
|
|
3608
|
-
const Y = u && (
|
|
3608
|
+
const Y = u && (k === "stream" || k === "response");
|
|
3609
3609
|
if (u && (y || Y && O)) {
|
|
3610
3610
|
const T = {};
|
|
3611
3611
|
["status", "statusText", "headers"].forEach((W) => {
|
|
@@ -3622,12 +3622,12 @@ const Ha = (e) => {
|
|
|
3622
3622
|
T
|
|
3623
3623
|
);
|
|
3624
3624
|
}
|
|
3625
|
-
|
|
3626
|
-
let x = await h[E.findKey(h,
|
|
3625
|
+
k = k || "text";
|
|
3626
|
+
let x = await h[E.findKey(h, k) || "text"](B, f);
|
|
3627
3627
|
return !Y && O && O(), await new Promise((T, _) => {
|
|
3628
3628
|
Ga(T, _, {
|
|
3629
3629
|
data: x,
|
|
3630
|
-
headers:
|
|
3630
|
+
headers: xe.from(B.headers),
|
|
3631
3631
|
status: B.status,
|
|
3632
3632
|
statusText: B.statusText,
|
|
3633
3633
|
config: f,
|
|
@@ -3713,26 +3713,26 @@ const za = {
|
|
|
3713
3713
|
*/
|
|
3714
3714
|
adapters: Jn
|
|
3715
3715
|
};
|
|
3716
|
-
function
|
|
3716
|
+
function vn(e) {
|
|
3717
3717
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
3718
3718
|
throw new ht(null, e);
|
|
3719
3719
|
}
|
|
3720
3720
|
function Ds(e) {
|
|
3721
|
-
return
|
|
3721
|
+
return vn(e), e.headers = xe.from(e.headers), e.data = yn.call(
|
|
3722
3722
|
e,
|
|
3723
3723
|
e.transformRequest
|
|
3724
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), za.getAdapter(e.adapter ||
|
|
3725
|
-
return
|
|
3724
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), za.getAdapter(e.adapter || kt.adapter, e)(e).then(function(a) {
|
|
3725
|
+
return vn(e), a.data = yn.call(
|
|
3726
3726
|
e,
|
|
3727
3727
|
e.transformResponse,
|
|
3728
3728
|
a
|
|
3729
|
-
), a.headers =
|
|
3729
|
+
), a.headers = xe.from(a.headers), a;
|
|
3730
3730
|
}, function(a) {
|
|
3731
|
-
return ja(a) || (
|
|
3731
|
+
return ja(a) || (vn(e), a && a.response && (a.response.data = yn.call(
|
|
3732
3732
|
e,
|
|
3733
3733
|
e.transformResponse,
|
|
3734
3734
|
a.response
|
|
3735
|
-
), a.response.headers =
|
|
3735
|
+
), a.response.headers = xe.from(a.response.headers))), Promise.reject(a);
|
|
3736
3736
|
});
|
|
3737
3737
|
}
|
|
3738
3738
|
const Qa = "1.13.2", ln = {};
|
|
@@ -3787,8 +3787,8 @@ const $t = {
|
|
|
3787
3787
|
let Je = class {
|
|
3788
3788
|
constructor(t) {
|
|
3789
3789
|
this.defaults = t || {}, this.interceptors = {
|
|
3790
|
-
request: new
|
|
3791
|
-
response: new
|
|
3790
|
+
request: new ks(),
|
|
3791
|
+
response: new ks()
|
|
3792
3792
|
};
|
|
3793
3793
|
}
|
|
3794
3794
|
/**
|
|
@@ -3841,7 +3841,7 @@ let Je = class {
|
|
|
3841
3841
|
(f) => {
|
|
3842
3842
|
delete o[f];
|
|
3843
3843
|
}
|
|
3844
|
-
), n.headers =
|
|
3844
|
+
), n.headers = xe.concat(i, o);
|
|
3845
3845
|
const l = [];
|
|
3846
3846
|
let c = !0;
|
|
3847
3847
|
this.interceptors.request.forEach(function(g) {
|
|
@@ -3981,12 +3981,12 @@ let yl = class $a {
|
|
|
3981
3981
|
};
|
|
3982
3982
|
}
|
|
3983
3983
|
};
|
|
3984
|
-
function
|
|
3984
|
+
function vl(e) {
|
|
3985
3985
|
return function(n) {
|
|
3986
3986
|
return e.apply(null, n);
|
|
3987
3987
|
};
|
|
3988
3988
|
}
|
|
3989
|
-
function
|
|
3989
|
+
function Cl(e) {
|
|
3990
3990
|
return E.isObject(e) && e.isAxiosError === !0;
|
|
3991
3991
|
}
|
|
3992
3992
|
const qn = {
|
|
@@ -4069,7 +4069,7 @@ function Wa(e) {
|
|
|
4069
4069
|
return Wa(tt(e, r));
|
|
4070
4070
|
}, n;
|
|
4071
4071
|
}
|
|
4072
|
-
const re = Wa(
|
|
4072
|
+
const re = Wa(kt);
|
|
4073
4073
|
re.Axios = Je;
|
|
4074
4074
|
re.CanceledError = ht;
|
|
4075
4075
|
re.CancelToken = yl;
|
|
@@ -4081,10 +4081,10 @@ re.Cancel = re.CanceledError;
|
|
|
4081
4081
|
re.all = function(t) {
|
|
4082
4082
|
return Promise.all(t);
|
|
4083
4083
|
};
|
|
4084
|
-
re.spread =
|
|
4085
|
-
re.isAxiosError =
|
|
4084
|
+
re.spread = vl;
|
|
4085
|
+
re.isAxiosError = Cl;
|
|
4086
4086
|
re.mergeConfig = tt;
|
|
4087
|
-
re.AxiosHeaders =
|
|
4087
|
+
re.AxiosHeaders = xe;
|
|
4088
4088
|
re.formToJSON = (e) => Da(E.isHTMLForm(e) ? new FormData(e) : e);
|
|
4089
4089
|
re.getAdapter = za.getAdapter;
|
|
4090
4090
|
re.HttpStatusCode = qn;
|
|
@@ -4106,7 +4106,7 @@ const {
|
|
|
4106
4106
|
formToJSON: th,
|
|
4107
4107
|
getAdapter: nh,
|
|
4108
4108
|
mergeConfig: sh
|
|
4109
|
-
} = re,
|
|
4109
|
+
} = re, Cn = "https://goamg.amplifyapp.com/vndomv", Nl = {
|
|
4110
4110
|
menu: "menu-principal"
|
|
4111
4111
|
};
|
|
4112
4112
|
function xl(e) {
|
|
@@ -4144,21 +4144,38 @@ class He {
|
|
|
4144
4144
|
};
|
|
4145
4145
|
getEntitySection = (t) => this.props?.axiosApi.get("/entity-section", { params: t }).catch((n) => (console.log(`[/entity-section] Error: ${n.message}`), Promise.reject(n)));
|
|
4146
4146
|
getMainMenu = (t) => {
|
|
4147
|
-
const n = R().BUCKET_ORIGIN
|
|
4147
|
+
const n = R().BUCKET_ORIGIN, a = { data: { data: [] } }, r = () => this.props?.axiosApi.get("/config/menu", { params: t }).catch((o) => (console.log(`[/config/menu] Error: ${o.message}`), Ce.add({
|
|
4148
|
+
service: "CommonServices.getMainMenu",
|
|
4149
|
+
endpoint: "/config/menu",
|
|
4150
|
+
method: "GET",
|
|
4151
|
+
params: t,
|
|
4152
|
+
message: o.message,
|
|
4153
|
+
status: o.response?.status,
|
|
4154
|
+
layer: "axios-service"
|
|
4155
|
+
}), a));
|
|
4148
4156
|
if (n?.menu) {
|
|
4149
|
-
const
|
|
4157
|
+
const o = Gs(
|
|
4150
4158
|
n,
|
|
4151
4159
|
this.props?.config?.servicePrefix,
|
|
4152
4160
|
"menu",
|
|
4153
4161
|
xl(t.path)
|
|
4154
4162
|
);
|
|
4155
|
-
return console.log(`[bucket:menu] GET ${
|
|
4156
|
-
headers: { Referer: n.referer ??
|
|
4157
|
-
}).catch((
|
|
4158
|
-
|
|
4159
|
-
|
|
4163
|
+
return console.log(`[bucket:menu] GET ${o}`), re.get(o, {
|
|
4164
|
+
headers: { Referer: n.referer ?? Cn }
|
|
4165
|
+
}).catch((i) => {
|
|
4166
|
+
const l = i.response?.status === 404;
|
|
4167
|
+
return console.log(l ? `[bucket:menu] 404 Not Found, aún no existe en el bucket (${o})` : `[bucket:menu] Error: ${i.response?.status ?? "network"} ${i.message} (${o})`), Ce.add({
|
|
4168
|
+
service: "bucket:menu",
|
|
4169
|
+
endpoint: o,
|
|
4170
|
+
method: "GET",
|
|
4171
|
+
params: t,
|
|
4172
|
+
message: l ? "No existe aún en el bucket" : i.message,
|
|
4173
|
+
status: i.response?.status,
|
|
4174
|
+
layer: "axios-service"
|
|
4175
|
+
}), r();
|
|
4176
|
+
});
|
|
4160
4177
|
}
|
|
4161
|
-
return
|
|
4178
|
+
return r();
|
|
4162
4179
|
};
|
|
4163
4180
|
getNewsListZone = (t) => this.props?.axiosApi.get("/news-list-zone", { params: t }).catch((n) => (console.log(`[/news-list-zone] Error: ${n.message}`), Promise.reject(n)));
|
|
4164
4181
|
getNewsListZoneSection = (t) => this.props?.axiosApi.get("/news-list-zone-section", { params: t }).catch((n) => (console.log(`[/news-list-zone-section] Error: ${n.message}`), Promise.reject(n)));
|
|
@@ -4176,31 +4193,50 @@ class He {
|
|
|
4176
4193
|
getVideos = (t) => this.props?.axiosApi.get("/videos", { params: t }).catch((n) => (console.log(`[/videos] Error: ${n.message}`), Promise.reject(n)));
|
|
4177
4194
|
getVideosList = (t) => this.props?.axiosApi.get("/videos-list", { params: t }).catch((n) => (console.log(`[/videos-list] Error: ${n.message}`), Promise.reject(n)));
|
|
4178
4195
|
getBanners = async (t) => {
|
|
4179
|
-
const n = R().BUCKET_ORIGIN
|
|
4196
|
+
const n = R().BUCKET_ORIGIN, a = { data: { data: [] } }, r = () => {
|
|
4197
|
+
const o = t.path ? t.path : `/${this.configVersion}/banners.html`;
|
|
4198
|
+
return this.props?.axiosApi.get("/config/banners", {
|
|
4199
|
+
params: {
|
|
4200
|
+
...t,
|
|
4201
|
+
path: this.props?.config?.servicePrefix + o
|
|
4202
|
+
}
|
|
4203
|
+
}).catch((i) => (console.log(`[/config/banners] Error: ${i.message}`), Ce.add({
|
|
4204
|
+
service: "CommonServices.getBanners",
|
|
4205
|
+
endpoint: "/config/banners",
|
|
4206
|
+
method: "GET",
|
|
4207
|
+
params: t,
|
|
4208
|
+
message: i.message,
|
|
4209
|
+
status: i.response?.status,
|
|
4210
|
+
layer: "axios-service"
|
|
4211
|
+
}), a));
|
|
4212
|
+
};
|
|
4180
4213
|
if (n?.banners) {
|
|
4181
|
-
const
|
|
4214
|
+
const o = Gs(
|
|
4182
4215
|
n,
|
|
4183
4216
|
this.props?.config?.servicePrefix,
|
|
4184
4217
|
"banners",
|
|
4185
4218
|
(t.template ?? "").toLowerCase()
|
|
4186
4219
|
);
|
|
4187
|
-
return console.log(`[bucket:banners] GET ${
|
|
4188
|
-
headers: { Referer: n.referer ??
|
|
4189
|
-
}).catch((
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4220
|
+
return console.log(`[bucket:banners] GET ${o}`), re.get(o, {
|
|
4221
|
+
headers: { Referer: n.referer ?? Cn }
|
|
4222
|
+
}).catch((i) => {
|
|
4223
|
+
const l = i.response?.status === 404;
|
|
4224
|
+
return console.log(l ? `[bucket:banners] 404 Not Found, aún no existe en el bucket (${o})` : `[bucket:banners] Error: ${i.response?.status ?? "network"} ${i.message} (${o})`), Ce.add({
|
|
4225
|
+
service: "bucket:banners",
|
|
4226
|
+
endpoint: o,
|
|
4227
|
+
method: "GET",
|
|
4228
|
+
params: t,
|
|
4229
|
+
message: l ? "No existe aún en el bucket" : i.message,
|
|
4230
|
+
status: i.response?.status,
|
|
4231
|
+
layer: "axios-service"
|
|
4232
|
+
}), r();
|
|
4233
|
+
});
|
|
4234
|
+
}
|
|
4235
|
+
return r();
|
|
4200
4236
|
};
|
|
4201
4237
|
getPages = (t) => this.props?.axiosApi.get("/config/pages", { params: t }).catch((n) => (console.log(`[/config/pages] Error: ${n.message}`), Promise.reject(n)));
|
|
4202
4238
|
getRankingS3 = async (t, n = {
|
|
4203
|
-
Referer:
|
|
4239
|
+
Referer: Cn
|
|
4204
4240
|
}) => !t || t === "" ? { data: [] } : await re.get(t, { headers: n }).catch((a) => {
|
|
4205
4241
|
console.log(`[Rankings s3] Error: ${a.message}`);
|
|
4206
4242
|
});
|
|
@@ -4266,15 +4302,15 @@ class He {
|
|
|
4266
4302
|
}))?.data.data ?? []);
|
|
4267
4303
|
const d = On(l), h = (ot(o)?.data ?? [])[0]?.list?.items?.map((A) => On(A)), m = [];
|
|
4268
4304
|
h?.forEach((A) => {
|
|
4269
|
-
A && A.length > 0 && A.forEach((
|
|
4270
|
-
|
|
4271
|
-
const
|
|
4305
|
+
A && A.length > 0 && A.forEach((v) => {
|
|
4306
|
+
v.forEach((N) => {
|
|
4307
|
+
const C = this.getNews({
|
|
4272
4308
|
path: N.replaceAll("|", "/"),
|
|
4273
4309
|
imagesizes: n.getNewsItemsRelated,
|
|
4274
4310
|
exclude: a.getNewsItemsRelated
|
|
4275
4311
|
});
|
|
4276
|
-
|
|
4277
|
-
|
|
4312
|
+
C && m.push(
|
|
4313
|
+
C
|
|
4278
4314
|
);
|
|
4279
4315
|
});
|
|
4280
4316
|
});
|
|
@@ -4565,10 +4601,10 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4565
4601
|
};
|
|
4566
4602
|
const b = new He({ config: n, axiosApi: o });
|
|
4567
4603
|
try {
|
|
4568
|
-
let A,
|
|
4604
|
+
let A, v;
|
|
4569
4605
|
if (c) {
|
|
4570
4606
|
const S = await lo({
|
|
4571
|
-
fetchFn: (
|
|
4607
|
+
fetchFn: (k) => b.getNewsListSection(k),
|
|
4572
4608
|
baseParams: {
|
|
4573
4609
|
section: r,
|
|
4574
4610
|
newstype: n.newsType,
|
|
@@ -4577,7 +4613,7 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4577
4613
|
userPage: w,
|
|
4578
4614
|
newsListLimit: f
|
|
4579
4615
|
});
|
|
4580
|
-
A = S.data,
|
|
4616
|
+
A = S.data, v = S.hasNextPage;
|
|
4581
4617
|
} else {
|
|
4582
4618
|
const S = await b.getNewsListSection({
|
|
4583
4619
|
section: r,
|
|
@@ -4587,14 +4623,14 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4587
4623
|
page: w
|
|
4588
4624
|
});
|
|
4589
4625
|
if (!S) return fe(t);
|
|
4590
|
-
A = S.data.data,
|
|
4626
|
+
A = S.data.data, v = !(A.length < f);
|
|
4591
4627
|
}
|
|
4592
4628
|
const N = A[0];
|
|
4593
|
-
|
|
4594
|
-
const
|
|
4629
|
+
v && m.push({ rel: "next", url: at(n, h, w) }), w > 1 && m.push({ rel: "prev", url: rt(n, h, w) });
|
|
4630
|
+
const C = g ? `Latest News from ${N.info.section?.name} | ${n.name}` : `Últimas Noticias de ${N.info.section?.name} | ${n.name}`, y = g ? `All the latest news from ${N.info.section?.name} on ${n.name}` : `Todas las últimas noticias de ${N.info.section?.name} en ${n.name}`;
|
|
4595
4631
|
return {
|
|
4596
4632
|
...t,
|
|
4597
|
-
title:
|
|
4633
|
+
title: C,
|
|
4598
4634
|
description: y,
|
|
4599
4635
|
alternates: {
|
|
4600
4636
|
...t.alternates,
|
|
@@ -4610,7 +4646,7 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4610
4646
|
},
|
|
4611
4647
|
openGraph: {
|
|
4612
4648
|
...t.openGraph,
|
|
4613
|
-
title:
|
|
4649
|
+
title: C,
|
|
4614
4650
|
description: y,
|
|
4615
4651
|
type: "website",
|
|
4616
4652
|
url: pe(`${n.siteUrl}${a}`),
|
|
@@ -4619,7 +4655,7 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4619
4655
|
twitter: {
|
|
4620
4656
|
...t.twitter,
|
|
4621
4657
|
card: "summary_large_image",
|
|
4622
|
-
title:
|
|
4658
|
+
title: C,
|
|
4623
4659
|
description: y,
|
|
4624
4660
|
site: t.twitter.site,
|
|
4625
4661
|
domain: new URL(n.siteUrl).hostname,
|
|
@@ -4642,8 +4678,8 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4642
4678
|
page: u
|
|
4643
4679
|
});
|
|
4644
4680
|
if (!A) return fe(t);
|
|
4645
|
-
const
|
|
4646
|
-
if (!
|
|
4681
|
+
const v = A.data.entity;
|
|
4682
|
+
if (!v) return fe(t);
|
|
4647
4683
|
A.data.data?.length < h || d.push({
|
|
4648
4684
|
rel: "next",
|
|
4649
4685
|
url: at(n, c, u)
|
|
@@ -4651,11 +4687,11 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4651
4687
|
rel: "prev",
|
|
4652
4688
|
url: rt(n, c, u)
|
|
4653
4689
|
});
|
|
4654
|
-
const N = b ? `Latest news about ${
|
|
4690
|
+
const N = b ? `Latest news about ${v.name} | ${n.name}` : `Últimas noticias de ${v.name} | ${n.name}`, C = b ? `The latest news about ${v.name} on ${n.name}` : `Las últimas noticias sobre ${v.name} en ${n.name}`;
|
|
4655
4691
|
return {
|
|
4656
4692
|
...t,
|
|
4657
4693
|
title: N,
|
|
4658
|
-
description:
|
|
4694
|
+
description: C,
|
|
4659
4695
|
alternates: {
|
|
4660
4696
|
...t.alternates,
|
|
4661
4697
|
canonical: pe(n.siteUrl + a)
|
|
@@ -4671,7 +4707,7 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4671
4707
|
openGraph: {
|
|
4672
4708
|
...t.openGraph,
|
|
4673
4709
|
title: N,
|
|
4674
|
-
description:
|
|
4710
|
+
description: C,
|
|
4675
4711
|
type: "website",
|
|
4676
4712
|
url: pe(`${n.siteUrl}${a}`),
|
|
4677
4713
|
locale: t.openGraph.locale
|
|
@@ -4680,7 +4716,7 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4680
4716
|
...t.twitter,
|
|
4681
4717
|
card: "summary_large_image",
|
|
4682
4718
|
title: N,
|
|
4683
|
-
description:
|
|
4719
|
+
description: C,
|
|
4684
4720
|
site: t.twitter.site,
|
|
4685
4721
|
domain: new URL(n.siteUrl).hostname,
|
|
4686
4722
|
url: pe(`${n.siteUrl}${a}`)
|
|
@@ -4892,16 +4928,16 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4892
4928
|
rel: "prev",
|
|
4893
4929
|
url: rt(n, d, h)
|
|
4894
4930
|
});
|
|
4895
|
-
const b = f?.data.data[0]?.info.fullname, A = m ? `Latest News from ${b} | ${n.name}` : `Últimas Noticias de ${b} | ${n.name}`,
|
|
4931
|
+
const b = f?.data.data[0]?.info.fullname, A = m ? `Latest News from ${b} | ${n.name}` : `Últimas Noticias de ${b} | ${n.name}`, v = m ? `All the latest news from ${b} on ${n.name}` : `Todas las últimas noticias de ${b} en ${n.name}`;
|
|
4896
4932
|
return {
|
|
4897
4933
|
...t,
|
|
4898
4934
|
title: A,
|
|
4899
|
-
description:
|
|
4935
|
+
description: v,
|
|
4900
4936
|
...Le(
|
|
4901
4937
|
t,
|
|
4902
4938
|
n.siteUrl + a,
|
|
4903
4939
|
A,
|
|
4904
|
-
|
|
4940
|
+
v
|
|
4905
4941
|
),
|
|
4906
4942
|
manifest: n.manifest,
|
|
4907
4943
|
icons: {
|
|
@@ -4916,12 +4952,12 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4916
4952
|
return console.error(f), fe(t);
|
|
4917
4953
|
}
|
|
4918
4954
|
}
|
|
4919
|
-
},
|
|
4955
|
+
}, kl = (e) => e ? e.replace(/<[^>]*>/g, "").replace(/ /gi, " ").replace(/&/gi, "&").replace(/"/gi, '"').replace(/'/gi, "'").replace(/\s+/g, " ").trim() : "", Il = ({
|
|
4920
4956
|
autor: e,
|
|
4921
4957
|
listAutor: t,
|
|
4922
4958
|
config: n
|
|
4923
4959
|
}) => {
|
|
4924
|
-
const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: o, PUBLIC_LNG: i } = R(), l = i === "en", c = r, d = a?.info?.date?.modified ? Xe(a.info.date.modified, c) : void 0, u = e.addtional?.USER_JOBSTART ? Xe(e.addtional.USER_JOBSTART, c) : void 0, h = o && o !== "false" ? o : "", m = e.addtional, w = m?.USER_USERFB || m?.USER_PAGE_FACEBOOK || m?.USER_FACEBOOK_FAN_PAGE, f = m?.USER_USERTWT || m?.USER_PAGE_TWITTER, g = m?.USER_USERIG || m?.USER_PAGE_INSTAGRAM, b = m?.USER_USERLIN || m?.USER_PAGE_LINKEDIN, A = m?.USER_PAGE_TIKTOK,
|
|
4960
|
+
const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: o, PUBLIC_LNG: i } = R(), l = i === "en", c = r, d = a?.info?.date?.modified ? Xe(a.info.date.modified, c) : void 0, u = e.addtional?.USER_JOBSTART ? Xe(e.addtional.USER_JOBSTART, c) : void 0, h = o && o !== "false" ? o : "", m = e.addtional, w = m?.USER_USERFB || m?.USER_PAGE_FACEBOOK || m?.USER_FACEBOOK_FAN_PAGE, f = m?.USER_USERTWT || m?.USER_PAGE_TWITTER, g = m?.USER_USERIG || m?.USER_PAGE_INSTAGRAM, b = m?.USER_USERLIN || m?.USER_PAGE_LINKEDIN, A = m?.USER_PAGE_TIKTOK, v = m?.USER_PAGE_YOUTUBE, N = m?.USER_PAGE_PINTEREST, C = l ? m?.USER_POSITION_EN || "" : m?.USER_JOBTITLE || m?.USER_POSITION || "", y = l ? m?.USER_DESCRIPCION_EN || m?.USER_MIBIO_EN || "" : m?.USER_DESCRIPCION || m?.USER_MIBIO || "", S = e?.addtional?.USER_SHOWEMAIL === !0 || m?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", k = me(), L = {
|
|
4925
4961
|
"@context": "https://schema.org",
|
|
4926
4962
|
"@type": "ProfilePage",
|
|
4927
4963
|
mainEntity: {
|
|
@@ -4929,7 +4965,7 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4929
4965
|
name: e.info.fullname ?? e.info.name,
|
|
4930
4966
|
alternateName: e.info.nickname ? e.info.nickname : e.info.name,
|
|
4931
4967
|
identifier: e.info.id,
|
|
4932
|
-
description:
|
|
4968
|
+
description: kl(y),
|
|
4933
4969
|
image: e.info.image ? e.info.image.sizes.map((D, j) => j === 0 && e.info.image.sizes.length !== 1 ? null : h + D.url).filter(Boolean) : [],
|
|
4934
4970
|
sameAs: [
|
|
4935
4971
|
w,
|
|
@@ -4937,11 +4973,11 @@ const rh = async (e, t, n, a, r, o, i) => {
|
|
|
4937
4973
|
b,
|
|
4938
4974
|
f,
|
|
4939
4975
|
A,
|
|
4940
|
-
|
|
4976
|
+
v,
|
|
4941
4977
|
N
|
|
4942
4978
|
].filter(Boolean),
|
|
4943
|
-
jobTitle:
|
|
4944
|
-
url: n.siteUrl +
|
|
4979
|
+
jobTitle: C,
|
|
4980
|
+
url: n.siteUrl + k + (n.paths.autor !== "" ? `/${n.paths.autor}/` : "/") + e.info.name
|
|
4945
4981
|
}
|
|
4946
4982
|
};
|
|
4947
4983
|
return u && (L.dateCreated = u), d && (L.dateModified = d), S && (L.mainEntity.email = e.info.email), /* @__PURE__ */ s("script", { type: "application/ld+json", children: JSON.stringify(De(L)) });
|
|
@@ -5448,12 +5484,12 @@ async function ih({
|
|
|
5448
5484
|
meta_info: g,
|
|
5449
5485
|
config: b,
|
|
5450
5486
|
socials: A,
|
|
5451
|
-
speculationType:
|
|
5487
|
+
speculationType: v = "Common",
|
|
5452
5488
|
preloadImageUrl: N,
|
|
5453
|
-
custom_Speculation:
|
|
5489
|
+
custom_Speculation: C,
|
|
5454
5490
|
custom_metadata: y,
|
|
5455
5491
|
custom_scriptReplaces: S,
|
|
5456
|
-
head_custom_elements:
|
|
5492
|
+
head_custom_elements: k,
|
|
5457
5493
|
schemasCustomEndpoints: L
|
|
5458
5494
|
}) {
|
|
5459
5495
|
const D = { ..._l, ...t }, j = w && w[0] && w[0].preview ? w[0] : void 0, P = me(), H = y || await Tl[r]({
|
|
@@ -5508,9 +5544,9 @@ async function ih({
|
|
|
5508
5544
|
D.preloadImages && N && /* @__PURE__ */ s(
|
|
5509
5545
|
Ns,
|
|
5510
5546
|
{
|
|
5511
|
-
images: N.map((
|
|
5512
|
-
...
|
|
5513
|
-
href: Ke() + Zr(
|
|
5547
|
+
images: N.map((I) => ({
|
|
5548
|
+
...I,
|
|
5549
|
+
href: Ke() + Zr(I.href)
|
|
5514
5550
|
}))
|
|
5515
5551
|
}
|
|
5516
5552
|
),
|
|
@@ -5536,7 +5572,7 @@ async function ih({
|
|
|
5536
5572
|
config: b
|
|
5537
5573
|
}
|
|
5538
5574
|
),
|
|
5539
|
-
D.schemas_Autor && d && /* @__PURE__ */ s(
|
|
5575
|
+
D.schemas_Autor && d && /* @__PURE__ */ s(Il, { autor: d, listAutor: u, config: b }),
|
|
5540
5576
|
D.schemas_ItemList && /* @__PURE__ */ s(
|
|
5541
5577
|
Lo,
|
|
5542
5578
|
{
|
|
@@ -5547,12 +5583,12 @@ async function ih({
|
|
|
5547
5583
|
}
|
|
5548
5584
|
),
|
|
5549
5585
|
D.schemas_WebsiteList && /* @__PURE__ */ s(_o, { config: b }),
|
|
5550
|
-
|
|
5551
|
-
|
|
5586
|
+
v && /* @__PURE__ */ s(
|
|
5587
|
+
ko,
|
|
5552
5588
|
{
|
|
5553
|
-
type:
|
|
5589
|
+
type: v,
|
|
5554
5590
|
active: b.useSpeculationRules,
|
|
5555
|
-
customSpeculation:
|
|
5591
|
+
customSpeculation: C
|
|
5556
5592
|
}
|
|
5557
5593
|
),
|
|
5558
5594
|
/* @__PURE__ */ s(
|
|
@@ -5562,7 +5598,7 @@ async function ih({
|
|
|
5562
5598
|
headConfig: D,
|
|
5563
5599
|
config: b,
|
|
5564
5600
|
defaultMetadataName: r,
|
|
5565
|
-
speculationType:
|
|
5601
|
+
speculationType: v,
|
|
5566
5602
|
internalPath: f,
|
|
5567
5603
|
hasAutor: !!d,
|
|
5568
5604
|
hasCurrentNewPreview: !!h?.preview?.sizes,
|
|
@@ -5571,14 +5607,14 @@ async function ih({
|
|
|
5571
5607
|
}
|
|
5572
5608
|
),
|
|
5573
5609
|
/* @__PURE__ */ s(
|
|
5574
|
-
|
|
5610
|
+
va,
|
|
5575
5611
|
{
|
|
5576
5612
|
name: "headscripts",
|
|
5577
5613
|
replaces: O,
|
|
5578
5614
|
banners: m
|
|
5579
5615
|
}
|
|
5580
5616
|
),
|
|
5581
|
-
|
|
5617
|
+
k
|
|
5582
5618
|
] });
|
|
5583
5619
|
}
|
|
5584
5620
|
const lh = ({
|
|
@@ -5600,12 +5636,12 @@ const lh = ({
|
|
|
5600
5636
|
config: o,
|
|
5601
5637
|
currentNew: l,
|
|
5602
5638
|
internalPath: i
|
|
5603
|
-
}), w = n.find((
|
|
5639
|
+
}), w = n.find((v) => v.key === "event_analytics"), f = d.before.active, g = d.after.active, b = f ? d.before.customData ? d.before.customData : m : void 0, A = g ? d.after.customData ? d.after.customData : m : void 0;
|
|
5604
5640
|
return /* @__PURE__ */ p($, { children: [
|
|
5605
|
-
/* @__PURE__ */ s(
|
|
5641
|
+
/* @__PURE__ */ s(va, { name: "bodybefore", banners: n, replaces: b }),
|
|
5606
5642
|
e,
|
|
5607
|
-
/* @__PURE__ */ s(
|
|
5608
|
-
/* @__PURE__ */ s(
|
|
5643
|
+
/* @__PURE__ */ s(Co, {}),
|
|
5644
|
+
/* @__PURE__ */ s(Ir, {}),
|
|
5609
5645
|
/* @__PURE__ */ s(
|
|
5610
5646
|
yo,
|
|
5611
5647
|
{
|
|
@@ -5614,7 +5650,7 @@ const lh = ({
|
|
|
5614
5650
|
eventReplaces: m
|
|
5615
5651
|
}
|
|
5616
5652
|
),
|
|
5617
|
-
/* @__PURE__ */ s(
|
|
5653
|
+
/* @__PURE__ */ s(vo, {}),
|
|
5618
5654
|
u,
|
|
5619
5655
|
/* @__PURE__ */ s(ho, { name: "bodyafter", banners: n, replaces: A })
|
|
5620
5656
|
] });
|
|
@@ -5654,7 +5690,7 @@ function Dl({
|
|
|
5654
5690
|
enableDrag: o,
|
|
5655
5691
|
onIndexChange: i
|
|
5656
5692
|
}) {
|
|
5657
|
-
const [l, c] = z(!1), [d, u] = z(0), [h, m] = z(0), [w, f] = z(0), [g, b] = z(0), [A,
|
|
5693
|
+
const [l, c] = z(!1), [d, u] = z(0), [h, m] = z(0), [w, f] = z(0), [g, b] = z(0), [A, v] = z(null), N = pa(null), [C, y] = z(1), S = de(() => {
|
|
5658
5694
|
if (r) return 1;
|
|
5659
5695
|
const x = N.current?.offsetWidth || window.innerWidth, T = n + a, _ = Math.floor(x / T);
|
|
5660
5696
|
return Math.max(1, _);
|
|
@@ -5709,7 +5745,7 @@ function Dl({
|
|
|
5709
5745
|
Q(x.clientX);
|
|
5710
5746
|
},
|
|
5711
5747
|
[Q]
|
|
5712
|
-
),
|
|
5748
|
+
), I = de(
|
|
5713
5749
|
(x) => {
|
|
5714
5750
|
if (!l || !o) return;
|
|
5715
5751
|
const T = h - d, _ = Date.now() - g, V = Math.abs(T) / Math.max(_, 1), F = P(T), K = V > 0.5 && Math.abs(T) > 50 ? Math.max(F, 1) : F;
|
|
@@ -5721,7 +5757,7 @@ function Dl({
|
|
|
5721
5757
|
const J = Math.min(L, e + K);
|
|
5722
5758
|
i(J);
|
|
5723
5759
|
}
|
|
5724
|
-
c(!1), f(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", O), document.removeEventListener("mouseup",
|
|
5760
|
+
c(!1), f(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", I), x.clientX === d && A?.dispatchEvent(new PointerEvent("click"));
|
|
5725
5761
|
},
|
|
5726
5762
|
[
|
|
5727
5763
|
l,
|
|
@@ -5738,7 +5774,7 @@ function Dl({
|
|
|
5738
5774
|
]
|
|
5739
5775
|
), U = de(
|
|
5740
5776
|
(x) => {
|
|
5741
|
-
x.preventDefault(), ["a", "span"].includes(x.target?.localName) &&
|
|
5777
|
+
x.preventDefault(), ["a", "span"].includes(x.target?.localName) && v(x.target), H(x.clientX);
|
|
5742
5778
|
},
|
|
5743
5779
|
[H]
|
|
5744
5780
|
), G = de(
|
|
@@ -5753,31 +5789,31 @@ function Dl({
|
|
|
5753
5789
|
[l, Q]
|
|
5754
5790
|
), Y = de(
|
|
5755
5791
|
(x) => {
|
|
5756
|
-
|
|
5792
|
+
I(x);
|
|
5757
5793
|
},
|
|
5758
|
-
[
|
|
5794
|
+
[I]
|
|
5759
5795
|
);
|
|
5760
5796
|
return Be(() => {
|
|
5761
5797
|
if (l)
|
|
5762
|
-
return N.current?.addEventListener("mousemove", O), N.current?.addEventListener("mouseup",
|
|
5798
|
+
return N.current?.addEventListener("mousemove", O), N.current?.addEventListener("mouseup", I), () => {
|
|
5763
5799
|
N.current?.removeEventListener(
|
|
5764
5800
|
"mousemove",
|
|
5765
5801
|
O
|
|
5766
|
-
), N.current?.removeEventListener("mouseup",
|
|
5802
|
+
), N.current?.removeEventListener("mouseup", I);
|
|
5767
5803
|
};
|
|
5768
|
-
}, [l, Q,
|
|
5804
|
+
}, [l, Q, I, O]), {
|
|
5769
5805
|
isDragging: l,
|
|
5770
5806
|
translateOffset: w,
|
|
5771
5807
|
carrouselRef: N,
|
|
5772
5808
|
maxIndex: L,
|
|
5773
5809
|
getTranslateValue: j,
|
|
5774
|
-
actualVisibleItems:
|
|
5810
|
+
actualVisibleItems: C,
|
|
5775
5811
|
dragHandlers: {
|
|
5776
5812
|
onMouseDown: U,
|
|
5777
5813
|
onTouchStart: G,
|
|
5778
5814
|
onTouchMove: B,
|
|
5779
5815
|
onTouchEnd: Y,
|
|
5780
|
-
onMouseLeave:
|
|
5816
|
+
onMouseLeave: I
|
|
5781
5817
|
}
|
|
5782
5818
|
};
|
|
5783
5819
|
}
|
|
@@ -5802,9 +5838,9 @@ function dh(e) {
|
|
|
5802
5838
|
translateOffset: g,
|
|
5803
5839
|
carrouselRef: b,
|
|
5804
5840
|
maxIndex: A,
|
|
5805
|
-
getTranslateValue:
|
|
5841
|
+
getTranslateValue: v,
|
|
5806
5842
|
actualVisibleItems: N,
|
|
5807
|
-
dragHandlers:
|
|
5843
|
+
dragHandlers: C
|
|
5808
5844
|
} = Dl({
|
|
5809
5845
|
currentIndex: u,
|
|
5810
5846
|
totalItems: d.length,
|
|
@@ -5821,11 +5857,11 @@ function dh(e) {
|
|
|
5821
5857
|
[A]
|
|
5822
5858
|
), S = de(() => {
|
|
5823
5859
|
y(u - 1);
|
|
5824
|
-
}, [u, y]),
|
|
5860
|
+
}, [u, y]), k = de(() => {
|
|
5825
5861
|
y(u + 1);
|
|
5826
5862
|
}, [u, y]);
|
|
5827
5863
|
if (!m) return;
|
|
5828
|
-
const L =
|
|
5864
|
+
const L = v(u, g), D = i ? `translateX(${L}%)` : `translateX(${L}px)`;
|
|
5829
5865
|
return /* @__PURE__ */ p("div", { className: `${n}- carrousel-container`, children: [
|
|
5830
5866
|
u > 0 && /* @__PURE__ */ s(
|
|
5831
5867
|
"button",
|
|
@@ -5857,7 +5893,7 @@ function dh(e) {
|
|
|
5857
5893
|
"button",
|
|
5858
5894
|
{
|
|
5859
5895
|
className: "visible-arrow right",
|
|
5860
|
-
onClick:
|
|
5896
|
+
onClick: k,
|
|
5861
5897
|
"aria-label": "Next slide",
|
|
5862
5898
|
style: { display: "flex" },
|
|
5863
5899
|
children: /* @__PURE__ */ s(
|
|
@@ -5890,7 +5926,7 @@ function dh(e) {
|
|
|
5890
5926
|
cursor: c ? f ? "grabbing" : "grab" : "default",
|
|
5891
5927
|
justifyContent: "start !important"
|
|
5892
5928
|
},
|
|
5893
|
-
...
|
|
5929
|
+
...C,
|
|
5894
5930
|
children: d && d.map((j, P) => typeof j == "string" ? /* @__PURE__ */ s(
|
|
5895
5931
|
"section",
|
|
5896
5932
|
{
|
|
@@ -6010,7 +6046,7 @@ const yt = (e) => /* @__PURE__ */ s("div", { className: "su-flex su-flex-col sas
|
|
|
6010
6046
|
}, Fl = (e) => e.replace(
|
|
6011
6047
|
/<script\b([^>]*)>/gi,
|
|
6012
6048
|
(t, n) => n.includes("type=") ? `<script ${n.replace(/type\s*=\s*["'][^"']*["']/i, 'type="text/deferred-banner"')}>` : `<script ${n} type="text/deferred-banner">`
|
|
6013
|
-
),
|
|
6049
|
+
), Se = ({ banners: e, name: t, scope: n }) => {
|
|
6014
6050
|
const a = e?.find((c) => c.key === t);
|
|
6015
6051
|
if (!a?.show) return null;
|
|
6016
6052
|
const r = Qn(a.value, n);
|
|
@@ -6181,7 +6217,7 @@ const Hl = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), uh = async (e) => {
|
|
|
6181
6217
|
}, Vs = (e) => {
|
|
6182
6218
|
const { PUBLIC_ENV: t } = R(), n = le("/message.svg");
|
|
6183
6219
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */ s("svg", { width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ s("path", { d: "M15 4C21.0751 4 26 8.92487 26 15C26 16.2691 25.5577 17.9814 24.6729 20.1367L24.502 20.5459L25.5459 24.8428C25.5943 25.042 25.5804 25.2514 25.5059 25.4424C25.3194 25.92 24.8065 26.1738 24.3223 26.0469L24.2109 26.0107L20.4648 24.5488C18.1478 25.5163 16.326 26 15 26C8.92487 26 4 21.0751 4 15C4 8.92487 8.92487 4 15 4ZM15 5.5C9.75329 5.5 5.5 9.75329 5.5 15C5.5 20.2467 9.75329 24.5 15 24.5C16.0245 24.5 17.5449 24.1124 19.5127 23.3184L20.4453 22.9316L23.8623 24.2637L22.9268 20.417L23.2715 19.6006C24.0971 17.5954 24.5 16.0455 24.5 15C24.5 9.75329 20.2467 5.5 15 5.5Z", fill: "currentColor" }) });
|
|
6184
|
-
}, Jt = "test-company",
|
|
6220
|
+
}, Jt = "test-company", It = () => {
|
|
6185
6221
|
const { PUBLIC_LNG: e } = R();
|
|
6186
6222
|
return e === "en" ? zl : Ql;
|
|
6187
6223
|
}, zl = {
|
|
@@ -6446,7 +6482,7 @@ const Hl = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), uh = async (e) => {
|
|
|
6446
6482
|
function Wl({ noteShare: e }) {
|
|
6447
6483
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
6448
6484
|
if (!e) return null;
|
|
6449
|
-
const n =
|
|
6485
|
+
const n = It();
|
|
6450
6486
|
return /* @__PURE__ */ p("div", { className: "sass-com-nd-socialNetworkSection sass-news-description-social-network-section", children: [
|
|
6451
6487
|
e.options?.map((a) => {
|
|
6452
6488
|
const r = $l[a];
|
|
@@ -6779,7 +6815,7 @@ const Yl = (e) => {
|
|
|
6779
6815
|
children: /* @__PURE__ */ s("div", { className: "sass-com-img-imagePlaceholder" })
|
|
6780
6816
|
}
|
|
6781
6817
|
);
|
|
6782
|
-
},
|
|
6818
|
+
}, Te = async (e) => {
|
|
6783
6819
|
const { preview: t } = e;
|
|
6784
6820
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((l) => !l.url))
|
|
6785
6821
|
return /* @__PURE__ */ s("div", { className: "sass-com-img-imageLogoPlaceholder su-flex-center" });
|
|
@@ -6831,7 +6867,7 @@ const Yl = (e) => {
|
|
|
6831
6867
|
},
|
|
6832
6868
|
children: [
|
|
6833
6869
|
/* @__PURE__ */ s("div", { className: "sass-com-ndb1-numberTag", children: a + 1 }),
|
|
6834
|
-
n.main.title.home && /* @__PURE__ */ s(
|
|
6870
|
+
n.main.title.home && /* @__PURE__ */ s(Te, { preview: n.preview, priorityHigh: e.priorityHigh })
|
|
6835
6871
|
]
|
|
6836
6872
|
}
|
|
6837
6873
|
),
|
|
@@ -8281,7 +8317,7 @@ const Yl = (e) => {
|
|
|
8281
8317
|
spotify: (e) => /* @__PURE__ */ s(rc, { ...e }),
|
|
8282
8318
|
threads: (e) => /* @__PURE__ */ s(ic, { ...e })
|
|
8283
8319
|
}, fh = (e) => {
|
|
8284
|
-
const { freeZone: t, socials: n, menu: a, customBlock: r, custom_styles: o = {} } = e, i =
|
|
8320
|
+
const { freeZone: t, socials: n, menu: a, customBlock: r, custom_styles: o = {} } = e, i = It();
|
|
8285
8321
|
return /* @__PURE__ */ p(
|
|
8286
8322
|
"footer",
|
|
8287
8323
|
{
|
|
@@ -8516,7 +8552,7 @@ const Yl = (e) => {
|
|
|
8516
8552
|
function mc({ noteShare: e }) {
|
|
8517
8553
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
8518
8554
|
if (!e) return null;
|
|
8519
|
-
const n =
|
|
8555
|
+
const n = It();
|
|
8520
8556
|
return /* @__PURE__ */ p("div", { className: "sass-com-ja3-socialNetworkSection", children: [
|
|
8521
8557
|
e.options?.map((a) => {
|
|
8522
8558
|
const r = uc[a];
|
|
@@ -8647,15 +8683,15 @@ const ph = (e) => {
|
|
|
8647
8683
|
priorityHigh: u = !1
|
|
8648
8684
|
}) => {
|
|
8649
8685
|
const { CONFIG_videoClipUrl: h } = R(), m = e ?? "imagen", w = Array.isArray(t) ? t : [], f = () => {
|
|
8650
|
-
const
|
|
8651
|
-
return
|
|
8686
|
+
const v = w[0]?.clip;
|
|
8687
|
+
return v ? /* @__PURE__ */ s("div", { className: "sass-com-sc1-videoClipContainer", children: /* @__PURE__ */ s("video", { autoPlay: !0, loop: !0, muted: !0, playsInline: !0, children: /* @__PURE__ */ s("source", { src: `${h}${v}`, type: "video/mp4" }) }) }) : null;
|
|
8652
8688
|
}, g = () => {
|
|
8653
|
-
const
|
|
8654
|
-
return
|
|
8689
|
+
const v = w[0]?.code;
|
|
8690
|
+
return v ? /* @__PURE__ */ s(
|
|
8655
8691
|
"iframe",
|
|
8656
8692
|
{
|
|
8657
8693
|
className: "sass-com-sc1-videoIframeContainer",
|
|
8658
|
-
src: `https://www.youtube.com/embed/${
|
|
8694
|
+
src: `https://www.youtube.com/embed/${v}`,
|
|
8659
8695
|
frameBorder: "0",
|
|
8660
8696
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
|
|
8661
8697
|
allowFullScreen: !0,
|
|
@@ -8663,11 +8699,11 @@ const ph = (e) => {
|
|
|
8663
8699
|
}
|
|
8664
8700
|
) : null;
|
|
8665
8701
|
}, b = () => {
|
|
8666
|
-
const
|
|
8667
|
-
if (!
|
|
8668
|
-
const
|
|
8702
|
+
const v = w.find((D) => D.type === "video-embedded");
|
|
8703
|
+
if (!v?.code) return null;
|
|
8704
|
+
const C = /src\s*=\s*"([^"]+)"/.exec(v.code), y = C ? C[1] : null;
|
|
8669
8705
|
if (!y) return null;
|
|
8670
|
-
const S = a.original?.url ?? a.sizes?.[0]?.url ?? "",
|
|
8706
|
+
const S = a.original?.url ?? a.sizes?.[0]?.url ?? "", k = Ke() ?? "", L = S.startsWith("http") || S.includes(k) || k === "" ? S : k + S;
|
|
8671
8707
|
return /* @__PURE__ */ s(
|
|
8672
8708
|
"iframe",
|
|
8673
8709
|
{
|
|
@@ -8690,7 +8726,7 @@ const ph = (e) => {
|
|
|
8690
8726
|
href: o,
|
|
8691
8727
|
target: i,
|
|
8692
8728
|
children: /* @__PURE__ */ s(
|
|
8693
|
-
|
|
8729
|
+
Te,
|
|
8694
8730
|
{
|
|
8695
8731
|
preview: a,
|
|
8696
8732
|
isVideo: c,
|
|
@@ -8704,7 +8740,7 @@ const ph = (e) => {
|
|
|
8704
8740
|
case "videoYouTube":
|
|
8705
8741
|
return w[0]?.code ? /* @__PURE__ */ s(g, {}) : /* @__PURE__ */ s(A, {});
|
|
8706
8742
|
case "videoEmbedded":
|
|
8707
|
-
return w.some((
|
|
8743
|
+
return w.some((v) => v.type === "video-embedded" && v.code) ? /* @__PURE__ */ s(b, {}) : /* @__PURE__ */ s(A, {});
|
|
8708
8744
|
case "clip":
|
|
8709
8745
|
return w[0]?.clip ? /* @__PURE__ */ s(f, {}) : /* @__PURE__ */ s(A, {});
|
|
8710
8746
|
case "iframe":
|
|
@@ -8816,7 +8852,7 @@ const ph = (e) => {
|
|
|
8816
8852
|
title: a?.title?.section,
|
|
8817
8853
|
href: n.link.url,
|
|
8818
8854
|
target: n.link.target,
|
|
8819
|
-
children: /* @__PURE__ */ s(
|
|
8855
|
+
children: /* @__PURE__ */ s(Te, { preview: e.preview, isVideo: t })
|
|
8820
8856
|
}
|
|
8821
8857
|
),
|
|
8822
8858
|
/* @__PURE__ */ p(
|
|
@@ -8884,7 +8920,7 @@ const ph = (e) => {
|
|
|
8884
8920
|
/* @__PURE__ */ s("textarea", { className: "sass-com-cta-input", ...e })
|
|
8885
8921
|
] }), sr = (e) => {
|
|
8886
8922
|
let t = "";
|
|
8887
|
-
return e.preview.description && (t = e.preview.description), e.preview.copyright && (t = `${t} ${e.preview.copyright}`), e.preview.photographer && (t = `${t} ${e.preview.photographer}`), /* @__PURE__ */ s("div", { className: "sass-com-in2-content", children: /* @__PURE__ */ s(
|
|
8923
|
+
return e.preview.description && (t = e.preview.description), e.preview.copyright && (t = `${t} ${e.preview.copyright}`), e.preview.photographer && (t = `${t} ${e.preview.photographer}`), /* @__PURE__ */ s("div", { className: "sass-com-in2-content", children: /* @__PURE__ */ s(Te, { preview: e.preview, isLarge: !0, priorityHigh: !0, figCaption: t }) });
|
|
8888
8924
|
}, hc = (e) => /* @__PURE__ */ s($, { children: /* @__PURE__ */ p("div", { className: "sass-com-lbh-boxInformation sass-liveblog-header", children: [
|
|
8889
8925
|
/* @__PURE__ */ s(sr, { preview: e.preview }),
|
|
8890
8926
|
/* @__PURE__ */ p("div", { className: "sass-com-lbh-textBox", children: [
|
|
@@ -8963,8 +8999,8 @@ const ph = (e) => {
|
|
|
8963
8999
|
fetchPriority: "low",
|
|
8964
9000
|
loading: "lazy"
|
|
8965
9001
|
}
|
|
8966
|
-
),
|
|
8967
|
-
const { autor: t, autorIcon: n, socialIconsFilled: a = !1, socialIconsCustom: r = !1 } = e, o = n, { PUBLIC_LNG: i } = R(), l = i === "en", c = t?.addtional, d = t?.info?.image?.sizes?.[0]?.url ?? "", u = t?.info?.fullname ?? "", h = t?.info?.email ?? "", m = c?.USER_SHOWEMAIL === !0 || c?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", w = c?.USER_SHOWBIO ?? !1, f = l ? c?.USER_DESCRIPCION_EN || c?.USER_MIBIO_EN || "" : c?.USER_DESCRIPCION || c?.USER_MIBIO || "", g = Pt(t?.addtional?.USER_USERFB ?? ""), b = Pt(t?.addtional?.USER_USERIG ?? ""), A = Pt(t?.addtional?.USER_USERTWT ?? ""),
|
|
9002
|
+
), vh = async (e) => {
|
|
9003
|
+
const { autor: t, autorIcon: n, socialIconsFilled: a = !1, socialIconsCustom: r = !1 } = e, o = n, { PUBLIC_LNG: i } = R(), l = i === "en", c = t?.addtional, d = t?.info?.image?.sizes?.[0]?.url ?? "", u = t?.info?.fullname ?? "", h = t?.info?.email ?? "", m = c?.USER_SHOWEMAIL === !0 || c?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", w = c?.USER_SHOWBIO ?? !1, f = l ? c?.USER_DESCRIPCION_EN || c?.USER_MIBIO_EN || "" : c?.USER_DESCRIPCION || c?.USER_MIBIO || "", g = Pt(t?.addtional?.USER_USERFB ?? ""), b = Pt(t?.addtional?.USER_USERIG ?? ""), A = Pt(t?.addtional?.USER_USERTWT ?? ""), v = Pt(t?.addtional?.USER_USERLIN ?? ""), N = () => !m || !h || h.trim() === "" ? !1 : pc(h), C = (y) => `mailto:${y.trim()}`;
|
|
8968
9004
|
return /* @__PURE__ */ s(
|
|
8969
9005
|
"section",
|
|
8970
9006
|
{
|
|
@@ -8990,7 +9026,7 @@ const ph = (e) => {
|
|
|
8990
9026
|
N() && /* @__PURE__ */ s(
|
|
8991
9027
|
"a",
|
|
8992
9028
|
{
|
|
8993
|
-
href:
|
|
9029
|
+
href: C(h),
|
|
8994
9030
|
className: "sass-com-ah1-email",
|
|
8995
9031
|
"aria-label": `Enviar correo electrónico a ${h}`,
|
|
8996
9032
|
title: `Enviar correo a ${h}`,
|
|
@@ -9029,10 +9065,10 @@ const ph = (e) => {
|
|
|
9029
9065
|
children: r ? Ot("x", "X", "sass-com-ah1-social-icon sass-com-ah1-social-icon-x") : /* @__PURE__ */ s(_e, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-x", forceSVG: !0 })
|
|
9030
9066
|
}
|
|
9031
9067
|
),
|
|
9032
|
-
|
|
9068
|
+
v && /* @__PURE__ */ s(
|
|
9033
9069
|
"a",
|
|
9034
9070
|
{
|
|
9035
|
-
href:
|
|
9071
|
+
href: v,
|
|
9036
9072
|
target: "_blank",
|
|
9037
9073
|
className: `sass-com-ah1-social-link ${a ? "sass-com-ah1-social-filled" : "sass-com-ah1-social-stroke"}`,
|
|
9038
9074
|
rel: "noreferrer",
|
|
@@ -9043,7 +9079,7 @@ const ph = (e) => {
|
|
|
9043
9079
|
] })
|
|
9044
9080
|
}
|
|
9045
9081
|
);
|
|
9046
|
-
},
|
|
9082
|
+
}, Ch = async (e) => {
|
|
9047
9083
|
const { autor: t, autorIcon: n, socialIconsFilled: a = !1 } = e, r = n, { PUBLIC_LNG: o } = R(), i = o === "en", l = t?.addtional, c = t?.info?.image?.sizes?.[0]?.url ?? "", d = t?.info?.fullname ?? "", u = t?.info?.email ?? "", h = l?.USER_SHOWEMAIL === !0 || l?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", m = l?.USER_SHOWBIO ?? !1, w = i ? l?.USER_DESCRIPCION_EN || l?.USER_MIBIO_EN || "" : l?.USER_DESCRIPCION || l?.USER_MIBIO || "", f = t?.addtional?.USER_USERFB ?? "", g = t?.addtional?.USER_USERIG ?? "", b = t?.addtional?.USER_USERTWT ?? "", A = t?.addtional?.USER_USERLIN ?? "";
|
|
9048
9084
|
return /* @__PURE__ */ s(
|
|
9049
9085
|
"section",
|
|
@@ -9246,7 +9282,7 @@ const ph = (e) => {
|
|
|
9246
9282
|
{
|
|
9247
9283
|
isTitle: !0,
|
|
9248
9284
|
cutSubtitle: !1,
|
|
9249
|
-
...
|
|
9285
|
+
...Ct(
|
|
9250
9286
|
{
|
|
9251
9287
|
...e?.video,
|
|
9252
9288
|
info: {
|
|
@@ -9272,7 +9308,7 @@ const ph = (e) => {
|
|
|
9272
9308
|
style: e.listVideoStyles,
|
|
9273
9309
|
children: [
|
|
9274
9310
|
e.banner && /* @__PURE__ */ s(
|
|
9275
|
-
|
|
9311
|
+
Se,
|
|
9276
9312
|
{
|
|
9277
9313
|
banners: e.banner.banners,
|
|
9278
9314
|
name: e.banner.bannerName
|
|
@@ -9282,7 +9318,7 @@ const ph = (e) => {
|
|
|
9282
9318
|
Array.isArray(t) && t.map((n, a) => /* @__PURE__ */ Ve(
|
|
9283
9319
|
wc,
|
|
9284
9320
|
{
|
|
9285
|
-
...
|
|
9321
|
+
...Ct(n, !0, !1, !1),
|
|
9286
9322
|
key: a,
|
|
9287
9323
|
paths: e.paths
|
|
9288
9324
|
}
|
|
@@ -9426,7 +9462,7 @@ const ph = (e) => {
|
|
|
9426
9462
|
}
|
|
9427
9463
|
)
|
|
9428
9464
|
] });
|
|
9429
|
-
},
|
|
9465
|
+
}, vc = ({ socials: e, copyright: t }) => /* @__PURE__ */ p("div", { className: "sass-com-sb-footerSlider", children: [
|
|
9430
9466
|
/* @__PURE__ */ s("div", { className: "sass-com-sb-socialMedia", children: Object.keys(e).map(
|
|
9431
9467
|
(n) => e[n]?.show && ct[n] ? /* @__PURE__ */ s(
|
|
9432
9468
|
"a",
|
|
@@ -9442,7 +9478,7 @@ const ph = (e) => {
|
|
|
9442
9478
|
) : null
|
|
9443
9479
|
) }),
|
|
9444
9480
|
t && /* @__PURE__ */ s("p", { className: "sass-com-sb-copyRights", children: t })
|
|
9445
|
-
] }),
|
|
9481
|
+
] }), Cc = ({
|
|
9446
9482
|
sidebar: e,
|
|
9447
9483
|
socials: t,
|
|
9448
9484
|
copyrigth: n,
|
|
@@ -9475,7 +9511,7 @@ const ph = (e) => {
|
|
|
9475
9511
|
a,
|
|
9476
9512
|
e.map((h, m) => /* @__PURE__ */ s(yc, { item: h, index: m }, m))
|
|
9477
9513
|
] }),
|
|
9478
|
-
/* @__PURE__ */ s(
|
|
9514
|
+
/* @__PURE__ */ s(vc, { socials: t, copyright: n })
|
|
9479
9515
|
] })
|
|
9480
9516
|
] })
|
|
9481
9517
|
]
|
|
@@ -9880,7 +9916,7 @@ const ph = (e) => {
|
|
|
9880
9916
|
!e.showOnlyStickyHeader && /* @__PURE__ */ s(Sc, { ...e }),
|
|
9881
9917
|
e.childrenContentPosition !== "before-headers" && i,
|
|
9882
9918
|
/* @__PURE__ */ s(
|
|
9883
|
-
|
|
9919
|
+
Cc,
|
|
9884
9920
|
{
|
|
9885
9921
|
sidebarExtra: e.sidebarExtra,
|
|
9886
9922
|
searchKeyWord: e.searchKeyWord,
|
|
@@ -9907,7 +9943,7 @@ const ph = (e) => {
|
|
|
9907
9943
|
) : /* @__PURE__ */ s("div", { className: "sass-com-ts-chipStyled", children: n.name }, a))
|
|
9908
9944
|
] }) });
|
|
9909
9945
|
}, Tc = async (e) => {
|
|
9910
|
-
const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: n, PUBLIC_LNG: a } = R(), r = me(), o = a === "en", i = t?.addtional, l = i?.USER_SHOWBIO ?? !1, c = t?.info?.name ?? "", d = t?.info?.fullname ?? "", u = t?.info?.image?.sizes?.[0]?.url ?? "", h = o ? i?.USER_DESCRIPCION_EN || i?.USER_MIBIO_EN || "" : i?.USER_DESCRIPCION || i?.USER_MIBIO || "", m = t?.addtional?.USER_USERFB ?? "", w = t?.addtional?.USER_USERIG ?? "", f = t?.addtional?.USER_USERTWT ?? "", g = t?.addtional?.USER_USERLIN ?? "", b = `${r}/${e.paths.autor}/${c}`, N = h.replace(/<[^>]*>/g, "").replace(/&[^;]+;/g, " ").trim().length > 360,
|
|
9946
|
+
const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: n, PUBLIC_LNG: a } = R(), r = me(), o = a === "en", i = t?.addtional, l = i?.USER_SHOWBIO ?? !1, c = t?.info?.name ?? "", d = t?.info?.fullname ?? "", u = t?.info?.image?.sizes?.[0]?.url ?? "", h = o ? i?.USER_DESCRIPCION_EN || i?.USER_MIBIO_EN || "" : i?.USER_DESCRIPCION || i?.USER_MIBIO || "", m = t?.addtional?.USER_USERFB ?? "", w = t?.addtional?.USER_USERIG ?? "", f = t?.addtional?.USER_USERTWT ?? "", g = t?.addtional?.USER_USERLIN ?? "", b = `${r}/${e.paths.autor}/${c}`, N = h.replace(/<[^>]*>/g, "").replace(/&[^;]+;/g, " ").trim().length > 360, C = `ja2-bio-toggle-${c}`;
|
|
9911
9947
|
return l && !!t && /* @__PURE__ */ s("section", { className: "sass-com-ja2-contentBox", children: /* @__PURE__ */ p("div", { className: "sass-com-ja2-content", children: [
|
|
9912
9948
|
/* @__PURE__ */ p("div", { className: "sass-com-ja2-avatarContent", children: [
|
|
9913
9949
|
/* @__PURE__ */ s(
|
|
@@ -10096,36 +10132,38 @@ const ph = (e) => {
|
|
|
10096
10132
|
] })
|
|
10097
10133
|
] })
|
|
10098
10134
|
] }),
|
|
10099
|
-
l && (N ? /* @__PURE__ */ p(
|
|
10135
|
+
l && (N ? /* @__PURE__ */ p("div", { className: "sass-com-ja2-bioExpandable", children: [
|
|
10100
10136
|
/* @__PURE__ */ s(
|
|
10101
10137
|
"input",
|
|
10102
10138
|
{
|
|
10103
10139
|
type: "checkbox",
|
|
10104
|
-
id:
|
|
10105
|
-
className: "sass-com-ja2-bioToggle"
|
|
10106
|
-
hidden: !0
|
|
10140
|
+
id: C,
|
|
10141
|
+
className: "sass-com-ja2-bioToggle"
|
|
10107
10142
|
}
|
|
10108
10143
|
),
|
|
10109
10144
|
/* @__PURE__ */ s(
|
|
10110
|
-
"
|
|
10145
|
+
"div",
|
|
10111
10146
|
{
|
|
10112
10147
|
className: "sass-com-ja2-article sass-com-ja2-article-clamp",
|
|
10113
10148
|
dangerouslySetInnerHTML: { __html: h }
|
|
10114
10149
|
}
|
|
10115
10150
|
),
|
|
10116
10151
|
/* @__PURE__ */ p("div", { className: "sass-com-ja2-bioFooter", children: [
|
|
10117
|
-
/* @__PURE__ */
|
|
10118
|
-
"
|
|
10152
|
+
/* @__PURE__ */ p(
|
|
10153
|
+
"label",
|
|
10119
10154
|
{
|
|
10120
|
-
|
|
10121
|
-
|
|
10122
|
-
children:
|
|
10155
|
+
htmlFor: C,
|
|
10156
|
+
className: "sass-com-ja2-bioToggleLink",
|
|
10157
|
+
children: [
|
|
10158
|
+
/* @__PURE__ */ s("span", { className: "sass-com-ja2-bioToggleLinkMore", children: String(e.texts.authorViewMore ?? "Ver más") }),
|
|
10159
|
+
/* @__PURE__ */ s("span", { className: "sass-com-ja2-bioToggleLinkLess", children: "Ver menos" })
|
|
10160
|
+
]
|
|
10123
10161
|
}
|
|
10124
10162
|
),
|
|
10125
10163
|
/* @__PURE__ */ s(
|
|
10126
10164
|
"label",
|
|
10127
10165
|
{
|
|
10128
|
-
htmlFor:
|
|
10166
|
+
htmlFor: C,
|
|
10129
10167
|
className: "sass-com-ja2-bioArrow",
|
|
10130
10168
|
"aria-label": "Leer más / Leer menos",
|
|
10131
10169
|
children: /* @__PURE__ */ s(
|
|
@@ -10151,9 +10189,18 @@ const ph = (e) => {
|
|
|
10151
10189
|
)
|
|
10152
10190
|
}
|
|
10153
10191
|
)
|
|
10154
|
-
] })
|
|
10192
|
+
] }),
|
|
10193
|
+
/* @__PURE__ */ s(
|
|
10194
|
+
"a",
|
|
10195
|
+
{
|
|
10196
|
+
"aria-label": c,
|
|
10197
|
+
className: "sass-com-ja2-bioAuthorLink",
|
|
10198
|
+
href: b,
|
|
10199
|
+
children: String(e.texts.authorViewMore ?? "Ver más")
|
|
10200
|
+
}
|
|
10201
|
+
)
|
|
10155
10202
|
] }) : /* @__PURE__ */ s(
|
|
10156
|
-
"
|
|
10203
|
+
"div",
|
|
10157
10204
|
{
|
|
10158
10205
|
className: "sass-com-ja2-article",
|
|
10159
10206
|
dangerouslySetInnerHTML: {
|
|
@@ -10164,7 +10211,7 @@ const ph = (e) => {
|
|
|
10164
10211
|
}
|
|
10165
10212
|
))
|
|
10166
10213
|
] }) });
|
|
10167
|
-
},
|
|
10214
|
+
}, kc = async (e) => {
|
|
10168
10215
|
const { news: t, texts: n } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: a } = R();
|
|
10169
10216
|
return t.config?.showauthor && t.authors?.length > 1 && /* @__PURE__ */ s(
|
|
10170
10217
|
"div",
|
|
@@ -10410,13 +10457,13 @@ function Th(e) {
|
|
|
10410
10457
|
allowFullScreen: !0
|
|
10411
10458
|
}
|
|
10412
10459
|
) : null;
|
|
10413
|
-
},
|
|
10460
|
+
}, v = () => {
|
|
10414
10461
|
if (!e.videos) return null;
|
|
10415
10462
|
const y = (e.videos ?? []).find(
|
|
10416
10463
|
(H) => H.type === "video-embedded"
|
|
10417
10464
|
);
|
|
10418
10465
|
if (!y?.code) return null;
|
|
10419
|
-
const
|
|
10466
|
+
const k = /src\s*=\s*"([^"]+)"/.exec(y.code), L = k ? k[1] : null;
|
|
10420
10467
|
if (!L) return null;
|
|
10421
10468
|
const D = r.original?.url ?? r.sizes?.[0]?.url ?? "", j = Ke() ?? "", P = D.startsWith("http") || D.includes(j) || j === "" ? D : j + D;
|
|
10422
10469
|
return /* @__PURE__ */ s(
|
|
@@ -10441,8 +10488,8 @@ function Th(e) {
|
|
|
10441
10488
|
visibleItems: 1,
|
|
10442
10489
|
pagination: !0,
|
|
10443
10490
|
cardGap: 0,
|
|
10444
|
-
children: S.map((
|
|
10445
|
-
const D =
|
|
10491
|
+
children: S.map((k, L) => {
|
|
10492
|
+
const D = k?.url || k?.id || `gallery-${L}`;
|
|
10446
10493
|
return /* @__PURE__ */ s(
|
|
10447
10494
|
M,
|
|
10448
10495
|
{
|
|
@@ -10452,9 +10499,9 @@ function Th(e) {
|
|
|
10452
10499
|
href: a?.link?.url,
|
|
10453
10500
|
target: a?.link?.target,
|
|
10454
10501
|
children: /* @__PURE__ */ s(
|
|
10455
|
-
|
|
10502
|
+
Te,
|
|
10456
10503
|
{
|
|
10457
|
-
preview:
|
|
10504
|
+
preview: k,
|
|
10458
10505
|
isVideo: l,
|
|
10459
10506
|
isLarge: c,
|
|
10460
10507
|
priorityHigh: d
|
|
@@ -10467,22 +10514,22 @@ function Th(e) {
|
|
|
10467
10514
|
}
|
|
10468
10515
|
) : null;
|
|
10469
10516
|
};
|
|
10470
|
-
let
|
|
10517
|
+
let C = null;
|
|
10471
10518
|
switch (g) {
|
|
10472
10519
|
case "fotogaleria":
|
|
10473
|
-
|
|
10520
|
+
C = /* @__PURE__ */ s(N, {});
|
|
10474
10521
|
break;
|
|
10475
10522
|
case "videoYouTube":
|
|
10476
|
-
|
|
10523
|
+
C = /* @__PURE__ */ s(A, {});
|
|
10477
10524
|
break;
|
|
10478
10525
|
case "videoEmbedded":
|
|
10479
|
-
|
|
10526
|
+
C = /* @__PURE__ */ s(v, {});
|
|
10480
10527
|
break;
|
|
10481
10528
|
case "clip":
|
|
10482
|
-
|
|
10529
|
+
C = /* @__PURE__ */ s(b, {});
|
|
10483
10530
|
break;
|
|
10484
10531
|
case "iframe":
|
|
10485
|
-
|
|
10532
|
+
C = /* @__PURE__ */ s(
|
|
10486
10533
|
"div",
|
|
10487
10534
|
{
|
|
10488
10535
|
className: "homeCardIframeContainer",
|
|
@@ -10491,7 +10538,7 @@ function Th(e) {
|
|
|
10491
10538
|
);
|
|
10492
10539
|
break;
|
|
10493
10540
|
default:
|
|
10494
|
-
|
|
10541
|
+
C = /* @__PURE__ */ s(
|
|
10495
10542
|
M,
|
|
10496
10543
|
{
|
|
10497
10544
|
"aria-label": e?.main?.title?.section,
|
|
@@ -10500,7 +10547,7 @@ function Th(e) {
|
|
|
10500
10547
|
href: a?.link?.url,
|
|
10501
10548
|
target: a?.link?.target,
|
|
10502
10549
|
children: /* @__PURE__ */ s(
|
|
10503
|
-
|
|
10550
|
+
Te,
|
|
10504
10551
|
{
|
|
10505
10552
|
preview: r,
|
|
10506
10553
|
isVideo: l,
|
|
@@ -10520,7 +10567,7 @@ function Th(e) {
|
|
|
10520
10567
|
...e.customSectionCardStyles
|
|
10521
10568
|
},
|
|
10522
10569
|
children: [
|
|
10523
|
-
/* @__PURE__ */ s("div", { className: "homeCardContentWrapper", children:
|
|
10570
|
+
/* @__PURE__ */ s("div", { className: "homeCardContentWrapper", children: C }),
|
|
10524
10571
|
/* @__PURE__ */ s("div", { className: "homeCardNewsDescription", children: /* @__PURE__ */ s(
|
|
10525
10572
|
Ge,
|
|
10526
10573
|
{
|
|
@@ -10607,7 +10654,7 @@ const dt = (e) => {
|
|
|
10607
10654
|
"--lineHeightImageNewsTitleMobile": e.isVertical ? "26px" : "36px"
|
|
10608
10655
|
},
|
|
10609
10656
|
children: /* @__PURE__ */ s(
|
|
10610
|
-
|
|
10657
|
+
Te,
|
|
10611
10658
|
{
|
|
10612
10659
|
preview: e.preview,
|
|
10613
10660
|
isLarge: !0,
|
|
@@ -10732,7 +10779,7 @@ const dt = (e) => {
|
|
|
10732
10779
|
}
|
|
10733
10780
|
),
|
|
10734
10781
|
e.banners && /* @__PURE__ */ s(
|
|
10735
|
-
|
|
10782
|
+
Se,
|
|
10736
10783
|
{
|
|
10737
10784
|
banners: e.banners,
|
|
10738
10785
|
name: "main_block_" + (e.rightOnlyBanner ? 1 : 2)
|
|
@@ -10751,7 +10798,7 @@ const dt = (e) => {
|
|
|
10751
10798
|
}
|
|
10752
10799
|
)
|
|
10753
10800
|
] });
|
|
10754
|
-
},
|
|
10801
|
+
}, Ic = ({
|
|
10755
10802
|
content: e,
|
|
10756
10803
|
customLargeSection: t,
|
|
10757
10804
|
customSmallSection: n,
|
|
@@ -10987,7 +11034,7 @@ function Rc(e) {
|
|
|
10987
11034
|
a % 2 === 0 ? t[Math.floor(a / 2)] = e[a] : t[n + Math.floor(a / 2)] = e[a];
|
|
10988
11035
|
return t;
|
|
10989
11036
|
}
|
|
10990
|
-
const
|
|
11037
|
+
const kh = (e) => {
|
|
10991
11038
|
const { isOpinion: t = !1 } = e, n = (o) => /* @__PURE__ */ s(
|
|
10992
11039
|
"div",
|
|
10993
11040
|
{
|
|
@@ -11041,7 +11088,7 @@ const Ih = (e) => {
|
|
|
11041
11088
|
] })
|
|
11042
11089
|
}
|
|
11043
11090
|
) });
|
|
11044
|
-
},
|
|
11091
|
+
}, Ih = (e) => {
|
|
11045
11092
|
const { showTitle: t = !0 } = e;
|
|
11046
11093
|
return /* @__PURE__ */ p("div", { className: "sass-bs-eb1-content", children: [
|
|
11047
11094
|
t && /* @__PURE__ */ s("p", { className: "sass-bs-eb1-title", children: "Editorial" }),
|
|
@@ -11136,14 +11183,14 @@ const Ih = (e) => {
|
|
|
11136
11183
|
/* @__PURE__ */ s("section", { className: n(r), children: e.banners?.some(
|
|
11137
11184
|
(u) => u.key === `${e.slot_id}_${o}`
|
|
11138
11185
|
) && /* @__PURE__ */ s(
|
|
11139
|
-
|
|
11186
|
+
Se,
|
|
11140
11187
|
{
|
|
11141
11188
|
banners: e.banners,
|
|
11142
11189
|
name: `${e.slot_id}_${o}`
|
|
11143
11190
|
}
|
|
11144
11191
|
) }, r)
|
|
11145
11192
|
), r++, o++);
|
|
11146
|
-
const l = e.isVideo ?
|
|
11193
|
+
const l = e.isVideo ? Ct(
|
|
11147
11194
|
t[i],
|
|
11148
11195
|
e.showVideoTime,
|
|
11149
11196
|
e.showVideosubtitle,
|
|
@@ -11334,7 +11381,7 @@ const Rh = (e) => {
|
|
|
11334
11381
|
lr,
|
|
11335
11382
|
{
|
|
11336
11383
|
goTo: e.goTo,
|
|
11337
|
-
mainNew:
|
|
11384
|
+
mainNew: Ct(r),
|
|
11338
11385
|
paths: e.paths
|
|
11339
11386
|
}
|
|
11340
11387
|
),
|
|
@@ -11346,7 +11393,7 @@ const Rh = (e) => {
|
|
|
11346
11393
|
target: r?.info?.link.target,
|
|
11347
11394
|
"aria-label": "Video",
|
|
11348
11395
|
children: /* @__PURE__ */ s(
|
|
11349
|
-
|
|
11396
|
+
Te,
|
|
11350
11397
|
{
|
|
11351
11398
|
preview: {
|
|
11352
11399
|
sizes: r?.main?.image.sizes,
|
|
@@ -11362,7 +11409,7 @@ const Rh = (e) => {
|
|
|
11362
11409
|
/* @__PURE__ */ p("div", { className: "sass-bd-dv-newsContent", children: [
|
|
11363
11410
|
/* @__PURE__ */ s("div", { className: "banner-context", style: { order: 1 }, children: e.banner }),
|
|
11364
11411
|
Array.isArray(i) && i.map((l, c) => {
|
|
11365
|
-
const d =
|
|
11412
|
+
const d = Ct(l), u = {
|
|
11366
11413
|
...d,
|
|
11367
11414
|
main: {
|
|
11368
11415
|
...d.main,
|
|
@@ -11401,7 +11448,7 @@ const Rh = (e) => {
|
|
|
11401
11448
|
target: e?.info?.link?.target,
|
|
11402
11449
|
title: e.main?.title?.section,
|
|
11403
11450
|
href: t ? e.info.link.url : e?.info?.section?.url,
|
|
11404
|
-
children: /* @__PURE__ */ s(
|
|
11451
|
+
children: /* @__PURE__ */ s(Te, { preview: e.preview })
|
|
11405
11452
|
}
|
|
11406
11453
|
),
|
|
11407
11454
|
/* @__PURE__ */ s("div", { className: "sass-com-sc6-textContent", children: /* @__PURE__ */ s(Ge, { ...e, paths: e.paths }) })
|
|
@@ -11625,8 +11672,8 @@ const Rh = (e) => {
|
|
|
11625
11672
|
readestTitle: l.readestTitle ?? "",
|
|
11626
11673
|
paths: e.paths,
|
|
11627
11674
|
readestCustomStyles: e.readestCustomStyles,
|
|
11628
|
-
bannerTop: /* @__PURE__ */ s(
|
|
11629
|
-
banner: /* @__PURE__ */ s(
|
|
11675
|
+
bannerTop: /* @__PURE__ */ s(Se, { banners: a ?? [], name: "right_1" }),
|
|
11676
|
+
banner: /* @__PURE__ */ s(Se, { banners: a ?? [], name: "right_2" }),
|
|
11630
11677
|
children: /* @__PURE__ */ s("section", { className: "sass-pg-sec-content", children: t.length > 0 ? /* @__PURE__ */ s(
|
|
11631
11678
|
Qs,
|
|
11632
11679
|
{
|
|
@@ -11650,7 +11697,7 @@ const Rh = (e) => {
|
|
|
11650
11697
|
{
|
|
11651
11698
|
className: "sass-pg-sec-itemContent banner-context",
|
|
11652
11699
|
children: /* @__PURE__ */ s(
|
|
11653
|
-
|
|
11700
|
+
Se,
|
|
11654
11701
|
{
|
|
11655
11702
|
banners: a ?? [],
|
|
11656
11703
|
name: `block_2_${d[m + 1]}`
|
|
@@ -11716,7 +11763,7 @@ const Rh = (e) => {
|
|
|
11716
11763
|
),
|
|
11717
11764
|
children: Array.isArray(t) && t?.map((h, m) => /* @__PURE__ */ p(Rn, { children: [
|
|
11718
11765
|
u.includes(m + 1) && /* @__PURE__ */ s("div", { className: "sass-pg-sec-ItemCustomContent", children: /* @__PURE__ */ s(
|
|
11719
|
-
|
|
11766
|
+
Se,
|
|
11720
11767
|
{
|
|
11721
11768
|
banners: a ?? [],
|
|
11722
11769
|
name: `block_2_${d[m + 1]}`
|
|
@@ -12023,7 +12070,7 @@ const Rh = (e) => {
|
|
|
12023
12070
|
const S = await he(y.url);
|
|
12024
12071
|
return y.width < 200 ? `<source srcset="${S}" media="(width < 750px)"/>` : `<source srcset="${S}" media="(width >= 750px)"/>`;
|
|
12025
12072
|
}) || []
|
|
12026
|
-
)).reduce((y, S) => y += S, ""), A = l.match(/<span\b[^>]*data-src="[^"]+"[^>]*>[\s\S]*?<\/span>/),
|
|
12073
|
+
)).reduce((y, S) => y += S, ""), A = l.match(/<span\b[^>]*data-src="[^"]+"[^>]*>[\s\S]*?<\/span>/), v = A ? A[0] : "", N = `
|
|
12027
12074
|
<span data-src="${c}">
|
|
12028
12075
|
<picture style='display: flex'>
|
|
12029
12076
|
${b}
|
|
@@ -12034,8 +12081,8 @@ const Rh = (e) => {
|
|
|
12034
12081
|
<a class="title" href="${f}">${g}</a>
|
|
12035
12082
|
</div>
|
|
12036
12083
|
</span>
|
|
12037
|
-
`,
|
|
12038
|
-
o = o.replace(l,
|
|
12084
|
+
`, C = l.replace(v, N);
|
|
12085
|
+
o = o.replace(l, C);
|
|
12039
12086
|
}
|
|
12040
12087
|
return o;
|
|
12041
12088
|
}, Xc = (e) => e.replace(/<p>(\s| )+<\/p>/g, ""), ed = (e) => {
|
|
@@ -12089,14 +12136,14 @@ async function nd(e, t) {
|
|
|
12089
12136
|
allowfullscreen
|
|
12090
12137
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
12091
12138
|
src="${f.main?.code || ""}"></iframe>` : g = f.main?.code || "";
|
|
12092
|
-
const
|
|
12139
|
+
const v = A || f.main?.description || "";
|
|
12093
12140
|
h = `
|
|
12094
12141
|
<figure class="videoFigure">
|
|
12095
12142
|
${w && w.data && w.data.data ? `<script type="application/ld+json">${nn(
|
|
12096
12143
|
JSON.stringify(w.data.data)
|
|
12097
12144
|
)}<\/script>` : ""}
|
|
12098
12145
|
${g}
|
|
12099
|
-
${
|
|
12146
|
+
${v ? `<figcaption>${v}</figcaption>` : ""}
|
|
12100
12147
|
</figure>
|
|
12101
12148
|
`;
|
|
12102
12149
|
}
|
|
@@ -12161,7 +12208,7 @@ const ad = async ({
|
|
|
12161
12208
|
)
|
|
12162
12209
|
] }),
|
|
12163
12210
|
/* @__PURE__ */ s("h2", { className: "sass-com-bnl-contentTitle", children: e[0]?.list.integrated ? (await c).title : `${(await c).index}. ${(await c).title}` }),
|
|
12164
|
-
(await c).image && /* @__PURE__ */ s(
|
|
12211
|
+
(await c).image && /* @__PURE__ */ s(Te, { preview: (await c).image, isLarge: !0 }),
|
|
12165
12212
|
/* @__PURE__ */ s(
|
|
12166
12213
|
"div",
|
|
12167
12214
|
{
|
|
@@ -12186,7 +12233,7 @@ const ad = async ({
|
|
|
12186
12233
|
) })
|
|
12187
12234
|
] }) }, d),
|
|
12188
12235
|
Ys[d] && /* @__PURE__ */ s(
|
|
12189
|
-
|
|
12236
|
+
Se,
|
|
12190
12237
|
{
|
|
12191
12238
|
banners: n,
|
|
12192
12239
|
name: "list_" + Ys[d],
|
|
@@ -12365,7 +12412,7 @@ const od = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
12365
12412
|
visibleItems: 1,
|
|
12366
12413
|
pagination: !0,
|
|
12367
12414
|
cardGap: 0,
|
|
12368
|
-
children: o && o.map((i, l) => /* @__PURE__ */ s(
|
|
12415
|
+
children: o && o.map((i, l) => /* @__PURE__ */ s(Te, { preview: i, priorityHigh: !0 }, l))
|
|
12369
12416
|
}
|
|
12370
12417
|
),
|
|
12371
12418
|
/* @__PURE__ */ s("div", { className: "sass-com-in2-description", children: o && o[0]?.description })
|
|
@@ -12504,7 +12551,7 @@ const ud = (e) => /* @__PURE__ */ s(
|
|
|
12504
12551
|
function hd({ noteShare: e }) {
|
|
12505
12552
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
12506
12553
|
if (!e) return null;
|
|
12507
|
-
const n =
|
|
12554
|
+
const n = It();
|
|
12508
12555
|
return /* @__PURE__ */ p("div", { className: "sass-com-ja4-socialNetworkSection", children: [
|
|
12509
12556
|
e.options?.map((a) => {
|
|
12510
12557
|
const r = md[a];
|
|
@@ -12772,7 +12819,7 @@ const fd = async (e) => {
|
|
|
12772
12819
|
function gd({ noteShare: e, GoogleProfile: t }) {
|
|
12773
12820
|
const n = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
12774
12821
|
if (!e) return null;
|
|
12775
|
-
const a = e.variant === "custom", r =
|
|
12822
|
+
const a = e.variant === "custom", r = It();
|
|
12776
12823
|
return /* @__PURE__ */ p("div", { className: "sass-com-ja5-socialNetworkSection", children: [
|
|
12777
12824
|
e.options?.map((o) => {
|
|
12778
12825
|
const i = pd[o];
|
|
@@ -13044,7 +13091,7 @@ const wd = async (e) => {
|
|
|
13044
13091
|
), yd = (e) => e.replace(
|
|
13045
13092
|
/<span\b[^>]*class=["'][^"']*video__title[^"']*["'][^>]*>[\s\S]*?<\/span>/gi,
|
|
13046
13093
|
""
|
|
13047
|
-
),
|
|
13094
|
+
), vd = async (e) => {
|
|
13048
13095
|
const { PUBLIC_IS_OFFLINE: t } = R();
|
|
13049
13096
|
if (!(t === "true")) {
|
|
13050
13097
|
const d = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(d)], h = {};
|
|
@@ -13077,26 +13124,26 @@ const wd = async (e) => {
|
|
|
13077
13124
|
if (!d) break;
|
|
13078
13125
|
const u = d[0], h = d[1] ?? "";
|
|
13079
13126
|
r.add(h);
|
|
13080
|
-
const m = u.match(/<figcaption[^>]*>([\s\S]*?)<\/figcaption>/i), w = m ? m[1].replace(/<[^>]+>/g, "").trim() : null, f = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), g = u.match(/<img\b[^>]*\btitle=["']([^"']*)["']/), b = w || f?.[1] || g?.[1] || "imagen", A = h.match(/__scale=([^&"']+)/),
|
|
13081
|
-
let N = 0,
|
|
13082
|
-
if (
|
|
13083
|
-
const D =
|
|
13084
|
-
N = D ? parseInt(D[1]) : 0,
|
|
13127
|
+
const m = u.match(/<figcaption[^>]*>([\s\S]*?)<\/figcaption>/i), w = m ? m[1].replace(/<[^>]+>/g, "").trim() : null, f = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), g = u.match(/<img\b[^>]*\btitle=["']([^"']*)["']/), b = w || f?.[1] || g?.[1] || "imagen", A = h.match(/__scale=([^&"']+)/), v = A ? decodeURIComponent(A[1]) : null;
|
|
13128
|
+
let N = 0, C = 0;
|
|
13129
|
+
if (v) {
|
|
13130
|
+
const D = v.match(/w:(\d+)/), j = v.match(/h:(\d+)/);
|
|
13131
|
+
N = D ? parseInt(D[1]) : 0, C = j ? parseInt(j[1]) : 0;
|
|
13085
13132
|
}
|
|
13086
13133
|
const S = {
|
|
13087
13134
|
preview: {
|
|
13088
13135
|
sizes: [
|
|
13089
13136
|
{
|
|
13090
|
-
scale:
|
|
13137
|
+
scale: v || `w:${N},h:${C},t:2`,
|
|
13091
13138
|
url: h,
|
|
13092
13139
|
width: N,
|
|
13093
|
-
height:
|
|
13140
|
+
height: C
|
|
13094
13141
|
}
|
|
13095
13142
|
],
|
|
13096
13143
|
original: {
|
|
13097
13144
|
url: h.split("?")[0],
|
|
13098
13145
|
width: N,
|
|
13099
|
-
height:
|
|
13146
|
+
height: C
|
|
13100
13147
|
},
|
|
13101
13148
|
copyright: !1,
|
|
13102
13149
|
description: b,
|
|
@@ -13112,25 +13159,25 @@ const wd = async (e) => {
|
|
|
13112
13159
|
const u = d[0], h = d[1] ?? "";
|
|
13113
13160
|
if (r.has(h)) continue;
|
|
13114
13161
|
const m = u.match(/\balt=["']([^"']*)["']/), w = u.match(/\btitle=["']([^"']*)["']/), f = m?.[1] || w?.[1] || "imagen", g = h.match(/__scale=([^&"']+)/), b = g ? decodeURIComponent(g[1]) : null;
|
|
13115
|
-
let A = 0,
|
|
13162
|
+
let A = 0, v = 0;
|
|
13116
13163
|
if (b) {
|
|
13117
|
-
const
|
|
13118
|
-
A =
|
|
13164
|
+
const k = b.match(/w:(\d+)/), L = b.match(/h:(\d+)/);
|
|
13165
|
+
A = k ? parseInt(k[1]) : 0, v = L ? parseInt(L[1]) : 0;
|
|
13119
13166
|
}
|
|
13120
|
-
const
|
|
13167
|
+
const C = {
|
|
13121
13168
|
preview: {
|
|
13122
13169
|
sizes: [
|
|
13123
13170
|
{
|
|
13124
|
-
scale: b || `w:${A},h:${
|
|
13171
|
+
scale: b || `w:${A},h:${v},t:2`,
|
|
13125
13172
|
url: h,
|
|
13126
13173
|
width: A,
|
|
13127
|
-
height:
|
|
13174
|
+
height: v
|
|
13128
13175
|
}
|
|
13129
13176
|
],
|
|
13130
13177
|
original: {
|
|
13131
13178
|
url: h.split("?")[0],
|
|
13132
13179
|
width: A,
|
|
13133
|
-
height:
|
|
13180
|
+
height: v
|
|
13134
13181
|
},
|
|
13135
13182
|
copyright: !1,
|
|
13136
13183
|
description: f,
|
|
@@ -13138,11 +13185,11 @@ const wd = async (e) => {
|
|
|
13138
13185
|
},
|
|
13139
13186
|
isLarge: !1,
|
|
13140
13187
|
priorityHigh: !1
|
|
13141
|
-
}, S = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(
|
|
13188
|
+
}, S = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(C))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
|
|
13142
13189
|
a = a.replace(u, S);
|
|
13143
13190
|
}
|
|
13144
13191
|
return a;
|
|
13145
|
-
},
|
|
13192
|
+
}, Cd = (e) => e.replace(
|
|
13146
13193
|
/<script\b([^>]*)>/gi,
|
|
13147
13194
|
(t, n) => n.includes("type=") ? `<script ${n.replace(/type\s*=\s*["'][^"']*["']/i, 'type="text/deferred-banner"')}>` : `<script ${n} type="text/deferred-banner">`
|
|
13148
13195
|
), Nd = (e, t, n) => {
|
|
@@ -13178,7 +13225,7 @@ const wd = async (e) => {
|
|
|
13178
13225
|
const g = l ? l.get(c) : t.find((A) => A.key === `block_2_${i[c]}`);
|
|
13179
13226
|
if (!g || !g.show) return m;
|
|
13180
13227
|
const b = Qn(g.value, n);
|
|
13181
|
-
return b ? `${m}<div class="banner-context">${o ?
|
|
13228
|
+
return b ? `${m}<div class="banner-context">${o ? Cd(b) : b}</div>` : m;
|
|
13182
13229
|
}
|
|
13183
13230
|
return m;
|
|
13184
13231
|
}
|
|
@@ -13208,15 +13255,15 @@ const wd = async (e) => {
|
|
|
13208
13255
|
let o = e;
|
|
13209
13256
|
for (const i of r) {
|
|
13210
13257
|
const l = i[0], c = i[1] ?? "", d = n.find(
|
|
13211
|
-
(
|
|
13258
|
+
(v) => c.includes(v?.[0]?.info.link.internal || "")
|
|
13212
13259
|
);
|
|
13213
13260
|
if (!d || !d[0]) continue;
|
|
13214
13261
|
const u = d[0].preview?.sizes?.[0], h = u ? await he(u.url) : "", m = d[0].info.section?.url ?? "#", w = d[0].info.section?.name ?? "Sección", f = d[0].info.link?.url ?? "#", g = d[0].main?.title.article ?? "Título", b = (await Promise.all(
|
|
13215
|
-
d[0].preview?.sizes?.map(async (
|
|
13216
|
-
const
|
|
13217
|
-
return N === 0 ? `<source srcset="${
|
|
13262
|
+
d[0].preview?.sizes?.map(async (v, N) => {
|
|
13263
|
+
const C = await he(v.url);
|
|
13264
|
+
return N === 0 ? `<source srcset="${C}" media="(width >= 900px)"/>` : `<source srcset="${C}" media="(width < 900px)"/>`;
|
|
13218
13265
|
})
|
|
13219
|
-
)).reduce((
|
|
13266
|
+
)).reduce((v, N) => v += N, ""), A = `
|
|
13220
13267
|
<span data-src="${c}">
|
|
13221
13268
|
<picture style='display: flex'>
|
|
13222
13269
|
${b}
|
|
@@ -13242,12 +13289,12 @@ async function Ed(e, t) {
|
|
|
13242
13289
|
let c = 1, d = l;
|
|
13243
13290
|
const u = e.length;
|
|
13244
13291
|
for (; d < u && c > 0; ) {
|
|
13245
|
-
const A = e.indexOf("<div", d),
|
|
13246
|
-
if (
|
|
13292
|
+
const A = e.indexOf("<div", d), v = e.indexOf("</div>", d);
|
|
13293
|
+
if (v === -1) {
|
|
13247
13294
|
d = u;
|
|
13248
13295
|
break;
|
|
13249
13296
|
}
|
|
13250
|
-
A !== -1 && A <
|
|
13297
|
+
A !== -1 && A < v ? (c += 1, d = A + 4) : (c -= 1, d = v + 6);
|
|
13251
13298
|
}
|
|
13252
13299
|
const h = d, m = e.slice(i, h);
|
|
13253
13300
|
let w = null;
|
|
@@ -13257,9 +13304,9 @@ async function Ed(e, t) {
|
|
|
13257
13304
|
const A = g[1];
|
|
13258
13305
|
if (!A) break;
|
|
13259
13306
|
if (/data-type\s*=\s*["']?video["']?/i.test(A)) {
|
|
13260
|
-
const
|
|
13261
|
-
if (
|
|
13262
|
-
w =
|
|
13307
|
+
const v = A.match(/data-src\s*=\s*["']([^"']+)["']/i);
|
|
13308
|
+
if (v) {
|
|
13309
|
+
w = v[1] ?? "";
|
|
13263
13310
|
break;
|
|
13264
13311
|
}
|
|
13265
13312
|
}
|
|
@@ -13269,43 +13316,43 @@ async function Ed(e, t) {
|
|
|
13269
13316
|
/<span\b[^>]*data-src=["'][^"']+["'][^>]*>/i
|
|
13270
13317
|
);
|
|
13271
13318
|
if (A) {
|
|
13272
|
-
const
|
|
13273
|
-
|
|
13319
|
+
const v = A[0].match(/data-src\s*=\s*["']([^"']+)["']/i);
|
|
13320
|
+
v && (w = v[1] ?? "");
|
|
13274
13321
|
}
|
|
13275
13322
|
}
|
|
13276
13323
|
let b = "";
|
|
13277
13324
|
if (w)
|
|
13278
13325
|
try {
|
|
13279
|
-
const A = await t.iframe({ path: w }),
|
|
13326
|
+
const A = await t.iframe({ path: w }), v = t.schema ? await t.schema(w) : null;
|
|
13280
13327
|
if (A && A.data) {
|
|
13281
13328
|
const N = A.data.data[0];
|
|
13282
|
-
let
|
|
13329
|
+
let C = "";
|
|
13283
13330
|
const y = m.match(
|
|
13284
13331
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
13285
13332
|
), S = y && y[1] ? y[1].trim() : "";
|
|
13286
|
-
N.info && N.info.type === "video-youtube" ?
|
|
13333
|
+
N.info && N.info.type === "video-youtube" ? C = `<iframe
|
|
13287
13334
|
loading="lazy"
|
|
13288
13335
|
frameborder="0"
|
|
13289
13336
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
13290
13337
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
13291
13338
|
allowfullscreen
|
|
13292
13339
|
style="position: relative!important;"
|
|
13293
|
-
src="https://www.youtube.com/embed/${N.main?.code || N.main?.youtubeid || ""}"></iframe>` : N.info && N.info.type === "video-link" ?
|
|
13340
|
+
src="https://www.youtube.com/embed/${N.main?.code || N.main?.youtubeid || ""}"></iframe>` : N.info && N.info.type === "video-link" ? C = `<iframe
|
|
13294
13341
|
loading="lazy"
|
|
13295
13342
|
frameborder="0"
|
|
13296
13343
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
13297
13344
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
13298
13345
|
allowfullscreen
|
|
13299
13346
|
style="position: relative!important;"
|
|
13300
|
-
src="${N.main?.code || ""}"></iframe>` :
|
|
13301
|
-
const
|
|
13347
|
+
src="${N.main?.code || ""}"></iframe>` : C = N.main?.code || "";
|
|
13348
|
+
const k = S || N.main?.description || "";
|
|
13302
13349
|
b = `
|
|
13303
13350
|
<figure class="videoFigure">
|
|
13304
|
-
${
|
|
13305
|
-
JSON.stringify(
|
|
13351
|
+
${v && v.data && v.data.data ? `<script type="application/ld+json">${nn(
|
|
13352
|
+
JSON.stringify(v.data.data)
|
|
13306
13353
|
)}<\/script>` : ""}
|
|
13307
|
-
${
|
|
13308
|
-
<figcaption>${
|
|
13354
|
+
${C}
|
|
13355
|
+
<figcaption>${k}</figcaption>
|
|
13309
13356
|
</figure>
|
|
13310
13357
|
`;
|
|
13311
13358
|
}
|
|
@@ -13334,7 +13381,7 @@ async function Td(e) {
|
|
|
13334
13381
|
m = m.replace(
|
|
13335
13382
|
/<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,
|
|
13336
13383
|
""
|
|
13337
|
-
), m = m.replace(/ /g, ""), m = Nd(m, n, h), m = xd(m), m = await
|
|
13384
|
+
), m = m.replace(/ /g, ""), m = Nd(m, n, h), m = xd(m), m = await vd(m), m = await Sd(
|
|
13338
13385
|
m,
|
|
13339
13386
|
e.texts,
|
|
13340
13387
|
a
|
|
@@ -13366,7 +13413,7 @@ async function Td(e) {
|
|
|
13366
13413
|
)
|
|
13367
13414
|
}
|
|
13368
13415
|
),
|
|
13369
|
-
/* @__PURE__ */ s(
|
|
13416
|
+
/* @__PURE__ */ s(Se, { banners: n, name: "block_1", scope: h }),
|
|
13370
13417
|
/* @__PURE__ */ s("div", { className: "sass-pg-nrs-journalistArticleContent", children: f === "op1" ? /* @__PURE__ */ s(
|
|
13371
13418
|
id,
|
|
13372
13419
|
{
|
|
@@ -13427,14 +13474,14 @@ async function Td(e) {
|
|
|
13427
13474
|
!g && t && t.hascontent && t.hascontent.hasembeddedtwitter && /* @__PURE__ */ s("script", { async: !0, defer: !0, src: "https://platform.twitter.com/widgets.js" })
|
|
13428
13475
|
] });
|
|
13429
13476
|
}
|
|
13430
|
-
const
|
|
13477
|
+
const kd = (e) => {
|
|
13431
13478
|
const { config: t } = e, n = t.articlepreview;
|
|
13432
13479
|
return !![
|
|
13433
13480
|
Ze.videoEmbedded,
|
|
13434
13481
|
Ze.videoYouTube,
|
|
13435
13482
|
Ze.iframe
|
|
13436
13483
|
].includes(n);
|
|
13437
|
-
},
|
|
13484
|
+
}, Id = async (e) => {
|
|
13438
13485
|
const {
|
|
13439
13486
|
texts: t,
|
|
13440
13487
|
autorIcon: n,
|
|
@@ -13471,14 +13518,14 @@ const Id = (e) => {
|
|
|
13471
13518
|
getVideos: w,
|
|
13472
13519
|
noteShare: o,
|
|
13473
13520
|
paths: i,
|
|
13474
|
-
showHeaderImage: !
|
|
13521
|
+
showHeaderImage: !kd(c),
|
|
13475
13522
|
commonServices: a,
|
|
13476
13523
|
customSummary: g,
|
|
13477
13524
|
subtitleBeforeImage: b,
|
|
13478
13525
|
headerSectionStyles: A
|
|
13479
13526
|
}
|
|
13480
13527
|
),
|
|
13481
|
-
/* @__PURE__ */ s(
|
|
13528
|
+
/* @__PURE__ */ s(Se, { banners: l ?? [], name: "block_3", scope: f })
|
|
13482
13529
|
] });
|
|
13483
13530
|
}, Bh = async (e) => {
|
|
13484
13531
|
const {
|
|
@@ -13518,8 +13565,8 @@ const Id = (e) => {
|
|
|
13518
13565
|
itemList: l,
|
|
13519
13566
|
ranking: t,
|
|
13520
13567
|
readestCustomStyles: e.readestCustomStyles,
|
|
13521
|
-
bannerTop: /* @__PURE__ */ s(
|
|
13522
|
-
banner: /* @__PURE__ */ s(
|
|
13568
|
+
bannerTop: /* @__PURE__ */ s(Se, { banners: n ?? [], name: "right_1", scope: h }),
|
|
13569
|
+
banner: /* @__PURE__ */ s(Se, { banners: n ?? [], name: "right_2", scope: h }),
|
|
13523
13570
|
complement: /* @__PURE__ */ p("div", { id: "comentarios", className: "sass-pg-news-complementContent", suppressHydrationWarning: !0, children: [
|
|
13524
13571
|
a.length > 0 && /* @__PURE__ */ s(
|
|
13525
13572
|
Tc,
|
|
@@ -13531,7 +13578,7 @@ const Id = (e) => {
|
|
|
13531
13578
|
}
|
|
13532
13579
|
),
|
|
13533
13580
|
r[0].authors.length > 1 && /* @__PURE__ */ s(
|
|
13534
|
-
|
|
13581
|
+
kc,
|
|
13535
13582
|
{
|
|
13536
13583
|
news: r[0],
|
|
13537
13584
|
autorIcon: e.autorIcon,
|
|
@@ -13548,7 +13595,7 @@ const Id = (e) => {
|
|
|
13548
13595
|
) })
|
|
13549
13596
|
] }),
|
|
13550
13597
|
children: /* @__PURE__ */ s(
|
|
13551
|
-
|
|
13598
|
+
Id,
|
|
13552
13599
|
{
|
|
13553
13600
|
texts: e.texts,
|
|
13554
13601
|
autorIcon: e.autorIcon,
|
|
@@ -13674,10 +13721,10 @@ const Re = [
|
|
|
13674
13721
|
{ label: "Usa un símbolo", test: Re[4] }
|
|
13675
13722
|
];
|
|
13676
13723
|
function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
13677
|
-
const a = { ...Ld, ...e?.comentarios }, r =
|
|
13724
|
+
const a = { ...Ld, ...e?.comentarios }, r = vt(
|
|
13678
13725
|
() => Rd(e?.comentarios?.registerForm),
|
|
13679
13726
|
[e?.comentarios?.registerForm]
|
|
13680
|
-
), o =
|
|
13727
|
+
), o = vt(
|
|
13681
13728
|
() => [
|
|
13682
13729
|
{ label: a.passwordRuleMinLength, test: Re[0] },
|
|
13683
13730
|
{ label: a.passwordRuleNumber, test: Re[1] },
|
|
@@ -13696,8 +13743,8 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13696
13743
|
const y = encodeURIComponent(window.location.pathname);
|
|
13697
13744
|
window.location.href = `/api/auth/login?redirect=${y}`;
|
|
13698
13745
|
}, A = (y, S) => {
|
|
13699
|
-
l((
|
|
13700
|
-
},
|
|
13746
|
+
l((k) => ({ ...k, [y]: S }));
|
|
13747
|
+
}, v = async (y) => {
|
|
13701
13748
|
y.preventDefault(), w(null), h(!0);
|
|
13702
13749
|
try {
|
|
13703
13750
|
const S = Object.keys(r).filter((H) => !["username", "password", "confirmPassword"].includes(H)).map((H) => ({ Name: H, Value: i[H] }));
|
|
@@ -13709,9 +13756,9 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13709
13756
|
w(a.errorPasswordMismatch);
|
|
13710
13757
|
return;
|
|
13711
13758
|
}
|
|
13712
|
-
const
|
|
13759
|
+
const k = i.password || "";
|
|
13713
13760
|
if (o.some(
|
|
13714
|
-
(H) => !H.test(
|
|
13761
|
+
(H) => !H.test(k)
|
|
13715
13762
|
)) {
|
|
13716
13763
|
w(a.errorPasswordInvalid);
|
|
13717
13764
|
return;
|
|
@@ -13767,8 +13814,8 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13767
13814
|
})
|
|
13768
13815
|
});
|
|
13769
13816
|
if (!S.ok) {
|
|
13770
|
-
const
|
|
13771
|
-
throw new Error(
|
|
13817
|
+
const k = await S.json().catch(() => ({}));
|
|
13818
|
+
throw new Error(k?.error || "Error al confirmar usuario");
|
|
13772
13819
|
}
|
|
13773
13820
|
g("success");
|
|
13774
13821
|
} catch (S) {
|
|
@@ -13776,7 +13823,7 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13776
13823
|
} finally {
|
|
13777
13824
|
h(!1);
|
|
13778
13825
|
}
|
|
13779
|
-
},
|
|
13826
|
+
}, C = i.password || "";
|
|
13780
13827
|
return /* @__PURE__ */ p($, { children: [
|
|
13781
13828
|
f === "register" && /* @__PURE__ */ p($, { children: [
|
|
13782
13829
|
/* @__PURE__ */ p("button", { onClick: b, className: "sass-pg-login-google", children: [
|
|
@@ -13794,7 +13841,7 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13794
13841
|
/* @__PURE__ */ p(
|
|
13795
13842
|
"form",
|
|
13796
13843
|
{
|
|
13797
|
-
onSubmit:
|
|
13844
|
+
onSubmit: v,
|
|
13798
13845
|
className: "sass-pg-login-form",
|
|
13799
13846
|
"data-error": m ? "true" : "false",
|
|
13800
13847
|
children: [
|
|
@@ -13806,20 +13853,20 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13806
13853
|
type: y.toLowerCase().includes("password") ? c ? "text" : "password" : y === "birthdate" ? "date" : y === "email" ? "email" : y === "phone_number" ? "tel" : "text",
|
|
13807
13854
|
name: y,
|
|
13808
13855
|
value: i[y] || "",
|
|
13809
|
-
onChange: (
|
|
13856
|
+
onChange: (k) => A(y, k.target.value),
|
|
13810
13857
|
className: "sass-pg-login-input",
|
|
13811
13858
|
placeholder: ""
|
|
13812
13859
|
}
|
|
13813
13860
|
),
|
|
13814
|
-
y === "password" && /* @__PURE__ */ s("div", { className: "sass-pg-login-passwordChecker", children: o.map((
|
|
13815
|
-
const D =
|
|
13861
|
+
y === "password" && /* @__PURE__ */ s("div", { className: "sass-pg-login-passwordChecker", children: o.map((k, L) => {
|
|
13862
|
+
const D = k.test(C);
|
|
13816
13863
|
return /* @__PURE__ */ p(
|
|
13817
13864
|
"div",
|
|
13818
13865
|
{
|
|
13819
13866
|
className: D ? "sass-pg-login-valid" : "sass-pg-login-invalid",
|
|
13820
13867
|
children: [
|
|
13821
13868
|
/* @__PURE__ */ s("div", { children: D ? "✔" : "○" }),
|
|
13822
|
-
/* @__PURE__ */ s("div", { children:
|
|
13869
|
+
/* @__PURE__ */ s("div", { children: k.label })
|
|
13823
13870
|
]
|
|
13824
13871
|
},
|
|
13825
13872
|
L
|
|
@@ -13832,7 +13879,7 @@ function _h({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
13832
13879
|
id: "showPasswordRegister",
|
|
13833
13880
|
type: "checkbox",
|
|
13834
13881
|
checked: c,
|
|
13835
|
-
onChange: (
|
|
13882
|
+
onChange: (k) => d(k.target.checked)
|
|
13836
13883
|
}
|
|
13837
13884
|
),
|
|
13838
13885
|
/* @__PURE__ */ s(
|
|
@@ -13947,7 +13994,7 @@ function qh({
|
|
|
13947
13994
|
API_ENV: e,
|
|
13948
13995
|
texts: t
|
|
13949
13996
|
}) {
|
|
13950
|
-
const n = { ...Pd, ...t?.comentarios }, [a, r] = z("login"), [o, i] = z(""), [l, c] = z(""), [d, u] = z(""), [h, m] = z(""), [w, f] = z(""), [g, b] = z(!1), [A,
|
|
13997
|
+
const n = { ...Pd, ...t?.comentarios }, [a, r] = z("login"), [o, i] = z(""), [l, c] = z(""), [d, u] = z(""), [h, m] = z(""), [w, f] = z(""), [g, b] = z(!1), [A, v] = z(!1), [N, C] = z(null);
|
|
13951
13998
|
ue.useEffect(() => {
|
|
13952
13999
|
if (typeof window > "u") return;
|
|
13953
14000
|
window.location.hash.includes("forgot") && a === "login" && r("forgot"), a === "login" && S();
|
|
@@ -13974,10 +14021,10 @@ function qh({
|
|
|
13974
14021
|
onSubmit: async (P) => {
|
|
13975
14022
|
if (!A) {
|
|
13976
14023
|
if (P.preventDefault(), o === "" || l === "") {
|
|
13977
|
-
|
|
14024
|
+
C("Complete todos los campos");
|
|
13978
14025
|
return;
|
|
13979
14026
|
}
|
|
13980
|
-
|
|
14027
|
+
C(null), v(!0);
|
|
13981
14028
|
try {
|
|
13982
14029
|
const H = e.PUBLIC_ENV === "local" ? "token" : await bn("comment_login", e.CAPTCHA_KEY || "");
|
|
13983
14030
|
if (!H) throw new Error("Captcha token no generado");
|
|
@@ -13994,14 +14041,14 @@ function qh({
|
|
|
13994
14041
|
await S();
|
|
13995
14042
|
return;
|
|
13996
14043
|
} catch (H) {
|
|
13997
|
-
|
|
14044
|
+
C(H?.message || "Error inesperado");
|
|
13998
14045
|
} finally {
|
|
13999
|
-
|
|
14046
|
+
v(!1);
|
|
14000
14047
|
}
|
|
14001
14048
|
}
|
|
14002
14049
|
},
|
|
14003
14050
|
onForgot: () => {
|
|
14004
|
-
|
|
14051
|
+
C(null), r("forgot");
|
|
14005
14052
|
},
|
|
14006
14053
|
handleGoogleLogin: async () => {
|
|
14007
14054
|
if (e.PUBLIC_ENV === "local") {
|
|
@@ -14024,7 +14071,7 @@ function qh({
|
|
|
14024
14071
|
error: N,
|
|
14025
14072
|
onSubmit: async (P) => {
|
|
14026
14073
|
if (!A) {
|
|
14027
|
-
P.preventDefault(),
|
|
14074
|
+
P.preventDefault(), C(null), v(!0);
|
|
14028
14075
|
try {
|
|
14029
14076
|
const H = await fetch("/api/auth/forgot-password", {
|
|
14030
14077
|
method: "POST",
|
|
@@ -14037,14 +14084,14 @@ function qh({
|
|
|
14037
14084
|
}
|
|
14038
14085
|
c(""), r("changePassword");
|
|
14039
14086
|
} catch (H) {
|
|
14040
|
-
|
|
14087
|
+
C(H?.message || "Error inesperado");
|
|
14041
14088
|
} finally {
|
|
14042
|
-
|
|
14089
|
+
v(!1);
|
|
14043
14090
|
}
|
|
14044
14091
|
}
|
|
14045
14092
|
},
|
|
14046
14093
|
onBack: () => {
|
|
14047
|
-
|
|
14094
|
+
C(null), r("login");
|
|
14048
14095
|
},
|
|
14049
14096
|
t: n
|
|
14050
14097
|
}
|
|
@@ -14066,16 +14113,16 @@ function qh({
|
|
|
14066
14113
|
onSubmit: async (P) => {
|
|
14067
14114
|
if (A) return;
|
|
14068
14115
|
if (P.preventDefault(), h !== w) {
|
|
14069
|
-
|
|
14116
|
+
C("Las contraseñas no coinciden");
|
|
14070
14117
|
return;
|
|
14071
14118
|
}
|
|
14072
14119
|
if (cr.some(
|
|
14073
14120
|
(Q) => !Q.test(h)
|
|
14074
14121
|
)) {
|
|
14075
|
-
|
|
14122
|
+
C("La contraseña no cumple con los requisitos");
|
|
14076
14123
|
return;
|
|
14077
14124
|
}
|
|
14078
|
-
|
|
14125
|
+
C(null), v(!0);
|
|
14079
14126
|
try {
|
|
14080
14127
|
const Q = await fetch("/api/auth/confirm-forgot-password", {
|
|
14081
14128
|
method: "POST",
|
|
@@ -14088,13 +14135,13 @@ function qh({
|
|
|
14088
14135
|
}
|
|
14089
14136
|
r("feedback");
|
|
14090
14137
|
} catch (Q) {
|
|
14091
|
-
|
|
14138
|
+
C(Q?.message || "Error inesperado");
|
|
14092
14139
|
} finally {
|
|
14093
|
-
|
|
14140
|
+
v(!1);
|
|
14094
14141
|
}
|
|
14095
14142
|
},
|
|
14096
14143
|
onBack: () => {
|
|
14097
|
-
|
|
14144
|
+
C(null), r("forgot");
|
|
14098
14145
|
},
|
|
14099
14146
|
t: n
|
|
14100
14147
|
}
|
|
@@ -14103,7 +14150,7 @@ function qh({
|
|
|
14103
14150
|
qd,
|
|
14104
14151
|
{
|
|
14105
14152
|
onBackToLogin: () => {
|
|
14106
|
-
|
|
14153
|
+
C(null), r("login");
|
|
14107
14154
|
},
|
|
14108
14155
|
t: n
|
|
14109
14156
|
}
|
|
@@ -14413,7 +14460,7 @@ const jh = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
14413
14460
|
hasShadow: a = !1,
|
|
14414
14461
|
BackDropAuxHeigthMobile: r
|
|
14415
14462
|
//isVisible,
|
|
14416
|
-
} = e, o = Za(), i =
|
|
14463
|
+
} = e, o = Za(), i = vt(() => {
|
|
14417
14464
|
const m = e?.preview?.sizes;
|
|
14418
14465
|
if (m && Array.isArray(m) && m.length > 0) return m;
|
|
14419
14466
|
const w = e?.preview?.original;
|
|
@@ -14566,13 +14613,13 @@ const jh = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
14566
14613
|
const {
|
|
14567
14614
|
PUBLIC_API_FRONT: b,
|
|
14568
14615
|
PUBLIC_X_SECURITY_TOKEN: A,
|
|
14569
|
-
PUBLIC_API_PATH_VERSION:
|
|
14616
|
+
PUBLIC_API_PATH_VERSION: v,
|
|
14570
14617
|
PUBLIC_PUBLICATION_ID: N
|
|
14571
14618
|
} = o;
|
|
14572
|
-
if (!b || !A || !N || !
|
|
14619
|
+
if (!b || !A || !N || !v)
|
|
14573
14620
|
throw new Error("Missing required environment variables");
|
|
14574
|
-
const
|
|
14575
|
-
`${b}${
|
|
14621
|
+
const C = await re.get(
|
|
14622
|
+
`${b}${v}/news-list-section`,
|
|
14576
14623
|
{
|
|
14577
14624
|
params: {
|
|
14578
14625
|
size: c + 1,
|
|
@@ -14588,8 +14635,8 @@ const jh = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
14588
14635
|
}
|
|
14589
14636
|
);
|
|
14590
14637
|
return {
|
|
14591
|
-
...
|
|
14592
|
-
data:
|
|
14638
|
+
...C.data,
|
|
14639
|
+
data: C.data.data.filter(
|
|
14593
14640
|
(y) => y.info.link.internal !== t
|
|
14594
14641
|
)
|
|
14595
14642
|
};
|
|
@@ -14976,7 +15023,7 @@ var Ks;
|
|
|
14976
15023
|
function Kd() {
|
|
14977
15024
|
if (Ks) return oe;
|
|
14978
15025
|
Ks = 1;
|
|
14979
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118,
|
|
15026
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
|
|
14980
15027
|
function N(y) {
|
|
14981
15028
|
if (typeof y == "object" && y !== null) {
|
|
14982
15029
|
var S = y.$$typeof;
|
|
@@ -15007,12 +15054,12 @@ function Kd() {
|
|
|
15007
15054
|
}
|
|
15008
15055
|
}
|
|
15009
15056
|
}
|
|
15010
|
-
function
|
|
15057
|
+
function C(y) {
|
|
15011
15058
|
return N(y) === d;
|
|
15012
15059
|
}
|
|
15013
15060
|
return oe.AsyncMode = c, oe.ConcurrentMode = d, oe.ContextConsumer = l, oe.ContextProvider = i, oe.Element = t, oe.ForwardRef = u, oe.Fragment = a, oe.Lazy = f, oe.Memo = w, oe.Portal = n, oe.Profiler = o, oe.StrictMode = r, oe.Suspense = h, oe.isAsyncMode = function(y) {
|
|
15014
|
-
return
|
|
15015
|
-
}, oe.isConcurrentMode =
|
|
15061
|
+
return C(y) || N(y) === c;
|
|
15062
|
+
}, oe.isConcurrentMode = C, oe.isContextConsumer = function(y) {
|
|
15016
15063
|
return N(y) === l;
|
|
15017
15064
|
}, oe.isContextProvider = function(y) {
|
|
15018
15065
|
return N(y) === i;
|
|
@@ -15035,19 +15082,19 @@ function Kd() {
|
|
|
15035
15082
|
}, oe.isSuspense = function(y) {
|
|
15036
15083
|
return N(y) === h;
|
|
15037
15084
|
}, oe.isValidElementType = function(y) {
|
|
15038
|
-
return typeof y == "string" || typeof y == "function" || y === a || y === d || y === o || y === r || y === h || y === m || typeof y == "object" && y !== null && (y.$$typeof === f || y.$$typeof === w || y.$$typeof === i || y.$$typeof === l || y.$$typeof === u || y.$$typeof === b || y.$$typeof === A || y.$$typeof ===
|
|
15085
|
+
return typeof y == "string" || typeof y == "function" || y === a || y === d || y === o || y === r || y === h || y === m || typeof y == "object" && y !== null && (y.$$typeof === f || y.$$typeof === w || y.$$typeof === i || y.$$typeof === l || y.$$typeof === u || y.$$typeof === b || y.$$typeof === A || y.$$typeof === v || y.$$typeof === g);
|
|
15039
15086
|
}, oe.typeOf = N, oe;
|
|
15040
15087
|
}
|
|
15041
15088
|
var ie = {};
|
|
15042
15089
|
var Js;
|
|
15043
15090
|
function Jd() {
|
|
15044
15091
|
return Js || (Js = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
15045
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118,
|
|
15092
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
|
|
15046
15093
|
function N(q) {
|
|
15047
15094
|
return typeof q == "string" || typeof q == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
15048
|
-
q === a || q === d || q === o || q === r || q === h || q === m || typeof q == "object" && q !== null && (q.$$typeof === f || q.$$typeof === w || q.$$typeof === i || q.$$typeof === l || q.$$typeof === u || q.$$typeof === b || q.$$typeof === A || q.$$typeof ===
|
|
15095
|
+
q === a || q === d || q === o || q === r || q === h || q === m || typeof q == "object" && q !== null && (q.$$typeof === f || q.$$typeof === w || q.$$typeof === i || q.$$typeof === l || q.$$typeof === u || q.$$typeof === b || q.$$typeof === A || q.$$typeof === v || q.$$typeof === g);
|
|
15049
15096
|
}
|
|
15050
|
-
function
|
|
15097
|
+
function C(q) {
|
|
15051
15098
|
if (typeof q == "object" && q !== null) {
|
|
15052
15099
|
var Ae = q.$$typeof;
|
|
15053
15100
|
switch (Ae) {
|
|
@@ -15079,47 +15126,47 @@ function Jd() {
|
|
|
15079
15126
|
}
|
|
15080
15127
|
}
|
|
15081
15128
|
}
|
|
15082
|
-
var y = c, S = d,
|
|
15129
|
+
var y = c, S = d, k = l, L = i, D = t, j = u, P = a, H = f, Q = w, O = n, I = o, U = r, G = h, B = !1;
|
|
15083
15130
|
function Y(q) {
|
|
15084
|
-
return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), x(q) ||
|
|
15131
|
+
return B || (B = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), x(q) || C(q) === c;
|
|
15085
15132
|
}
|
|
15086
15133
|
function x(q) {
|
|
15087
|
-
return
|
|
15134
|
+
return C(q) === d;
|
|
15088
15135
|
}
|
|
15089
15136
|
function T(q) {
|
|
15090
|
-
return
|
|
15137
|
+
return C(q) === l;
|
|
15091
15138
|
}
|
|
15092
15139
|
function _(q) {
|
|
15093
|
-
return
|
|
15140
|
+
return C(q) === i;
|
|
15094
15141
|
}
|
|
15095
15142
|
function V(q) {
|
|
15096
15143
|
return typeof q == "object" && q !== null && q.$$typeof === t;
|
|
15097
15144
|
}
|
|
15098
15145
|
function F(q) {
|
|
15099
|
-
return
|
|
15146
|
+
return C(q) === u;
|
|
15100
15147
|
}
|
|
15101
15148
|
function W(q) {
|
|
15102
|
-
return
|
|
15149
|
+
return C(q) === a;
|
|
15103
15150
|
}
|
|
15104
15151
|
function K(q) {
|
|
15105
|
-
return
|
|
15152
|
+
return C(q) === f;
|
|
15106
15153
|
}
|
|
15107
15154
|
function J(q) {
|
|
15108
|
-
return
|
|
15155
|
+
return C(q) === w;
|
|
15109
15156
|
}
|
|
15110
15157
|
function ne(q) {
|
|
15111
|
-
return
|
|
15158
|
+
return C(q) === n;
|
|
15112
15159
|
}
|
|
15113
15160
|
function se(q) {
|
|
15114
|
-
return
|
|
15161
|
+
return C(q) === o;
|
|
15115
15162
|
}
|
|
15116
15163
|
function X(q) {
|
|
15117
|
-
return
|
|
15164
|
+
return C(q) === r;
|
|
15118
15165
|
}
|
|
15119
15166
|
function ce(q) {
|
|
15120
|
-
return
|
|
15167
|
+
return C(q) === h;
|
|
15121
15168
|
}
|
|
15122
|
-
ie.AsyncMode = y, ie.ConcurrentMode = S, ie.ContextConsumer =
|
|
15169
|
+
ie.AsyncMode = y, ie.ConcurrentMode = S, ie.ContextConsumer = k, ie.ContextProvider = L, ie.Element = D, ie.ForwardRef = j, ie.Fragment = P, ie.Lazy = H, ie.Memo = Q, ie.Portal = O, ie.Profiler = I, ie.StrictMode = U, ie.Suspense = G, ie.isAsyncMode = Y, ie.isConcurrentMode = x, ie.isContextConsumer = T, ie.isContextProvider = _, ie.isElement = V, ie.isForwardRef = F, ie.isFragment = W, ie.isLazy = K, ie.isMemo = J, ie.isPortal = ne, ie.isProfiler = se, ie.isStrictMode = X, ie.isSuspense = ce, ie.isValidElementType = N, ie.typeOf = C;
|
|
15123
15170
|
})()), ie;
|
|
15124
15171
|
}
|
|
15125
15172
|
var Zs;
|
|
@@ -15232,9 +15279,9 @@ function Xd() {
|
|
|
15232
15279
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
15233
15280
|
}, Tn = r, Tn;
|
|
15234
15281
|
}
|
|
15235
|
-
var
|
|
15282
|
+
var kn, sa;
|
|
15236
15283
|
function eu() {
|
|
15237
|
-
if (sa) return
|
|
15284
|
+
if (sa) return kn;
|
|
15238
15285
|
sa = 1;
|
|
15239
15286
|
var e = rs(), t = Zd(), n = /* @__PURE__ */ os(), a = /* @__PURE__ */ mr(), r = /* @__PURE__ */ Xd(), o = function() {
|
|
15240
15287
|
};
|
|
@@ -15249,7 +15296,7 @@ function eu() {
|
|
|
15249
15296
|
function i() {
|
|
15250
15297
|
return null;
|
|
15251
15298
|
}
|
|
15252
|
-
return
|
|
15299
|
+
return kn = function(l, c) {
|
|
15253
15300
|
var d = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
15254
15301
|
function h(x) {
|
|
15255
15302
|
var T = x && (d && x[d] || x[u]);
|
|
@@ -15265,14 +15312,14 @@ function eu() {
|
|
|
15265
15312
|
object: A("object"),
|
|
15266
15313
|
string: A("string"),
|
|
15267
15314
|
symbol: A("symbol"),
|
|
15268
|
-
any:
|
|
15315
|
+
any: v(),
|
|
15269
15316
|
arrayOf: N,
|
|
15270
|
-
element:
|
|
15317
|
+
element: C(),
|
|
15271
15318
|
elementType: y(),
|
|
15272
15319
|
instanceOf: S,
|
|
15273
15320
|
node: j(),
|
|
15274
15321
|
objectOf: L,
|
|
15275
|
-
oneOf:
|
|
15322
|
+
oneOf: k,
|
|
15276
15323
|
oneOfType: D,
|
|
15277
15324
|
shape: H,
|
|
15278
15325
|
exact: Q
|
|
@@ -15321,7 +15368,7 @@ function eu() {
|
|
|
15321
15368
|
}
|
|
15322
15369
|
return b(T);
|
|
15323
15370
|
}
|
|
15324
|
-
function
|
|
15371
|
+
function v() {
|
|
15325
15372
|
return b(i);
|
|
15326
15373
|
}
|
|
15327
15374
|
function N(x) {
|
|
@@ -15342,7 +15389,7 @@ function eu() {
|
|
|
15342
15389
|
}
|
|
15343
15390
|
return b(T);
|
|
15344
15391
|
}
|
|
15345
|
-
function
|
|
15392
|
+
function C() {
|
|
15346
15393
|
function x(T, _, V, F, W) {
|
|
15347
15394
|
var K = T[_];
|
|
15348
15395
|
if (!l(K)) {
|
|
@@ -15374,7 +15421,7 @@ function eu() {
|
|
|
15374
15421
|
}
|
|
15375
15422
|
return b(T);
|
|
15376
15423
|
}
|
|
15377
|
-
function
|
|
15424
|
+
function k(x) {
|
|
15378
15425
|
if (!Array.isArray(x))
|
|
15379
15426
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
15380
15427
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
@@ -15514,12 +15561,12 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
15514
15561
|
return !1;
|
|
15515
15562
|
}
|
|
15516
15563
|
}
|
|
15517
|
-
function
|
|
15564
|
+
function I(x, T) {
|
|
15518
15565
|
return x === "symbol" ? !0 : T ? T["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && T instanceof Symbol : !1;
|
|
15519
15566
|
}
|
|
15520
15567
|
function U(x) {
|
|
15521
15568
|
var T = typeof x;
|
|
15522
|
-
return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" :
|
|
15569
|
+
return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : I(T, x) ? "symbol" : T;
|
|
15523
15570
|
}
|
|
15524
15571
|
function G(x) {
|
|
15525
15572
|
if (typeof x > "u" || x === null)
|
|
@@ -15551,18 +15598,18 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
15551
15598
|
return !x.constructor || !x.constructor.name ? m : x.constructor.name;
|
|
15552
15599
|
}
|
|
15553
15600
|
return w.checkPropTypes = r, w.resetWarningCache = r.resetWarningCache, w.PropTypes = w, w;
|
|
15554
|
-
},
|
|
15601
|
+
}, kn;
|
|
15555
15602
|
}
|
|
15556
|
-
var
|
|
15603
|
+
var In, aa;
|
|
15557
15604
|
function tu() {
|
|
15558
|
-
if (aa) return
|
|
15605
|
+
if (aa) return In;
|
|
15559
15606
|
aa = 1;
|
|
15560
15607
|
var e = /* @__PURE__ */ os();
|
|
15561
15608
|
function t() {
|
|
15562
15609
|
}
|
|
15563
15610
|
function n() {
|
|
15564
15611
|
}
|
|
15565
|
-
return n.resetWarningCache = t,
|
|
15612
|
+
return n.resetWarningCache = t, In = function() {
|
|
15566
15613
|
function a(i, l, c, d, u, h) {
|
|
15567
15614
|
if (h !== e) {
|
|
15568
15615
|
var m = new Error(
|
|
@@ -15599,7 +15646,7 @@ function tu() {
|
|
|
15599
15646
|
resetWarningCache: t
|
|
15600
15647
|
};
|
|
15601
15648
|
return o.PropTypes = o, o;
|
|
15602
|
-
},
|
|
15649
|
+
}, In;
|
|
15603
15650
|
}
|
|
15604
15651
|
var ra;
|
|
15605
15652
|
function nu() {
|
|
@@ -15612,7 +15659,7 @@ function nu() {
|
|
|
15612
15659
|
return _t.exports;
|
|
15613
15660
|
}
|
|
15614
15661
|
var su = /* @__PURE__ */ nu();
|
|
15615
|
-
const
|
|
15662
|
+
const ve = /* @__PURE__ */ ut(su);
|
|
15616
15663
|
var au = ["sitekey", "onChange", "theme", "type", "tabindex", "onExpired", "onErrored", "size", "stoken", "grecaptcha", "badge", "hl", "isolated"];
|
|
15617
15664
|
function jn() {
|
|
15618
15665
|
return jn = Object.assign ? Object.assign.bind() : function(e) {
|
|
@@ -15717,19 +15764,19 @@ var wn = /* @__PURE__ */ (function(e) {
|
|
|
15717
15764
|
})(fs.Component);
|
|
15718
15765
|
wn.displayName = "ReCAPTCHA";
|
|
15719
15766
|
wn.propTypes = {
|
|
15720
|
-
sitekey:
|
|
15721
|
-
onChange:
|
|
15722
|
-
grecaptcha:
|
|
15723
|
-
theme:
|
|
15724
|
-
type:
|
|
15725
|
-
tabindex:
|
|
15726
|
-
onExpired:
|
|
15727
|
-
onErrored:
|
|
15728
|
-
size:
|
|
15729
|
-
stoken:
|
|
15730
|
-
hl:
|
|
15731
|
-
badge:
|
|
15732
|
-
isolated:
|
|
15767
|
+
sitekey: ve.string.isRequired,
|
|
15768
|
+
onChange: ve.func,
|
|
15769
|
+
grecaptcha: ve.object,
|
|
15770
|
+
theme: ve.oneOf(["dark", "light"]),
|
|
15771
|
+
type: ve.oneOf(["image", "audio"]),
|
|
15772
|
+
tabindex: ve.number,
|
|
15773
|
+
onExpired: ve.func,
|
|
15774
|
+
onErrored: ve.func,
|
|
15775
|
+
size: ve.oneOf(["compact", "normal", "invisible"]),
|
|
15776
|
+
stoken: ve.string,
|
|
15777
|
+
hl: ve.string,
|
|
15778
|
+
badge: ve.oneOf(["bottomright", "bottomleft", "inline"]),
|
|
15779
|
+
isolated: ve.bool
|
|
15733
15780
|
};
|
|
15734
15781
|
wn.defaultProps = {
|
|
15735
15782
|
onChange: function() {
|
|
@@ -15789,14 +15836,14 @@ function iu() {
|
|
|
15789
15836
|
var A = h(g);
|
|
15790
15837
|
A && A !== m && w(f, A, b);
|
|
15791
15838
|
}
|
|
15792
|
-
var
|
|
15793
|
-
d && (
|
|
15794
|
-
for (var N = i(f),
|
|
15795
|
-
var S =
|
|
15796
|
-
if (!n[S] && !(b && b[S]) && !(
|
|
15797
|
-
var
|
|
15839
|
+
var v = c(g);
|
|
15840
|
+
d && (v = v.concat(d(g)));
|
|
15841
|
+
for (var N = i(f), C = i(g), y = 0; y < v.length; ++y) {
|
|
15842
|
+
var S = v[y];
|
|
15843
|
+
if (!n[S] && !(b && b[S]) && !(C && C[S]) && !(N && N[S])) {
|
|
15844
|
+
var k = u(g, S);
|
|
15798
15845
|
try {
|
|
15799
|
-
l(f, S,
|
|
15846
|
+
l(f, S, k);
|
|
15800
15847
|
} catch {
|
|
15801
15848
|
}
|
|
15802
15849
|
}
|
|
@@ -15828,7 +15875,7 @@ function du(e, t) {
|
|
|
15828
15875
|
function uu(e, t) {
|
|
15829
15876
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
|
|
15830
15877
|
}
|
|
15831
|
-
var
|
|
15878
|
+
var ke = {}, mu = 0;
|
|
15832
15879
|
function hu(e, t) {
|
|
15833
15880
|
return t = t || {}, function(a) {
|
|
15834
15881
|
var r = a.displayName || a.name || "Component", o = /* @__PURE__ */ (function(l) {
|
|
@@ -15848,7 +15895,7 @@ function hu(e, t) {
|
|
|
15848
15895
|
return m.props.asyncScriptOnLoad && m.props.asyncScriptOnLoad(m.state);
|
|
15849
15896
|
});
|
|
15850
15897
|
}, d.asyncScriptLoaderTriggerOnScriptLoaded = function() {
|
|
15851
|
-
var h =
|
|
15898
|
+
var h = ke[this.__scriptURL];
|
|
15852
15899
|
if (!h || !h.loaded)
|
|
15853
15900
|
throw new Error("Script is not loaded.");
|
|
15854
15901
|
for (var m in h.observers)
|
|
@@ -15856,72 +15903,72 @@ function hu(e, t) {
|
|
|
15856
15903
|
delete window[t.callbackName];
|
|
15857
15904
|
}, d.componentDidMount = function() {
|
|
15858
15905
|
var h = this, m = this.setupScriptURL(), w = this.asyncScriptLoaderGetScriptLoaderID(), f = t, g = f.globalName, b = f.callbackName, A = f.scriptId;
|
|
15859
|
-
if (g && typeof window[g] < "u" && (
|
|
15906
|
+
if (g && typeof window[g] < "u" && (ke[m] = {
|
|
15860
15907
|
loaded: !0,
|
|
15861
15908
|
observers: {}
|
|
15862
|
-
}),
|
|
15863
|
-
var
|
|
15864
|
-
if (
|
|
15865
|
-
this.asyncScriptLoaderHandleLoad(
|
|
15909
|
+
}), ke[m]) {
|
|
15910
|
+
var v = ke[m];
|
|
15911
|
+
if (v && (v.loaded || v.errored)) {
|
|
15912
|
+
this.asyncScriptLoaderHandleLoad(v);
|
|
15866
15913
|
return;
|
|
15867
15914
|
}
|
|
15868
|
-
|
|
15869
|
-
return h.asyncScriptLoaderHandleLoad(
|
|
15915
|
+
v.observers[w] = function(k) {
|
|
15916
|
+
return h.asyncScriptLoaderHandleLoad(k);
|
|
15870
15917
|
};
|
|
15871
15918
|
return;
|
|
15872
15919
|
}
|
|
15873
15920
|
var N = {};
|
|
15874
|
-
N[w] = function(
|
|
15875
|
-
return h.asyncScriptLoaderHandleLoad(
|
|
15876
|
-
},
|
|
15921
|
+
N[w] = function(k) {
|
|
15922
|
+
return h.asyncScriptLoaderHandleLoad(k);
|
|
15923
|
+
}, ke[m] = {
|
|
15877
15924
|
loaded: !1,
|
|
15878
15925
|
observers: N
|
|
15879
15926
|
};
|
|
15880
|
-
var
|
|
15881
|
-
|
|
15927
|
+
var C = document.createElement("script");
|
|
15928
|
+
C.src = m, C.async = !0;
|
|
15882
15929
|
for (var y in t.attributes)
|
|
15883
|
-
|
|
15884
|
-
A && (
|
|
15930
|
+
C.setAttribute(y, t.attributes[y]);
|
|
15931
|
+
A && (C.id = A);
|
|
15885
15932
|
var S = function(L) {
|
|
15886
|
-
if (
|
|
15887
|
-
var D =
|
|
15933
|
+
if (ke[m]) {
|
|
15934
|
+
var D = ke[m], j = D.observers;
|
|
15888
15935
|
for (var P in j)
|
|
15889
15936
|
L(j[P]) && delete j[P];
|
|
15890
15937
|
}
|
|
15891
15938
|
};
|
|
15892
15939
|
b && typeof window < "u" && (window[b] = function() {
|
|
15893
15940
|
return h.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
15894
|
-
}),
|
|
15895
|
-
var
|
|
15896
|
-
|
|
15897
|
-
return b ? !1 : (L(
|
|
15941
|
+
}), C.onload = function() {
|
|
15942
|
+
var k = ke[m];
|
|
15943
|
+
k && (k.loaded = !0, S(function(L) {
|
|
15944
|
+
return b ? !1 : (L(k), !0);
|
|
15898
15945
|
}));
|
|
15899
|
-
},
|
|
15900
|
-
var
|
|
15901
|
-
|
|
15902
|
-
return L(
|
|
15946
|
+
}, C.onerror = function() {
|
|
15947
|
+
var k = ke[m];
|
|
15948
|
+
k && (k.errored = !0, S(function(L) {
|
|
15949
|
+
return L(k), !0;
|
|
15903
15950
|
}));
|
|
15904
|
-
}, document.body.appendChild(
|
|
15951
|
+
}, document.body.appendChild(C);
|
|
15905
15952
|
}, d.componentWillUnmount = function() {
|
|
15906
15953
|
var h = this.__scriptURL;
|
|
15907
15954
|
if (t.removeOnUnmount === !0)
|
|
15908
15955
|
for (var m = document.getElementsByTagName("script"), w = 0; w < m.length; w += 1)
|
|
15909
15956
|
m[w].src.indexOf(h) > -1 && m[w].parentNode && m[w].parentNode.removeChild(m[w]);
|
|
15910
|
-
var f =
|
|
15911
|
-
f && (delete f.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete
|
|
15957
|
+
var f = ke[h];
|
|
15958
|
+
f && (delete f.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete ke[h]);
|
|
15912
15959
|
}, d.render = function() {
|
|
15913
15960
|
var h = t.globalName, m = this.props;
|
|
15914
15961
|
m.asyncScriptOnLoad;
|
|
15915
15962
|
var w = m.forwardedRef, f = du(m, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
15916
15963
|
return h && typeof window < "u" && (f[h] = typeof window[h] < "u" ? window[h] : void 0), f.ref = w, Ve(a, f);
|
|
15917
15964
|
}, c;
|
|
15918
|
-
})(
|
|
15965
|
+
})(kr), i = ga(function(l, c) {
|
|
15919
15966
|
return Ve(o, Fn({}, l, {
|
|
15920
15967
|
forwardedRef: c
|
|
15921
15968
|
}));
|
|
15922
15969
|
});
|
|
15923
15970
|
return i.displayName = "AsyncScriptLoader(" + r + ")", i.propTypes = {
|
|
15924
|
-
asyncScriptOnLoad:
|
|
15971
|
+
asyncScriptOnLoad: ve.func
|
|
15925
15972
|
}, cu(i, a);
|
|
15926
15973
|
};
|
|
15927
15974
|
}
|
|
@@ -15977,7 +16024,7 @@ const hr = hu(pu, {
|
|
|
15977
16024
|
{ id: "terrorism", label: c.terrorism },
|
|
15978
16025
|
{ id: "intellectual", label: c.intellectual },
|
|
15979
16026
|
{ id: "bullying", label: c.bullying }
|
|
15980
|
-
],
|
|
16027
|
+
], v = async () => {
|
|
15981
16028
|
if (!(!h || !n)) {
|
|
15982
16029
|
if (ur(document).includes(n)) {
|
|
15983
16030
|
f(l.errorAlreadyReported);
|
|
@@ -16005,8 +16052,8 @@ const hr = hu(pu, {
|
|
|
16005
16052
|
}, 3e3);
|
|
16006
16053
|
else
|
|
16007
16054
|
throw new Error(y.message || l.errorReportComment);
|
|
16008
|
-
} catch (
|
|
16009
|
-
console.error("Error reporting comment:",
|
|
16055
|
+
} catch (C) {
|
|
16056
|
+
console.error("Error reporting comment:", C), f(C.message || l.errorReportComment), u("form");
|
|
16010
16057
|
}
|
|
16011
16058
|
}
|
|
16012
16059
|
}, N = () => {
|
|
@@ -16017,21 +16064,21 @@ const hr = hu(pu, {
|
|
|
16017
16064
|
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-title", children: l.reportAbuseTitle }),
|
|
16018
16065
|
d === "loading" && /* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-loadingContainer", children: /* @__PURE__ */ s(Qe, {}) }),
|
|
16019
16066
|
d === "form" || d === "loading" ? /* @__PURE__ */ p($, { children: [
|
|
16020
|
-
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-optionsContainer", children: A.map((
|
|
16067
|
+
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-optionsContainer", children: A.map((C) => /* @__PURE__ */ p("label", { className: "sass-pg-cmt-rp-option", children: [
|
|
16021
16068
|
/* @__PURE__ */ s(
|
|
16022
16069
|
"input",
|
|
16023
16070
|
{
|
|
16024
16071
|
type: "radio",
|
|
16025
16072
|
name: "reportReason",
|
|
16026
|
-
value:
|
|
16027
|
-
checked: h ===
|
|
16073
|
+
value: C.id,
|
|
16074
|
+
checked: h === C.id,
|
|
16028
16075
|
onChange: (y) => m(y.target.value),
|
|
16029
16076
|
className: "sass-pg-cmt-rp-radioInput"
|
|
16030
16077
|
}
|
|
16031
16078
|
),
|
|
16032
16079
|
/* @__PURE__ */ s("span", { className: "sass-pg-cmt-rp-radioCustom" }),
|
|
16033
|
-
/* @__PURE__ */ s("span", { className: "sass-pg-cmt-rp-optionLabel", children:
|
|
16034
|
-
] },
|
|
16080
|
+
/* @__PURE__ */ s("span", { className: "sass-pg-cmt-rp-optionLabel", children: C.label })
|
|
16081
|
+
] }, C.id)) }),
|
|
16035
16082
|
w && /* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-errorMessage", children: w }),
|
|
16036
16083
|
/* @__PURE__ */ s(
|
|
16037
16084
|
hr,
|
|
@@ -16039,7 +16086,7 @@ const hr = hu(pu, {
|
|
|
16039
16086
|
sitekey: o,
|
|
16040
16087
|
theme: "light",
|
|
16041
16088
|
size: "normal",
|
|
16042
|
-
onChange: (
|
|
16089
|
+
onChange: (C) => b(C ?? ""),
|
|
16043
16090
|
onExpired: () => b("")
|
|
16044
16091
|
}
|
|
16045
16092
|
),
|
|
@@ -16048,7 +16095,7 @@ const hr = hu(pu, {
|
|
|
16048
16095
|
/* @__PURE__ */ s(
|
|
16049
16096
|
"button",
|
|
16050
16097
|
{
|
|
16051
|
-
onClick:
|
|
16098
|
+
onClick: v,
|
|
16052
16099
|
disabled: !h,
|
|
16053
16100
|
className: "sass-pg-cmt-rp-reportButton",
|
|
16054
16101
|
children: l.reportButton
|
|
@@ -16187,7 +16234,7 @@ async function Au({
|
|
|
16187
16234
|
r && b.append("id", r), o && b.append("lastid", o);
|
|
16188
16235
|
const A = `${g}${m}/newcomments/get?${b.toString()}`;
|
|
16189
16236
|
try {
|
|
16190
|
-
const { data:
|
|
16237
|
+
const { data: v } = await re.get(A, {
|
|
16191
16238
|
headers: {
|
|
16192
16239
|
"x-api-token": l,
|
|
16193
16240
|
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
|
@@ -16195,15 +16242,15 @@ async function Au({
|
|
|
16195
16242
|
Expires: "0"
|
|
16196
16243
|
}
|
|
16197
16244
|
});
|
|
16198
|
-
if (!
|
|
16245
|
+
if (!v)
|
|
16199
16246
|
throw new Error("No comments data received");
|
|
16200
|
-
return
|
|
16201
|
-
} catch (
|
|
16202
|
-
if (console.error("Error fetching comments:",
|
|
16203
|
-
const N =
|
|
16204
|
-
throw N === 404 ? new Error("Comments not found") : N === 403 ? new Error("Access forbidden - check API token") : N === 401 ? new Error("Unauthorized - invalid API token") : N === 500 ? new Error("Internal server error from CMS") : new Error(
|
|
16247
|
+
return v.data || v || [];
|
|
16248
|
+
} catch (v) {
|
|
16249
|
+
if (console.error("Error fetching comments:", v), re.isAxiosError(v)) {
|
|
16250
|
+
const N = v.response?.status, C = v.response?.data;
|
|
16251
|
+
throw N === 404 ? new Error("Comments not found") : N === 403 ? new Error("Access forbidden - check API token") : N === 401 ? new Error("Unauthorized - invalid API token") : N === 500 ? new Error("Internal server error from CMS") : new Error(C?.error || C?.message || `HTTP ${N}: Failed to fetch comments`);
|
|
16205
16252
|
}
|
|
16206
|
-
throw
|
|
16253
|
+
throw v;
|
|
16207
16254
|
}
|
|
16208
16255
|
}
|
|
16209
16256
|
const yu = (e, t) => {
|
|
@@ -16287,11 +16334,11 @@ const yu = (e, t) => {
|
|
|
16287
16334
|
]
|
|
16288
16335
|
}
|
|
16289
16336
|
) })
|
|
16290
|
-
] }),
|
|
16337
|
+
] }), vu = {
|
|
16291
16338
|
commentInputLabel: "Comentario",
|
|
16292
16339
|
commentInputPlaceholder: "Ingresa un comentario"
|
|
16293
16340
|
}, ls = ({ commentRef: e, captchaToken: t = "", setIsDisabled: n, API_ENV: a, texts: r }) => {
|
|
16294
|
-
const o = { ...
|
|
16341
|
+
const o = { ...vu, ...r?.comentarios };
|
|
16295
16342
|
return Be(() => {
|
|
16296
16343
|
const i = e.current;
|
|
16297
16344
|
if (!i) return;
|
|
@@ -16337,7 +16384,7 @@ const yu = (e, t) => {
|
|
|
16337
16384
|
!o.boolean && /* @__PURE__ */ s("p", { className: "submit-warning su-hidden su-font-normal su-p-0", children: o.text })
|
|
16338
16385
|
] })
|
|
16339
16386
|
] });
|
|
16340
|
-
},
|
|
16387
|
+
}, Cu = {
|
|
16341
16388
|
anonimusContinueButton: "Continuar de forma anónima",
|
|
16342
16389
|
anonimusDividerOr: "o",
|
|
16343
16390
|
anonimusImageAlt: "Imagen incognito",
|
|
@@ -16373,7 +16420,7 @@ function xu({
|
|
|
16373
16420
|
texts: a,
|
|
16374
16421
|
API_ENV: r
|
|
16375
16422
|
}) {
|
|
16376
|
-
const o = { ...Nu, ...
|
|
16423
|
+
const o = { ...Nu, ...Cu, ...a?.comentarios }, i = me(r), l = (h) => {
|
|
16377
16424
|
!window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = i + "/auth/login" + (h ? "#forgot" : ""));
|
|
16378
16425
|
}, c = () => {
|
|
16379
16426
|
!window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = i + "/auth/register");
|
|
@@ -16459,8 +16506,8 @@ const Su = {
|
|
|
16459
16506
|
if (!u || !n.CONFIG_commentsV2 || !o || !document) return;
|
|
16460
16507
|
const g = document.getElementById("comment-button");
|
|
16461
16508
|
if (!g) return;
|
|
16462
|
-
const b = g.closest(".comment-form"), A = b?.querySelector('input[name="username"]'),
|
|
16463
|
-
A?.value?.trim() &&
|
|
16509
|
+
const b = g.closest(".comment-form"), A = b?.querySelector('input[name="username"]'), v = b?.querySelector('textarea[name="comment"]'), N = b?.querySelector("textarea.g-recaptcha-response") ?? document.querySelector("#g-recaptcha-response");
|
|
16510
|
+
A?.value?.trim() && v?.value?.trim() && N?.value?.trim() && g.click();
|
|
16464
16511
|
});
|
|
16465
16512
|
const f = le("/Success.gif", n.PUBLIC_ASSETS_URL);
|
|
16466
16513
|
return c ? /* @__PURE__ */ s("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ s("img", { className: "success-gif su-absolute", src: f }) }) : /* @__PURE__ */ p($, { children: [
|
|
@@ -16539,18 +16586,18 @@ const Su = {
|
|
|
16539
16586
|
let g = null;
|
|
16540
16587
|
try {
|
|
16541
16588
|
g = await f.json();
|
|
16542
|
-
} catch (
|
|
16543
|
-
console.error("Error parsing JSON response:",
|
|
16589
|
+
} catch (C) {
|
|
16590
|
+
console.error("Error parsing JSON response:", C);
|
|
16544
16591
|
}
|
|
16545
16592
|
if (!f.ok)
|
|
16546
16593
|
throw new Error(
|
|
16547
16594
|
`Error al enviar comentario: ${g?.message} status: ${f.status}`
|
|
16548
16595
|
);
|
|
16549
|
-
const b = Date.now(), A = Math.max(0, 2400 + Math.abs(b - w)),
|
|
16550
|
-
username:
|
|
16551
|
-
firstname:
|
|
16552
|
-
...
|
|
16553
|
-
...
|
|
16596
|
+
const b = Date.now(), A = Math.max(0, 2400 + Math.abs(b - w)), v = r || { username: c, firstname: c }, N = {
|
|
16597
|
+
username: v.username,
|
|
16598
|
+
firstname: v.firstname,
|
|
16599
|
+
...v.lastname && { lastname: v.lastname },
|
|
16600
|
+
...v.picture && { picture: v.picture }
|
|
16554
16601
|
};
|
|
16555
16602
|
return i({
|
|
16556
16603
|
id: b.toString(),
|
|
@@ -16623,7 +16670,7 @@ const Su = {
|
|
|
16623
16670
|
] });
|
|
16624
16671
|
}, Tu = {
|
|
16625
16672
|
replyingToLabel: "Respondiendo a"
|
|
16626
|
-
},
|
|
16673
|
+
}, ku = ({ reply: e, replyingTo: t, user: n, onFlag: a, DATE_CONFIG: r, texts: o }) => {
|
|
16627
16674
|
const i = { ...Tu, ...o?.comentarios }, l = e.text;
|
|
16628
16675
|
let c = `${qe.firstname} ${qe.lastname ?? ""}`, d = qe.username;
|
|
16629
16676
|
return e.user && (c = `${e.user.firstname} ${e.user.lastname ?? ""}`, d = e.user.username), /* @__PURE__ */ s("div", { className: "comment-item reply", children: /* @__PURE__ */ p("div", { className: "comment-header-container su-flex su-relative", children: [
|
|
@@ -16640,13 +16687,13 @@ const Su = {
|
|
|
16640
16687
|
/* @__PURE__ */ s(gr, { isReply: !0, onFlag: () => a(e.id) })
|
|
16641
16688
|
] })
|
|
16642
16689
|
] }) });
|
|
16643
|
-
},
|
|
16690
|
+
}, Iu = {
|
|
16644
16691
|
moreRepliesButton: "Más Respuestas"
|
|
16645
16692
|
}, Uu = ({ comment: e, replyingTo: t, path: n, user: a, handleReplyingTo: r, onFlag: o, API_ENV: i, texts: l }) => {
|
|
16646
|
-
const c = { ...
|
|
16647
|
-
let
|
|
16648
|
-
e.user && (
|
|
16649
|
-
const
|
|
16693
|
+
const c = { ...Iu, ...l?.comentarios }, d = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, h] = z(d), [m, w] = ue.useState(!1), { PUBLIC_PUBLICATION_ID: f, PUBLIC_X_SECURITY_TOKEN: g } = i, b = e.text, A = ue.useRef(null);
|
|
16694
|
+
let v = `${qe.firstname} ${qe.lastname ?? ""}`, N = qe.username;
|
|
16695
|
+
e.user && (v = `${e.user.firstname} ${e.user.lastname ?? ""}`, N = e.user.username);
|
|
16696
|
+
const C = (y) => {
|
|
16650
16697
|
h({ morereply: u.morereply, reply: [y, ...u.reply] });
|
|
16651
16698
|
};
|
|
16652
16699
|
return /* @__PURE__ */ s("div", { className: "comment-item", children: /* @__PURE__ */ p(
|
|
@@ -16657,7 +16704,7 @@ const Su = {
|
|
|
16657
16704
|
children: [
|
|
16658
16705
|
/* @__PURE__ */ s(pr, { user: e.user ? e.user : qe }),
|
|
16659
16706
|
/* @__PURE__ */ p("div", { style: { flex: 1 }, children: [
|
|
16660
|
-
/* @__PURE__ */ s(fr, { username:
|
|
16707
|
+
/* @__PURE__ */ s(fr, { username: v, date: e.date.time, DATE_CONFIG: i }),
|
|
16661
16708
|
/* @__PURE__ */ s("p", { className: "comment-text su-font-normal", children: b }),
|
|
16662
16709
|
a?.username.toLowerCase() !== N.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
16663
16710
|
/* @__PURE__ */ s(
|
|
@@ -16672,7 +16719,7 @@ const Su = {
|
|
|
16672
16719
|
{
|
|
16673
16720
|
replyingTo: t,
|
|
16674
16721
|
commentRef: A,
|
|
16675
|
-
addReply:
|
|
16722
|
+
addReply: C,
|
|
16676
16723
|
user: a,
|
|
16677
16724
|
path: n,
|
|
16678
16725
|
API_ENV: i,
|
|
@@ -16682,11 +16729,11 @@ const Su = {
|
|
|
16682
16729
|
),
|
|
16683
16730
|
u.reply.length > 0 && /* @__PURE__ */ p("div", { className: "comment-replies", children: [
|
|
16684
16731
|
u.reply.map((y) => /* @__PURE__ */ s(
|
|
16685
|
-
|
|
16732
|
+
ku,
|
|
16686
16733
|
{
|
|
16687
16734
|
user: a,
|
|
16688
16735
|
reply: y,
|
|
16689
|
-
replyingTo:
|
|
16736
|
+
replyingTo: v,
|
|
16690
16737
|
onFlag: o,
|
|
16691
16738
|
DATE_CONFIG: i,
|
|
16692
16739
|
texts: l
|
|
@@ -16701,7 +16748,7 @@ const Su = {
|
|
|
16701
16748
|
const y = u.reply[u.reply.length - 1]?.id;
|
|
16702
16749
|
w(!0);
|
|
16703
16750
|
try {
|
|
16704
|
-
const
|
|
16751
|
+
const k = await is({
|
|
16705
16752
|
publication: f ?? "",
|
|
16706
16753
|
path: n ?? "",
|
|
16707
16754
|
size: 2,
|
|
@@ -16712,7 +16759,7 @@ const Su = {
|
|
|
16712
16759
|
apiToken: g ?? "",
|
|
16713
16760
|
API_ENV: i
|
|
16714
16761
|
});
|
|
16715
|
-
w(!1), h({ morereply:
|
|
16762
|
+
w(!1), h({ morereply: k.morecomment, reply: [...u.reply, ...k.comments] });
|
|
16716
16763
|
} catch (S) {
|
|
16717
16764
|
throw w(!1), new Error(`Error al obtener comentarios: ${S}`);
|
|
16718
16765
|
}
|
|
@@ -16890,23 +16937,23 @@ const Su = {
|
|
|
16890
16937
|
}) => {
|
|
16891
16938
|
const c = { ...Bu, ...l?.comentarios }, { PUBLIC_PUBLICATION_ID: d, PUBLIC_X_SECURITY_TOKEN: u } = i, h = d ?? "", m = t.replaceAll("/", "|"), [w, f] = z(
|
|
16892
16939
|
void 0
|
|
16893
|
-
), [g, b] = z(""), { comments: A, setComments:
|
|
16894
|
-
b(g ===
|
|
16895
|
-
}, L = (
|
|
16896
|
-
|
|
16940
|
+
), [g, b] = z(""), { comments: A, setComments: v } = yu(m, i), [N, C] = ue.useState(!1), y = ue.useRef(null), S = ue.useRef(null), k = (I) => {
|
|
16941
|
+
b(g === I ? "" : I);
|
|
16942
|
+
}, L = (I) => {
|
|
16943
|
+
v(
|
|
16897
16944
|
A ? {
|
|
16898
16945
|
...A,
|
|
16899
|
-
comments: [
|
|
16946
|
+
comments: [I, ...A.comments ?? []]
|
|
16900
16947
|
} : void 0
|
|
16901
16948
|
);
|
|
16902
|
-
}, D = (
|
|
16903
|
-
f(
|
|
16949
|
+
}, D = (I) => {
|
|
16950
|
+
f(I);
|
|
16904
16951
|
}, j = async () => {
|
|
16905
16952
|
if (!A || !A.morecomment || A.comments.length === 0) return;
|
|
16906
|
-
const
|
|
16907
|
-
if (!
|
|
16908
|
-
|
|
16909
|
-
const U =
|
|
16953
|
+
const I = A.comments[A.comments.length - 1];
|
|
16954
|
+
if (!I) return;
|
|
16955
|
+
C(!0);
|
|
16956
|
+
const U = I.id;
|
|
16910
16957
|
try {
|
|
16911
16958
|
const G = await is({
|
|
16912
16959
|
publication: h,
|
|
@@ -16919,12 +16966,12 @@ const Su = {
|
|
|
16919
16966
|
apiToken: u,
|
|
16920
16967
|
API_ENV: i
|
|
16921
16968
|
});
|
|
16922
|
-
|
|
16969
|
+
v({
|
|
16923
16970
|
morecomment: G.morecomment ?? !1,
|
|
16924
16971
|
comments: [...A.comments, ...G.comments]
|
|
16925
|
-
}),
|
|
16972
|
+
}), C(!1);
|
|
16926
16973
|
} catch (G) {
|
|
16927
|
-
throw
|
|
16974
|
+
throw C(!1), new Error(`Error al obtener comentarios: ${G}`);
|
|
16928
16975
|
}
|
|
16929
16976
|
}, P = A?.comments && A.comments.length > 0, H = P ? c.commentHeaderMessageWithComments : c.commentHeaderMessageEmpty, Q = /* @__PURE__ */ s("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ s(Qe, {}) }), O = () => {
|
|
16930
16977
|
!window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = me(i) + "/auth/login");
|
|
@@ -16978,19 +17025,19 @@ const Su = {
|
|
|
16978
17025
|
className: "comments-list",
|
|
16979
17026
|
"data-isauthenticated": `${e}`,
|
|
16980
17027
|
children: [
|
|
16981
|
-
A.comments.map((
|
|
17028
|
+
A.comments.map((I) => /* @__PURE__ */ s(
|
|
16982
17029
|
Uu,
|
|
16983
17030
|
{
|
|
16984
|
-
comment:
|
|
17031
|
+
comment: I,
|
|
16985
17032
|
replyingTo: g,
|
|
16986
|
-
handleReplyingTo:
|
|
17033
|
+
handleReplyingTo: k,
|
|
16987
17034
|
onFlag: D,
|
|
16988
17035
|
user: n ?? qe,
|
|
16989
17036
|
path: m,
|
|
16990
17037
|
API_ENV: i,
|
|
16991
17038
|
texts: l
|
|
16992
17039
|
},
|
|
16993
|
-
|
|
17040
|
+
I.id
|
|
16994
17041
|
)),
|
|
16995
17042
|
N && Q
|
|
16996
17043
|
]
|
|
@@ -17092,10 +17139,10 @@ const Pe = [
|
|
|
17092
17139
|
{ label: "Usa un símbolo", test: Pe[4] }
|
|
17093
17140
|
];
|
|
17094
17141
|
function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAndConditionsUrl: r }) {
|
|
17095
|
-
const o = { ..._u, ...a?.comentarios }, i =
|
|
17142
|
+
const o = { ..._u, ...a?.comentarios }, i = vt(
|
|
17096
17143
|
() => qu(a?.comentarios?.registerForm),
|
|
17097
17144
|
[a?.comentarios?.registerForm]
|
|
17098
|
-
), l =
|
|
17145
|
+
), l = vt(
|
|
17099
17146
|
() => [
|
|
17100
17147
|
{ label: o.passwordRuleMinLength, test: Pe[0] },
|
|
17101
17148
|
{ label: o.passwordRuleNumber, test: Pe[1] },
|
|
@@ -17106,13 +17153,13 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17106
17153
|
[o.passwordRuleMinLength, o.passwordRuleNumber, o.passwordRuleLowercase, o.passwordRuleUppercase, o.passwordRuleSymbol]
|
|
17107
17154
|
), [c, d] = z({}), [u, h] = z(!1), [m, w] = z(!1), [f, g] = z(null), [b, A] = z(
|
|
17108
17155
|
"register"
|
|
17109
|
-
),
|
|
17110
|
-
d((L) => ({ ...L, [S]:
|
|
17156
|
+
), v = (S, k) => {
|
|
17157
|
+
d((L) => ({ ...L, [S]: k }));
|
|
17111
17158
|
}, N = async (S) => {
|
|
17112
17159
|
S.preventDefault(), g(null), w(!0);
|
|
17113
17160
|
try {
|
|
17114
|
-
const
|
|
17115
|
-
if (
|
|
17161
|
+
const k = Object.keys(i).filter((Q) => !["username", "password", "confirmPassword"].includes(Q)).map((Q) => ({ Name: Q, Value: c[Q] }));
|
|
17162
|
+
if (k.some((Q) => {
|
|
17116
17163
|
if (!Q.Value || Q.Value.trim() === "") return !0;
|
|
17117
17164
|
}))
|
|
17118
17165
|
return w(!1), g(o.errorCompleteFields);
|
|
@@ -17128,7 +17175,7 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17128
17175
|
return;
|
|
17129
17176
|
}
|
|
17130
17177
|
const j = Math.floor(Date.now() / 1e3);
|
|
17131
|
-
|
|
17178
|
+
k.push({ Name: "updated_at", Value: String(j) });
|
|
17132
17179
|
const P = n.PUBLIC_ENV === "local" ? "token" : await bn(
|
|
17133
17180
|
"comment_register",
|
|
17134
17181
|
n.CAPTCHA_KEY ?? ""
|
|
@@ -17140,7 +17187,7 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17140
17187
|
body: JSON.stringify({
|
|
17141
17188
|
username: c.email,
|
|
17142
17189
|
password: c.password,
|
|
17143
|
-
userAttributes:
|
|
17190
|
+
userAttributes: k,
|
|
17144
17191
|
token: P
|
|
17145
17192
|
})
|
|
17146
17193
|
});
|
|
@@ -17157,19 +17204,19 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17157
17204
|
throw new Error(Q?.error || "Error al crear usuario");
|
|
17158
17205
|
}
|
|
17159
17206
|
A("confirm");
|
|
17160
|
-
} catch (
|
|
17161
|
-
console.log(
|
|
17207
|
+
} catch (k) {
|
|
17208
|
+
console.log(k), g(k?.message || k?.error || o.errorUnexpected);
|
|
17162
17209
|
} finally {
|
|
17163
17210
|
w(!1);
|
|
17164
17211
|
}
|
|
17165
|
-
},
|
|
17212
|
+
}, C = async (S) => {
|
|
17166
17213
|
if (S.preventDefault(), !c.confirmationCode) {
|
|
17167
17214
|
g(o.errorVerificationCodeRequired);
|
|
17168
17215
|
return;
|
|
17169
17216
|
}
|
|
17170
17217
|
g(null), w(!0);
|
|
17171
17218
|
try {
|
|
17172
|
-
const
|
|
17219
|
+
const k = await fetch("/api/auth/confirm-user", {
|
|
17173
17220
|
method: "POST",
|
|
17174
17221
|
headers: { "Content-Type": "application/json" },
|
|
17175
17222
|
body: JSON.stringify({
|
|
@@ -17177,13 +17224,13 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17177
17224
|
code: c.confirmationCode
|
|
17178
17225
|
})
|
|
17179
17226
|
});
|
|
17180
|
-
if (!
|
|
17181
|
-
const L = await
|
|
17227
|
+
if (!k.ok) {
|
|
17228
|
+
const L = await k.json().catch(() => ({}));
|
|
17182
17229
|
throw new Error(L?.error || "Error al confirmar usuario");
|
|
17183
17230
|
}
|
|
17184
17231
|
A("success");
|
|
17185
|
-
} catch (
|
|
17186
|
-
g(
|
|
17232
|
+
} catch (k) {
|
|
17233
|
+
g(k?.message || o.errorUnexpected);
|
|
17187
17234
|
} finally {
|
|
17188
17235
|
w(!1);
|
|
17189
17236
|
}
|
|
@@ -17209,15 +17256,15 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17209
17256
|
className: "sass-pg-cmt-lp-form",
|
|
17210
17257
|
"data-error": f ? "true" : "false",
|
|
17211
17258
|
children: [
|
|
17212
|
-
/* @__PURE__ */ s("ul", { className: "sass-pg-cmt-lp-formUl", children: Object.entries(i).map(([S, { label:
|
|
17213
|
-
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children:
|
|
17259
|
+
/* @__PURE__ */ s("ul", { className: "sass-pg-cmt-lp-formUl", children: Object.entries(i).map(([S, { label: k }]) => /* @__PURE__ */ p("div", { className: "sass-pg-cmt-lp-field", children: [
|
|
17260
|
+
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children: k }),
|
|
17214
17261
|
/* @__PURE__ */ s(
|
|
17215
17262
|
"input",
|
|
17216
17263
|
{
|
|
17217
17264
|
type: S.toLowerCase().includes("password") ? u ? "text" : "password" : S === "birthdate" ? "date" : S === "email" ? "email" : S === "phone_number" ? "tel" : "text",
|
|
17218
17265
|
name: S,
|
|
17219
17266
|
value: c[S] || "",
|
|
17220
|
-
onChange: (L) =>
|
|
17267
|
+
onChange: (L) => v(S, L.target.value),
|
|
17221
17268
|
className: "sass-pg-cmt-lp-input",
|
|
17222
17269
|
placeholder: ""
|
|
17223
17270
|
}
|
|
@@ -17272,7 +17319,7 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17272
17319
|
b === "confirm" && /* @__PURE__ */ p(
|
|
17273
17320
|
"form",
|
|
17274
17321
|
{
|
|
17275
|
-
onSubmit:
|
|
17322
|
+
onSubmit: C,
|
|
17276
17323
|
className: "sass-pg-cmt-lp-form",
|
|
17277
17324
|
"data-error": f ? "true" : "false",
|
|
17278
17325
|
children: [
|
|
@@ -17284,7 +17331,7 @@ function Du({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
17284
17331
|
type: "text",
|
|
17285
17332
|
name: "confirmationCode",
|
|
17286
17333
|
value: c.confirmationCode || "",
|
|
17287
|
-
onChange: (S) =>
|
|
17334
|
+
onChange: (S) => v("confirmationCode", S.target.value),
|
|
17288
17335
|
className: "sass-pg-cmt-lp-input",
|
|
17289
17336
|
required: !0
|
|
17290
17337
|
}
|
|
@@ -17362,7 +17409,7 @@ function Gu({
|
|
|
17362
17409
|
API_ENV: r,
|
|
17363
17410
|
texts: o
|
|
17364
17411
|
}) {
|
|
17365
|
-
const i = { ...ju, ...o?.comentarios }, [l, c] = z("login"), [d, u] = z(""), [h, m] = z(""), [w, f] = z(""), [g, b] = z(""), [A,
|
|
17412
|
+
const i = { ...ju, ...o?.comentarios }, [l, c] = z("login"), [d, u] = z(""), [h, m] = z(""), [w, f] = z(""), [g, b] = z(""), [A, v] = z(""), [N, C] = z(!1), [y, S] = z(!1), [k, L] = z(null);
|
|
17366
17413
|
return /* @__PURE__ */ p($, { children: [
|
|
17367
17414
|
l === "login" && /* @__PURE__ */ s(
|
|
17368
17415
|
Fu,
|
|
@@ -17371,10 +17418,10 @@ function Gu({
|
|
|
17371
17418
|
password: h,
|
|
17372
17419
|
showPassword: N,
|
|
17373
17420
|
loading: y,
|
|
17374
|
-
error:
|
|
17421
|
+
error: k,
|
|
17375
17422
|
setEmail: u,
|
|
17376
17423
|
setPassword: m,
|
|
17377
|
-
setShowPassword:
|
|
17424
|
+
setShowPassword: C,
|
|
17378
17425
|
onSubmit: async (H) => {
|
|
17379
17426
|
if (!y) {
|
|
17380
17427
|
H.preventDefault(), L(null), S(!0);
|
|
@@ -17388,8 +17435,8 @@ function Gu({
|
|
|
17388
17435
|
body: JSON.stringify({ email: d, password: h, token: Q })
|
|
17389
17436
|
});
|
|
17390
17437
|
if (!O.ok) {
|
|
17391
|
-
const
|
|
17392
|
-
throw new Error(
|
|
17438
|
+
const I = await O.json().catch(() => ({}));
|
|
17439
|
+
throw new Error(I?.error || "Ha ocurrido un error");
|
|
17393
17440
|
}
|
|
17394
17441
|
e(), await t();
|
|
17395
17442
|
} catch (Q) {
|
|
@@ -17413,7 +17460,7 @@ function Gu({
|
|
|
17413
17460
|
email: d,
|
|
17414
17461
|
setEmail: u,
|
|
17415
17462
|
loading: y,
|
|
17416
|
-
error:
|
|
17463
|
+
error: k,
|
|
17417
17464
|
onSubmit: async (H) => {
|
|
17418
17465
|
if (!y) {
|
|
17419
17466
|
H.preventDefault(), L(null), S(!0);
|
|
@@ -17450,11 +17497,11 @@ function Gu({
|
|
|
17450
17497
|
confirmNewPassword: A,
|
|
17451
17498
|
showPassword: N,
|
|
17452
17499
|
loading: y,
|
|
17453
|
-
error:
|
|
17500
|
+
error: k,
|
|
17454
17501
|
setConfirmationCode: f,
|
|
17455
17502
|
setNewPassword: b,
|
|
17456
|
-
setConfirmNewPassword:
|
|
17457
|
-
setShowPassword:
|
|
17503
|
+
setConfirmNewPassword: v,
|
|
17504
|
+
setShowPassword: C,
|
|
17458
17505
|
onSubmit: async (H) => {
|
|
17459
17506
|
if (y) return;
|
|
17460
17507
|
if (H.preventDefault(), g !== A) {
|
|
@@ -17475,8 +17522,8 @@ function Gu({
|
|
|
17475
17522
|
body: JSON.stringify({ email: d, code: w, newPassword: g })
|
|
17476
17523
|
});
|
|
17477
17524
|
if (!O.ok) {
|
|
17478
|
-
const
|
|
17479
|
-
throw new Error(
|
|
17525
|
+
const I = await O.json().catch(() => ({}));
|
|
17526
|
+
throw new Error(I?.error || "Error al cambiar contraseña");
|
|
17480
17527
|
}
|
|
17481
17528
|
c("feedback");
|
|
17482
17529
|
} catch (O) {
|
|
@@ -17964,7 +18011,7 @@ const Hh = ({
|
|
|
17964
18011
|
path: e,
|
|
17965
18012
|
icon: t,
|
|
17966
18013
|
isVisible: !0,
|
|
17967
|
-
API_ENV:
|
|
18014
|
+
API_ENV: Ca(n),
|
|
17968
18015
|
texts: a
|
|
17969
18016
|
}
|
|
17970
18017
|
) })), Vh = ({
|
|
@@ -17988,7 +18035,7 @@ const Hh = ({
|
|
|
17988
18035
|
isVisible: !0,
|
|
17989
18036
|
paths: a,
|
|
17990
18037
|
fetchConfig: o,
|
|
17991
|
-
API_ENV:
|
|
18038
|
+
API_ENV: Ca(r)
|
|
17992
18039
|
}
|
|
17993
18040
|
)
|
|
17994
18041
|
}
|
|
@@ -18215,7 +18262,7 @@ const Qh = async ({
|
|
|
18215
18262
|
/* @__PURE__ */ s("p", { className: "sass-bd-dnfw-title", children: r?.main?.title.home }),
|
|
18216
18263
|
r?.main?.subtitle?.rendered && /* @__PURE__ */ s("p", { className: "sass-bd-dnfw-subtitle", children: r?.main?.subtitle?.striped })
|
|
18217
18264
|
] }),
|
|
18218
|
-
/* @__PURE__ */ s(
|
|
18265
|
+
/* @__PURE__ */ s(Te, { preview: r.preview })
|
|
18219
18266
|
]
|
|
18220
18267
|
}
|
|
18221
18268
|
) }),
|
|
@@ -18252,7 +18299,7 @@ const Qh = async ({
|
|
|
18252
18299
|
}
|
|
18253
18300
|
}
|
|
18254
18301
|
) }), ia = {
|
|
18255
|
-
banner: (e) => /* @__PURE__ */ s(
|
|
18302
|
+
banner: (e) => /* @__PURE__ */ s(Se, { ...e, name: e.slot_id.replace("Home", "block") }),
|
|
18256
18303
|
readest: (e) => /* @__PURE__ */ s(Xn, { ...e }),
|
|
18257
18304
|
"Modulo 1x3": (e) => /* @__PURE__ */ s(Bc, { ...e }),
|
|
18258
18305
|
"Modulo 1x4": (e) => /* @__PURE__ */ s(Mc, { ...e }),
|
|
@@ -18356,7 +18403,7 @@ const tm = (e) => e?.main?.title ? {
|
|
|
18356
18403
|
}
|
|
18357
18404
|
),
|
|
18358
18405
|
"3 notas horizontales": (e) => /* @__PURE__ */ s(
|
|
18359
|
-
|
|
18406
|
+
Ic,
|
|
18360
18407
|
{
|
|
18361
18408
|
content: e.data,
|
|
18362
18409
|
customLargeSection: e.customLargeSection,
|
|
@@ -18527,40 +18574,40 @@ function nm({
|
|
|
18527
18574
|
const [a, r] = z(0), [o, i] = z(0), [l, c] = z(!1), [d, u] = z("errors"), [h, m] = z([]), [w, f] = z([]), g = pa(null);
|
|
18528
18575
|
Be(() => {
|
|
18529
18576
|
if (t && t.length > 0) {
|
|
18530
|
-
const
|
|
18577
|
+
const C = new Set(Ce.getAll().map((y) => y.id));
|
|
18531
18578
|
for (const y of t)
|
|
18532
|
-
|
|
18579
|
+
C.has(y.id) || Ce.add(y);
|
|
18533
18580
|
}
|
|
18534
18581
|
if (n && n.length > 0) {
|
|
18535
|
-
const
|
|
18582
|
+
const C = new Set(Ce.getAllSuccesses().map((y) => y.id));
|
|
18536
18583
|
for (const y of n)
|
|
18537
|
-
|
|
18538
|
-
}
|
|
18539
|
-
r(
|
|
18540
|
-
const
|
|
18541
|
-
return window.addEventListener("debug-fetch-error",
|
|
18542
|
-
(
|
|
18543
|
-
const y = sm(
|
|
18544
|
-
return
|
|
18545
|
-
endpoint:
|
|
18546
|
-
method: (
|
|
18547
|
-
params:
|
|
18548
|
-
status:
|
|
18584
|
+
C.has(y.id) || Ce.addSuccess(y);
|
|
18585
|
+
}
|
|
18586
|
+
r(Ce.getCount()), i(Ce.getSuccessCount());
|
|
18587
|
+
const v = (C) => r(C.detail.count), N = (C) => i(C.detail.count);
|
|
18588
|
+
return window.addEventListener("debug-fetch-error", v), window.addEventListener("debug-fetch-success", N), g.current = re.interceptors.response.use(
|
|
18589
|
+
(C) => {
|
|
18590
|
+
const y = sm(C.data);
|
|
18591
|
+
return Ce.addSuccess({
|
|
18592
|
+
endpoint: C.config.url ?? "(unknown)",
|
|
18593
|
+
method: (C.config.method ?? "GET").toUpperCase(),
|
|
18594
|
+
params: C.config.params,
|
|
18595
|
+
status: C.status,
|
|
18549
18596
|
responsePreview: y,
|
|
18550
18597
|
layer: "axios-service"
|
|
18551
|
-
}),
|
|
18598
|
+
}), C;
|
|
18552
18599
|
},
|
|
18553
18600
|
void 0
|
|
18554
18601
|
// let errors propagate normally; they're tracked per-service
|
|
18555
18602
|
), () => {
|
|
18556
|
-
window.removeEventListener("debug-fetch-error",
|
|
18603
|
+
window.removeEventListener("debug-fetch-error", v), window.removeEventListener("debug-fetch-success", N), g.current !== null && re.interceptors.response.eject(g.current);
|
|
18557
18604
|
};
|
|
18558
18605
|
}, []);
|
|
18559
18606
|
function b() {
|
|
18560
|
-
m(
|
|
18607
|
+
m(Ce.getAll()), f(Ce.getAllSuccesses()), c(!0);
|
|
18561
18608
|
}
|
|
18562
18609
|
function A() {
|
|
18563
|
-
|
|
18610
|
+
Ce.clearAll(), m([]), f([]), r(0), i(0), c(!1);
|
|
18564
18611
|
}
|
|
18565
18612
|
return /* @__PURE__ */ p($, { children: [
|
|
18566
18613
|
/* @__PURE__ */ p("button", { onClick: b, style: lm(e), title: "Debug panel", children: [
|
|
@@ -18568,7 +18615,7 @@ function nm({
|
|
|
18568
18615
|
a > 0 && /* @__PURE__ */ s("span", { style: da("#e94560"), children: a }),
|
|
18569
18616
|
o > 0 && /* @__PURE__ */ s("span", { style: da("#27ae60"), children: o })
|
|
18570
18617
|
] }),
|
|
18571
|
-
l && /* @__PURE__ */ s("div", { style: cm, onClick: () => c(!1), children: /* @__PURE__ */ p("div", { style: dm, onClick: (
|
|
18618
|
+
l && /* @__PURE__ */ s("div", { style: cm, onClick: () => c(!1), children: /* @__PURE__ */ p("div", { style: dm, onClick: (v) => v.stopPropagation(), children: [
|
|
18572
18619
|
/* @__PURE__ */ p("div", { style: um, children: [
|
|
18573
18620
|
/* @__PURE__ */ s("strong", { children: "Debug Panel" }),
|
|
18574
18621
|
/* @__PURE__ */ s("button", { onClick: () => c(!1), style: pm, children: "✕" })
|
|
@@ -18598,8 +18645,8 @@ function nm({
|
|
|
18598
18645
|
)
|
|
18599
18646
|
] }),
|
|
18600
18647
|
/* @__PURE__ */ p("div", { style: hm, children: [
|
|
18601
|
-
d === "errors" && (h.length === 0 ? /* @__PURE__ */ s("p", { style: fa, children: "No hay errores acumulados." }) : h.map((
|
|
18602
|
-
d === "successes" && (w.length === 0 ? /* @__PURE__ */ s("p", { style: fa, children: "No hay fetches exitosos registrados aún." }) : w.map((
|
|
18648
|
+
d === "errors" && (h.length === 0 ? /* @__PURE__ */ s("p", { style: fa, children: "No hay errores acumulados." }) : h.map((v) => /* @__PURE__ */ s(rm, { error: v }, v.id))),
|
|
18649
|
+
d === "successes" && (w.length === 0 ? /* @__PURE__ */ s("p", { style: fa, children: "No hay fetches exitosos registrados aún." }) : w.map((v) => /* @__PURE__ */ s(om, { entry: v }, v.id)))
|
|
18603
18650
|
] }),
|
|
18604
18651
|
/* @__PURE__ */ s("div", { style: fm, children: /* @__PURE__ */ s("button", { onClick: A, style: gm, children: "Limpiar todo" }) })
|
|
18605
18652
|
] }) })
|
|
@@ -18628,13 +18675,13 @@ function rm({ error: e }) {
|
|
|
18628
18675
|
/* @__PURE__ */ s("span", { style: Er(e.layer), children: e.layer }),
|
|
18629
18676
|
e.status !== void 0 && /* @__PURE__ */ s("span", { style: Tr(e.status), children: e.status }),
|
|
18630
18677
|
/* @__PURE__ */ s("span", { style: { fontWeight: 600, fontSize: 13, color: "#f87171" }, children: am(e) }),
|
|
18631
|
-
/* @__PURE__ */ p("span", { style:
|
|
18678
|
+
/* @__PURE__ */ p("span", { style: vr, children: [
|
|
18632
18679
|
e.method,
|
|
18633
18680
|
" ",
|
|
18634
18681
|
e.endpoint
|
|
18635
18682
|
] })
|
|
18636
18683
|
] }),
|
|
18637
|
-
t && /* @__PURE__ */ p("div", { style:
|
|
18684
|
+
t && /* @__PURE__ */ p("div", { style: Cr, children: [
|
|
18638
18685
|
e.service && /* @__PURE__ */ s("div", { style: { fontSize: 11, color: "#888", marginBottom: 4 }, children: e.service }),
|
|
18639
18686
|
/* @__PURE__ */ s("div", { style: { fontSize: 12, color: "#f87171", marginBottom: 4 }, children: e.message }),
|
|
18640
18687
|
e.params && /* @__PURE__ */ s("pre", { style: zn, children: JSON.stringify(e.params, null, 2) }),
|
|
@@ -18657,7 +18704,7 @@ function om({ entry: e }) {
|
|
|
18657
18704
|
/* @__PURE__ */ s("span", { style: Er(e.layer), children: e.layer }),
|
|
18658
18705
|
/* @__PURE__ */ s("span", { style: Tr(e.status), children: e.status }),
|
|
18659
18706
|
/* @__PURE__ */ s("span", { style: { fontWeight: 600, fontSize: 13, color: "#4ade80" }, children: r }),
|
|
18660
|
-
/* @__PURE__ */ p("span", { style:
|
|
18707
|
+
/* @__PURE__ */ p("span", { style: vr, children: [
|
|
18661
18708
|
e.method,
|
|
18662
18709
|
" ",
|
|
18663
18710
|
e.endpoint
|
|
@@ -18668,7 +18715,7 @@ function om({ entry: e }) {
|
|
|
18668
18715
|
"ms"
|
|
18669
18716
|
] })
|
|
18670
18717
|
] }),
|
|
18671
|
-
t && /* @__PURE__ */ p("div", { style:
|
|
18718
|
+
t && /* @__PURE__ */ p("div", { style: Cr, children: [
|
|
18672
18719
|
e.service && /* @__PURE__ */ s("div", { style: { fontSize: 11, color: "#888", marginBottom: 4 }, children: e.service }),
|
|
18673
18720
|
e.params && /* @__PURE__ */ p($, { children: [
|
|
18674
18721
|
/* @__PURE__ */ s("div", { style: ha, children: "Params" }),
|
|
@@ -18832,7 +18879,7 @@ const Ar = {
|
|
|
18832
18879
|
fontSize: 10,
|
|
18833
18880
|
color: "#aaa",
|
|
18834
18881
|
flexShrink: 0
|
|
18835
|
-
},
|
|
18882
|
+
}, vr = {
|
|
18836
18883
|
fontSize: 11,
|
|
18837
18884
|
color: "#9ca3af",
|
|
18838
18885
|
fontFamily: "ui-monospace, monospace",
|
|
@@ -18862,7 +18909,7 @@ const Ar = {
|
|
|
18862
18909
|
textOverflow: "ellipsis",
|
|
18863
18910
|
whiteSpace: "nowrap",
|
|
18864
18911
|
maxWidth: "100%"
|
|
18865
|
-
},
|
|
18912
|
+
}, Cr = {
|
|
18866
18913
|
marginTop: 10,
|
|
18867
18914
|
paddingTop: 10,
|
|
18868
18915
|
borderTop: "1px solid #2a2a4e"
|
|
@@ -18933,9 +18980,9 @@ function Tr(e) {
|
|
|
18933
18980
|
}
|
|
18934
18981
|
export {
|
|
18935
18982
|
fo as AssetsPreconnect,
|
|
18936
|
-
|
|
18937
|
-
|
|
18938
|
-
|
|
18983
|
+
vh as AutorHeader1,
|
|
18984
|
+
Ch as AutorHeader2,
|
|
18985
|
+
Se as BannerAdvertising,
|
|
18939
18986
|
it as BannerAdvertisingMiddle,
|
|
18940
18987
|
$o as BannersPreconnect,
|
|
18941
18988
|
dh as CarrouselCSR,
|
|
@@ -18944,7 +18991,7 @@ export {
|
|
|
18944
18991
|
Hc as CarruselOpinion,
|
|
18945
18992
|
Hh as CommentLazyLoader,
|
|
18946
18993
|
He as CommonServices,
|
|
18947
|
-
|
|
18994
|
+
Ir as Comscore,
|
|
18948
18995
|
Oh as ContactInfoServer,
|
|
18949
18996
|
bh as ContactInput,
|
|
18950
18997
|
Ah as ContactSelect,
|
|
@@ -18954,21 +19001,21 @@ export {
|
|
|
18954
19001
|
Yh as DEBUG_MainSlots,
|
|
18955
19002
|
_l as DEFAULT_HEAD_CONFIG,
|
|
18956
19003
|
Kh as DebugPanel,
|
|
18957
|
-
|
|
19004
|
+
Ce as DebugStore,
|
|
18958
19005
|
Lc as DestacadoNoticias,
|
|
18959
19006
|
qc as DestacadoVideos,
|
|
18960
19007
|
Sl as DynamicBlockServices,
|
|
18961
19008
|
Wh as DynamicComponents,
|
|
18962
19009
|
Ln as DynamicMainSlot,
|
|
18963
19010
|
la as DynamicSlot,
|
|
18964
|
-
|
|
19011
|
+
Ih as EditorialBlock,
|
|
18965
19012
|
wh as ErrorComponent,
|
|
18966
19013
|
Vo as Font,
|
|
18967
19014
|
fh as Footer,
|
|
18968
19015
|
ho as FormatAfterScripts,
|
|
18969
|
-
|
|
19016
|
+
va as FormatScripts,
|
|
18970
19017
|
yo as GA4,
|
|
18971
|
-
|
|
19018
|
+
vo as GTM,
|
|
18972
19019
|
cd as GalleryHeader,
|
|
18973
19020
|
lh as GenerateBody,
|
|
18974
19021
|
ih as GenerateHead,
|
|
@@ -18977,19 +19024,19 @@ export {
|
|
|
18977
19024
|
Th as HomeCard,
|
|
18978
19025
|
$c as IframeHeader,
|
|
18979
19026
|
Kl as ImageOffline,
|
|
18980
|
-
|
|
19027
|
+
Te as ImageOnline,
|
|
18981
19028
|
Yl as ImageOnlineClient,
|
|
18982
19029
|
ah as IssuuServices,
|
|
18983
19030
|
Lo as ItemListSchema,
|
|
18984
19031
|
Tc as JournalistArticule2,
|
|
18985
|
-
|
|
19032
|
+
kc as JournalistGroup,
|
|
18986
19033
|
gc as LayoutNewsComponent,
|
|
18987
19034
|
M as LinkComponent,
|
|
18988
19035
|
hc as LiveBlogHeader,
|
|
18989
19036
|
ch as Location,
|
|
18990
19037
|
qh as LoginForm,
|
|
18991
19038
|
Dm as MainComponentServices,
|
|
18992
|
-
|
|
19039
|
+
Co as Marfeel,
|
|
18993
19040
|
Vh as MasNoticiasLazyLoader,
|
|
18994
19041
|
yt as MiddleSection,
|
|
18995
19042
|
Bc as Modulo1x3,
|
|
@@ -19000,14 +19047,14 @@ export {
|
|
|
19000
19047
|
Pc as Modulo3Columnas,
|
|
19001
19048
|
Rh as ModuloBlockNews,
|
|
19002
19049
|
Lh as ModuloNewsletter,
|
|
19003
|
-
|
|
19050
|
+
kh as ModuloOpinion,
|
|
19004
19051
|
Xa as NewDescriptionBlock,
|
|
19005
19052
|
Gd as NewListResponseDataPH,
|
|
19006
19053
|
Bo as NewsArticle,
|
|
19007
19054
|
Bh as NewsComponent,
|
|
19008
19055
|
Qs as NewsContent,
|
|
19009
19056
|
Ge as NewsDescriptionComponent,
|
|
19010
|
-
|
|
19057
|
+
Id as News_Content,
|
|
19011
19058
|
zs as NextPrev,
|
|
19012
19059
|
Mo as OrgList,
|
|
19013
19060
|
Ns as PreloadImages,
|
|
@@ -19027,7 +19074,7 @@ export {
|
|
|
19027
19074
|
as as SocialNetworks,
|
|
19028
19075
|
Po as SoftwareApplication,
|
|
19029
19076
|
Eh as SourceButtons,
|
|
19030
|
-
|
|
19077
|
+
ko as SpeculationRules,
|
|
19031
19078
|
Nt as Spin,
|
|
19032
19079
|
$h as StaticSlotWrapper,
|
|
19033
19080
|
Xl as SubscribeColumn,
|
|
@@ -19047,16 +19094,16 @@ export {
|
|
|
19047
19094
|
zh as addComment,
|
|
19048
19095
|
xt as bannersReplace,
|
|
19049
19096
|
lo as batchedNewsFetch,
|
|
19050
|
-
|
|
19097
|
+
Ct as becomeVideoObject,
|
|
19051
19098
|
et as buildTagUrl,
|
|
19052
19099
|
De as cleanSchema,
|
|
19053
19100
|
hh as coloringByStrokeSVGs,
|
|
19054
19101
|
ms as compileStyleProps,
|
|
19055
19102
|
Rm as createAssessment,
|
|
19056
19103
|
ze as cutString,
|
|
19057
|
-
|
|
19104
|
+
Ca as decodeApiEnv,
|
|
19058
19105
|
Bm as encodeApiEnv,
|
|
19059
|
-
|
|
19106
|
+
Ee as extractMainSlug,
|
|
19060
19107
|
xm as extractRealtedNews,
|
|
19061
19108
|
On as extractRelatedNews,
|
|
19062
19109
|
Oe as formatDate,
|
|
@@ -19090,10 +19137,10 @@ export {
|
|
|
19090
19137
|
ba as getServicePrefix,
|
|
19091
19138
|
Qo as getSlugs,
|
|
19092
19139
|
Pm as getTextsStringValue,
|
|
19093
|
-
|
|
19094
|
-
|
|
19140
|
+
km as getTypeOfNews,
|
|
19141
|
+
Im as getVideoRealPath,
|
|
19095
19142
|
is as handleGetComments,
|
|
19096
|
-
|
|
19143
|
+
Cm as initLibrary,
|
|
19097
19144
|
wo as isHomePath,
|
|
19098
19145
|
Om as isPhotoGallery,
|
|
19099
19146
|
ao as metadataToJSX,
|