@mjsz-vbr-elements/core 2.2.7 → 2.3.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.
@@ -1,1143 +0,0 @@
1
- /**
2
- * name: @mjsz-vbr-elements/core
3
- * version: v2.2.7 - 25/02/2024, 10:36:15
4
- * (c) 2024
5
- * description: Data visualization for MJSZ VBR
6
- * author: Ákos Stegner <akos.stegner@gmail.com>
7
- */
8
- import { LOCALE_FOR_LANG as bt } from "./constants.js";
9
- function A(e) {
10
- return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
11
- }
12
- function E(e) {
13
- return function t(r) {
14
- return arguments.length === 0 || A(r) ? t : e.apply(this, arguments);
15
- };
16
- }
17
- function U(e) {
18
- return function t(r, n) {
19
- switch (arguments.length) {
20
- case 0:
21
- return t;
22
- case 1:
23
- return A(r) ? t : E(function(u) {
24
- return e(r, u);
25
- });
26
- default:
27
- return A(r) && A(n) ? t : A(r) ? E(function(u) {
28
- return e(u, n);
29
- }) : A(n) ? E(function(u) {
30
- return e(r, u);
31
- }) : e(r, n);
32
- }
33
- };
34
- }
35
- function gt(e, t) {
36
- switch (e) {
37
- case 0:
38
- return function() {
39
- return t.apply(this, arguments);
40
- };
41
- case 1:
42
- return function(r) {
43
- return t.apply(this, arguments);
44
- };
45
- case 2:
46
- return function(r, n) {
47
- return t.apply(this, arguments);
48
- };
49
- case 3:
50
- return function(r, n, u) {
51
- return t.apply(this, arguments);
52
- };
53
- case 4:
54
- return function(r, n, u, s) {
55
- return t.apply(this, arguments);
56
- };
57
- case 5:
58
- return function(r, n, u, s, i) {
59
- return t.apply(this, arguments);
60
- };
61
- case 6:
62
- return function(r, n, u, s, i, a) {
63
- return t.apply(this, arguments);
64
- };
65
- case 7:
66
- return function(r, n, u, s, i, a, p) {
67
- return t.apply(this, arguments);
68
- };
69
- case 8:
70
- return function(r, n, u, s, i, a, p, c) {
71
- return t.apply(this, arguments);
72
- };
73
- case 9:
74
- return function(r, n, u, s, i, a, p, c, w) {
75
- return t.apply(this, arguments);
76
- };
77
- case 10:
78
- return function(r, n, u, s, i, a, p, c, w, $) {
79
- return t.apply(this, arguments);
80
- };
81
- default:
82
- throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
83
- }
84
- }
85
- function vt(e, t, r) {
86
- return function() {
87
- for (var n = [], u = 0, s = e, i = 0; i < t.length || u < arguments.length; ) {
88
- var a;
89
- i < t.length && (!A(t[i]) || u >= arguments.length) ? a = t[i] : (a = arguments[u], u += 1), n[i] = a, A(a) || (s -= 1), i += 1;
90
- }
91
- return s <= 0 ? r.apply(this, n) : gt(s, vt(e, n, r));
92
- };
93
- }
94
- var yt = /* @__PURE__ */ U(function(t, r) {
95
- return t === 1 ? E(r) : gt(t, vt(t, [], r));
96
- });
97
- function De(e) {
98
- return function t(r, n, u) {
99
- switch (arguments.length) {
100
- case 0:
101
- return t;
102
- case 1:
103
- return A(r) ? t : U(function(s, i) {
104
- return e(r, s, i);
105
- });
106
- case 2:
107
- return A(r) && A(n) ? t : A(r) ? U(function(s, i) {
108
- return e(s, n, i);
109
- }) : A(n) ? U(function(s, i) {
110
- return e(r, s, i);
111
- }) : E(function(s) {
112
- return e(r, n, s);
113
- });
114
- default:
115
- return A(r) && A(n) && A(u) ? t : A(r) && A(n) ? U(function(s, i) {
116
- return e(s, i, u);
117
- }) : A(r) && A(u) ? U(function(s, i) {
118
- return e(s, n, i);
119
- }) : A(n) && A(u) ? U(function(s, i) {
120
- return e(r, s, i);
121
- }) : A(r) ? E(function(s) {
122
- return e(s, n, u);
123
- }) : A(n) ? E(function(s) {
124
- return e(r, s, u);
125
- }) : A(u) ? E(function(s) {
126
- return e(r, n, s);
127
- }) : e(r, n, u);
128
- }
129
- };
130
- }
131
- const Ct = Array.isArray || function(t) {
132
- return t != null && t.length >= 0 && Object.prototype.toString.call(t) === "[object Array]";
133
- };
134
- function It(e) {
135
- return e != null && typeof e["@@transducer/step"] == "function";
136
- }
137
- function $t(e, t, r) {
138
- return function() {
139
- if (arguments.length === 0)
140
- return r();
141
- var n = arguments[arguments.length - 1];
142
- if (!Ct(n)) {
143
- for (var u = 0; u < e.length; ) {
144
- if (typeof n[e[u]] == "function")
145
- return n[e[u]].apply(n, Array.prototype.slice.call(arguments, 0, -1));
146
- u += 1;
147
- }
148
- if (It(n)) {
149
- var s = t.apply(null, Array.prototype.slice.call(arguments, 0, -1));
150
- return s(n);
151
- }
152
- }
153
- return r.apply(this, arguments);
154
- };
155
- }
156
- function je(e) {
157
- return e && e["@@transducer/reduced"] ? e : {
158
- "@@transducer/value": e,
159
- "@@transducer/reduced": !0
160
- };
161
- }
162
- const rt = {
163
- init: function() {
164
- return this.xf["@@transducer/init"]();
165
- },
166
- result: function(e) {
167
- return this.xf["@@transducer/result"](e);
168
- }
169
- };
170
- function ct(e) {
171
- for (var t = [], r; !(r = e.next()).done; )
172
- t.push(r.value);
173
- return t;
174
- }
175
- function ft(e, t, r) {
176
- for (var n = 0, u = r.length; n < u; ) {
177
- if (e(t, r[n]))
178
- return !0;
179
- n += 1;
180
- }
181
- return !1;
182
- }
183
- function kt(e) {
184
- var t = String(e).match(/^function (\w*)/);
185
- return t == null ? "" : t[1];
186
- }
187
- function nt(e, t) {
188
- return Object.prototype.hasOwnProperty.call(t, e);
189
- }
190
- function Ft(e, t) {
191
- return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
192
- }
193
- const it = typeof Object.is == "function" ? Object.is : Ft;
194
- var lt = Object.prototype.toString, Ht = /* @__PURE__ */ function() {
195
- return lt.call(arguments) === "[object Arguments]" ? function(t) {
196
- return lt.call(t) === "[object Arguments]";
197
- } : function(t) {
198
- return nt("callee", t);
199
- };
200
- }(), Nt = !/* @__PURE__ */ {
201
- toString: null
202
- }.propertyIsEnumerable("toString"), ht = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], pt = /* @__PURE__ */ function() {
203
- return arguments.propertyIsEnumerable("length");
204
- }(), Ut = function(t, r) {
205
- for (var n = 0; n < t.length; ) {
206
- if (t[n] === r)
207
- return !0;
208
- n += 1;
209
- }
210
- return !1;
211
- }, J = /* @__PURE__ */ E(typeof Object.keys == "function" && !pt ? function(t) {
212
- return Object(t) !== t ? [] : Object.keys(t);
213
- } : function(t) {
214
- if (Object(t) !== t)
215
- return [];
216
- var r, n, u = [], s = pt && Ht(t);
217
- for (r in t)
218
- nt(r, t) && (!s || r !== "length") && (u[u.length] = r);
219
- if (Nt)
220
- for (n = ht.length - 1; n >= 0; )
221
- r = ht[n], nt(r, t) && !Ut(u, r) && (u[u.length] = r), n -= 1;
222
- return u;
223
- }), dt = /* @__PURE__ */ E(function(t) {
224
- return t === null ? "Null" : t === void 0 ? "Undefined" : Object.prototype.toString.call(t).slice(8, -1);
225
- });
226
- function mt(e, t, r, n) {
227
- var u = ct(e), s = ct(t);
228
- function i(a, p) {
229
- return st(a, p, r.slice(), n.slice());
230
- }
231
- return !ft(function(a, p) {
232
- return !ft(i, p, a);
233
- }, s, u);
234
- }
235
- function st(e, t, r, n) {
236
- if (it(e, t))
237
- return !0;
238
- var u = dt(e);
239
- if (u !== dt(t))
240
- return !1;
241
- if (typeof e["fantasy-land/equals"] == "function" || typeof t["fantasy-land/equals"] == "function")
242
- return typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t) && typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e);
243
- if (typeof e.equals == "function" || typeof t.equals == "function")
244
- return typeof e.equals == "function" && e.equals(t) && typeof t.equals == "function" && t.equals(e);
245
- switch (u) {
246
- case "Arguments":
247
- case "Array":
248
- case "Object":
249
- if (typeof e.constructor == "function" && kt(e.constructor) === "Promise")
250
- return e === t;
251
- break;
252
- case "Boolean":
253
- case "Number":
254
- case "String":
255
- if (!(typeof e == typeof t && it(e.valueOf(), t.valueOf())))
256
- return !1;
257
- break;
258
- case "Date":
259
- if (!it(e.valueOf(), t.valueOf()))
260
- return !1;
261
- break;
262
- case "Error":
263
- return e.name === t.name && e.message === t.message;
264
- case "RegExp":
265
- if (!(e.source === t.source && e.global === t.global && e.ignoreCase === t.ignoreCase && e.multiline === t.multiline && e.sticky === t.sticky && e.unicode === t.unicode))
266
- return !1;
267
- break;
268
- }
269
- for (var s = r.length - 1; s >= 0; ) {
270
- if (r[s] === e)
271
- return n[s] === t;
272
- s -= 1;
273
- }
274
- switch (u) {
275
- case "Map":
276
- return e.size !== t.size ? !1 : mt(e.entries(), t.entries(), r.concat([e]), n.concat([t]));
277
- case "Set":
278
- return e.size !== t.size ? !1 : mt(e.values(), t.values(), r.concat([e]), n.concat([t]));
279
- case "Arguments":
280
- case "Array":
281
- case "Object":
282
- case "Boolean":
283
- case "Number":
284
- case "String":
285
- case "Date":
286
- case "Error":
287
- case "RegExp":
288
- case "Int8Array":
289
- case "Uint8Array":
290
- case "Uint8ClampedArray":
291
- case "Int16Array":
292
- case "Uint16Array":
293
- case "Int32Array":
294
- case "Uint32Array":
295
- case "Float32Array":
296
- case "Float64Array":
297
- case "ArrayBuffer":
298
- break;
299
- default:
300
- return !1;
301
- }
302
- var i = J(e);
303
- if (i.length !== J(t).length)
304
- return !1;
305
- var a = r.concat([e]), p = n.concat([t]);
306
- for (s = i.length - 1; s >= 0; ) {
307
- var c = i[s];
308
- if (!(nt(c, t) && st(t[c], e[c], a, p)))
309
- return !1;
310
- s -= 1;
311
- }
312
- return !0;
313
- }
314
- var Bt = /* @__PURE__ */ U(function(t, r) {
315
- return st(t, r, [], []);
316
- });
317
- function Et(e, t, r) {
318
- var n, u;
319
- if (typeof e.indexOf == "function")
320
- switch (typeof t) {
321
- case "number":
322
- if (t === 0) {
323
- for (n = 1 / t; r < e.length; ) {
324
- if (u = e[r], u === 0 && 1 / u === n)
325
- return r;
326
- r += 1;
327
- }
328
- return -1;
329
- } else if (t !== t) {
330
- for (; r < e.length; ) {
331
- if (u = e[r], typeof u == "number" && u !== u)
332
- return r;
333
- r += 1;
334
- }
335
- return -1;
336
- }
337
- return e.indexOf(t, r);
338
- case "string":
339
- case "boolean":
340
- case "function":
341
- case "undefined":
342
- return e.indexOf(t, r);
343
- case "object":
344
- if (t === null)
345
- return e.indexOf(t, r);
346
- }
347
- for (; r < e.length; ) {
348
- if (Bt(e[r], t))
349
- return r;
350
- r += 1;
351
- }
352
- return -1;
353
- }
354
- function qt(e, t) {
355
- return Et(t, e, 0) >= 0;
356
- }
357
- function et(e, t) {
358
- for (var r = 0, n = t.length, u = Array(n); r < n; )
359
- u[r] = e(t[r]), r += 1;
360
- return u;
361
- }
362
- function at(e) {
363
- var t = e.replace(/\\/g, "\\\\").replace(/[\b]/g, "\\b").replace(/\f/g, "\\f").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\t/g, "\\t").replace(/\v/g, "\\v").replace(/\0/g, "\\0");
364
- return '"' + t.replace(/"/g, '\\"') + '"';
365
- }
366
- var K = function(t) {
367
- return (t < 10 ? "0" : "") + t;
368
- }, Wt = typeof Date.prototype.toISOString == "function" ? function(t) {
369
- return t.toISOString();
370
- } : function(t) {
371
- return t.getUTCFullYear() + "-" + K(t.getUTCMonth() + 1) + "-" + K(t.getUTCDate()) + "T" + K(t.getUTCHours()) + ":" + K(t.getUTCMinutes()) + ":" + K(t.getUTCSeconds()) + "." + (t.getUTCMilliseconds() / 1e3).toFixed(3).slice(2, 5) + "Z";
372
- };
373
- function Zt(e) {
374
- return function() {
375
- return !e.apply(this, arguments);
376
- };
377
- }
378
- function Mt(e, t, r) {
379
- for (var n = 0, u = r.length; n < u; )
380
- t = e(t, r[n]), n += 1;
381
- return t;
382
- }
383
- function Gt(e, t) {
384
- for (var r = 0, n = t.length, u = []; r < n; )
385
- e(t[r]) && (u[u.length] = t[r]), r += 1;
386
- return u;
387
- }
388
- function Pt(e) {
389
- return Object.prototype.toString.call(e) === "[object Object]";
390
- }
391
- var Vt = /* @__PURE__ */ function() {
392
- function e(t, r) {
393
- this.xf = r, this.f = t;
394
- }
395
- return e.prototype["@@transducer/init"] = rt.init, e.prototype["@@transducer/result"] = rt.result, e.prototype["@@transducer/step"] = function(t, r) {
396
- return this.f(r) ? this.xf["@@transducer/step"](t, r) : t;
397
- }, e;
398
- }();
399
- function Xt(e) {
400
- return function(t) {
401
- return new Vt(e, t);
402
- };
403
- }
404
- var Jt = /* @__PURE__ */ U(
405
- /* @__PURE__ */ $t(["fantasy-land/filter", "filter"], Xt, function(e, t) {
406
- return Pt(t) ? Mt(function(r, n) {
407
- return e(t[n]) && (r[n] = t[n]), r;
408
- }, {}, J(t)) : (
409
- // else
410
- Gt(e, t)
411
- );
412
- })
413
- ), Rt = /* @__PURE__ */ U(function(t, r) {
414
- return Jt(Zt(t), r);
415
- });
416
- function St(e, t) {
417
- var r = function(i) {
418
- var a = t.concat([e]);
419
- return qt(i, a) ? "<Circular>" : St(i, a);
420
- }, n = function(s, i) {
421
- return et(function(a) {
422
- return at(a) + ": " + r(s[a]);
423
- }, i.slice().sort());
424
- };
425
- switch (Object.prototype.toString.call(e)) {
426
- case "[object Arguments]":
427
- return "(function() { return arguments; }(" + et(r, e).join(", ") + "))";
428
- case "[object Array]":
429
- return "[" + et(r, e).concat(n(e, Rt(function(s) {
430
- return /^\d+$/.test(s);
431
- }, J(e)))).join(", ") + "]";
432
- case "[object Boolean]":
433
- return typeof e == "object" ? "new Boolean(" + r(e.valueOf()) + ")" : e.toString();
434
- case "[object Date]":
435
- return "new Date(" + (isNaN(e.valueOf()) ? r(NaN) : at(Wt(e))) + ")";
436
- case "[object Map]":
437
- return "new Map(" + r(Array.from(e)) + ")";
438
- case "[object Null]":
439
- return "null";
440
- case "[object Number]":
441
- return typeof e == "object" ? "new Number(" + r(e.valueOf()) + ")" : 1 / e === -1 / 0 ? "-0" : e.toString(10);
442
- case "[object Set]":
443
- return "new Set(" + r(Array.from(e).sort()) + ")";
444
- case "[object String]":
445
- return typeof e == "object" ? "new String(" + r(e.valueOf()) + ")" : at(e);
446
- case "[object Undefined]":
447
- return "undefined";
448
- default:
449
- if (typeof e.toString == "function") {
450
- var u = e.toString();
451
- if (u !== "[object Object]")
452
- return u;
453
- }
454
- return "{" + n(e, J(e)).join(", ") + "}";
455
- }
456
- }
457
- var Qt = /* @__PURE__ */ E(function(t) {
458
- return St(t, []);
459
- }), Kt = /* @__PURE__ */ function() {
460
- function e(t, r) {
461
- this.xf = r, this.f = t;
462
- }
463
- return e.prototype["@@transducer/init"] = rt.init, e.prototype["@@transducer/result"] = rt.result, e.prototype["@@transducer/step"] = function(t, r) {
464
- return this.xf["@@transducer/step"](t, this.f(r));
465
- }, e;
466
- }(), te = function(t) {
467
- return function(r) {
468
- return new Kt(t, r);
469
- };
470
- }, ee = /* @__PURE__ */ U(
471
- /* @__PURE__ */ $t(["fantasy-land/map", "map"], te, function(t, r) {
472
- switch (Object.prototype.toString.call(r)) {
473
- case "[object Function]":
474
- return yt(r.length, function() {
475
- return t.call(this, r.apply(this, arguments));
476
- });
477
- case "[object Object]":
478
- return Mt(function(n, u) {
479
- return n[u] = t(r[u]), n;
480
- }, {}, J(r));
481
- default:
482
- return et(t, r);
483
- }
484
- })
485
- );
486
- const Ye = ee, _t = Number.isInteger || function(t) {
487
- return t << 0 === t;
488
- };
489
- function re(e) {
490
- return Object.prototype.toString.call(e) === "[object String]";
491
- }
492
- var wt = /* @__PURE__ */ U(function(t, r) {
493
- var n = t < 0 ? r.length + t : t;
494
- return re(r) ? r.charAt(n) : r[n];
495
- }), Te = /* @__PURE__ */ U(function(t, r) {
496
- if (r != null)
497
- return _t(t) ? wt(t, r) : r[t];
498
- });
499
- function ne(e) {
500
- var t = Object.prototype.toString.call(e);
501
- return t === "[object Function]" || t === "[object AsyncFunction]" || t === "[object GeneratorFunction]" || t === "[object AsyncGeneratorFunction]";
502
- }
503
- var ue = /* @__PURE__ */ U(function(t, r) {
504
- return yt(t + 1, function() {
505
- var n = arguments[t];
506
- if (n != null && ne(n[r]))
507
- return n[r].apply(n, Array.prototype.slice.call(arguments, 0, t));
508
- throw new TypeError(Qt(n) + ' does not have a method named "' + r + '"');
509
- });
510
- }), ie = /* @__PURE__ */ U(function(t, r) {
511
- return t.map(function(n) {
512
- for (var u = r, s = 0, i; s < n.length; ) {
513
- if (u == null)
514
- return;
515
- i = n[s], u = _t(i) ? wt(i, u) : u[i], s += 1;
516
- }
517
- return u;
518
- });
519
- }), ae = /* @__PURE__ */ U(function(t, r) {
520
- return ie([t], r)[0];
521
- }), se = /* @__PURE__ */ ue(1, "split");
522
- function xe(e) {
523
- return e && e.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g).map((t) => t.toLowerCase()).join("-");
524
- }
525
- const Ae = function(e = "", t = {}) {
526
- return e.replace(/\{([^}]+)\}/g, function(r, n) {
527
- return ae(se(".", n), t);
528
- });
529
- };
530
- var W = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
531
- function V(e) {
532
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
533
- }
534
- var Ot = { exports: {} };
535
- (function(e, t) {
536
- (function(r, n) {
537
- e.exports = n();
538
- })(W, function() {
539
- var r = 1e3, n = 6e4, u = 36e5, s = "millisecond", i = "second", a = "minute", p = "hour", c = "day", w = "week", $ = "month", y = "quarter", D = "year", _ = "date", f = "Invalid Date", S = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, z = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, j = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(d) {
540
- var h = ["th", "st", "nd", "rd"], o = d % 100;
541
- return "[" + d + (h[(o - 20) % 10] || h[o] || h[0]) + "]";
542
- } }, x = function(d, h, o) {
543
- var m = String(d);
544
- return !m || m.length >= h ? d : "" + Array(h + 1 - m.length).join(o) + d;
545
- }, k = { s: x, z: function(d) {
546
- var h = -d.utcOffset(), o = Math.abs(h), m = Math.floor(o / 60), l = o % 60;
547
- return (h <= 0 ? "+" : "-") + x(m, 2, "0") + ":" + x(l, 2, "0");
548
- }, m: function d(h, o) {
549
- if (h.date() < o.date())
550
- return -d(o, h);
551
- var m = 12 * (o.year() - h.year()) + (o.month() - h.month()), l = h.clone().add(m, $), v = o - l < 0, g = h.clone().add(m + (v ? -1 : 1), $);
552
- return +(-(m + (o - l) / (v ? l - g : g - l)) || 0);
553
- }, a: function(d) {
554
- return d < 0 ? Math.ceil(d) || 0 : Math.floor(d);
555
- }, p: function(d) {
556
- return { M: $, y: D, w, d: c, D: _, h: p, m: a, s: i, ms: s, Q: y }[d] || String(d || "").toLowerCase().replace(/s$/, "");
557
- }, u: function(d) {
558
- return d === void 0;
559
- } }, O = "en", L = {};
560
- L[O] = j;
561
- var F = function(d) {
562
- return d instanceof Z;
563
- }, H = function d(h, o, m) {
564
- var l;
565
- if (!h)
566
- return O;
567
- if (typeof h == "string") {
568
- var v = h.toLowerCase();
569
- L[v] && (l = v), o && (L[v] = o, l = v);
570
- var g = h.split("-");
571
- if (!l && g.length > 1)
572
- return d(g[0]);
573
- } else {
574
- var Y = h.name;
575
- L[Y] = h, l = Y;
576
- }
577
- return !m && l && (O = l), l || !m && O;
578
- }, T = function(d, h) {
579
- if (F(d))
580
- return d.clone();
581
- var o = typeof h == "object" ? h : {};
582
- return o.date = d, o.args = arguments, new Z(o);
583
- }, M = k;
584
- M.l = H, M.i = F, M.w = function(d, h) {
585
- return T(d, { locale: h.$L, utc: h.$u, x: h.$x, $offset: h.$offset });
586
- };
587
- var Z = function() {
588
- function d(o) {
589
- this.$L = H(o.locale, null, !0), this.parse(o);
590
- }
591
- var h = d.prototype;
592
- return h.parse = function(o) {
593
- this.$d = function(m) {
594
- var l = m.date, v = m.utc;
595
- if (l === null)
596
- return /* @__PURE__ */ new Date(NaN);
597
- if (M.u(l))
598
- return /* @__PURE__ */ new Date();
599
- if (l instanceof Date)
600
- return new Date(l);
601
- if (typeof l == "string" && !/Z$/i.test(l)) {
602
- var g = l.match(S);
603
- if (g) {
604
- var Y = g[2] - 1 || 0, C = (g[7] || "0").substring(0, 3);
605
- return v ? new Date(Date.UTC(g[1], Y, g[3] || 1, g[4] || 0, g[5] || 0, g[6] || 0, C)) : new Date(g[1], Y, g[3] || 1, g[4] || 0, g[5] || 0, g[6] || 0, C);
606
- }
607
- }
608
- return new Date(l);
609
- }(o), this.$x = o.x || {}, this.init();
610
- }, h.init = function() {
611
- var o = this.$d;
612
- this.$y = o.getFullYear(), this.$M = o.getMonth(), this.$D = o.getDate(), this.$W = o.getDay(), this.$H = o.getHours(), this.$m = o.getMinutes(), this.$s = o.getSeconds(), this.$ms = o.getMilliseconds();
613
- }, h.$utils = function() {
614
- return M;
615
- }, h.isValid = function() {
616
- return this.$d.toString() !== f;
617
- }, h.isSame = function(o, m) {
618
- var l = T(o);
619
- return this.startOf(m) <= l && l <= this.endOf(m);
620
- }, h.isAfter = function(o, m) {
621
- return T(o) < this.startOf(m);
622
- }, h.isBefore = function(o, m) {
623
- return this.endOf(m) < T(o);
624
- }, h.$g = function(o, m, l) {
625
- return M.u(o) ? this[m] : this.set(l, o);
626
- }, h.unix = function() {
627
- return Math.floor(this.valueOf() / 1e3);
628
- }, h.valueOf = function() {
629
- return this.$d.getTime();
630
- }, h.startOf = function(o, m) {
631
- var l = this, v = !!M.u(m) || m, g = M.p(o), Y = function(X, B) {
632
- var P = M.w(l.$u ? Date.UTC(l.$y, B, X) : new Date(l.$y, B, X), l);
633
- return v ? P : P.endOf(c);
634
- }, C = function(X, B) {
635
- return M.w(l.toDate()[X].apply(l.toDate("s"), (v ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(B)), l);
636
- }, b = this.$W, N = this.$M, G = this.$D, q = "set" + (this.$u ? "UTC" : "");
637
- switch (g) {
638
- case D:
639
- return v ? Y(1, 0) : Y(31, 11);
640
- case $:
641
- return v ? Y(1, N) : Y(0, N + 1);
642
- case w:
643
- var R = this.$locale().weekStart || 0, Q = (b < R ? b + 7 : b) - R;
644
- return Y(v ? G - Q : G + (6 - Q), N);
645
- case c:
646
- case _:
647
- return C(q + "Hours", 0);
648
- case p:
649
- return C(q + "Minutes", 1);
650
- case a:
651
- return C(q + "Seconds", 2);
652
- case i:
653
- return C(q + "Milliseconds", 3);
654
- default:
655
- return this.clone();
656
- }
657
- }, h.endOf = function(o) {
658
- return this.startOf(o, !1);
659
- }, h.$set = function(o, m) {
660
- var l, v = M.p(o), g = "set" + (this.$u ? "UTC" : ""), Y = (l = {}, l[c] = g + "Date", l[_] = g + "Date", l[$] = g + "Month", l[D] = g + "FullYear", l[p] = g + "Hours", l[a] = g + "Minutes", l[i] = g + "Seconds", l[s] = g + "Milliseconds", l)[v], C = v === c ? this.$D + (m - this.$W) : m;
661
- if (v === $ || v === D) {
662
- var b = this.clone().set(_, 1);
663
- b.$d[Y](C), b.init(), this.$d = b.set(_, Math.min(this.$D, b.daysInMonth())).$d;
664
- } else
665
- Y && this.$d[Y](C);
666
- return this.init(), this;
667
- }, h.set = function(o, m) {
668
- return this.clone().$set(o, m);
669
- }, h.get = function(o) {
670
- return this[M.p(o)]();
671
- }, h.add = function(o, m) {
672
- var l, v = this;
673
- o = Number(o);
674
- var g = M.p(m), Y = function(N) {
675
- var G = T(v);
676
- return M.w(G.date(G.date() + Math.round(N * o)), v);
677
- };
678
- if (g === $)
679
- return this.set($, this.$M + o);
680
- if (g === D)
681
- return this.set(D, this.$y + o);
682
- if (g === c)
683
- return Y(1);
684
- if (g === w)
685
- return Y(7);
686
- var C = (l = {}, l[a] = n, l[p] = u, l[i] = r, l)[g] || 1, b = this.$d.getTime() + o * C;
687
- return M.w(b, this);
688
- }, h.subtract = function(o, m) {
689
- return this.add(-1 * o, m);
690
- }, h.format = function(o) {
691
- var m = this, l = this.$locale();
692
- if (!this.isValid())
693
- return l.invalidDate || f;
694
- var v = o || "YYYY-MM-DDTHH:mm:ssZ", g = M.z(this), Y = this.$H, C = this.$m, b = this.$M, N = l.weekdays, G = l.months, q = function(B, P, ut, tt) {
695
- return B && (B[P] || B(m, v)) || ut[P].slice(0, tt);
696
- }, R = function(B) {
697
- return M.s(Y % 12 || 12, B, "0");
698
- }, Q = l.meridiem || function(B, P, ut) {
699
- var tt = B < 12 ? "AM" : "PM";
700
- return ut ? tt.toLowerCase() : tt;
701
- }, X = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: b + 1, MM: M.s(b + 1, 2, "0"), MMM: q(l.monthsShort, b, G, 3), MMMM: q(G, b), D: this.$D, DD: M.s(this.$D, 2, "0"), d: String(this.$W), dd: q(l.weekdaysMin, this.$W, N, 2), ddd: q(l.weekdaysShort, this.$W, N, 3), dddd: N[this.$W], H: String(Y), HH: M.s(Y, 2, "0"), h: R(1), hh: R(2), a: Q(Y, C, !0), A: Q(Y, C, !1), m: String(C), mm: M.s(C, 2, "0"), s: String(this.$s), ss: M.s(this.$s, 2, "0"), SSS: M.s(this.$ms, 3, "0"), Z: g };
702
- return v.replace(z, function(B, P) {
703
- return P || X[B] || g.replace(":", "");
704
- });
705
- }, h.utcOffset = function() {
706
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
707
- }, h.diff = function(o, m, l) {
708
- var v, g = M.p(m), Y = T(o), C = (Y.utcOffset() - this.utcOffset()) * n, b = this - Y, N = M.m(this, Y);
709
- return N = (v = {}, v[D] = N / 12, v[$] = N, v[y] = N / 3, v[w] = (b - C) / 6048e5, v[c] = (b - C) / 864e5, v[p] = b / u, v[a] = b / n, v[i] = b / r, v)[g] || b, l ? N : M.a(N);
710
- }, h.daysInMonth = function() {
711
- return this.endOf($).$D;
712
- }, h.$locale = function() {
713
- return L[this.$L];
714
- }, h.locale = function(o, m) {
715
- if (!o)
716
- return this.$L;
717
- var l = this.clone(), v = H(o, m, !0);
718
- return v && (l.$L = v), l;
719
- }, h.clone = function() {
720
- return M.w(this.$d, this);
721
- }, h.toDate = function() {
722
- return new Date(this.valueOf());
723
- }, h.toJSON = function() {
724
- return this.isValid() ? this.toISOString() : null;
725
- }, h.toISOString = function() {
726
- return this.$d.toISOString();
727
- }, h.toString = function() {
728
- return this.$d.toUTCString();
729
- }, d;
730
- }(), ot = Z.prototype;
731
- return T.prototype = ot, [["$ms", s], ["$s", i], ["$m", a], ["$H", p], ["$W", c], ["$M", $], ["$y", D], ["$D", _]].forEach(function(d) {
732
- ot[d[1]] = function(h) {
733
- return this.$g(h, d[0], d[1]);
734
- };
735
- }), T.extend = function(d, h) {
736
- return d.$i || (d(h, Z, T), d.$i = !0), T;
737
- }, T.locale = H, T.isDayjs = F, T.unix = function(d) {
738
- return T(1e3 * d);
739
- }, T.en = L[O], T.Ls = L, T.p = {}, T;
740
- });
741
- })(Ot);
742
- var Dt = Ot.exports;
743
- const I = /* @__PURE__ */ V(Dt);
744
- var jt = { exports: {} };
745
- (function(e, t) {
746
- (function(r, n) {
747
- e.exports = n();
748
- })(W, function() {
749
- var r = "minute", n = /[+-]\d\d(?::?\d\d)?/g, u = /([+-]|\d\d)/g;
750
- return function(s, i, a) {
751
- var p = i.prototype;
752
- a.utc = function(f) {
753
- var S = { date: f, utc: !0, args: arguments };
754
- return new i(S);
755
- }, p.utc = function(f) {
756
- var S = a(this.toDate(), { locale: this.$L, utc: !0 });
757
- return f ? S.add(this.utcOffset(), r) : S;
758
- }, p.local = function() {
759
- return a(this.toDate(), { locale: this.$L, utc: !1 });
760
- };
761
- var c = p.parse;
762
- p.parse = function(f) {
763
- f.utc && (this.$u = !0), this.$utils().u(f.$offset) || (this.$offset = f.$offset), c.call(this, f);
764
- };
765
- var w = p.init;
766
- p.init = function() {
767
- if (this.$u) {
768
- var f = this.$d;
769
- this.$y = f.getUTCFullYear(), this.$M = f.getUTCMonth(), this.$D = f.getUTCDate(), this.$W = f.getUTCDay(), this.$H = f.getUTCHours(), this.$m = f.getUTCMinutes(), this.$s = f.getUTCSeconds(), this.$ms = f.getUTCMilliseconds();
770
- } else
771
- w.call(this);
772
- };
773
- var $ = p.utcOffset;
774
- p.utcOffset = function(f, S) {
775
- var z = this.$utils().u;
776
- if (z(f))
777
- return this.$u ? 0 : z(this.$offset) ? $.call(this) : this.$offset;
778
- if (typeof f == "string" && (f = function(O) {
779
- O === void 0 && (O = "");
780
- var L = O.match(n);
781
- if (!L)
782
- return null;
783
- var F = ("" + L[0]).match(u) || ["-", 0, 0], H = F[0], T = 60 * +F[1] + +F[2];
784
- return T === 0 ? 0 : H === "+" ? T : -T;
785
- }(f), f === null))
786
- return this;
787
- var j = Math.abs(f) <= 16 ? 60 * f : f, x = this;
788
- if (S)
789
- return x.$offset = j, x.$u = f === 0, x;
790
- if (f !== 0) {
791
- var k = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
792
- (x = this.local().add(j + k, r)).$offset = j, x.$x.$localOffset = k;
793
- } else
794
- x = this.utc();
795
- return x;
796
- };
797
- var y = p.format;
798
- p.format = function(f) {
799
- var S = f || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
800
- return y.call(this, S);
801
- }, p.valueOf = function() {
802
- var f = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
803
- return this.$d.valueOf() - 6e4 * f;
804
- }, p.isUTC = function() {
805
- return !!this.$u;
806
- }, p.toISOString = function() {
807
- return this.toDate().toISOString();
808
- }, p.toString = function() {
809
- return this.toDate().toUTCString();
810
- };
811
- var D = p.toDate;
812
- p.toDate = function(f) {
813
- return f === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : D.call(this);
814
- };
815
- var _ = p.diff;
816
- p.diff = function(f, S, z) {
817
- if (f && this.$u === f.$u)
818
- return _.call(this, f, S, z);
819
- var j = this.local(), x = a(f).local();
820
- return _.call(j, x, S, z);
821
- };
822
- };
823
- });
824
- })(jt);
825
- var oe = jt.exports;
826
- const ce = /* @__PURE__ */ V(oe);
827
- var Yt = { exports: {} };
828
- (function(e, t) {
829
- (function(r, n) {
830
- e.exports = n();
831
- })(W, function() {
832
- var r = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, n = {};
833
- return function(u, s, i) {
834
- var a, p = function(y, D, _) {
835
- _ === void 0 && (_ = {});
836
- var f = new Date(y), S = function(z, j) {
837
- j === void 0 && (j = {});
838
- var x = j.timeZoneName || "short", k = z + "|" + x, O = n[k];
839
- return O || (O = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: z, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: x }), n[k] = O), O;
840
- }(D, _);
841
- return S.formatToParts(f);
842
- }, c = function(y, D) {
843
- for (var _ = p(y, D), f = [], S = 0; S < _.length; S += 1) {
844
- var z = _[S], j = z.type, x = z.value, k = r[j];
845
- k >= 0 && (f[k] = parseInt(x, 10));
846
- }
847
- var O = f[3], L = O === 24 ? 0 : O, F = f[0] + "-" + f[1] + "-" + f[2] + " " + L + ":" + f[4] + ":" + f[5] + ":000", H = +y;
848
- return (i.utc(F).valueOf() - (H -= H % 1e3)) / 6e4;
849
- }, w = s.prototype;
850
- w.tz = function(y, D) {
851
- y === void 0 && (y = a);
852
- var _ = this.utcOffset(), f = this.toDate(), S = f.toLocaleString("en-US", { timeZone: y }), z = Math.round((f - new Date(S)) / 1e3 / 60), j = i(S).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(f.getTimezoneOffset() / 15) - z, !0);
853
- if (D) {
854
- var x = j.utcOffset();
855
- j = j.add(_ - x, "minute");
856
- }
857
- return j.$x.$timezone = y, j;
858
- }, w.offsetName = function(y) {
859
- var D = this.$x.$timezone || i.tz.guess(), _ = p(this.valueOf(), D, { timeZoneName: y }).find(function(f) {
860
- return f.type.toLowerCase() === "timezonename";
861
- });
862
- return _ && _.value;
863
- };
864
- var $ = w.startOf;
865
- w.startOf = function(y, D) {
866
- if (!this.$x || !this.$x.$timezone)
867
- return $.call(this, y, D);
868
- var _ = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"));
869
- return $.call(_, y, D).tz(this.$x.$timezone, !0);
870
- }, i.tz = function(y, D, _) {
871
- var f = _ && D, S = _ || D || a, z = c(+i(), S);
872
- if (typeof y != "string")
873
- return i(y).tz(S);
874
- var j = function(L, F, H) {
875
- var T = L - 60 * F * 1e3, M = c(T, H);
876
- if (F === M)
877
- return [T, F];
878
- var Z = c(T -= 60 * (M - F) * 1e3, H);
879
- return M === Z ? [T, M] : [L - 60 * Math.min(M, Z) * 1e3, Math.max(M, Z)];
880
- }(i.utc(y, f).valueOf(), z, S), x = j[0], k = j[1], O = i(x).utcOffset(k);
881
- return O.$x.$timezone = S, O;
882
- }, i.tz.guess = function() {
883
- return Intl.DateTimeFormat().resolvedOptions().timeZone;
884
- }, i.tz.setDefault = function(y) {
885
- a = y;
886
- };
887
- };
888
- });
889
- })(Yt);
890
- var fe = Yt.exports;
891
- const le = /* @__PURE__ */ V(fe);
892
- var Tt = { exports: {} };
893
- (function(e, t) {
894
- (function(r, n) {
895
- e.exports = n();
896
- })(W, function() {
897
- return function(r, n) {
898
- var u = n.prototype, s = u.format;
899
- u.format = function(i) {
900
- var a = this, p = this.$locale();
901
- if (!this.isValid())
902
- return s.bind(this)(i);
903
- var c = this.$utils(), w = (i || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function($) {
904
- switch ($) {
905
- case "Q":
906
- return Math.ceil((a.$M + 1) / 3);
907
- case "Do":
908
- return p.ordinal(a.$D);
909
- case "gggg":
910
- return a.weekYear();
911
- case "GGGG":
912
- return a.isoWeekYear();
913
- case "wo":
914
- return p.ordinal(a.week(), "W");
915
- case "w":
916
- case "ww":
917
- return c.s(a.week(), $ === "w" ? 1 : 2, "0");
918
- case "W":
919
- case "WW":
920
- return c.s(a.isoWeek(), $ === "W" ? 1 : 2, "0");
921
- case "k":
922
- case "kk":
923
- return c.s(String(a.$H === 0 ? 24 : a.$H), $ === "k" ? 1 : 2, "0");
924
- case "X":
925
- return Math.floor(a.$d.getTime() / 1e3);
926
- case "x":
927
- return a.$d.getTime();
928
- case "z":
929
- return "[" + a.offsetName() + "]";
930
- case "zzz":
931
- return "[" + a.offsetName("long") + "]";
932
- default:
933
- return $;
934
- }
935
- });
936
- return s.bind(this)(w);
937
- };
938
- };
939
- });
940
- })(Tt);
941
- var he = Tt.exports;
942
- const pe = /* @__PURE__ */ V(he);
943
- var xt = { exports: {} };
944
- (function(e, t) {
945
- (function(r, n) {
946
- e.exports = n();
947
- })(W, function() {
948
- return function(r, n) {
949
- n.prototype.isSameOrBefore = function(u, s) {
950
- return this.isSame(u, s) || this.isBefore(u, s);
951
- };
952
- };
953
- });
954
- })(xt);
955
- var de = xt.exports;
956
- const me = /* @__PURE__ */ V(de);
957
- var At = { exports: {} };
958
- (function(e, t) {
959
- (function(r, n) {
960
- e.exports = n();
961
- })(W, function() {
962
- return function(r, n, u) {
963
- n.prototype.isBetween = function(s, i, a, p) {
964
- var c = u(s), w = u(i), $ = (p = p || "()")[0] === "(", y = p[1] === ")";
965
- return ($ ? this.isAfter(c, a) : !this.isBefore(c, a)) && (y ? this.isBefore(w, a) : !this.isAfter(w, a)) || ($ ? this.isBefore(c, a) : !this.isAfter(c, a)) && (y ? this.isAfter(w, a) : !this.isBefore(w, a));
966
- };
967
- };
968
- });
969
- })(At);
970
- var ge = At.exports;
971
- const ve = /* @__PURE__ */ V(ge);
972
- var zt = { exports: {} };
973
- (function(e, t) {
974
- (function(r, n) {
975
- e.exports = n();
976
- })(W, function() {
977
- var r = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
978
- return function(n, u, s) {
979
- var i = u.prototype, a = i.format;
980
- s.en.formats = r, i.format = function(p) {
981
- p === void 0 && (p = "YYYY-MM-DDTHH:mm:ssZ");
982
- var c = this.$locale().formats, w = function($, y) {
983
- return $.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(D, _, f) {
984
- var S = f && f.toUpperCase();
985
- return _ || y[f] || r[f] || y[S].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(z, j, x) {
986
- return j || x.slice(1);
987
- });
988
- });
989
- }(p, c === void 0 ? {} : c);
990
- return a.call(this, w);
991
- };
992
- };
993
- });
994
- })(zt);
995
- var ye = zt.exports;
996
- const $e = /* @__PURE__ */ V(ye);
997
- var Lt = { exports: {} };
998
- (function(e, t) {
999
- (function(r, n) {
1000
- e.exports = n();
1001
- })(W, function() {
1002
- return function(r, n, u) {
1003
- r = r || {};
1004
- var s = n.prototype, i = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
1005
- function a(c, w, $, y) {
1006
- return s.fromToBase(c, w, $, y);
1007
- }
1008
- u.en.relativeTime = i, s.fromToBase = function(c, w, $, y, D) {
1009
- for (var _, f, S, z = $.$locale().relativeTime || i, j = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], x = j.length, k = 0; k < x; k += 1) {
1010
- var O = j[k];
1011
- O.d && (_ = y ? u(c).diff($, O.d, !0) : $.diff(c, O.d, !0));
1012
- var L = (r.rounding || Math.round)(Math.abs(_));
1013
- if (S = _ > 0, L <= O.r || !O.r) {
1014
- L <= 1 && k > 0 && (O = j[k - 1]);
1015
- var F = z[O.l];
1016
- D && (L = D("" + L)), f = typeof F == "string" ? F.replace("%d", L) : F(L, w, O.l, S);
1017
- break;
1018
- }
1019
- }
1020
- if (w)
1021
- return f;
1022
- var H = S ? z.future : z.past;
1023
- return typeof H == "function" ? H(f) : H.replace("%s", f);
1024
- }, s.to = function(c, w) {
1025
- return a(c, w, this, !0);
1026
- }, s.from = function(c, w) {
1027
- return a(c, w, this);
1028
- };
1029
- var p = function(c) {
1030
- return c.$u ? u.utc() : u();
1031
- };
1032
- s.toNow = function(c) {
1033
- return this.to(p(this), c);
1034
- }, s.fromNow = function(c) {
1035
- return this.from(p(this), c);
1036
- };
1037
- };
1038
- });
1039
- })(Lt);
1040
- var Me = Lt.exports;
1041
- const Se = /* @__PURE__ */ V(Me);
1042
- var _e = { exports: {} };
1043
- (function(e, t) {
1044
- (function(r, n) {
1045
- e.exports = n(Dt);
1046
- })(W, function(r) {
1047
- function n(i) {
1048
- return i && typeof i == "object" && "default" in i ? i : { default: i };
1049
- }
1050
- var u = n(r), s = { name: "hu", weekdays: "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"), weekdaysShort: "vas_hét_kedd_sze_csüt_pén_szo".split("_"), weekdaysMin: "v_h_k_sze_cs_p_szo".split("_"), months: "január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"), monthsShort: "jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"), ordinal: function(i) {
1051
- return i + ".";
1052
- }, weekStart: 1, relativeTime: { future: "%s múlva", past: "%s", s: function(i, a, p, c) {
1053
- return "néhány másodperc" + (c || a ? "" : "e");
1054
- }, m: function(i, a, p, c) {
1055
- return "egy perc" + (c || a ? "" : "e");
1056
- }, mm: function(i, a, p, c) {
1057
- return i + " perc" + (c || a ? "" : "e");
1058
- }, h: function(i, a, p, c) {
1059
- return "egy " + (c || a ? "óra" : "órája");
1060
- }, hh: function(i, a, p, c) {
1061
- return i + " " + (c || a ? "óra" : "órája");
1062
- }, d: function(i, a, p, c) {
1063
- return "egy " + (c || a ? "nap" : "napja");
1064
- }, dd: function(i, a, p, c) {
1065
- return i + " " + (c || a ? "nap" : "napja");
1066
- }, M: function(i, a, p, c) {
1067
- return "egy " + (c || a ? "hónap" : "hónapja");
1068
- }, MM: function(i, a, p, c) {
1069
- return i + " " + (c || a ? "hónap" : "hónapja");
1070
- }, y: function(i, a, p, c) {
1071
- return "egy " + (c || a ? "év" : "éve");
1072
- }, yy: function(i, a, p, c) {
1073
- return i + " " + (c || a ? "év" : "éve");
1074
- } }, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "YYYY.MM.DD.", LL: "YYYY. MMMM D.", LLL: "YYYY. MMMM D. H:mm", LLLL: "YYYY. MMMM D., dddd H:mm" } };
1075
- return u.default.locale(s, null, !0), s;
1076
- });
1077
- })(_e);
1078
- I.extend(ce);
1079
- I.extend(le);
1080
- I.extend(pe);
1081
- I.extend(Se);
1082
- I.extend($e);
1083
- I.extend(me);
1084
- I.extend(ve);
1085
- const ze = () => I.tz.guess(), Le = (e = "", t = "", r = "", n = "hu") => (r = r || I.tz.guess(), I(e).isValid() ? I(e).tz(r).locale(n).format(t) : ""), be = (e = "", t = "", r = "hu") => {
1086
- if (!I(e).isValid())
1087
- return "";
1088
- t = t || I.tz.guess();
1089
- const u = new Intl.DateTimeFormat(we(r), {
1090
- timeZone: t,
1091
- timeZoneName: "short"
1092
- }).formatToParts(new Date(e)).find((s) => s.type === "timeZoneName");
1093
- return u && u.value;
1094
- }, we = (e) => bt.get(e), Ce = (e) => {
1095
- const t = e.split(":");
1096
- return parseInt(t[0], 10) * 60 + parseInt(t[1], 10);
1097
- }, Ie = (e) => {
1098
- const t = ~~(e / 60), r = ~~e % 60;
1099
- return [t.toString().padStart(2, "0"), r.toString().padStart(2, "0")].join(":");
1100
- }, ke = (e) => {
1101
- const t = Math.trunc(e), r = Math.round((e - t) / 10 * 60 * 10);
1102
- return [t.toString().padStart(2, "0"), r.toString().padStart(2, "0")].join(":");
1103
- }, Fe = (e, t = "day") => I().isSameOrBefore(I(e), t), He = (e, t, r) => I(e).isBetween(t, I(r)), Ne = (e, t, r = "month") => I(e).isSame(t, r), Ue = (e, t = "hu") => I(e).locale(t).toNow(!0);
1104
- export {
1105
- Qt as A,
1106
- gt as B,
1107
- yt as C,
1108
- _t as D,
1109
- dt as E,
1110
- rt as F,
1111
- vt as G,
1112
- $t as H,
1113
- je as I,
1114
- qt as J,
1115
- ue as K,
1116
- E as _,
1117
- Ie as a,
1118
- ke as b,
1119
- Ce as c,
1120
- He as d,
1121
- Ne as e,
1122
- Le as f,
1123
- ze as g,
1124
- Ae as h,
1125
- Fe as i,
1126
- Ct as j,
1127
- re as k,
1128
- Pt as l,
1129
- Ht as m,
1130
- Bt as n,
1131
- be as o,
1132
- U as p,
1133
- Ye as q,
1134
- ae as r,
1135
- se as s,
1136
- xe as t,
1137
- J as u,
1138
- Jt as v,
1139
- Te as w,
1140
- De as x,
1141
- Ue as y,
1142
- nt as z
1143
- };