@everymatrix/casino-header-controller 1.65.1 → 1.65.3

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 (59) hide show
  1. package/components/CasinoHamburgerMenu-B3SEVofS.cjs +21 -0
  2. package/components/{CasinoHamburgerMenu-CTVc2-UF.js → CasinoHamburgerMenu-F30AIdQa.js} +1050 -1085
  3. package/components/{CasinoHamburgerMenu-BMkeLxFw.js → CasinoHamburgerMenu-qJFMD0lY.js} +1056 -1091
  4. package/components/{CasinoHeaderController-Bqi_UEZi.js → CasinoHeaderController-CWfuFHr1.js} +88 -88
  5. package/components/{CasinoHeaderController-DNNqI5-z.cjs → CasinoHeaderController-CgMlOXTc.cjs} +1 -1
  6. package/components/{CasinoHeaderController-CvgFMlA6.js → CasinoHeaderController-DOpNuX6E.js} +90 -90
  7. package/components/{CasinoSlider-DqTtsMWh.cjs → CasinoSlider-C8ldNewd.cjs} +1 -1
  8. package/components/{CasinoSlider-Deb0x84t.js → CasinoSlider-CEn9AAOB.js} +81 -81
  9. package/components/{CasinoSlider-CTcAOyCp.js → CasinoSlider-xtEu7BaK.js} +49 -49
  10. package/components/{PlayerAccountBalanceModal-CNXuqjqU.js → PlayerAccountBalanceModal-Bonu08VK.js} +61 -61
  11. package/components/{PlayerAccountBalanceModal-DbULiu-f.js → PlayerAccountBalanceModal-CJNc-yX5.js} +61 -61
  12. package/components/{PlayerAccountBalanceModal-BFDpI9Sy.cjs → PlayerAccountBalanceModal-DAI5HzZi.cjs} +1 -1
  13. package/components/{PlayerDeposit-BZuTQSyp.js → PlayerDeposit-BsOgrGtE.js} +28 -28
  14. package/components/{PlayerDeposit-eY_YGhMJ.js → PlayerDeposit-Cs0q3VJJ.js} +28 -28
  15. package/components/{PlayerDeposit-BXwT7NVp.cjs → PlayerDeposit-DmuFu2rX.cjs} +1 -1
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{gamification-dropdown-8eb8a896-Dpy7kYRl.js → gamification-dropdown-8eb8a896-B1IK7mlM.js} +7 -7
  21. package/stencil/{gamification-dropdown-8eb8a896-wUq7QkNM.cjs → gamification-dropdown-8eb8a896-C94_wdAW.cjs} +1 -1
  22. package/stencil/{gamification-dropdown-8eb8a896-B80HjrXs.js → gamification-dropdown-8eb8a896-D5R5F9LE.js} +3 -3
  23. package/stencil/{gamification-dropdown-BKLERBkj.js → gamification-dropdown-BIYElrfk.js} +1 -1
  24. package/stencil/{gamification-dropdown-Ctny0vqq.js → gamification-dropdown-Cbc9LC34.js} +1 -1
  25. package/stencil/{gamification-dropdown-DoTceze_.cjs → gamification-dropdown-DDo730Kb.cjs} +1 -1
  26. package/stencil/{gamification-dropdown_4-CmDM3hBS.js → gamification-dropdown_4-CK6IolmG.js} +59 -56
  27. package/stencil/{gamification-dropdown_4-CcWOoutw.js → gamification-dropdown_4-Cl5eOIaD.js} +58 -55
  28. package/stencil/gamification-dropdown_4-DKpiKr-s.cjs +192 -0
  29. package/stencil/{index-1ef3a64c-AMSfdX4B.js → index-1ef3a64c-DfFwTbOB.js} +185 -185
  30. package/stencil/{index-1ef3a64c-CTdxbgr0.js → index-1ef3a64c-Y2S-mzZE.js} +192 -192
  31. package/stencil/index-1ef3a64c-eLYHaH-f.cjs +1 -0
  32. package/stencil/index-71b1bdfa-CaHfgY-G.cjs +1 -0
  33. package/stencil/{index-71b1bdfa-DBUT8z-D.js → index-71b1bdfa-DTrMzwed.js} +235 -235
  34. package/stencil/{index-71b1bdfa-BWeAgaw2.js → index-71b1bdfa-ZRt5ReAy.js} +226 -226
  35. package/stencil/locale-B_6Rn5-v.cjs +1 -0
  36. package/stencil/{locale-DuSXBQwH.js → locale-TxlOHoKi.js} +11 -5
  37. package/stencil/{player-elevate-card-DqZR4w--.js → player-elevate-card-AM1BCXua.js} +3 -3
  38. package/stencil/{player-elevate-card-B70rn287.js → player-elevate-card-CWt6FvdJ.js} +3 -3
  39. package/stencil/{player-elevate-card-W6LcGGe8.cjs → player-elevate-card-TfRVu77N.cjs} +1 -1
  40. package/stencil/player-elevate-card-items-5071deed-AlJJIZWb.js +1393 -0
  41. package/stencil/player-elevate-card-items-5071deed-B3nmpFdz.js +1393 -0
  42. package/stencil/player-elevate-card-items-5071deed-BJ_oxWgG.cjs +102 -0
  43. package/stencil/{player-elevate-pointcard-CBapQeNI.js → player-elevate-pointcard-CHncK0Ig.js} +3 -3
  44. package/stencil/{player-elevate-pointcard-DREgIjCm.js → player-elevate-pointcard-Ckg55VX8.js} +3 -3
  45. package/stencil/{player-elevate-pointcard-DwDhlXwq.cjs → player-elevate-pointcard-D2BXgs9M.cjs} +1 -1
  46. package/stencil/{player-rakeback-card-tP823Fs8.js → player-rakeback-card-CYg1vJa6.js} +2 -2
  47. package/stencil/{player-rakeback-card-B0P7gHIA.cjs → player-rakeback-card-Di0yfbE9.cjs} +1 -1
  48. package/stencil/{player-rakeback-card-z_ugBu0q.js → player-rakeback-card-DieV8mJW.js} +2 -2
  49. package/stencil/{user-deposit-withdrawal-c_bH3eje.js → user-deposit-withdrawal-BJyawJS_.js} +45 -45
  50. package/stencil/{user-deposit-withdrawal-BRpNiBnR.cjs → user-deposit-withdrawal-CC0ZAC_k.cjs} +2 -2
  51. package/stencil/{user-deposit-withdrawal-Dy3WkB23.js → user-deposit-withdrawal-DKTq5kc3.js} +45 -45
  52. package/components/CasinoHamburgerMenu-CrZ5l9tM.cjs +0 -21
  53. package/stencil/gamification-dropdown_4-B2a2BjCo.cjs +0 -192
  54. package/stencil/index-1ef3a64c-BlUWL6ud.cjs +0 -1
  55. package/stencil/index-71b1bdfa-BeszNvNP.cjs +0 -1
  56. package/stencil/locale-DHn5ZpQu.cjs +0 -1
  57. package/stencil/player-elevate-card-items-66be34fb-D7zHppoa.js +0 -1290
  58. package/stencil/player-elevate-card-items-66be34fb-DBIZuvGZ.cjs +0 -1
  59. package/stencil/player-elevate-card-items-66be34fb-aPLlnN0e.js +0 -1290
