@everymatrix/casino-header-controller 1.65.1 → 1.65.2

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.
Files changed (38) hide show
  1. package/components/{CasinoHeaderController-DNNqI5-z.cjs → CasinoHeaderController-B0lLuqqY.cjs} +1 -1
  2. package/components/{CasinoHeaderController-Bqi_UEZi.js → CasinoHeaderController-CGZStHGm.js} +1 -1
  3. package/components/{CasinoHeaderController-CvgFMlA6.js → CasinoHeaderController-Cspimubt.js} +1 -1
  4. package/es2015/casino-header-controller.cjs +1 -1
  5. package/es2015/casino-header-controller.js +1 -1
  6. package/esnext/casino-header-controller.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/{gamification-dropdown-8eb8a896-Dpy7kYRl.js → gamification-dropdown-8eb8a896-Bcdjx9jM.js} +1 -1
  9. package/stencil/{gamification-dropdown-8eb8a896-wUq7QkNM.cjs → gamification-dropdown-8eb8a896-CJqychmF.cjs} +1 -1
  10. package/stencil/{gamification-dropdown-8eb8a896-B80HjrXs.js → gamification-dropdown-8eb8a896-zfRPKKB2.js} +1 -1
  11. package/stencil/{gamification-dropdown-BKLERBkj.js → gamification-dropdown-Dv6JCzCW.js} +1 -1
  12. package/stencil/{gamification-dropdown-DoTceze_.cjs → gamification-dropdown-DztjiKq7.cjs} +1 -1
  13. package/stencil/{gamification-dropdown-Ctny0vqq.js → gamification-dropdown-TiS6_s4J.js} +1 -1
  14. package/stencil/{gamification-dropdown_4-CcWOoutw.js → gamification-dropdown_4-BUCLkjbf.js} +58 -55
  15. package/stencil/{gamification-dropdown_4-CmDM3hBS.js → gamification-dropdown_4-SROB8ZNq.js} +59 -56
  16. package/stencil/gamification-dropdown_4-_zijAT3T.cjs +192 -0
  17. package/stencil/{index-71b1bdfa-BeszNvNP.cjs → index-71b1bdfa-CSjh2jcj.cjs} +1 -1
  18. package/stencil/{index-71b1bdfa-DBUT8z-D.js → index-71b1bdfa-DL3YG9Ud.js} +4 -4
  19. package/stencil/{index-71b1bdfa-BWeAgaw2.js → index-71b1bdfa-DdHPuS3A.js} +4 -4
  20. package/stencil/locale-B_6Rn5-v.cjs +1 -0
  21. package/stencil/{locale-DuSXBQwH.js → locale-TxlOHoKi.js} +11 -5
  22. package/stencil/{player-elevate-card-DqZR4w--.js → player-elevate-card-CRl63tuY.js} +3 -3
  23. package/stencil/{player-elevate-card-B70rn287.js → player-elevate-card-DX8jjll6.js} +3 -3
  24. package/stencil/{player-elevate-card-W6LcGGe8.cjs → player-elevate-card-DtTKg95m.cjs} +1 -1
  25. package/stencil/player-elevate-card-items-5071deed-A_RG9TpE.cjs +102 -0
  26. package/stencil/player-elevate-card-items-5071deed-Ce0Sstbi.js +1391 -0
  27. package/stencil/player-elevate-card-items-5071deed-DG6rUxm1.js +1391 -0
  28. package/stencil/{player-elevate-pointcard-DREgIjCm.js → player-elevate-pointcard-Bcq1MXZc.js} +3 -3
  29. package/stencil/{player-elevate-pointcard-DwDhlXwq.cjs → player-elevate-pointcard-CEXHhV9c.cjs} +1 -1
  30. package/stencil/{player-elevate-pointcard-CBapQeNI.js → player-elevate-pointcard-hzoziusU.js} +3 -3
  31. package/stencil/{player-rakeback-card-B0P7gHIA.cjs → player-rakeback-card-BwjstuRr.cjs} +1 -1
  32. package/stencil/{player-rakeback-card-tP823Fs8.js → player-rakeback-card-DYjFUdkd.js} +2 -2
  33. package/stencil/{player-rakeback-card-z_ugBu0q.js → player-rakeback-card-Dtat6ZLL.js} +2 -2
  34. package/stencil/gamification-dropdown_4-B2a2BjCo.cjs +0 -192
  35. package/stencil/locale-DHn5ZpQu.cjs +0 -1
  36. package/stencil/player-elevate-card-items-66be34fb-D7zHppoa.js +0 -1290
  37. package/stencil/player-elevate-card-items-66be34fb-DBIZuvGZ.cjs +0 -1
  38. package/stencil/player-elevate-card-items-66be34fb-aPLlnN0e.js +0 -1290
