sass-template-common 0.1.50 → 0.1.51
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.
|
@@ -158,15 +158,15 @@ function Pr() {
|
|
|
158
158
|
var U = ["th", "st", "nd", "rd"], E = M % 100;
|
|
159
159
|
return "[" + M + (U[(E - 20) % 10] || U[E] || U[0]) + "]";
|
|
160
160
|
} }, N = function(M, U, E) {
|
|
161
|
-
var
|
|
162
|
-
return !
|
|
161
|
+
var P = String(M);
|
|
162
|
+
return !P || P.length >= U ? M : "" + Array(U + 1 - P.length).join(E) + M;
|
|
163
163
|
}, x = { s: N, z: function(M) {
|
|
164
|
-
var U = -M.utcOffset(), E = Math.abs(U),
|
|
165
|
-
return (U <= 0 ? "+" : "-") + N(
|
|
164
|
+
var U = -M.utcOffset(), E = Math.abs(U), P = Math.floor(E / 60), T = E % 60;
|
|
165
|
+
return (U <= 0 ? "+" : "-") + N(P, 2, "0") + ":" + N(T, 2, "0");
|
|
166
166
|
}, m: function M(U, E) {
|
|
167
167
|
if (U.date() < E.date()) return -M(E, U);
|
|
168
|
-
var
|
|
169
|
-
return +(-(
|
|
168
|
+
var P = 12 * (E.year() - U.year()) + (E.month() - U.month()), T = U.clone().add(P, h), z = E - T < 0, y = U.clone().add(P + (z ? -1 : 1), h);
|
|
169
|
+
return +(-(P + (E - T) / (z ? T - y : y - T)) || 0);
|
|
170
170
|
}, a: function(M) {
|
|
171
171
|
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
172
172
|
}, p: function(M) {
|
|
@@ -177,7 +177,7 @@ function Pr() {
|
|
|
177
177
|
B[v] = S;
|
|
178
178
|
var R = "$isDayjsObject", Y = function(M) {
|
|
179
179
|
return M instanceof ee || !(!M || !M[R]);
|
|
180
|
-
}, te = function M(U, E,
|
|
180
|
+
}, te = function M(U, E, P) {
|
|
181
181
|
var T;
|
|
182
182
|
if (!U) return v;
|
|
183
183
|
if (typeof U == "string") {
|
|
@@ -189,13 +189,13 @@ function Pr() {
|
|
|
189
189
|
var C = U.name;
|
|
190
190
|
B[C] = U, T = C;
|
|
191
191
|
}
|
|
192
|
-
return !
|
|
192
|
+
return !P && T && (v = T), T || !P && v;
|
|
193
193
|
}, Q = function(M, U) {
|
|
194
194
|
if (Y(M)) return M.clone();
|
|
195
195
|
var E = typeof U == "object" ? U : {};
|
|
196
196
|
return E.date = M, E.args = arguments, new ee(E);
|
|
197
|
-
},
|
|
198
|
-
|
|
197
|
+
}, O = x;
|
|
198
|
+
O.l = te, O.i = Y, O.w = function(M, U) {
|
|
199
199
|
return Q(M, { locale: U.$L, utc: U.$u, x: U.$x, $offset: U.$offset });
|
|
200
200
|
};
|
|
201
201
|
var ee = (function() {
|
|
@@ -204,10 +204,10 @@ function Pr() {
|
|
|
204
204
|
}
|
|
205
205
|
var U = M.prototype;
|
|
206
206
|
return U.parse = function(E) {
|
|
207
|
-
this.$d = (function(
|
|
208
|
-
var T =
|
|
207
|
+
this.$d = (function(P) {
|
|
208
|
+
var T = P.date, z = P.utc;
|
|
209
209
|
if (T === null) return /* @__PURE__ */ new Date(NaN);
|
|
210
|
-
if (
|
|
210
|
+
if (O.u(T)) return /* @__PURE__ */ new Date();
|
|
211
211
|
if (T instanceof Date) return new Date(T);
|
|
212
212
|
if (typeof T == "string" && !/Z$/i.test(T)) {
|
|
213
213
|
var y = T.match(A);
|
|
@@ -222,28 +222,28 @@ function Pr() {
|
|
|
222
222
|
var E = this.$d;
|
|
223
223
|
this.$y = E.getFullYear(), this.$M = E.getMonth(), this.$D = E.getDate(), this.$W = E.getDay(), this.$H = E.getHours(), this.$m = E.getMinutes(), this.$s = E.getSeconds(), this.$ms = E.getMilliseconds();
|
|
224
224
|
}, U.$utils = function() {
|
|
225
|
-
return
|
|
225
|
+
return O;
|
|
226
226
|
}, U.isValid = function() {
|
|
227
227
|
return this.$d.toString() !== p;
|
|
228
|
-
}, U.isSame = function(E,
|
|
228
|
+
}, U.isSame = function(E, P) {
|
|
229
229
|
var T = Q(E);
|
|
230
|
-
return this.startOf(
|
|
231
|
-
}, U.isAfter = function(E,
|
|
232
|
-
return Q(E) < this.startOf(
|
|
233
|
-
}, U.isBefore = function(E,
|
|
234
|
-
return this.endOf(
|
|
235
|
-
}, U.$g = function(E,
|
|
236
|
-
return
|
|
230
|
+
return this.startOf(P) <= T && T <= this.endOf(P);
|
|
231
|
+
}, U.isAfter = function(E, P) {
|
|
232
|
+
return Q(E) < this.startOf(P);
|
|
233
|
+
}, U.isBefore = function(E, P) {
|
|
234
|
+
return this.endOf(P) < Q(E);
|
|
235
|
+
}, U.$g = function(E, P, T) {
|
|
236
|
+
return O.u(E) ? this[P] : this.set(T, E);
|
|
237
237
|
}, U.unix = function() {
|
|
238
238
|
return Math.floor(this.valueOf() / 1e3);
|
|
239
239
|
}, U.valueOf = function() {
|
|
240
240
|
return this.$d.getTime();
|
|
241
|
-
}, U.startOf = function(E,
|
|
242
|
-
var T = this, z = !!
|
|
243
|
-
var ie =
|
|
241
|
+
}, U.startOf = function(E, P) {
|
|
242
|
+
var T = this, z = !!O.u(P) || P, y = O.p(E), C = function(X, F) {
|
|
243
|
+
var ie = O.w(T.$u ? Date.UTC(T.$y, F, X) : new Date(T.$y, F, X), T);
|
|
244
244
|
return z ? ie : ie.endOf(l);
|
|
245
245
|
}, k = function(X, F) {
|
|
246
|
-
return
|
|
246
|
+
return O.w(T.toDate()[X].apply(T.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(F)), T);
|
|
247
247
|
}, j = this.$W, L = this.$M, G = this.$D, H = "set" + (this.$u ? "UTC" : "");
|
|
248
248
|
switch (y) {
|
|
249
249
|
case w:
|
|
@@ -267,39 +267,39 @@ function Pr() {
|
|
|
267
267
|
}
|
|
268
268
|
}, U.endOf = function(E) {
|
|
269
269
|
return this.startOf(E, !1);
|
|
270
|
-
}, U.$set = function(E,
|
|
271
|
-
var T, z =
|
|
270
|
+
}, U.$set = function(E, P) {
|
|
271
|
+
var T, z = O.p(E), y = "set" + (this.$u ? "UTC" : ""), C = (T = {}, T[l] = y + "Date", T[g] = y + "Date", T[h] = y + "Month", T[w] = y + "FullYear", T[d] = y + "Hours", T[c] = y + "Minutes", T[i] = y + "Seconds", T[s] = y + "Milliseconds", T)[z], k = z === l ? this.$D + (P - this.$W) : P;
|
|
272
272
|
if (z === h || z === w) {
|
|
273
273
|
var j = this.clone().set(g, 1);
|
|
274
274
|
j.$d[C](k), j.init(), this.$d = j.set(g, Math.min(this.$D, j.daysInMonth())).$d;
|
|
275
275
|
} else C && this.$d[C](k);
|
|
276
276
|
return this.init(), this;
|
|
277
|
-
}, U.set = function(E,
|
|
278
|
-
return this.clone().$set(E,
|
|
277
|
+
}, U.set = function(E, P) {
|
|
278
|
+
return this.clone().$set(E, P);
|
|
279
279
|
}, U.get = function(E) {
|
|
280
|
-
return this[
|
|
281
|
-
}, U.add = function(E,
|
|
280
|
+
return this[O.p(E)]();
|
|
281
|
+
}, U.add = function(E, P) {
|
|
282
282
|
var T, z = this;
|
|
283
283
|
E = Number(E);
|
|
284
|
-
var y =
|
|
284
|
+
var y = O.p(P), C = function(L) {
|
|
285
285
|
var G = Q(z);
|
|
286
|
-
return
|
|
286
|
+
return O.w(G.date(G.date() + Math.round(L * E)), z);
|
|
287
287
|
};
|
|
288
288
|
if (y === h) return this.set(h, this.$M + E);
|
|
289
289
|
if (y === w) return this.set(w, this.$y + E);
|
|
290
290
|
if (y === l) return C(1);
|
|
291
291
|
if (y === u) return C(7);
|
|
292
292
|
var k = (T = {}, T[c] = r, T[d] = o, T[i] = n, T)[y] || 1, j = this.$d.getTime() + E * k;
|
|
293
|
-
return
|
|
294
|
-
}, U.subtract = function(E,
|
|
295
|
-
return this.add(-1 * E,
|
|
293
|
+
return O.w(j, this);
|
|
294
|
+
}, U.subtract = function(E, P) {
|
|
295
|
+
return this.add(-1 * E, P);
|
|
296
296
|
}, U.format = function(E) {
|
|
297
|
-
var
|
|
297
|
+
var P = this, T = this.$locale();
|
|
298
298
|
if (!this.isValid()) return T.invalidDate || p;
|
|
299
|
-
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y =
|
|
300
|
-
return F && (F[ie] || F(
|
|
299
|
+
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y = O.z(this), C = this.$H, k = this.$m, j = this.$M, L = T.weekdays, G = T.months, H = T.meridiem, V = function(F, ie, q, Ae) {
|
|
300
|
+
return F && (F[ie] || F(P, z)) || q[ie].slice(0, Ae);
|
|
301
301
|
}, Z = function(F) {
|
|
302
|
-
return
|
|
302
|
+
return O.s(C % 12 || 12, F, "0");
|
|
303
303
|
}, X = H || function(F, ie, q) {
|
|
304
304
|
var Ae = F < 12 ? "AM" : "PM";
|
|
305
305
|
return q ? Ae.toLowerCase() : Ae;
|
|
@@ -308,33 +308,33 @@ function Pr() {
|
|
|
308
308
|
return ie || (function(q) {
|
|
309
309
|
switch (q) {
|
|
310
310
|
case "YY":
|
|
311
|
-
return String(
|
|
311
|
+
return String(P.$y).slice(-2);
|
|
312
312
|
case "YYYY":
|
|
313
|
-
return
|
|
313
|
+
return O.s(P.$y, 4, "0");
|
|
314
314
|
case "M":
|
|
315
315
|
return j + 1;
|
|
316
316
|
case "MM":
|
|
317
|
-
return
|
|
317
|
+
return O.s(j + 1, 2, "0");
|
|
318
318
|
case "MMM":
|
|
319
319
|
return V(T.monthsShort, j, G, 3);
|
|
320
320
|
case "MMMM":
|
|
321
321
|
return V(G, j);
|
|
322
322
|
case "D":
|
|
323
|
-
return
|
|
323
|
+
return P.$D;
|
|
324
324
|
case "DD":
|
|
325
|
-
return
|
|
325
|
+
return O.s(P.$D, 2, "0");
|
|
326
326
|
case "d":
|
|
327
|
-
return String(
|
|
327
|
+
return String(P.$W);
|
|
328
328
|
case "dd":
|
|
329
|
-
return V(T.weekdaysMin,
|
|
329
|
+
return V(T.weekdaysMin, P.$W, L, 2);
|
|
330
330
|
case "ddd":
|
|
331
|
-
return V(T.weekdaysShort,
|
|
331
|
+
return V(T.weekdaysShort, P.$W, L, 3);
|
|
332
332
|
case "dddd":
|
|
333
|
-
return L[
|
|
333
|
+
return L[P.$W];
|
|
334
334
|
case "H":
|
|
335
335
|
return String(C);
|
|
336
336
|
case "HH":
|
|
337
|
-
return
|
|
337
|
+
return O.s(C, 2, "0");
|
|
338
338
|
case "h":
|
|
339
339
|
return Z(1);
|
|
340
340
|
case "hh":
|
|
@@ -346,13 +346,13 @@ function Pr() {
|
|
|
346
346
|
case "m":
|
|
347
347
|
return String(k);
|
|
348
348
|
case "mm":
|
|
349
|
-
return
|
|
349
|
+
return O.s(k, 2, "0");
|
|
350
350
|
case "s":
|
|
351
|
-
return String(
|
|
351
|
+
return String(P.$s);
|
|
352
352
|
case "ss":
|
|
353
|
-
return
|
|
353
|
+
return O.s(P.$s, 2, "0");
|
|
354
354
|
case "SSS":
|
|
355
|
-
return
|
|
355
|
+
return O.s(P.$ms, 3, "0");
|
|
356
356
|
case "Z":
|
|
357
357
|
return y;
|
|
358
358
|
}
|
|
@@ -361,9 +361,9 @@ function Pr() {
|
|
|
361
361
|
}));
|
|
362
362
|
}, U.utcOffset = function() {
|
|
363
363
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
364
|
-
}, U.diff = function(E,
|
|
365
|
-
var z, y = this, C =
|
|
366
|
-
return
|
|
364
|
+
}, U.diff = function(E, P, T) {
|
|
365
|
+
var z, y = this, C = O.p(P), k = Q(E), j = (k.utcOffset() - this.utcOffset()) * r, L = this - k, G = function() {
|
|
366
|
+
return O.m(y, k);
|
|
367
367
|
};
|
|
368
368
|
switch (C) {
|
|
369
369
|
case w:
|
|
@@ -393,17 +393,17 @@ function Pr() {
|
|
|
393
393
|
default:
|
|
394
394
|
z = L;
|
|
395
395
|
}
|
|
396
|
-
return T ? z :
|
|
396
|
+
return T ? z : O.a(z);
|
|
397
397
|
}, U.daysInMonth = function() {
|
|
398
398
|
return this.endOf(h).$D;
|
|
399
399
|
}, U.$locale = function() {
|
|
400
400
|
return B[this.$L];
|
|
401
|
-
}, U.locale = function(E,
|
|
401
|
+
}, U.locale = function(E, P) {
|
|
402
402
|
if (!E) return this.$L;
|
|
403
|
-
var T = this.clone(), z = te(E,
|
|
403
|
+
var T = this.clone(), z = te(E, P, !0);
|
|
404
404
|
return z && (T.$L = z), T;
|
|
405
405
|
}, U.clone = function() {
|
|
406
|
-
return
|
|
406
|
+
return O.w(this.$d, this);
|
|
407
407
|
}, U.toDate = function() {
|
|
408
408
|
return new Date(this.valueOf());
|
|
409
409
|
}, U.toJSON = function() {
|
|
@@ -618,8 +618,8 @@ function ss() {
|
|
|
618
618
|
var S = (function(B, R, Y) {
|
|
619
619
|
var te = B - 60 * R * 1e3, Q = l(te, Y);
|
|
620
620
|
if (R === Q) return [te, R];
|
|
621
|
-
var
|
|
622
|
-
return Q ===
|
|
621
|
+
var O = l(te -= 60 * (Q - R) * 1e3, Y);
|
|
622
|
+
return Q === O ? [te, Q] : [B - 60 * Math.min(Q, O) * 1e3, Math.max(Q, O)];
|
|
623
623
|
})(i.utc(f, p).valueOf(), _, A), N = S[0], x = S[1], v = i(N).utcOffset(x);
|
|
624
624
|
return v.$x.$timezone = A, v;
|
|
625
625
|
}, i.tz.guess = function() {
|
|
@@ -2718,7 +2718,7 @@ const co = (e) => {
|
|
|
2718
2718
|
headers: Y,
|
|
2719
2719
|
withCredentials: te = "same-origin",
|
|
2720
2720
|
fetchOptions: Q
|
|
2721
|
-
} = co(g),
|
|
2721
|
+
} = co(g), O = t || fetch;
|
|
2722
2722
|
R = R ? (R + "").toLowerCase() : "text";
|
|
2723
2723
|
let ee = Ji([S, N && N.toAbortSignal()], x), ce = null;
|
|
2724
2724
|
const M = ee && ee.unsubscribe && (() => {
|
|
@@ -2741,7 +2741,7 @@ const co = (e) => {
|
|
|
2741
2741
|
}
|
|
2742
2742
|
}
|
|
2743
2743
|
b.isString(te) || (te = te ? "include" : "omit");
|
|
2744
|
-
const E = s && "credentials" in n.prototype,
|
|
2744
|
+
const E = s && "credentials" in n.prototype, P = {
|
|
2745
2745
|
...Q,
|
|
2746
2746
|
signal: ee,
|
|
2747
2747
|
method: A.toUpperCase(),
|
|
@@ -2750,8 +2750,8 @@ const co = (e) => {
|
|
|
2750
2750
|
duplex: "half",
|
|
2751
2751
|
credentials: E ? te : void 0
|
|
2752
2752
|
};
|
|
2753
|
-
ce = s && new n(p,
|
|
2754
|
-
let T = await (s ?
|
|
2753
|
+
ce = s && new n(p, P);
|
|
2754
|
+
let T = await (s ? O(ce, Q) : O(p, P));
|
|
2755
2755
|
const z = u && (R === "stream" || R === "response");
|
|
2756
2756
|
if (u && (v || z && M)) {
|
|
2757
2757
|
const C = {};
|
|
@@ -3216,26 +3216,26 @@ function fo(e) {
|
|
|
3216
3216
|
return fo(ut(e, o));
|
|
3217
3217
|
}, n;
|
|
3218
3218
|
}
|
|
3219
|
-
const
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3219
|
+
const re = fo(zt);
|
|
3220
|
+
re.Axios = lt;
|
|
3221
|
+
re.CanceledError = Nt;
|
|
3222
|
+
re.CancelToken = ic;
|
|
3223
|
+
re.isCancel = oo;
|
|
3224
|
+
re.VERSION = ho;
|
|
3225
|
+
re.toFormData = xn;
|
|
3226
|
+
re.AxiosError = W;
|
|
3227
|
+
re.Cancel = re.CanceledError;
|
|
3228
|
+
re.all = function(t) {
|
|
3229
3229
|
return Promise.all(t);
|
|
3230
3230
|
};
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3231
|
+
re.spread = cc;
|
|
3232
|
+
re.isAxiosError = lc;
|
|
3233
|
+
re.mergeConfig = ut;
|
|
3234
|
+
re.AxiosHeaders = _e;
|
|
3235
|
+
re.formToJSON = (e) => ro(b.isHTMLForm(e) ? new FormData(e) : e);
|
|
3236
|
+
re.getAdapter = uo.getAdapter;
|
|
3237
|
+
re.HttpStatusCode = ra;
|
|
3238
|
+
re.default = re;
|
|
3239
3239
|
const {
|
|
3240
3240
|
Axios: x9,
|
|
3241
3241
|
AxiosError: T9,
|
|
@@ -3253,7 +3253,7 @@ const {
|
|
|
3253
3253
|
formToJSON: j9,
|
|
3254
3254
|
getAdapter: Q9,
|
|
3255
3255
|
mergeConfig: G9
|
|
3256
|
-
} =
|
|
3256
|
+
} = re;
|
|
3257
3257
|
class Le {
|
|
3258
3258
|
constructor(t) {
|
|
3259
3259
|
this.props = t, t?.config?.configVersion && (this.configVersion = t.config.configVersion);
|
|
@@ -3301,7 +3301,7 @@ class Le {
|
|
|
3301
3301
|
getPages = (t) => this.props?.axiosApi.get("/config/pages", { params: t }).catch((n) => (console.log(`[/config/pages] Error: ${n.message}`), Promise.reject(n)));
|
|
3302
3302
|
getRankingS3 = async (t, n = {
|
|
3303
3303
|
Referer: "https://goamg.amplifyapp.com/vndomv"
|
|
3304
|
-
}) => !t || t === "" ? { data: [] } : await
|
|
3304
|
+
}) => !t || t === "" ? { data: [] } : await re.get(t, { headers: n }).catch((r) => {
|
|
3305
3305
|
console.log(`[Rankings s3] Error: ${r.message}`);
|
|
3306
3306
|
});
|
|
3307
3307
|
getNews = (t) => this.props?.axiosApi.get("/news", {
|
|
@@ -3400,7 +3400,7 @@ class z9 {
|
|
|
3400
3400
|
issuuApi = "https://api.issuu.com/v2";
|
|
3401
3401
|
api = void 0;
|
|
3402
3402
|
constructor(t) {
|
|
3403
|
-
this.api =
|
|
3403
|
+
this.api = re.create({
|
|
3404
3404
|
baseURL: this.issuuApi,
|
|
3405
3405
|
params: {
|
|
3406
3406
|
state: "PUBLISHED",
|
|
@@ -3974,7 +3974,7 @@ function yc({
|
|
|
3974
3974
|
return -(y * (n + r)) + C;
|
|
3975
3975
|
},
|
|
3976
3976
|
[o, n, r]
|
|
3977
|
-
),
|
|
3977
|
+
), O = he(
|
|
3978
3978
|
(y) => {
|
|
3979
3979
|
const C = N.current?.offsetWidth || window.innerWidth, k = B(), j = te();
|
|
3980
3980
|
if (o)
|
|
@@ -4005,7 +4005,7 @@ function yc({
|
|
|
4005
4005
|
), U = he(
|
|
4006
4006
|
(y) => {
|
|
4007
4007
|
if (!c || !s) return;
|
|
4008
|
-
const C = h - l, k = Date.now() - p, j = Math.abs(C) / Math.max(k, 1), L =
|
|
4008
|
+
const C = h - l, k = Date.now() - p, j = Math.abs(C) / Math.max(k, 1), L = O(C), H = j > 0.5 && Math.abs(C) > 50 ? Math.max(L, 1) : L;
|
|
4009
4009
|
if (H > 0)
|
|
4010
4010
|
if (C > 0) {
|
|
4011
4011
|
const V = Math.max(0, e - H);
|
|
@@ -4025,7 +4025,7 @@ function yc({
|
|
|
4025
4025
|
Y,
|
|
4026
4026
|
s,
|
|
4027
4027
|
i,
|
|
4028
|
-
|
|
4028
|
+
O,
|
|
4029
4029
|
M,
|
|
4030
4030
|
_
|
|
4031
4031
|
]
|
|
@@ -4034,7 +4034,7 @@ function yc({
|
|
|
4034
4034
|
y.preventDefault(), ["a", "span"].includes(y.target?.localName) && S(y.target), ee(y.clientX);
|
|
4035
4035
|
},
|
|
4036
4036
|
[ee]
|
|
4037
|
-
),
|
|
4037
|
+
), P = he(
|
|
4038
4038
|
(y) => {
|
|
4039
4039
|
ee(y.touches[0].clientX);
|
|
4040
4040
|
},
|
|
@@ -4067,7 +4067,7 @@ function yc({
|
|
|
4067
4067
|
actualVisibleItems: x,
|
|
4068
4068
|
dragHandlers: {
|
|
4069
4069
|
onMouseDown: E,
|
|
4070
|
-
onTouchStart:
|
|
4070
|
+
onTouchStart: P,
|
|
4071
4071
|
onTouchMove: T,
|
|
4072
4072
|
onTouchEnd: z,
|
|
4073
4073
|
onMouseLeave: U
|
|
@@ -4108,8 +4108,8 @@ function Y9(e) {
|
|
|
4108
4108
|
onIndexChange: h
|
|
4109
4109
|
}), v = he(
|
|
4110
4110
|
(Q) => {
|
|
4111
|
-
const
|
|
4112
|
-
h(
|
|
4111
|
+
const O = Math.max(0, Math.min(Q, _));
|
|
4112
|
+
h(O);
|
|
4113
4113
|
},
|
|
4114
4114
|
[_]
|
|
4115
4115
|
), B = he(() => {
|
|
@@ -4183,7 +4183,7 @@ function Y9(e) {
|
|
|
4183
4183
|
cursor: d ? g ? "grabbing" : "grab" : "default"
|
|
4184
4184
|
},
|
|
4185
4185
|
...x,
|
|
4186
|
-
children: l && l.map((Q,
|
|
4186
|
+
children: l && l.map((Q, O) => typeof Q == "string" ? /* @__PURE__ */ a(
|
|
4187
4187
|
"section",
|
|
4188
4188
|
{
|
|
4189
4189
|
className: "card",
|
|
@@ -4197,7 +4197,7 @@ function Y9(e) {
|
|
|
4197
4197
|
},
|
|
4198
4198
|
dangerouslySetInnerHTML: { __html: Q }
|
|
4199
4199
|
},
|
|
4200
|
-
|
|
4200
|
+
O
|
|
4201
4201
|
) : /* @__PURE__ */ a(
|
|
4202
4202
|
"section",
|
|
4203
4203
|
{
|
|
@@ -4212,25 +4212,25 @@ function Y9(e) {
|
|
|
4212
4212
|
},
|
|
4213
4213
|
children: Q
|
|
4214
4214
|
},
|
|
4215
|
-
|
|
4215
|
+
O
|
|
4216
4216
|
))
|
|
4217
4217
|
}
|
|
4218
4218
|
),
|
|
4219
4219
|
c && /* @__PURE__ */ a("nav", { className: "carrousel-pagination", children: Array.from(
|
|
4220
4220
|
{ length: Math.ceil(l.length / N) },
|
|
4221
|
-
(Q,
|
|
4222
|
-
const ee = Math.floor(u / N) ===
|
|
4221
|
+
(Q, O) => {
|
|
4222
|
+
const ee = Math.floor(u / N) === O;
|
|
4223
4223
|
return /* @__PURE__ */ a(
|
|
4224
4224
|
"li",
|
|
4225
4225
|
{
|
|
4226
4226
|
className: ee ? "active" : "",
|
|
4227
|
-
onClick: () => v(
|
|
4227
|
+
onClick: () => v(O * N),
|
|
4228
4228
|
style: {
|
|
4229
4229
|
cursor: "pointer",
|
|
4230
4230
|
backgroundColor: ee ? "var(--carrousel-pagination-background-color)" : "var(--carrousel-pagination-background-color-white)"
|
|
4231
4231
|
}
|
|
4232
4232
|
},
|
|
4233
|
-
|
|
4233
|
+
O
|
|
4234
4234
|
);
|
|
4235
4235
|
}
|
|
4236
4236
|
) })
|
|
@@ -4309,7 +4309,7 @@ const bc = "_content_3olxv_1", Cc = {
|
|
|
4309
4309
|
},
|
|
4310
4310
|
n.key
|
|
4311
4311
|
);
|
|
4312
|
-
}, Ec = "_boxInformation_o5vhf_1", xc = "_sectionDescriptionContainer_o5vhf_9", Tc = "_uppertitle_o5vhf_20", Ic = "_sectionDescription_o5vhf_9", Uc = "_articule_o5vhf_60", kc = "_linkStyled_o5vhf_74", qc = "_description_o5vhf_85", Rc = "_correspondent_o5vhf_113", Lc = "_correspondentLink_o5vhf_125", Bc = "_dotStyles_o5vhf_137", Oc = "_clipboardButton_o5vhf_144", Pc = "_socialNetworkSection_o5vhf_158",
|
|
4312
|
+
}, Ec = "_boxInformation_o5vhf_1", xc = "_sectionDescriptionContainer_o5vhf_9", Tc = "_uppertitle_o5vhf_20", Ic = "_sectionDescription_o5vhf_9", Uc = "_articule_o5vhf_60", kc = "_linkStyled_o5vhf_74", qc = "_description_o5vhf_85", Rc = "_correspondent_o5vhf_113", Lc = "_correspondentLink_o5vhf_125", Bc = "_dotStyles_o5vhf_137", Oc = "_clipboardButton_o5vhf_144", Pc = "_socialNetworkSection_o5vhf_158", se = {
|
|
4313
4313
|
boxInformation: Ec,
|
|
4314
4314
|
sectionDescriptionContainer: xc,
|
|
4315
4315
|
uppertitle: Tc,
|
|
@@ -4323,7 +4323,7 @@ const bc = "_content_3olxv_1", Cc = {
|
|
|
4323
4323
|
clipboardButton: Oc,
|
|
4324
4324
|
socialNetworkSection: Pc
|
|
4325
4325
|
};
|
|
4326
|
-
function
|
|
4326
|
+
function D(e) {
|
|
4327
4327
|
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: n } = J(), r = t !== "false" && n !== "false" ? "/" + t : "", o = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), s = e.href?.split("/")[1] === r.replace("/", ""), i = {
|
|
4328
4328
|
...e,
|
|
4329
4329
|
href: (!o && !s ? r : "") + (e.href ?? "")
|
|
@@ -4451,19 +4451,19 @@ const go = (e) => /* @__PURE__ */ a(
|
|
|
4451
4451
|
};
|
|
4452
4452
|
function jc({ noteShare: e }) {
|
|
4453
4453
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
4454
|
-
return e ? /* @__PURE__ */ m("div", { className:
|
|
4454
|
+
return e ? /* @__PURE__ */ m("div", { className: se.socialNetworkSection, children: [
|
|
4455
4455
|
e.options?.map((n) => {
|
|
4456
4456
|
const r = Mc[n];
|
|
4457
4457
|
if (!r) return null;
|
|
4458
4458
|
const o = e.variant === "outline" ? r.icon.outline : r.icon.solid, s = r.url(t);
|
|
4459
4459
|
return /* @__PURE__ */ a(
|
|
4460
|
-
|
|
4460
|
+
D,
|
|
4461
4461
|
{
|
|
4462
4462
|
href: s,
|
|
4463
4463
|
target: "_blank",
|
|
4464
4464
|
rel: "noopener noreferrer",
|
|
4465
4465
|
"aria-label": `Compartir en ${n}`,
|
|
4466
|
-
className: `${
|
|
4466
|
+
className: `${se.socialButton} ${se[`${n.toLowerCase()}Button`] ?? ""} ${se[`${n.toLowerCase()}Styled`]}`,
|
|
4467
4467
|
children: o("")
|
|
4468
4468
|
},
|
|
4469
4469
|
n
|
|
@@ -4474,7 +4474,7 @@ function jc({ noteShare: e }) {
|
|
|
4474
4474
|
{
|
|
4475
4475
|
type: "button",
|
|
4476
4476
|
"aria-label": "share",
|
|
4477
|
-
className: [
|
|
4477
|
+
className: [se.clipboardButton, "sharebtn-id"].join(" "),
|
|
4478
4478
|
children: /* @__PURE__ */ a(Dc, {})
|
|
4479
4479
|
}
|
|
4480
4480
|
),
|
|
@@ -4485,14 +4485,20 @@ function jc({ noteShare: e }) {
|
|
|
4485
4485
|
"data-text": "Link copiado",
|
|
4486
4486
|
"data-active": "false",
|
|
4487
4487
|
"aria-label": "copy",
|
|
4488
|
-
className: [
|
|
4488
|
+
className: [se.clipboardButton, "clipbtn-id"].join(" "),
|
|
4489
4489
|
children: /* @__PURE__ */ a(Ao, {})
|
|
4490
4490
|
}
|
|
4491
4491
|
)
|
|
4492
4492
|
] }) : null;
|
|
4493
4493
|
}
|
|
4494
4494
|
const Et = (e) => {
|
|
4495
|
-
const {
|
|
4495
|
+
const {
|
|
4496
|
+
share: t = !1,
|
|
4497
|
+
cutSubtitle: n = !0,
|
|
4498
|
+
keywords: r,
|
|
4499
|
+
/* info */
|
|
4500
|
+
paths: o
|
|
4501
|
+
} = e, { SHOW_TAG_BY_SECTION: s } = J(), i = () => {
|
|
4496
4502
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
4497
4503
|
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Me(
|
|
4498
4504
|
e.info?.date?.modified
|
|
@@ -4501,55 +4507,41 @@ const Et = (e) => {
|
|
|
4501
4507
|
return e?.authors[0]?.fullname ?? "Redacción";
|
|
4502
4508
|
if (e?.config?.showtime)
|
|
4503
4509
|
return Me(e.info?.date?.modified);
|
|
4504
|
-
},
|
|
4505
|
-
const
|
|
4510
|
+
}, c = () => {
|
|
4511
|
+
const u = {
|
|
4506
4512
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
4507
4513
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
4508
4514
|
"--colorSubTitle": e.colorSubTitle
|
|
4509
4515
|
};
|
|
4510
|
-
return n ? /* @__PURE__ */ a("p", { className:
|
|
4516
|
+
return n ? /* @__PURE__ */ a("p", { className: se.description, children: je(e.main.subtitle.striped ?? "") }) : /* @__PURE__ */ a(
|
|
4511
4517
|
"h2",
|
|
4512
4518
|
{
|
|
4513
|
-
className:
|
|
4519
|
+
className: se.description,
|
|
4514
4520
|
dangerouslySetInnerHTML: {
|
|
4515
4521
|
__html: e.main.subtitle.rendered ?? e.main.subtitle.striped ?? ""
|
|
4516
4522
|
},
|
|
4517
|
-
style:
|
|
4523
|
+
style: u
|
|
4518
4524
|
}
|
|
4519
4525
|
);
|
|
4520
|
-
},
|
|
4521
|
-
if (
|
|
4522
|
-
const
|
|
4523
|
-
return /* @__PURE__ */ m("h3", { className:
|
|
4524
|
-
/* @__PURE__ */ a(
|
|
4525
|
-
O,
|
|
4526
|
-
{
|
|
4527
|
-
"aria-label": f,
|
|
4528
|
-
className: re.sectionDescription,
|
|
4529
|
-
href: Qr(h, s),
|
|
4530
|
-
children: f
|
|
4531
|
-
}
|
|
4532
|
-
),
|
|
4533
|
-
l()
|
|
4534
|
-
] });
|
|
4535
|
-
} else if (o?.section?.url) {
|
|
4536
|
-
const h = o.section.name;
|
|
4537
|
-
return /* @__PURE__ */ m("h3", { className: re.sectionDescriptionContainer, children: [
|
|
4526
|
+
}, d = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: se.uppertitle, title: e.main.uppertitle, children: e.main.uppertitle }) : null, l = () => {
|
|
4527
|
+
if (s && r?.tags?.length && r.tags.length > 0) {
|
|
4528
|
+
const u = r.tags[0], h = u.name;
|
|
4529
|
+
return console.log("tagName", h, u), /* @__PURE__ */ m("h3", { className: se.sectionDescriptionContainer, children: [
|
|
4538
4530
|
/* @__PURE__ */ a(
|
|
4539
|
-
|
|
4531
|
+
D,
|
|
4540
4532
|
{
|
|
4541
4533
|
"aria-label": h,
|
|
4542
|
-
className:
|
|
4543
|
-
href: o
|
|
4534
|
+
className: se.sectionDescription,
|
|
4535
|
+
href: Qr(u, o),
|
|
4544
4536
|
children: h
|
|
4545
4537
|
}
|
|
4546
4538
|
),
|
|
4547
|
-
|
|
4539
|
+
d()
|
|
4548
4540
|
] });
|
|
4549
4541
|
}
|
|
4550
4542
|
return null;
|
|
4551
4543
|
};
|
|
4552
|
-
return /* @__PURE__ */ m("div", { className:
|
|
4544
|
+
return /* @__PURE__ */ m("div", { className: se.boxInformation, children: [
|
|
4553
4545
|
t && /* @__PURE__ */ a(
|
|
4554
4546
|
"div",
|
|
4555
4547
|
{
|
|
@@ -4559,17 +4551,17 @@ const Et = (e) => {
|
|
|
4559
4551
|
children: /* @__PURE__ */ a(jc, { noteShare: { ...t } })
|
|
4560
4552
|
}
|
|
4561
4553
|
),
|
|
4562
|
-
/* @__PURE__ */ a(
|
|
4554
|
+
/* @__PURE__ */ a(l, {}),
|
|
4563
4555
|
Ee.createElement(
|
|
4564
4556
|
e.isTitle ? "h1" : "h2",
|
|
4565
4557
|
{
|
|
4566
|
-
className:
|
|
4558
|
+
className: se.articule
|
|
4567
4559
|
},
|
|
4568
4560
|
e?.info?.link?.url ? /* @__PURE__ */ a(
|
|
4569
|
-
|
|
4561
|
+
D,
|
|
4570
4562
|
{
|
|
4571
4563
|
"aria-label": e.main?.title?.section,
|
|
4572
|
-
className:
|
|
4564
|
+
className: se.linkStyled,
|
|
4573
4565
|
style: {
|
|
4574
4566
|
"--isLink": "var(--news-description-title-color-hover-decoration)"
|
|
4575
4567
|
},
|
|
@@ -4579,23 +4571,23 @@ const Et = (e) => {
|
|
|
4579
4571
|
}
|
|
4580
4572
|
) : e.main?.title?.section
|
|
4581
4573
|
),
|
|
4582
|
-
e.config?.showsubtitle && /* @__PURE__ */ a(
|
|
4574
|
+
e.config?.showsubtitle && /* @__PURE__ */ a(c, {}),
|
|
4583
4575
|
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
4584
|
-
|
|
4576
|
+
D,
|
|
4585
4577
|
{
|
|
4586
|
-
"aria-label":
|
|
4587
|
-
className:
|
|
4578
|
+
"aria-label": i(),
|
|
4579
|
+
className: se.correspondentLink,
|
|
4588
4580
|
href: `/${e?.paths?.autor}/${e?.authors[0]?.name}`,
|
|
4589
|
-
children:
|
|
4581
|
+
children: i()
|
|
4590
4582
|
}
|
|
4591
|
-
) }) : /* @__PURE__ */ a("h3", { className:
|
|
4583
|
+
) }) : /* @__PURE__ */ a("h3", { className: se.correspondent, children: i() }) })
|
|
4592
4584
|
] });
|
|
4593
4585
|
}, Qc = "_content_coxjf_1", Gc = "_contentNew_coxjf_21", zc = "_imageBox_coxjf_29", Hc = "_numberTag_coxjf_44", Kt = {
|
|
4594
4586
|
content: Qc,
|
|
4595
4587
|
contentNew: Gc,
|
|
4596
4588
|
imageBox: zc,
|
|
4597
4589
|
numberTag: Hc
|
|
4598
|
-
}, Vc = "_figure_ooa5j_1", Fc = "_backdrop_ooa5j_6", Wc = "_backdropAux_ooa5j_16", $c = "_imageStyled_ooa5j_37", Yc = "_boxPlayIcon_ooa5j_51", Kc = "_playStyled_ooa5j_60", Jc = "_imageLogoPlaceholder_ooa5j_77", Zc = "_imagePlaceholder_ooa5j_98",
|
|
4590
|
+
}, Vc = "_figure_ooa5j_1", Fc = "_backdrop_ooa5j_6", Wc = "_backdropAux_ooa5j_16", $c = "_imageStyled_ooa5j_37", Yc = "_boxPlayIcon_ooa5j_51", Kc = "_playStyled_ooa5j_60", Jc = "_imageLogoPlaceholder_ooa5j_77", Zc = "_imagePlaceholder_ooa5j_98", oe = {
|
|
4599
4591
|
figure: Vc,
|
|
4600
4592
|
backdrop: Fc,
|
|
4601
4593
|
backdropAux: Wc,
|
|
@@ -4626,15 +4618,15 @@ const Et = (e) => {
|
|
|
4626
4618
|
}
|
|
4627
4619
|
), Xc = (e) => {
|
|
4628
4620
|
const { isVideo: t = !1, isLarge: n = !1, priorityHigh: r = !1 } = e, o = e.preview.sizes;
|
|
4629
|
-
return o ? o.length === 1 ? /* @__PURE__ */ a("figure", { className:
|
|
4630
|
-
/* @__PURE__ */ a("span", { className:
|
|
4621
|
+
return o ? o.length === 1 ? /* @__PURE__ */ a("figure", { className: oe.figure, children: /* @__PURE__ */ m("span", { className: oe.backdrop, children: [
|
|
4622
|
+
/* @__PURE__ */ a("span", { className: oe.backdropAux }),
|
|
4631
4623
|
/* @__PURE__ */ m("picture", { children: [
|
|
4632
4624
|
/* @__PURE__ */ a(
|
|
4633
4625
|
"img",
|
|
4634
4626
|
{
|
|
4635
4627
|
fetchPriority: r ? "high" : "low",
|
|
4636
4628
|
loading: r ? "eager" : "lazy",
|
|
4637
|
-
className:
|
|
4629
|
+
className: oe.imageStyled,
|
|
4638
4630
|
alt: e.preview?.description ? e.preview?.description : "",
|
|
4639
4631
|
src: o[0]?.url ? o[0]?.url : void 0
|
|
4640
4632
|
}
|
|
@@ -4643,14 +4635,14 @@ const Et = (e) => {
|
|
|
4643
4635
|
/* @__PURE__ */ a(
|
|
4644
4636
|
"div",
|
|
4645
4637
|
{
|
|
4646
|
-
className:
|
|
4638
|
+
className: oe.boxPlayIcon,
|
|
4647
4639
|
style: { height: n ? "40%" : "72px" }
|
|
4648
4640
|
}
|
|
4649
4641
|
),
|
|
4650
4642
|
/* @__PURE__ */ a(
|
|
4651
4643
|
vt,
|
|
4652
4644
|
{
|
|
4653
|
-
className:
|
|
4645
|
+
className: oe.playStyled,
|
|
4654
4646
|
style: {
|
|
4655
4647
|
width: n ? "3rem" : "27px",
|
|
4656
4648
|
height: n ? "3rem" : "27px",
|
|
@@ -4661,8 +4653,8 @@ const Et = (e) => {
|
|
|
4661
4653
|
)
|
|
4662
4654
|
] })
|
|
4663
4655
|
] })
|
|
4664
|
-
] }) }) : /* @__PURE__ */ a("figure", { className:
|
|
4665
|
-
/* @__PURE__ */ a("span", { className:
|
|
4656
|
+
] }) }) : /* @__PURE__ */ a("figure", { className: oe.figure, children: /* @__PURE__ */ m("span", { className: oe.backdrop, children: [
|
|
4657
|
+
/* @__PURE__ */ a("span", { className: oe.backdropAux }),
|
|
4666
4658
|
/* @__PURE__ */ m("picture", { children: [
|
|
4667
4659
|
o.map(async (s, i) => {
|
|
4668
4660
|
if (e.isLarge)
|
|
@@ -4690,7 +4682,7 @@ const Et = (e) => {
|
|
|
4690
4682
|
fetchPriority: r ? "high" : "low",
|
|
4691
4683
|
loading: r ? "eager" : "lazy",
|
|
4692
4684
|
decoding: "async",
|
|
4693
|
-
className:
|
|
4685
|
+
className: oe.imageStyled,
|
|
4694
4686
|
width: o[0]?.width,
|
|
4695
4687
|
height: o[0]?.height,
|
|
4696
4688
|
alt: e.preview?.description ? e.preview?.description : "",
|
|
@@ -4701,14 +4693,14 @@ const Et = (e) => {
|
|
|
4701
4693
|
/* @__PURE__ */ a(
|
|
4702
4694
|
"div",
|
|
4703
4695
|
{
|
|
4704
|
-
className:
|
|
4696
|
+
className: oe.boxPlayIcon,
|
|
4705
4697
|
style: { height: n ? "40%" : "72px" }
|
|
4706
4698
|
}
|
|
4707
4699
|
),
|
|
4708
4700
|
/* @__PURE__ */ a(
|
|
4709
4701
|
vt,
|
|
4710
4702
|
{
|
|
4711
|
-
className:
|
|
4703
|
+
className: oe.playStyled,
|
|
4712
4704
|
style: {
|
|
4713
4705
|
width: n ? "3rem" : "var(--image-play-width)",
|
|
4714
4706
|
height: n ? "3rem" : "var(--image-play-height)",
|
|
@@ -4754,15 +4746,15 @@ const Et = (e) => {
|
|
|
4754
4746
|
} else
|
|
4755
4747
|
i(c?.[0]?.url);
|
|
4756
4748
|
})();
|
|
4757
|
-
}, [c, t, e.cookies]), c && s && s !== "invalidURL" ? /* @__PURE__ */ a("figure", { className:
|
|
4758
|
-
/* @__PURE__ */ a("span", { className:
|
|
4749
|
+
}, [c, t, e.cookies]), c && s && s !== "invalidURL" ? /* @__PURE__ */ a("figure", { className: oe.figure, children: /* @__PURE__ */ m("span", { className: oe.backdrop, children: [
|
|
4750
|
+
/* @__PURE__ */ a("span", { className: oe.backdropAux }),
|
|
4759
4751
|
/* @__PURE__ */ m("picture", { children: [
|
|
4760
4752
|
/* @__PURE__ */ a(
|
|
4761
4753
|
"img",
|
|
4762
4754
|
{
|
|
4763
4755
|
fetchPriority: o ? "high" : "low",
|
|
4764
4756
|
loading: o ? "eager" : "lazy",
|
|
4765
|
-
className:
|
|
4757
|
+
className: oe.imageStyled,
|
|
4766
4758
|
style: {
|
|
4767
4759
|
boxShadow: r ? "0px 4px 8px 0px #00000033" : "0px"
|
|
4768
4760
|
},
|
|
@@ -4770,9 +4762,9 @@ const Et = (e) => {
|
|
|
4770
4762
|
src: s
|
|
4771
4763
|
}
|
|
4772
4764
|
),
|
|
4773
|
-
n && /* @__PURE__ */ a("div", { className:
|
|
4765
|
+
n && /* @__PURE__ */ a("div", { className: oe.playWrapper, children: /* @__PURE__ */ a(vt, {}) })
|
|
4774
4766
|
] })
|
|
4775
|
-
] }) }) : s === "invalidURL" ? /* @__PURE__ */ a("div", { className:
|
|
4767
|
+
] }) }) : s === "invalidURL" ? /* @__PURE__ */ a("div", { className: oe.imageLogoPlaceholder, children: /* @__PURE__ */ a(xt, { style: { color: "var(--grey-100)" } }) }) : /* @__PURE__ */ a(
|
|
4776
4768
|
"div",
|
|
4777
4769
|
{
|
|
4778
4770
|
style: { display: "flex" },
|
|
@@ -4780,13 +4772,13 @@ const Et = (e) => {
|
|
|
4780
4772
|
"data-props": encodeURIComponent(
|
|
4781
4773
|
JSON.stringify({ ...e, children: void 0 })
|
|
4782
4774
|
),
|
|
4783
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
4775
|
+
children: /* @__PURE__ */ a("div", { className: oe.imagePlaceholder })
|
|
4784
4776
|
}
|
|
4785
4777
|
);
|
|
4786
4778
|
}, Ue = async (e) => {
|
|
4787
4779
|
const { preview: t } = e;
|
|
4788
4780
|
if (!t?.sizes || t.sizes.length === 0 || t.sizes.some((s) => !s.url))
|
|
4789
|
-
return /* @__PURE__ */ a("div", { className:
|
|
4781
|
+
return /* @__PURE__ */ a("div", { className: oe.imageLogoPlaceholder });
|
|
4790
4782
|
const { PUBLIC_IS_OFFLINE: n } = J();
|
|
4791
4783
|
if (n === "true")
|
|
4792
4784
|
return /* @__PURE__ */ a(nl, { ...e });
|
|
@@ -5837,7 +5829,7 @@ const Et = (e) => {
|
|
|
5837
5829
|
style: o,
|
|
5838
5830
|
htmlFor: e?.toggledrawerevent === "true" ? "side-bar-state" : ""
|
|
5839
5831
|
}
|
|
5840
|
-
) : /* @__PURE__ */ a(
|
|
5832
|
+
) : /* @__PURE__ */ a(D, { ...r, style: o });
|
|
5841
5833
|
}, pl = (e) => /* @__PURE__ */ m("section", { className: [ke.content, e.className ?? ""].join(" "), children: [
|
|
5842
5834
|
/* @__PURE__ */ a("div", { className: ke.subscribeImage, children: e.image }),
|
|
5843
5835
|
/* @__PURE__ */ a("div", { className: ke.tag, children: e.texts.newsletterTag ?? "NEWS" }),
|
|
@@ -5856,7 +5848,7 @@ const Et = (e) => {
|
|
|
5856
5848
|
/* @__PURE__ */ a(In, { className: ke.buttonStyled, size: "large", full: !0, children: e.texts.newsletterButtonText ?? "Suscribirme" }),
|
|
5857
5849
|
/* @__PURE__ */ m("div", { className: ke.contentTerms, children: [
|
|
5858
5850
|
/* @__PURE__ */ a("p", { className: ke.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
5859
|
-
/* @__PURE__ */ a(
|
|
5851
|
+
/* @__PURE__ */ a(D, { className: ke.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
|
|
5860
5852
|
] })
|
|
5861
5853
|
] }), 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
5854
|
content: Al,
|
|
@@ -5892,7 +5884,7 @@ const Et = (e) => {
|
|
|
5892
5884
|
] }),
|
|
5893
5885
|
/* @__PURE__ */ m("div", { className: xe.contentTerms, children: [
|
|
5894
5886
|
/* @__PURE__ */ a("p", { className: xe.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
5895
|
-
/* @__PURE__ */ a(
|
|
5887
|
+
/* @__PURE__ */ a(D, { className: xe.terms, children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones" })
|
|
5896
5888
|
] })
|
|
5897
5889
|
] })
|
|
5898
5890
|
] }), Ul = (e) => /* @__PURE__ */ m(
|
|
@@ -5993,7 +5985,7 @@ const Et = (e) => {
|
|
|
5993
5985
|
),
|
|
5994
5986
|
/* @__PURE__ */ m("div", { className: Qe.contentTerms, children: [
|
|
5995
5987
|
/* @__PURE__ */ a("p", { className: Qe.subscribeText, children: "Suscribirte implica aceptar los" }),
|
|
5996
|
-
/* @__PURE__ */ a(
|
|
5988
|
+
/* @__PURE__ */ a(D, { className: Qe.terms, href: e.terms, target: "_blank", children: "Términos y condiciones" })
|
|
5997
5989
|
] })
|
|
5998
5990
|
] }), jl = (e) => /* @__PURE__ */ m(
|
|
5999
5991
|
"svg",
|
|
@@ -6225,7 +6217,7 @@ const Et = (e) => {
|
|
|
6225
6217
|
const { freeZone: t, socials: n, menu: r, customBlock: o } = e;
|
|
6226
6218
|
return /* @__PURE__ */ m("footer", { className: we.content, children: [
|
|
6227
6219
|
/* @__PURE__ */ m("section", { className: we.brandContent, children: [
|
|
6228
|
-
/* @__PURE__ */ a(
|
|
6220
|
+
/* @__PURE__ */ a(D, { href: "/", "aria-label": "Ir a la home", children: /* @__PURE__ */ a("span", { className: we.logoStyled, children: e.logo }) }),
|
|
6229
6221
|
/* @__PURE__ */ a("div", { className: we.socialMedia, children: Object.keys(n).map((s) => n[s]?.show && /* @__PURE__ */ a(
|
|
6230
6222
|
"a",
|
|
6231
6223
|
{
|
|
@@ -6243,7 +6235,7 @@ const Et = (e) => {
|
|
|
6243
6235
|
] }),
|
|
6244
6236
|
/* @__PURE__ */ m("section", { className: we.sectionContent, children: [
|
|
6245
6237
|
/* @__PURE__ */ a("div", { className: we.section, children: r.filter((s) => !s.subitem).map((s, i) => /* @__PURE__ */ a(
|
|
6246
|
-
|
|
6238
|
+
D,
|
|
6247
6239
|
{
|
|
6248
6240
|
href: s.link ? s.link : void 0,
|
|
6249
6241
|
target: s.target,
|
|
@@ -6254,7 +6246,7 @@ const Et = (e) => {
|
|
|
6254
6246
|
i
|
|
6255
6247
|
)) }),
|
|
6256
6248
|
/* @__PURE__ */ a("div", { className: we.section, children: t && t.map((s, i) => /* @__PURE__ */ a(
|
|
6257
|
-
|
|
6249
|
+
D,
|
|
6258
6250
|
{
|
|
6259
6251
|
href: s.link ? s?.link : void 0,
|
|
6260
6252
|
target: s.target,
|
|
@@ -6268,7 +6260,7 @@ const Et = (e) => {
|
|
|
6268
6260
|
/* @__PURE__ */ m("section", { className: we.copyrigth, children: [
|
|
6269
6261
|
/* @__PURE__ */ a("p", { className: we.copyrigthText, children: e.copyrigth }),
|
|
6270
6262
|
/* @__PURE__ */ a(
|
|
6271
|
-
|
|
6263
|
+
D,
|
|
6272
6264
|
{
|
|
6273
6265
|
"aria-label": "Bluestack link",
|
|
6274
6266
|
href: "https://www.bluestack.la",
|
|
@@ -6485,7 +6477,7 @@ function Dd({ noteShare: e }) {
|
|
|
6485
6477
|
if (!r) return null;
|
|
6486
6478
|
const o = e.variant === "outline" ? r.icon.outline : r.icon.solid, s = r.url(t);
|
|
6487
6479
|
return /* @__PURE__ */ a(
|
|
6488
|
-
|
|
6480
|
+
D,
|
|
6489
6481
|
{
|
|
6490
6482
|
href: s,
|
|
6491
6483
|
target: "_blank",
|
|
@@ -6577,7 +6569,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6577
6569
|
};
|
|
6578
6570
|
return (t > 1 || n && t < r) && /* @__PURE__ */ m("section", { className: On.content, children: [
|
|
6579
6571
|
t > 1 && /* @__PURE__ */ a(
|
|
6580
|
-
|
|
6572
|
+
D,
|
|
6581
6573
|
{
|
|
6582
6574
|
className: On.linkStyled,
|
|
6583
6575
|
href: i("prev", o || "", s || ""),
|
|
@@ -6585,7 +6577,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6585
6577
|
}
|
|
6586
6578
|
),
|
|
6587
6579
|
n && t < r && /* @__PURE__ */ a(
|
|
6588
|
-
|
|
6580
|
+
D,
|
|
6589
6581
|
{
|
|
6590
6582
|
className: On.linkStyled,
|
|
6591
6583
|
href: i("next", o || "", s || ""),
|
|
@@ -6638,7 +6630,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6638
6630
|
},
|
|
6639
6631
|
children: [
|
|
6640
6632
|
/* @__PURE__ */ a(
|
|
6641
|
-
|
|
6633
|
+
D,
|
|
6642
6634
|
{
|
|
6643
6635
|
"aria-label": e.main?.title?.section,
|
|
6644
6636
|
className: Pt.image,
|
|
@@ -6690,7 +6682,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6690
6682
|
} = e;
|
|
6691
6683
|
return /* @__PURE__ */ m("section", { className: mt.content, children: [
|
|
6692
6684
|
/* @__PURE__ */ a(
|
|
6693
|
-
|
|
6685
|
+
D,
|
|
6694
6686
|
{
|
|
6695
6687
|
title: r?.title?.section,
|
|
6696
6688
|
href: n.link.url,
|
|
@@ -6712,7 +6704,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6712
6704
|
},
|
|
6713
6705
|
children: [
|
|
6714
6706
|
e?.info?.section && /* @__PURE__ */ a(
|
|
6715
|
-
|
|
6707
|
+
D,
|
|
6716
6708
|
{
|
|
6717
6709
|
className: [mt.sectionDescription].join(" "),
|
|
6718
6710
|
href: e?.info?.section?.url,
|
|
@@ -6720,7 +6712,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6720
6712
|
}
|
|
6721
6713
|
),
|
|
6722
6714
|
/* @__PURE__ */ a("h2", { className: mt.articule, children: /* @__PURE__ */ a(
|
|
6723
|
-
|
|
6715
|
+
D,
|
|
6724
6716
|
{
|
|
6725
6717
|
className: mt.linkStyled,
|
|
6726
6718
|
href: e?.info?.link?.url,
|
|
@@ -6750,7 +6742,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6750
6742
|
/* @__PURE__ */ a(t, {}),
|
|
6751
6743
|
/* @__PURE__ */ a("p", { className: ft.title, children: e.title }),
|
|
6752
6744
|
/* @__PURE__ */ a("p", { className: ft.description, children: e.description }),
|
|
6753
|
-
/* @__PURE__ */ a(
|
|
6745
|
+
/* @__PURE__ */ a(D, { className: ft.linkStyled, href: "/", children: e.buttonText ?? "Inicio" })
|
|
6754
6746
|
] })
|
|
6755
6747
|
] });
|
|
6756
6748
|
}, p1 = "_content_zxcog_1", A1 = "_contentLabel_zxcog_8", w1 = "_label_zxcog_13", y1 = "_required_zxcog_22", v1 = "_input_zxcog_28", It = {
|
|
@@ -6810,7 +6802,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6810
6802
|
/* @__PURE__ */ m("div", { className: et.textBox, children: [
|
|
6811
6803
|
/* @__PURE__ */ m("div", { className: et.contentBox, children: [
|
|
6812
6804
|
e?.info?.section && /* @__PURE__ */ a(
|
|
6813
|
-
|
|
6805
|
+
D,
|
|
6814
6806
|
{
|
|
6815
6807
|
className: et.sectionDescription,
|
|
6816
6808
|
href: e?.info?.section?.url,
|
|
@@ -6841,7 +6833,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6841
6833
|
contentText: G1,
|
|
6842
6834
|
dateLink: z1
|
|
6843
6835
|
}, H1 = (e) => /* @__PURE__ */ a("section", { className: Zt.content, children: e.itemList[0]?.list.items.map((t, n) => /* @__PURE__ */ m("div", { className: Zt.contentLine, children: [
|
|
6844
|
-
/* @__PURE__ */ a(
|
|
6836
|
+
/* @__PURE__ */ a(D, { className: Zt.dateLink, href: `#item-${n + 1}`, children: ls(t.date) }),
|
|
6845
6837
|
/* @__PURE__ */ a("div", { className: Zt.contentText, children: (e.itemList[0]?.list.integrated, t.title) })
|
|
6846
6838
|
] }, n)) }), V1 = "_content_w8a84_1", F1 = "_contentInfo_w8a84_11", W1 = "_imageStyled_w8a84_19", $1 = "_contentIconStyled_w8a84_30", Y1 = "_name_w8a84_56", K1 = "_email_w8a84_65", J1 = "_description_w8a84_81", Z1 = "_contenSocialNetwork_w8a84_93", X1 = "_socialIcon_w8a84_103", Te = {
|
|
6847
6839
|
content: V1,
|
|
@@ -7159,10 +7151,10 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7159
7151
|
"data-after": `${r}`,
|
|
7160
7152
|
children: [
|
|
7161
7153
|
/* @__PURE__ */ a("hr", { className: ze.startLine }),
|
|
7162
|
-
e.titleUrl ? /* @__PURE__ */ a(
|
|
7154
|
+
e.titleUrl ? /* @__PURE__ */ a(D, { href: e.titleUrl, children: o }) : o,
|
|
7163
7155
|
/* @__PURE__ */ a("hr", { className: ze.line }),
|
|
7164
7156
|
e.titleUrl && /* @__PURE__ */ a(
|
|
7165
|
-
|
|
7157
|
+
D,
|
|
7166
7158
|
{
|
|
7167
7159
|
className: ze.readMore,
|
|
7168
7160
|
href: e.titleUrl?.toString() ?? ""
|
|
@@ -7248,7 +7240,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7248
7240
|
/* @__PURE__ */ a("input", { type: "checkbox", id: "side-bar-state" }),
|
|
7249
7241
|
/* @__PURE__ */ m("section", { className: le.sidebarCustom, children: [
|
|
7250
7242
|
/* @__PURE__ */ a("div", { className: le.buttonContent, children: /* @__PURE__ */ a("label", { className: le.buttonStyled, htmlFor: "side-bar-state", children: /* @__PURE__ */ a(xt, { className: le.icon }) }) }),
|
|
7251
|
-
/* @__PURE__ */ a("div", { className: le.inputContent, children: /* @__PURE__ */ m(
|
|
7243
|
+
/* @__PURE__ */ a("div", { className: le.inputContent, children: /* @__PURE__ */ m(D, { href: "/buscar", className: le.inputStyled, children: [
|
|
7252
7244
|
/* @__PURE__ */ m("p", { className: le.buscar, children: [
|
|
7253
7245
|
o,
|
|
7254
7246
|
"..."
|
|
@@ -7283,7 +7275,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7283
7275
|
htmlFor: "accordion_" + i,
|
|
7284
7276
|
children: [
|
|
7285
7277
|
s.link ? /* @__PURE__ */ a(
|
|
7286
|
-
|
|
7278
|
+
D,
|
|
7287
7279
|
{
|
|
7288
7280
|
className: `${le.linkStyledAccordion} ${le.linkStyled}`,
|
|
7289
7281
|
href: s.link ? s.link : void 0,
|
|
@@ -7302,7 +7294,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7302
7294
|
]
|
|
7303
7295
|
}
|
|
7304
7296
|
) : /* @__PURE__ */ a(
|
|
7305
|
-
|
|
7297
|
+
D,
|
|
7306
7298
|
{
|
|
7307
7299
|
className: le.linkStyled,
|
|
7308
7300
|
href: s.link ? s.link : void 0,
|
|
@@ -7318,7 +7310,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7318
7310
|
"--max-height": s.subitem.length * 45 + "px"
|
|
7319
7311
|
},
|
|
7320
7312
|
children: s.subitem.map((c, d) => /* @__PURE__ */ a(
|
|
7321
|
-
|
|
7313
|
+
D,
|
|
7322
7314
|
{
|
|
7323
7315
|
className: le.subLinkStyled,
|
|
7324
7316
|
href: c.link ? c.link : void 0,
|
|
@@ -7386,7 +7378,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7386
7378
|
closeLiveStyled: rh
|
|
7387
7379
|
}, Co = (e) => {
|
|
7388
7380
|
const { alertZone: t, id: n = "close-alert" } = e, r = () => /* @__PURE__ */ a(
|
|
7389
|
-
|
|
7381
|
+
D,
|
|
7390
7382
|
{
|
|
7391
7383
|
className: kt.headLine,
|
|
7392
7384
|
href: t?.data[0]?.info.link.url,
|
|
@@ -7447,7 +7439,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7447
7439
|
Array.isArray(t) && /* @__PURE__ */ m("div", { className: `${He.tabs} header-page-tape-content`, children: [
|
|
7448
7440
|
n !== "" && /* @__PURE__ */ a("p", { className: He.title, children: `${n}` }),
|
|
7449
7441
|
t && t[s] && /* @__PURE__ */ a(
|
|
7450
|
-
|
|
7442
|
+
D,
|
|
7451
7443
|
{
|
|
7452
7444
|
className: He.linkStyled,
|
|
7453
7445
|
target: t[s]?.target,
|
|
@@ -7463,7 +7455,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7463
7455
|
t && t.map((i, c) => {
|
|
7464
7456
|
if (c !== s)
|
|
7465
7457
|
return /* @__PURE__ */ a(
|
|
7466
|
-
|
|
7458
|
+
D,
|
|
7467
7459
|
{
|
|
7468
7460
|
className: He.linkStyled,
|
|
7469
7461
|
href: i?.link,
|
|
@@ -7538,7 +7530,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7538
7530
|
}
|
|
7539
7531
|
),
|
|
7540
7532
|
/* @__PURE__ */ a("div", { className: Ie.iconContent, children: /* @__PURE__ */ a(
|
|
7541
|
-
|
|
7533
|
+
D,
|
|
7542
7534
|
{
|
|
7543
7535
|
href: "/",
|
|
7544
7536
|
"aria-label": "Home",
|
|
@@ -7554,7 +7546,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7554
7546
|
!e.showAlertPop && t?.data && /* @__PURE__ */ m("div", { className: Ie.headLineContent, children: [
|
|
7555
7547
|
/* @__PURE__ */ a("div", { className: `${Ie.headLineTitle} headLineTitle`, children: t.entity.description ? `${t.entity.description}` : "" }),
|
|
7556
7548
|
/* @__PURE__ */ a(
|
|
7557
|
-
|
|
7549
|
+
D,
|
|
7558
7550
|
{
|
|
7559
7551
|
className: Ie.headLine,
|
|
7560
7552
|
href: t.data[0]?.info.link.url,
|
|
@@ -7575,7 +7567,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7575
7567
|
].join(" "),
|
|
7576
7568
|
children: [
|
|
7577
7569
|
/* @__PURE__ */ a(
|
|
7578
|
-
|
|
7570
|
+
D,
|
|
7579
7571
|
{
|
|
7580
7572
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
7581
7573
|
"aria-label": e.searchKeyWord,
|
|
@@ -7609,7 +7601,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7609
7601
|
const { items: t } = e;
|
|
7610
7602
|
return /* @__PURE__ */ a("ul", { className: Ve.ul, children: t.map((n, r) => /* @__PURE__ */ m("li", { className: `${Ve.liBefore} ${Ve.li}`, children: [
|
|
7611
7603
|
n.link ? /* @__PURE__ */ m(
|
|
7612
|
-
|
|
7604
|
+
D,
|
|
7613
7605
|
{
|
|
7614
7606
|
"aria-label": n.description,
|
|
7615
7607
|
className: Ve.linkStyled,
|
|
@@ -7625,7 +7617,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7625
7617
|
Array.isArray(n.subitem) && /* @__PURE__ */ a(bn, {})
|
|
7626
7618
|
] }),
|
|
7627
7619
|
Array.isArray(n.subitem) && /* @__PURE__ */ a("ul", { className: Ve.ulContent, children: /* @__PURE__ */ a("div", { className: Ve.contentModal, children: n.subitem.map((o, s) => /* @__PURE__ */ a("li", { className: Ve.li, children: /* @__PURE__ */ a(
|
|
7628
|
-
|
|
7620
|
+
D,
|
|
7629
7621
|
{
|
|
7630
7622
|
className: Ve.itemLink,
|
|
7631
7623
|
"aria-label": o.description,
|
|
@@ -7682,14 +7674,14 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7682
7674
|
]
|
|
7683
7675
|
}
|
|
7684
7676
|
) }),
|
|
7685
|
-
/* @__PURE__ */ a("div", { className: ye.logoContent, children: /* @__PURE__ */ a(
|
|
7677
|
+
/* @__PURE__ */ a("div", { className: ye.logoContent, children: /* @__PURE__ */ a(D, { href: "/", "aria-label": "Home", className: "header-logo-link", children: Ee.createElement(
|
|
7686
7678
|
"span",
|
|
7687
7679
|
{ className: `${ye.logoStyled}` },
|
|
7688
7680
|
e.icon
|
|
7689
7681
|
) }) }),
|
|
7690
7682
|
/* @__PURE__ */ m("div", { className: ye.buttonSection, children: [
|
|
7691
7683
|
/* @__PURE__ */ a(
|
|
7692
|
-
|
|
7684
|
+
D,
|
|
7693
7685
|
{
|
|
7694
7686
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
7695
7687
|
style: { display: "flex" },
|
|
@@ -7703,7 +7695,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7703
7695
|
!e.showAlertPop && n?.data ? /* @__PURE__ */ m("div", { className: ye.headLineContent, children: [
|
|
7704
7696
|
/* @__PURE__ */ a("p", { className: `${ye.headLineTitle} headLineTitle`, children: n.entity.description ? `${n.entity.description}` : "" }),
|
|
7705
7697
|
/* @__PURE__ */ a(
|
|
7706
|
-
|
|
7698
|
+
D,
|
|
7707
7699
|
{
|
|
7708
7700
|
className: ye.headLine,
|
|
7709
7701
|
href: n.data[0]?.info.link.url,
|
|
@@ -7779,7 +7771,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7779
7771
|
tagStyled: lm
|
|
7780
7772
|
}, dm = (e) => /* @__PURE__ */ a("section", { className: gt.content, children: Array.isArray(e.tags) && /* @__PURE__ */ m("div", { className: gt.tags, children: [
|
|
7781
7773
|
/* @__PURE__ */ a("p", { className: gt.tagStyled, children: e.title ? e.title : "Tags:" }),
|
|
7782
|
-
e.tags.map((t, n) => t.approved ? /* @__PURE__ */ a(
|
|
7774
|
+
e.tags.map((t, n) => t.approved ? /* @__PURE__ */ a(D, { href: Qr(t, e.paths), children: /* @__PURE__ */ a("div", { className: `${gt.chipStyled} ${gt.tagLink}`, children: t.name }) }, n) : /* @__PURE__ */ a("div", { className: gt.chipStyled, children: t.name }, n))
|
|
7783
7775
|
] }) }), um = "_contentBox_1rkkg_1", hm = "_content_1rkkg_1", mm = "_imageStyled_1rkkg_16", fm = "_contentIconStyled_1rkkg_23", gm = "_avatarContent_1rkkg_43", pm = "_journalistSection_1rkkg_50", Am = "_journalistInfo_1rkkg_56", wm = "_socialNetworkSection_1rkkg_70", ym = "_article_1rkkg_83", Pe = {
|
|
7784
7776
|
contentBox: um,
|
|
7785
7777
|
content: hm,
|
|
@@ -7795,7 +7787,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7795
7787
|
return t.addtional.USER_SHOWBIO && /* @__PURE__ */ a("section", { className: Pe.contentBox, children: /* @__PURE__ */ m("div", { className: Pe.content, children: [
|
|
7796
7788
|
/* @__PURE__ */ m("div", { className: Pe.avatarContent, children: [
|
|
7797
7789
|
/* @__PURE__ */ a(
|
|
7798
|
-
|
|
7790
|
+
D,
|
|
7799
7791
|
{
|
|
7800
7792
|
className: Pe.journalistInfo,
|
|
7801
7793
|
href: `/${e.paths.autor}/${t.info.name}`,
|
|
@@ -7812,7 +7804,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7812
7804
|
}
|
|
7813
7805
|
),
|
|
7814
7806
|
/* @__PURE__ */ m("section", { className: Pe.journalistSection, children: [
|
|
7815
|
-
/* @__PURE__ */ a("h3", { className: Pe.journalistInfo, children: /* @__PURE__ */ a(
|
|
7807
|
+
/* @__PURE__ */ a("h3", { className: Pe.journalistInfo, children: /* @__PURE__ */ a(D, { href: `/${e.paths.autor}/${t.info.name}`, children: t.info.fullname }) }),
|
|
7816
7808
|
/* @__PURE__ */ m("section", { className: Pe.socialNetworkSection, children: [
|
|
7817
7809
|
t.addtional.USER_USERFB && /* @__PURE__ */ a(
|
|
7818
7810
|
"a",
|
|
@@ -8051,7 +8043,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8051
8043
|
};
|
|
8052
8044
|
return /* @__PURE__ */ m("section", { className: `${Fe.content} destacado-super-content`, children: [
|
|
8053
8045
|
/* @__PURE__ */ a(
|
|
8054
|
-
|
|
8046
|
+
D,
|
|
8055
8047
|
{
|
|
8056
8048
|
href: e?.info?.link?.url,
|
|
8057
8049
|
target: e?.info?.link?.target,
|
|
@@ -8080,7 +8072,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8080
8072
|
"--widthTextContent": e.textPosition === "start" ? "100%" : "80%"
|
|
8081
8073
|
},
|
|
8082
8074
|
children: [
|
|
8083
|
-
/* @__PURE__ */ a(
|
|
8075
|
+
/* @__PURE__ */ a(D, { className: Fe.tagmx, href: e?.info?.section?.url, children: e?.info?.section?.name }),
|
|
8084
8076
|
/* @__PURE__ */ m(
|
|
8085
8077
|
"div",
|
|
8086
8078
|
{
|
|
@@ -8088,9 +8080,9 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8088
8080
|
position: "relative"
|
|
8089
8081
|
},
|
|
8090
8082
|
children: [
|
|
8091
|
-
/* @__PURE__ */ a(
|
|
8083
|
+
/* @__PURE__ */ a(D, { className: Fe.tag, href: e?.info?.section?.url, children: e?.info?.section?.name }),
|
|
8092
8084
|
/* @__PURE__ */ a(
|
|
8093
|
-
|
|
8085
|
+
D,
|
|
8094
8086
|
{
|
|
8095
8087
|
className: Fe.linkTitle,
|
|
8096
8088
|
href: e?.info?.link?.url,
|
|
@@ -8120,7 +8112,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8120
8112
|
}
|
|
8121
8113
|
),
|
|
8122
8114
|
e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ a(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
8123
|
-
|
|
8115
|
+
D,
|
|
8124
8116
|
{
|
|
8125
8117
|
href: `/${e.paths?.autor ?? "autor"}/${e?.authors[0]?.name}`,
|
|
8126
8118
|
className: Fe.correspondent,
|
|
@@ -8274,7 +8266,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8274
8266
|
linkStyled: Ym
|
|
8275
8267
|
}, _o = (e) => /* @__PURE__ */ m("div", { className: qt.content, children: [
|
|
8276
8268
|
e?.mainNew?.info.section && /* @__PURE__ */ a(
|
|
8277
|
-
|
|
8269
|
+
D,
|
|
8278
8270
|
{
|
|
8279
8271
|
className: qt.sectionDescription,
|
|
8280
8272
|
href: e?.mainNew?.info?.section?.url,
|
|
@@ -8282,7 +8274,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8282
8274
|
}
|
|
8283
8275
|
),
|
|
8284
8276
|
/* @__PURE__ */ a(
|
|
8285
|
-
|
|
8277
|
+
D,
|
|
8286
8278
|
{
|
|
8287
8279
|
className: qt.title,
|
|
8288
8280
|
href: e?.mainNew?.info?.link?.url,
|
|
@@ -8291,7 +8283,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8291
8283
|
}
|
|
8292
8284
|
),
|
|
8293
8285
|
e?.mainNew?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className: qt.subtitle, children: e?.mainNew?.main?.subtitle?.striped }),
|
|
8294
|
-
e.goTo && /* @__PURE__ */ a(
|
|
8286
|
+
e.goTo && /* @__PURE__ */ a(D, { href: e.goTo.url, className: qt.linkStyled, children: e.goTo.description })
|
|
8295
8287
|
] }), Km = "_headerSection_drjnj_1", Jm = "_headerSectionLink_drjnj_12", Zm = "_newsContent_drjnj_17", Qn = {
|
|
8296
8288
|
headerSection: Km,
|
|
8297
8289
|
headerSectionLink: Jm,
|
|
@@ -8313,7 +8305,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8313
8305
|
/* @__PURE__ */ m("div", { className: Qn.headerSection, children: [
|
|
8314
8306
|
/* @__PURE__ */ a(_o, { mainNew: s, goTo: e.goTo }),
|
|
8315
8307
|
/* @__PURE__ */ a(
|
|
8316
|
-
|
|
8308
|
+
D,
|
|
8317
8309
|
{
|
|
8318
8310
|
className: Qn.headerSectionLink,
|
|
8319
8311
|
href: s?.info?.link?.url,
|
|
@@ -8373,7 +8365,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8373
8365
|
] });
|
|
8374
8366
|
return /* @__PURE__ */ m("div", { className: We.content, children: [
|
|
8375
8367
|
t?.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
8376
|
-
|
|
8368
|
+
D,
|
|
8377
8369
|
{
|
|
8378
8370
|
href: t.authors[0]?.internaluser ? `/${e.paths.autor}/${t?.authors[0]?.name}` : "#",
|
|
8379
8371
|
children: s
|
|
@@ -8381,7 +8373,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8381
8373
|
) : s,
|
|
8382
8374
|
/* @__PURE__ */ m("div", { className: We.boxInformationContent, children: [
|
|
8383
8375
|
/* @__PURE__ */ a(
|
|
8384
|
-
|
|
8376
|
+
D,
|
|
8385
8377
|
{
|
|
8386
8378
|
className: We.title,
|
|
8387
8379
|
href: t?.info?.link?.url,
|
|
@@ -8671,7 +8663,7 @@ const o3 = (e) => {
|
|
|
8671
8663
|
/* @__PURE__ */ m("div", { className: zn.headerSection, children: [
|
|
8672
8664
|
/* @__PURE__ */ a(_o, { goTo: e.goTo, mainNew: Dt(o) }),
|
|
8673
8665
|
/* @__PURE__ */ a(
|
|
8674
|
-
|
|
8666
|
+
D,
|
|
8675
8667
|
{
|
|
8676
8668
|
className: zn.headerSectionLink,
|
|
8677
8669
|
href: o?.info?.link.url,
|
|
@@ -8733,7 +8725,7 @@ const o3 = (e) => {
|
|
|
8733
8725
|
},
|
|
8734
8726
|
children: [
|
|
8735
8727
|
/* @__PURE__ */ a(
|
|
8736
|
-
|
|
8728
|
+
D,
|
|
8737
8729
|
{
|
|
8738
8730
|
className: Rt.linkImage,
|
|
8739
8731
|
target: e?.info?.link?.target,
|
|
@@ -8744,7 +8736,7 @@ const o3 = (e) => {
|
|
|
8744
8736
|
),
|
|
8745
8737
|
/* @__PURE__ */ m("div", { className: Rt.textContent, children: [
|
|
8746
8738
|
/* @__PURE__ */ a(
|
|
8747
|
-
|
|
8739
|
+
D,
|
|
8748
8740
|
{
|
|
8749
8741
|
className: Rt.sectionDescription,
|
|
8750
8742
|
target: e?.info?.link?.target,
|
|
@@ -8861,14 +8853,14 @@ const o3 = (e) => {
|
|
|
8861
8853
|
) : /* @__PURE__ */ a("div", { className: nt.contentIcon, children: e.autorIcon }),
|
|
8862
8854
|
/* @__PURE__ */ m("div", { className: nt.boxInformation, children: [
|
|
8863
8855
|
/* @__PURE__ */ a("p", { className: nt.authorName, children: t?.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
8864
|
-
|
|
8856
|
+
D,
|
|
8865
8857
|
{
|
|
8866
8858
|
href: t.authors[0]?.internaluser ? `/${e.paths.autor}/${t?.authors[0]?.name}` : "#",
|
|
8867
8859
|
children: t?.authors[0]?.fullname ?? "Redacción"
|
|
8868
8860
|
}
|
|
8869
8861
|
) : t?.authors[0]?.fullname ?? "Redacción" }),
|
|
8870
8862
|
/* @__PURE__ */ a("p", { className: nt.title, children: /* @__PURE__ */ a(
|
|
8871
|
-
|
|
8863
|
+
D,
|
|
8872
8864
|
{
|
|
8873
8865
|
className: nt.linkStyled,
|
|
8874
8866
|
href: t?.info?.link?.url,
|
|
@@ -9359,7 +9351,7 @@ const Qf = async ({
|
|
|
9359
9351
|
Telegram: "telegram"
|
|
9360
9352
|
};
|
|
9361
9353
|
function zf({ url: e }) {
|
|
9362
|
-
return e && e !== "" && /* @__PURE__ */ m(
|
|
9354
|
+
return e && e !== "" && /* @__PURE__ */ m(D, { href: e, className: de.googleProfileButton, children: [
|
|
9363
9355
|
/* @__PURE__ */ a(
|
|
9364
9356
|
"svg",
|
|
9365
9357
|
{
|
|
@@ -10686,7 +10678,7 @@ const Ar = {
|
|
|
10686
10678
|
const { size: t = "longer", video: n } = e, r = n.main.image.sizes[0]?.url ?? "";
|
|
10687
10679
|
return /* @__PURE__ */ a("figure", { className: Ot.figure, children: /* @__PURE__ */ m("span", { className: Ot.backdrop, children: [
|
|
10688
10680
|
/* @__PURE__ */ a("span", { className: Ot.backDropAux }),
|
|
10689
|
-
/* @__PURE__ */ a(
|
|
10681
|
+
/* @__PURE__ */ a(D, { href: n.info.link.url, target: n.info.link.target, children: /* @__PURE__ */ m("div", { children: [
|
|
10690
10682
|
n.main.image.sizes.map(async (o, s) => o.width >= 580 ? /* @__PURE__ */ a(
|
|
10691
10683
|
"source",
|
|
10692
10684
|
{
|
|
@@ -10741,7 +10733,7 @@ const Ar = {
|
|
|
10741
10733
|
}, _g = (e) => {
|
|
10742
10734
|
const { video: t } = e;
|
|
10743
10735
|
return /* @__PURE__ */ a(
|
|
10744
|
-
|
|
10736
|
+
D,
|
|
10745
10737
|
{
|
|
10746
10738
|
href: t.info.link.url ? t.info.link.url : void 0,
|
|
10747
10739
|
target: t.info.link.target,
|
|
@@ -10768,7 +10760,7 @@ const Ar = {
|
|
|
10768
10760
|
/* @__PURE__ */ a(_g, { video: e.video }),
|
|
10769
10761
|
/* @__PURE__ */ m("div", { className: it.articleSection, children: [
|
|
10770
10762
|
/* @__PURE__ */ a(
|
|
10771
|
-
|
|
10763
|
+
D,
|
|
10772
10764
|
{
|
|
10773
10765
|
className: it.title,
|
|
10774
10766
|
href: e.video.info.link.url,
|
|
@@ -10839,13 +10831,13 @@ const Sg = (e) => {
|
|
|
10839
10831
|
[e?.preview?.sizes]
|
|
10840
10832
|
);
|
|
10841
10833
|
if (!s.length || !s[0]?.url || s[0]?.url === "")
|
|
10842
|
-
return /* @__PURE__ */ a("div", { className:
|
|
10834
|
+
return /* @__PURE__ */ a("div", { className: oe.imagePlaceholder });
|
|
10843
10835
|
const { PUBLIC_API_HOST: i, PUBLIC_ENV: c } = J();
|
|
10844
|
-
return /* @__PURE__ */ a("figure", { className:
|
|
10836
|
+
return /* @__PURE__ */ a("figure", { className: oe.figure, children: /* @__PURE__ */ m("span", { className: oe.backdrop, children: [
|
|
10845
10837
|
/* @__PURE__ */ a(
|
|
10846
10838
|
"span",
|
|
10847
10839
|
{
|
|
10848
|
-
className:
|
|
10840
|
+
className: oe.backdropAux,
|
|
10849
10841
|
style: {
|
|
10850
10842
|
height: o || "56.25%"
|
|
10851
10843
|
}
|
|
@@ -10857,7 +10849,7 @@ const Sg = (e) => {
|
|
|
10857
10849
|
{
|
|
10858
10850
|
fetchPriority: "low",
|
|
10859
10851
|
loading: "lazy",
|
|
10860
|
-
className:
|
|
10852
|
+
className: oe.imageStyled,
|
|
10861
10853
|
alt: e.preview?.description || "",
|
|
10862
10854
|
src: (c === "local" ? i : "") + s[0]?.url,
|
|
10863
10855
|
style: {
|
|
@@ -10869,14 +10861,14 @@ const Sg = (e) => {
|
|
|
10869
10861
|
/* @__PURE__ */ a(
|
|
10870
10862
|
"div",
|
|
10871
10863
|
{
|
|
10872
|
-
className:
|
|
10864
|
+
className: oe.boxPlayIcon,
|
|
10873
10865
|
style: { height: n ? "40%" : "72px" }
|
|
10874
10866
|
}
|
|
10875
10867
|
),
|
|
10876
10868
|
/* @__PURE__ */ a(
|
|
10877
10869
|
vt,
|
|
10878
10870
|
{
|
|
10879
|
-
className:
|
|
10871
|
+
className: oe.playStyled,
|
|
10880
10872
|
style: {
|
|
10881
10873
|
width: n ? "3rem" : "27px",
|
|
10882
10874
|
height: n ? "3rem" : "27px",
|
|
@@ -11033,7 +11025,7 @@ const Sg = (e) => {
|
|
|
11033
11025
|
style: { order: s },
|
|
11034
11026
|
children: /* @__PURE__ */ m("section", { className: Pt.content, children: [
|
|
11035
11027
|
/* @__PURE__ */ a(
|
|
11036
|
-
|
|
11028
|
+
D,
|
|
11037
11029
|
{
|
|
11038
11030
|
title: i?.title?.section,
|
|
11039
11031
|
href: d?.link?.url ?? "invalidUrl",
|
|
@@ -11080,23 +11072,23 @@ const Sg = (e) => {
|
|
|
11080
11072
|
const s = e.authors[0], i = Me(e.info?.date?.modified);
|
|
11081
11073
|
return s && e?.config?.showtime && e.config?.showauthor ? `${s.fullname} - ${i}` : s && e.config?.showauthor ? s.fullname : e?.config?.showtime ? i : "";
|
|
11082
11074
|
})();
|
|
11083
|
-
return /* @__PURE__ */ m("div", { className:
|
|
11084
|
-
t && /* @__PURE__ */ a(Eg, { className:
|
|
11085
|
-
e?.info?.section?.url && /* @__PURE__ */ m("div", { className:
|
|
11075
|
+
return /* @__PURE__ */ m("div", { className: se.boxInformation, children: [
|
|
11076
|
+
t && /* @__PURE__ */ a(Eg, { className: se.dotStyles }),
|
|
11077
|
+
e?.info?.section?.url && /* @__PURE__ */ m("div", { className: se.sectionDescriptionContainer, children: [
|
|
11086
11078
|
/* @__PURE__ */ a(
|
|
11087
|
-
|
|
11079
|
+
D,
|
|
11088
11080
|
{
|
|
11089
|
-
className:
|
|
11081
|
+
className: se.sectionDescription,
|
|
11090
11082
|
href: e.info.section.url ?? "invalidUrl",
|
|
11091
11083
|
children: e.info.section.name
|
|
11092
11084
|
}
|
|
11093
11085
|
),
|
|
11094
|
-
e?.main?.uppertitle && /* @__PURE__ */ a("p", { className:
|
|
11086
|
+
e?.main?.uppertitle && /* @__PURE__ */ a("p", { className: se.uppertitle, children: e.main.uppertitle })
|
|
11095
11087
|
] }),
|
|
11096
|
-
/* @__PURE__ */ a("h2", { className:
|
|
11097
|
-
|
|
11088
|
+
/* @__PURE__ */ a("h2", { className: se.articule, children: /* @__PURE__ */ a(
|
|
11089
|
+
D,
|
|
11098
11090
|
{
|
|
11099
|
-
className:
|
|
11091
|
+
className: se.linkStyled,
|
|
11100
11092
|
style: {
|
|
11101
11093
|
"--isLink": e?.info?.link?.url ? "underline" : "none"
|
|
11102
11094
|
},
|
|
@@ -11109,7 +11101,7 @@ const Sg = (e) => {
|
|
|
11109
11101
|
e.config?.showsubtitle && e.main?.subtitle?.striped && /* @__PURE__ */ a(
|
|
11110
11102
|
"p",
|
|
11111
11103
|
{
|
|
11112
|
-
className:
|
|
11104
|
+
className: se.description,
|
|
11113
11105
|
style: {
|
|
11114
11106
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
11115
11107
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
@@ -11119,13 +11111,13 @@ const Sg = (e) => {
|
|
|
11119
11111
|
}
|
|
11120
11112
|
),
|
|
11121
11113
|
(e?.config?.showtime || e.config?.showauthor) && o && /* @__PURE__ */ a(K, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
11122
|
-
|
|
11114
|
+
D,
|
|
11123
11115
|
{
|
|
11124
|
-
className:
|
|
11116
|
+
className: se.correspondentLink,
|
|
11125
11117
|
href: `/autor/${e.authors[0].name}`,
|
|
11126
11118
|
children: o
|
|
11127
11119
|
}
|
|
11128
|
-
) : /* @__PURE__ */ a("div", { className:
|
|
11120
|
+
) : /* @__PURE__ */ a("div", { className: se.correspondent, children: o }) })
|
|
11129
11121
|
] });
|
|
11130
11122
|
}, kg = ({
|
|
11131
11123
|
user: e,
|
|
@@ -11243,7 +11235,7 @@ async function v3({
|
|
|
11243
11235
|
encodedType: d,
|
|
11244
11236
|
url: u
|
|
11245
11237
|
});
|
|
11246
|
-
const h = await
|
|
11238
|
+
const h = await re.post(u, null, {
|
|
11247
11239
|
headers: {
|
|
11248
11240
|
"User-Agent": "Bluestack",
|
|
11249
11241
|
"x-api-token": i,
|
|
@@ -11259,7 +11251,7 @@ async function v3({
|
|
|
11259
11251
|
};
|
|
11260
11252
|
throw new Error(`Respuesta inesperada del servidor: ${h.status}`);
|
|
11261
11253
|
} catch (h) {
|
|
11262
|
-
if (console.error("Error reporting comment:", h),
|
|
11254
|
+
if (console.error("Error reporting comment:", h), re.isAxiosError(h)) {
|
|
11263
11255
|
const f = h.response?.status, w = h.response?.data;
|
|
11264
11256
|
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
11257
|
w?.error || w?.message || `Error HTTP ${f}: No se pudo reportar el comentario`
|
|
@@ -11428,7 +11420,7 @@ function ep() {
|
|
|
11428
11420
|
}
|
|
11429
11421
|
}
|
|
11430
11422
|
}
|
|
11431
|
-
var v = d, B = l, R = c, Y = i, te = t, Q = u,
|
|
11423
|
+
var v = d, B = l, R = c, Y = i, te = t, Q = u, O = r, ee = g, ce = w, M = n, U = s, E = o, P = h, T = !1;
|
|
11432
11424
|
function z(q) {
|
|
11433
11425
|
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
11426
|
}
|
|
@@ -11468,7 +11460,7 @@ function ep() {
|
|
|
11468
11460
|
function ie(q) {
|
|
11469
11461
|
return x(q) === h;
|
|
11470
11462
|
}
|
|
11471
|
-
ae.AsyncMode = v, ae.ConcurrentMode = B, ae.ContextConsumer = R, ae.ContextProvider = Y, ae.Element = te, ae.ForwardRef = Q, ae.Fragment =
|
|
11463
|
+
ae.AsyncMode = v, ae.ConcurrentMode = B, ae.ContextConsumer = R, ae.ContextProvider = Y, ae.Element = te, ae.ForwardRef = Q, ae.Fragment = O, ae.Lazy = ee, ae.Memo = ce, ae.Portal = M, ae.Profiler = U, ae.StrictMode = E, ae.Suspense = P, ae.isAsyncMode = z, ae.isConcurrentMode = y, ae.isContextConsumer = C, ae.isContextProvider = k, ae.isElement = j, ae.isForwardRef = L, ae.isFragment = G, ae.isLazy = H, ae.isMemo = V, ae.isPortal = Z, ae.isProfiler = X, ae.isStrictMode = F, ae.isSuspense = ie, ae.isValidElementType = N, ae.typeOf = x;
|
|
11472
11464
|
})()), ae;
|
|
11473
11465
|
}
|
|
11474
11466
|
var Nr;
|
|
@@ -11660,7 +11652,7 @@ function ap() {
|
|
|
11660
11652
|
function C(k, j, L, G, H, V) {
|
|
11661
11653
|
var Z = k[j], X = E(Z);
|
|
11662
11654
|
if (X !== y) {
|
|
11663
|
-
var F =
|
|
11655
|
+
var F = P(Z);
|
|
11664
11656
|
return new p(
|
|
11665
11657
|
"Invalid " + G + " `" + H + "` of type " + ("`" + F + "` supplied to `" + L + "`, expected ") + ("`" + y + "`."),
|
|
11666
11658
|
{ expectedType: y }
|
|
@@ -11733,7 +11725,7 @@ function ap() {
|
|
|
11733
11725
|
if (g(V, y[Z]))
|
|
11734
11726
|
return null;
|
|
11735
11727
|
var X = JSON.stringify(y, function(ie, q) {
|
|
11736
|
-
var Ae =
|
|
11728
|
+
var Ae = P(q);
|
|
11737
11729
|
return Ae === "symbol" ? String(q) : q;
|
|
11738
11730
|
});
|
|
11739
11731
|
return new p("Invalid " + G + " `" + H + "` of value `" + String(V) + "` " + ("supplied to `" + L + "`, expected one of " + X + "."));
|
|
@@ -11785,7 +11777,7 @@ function ap() {
|
|
|
11785
11777
|
}
|
|
11786
11778
|
return A(y);
|
|
11787
11779
|
}
|
|
11788
|
-
function
|
|
11780
|
+
function O(y, C, k, j, L) {
|
|
11789
11781
|
return new p(
|
|
11790
11782
|
(y || "React class") + ": " + C + " type `" + k + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + L + "`."
|
|
11791
11783
|
);
|
|
@@ -11798,7 +11790,7 @@ function ap() {
|
|
|
11798
11790
|
for (var X in y) {
|
|
11799
11791
|
var F = y[X];
|
|
11800
11792
|
if (typeof F != "function")
|
|
11801
|
-
return
|
|
11793
|
+
return O(L, G, H, X, P(F));
|
|
11802
11794
|
var ie = F(V, X, L, G, H + "." + X, n);
|
|
11803
11795
|
if (ie)
|
|
11804
11796
|
return ie;
|
|
@@ -11816,7 +11808,7 @@ function ap() {
|
|
|
11816
11808
|
for (var F in X) {
|
|
11817
11809
|
var ie = y[F];
|
|
11818
11810
|
if (r(y, F) && typeof ie != "function")
|
|
11819
|
-
return
|
|
11811
|
+
return O(L, G, H, F, P(ie));
|
|
11820
11812
|
if (!ie)
|
|
11821
11813
|
return new p(
|
|
11822
11814
|
"Invalid " + G + " `" + H + "` key `" + F + "` supplied to `" + L + "`.\nBad object: " + JSON.stringify(k[j], null, " ") + `
|
|
@@ -11870,7 +11862,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11870
11862
|
var C = typeof y;
|
|
11871
11863
|
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : U(C, y) ? "symbol" : C;
|
|
11872
11864
|
}
|
|
11873
|
-
function
|
|
11865
|
+
function P(y) {
|
|
11874
11866
|
if (typeof y > "u" || y === null)
|
|
11875
11867
|
return "" + y;
|
|
11876
11868
|
var C = E(y);
|
|
@@ -11883,7 +11875,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
11883
11875
|
return C;
|
|
11884
11876
|
}
|
|
11885
11877
|
function T(y) {
|
|
11886
|
-
var C =
|
|
11878
|
+
var C = P(y);
|
|
11887
11879
|
switch (C) {
|
|
11888
11880
|
case "array":
|
|
11889
11881
|
case "object":
|
|
@@ -12234,8 +12226,8 @@ function pp(e, t) {
|
|
|
12234
12226
|
var B = function(Y) {
|
|
12235
12227
|
if (Re[f]) {
|
|
12236
12228
|
var te = Re[f], Q = te.observers;
|
|
12237
|
-
for (var
|
|
12238
|
-
Y(Q[
|
|
12229
|
+
for (var O in Q)
|
|
12230
|
+
Y(Q[O]) && delete Q[O];
|
|
12239
12231
|
}
|
|
12240
12232
|
};
|
|
12241
12233
|
A && typeof window < "u" && (window[A] = function() {
|
|
@@ -12523,7 +12515,7 @@ async function Fp({
|
|
|
12523
12515
|
const A = `${g}${h}/newcomments/get?${p.toString()}`;
|
|
12524
12516
|
try {
|
|
12525
12517
|
console.log("Fetching comments from:", A);
|
|
12526
|
-
const { data: _ } = await
|
|
12518
|
+
const { data: _ } = await re.get(A, {
|
|
12527
12519
|
headers: {
|
|
12528
12520
|
"x-api-token": c,
|
|
12529
12521
|
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
|
@@ -12535,7 +12527,7 @@ async function Fp({
|
|
|
12535
12527
|
throw new Error("No comments data received");
|
|
12536
12528
|
return _.data || _ || [];
|
|
12537
12529
|
} catch (_) {
|
|
12538
|
-
if (console.error("Error fetching comments:", _),
|
|
12530
|
+
if (console.error("Error fetching comments:", _), re.isAxiosError(_)) {
|
|
12539
12531
|
const S = _.response?.status, N = _.response?.data;
|
|
12540
12532
|
throw S === 404 ? new Error("Comments not found") : S === 403 ? new Error("Access forbidden - check API token") : S === 401 ? new Error("Unauthorized - invalid API token") : S === 500 ? new Error("Internal server error from CMS") : new Error(N?.error || N?.message || `HTTP ${S}: Failed to fetch comments`);
|
|
12541
12533
|
}
|
|
@@ -13350,21 +13342,21 @@ function s9({
|
|
|
13350
13342
|
if (!S) {
|
|
13351
13343
|
Q.preventDefault(), v(null), N(!0);
|
|
13352
13344
|
try {
|
|
13353
|
-
const
|
|
13354
|
-
if (!
|
|
13345
|
+
const O = await Mo("comment_login", B || "");
|
|
13346
|
+
if (!O) throw new Error("Captcha token no generado");
|
|
13355
13347
|
const ee = await fetch("/api/auth/login-password", {
|
|
13356
13348
|
method: "POST",
|
|
13357
13349
|
headers: { "Content-Type": "application/json" },
|
|
13358
13350
|
credentials: "include",
|
|
13359
|
-
body: JSON.stringify({ email: i, password: d, token:
|
|
13351
|
+
body: JSON.stringify({ email: i, password: d, token: O })
|
|
13360
13352
|
});
|
|
13361
13353
|
if (!ee.ok) {
|
|
13362
13354
|
const ce = await ee.json().catch(() => ({}));
|
|
13363
13355
|
throw new Error(ce?.error || "Ha ocurrido un error");
|
|
13364
13356
|
}
|
|
13365
13357
|
e(), await t();
|
|
13366
|
-
} catch (
|
|
13367
|
-
v(
|
|
13358
|
+
} catch (O) {
|
|
13359
|
+
v(O?.message || "Error inesperado");
|
|
13368
13360
|
} finally {
|
|
13369
13361
|
N(!1);
|
|
13370
13362
|
}
|
|
@@ -13388,18 +13380,18 @@ function s9({
|
|
|
13388
13380
|
if (!S) {
|
|
13389
13381
|
Q.preventDefault(), v(null), N(!0);
|
|
13390
13382
|
try {
|
|
13391
|
-
const
|
|
13383
|
+
const O = await fetch("/api/auth/forgot-password", {
|
|
13392
13384
|
method: "POST",
|
|
13393
13385
|
headers: { "Content-Type": "application/json" },
|
|
13394
13386
|
body: JSON.stringify({ email: i })
|
|
13395
13387
|
});
|
|
13396
|
-
if (!
|
|
13397
|
-
const ee = await
|
|
13388
|
+
if (!O.ok) {
|
|
13389
|
+
const ee = await O.json().catch(() => ({}));
|
|
13398
13390
|
throw new Error(ee?.error || "Error al enviar código");
|
|
13399
13391
|
}
|
|
13400
13392
|
l(""), s("changePassword");
|
|
13401
|
-
} catch (
|
|
13402
|
-
v(
|
|
13393
|
+
} catch (O) {
|
|
13394
|
+
v(O?.message || "Error inesperado");
|
|
13403
13395
|
} finally {
|
|
13404
13396
|
N(!1);
|
|
13405
13397
|
}
|
|
@@ -13991,7 +13983,7 @@ async function _3({
|
|
|
13991
13983
|
o && (h.id = o);
|
|
13992
13984
|
const f = new URLSearchParams(h);
|
|
13993
13985
|
try {
|
|
13994
|
-
const { data: w } = await
|
|
13986
|
+
const { data: w } = await re.get(`${u}?${f.toString()}`, {
|
|
13995
13987
|
headers: {
|
|
13996
13988
|
"Content-Type": "application/json",
|
|
13997
13989
|
"x-security-token": d,
|
|
@@ -14009,7 +14001,7 @@ async function _3({
|
|
|
14009
14001
|
status: 200
|
|
14010
14002
|
});
|
|
14011
14003
|
} catch (w) {
|
|
14012
|
-
if (console.error("Error enviando comentario:", w),
|
|
14004
|
+
if (console.error("Error enviando comentario:", w), re.isAxiosError(w)) {
|
|
14013
14005
|
const g = w.response?.status ?? 500, p = w.response?.data;
|
|
14014
14006
|
return g === 400 ? {
|
|
14015
14007
|
type: "error",
|