sass-template-common 0.1.56 → 0.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sass-template-common.js +500 -498
- package/dist/sass-template-common.umd.cjs +13 -13
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a, jsxs as m, Fragment as K } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
2
|
+
import * as Ua from "react";
|
|
3
3
|
import Ee, { useState as $, useRef as Br, useCallback as he, useEffect as De, createElement as ot, forwardRef as Or, Fragment as gn, useMemo as jo, Component as Qo } from "react";
|
|
4
4
|
let ea = {
|
|
5
5
|
PUBLIC_API_HOST: "https://dev-saas.cms-medios.com",
|
|
@@ -154,99 +154,99 @@ function Pr() {
|
|
|
154
154
|
(function(n, r) {
|
|
155
155
|
e.exports = r();
|
|
156
156
|
})(Wo, (function() {
|
|
157
|
-
var n = 1e3, r = 6e4, o = 36e5, s = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", h = "month", f = "quarter",
|
|
158
|
-
var
|
|
159
|
-
return "[" + M + (
|
|
160
|
-
} }, N = function(M,
|
|
157
|
+
var n = 1e3, r = 6e4, o = 36e5, s = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", h = "month", f = "quarter", A = "year", g = "date", p = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, _ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, S = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) {
|
|
158
|
+
var k = ["th", "st", "nd", "rd"], E = M % 100;
|
|
159
|
+
return "[" + M + (k[(E - 20) % 10] || k[E] || k[0]) + "]";
|
|
160
|
+
} }, N = function(M, k, E) {
|
|
161
161
|
var D = String(M);
|
|
162
|
-
return !D || D.length >=
|
|
162
|
+
return !D || D.length >= k ? M : "" + Array(k + 1 - D.length).join(E) + M;
|
|
163
163
|
}, x = { s: N, z: function(M) {
|
|
164
|
-
var
|
|
165
|
-
return (
|
|
166
|
-
}, m: function M(
|
|
167
|
-
if (
|
|
168
|
-
var D = 12 * (E.year() -
|
|
164
|
+
var k = -M.utcOffset(), E = Math.abs(k), D = Math.floor(E / 60), T = E % 60;
|
|
165
|
+
return (k <= 0 ? "+" : "-") + N(D, 2, "0") + ":" + N(T, 2, "0");
|
|
166
|
+
}, m: function M(k, E) {
|
|
167
|
+
if (k.date() < E.date()) return -M(E, k);
|
|
168
|
+
var D = 12 * (E.year() - k.year()) + (E.month() - k.month()), T = k.clone().add(D, h), z = E - T < 0, y = k.clone().add(D + (z ? -1 : 1), h);
|
|
169
169
|
return +(-(D + (E - T) / (z ? T - y : y - T)) || 0);
|
|
170
170
|
}, a: function(M) {
|
|
171
171
|
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
172
172
|
}, p: function(M) {
|
|
173
|
-
return { M: h, y:
|
|
173
|
+
return { M: h, y: A, w: u, d: l, D: g, h: d, m: c, s: i, ms: s, Q: f }[M] || String(M || "").toLowerCase().replace(/s$/, "");
|
|
174
174
|
}, u: function(M) {
|
|
175
175
|
return M === void 0;
|
|
176
176
|
} }, v = "en", B = {};
|
|
177
177
|
B[v] = S;
|
|
178
178
|
var R = "$isDayjsObject", Y = function(M) {
|
|
179
179
|
return M instanceof ee || !(!M || !M[R]);
|
|
180
|
-
}, te = function M(
|
|
180
|
+
}, te = function M(k, E, D) {
|
|
181
181
|
var T;
|
|
182
|
-
if (!
|
|
183
|
-
if (typeof
|
|
184
|
-
var z =
|
|
182
|
+
if (!k) return v;
|
|
183
|
+
if (typeof k == "string") {
|
|
184
|
+
var z = k.toLowerCase();
|
|
185
185
|
B[z] && (T = z), E && (B[z] = E, T = z);
|
|
186
|
-
var y =
|
|
186
|
+
var y = k.split("-");
|
|
187
187
|
if (!T && y.length > 1) return M(y[0]);
|
|
188
188
|
} else {
|
|
189
|
-
var C =
|
|
190
|
-
B[C] =
|
|
189
|
+
var C = k.name;
|
|
190
|
+
B[C] = k, T = C;
|
|
191
191
|
}
|
|
192
192
|
return !D && T && (v = T), T || !D && v;
|
|
193
|
-
}, Q = function(M,
|
|
193
|
+
}, Q = function(M, k) {
|
|
194
194
|
if (Y(M)) return M.clone();
|
|
195
|
-
var E = typeof
|
|
195
|
+
var E = typeof k == "object" ? k : {};
|
|
196
196
|
return E.date = M, E.args = arguments, new ee(E);
|
|
197
197
|
}, P = x;
|
|
198
|
-
P.l = te, P.i = Y, P.w = function(M,
|
|
199
|
-
return Q(M, { locale:
|
|
198
|
+
P.l = te, P.i = Y, P.w = function(M, k) {
|
|
199
|
+
return Q(M, { locale: k.$L, utc: k.$u, x: k.$x, $offset: k.$offset });
|
|
200
200
|
};
|
|
201
201
|
var ee = (function() {
|
|
202
202
|
function M(E) {
|
|
203
203
|
this.$L = te(E.locale, null, !0), this.parse(E), this.$x = this.$x || E.x || {}, this[R] = !0;
|
|
204
204
|
}
|
|
205
|
-
var
|
|
206
|
-
return
|
|
205
|
+
var k = M.prototype;
|
|
206
|
+
return k.parse = function(E) {
|
|
207
207
|
this.$d = (function(D) {
|
|
208
208
|
var T = D.date, z = D.utc;
|
|
209
209
|
if (T === null) return /* @__PURE__ */ new Date(NaN);
|
|
210
210
|
if (P.u(T)) return /* @__PURE__ */ new Date();
|
|
211
211
|
if (T instanceof Date) return new Date(T);
|
|
212
212
|
if (typeof T == "string" && !/Z$/i.test(T)) {
|
|
213
|
-
var y = T.match(
|
|
213
|
+
var y = T.match(w);
|
|
214
214
|
if (y) {
|
|
215
|
-
var C = y[2] - 1 || 0,
|
|
216
|
-
return z ? new Date(Date.UTC(y[1], C, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0,
|
|
215
|
+
var C = y[2] - 1 || 0, U = (y[7] || "0").substring(0, 3);
|
|
216
|
+
return z ? new Date(Date.UTC(y[1], C, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0, U)) : new Date(y[1], C, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0, U);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
return new Date(T);
|
|
220
220
|
})(E), this.init();
|
|
221
|
-
},
|
|
221
|
+
}, k.init = function() {
|
|
222
222
|
var E = this.$d;
|
|
223
223
|
this.$y = E.getFullYear(), this.$M = E.getMonth(), this.$D = E.getDate(), this.$W = E.getDay(), this.$H = E.getHours(), this.$m = E.getMinutes(), this.$s = E.getSeconds(), this.$ms = E.getMilliseconds();
|
|
224
|
-
},
|
|
224
|
+
}, k.$utils = function() {
|
|
225
225
|
return P;
|
|
226
|
-
},
|
|
226
|
+
}, k.isValid = function() {
|
|
227
227
|
return this.$d.toString() !== p;
|
|
228
|
-
},
|
|
228
|
+
}, k.isSame = function(E, D) {
|
|
229
229
|
var T = Q(E);
|
|
230
230
|
return this.startOf(D) <= T && T <= this.endOf(D);
|
|
231
|
-
},
|
|
231
|
+
}, k.isAfter = function(E, D) {
|
|
232
232
|
return Q(E) < this.startOf(D);
|
|
233
|
-
},
|
|
233
|
+
}, k.isBefore = function(E, D) {
|
|
234
234
|
return this.endOf(D) < Q(E);
|
|
235
|
-
},
|
|
235
|
+
}, k.$g = function(E, D, T) {
|
|
236
236
|
return P.u(E) ? this[D] : this.set(T, E);
|
|
237
|
-
},
|
|
237
|
+
}, k.unix = function() {
|
|
238
238
|
return Math.floor(this.valueOf() / 1e3);
|
|
239
|
-
},
|
|
239
|
+
}, k.valueOf = function() {
|
|
240
240
|
return this.$d.getTime();
|
|
241
|
-
},
|
|
241
|
+
}, k.startOf = function(E, D) {
|
|
242
242
|
var T = this, z = !!P.u(D) || D, y = P.p(E), C = function(X, F) {
|
|
243
243
|
var ie = P.w(T.$u ? Date.UTC(T.$y, F, X) : new Date(T.$y, F, X), T);
|
|
244
244
|
return z ? ie : ie.endOf(l);
|
|
245
|
-
},
|
|
245
|
+
}, U = function(X, F) {
|
|
246
246
|
return P.w(T.toDate()[X].apply(T.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(F)), T);
|
|
247
247
|
}, j = this.$W, L = this.$M, G = this.$D, H = "set" + (this.$u ? "UTC" : "");
|
|
248
248
|
switch (y) {
|
|
249
|
-
case
|
|
249
|
+
case A:
|
|
250
250
|
return z ? C(1, 0) : C(31, 11);
|
|
251
251
|
case h:
|
|
252
252
|
return z ? C(1, L) : C(0, L + 1);
|
|
@@ -255,30 +255,30 @@ function Pr() {
|
|
|
255
255
|
return C(z ? G - Z : G + (6 - Z), L);
|
|
256
256
|
case l:
|
|
257
257
|
case g:
|
|
258
|
-
return
|
|
258
|
+
return U(H + "Hours", 0);
|
|
259
259
|
case d:
|
|
260
|
-
return
|
|
260
|
+
return U(H + "Minutes", 1);
|
|
261
261
|
case c:
|
|
262
|
-
return
|
|
262
|
+
return U(H + "Seconds", 2);
|
|
263
263
|
case i:
|
|
264
|
-
return
|
|
264
|
+
return U(H + "Milliseconds", 3);
|
|
265
265
|
default:
|
|
266
266
|
return this.clone();
|
|
267
267
|
}
|
|
268
|
-
},
|
|
268
|
+
}, k.endOf = function(E) {
|
|
269
269
|
return this.startOf(E, !1);
|
|
270
|
-
},
|
|
271
|
-
var T, z = P.p(E), y = "set" + (this.$u ? "UTC" : ""), C = (T = {}, T[l] = y + "Date", T[g] = y + "Date", T[h] = y + "Month", T[
|
|
272
|
-
if (z === h || z ===
|
|
270
|
+
}, k.$set = function(E, D) {
|
|
271
|
+
var T, z = P.p(E), y = "set" + (this.$u ? "UTC" : ""), C = (T = {}, T[l] = y + "Date", T[g] = y + "Date", T[h] = y + "Month", T[A] = y + "FullYear", T[d] = y + "Hours", T[c] = y + "Minutes", T[i] = y + "Seconds", T[s] = y + "Milliseconds", T)[z], U = z === l ? this.$D + (D - this.$W) : D;
|
|
272
|
+
if (z === h || z === A) {
|
|
273
273
|
var j = this.clone().set(g, 1);
|
|
274
|
-
j.$d[C](
|
|
275
|
-
} else C && this.$d[C](
|
|
274
|
+
j.$d[C](U), j.init(), this.$d = j.set(g, Math.min(this.$D, j.daysInMonth())).$d;
|
|
275
|
+
} else C && this.$d[C](U);
|
|
276
276
|
return this.init(), this;
|
|
277
|
-
},
|
|
277
|
+
}, k.set = function(E, D) {
|
|
278
278
|
return this.clone().$set(E, D);
|
|
279
|
-
},
|
|
279
|
+
}, k.get = function(E) {
|
|
280
280
|
return this[P.p(E)]();
|
|
281
|
-
},
|
|
281
|
+
}, k.add = function(E, D) {
|
|
282
282
|
var T, z = this;
|
|
283
283
|
E = Number(E);
|
|
284
284
|
var y = P.p(D), C = function(L) {
|
|
@@ -286,17 +286,17 @@ function Pr() {
|
|
|
286
286
|
return P.w(G.date(G.date() + Math.round(L * E)), z);
|
|
287
287
|
};
|
|
288
288
|
if (y === h) return this.set(h, this.$M + E);
|
|
289
|
-
if (y ===
|
|
289
|
+
if (y === A) return this.set(A, this.$y + E);
|
|
290
290
|
if (y === l) return C(1);
|
|
291
291
|
if (y === u) return C(7);
|
|
292
|
-
var
|
|
292
|
+
var U = (T = {}, T[c] = r, T[d] = o, T[i] = n, T)[y] || 1, j = this.$d.getTime() + E * U;
|
|
293
293
|
return P.w(j, this);
|
|
294
|
-
},
|
|
294
|
+
}, k.subtract = function(E, D) {
|
|
295
295
|
return this.add(-1 * E, D);
|
|
296
|
-
},
|
|
296
|
+
}, k.format = function(E) {
|
|
297
297
|
var D = this, T = this.$locale();
|
|
298
298
|
if (!this.isValid()) return T.invalidDate || p;
|
|
299
|
-
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y = P.z(this), C = this.$H,
|
|
299
|
+
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y = P.z(this), C = this.$H, U = this.$m, j = this.$M, L = T.weekdays, G = T.months, H = T.meridiem, V = function(F, ie, q, Ae) {
|
|
300
300
|
return F && (F[ie] || F(D, z)) || q[ie].slice(0, Ae);
|
|
301
301
|
}, Z = function(F) {
|
|
302
302
|
return P.s(C % 12 || 12, F, "0");
|
|
@@ -340,13 +340,13 @@ function Pr() {
|
|
|
340
340
|
case "hh":
|
|
341
341
|
return Z(2);
|
|
342
342
|
case "a":
|
|
343
|
-
return X(C,
|
|
343
|
+
return X(C, U, !0);
|
|
344
344
|
case "A":
|
|
345
|
-
return X(C,
|
|
345
|
+
return X(C, U, !1);
|
|
346
346
|
case "m":
|
|
347
|
-
return String(
|
|
347
|
+
return String(U);
|
|
348
348
|
case "mm":
|
|
349
|
-
return P.s(
|
|
349
|
+
return P.s(U, 2, "0");
|
|
350
350
|
case "s":
|
|
351
351
|
return String(D.$s);
|
|
352
352
|
case "ss":
|
|
@@ -359,14 +359,14 @@ function Pr() {
|
|
|
359
359
|
return null;
|
|
360
360
|
})(F) || y.replace(":", "");
|
|
361
361
|
}));
|
|
362
|
-
},
|
|
362
|
+
}, k.utcOffset = function() {
|
|
363
363
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
364
|
-
},
|
|
365
|
-
var z, y = this, C = P.p(D),
|
|
366
|
-
return P.m(y,
|
|
364
|
+
}, k.diff = function(E, D, T) {
|
|
365
|
+
var z, y = this, C = P.p(D), U = Q(E), j = (U.utcOffset() - this.utcOffset()) * r, L = this - U, G = function() {
|
|
366
|
+
return P.m(y, U);
|
|
367
367
|
};
|
|
368
368
|
switch (C) {
|
|
369
|
-
case
|
|
369
|
+
case A:
|
|
370
370
|
z = G() / 12;
|
|
371
371
|
break;
|
|
372
372
|
case h:
|
|
@@ -394,32 +394,32 @@ function Pr() {
|
|
|
394
394
|
z = L;
|
|
395
395
|
}
|
|
396
396
|
return T ? z : P.a(z);
|
|
397
|
-
},
|
|
397
|
+
}, k.daysInMonth = function() {
|
|
398
398
|
return this.endOf(h).$D;
|
|
399
|
-
},
|
|
399
|
+
}, k.$locale = function() {
|
|
400
400
|
return B[this.$L];
|
|
401
|
-
},
|
|
401
|
+
}, k.locale = function(E, D) {
|
|
402
402
|
if (!E) return this.$L;
|
|
403
403
|
var T = this.clone(), z = te(E, D, !0);
|
|
404
404
|
return z && (T.$L = z), T;
|
|
405
|
-
},
|
|
405
|
+
}, k.clone = function() {
|
|
406
406
|
return P.w(this.$d, this);
|
|
407
|
-
},
|
|
407
|
+
}, k.toDate = function() {
|
|
408
408
|
return new Date(this.valueOf());
|
|
409
|
-
},
|
|
409
|
+
}, k.toJSON = function() {
|
|
410
410
|
return this.isValid() ? this.toISOString() : null;
|
|
411
|
-
},
|
|
411
|
+
}, k.toISOString = function() {
|
|
412
412
|
return this.$d.toISOString();
|
|
413
|
-
},
|
|
413
|
+
}, k.toString = function() {
|
|
414
414
|
return this.$d.toUTCString();
|
|
415
415
|
}, M;
|
|
416
416
|
})(), ce = ee.prototype;
|
|
417
|
-
return Q.prototype = ce, [["$ms", s], ["$s", i], ["$m", c], ["$H", d], ["$W", l], ["$M", h], ["$y",
|
|
418
|
-
ce[M[1]] = function(
|
|
419
|
-
return this.$g(
|
|
417
|
+
return Q.prototype = ce, [["$ms", s], ["$s", i], ["$m", c], ["$H", d], ["$W", l], ["$M", h], ["$y", A], ["$D", g]].forEach((function(M) {
|
|
418
|
+
ce[M[1]] = function(k) {
|
|
419
|
+
return this.$g(k, M[0], M[1]);
|
|
420
420
|
};
|
|
421
|
-
})), Q.extend = function(M,
|
|
422
|
-
return M.$i || (M(
|
|
421
|
+
})), Q.extend = function(M, k) {
|
|
422
|
+
return M.$i || (M(k, ee, Q), M.$i = !0), Q;
|
|
423
423
|
}, Q.locale = te, Q.isDayjs = Y, Q.unix = function(M) {
|
|
424
424
|
return Q(1e3 * M);
|
|
425
425
|
}, Q.en = B[v], Q.Ls = B, Q.p = {}, Q;
|
|
@@ -440,20 +440,20 @@ function Ko() {
|
|
|
440
440
|
function c(l, u, h, f) {
|
|
441
441
|
return s.fromToBase(l, u, h, f);
|
|
442
442
|
}
|
|
443
|
-
o.en.relativeTime = i, s.fromToBase = function(l, u, h, f,
|
|
444
|
-
for (var g, p,
|
|
443
|
+
o.en.relativeTime = i, s.fromToBase = function(l, u, h, f, A) {
|
|
444
|
+
for (var g, p, w, _ = h.$locale().relativeTime || i, S = 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 = S.length, x = 0; x < N; x += 1) {
|
|
445
445
|
var v = S[x];
|
|
446
446
|
v.d && (g = f ? o(l).diff(h, v.d, !0) : h.diff(l, v.d, !0));
|
|
447
447
|
var B = (n.rounding || Math.round)(Math.abs(g));
|
|
448
|
-
if (
|
|
448
|
+
if (w = g > 0, B <= v.r || !v.r) {
|
|
449
449
|
B <= 1 && x > 0 && (v = S[x - 1]);
|
|
450
450
|
var R = _[v.l];
|
|
451
|
-
|
|
451
|
+
A && (B = A("" + B)), p = typeof R == "string" ? R.replace("%d", B) : R(B, u, v.l, w);
|
|
452
452
|
break;
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
if (u) return p;
|
|
456
|
-
var Y =
|
|
456
|
+
var Y = w ? _.future : _.past;
|
|
457
457
|
return typeof Y == "function" ? Y(p) : Y.replace("%s", p);
|
|
458
458
|
}, s.to = function(l, u) {
|
|
459
459
|
return c(l, u, this, !0);
|
|
@@ -501,11 +501,11 @@ function ns() {
|
|
|
501
501
|
return function(s, i, c) {
|
|
502
502
|
var d = i.prototype;
|
|
503
503
|
c.utc = function(p) {
|
|
504
|
-
var
|
|
505
|
-
return new i(
|
|
504
|
+
var w = { date: p, utc: !0, args: arguments };
|
|
505
|
+
return new i(w);
|
|
506
506
|
}, d.utc = function(p) {
|
|
507
|
-
var
|
|
508
|
-
return p ?
|
|
507
|
+
var w = c(this.toDate(), { locale: this.$L, utc: !0 });
|
|
508
|
+
return p ? w.add(this.utcOffset(), n) : w;
|
|
509
509
|
}, d.local = function() {
|
|
510
510
|
return c(this.toDate(), { locale: this.$L, utc: !1 });
|
|
511
511
|
};
|
|
@@ -521,7 +521,7 @@ function ns() {
|
|
|
521
521
|
} else u.call(this);
|
|
522
522
|
};
|
|
523
523
|
var h = d.utcOffset;
|
|
524
|
-
d.utcOffset = function(p,
|
|
524
|
+
d.utcOffset = function(p, w) {
|
|
525
525
|
var _ = this.$utils().u;
|
|
526
526
|
if (_(p)) return this.$u ? 0 : _(this.$offset) ? h.call(this) : this.$offset;
|
|
527
527
|
if (typeof p == "string" && (p = (function(v) {
|
|
@@ -532,16 +532,16 @@ function ns() {
|
|
|
532
532
|
return te === 0 ? 0 : Y === "+" ? te : -te;
|
|
533
533
|
})(p), p === null)) return this;
|
|
534
534
|
var S = Math.abs(p) <= 16 ? 60 * p : p;
|
|
535
|
-
if (S === 0) return this.utc(
|
|
535
|
+
if (S === 0) return this.utc(w);
|
|
536
536
|
var N = this.clone();
|
|
537
|
-
if (
|
|
537
|
+
if (w) return N.$offset = S, N.$u = !1, N;
|
|
538
538
|
var x = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
539
539
|
return (N = this.local().add(S + x, n)).$offset = S, N.$x.$localOffset = x, N;
|
|
540
540
|
};
|
|
541
541
|
var f = d.format;
|
|
542
542
|
d.format = function(p) {
|
|
543
|
-
var
|
|
544
|
-
return f.call(this,
|
|
543
|
+
var w = p || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
544
|
+
return f.call(this, w);
|
|
545
545
|
}, d.valueOf = function() {
|
|
546
546
|
var p = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
547
547
|
return this.$d.valueOf() - 6e4 * p;
|
|
@@ -552,15 +552,15 @@ function ns() {
|
|
|
552
552
|
}, d.toString = function() {
|
|
553
553
|
return this.toDate().toUTCString();
|
|
554
554
|
};
|
|
555
|
-
var
|
|
555
|
+
var A = d.toDate;
|
|
556
556
|
d.toDate = function(p) {
|
|
557
|
-
return p === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() :
|
|
557
|
+
return p === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : A.call(this);
|
|
558
558
|
};
|
|
559
559
|
var g = d.diff;
|
|
560
|
-
d.diff = function(p,
|
|
561
|
-
if (p && this.$u === p.$u) return g.call(this, p,
|
|
560
|
+
d.diff = function(p, w, _) {
|
|
561
|
+
if (p && this.$u === p.$u) return g.call(this, p, w, _);
|
|
562
562
|
var S = this.local(), N = c(p).local();
|
|
563
|
-
return g.call(S, N,
|
|
563
|
+
return g.call(S, N, w, _);
|
|
564
564
|
};
|
|
565
565
|
};
|
|
566
566
|
}));
|
|
@@ -576,52 +576,52 @@ function ss() {
|
|
|
576
576
|
})(os, (function() {
|
|
577
577
|
var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, r = {};
|
|
578
578
|
return function(o, s, i) {
|
|
579
|
-
var c, d = function(f,
|
|
579
|
+
var c, d = function(f, A, g) {
|
|
580
580
|
g === void 0 && (g = {});
|
|
581
|
-
var p = new Date(f),
|
|
581
|
+
var p = new Date(f), w = (function(_, S) {
|
|
582
582
|
S === void 0 && (S = {});
|
|
583
583
|
var N = S.timeZoneName || "short", x = _ + "|" + N, v = r[x];
|
|
584
584
|
return v || (v = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: _, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: N }), r[x] = v), v;
|
|
585
|
-
})(
|
|
586
|
-
return
|
|
587
|
-
}, l = function(f,
|
|
588
|
-
for (var g = d(f,
|
|
589
|
-
var _ = g[
|
|
585
|
+
})(A, g);
|
|
586
|
+
return w.formatToParts(p);
|
|
587
|
+
}, l = function(f, A) {
|
|
588
|
+
for (var g = d(f, A), p = [], w = 0; w < g.length; w += 1) {
|
|
589
|
+
var _ = g[w], S = _.type, N = _.value, x = n[S];
|
|
590
590
|
x >= 0 && (p[x] = parseInt(N, 10));
|
|
591
591
|
}
|
|
592
592
|
var v = p[3], B = v === 24 ? 0 : v, R = p[0] + "-" + p[1] + "-" + p[2] + " " + B + ":" + p[4] + ":" + p[5] + ":000", Y = +f;
|
|
593
593
|
return (i.utc(R).valueOf() - (Y -= Y % 1e3)) / 6e4;
|
|
594
594
|
}, u = s.prototype;
|
|
595
|
-
u.tz = function(f,
|
|
595
|
+
u.tz = function(f, A) {
|
|
596
596
|
f === void 0 && (f = c);
|
|
597
|
-
var g, p = this.utcOffset(),
|
|
598
|
-
if (!Number(N)) g = this.utcOffset(0,
|
|
599
|
-
else if (g = i(_, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(N, !0),
|
|
597
|
+
var g, p = this.utcOffset(), w = this.toDate(), _ = w.toLocaleString("en-US", { timeZone: f }), S = Math.round((w - new Date(_)) / 1e3 / 60), N = 15 * -Math.round(w.getTimezoneOffset() / 15) - S;
|
|
598
|
+
if (!Number(N)) g = this.utcOffset(0, A);
|
|
599
|
+
else if (g = i(_, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(N, !0), A) {
|
|
600
600
|
var x = g.utcOffset();
|
|
601
601
|
g = g.add(p - x, "minute");
|
|
602
602
|
}
|
|
603
603
|
return g.$x.$timezone = f, g;
|
|
604
604
|
}, u.offsetName = function(f) {
|
|
605
|
-
var
|
|
605
|
+
var A = this.$x.$timezone || i.tz.guess(), g = d(this.valueOf(), A, { timeZoneName: f }).find((function(p) {
|
|
606
606
|
return p.type.toLowerCase() === "timezonename";
|
|
607
607
|
}));
|
|
608
608
|
return g && g.value;
|
|
609
609
|
};
|
|
610
610
|
var h = u.startOf;
|
|
611
|
-
u.startOf = function(f,
|
|
612
|
-
if (!this.$x || !this.$x.$timezone) return h.call(this, f,
|
|
611
|
+
u.startOf = function(f, A) {
|
|
612
|
+
if (!this.$x || !this.$x.$timezone) return h.call(this, f, A);
|
|
613
613
|
var g = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
614
|
-
return h.call(g, f,
|
|
615
|
-
}, i.tz = function(f,
|
|
616
|
-
var p = g &&
|
|
617
|
-
if (typeof f != "string") return i(f).tz(
|
|
614
|
+
return h.call(g, f, A).tz(this.$x.$timezone, !0);
|
|
615
|
+
}, i.tz = function(f, A, g) {
|
|
616
|
+
var p = g && A, w = g || A || c, _ = l(+i(), w);
|
|
617
|
+
if (typeof f != "string") return i(f).tz(w);
|
|
618
618
|
var S = (function(B, R, Y) {
|
|
619
619
|
var te = B - 60 * R * 1e3, Q = l(te, Y);
|
|
620
620
|
if (R === Q) return [te, R];
|
|
621
621
|
var P = l(te -= 60 * (Q - R) * 1e3, Y);
|
|
622
622
|
return Q === P ? [te, Q] : [B - 60 * Math.min(Q, P) * 1e3, Math.max(Q, P)];
|
|
623
|
-
})(i.utc(f, p).valueOf(), _,
|
|
624
|
-
return v.$x.$timezone =
|
|
623
|
+
})(i.utc(f, p).valueOf(), _, w), N = S[0], x = S[1], v = i(N).utcOffset(x);
|
|
624
|
+
return v.$x.$timezone = w, v;
|
|
625
625
|
}, i.tz.guess = function() {
|
|
626
626
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
627
627
|
}, i.tz.setDefault = function(f) {
|
|
@@ -1138,11 +1138,11 @@ const Ts = async ({
|
|
|
1138
1138
|
logow: t.socialBlockLogo?.width,
|
|
1139
1139
|
logoh: t.socialBlockLogo?.height,
|
|
1140
1140
|
authorurl: n + "/autor/"
|
|
1141
|
-
}, u = e.split("/")[1], h = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], f = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema,
|
|
1141
|
+
}, u = e.split("/")[1], h = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], f = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, A = o !== "false" && s !== "false" ? "/" + o + f : f;
|
|
1142
1142
|
i = (await Promise.all(
|
|
1143
1143
|
h.map(async (p) => {
|
|
1144
|
-
const
|
|
1145
|
-
return await ga(
|
|
1144
|
+
const w = p === "/news-breadcrumb" ? { ...l, prefixtag: A } : l;
|
|
1145
|
+
return await ga(w, p, r);
|
|
1146
1146
|
})
|
|
1147
1147
|
)).map((p) => p?.data?.data ?? []);
|
|
1148
1148
|
} catch (c) {
|
|
@@ -1177,7 +1177,7 @@ const Ts = async ({
|
|
|
1177
1177
|
dangerouslySetInnerHTML: { __html: JSON.stringify(n) }
|
|
1178
1178
|
}
|
|
1179
1179
|
);
|
|
1180
|
-
},
|
|
1180
|
+
}, ks = ({ config: e }) => {
|
|
1181
1181
|
const t = {
|
|
1182
1182
|
"@context": "https://schema.org",
|
|
1183
1183
|
"@type": "WebSite",
|
|
@@ -1197,7 +1197,7 @@ const Ts = async ({
|
|
|
1197
1197
|
dangerouslySetInnerHTML: { __html: JSON.stringify(t) }
|
|
1198
1198
|
}
|
|
1199
1199
|
);
|
|
1200
|
-
},
|
|
1200
|
+
}, Us = async ({ realPath: e, config: t, axiosApi: n }) => {
|
|
1201
1201
|
try {
|
|
1202
1202
|
const r = {
|
|
1203
1203
|
path: e,
|
|
@@ -1800,8 +1800,8 @@ function xn(e, t, n) {
|
|
|
1800
1800
|
metaTokens: !0,
|
|
1801
1801
|
dots: !1,
|
|
1802
1802
|
indexes: !1
|
|
1803
|
-
}, !1, function(p,
|
|
1804
|
-
return !b.isUndefined(
|
|
1803
|
+
}, !1, function(p, w) {
|
|
1804
|
+
return !b.isUndefined(w[p]);
|
|
1805
1805
|
});
|
|
1806
1806
|
const r = n.metaTokens, o = n.visitor || u, s = n.dots, i = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && b.isSpecCompliantForm(t);
|
|
1807
1807
|
if (!b.isFunction(o))
|
|
@@ -1816,9 +1816,9 @@ function xn(e, t, n) {
|
|
|
1816
1816
|
throw new W("Blob is not supported. Use a Buffer instead.");
|
|
1817
1817
|
return b.isArrayBuffer(g) || b.isTypedArray(g) ? d && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
|
|
1818
1818
|
}
|
|
1819
|
-
function u(g, p,
|
|
1819
|
+
function u(g, p, w) {
|
|
1820
1820
|
let _ = g;
|
|
1821
|
-
if (g && !
|
|
1821
|
+
if (g && !w && typeof g == "object") {
|
|
1822
1822
|
if (b.endsWith(p, "{}"))
|
|
1823
1823
|
p = r ? p : p.slice(0, -2), g = JSON.stringify(g);
|
|
1824
1824
|
else if (b.isArray(g) && bi(g) || (b.isFileList(g) || b.endsWith(p, "[]")) && (_ = b.toArray(g)))
|
|
@@ -1830,14 +1830,14 @@ function xn(e, t, n) {
|
|
|
1830
1830
|
);
|
|
1831
1831
|
}), !1;
|
|
1832
1832
|
}
|
|
1833
|
-
return na(g) ? !0 : (t.append(Ma(
|
|
1833
|
+
return na(g) ? !0 : (t.append(Ma(w, p, s), l(g)), !1);
|
|
1834
1834
|
}
|
|
1835
1835
|
const h = [], f = Object.assign(Ci, {
|
|
1836
1836
|
defaultVisitor: u,
|
|
1837
1837
|
convertValue: l,
|
|
1838
1838
|
isVisitable: na
|
|
1839
1839
|
});
|
|
1840
|
-
function
|
|
1840
|
+
function A(g, p) {
|
|
1841
1841
|
if (!b.isUndefined(g)) {
|
|
1842
1842
|
if (h.indexOf(g) !== -1)
|
|
1843
1843
|
throw Error("Circular reference detected in " + p.join("."));
|
|
@@ -1848,13 +1848,13 @@ function xn(e, t, n) {
|
|
|
1848
1848
|
b.isString(S) ? S.trim() : S,
|
|
1849
1849
|
p,
|
|
1850
1850
|
f
|
|
1851
|
-
)) === !0 &&
|
|
1851
|
+
)) === !0 && A(_, p ? p.concat(S) : [S]);
|
|
1852
1852
|
}), h.pop();
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
1855
|
if (!b.isObject(e))
|
|
1856
1856
|
throw new TypeError("data must be an object");
|
|
1857
|
-
return
|
|
1857
|
+
return A(e), t;
|
|
1858
1858
|
}
|
|
1859
1859
|
function ja(e) {
|
|
1860
1860
|
const t = {
|
|
@@ -1970,15 +1970,15 @@ const ao = {
|
|
|
1970
1970
|
},
|
|
1971
1971
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
1972
1972
|
}, wa = typeof window < "u" && typeof document < "u", aa = typeof navigator == "object" && navigator || void 0, Ti = wa && (!aa || ["ReactNative", "NativeScript", "NS"].indexOf(aa.product) < 0), Ii = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
1973
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
1973
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ki = wa && window.location.href || "http://localhost", Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1974
1974
|
__proto__: null,
|
|
1975
1975
|
hasBrowserEnv: wa,
|
|
1976
1976
|
hasStandardBrowserEnv: Ti,
|
|
1977
1977
|
hasStandardBrowserWebWorkerEnv: Ii,
|
|
1978
1978
|
navigator: aa,
|
|
1979
|
-
origin:
|
|
1979
|
+
origin: ki
|
|
1980
1980
|
}, Symbol.toStringTag, { value: "Module" })), fe = {
|
|
1981
|
-
...
|
|
1981
|
+
...Ui,
|
|
1982
1982
|
...xi
|
|
1983
1983
|
};
|
|
1984
1984
|
function qi(e, t) {
|
|
@@ -2338,8 +2338,8 @@ function zi(e, t) {
|
|
|
2338
2338
|
f += n[h++], h = h % e;
|
|
2339
2339
|
if (o = (o + 1) % e, o === s && (s = (s + 1) % e), l - i < t)
|
|
2340
2340
|
return;
|
|
2341
|
-
const
|
|
2342
|
-
return
|
|
2341
|
+
const A = u && l - u;
|
|
2342
|
+
return A ? Math.round(f * 1e3 / A) : void 0;
|
|
2343
2343
|
};
|
|
2344
2344
|
}
|
|
2345
2345
|
function Hi(e, t) {
|
|
@@ -2513,58 +2513,58 @@ const co = (e) => {
|
|
|
2513
2513
|
const o = co(e);
|
|
2514
2514
|
let s = o.data;
|
|
2515
2515
|
const i = _e.from(o.headers).normalize();
|
|
2516
|
-
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = o, u, h, f,
|
|
2516
|
+
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = o, u, h, f, A, g;
|
|
2517
2517
|
function p() {
|
|
2518
|
-
|
|
2518
|
+
A && A(), g && g(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
|
|
2519
2519
|
}
|
|
2520
|
-
let
|
|
2521
|
-
|
|
2520
|
+
let w = new XMLHttpRequest();
|
|
2521
|
+
w.open(o.method.toUpperCase(), o.url, !0), w.timeout = o.timeout;
|
|
2522
2522
|
function _() {
|
|
2523
|
-
if (!
|
|
2523
|
+
if (!w)
|
|
2524
2524
|
return;
|
|
2525
2525
|
const N = _e.from(
|
|
2526
|
-
"getAllResponseHeaders" in
|
|
2526
|
+
"getAllResponseHeaders" in w && w.getAllResponseHeaders()
|
|
2527
2527
|
), v = {
|
|
2528
|
-
data: !c || c === "text" || c === "json" ?
|
|
2529
|
-
status:
|
|
2530
|
-
statusText:
|
|
2528
|
+
data: !c || c === "text" || c === "json" ? w.responseText : w.response,
|
|
2529
|
+
status: w.status,
|
|
2530
|
+
statusText: w.statusText,
|
|
2531
2531
|
headers: N,
|
|
2532
2532
|
config: e,
|
|
2533
|
-
request:
|
|
2533
|
+
request: w
|
|
2534
2534
|
};
|
|
2535
2535
|
so(function(R) {
|
|
2536
2536
|
n(R), p();
|
|
2537
2537
|
}, function(R) {
|
|
2538
2538
|
r(R), p();
|
|
2539
|
-
}, v),
|
|
2540
|
-
}
|
|
2541
|
-
"onloadend" in
|
|
2542
|
-
!
|
|
2543
|
-
},
|
|
2544
|
-
|
|
2545
|
-
},
|
|
2546
|
-
const v = x && x.message ? x.message : "Network Error", B = new W(v, W.ERR_NETWORK, e,
|
|
2547
|
-
B.event = x || null, r(B),
|
|
2548
|
-
},
|
|
2539
|
+
}, v), w = null;
|
|
2540
|
+
}
|
|
2541
|
+
"onloadend" in w ? w.onloadend = _ : w.onreadystatechange = function() {
|
|
2542
|
+
!w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.indexOf("file:") === 0) || setTimeout(_);
|
|
2543
|
+
}, w.onabort = function() {
|
|
2544
|
+
w && (r(new W("Request aborted", W.ECONNABORTED, e, w)), w = null);
|
|
2545
|
+
}, w.onerror = function(x) {
|
|
2546
|
+
const v = x && x.message ? x.message : "Network Error", B = new W(v, W.ERR_NETWORK, e, w);
|
|
2547
|
+
B.event = x || null, r(B), w = null;
|
|
2548
|
+
}, w.ontimeout = function() {
|
|
2549
2549
|
let x = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
2550
2550
|
const v = o.transitional || ao;
|
|
2551
2551
|
o.timeoutErrorMessage && (x = o.timeoutErrorMessage), r(new W(
|
|
2552
2552
|
x,
|
|
2553
2553
|
v.clarifyTimeoutError ? W.ETIMEDOUT : W.ECONNABORTED,
|
|
2554
2554
|
e,
|
|
2555
|
-
|
|
2556
|
-
)),
|
|
2557
|
-
}, s === void 0 && i.setContentType(null), "setRequestHeader" in
|
|
2558
|
-
|
|
2559
|
-
}), b.isUndefined(o.withCredentials) || (
|
|
2560
|
-
|
|
2555
|
+
w
|
|
2556
|
+
)), w = null;
|
|
2557
|
+
}, s === void 0 && i.setContentType(null), "setRequestHeader" in w && b.forEach(i.toJSON(), function(x, v) {
|
|
2558
|
+
w.setRequestHeader(v, x);
|
|
2559
|
+
}), b.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), c && c !== "json" && (w.responseType = o.responseType), l && ([f, g] = An(l, !0), w.addEventListener("progress", f)), d && w.upload && ([h, A] = An(d), w.upload.addEventListener("progress", h), w.upload.addEventListener("loadend", A)), (o.cancelToken || o.signal) && (u = (N) => {
|
|
2560
|
+
w && (r(!N || N.type ? new Nt(null, e, w) : N), w.abort(), w = null);
|
|
2561
2561
|
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
2562
2562
|
const S = Gi(o.url);
|
|
2563
2563
|
if (S && fe.protocols.indexOf(S) === -1) {
|
|
2564
2564
|
r(new W("Unsupported protocol " + S + ":", W.ERR_BAD_REQUEST, e));
|
|
2565
2565
|
return;
|
|
2566
2566
|
}
|
|
2567
|
-
|
|
2567
|
+
w.send(s || null);
|
|
2568
2568
|
});
|
|
2569
2569
|
}, Ji = (e, t) => {
|
|
2570
2570
|
const { length: n } = e = e ? e.filter(Boolean) : [];
|
|
@@ -2679,11 +2679,11 @@ const co = (e) => {
|
|
|
2679
2679
|
stream: u && ((g) => g.body)
|
|
2680
2680
|
};
|
|
2681
2681
|
o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((g) => {
|
|
2682
|
-
!h[g] && (h[g] = (p,
|
|
2682
|
+
!h[g] && (h[g] = (p, w) => {
|
|
2683
2683
|
let _ = p && p[g];
|
|
2684
2684
|
if (_)
|
|
2685
2685
|
return _.call(p);
|
|
2686
|
-
throw new W(`Response type '${g}' is not supported`, W.ERR_NOT_SUPPORT,
|
|
2686
|
+
throw new W(`Response type '${g}' is not supported`, W.ERR_NOT_SUPPORT, w);
|
|
2687
2687
|
});
|
|
2688
2688
|
});
|
|
2689
2689
|
const f = async (g) => {
|
|
@@ -2700,14 +2700,14 @@ const co = (e) => {
|
|
|
2700
2700
|
return g.byteLength;
|
|
2701
2701
|
if (b.isURLSearchParams(g) && (g = g + ""), b.isString(g))
|
|
2702
2702
|
return (await d(g)).byteLength;
|
|
2703
|
-
},
|
|
2704
|
-
const
|
|
2705
|
-
return
|
|
2703
|
+
}, A = async (g, p) => {
|
|
2704
|
+
const w = b.toFiniteNumber(g.getContentLength());
|
|
2705
|
+
return w ?? f(p);
|
|
2706
2706
|
};
|
|
2707
2707
|
return async (g) => {
|
|
2708
2708
|
let {
|
|
2709
2709
|
url: p,
|
|
2710
|
-
method:
|
|
2710
|
+
method: w,
|
|
2711
2711
|
data: _,
|
|
2712
2712
|
signal: S,
|
|
2713
2713
|
cancelToken: N,
|
|
@@ -2724,17 +2724,17 @@ const co = (e) => {
|
|
|
2724
2724
|
const M = ee && ee.unsubscribe && (() => {
|
|
2725
2725
|
ee.unsubscribe();
|
|
2726
2726
|
});
|
|
2727
|
-
let
|
|
2727
|
+
let k;
|
|
2728
2728
|
try {
|
|
2729
|
-
if (B && l &&
|
|
2729
|
+
if (B && l && w !== "get" && w !== "head" && (k = await A(Y, _)) !== 0) {
|
|
2730
2730
|
let C = new n(p, {
|
|
2731
2731
|
method: "POST",
|
|
2732
2732
|
body: _,
|
|
2733
2733
|
duplex: "half"
|
|
2734
|
-
}),
|
|
2735
|
-
if (b.isFormData(_) && (
|
|
2734
|
+
}), U;
|
|
2735
|
+
if (b.isFormData(_) && (U = C.headers.get("content-type")) && Y.setContentType(U), C.body) {
|
|
2736
2736
|
const [j, L] = za(
|
|
2737
|
-
|
|
2737
|
+
k,
|
|
2738
2738
|
An(Ha(B))
|
|
2739
2739
|
);
|
|
2740
2740
|
_ = Fa(C.body, Wa, j, L);
|
|
@@ -2744,7 +2744,7 @@ const co = (e) => {
|
|
|
2744
2744
|
const E = s && "credentials" in n.prototype, D = {
|
|
2745
2745
|
...Q,
|
|
2746
2746
|
signal: ee,
|
|
2747
|
-
method:
|
|
2747
|
+
method: w.toUpperCase(),
|
|
2748
2748
|
headers: Y.normalize().toJSON(),
|
|
2749
2749
|
body: _,
|
|
2750
2750
|
duplex: "half",
|
|
@@ -2758,8 +2758,8 @@ const co = (e) => {
|
|
|
2758
2758
|
["status", "statusText", "headers"].forEach((G) => {
|
|
2759
2759
|
C[G] = T[G];
|
|
2760
2760
|
});
|
|
2761
|
-
const
|
|
2762
|
-
|
|
2761
|
+
const U = b.toFiniteNumber(T.headers.get("content-length")), [j, L] = v && za(
|
|
2762
|
+
U,
|
|
2763
2763
|
An(Ha(v), !0)
|
|
2764
2764
|
) || [];
|
|
2765
2765
|
T = new r(
|
|
@@ -2771,8 +2771,8 @@ const co = (e) => {
|
|
|
2771
2771
|
}
|
|
2772
2772
|
R = R || "text";
|
|
2773
2773
|
let y = await h[b.findKey(h, R) || "text"](T, g);
|
|
2774
|
-
return !z && M && M(), await new Promise((C,
|
|
2775
|
-
so(C,
|
|
2774
|
+
return !z && M && M(), await new Promise((C, U) => {
|
|
2775
|
+
so(C, U, {
|
|
2776
2776
|
data: y,
|
|
2777
2777
|
headers: _e.from(T.headers),
|
|
2778
2778
|
status: T.status,
|
|
@@ -3006,18 +3006,18 @@ let lt = class {
|
|
|
3006
3006
|
return u;
|
|
3007
3007
|
}
|
|
3008
3008
|
f = c.length;
|
|
3009
|
-
let
|
|
3009
|
+
let A = n;
|
|
3010
3010
|
for (; h < f; ) {
|
|
3011
3011
|
const g = c[h++], p = c[h++];
|
|
3012
3012
|
try {
|
|
3013
|
-
|
|
3014
|
-
} catch (
|
|
3015
|
-
p.call(this,
|
|
3013
|
+
A = g(A);
|
|
3014
|
+
} catch (w) {
|
|
3015
|
+
p.call(this, w);
|
|
3016
3016
|
break;
|
|
3017
3017
|
}
|
|
3018
3018
|
}
|
|
3019
3019
|
try {
|
|
3020
|
-
u = Za.call(this,
|
|
3020
|
+
u = Za.call(this, A);
|
|
3021
3021
|
} catch (g) {
|
|
3022
3022
|
return Promise.reject(g);
|
|
3023
3023
|
}
|
|
@@ -3240,8 +3240,8 @@ const {
|
|
|
3240
3240
|
Axios: x9,
|
|
3241
3241
|
AxiosError: T9,
|
|
3242
3242
|
CanceledError: I9,
|
|
3243
|
-
isCancel:
|
|
3244
|
-
CancelToken:
|
|
3243
|
+
isCancel: k9,
|
|
3244
|
+
CancelToken: U9,
|
|
3245
3245
|
VERSION: q9,
|
|
3246
3246
|
all: R9,
|
|
3247
3247
|
Cancel: L9,
|
|
@@ -3453,8 +3453,8 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3453
3453
|
for (let h = 0; h < d.length; h++) {
|
|
3454
3454
|
const f = us(
|
|
3455
3455
|
d[h]
|
|
3456
|
-
),
|
|
3457
|
-
f && (u[
|
|
3456
|
+
), A = "Home_" + (Math.floor(h / s) + 1) + "_" + (Math.floor(h % s) + 1);
|
|
3457
|
+
f && (u[A] = { ...f });
|
|
3458
3458
|
}
|
|
3459
3459
|
return u;
|
|
3460
3460
|
})();
|
|
@@ -3555,7 +3555,7 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3555
3555
|
tema: async (e) => {
|
|
3556
3556
|
const { meta: t, config: n, pathname: r, slug: o } = e, s = new Le(), i = r.split("/"), c = [], d = $t(r), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(o || ""), h = u && u?.length > 0 ? u[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: f } = J();
|
|
3557
3557
|
try {
|
|
3558
|
-
const
|
|
3558
|
+
const A = await s.getNewsListTags({
|
|
3559
3559
|
tagid: h,
|
|
3560
3560
|
size: l,
|
|
3561
3561
|
tagtype: Number(f),
|
|
@@ -3563,9 +3563,9 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3563
3563
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
3564
3564
|
page: d
|
|
3565
3565
|
});
|
|
3566
|
-
if (!
|
|
3567
|
-
const g =
|
|
3568
|
-
return g ? (
|
|
3566
|
+
if (!A) return ve(t);
|
|
3567
|
+
const g = A.data.entity;
|
|
3568
|
+
return g ? (A.data.data?.length < l || c.push({
|
|
3569
3569
|
rel: "next",
|
|
3570
3570
|
url: Ft(n, i, d)
|
|
3571
3571
|
}), d > 1 && c.push({
|
|
@@ -3599,8 +3599,8 @@ const H9 = async (e, t, n, r, o, s) => {
|
|
|
3599
3599
|
url: `${n.siteUrl}${r}`
|
|
3600
3600
|
}
|
|
3601
3601
|
}) : t;
|
|
3602
|
-
} catch (
|
|
3603
|
-
return console.error(
|
|
3602
|
+
} catch (A) {
|
|
3603
|
+
return console.error(A), ve(t);
|
|
3604
3604
|
}
|
|
3605
3605
|
},
|
|
3606
3606
|
"ultimas-noticias": (e) => {
|
|
@@ -3782,10 +3782,10 @@ async function F9({
|
|
|
3782
3782
|
banners: u,
|
|
3783
3783
|
internalPath: h,
|
|
3784
3784
|
config: f,
|
|
3785
|
-
socials:
|
|
3785
|
+
socials: A,
|
|
3786
3786
|
speculationType: g = "Common",
|
|
3787
3787
|
preloadImageUrl: p,
|
|
3788
|
-
custom_Speculation:
|
|
3788
|
+
custom_Speculation: w,
|
|
3789
3789
|
custom_metadata: _,
|
|
3790
3790
|
custom_scriptReplaces: S,
|
|
3791
3791
|
head_custom_elements: N
|
|
@@ -3846,9 +3846,9 @@ async function F9({
|
|
|
3846
3846
|
axiosApi: e
|
|
3847
3847
|
}
|
|
3848
3848
|
),
|
|
3849
|
-
/* @__PURE__ */ a(Is, { config: f, socials:
|
|
3849
|
+
/* @__PURE__ */ a(Is, { config: f, socials: A }),
|
|
3850
3850
|
t.schemas_Videos && h && /* @__PURE__ */ a(
|
|
3851
|
-
|
|
3851
|
+
Us,
|
|
3852
3852
|
{
|
|
3853
3853
|
axiosApi: e,
|
|
3854
3854
|
realPath: h,
|
|
@@ -3864,13 +3864,13 @@ async function F9({
|
|
|
3864
3864
|
axiosApi: e
|
|
3865
3865
|
}
|
|
3866
3866
|
),
|
|
3867
|
-
t.schemas_WebsiteList && /* @__PURE__ */ a(
|
|
3867
|
+
t.schemas_WebsiteList && /* @__PURE__ */ a(ks, { config: f }),
|
|
3868
3868
|
/* @__PURE__ */ a(
|
|
3869
3869
|
Ss,
|
|
3870
3870
|
{
|
|
3871
3871
|
type: g,
|
|
3872
3872
|
active: f.useSpeculationRules,
|
|
3873
|
-
customSpeculation:
|
|
3873
|
+
customSpeculation: w
|
|
3874
3874
|
}
|
|
3875
3875
|
),
|
|
3876
3876
|
N
|
|
@@ -3895,7 +3895,7 @@ const W9 = ({
|
|
|
3895
3895
|
config: s,
|
|
3896
3896
|
currentNew: c,
|
|
3897
3897
|
internalPath: i
|
|
3898
|
-
}),
|
|
3898
|
+
}), A = l.before.active, g = l.after.active, p = A ? l.before.customData ? l.before.customData : f : void 0, w = g ? l.after.customData ? l.after.customData : f : void 0;
|
|
3899
3899
|
return /* @__PURE__ */ m(K, { children: [
|
|
3900
3900
|
/* @__PURE__ */ a(jr, { name: "bodybefore", banners: n, replaces: p }),
|
|
3901
3901
|
e,
|
|
@@ -3904,7 +3904,7 @@ const W9 = ({
|
|
|
3904
3904
|
/* @__PURE__ */ a(Ho, { dimensionValues: h }),
|
|
3905
3905
|
/* @__PURE__ */ a(Vo, {}),
|
|
3906
3906
|
u,
|
|
3907
|
-
/* @__PURE__ */ a(ws, { name: "bodyafter", banners: n, replaces:
|
|
3907
|
+
/* @__PURE__ */ a(ws, { name: "bodyafter", banners: n, replaces: w })
|
|
3908
3908
|
] });
|
|
3909
3909
|
}, mc = "_content_1tvgz_1", fc = {
|
|
3910
3910
|
content: mc
|
|
@@ -3947,10 +3947,10 @@ function yc({
|
|
|
3947
3947
|
enableDrag: s,
|
|
3948
3948
|
onIndexChange: i
|
|
3949
3949
|
}) {
|
|
3950
|
-
const [c, d] = $(!1), [l, u] = $(0), [h, f] = $(0), [
|
|
3950
|
+
const [c, d] = $(!1), [l, u] = $(0), [h, f] = $(0), [A, g] = $(0), [p, w] = $(0), [_, S] = $(null), N = Br(null), [x, v] = $(1), B = he(() => {
|
|
3951
3951
|
if (o) return 1;
|
|
3952
|
-
const y = N.current?.offsetWidth || window.innerWidth, C = n + r,
|
|
3953
|
-
return Math.max(1,
|
|
3952
|
+
const y = N.current?.offsetWidth || window.innerWidth, C = n + r, U = Math.floor(y / C);
|
|
3953
|
+
return Math.max(1, U);
|
|
3954
3954
|
}, [o, n, r]);
|
|
3955
3955
|
De(() => {
|
|
3956
3956
|
const y = () => {
|
|
@@ -3968,32 +3968,32 @@ function yc({
|
|
|
3968
3968
|
}, [B]), Q = he(
|
|
3969
3969
|
(y, C = 0) => {
|
|
3970
3970
|
if (o) {
|
|
3971
|
-
const
|
|
3972
|
-
return -(y * (100 + r)) + C /
|
|
3971
|
+
const U = N.current?.offsetWidth || window.innerWidth;
|
|
3972
|
+
return -(y * (100 + r)) + C / U * 100;
|
|
3973
3973
|
}
|
|
3974
3974
|
return -(y * (n + r)) + C;
|
|
3975
3975
|
},
|
|
3976
3976
|
[o, n, r]
|
|
3977
3977
|
), P = he(
|
|
3978
3978
|
(y) => {
|
|
3979
|
-
const C = N.current?.offsetWidth || window.innerWidth,
|
|
3979
|
+
const C = N.current?.offsetWidth || window.innerWidth, U = B(), j = te();
|
|
3980
3980
|
if (o)
|
|
3981
3981
|
return Math.abs(y) / C * 100 > 30 ? 1 : 0;
|
|
3982
3982
|
{
|
|
3983
3983
|
const L = n + r, G = Math.abs(y) / L;
|
|
3984
|
-
return G >= (
|
|
3984
|
+
return G >= (U === 1 ? 0.2 : 0.3) ? U === 1 ? 1 : Math.min(Math.round(G), j) : 0;
|
|
3985
3985
|
}
|
|
3986
3986
|
},
|
|
3987
3987
|
[o, n, r, B, te]
|
|
3988
3988
|
), ee = he(
|
|
3989
3989
|
(y) => {
|
|
3990
|
-
s && (u(y), f(y), g(0),
|
|
3990
|
+
s && (u(y), f(y), g(0), w(Date.now()), d(!0), document.body.classList.add("dragging"));
|
|
3991
3991
|
},
|
|
3992
3992
|
[s]
|
|
3993
3993
|
), ce = he(
|
|
3994
3994
|
(y) => {
|
|
3995
3995
|
if (!c || !s) return;
|
|
3996
|
-
const C = y - l,
|
|
3996
|
+
const C = y - l, U = (n + r) * 1.2, j = e === 0 && C > 0, L = e === Y && C < 0, G = j || L ? Math.sign(C) * Math.min(Math.abs(C), U) : C;
|
|
3997
3997
|
f(y), g(G);
|
|
3998
3998
|
},
|
|
3999
3999
|
[c, l, s, e, Y, n, r]
|
|
@@ -4002,10 +4002,10 @@ function yc({
|
|
|
4002
4002
|
ce(y.clientX);
|
|
4003
4003
|
},
|
|
4004
4004
|
[ce]
|
|
4005
|
-
),
|
|
4005
|
+
), k = he(
|
|
4006
4006
|
(y) => {
|
|
4007
4007
|
if (!c || !s) return;
|
|
4008
|
-
const C = h - l,
|
|
4008
|
+
const C = h - l, U = Date.now() - p, j = Math.abs(C) / Math.max(U, 1), L = P(C), H = j > 0.5 && Math.abs(C) > 50 ? Math.max(L, 1) : L;
|
|
4009
4009
|
if (H > 0)
|
|
4010
4010
|
if (C > 0) {
|
|
4011
4011
|
const V = Math.max(0, e - H);
|
|
@@ -4014,7 +4014,7 @@ function yc({
|
|
|
4014
4014
|
const V = Math.min(Y, e + H);
|
|
4015
4015
|
i(V);
|
|
4016
4016
|
}
|
|
4017
|
-
d(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup",
|
|
4017
|
+
d(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", k), y.clientX === l && _?.dispatchEvent(new PointerEvent("click"));
|
|
4018
4018
|
},
|
|
4019
4019
|
[
|
|
4020
4020
|
c,
|
|
@@ -4046,21 +4046,21 @@ function yc({
|
|
|
4046
4046
|
[c, ce]
|
|
4047
4047
|
), z = he(
|
|
4048
4048
|
(y) => {
|
|
4049
|
-
|
|
4049
|
+
k(y);
|
|
4050
4050
|
},
|
|
4051
|
-
[
|
|
4051
|
+
[k]
|
|
4052
4052
|
);
|
|
4053
4053
|
return De(() => {
|
|
4054
4054
|
if (c)
|
|
4055
|
-
return N.current?.addEventListener("mousemove", M), N.current?.addEventListener("mouseup",
|
|
4055
|
+
return N.current?.addEventListener("mousemove", M), N.current?.addEventListener("mouseup", k), () => {
|
|
4056
4056
|
N.current?.removeEventListener(
|
|
4057
4057
|
"mousemove",
|
|
4058
4058
|
M
|
|
4059
|
-
), N.current?.removeEventListener("mouseup",
|
|
4059
|
+
), N.current?.removeEventListener("mouseup", k);
|
|
4060
4060
|
};
|
|
4061
|
-
}, [c, ce,
|
|
4061
|
+
}, [c, ce, k, M]), {
|
|
4062
4062
|
isDragging: c,
|
|
4063
|
-
translateOffset:
|
|
4063
|
+
translateOffset: A,
|
|
4064
4064
|
carrouselRef: N,
|
|
4065
4065
|
maxIndex: Y,
|
|
4066
4066
|
getTranslateValue: Q,
|
|
@@ -4070,7 +4070,7 @@ function yc({
|
|
|
4070
4070
|
onTouchStart: D,
|
|
4071
4071
|
onTouchMove: T,
|
|
4072
4072
|
onTouchEnd: z,
|
|
4073
|
-
onMouseLeave:
|
|
4073
|
+
onMouseLeave: k
|
|
4074
4074
|
}
|
|
4075
4075
|
};
|
|
4076
4076
|
}
|
|
@@ -4084,16 +4084,16 @@ function Y9(e) {
|
|
|
4084
4084
|
fullPageWidth: i = !1,
|
|
4085
4085
|
pagination: c = !1,
|
|
4086
4086
|
enableDrag: d = !0
|
|
4087
|
-
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, h] = $(0), [f,
|
|
4087
|
+
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, h] = $(0), [f, A] = $(!1);
|
|
4088
4088
|
De(() => {
|
|
4089
|
-
|
|
4089
|
+
A(!0);
|
|
4090
4090
|
const Q = document.getElementById("ssr-dummy_" + n);
|
|
4091
4091
|
Q && Q.remove();
|
|
4092
4092
|
}, []);
|
|
4093
4093
|
const {
|
|
4094
4094
|
isDragging: g,
|
|
4095
4095
|
translateOffset: p,
|
|
4096
|
-
carrouselRef:
|
|
4096
|
+
carrouselRef: w,
|
|
4097
4097
|
maxIndex: _,
|
|
4098
4098
|
getTranslateValue: S,
|
|
4099
4099
|
actualVisibleItems: N,
|
|
@@ -4175,7 +4175,7 @@ function Y9(e) {
|
|
|
4175
4175
|
/* @__PURE__ */ a(
|
|
4176
4176
|
"div",
|
|
4177
4177
|
{
|
|
4178
|
-
ref:
|
|
4178
|
+
ref: w,
|
|
4179
4179
|
className: "carrousel-ssr",
|
|
4180
4180
|
style: {
|
|
4181
4181
|
gap: s,
|
|
@@ -4309,13 +4309,13 @@ const bc = "_content_3olxv_1", Cc = {
|
|
|
4309
4309
|
},
|
|
4310
4310
|
n.key
|
|
4311
4311
|
);
|
|
4312
|
-
}, Ec = "_boxInformation_o5vhf_1", xc = "_sectionDescriptionContainer_o5vhf_9", Tc = "_uppertitle_o5vhf_20", Ic = "_sectionDescription_o5vhf_9",
|
|
4312
|
+
}, Ec = "_boxInformation_o5vhf_1", xc = "_sectionDescriptionContainer_o5vhf_9", Tc = "_uppertitle_o5vhf_20", Ic = "_sectionDescription_o5vhf_9", kc = "_articule_o5vhf_60", Uc = "_linkStyled_o5vhf_74", qc = "_description_o5vhf_85", Rc = "_correspondent_o5vhf_113", Lc = "_correspondentLink_o5vhf_125", Bc = "_dotStyles_o5vhf_137", Oc = "_clipboardButton_o5vhf_144", Pc = "_socialNetworkSection_o5vhf_158", re = {
|
|
4313
4313
|
boxInformation: Ec,
|
|
4314
4314
|
sectionDescriptionContainer: xc,
|
|
4315
4315
|
uppertitle: Tc,
|
|
4316
4316
|
sectionDescription: Ic,
|
|
4317
|
-
articule:
|
|
4318
|
-
linkStyled:
|
|
4317
|
+
articule: kc,
|
|
4318
|
+
linkStyled: Uc,
|
|
4319
4319
|
description: qc,
|
|
4320
4320
|
correspondent: Rc,
|
|
4321
4321
|
correspondentLink: Lc,
|
|
@@ -4783,7 +4783,7 @@ const Et = (e) => {
|
|
|
4783
4783
|
children: /* @__PURE__ */ a("div", { className: se.imagePlaceholder })
|
|
4784
4784
|
}
|
|
4785
4785
|
);
|
|
4786
|
-
},
|
|
4786
|
+
}, ke = async (e) => {
|
|
4787
4787
|
const { preview: t } = e;
|
|
4788
4788
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((s) => !s.url))
|
|
4789
4789
|
return /* @__PURE__ */ a("div", { className: se.imageLogoPlaceholder });
|
|
@@ -4828,7 +4828,7 @@ const Et = (e) => {
|
|
|
4828
4828
|
},
|
|
4829
4829
|
children: [
|
|
4830
4830
|
/* @__PURE__ */ a("div", { className: Kt.numberTag, children: r + 1 }),
|
|
4831
|
-
n.main.title.home && /* @__PURE__ */ a(
|
|
4831
|
+
n.main.title.home && /* @__PURE__ */ a(ke, { preview: n.preview, priorityHigh: e.priorityHigh })
|
|
4832
4832
|
]
|
|
4833
4833
|
}
|
|
4834
4834
|
),
|
|
@@ -5801,7 +5801,7 @@ const Et = (e) => {
|
|
|
5801
5801
|
]
|
|
5802
5802
|
}
|
|
5803
5803
|
);
|
|
5804
|
-
}, sl = "_content_6azvz_1", il = "_subscribeImage_6azvz_22", cl = "_tag_6azvz_32", ll = "_contentTitle_6azvz_50", dl = "_title_6azvz_55", ul = "_inputStyled_6azvz_72", hl = "_buttonStyled_6azvz_112", ml = "_contentTerms_6azvz_123", fl = "_subscribeText_6azvz_128", gl = "_terms_6azvz_138",
|
|
5804
|
+
}, sl = "_content_6azvz_1", il = "_subscribeImage_6azvz_22", cl = "_tag_6azvz_32", ll = "_contentTitle_6azvz_50", dl = "_title_6azvz_55", ul = "_inputStyled_6azvz_72", hl = "_buttonStyled_6azvz_112", ml = "_contentTerms_6azvz_123", fl = "_subscribeText_6azvz_128", gl = "_terms_6azvz_138", Ue = {
|
|
5805
5805
|
content: sl,
|
|
5806
5806
|
subscribeImage: il,
|
|
5807
5807
|
tag: cl,
|
|
@@ -5838,14 +5838,14 @@ const Et = (e) => {
|
|
|
5838
5838
|
htmlFor: e?.toggledrawerevent === "true" ? "side-bar-state" : ""
|
|
5839
5839
|
}
|
|
5840
5840
|
) : /* @__PURE__ */ a(O, { ...r, style: o });
|
|
5841
|
-
}, pl = (e) => /* @__PURE__ */ m("section", { className: [
|
|
5842
|
-
/* @__PURE__ */ a("div", { className:
|
|
5843
|
-
/* @__PURE__ */ a("div", { className:
|
|
5844
|
-
/* @__PURE__ */ m("div", { className:
|
|
5845
|
-
/* @__PURE__ */ a("p", { className:
|
|
5846
|
-
/* @__PURE__ */ a("p", { className:
|
|
5841
|
+
}, pl = (e) => /* @__PURE__ */ m("section", { className: [Ue.content, e.className ?? ""].join(" "), children: [
|
|
5842
|
+
/* @__PURE__ */ a("div", { className: Ue.subscribeImage, children: e.image }),
|
|
5843
|
+
/* @__PURE__ */ a("div", { className: Ue.tag, children: e.texts.newsletterTag ?? "NEWS" }),
|
|
5844
|
+
/* @__PURE__ */ m("div", { className: Ue.contentTitle, children: [
|
|
5845
|
+
/* @__PURE__ */ a("p", { className: Ue.title, children: e.title }),
|
|
5846
|
+
/* @__PURE__ */ a("p", { className: Ue.subTitle, children: e.sibtitle })
|
|
5847
5847
|
] }),
|
|
5848
|
-
/* @__PURE__ */ a("div", { className:
|
|
5848
|
+
/* @__PURE__ */ a("div", { className: Ue.inputStyled, children: /* @__PURE__ */ a(
|
|
5849
5849
|
"input",
|
|
5850
5850
|
{
|
|
5851
5851
|
type: "email",
|
|
@@ -5853,10 +5853,10 @@ const Et = (e) => {
|
|
|
5853
5853
|
id: "newsletter-email-column"
|
|
5854
5854
|
}
|
|
5855
5855
|
) }),
|
|
5856
|
-
/* @__PURE__ */ a(In, { className:
|
|
5857
|
-
/* @__PURE__ */ m("div", { className:
|
|
5858
|
-
/* @__PURE__ */ a("p", { className:
|
|
5859
|
-
/* @__PURE__ */ a(O, { className:
|
|
5856
|
+
/* @__PURE__ */ a(In, { className: Ue.buttonStyled, size: "large", full: !0, children: e.texts.newsletterButtonText ?? "Suscribirme" }),
|
|
5857
|
+
/* @__PURE__ */ m("div", { className: Ue.contentTerms, children: [
|
|
5858
|
+
/* @__PURE__ */ a("p", { className: Ue.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
5859
|
+
/* @__PURE__ */ a(O, { className: Ue.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
|
|
5860
5860
|
] })
|
|
5861
5861
|
] }), Al = "_content_1ms2y_1", wl = "_contentInfo_1ms2y_20", yl = "_subscribeImage_1ms2y_28", vl = "_tag_1ms2y_42", bl = "_contentTitle_1ms2y_60", Cl = "_title_1ms2y_65", _l = "_subTitle_1ms2y_70", Nl = "_inputStyled_1ms2y_79", Sl = "_buttonStyled_1ms2y_118", El = "_contentTerms_1ms2y_131", xl = "_subscribeText_1ms2y_137", Tl = "_terms_1ms2y_146", xe = {
|
|
5862
5862
|
content: Al,
|
|
@@ -5895,7 +5895,7 @@ const Et = (e) => {
|
|
|
5895
5895
|
/* @__PURE__ */ a(O, { className: xe.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
|
|
5896
5896
|
] })
|
|
5897
5897
|
] })
|
|
5898
|
-
] }),
|
|
5898
|
+
] }), kl = (e) => /* @__PURE__ */ m(
|
|
5899
5899
|
"svg",
|
|
5900
5900
|
{
|
|
5901
5901
|
width: "284",
|
|
@@ -5936,8 +5936,8 @@ const Et = (e) => {
|
|
|
5936
5936
|
] })
|
|
5937
5937
|
]
|
|
5938
5938
|
}
|
|
5939
|
-
),
|
|
5940
|
-
content:
|
|
5939
|
+
), Ul = "_content_qzaly_1", ql = "_subscribeImage_qzaly_16", Rl = "_contentTitle_qzaly_22", Ll = "_title_qzaly_33", Bl = "_subTitle_qzaly_40", Ol = "_contentTerms_qzaly_60", Pl = "_whatsappLink_qzaly_65", Dl = "_subscribeText_qzaly_82", Ml = "_terms_qzaly_92", Qe = {
|
|
5940
|
+
content: Ul,
|
|
5941
5941
|
subscribeImage: ql,
|
|
5942
5942
|
contentTitle: Rl,
|
|
5943
5943
|
title: Ll,
|
|
@@ -5947,7 +5947,7 @@ const Et = (e) => {
|
|
|
5947
5947
|
subscribeText: Dl,
|
|
5948
5948
|
terms: Ml
|
|
5949
5949
|
}, K9 = (e) => /* @__PURE__ */ m("section", { className: Qe.content, children: [
|
|
5950
|
-
/* @__PURE__ */ a(
|
|
5950
|
+
/* @__PURE__ */ a(kl, { className: Qe.subscribeImage }),
|
|
5951
5951
|
/* @__PURE__ */ m("div", { className: Qe.contentTitle, children: [
|
|
5952
5952
|
/* @__PURE__ */ a("p", { className: Qe.title, children: "Mantenete Informado" }),
|
|
5953
5953
|
/* @__PURE__ */ a("p", { className: Qe.subTitle, children: "¿Quieres recibir las noticias más importantes? ¡Suscríbete sin costo, recíbelas por WhatsApp!" })
|
|
@@ -6280,7 +6280,7 @@ const Et = (e) => {
|
|
|
6280
6280
|
)
|
|
6281
6281
|
] })
|
|
6282
6282
|
] });
|
|
6283
|
-
}, cd = "_content_1e93o_1", ld = "_imageContent_1e93o_9", dd = "_width1Autor_1e93o_18", ud = "_width2Autor_1e93o_22", hd = "_width3Autor_1e93o_26", md = "_imageAutor_1e93o_30", fd = "_imageStyled_1e93o_69", gd = "_contentIconStyled_1e93o_70", pd = "_avatarContent_1e93o_87", Ad = "_journalistSection_1e93o_95", wd = "_journalistInfo_1e93o_103", yd = "_journalistInfoLink_1e93o_104", vd = "_socialNetworkSection_1e93o_139", bd = "_avatarStyled_1e93o_151", Cd = "_article_1e93o_156", _d = "_socialButton_1e93o_160", Nd = "_facebookStyled_1e93o_176", Sd = "_emailStyled_1e93o_180", Ed = "_xStyled_1e93o_184", xd = "_linkedinStyled_1e93o_188", Td = "_whatsappStyled_1e93o_192", Id = "_whatsappLink_1e93o_196",
|
|
6283
|
+
}, cd = "_content_1e93o_1", ld = "_imageContent_1e93o_9", dd = "_width1Autor_1e93o_18", ud = "_width2Autor_1e93o_22", hd = "_width3Autor_1e93o_26", md = "_imageAutor_1e93o_30", fd = "_imageStyled_1e93o_69", gd = "_contentIconStyled_1e93o_70", pd = "_avatarContent_1e93o_87", Ad = "_journalistSection_1e93o_95", wd = "_journalistInfo_1e93o_103", yd = "_journalistInfoLink_1e93o_104", vd = "_socialNetworkSection_1e93o_139", bd = "_avatarStyled_1e93o_151", Cd = "_article_1e93o_156", _d = "_socialButton_1e93o_160", Nd = "_facebookStyled_1e93o_176", Sd = "_emailStyled_1e93o_180", Ed = "_xStyled_1e93o_184", xd = "_linkedinStyled_1e93o_188", Td = "_whatsappStyled_1e93o_192", Id = "_whatsappLink_1e93o_196", kd = "_clipboardButton_1e93o_212", Ud = "_googleProfileButton_1e93o_248", de = {
|
|
6284
6284
|
content: cd,
|
|
6285
6285
|
imageContent: ld,
|
|
6286
6286
|
width1Autor: dd,
|
|
@@ -6303,8 +6303,8 @@ const Et = (e) => {
|
|
|
6303
6303
|
linkedinStyled: xd,
|
|
6304
6304
|
whatsappStyled: Td,
|
|
6305
6305
|
whatsappLink: Id,
|
|
6306
|
-
clipboardButton:
|
|
6307
|
-
googleProfileButton:
|
|
6306
|
+
clipboardButton: kd,
|
|
6307
|
+
googleProfileButton: Ud
|
|
6308
6308
|
}, qd = (e) => /* @__PURE__ */ a(
|
|
6309
6309
|
"svg",
|
|
6310
6310
|
{
|
|
@@ -6571,8 +6571,8 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6571
6571
|
const { currentPage: t, showNext: n, maxPages: r, pathname: o, query: s } = e, i = (c, d, l) => {
|
|
6572
6572
|
let u = "";
|
|
6573
6573
|
const h = d.split("/");
|
|
6574
|
-
return h.indexOf("page") !== -1 && h.splice(u.indexOf("page") - 1, h.length - 1), h.forEach((f,
|
|
6575
|
-
|
|
6574
|
+
return h.indexOf("page") !== -1 && h.splice(u.indexOf("page") - 1, h.length - 1), h.forEach((f, A) => {
|
|
6575
|
+
A !== 0 && (u += `/${f}`);
|
|
6576
6576
|
}), c === "next" ? u += `/page/${t + 1}${l ? `?query=${l}` : ""}` : u += `/page/${t - 1}${l ? `?query=${l}` : ""}`;
|
|
6577
6577
|
};
|
|
6578
6578
|
return (t > 1 || n && t < r) && /* @__PURE__ */ m("section", { className: On.content, children: [
|
|
@@ -6627,7 +6627,8 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6627
6627
|
isTitle: l,
|
|
6628
6628
|
priorityHigh: u = !1,
|
|
6629
6629
|
isLarge: h,
|
|
6630
|
-
paths: f
|
|
6630
|
+
paths: f,
|
|
6631
|
+
keywords: A
|
|
6631
6632
|
} = e;
|
|
6632
6633
|
return /* @__PURE__ */ m(
|
|
6633
6634
|
"section",
|
|
@@ -6646,7 +6647,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6646
6647
|
href: r?.link?.url,
|
|
6647
6648
|
target: r?.link?.target,
|
|
6648
6649
|
children: /* @__PURE__ */ a(
|
|
6649
|
-
|
|
6650
|
+
ke,
|
|
6650
6651
|
{
|
|
6651
6652
|
preview: o,
|
|
6652
6653
|
isVideo: i,
|
|
@@ -6667,7 +6668,8 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6667
6668
|
config: c,
|
|
6668
6669
|
overImage: d,
|
|
6669
6670
|
isTitle: l,
|
|
6670
|
-
paths: f
|
|
6671
|
+
paths: f,
|
|
6672
|
+
keywords: A
|
|
6671
6673
|
}
|
|
6672
6674
|
) })
|
|
6673
6675
|
]
|
|
@@ -6680,7 +6682,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6680
6682
|
sectionDescription: o1,
|
|
6681
6683
|
articule: s1,
|
|
6682
6684
|
linkStyled: i1
|
|
6683
|
-
},
|
|
6685
|
+
}, kn = (e) => {
|
|
6684
6686
|
const {
|
|
6685
6687
|
isVideo: t,
|
|
6686
6688
|
info: n,
|
|
@@ -6695,7 +6697,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6695
6697
|
title: r?.title?.section,
|
|
6696
6698
|
href: n.link.url,
|
|
6697
6699
|
target: n.link.target,
|
|
6698
|
-
children: /* @__PURE__ */ a(
|
|
6700
|
+
children: /* @__PURE__ */ a(ke, { preview: e.preview, isVideo: t })
|
|
6699
6701
|
}
|
|
6700
6702
|
),
|
|
6701
6703
|
/* @__PURE__ */ m(
|
|
@@ -6765,18 +6767,18 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6765
6767
|
e.required && /* @__PURE__ */ a("span", { className: It.required, children: "*" })
|
|
6766
6768
|
] }),
|
|
6767
6769
|
/* @__PURE__ */ a("input", { className: It.input, ...e })
|
|
6768
|
-
] }), b1 = "_content_zgx5w_1", C1 = "_contentLabel_zgx5w_8", _1 = "_label_zgx5w_13", N1 = "_required_zgx5w_22", S1 = "_input_zgx5w_28",
|
|
6770
|
+
] }), b1 = "_content_zgx5w_1", C1 = "_contentLabel_zgx5w_8", _1 = "_label_zgx5w_13", N1 = "_required_zgx5w_22", S1 = "_input_zgx5w_28", kt = {
|
|
6769
6771
|
content: b1,
|
|
6770
6772
|
contentLabel: C1,
|
|
6771
6773
|
label: _1,
|
|
6772
6774
|
required: N1,
|
|
6773
6775
|
input: S1
|
|
6774
|
-
}, t3 = (e) => /* @__PURE__ */ m("div", { className:
|
|
6775
|
-
/* @__PURE__ */ m("div", { className:
|
|
6776
|
-
/* @__PURE__ */ a("label", { className:
|
|
6777
|
-
e.required && /* @__PURE__ */ a("span", { className:
|
|
6776
|
+
}, t3 = (e) => /* @__PURE__ */ m("div", { className: kt.content, children: [
|
|
6777
|
+
/* @__PURE__ */ m("div", { className: kt.contentLabel, children: [
|
|
6778
|
+
/* @__PURE__ */ a("label", { className: kt.label, children: e.label }),
|
|
6779
|
+
e.required && /* @__PURE__ */ a("span", { className: kt.required, children: "*" })
|
|
6778
6780
|
] }),
|
|
6779
|
-
/* @__PURE__ */ m("select", { className:
|
|
6781
|
+
/* @__PURE__ */ m("select", { className: kt.input, ...e, children: [
|
|
6780
6782
|
/* @__PURE__ */ a("option", { value: "", children: "--Seleccione--" }),
|
|
6781
6783
|
e.options.map((t, n) => /* @__PURE__ */ a("option", { value: t.value, children: t.label }, n))
|
|
6782
6784
|
] })
|
|
@@ -6787,10 +6789,10 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6787
6789
|
}, n3 = (e) => /* @__PURE__ */ m("div", { className: Pn.content, children: [
|
|
6788
6790
|
/* @__PURE__ */ a("label", { className: Pn.label, children: e.label }),
|
|
6789
6791
|
/* @__PURE__ */ a("textarea", { className: Pn.input, ...e })
|
|
6790
|
-
] }), I1 = "_boxInformation_achvw_1",
|
|
6792
|
+
] }), I1 = "_boxInformation_achvw_1", k1 = "_textBox_achvw_30", U1 = "_contentBox_achvw_40", q1 = "_liveBox_achvw_50", R1 = "_dot_achvw_72", L1 = "_sectionDescription_achvw_97", B1 = "_articule_achvw_110", O1 = "_description_achvw_137", et = {
|
|
6791
6793
|
boxInformation: I1,
|
|
6792
|
-
textBox:
|
|
6793
|
-
contentBox:
|
|
6794
|
+
textBox: k1,
|
|
6795
|
+
contentBox: U1,
|
|
6794
6796
|
liveBox: q1,
|
|
6795
6797
|
dot: R1,
|
|
6796
6798
|
sectionDescription: L1,
|
|
@@ -6802,7 +6804,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6802
6804
|
}, yo = (e) => {
|
|
6803
6805
|
let t = "";
|
|
6804
6806
|
return e.preview.description && (t = e.preview.description), e.preview.copyright && (t = `${t} ${e.preview.copyright}`), e.preview.photographer && (t = `${t} ${e.preview.photographer}`), /* @__PURE__ */ m("div", { className: vn.content, children: [
|
|
6805
|
-
/* @__PURE__ */ a(
|
|
6807
|
+
/* @__PURE__ */ a(ke, { preview: e.preview, isLarge: !0, priorityHigh: !0 }),
|
|
6806
6808
|
t && /* @__PURE__ */ a("div", { className: vn.description, children: t })
|
|
6807
6809
|
] });
|
|
6808
6810
|
}, M1 = (e) => /* @__PURE__ */ a(K, { children: /* @__PURE__ */ m("div", { className: et.boxInformation, children: [
|
|
@@ -7140,11 +7142,11 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7140
7142
|
}
|
|
7141
7143
|
)
|
|
7142
7144
|
] })
|
|
7143
|
-
] }) }), Tu = "_content_gcte1_1", Iu = "_titleContent_gcte1_24",
|
|
7145
|
+
] }) }), Tu = "_content_gcte1_1", Iu = "_titleContent_gcte1_24", ku = "_title_gcte1_24", Uu = "_startLine_gcte1_88", qu = "_line_gcte1_93", Ru = "_bottomLine_gcte1_99", Lu = "_childrenContent_gcte1_118", Bu = "_readMore_gcte1_131", ze = {
|
|
7144
7146
|
content: Tu,
|
|
7145
7147
|
titleContent: Iu,
|
|
7146
|
-
title:
|
|
7147
|
-
startLine:
|
|
7148
|
+
title: ku,
|
|
7149
|
+
startLine: Uu,
|
|
7148
7150
|
line: qu,
|
|
7149
7151
|
bottomLine: Ru,
|
|
7150
7152
|
childrenContent: Lu,
|
|
@@ -7378,7 +7380,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7378
7380
|
)
|
|
7379
7381
|
]
|
|
7380
7382
|
}
|
|
7381
|
-
), eh = "_content_1k52x_1", th = "_chipStyled_1k52x_17", nh = "_headLine_1k52x_17", ah = "_live_1k52x_25", rh = "_closeLiveStyled_1k52x_88",
|
|
7383
|
+
), eh = "_content_1k52x_1", th = "_chipStyled_1k52x_17", nh = "_headLine_1k52x_17", ah = "_live_1k52x_25", rh = "_closeLiveStyled_1k52x_88", Ut = {
|
|
7382
7384
|
content: eh,
|
|
7383
7385
|
chipStyled: th,
|
|
7384
7386
|
headLine: nh,
|
|
@@ -7388,7 +7390,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7388
7390
|
const { alertZone: t, id: n = "close-alert" } = e, r = () => /* @__PURE__ */ a(
|
|
7389
7391
|
O,
|
|
7390
7392
|
{
|
|
7391
|
-
className:
|
|
7393
|
+
className: Ut.headLine,
|
|
7392
7394
|
href: t?.data[0]?.info.link.url,
|
|
7393
7395
|
target: t?.data[0]?.info.link.target,
|
|
7394
7396
|
title: t?.data[0]?.main.title.home,
|
|
@@ -7409,17 +7411,17 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7409
7411
|
"div",
|
|
7410
7412
|
{
|
|
7411
7413
|
id: "alert-chip",
|
|
7412
|
-
className:
|
|
7414
|
+
className: Ut.content,
|
|
7413
7415
|
style: e.forceShow ? {
|
|
7414
7416
|
display: "flex",
|
|
7415
7417
|
position: "sticky",
|
|
7416
7418
|
top: 100
|
|
7417
7419
|
} : {},
|
|
7418
7420
|
children: [
|
|
7419
|
-
/* @__PURE__ */ m("div", { className:
|
|
7420
|
-
/* @__PURE__ */ a("div", { className:
|
|
7421
|
+
/* @__PURE__ */ m("div", { className: Ut.live, children: [
|
|
7422
|
+
/* @__PURE__ */ a("div", { className: Ut.chipStyled, children: t?.entity?.description }),
|
|
7421
7423
|
e.forceShow && /* @__PURE__ */ a(r, {}),
|
|
7422
|
-
/* @__PURE__ */ a("label", { htmlFor: n, children: /* @__PURE__ */ a(xt, { className:
|
|
7424
|
+
/* @__PURE__ */ a("label", { htmlFor: n, children: /* @__PURE__ */ a(xt, { className: Ut.closeLiveStyled }) })
|
|
7423
7425
|
] }),
|
|
7424
7426
|
/* @__PURE__ */ a(r, {})
|
|
7425
7427
|
]
|
|
@@ -7492,7 +7494,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7492
7494
|
i
|
|
7493
7495
|
)) })
|
|
7494
7496
|
] });
|
|
7495
|
-
}, vh = "_headerStyled_t61zq_1", bh = "_headerContent_t61zq_14", Ch = "_iconContent_t61zq_25", _h = "_menuButton_t61zq_34", Nh = "_logoStyled_t61zq_66", Sh = "_buttonSection_t61zq_94", Eh = "_buttonSectionSearch_t61zq_109", xh = "_headLineContent_t61zq_130", Th = "_headLineTitle_t61zq_143", Ih = "_headLine_t61zq_130",
|
|
7497
|
+
}, vh = "_headerStyled_t61zq_1", bh = "_headerContent_t61zq_14", Ch = "_iconContent_t61zq_25", _h = "_menuButton_t61zq_34", Nh = "_logoStyled_t61zq_66", Sh = "_buttonSection_t61zq_94", Eh = "_buttonSectionSearch_t61zq_109", xh = "_headLineContent_t61zq_130", Th = "_headLineTitle_t61zq_143", Ih = "_headLine_t61zq_130", kh = "_hasAlertZone_t61zq_196", Ie = {
|
|
7496
7498
|
headerStyled: vh,
|
|
7497
7499
|
headerContent: bh,
|
|
7498
7500
|
iconContent: Ch,
|
|
@@ -7503,8 +7505,8 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7503
7505
|
headLineContent: xh,
|
|
7504
7506
|
headLineTitle: Th,
|
|
7505
7507
|
headLine: Ih,
|
|
7506
|
-
hasAlertZone:
|
|
7507
|
-
},
|
|
7508
|
+
hasAlertZone: kh
|
|
7509
|
+
}, Uh = (e) => {
|
|
7508
7510
|
const { alertZone: t } = e;
|
|
7509
7511
|
return /* @__PURE__ */ m("header", { className: Ie.headerStyled, children: [
|
|
7510
7512
|
e.socialIcons && /* @__PURE__ */ a(
|
|
@@ -7733,7 +7735,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7733
7735
|
}, r3 = (e) => {
|
|
7734
7736
|
const { alertZone: t, children: n, sidebar: r } = e;
|
|
7735
7737
|
return /* @__PURE__ */ m(K, { children: [
|
|
7736
|
-
/* @__PURE__ */ a(
|
|
7738
|
+
/* @__PURE__ */ a(Uh, { ...e }),
|
|
7737
7739
|
!e.showOnlyStickyHeader && /* @__PURE__ */ a(tm, { ...e }),
|
|
7738
7740
|
/* @__PURE__ */ m(
|
|
7739
7741
|
"div",
|
|
@@ -8028,10 +8030,10 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8028
8030
|
},
|
|
8029
8031
|
`author-${r.firstname}`
|
|
8030
8032
|
)) });
|
|
8031
|
-
}, Im = "_content_1j0pj_1",
|
|
8033
|
+
}, Im = "_content_1j0pj_1", km = "_contentNews_1j0pj_10", Um = "_linkTitle_1j0pj_27", qm = "_tag_1j0pj_35", Rm = "_tagmx_1j0pj_55", Lm = "_titular_1j0pj_70", Bm = "_correspondent_1j0pj_85", Om = "_correspondentLink_1j0pj_96", Pm = "_description_1j0pj_107", Fe = {
|
|
8032
8034
|
content: Im,
|
|
8033
|
-
contentNews:
|
|
8034
|
-
linkTitle:
|
|
8035
|
+
contentNews: km,
|
|
8036
|
+
linkTitle: Um,
|
|
8035
8037
|
tag: qm,
|
|
8036
8038
|
tagmx: Rm,
|
|
8037
8039
|
titular: Lm,
|
|
@@ -8062,7 +8064,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8062
8064
|
"--lineHeightImageNewsTitleMobile": e.isVertical ? "26px" : "36px"
|
|
8063
8065
|
},
|
|
8064
8066
|
children: /* @__PURE__ */ a(
|
|
8065
|
-
|
|
8067
|
+
ke,
|
|
8066
8068
|
{
|
|
8067
8069
|
preview: e.preview,
|
|
8068
8070
|
isLarge: !0,
|
|
@@ -8318,7 +8320,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8318
8320
|
className: Qn.headerSectionLink,
|
|
8319
8321
|
href: s?.info?.link?.url,
|
|
8320
8322
|
target: s?.info?.link?.target,
|
|
8321
|
-
children: /* @__PURE__ */ a(
|
|
8323
|
+
children: /* @__PURE__ */ a(ke, { preview: s.preview })
|
|
8322
8324
|
}
|
|
8323
8325
|
)
|
|
8324
8326
|
] }),
|
|
@@ -8626,9 +8628,9 @@ const o3 = (e) => {
|
|
|
8626
8628
|
})
|
|
8627
8629
|
}
|
|
8628
8630
|
) });
|
|
8629
|
-
},
|
|
8630
|
-
newsContent:
|
|
8631
|
-
contentSeparator:
|
|
8631
|
+
}, k2 = "_newsContent_1gbse_1", U2 = "_contentSeparator_1gbse_8", q2 = "_newsContentWhitoutLine_1gbse_29", Gn = {
|
|
8632
|
+
newsContent: k2,
|
|
8633
|
+
contentSeparator: U2,
|
|
8632
8634
|
newsContentWhitoutLine: q2
|
|
8633
8635
|
}, R2 = (e) => {
|
|
8634
8636
|
const { content: t, title: n } = e;
|
|
@@ -8678,7 +8680,7 @@ const o3 = (e) => {
|
|
|
8678
8680
|
target: o?.info?.link.target,
|
|
8679
8681
|
"aria-label": "Video",
|
|
8680
8682
|
children: /* @__PURE__ */ a(
|
|
8681
|
-
|
|
8683
|
+
ke,
|
|
8682
8684
|
{
|
|
8683
8685
|
preview: {
|
|
8684
8686
|
sizes: o?.main?.image.sizes,
|
|
@@ -8739,7 +8741,7 @@ const o3 = (e) => {
|
|
|
8739
8741
|
target: e?.info?.link?.target,
|
|
8740
8742
|
title: e.main?.title?.section,
|
|
8741
8743
|
href: t ? e.info.link.url : e?.info?.section?.url,
|
|
8742
|
-
children: /* @__PURE__ */ a(
|
|
8744
|
+
children: /* @__PURE__ */ a(ke, { preview: e.preview })
|
|
8743
8745
|
}
|
|
8744
8746
|
),
|
|
8745
8747
|
/* @__PURE__ */ m("div", { className: Rt.textContent, children: [
|
|
@@ -8831,7 +8833,7 @@ const o3 = (e) => {
|
|
|
8831
8833
|
"--heightImageOverwrite": e.heightImageOverwrite,
|
|
8832
8834
|
"--heightImageOverwriteMobile": e.heightImageOverwriteMobile
|
|
8833
8835
|
},
|
|
8834
|
-
children: /* @__PURE__ */ a(
|
|
8836
|
+
children: /* @__PURE__ */ a(kn, { ...c, paths: e.paths })
|
|
8835
8837
|
},
|
|
8836
8838
|
i
|
|
8837
8839
|
);
|
|
@@ -9248,13 +9250,13 @@ const o3 = (e) => {
|
|
|
9248
9250
|
}
|
|
9249
9251
|
);
|
|
9250
9252
|
}
|
|
9251
|
-
}, Ef = "_content_jrssz_1", xf = "_contentWithinCard_jrssz_7", Tf = "_contentDate_jrssz_13", If = "_dateInfo_jrssz_20",
|
|
9253
|
+
}, Ef = "_content_jrssz_1", xf = "_contentWithinCard_jrssz_7", Tf = "_contentDate_jrssz_13", If = "_dateInfo_jrssz_20", kf = "_dot_jrssz_30", Uf = "_contentTitle_jrssz_38", qf = "_contentTextList_jrssz_47", Rf = "_contentButton_jrssz_101", Lf = "_linkStyled_jrssz_107", $e = {
|
|
9252
9254
|
content: Ef,
|
|
9253
9255
|
contentWithinCard: xf,
|
|
9254
9256
|
contentDate: Tf,
|
|
9255
9257
|
dateInfo: If,
|
|
9256
|
-
dot:
|
|
9257
|
-
contentTitle:
|
|
9258
|
+
dot: kf,
|
|
9259
|
+
contentTitle: Uf,
|
|
9258
9260
|
contentTextList: qf,
|
|
9259
9261
|
contentButton: Rf,
|
|
9260
9262
|
linkStyled: Lf
|
|
@@ -9318,7 +9320,7 @@ const Qf = async ({
|
|
|
9318
9320
|
)
|
|
9319
9321
|
] }),
|
|
9320
9322
|
/* @__PURE__ */ a("p", { className: $e.contentTitle, children: e[0]?.list.integrated ? s.title : `${s.index}. ${s.title}` }),
|
|
9321
|
-
s.image && /* @__PURE__ */ a(
|
|
9323
|
+
s.image && /* @__PURE__ */ a(ke, { preview: s.image, isLarge: !0 }),
|
|
9322
9324
|
/* @__PURE__ */ a(
|
|
9323
9325
|
"div",
|
|
9324
9326
|
{
|
|
@@ -9510,7 +9512,7 @@ const Hf = () => /* @__PURE__ */ m("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9510
9512
|
visibleItems: 1,
|
|
9511
9513
|
pagination: !0,
|
|
9512
9514
|
cardGap: 0,
|
|
9513
|
-
children: s && s.map((i, c) => /* @__PURE__ */ a(
|
|
9515
|
+
children: s && s.map((i, c) => /* @__PURE__ */ a(ke, { preview: i, priorityHigh: !0 }, c))
|
|
9514
9516
|
}
|
|
9515
9517
|
),
|
|
9516
9518
|
/* @__PURE__ */ a("div", { className: vn.description, children: s && s[0]?.description })
|
|
@@ -9522,12 +9524,12 @@ function Xf(e) {
|
|
|
9522
9524
|
const d = [], l = [];
|
|
9523
9525
|
let u = "", h = !0;
|
|
9524
9526
|
for (let f = 0; f < c; f++) {
|
|
9525
|
-
const
|
|
9527
|
+
const A = `[data-index="${f}"]:checked ~ .carrousel-pagination li:nth-child(${f + 1}) {
|
|
9526
9528
|
background-color:var(--carrousel-pagination-background-color)
|
|
9527
9529
|
}`;
|
|
9528
9530
|
u += `
|
|
9529
9531
|
.${n}.carrousel-container {
|
|
9530
|
-
${
|
|
9532
|
+
${A}
|
|
9531
9533
|
[data-index="${f}"]:checked ~ .carrousel-ssr {
|
|
9532
9534
|
transform: translate(-${f * (100 + o) + "%"});
|
|
9533
9535
|
transition: transform 300ms;
|
|
@@ -9661,13 +9663,13 @@ const e0 = (e) => /* @__PURE__ */ a(
|
|
|
9661
9663
|
(g) => g[1]
|
|
9662
9664
|
).map(
|
|
9663
9665
|
(g) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${g}" class="carrusel-note-item" width="800" height="469"/>`
|
|
9664
|
-
), f = "gallery_embeded" + d.toString(),
|
|
9666
|
+
), f = "gallery_embeded" + d.toString(), A = Xf({
|
|
9665
9667
|
slot_id: f,
|
|
9666
9668
|
children: h,
|
|
9667
9669
|
visibleItems: 1,
|
|
9668
9670
|
cardGap: 0
|
|
9669
9671
|
});
|
|
9670
|
-
r +=
|
|
9672
|
+
r += A, o = l;
|
|
9671
9673
|
}
|
|
9672
9674
|
return r += e.slice(o), r;
|
|
9673
9675
|
}, o0 = async (e, t, n) => {
|
|
@@ -9679,7 +9681,7 @@ const e0 = (e) => /* @__PURE__ */ a(
|
|
|
9679
9681
|
(S) => d.includes(S?.[0]?.info.link.internal || "")
|
|
9680
9682
|
);
|
|
9681
9683
|
if (!l || !l[0]) continue;
|
|
9682
|
-
const u = l[0].preview?.sizes?.[0], h = u ? await pe(u.url) : "", f = l[0].info.section?.url ?? "#",
|
|
9684
|
+
const u = l[0].preview?.sizes?.[0], h = u ? await pe(u.url) : "", f = l[0].info.section?.url ?? "#", A = l[0].info.section?.name ?? "Sección", g = l[0].info.link?.url ?? "#", p = l[0].main?.title.article ?? "Título", w = (await Promise.all(
|
|
9683
9685
|
l[0].preview?.sizes?.map(async (S) => {
|
|
9684
9686
|
const N = await pe(S.url);
|
|
9685
9687
|
return S.width < 200 ? `<source srcset="${N}" media="(width < 750px)"/>` : `<source srcset="${N}" media="(width >= 750px)"/>`;
|
|
@@ -9687,11 +9689,11 @@ const e0 = (e) => /* @__PURE__ */ a(
|
|
|
9687
9689
|
)).reduce((S, N) => S += N, ""), _ = `
|
|
9688
9690
|
<span data-src="${d}">
|
|
9689
9691
|
<picture style='display: flex'>
|
|
9690
|
-
${
|
|
9692
|
+
${w}
|
|
9691
9693
|
<img fetchPriority='low' loading='lazy' src="${h}" alt="${t.noteRelatedImageAlt}" />
|
|
9692
9694
|
</picture>
|
|
9693
9695
|
<div>
|
|
9694
|
-
<a class="section" href="${f}">${
|
|
9696
|
+
<a class="section" href="${f}">${A}</a>
|
|
9695
9697
|
<a class="title" href="${g}">${p}</a>
|
|
9696
9698
|
</div>
|
|
9697
9699
|
</span>
|
|
@@ -9713,12 +9715,12 @@ async function s0(e, t) {
|
|
|
9713
9715
|
} catch {
|
|
9714
9716
|
console.log("error fetching schema videos embed.");
|
|
9715
9717
|
}
|
|
9716
|
-
let
|
|
9718
|
+
let A = "";
|
|
9717
9719
|
if (h && h.data) {
|
|
9718
9720
|
let g = "";
|
|
9719
9721
|
h.data.data[0].info.type === "video-youtube" ? g = `<iframe
|
|
9720
9722
|
frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen
|
|
9721
|
-
style="position: relative!important;" src="https://www.youtube.com/embed/${h.data.data[0].main.code}"></iframe>` : g = h.data.data[0].main.code,
|
|
9723
|
+
style="position: relative!important;" src="https://www.youtube.com/embed/${h.data.data[0].main.code}"></iframe>` : g = h.data.data[0].main.code, A = `
|
|
9722
9724
|
<figure class="videoFigure">
|
|
9723
9725
|
${f && f.data && f.data.data && /* @__PURE__ */ m("script", { type: "application/ld+json", children: [
|
|
9724
9726
|
"$",
|
|
@@ -9731,7 +9733,7 @@ async function s0(e, t) {
|
|
|
9731
9733
|
</figure>
|
|
9732
9734
|
`;
|
|
9733
9735
|
}
|
|
9734
|
-
o +=
|
|
9736
|
+
o += A, s = u;
|
|
9735
9737
|
}
|
|
9736
9738
|
return o += e.slice(s), o;
|
|
9737
9739
|
}
|
|
@@ -9890,7 +9892,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
9890
9892
|
title: { ...s.main.title, section: o ? s.main.title.home : s.main.title.section }
|
|
9891
9893
|
} };
|
|
9892
9894
|
return /* @__PURE__ */ a(
|
|
9893
|
-
|
|
9895
|
+
kn,
|
|
9894
9896
|
{
|
|
9895
9897
|
...c,
|
|
9896
9898
|
titleGradient: !0,
|
|
@@ -9914,7 +9916,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
9914
9916
|
title: { ...s.main.title, section: o ? s.main.title.home : s.main.title.section }
|
|
9915
9917
|
} };
|
|
9916
9918
|
return /* @__PURE__ */ a(
|
|
9917
|
-
|
|
9919
|
+
kn,
|
|
9918
9920
|
{
|
|
9919
9921
|
...c,
|
|
9920
9922
|
titleGradient: !0,
|
|
@@ -9941,7 +9943,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
9941
9943
|
title: { ...s.main.title, section: o ? s.main.title.home : s.main.title.section }
|
|
9942
9944
|
} };
|
|
9943
9945
|
return /* @__PURE__ */ ot(
|
|
9944
|
-
|
|
9946
|
+
kn,
|
|
9945
9947
|
{
|
|
9946
9948
|
...c,
|
|
9947
9949
|
key: i,
|
|
@@ -9965,7 +9967,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
9965
9967
|
containerCards: x0,
|
|
9966
9968
|
image: T0,
|
|
9967
9969
|
blockHeadContainer: I0
|
|
9968
|
-
},
|
|
9970
|
+
}, k0 = (e) => {
|
|
9969
9971
|
const { content: t, title: n, isVideo: r } = e;
|
|
9970
9972
|
if (!t || t.length === 0) return;
|
|
9971
9973
|
const o = t[0], s = t.slice(1), i = e.slot_id && e.slot_id !== "Nota_1";
|
|
@@ -9982,7 +9984,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
9982
9984
|
/* @__PURE__ */ a("p", { className: st.title, children: o?.main?.title.home }),
|
|
9983
9985
|
o?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className: st.subtitle, children: o?.main?.subtitle?.striped })
|
|
9984
9986
|
] }),
|
|
9985
|
-
/* @__PURE__ */ a(
|
|
9987
|
+
/* @__PURE__ */ a(ke, { preview: o.preview })
|
|
9986
9988
|
]
|
|
9987
9989
|
}
|
|
9988
9990
|
) }),
|
|
@@ -10017,7 +10019,7 @@ const c0 = "_content_cu8lm_1", l0 = "_title_cu8lm_18", fr = {
|
|
|
10017
10019
|
"Modulo 1x4": (e) => /* @__PURE__ */ a(I2, { ...e }),
|
|
10018
10020
|
"Modulo 1x5": (e) => /* @__PURE__ */ a(R2, { ...e }),
|
|
10019
10021
|
"Destacado noticias": (e) => /* @__PURE__ */ a(Xm, { ...e }),
|
|
10020
|
-
"Destacado full width": (e) => /* @__PURE__ */ a(
|
|
10022
|
+
"Destacado full width": (e) => /* @__PURE__ */ a(k0, { ...e }),
|
|
10021
10023
|
"Destacado videos": (e) => /* @__PURE__ */ a(P2, { ...e }),
|
|
10022
10024
|
"Carrusel card": (e) => /* @__PURE__ */ a(K2, { ...e }),
|
|
10023
10025
|
"Carrusel story": (e) => /* @__PURE__ */ a(v0, { ...e }),
|
|
@@ -10119,25 +10121,25 @@ const Ar = {
|
|
|
10119
10121
|
const c = [], l = t, u = Object.keys(e).length / l;
|
|
10120
10122
|
for (let h = 1; h <= u; h++)
|
|
10121
10123
|
for (let f = 1; f <= l; f++) {
|
|
10122
|
-
const
|
|
10123
|
-
!e[
|
|
10124
|
+
const A = "Home_" + h + "_" + f;
|
|
10125
|
+
!e[A] || !e[A].blockSass || !e[A].blockSass[0] || !e[A].blockSass[0].value || !e[A].blockSass[0].block || e[A].blockSass[0].block === "No Mostrar" || c.push(
|
|
10124
10126
|
/* @__PURE__ */ m(
|
|
10125
10127
|
wc,
|
|
10126
10128
|
{
|
|
10127
|
-
show: !!e[
|
|
10129
|
+
show: !!e[A].content?.data,
|
|
10128
10130
|
order: (h - 1) * l + (f - 1),
|
|
10129
10131
|
children: [
|
|
10130
10132
|
/* @__PURE__ */ a(
|
|
10131
10133
|
xo,
|
|
10132
10134
|
{
|
|
10133
|
-
component: e[
|
|
10135
|
+
component: e[A].blockSass[0].block,
|
|
10134
10136
|
banners: s,
|
|
10135
|
-
slot_id:
|
|
10137
|
+
slot_id: A,
|
|
10136
10138
|
data: {
|
|
10137
|
-
...e[
|
|
10138
|
-
content: e[
|
|
10139
|
-
title: e[
|
|
10140
|
-
titleUrl: e[
|
|
10139
|
+
...e[A].blockSass[0].block ? n[e[A].blockSass[0].block] : [],
|
|
10140
|
+
content: e[A].content?.data ?? [],
|
|
10141
|
+
title: e[A].blockSass[0].title ?? void 0,
|
|
10142
|
+
titleUrl: e[A].blockSass[0].link ?? void 0,
|
|
10141
10143
|
autorIcon: /* @__PURE__ */ a(r, {}),
|
|
10142
10144
|
paths: o.paths,
|
|
10143
10145
|
showTagBySection: i
|
|
@@ -10201,7 +10203,7 @@ const Ar = {
|
|
|
10201
10203
|
),
|
|
10202
10204
|
/* @__PURE__ */ a(dt, { children: /* @__PURE__ */ a(at, { banners: r, index: 1 }) })
|
|
10203
10205
|
] });
|
|
10204
|
-
},
|
|
10206
|
+
}, U0 = (e) => {
|
|
10205
10207
|
const { config: t, hascontent: n } = e, r = t.articlepreview, o = [
|
|
10206
10208
|
rt.videoEmbedded,
|
|
10207
10209
|
rt.videoYouTube,
|
|
@@ -10348,7 +10350,7 @@ const Ar = {
|
|
|
10348
10350
|
getVideos: l,
|
|
10349
10351
|
noteShare: e.noteShare,
|
|
10350
10352
|
paths: e.paths,
|
|
10351
|
-
showHeaderImage: !
|
|
10353
|
+
showHeaderImage: !U0(s[0])
|
|
10352
10354
|
}
|
|
10353
10355
|
),
|
|
10354
10356
|
/* @__PURE__ */ a(ge, { banners: r ?? [], name: "block_3" })
|
|
@@ -10556,7 +10558,7 @@ const Ar = {
|
|
|
10556
10558
|
showNext: !(t.length < e.newsListLimit)
|
|
10557
10559
|
}
|
|
10558
10560
|
),
|
|
10559
|
-
children: Array.isArray(t) && t?.map((
|
|
10561
|
+
children: Array.isArray(t) && t?.map((A, g) => /* @__PURE__ */ m(gn, { children: [
|
|
10560
10562
|
h.includes(g + 1) && /* @__PURE__ */ a(
|
|
10561
10563
|
"div",
|
|
10562
10564
|
{
|
|
@@ -10574,7 +10576,7 @@ const Ar = {
|
|
|
10574
10576
|
ia,
|
|
10575
10577
|
{
|
|
10576
10578
|
autorIcon: e.autorIcon,
|
|
10577
|
-
item:
|
|
10579
|
+
item: A,
|
|
10578
10580
|
option: l,
|
|
10579
10581
|
paths: e.paths
|
|
10580
10582
|
},
|
|
@@ -10747,7 +10749,7 @@ const Ar = {
|
|
|
10747
10749
|
target: t.info.link.target,
|
|
10748
10750
|
children: /* @__PURE__ */ m("section", { className: vr.container, children: [
|
|
10749
10751
|
/* @__PURE__ */ a(
|
|
10750
|
-
|
|
10752
|
+
ke,
|
|
10751
10753
|
{
|
|
10752
10754
|
isLarge: !0,
|
|
10753
10755
|
preview: {
|
|
@@ -11023,7 +11025,7 @@ const Sg = (e) => {
|
|
|
11023
11025
|
isVideo: u = !1,
|
|
11024
11026
|
config: h,
|
|
11025
11027
|
overImage: f = "default",
|
|
11026
|
-
isTitle:
|
|
11028
|
+
isTitle: A = !1,
|
|
11027
11029
|
isLarge: g = !1
|
|
11028
11030
|
} = o;
|
|
11029
11031
|
return /* @__PURE__ */ a(
|
|
@@ -11053,7 +11055,7 @@ const Sg = (e) => {
|
|
|
11053
11055
|
}
|
|
11054
11056
|
),
|
|
11055
11057
|
/* @__PURE__ */ a("div", { className: Pt.newsDescription, children: /* @__PURE__ */ a(
|
|
11056
|
-
|
|
11058
|
+
kg,
|
|
11057
11059
|
{
|
|
11058
11060
|
main: i,
|
|
11059
11061
|
authors: c,
|
|
@@ -11062,7 +11064,7 @@ const Sg = (e) => {
|
|
|
11062
11064
|
share: e.share,
|
|
11063
11065
|
config: h,
|
|
11064
11066
|
overImage: f,
|
|
11065
|
-
isTitle:
|
|
11067
|
+
isTitle: A,
|
|
11066
11068
|
paths: o.paths,
|
|
11067
11069
|
isVisible: e.isVisible
|
|
11068
11070
|
}
|
|
@@ -11074,7 +11076,7 @@ const Sg = (e) => {
|
|
|
11074
11076
|
})
|
|
11075
11077
|
}
|
|
11076
11078
|
);
|
|
11077
|
-
},
|
|
11079
|
+
}, kg = (e) => {
|
|
11078
11080
|
const { share: t = !1, cutSubtitle: n = !0 } = e, o = (() => {
|
|
11079
11081
|
if (!e?.authors || e.authors.length === 0) return "";
|
|
11080
11082
|
const s = e.authors[0], i = Me(e.info?.date?.modified);
|
|
@@ -11127,7 +11129,7 @@ const Sg = (e) => {
|
|
|
11127
11129
|
}
|
|
11128
11130
|
) : /* @__PURE__ */ a("div", { className: re.correspondent, children: o }) })
|
|
11129
11131
|
] });
|
|
11130
|
-
},
|
|
11132
|
+
}, Ug = ({
|
|
11131
11133
|
user: e,
|
|
11132
11134
|
handleLogout: t,
|
|
11133
11135
|
message: n
|
|
@@ -11260,9 +11262,9 @@ async function v3({
|
|
|
11260
11262
|
throw new Error(`Respuesta inesperada del servidor: ${h.status}`);
|
|
11261
11263
|
} catch (h) {
|
|
11262
11264
|
if (console.error("Error reporting comment:", h), oe.isAxiosError(h)) {
|
|
11263
|
-
const f = h.response?.status,
|
|
11265
|
+
const f = h.response?.status, A = h.response?.data;
|
|
11264
11266
|
throw f === 400 ? new Error("Datos inválidos para el reporte") : f === 401 ? new Error("Token de API inválido") : f === 403 ? new Error("Acceso denegado para reportar comentario") : f === 404 ? new Error("Comentario no encontrado") : f === 409 ? new Error("El comentario ya fue reportado por este usuario") : f === 500 ? new Error("Error interno del servidor CMS") : new Error(
|
|
11265
|
-
|
|
11267
|
+
A?.error || A?.message || `Error HTTP ${f}: No se pudo reportar el comentario`
|
|
11266
11268
|
);
|
|
11267
11269
|
}
|
|
11268
11270
|
throw h;
|
|
@@ -11325,7 +11327,7 @@ var Cr;
|
|
|
11325
11327
|
function Xg() {
|
|
11326
11328
|
if (Cr) return ne;
|
|
11327
11329
|
Cr = 1;
|
|
11328
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120,
|
|
11330
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
11329
11331
|
function N(v) {
|
|
11330
11332
|
if (typeof v == "object" && v !== null) {
|
|
11331
11333
|
var B = v.$$typeof;
|
|
@@ -11344,7 +11346,7 @@ function Xg() {
|
|
|
11344
11346
|
case c:
|
|
11345
11347
|
case u:
|
|
11346
11348
|
case g:
|
|
11347
|
-
case
|
|
11349
|
+
case A:
|
|
11348
11350
|
case i:
|
|
11349
11351
|
return v;
|
|
11350
11352
|
default:
|
|
@@ -11359,7 +11361,7 @@ function Xg() {
|
|
|
11359
11361
|
function x(v) {
|
|
11360
11362
|
return N(v) === l;
|
|
11361
11363
|
}
|
|
11362
|
-
return ne.AsyncMode = d, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = i, ne.Element = t, ne.ForwardRef = u, ne.Fragment = r, ne.Lazy = g, ne.Memo =
|
|
11364
|
+
return ne.AsyncMode = d, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = i, ne.Element = t, ne.ForwardRef = u, ne.Fragment = r, ne.Lazy = g, ne.Memo = A, ne.Portal = n, ne.Profiler = s, ne.StrictMode = o, ne.Suspense = h, ne.isAsyncMode = function(v) {
|
|
11363
11365
|
return x(v) || N(v) === d;
|
|
11364
11366
|
}, ne.isConcurrentMode = x, ne.isContextConsumer = function(v) {
|
|
11365
11367
|
return N(v) === c;
|
|
@@ -11374,7 +11376,7 @@ function Xg() {
|
|
|
11374
11376
|
}, ne.isLazy = function(v) {
|
|
11375
11377
|
return N(v) === g;
|
|
11376
11378
|
}, ne.isMemo = function(v) {
|
|
11377
|
-
return N(v) ===
|
|
11379
|
+
return N(v) === A;
|
|
11378
11380
|
}, ne.isPortal = function(v) {
|
|
11379
11381
|
return N(v) === n;
|
|
11380
11382
|
}, ne.isProfiler = function(v) {
|
|
@@ -11384,17 +11386,17 @@ function Xg() {
|
|
|
11384
11386
|
}, ne.isSuspense = function(v) {
|
|
11385
11387
|
return N(v) === h;
|
|
11386
11388
|
}, ne.isValidElementType = function(v) {
|
|
11387
|
-
return typeof v == "string" || typeof v == "function" || v === r || v === l || v === s || v === o || v === h || v === f || typeof v == "object" && v !== null && (v.$$typeof === g || v.$$typeof ===
|
|
11389
|
+
return typeof v == "string" || typeof v == "function" || v === r || v === l || v === s || v === o || v === h || v === f || typeof v == "object" && v !== null && (v.$$typeof === g || v.$$typeof === A || v.$$typeof === i || v.$$typeof === c || v.$$typeof === u || v.$$typeof === w || v.$$typeof === _ || v.$$typeof === S || v.$$typeof === p);
|
|
11388
11390
|
}, ne.typeOf = N, ne;
|
|
11389
11391
|
}
|
|
11390
11392
|
var ae = {};
|
|
11391
11393
|
var _r;
|
|
11392
11394
|
function ep() {
|
|
11393
11395
|
return _r || (_r = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
11394
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120,
|
|
11396
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
11395
11397
|
function N(q) {
|
|
11396
11398
|
return typeof q == "string" || typeof q == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
11397
|
-
q === r || q === l || q === s || q === o || q === h || q === f || typeof q == "object" && q !== null && (q.$$typeof === g || q.$$typeof ===
|
|
11399
|
+
q === r || q === l || q === s || q === o || q === h || q === f || typeof q == "object" && q !== null && (q.$$typeof === g || q.$$typeof === A || q.$$typeof === i || q.$$typeof === c || q.$$typeof === u || q.$$typeof === w || q.$$typeof === _ || q.$$typeof === S || q.$$typeof === p);
|
|
11398
11400
|
}
|
|
11399
11401
|
function x(q) {
|
|
11400
11402
|
if (typeof q == "object" && q !== null) {
|
|
@@ -11411,14 +11413,14 @@ function ep() {
|
|
|
11411
11413
|
case h:
|
|
11412
11414
|
return Vt;
|
|
11413
11415
|
default:
|
|
11414
|
-
var
|
|
11415
|
-
switch (
|
|
11416
|
+
var ka = Vt && Vt.$$typeof;
|
|
11417
|
+
switch (ka) {
|
|
11416
11418
|
case c:
|
|
11417
11419
|
case u:
|
|
11418
11420
|
case g:
|
|
11419
|
-
case
|
|
11421
|
+
case A:
|
|
11420
11422
|
case i:
|
|
11421
|
-
return
|
|
11423
|
+
return ka;
|
|
11422
11424
|
default:
|
|
11423
11425
|
return Ae;
|
|
11424
11426
|
}
|
|
@@ -11428,7 +11430,7 @@ function ep() {
|
|
|
11428
11430
|
}
|
|
11429
11431
|
}
|
|
11430
11432
|
}
|
|
11431
|
-
var v = d, B = l, R = c, Y = i, te = t, Q = u, P = r, ee = g, ce =
|
|
11433
|
+
var v = d, B = l, R = c, Y = i, te = t, Q = u, P = r, ee = g, ce = A, M = n, k = s, E = o, D = h, T = !1;
|
|
11432
11434
|
function z(q) {
|
|
11433
11435
|
return T || (T = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(q) || x(q) === d;
|
|
11434
11436
|
}
|
|
@@ -11438,7 +11440,7 @@ function ep() {
|
|
|
11438
11440
|
function C(q) {
|
|
11439
11441
|
return x(q) === c;
|
|
11440
11442
|
}
|
|
11441
|
-
function
|
|
11443
|
+
function U(q) {
|
|
11442
11444
|
return x(q) === i;
|
|
11443
11445
|
}
|
|
11444
11446
|
function j(q) {
|
|
@@ -11454,7 +11456,7 @@ function ep() {
|
|
|
11454
11456
|
return x(q) === g;
|
|
11455
11457
|
}
|
|
11456
11458
|
function V(q) {
|
|
11457
|
-
return x(q) ===
|
|
11459
|
+
return x(q) === A;
|
|
11458
11460
|
}
|
|
11459
11461
|
function Z(q) {
|
|
11460
11462
|
return x(q) === n;
|
|
@@ -11468,7 +11470,7 @@ function ep() {
|
|
|
11468
11470
|
function ie(q) {
|
|
11469
11471
|
return x(q) === h;
|
|
11470
11472
|
}
|
|
11471
|
-
ae.AsyncMode = v, ae.ConcurrentMode = B, ae.ContextConsumer = R, ae.ContextProvider = Y, ae.Element = te, ae.ForwardRef = Q, ae.Fragment = P, ae.Lazy = ee, ae.Memo = ce, ae.Portal = M, ae.Profiler =
|
|
11473
|
+
ae.AsyncMode = v, ae.ConcurrentMode = B, ae.ContextConsumer = R, ae.ContextProvider = Y, ae.Element = te, ae.ForwardRef = Q, ae.Fragment = P, ae.Lazy = ee, ae.Memo = ce, ae.Portal = M, ae.Profiler = k, ae.StrictMode = E, ae.Suspense = D, ae.isAsyncMode = z, ae.isConcurrentMode = y, ae.isContextConsumer = C, ae.isContextProvider = U, ae.isElement = j, ae.isForwardRef = L, ae.isFragment = G, ae.isLazy = H, ae.isMemo = V, ae.isPortal = Z, ae.isProfiler = X, ae.isStrictMode = F, ae.isSuspense = ie, ae.isValidElementType = N, ae.typeOf = x;
|
|
11472
11474
|
})()), ae;
|
|
11473
11475
|
}
|
|
11474
11476
|
var Nr;
|
|
@@ -11529,7 +11531,7 @@ function Ta() {
|
|
|
11529
11531
|
return $n = e, $n;
|
|
11530
11532
|
}
|
|
11531
11533
|
var Yn, xr;
|
|
11532
|
-
function
|
|
11534
|
+
function ko() {
|
|
11533
11535
|
return xr || (xr = 1, Yn = Function.call.bind(Object.prototype.hasOwnProperty)), Yn;
|
|
11534
11536
|
}
|
|
11535
11537
|
var Kn, Tr;
|
|
@@ -11539,7 +11541,7 @@ function np() {
|
|
|
11539
11541
|
var e = function() {
|
|
11540
11542
|
};
|
|
11541
11543
|
if (process.env.NODE_ENV !== "production") {
|
|
11542
|
-
var t = /* @__PURE__ */ Ta(), n = {}, r = /* @__PURE__ */
|
|
11544
|
+
var t = /* @__PURE__ */ Ta(), n = {}, r = /* @__PURE__ */ ko();
|
|
11543
11545
|
e = function(s) {
|
|
11544
11546
|
var i = "Warning: " + s;
|
|
11545
11547
|
typeof console < "u" && console.error(i);
|
|
@@ -11569,9 +11571,9 @@ function np() {
|
|
|
11569
11571
|
(d || "React class") + ": type specification of " + c + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
11570
11572
|
), h instanceof Error && !(h.message in n)) {
|
|
11571
11573
|
n[h.message] = !0;
|
|
11572
|
-
var
|
|
11574
|
+
var A = l ? l() : "";
|
|
11573
11575
|
e(
|
|
11574
|
-
"Failed " + c + " type: " + h.message + (
|
|
11576
|
+
"Failed " + c + " type: " + h.message + (A ?? "")
|
|
11575
11577
|
);
|
|
11576
11578
|
}
|
|
11577
11579
|
}
|
|
@@ -11585,7 +11587,7 @@ var Jn, Ir;
|
|
|
11585
11587
|
function ap() {
|
|
11586
11588
|
if (Ir) return Jn;
|
|
11587
11589
|
Ir = 1;
|
|
11588
|
-
var e = xa(), t = tp(), n = /* @__PURE__ */ Ta(), r = /* @__PURE__ */
|
|
11590
|
+
var e = xa(), t = tp(), n = /* @__PURE__ */ Ta(), r = /* @__PURE__ */ ko(), o = /* @__PURE__ */ np(), s = function() {
|
|
11589
11591
|
};
|
|
11590
11592
|
process.env.NODE_ENV !== "production" && (s = function(c) {
|
|
11591
11593
|
var d = "Warning: " + c;
|
|
@@ -11605,7 +11607,7 @@ function ap() {
|
|
|
11605
11607
|
if (typeof C == "function")
|
|
11606
11608
|
return C;
|
|
11607
11609
|
}
|
|
11608
|
-
var f = "<<anonymous>>",
|
|
11610
|
+
var f = "<<anonymous>>", A = {
|
|
11609
11611
|
array: _("array"),
|
|
11610
11612
|
bigint: _("bigint"),
|
|
11611
11613
|
bool: _("boolean"),
|
|
@@ -11633,9 +11635,9 @@ function ap() {
|
|
|
11633
11635
|
this.message = y, this.data = C && typeof C == "object" ? C : {}, this.stack = "";
|
|
11634
11636
|
}
|
|
11635
11637
|
p.prototype = Error.prototype;
|
|
11636
|
-
function
|
|
11638
|
+
function w(y) {
|
|
11637
11639
|
if (process.env.NODE_ENV !== "production")
|
|
11638
|
-
var C = {},
|
|
11640
|
+
var C = {}, U = 0;
|
|
11639
11641
|
function j(G, H, V, Z, X, F, ie) {
|
|
11640
11642
|
if (Z = Z || f, F = F || V, ie !== n) {
|
|
11641
11643
|
if (d) {
|
|
@@ -11646,9 +11648,9 @@ function ap() {
|
|
|
11646
11648
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
11647
11649
|
var Ae = Z + ":" + V;
|
|
11648
11650
|
!C[Ae] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
11649
|
-
|
|
11651
|
+
U < 3 && (s(
|
|
11650
11652
|
"You are manually calling a React.PropTypes validation function for the `" + F + "` prop on `" + Z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
11651
|
-
), C[Ae] = !0,
|
|
11653
|
+
), C[Ae] = !0, U++);
|
|
11652
11654
|
}
|
|
11653
11655
|
}
|
|
11654
11656
|
return H[V] == null ? G ? H[V] === null ? new p("The " + X + " `" + F + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new p("The " + X + " `" + F + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : y(H, V, Z, X, F);
|
|
@@ -11657,8 +11659,8 @@ function ap() {
|
|
|
11657
11659
|
return L.isRequired = j.bind(null, !0), L;
|
|
11658
11660
|
}
|
|
11659
11661
|
function _(y) {
|
|
11660
|
-
function C(
|
|
11661
|
-
var Z =
|
|
11662
|
+
function C(U, j, L, G, H, V) {
|
|
11663
|
+
var Z = U[j], X = E(Z);
|
|
11662
11664
|
if (X !== y) {
|
|
11663
11665
|
var F = D(Z);
|
|
11664
11666
|
return new p(
|
|
@@ -11668,16 +11670,16 @@ function ap() {
|
|
|
11668
11670
|
}
|
|
11669
11671
|
return null;
|
|
11670
11672
|
}
|
|
11671
|
-
return
|
|
11673
|
+
return w(C);
|
|
11672
11674
|
}
|
|
11673
11675
|
function S() {
|
|
11674
|
-
return
|
|
11676
|
+
return w(i);
|
|
11675
11677
|
}
|
|
11676
11678
|
function N(y) {
|
|
11677
|
-
function C(
|
|
11679
|
+
function C(U, j, L, G, H) {
|
|
11678
11680
|
if (typeof y != "function")
|
|
11679
11681
|
return new p("Property `" + H + "` of component `" + L + "` has invalid PropType notation inside arrayOf.");
|
|
11680
|
-
var V =
|
|
11682
|
+
var V = U[j];
|
|
11681
11683
|
if (!Array.isArray(V)) {
|
|
11682
11684
|
var Z = E(V);
|
|
11683
11685
|
return new p("Invalid " + G + " `" + H + "` of type " + ("`" + Z + "` supplied to `" + L + "`, expected an array."));
|
|
@@ -11689,47 +11691,47 @@ function ap() {
|
|
|
11689
11691
|
}
|
|
11690
11692
|
return null;
|
|
11691
11693
|
}
|
|
11692
|
-
return
|
|
11694
|
+
return w(C);
|
|
11693
11695
|
}
|
|
11694
11696
|
function x() {
|
|
11695
|
-
function y(C,
|
|
11696
|
-
var H = C[
|
|
11697
|
+
function y(C, U, j, L, G) {
|
|
11698
|
+
var H = C[U];
|
|
11697
11699
|
if (!c(H)) {
|
|
11698
11700
|
var V = E(H);
|
|
11699
11701
|
return new p("Invalid " + L + " `" + G + "` of type " + ("`" + V + "` supplied to `" + j + "`, expected a single ReactElement."));
|
|
11700
11702
|
}
|
|
11701
11703
|
return null;
|
|
11702
11704
|
}
|
|
11703
|
-
return
|
|
11705
|
+
return w(y);
|
|
11704
11706
|
}
|
|
11705
11707
|
function v() {
|
|
11706
|
-
function y(C,
|
|
11707
|
-
var H = C[
|
|
11708
|
+
function y(C, U, j, L, G) {
|
|
11709
|
+
var H = C[U];
|
|
11708
11710
|
if (!e.isValidElementType(H)) {
|
|
11709
11711
|
var V = E(H);
|
|
11710
11712
|
return new p("Invalid " + L + " `" + G + "` of type " + ("`" + V + "` supplied to `" + j + "`, expected a single ReactElement type."));
|
|
11711
11713
|
}
|
|
11712
11714
|
return null;
|
|
11713
11715
|
}
|
|
11714
|
-
return
|
|
11716
|
+
return w(y);
|
|
11715
11717
|
}
|
|
11716
11718
|
function B(y) {
|
|
11717
|
-
function C(
|
|
11718
|
-
if (!(
|
|
11719
|
-
var V = y.name || f, Z = z(
|
|
11719
|
+
function C(U, j, L, G, H) {
|
|
11720
|
+
if (!(U[j] instanceof y)) {
|
|
11721
|
+
var V = y.name || f, Z = z(U[j]);
|
|
11720
11722
|
return new p("Invalid " + G + " `" + H + "` of type " + ("`" + Z + "` supplied to `" + L + "`, expected ") + ("instance of `" + V + "`."));
|
|
11721
11723
|
}
|
|
11722
11724
|
return null;
|
|
11723
11725
|
}
|
|
11724
|
-
return
|
|
11726
|
+
return w(C);
|
|
11725
11727
|
}
|
|
11726
11728
|
function R(y) {
|
|
11727
11729
|
if (!Array.isArray(y))
|
|
11728
11730
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
11729
11731
|
"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])."
|
|
11730
11732
|
) : s("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
11731
|
-
function C(
|
|
11732
|
-
for (var V =
|
|
11733
|
+
function C(U, j, L, G, H) {
|
|
11734
|
+
for (var V = U[j], Z = 0; Z < y.length; Z++)
|
|
11733
11735
|
if (g(V, y[Z]))
|
|
11734
11736
|
return null;
|
|
11735
11737
|
var X = JSON.stringify(y, function(ie, q) {
|
|
@@ -11738,13 +11740,13 @@ function ap() {
|
|
|
11738
11740
|
});
|
|
11739
11741
|
return new p("Invalid " + G + " `" + H + "` of value `" + String(V) + "` " + ("supplied to `" + L + "`, expected one of " + X + "."));
|
|
11740
11742
|
}
|
|
11741
|
-
return
|
|
11743
|
+
return w(C);
|
|
11742
11744
|
}
|
|
11743
11745
|
function Y(y) {
|
|
11744
|
-
function C(
|
|
11746
|
+
function C(U, j, L, G, H) {
|
|
11745
11747
|
if (typeof y != "function")
|
|
11746
11748
|
return new p("Property `" + H + "` of component `" + L + "` has invalid PropType notation inside objectOf.");
|
|
11747
|
-
var V =
|
|
11749
|
+
var V = U[j], Z = E(V);
|
|
11748
11750
|
if (Z !== "object")
|
|
11749
11751
|
return new p("Invalid " + G + " `" + H + "` of type " + ("`" + Z + "` supplied to `" + L + "`, expected an object."));
|
|
11750
11752
|
for (var X in V)
|
|
@@ -11755,16 +11757,16 @@ function ap() {
|
|
|
11755
11757
|
}
|
|
11756
11758
|
return null;
|
|
11757
11759
|
}
|
|
11758
|
-
return
|
|
11760
|
+
return w(C);
|
|
11759
11761
|
}
|
|
11760
11762
|
function te(y) {
|
|
11761
11763
|
if (!Array.isArray(y))
|
|
11762
11764
|
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), i;
|
|
11763
11765
|
for (var C = 0; C < y.length; C++) {
|
|
11764
|
-
var
|
|
11765
|
-
if (typeof
|
|
11766
|
+
var U = y[C];
|
|
11767
|
+
if (typeof U != "function")
|
|
11766
11768
|
return s(
|
|
11767
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + T(
|
|
11769
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + T(U) + " at index " + C + "."
|
|
11768
11770
|
), i;
|
|
11769
11771
|
}
|
|
11770
11772
|
function j(L, G, H, V, Z) {
|
|
@@ -11777,22 +11779,22 @@ function ap() {
|
|
|
11777
11779
|
var Ae = X.length > 0 ? ", expected one of type [" + X.join(", ") + "]" : "";
|
|
11778
11780
|
return new p("Invalid " + V + " `" + Z + "` supplied to " + ("`" + H + "`" + Ae + "."));
|
|
11779
11781
|
}
|
|
11780
|
-
return
|
|
11782
|
+
return w(j);
|
|
11781
11783
|
}
|
|
11782
11784
|
function Q() {
|
|
11783
|
-
function y(C,
|
|
11784
|
-
return M(C[
|
|
11785
|
+
function y(C, U, j, L, G) {
|
|
11786
|
+
return M(C[U]) ? null : new p("Invalid " + L + " `" + G + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
|
|
11785
11787
|
}
|
|
11786
|
-
return
|
|
11788
|
+
return w(y);
|
|
11787
11789
|
}
|
|
11788
|
-
function P(y, C,
|
|
11790
|
+
function P(y, C, U, j, L) {
|
|
11789
11791
|
return new p(
|
|
11790
|
-
(y || "React class") + ": " + C + " type `" +
|
|
11792
|
+
(y || "React class") + ": " + C + " type `" + U + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + L + "`."
|
|
11791
11793
|
);
|
|
11792
11794
|
}
|
|
11793
11795
|
function ee(y) {
|
|
11794
|
-
function C(
|
|
11795
|
-
var V =
|
|
11796
|
+
function C(U, j, L, G, H) {
|
|
11797
|
+
var V = U[j], Z = E(V);
|
|
11796
11798
|
if (Z !== "object")
|
|
11797
11799
|
return new p("Invalid " + G + " `" + H + "` of type `" + Z + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
11798
11800
|
for (var X in y) {
|
|
@@ -11805,21 +11807,21 @@ function ap() {
|
|
|
11805
11807
|
}
|
|
11806
11808
|
return null;
|
|
11807
11809
|
}
|
|
11808
|
-
return
|
|
11810
|
+
return w(C);
|
|
11809
11811
|
}
|
|
11810
11812
|
function ce(y) {
|
|
11811
|
-
function C(
|
|
11812
|
-
var V =
|
|
11813
|
+
function C(U, j, L, G, H) {
|
|
11814
|
+
var V = U[j], Z = E(V);
|
|
11813
11815
|
if (Z !== "object")
|
|
11814
11816
|
return new p("Invalid " + G + " `" + H + "` of type `" + Z + "` " + ("supplied to `" + L + "`, expected `object`."));
|
|
11815
|
-
var X = t({},
|
|
11817
|
+
var X = t({}, U[j], y);
|
|
11816
11818
|
for (var F in X) {
|
|
11817
11819
|
var ie = y[F];
|
|
11818
11820
|
if (r(y, F) && typeof ie != "function")
|
|
11819
11821
|
return P(L, G, H, F, D(ie));
|
|
11820
11822
|
if (!ie)
|
|
11821
11823
|
return new p(
|
|
11822
|
-
"Invalid " + G + " `" + H + "` key `" + F + "` supplied to `" + L + "`.\nBad object: " + JSON.stringify(
|
|
11824
|
+
"Invalid " + G + " `" + H + "` key `" + F + "` supplied to `" + L + "`.\nBad object: " + JSON.stringify(U[j], null, " ") + `
|
|
11823
11825
|
Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
11824
11826
|
);
|
|
11825
11827
|
var q = ie(V, F, L, G, H + "." + F, n);
|
|
@@ -11828,7 +11830,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11828
11830
|
}
|
|
11829
11831
|
return null;
|
|
11830
11832
|
}
|
|
11831
|
-
return
|
|
11833
|
+
return w(C);
|
|
11832
11834
|
}
|
|
11833
11835
|
function M(y) {
|
|
11834
11836
|
switch (typeof y) {
|
|
@@ -11845,13 +11847,13 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11845
11847
|
return !0;
|
|
11846
11848
|
var C = h(y);
|
|
11847
11849
|
if (C) {
|
|
11848
|
-
var
|
|
11850
|
+
var U = C.call(y), j;
|
|
11849
11851
|
if (C !== y.entries) {
|
|
11850
|
-
for (; !(j =
|
|
11852
|
+
for (; !(j = U.next()).done; )
|
|
11851
11853
|
if (!M(j.value))
|
|
11852
11854
|
return !1;
|
|
11853
11855
|
} else
|
|
11854
|
-
for (; !(j =
|
|
11856
|
+
for (; !(j = U.next()).done; ) {
|
|
11855
11857
|
var L = j.value;
|
|
11856
11858
|
if (L && !M(L[1]))
|
|
11857
11859
|
return !1;
|
|
@@ -11863,12 +11865,12 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11863
11865
|
return !1;
|
|
11864
11866
|
}
|
|
11865
11867
|
}
|
|
11866
|
-
function
|
|
11868
|
+
function k(y, C) {
|
|
11867
11869
|
return y === "symbol" ? !0 : C ? C["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && C instanceof Symbol : !1;
|
|
11868
11870
|
}
|
|
11869
11871
|
function E(y) {
|
|
11870
11872
|
var C = typeof y;
|
|
11871
|
-
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" :
|
|
11873
|
+
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : k(C, y) ? "symbol" : C;
|
|
11872
11874
|
}
|
|
11873
11875
|
function D(y) {
|
|
11874
11876
|
if (typeof y > "u" || y === null)
|
|
@@ -11899,13 +11901,13 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11899
11901
|
function z(y) {
|
|
11900
11902
|
return !y.constructor || !y.constructor.name ? f : y.constructor.name;
|
|
11901
11903
|
}
|
|
11902
|
-
return
|
|
11904
|
+
return A.checkPropTypes = o, A.resetWarningCache = o.resetWarningCache, A.PropTypes = A, A;
|
|
11903
11905
|
}, Jn;
|
|
11904
11906
|
}
|
|
11905
|
-
var Zn,
|
|
11907
|
+
var Zn, kr;
|
|
11906
11908
|
function rp() {
|
|
11907
|
-
if (
|
|
11908
|
-
|
|
11909
|
+
if (kr) return Zn;
|
|
11910
|
+
kr = 1;
|
|
11909
11911
|
var e = /* @__PURE__ */ Ta();
|
|
11910
11912
|
function t() {
|
|
11911
11913
|
}
|
|
@@ -11950,10 +11952,10 @@ function rp() {
|
|
|
11950
11952
|
return s.PropTypes = s, s;
|
|
11951
11953
|
}, Zn;
|
|
11952
11954
|
}
|
|
11953
|
-
var
|
|
11955
|
+
var Ur;
|
|
11954
11956
|
function op() {
|
|
11955
|
-
if (
|
|
11956
|
-
if (
|
|
11957
|
+
if (Ur) return nn.exports;
|
|
11958
|
+
if (Ur = 1, process.env.NODE_ENV !== "production") {
|
|
11957
11959
|
var e = xa(), t = !0;
|
|
11958
11960
|
nn.exports = /* @__PURE__ */ ap()(e.isElement, t);
|
|
11959
11961
|
} else
|
|
@@ -11993,7 +11995,7 @@ function da(e, t) {
|
|
|
11993
11995
|
return r.__proto__ = o, r;
|
|
11994
11996
|
}, da(e, t);
|
|
11995
11997
|
}
|
|
11996
|
-
var
|
|
11998
|
+
var Un = /* @__PURE__ */ (function(e) {
|
|
11997
11999
|
lp(t, e);
|
|
11998
12000
|
function t() {
|
|
11999
12001
|
var r;
|
|
@@ -12059,13 +12061,13 @@ var kn = /* @__PURE__ */ (function(e) {
|
|
|
12059
12061
|
var o = this.props;
|
|
12060
12062
|
o.sitekey, o.onChange, o.theme, o.type, o.tabindex, o.onExpired, o.onErrored, o.size, o.stoken, o.grecaptcha, o.badge, o.hl, o.isolated;
|
|
12061
12063
|
var s = cp(o, ip);
|
|
12062
|
-
return /* @__PURE__ */
|
|
12064
|
+
return /* @__PURE__ */ Ua.createElement("div", la({}, s, {
|
|
12063
12065
|
ref: this.handleRecaptchaRef
|
|
12064
12066
|
}));
|
|
12065
12067
|
}, t;
|
|
12066
|
-
})(
|
|
12067
|
-
|
|
12068
|
-
|
|
12068
|
+
})(Ua.Component);
|
|
12069
|
+
Un.displayName = "ReCAPTCHA";
|
|
12070
|
+
Un.propTypes = {
|
|
12069
12071
|
sitekey: be.string.isRequired,
|
|
12070
12072
|
onChange: be.func,
|
|
12071
12073
|
grecaptcha: be.object,
|
|
@@ -12080,7 +12082,7 @@ kn.propTypes = {
|
|
|
12080
12082
|
badge: be.oneOf(["bottomright", "bottomleft", "inline"]),
|
|
12081
12083
|
isolated: be.bool
|
|
12082
12084
|
};
|
|
12083
|
-
|
|
12085
|
+
Un.defaultProps = {
|
|
12084
12086
|
onChange: function() {
|
|
12085
12087
|
},
|
|
12086
12088
|
theme: "light",
|
|
@@ -12132,17 +12134,17 @@ function dp() {
|
|
|
12132
12134
|
return e.isMemo(g) ? o : s[g.$$typeof] || t;
|
|
12133
12135
|
}
|
|
12134
12136
|
var c = Object.defineProperty, d = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, h = Object.getPrototypeOf, f = Object.prototype;
|
|
12135
|
-
function
|
|
12137
|
+
function A(g, p, w) {
|
|
12136
12138
|
if (typeof p != "string") {
|
|
12137
12139
|
if (f) {
|
|
12138
12140
|
var _ = h(p);
|
|
12139
|
-
_ && _ !== f &&
|
|
12141
|
+
_ && _ !== f && A(g, _, w);
|
|
12140
12142
|
}
|
|
12141
12143
|
var S = d(p);
|
|
12142
12144
|
l && (S = S.concat(l(p)));
|
|
12143
12145
|
for (var N = i(g), x = i(p), v = 0; v < S.length; ++v) {
|
|
12144
12146
|
var B = S[v];
|
|
12145
|
-
if (!n[B] && !(
|
|
12147
|
+
if (!n[B] && !(w && w[B]) && !(x && x[B]) && !(N && N[B])) {
|
|
12146
12148
|
var R = u(p, B);
|
|
12147
12149
|
try {
|
|
12148
12150
|
c(g, B, R);
|
|
@@ -12153,7 +12155,7 @@ function dp() {
|
|
|
12153
12155
|
}
|
|
12154
12156
|
return g;
|
|
12155
12157
|
}
|
|
12156
|
-
return Xn =
|
|
12158
|
+
return Xn = A, Xn;
|
|
12157
12159
|
}
|
|
12158
12160
|
var up = dp();
|
|
12159
12161
|
const hp = /* @__PURE__ */ Ct(up);
|
|
@@ -12204,7 +12206,7 @@ function pp(e, t) {
|
|
|
12204
12206
|
h.observers[f](h);
|
|
12205
12207
|
delete window[t.callbackName];
|
|
12206
12208
|
}, l.componentDidMount = function() {
|
|
12207
|
-
var h = this, f = this.setupScriptURL(),
|
|
12209
|
+
var h = this, f = this.setupScriptURL(), A = this.asyncScriptLoaderGetScriptLoaderID(), g = t, p = g.globalName, w = g.callbackName, _ = g.scriptId;
|
|
12208
12210
|
if (p && typeof window[p] < "u" && (Re[f] = {
|
|
12209
12211
|
loaded: !0,
|
|
12210
12212
|
observers: {}
|
|
@@ -12214,13 +12216,13 @@ function pp(e, t) {
|
|
|
12214
12216
|
this.asyncScriptLoaderHandleLoad(S);
|
|
12215
12217
|
return;
|
|
12216
12218
|
}
|
|
12217
|
-
S.observers[
|
|
12219
|
+
S.observers[A] = function(R) {
|
|
12218
12220
|
return h.asyncScriptLoaderHandleLoad(R);
|
|
12219
12221
|
};
|
|
12220
12222
|
return;
|
|
12221
12223
|
}
|
|
12222
12224
|
var N = {};
|
|
12223
|
-
N[
|
|
12225
|
+
N[A] = function(R) {
|
|
12224
12226
|
return h.asyncScriptLoaderHandleLoad(R);
|
|
12225
12227
|
}, Re[f] = {
|
|
12226
12228
|
loaded: !1,
|
|
@@ -12238,12 +12240,12 @@ function pp(e, t) {
|
|
|
12238
12240
|
Y(Q[P]) && delete Q[P];
|
|
12239
12241
|
}
|
|
12240
12242
|
};
|
|
12241
|
-
|
|
12243
|
+
w && typeof window < "u" && (window[w] = function() {
|
|
12242
12244
|
return h.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
12243
12245
|
}), x.onload = function() {
|
|
12244
12246
|
var R = Re[f];
|
|
12245
12247
|
R && (R.loaded = !0, B(function(Y) {
|
|
12246
|
-
return
|
|
12248
|
+
return w ? !1 : (Y(R), !0);
|
|
12247
12249
|
}));
|
|
12248
12250
|
}, x.onerror = function() {
|
|
12249
12251
|
var R = Re[f];
|
|
@@ -12254,15 +12256,15 @@ function pp(e, t) {
|
|
|
12254
12256
|
}, l.componentWillUnmount = function() {
|
|
12255
12257
|
var h = this.__scriptURL;
|
|
12256
12258
|
if (t.removeOnUnmount === !0)
|
|
12257
|
-
for (var f = document.getElementsByTagName("script"),
|
|
12258
|
-
f[
|
|
12259
|
+
for (var f = document.getElementsByTagName("script"), A = 0; A < f.length; A += 1)
|
|
12260
|
+
f[A].src.indexOf(h) > -1 && f[A].parentNode && f[A].parentNode.removeChild(f[A]);
|
|
12259
12261
|
var g = Re[h];
|
|
12260
12262
|
g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Re[h]);
|
|
12261
12263
|
}, l.render = function() {
|
|
12262
12264
|
var h = t.globalName, f = this.props;
|
|
12263
12265
|
f.asyncScriptOnLoad;
|
|
12264
|
-
var
|
|
12265
|
-
return h && typeof window < "u" && (g[h] = typeof window[h] < "u" ? window[h] : void 0), g.ref =
|
|
12266
|
+
var A = f.forwardedRef, g = mp(f, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
12267
|
+
return h && typeof window < "u" && (g[h] = typeof window[h] < "u" ? window[h] : void 0), g.ref = A, ot(r, g);
|
|
12266
12268
|
}, d;
|
|
12267
12269
|
})(Qo), i = Or(function(c, d) {
|
|
12268
12270
|
return ot(s, ua({}, c, {
|
|
@@ -12282,13 +12284,13 @@ function wp() {
|
|
|
12282
12284
|
var e = ma(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
|
12283
12285
|
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + ha + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + ha + "&render=explicit";
|
|
12284
12286
|
}
|
|
12285
|
-
const
|
|
12287
|
+
const Uo = pp(wp, {
|
|
12286
12288
|
callbackName: ha,
|
|
12287
12289
|
globalName: Ap,
|
|
12288
12290
|
attributes: ma().nonce ? {
|
|
12289
12291
|
nonce: ma().nonce
|
|
12290
12292
|
} : {}
|
|
12291
|
-
})(
|
|
12293
|
+
})(Un), yp = "_overlay_tlrod_1", vp = "_header_tlrod_18", bp = "_logo_tlrod_25", Cp = "_card_tlrod_32", _p = "_close_tlrod_47", Np = "_form_tlrod_71", Sp = "_formUl_tlrod_80", Ep = "_field_tlrod_92", xp = "_label_tlrod_99", Tp = "_input_tlrod_108", Ip = "_error_tlrod_126", kp = "_primary_tlrod_132", Up = "_divider_tlrod_167", qp = "_google_tlrod_193", Rp = "_googleIcon_tlrod_223", Lp = "_spin_tlrod_256", Bp = "_checkboxRow_tlrod_278", Op = "_terms_tlrod_315", Pp = "_message_tlrod_346", Dp = "_passwordChecker_tlrod_351", Mp = "_valid_tlrod_370", jp = "_invalid_tlrod_374", Qp = "_forgotPassword_tlrod_378", Gp = "_successContainer_tlrod_397", zp = "_thumbsUp_tlrod_405", Hp = "_successMessage_tlrod_411", I = {
|
|
12292
12294
|
overlay: yp,
|
|
12293
12295
|
header: vp,
|
|
12294
12296
|
logo: bp,
|
|
@@ -12300,8 +12302,8 @@ const ko = pp(wp, {
|
|
|
12300
12302
|
label: xp,
|
|
12301
12303
|
input: Tp,
|
|
12302
12304
|
error: Ip,
|
|
12303
|
-
primary:
|
|
12304
|
-
divider:
|
|
12305
|
+
primary: kp,
|
|
12306
|
+
divider: Up,
|
|
12305
12307
|
google: qp,
|
|
12306
12308
|
googleIcon: Rp,
|
|
12307
12309
|
spin: Lp,
|
|
@@ -12336,7 +12338,7 @@ const ko = pp(wp, {
|
|
|
12336
12338
|
}) => {
|
|
12337
12339
|
const [s, i] = $("form"), [c, d] = $(
|
|
12338
12340
|
""
|
|
12339
|
-
), [l, u] = $(""), [h, f] = $(""),
|
|
12341
|
+
), [l, u] = $(""), [h, f] = $(""), A = [
|
|
12340
12342
|
{ id: "spam", label: Ye.spam },
|
|
12341
12343
|
{
|
|
12342
12344
|
id: "inappropriate",
|
|
@@ -12381,8 +12383,8 @@ const ko = pp(wp, {
|
|
|
12381
12383
|
}, 3e3);
|
|
12382
12384
|
else
|
|
12383
12385
|
throw new Error(_.message || "Error al reportar comentario");
|
|
12384
|
-
} catch (
|
|
12385
|
-
console.error("Error reporting comment:",
|
|
12386
|
+
} catch (w) {
|
|
12387
|
+
console.error("Error reporting comment:", w), u(w.message || "Error al reportar comentario"), i("form");
|
|
12386
12388
|
}
|
|
12387
12389
|
}
|
|
12388
12390
|
}, p = () => {
|
|
@@ -12393,29 +12395,29 @@ const ko = pp(wp, {
|
|
|
12393
12395
|
/* @__PURE__ */ a("h2", { className: ue.title, children: "Reportar Abuso" }),
|
|
12394
12396
|
s === "loading" && /* @__PURE__ */ a("div", { className: ue.loadingContainer, children: /* @__PURE__ */ a(Ze, {}) }),
|
|
12395
12397
|
s === "form" || s === "loading" ? /* @__PURE__ */ m(K, { children: [
|
|
12396
|
-
/* @__PURE__ */ a("div", { className: ue.optionsContainer, children:
|
|
12398
|
+
/* @__PURE__ */ a("div", { className: ue.optionsContainer, children: A.map((w) => /* @__PURE__ */ m("label", { className: ue.option, children: [
|
|
12397
12399
|
/* @__PURE__ */ a(
|
|
12398
12400
|
"input",
|
|
12399
12401
|
{
|
|
12400
12402
|
type: "radio",
|
|
12401
12403
|
name: "reportReason",
|
|
12402
|
-
value:
|
|
12403
|
-
checked: c ===
|
|
12404
|
+
value: w.id,
|
|
12405
|
+
checked: c === w.id,
|
|
12404
12406
|
onChange: (_) => d(_.target.value),
|
|
12405
12407
|
className: ue.radioInput
|
|
12406
12408
|
}
|
|
12407
12409
|
),
|
|
12408
12410
|
/* @__PURE__ */ a("span", { className: ue.radioCustom }),
|
|
12409
|
-
/* @__PURE__ */ a("span", { className: ue.optionLabel, children:
|
|
12410
|
-
] },
|
|
12411
|
+
/* @__PURE__ */ a("span", { className: ue.optionLabel, children: w.label })
|
|
12412
|
+
] }, w.id)) }),
|
|
12411
12413
|
l && /* @__PURE__ */ a("div", { className: ue.errorMessage, children: l }),
|
|
12412
12414
|
/* @__PURE__ */ a(
|
|
12413
|
-
|
|
12415
|
+
Uo,
|
|
12414
12416
|
{
|
|
12415
12417
|
sitekey: "",
|
|
12416
12418
|
theme: "light",
|
|
12417
12419
|
size: "normal",
|
|
12418
|
-
onChange: (
|
|
12420
|
+
onChange: (w) => f(w ?? ""),
|
|
12419
12421
|
onExpired: () => f("")
|
|
12420
12422
|
}
|
|
12421
12423
|
),
|
|
@@ -12507,23 +12509,23 @@ async function Fp({
|
|
|
12507
12509
|
throw new Error("Invalid input types for publication or path");
|
|
12508
12510
|
if (!c)
|
|
12509
12511
|
throw new Error("Missing CMS API token");
|
|
12510
|
-
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: h } = J(), f = parseInt(String(n), 10),
|
|
12512
|
+
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: h } = J(), f = parseInt(String(n), 10), A = parseInt(String(r), 10);
|
|
12511
12513
|
if (isNaN(f) || f <= 0)
|
|
12512
12514
|
throw new Error("Invalid size parameter");
|
|
12513
|
-
if (isNaN(
|
|
12515
|
+
if (isNaN(A) || A < 0)
|
|
12514
12516
|
throw new Error("Invalid sizereply parameter");
|
|
12515
12517
|
const g = d !== "prod" ? `${l}${u}` : hs(), p = new URLSearchParams({
|
|
12516
12518
|
publication: e,
|
|
12517
12519
|
path: t,
|
|
12518
12520
|
size: f.toString(),
|
|
12519
|
-
sizereply:
|
|
12521
|
+
sizereply: A.toString(),
|
|
12520
12522
|
state: i
|
|
12521
12523
|
});
|
|
12522
12524
|
o && p.append("id", o), s && p.append("lastid", s);
|
|
12523
|
-
const
|
|
12525
|
+
const w = `${g}${h}/newcomments/get?${p.toString()}`;
|
|
12524
12526
|
try {
|
|
12525
|
-
console.log("Fetching comments from:",
|
|
12526
|
-
const { data: _ } = await oe.get(
|
|
12527
|
+
console.log("Fetching comments from:", w);
|
|
12528
|
+
const { data: _ } = await oe.get(w, {
|
|
12527
12529
|
headers: {
|
|
12528
12530
|
"x-api-token": c,
|
|
12529
12531
|
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
|
@@ -12650,7 +12652,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12650
12652
|
const o = Ea(e, t);
|
|
12651
12653
|
return /* @__PURE__ */ m("div", { className: "form-actions", children: [
|
|
12652
12654
|
/* @__PURE__ */ a(
|
|
12653
|
-
|
|
12655
|
+
Uo,
|
|
12654
12656
|
{
|
|
12655
12657
|
sitekey: "",
|
|
12656
12658
|
theme: "light",
|
|
@@ -12742,7 +12744,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12742
12744
|
throw new Error(
|
|
12743
12745
|
`Error al enviar comentario: ${u?.message} status: ${l.status}`
|
|
12744
12746
|
);
|
|
12745
|
-
const h = Date.now(), f = Math.max(0, 2400 + Math.abs(h - d)),
|
|
12747
|
+
const h = Date.now(), f = Math.max(0, 2400 + Math.abs(h - d)), A = {
|
|
12746
12748
|
username: o.username,
|
|
12747
12749
|
firstname: o.firstname,
|
|
12748
12750
|
...o.lastname && { lastname: o.lastname },
|
|
@@ -12751,7 +12753,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12751
12753
|
return i({
|
|
12752
12754
|
id: h.toString(),
|
|
12753
12755
|
text: c,
|
|
12754
|
-
user:
|
|
12756
|
+
user: A,
|
|
12755
12757
|
date: { time: Date.now() },
|
|
12756
12758
|
reply: []
|
|
12757
12759
|
}), t.current && (t.current.value = ""), f;
|
|
@@ -12826,10 +12828,10 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12826
12828
|
] })
|
|
12827
12829
|
] }) });
|
|
12828
12830
|
}, e9 = ({ comment: e, replyingTo: t, path: n, user: r, handleReplyingTo: o, onFlag: s }) => {
|
|
12829
|
-
const i = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [c, d] = $(i), [l, u] = Ee.useState(!1), h = process.env.PUBLIC_PUBLICATION_ID ?? "", f = e.text,
|
|
12831
|
+
const i = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [c, d] = $(i), [l, u] = Ee.useState(!1), h = process.env.PUBLIC_PUBLICATION_ID ?? "", f = e.text, A = Ee.useRef(null);
|
|
12830
12832
|
let g = `${Je.firstname} ${Je.lastname}`, p = Je.username;
|
|
12831
12833
|
e.user && (g = `${e.user.firstname} ${e.user.lastname}`, p = e.user.username);
|
|
12832
|
-
const
|
|
12834
|
+
const w = (_) => {
|
|
12833
12835
|
d({ morereply: c.morereply, reply: [_, ...c.reply] });
|
|
12834
12836
|
};
|
|
12835
12837
|
return /* @__PURE__ */ a("div", { className: "comment-item", children: /* @__PURE__ */ m(
|
|
@@ -12854,8 +12856,8 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12854
12856
|
Zp,
|
|
12855
12857
|
{
|
|
12856
12858
|
replyingTo: t,
|
|
12857
|
-
commentRef:
|
|
12858
|
-
addReply:
|
|
12859
|
+
commentRef: A,
|
|
12860
|
+
addReply: w,
|
|
12859
12861
|
user: r,
|
|
12860
12862
|
path: n,
|
|
12861
12863
|
closeForm: () => o("")
|
|
@@ -12956,7 +12958,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12956
12958
|
}) => {
|
|
12957
12959
|
const o = t.replaceAll("/", "|"), [s, i] = $(
|
|
12958
12960
|
void 0
|
|
12959
|
-
), [c, d] = $(""), { comments: l, setComments: u } = Yp(o), [h, f] = Ee.useState(!1),
|
|
12961
|
+
), [c, d] = $(""), { comments: l, setComments: u } = Yp(o), [h, f] = Ee.useState(!1), A = Ee.useRef(null), g = (v) => {
|
|
12960
12962
|
d(c === v ? "" : v);
|
|
12961
12963
|
}, p = (v) => {
|
|
12962
12964
|
u(
|
|
@@ -12965,7 +12967,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12965
12967
|
comments: [v, ...l.comments ?? []]
|
|
12966
12968
|
} : void 0
|
|
12967
12969
|
);
|
|
12968
|
-
},
|
|
12970
|
+
}, w = (v) => {
|
|
12969
12971
|
i(v);
|
|
12970
12972
|
}, _ = async () => {
|
|
12971
12973
|
if (!l || !l.morecomment || l.comments.length === 0) return;
|
|
@@ -12996,7 +12998,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
12996
12998
|
/* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(me, { title: S || e ? "COMENTARIOS" : !1, children: /* @__PURE__ */ m(K, { children: [
|
|
12997
12999
|
e && n && /* @__PURE__ */ m("div", { className: "comments-header", children: [
|
|
12998
13000
|
/* @__PURE__ */ a(
|
|
12999
|
-
|
|
13001
|
+
Ug,
|
|
13000
13002
|
{
|
|
13001
13003
|
user: n,
|
|
13002
13004
|
handleLogout: r,
|
|
@@ -13006,7 +13008,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
13006
13008
|
/* @__PURE__ */ a(
|
|
13007
13009
|
t9,
|
|
13008
13010
|
{
|
|
13009
|
-
commentRef:
|
|
13011
|
+
commentRef: A,
|
|
13010
13012
|
user: n,
|
|
13011
13013
|
addComment: p,
|
|
13012
13014
|
path: o
|
|
@@ -13025,7 +13027,7 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
13025
13027
|
comment: v,
|
|
13026
13028
|
replyingTo: c,
|
|
13027
13029
|
handleReplyingTo: g,
|
|
13028
|
-
onFlag:
|
|
13030
|
+
onFlag: w,
|
|
13029
13031
|
user: n ?? Je,
|
|
13030
13032
|
path: o
|
|
13031
13033
|
},
|
|
@@ -13105,10 +13107,10 @@ const { PUBLIC_PUBLICATION_ID: Wp } = J(), $p = Wp, Yp = (e) => {
|
|
|
13105
13107
|
function o9({ goToLogin: e, handleGoogleLogin: t }) {
|
|
13106
13108
|
const [n, r] = $({}), [o, s] = $(!1), [i, c] = $(!1), [d, l] = $(null), [u, h] = $(
|
|
13107
13109
|
"register"
|
|
13108
|
-
), f = (
|
|
13109
|
-
r((S) => ({ ...S, [
|
|
13110
|
-
},
|
|
13111
|
-
|
|
13110
|
+
), f = (w, _) => {
|
|
13111
|
+
r((S) => ({ ...S, [w]: _ }));
|
|
13112
|
+
}, A = async (w) => {
|
|
13113
|
+
w.preventDefault(), l(null), c(!0);
|
|
13112
13114
|
try {
|
|
13113
13115
|
const _ = Object.keys(Lr).filter((R) => !["username", "password", "confirmPassword"].includes(R)).map((R) => ({ Name: R, Value: n[R] }));
|
|
13114
13116
|
if (_.some((R) => {
|
|
@@ -13161,8 +13163,8 @@ function o9({ goToLogin: e, handleGoogleLogin: t }) {
|
|
|
13161
13163
|
} finally {
|
|
13162
13164
|
c(!1);
|
|
13163
13165
|
}
|
|
13164
|
-
}, g = async (
|
|
13165
|
-
if (
|
|
13166
|
+
}, g = async (w) => {
|
|
13167
|
+
if (w.preventDefault(), !n.confirmationCode) {
|
|
13166
13168
|
l("Debes ingresar el código de verificación");
|
|
13167
13169
|
return;
|
|
13168
13170
|
}
|
|
@@ -13204,24 +13206,24 @@ function o9({ goToLogin: e, handleGoogleLogin: t }) {
|
|
|
13204
13206
|
/* @__PURE__ */ m(
|
|
13205
13207
|
"form",
|
|
13206
13208
|
{
|
|
13207
|
-
onSubmit:
|
|
13209
|
+
onSubmit: A,
|
|
13208
13210
|
className: I.form,
|
|
13209
13211
|
"data-error": d ? "true" : "false",
|
|
13210
13212
|
children: [
|
|
13211
|
-
/* @__PURE__ */ a("ul", { className: I.formUl, children: Object.entries(Lr).map(([
|
|
13213
|
+
/* @__PURE__ */ a("ul", { className: I.formUl, children: Object.entries(Lr).map(([w, { label: _ }]) => /* @__PURE__ */ m("div", { className: I.field, children: [
|
|
13212
13214
|
/* @__PURE__ */ a("label", { className: I.label, children: _ }),
|
|
13213
13215
|
/* @__PURE__ */ a(
|
|
13214
13216
|
"input",
|
|
13215
13217
|
{
|
|
13216
|
-
type:
|
|
13217
|
-
name:
|
|
13218
|
-
value: n[
|
|
13219
|
-
onChange: (S) => f(
|
|
13218
|
+
type: w.toLowerCase().includes("password") ? o ? "text" : "password" : w === "birthdate" ? "date" : w === "email" ? "email" : w === "phone_number" ? "tel" : "text",
|
|
13219
|
+
name: w,
|
|
13220
|
+
value: n[w] || "",
|
|
13221
|
+
onChange: (S) => f(w, S.target.value),
|
|
13220
13222
|
className: I.input,
|
|
13221
13223
|
placeholder: ""
|
|
13222
13224
|
}
|
|
13223
13225
|
),
|
|
13224
|
-
|
|
13226
|
+
w === "password" && /* @__PURE__ */ a("div", { className: I.passwordChecker, children: Cn.map((S, N) => {
|
|
13225
13227
|
const x = S.test(p);
|
|
13226
13228
|
return /* @__PURE__ */ m(
|
|
13227
13229
|
"div",
|
|
@@ -13235,7 +13237,7 @@ function o9({ goToLogin: e, handleGoogleLogin: t }) {
|
|
|
13235
13237
|
N
|
|
13236
13238
|
);
|
|
13237
13239
|
}) }),
|
|
13238
|
-
|
|
13240
|
+
w === "confirmPassword" && /* @__PURE__ */ m("div", { className: I.checkboxRow, children: [
|
|
13239
13241
|
/* @__PURE__ */ a(
|
|
13240
13242
|
"input",
|
|
13241
13243
|
{
|
|
@@ -13254,7 +13256,7 @@ function o9({ goToLogin: e, handleGoogleLogin: t }) {
|
|
|
13254
13256
|
}
|
|
13255
13257
|
)
|
|
13256
13258
|
] })
|
|
13257
|
-
] },
|
|
13259
|
+
] }, w)) }),
|
|
13258
13260
|
d && /* @__PURE__ */ a("p", { className: I.error, children: d }),
|
|
13259
13261
|
/* @__PURE__ */ m("p", { className: I.terms, children: [
|
|
13260
13262
|
"Al continuar, confirmo que he leído y aceptado los",
|
|
@@ -13281,7 +13283,7 @@ function o9({ goToLogin: e, handleGoogleLogin: t }) {
|
|
|
13281
13283
|
type: "text",
|
|
13282
13284
|
name: "confirmationCode",
|
|
13283
13285
|
value: n.confirmationCode || "",
|
|
13284
|
-
onChange: (
|
|
13286
|
+
onChange: (w) => f("confirmationCode", w.target.value),
|
|
13285
13287
|
className: I.input,
|
|
13286
13288
|
required: !0
|
|
13287
13289
|
}
|
|
@@ -13333,14 +13335,14 @@ function s9({
|
|
|
13333
13335
|
goToRegister: n,
|
|
13334
13336
|
handleGoogleLogin: r
|
|
13335
13337
|
}) {
|
|
13336
|
-
const [o, s] = $("login"), [i, c] = $(""), [d, l] = $(""), [u, h] = $(""), [f,
|
|
13338
|
+
const [o, s] = $("login"), [i, c] = $(""), [d, l] = $(""), [u, h] = $(""), [f, A] = $(""), [g, p] = $(""), [w, _] = $(!1), [S, N] = $(!1), [x, v] = $(null), { CAPTCHA_KEY: B } = J();
|
|
13337
13339
|
return /* @__PURE__ */ m(K, { children: [
|
|
13338
13340
|
o === "login" && /* @__PURE__ */ a(
|
|
13339
13341
|
i9,
|
|
13340
13342
|
{
|
|
13341
13343
|
email: i,
|
|
13342
13344
|
password: d,
|
|
13343
|
-
showPassword:
|
|
13345
|
+
showPassword: w,
|
|
13344
13346
|
loading: S,
|
|
13345
13347
|
error: x,
|
|
13346
13348
|
setEmail: c,
|
|
@@ -13417,11 +13419,11 @@ function s9({
|
|
|
13417
13419
|
confirmationCode: u,
|
|
13418
13420
|
newPassword: f,
|
|
13419
13421
|
confirmNewPassword: g,
|
|
13420
|
-
showPassword:
|
|
13422
|
+
showPassword: w,
|
|
13421
13423
|
loading: S,
|
|
13422
13424
|
error: x,
|
|
13423
13425
|
setConfirmationCode: h,
|
|
13424
|
-
setNewPassword:
|
|
13426
|
+
setNewPassword: A,
|
|
13425
13427
|
setConfirmNewPassword: p,
|
|
13426
13428
|
setShowPassword: _,
|
|
13427
13429
|
onSubmit: async (Q) => {
|
|
@@ -13633,7 +13635,7 @@ function l9({
|
|
|
13633
13635
|
{
|
|
13634
13636
|
type: "text",
|
|
13635
13637
|
value: t,
|
|
13636
|
-
onChange: (
|
|
13638
|
+
onChange: (A) => c(A.target.value),
|
|
13637
13639
|
className: I.input,
|
|
13638
13640
|
placeholder: ""
|
|
13639
13641
|
}
|
|
@@ -13646,17 +13648,17 @@ function l9({
|
|
|
13646
13648
|
{
|
|
13647
13649
|
type: o ? "text" : "password",
|
|
13648
13650
|
value: n,
|
|
13649
|
-
onChange: (
|
|
13651
|
+
onChange: (A) => d(A.target.value),
|
|
13650
13652
|
className: I.input,
|
|
13651
13653
|
placeholder: "",
|
|
13652
13654
|
name: "password"
|
|
13653
13655
|
}
|
|
13654
13656
|
),
|
|
13655
|
-
/* @__PURE__ */ a("div", { className: I.passwordChecker, children: Cn.map((
|
|
13656
|
-
const p =
|
|
13657
|
+
/* @__PURE__ */ a("div", { className: I.passwordChecker, children: Cn.map((A, g) => {
|
|
13658
|
+
const p = A.test(n);
|
|
13657
13659
|
return /* @__PURE__ */ m("div", { className: p ? I.valid : I.invalid, children: [
|
|
13658
13660
|
/* @__PURE__ */ a("div", { children: p ? "✔" : "○" }),
|
|
13659
|
-
/* @__PURE__ */ a("div", { children:
|
|
13661
|
+
/* @__PURE__ */ a("div", { children: A.label })
|
|
13660
13662
|
] }, g);
|
|
13661
13663
|
}) })
|
|
13662
13664
|
] }),
|
|
@@ -13667,7 +13669,7 @@ function l9({
|
|
|
13667
13669
|
{
|
|
13668
13670
|
type: o ? "text" : "password",
|
|
13669
13671
|
value: r,
|
|
13670
|
-
onChange: (
|
|
13672
|
+
onChange: (A) => l(A.target.value),
|
|
13671
13673
|
className: I.input,
|
|
13672
13674
|
placeholder: ""
|
|
13673
13675
|
}
|
|
@@ -13679,7 +13681,7 @@ function l9({
|
|
|
13679
13681
|
id: "showPasswordForgot",
|
|
13680
13682
|
type: "checkbox",
|
|
13681
13683
|
checked: o,
|
|
13682
|
-
onChange: (
|
|
13684
|
+
onChange: (A) => u(A.target.checked)
|
|
13683
13685
|
}
|
|
13684
13686
|
),
|
|
13685
13687
|
/* @__PURE__ */ a(
|
|
@@ -13957,7 +13959,7 @@ async function _3({
|
|
|
13957
13959
|
message: "Faltan campos obligatorios. Por favor, completa todos los campos.",
|
|
13958
13960
|
status: 400
|
|
13959
13961
|
};
|
|
13960
|
-
if ([e, t, r, n].some((
|
|
13962
|
+
if ([e, t, r, n].some((A) => typeof A != "string"))
|
|
13961
13963
|
return {
|
|
13962
13964
|
type: "error",
|
|
13963
13965
|
message: "Datos inválidos. Intenta de nuevo.",
|
|
@@ -13991,7 +13993,7 @@ async function _3({
|
|
|
13991
13993
|
o && (h.id = o);
|
|
13992
13994
|
const f = new URLSearchParams(h);
|
|
13993
13995
|
try {
|
|
13994
|
-
const { data:
|
|
13996
|
+
const { data: A } = await oe.get(`${u}?${f.toString()}`, {
|
|
13995
13997
|
headers: {
|
|
13996
13998
|
"Content-Type": "application/json",
|
|
13997
13999
|
"x-security-token": d,
|
|
@@ -13999,18 +14001,18 @@ async function _3({
|
|
|
13999
14001
|
"User-Agent": "amplifyapp-comments-saas"
|
|
14000
14002
|
}
|
|
14001
14003
|
});
|
|
14002
|
-
return !
|
|
14004
|
+
return !A || A.error ? (console.error("CMS error response:", A), {
|
|
14003
14005
|
type: "error",
|
|
14004
14006
|
message: "No se pudo guardar el comentario. Intenta nuevamente en unos minutos.",
|
|
14005
14007
|
status: 502
|
|
14006
|
-
}) : (console.log("Comentario enviado con éxito",
|
|
14008
|
+
}) : (console.log("Comentario enviado con éxito", A), {
|
|
14007
14009
|
type: "success",
|
|
14008
14010
|
message: "Comentario enviado con éxito.",
|
|
14009
14011
|
status: 200
|
|
14010
14012
|
});
|
|
14011
|
-
} catch (
|
|
14012
|
-
if (console.error("Error enviando comentario:",
|
|
14013
|
-
const g =
|
|
14013
|
+
} catch (A) {
|
|
14014
|
+
if (console.error("Error enviando comentario:", A), oe.isAxiosError(A)) {
|
|
14015
|
+
const g = A.response?.status ?? 500, p = A.response?.data;
|
|
14014
14016
|
return g === 400 ? {
|
|
14015
14017
|
type: "error",
|
|
14016
14018
|
message: p?.message || "Solicitud inválida. Verifica que los campos sean correctos.",
|
|
@@ -14141,7 +14143,7 @@ export {
|
|
|
14141
14143
|
p3 as SearchSection,
|
|
14142
14144
|
me as Section,
|
|
14143
14145
|
Xe as SectionCard,
|
|
14144
|
-
|
|
14146
|
+
kn as SectionCard2,
|
|
14145
14147
|
ia as SectionCardServerComponent,
|
|
14146
14148
|
l3 as SectionServerComponent,
|
|
14147
14149
|
wc as ShowSection,
|
|
@@ -14158,8 +14160,8 @@ export {
|
|
|
14158
14160
|
Z9 as VideoBlock3,
|
|
14159
14161
|
a3 as VideoBlock4,
|
|
14160
14162
|
w3 as VideoSection,
|
|
14161
|
-
|
|
14162
|
-
|
|
14163
|
+
Us as VideosSchemas,
|
|
14164
|
+
ks as WebsiteList,
|
|
14163
14165
|
_3 as addComment,
|
|
14164
14166
|
fa as bannersReplace,
|
|
14165
14167
|
Dt as becomeVideoObject,
|