@@ -0,0 +1,1391 @@
1
+ import { h as d, a as X } from "./index-71b1bdfa-DL3YG9Ud.js";
2
+ import { a as E } from "./locale-TxlOHoKi.js";
3
+ function Y(r) {
4
+ "@babel/helpers - typeof";
5
+ return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
6
+ return typeof e;
7
+ } : function(e) {
8
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
9
+ }, Y(r);
10
+ }
11
+ function M(r) {
12
+ if (r === null || r === !0 || r === !1)
13
+ return NaN;
14
+ var e = Number(r);
15
+ return isNaN(e) ? e : e < 0 ? Math.ceil(e) : Math.floor(e);
16
+ }
17
+ function v(r, e) {
18
+ if (e.length < r)
19
+ throw new TypeError(r + " argument" + (r > 1 ? "s" : "") + " required, but only " + e.length + " present");
20
+ }
21
+ function p(r) {
22
+ v(1, arguments);
23
+ var e = Object.prototype.toString.call(r);
24
+ return r instanceof Date || Y(r) === "object" && e === "[object Date]" ? new Date(r.getTime()) : typeof r == "number" || e === "[object Number]" ? new Date(r) : ((typeof r == "string" || e === "[object String]") && typeof console != "undefined" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
25
+ }
26
+ function ee(r, e) {
27
+ v(2, arguments);
28
+ var t = p(r).getTime(), a = M(e);
29
+ return new Date(t + a);
30
+ }
31
+ var te = {};
32
+ function N() {
33
+ return te;
34
+ }
35
+ function re(r) {
36
+ var e = new Date(Date.UTC(r.getFullYear(), r.getMonth(), r.getDate(), r.getHours(), r.getMinutes(), r.getSeconds(), r.getMilliseconds()));
37
+ return e.setUTCFullYear(r.getFullYear()), r.getTime() - e.getTime();
38
+ }
39
+ function ae(r) {
40
+ return v(1, arguments), r instanceof Date || Y(r) === "object" && Object.prototype.toString.call(r) === "[object Date]";
41
+ }
42
+ function ne(r) {
43
+ if (v(1, arguments), !ae(r) && typeof r != "number")
44
+ return !1;
45
+ var e = p(r);
46
+ return !isNaN(Number(e));
47
+ }
48
+ function ie(r, e) {
49
+ v(2, arguments);
50
+ var t = M(e);
51
+ return ee(r, -t);
52
+ }
53
+ var oe = 864e5;
54
+ function se(r) {
55
+ v(1, arguments);
56
+ var e = p(r), t = e.getTime();
57
+ e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
58
+ var a = e.getTime(), n = t - a;
59
+ return Math.floor(n / oe) + 1;
60
+ }
61
+ function B(r) {
62
+ v(1, arguments);
63
+ var e = 1, t = p(r), a = t.getUTCDay(), n = (a < e ? 7 : 0) + a - e;
64
+ return t.setUTCDate(t.getUTCDate() - n), t.setUTCHours(0, 0, 0, 0), t;
65
+ }
66
+ function Q(r) {
67
+ v(1, arguments);
68
+ var e = p(r), t = e.getUTCFullYear(), a = /* @__PURE__ */ new Date(0);
69
+ a.setUTCFullYear(t + 1, 0, 4), a.setUTCHours(0, 0, 0, 0);
70
+ var n = B(a), i = /* @__PURE__ */ new Date(0);
71
+ i.setUTCFullYear(t, 0, 4), i.setUTCHours(0, 0, 0, 0);
72
+ var o = B(i);
73
+ return e.getTime() >= n.getTime() ? t + 1 : e.getTime() >= o.getTime() ? t : t - 1;
74
+ }
75
+ function ue(r) {
76
+ v(1, arguments);
77
+ var e = Q(r), t = /* @__PURE__ */ new Date(0);
78
+ t.setUTCFullYear(e, 0, 4), t.setUTCHours(0, 0, 0, 0);
79
+ var a = B(t);
80
+ return a;
81
+ }
82
+ var le = 6048e5;
83
+ function de(r) {
84
+ v(1, arguments);
85
+ var e = p(r), t = B(e).getTime() - ue(e).getTime();
86
+ return Math.round(t / le) + 1;
87
+ }
88
+ function F(r, e) {
89
+ var t, a, n, i, o, u, c, l;
90
+ v(1, arguments);
91
+ var h = N(), f = M((t = (a = (n = (i = e == null ? void 0 : e.weekStartsOn) !== null && i !== void 0 ? i : e == null || (o = e.locale) === null || o === void 0 || (u = o.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && n !== void 0 ? n : h.weekStartsOn) !== null && a !== void 0 ? a : (c = h.locale) === null || c === void 0 || (l = c.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && t !== void 0 ? t : 0);
92
+ if (!(f >= 0 && f <= 6))
93
+ throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
94
+ var g = p(r), m = g.getUTCDay(), y = (m < f ? 7 : 0) + m - f;
95
+ return g.setUTCDate(g.getUTCDate() - y), g.setUTCHours(0, 0, 0, 0), g;
96
+ }
97
+ function V(r, e) {
98
+ var t, a, n, i, o, u, c, l;
99
+ v(1, arguments);
100
+ var h = p(r), f = h.getUTCFullYear(), g = N(), m = M((t = (a = (n = (i = e == null ? void 0 : e.firstWeekContainsDate) !== null && i !== void 0 ? i : e == null || (o = e.locale) === null || o === void 0 || (u = o.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && n !== void 0 ? n : g.firstWeekContainsDate) !== null && a !== void 0 ? a : (c = g.locale) === null || c === void 0 || (l = c.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
101
+ if (!(m >= 1 && m <= 7))
102
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
103
+ var y = /* @__PURE__ */ new Date(0);
104
+ y.setUTCFullYear(f + 1, 0, m), y.setUTCHours(0, 0, 0, 0);
105
+ var O = F(y, e), x = /* @__PURE__ */ new Date(0);
106
+ x.setUTCFullYear(f, 0, m), x.setUTCHours(0, 0, 0, 0);
107
+ var L = F(x, e);
108
+ return h.getTime() >= O.getTime() ? f + 1 : h.getTime() >= L.getTime() ? f : f - 1;
109
+ }
110
+ function ce(r, e) {
111
+ var t, a, n, i, o, u, c, l;
112
+ v(1, arguments);
113
+ var h = N(), f = M((t = (a = (n = (i = e == null ? void 0 : e.firstWeekContainsDate) !== null && i !== void 0 ? i : e == null || (o = e.locale) === null || o === void 0 || (u = o.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && n !== void 0 ? n : h.firstWeekContainsDate) !== null && a !== void 0 ? a : (c = h.locale) === null || c === void 0 || (l = c.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), g = V(r, e), m = /* @__PURE__ */ new Date(0);
114
+ m.setUTCFullYear(g, 0, f), m.setUTCHours(0, 0, 0, 0);
115
+ var y = F(m, e);
116
+ return y;
117
+ }
118
+ var fe = 6048e5;
119
+ function he(r, e) {
120
+ v(1, arguments);
121
+ var t = p(r), a = F(t, e).getTime() - ce(t, e).getTime();
122
+ return Math.round(a / fe) + 1;
123
+ }
124
+ function s(r, e) {
125
+ for (var t = r < 0 ? "-" : "", a = Math.abs(r).toString(); a.length < e; )
126
+ a = "0" + a;
127
+ return t + a;
128
+ }
129
+ var me = {
130
+ // Year
131
+ y: function(e, t) {
132
+ var a = e.getUTCFullYear(), n = a > 0 ? a : 1 - a;
133
+ return s(t === "yy" ? n % 100 : n, t.length);
134
+ },
135
+ // Month
136
+ M: function(e, t) {
137
+ var a = e.getUTCMonth();
138
+ return t === "M" ? String(a + 1) : s(a + 1, 2);
139
+ },
140
+ // Day of the month
141
+ d: function(e, t) {
142
+ return s(e.getUTCDate(), t.length);
143
+ },
144
+ // AM or PM
145
+ a: function(e, t) {
146
+ var a = e.getUTCHours() / 12 >= 1 ? "pm" : "am";
147
+ switch (t) {
148
+ case "a":
149
+ case "aa":
150
+ return a.toUpperCase();
151
+ case "aaa":
152
+ return a;
153
+ case "aaaaa":
154
+ return a[0];
155
+ case "aaaa":
156
+ default:
157
+ return a === "am" ? "a.m." : "p.m.";
158
+ }
159
+ },
160
+ // Hour [1-12]
161
+ h: function(e, t) {
162
+ return s(e.getUTCHours() % 12 || 12, t.length);
163
+ },
164
+ // Hour [0-23]
165
+ H: function(e, t) {
166
+ return s(e.getUTCHours(), t.length);
167
+ },
168
+ // Minute
169
+ m: function(e, t) {
170
+ return s(e.getUTCMinutes(), t.length);
171
+ },
172
+ // Second
173
+ s: function(e, t) {
174
+ return s(e.getUTCSeconds(), t.length);
175
+ },
176
+ // Fraction of second
177
+ S: function(e, t) {
178
+ var a = t.length, n = e.getUTCMilliseconds(), i = Math.floor(n * Math.pow(10, a - 3));
179
+ return s(i, t.length);
180
+ }
181
+ };
182
+ const C = me;
183
+ var _ = {
184
+ midnight: "midnight",
185
+ noon: "noon",
186
+ morning: "morning",
187
+ afternoon: "afternoon",
188
+ evening: "evening",
189
+ night: "night"
190
+ }, ve = {
191
+ // Era
192
+ G: function(e, t, a) {
193
+ var n = e.getUTCFullYear() > 0 ? 1 : 0;
194
+ switch (t) {
195
+ case "G":
196
+ case "GG":
197
+ case "GGG":
198
+ return a.era(n, {
199
+ width: "abbreviated"
200
+ });
201
+ case "GGGGG":
202
+ return a.era(n, {
203
+ width: "narrow"
204
+ });
205
+ case "GGGG":
206
+ default:
207
+ return a.era(n, {
208
+ width: "wide"
209
+ });
210
+ }
211
+ },
212
+ // Year
213
+ y: function(e, t, a) {
214
+ if (t === "yo") {
215
+ var n = e.getUTCFullYear(), i = n > 0 ? n : 1 - n;
216
+ return a.ordinalNumber(i, {
217
+ unit: "year"
218
+ });
219
+ }
220
+ return C.y(e, t);
221
+ },
222
+ // Local week-numbering year
223
+ Y: function(e, t, a, n) {
224
+ var i = V(e, n), o = i > 0 ? i : 1 - i;
225
+ if (t === "YY") {
226
+ var u = o % 100;
227
+ return s(u, 2);
228
+ }
229
+ return t === "Yo" ? a.ordinalNumber(o, {
230
+ unit: "year"
231
+ }) : s(o, t.length);
232
+ },
233
+ // ISO week-numbering year
234
+ R: function(e, t) {
235
+ var a = Q(e);
236
+ return s(a, t.length);
237
+ },
238
+ // Extended year. This is a single number designating the year of this calendar system.
239
+ // The main difference between `y` and `u` localizers are B.C. years:
240
+ // | Year | `y` | `u` |
241
+ // |------|-----|-----|
242
+ // | AC 1 | 1 | 1 |
243
+ // | BC 1 | 1 | 0 |
244
+ // | BC 2 | 2 | -1 |
245
+ // Also `yy` always returns the last two digits of a year,
246
+ // while `uu` pads single digit years to 2 characters and returns other years unchanged.
247
+ u: function(e, t) {
248
+ var a = e.getUTCFullYear();
249
+ return s(a, t.length);
250
+ },
251
+ // Quarter
252
+ Q: function(e, t, a) {
253
+ var n = Math.ceil((e.getUTCMonth() + 1) / 3);
254
+ switch (t) {
255
+ case "Q":
256
+ return String(n);
257
+ case "QQ":
258
+ return s(n, 2);
259
+ case "Qo":
260
+ return a.ordinalNumber(n, {
261
+ unit: "quarter"
262
+ });
263
+ case "QQQ":
264
+ return a.quarter(n, {
265
+ width: "abbreviated",
266
+ context: "formatting"
267
+ });
268
+ case "QQQQQ":
269
+ return a.quarter(n, {
270
+ width: "narrow",
271
+ context: "formatting"
272
+ });
273
+ case "QQQQ":
274
+ default:
275
+ return a.quarter(n, {
276
+ width: "wide",
277
+ context: "formatting"
278
+ });
279
+ }
280
+ },
281
+ // Stand-alone quarter
282
+ q: function(e, t, a) {
283
+ var n = Math.ceil((e.getUTCMonth() + 1) / 3);
284
+ switch (t) {
285
+ case "q":
286
+ return String(n);
287
+ case "qq":
288
+ return s(n, 2);
289
+ case "qo":
290
+ return a.ordinalNumber(n, {
291
+ unit: "quarter"
292
+ });
293
+ case "qqq":
294
+ return a.quarter(n, {
295
+ width: "abbreviated",
296
+ context: "standalone"
297
+ });
298
+ case "qqqqq":
299
+ return a.quarter(n, {
300
+ width: "narrow",
301
+ context: "standalone"
302
+ });
303
+ case "qqqq":
304
+ default:
305
+ return a.quarter(n, {
306
+ width: "wide",
307
+ context: "standalone"
308
+ });
309
+ }
310
+ },
311
+ // Month
312
+ M: function(e, t, a) {
313
+ var n = e.getUTCMonth();
314
+ switch (t) {
315
+ case "M":
316
+ case "MM":
317
+ return C.M(e, t);
318
+ case "Mo":
319
+ return a.ordinalNumber(n + 1, {
320
+ unit: "month"
321
+ });
322
+ case "MMM":
323
+ return a.month(n, {
324
+ width: "abbreviated",
325
+ context: "formatting"
326
+ });
327
+ case "MMMMM":
328
+ return a.month(n, {
329
+ width: "narrow",
330
+ context: "formatting"
331
+ });
332
+ case "MMMM":
333
+ default:
334
+ return a.month(n, {
335
+ width: "wide",
336
+ context: "formatting"
337
+ });
338
+ }
339
+ },
340
+ // Stand-alone month
341
+ L: function(e, t, a) {
342
+ var n = e.getUTCMonth();
343
+ switch (t) {
344
+ case "L":
345
+ return String(n + 1);
346
+ case "LL":
347
+ return s(n + 1, 2);
348
+ case "Lo":
349
+ return a.ordinalNumber(n + 1, {
350
+ unit: "month"
351
+ });
352
+ case "LLL":
353
+ return a.month(n, {
354
+ width: "abbreviated",
355
+ context: "standalone"
356
+ });
357
+ case "LLLLL":
358
+ return a.month(n, {
359
+ width: "narrow",
360
+ context: "standalone"
361
+ });
362
+ case "LLLL":
363
+ default:
364
+ return a.month(n, {
365
+ width: "wide",
366
+ context: "standalone"
367
+ });
368
+ }
369
+ },
370
+ // Local week of year
371
+ w: function(e, t, a, n) {
372
+ var i = he(e, n);
373
+ return t === "wo" ? a.ordinalNumber(i, {
374
+ unit: "week"
375
+ }) : s(i, t.length);
376
+ },
377
+ // ISO week of year
378
+ I: function(e, t, a) {
379
+ var n = de(e);
380
+ return t === "Io" ? a.ordinalNumber(n, {
381
+ unit: "week"
382
+ }) : s(n, t.length);
383
+ },
384
+ // Day of the month
385
+ d: function(e, t, a) {
386
+ return t === "do" ? a.ordinalNumber(e.getUTCDate(), {
387
+ unit: "date"
388
+ }) : C.d(e, t);
389
+ },
390
+ // Day of year
391
+ D: function(e, t, a) {
392
+ var n = se(e);
393
+ return t === "Do" ? a.ordinalNumber(n, {
394
+ unit: "dayOfYear"
395
+ }) : s(n, t.length);
396
+ },
397
+ // Day of week
398
+ E: function(e, t, a) {
399
+ var n = e.getUTCDay();
400
+ switch (t) {
401
+ case "E":
402
+ case "EE":
403
+ case "EEE":
404
+ return a.day(n, {
405
+ width: "abbreviated",
406
+ context: "formatting"
407
+ });
408
+ case "EEEEE":
409
+ return a.day(n, {
410
+ width: "narrow",
411
+ context: "formatting"
412
+ });
413
+ case "EEEEEE":
414
+ return a.day(n, {
415
+ width: "short",
416
+ context: "formatting"
417
+ });
418
+ case "EEEE":
419
+ default:
420
+ return a.day(n, {
421
+ width: "wide",
422
+ context: "formatting"
423
+ });
424
+ }
425
+ },
426
+ // Local day of week
427
+ e: function(e, t, a, n) {
428
+ var i = e.getUTCDay(), o = (i - n.weekStartsOn + 8) % 7 || 7;
429
+ switch (t) {
430
+ case "e":
431
+ return String(o);
432
+ case "ee":
433
+ return s(o, 2);
434
+ case "eo":
435
+ return a.ordinalNumber(o, {
436
+ unit: "day"
437
+ });
438
+ case "eee":
439
+ return a.day(i, {
440
+ width: "abbreviated",
441
+ context: "formatting"
442
+ });
443
+ case "eeeee":
444
+ return a.day(i, {
445
+ width: "narrow",
446
+ context: "formatting"
447
+ });
448
+ case "eeeeee":
449
+ return a.day(i, {
450
+ width: "short",
451
+ context: "formatting"
452
+ });
453
+ case "eeee":
454
+ default:
455
+ return a.day(i, {
456
+ width: "wide",
457
+ context: "formatting"
458
+ });
459
+ }
460
+ },
461
+ // Stand-alone local day of week
462
+ c: function(e, t, a, n) {
463
+ var i = e.getUTCDay(), o = (i - n.weekStartsOn + 8) % 7 || 7;
464
+ switch (t) {
465
+ case "c":
466
+ return String(o);
467
+ case "cc":
468
+ return s(o, t.length);
469
+ case "co":
470
+ return a.ordinalNumber(o, {
471
+ unit: "day"
472
+ });
473
+ case "ccc":
474
+ return a.day(i, {
475
+ width: "abbreviated",
476
+ context: "standalone"
477
+ });
478
+ case "ccccc":
479
+ return a.day(i, {
480
+ width: "narrow",
481
+ context: "standalone"
482
+ });
483
+ case "cccccc":
484
+ return a.day(i, {
485
+ width: "short",
486
+ context: "standalone"
487
+ });
488
+ case "cccc":
489
+ default:
490
+ return a.day(i, {
491
+ width: "wide",
492
+ context: "standalone"
493
+ });
494
+ }
495
+ },
496
+ // ISO day of week
497
+ i: function(e, t, a) {
498
+ var n = e.getUTCDay(), i = n === 0 ? 7 : n;
499
+ switch (t) {
500
+ case "i":
501
+ return String(i);
502
+ case "ii":
503
+ return s(i, t.length);
504
+ case "io":
505
+ return a.ordinalNumber(i, {
506
+ unit: "day"
507
+ });
508
+ case "iii":
509
+ return a.day(n, {
510
+ width: "abbreviated",
511
+ context: "formatting"
512
+ });
513
+ case "iiiii":
514
+ return a.day(n, {
515
+ width: "narrow",
516
+ context: "formatting"
517
+ });
518
+ case "iiiiii":
519
+ return a.day(n, {
520
+ width: "short",
521
+ context: "formatting"
522
+ });
523
+ case "iiii":
524
+ default:
525
+ return a.day(n, {
526
+ width: "wide",
527
+ context: "formatting"
528
+ });
529
+ }
530
+ },
531
+ // AM or PM
532
+ a: function(e, t, a) {
533
+ var n = e.getUTCHours(), i = n / 12 >= 1 ? "pm" : "am";
534
+ switch (t) {
535
+ case "a":
536
+ case "aa":
537
+ return a.dayPeriod(i, {
538
+ width: "abbreviated",
539
+ context: "formatting"
540
+ });
541
+ case "aaa":
542
+ return a.dayPeriod(i, {
543
+ width: "abbreviated",
544
+ context: "formatting"
545
+ }).toLowerCase();
546
+ case "aaaaa":
547
+ return a.dayPeriod(i, {
548
+ width: "narrow",
549
+ context: "formatting"
550
+ });
551
+ case "aaaa":
552
+ default:
553
+ return a.dayPeriod(i, {
554
+ width: "wide",
555
+ context: "formatting"
556
+ });
557
+ }
558
+ },
559
+ // AM, PM, midnight, noon
560
+ b: function(e, t, a) {
561
+ var n = e.getUTCHours(), i;
562
+ switch (n === 12 ? i = _.noon : n === 0 ? i = _.midnight : i = n / 12 >= 1 ? "pm" : "am", t) {
563
+ case "b":
564
+ case "bb":
565
+ return a.dayPeriod(i, {
566
+ width: "abbreviated",
567
+ context: "formatting"
568
+ });
569
+ case "bbb":
570
+ return a.dayPeriod(i, {
571
+ width: "abbreviated",
572
+ context: "formatting"
573
+ }).toLowerCase();
574
+ case "bbbbb":
575
+ return a.dayPeriod(i, {
576
+ width: "narrow",
577
+ context: "formatting"
578
+ });
579
+ case "bbbb":
580
+ default:
581
+ return a.dayPeriod(i, {
582
+ width: "wide",
583
+ context: "formatting"
584
+ });
585
+ }
586
+ },
587
+ // in the morning, in the afternoon, in the evening, at night
588
+ B: function(e, t, a) {
589
+ var n = e.getUTCHours(), i;
590
+ switch (n >= 17 ? i = _.evening : n >= 12 ? i = _.afternoon : n >= 4 ? i = _.morning : i = _.night, t) {
591
+ case "B":
592
+ case "BB":
593
+ case "BBB":
594
+ return a.dayPeriod(i, {
595
+ width: "abbreviated",
596
+ context: "formatting"
597
+ });
598
+ case "BBBBB":
599
+ return a.dayPeriod(i, {
600
+ width: "narrow",
601
+ context: "formatting"
602
+ });
603
+ case "BBBB":
604
+ default:
605
+ return a.dayPeriod(i, {
606
+ width: "wide",
607
+ context: "formatting"
608
+ });
609
+ }
610
+ },
611
+ // Hour [1-12]
612
+ h: function(e, t, a) {
613
+ if (t === "ho") {
614
+ var n = e.getUTCHours() % 12;
615
+ return n === 0 && (n = 12), a.ordinalNumber(n, {
616
+ unit: "hour"
617
+ });
618
+ }
619
+ return C.h(e, t);
620
+ },
621
+ // Hour [0-23]
622
+ H: function(e, t, a) {
623
+ return t === "Ho" ? a.ordinalNumber(e.getUTCHours(), {
624
+ unit: "hour"
625
+ }) : C.H(e, t);
626
+ },
627
+ // Hour [0-11]
628
+ K: function(e, t, a) {
629
+ var n = e.getUTCHours() % 12;
630
+ return t === "Ko" ? a.ordinalNumber(n, {
631
+ unit: "hour"
632
+ }) : s(n, t.length);
633
+ },
634
+ // Hour [1-24]
635
+ k: function(e, t, a) {
636
+ var n = e.getUTCHours();
637
+ return n === 0 && (n = 24), t === "ko" ? a.ordinalNumber(n, {
638
+ unit: "hour"
639
+ }) : s(n, t.length);
640
+ },
641
+ // Minute
642
+ m: function(e, t, a) {
643
+ return t === "mo" ? a.ordinalNumber(e.getUTCMinutes(), {
644
+ unit: "minute"
645
+ }) : C.m(e, t);
646
+ },
647
+ // Second
648
+ s: function(e, t, a) {
649
+ return t === "so" ? a.ordinalNumber(e.getUTCSeconds(), {
650
+ unit: "second"
651
+ }) : C.s(e, t);
652
+ },
653
+ // Fraction of second
654
+ S: function(e, t) {
655
+ return C.S(e, t);
656
+ },
657
+ // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
658
+ X: function(e, t, a, n) {
659
+ var i = n._originalDate || e, o = i.getTimezoneOffset();
660
+ if (o === 0)
661
+ return "Z";
662
+ switch (t) {
663
+ case "X":
664
+ return A(o);
665
+ case "XXXX":
666
+ case "XX":
667
+ return T(o);
668
+ case "XXXXX":
669
+ case "XXX":
670
+ default:
671
+ return T(o, ":");
672
+ }
673
+ },
674
+ // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
675
+ x: function(e, t, a, n) {
676
+ var i = n._originalDate || e, o = i.getTimezoneOffset();
677
+ switch (t) {
678
+ case "x":
679
+ return A(o);
680
+ case "xxxx":
681
+ case "xx":
682
+ return T(o);
683
+ case "xxxxx":
684
+ case "xxx":
685
+ default:
686
+ return T(o, ":");
687
+ }
688
+ },
689
+ // Timezone (GMT)
690
+ O: function(e, t, a, n) {
691
+ var i = n._originalDate || e, o = i.getTimezoneOffset();
692
+ switch (t) {
693
+ case "O":
694
+ case "OO":
695
+ case "OOO":
696
+ return "GMT" + $(o, ":");
697
+ case "OOOO":
698
+ default:
699
+ return "GMT" + T(o, ":");
700
+ }
701
+ },
702
+ // Timezone (specific non-location)
703
+ z: function(e, t, a, n) {
704
+ var i = n._originalDate || e, o = i.getTimezoneOffset();
705
+ switch (t) {
706
+ case "z":
707
+ case "zz":
708
+ case "zzz":
709
+ return "GMT" + $(o, ":");
710
+ case "zzzz":
711
+ default:
712
+ return "GMT" + T(o, ":");
713
+ }
714
+ },
715
+ // Seconds timestamp
716
+ t: function(e, t, a, n) {
717
+ var i = n._originalDate || e, o = Math.floor(i.getTime() / 1e3);
718
+ return s(o, t.length);
719
+ },
720
+ // Milliseconds timestamp
721
+ T: function(e, t, a, n) {
722
+ var i = n._originalDate || e, o = i.getTime();
723
+ return s(o, t.length);
724
+ }
725
+ };
726
+ function $(r, e) {
727
+ var t = r > 0 ? "-" : "+", a = Math.abs(r), n = Math.floor(a / 60), i = a % 60;
728
+ if (i === 0)
729
+ return t + String(n);
730
+ var o = e;
731
+ return t + String(n) + o + s(i, 2);
732
+ }
733
+ function A(r, e) {
734
+ if (r % 60 === 0) {
735
+ var t = r > 0 ? "-" : "+";
736
+ return t + s(Math.abs(r) / 60, 2);
737
+ }
738
+ return T(r, e);
739
+ }
740
+ function T(r, e) {
741
+ var t = e || "", a = r > 0 ? "-" : "+", n = Math.abs(r), i = s(Math.floor(n / 60), 2), o = s(n % 60, 2);
742
+ return a + i + t + o;
743
+ }
744
+ const ge = ve;
745
+ var q = function(e, t) {
746
+ switch (e) {
747
+ case "P":
748
+ return t.date({
749
+ width: "short"
750
+ });
751
+ case "PP":
752
+ return t.date({
753
+ width: "medium"
754
+ });
755
+ case "PPP":
756
+ return t.date({
757
+ width: "long"
758
+ });
759
+ case "PPPP":
760
+ default:
761
+ return t.date({
762
+ width: "full"
763
+ });
764
+ }
765
+ }, j = function(e, t) {
766
+ switch (e) {
767
+ case "p":
768
+ return t.time({
769
+ width: "short"
770
+ });
771
+ case "pp":
772
+ return t.time({
773
+ width: "medium"
774
+ });
775
+ case "ppp":
776
+ return t.time({
777
+ width: "long"
778
+ });
779
+ case "pppp":
780
+ default:
781
+ return t.time({
782
+ width: "full"
783
+ });
784
+ }
785
+ }, we = function(e, t) {
786
+ var a = e.match(/(P+)(p+)?/) || [], n = a[1], i = a[2];
787
+ if (!i)
788
+ return q(e, t);
789
+ var o;
790
+ switch (n) {
791
+ case "P":
792
+ o = t.dateTime({
793
+ width: "short"
794
+ });
795
+ break;
796
+ case "PP":
797
+ o = t.dateTime({
798
+ width: "medium"
799
+ });
800
+ break;
801
+ case "PPP":
802
+ o = t.dateTime({
803
+ width: "long"
804
+ });
805
+ break;
806
+ case "PPPP":
807
+ default:
808
+ o = t.dateTime({
809
+ width: "full"
810
+ });
811
+ break;
812
+ }
813
+ return o.replace("{{date}}", q(n, t)).replace("{{time}}", j(i, t));
814
+ }, ye = {
815
+ p: j,
816
+ P: we
817
+ };
818
+ const pe = ye;
819
+ var be = ["D", "DD"], Ce = ["YY", "YYYY"];
820
+ function xe(r) {
821
+ return be.indexOf(r) !== -1;
822
+ }
823
+ function Te(r) {
824
+ return Ce.indexOf(r) !== -1;
825
+ }
826
+ function R(r, e, t) {
827
+ if (r === "YYYY")
828
+ throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
829
+ if (r === "YY")
830
+ throw new RangeError("Use `yy` instead of `YY` (in `".concat(e, "`) for formatting years to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
831
+ if (r === "D")
832
+ throw new RangeError("Use `d` instead of `D` (in `".concat(e, "`) for formatting days of the month to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
833
+ if (r === "DD")
834
+ throw new RangeError("Use `dd` instead of `DD` (in `".concat(e, "`) for formatting days of the month to the input `").concat(t, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
835
+ }
836
+ var Me = {
837
+ lessThanXSeconds: {
838
+ one: "less than a second",
839
+ other: "less than {{count}} seconds"
840
+ },
841
+ xSeconds: {
842
+ one: "1 second",
843
+ other: "{{count}} seconds"
844
+ },
845
+ halfAMinute: "half a minute",
846
+ lessThanXMinutes: {
847
+ one: "less than a minute",
848
+ other: "less than {{count}} minutes"
849
+ },
850
+ xMinutes: {
851
+ one: "1 minute",
852
+ other: "{{count}} minutes"
853
+ },
854
+ aboutXHours: {
855
+ one: "about 1 hour",
856
+ other: "about {{count}} hours"
857
+ },
858
+ xHours: {
859
+ one: "1 hour",
860
+ other: "{{count}} hours"
861
+ },
862
+ xDays: {
863
+ one: "1 day",
864
+ other: "{{count}} days"
865
+ },
866
+ aboutXWeeks: {
867
+ one: "about 1 week",
868
+ other: "about {{count}} weeks"
869
+ },
870
+ xWeeks: {
871
+ one: "1 week",
872
+ other: "{{count}} weeks"
873
+ },
874
+ aboutXMonths: {
875
+ one: "about 1 month",
876
+ other: "about {{count}} months"
877
+ },
878
+ xMonths: {
879
+ one: "1 month",
880
+ other: "{{count}} months"
881
+ },
882
+ aboutXYears: {
883
+ one: "about 1 year",
884
+ other: "about {{count}} years"
885
+ },
886
+ xYears: {
887
+ one: "1 year",
888
+ other: "{{count}} years"
889
+ },
890
+ overXYears: {
891
+ one: "over 1 year",
892
+ other: "over {{count}} years"
893
+ },
894
+ almostXYears: {
895
+ one: "almost 1 year",
896
+ other: "almost {{count}} years"
897
+ }
898
+ }, _e = function(e, t, a) {
899
+ var n, i = Me[e];
900
+ return typeof i == "string" ? n = i : t === 1 ? n = i.one : n = i.other.replace("{{count}}", t.toString()), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "in " + n : n + " ago" : n;
901
+ };
902
+ const Oe = _e;
903
+ function I(r) {
904
+ return function() {
905
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.width ? String(e.width) : r.defaultWidth, a = r.formats[t] || r.formats[r.defaultWidth];
906
+ return a;
907
+ };
908
+ }
909
+ var De = {
910
+ full: "EEEE, MMMM do, y",
911
+ long: "MMMM do, y",
912
+ medium: "MMM d, y",
913
+ short: "MM/dd/yyyy"
914
+ }, Pe = {
915
+ full: "h:mm:ss a zzzz",
916
+ long: "h:mm:ss a z",
917
+ medium: "h:mm:ss a",
918
+ short: "h:mm a"
919
+ }, Se = {
920
+ full: "{{date}} 'at' {{time}}",
921
+ long: "{{date}} 'at' {{time}}",
922
+ medium: "{{date}}, {{time}}",
923
+ short: "{{date}}, {{time}}"
924
+ }, ke = {
925
+ date: I({
926
+ formats: De,
927
+ defaultWidth: "full"
928
+ }),
929
+ time: I({
930
+ formats: Pe,
931
+ defaultWidth: "full"
932
+ }),
933
+ dateTime: I({
934
+ formats: Se,
935
+ defaultWidth: "full"
936
+ })
937
+ };
938
+ const Ue = ke;
939
+ var We = {
940
+ lastWeek: "'last' eeee 'at' p",
941
+ yesterday: "'yesterday at' p",
942
+ today: "'today at' p",
943
+ tomorrow: "'tomorrow at' p",
944
+ nextWeek: "eeee 'at' p",
945
+ other: "P"
946
+ }, Ee = function(e, t, a, n) {
947
+ return We[e];
948
+ };
949
+ const Ye = Ee;
950
+ function S(r) {
951
+ return function(e, t) {
952
+ var a = t != null && t.context ? String(t.context) : "standalone", n;
953
+ if (a === "formatting" && r.formattingValues) {
954
+ var i = r.defaultFormattingWidth || r.defaultWidth, o = t != null && t.width ? String(t.width) : i;
955
+ n = r.formattingValues[o] || r.formattingValues[i];
956
+ } else {
957
+ var u = r.defaultWidth, c = t != null && t.width ? String(t.width) : r.defaultWidth;
958
+ n = r.values[c] || r.values[u];
959
+ }
960
+ var l = r.argumentCallback ? r.argumentCallback(e) : e;
961
+ return n[l];
962
+ };
963
+ }
964
+ var Be = {
965
+ narrow: ["B", "A"],
966
+ abbreviated: ["BC", "AD"],
967
+ wide: ["Before Christ", "Anno Domini"]
968
+ }, Fe = {
969
+ narrow: ["1", "2", "3", "4"],
970
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
971
+ wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
972
+ }, Ne = {
973
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
974
+ abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
975
+ wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
976
+ }, Le = {
977
+ narrow: ["S", "M", "T", "W", "T", "F", "S"],
978
+ short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
979
+ abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
980
+ wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
981
+ }, Ge = {
982
+ narrow: {
983
+ am: "a",
984
+ pm: "p",
985
+ midnight: "mi",
986
+ noon: "n",
987
+ morning: "morning",
988
+ afternoon: "afternoon",
989
+ evening: "evening",
990
+ night: "night"
991
+ },
992
+ abbreviated: {
993
+ am: "AM",
994
+ pm: "PM",
995
+ midnight: "midnight",
996
+ noon: "noon",
997
+ morning: "morning",
998
+ afternoon: "afternoon",
999
+ evening: "evening",
1000
+ night: "night"
1001
+ },
1002
+ wide: {
1003
+ am: "a.m.",
1004
+ pm: "p.m.",
1005
+ midnight: "midnight",
1006
+ noon: "noon",
1007
+ morning: "morning",
1008
+ afternoon: "afternoon",
1009
+ evening: "evening",
1010
+ night: "night"
1011
+ }
1012
+ }, He = {
1013
+ narrow: {
1014
+ am: "a",
1015
+ pm: "p",
1016
+ midnight: "mi",
1017
+ noon: "n",
1018
+ morning: "in the morning",
1019
+ afternoon: "in the afternoon",
1020
+ evening: "in the evening",
1021
+ night: "at night"
1022
+ },
1023
+ abbreviated: {
1024
+ am: "AM",
1025
+ pm: "PM",
1026
+ midnight: "midnight",
1027
+ noon: "noon",
1028
+ morning: "in the morning",
1029
+ afternoon: "in the afternoon",
1030
+ evening: "in the evening",
1031
+ night: "at night"
1032
+ },
1033
+ wide: {
1034
+ am: "a.m.",
1035
+ pm: "p.m.",
1036
+ midnight: "midnight",
1037
+ noon: "noon",
1038
+ morning: "in the morning",
1039
+ afternoon: "in the afternoon",
1040
+ evening: "in the evening",
1041
+ night: "at night"
1042
+ }
1043
+ }, Ie = function(e, t) {
1044
+ var a = Number(e), n = a % 100;
1045
+ if (n > 20 || n < 10)
1046
+ switch (n % 10) {
1047
+ case 1:
1048
+ return a + "st";
1049
+ case 2:
1050
+ return a + "nd";
1051
+ case 3:
1052
+ return a + "rd";
1053
+ }
1054
+ return a + "th";
1055
+ }, $e = {
1056
+ ordinalNumber: Ie,
1057
+ era: S({
1058
+ values: Be,
1059
+ defaultWidth: "wide"
1060
+ }),
1061
+ quarter: S({
1062
+ values: Fe,
1063
+ defaultWidth: "wide",
1064
+ argumentCallback: function(e) {
1065
+ return e - 1;
1066
+ }
1067
+ }),
1068
+ month: S({
1069
+ values: Ne,
1070
+ defaultWidth: "wide"
1071
+ }),
1072
+ day: S({
1073
+ values: Le,
1074
+ defaultWidth: "wide"
1075
+ }),
1076
+ dayPeriod: S({
1077
+ values: Ge,
1078
+ defaultWidth: "wide",
1079
+ formattingValues: He,
1080
+ defaultFormattingWidth: "wide"
1081
+ })
1082
+ };
1083
+ const Ae = $e;
1084
+ function k(r) {
1085
+ return function(e) {
1086
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.width, n = a && r.matchPatterns[a] || r.matchPatterns[r.defaultMatchWidth], i = e.match(n);
1087
+ if (!i)
1088
+ return null;
1089
+ var o = i[0], u = a && r.parsePatterns[a] || r.parsePatterns[r.defaultParseWidth], c = Array.isArray(u) ? Re(u, function(f) {
1090
+ return f.test(o);
1091
+ }) : qe(u, function(f) {
1092
+ return f.test(o);
1093
+ }), l;
1094
+ l = r.valueCallback ? r.valueCallback(c) : c, l = t.valueCallback ? t.valueCallback(l) : l;
1095
+ var h = e.slice(o.length);
1096
+ return {
1097
+ value: l,
1098
+ rest: h
1099
+ };
1100
+ };
1101
+ }
1102
+ function qe(r, e) {
1103
+ for (var t in r)
1104
+ if (r.hasOwnProperty(t) && e(r[t]))
1105
+ return t;
1106
+ }
1107
+ function Re(r, e) {
1108
+ for (var t = 0; t < r.length; t++)
1109
+ if (e(r[t]))
1110
+ return t;
1111
+ }
1112
+ function Xe(r) {
1113
+ return function(e) {
1114
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.match(r.matchPattern);
1115
+ if (!a)
1116
+ return null;
1117
+ var n = a[0], i = e.match(r.parsePattern);
1118
+ if (!i)
1119
+ return null;
1120
+ var o = r.valueCallback ? r.valueCallback(i[0]) : i[0];
1121
+ o = t.valueCallback ? t.valueCallback(o) : o;
1122
+ var u = e.slice(n.length);
1123
+ return {
1124
+ value: o,
1125
+ rest: u
1126
+ };
1127
+ };
1128
+ }
1129
+ var Qe = /^(\d+)(th|st|nd|rd)?/i, Ve = /\d+/i, je = {
1130
+ narrow: /^(b|a)/i,
1131
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
1132
+ wide: /^(before christ|before common era|anno domini|common era)/i
1133
+ }, ze = {
1134
+ any: [/^b/i, /^(a|c)/i]
1135
+ }, Je = {
1136
+ narrow: /^[1234]/i,
1137
+ abbreviated: /^q[1234]/i,
1138
+ wide: /^[1234](th|st|nd|rd)? quarter/i
1139
+ }, Ke = {
1140
+ any: [/1/i, /2/i, /3/i, /4/i]
1141
+ }, Ze = {
1142
+ narrow: /^[jfmasond]/i,
1143
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
1144
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
1145
+ }, et = {
1146
+ narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
1147
+ any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
1148
+ }, tt = {
1149
+ narrow: /^[smtwf]/i,
1150
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
1151
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
1152
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
1153
+ }, rt = {
1154
+ narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
1155
+ any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
1156
+ }, at = {
1157
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
1158
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
1159
+ }, nt = {
1160
+ any: {
1161
+ am: /^a/i,
1162
+ pm: /^p/i,
1163
+ midnight: /^mi/i,
1164
+ noon: /^no/i,
1165
+ morning: /morning/i,
1166
+ afternoon: /afternoon/i,
1167
+ evening: /evening/i,
1168
+ night: /night/i
1169
+ }
1170
+ }, it = {
1171
+ ordinalNumber: Xe({
1172
+ matchPattern: Qe,
1173
+ parsePattern: Ve,
1174
+ valueCallback: function(e) {
1175
+ return parseInt(e, 10);
1176
+ }
1177
+ }),
1178
+ era: k({
1179
+ matchPatterns: je,
1180
+ defaultMatchWidth: "wide",
1181
+ parsePatterns: ze,
1182
+ defaultParseWidth: "any"
1183
+ }),
1184
+ quarter: k({
1185
+ matchPatterns: Je,
1186
+ defaultMatchWidth: "wide",
1187
+ parsePatterns: Ke,
1188
+ defaultParseWidth: "any",
1189
+ valueCallback: function(e) {
1190
+ return e + 1;
1191
+ }
1192
+ }),
1193
+ month: k({
1194
+ matchPatterns: Ze,
1195
+ defaultMatchWidth: "wide",
1196
+ parsePatterns: et,
1197
+ defaultParseWidth: "any"
1198
+ }),
1199
+ day: k({
1200
+ matchPatterns: tt,
1201
+ defaultMatchWidth: "wide",
1202
+ parsePatterns: rt,
1203
+ defaultParseWidth: "any"
1204
+ }),
1205
+ dayPeriod: k({
1206
+ matchPatterns: at,
1207
+ defaultMatchWidth: "any",
1208
+ parsePatterns: nt,
1209
+ defaultParseWidth: "any"
1210
+ })
1211
+ };
1212
+ const ot = it;
1213
+ var st = {
1214
+ code: "en-US",
1215
+ formatDistance: Oe,
1216
+ formatLong: Ue,
1217
+ formatRelative: Ye,
1218
+ localize: Ae,
1219
+ match: ot,
1220
+ options: {
1221
+ weekStartsOn: 0,
1222
+ firstWeekContainsDate: 1
1223
+ }
1224
+ };
1225
+ const ut = st;
1226
+ var lt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, dt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ct = /^'([^]*?)'?$/, ft = /''/g, ht = /[a-zA-Z]/;
1227
+ function mt(r, e, t) {
1228
+ var a, n, i, o, u, c, l, h, f, g, m, y, O, x;
1229
+ v(2, arguments);
1230
+ var L = String(e), D = N(), P = (a = (n = void 0) !== null && n !== void 0 ? n : D.locale) !== null && a !== void 0 ? a : ut, G = M((i = (o = (u = (c = void 0) !== null && c !== void 0 ? c : void 0) !== null && u !== void 0 ? u : D.firstWeekContainsDate) !== null && o !== void 0 ? o : (l = D.locale) === null || l === void 0 || (h = l.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
1231
+ if (!(G >= 1 && G <= 7))
1232
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1233
+ var H = M((f = (g = (m = (y = void 0) !== null && y !== void 0 ? y : void 0) !== null && m !== void 0 ? m : D.weekStartsOn) !== null && g !== void 0 ? g : (O = D.locale) === null || O === void 0 || (x = O.options) === null || x === void 0 ? void 0 : x.weekStartsOn) !== null && f !== void 0 ? f : 0);
1234
+ if (!(H >= 0 && H <= 6))
1235
+ throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1236
+ if (!P.localize)
1237
+ throw new RangeError("locale must contain localize property");
1238
+ if (!P.formatLong)
1239
+ throw new RangeError("locale must contain formatLong property");
1240
+ var U = p(r);
1241
+ if (!ne(U))
1242
+ throw new RangeError("Invalid time value");
1243
+ var z = re(U), J = ie(U, z), K = {
1244
+ firstWeekContainsDate: G,
1245
+ weekStartsOn: H,
1246
+ locale: P,
1247
+ _originalDate: U
1248
+ }, Z = L.match(dt).map(function(w) {
1249
+ var b = w[0];
1250
+ if (b === "p" || b === "P") {
1251
+ var W = pe[b];
1252
+ return W(w, P.formatLong);
1253
+ }
1254
+ return w;
1255
+ }).join("").match(lt).map(function(w) {
1256
+ if (w === "''")
1257
+ return "'";
1258
+ var b = w[0];
1259
+ if (b === "'")
1260
+ return vt(w);
1261
+ var W = ge[b];
1262
+ if (W)
1263
+ return Te(w) && R(w, e, String(r)), xe(w) && R(w, e, String(r)), W(J, w, P.localize, K);
1264
+ if (b.match(ht))
1265
+ throw new RangeError("Format string contains an unescaped latin alphabet character `" + b + "`");
1266
+ return w;
1267
+ }).join("");
1268
+ return Z;
1269
+ }
1270
+ function vt(r) {
1271
+ var e = r.match(ct);
1272
+ return e ? e[1].replace(ft, "'") : r;
1273
+ }
1274
+ const gt = `<svg width="100%" height="28" style="opacity: 0" fill="none" xmlns="http://www.w3.org/2000/svg">
1275
+ <rect y="12" x="2" width="100%" id="total_level" height="5" rx="2.5" fill="white" fill-opacity="0.5"/>
1276
+ <rect y="12" x="2" id="current_level" width="64" height="5" rx="2.5" fill="white"/>
1277
+ <g filter="url(#filter_current_level)">
1278
+ <circle id="circle_current_level" cx="74.5" cy="14.5" r="6.5" fill="white"/>
1279
+ </g>
1280
+ <g filter="url(#filter_heart_ball)">
1281
+ <g filter="url(#filter_ball)">
1282
+ <circle cx="169" cy="14" r="10" id="lock" fill="url(#paint0_linear_ball)"/>
1283
+ </g>
1284
+ <g filter="url(#filter_heart)">
1285
+ <svg x="0" y="4" id="lock_box">
1286
+ <path d="M10.217 6.42442c-0.713,-0.574,-1.304,-1.083,-1.928,-1.622c-0.348,-0.299,-0.707,-0.611,-1.101,-0.943l-0.013,-0.01c0,0,-0.023,-0.017,-0.04,-0.027l-0.167,-0.095l-0.15,0.12c0,0,-0.015,0.012,-0.024,0.02c-0.391,0.33,-0.749,0.64,-1.094,0.939c-0.622,0.539,-1.211,1.048,-1.924,1.624c-1.816,1.463,-3.598,3.263,-3.033,5.506c0.404,1.601,2.104,2.905,3.789,2.905c0.211,0,0.423,-0.02,0.626,-0.061c0.286,-0.058,0.572,-0.145,0.864,-0.265c-0.079,0.962,-0.413,1.864,-0.881,2.369l-0.423,0.459h0.633c0.633,0,1.018,-0.007,1.356,-0.013c0.248,-0.004,0.462,-0.008,0.72,-0.008c0.335,0,0.709,0.006,1.215,0.021l0.686,0.02l-0.474,-0.483c-0.504,-0.514,-0.847,-1.403,-0.923,-2.385c0.311,0.132,0.616,0.227,0.916,0.287c0.204,0.039,0.411,0.059,0.623,0.059c1.687,0,3.386,-1.304,3.789,-2.909c0.56,-2.243,-1.224,-4.041,-3.042,-5.504v-0.004z" fill="#933CBF"/>
1287
+ <path d="M9.727,6.98459c-1.004,-0.83,-1.741,-1.515,-2.723,-2.365c-0.002,0,-0.004,-0.004,-0.007,-0.006c-0.002,0,-0.004,0.004,-0.006,0.006c-0.98,0.85,-1.715,1.537,-2.721,2.367c-1.455,1.202,-3.126,2.821,-2.638,4.81c0.37,1.511,2.091,2.751,3.665,2.43c0.389,-0.08,0.75,-0.224,1.094,-0.402c0,0.116,-0.004,0.233,-0.012,0.353c-0.064,0.991,-0.398,1.892,-0.86,2.401c1.481,0,1.481,-0.043,2.961,0c-0.481,-0.503,-0.834,-1.382,-0.9,-2.401c-0.008,-0.127,-0.012,-0.253,-0.012,-0.378c0.357,0.19,0.733,0.342,1.14,0.425c1.574,0.319,3.292,-0.922,3.661,-2.433c0.486,-1.992,-1.189,-3.609,-2.644,
1288
+ -4.809l0.002,0.002z" fill="url(#paint1_linear_lock)"/>
1289
+ <path d="M9.255,7.551c-0.844,-0.716,-1.462,-1.309,-2.286,-2.045c-0.002,0,-0.004,-0.004,-0.006,-0.006c0,0,-0.004,0.004,-0.006,0.006c-0.824,0.736,-1.44,1.329,-2.284,2.047c-0.919,0.782,-1.94,1.769,-2.214,2.943c-0.115,0.021,-0.914,0.044,-0.914,0.044l0.887,0.083c-0.039,0.206,-0.055,0.418,-0.041,0.638c0.087,-1.371,1.25,-2.507,2.282,-3.384c0.844,-0.718,1.462,-1.313,2.284,-2.047c0.002,-0.002,0.004,-0.004,0.006,-0.006c0.002,0,0.004,0.004,0.006,0.004c0.824,0.734,1.442,1.329,2.286,2.045c1.034,0.879,2.198,2.013,2.286,3.386c0.093,-1.517,-1.173,-2.761,-2.286,-3.708z" fill="#9040C9"/>
1290
+ </svg>
1291
+ </g>
1292
+ </g>
1293
+ <g filter="url(#filter_lock)">
1294
+ <svg x="100%" y="9" id="heart_box">
1295
+ <path d="M7,6c-0.19,-0.002,-0.377,0.052,-0.534,0.154c-0.158,0.103,-0.278,0.25,-0.346,0.42c-0.069,0.171,-0.081,0.357,-0.035,0.535c0.046,0.177,0.147,0.337,0.29,0.457v0.834c0,0.159,0.066,0.312,0.183,0.424c0.117,0.113,0.276,0.176,0.442,0.176c0.166,0,0.325,-0.063,0.442,-0.176c0.117,-0.112,0.183,-0.265,0.183,-0.424v-0.834c0.143,-0.12,0.244,-0.28,0.29,-0.457c0.046,-0.178,0.034,-0.364,-0.035,-0.535c-0.068,-0.17,-0.188,-0.317,-0.346,-0.42c-0.157,-0.102,-0.344,-0.156,-0.534,-0.154zm3.125,-2.4v-1.2c0,-0.796,-0.329,-1.559,-0.915,-2.121c-0.586,-0.563,-1.381,-0.879,-2.21,-0.879c-0.829,0,-1.624,0.316,-2.21,0.879c-0.586,0.562,-0.915,1.325,-0.915,2.121v1.2c-0.497,0,-0.974,0.19,-1.326,0.527c-0.351,0.338,-0.549,0.796,-0.549,1.273v4.2c0,0.477,0.198,0.935,0.549,1.273c0.352,0.337,0.829,0.527,1.326,0.527h6.25c0.497,0,0.974,-0.19,1.326,-0.527c0.351,-0.338,0.549,-0.796,0.549,-1.273v-4.2c0,-0.477,-0.198,-0.935,-0.549,-1.273c-0.352,-0.337,-0.829,-0.527,-1.326,-0.527zm-5,-1.2c0,-0.477,0.198,-0.935,0.549,-1.273c0.352,-0.337,0.829,-0.527,1.326,-0.527c0.497,0,0.974,0.19,1.326,0.527c0.351,0.338,0.549,0.796,0.549,1.273v1.2h-3.75v-1.2zm5.625,7.2c0,0.159,-0.066,0.312,-0.183,0.424c-0.117,0.113,-0.276,0.176,-0.442,0.176h-6.25c-0.166,0,-0.325,-0.063,-0.442,-0.176c-0.117,-0.112,-0.183,-0.265,-0.183,-0.424v-4.2c0,-0.159,0.066,-0.312,0.183,-0.424c0.117,-0.113,0.276,-0.176,0.442,-0.176h6.25c0.166,0,0.325,0.063,0.442,0.176c0.117,0.112,0.183,0.265,0.183,0.424v4.2z" fill="white"/>
1296
+ </svg>
1297
+ </g>
1298
+ <defs>
1299
+ <filter id="filter_current_level" x="64" y="4" width="21" height="21" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1300
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1301
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
1302
+ <feGaussianBlur stdDeviation="2" result="effect1_foregroundBlur_305_23"/>
1303
+ </filter>
1304
+ <filter id="filter_heart_ball" x="155" y="0" width="28" height="28" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1305
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1306
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
1307
+ <feOffset/>
1308
+ <feGaussianBlur stdDeviation="2"/>
1309
+ <feComposite in2="hardAlpha" operator="out"/>
1310
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
1311
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
1312
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
1313
+ </filter>
1314
+ <filter id="filter_ball" x="159" y="4" width="20" height="21" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1315
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1316
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
1317
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
1318
+ <feOffset dy="1"/>
1319
+ <feGaussianBlur stdDeviation="1"/>
1320
+ <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
1321
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0"/>
1322
+ <feBlend mode="normal" in2="shape" result="effect1_innerShadow_305_23"/>
1323
+ </filter>
1324
+ <filter id="filter_heart" x="161.636" y="5.72727" width="14.7271" height="15.6364" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1325
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1326
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
1327
+ <feOffset/>
1328
+ <feGaussianBlur stdDeviation="0.5"/>
1329
+ <feComposite in2="hardAlpha" operator="out"/>
1330
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
1331
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
1332
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
1333
+ </filter>
1334
+ <filter id="filter_lock" x="50" y="7" width="12" height="14" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1335
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1336
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
1337
+ <feOffset/>
1338
+ <feGaussianBlur stdDeviation="0.5"/>
1339
+ <feComposite in2="hardAlpha" operator="out"/>
1340
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
1341
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
1342
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
1343
+ </filter>
1344
+ <linearGradient id="paint0_linear_ball" x1="163" y1="6" x2="174.2" y2="22.6" gradientUnits="userSpaceOnUse">
1345
+ <stop stop-color="#946AD7"/>
1346
+ <stop offset="1" stop-color="#EFABEB"/>
1347
+ </linearGradient>
1348
+ <linearGradient id="paint1_linear_lock" x1="100%" y1="18.4056" x2="169.002" y2="10.2845" gradientUnits="userSpaceOnUse">
1349
+ <stop stop-color="#814FD6"/>
1350
+ <stop offset="1" stop-color="#D679D8"/>
1351
+ </linearGradient>
1352
+ </defs>
1353
+ </svg>
1354
+ `, wt = `<svg width="126" height="92" viewBox="0 0 126 92" fill="none" xmlns="http://www.w3.org/2000/svg">
1355
+ <g filter="url(#filter0_d_242_4231)">
1356
+ <rect x="24" y="20" width="78" height="36" rx="4" fill="white"/>
1357
+ <path d="M24 24C24 21.7909 25.7909 20 28 20H64V56H28C25.7909 56 24 54.2091 24 52V24Z" fill="#464646"/>
1358
+ <path d="M51 56H37L43.2474 63.1399C43.6458 63.5952 44.3542 63.5952 44.7526 63.1399L51 56Z" fill="#464646"/>
1359
+ <circle cx="44" cy="38" r="7" fill="white"/>
1360
+ <path d="M43.9405 34C44.5456 34 45.0362 34.4906 45.0362 35.0957C45.0362 35.7009 44.5456 36.1915 43.9405 36.1915C43.3353 36.1915 42.8447 35.7009 42.8447 35.0957C42.8447 34.4906 43.3353 34 43.9405 34Z" fill="#464646"/>
1361
+ <path d="M45.8801 41.3737C45.8801 41.7617 45.5626 42.0791 45.1746 42.0791H44.3233H43.551H42.7055C42.3175 42.0791 42 41.7617 42 41.3737V41.3575C42 40.9695 42.3175 40.6521 42.7055 40.6521H42.8455V37.8714H42.3528C42.1588 37.8714 42 37.7127 42 37.5187V37.4936C42 37.2996 42.1588 37.1409 42.3528 37.1409H43.551H44.031H44.3233C44.7113 37.1409 45.0287 37.4583 45.0287 37.8463V40.6521H45.1746C45.5626 40.6521 45.8801 40.9696 45.8801 41.3576V41.3737Z" fill="#464646"/>
1362
+ </g>
1363
+ <defs>
1364
+ <filter id="filter0_d_242_4231" x="0" y="0" width="126" height="91.4814" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1365
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1366
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
1367
+ <feOffset dy="4"/>
1368
+ <feGaussianBlur stdDeviation="12"/>
1369
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
1370
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_242_4231"/>
1371
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_242_4231" result="shape"/>
1372
+ </filter>
1373
+ </defs>
1374
+ </svg>
1375
+ `, bt = () => d("span", { class: "LevelProgress", id: "LevelProgress", innerHTML: gt }), Ct = ({ loyaltyPoints: r, spendablePoints: e, pointExpireString: t, language: a }) => d("div", { class: "PointsInfo" }, r && r >= 0 && d("div", { class: "Points" }, r, " ", d("sub", { class: "XP" }, E("xp", a))), e && d("div", { class: "Points" }, e, " ", d("sub", { class: "XP" }, E("sp", a))), t && d("div", { class: "ExpirationPoints" }, t, " ")), xt = ({ language: r, onRedeemClick: e }) => d("div", { class: "CardCell Redeem" }, d("div", { class: "RedeemButton", onClick: () => {
1376
+ e();
1377
+ } }, d("span", null, E("redeem", r)))), Tt = (r) => d("div", { class: "CardCell PlayerName Txt" }, r.playerName), Mt = (r) => d("div", { class: "CardCell ElevateLevel" }, d("span", { class: "LevelName", title: r.level }, r.level), r.expireTime && d("div", { class: "CardCell ExpirationDate Txt" }, E("expireOn", r.language), d("span", { class: "ExpireTime" }, mt(new Date(r.expireTime), r.dateFormat || "yyyy-MM-dd")), !r.hideInfo && d("span", { class: "fa Info", style: { background: `url(${X("../static/info.svg")})` } }, d("span", { class: "InfoTips", innerHTML: wt })))), _t = (r) => {
1378
+ const e = r.loyaltyIconUrl ? d("img", { class: "Badge", src: r.loyaltyIconUrl }) : r.hideIfNull ? "" : d("div", { class: "Badge" }), t = r.playerAvatarUrl || X("../static/user.svg");
1379
+ return d("div", { class: "PlayerAvatar", style: { position: `${r.onlyBadge ? "" : "relative"}` } }, !r.onlyBadge && d("img", { class: "Avatar", src: t }), e);
1380
+ };
1381
+ export {
1382
+ _t as P,
1383
+ Mt as a,
1384
+ Ct as b,
1385
+ bt as c,
1386
+ Tt as d,
1387
+ xt as e,
1388
+ re as g,
1389
+ v as r,
1390
+ p as t
1391
+ };