prlg-ui 1.5.7 → 1.6.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.
@@ -0,0 +1,725 @@
1
+ function U(B) {
2
+ return B && B.__esModule && Object.prototype.hasOwnProperty.call(B, "default") ? B.default : B;
3
+ }
4
+ var tt = { exports: {} }, St = tt.exports, lt;
5
+ function gt() {
6
+ return lt || (lt = 1, function(B, Z) {
7
+ (function(S, f) {
8
+ B.exports = f();
9
+ })(St, function() {
10
+ var S = 1e3, f = 6e4, T = 36e5, D = "millisecond", x = "second", g = "minute", w = "hour", p = "day", d = "week", L = "month", A = "quarter", q = "year", M = "date", k = "Invalid Date", u = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, c = /\[([^\]]+)]|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, _ = { 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(s) {
11
+ var r = ["th", "st", "nd", "rd"], t = s % 100;
12
+ return "[" + s + (r[(t - 20) % 10] || r[t] || r[0]) + "]";
13
+ } }, Y = function(s, r, t) {
14
+ var o = String(s);
15
+ return !o || o.length >= r ? s : "" + Array(r + 1 - o.length).join(t) + s;
16
+ }, I = { s: Y, z: function(s) {
17
+ var r = -s.utcOffset(), t = Math.abs(r), o = Math.floor(t / 60), n = t % 60;
18
+ return (r <= 0 ? "+" : "-") + Y(o, 2, "0") + ":" + Y(n, 2, "0");
19
+ }, m: function s(r, t) {
20
+ if (r.date() < t.date()) return -s(t, r);
21
+ var o = 12 * (t.year() - r.year()) + (t.month() - r.month()), n = r.clone().add(o, L), h = t - n < 0, m = r.clone().add(o + (h ? -1 : 1), L);
22
+ return +(-(o + (t - n) / (h ? n - m : m - n)) || 0);
23
+ }, a: function(s) {
24
+ return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
25
+ }, p: function(s) {
26
+ return { M: L, y: q, w: d, d: p, D: M, h: w, m: g, s: x, ms: D, Q: A }[s] || String(s || "").toLowerCase().replace(/s$/, "");
27
+ }, u: function(s) {
28
+ return s === void 0;
29
+ } }, H = "en", l = {};
30
+ l[H] = _;
31
+ var i = "$isDayjsObject", e = function(s) {
32
+ return s instanceof O || !(!s || !s[i]);
33
+ }, v = function s(r, t, o) {
34
+ var n;
35
+ if (!r) return H;
36
+ if (typeof r == "string") {
37
+ var h = r.toLowerCase();
38
+ l[h] && (n = h), t && (l[h] = t, n = h);
39
+ var m = r.split("-");
40
+ if (!n && m.length > 1) return s(m[0]);
41
+ } else {
42
+ var y = r.name;
43
+ l[y] = r, n = y;
44
+ }
45
+ return !o && n && (H = n), n || !o && H;
46
+ }, $ = function(s, r) {
47
+ if (e(s)) return s.clone();
48
+ var t = typeof r == "object" ? r : {};
49
+ return t.date = s, t.args = arguments, new O(t);
50
+ }, a = I;
51
+ a.l = v, a.i = e, a.w = function(s, r) {
52
+ return $(s, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
53
+ };
54
+ var O = function() {
55
+ function s(t) {
56
+ this.$L = v(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[i] = !0;
57
+ }
58
+ var r = s.prototype;
59
+ return r.parse = function(t) {
60
+ this.$d = function(o) {
61
+ var n = o.date, h = o.utc;
62
+ if (n === null) return /* @__PURE__ */ new Date(NaN);
63
+ if (a.u(n)) return /* @__PURE__ */ new Date();
64
+ if (n instanceof Date) return new Date(n);
65
+ if (typeof n == "string" && !/Z$/i.test(n)) {
66
+ var m = n.match(u);
67
+ if (m) {
68
+ var y = m[2] - 1 || 0, F = (m[7] || "0").substring(0, 3);
69
+ return h ? new Date(Date.UTC(m[1], y, m[3] || 1, m[4] || 0, m[5] || 0, m[6] || 0, F)) : new Date(m[1], y, m[3] || 1, m[4] || 0, m[5] || 0, m[6] || 0, F);
70
+ }
71
+ }
72
+ return new Date(n);
73
+ }(t), this.init();
74
+ }, r.init = function() {
75
+ var t = this.$d;
76
+ this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
77
+ }, r.$utils = function() {
78
+ return a;
79
+ }, r.isValid = function() {
80
+ return this.$d.toString() !== k;
81
+ }, r.isSame = function(t, o) {
82
+ var n = $(t);
83
+ return this.startOf(o) <= n && n <= this.endOf(o);
84
+ }, r.isAfter = function(t, o) {
85
+ return $(t) < this.startOf(o);
86
+ }, r.isBefore = function(t, o) {
87
+ return this.endOf(o) < $(t);
88
+ }, r.$g = function(t, o, n) {
89
+ return a.u(t) ? this[o] : this.set(n, t);
90
+ }, r.unix = function() {
91
+ return Math.floor(this.valueOf() / 1e3);
92
+ }, r.valueOf = function() {
93
+ return this.$d.getTime();
94
+ }, r.startOf = function(t, o) {
95
+ var n = this, h = !!a.u(o) || o, m = a.p(t), y = function(R, P) {
96
+ var E = a.w(n.$u ? Date.UTC(n.$y, P, R) : new Date(n.$y, P, R), n);
97
+ return h ? E : E.endOf(p);
98
+ }, F = function(R, P) {
99
+ return a.w(n.toDate()[R].apply(n.toDate("s"), (h ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(P)), n);
100
+ }, j = this.$W, C = this.$M, z = this.$D, V = "set" + (this.$u ? "UTC" : "");
101
+ switch (m) {
102
+ case q:
103
+ return h ? y(1, 0) : y(31, 11);
104
+ case L:
105
+ return h ? y(1, C) : y(0, C + 1);
106
+ case d:
107
+ var W = this.$locale().weekStart || 0, X = (j < W ? j + 7 : j) - W;
108
+ return y(h ? z - X : z + (6 - X), C);
109
+ case p:
110
+ case M:
111
+ return F(V + "Hours", 0);
112
+ case w:
113
+ return F(V + "Minutes", 1);
114
+ case g:
115
+ return F(V + "Seconds", 2);
116
+ case x:
117
+ return F(V + "Milliseconds", 3);
118
+ default:
119
+ return this.clone();
120
+ }
121
+ }, r.endOf = function(t) {
122
+ return this.startOf(t, !1);
123
+ }, r.$set = function(t, o) {
124
+ var n, h = a.p(t), m = "set" + (this.$u ? "UTC" : ""), y = (n = {}, n[p] = m + "Date", n[M] = m + "Date", n[L] = m + "Month", n[q] = m + "FullYear", n[w] = m + "Hours", n[g] = m + "Minutes", n[x] = m + "Seconds", n[D] = m + "Milliseconds", n)[h], F = h === p ? this.$D + (o - this.$W) : o;
125
+ if (h === L || h === q) {
126
+ var j = this.clone().set(M, 1);
127
+ j.$d[y](F), j.init(), this.$d = j.set(M, Math.min(this.$D, j.daysInMonth())).$d;
128
+ } else y && this.$d[y](F);
129
+ return this.init(), this;
130
+ }, r.set = function(t, o) {
131
+ return this.clone().$set(t, o);
132
+ }, r.get = function(t) {
133
+ return this[a.p(t)]();
134
+ }, r.add = function(t, o) {
135
+ var n, h = this;
136
+ t = Number(t);
137
+ var m = a.p(o), y = function(C) {
138
+ var z = $(h);
139
+ return a.w(z.date(z.date() + Math.round(C * t)), h);
140
+ };
141
+ if (m === L) return this.set(L, this.$M + t);
142
+ if (m === q) return this.set(q, this.$y + t);
143
+ if (m === p) return y(1);
144
+ if (m === d) return y(7);
145
+ var F = (n = {}, n[g] = f, n[w] = T, n[x] = S, n)[m] || 1, j = this.$d.getTime() + t * F;
146
+ return a.w(j, this);
147
+ }, r.subtract = function(t, o) {
148
+ return this.add(-1 * t, o);
149
+ }, r.format = function(t) {
150
+ var o = this, n = this.$locale();
151
+ if (!this.isValid()) return n.invalidDate || k;
152
+ var h = t || "YYYY-MM-DDTHH:mm:ssZ", m = a.z(this), y = this.$H, F = this.$m, j = this.$M, C = n.weekdays, z = n.months, V = n.meridiem, W = function(P, E, N, Q) {
153
+ return P && (P[E] || P(o, h)) || N[E].slice(0, Q);
154
+ }, X = function(P) {
155
+ return a.s(y % 12 || 12, P, "0");
156
+ }, R = V || function(P, E, N) {
157
+ var Q = P < 12 ? "AM" : "PM";
158
+ return N ? Q.toLowerCase() : Q;
159
+ };
160
+ return h.replace(c, function(P, E) {
161
+ return E || function(N) {
162
+ switch (N) {
163
+ case "YY":
164
+ return String(o.$y).slice(-2);
165
+ case "YYYY":
166
+ return a.s(o.$y, 4, "0");
167
+ case "M":
168
+ return j + 1;
169
+ case "MM":
170
+ return a.s(j + 1, 2, "0");
171
+ case "MMM":
172
+ return W(n.monthsShort, j, z, 3);
173
+ case "MMMM":
174
+ return W(z, j);
175
+ case "D":
176
+ return o.$D;
177
+ case "DD":
178
+ return a.s(o.$D, 2, "0");
179
+ case "d":
180
+ return String(o.$W);
181
+ case "dd":
182
+ return W(n.weekdaysMin, o.$W, C, 2);
183
+ case "ddd":
184
+ return W(n.weekdaysShort, o.$W, C, 3);
185
+ case "dddd":
186
+ return C[o.$W];
187
+ case "H":
188
+ return String(y);
189
+ case "HH":
190
+ return a.s(y, 2, "0");
191
+ case "h":
192
+ return X(1);
193
+ case "hh":
194
+ return X(2);
195
+ case "a":
196
+ return R(y, F, !0);
197
+ case "A":
198
+ return R(y, F, !1);
199
+ case "m":
200
+ return String(F);
201
+ case "mm":
202
+ return a.s(F, 2, "0");
203
+ case "s":
204
+ return String(o.$s);
205
+ case "ss":
206
+ return a.s(o.$s, 2, "0");
207
+ case "SSS":
208
+ return a.s(o.$ms, 3, "0");
209
+ case "Z":
210
+ return m;
211
+ }
212
+ return null;
213
+ }(P) || m.replace(":", "");
214
+ });
215
+ }, r.utcOffset = function() {
216
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
217
+ }, r.diff = function(t, o, n) {
218
+ var h, m = this, y = a.p(o), F = $(t), j = (F.utcOffset() - this.utcOffset()) * f, C = this - F, z = function() {
219
+ return a.m(m, F);
220
+ };
221
+ switch (y) {
222
+ case q:
223
+ h = z() / 12;
224
+ break;
225
+ case L:
226
+ h = z();
227
+ break;
228
+ case A:
229
+ h = z() / 3;
230
+ break;
231
+ case d:
232
+ h = (C - j) / 6048e5;
233
+ break;
234
+ case p:
235
+ h = (C - j) / 864e5;
236
+ break;
237
+ case w:
238
+ h = C / T;
239
+ break;
240
+ case g:
241
+ h = C / f;
242
+ break;
243
+ case x:
244
+ h = C / S;
245
+ break;
246
+ default:
247
+ h = C;
248
+ }
249
+ return n ? h : a.a(h);
250
+ }, r.daysInMonth = function() {
251
+ return this.endOf(L).$D;
252
+ }, r.$locale = function() {
253
+ return l[this.$L];
254
+ }, r.locale = function(t, o) {
255
+ if (!t) return this.$L;
256
+ var n = this.clone(), h = v(t, o, !0);
257
+ return h && (n.$L = h), n;
258
+ }, r.clone = function() {
259
+ return a.w(this.$d, this);
260
+ }, r.toDate = function() {
261
+ return new Date(this.valueOf());
262
+ }, r.toJSON = function() {
263
+ return this.isValid() ? this.toISOString() : null;
264
+ }, r.toISOString = function() {
265
+ return this.$d.toISOString();
266
+ }, r.toString = function() {
267
+ return this.$d.toUTCString();
268
+ }, s;
269
+ }(), b = O.prototype;
270
+ return $.prototype = b, [["$ms", D], ["$s", x], ["$m", g], ["$H", w], ["$W", p], ["$M", L], ["$y", q], ["$D", M]].forEach(function(s) {
271
+ b[s[1]] = function(r) {
272
+ return this.$g(r, s[0], s[1]);
273
+ };
274
+ }), $.extend = function(s, r) {
275
+ return s.$i || (s(r, O, $), s.$i = !0), $;
276
+ }, $.locale = v, $.isDayjs = e, $.unix = function(s) {
277
+ return $(1e3 * s);
278
+ }, $.en = l[H], $.Ls = l, $.p = {}, $;
279
+ });
280
+ }(tt)), tt.exports;
281
+ }
282
+ var wt = gt();
283
+ const J = /* @__PURE__ */ U(wt);
284
+ var et = { exports: {} }, Lt = et.exports, $t;
285
+ function Ot() {
286
+ return $t || ($t = 1, function(B, Z) {
287
+ (function(S, f) {
288
+ B.exports = f();
289
+ })(Lt, function() {
290
+ var S = { 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" };
291
+ return function(f, T, D) {
292
+ var x = T.prototype, g = x.format;
293
+ D.en.formats = S, x.format = function(w) {
294
+ w === void 0 && (w = "YYYY-MM-DDTHH:mm:ssZ");
295
+ var p = this.$locale().formats, d = function(L, A) {
296
+ return L.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(q, M, k) {
297
+ var u = k && k.toUpperCase();
298
+ return M || A[k] || S[k] || A[u].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(c, _, Y) {
299
+ return _ || Y.slice(1);
300
+ });
301
+ });
302
+ }(w, p === void 0 ? {} : p);
303
+ return g.call(this, d);
304
+ };
305
+ };
306
+ });
307
+ }(et)), et.exports;
308
+ }
309
+ var Tt = Ot();
310
+ const bt = /* @__PURE__ */ U(Tt);
311
+ var rt = { exports: {} }, kt = rt.exports, pt;
312
+ function Ht() {
313
+ return pt || (pt = 1, function(B, Z) {
314
+ (function(S, f) {
315
+ B.exports = f();
316
+ })(kt, function() {
317
+ return function(S, f, T) {
318
+ S = S || {};
319
+ var D = f.prototype, x = { 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" };
320
+ function g(p, d, L, A) {
321
+ return D.fromToBase(p, d, L, A);
322
+ }
323
+ T.en.relativeTime = x, D.fromToBase = function(p, d, L, A, q) {
324
+ for (var M, k, u, c = L.$locale().relativeTime || x, _ = S.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" }], Y = _.length, I = 0; I < Y; I += 1) {
325
+ var H = _[I];
326
+ H.d && (M = A ? T(p).diff(L, H.d, !0) : L.diff(p, H.d, !0));
327
+ var l = (S.rounding || Math.round)(Math.abs(M));
328
+ if (u = M > 0, l <= H.r || !H.r) {
329
+ l <= 1 && I > 0 && (H = _[I - 1]);
330
+ var i = c[H.l];
331
+ q && (l = q("" + l)), k = typeof i == "string" ? i.replace("%d", l) : i(l, d, H.l, u);
332
+ break;
333
+ }
334
+ }
335
+ if (d) return k;
336
+ var e = u ? c.future : c.past;
337
+ return typeof e == "function" ? e(k) : e.replace("%s", k);
338
+ }, D.to = function(p, d) {
339
+ return g(p, d, this, !0);
340
+ }, D.from = function(p, d) {
341
+ return g(p, d, this);
342
+ };
343
+ var w = function(p) {
344
+ return p.$u ? T.utc() : T();
345
+ };
346
+ D.toNow = function(p) {
347
+ return this.to(w(this), p);
348
+ }, D.fromNow = function(p) {
349
+ return this.from(w(this), p);
350
+ };
351
+ };
352
+ });
353
+ }(rt)), rt.exports;
354
+ }
355
+ var At = Ht();
356
+ const Bt = /* @__PURE__ */ U(At);
357
+ var nt = { exports: {} }, Ft = nt.exports, Mt;
358
+ function qt() {
359
+ return Mt || (Mt = 1, function(B, Z) {
360
+ (function(S, f) {
361
+ B.exports = f();
362
+ })(Ft, function() {
363
+ return function(S, f, T) {
364
+ f.prototype.isToday = function() {
365
+ var D = "YYYY-MM-DD", x = T();
366
+ return this.format(D) === x.format(D);
367
+ };
368
+ };
369
+ });
370
+ }(nt)), nt.exports;
371
+ }
372
+ var jt = qt();
373
+ const It = /* @__PURE__ */ U(jt);
374
+ var st = { exports: {} }, Ct = st.exports, vt;
375
+ function Pt() {
376
+ return vt || (vt = 1, function(B, Z) {
377
+ (function(S, f) {
378
+ B.exports = f();
379
+ })(Ct, function() {
380
+ return function(S, f, T) {
381
+ f.prototype.isBetween = function(D, x, g, w) {
382
+ var p = T(D), d = T(x), L = (w = w || "()")[0] === "(", A = w[1] === ")";
383
+ return (L ? this.isAfter(p, g) : !this.isBefore(p, g)) && (A ? this.isBefore(d, g) : !this.isAfter(d, g)) || (L ? this.isBefore(p, g) : !this.isAfter(p, g)) && (A ? this.isAfter(d, g) : !this.isBefore(d, g));
384
+ };
385
+ };
386
+ });
387
+ }(st)), st.exports;
388
+ }
389
+ var zt = Pt();
390
+ const Et = /* @__PURE__ */ U(zt);
391
+ var it = { exports: {} }, Rt = it.exports, yt;
392
+ function Zt() {
393
+ return yt || (yt = 1, function(B, Z) {
394
+ (function(S, f) {
395
+ B.exports = f();
396
+ })(Rt, function() {
397
+ return function(S, f) {
398
+ f.prototype.isSameOrBefore = function(T, D) {
399
+ return this.isSame(T, D) || this.isBefore(T, D);
400
+ };
401
+ };
402
+ });
403
+ }(it)), it.exports;
404
+ }
405
+ var Wt = Zt();
406
+ const Nt = /* @__PURE__ */ U(Wt);
407
+ var ot = { exports: {} }, Ut = ot.exports, _t;
408
+ function Jt() {
409
+ return _t || (_t = 1, function(B, Z) {
410
+ (function(S, f) {
411
+ B.exports = f();
412
+ })(Ut, function() {
413
+ return function(S, f) {
414
+ f.prototype.isSameOrAfter = function(T, D) {
415
+ return this.isSame(T, D) || this.isAfter(T, D);
416
+ };
417
+ };
418
+ });
419
+ }(ot)), ot.exports;
420
+ }
421
+ var Vt = Jt();
422
+ const Qt = /* @__PURE__ */ U(Vt);
423
+ var at = { exports: {} }, Xt = at.exports, Dt;
424
+ function Gt() {
425
+ return Dt || (Dt = 1, function(B, Z) {
426
+ (function(S, f) {
427
+ B.exports = f();
428
+ })(Xt, function() {
429
+ var S, f, T = 1e3, D = 6e4, x = 36e5, g = 864e5, w = /\[([^\]]+)]|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, p = 31536e6, d = 2628e6, L = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, A = { years: p, months: d, days: g, hours: x, minutes: D, seconds: T, milliseconds: 1, weeks: 6048e5 }, q = function(l) {
430
+ return l instanceof I;
431
+ }, M = function(l, i, e) {
432
+ return new I(l, e, i.$l);
433
+ }, k = function(l) {
434
+ return f.p(l) + "s";
435
+ }, u = function(l) {
436
+ return l < 0;
437
+ }, c = function(l) {
438
+ return u(l) ? Math.ceil(l) : Math.floor(l);
439
+ }, _ = function(l) {
440
+ return Math.abs(l);
441
+ }, Y = function(l, i) {
442
+ return l ? u(l) ? { negative: !0, format: "" + _(l) + i } : { negative: !1, format: "" + l + i } : { negative: !1, format: "" };
443
+ }, I = function() {
444
+ function l(e, v, $) {
445
+ var a = this;
446
+ if (this.$d = {}, this.$l = $, e === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), v) return M(e * A[k(v)], this);
447
+ if (typeof e == "number") return this.$ms = e, this.parseFromMilliseconds(), this;
448
+ if (typeof e == "object") return Object.keys(e).forEach(function(s) {
449
+ a.$d[k(s)] = e[s];
450
+ }), this.calMilliseconds(), this;
451
+ if (typeof e == "string") {
452
+ var O = e.match(L);
453
+ if (O) {
454
+ var b = O.slice(2).map(function(s) {
455
+ return s != null ? Number(s) : 0;
456
+ });
457
+ return this.$d.years = b[0], this.$d.months = b[1], this.$d.weeks = b[2], this.$d.days = b[3], this.$d.hours = b[4], this.$d.minutes = b[5], this.$d.seconds = b[6], this.calMilliseconds(), this;
458
+ }
459
+ }
460
+ return this;
461
+ }
462
+ var i = l.prototype;
463
+ return i.calMilliseconds = function() {
464
+ var e = this;
465
+ this.$ms = Object.keys(this.$d).reduce(function(v, $) {
466
+ return v + (e.$d[$] || 0) * A[$];
467
+ }, 0);
468
+ }, i.parseFromMilliseconds = function() {
469
+ var e = this.$ms;
470
+ this.$d.years = c(e / p), e %= p, this.$d.months = c(e / d), e %= d, this.$d.days = c(e / g), e %= g, this.$d.hours = c(e / x), e %= x, this.$d.minutes = c(e / D), e %= D, this.$d.seconds = c(e / T), e %= T, this.$d.milliseconds = e;
471
+ }, i.toISOString = function() {
472
+ var e = Y(this.$d.years, "Y"), v = Y(this.$d.months, "M"), $ = +this.$d.days || 0;
473
+ this.$d.weeks && ($ += 7 * this.$d.weeks);
474
+ var a = Y($, "D"), O = Y(this.$d.hours, "H"), b = Y(this.$d.minutes, "M"), s = this.$d.seconds || 0;
475
+ this.$d.milliseconds && (s += this.$d.milliseconds / 1e3, s = Math.round(1e3 * s) / 1e3);
476
+ var r = Y(s, "S"), t = e.negative || v.negative || a.negative || O.negative || b.negative || r.negative, o = O.format || b.format || r.format ? "T" : "", n = (t ? "-" : "") + "P" + e.format + v.format + a.format + o + O.format + b.format + r.format;
477
+ return n === "P" || n === "-P" ? "P0D" : n;
478
+ }, i.toJSON = function() {
479
+ return this.toISOString();
480
+ }, i.format = function(e) {
481
+ var v = e || "YYYY-MM-DDTHH:mm:ss", $ = { Y: this.$d.years, YY: f.s(this.$d.years, 2, "0"), YYYY: f.s(this.$d.years, 4, "0"), M: this.$d.months, MM: f.s(this.$d.months, 2, "0"), D: this.$d.days, DD: f.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: f.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: f.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: f.s(this.$d.seconds, 2, "0"), SSS: f.s(this.$d.milliseconds, 3, "0") };
482
+ return v.replace(w, function(a, O) {
483
+ return O || String($[a]);
484
+ });
485
+ }, i.as = function(e) {
486
+ return this.$ms / A[k(e)];
487
+ }, i.get = function(e) {
488
+ var v = this.$ms, $ = k(e);
489
+ return $ === "milliseconds" ? v %= 1e3 : v = $ === "weeks" ? c(v / A[$]) : this.$d[$], v || 0;
490
+ }, i.add = function(e, v, $) {
491
+ var a;
492
+ return a = v ? e * A[k(v)] : q(e) ? e.$ms : M(e, this).$ms, M(this.$ms + a * ($ ? -1 : 1), this);
493
+ }, i.subtract = function(e, v) {
494
+ return this.add(e, v, !0);
495
+ }, i.locale = function(e) {
496
+ var v = this.clone();
497
+ return v.$l = e, v;
498
+ }, i.clone = function() {
499
+ return M(this.$ms, this);
500
+ }, i.humanize = function(e) {
501
+ return S().add(this.$ms, "ms").locale(this.$l).fromNow(!e);
502
+ }, i.valueOf = function() {
503
+ return this.asMilliseconds();
504
+ }, i.milliseconds = function() {
505
+ return this.get("milliseconds");
506
+ }, i.asMilliseconds = function() {
507
+ return this.as("milliseconds");
508
+ }, i.seconds = function() {
509
+ return this.get("seconds");
510
+ }, i.asSeconds = function() {
511
+ return this.as("seconds");
512
+ }, i.minutes = function() {
513
+ return this.get("minutes");
514
+ }, i.asMinutes = function() {
515
+ return this.as("minutes");
516
+ }, i.hours = function() {
517
+ return this.get("hours");
518
+ }, i.asHours = function() {
519
+ return this.as("hours");
520
+ }, i.days = function() {
521
+ return this.get("days");
522
+ }, i.asDays = function() {
523
+ return this.as("days");
524
+ }, i.weeks = function() {
525
+ return this.get("weeks");
526
+ }, i.asWeeks = function() {
527
+ return this.as("weeks");
528
+ }, i.months = function() {
529
+ return this.get("months");
530
+ }, i.asMonths = function() {
531
+ return this.as("months");
532
+ }, i.years = function() {
533
+ return this.get("years");
534
+ }, i.asYears = function() {
535
+ return this.as("years");
536
+ }, l;
537
+ }(), H = function(l, i, e) {
538
+ return l.add(i.years() * e, "y").add(i.months() * e, "M").add(i.days() * e, "d").add(i.hours() * e, "h").add(i.minutes() * e, "m").add(i.seconds() * e, "s").add(i.milliseconds() * e, "ms");
539
+ };
540
+ return function(l, i, e) {
541
+ S = e, f = e().$utils(), e.duration = function(a, O) {
542
+ var b = e.locale();
543
+ return M(a, { $l: b }, O);
544
+ }, e.isDuration = q;
545
+ var v = i.prototype.add, $ = i.prototype.subtract;
546
+ i.prototype.add = function(a, O) {
547
+ return q(a) ? H(this, a, 1) : v.bind(this)(a, O);
548
+ }, i.prototype.subtract = function(a, O) {
549
+ return q(a) ? H(this, a, -1) : $.bind(this)(a, O);
550
+ };
551
+ };
552
+ });
553
+ }(at)), at.exports;
554
+ }
555
+ var Kt = Gt();
556
+ const te = /* @__PURE__ */ U(Kt);
557
+ var ut = { exports: {} }, ee = ut.exports, Yt;
558
+ function re() {
559
+ return Yt || (Yt = 1, function(B, Z) {
560
+ (function(S, f) {
561
+ B.exports = f();
562
+ })(ee, function() {
563
+ var S = { 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" }, f = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, T = /\d/, D = /\d\d/, x = /\d\d?/, g = /\d*[^-_:/,()\s\d]+/, w = {}, p = function(u) {
564
+ return (u = +u) + (u > 68 ? 1900 : 2e3);
565
+ }, d = function(u) {
566
+ return function(c) {
567
+ this[u] = +c;
568
+ };
569
+ }, L = [/[+-]\d\d:?(\d\d)?|Z/, function(u) {
570
+ (this.zone || (this.zone = {})).offset = function(c) {
571
+ if (!c || c === "Z") return 0;
572
+ var _ = c.match(/([+-]|\d\d)/g), Y = 60 * _[1] + (+_[2] || 0);
573
+ return Y === 0 ? 0 : _[0] === "+" ? -Y : Y;
574
+ }(u);
575
+ }], A = function(u) {
576
+ var c = w[u];
577
+ return c && (c.indexOf ? c : c.s.concat(c.f));
578
+ }, q = function(u, c) {
579
+ var _, Y = w.meridiem;
580
+ if (Y) {
581
+ for (var I = 1; I <= 24; I += 1) if (u.indexOf(Y(I, 0, c)) > -1) {
582
+ _ = I > 12;
583
+ break;
584
+ }
585
+ } else _ = u === (c ? "pm" : "PM");
586
+ return _;
587
+ }, M = { A: [g, function(u) {
588
+ this.afternoon = q(u, !1);
589
+ }], a: [g, function(u) {
590
+ this.afternoon = q(u, !0);
591
+ }], Q: [T, function(u) {
592
+ this.month = 3 * (u - 1) + 1;
593
+ }], S: [T, function(u) {
594
+ this.milliseconds = 100 * +u;
595
+ }], SS: [D, function(u) {
596
+ this.milliseconds = 10 * +u;
597
+ }], SSS: [/\d{3}/, function(u) {
598
+ this.milliseconds = +u;
599
+ }], s: [x, d("seconds")], ss: [x, d("seconds")], m: [x, d("minutes")], mm: [x, d("minutes")], H: [x, d("hours")], h: [x, d("hours")], HH: [x, d("hours")], hh: [x, d("hours")], D: [x, d("day")], DD: [D, d("day")], Do: [g, function(u) {
600
+ var c = w.ordinal, _ = u.match(/\d+/);
601
+ if (this.day = _[0], c) for (var Y = 1; Y <= 31; Y += 1) c(Y).replace(/\[|\]/g, "") === u && (this.day = Y);
602
+ }], w: [x, d("week")], ww: [D, d("week")], M: [x, d("month")], MM: [D, d("month")], MMM: [g, function(u) {
603
+ var c = A("months"), _ = (A("monthsShort") || c.map(function(Y) {
604
+ return Y.slice(0, 3);
605
+ })).indexOf(u) + 1;
606
+ if (_ < 1) throw new Error();
607
+ this.month = _ % 12 || _;
608
+ }], MMMM: [g, function(u) {
609
+ var c = A("months").indexOf(u) + 1;
610
+ if (c < 1) throw new Error();
611
+ this.month = c % 12 || c;
612
+ }], Y: [/[+-]?\d+/, d("year")], YY: [D, function(u) {
613
+ this.year = p(u);
614
+ }], YYYY: [/\d{4}/, d("year")], Z: L, ZZ: L };
615
+ function k(u) {
616
+ var c, _;
617
+ c = u, _ = w && w.formats;
618
+ for (var Y = (u = c.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function($, a, O) {
619
+ var b = O && O.toUpperCase();
620
+ return a || _[O] || S[O] || _[b].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(s, r, t) {
621
+ return r || t.slice(1);
622
+ });
623
+ })).match(f), I = Y.length, H = 0; H < I; H += 1) {
624
+ var l = Y[H], i = M[l], e = i && i[0], v = i && i[1];
625
+ Y[H] = v ? { regex: e, parser: v } : l.replace(/^\[|\]$/g, "");
626
+ }
627
+ return function($) {
628
+ for (var a = {}, O = 0, b = 0; O < I; O += 1) {
629
+ var s = Y[O];
630
+ if (typeof s == "string") b += s.length;
631
+ else {
632
+ var r = s.regex, t = s.parser, o = $.slice(b), n = r.exec(o)[0];
633
+ t.call(a, n), $ = $.replace(n, "");
634
+ }
635
+ }
636
+ return function(h) {
637
+ var m = h.afternoon;
638
+ if (m !== void 0) {
639
+ var y = h.hours;
640
+ m ? y < 12 && (h.hours += 12) : y === 12 && (h.hours = 0), delete h.afternoon;
641
+ }
642
+ }(a), a;
643
+ };
644
+ }
645
+ return function(u, c, _) {
646
+ _.p.customParseFormat = !0, u && u.parseTwoDigitYear && (p = u.parseTwoDigitYear);
647
+ var Y = c.prototype, I = Y.parse;
648
+ Y.parse = function(H) {
649
+ var l = H.date, i = H.utc, e = H.args;
650
+ this.$u = i;
651
+ var v = e[1];
652
+ if (typeof v == "string") {
653
+ var $ = e[2] === !0, a = e[3] === !0, O = $ || a, b = e[2];
654
+ a && (b = e[2]), w = this.$locale(), !$ && b && (w = _.Ls[b]), this.$d = function(o, n, h, m) {
655
+ try {
656
+ if (["x", "X"].indexOf(n) > -1) return new Date((n === "X" ? 1e3 : 1) * o);
657
+ var y = k(n)(o), F = y.year, j = y.month, C = y.day, z = y.hours, V = y.minutes, W = y.seconds, X = y.milliseconds, R = y.zone, P = y.week, E = /* @__PURE__ */ new Date(), N = C || (F || j ? 1 : E.getDate()), Q = F || E.getFullYear(), G = 0;
658
+ F && !j || (G = j > 0 ? j - 1 : E.getMonth());
659
+ var K, ft = z || 0, ht = V || 0, dt = W || 0, mt = X || 0;
660
+ return R ? new Date(Date.UTC(Q, G, N, ft, ht, dt, mt + 60 * R.offset * 1e3)) : h ? new Date(Date.UTC(Q, G, N, ft, ht, dt, mt)) : (K = new Date(Q, G, N, ft, ht, dt, mt), P && (K = m(K).week(P).toDate()), K);
661
+ } catch {
662
+ return /* @__PURE__ */ new Date("");
663
+ }
664
+ }(l, v, i, _), this.init(), b && b !== !0 && (this.$L = this.locale(b).$L), O && l != this.format(v) && (this.$d = /* @__PURE__ */ new Date("")), w = {};
665
+ } else if (v instanceof Array) for (var s = v.length, r = 1; r <= s; r += 1) {
666
+ e[1] = v[r - 1];
667
+ var t = _.apply(this, e);
668
+ if (t.isValid()) {
669
+ this.$d = t.$d, this.$L = t.$L, this.init();
670
+ break;
671
+ }
672
+ r === s && (this.$d = /* @__PURE__ */ new Date(""));
673
+ }
674
+ else I.call(this, H);
675
+ };
676
+ };
677
+ });
678
+ }(ut)), ut.exports;
679
+ }
680
+ var ne = re();
681
+ const se = /* @__PURE__ */ U(ne);
682
+ var ct = { exports: {} }, ie = ct.exports, xt;
683
+ function oe() {
684
+ return xt || (xt = 1, function(B, Z) {
685
+ (function(S, f) {
686
+ B.exports = f(gt());
687
+ })(ie, function(S) {
688
+ function f(M) {
689
+ return M && typeof M == "object" && "default" in M ? M : { default: M };
690
+ }
691
+ var T = f(S), D = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), x = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), g = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), w = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), p = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
692
+ function d(M, k, u) {
693
+ var c, _;
694
+ return u === "m" ? k ? "минута" : "минуту" : M + " " + (c = +M, _ = { mm: k ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[u].split("_"), c % 10 == 1 && c % 100 != 11 ? _[0] : c % 10 >= 2 && c % 10 <= 4 && (c % 100 < 10 || c % 100 >= 20) ? _[1] : _[2]);
695
+ }
696
+ var L = function(M, k) {
697
+ return p.test(k) ? D[M.month()] : x[M.month()];
698
+ };
699
+ L.s = x, L.f = D;
700
+ var A = function(M, k) {
701
+ return p.test(k) ? g[M.month()] : w[M.month()];
702
+ };
703
+ A.s = w, A.f = g;
704
+ var q = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months: L, monthsShort: A, weekStart: 1, yearStart: 4, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY г.", LLL: "D MMMM YYYY г., H:mm", LLLL: "dddd, D MMMM YYYY г., H:mm" }, relativeTime: { future: "через %s", past: "%s назад", s: "несколько секунд", m: d, mm: d, h: "час", hh: d, d: "день", dd: d, M: "месяц", MM: d, y: "год", yy: d }, ordinal: function(M) {
705
+ return M;
706
+ }, meridiem: function(M) {
707
+ return M < 4 ? "ночи" : M < 12 ? "утра" : M < 17 ? "дня" : "вечера";
708
+ } };
709
+ return T.default.locale(q, null, !0), q;
710
+ });
711
+ }(ct)), ct.exports;
712
+ }
713
+ oe();
714
+ J.extend(bt);
715
+ J.extend(Bt);
716
+ J.extend(It);
717
+ J.extend(Et);
718
+ J.extend(Nt);
719
+ J.extend(Qt);
720
+ J.extend(te);
721
+ J.extend(se);
722
+ J.locale("ru");
723
+ export {
724
+ J as d
725
+ };