@@ -0,0 +1,1393 @@
1
+ import { h as d, a as X } from "./index-71b1bdfa-ZRt5ReAy.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 g(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
+ g(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 < "u" && (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
+ g(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 g(1, arguments), r instanceof Date || Y(r) === "object" && Object.prototype.toString.call(r) === "[object Date]";
41
+ }
42
+ function ne(r) {
43
+ if (g(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
+ g(2, arguments);
50
+ var t = M(e);
51
+ return ee(r, -t);
52
+ }
53
+ var oe = 864e5;
54
+ function ue(r) {
55
+ g(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
+ g(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
+ g(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 se(r) {
76
+ g(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
+ g(1, arguments);
85
+ var e = p(r), t = B(e).getTime() - se(e).getTime();
86
+ return Math.round(t / le) + 1;
87
+ }
88
+ function F(r, e) {
89
+ var t, a, n, i, o, s, c, l;
90
+ g(1, arguments);
91
+ var h = N(), f = M((t = (a = (n = (i = e?.weekStartsOn) !== null && i !== void 0 ? i : e == null || (o = e.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.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 v = p(r), m = v.getUTCDay(), y = (m < f ? 7 : 0) + m - f;
95
+ return v.setUTCDate(v.getUTCDate() - y), v.setUTCHours(0, 0, 0, 0), v;
96
+ }
97
+ function V(r, e) {
98
+ var t, a, n, i, o, s, c, l;
99
+ g(1, arguments);
100
+ var h = p(r), f = h.getUTCFullYear(), v = N(), m = M((t = (a = (n = (i = e?.firstWeekContainsDate) !== null && i !== void 0 ? i : e == null || (o = e.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.firstWeekContainsDate) !== null && n !== void 0 ? n : v.firstWeekContainsDate) !== null && a !== void 0 ? a : (c = v.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, s, c, l;
112
+ g(1, arguments);
113
+ var h = N(), f = M((t = (a = (n = (i = e?.firstWeekContainsDate) !== null && i !== void 0 ? i : e == null || (o = e.locale) === null || o === void 0 || (s = o.options) === null || s === void 0 ? void 0 : s.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), v = V(r, e), m = /* @__PURE__ */ new Date(0);
114
+ m.setUTCFullYear(v, 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
+ g(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 u(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 u(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) : u(a + 1, 2);
139
+ },
140
+ // Day of the month
141
+ d: function(e, t) {
142
+ return u(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 u(e.getUTCHours() % 12 || 12, t.length);
163
+ },
164
+ // Hour [0-23]
165
+ H: function(e, t) {
166
+ return u(e.getUTCHours(), t.length);
167
+ },
168
+ // Minute
169
+ m: function(e, t) {
170
+ return u(e.getUTCMinutes(), t.length);
171
+ },
172
+ // Second
173
+ s: function(e, t) {
174
+ return u(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 u(i, t.length);
180
+ }
181
+ };
182
+ const C = me;
183
+ var _ = {
184
+ am: "am",
185
+ pm: "pm",
186
+ midnight: "midnight",
187
+ noon: "noon",
188
+ morning: "morning",
189
+ afternoon: "afternoon",
190
+ evening: "evening",
191
+ night: "night"
192
+ }, ge = {
193
+ // Era
194
+ G: function(e, t, a) {
195
+ var n = e.getUTCFullYear() > 0 ? 1 : 0;
196
+ switch (t) {
197
+ case "G":
198
+ case "GG":
199
+ case "GGG":
200
+ return a.era(n, {
201
+ width: "abbreviated"
202
+ });
203
+ case "GGGGG":
204
+ return a.era(n, {
205
+ width: "narrow"
206
+ });
207
+ case "GGGG":
208
+ default:
209
+ return a.era(n, {
210
+ width: "wide"
211
+ });
212
+ }
213
+ },
214
+ // Year
215
+ y: function(e, t, a) {
216
+ if (t === "yo") {
217
+ var n = e.getUTCFullYear(), i = n > 0 ? n : 1 - n;
218
+ return a.ordinalNumber(i, {
219
+ unit: "year"
220
+ });
221
+ }
222
+ return C.y(e, t);
223
+ },
224
+ // Local week-numbering year
225
+ Y: function(e, t, a, n) {
226
+ var i = V(e, n), o = i > 0 ? i : 1 - i;
227
+ if (t === "YY") {
228
+ var s = o % 100;
229
+ return u(s, 2);
230
+ }
231
+ return t === "Yo" ? a.ordinalNumber(o, {
232
+ unit: "year"
233
+ }) : u(o, t.length);
234
+ },
235
+ // ISO week-numbering year
236
+ R: function(e, t) {
237
+ var a = Q(e);
238
+ return u(a, t.length);
239
+ },
240
+ // Extended year. This is a single number designating the year of this calendar system.
241
+ // The main difference between `y` and `u` localizers are B.C. years:
242
+ // | Year | `y` | `u` |
243
+ // |------|-----|-----|
244
+ // | AC 1 | 1 | 1 |
245
+ // | BC 1 | 1 | 0 |
246
+ // | BC 2 | 2 | -1 |
247
+ // Also `yy` always returns the last two digits of a year,
248
+ // while `uu` pads single digit years to 2 characters and returns other years unchanged.
249
+ u: function(e, t) {
250
+ var a = e.getUTCFullYear();
251
+ return u(a, t.length);
252
+ },
253
+ // Quarter
254
+ Q: function(e, t, a) {
255
+ var n = Math.ceil((e.getUTCMonth() + 1) / 3);
256
+ switch (t) {
257
+ case "Q":
258
+ return String(n);
259
+ case "QQ":
260
+ return u(n, 2);
261
+ case "Qo":
262
+ return a.ordinalNumber(n, {
263
+ unit: "quarter"
264
+ });
265
+ case "QQQ":
266
+ return a.quarter(n, {
267
+ width: "abbreviated",
268
+ context: "formatting"
269
+ });
270
+ case "QQQQQ":
271
+ return a.quarter(n, {
272
+ width: "narrow",
273
+ context: "formatting"
274
+ });
275
+ case "QQQQ":
276
+ default:
277
+ return a.quarter(n, {
278
+ width: "wide",
279
+ context: "formatting"
280
+ });
281
+ }
282
+ },
283
+ // Stand-alone quarter
284
+ q: function(e, t, a) {
285
+ var n = Math.ceil((e.getUTCMonth() + 1) / 3);
286
+ switch (t) {
287
+ case "q":
288
+ return String(n);
289
+ case "qq":
290
+ return u(n, 2);
291
+ case "qo":
292
+ return a.ordinalNumber(n, {
293
+ unit: "quarter"
294
+ });
295
+ case "qqq":
296
+ return a.quarter(n, {
297
+ width: "abbreviated",
298
+ context: "standalone"
299
+ });
300
+ case "qqqqq":
301
+ return a.quarter(n, {
302
+ width: "narrow",
303
+ context: "standalone"
304
+ });
305
+ case "qqqq":
306
+ default:
307
+ return a.quarter(n, {
308
+ width: "wide",
309
+ context: "standalone"
310
+ });
311
+ }
312
+ },
313
+ // Month
314
+ M: function(e, t, a) {
315
+ var n = e.getUTCMonth();
316
+ switch (t) {
317
+ case "M":
318
+ case "MM":
319
+ return C.M(e, t);
320
+ case "Mo":
321
+ return a.ordinalNumber(n + 1, {
322
+ unit: "month"
323
+ });
324
+ case "MMM":
325
+ return a.month(n, {
326
+ width: "abbreviated",
327
+ context: "formatting"
328
+ });
329
+ case "MMMMM":
330
+ return a.month(n, {
331
+ width: "narrow",
332
+ context: "formatting"
333
+ });
334
+ case "MMMM":
335
+ default:
336
+ return a.month(n, {
337
+ width: "wide",
338
+ context: "formatting"
339
+ });
340
+ }
341
+ },
342
+ // Stand-alone month
343
+ L: function(e, t, a) {
344
+ var n = e.getUTCMonth();
345
+ switch (t) {
346
+ case "L":
347
+ return String(n + 1);
348
+ case "LL":
349
+ return u(n + 1, 2);
350
+ case "Lo":
351
+ return a.ordinalNumber(n + 1, {
352
+ unit: "month"
353
+ });
354
+ case "LLL":
355
+ return a.month(n, {
356
+ width: "abbreviated",
357
+ context: "standalone"
358
+ });
359
+ case "LLLLL":
360
+ return a.month(n, {
361
+ width: "narrow",
362
+ context: "standalone"
363
+ });
364
+ case "LLLL":
365
+ default:
366
+ return a.month(n, {
367
+ width: "wide",
368
+ context: "standalone"
369
+ });
370
+ }
371
+ },
372
+ // Local week of year
373
+ w: function(e, t, a, n) {
374
+ var i = he(e, n);
375
+ return t === "wo" ? a.ordinalNumber(i, {
376
+ unit: "week"
377
+ }) : u(i, t.length);
378
+ },
379
+ // ISO week of year
380
+ I: function(e, t, a) {
381
+ var n = de(e);
382
+ return t === "Io" ? a.ordinalNumber(n, {
383
+ unit: "week"
384
+ }) : u(n, t.length);
385
+ },
386
+ // Day of the month
387
+ d: function(e, t, a) {
388
+ return t === "do" ? a.ordinalNumber(e.getUTCDate(), {
389
+ unit: "date"
390
+ }) : C.d(e, t);
391
+ },
392
+ // Day of year
393
+ D: function(e, t, a) {
394
+ var n = ue(e);
395
+ return t === "Do" ? a.ordinalNumber(n, {
396
+ unit: "dayOfYear"
397
+ }) : u(n, t.length);
398
+ },
399
+ // Day of week
400
+ E: function(e, t, a) {
401
+ var n = e.getUTCDay();
402
+ switch (t) {
403
+ case "E":
404
+ case "EE":
405
+ case "EEE":
406
+ return a.day(n, {
407
+ width: "abbreviated",
408
+ context: "formatting"
409
+ });
410
+ case "EEEEE":
411
+ return a.day(n, {
412
+ width: "narrow",
413
+ context: "formatting"
414
+ });
415
+ case "EEEEEE":
416
+ return a.day(n, {
417
+ width: "short",
418
+ context: "formatting"
419
+ });
420
+ case "EEEE":
421
+ default:
422
+ return a.day(n, {
423
+ width: "wide",
424
+ context: "formatting"
425
+ });
426
+ }
427
+ },
428
+ // Local day of week
429
+ e: function(e, t, a, n) {
430
+ var i = e.getUTCDay(), o = (i - n.weekStartsOn + 8) % 7 || 7;
431
+ switch (t) {
432
+ case "e":
433
+ return String(o);
434
+ case "ee":
435
+ return u(o, 2);
436
+ case "eo":
437
+ return a.ordinalNumber(o, {
438
+ unit: "day"
439
+ });
440
+ case "eee":
441
+ return a.day(i, {
442
+ width: "abbreviated",
443
+ context: "formatting"
444
+ });
445
+ case "eeeee":
446
+ return a.day(i, {
447
+ width: "narrow",
448
+ context: "formatting"
449
+ });
450
+ case "eeeeee":
451
+ return a.day(i, {
452
+ width: "short",
453
+ context: "formatting"
454
+ });
455
+ case "eeee":
456
+ default:
457
+ return a.day(i, {
458
+ width: "wide",
459
+ context: "formatting"
460
+ });
461
+ }
462
+ },
463
+ // Stand-alone local day of week
464
+ c: function(e, t, a, n) {
465
+ var i = e.getUTCDay(), o = (i - n.weekStartsOn + 8) % 7 || 7;
466
+ switch (t) {
467
+ case "c":
468
+ return String(o);
469
+ case "cc":
470
+ return u(o, t.length);
471
+ case "co":
472
+ return a.ordinalNumber(o, {
473
+ unit: "day"
474
+ });
475
+ case "ccc":
476
+ return a.day(i, {
477
+ width: "abbreviated",
478
+ context: "standalone"
479
+ });
480
+ case "ccccc":
481
+ return a.day(i, {
482
+ width: "narrow",
483
+ context: "standalone"
484
+ });
485
+ case "cccccc":
486
+ return a.day(i, {
487
+ width: "short",
488
+ context: "standalone"
489
+ });
490
+ case "cccc":
491
+ default:
492
+ return a.day(i, {
493
+ width: "wide",
494
+ context: "standalone"
495
+ });
496
+ }
497
+ },
498
+ // ISO day of week
499
+ i: function(e, t, a) {
500
+ var n = e.getUTCDay(), i = n === 0 ? 7 : n;
501
+ switch (t) {
502
+ case "i":
503
+ return String(i);
504
+ case "ii":
505
+ return u(i, t.length);
506
+ case "io":
507
+ return a.ordinalNumber(i, {
508
+ unit: "day"
509
+ });
510
+ case "iii":
511
+ return a.day(n, {
512
+ width: "abbreviated",
513
+ context: "formatting"
514
+ });
515
+ case "iiiii":
516
+ return a.day(n, {
517
+ width: "narrow",
518
+ context: "formatting"
519
+ });
520
+ case "iiiiii":
521
+ return a.day(n, {
522
+ width: "short",
523
+ context: "formatting"
524
+ });
525
+ case "iiii":
526
+ default:
527
+ return a.day(n, {
528
+ width: "wide",
529
+ context: "formatting"
530
+ });
531
+ }
532
+ },
533
+ // AM or PM
534
+ a: function(e, t, a) {
535
+ var n = e.getUTCHours(), i = n / 12 >= 1 ? "pm" : "am";
536
+ switch (t) {
537
+ case "a":
538
+ case "aa":
539
+ return a.dayPeriod(i, {
540
+ width: "abbreviated",
541
+ context: "formatting"
542
+ });
543
+ case "aaa":
544
+ return a.dayPeriod(i, {
545
+ width: "abbreviated",
546
+ context: "formatting"
547
+ }).toLowerCase();
548
+ case "aaaaa":
549
+ return a.dayPeriod(i, {
550
+ width: "narrow",
551
+ context: "formatting"
552
+ });
553
+ case "aaaa":
554
+ default:
555
+ return a.dayPeriod(i, {
556
+ width: "wide",
557
+ context: "formatting"
558
+ });
559
+ }
560
+ },
561
+ // AM, PM, midnight, noon
562
+ b: function(e, t, a) {
563
+ var n = e.getUTCHours(), i;
564
+ switch (n === 12 ? i = _.noon : n === 0 ? i = _.midnight : i = n / 12 >= 1 ? "pm" : "am", t) {
565
+ case "b":
566
+ case "bb":
567
+ return a.dayPeriod(i, {
568
+ width: "abbreviated",
569
+ context: "formatting"
570
+ });
571
+ case "bbb":
572
+ return a.dayPeriod(i, {
573
+ width: "abbreviated",
574
+ context: "formatting"
575
+ }).toLowerCase();
576
+ case "bbbbb":
577
+ return a.dayPeriod(i, {
578
+ width: "narrow",
579
+ context: "formatting"
580
+ });
581
+ case "bbbb":
582
+ default:
583
+ return a.dayPeriod(i, {
584
+ width: "wide",
585
+ context: "formatting"
586
+ });
587
+ }
588
+ },
589
+ // in the morning, in the afternoon, in the evening, at night
590
+ B: function(e, t, a) {
591
+ var n = e.getUTCHours(), i;
592
+ switch (n >= 17 ? i = _.evening : n >= 12 ? i = _.afternoon : n >= 4 ? i = _.morning : i = _.night, t) {
593
+ case "B":
594
+ case "BB":
595
+ case "BBB":
596
+ return a.dayPeriod(i, {
597
+ width: "abbreviated",
598
+ context: "formatting"
599
+ });
600
+ case "BBBBB":
601
+ return a.dayPeriod(i, {
602
+ width: "narrow",
603
+ context: "formatting"
604
+ });
605
+ case "BBBB":
606
+ default:
607
+ return a.dayPeriod(i, {
608
+ width: "wide",
609
+ context: "formatting"
610
+ });
611
+ }
612
+ },
613
+ // Hour [1-12]
614
+ h: function(e, t, a) {
615
+ if (t === "ho") {
616
+ var n = e.getUTCHours() % 12;
617
+ return n === 0 && (n = 12), a.ordinalNumber(n, {
618
+ unit: "hour"
619
+ });
620
+ }
621
+ return C.h(e, t);
622
+ },
623
+ // Hour [0-23]
624
+ H: function(e, t, a) {
625
+ return t === "Ho" ? a.ordinalNumber(e.getUTCHours(), {
626
+ unit: "hour"
627
+ }) : C.H(e, t);
628
+ },
629
+ // Hour [0-11]
630
+ K: function(e, t, a) {
631
+ var n = e.getUTCHours() % 12;
632
+ return t === "Ko" ? a.ordinalNumber(n, {
633
+ unit: "hour"
634
+ }) : u(n, t.length);
635
+ },
636
+ // Hour [1-24]
637
+ k: function(e, t, a) {
638
+ var n = e.getUTCHours();
639
+ return n === 0 && (n = 24), t === "ko" ? a.ordinalNumber(n, {
640
+ unit: "hour"
641
+ }) : u(n, t.length);
642
+ },
643
+ // Minute
644
+ m: function(e, t, a) {
645
+ return t === "mo" ? a.ordinalNumber(e.getUTCMinutes(), {
646
+ unit: "minute"
647
+ }) : C.m(e, t);
648
+ },
649
+ // Second
650
+ s: function(e, t, a) {
651
+ return t === "so" ? a.ordinalNumber(e.getUTCSeconds(), {
652
+ unit: "second"
653
+ }) : C.s(e, t);
654
+ },
655
+ // Fraction of second
656
+ S: function(e, t) {
657
+ return C.S(e, t);
658
+ },
659
+ // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
660
+ X: function(e, t, a, n) {
661
+ var i = n._originalDate || e, o = i.getTimezoneOffset();
662
+ if (o === 0)
663
+ return "Z";
664
+ switch (t) {
665
+ case "X":
666
+ return A(o);
667
+ case "XXXX":
668
+ case "XX":
669
+ return T(o);
670
+ case "XXXXX":
671
+ case "XXX":
672
+ default:
673
+ return T(o, ":");
674
+ }
675
+ },
676
+ // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
677
+ x: function(e, t, a, n) {
678
+ var i = n._originalDate || e, o = i.getTimezoneOffset();
679
+ switch (t) {
680
+ case "x":
681
+ return A(o);
682
+ case "xxxx":
683
+ case "xx":
684
+ return T(o);
685
+ case "xxxxx":
686
+ case "xxx":
687
+ default:
688
+ return T(o, ":");
689
+ }
690
+ },
691
+ // Timezone (GMT)
692
+ O: function(e, t, a, n) {
693
+ var i = n._originalDate || e, o = i.getTimezoneOffset();
694
+ switch (t) {
695
+ case "O":
696
+ case "OO":
697
+ case "OOO":
698
+ return "GMT" + $(o, ":");
699
+ case "OOOO":
700
+ default:
701
+ return "GMT" + T(o, ":");
702
+ }
703
+ },
704
+ // Timezone (specific non-location)
705
+ z: function(e, t, a, n) {
706
+ var i = n._originalDate || e, o = i.getTimezoneOffset();
707
+ switch (t) {
708
+ case "z":
709
+ case "zz":
710
+ case "zzz":
711
+ return "GMT" + $(o, ":");
712
+ case "zzzz":
713
+ default:
714
+ return "GMT" + T(o, ":");
715
+ }
716
+ },
717
+ // Seconds timestamp
718
+ t: function(e, t, a, n) {
719
+ var i = n._originalDate || e, o = Math.floor(i.getTime() / 1e3);
720
+ return u(o, t.length);
721
+ },
722
+ // Milliseconds timestamp
723
+ T: function(e, t, a, n) {
724
+ var i = n._originalDate || e, o = i.getTime();
725
+ return u(o, t.length);
726
+ }
727
+ };
728
+ function $(r, e) {
729
+ var t = r > 0 ? "-" : "+", a = Math.abs(r), n = Math.floor(a / 60), i = a % 60;
730
+ if (i === 0)
731
+ return t + String(n);
732
+ var o = e;
733
+ return t + String(n) + o + u(i, 2);
734
+ }
735
+ function A(r, e) {
736
+ if (r % 60 === 0) {
737
+ var t = r > 0 ? "-" : "+";
738
+ return t + u(Math.abs(r) / 60, 2);
739
+ }
740
+ return T(r, e);
741
+ }
742
+ function T(r, e) {
743
+ var t = e || "", a = r > 0 ? "-" : "+", n = Math.abs(r), i = u(Math.floor(n / 60), 2), o = u(n % 60, 2);
744
+ return a + i + t + o;
745
+ }
746
+ const ve = ge;
747
+ var q = function(e, t) {
748
+ switch (e) {
749
+ case "P":
750
+ return t.date({
751
+ width: "short"
752
+ });
753
+ case "PP":
754
+ return t.date({
755
+ width: "medium"
756
+ });
757
+ case "PPP":
758
+ return t.date({
759
+ width: "long"
760
+ });
761
+ case "PPPP":
762
+ default:
763
+ return t.date({
764
+ width: "full"
765
+ });
766
+ }
767
+ }, j = function(e, t) {
768
+ switch (e) {
769
+ case "p":
770
+ return t.time({
771
+ width: "short"
772
+ });
773
+ case "pp":
774
+ return t.time({
775
+ width: "medium"
776
+ });
777
+ case "ppp":
778
+ return t.time({
779
+ width: "long"
780
+ });
781
+ case "pppp":
782
+ default:
783
+ return t.time({
784
+ width: "full"
785
+ });
786
+ }
787
+ }, we = function(e, t) {
788
+ var a = e.match(/(P+)(p+)?/) || [], n = a[1], i = a[2];
789
+ if (!i)
790
+ return q(e, t);
791
+ var o;
792
+ switch (n) {
793
+ case "P":
794
+ o = t.dateTime({
795
+ width: "short"
796
+ });
797
+ break;
798
+ case "PP":
799
+ o = t.dateTime({
800
+ width: "medium"
801
+ });
802
+ break;
803
+ case "PPP":
804
+ o = t.dateTime({
805
+ width: "long"
806
+ });
807
+ break;
808
+ case "PPPP":
809
+ default:
810
+ o = t.dateTime({
811
+ width: "full"
812
+ });
813
+ break;
814
+ }
815
+ return o.replace("{{date}}", q(n, t)).replace("{{time}}", j(i, t));
816
+ }, ye = {
817
+ p: j,
818
+ P: we
819
+ };
820
+ const pe = ye;
821
+ var be = ["D", "DD"], Ce = ["YY", "YYYY"];
822
+ function xe(r) {
823
+ return be.indexOf(r) !== -1;
824
+ }
825
+ function Te(r) {
826
+ return Ce.indexOf(r) !== -1;
827
+ }
828
+ function R(r, e, t) {
829
+ if (r === "YYYY")
830
+ 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"));
831
+ if (r === "YY")
832
+ 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"));
833
+ if (r === "D")
834
+ 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"));
835
+ if (r === "DD")
836
+ 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"));
837
+ }
838
+ var Me = {
839
+ lessThanXSeconds: {
840
+ one: "less than a second",
841
+ other: "less than {{count}} seconds"
842
+ },
843
+ xSeconds: {
844
+ one: "1 second",
845
+ other: "{{count}} seconds"
846
+ },
847
+ halfAMinute: "half a minute",
848
+ lessThanXMinutes: {
849
+ one: "less than a minute",
850
+ other: "less than {{count}} minutes"
851
+ },
852
+ xMinutes: {
853
+ one: "1 minute",
854
+ other: "{{count}} minutes"
855
+ },
856
+ aboutXHours: {
857
+ one: "about 1 hour",
858
+ other: "about {{count}} hours"
859
+ },
860
+ xHours: {
861
+ one: "1 hour",
862
+ other: "{{count}} hours"
863
+ },
864
+ xDays: {
865
+ one: "1 day",
866
+ other: "{{count}} days"
867
+ },
868
+ aboutXWeeks: {
869
+ one: "about 1 week",
870
+ other: "about {{count}} weeks"
871
+ },
872
+ xWeeks: {
873
+ one: "1 week",
874
+ other: "{{count}} weeks"
875
+ },
876
+ aboutXMonths: {
877
+ one: "about 1 month",
878
+ other: "about {{count}} months"
879
+ },
880
+ xMonths: {
881
+ one: "1 month",
882
+ other: "{{count}} months"
883
+ },
884
+ aboutXYears: {
885
+ one: "about 1 year",
886
+ other: "about {{count}} years"
887
+ },
888
+ xYears: {
889
+ one: "1 year",
890
+ other: "{{count}} years"
891
+ },
892
+ overXYears: {
893
+ one: "over 1 year",
894
+ other: "over {{count}} years"
895
+ },
896
+ almostXYears: {
897
+ one: "almost 1 year",
898
+ other: "almost {{count}} years"
899
+ }
900
+ }, _e = function(e, t, a) {
901
+ var n, i = Me[e];
902
+ 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;
903
+ };
904
+ const Oe = _e;
905
+ function I(r) {
906
+ return function() {
907
+ 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];
908
+ return a;
909
+ };
910
+ }
911
+ var De = {
912
+ full: "EEEE, MMMM do, y",
913
+ long: "MMMM do, y",
914
+ medium: "MMM d, y",
915
+ short: "MM/dd/yyyy"
916
+ }, Pe = {
917
+ full: "h:mm:ss a zzzz",
918
+ long: "h:mm:ss a z",
919
+ medium: "h:mm:ss a",
920
+ short: "h:mm a"
921
+ }, Se = {
922
+ full: "{{date}} 'at' {{time}}",
923
+ long: "{{date}} 'at' {{time}}",
924
+ medium: "{{date}}, {{time}}",
925
+ short: "{{date}}, {{time}}"
926
+ }, ke = {
927
+ date: I({
928
+ formats: De,
929
+ defaultWidth: "full"
930
+ }),
931
+ time: I({
932
+ formats: Pe,
933
+ defaultWidth: "full"
934
+ }),
935
+ dateTime: I({
936
+ formats: Se,
937
+ defaultWidth: "full"
938
+ })
939
+ };
940
+ const Ue = ke;
941
+ var We = {
942
+ lastWeek: "'last' eeee 'at' p",
943
+ yesterday: "'yesterday at' p",
944
+ today: "'today at' p",
945
+ tomorrow: "'tomorrow at' p",
946
+ nextWeek: "eeee 'at' p",
947
+ other: "P"
948
+ }, Ee = function(e, t, a, n) {
949
+ return We[e];
950
+ };
951
+ const Ye = Ee;
952
+ function S(r) {
953
+ return function(e, t) {
954
+ var a = t != null && t.context ? String(t.context) : "standalone", n;
955
+ if (a === "formatting" && r.formattingValues) {
956
+ var i = r.defaultFormattingWidth || r.defaultWidth, o = t != null && t.width ? String(t.width) : i;
957
+ n = r.formattingValues[o] || r.formattingValues[i];
958
+ } else {
959
+ var s = r.defaultWidth, c = t != null && t.width ? String(t.width) : r.defaultWidth;
960
+ n = r.values[c] || r.values[s];
961
+ }
962
+ var l = r.argumentCallback ? r.argumentCallback(e) : e;
963
+ return n[l];
964
+ };
965
+ }
966
+ var Be = {
967
+ narrow: ["B", "A"],
968
+ abbreviated: ["BC", "AD"],
969
+ wide: ["Before Christ", "Anno Domini"]
970
+ }, Fe = {
971
+ narrow: ["1", "2", "3", "4"],
972
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
973
+ wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
974
+ }, Ne = {
975
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
976
+ abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
977
+ wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
978
+ }, Le = {
979
+ narrow: ["S", "M", "T", "W", "T", "F", "S"],
980
+ short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
981
+ abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
982
+ wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
983
+ }, Ge = {
984
+ narrow: {
985
+ am: "a",
986
+ pm: "p",
987
+ midnight: "mi",
988
+ noon: "n",
989
+ morning: "morning",
990
+ afternoon: "afternoon",
991
+ evening: "evening",
992
+ night: "night"
993
+ },
994
+ abbreviated: {
995
+ am: "AM",
996
+ pm: "PM",
997
+ midnight: "midnight",
998
+ noon: "noon",
999
+ morning: "morning",
1000
+ afternoon: "afternoon",
1001
+ evening: "evening",
1002
+ night: "night"
1003
+ },
1004
+ wide: {
1005
+ am: "a.m.",
1006
+ pm: "p.m.",
1007
+ midnight: "midnight",
1008
+ noon: "noon",
1009
+ morning: "morning",
1010
+ afternoon: "afternoon",
1011
+ evening: "evening",
1012
+ night: "night"
1013
+ }
1014
+ }, He = {
1015
+ narrow: {
1016
+ am: "a",
1017
+ pm: "p",
1018
+ midnight: "mi",
1019
+ noon: "n",
1020
+ morning: "in the morning",
1021
+ afternoon: "in the afternoon",
1022
+ evening: "in the evening",
1023
+ night: "at night"
1024
+ },
1025
+ abbreviated: {
1026
+ am: "AM",
1027
+ pm: "PM",
1028
+ midnight: "midnight",
1029
+ noon: "noon",
1030
+ morning: "in the morning",
1031
+ afternoon: "in the afternoon",
1032
+ evening: "in the evening",
1033
+ night: "at night"
1034
+ },
1035
+ wide: {
1036
+ am: "a.m.",
1037
+ pm: "p.m.",
1038
+ midnight: "midnight",
1039
+ noon: "noon",
1040
+ morning: "in the morning",
1041
+ afternoon: "in the afternoon",
1042
+ evening: "in the evening",
1043
+ night: "at night"
1044
+ }
1045
+ }, Ie = function(e, t) {
1046
+ var a = Number(e), n = a % 100;
1047
+ if (n > 20 || n < 10)
1048
+ switch (n % 10) {
1049
+ case 1:
1050
+ return a + "st";
1051
+ case 2:
1052
+ return a + "nd";
1053
+ case 3:
1054
+ return a + "rd";
1055
+ }
1056
+ return a + "th";
1057
+ }, $e = {
1058
+ ordinalNumber: Ie,
1059
+ era: S({
1060
+ values: Be,
1061
+ defaultWidth: "wide"
1062
+ }),
1063
+ quarter: S({
1064
+ values: Fe,
1065
+ defaultWidth: "wide",
1066
+ argumentCallback: function(e) {
1067
+ return e - 1;
1068
+ }
1069
+ }),
1070
+ month: S({
1071
+ values: Ne,
1072
+ defaultWidth: "wide"
1073
+ }),
1074
+ day: S({
1075
+ values: Le,
1076
+ defaultWidth: "wide"
1077
+ }),
1078
+ dayPeriod: S({
1079
+ values: Ge,
1080
+ defaultWidth: "wide",
1081
+ formattingValues: He,
1082
+ defaultFormattingWidth: "wide"
1083
+ })
1084
+ };
1085
+ const Ae = $e;
1086
+ function k(r) {
1087
+ return function(e) {
1088
+ 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);
1089
+ if (!i)
1090
+ return null;
1091
+ var o = i[0], s = a && r.parsePatterns[a] || r.parsePatterns[r.defaultParseWidth], c = Array.isArray(s) ? Re(s, function(f) {
1092
+ return f.test(o);
1093
+ }) : qe(s, function(f) {
1094
+ return f.test(o);
1095
+ }), l;
1096
+ l = r.valueCallback ? r.valueCallback(c) : c, l = t.valueCallback ? t.valueCallback(l) : l;
1097
+ var h = e.slice(o.length);
1098
+ return {
1099
+ value: l,
1100
+ rest: h
1101
+ };
1102
+ };
1103
+ }
1104
+ function qe(r, e) {
1105
+ for (var t in r)
1106
+ if (r.hasOwnProperty(t) && e(r[t]))
1107
+ return t;
1108
+ }
1109
+ function Re(r, e) {
1110
+ for (var t = 0; t < r.length; t++)
1111
+ if (e(r[t]))
1112
+ return t;
1113
+ }
1114
+ function Xe(r) {
1115
+ return function(e) {
1116
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.match(r.matchPattern);
1117
+ if (!a)
1118
+ return null;
1119
+ var n = a[0], i = e.match(r.parsePattern);
1120
+ if (!i)
1121
+ return null;
1122
+ var o = r.valueCallback ? r.valueCallback(i[0]) : i[0];
1123
+ o = t.valueCallback ? t.valueCallback(o) : o;
1124
+ var s = e.slice(n.length);
1125
+ return {
1126
+ value: o,
1127
+ rest: s
1128
+ };
1129
+ };
1130
+ }
1131
+ var Qe = /^(\d+)(th|st|nd|rd)?/i, Ve = /\d+/i, je = {
1132
+ narrow: /^(b|a)/i,
1133
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
1134
+ wide: /^(before christ|before common era|anno domini|common era)/i
1135
+ }, ze = {
1136
+ any: [/^b/i, /^(a|c)/i]
1137
+ }, Je = {
1138
+ narrow: /^[1234]/i,
1139
+ abbreviated: /^q[1234]/i,
1140
+ wide: /^[1234](th|st|nd|rd)? quarter/i
1141
+ }, Ke = {
1142
+ any: [/1/i, /2/i, /3/i, /4/i]
1143
+ }, Ze = {
1144
+ narrow: /^[jfmasond]/i,
1145
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
1146
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
1147
+ }, et = {
1148
+ 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],
1149
+ 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]
1150
+ }, tt = {
1151
+ narrow: /^[smtwf]/i,
1152
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
1153
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
1154
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
1155
+ }, rt = {
1156
+ narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
1157
+ any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
1158
+ }, at = {
1159
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
1160
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
1161
+ }, nt = {
1162
+ any: {
1163
+ am: /^a/i,
1164
+ pm: /^p/i,
1165
+ midnight: /^mi/i,
1166
+ noon: /^no/i,
1167
+ morning: /morning/i,
1168
+ afternoon: /afternoon/i,
1169
+ evening: /evening/i,
1170
+ night: /night/i
1171
+ }
1172
+ }, it = {
1173
+ ordinalNumber: Xe({
1174
+ matchPattern: Qe,
1175
+ parsePattern: Ve,
1176
+ valueCallback: function(e) {
1177
+ return parseInt(e, 10);
1178
+ }
1179
+ }),
1180
+ era: k({
1181
+ matchPatterns: je,
1182
+ defaultMatchWidth: "wide",
1183
+ parsePatterns: ze,
1184
+ defaultParseWidth: "any"
1185
+ }),
1186
+ quarter: k({
1187
+ matchPatterns: Je,
1188
+ defaultMatchWidth: "wide",
1189
+ parsePatterns: Ke,
1190
+ defaultParseWidth: "any",
1191
+ valueCallback: function(e) {
1192
+ return e + 1;
1193
+ }
1194
+ }),
1195
+ month: k({
1196
+ matchPatterns: Ze,
1197
+ defaultMatchWidth: "wide",
1198
+ parsePatterns: et,
1199
+ defaultParseWidth: "any"
1200
+ }),
1201
+ day: k({
1202
+ matchPatterns: tt,
1203
+ defaultMatchWidth: "wide",
1204
+ parsePatterns: rt,
1205
+ defaultParseWidth: "any"
1206
+ }),
1207
+ dayPeriod: k({
1208
+ matchPatterns: at,
1209
+ defaultMatchWidth: "any",
1210
+ parsePatterns: nt,
1211
+ defaultParseWidth: "any"
1212
+ })
1213
+ };
1214
+ const ot = it;
1215
+ var ut = {
1216
+ code: "en-US",
1217
+ formatDistance: Oe,
1218
+ formatLong: Ue,
1219
+ formatRelative: Ye,
1220
+ localize: Ae,
1221
+ match: ot,
1222
+ options: {
1223
+ weekStartsOn: 0,
1224
+ firstWeekContainsDate: 1
1225
+ }
1226
+ };
1227
+ const st = ut;
1228
+ var lt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, dt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ct = /^'([^]*?)'?$/, ft = /''/g, ht = /[a-zA-Z]/;
1229
+ function mt(r, e, t) {
1230
+ var a, n, i, o, s, c, l, h, f, v, m, y, O, x;
1231
+ g(2, arguments);
1232
+ var L = String(e), D = N(), P = (a = (n = void 0) !== null && n !== void 0 ? n : D.locale) !== null && a !== void 0 ? a : st, G = M((i = (o = (s = (c = void 0) !== null && c !== void 0 ? c : void 0) !== null && s !== void 0 ? s : 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);
1233
+ if (!(G >= 1 && G <= 7))
1234
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1235
+ var H = M((f = (v = (m = (y = void 0) !== null && y !== void 0 ? y : void 0) !== null && m !== void 0 ? m : D.weekStartsOn) !== null && v !== void 0 ? v : (O = D.locale) === null || O === void 0 || (x = O.options) === null || x === void 0 ? void 0 : x.weekStartsOn) !== null && f !== void 0 ? f : 0);
1236
+ if (!(H >= 0 && H <= 6))
1237
+ throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1238
+ if (!P.localize)
1239
+ throw new RangeError("locale must contain localize property");
1240
+ if (!P.formatLong)
1241
+ throw new RangeError("locale must contain formatLong property");
1242
+ var U = p(r);
1243
+ if (!ne(U))
1244
+ throw new RangeError("Invalid time value");
1245
+ var z = re(U), J = ie(U, z), K = {
1246
+ firstWeekContainsDate: G,
1247
+ weekStartsOn: H,
1248
+ locale: P,
1249
+ _originalDate: U
1250
+ }, Z = L.match(dt).map(function(w) {
1251
+ var b = w[0];
1252
+ if (b === "p" || b === "P") {
1253
+ var W = pe[b];
1254
+ return W(w, P.formatLong);
1255
+ }
1256
+ return w;
1257
+ }).join("").match(lt).map(function(w) {
1258
+ if (w === "''")
1259
+ return "'";
1260
+ var b = w[0];
1261
+ if (b === "'")
1262
+ return gt(w);
1263
+ var W = ve[b];
1264
+ if (W)
1265
+ return Te(w) && R(w, e, String(r)), xe(w) && R(w, e, String(r)), W(J, w, P.localize, K);
1266
+ if (b.match(ht))
1267
+ throw new RangeError("Format string contains an unescaped latin alphabet character `" + b + "`");
1268
+ return w;
1269
+ }).join("");
1270
+ return Z;
1271
+ }
1272
+ function gt(r) {
1273
+ var e = r.match(ct);
1274
+ return e ? e[1].replace(ft, "'") : r;
1275
+ }
1276
+ const vt = `<svg width="100%" height="28" style="opacity: 0" fill="none" xmlns="http://www.w3.org/2000/svg">
1277
+ <rect y="12" x="2" width="100%" id="total_level" height="5" rx="2.5" fill="white" fill-opacity="0.5"/>
1278
+ <rect y="12" x="2" id="current_level" width="64" height="5" rx="2.5" fill="white"/>
1279
+ <g filter="url(#filter_current_level)">
1280
+ <circle id="circle_current_level" cx="74.5" cy="14.5" r="6.5" fill="white"/>
1281
+ </g>
1282
+ <g filter="url(#filter_heart_ball)">
1283
+ <g filter="url(#filter_ball)">
1284
+ <circle cx="169" cy="14" r="10" id="lock" fill="url(#paint0_linear_ball)"/>
1285
+ </g>
1286
+ <g filter="url(#filter_heart)">
1287
+ <svg x="0" y="4" id="lock_box">
1288
+ <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"/>
1289
+ <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,
1290
+ -4.809l0.002,0.002z" fill="url(#paint1_linear_lock)"/>
1291
+ <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"/>
1292
+ </svg>
1293
+ </g>
1294
+ </g>
1295
+ <g filter="url(#filter_lock)">
1296
+ <svg x="100%" y="9" id="heart_box">
1297
+ <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"/>
1298
+ </svg>
1299
+ </g>
1300
+ <defs>
1301
+ <filter id="filter_current_level" x="64" y="4" width="21" height="21" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1302
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1303
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
1304
+ <feGaussianBlur stdDeviation="2" result="effect1_foregroundBlur_305_23"/>
1305
+ </filter>
1306
+ <filter id="filter_heart_ball" x="155" y="0" width="28" height="28" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1307
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1308
+ <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"/>
1309
+ <feOffset/>
1310
+ <feGaussianBlur stdDeviation="2"/>
1311
+ <feComposite in2="hardAlpha" operator="out"/>
1312
+ <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"/>
1313
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
1314
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
1315
+ </filter>
1316
+ <filter id="filter_ball" x="159" y="4" width="20" height="21" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1317
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1318
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
1319
+ <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"/>
1320
+ <feOffset dy="1"/>
1321
+ <feGaussianBlur stdDeviation="1"/>
1322
+ <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
1323
+ <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"/>
1324
+ <feBlend mode="normal" in2="shape" result="effect1_innerShadow_305_23"/>
1325
+ </filter>
1326
+ <filter id="filter_heart" x="161.636" y="5.72727" width="14.7271" height="15.6364" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1327
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1328
+ <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"/>
1329
+ <feOffset/>
1330
+ <feGaussianBlur stdDeviation="0.5"/>
1331
+ <feComposite in2="hardAlpha" operator="out"/>
1332
+ <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"/>
1333
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
1334
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
1335
+ </filter>
1336
+ <filter id="filter_lock" x="50" y="7" width="12" height="14" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1337
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1338
+ <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"/>
1339
+ <feOffset/>
1340
+ <feGaussianBlur stdDeviation="0.5"/>
1341
+ <feComposite in2="hardAlpha" operator="out"/>
1342
+ <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"/>
1343
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_305_23"/>
1344
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_305_23" result="shape"/>
1345
+ </filter>
1346
+ <linearGradient id="paint0_linear_ball" x1="163" y1="6" x2="174.2" y2="22.6" gradientUnits="userSpaceOnUse">
1347
+ <stop stop-color="#946AD7"/>
1348
+ <stop offset="1" stop-color="#EFABEB"/>
1349
+ </linearGradient>
1350
+ <linearGradient id="paint1_linear_lock" x1="100%" y1="18.4056" x2="169.002" y2="10.2845" gradientUnits="userSpaceOnUse">
1351
+ <stop stop-color="#814FD6"/>
1352
+ <stop offset="1" stop-color="#D679D8"/>
1353
+ </linearGradient>
1354
+ </defs>
1355
+ </svg>
1356
+ `, wt = `<svg width="126" height="92" viewBox="0 0 126 92" fill="none" xmlns="http://www.w3.org/2000/svg">
1357
+ <g filter="url(#filter0_d_242_4231)">
1358
+ <rect x="24" y="20" width="78" height="36" rx="4" fill="white"/>
1359
+ <path d="M24 24C24 21.7909 25.7909 20 28 20H64V56H28C25.7909 56 24 54.2091 24 52V24Z" fill="#464646"/>
1360
+ <path d="M51 56H37L43.2474 63.1399C43.6458 63.5952 44.3542 63.5952 44.7526 63.1399L51 56Z" fill="#464646"/>
1361
+ <circle cx="44" cy="38" r="7" fill="white"/>
1362
+ <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"/>
1363
+ <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"/>
1364
+ </g>
1365
+ <defs>
1366
+ <filter id="filter0_d_242_4231" x="0" y="0" width="126" height="91.4814" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1367
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
1368
+ <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"/>
1369
+ <feOffset dy="4"/>
1370
+ <feGaussianBlur stdDeviation="12"/>
1371
+ <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"/>
1372
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_242_4231"/>
1373
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_242_4231" result="shape"/>
1374
+ </filter>
1375
+ </defs>
1376
+ </svg>
1377
+ `, bt = () => d("span", { class: "LevelProgress", id: "LevelProgress", innerHTML: vt }), 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: () => {
1378
+ e();
1379
+ } }, 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) => {
1380
+ const e = r.loyaltyIconUrl ? d("img", { class: "Badge", src: r.loyaltyIconUrl }) : r.hideIfNull ? "" : d("div", { class: "Badge" }), t = r.playerAvatarUrl || X("../static/user.svg");
1381
+ return d("div", { class: "PlayerAvatar", style: { position: `${r.onlyBadge ? "" : "relative"}` } }, !r.onlyBadge && d("img", { class: "Avatar", src: t }), e);
1382
+ };
1383
+ export {
1384
+ _t as P,
1385
+ Mt as a,
1386
+ Ct as b,
1387
+ bt as c,
1388
+ Tt as d,
1389
+ xt as e,
1390
+ re as g,
1391
+ g as r,
1392
+ p as t
1393
+ };