@mjsz-vbr-elements/core 2.43.2 → 2.45.0
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/columns.js +1 -1
- package/dist/{components-DpAc0iFd.js → components-CLXsGHd2.js} +337 -310
- package/dist/components.js +5 -5
- package/dist/{composables-DkeAlPNN.js → composables-Bky0pXlN.js} +138 -145
- package/dist/composables.js +3 -3
- package/dist/constants.js +1 -1
- package/dist/{datetime-Dr5rQMCL.js → datetime-4YcVSk2g.js} +88 -83
- package/dist/index.iife.js +3 -3
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +10 -10
- package/dist/props.js +1 -1
- package/dist/{utils-BzouF97X.js → utils-CPlcst7J.js} +231 -211
- package/dist/utils.js +4 -4
- package/package.json +2 -2
package/dist/composables.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.45.0 - 03/05/2026, 10:31:30
|
|
4
4
|
* (c) 2026
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import "./datetime-
|
|
9
|
-
import { _ as e, b as t, c as n, g as r, h as i, i as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, v as p, x as m, y as h } from "./composables-
|
|
8
|
+
import "./datetime-4YcVSk2g.js";
|
|
9
|
+
import { _ as e, b as t, c as n, g as r, h as i, i as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, v as p, x as m, y as h } from "./composables-Bky0pXlN.js";
|
|
10
10
|
export { p as createI18n, l as fetchVBRData, h as i18n, m as useAdditionalText, r as useColumns, o as useError, i as useErrorProvider, n as useGameDataSocket, t as useI18n, d as useLazyLoadingState, c as usePage, a as useScrollToGameDate, u as useServices, s as useSort, f as useVisibilityChange, e as validateColumnsName };
|
package/dist/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.45.0 - 03/05/2026, 10:31:30
|
|
4
4
|
* (c) 2026
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
@@ -209,13 +209,13 @@ function T(e, t) {
|
|
|
209
209
|
function E(e, t) {
|
|
210
210
|
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
|
|
211
211
|
}
|
|
212
|
-
var D = typeof Object.is == "function" ? Object.is : E, O = Object.prototype.toString,
|
|
212
|
+
var D = typeof Object.is == "function" ? Object.is : E, O = Object.prototype.toString, ee = /* @__PURE__ */ function() {
|
|
213
213
|
return O.call(arguments) === "[object Arguments]" ? function(e) {
|
|
214
214
|
return O.call(e) === "[object Arguments]";
|
|
215
215
|
} : function(e) {
|
|
216
216
|
return T("callee", e);
|
|
217
217
|
};
|
|
218
|
-
}(),
|
|
218
|
+
}(), te = !/* @__PURE__ */ { toString: null }.propertyIsEnumerable("toString"), k = [
|
|
219
219
|
"constructor",
|
|
220
220
|
"valueOf",
|
|
221
221
|
"isPrototypeOf",
|
|
@@ -223,7 +223,7 @@ var D = typeof Object.is == "function" ? Object.is : E, O = Object.prototype.toS
|
|
|
223
223
|
"propertyIsEnumerable",
|
|
224
224
|
"hasOwnProperty",
|
|
225
225
|
"toLocaleString"
|
|
226
|
-
],
|
|
226
|
+
], A = /* @__PURE__ */ function() {
|
|
227
227
|
return arguments.propertyIsEnumerable("length");
|
|
228
228
|
}(), ne = function(e, t) {
|
|
229
229
|
for (var n = 0; n < e.length;) {
|
|
@@ -231,29 +231,29 @@ var D = typeof Object.is == "function" ? Object.is : E, O = Object.prototype.toS
|
|
|
231
231
|
n += 1;
|
|
232
232
|
}
|
|
233
233
|
return !1;
|
|
234
|
-
}, j = typeof Object.keys == "function" && !
|
|
234
|
+
}, j = typeof Object.keys == "function" && !A ? /* @__PURE__ */ d(function(e) {
|
|
235
235
|
return Object(e) === e ? Object.keys(e) : [];
|
|
236
236
|
}) : /* @__PURE__ */ d(function(e) {
|
|
237
237
|
if (Object(e) !== e) return [];
|
|
238
|
-
var t, n, r = [], i =
|
|
238
|
+
var t, n, r = [], i = A && ee(e);
|
|
239
239
|
for (t in e) T(t, e) && (!i || t !== "length") && (r[r.length] = t);
|
|
240
|
-
if (
|
|
240
|
+
if (te) for (n = k.length - 1; n >= 0;) t = k[n], T(t, e) && !ne(r, t) && (r[r.length] = t), --n;
|
|
241
241
|
return r;
|
|
242
242
|
}), M = /* @__PURE__ */ d(function(e) {
|
|
243
243
|
return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
|
|
244
244
|
});
|
|
245
245
|
//#endregion
|
|
246
246
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_equals.js
|
|
247
|
-
function
|
|
247
|
+
function re(e, t, n, r) {
|
|
248
248
|
var i = S(e), a = S(t);
|
|
249
249
|
function o(e, t) {
|
|
250
|
-
return
|
|
250
|
+
return N(e, t, n.slice(), r.slice());
|
|
251
251
|
}
|
|
252
252
|
return !C(function(e, t) {
|
|
253
253
|
return !C(o, t, e);
|
|
254
254
|
}, a, i);
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function N(e, t, n, r) {
|
|
257
257
|
if (D(e, t)) return !0;
|
|
258
258
|
var i = M(e);
|
|
259
259
|
if (i !== M(t)) return !1;
|
|
@@ -283,8 +283,8 @@ function P(e, t, n, r) {
|
|
|
283
283
|
--a;
|
|
284
284
|
}
|
|
285
285
|
switch (i) {
|
|
286
|
-
case "Map": return e.size === t.size ?
|
|
287
|
-
case "Set": return e.size === t.size ?
|
|
286
|
+
case "Map": return e.size === t.size ? re(e.entries(), t.entries(), n.concat([e]), r.concat([t])) : !1;
|
|
287
|
+
case "Set": return e.size === t.size ? re(e.values(), t.values(), n.concat([e]), r.concat([t])) : !1;
|
|
288
288
|
case "Arguments":
|
|
289
289
|
case "Array":
|
|
290
290
|
case "Object":
|
|
@@ -311,19 +311,19 @@ function P(e, t, n, r) {
|
|
|
311
311
|
var s = n.concat([e]), c = r.concat([t]);
|
|
312
312
|
for (a = o.length - 1; a >= 0;) {
|
|
313
313
|
var l = o[a];
|
|
314
|
-
if (!(T(l, t) &&
|
|
314
|
+
if (!(T(l, t) && N(t[l], e[l], s, c))) return !1;
|
|
315
315
|
--a;
|
|
316
316
|
}
|
|
317
317
|
return !0;
|
|
318
318
|
}
|
|
319
319
|
//#endregion
|
|
320
320
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/equals.js
|
|
321
|
-
var
|
|
322
|
-
return
|
|
321
|
+
var P = /* @__PURE__ */ f(function(e, t) {
|
|
322
|
+
return N(e, t, [], []);
|
|
323
323
|
});
|
|
324
324
|
//#endregion
|
|
325
325
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_indexOf.js
|
|
326
|
-
function
|
|
326
|
+
function ie(e, t, n) {
|
|
327
327
|
var r, i;
|
|
328
328
|
if (typeof e.indexOf == "function") switch (typeof t) {
|
|
329
329
|
case "number":
|
|
@@ -348,15 +348,15 @@ function re(e, t, n) {
|
|
|
348
348
|
case "object": if (t === null) return e.indexOf(t, n);
|
|
349
349
|
}
|
|
350
350
|
for (; n < e.length;) {
|
|
351
|
-
if (
|
|
351
|
+
if (P(e[n], t)) return n;
|
|
352
352
|
n += 1;
|
|
353
353
|
}
|
|
354
354
|
return -1;
|
|
355
355
|
}
|
|
356
356
|
//#endregion
|
|
357
357
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_includes.js
|
|
358
|
-
function
|
|
359
|
-
return
|
|
358
|
+
function F(e, t) {
|
|
359
|
+
return ie(t, e, 0) >= 0;
|
|
360
360
|
}
|
|
361
361
|
//#endregion
|
|
362
362
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_map.js
|
|
@@ -387,35 +387,35 @@ function oe(e) {
|
|
|
387
387
|
}
|
|
388
388
|
//#endregion
|
|
389
389
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_arrayReduce.js
|
|
390
|
-
function
|
|
390
|
+
function se(e, t, n) {
|
|
391
391
|
for (var r = 0, i = n.length; r < i;) t = e(t, n[r]), r += 1;
|
|
392
392
|
return t;
|
|
393
393
|
}
|
|
394
394
|
//#endregion
|
|
395
395
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_filter.js
|
|
396
|
-
function
|
|
396
|
+
function ce(e, t) {
|
|
397
397
|
for (var n = 0, r = t.length, i = []; n < r;) e(t[n]) && (i[i.length] = t[n]), n += 1;
|
|
398
398
|
return i;
|
|
399
399
|
}
|
|
400
400
|
//#endregion
|
|
401
401
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_filterMap.js
|
|
402
|
-
function
|
|
402
|
+
function le(e, t) {
|
|
403
403
|
for (var n = /* @__PURE__ */ new Map(), r = t.entries(), i = r.next(); !i.done;) e(i.value[1]) && n.set(i.value[0], i.value[1]), i = r.next();
|
|
404
404
|
return n;
|
|
405
405
|
}
|
|
406
406
|
//#endregion
|
|
407
407
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_isMap.js
|
|
408
|
-
function
|
|
408
|
+
function ue(e) {
|
|
409
409
|
return Object.prototype.toString.call(e) === "[object Map]";
|
|
410
410
|
}
|
|
411
411
|
//#endregion
|
|
412
412
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_isObject.js
|
|
413
|
-
function
|
|
413
|
+
function z(e) {
|
|
414
414
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
415
415
|
}
|
|
416
416
|
//#endregion
|
|
417
417
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_xfilter.js
|
|
418
|
-
var
|
|
418
|
+
var de = /* @__PURE__ */ function() {
|
|
419
419
|
function e(e, t) {
|
|
420
420
|
this.xf = t, this.f = e;
|
|
421
421
|
}
|
|
@@ -423,26 +423,26 @@ var le = /* @__PURE__ */ function() {
|
|
|
423
423
|
return this.f(t) ? this.xf["@@transducer/step"](e, t) : e;
|
|
424
424
|
}, e;
|
|
425
425
|
}();
|
|
426
|
-
function
|
|
426
|
+
function fe(e) {
|
|
427
427
|
return function(t) {
|
|
428
|
-
return new
|
|
428
|
+
return new de(e, t);
|
|
429
429
|
};
|
|
430
430
|
}
|
|
431
431
|
//#endregion
|
|
432
432
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/filter.js
|
|
433
|
-
var
|
|
434
|
-
return
|
|
433
|
+
var B = /* @__PURE__ */ f(/* @__PURE__ */ y(["fantasy-land/filter", "filter"], fe, function(e, t) {
|
|
434
|
+
return z(t) ? se(function(n, r) {
|
|
435
435
|
return e(t[r]) && (n[r] = t[r]), n;
|
|
436
|
-
}, {}, j(t)) :
|
|
437
|
-
})),
|
|
438
|
-
return
|
|
436
|
+
}, {}, j(t)) : ue(t) ? le(e, t) : ce(e, t);
|
|
437
|
+
})), V = /* @__PURE__ */ f(function(e, t) {
|
|
438
|
+
return B(oe(e), t);
|
|
439
439
|
});
|
|
440
440
|
//#endregion
|
|
441
441
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_toString.js
|
|
442
|
-
function
|
|
442
|
+
function H(e, t) {
|
|
443
443
|
var n = function(n) {
|
|
444
444
|
var r = t.concat([e]);
|
|
445
|
-
return
|
|
445
|
+
return F(n, r) ? "<Circular>" : H(n, r);
|
|
446
446
|
}, r = function(e, t) {
|
|
447
447
|
return I(function(t) {
|
|
448
448
|
return L(t) + ": " + n(e[t]);
|
|
@@ -450,7 +450,7 @@ function W(e, t) {
|
|
|
450
450
|
};
|
|
451
451
|
switch (Object.prototype.toString.call(e)) {
|
|
452
452
|
case "[object Arguments]": return "(function() { return arguments; }(" + I(n, e).join(", ") + "))";
|
|
453
|
-
case "[object Array]": return "[" + I(n, e).concat(r(e,
|
|
453
|
+
case "[object Array]": return "[" + I(n, e).concat(r(e, V(function(e) {
|
|
454
454
|
return /^\d+$/.test(e);
|
|
455
455
|
}, j(e)))).join(", ") + "]";
|
|
456
456
|
case "[object Boolean]": return typeof e == "object" ? "new Boolean(" + n(e.valueOf()) + ")" : e.toString();
|
|
@@ -471,99 +471,99 @@ function W(e, t) {
|
|
|
471
471
|
}
|
|
472
472
|
//#endregion
|
|
473
473
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/toString.js
|
|
474
|
-
var
|
|
475
|
-
return
|
|
476
|
-
}),
|
|
474
|
+
var U = /* @__PURE__ */ d(function(e) {
|
|
475
|
+
return H(e, []);
|
|
476
|
+
}), pe = /* @__PURE__ */ function() {
|
|
477
477
|
function e(e, t) {
|
|
478
478
|
this.xf = t, this.f = e;
|
|
479
479
|
}
|
|
480
480
|
return e.prototype["@@transducer/init"] = x.init, e.prototype["@@transducer/result"] = x.result, e.prototype["@@transducer/step"] = function(e, t) {
|
|
481
481
|
return this.xf["@@transducer/step"](e, this.f(t));
|
|
482
482
|
}, e;
|
|
483
|
-
}(),
|
|
483
|
+
}(), me = /* @__PURE__ */ f(/* @__PURE__ */ y(["fantasy-land/map", "map"], function(e) {
|
|
484
484
|
return function(t) {
|
|
485
|
-
return new
|
|
485
|
+
return new pe(e, t);
|
|
486
486
|
};
|
|
487
487
|
}, function(e, t) {
|
|
488
488
|
switch (Object.prototype.toString.call(t)) {
|
|
489
489
|
case "[object Function]": return h(t.length, function() {
|
|
490
490
|
return e.call(this, t.apply(this, arguments));
|
|
491
491
|
});
|
|
492
|
-
case "[object Object]": return
|
|
492
|
+
case "[object Object]": return se(function(n, r) {
|
|
493
493
|
return n[r] = e(t[r]), n;
|
|
494
494
|
}, {}, j(t));
|
|
495
495
|
default: return I(e, t);
|
|
496
496
|
}
|
|
497
|
-
})),
|
|
497
|
+
})), W = Number.isInteger || function(e) {
|
|
498
498
|
return e << 0 === e;
|
|
499
499
|
};
|
|
500
500
|
//#endregion
|
|
501
501
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_nth.js
|
|
502
|
-
function
|
|
502
|
+
function G(e, t) {
|
|
503
503
|
return t[e < 0 ? t.length + e : e];
|
|
504
504
|
}
|
|
505
505
|
//#endregion
|
|
506
506
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_prop.js
|
|
507
|
-
function
|
|
508
|
-
if (t != null) return
|
|
507
|
+
function K(e, t) {
|
|
508
|
+
if (t != null) return W(e) ? G(e, t) : t[e];
|
|
509
509
|
}
|
|
510
510
|
//#endregion
|
|
511
511
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/prop.js
|
|
512
|
-
var
|
|
512
|
+
var he = /* @__PURE__ */ f(K);
|
|
513
513
|
//#endregion
|
|
514
514
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_isString.js
|
|
515
|
-
function
|
|
515
|
+
function q(e) {
|
|
516
516
|
return Object.prototype.toString.call(e) === "[object String]";
|
|
517
517
|
}
|
|
518
518
|
//#endregion
|
|
519
519
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_isFunction.js
|
|
520
|
-
function
|
|
520
|
+
function ge(e) {
|
|
521
521
|
var t = Object.prototype.toString.call(e);
|
|
522
522
|
return t === "[object Function]" || t === "[object AsyncFunction]" || t === "[object GeneratorFunction]" || t === "[object AsyncGeneratorFunction]";
|
|
523
523
|
}
|
|
524
524
|
//#endregion
|
|
525
525
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_isTypedArray.js
|
|
526
|
-
function
|
|
526
|
+
function _e(e) {
|
|
527
527
|
var t = Object.prototype.toString.call(e);
|
|
528
528
|
return t === "[object Uint8ClampedArray]" || t === "[object Int8Array]" || t === "[object Uint8Array]" || t === "[object Int16Array]" || t === "[object Uint16Array]" || t === "[object Int32Array]" || t === "[object Uint32Array]" || t === "[object Float32Array]" || t === "[object Float64Array]" || t === "[object BigInt64Array]" || t === "[object BigUint64Array]";
|
|
529
529
|
}
|
|
530
530
|
//#endregion
|
|
531
531
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/empty.js
|
|
532
|
-
var
|
|
533
|
-
return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() : e == Set || e instanceof Set ? /* @__PURE__ */ new Set() : e == Map || e instanceof Map ? /* @__PURE__ */ new Map() : _(e) ? [] :
|
|
532
|
+
var ve = /* @__PURE__ */ d(function(e) {
|
|
533
|
+
return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() : e == Set || e instanceof Set ? /* @__PURE__ */ new Set() : e == Map || e instanceof Map ? /* @__PURE__ */ new Map() : _(e) ? [] : q(e) ? "" : z(e) ? {} : ee(e) ? function() {
|
|
534
534
|
return arguments;
|
|
535
|
-
}() :
|
|
536
|
-
}),
|
|
535
|
+
}() : _e(e) ? e.constructor.from("") : void 0;
|
|
536
|
+
}), J = /* @__PURE__ */ f(function(e, t) {
|
|
537
537
|
return h(e + 1, function() {
|
|
538
538
|
var n = arguments[e];
|
|
539
|
-
if (n != null &&
|
|
540
|
-
throw TypeError(
|
|
539
|
+
if (n != null && ge(n[t])) return n[t].apply(n, Array.prototype.slice.call(arguments, 0, e));
|
|
540
|
+
throw TypeError(U(n) + " does not have a method named \"" + t + "\"");
|
|
541
541
|
});
|
|
542
|
-
}),
|
|
543
|
-
return e != null &&
|
|
542
|
+
}), ye = /* @__PURE__ */ d(function(e) {
|
|
543
|
+
return e != null && P(e, ve(e));
|
|
544
544
|
});
|
|
545
545
|
//#endregion
|
|
546
546
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_path.js
|
|
547
|
-
function
|
|
547
|
+
function Y(e, t) {
|
|
548
548
|
for (var n = t, r = 0; r < e.length; r += 1) {
|
|
549
549
|
if (n == null) return;
|
|
550
550
|
var i = e[r];
|
|
551
|
-
n =
|
|
551
|
+
n = W(i) ? G(i, n) : n[i];
|
|
552
552
|
}
|
|
553
553
|
return n;
|
|
554
554
|
}
|
|
555
555
|
//#endregion
|
|
556
556
|
//#region ../../node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/mergeWithKey.js
|
|
557
|
-
var
|
|
557
|
+
var be = /* @__PURE__ */ g(function(e, t, n) {
|
|
558
558
|
var r = {}, i;
|
|
559
559
|
for (i in t ||= {}, n ||= {}, t) T(i, t) && (r[i] = T(i, n) ? e(i, t[i], n[i]) : t[i]);
|
|
560
560
|
for (i in n) T(i, n) && !T(i, r) && (r[i] = n[i]);
|
|
561
561
|
return r;
|
|
562
|
-
}),
|
|
562
|
+
}), xe = /* @__PURE__ */ f(function(e, t) {
|
|
563
563
|
for (var n = {}, r = {}, i = 0, a = e.length; i < a;) r[e[i]] = 1, i += 1;
|
|
564
564
|
for (var o in t) r.hasOwnProperty(o) || (n[o] = t[o]);
|
|
565
565
|
return n;
|
|
566
|
-
}),
|
|
566
|
+
}), X = /* @__PURE__ */ f(Y), Se = /* @__PURE__ */ J(1, "split"), Z = " \n\v\f\r \xA0 \u2028\u2029", Ce = typeof String.prototype.trim != "function" || /* @__PURE__ */ Z.trim() ? /* @__PURE__ */ d(function(e) {
|
|
567
567
|
var t = RegExp("^[" + Z + "][" + Z + "]*"), n = RegExp("[" + Z + "][" + Z + "]*$");
|
|
568
568
|
return e.replace(t, "").replace(n, "");
|
|
569
569
|
}) : /* @__PURE__ */ d(function(e) {
|
|
@@ -578,7 +578,7 @@ function De(e) {
|
|
|
578
578
|
return e && e.match(Te).map((e) => e.toLowerCase()).join("-");
|
|
579
579
|
}
|
|
580
580
|
function Oe(e = "", t = {}) {
|
|
581
|
-
return e.replace(Ee, (e, n) =>
|
|
581
|
+
return e.replace(Ee, (e, n) => X(Se(".", n), t));
|
|
582
582
|
}
|
|
583
583
|
function ke(e) {
|
|
584
584
|
return (e || "").split(" ").filter((e) => we.includes(e)).join(" ");
|
|
@@ -1336,13 +1336,15 @@ var Ae = /* @__PURE__ */ s(((e, t) => {
|
|
|
1336
1336
|
}));
|
|
1337
1337
|
})), Q = /* @__PURE__ */ l(Ae(), 1), He = /* @__PURE__ */ l(je(), 1), Ue = /* @__PURE__ */ l(Me(), 1), We = /* @__PURE__ */ l(Ne(), 1), Ge = /* @__PURE__ */ l(Pe(), 1), Ke = /* @__PURE__ */ l(Fe(), 1), qe = /* @__PURE__ */ l(Ie(), 1), Je = /* @__PURE__ */ l(Le(), 1), Ye = /* @__PURE__ */ l(Re(), 1), Xe = /* @__PURE__ */ l(ze(), 1), Ze = /* @__PURE__ */ l(Be(), 1);
|
|
1338
1338
|
Ve(), Q.default.extend(Xe.default), Q.default.extend(Ye.default), Q.default.extend(He.default), Q.default.extend(Je.default), Q.default.extend(Ke.default), Q.default.extend(We.default), Q.default.extend(Ue.default), Q.default.extend(Ge.default), Q.default.extend(Ze.default), Q.default.extend(qe.default);
|
|
1339
|
-
var
|
|
1339
|
+
var $ = Q.default.tz.guess(), Qe = () => $;
|
|
1340
1340
|
function $e(e = "", t = "", n = "", r = "hu") {
|
|
1341
|
-
|
|
1341
|
+
n ||= $;
|
|
1342
|
+
let i = (0, Q.default)(e);
|
|
1343
|
+
return i.isValid() ? i.tz(n).locale(r).format(t) : "";
|
|
1342
1344
|
}
|
|
1343
1345
|
function et(e = "", t = "", n = "hu") {
|
|
1344
1346
|
if (!(0, Q.default)(e).isValid()) return "";
|
|
1345
|
-
t ||=
|
|
1347
|
+
t ||= $;
|
|
1346
1348
|
let r = new Intl.DateTimeFormat(tt(n), {
|
|
1347
1349
|
timeZone: t,
|
|
1348
1350
|
timeZoneName: "short"
|
|
@@ -1367,50 +1369,53 @@ function it(e) {
|
|
|
1367
1369
|
function at(e, t = "day") {
|
|
1368
1370
|
return (0, Q.default)().isSameOrBefore((0, Q.default)(e), t);
|
|
1369
1371
|
}
|
|
1370
|
-
function
|
|
1372
|
+
function ot(e, t, n, r = "[]") {
|
|
1371
1373
|
return (0, Q.default)(e).isBetween(t, (0, Q.default)(n), "day", r);
|
|
1372
1374
|
}
|
|
1373
|
-
function
|
|
1375
|
+
function st(e, t, n = "month") {
|
|
1374
1376
|
return (0, Q.default)(e).isSame(t, n);
|
|
1375
1377
|
}
|
|
1376
|
-
function
|
|
1378
|
+
function ct(e, t = "hu") {
|
|
1377
1379
|
return (0, Q.default)(e).locale(t).toNow(!0);
|
|
1378
1380
|
}
|
|
1379
|
-
function
|
|
1381
|
+
function lt(e, t, n = "day") {
|
|
1380
1382
|
return (0, Q.default)(e).isBefore(t, n);
|
|
1381
1383
|
}
|
|
1382
|
-
function
|
|
1384
|
+
function ut(e, t, n = "day") {
|
|
1383
1385
|
return (0, Q.default)(e).isAfter(t, n);
|
|
1384
1386
|
}
|
|
1385
|
-
function ut(e) {
|
|
1386
|
-
return (0, Q.default)(e).isToday();
|
|
1387
|
-
}
|
|
1388
1387
|
function dt(e) {
|
|
1389
|
-
return
|
|
1388
|
+
return (0, Q.default)(e).isToday();
|
|
1390
1389
|
}
|
|
1391
1390
|
function ft(e) {
|
|
1391
|
+
return ot(e, (0, Q.default)().weekday(1), (0, Q.default)().weekday(7));
|
|
1392
|
+
}
|
|
1393
|
+
function pt(e) {
|
|
1392
1394
|
return {
|
|
1393
1395
|
startDate: (0, Q.default)(e).weekday(1),
|
|
1394
1396
|
endDate: (0, Q.default)(e).weekday(7)
|
|
1395
1397
|
};
|
|
1396
1398
|
}
|
|
1397
|
-
function
|
|
1399
|
+
function mt(e, t) {
|
|
1398
1400
|
return (0, Q.default)(e).subtract(t, "day");
|
|
1399
1401
|
}
|
|
1400
|
-
function
|
|
1402
|
+
function ht(e, t) {
|
|
1401
1403
|
return (0, Q.default)(e).add(t, "day");
|
|
1402
1404
|
}
|
|
1403
|
-
function
|
|
1405
|
+
function gt(e, t = 1) {
|
|
1406
|
+
return (0, Q.default)(e).add(t, "year");
|
|
1407
|
+
}
|
|
1408
|
+
function _t(e) {
|
|
1404
1409
|
return (0, Q.default)(e).startOf("month");
|
|
1405
1410
|
}
|
|
1406
|
-
function
|
|
1411
|
+
function vt(e) {
|
|
1407
1412
|
return (0, Q.default)(e).endOf("month");
|
|
1408
1413
|
}
|
|
1409
|
-
function
|
|
1414
|
+
function yt(e) {
|
|
1410
1415
|
return Array.isArray(e) && (e = e.map((e) => (0, Q.default)(e))), Q.default.min(e);
|
|
1411
1416
|
}
|
|
1412
|
-
function
|
|
1413
|
-
return Array.isArray(e) && (e = e.map((e) => (0, Q.default)(e))), Q.default.max(
|
|
1417
|
+
function bt(e) {
|
|
1418
|
+
return Array.isArray(e) && (e = e.map((e) => (0, Q.default)(e))), Q.default.max(e);
|
|
1414
1419
|
}
|
|
1415
1420
|
//#endregion
|
|
1416
|
-
export {
|
|
1421
|
+
export { y as $, be as A, U as B, ke as C, Se as D, Ce as E, he as F, F as G, B as H, K as I, j as J, P as K, G as L, ye as M, J as N, X as O, q as P, b as Q, W as R, ct as S, De as T, z as U, V, ce as W, C as X, T as Y, x as Z, bt as _, rt as a, f as at, _t as b, vt as c, ut as d, _ as et, lt as f, dt as g, at as h, nt as i, p as it, Y as j, xe as k, $e as l, st as m, gt as n, h as nt, ft as o, d as ot, ot as p, M as q, it as r, m as rt, pt as s, ht as t, g as tt, Qe as u, yt as v, Oe as w, mt as x, et as y, me as z };
|