@everymatrix/player-account-controller 1.72.2 → 1.73.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-Dzu2Sl-x.cjs → GeneralLogout-CUey30IA.cjs} +5 -5
- package/components/{GeneralLogout-INWUDrak.js → GeneralLogout-D1d-15j9.js} +519 -448
- package/components/{GeneralLogout-BHj50gej.js → GeneralLogout-Dp0t5xiu.js} +490 -419
- package/components/{PlayerAccountBettingHistory-DVj3QpKW.js → PlayerAccountBettingHistory-D9Jkcu6g.js} +1 -1
- package/components/{PlayerAccountBettingHistory-6bdMRw7b.js → PlayerAccountBettingHistory-DIFqK_pJ.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BG5_gjSl.cjs → PlayerAccountBettingHistory-la7IEPsJ.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-C5pUACUE.js → PlayerAccountBiometrics-BiFD5dJF.js} +1 -1
- package/components/{PlayerAccountBiometrics-DkxwtpuF.js → PlayerAccountBiometrics-DW3O_c_d.js} +1 -1
- package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-E4avOt95.cjs} +1 -1
- package/components/{PlayerAccountClosure-D2ApiUXV.js → PlayerAccountClosure-CYKotuUN.js} +1 -1
- package/components/{PlayerAccountClosure-DoZ91aH2.cjs → PlayerAccountClosure-CuXaw1qa.cjs} +1 -1
- package/components/{PlayerAccountClosure-vPc-BArB.js → PlayerAccountClosure-MoMUkdm3.js} +1 -1
- package/components/{PlayerAccountController-KHpphNhD.js → PlayerAccountController-CXEFxLKE.js} +24 -24
- package/components/{PlayerAccountController-CUgHWWM7.cjs → PlayerAccountController-CZvVTVvF.cjs} +1 -1
- package/components/{PlayerAccountController-DOn1bwWW.js → PlayerAccountController-DY_qwsQr.js} +24 -24
- package/components/{PlayerAccountGamingLimits-BfrumTwY.js → PlayerAccountGamingLimits-BCDLNzea.js} +2 -2
- package/components/{PlayerAccountGamingLimits-DlA29Y4p.js → PlayerAccountGamingLimits-BWYiaPTb.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BIXEO8qU.cjs → PlayerAccountGamingLimits-CWXEw1xn.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-BDEiLyA5.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cg5ndunr.js → PlayerAccountGamingLimitsConfirmationModal-CfkLeqgC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-D5LstV9w.js → PlayerAccountGamingLimitsConfirmationModal-DQNgVygC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-vuv0-MMp.js → PlayerAccountGamingLimitsGroupEdit-BR3aaKKF.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-DN-VG2ye.js → PlayerAccountGamingLimitsGroupEdit-C6cPJtyS.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs → PlayerAccountGamingLimitsGroupEdit-Cf-jXwM4.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-B8TPjC1F.js → PlayerAccountGamingLimitsHistory2-B73ZKUp8.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-GRu_2NJ0.js → PlayerAccountGamingLimitsHistory2-C7iyCZTM.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs → PlayerAccountGamingLimitsHistory2-DoQnAbmO.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-8Ea7IE2K.js → PlayerAccountGamingLimitsInfoCard-5M2JHH5i.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs → PlayerAccountGamingLimitsInfoCard-CzmG8TN_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BfD6DDSB.js → PlayerAccountGamingLimitsInfoCard-DmtZXGWH.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CnUGDYRk.js → PlayerAccountGamingLimitsPage2Gm16-CzidzBZa.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B02A1fGD.js → PlayerAccountGamingLimitsPage2Gm16-DP4qBE2E.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dpo-wqo-.cjs → PlayerAccountGamingLimitsPage2Gm16-TnUX_EMA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BlVtbm__.js → PlayerAccountGamingLimitsPopup-CHgAjN-y.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-D6BfVLoR.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DPu9x2H3.js → PlayerAccountGamingLimitsPopup-VbPcz1m3.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-cJf0myiC.js → PlayerAccountGamingLimitsWrapper2-CNeGDcr8.js} +249 -249
- package/components/{PlayerAccountGamingLimitsWrapper2-B0QUbGaJ.cjs → PlayerAccountGamingLimitsWrapper2-D0DBTqeK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CqXn9yDd.js → PlayerAccountGamingLimitsWrapper2-Dh0Jk6Qi.js} +141 -143
- package/components/{PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs → PlayerAccountGeneralConfirmationModal-CeG-uqHr.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BksqLS7V.js → PlayerAccountGeneralConfirmationModal-CvAnXDvi.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-eHfDDGZk.js → PlayerAccountGeneralConfirmationModal-gPSZLtXl.js} +1 -1
- package/components/{PlayerAccountMenu-CE6Ej_rV.js → PlayerAccountMenu-Br1KAYkQ.js} +2 -2
- package/components/{PlayerAccountMenu-_Le7yvP5.cjs → PlayerAccountMenu-DM8wOriy.cjs} +1 -1
- package/components/{PlayerAccountMenu-Cp7Edaq0.js → PlayerAccountMenu-jeZrAHJj.js} +2 -2
- package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal-C70Mycg9.cjs} +1 -1
- package/components/{PlayerAccountModal-CrjAmgmN.js → PlayerAccountModal-CYOd9FYU.js} +1 -1
- package/components/{PlayerAccountModal-DYSDyLvm.js → PlayerAccountModal-D1wg99Qw.js} +1 -1
- package/components/{PlayerAccountNotifications-qIJQNyMm.js → PlayerAccountNotifications-Cfg1xDTQ.js} +1 -1
- package/components/{PlayerAccountNotifications-Cyle3r2h.cjs → PlayerAccountNotifications-IX9W_3ma.cjs} +1 -1
- package/components/{PlayerAccountNotifications-OyZ1fIUi.js → PlayerAccountNotifications-PfH7nA2H.js} +1 -1
- package/components/{PlayerAccountProductRestriction-L-vR790T.js → PlayerAccountProductRestriction-DAEgLLfj.js} +3 -3
- package/components/{PlayerAccountProductRestriction-BZ2Y4yzU.js → PlayerAccountProductRestriction-DHccZSdF.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DAWRutx-.cjs → PlayerAccountProductRestriction-DelhX1k_.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-BbzLUsju.js → PlayerAccountSelfExclusion-BH7hSpgV.js} +229 -230
- package/components/{PlayerAccountSelfExclusion-57yM165B.js → PlayerAccountSelfExclusion-Cc9Fc4JO.js} +256 -256
- package/components/{PlayerAccountSelfExclusion-CC2VhBEv.cjs → PlayerAccountSelfExclusion-DcUj_syr.cjs} +9 -9
- package/components/{PlayerAccountTimeout-DkAxWSDW.js → PlayerAccountTimeout-COoh9cGc.js} +3 -3
- package/components/{PlayerAccountTimeout-_Lu8UVrI.js → PlayerAccountTimeout-DGIQA85Z.js} +3 -3
- package/components/{PlayerAccountTimeout-BuNhODT0.cjs → PlayerAccountTimeout-T8dFJl2C.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DzDzN2T3.js → PlayerAccountTransactionsHistory-Cmnk4X1L.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-BBn9XxCH.cjs → PlayerAccountTransactionsHistory-Det_xKLb.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DMxqm4R9.js → PlayerAccountTransactionsHistory-Df0yJTtA.js} +3 -3
- package/components/{PlayerActiveBonuses-C9i5xuOt.js → PlayerActiveBonuses-CL7yH9nn.js} +2 -2
- package/components/{PlayerActiveBonuses-Dpef1XJD.cjs → PlayerActiveBonuses-CypcOO7I.cjs} +1 -1
- package/components/{PlayerActiveBonuses-Cz3aqMcu.js → PlayerActiveBonuses-kkUHfpR3.js} +2 -2
- package/components/{PlayerBonusCard-DatoS2En.js → PlayerBonusCard-Cdoq85xJ.js} +2 -2
- package/components/{PlayerBonusCard-lMeM3LSx.js → PlayerBonusCard-CgVnRcoQ.js} +2 -2
- package/components/{PlayerBonusCard-7dIqFpfg.cjs → PlayerBonusCard-DE6BCU2O.cjs} +1 -1
- package/components/{PlayerBonusHistory-BUUBhu5n.js → PlayerBonusHistory-BZ-3bL2J.js} +4 -4
- package/components/{PlayerBonusHistory-BVbwQ0Zf.js → PlayerBonusHistory-C-AZqipl.js} +4 -4
- package/components/{PlayerBonusHistory-D7tVCTah.cjs → PlayerBonusHistory-DxL9tz9I.cjs} +1 -1
- package/components/{PlayerChangePassword-BUYrlClk.js → PlayerChangePassword-9JsHHJA5.js} +1 -1
- package/components/{PlayerChangePassword-LgjKzYU1.cjs → PlayerChangePassword-BYUZU8wW.cjs} +1 -1
- package/components/{PlayerChangePassword-CGqqlwlb.js → PlayerChangePassword-QuelFUHA.js} +1 -1
- package/components/{PlayerDeposit-CTxatYEW.js → PlayerDeposit-BMI-t8Yz.js} +1 -1
- package/components/{PlayerDeposit-Dzg8Ltb1.cjs → PlayerDeposit-BhF3WSC-.cjs} +1 -1
- package/components/{PlayerDeposit-DQObc_n_.js → PlayerDeposit-M7P-3V7u.js} +1 -1
- package/components/{PlayerGamingHistory-BAeIZw2u.js → PlayerGamingHistory-BHbkXImx.js} +4 -4
- package/components/{PlayerGamingHistory-xZ8szCQB.js → PlayerGamingHistory-CC5otcY4.js} +4 -4
- package/components/{PlayerGamingHistory-CGte8rt6.cjs → PlayerGamingHistory-CxpOle7Y.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-Dek0JuV2.js → PlayerPendingWithdrawals-BTxQMknq.js} +1 -1
- package/components/{PlayerPendingWithdrawals-CuGt7dq1.js → PlayerPendingWithdrawals-C-0lkGS9.js} +1 -1
- package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-DreodXib.cjs} +1 -1
- package/components/{PlayerProfileInfo-C4dNo9s-.js → PlayerProfileInfo-BGEIwbsB.js} +1 -1
- package/components/{PlayerProfileInfo-DFw4ourA.cjs → PlayerProfileInfo-Bd6Ms-vS.cjs} +1 -1
- package/components/{PlayerProfileInfo-BI4jNmXN.js → PlayerProfileInfo-CsEvmJiO.js} +1 -1
- package/components/{PlayerRealityCheck-CS9oAjTQ.js → PlayerRealityCheck-BUsjxpn1.js} +1 -1
- package/components/{PlayerRealityCheck-8KkrG0sn.js → PlayerRealityCheck-DgKGN-x1.js} +1 -1
- package/components/{PlayerRealityCheck-Dr_ZpTwE.cjs → PlayerRealityCheck-xMuEFtt1.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Cw0GAF5l.js → PlayerTransactionHistory-B-HCsFuJ.js} +1 -1
- package/components/{PlayerTransactionHistory-D7aVTCre.js → PlayerTransactionHistory-BJ5ico8T.js} +1 -1
- package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-DmL-_293.cjs} +1 -1
- package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-B2WqUhR-.cjs} +1 -1
- package/components/{PlayerWithdrawal-BPfYoISW.js → PlayerWithdrawal-BCTRlY2f.js} +1 -1
- package/components/{PlayerWithdrawal-C7mFHGlW.js → PlayerWithdrawal-BgP63Lx7.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-1ef3a64c-B7_EyQDJ.cjs → index-1ef3a64c-DR7bpfUj.cjs} +1 -1
- package/stencil/{index-1ef3a64c-BMK3b66v.js → index-1ef3a64c-HE2lDlEL.js} +1 -1
- package/stencil/{index-1ef3a64c-Cs1oM3tK.js → index-1ef3a64c-zEGNB-u8.js} +1 -1
- package/stencil/{index-7c5e707a-BM4sfR0h.js → index-7c5e707a-2YIJtUZe.js} +1 -1
- package/stencil/{index-7c5e707a-2AC9SnQ7.js → index-7c5e707a-DGb2dQ60.js} +1 -1
- package/stencil/{index-7c5e707a-Cw-c3Bke.cjs → index-7c5e707a-_iYAV2Cv.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-B5PikBDs.cjs → user-deposit-withdrawal-BuFBx-hr.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-mAQqyXGF.js → user-deposit-withdrawal-Cr0-V-2c.js} +135 -145
- package/stencil/{user-deposit-withdrawal-BftWiELv.js → user-deposit-withdrawal-DdJYJeX1.js} +161 -171
- package/stencil/user-transaction-history-BhBMJPP0.cjs +1 -0
- package/stencil/{user-transaction-history-Dpd_aKdj.js → user-transaction-history-CQuIy63_.js} +96 -92
- package/stencil/{user-transaction-history-7_yFZr3w.js → user-transaction-history-DBXbHHd_.js} +94 -90
- package/stencil/user-transaction-history-DZZT2rYX.cjs +0 -1
package/stencil/{user-transaction-history-Dpd_aKdj.js → user-transaction-history-CQuIy63_.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as rt, p as it, r as ot, g as
|
|
2
|
-
import { d as
|
|
3
|
-
var
|
|
1
|
+
import { b as rt, p as it, r as ot, g as R, h as s, H as st, a as lt } from "./index-7c5e707a-DGb2dQ60.js";
|
|
2
|
+
import { d as ut } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
3
|
+
var dt = () => {
|
|
4
4
|
const e = import.meta.url, t = {};
|
|
5
5
|
return e !== "" && (t.resourcesUrl = new URL(".", e).href), it(t);
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
dt().then(async (e) => (await ut(), rt([["user-transaction-history", [[1, "user-transaction-history", { endpoint: [513], session: [513], language: [513], userId: [513, "user-id"], translationUrl: [513, "translation-url"], mobile: [516], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], mbSource: [513, "mb-source"], dateFormat: [513, "date-format"], page: [32], pageSize: [32], showMobileFilter: [32], to: [32], from: [32], type: [32], transactions: [32], showLoader: [32] }, [[9, "resize", "getComponentHeight"]], { page: ["watchMultiple"], type: ["watchMultiple"], session: ["watchMultiple"], userId: ["watchMultiple"], pageSize: ["watchMultiple"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"], showMobileFilter: ["getComponentHeight"] }]]]], e)));
|
|
8
8
|
const ct = {
|
|
9
9
|
en: {
|
|
10
10
|
deposit: "Deposit",
|
|
@@ -18,7 +18,8 @@ const ct = {
|
|
|
18
18
|
amount: "Amount",
|
|
19
19
|
productType: "Product Type",
|
|
20
20
|
status: "Status",
|
|
21
|
-
noData: "There are no account activities"
|
|
21
|
+
noData: "There are no account activities",
|
|
22
|
+
back: "Back"
|
|
22
23
|
},
|
|
23
24
|
hr: {
|
|
24
25
|
deposit: "Uplate",
|
|
@@ -32,7 +33,8 @@ const ct = {
|
|
|
32
33
|
amount: "Iznos",
|
|
33
34
|
productType: "Vrsta proizvoda",
|
|
34
35
|
status: "Status",
|
|
35
|
-
noData: "Nema aktivnosti na računu"
|
|
36
|
+
noData: "Nema aktivnosti na računu",
|
|
37
|
+
back: "Geri"
|
|
36
38
|
}
|
|
37
39
|
};
|
|
38
40
|
class l {
|
|
@@ -166,64 +168,64 @@ function xt(e) {
|
|
|
166
168
|
return Math.round(a / yt) + 1;
|
|
167
169
|
}
|
|
168
170
|
var Tt = {};
|
|
169
|
-
function
|
|
171
|
+
function L() {
|
|
170
172
|
return Tt;
|
|
171
173
|
}
|
|
172
|
-
function
|
|
173
|
-
var a, n, r, i, o,
|
|
174
|
+
function B(e, t) {
|
|
175
|
+
var a, n, r, i, o, d, c, h;
|
|
174
176
|
v(1, arguments);
|
|
175
|
-
var m =
|
|
177
|
+
var m = L(), f = k((a = (n = (r = (i = t?.weekStartsOn) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (d = o.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && r !== void 0 ? r : m.weekStartsOn) !== null && n !== void 0 ? n : (c = m.locale) === null || c === void 0 || (h = c.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
176
178
|
if (!(f >= 0 && f <= 6))
|
|
177
179
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
178
180
|
var p = y(e), g = p.getUTCDay(), w = (g < f ? 7 : 0) + g - f;
|
|
179
181
|
return p.setUTCDate(p.getUTCDate() - w), p.setUTCHours(0, 0, 0, 0), p;
|
|
180
182
|
}
|
|
181
183
|
function V(e, t) {
|
|
182
|
-
var a, n, r, i, o,
|
|
184
|
+
var a, n, r, i, o, d, c, h;
|
|
183
185
|
v(1, arguments);
|
|
184
|
-
var m = y(e), f = m.getUTCFullYear(), p =
|
|
186
|
+
var m = y(e), f = m.getUTCFullYear(), p = L(), g = k((a = (n = (r = (i = t?.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (d = o.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && r !== void 0 ? r : p.firstWeekContainsDate) !== null && n !== void 0 ? n : (c = p.locale) === null || c === void 0 || (h = c.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
185
187
|
if (!(g >= 1 && g <= 7))
|
|
186
188
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
187
189
|
var w = /* @__PURE__ */ new Date(0);
|
|
188
190
|
w.setUTCFullYear(f + 1, 0, g), w.setUTCHours(0, 0, 0, 0);
|
|
189
|
-
var
|
|
191
|
+
var D = B(w, t), C = /* @__PURE__ */ new Date(0);
|
|
190
192
|
C.setUTCFullYear(f, 0, g), C.setUTCHours(0, 0, 0, 0);
|
|
191
|
-
var $ =
|
|
192
|
-
return m.getTime() >=
|
|
193
|
+
var $ = B(C, t);
|
|
194
|
+
return m.getTime() >= D.getTime() ? f + 1 : m.getTime() >= $.getTime() ? f : f - 1;
|
|
193
195
|
}
|
|
194
196
|
function Ct(e, t) {
|
|
195
|
-
var a, n, r, i, o,
|
|
197
|
+
var a, n, r, i, o, d, c, h;
|
|
196
198
|
v(1, arguments);
|
|
197
|
-
var m =
|
|
199
|
+
var m = L(), f = k((a = (n = (r = (i = t?.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (d = o.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && r !== void 0 ? r : m.firstWeekContainsDate) !== null && n !== void 0 ? n : (c = m.locale) === null || c === void 0 || (h = c.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = V(e, t), g = /* @__PURE__ */ new Date(0);
|
|
198
200
|
g.setUTCFullYear(p, 0, f), g.setUTCHours(0, 0, 0, 0);
|
|
199
|
-
var w =
|
|
201
|
+
var w = B(g, t);
|
|
200
202
|
return w;
|
|
201
203
|
}
|
|
202
204
|
var St = 6048e5;
|
|
203
205
|
function kt(e, t) {
|
|
204
206
|
v(1, arguments);
|
|
205
|
-
var a = y(e), n =
|
|
207
|
+
var a = y(e), n = B(a, t).getTime() - Ct(a, t).getTime();
|
|
206
208
|
return Math.round(n / St) + 1;
|
|
207
209
|
}
|
|
208
|
-
function
|
|
210
|
+
function u(e, t) {
|
|
209
211
|
for (var a = e < 0 ? "-" : "", n = Math.abs(e).toString(); n.length < t; )
|
|
210
212
|
n = "0" + n;
|
|
211
213
|
return a + n;
|
|
212
214
|
}
|
|
213
|
-
var
|
|
215
|
+
var Mt = {
|
|
214
216
|
// Year
|
|
215
217
|
y: function(t, a) {
|
|
216
218
|
var n = t.getUTCFullYear(), r = n > 0 ? n : 1 - n;
|
|
217
|
-
return
|
|
219
|
+
return u(a === "yy" ? r % 100 : r, a.length);
|
|
218
220
|
},
|
|
219
221
|
// Month
|
|
220
222
|
M: function(t, a) {
|
|
221
223
|
var n = t.getUTCMonth();
|
|
222
|
-
return a === "M" ? String(n + 1) :
|
|
224
|
+
return a === "M" ? String(n + 1) : u(n + 1, 2);
|
|
223
225
|
},
|
|
224
226
|
// Day of the month
|
|
225
227
|
d: function(t, a) {
|
|
226
|
-
return
|
|
228
|
+
return u(t.getUTCDate(), a.length);
|
|
227
229
|
},
|
|
228
230
|
// AM or PM
|
|
229
231
|
a: function(t, a) {
|
|
@@ -243,35 +245,35 @@ var Dt = {
|
|
|
243
245
|
},
|
|
244
246
|
// Hour [1-12]
|
|
245
247
|
h: function(t, a) {
|
|
246
|
-
return
|
|
248
|
+
return u(t.getUTCHours() % 12 || 12, a.length);
|
|
247
249
|
},
|
|
248
250
|
// Hour [0-23]
|
|
249
251
|
H: function(t, a) {
|
|
250
|
-
return
|
|
252
|
+
return u(t.getUTCHours(), a.length);
|
|
251
253
|
},
|
|
252
254
|
// Minute
|
|
253
255
|
m: function(t, a) {
|
|
254
|
-
return
|
|
256
|
+
return u(t.getUTCMinutes(), a.length);
|
|
255
257
|
},
|
|
256
258
|
// Second
|
|
257
259
|
s: function(t, a) {
|
|
258
|
-
return
|
|
260
|
+
return u(t.getUTCSeconds(), a.length);
|
|
259
261
|
},
|
|
260
262
|
// Fraction of second
|
|
261
263
|
S: function(t, a) {
|
|
262
264
|
var n = a.length, r = t.getUTCMilliseconds(), i = Math.floor(r * Math.pow(10, n - 3));
|
|
263
|
-
return
|
|
265
|
+
return u(i, a.length);
|
|
264
266
|
}
|
|
265
267
|
};
|
|
266
|
-
const T =
|
|
267
|
-
var
|
|
268
|
+
const T = Mt;
|
|
269
|
+
var M = {
|
|
268
270
|
midnight: "midnight",
|
|
269
271
|
noon: "noon",
|
|
270
272
|
morning: "morning",
|
|
271
273
|
afternoon: "afternoon",
|
|
272
274
|
evening: "evening",
|
|
273
275
|
night: "night"
|
|
274
|
-
},
|
|
276
|
+
}, Dt = {
|
|
275
277
|
// Era
|
|
276
278
|
G: function(t, a, n) {
|
|
277
279
|
var r = t.getUTCFullYear() > 0 ? 1 : 0;
|
|
@@ -307,17 +309,17 @@ var D = {
|
|
|
307
309
|
Y: function(t, a, n, r) {
|
|
308
310
|
var i = V(t, r), o = i > 0 ? i : 1 - i;
|
|
309
311
|
if (a === "YY") {
|
|
310
|
-
var
|
|
311
|
-
return d
|
|
312
|
+
var d = o % 100;
|
|
313
|
+
return u(d, 2);
|
|
312
314
|
}
|
|
313
315
|
return a === "Yo" ? n.ordinalNumber(o, {
|
|
314
316
|
unit: "year"
|
|
315
|
-
}) :
|
|
317
|
+
}) : u(o, a.length);
|
|
316
318
|
},
|
|
317
319
|
// ISO week-numbering year
|
|
318
320
|
R: function(t, a) {
|
|
319
321
|
var n = G(t);
|
|
320
|
-
return
|
|
322
|
+
return u(n, a.length);
|
|
321
323
|
},
|
|
322
324
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
323
325
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -330,7 +332,7 @@ var D = {
|
|
|
330
332
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
331
333
|
u: function(t, a) {
|
|
332
334
|
var n = t.getUTCFullYear();
|
|
333
|
-
return
|
|
335
|
+
return u(n, a.length);
|
|
334
336
|
},
|
|
335
337
|
// Quarter
|
|
336
338
|
Q: function(t, a, n) {
|
|
@@ -339,7 +341,7 @@ var D = {
|
|
|
339
341
|
case "Q":
|
|
340
342
|
return String(r);
|
|
341
343
|
case "QQ":
|
|
342
|
-
return
|
|
344
|
+
return u(r, 2);
|
|
343
345
|
case "Qo":
|
|
344
346
|
return n.ordinalNumber(r, {
|
|
345
347
|
unit: "quarter"
|
|
@@ -369,7 +371,7 @@ var D = {
|
|
|
369
371
|
case "q":
|
|
370
372
|
return String(r);
|
|
371
373
|
case "qq":
|
|
372
|
-
return
|
|
374
|
+
return u(r, 2);
|
|
373
375
|
case "qo":
|
|
374
376
|
return n.ordinalNumber(r, {
|
|
375
377
|
unit: "quarter"
|
|
@@ -428,7 +430,7 @@ var D = {
|
|
|
428
430
|
case "L":
|
|
429
431
|
return String(r + 1);
|
|
430
432
|
case "LL":
|
|
431
|
-
return
|
|
433
|
+
return u(r + 1, 2);
|
|
432
434
|
case "Lo":
|
|
433
435
|
return n.ordinalNumber(r + 1, {
|
|
434
436
|
unit: "month"
|
|
@@ -456,14 +458,14 @@ var D = {
|
|
|
456
458
|
var i = kt(t, r);
|
|
457
459
|
return a === "wo" ? n.ordinalNumber(i, {
|
|
458
460
|
unit: "week"
|
|
459
|
-
}) :
|
|
461
|
+
}) : u(i, a.length);
|
|
460
462
|
},
|
|
461
463
|
// ISO week of year
|
|
462
464
|
I: function(t, a, n) {
|
|
463
465
|
var r = xt(t);
|
|
464
466
|
return a === "Io" ? n.ordinalNumber(r, {
|
|
465
467
|
unit: "week"
|
|
466
|
-
}) :
|
|
468
|
+
}) : u(r, a.length);
|
|
467
469
|
},
|
|
468
470
|
// Day of the month
|
|
469
471
|
d: function(t, a, n) {
|
|
@@ -476,7 +478,7 @@ var D = {
|
|
|
476
478
|
var r = bt(t);
|
|
477
479
|
return a === "Do" ? n.ordinalNumber(r, {
|
|
478
480
|
unit: "dayOfYear"
|
|
479
|
-
}) :
|
|
481
|
+
}) : u(r, a.length);
|
|
480
482
|
},
|
|
481
483
|
// Day of week
|
|
482
484
|
E: function(t, a, n) {
|
|
@@ -514,7 +516,7 @@ var D = {
|
|
|
514
516
|
case "e":
|
|
515
517
|
return String(o);
|
|
516
518
|
case "ee":
|
|
517
|
-
return
|
|
519
|
+
return u(o, 2);
|
|
518
520
|
case "eo":
|
|
519
521
|
return n.ordinalNumber(o, {
|
|
520
522
|
unit: "day"
|
|
@@ -549,7 +551,7 @@ var D = {
|
|
|
549
551
|
case "c":
|
|
550
552
|
return String(o);
|
|
551
553
|
case "cc":
|
|
552
|
-
return
|
|
554
|
+
return u(o, a.length);
|
|
553
555
|
case "co":
|
|
554
556
|
return n.ordinalNumber(o, {
|
|
555
557
|
unit: "day"
|
|
@@ -584,7 +586,7 @@ var D = {
|
|
|
584
586
|
case "i":
|
|
585
587
|
return String(i);
|
|
586
588
|
case "ii":
|
|
587
|
-
return
|
|
589
|
+
return u(i, a.length);
|
|
588
590
|
case "io":
|
|
589
591
|
return n.ordinalNumber(i, {
|
|
590
592
|
unit: "day"
|
|
@@ -643,7 +645,7 @@ var D = {
|
|
|
643
645
|
// AM, PM, midnight, noon
|
|
644
646
|
b: function(t, a, n) {
|
|
645
647
|
var r = t.getUTCHours(), i;
|
|
646
|
-
switch (r === 12 ? i =
|
|
648
|
+
switch (r === 12 ? i = M.noon : r === 0 ? i = M.midnight : i = r / 12 >= 1 ? "pm" : "am", a) {
|
|
647
649
|
case "b":
|
|
648
650
|
case "bb":
|
|
649
651
|
return n.dayPeriod(i, {
|
|
@@ -671,7 +673,7 @@ var D = {
|
|
|
671
673
|
// in the morning, in the afternoon, in the evening, at night
|
|
672
674
|
B: function(t, a, n) {
|
|
673
675
|
var r = t.getUTCHours(), i;
|
|
674
|
-
switch (r >= 17 ? i =
|
|
676
|
+
switch (r >= 17 ? i = M.evening : r >= 12 ? i = M.afternoon : r >= 4 ? i = M.morning : i = M.night, a) {
|
|
675
677
|
case "B":
|
|
676
678
|
case "BB":
|
|
677
679
|
case "BBB":
|
|
@@ -713,14 +715,14 @@ var D = {
|
|
|
713
715
|
var r = t.getUTCHours() % 12;
|
|
714
716
|
return a === "Ko" ? n.ordinalNumber(r, {
|
|
715
717
|
unit: "hour"
|
|
716
|
-
}) :
|
|
718
|
+
}) : u(r, a.length);
|
|
717
719
|
},
|
|
718
720
|
// Hour [1-24]
|
|
719
721
|
k: function(t, a, n) {
|
|
720
722
|
var r = t.getUTCHours();
|
|
721
723
|
return r === 0 && (r = 24), a === "ko" ? n.ordinalNumber(r, {
|
|
722
724
|
unit: "hour"
|
|
723
|
-
}) :
|
|
725
|
+
}) : u(r, a.length);
|
|
724
726
|
},
|
|
725
727
|
// Minute
|
|
726
728
|
m: function(t, a, n) {
|
|
@@ -777,7 +779,7 @@ var D = {
|
|
|
777
779
|
case "O":
|
|
778
780
|
case "OO":
|
|
779
781
|
case "OOO":
|
|
780
|
-
return "GMT" +
|
|
782
|
+
return "GMT" + q(o, ":");
|
|
781
783
|
case "OOOO":
|
|
782
784
|
default:
|
|
783
785
|
return "GMT" + S(o, ":");
|
|
@@ -790,7 +792,7 @@ var D = {
|
|
|
790
792
|
case "z":
|
|
791
793
|
case "zz":
|
|
792
794
|
case "zzz":
|
|
793
|
-
return "GMT" +
|
|
795
|
+
return "GMT" + q(o, ":");
|
|
794
796
|
case "zzzz":
|
|
795
797
|
default:
|
|
796
798
|
return "GMT" + S(o, ":");
|
|
@@ -799,33 +801,33 @@ var D = {
|
|
|
799
801
|
// Seconds timestamp
|
|
800
802
|
t: function(t, a, n, r) {
|
|
801
803
|
var i = r._originalDate || t, o = Math.floor(i.getTime() / 1e3);
|
|
802
|
-
return
|
|
804
|
+
return u(o, a.length);
|
|
803
805
|
},
|
|
804
806
|
// Milliseconds timestamp
|
|
805
807
|
T: function(t, a, n, r) {
|
|
806
808
|
var i = r._originalDate || t, o = i.getTime();
|
|
807
|
-
return
|
|
809
|
+
return u(o, a.length);
|
|
808
810
|
}
|
|
809
811
|
};
|
|
810
|
-
function
|
|
812
|
+
function q(e, t) {
|
|
811
813
|
var a = e > 0 ? "-" : "+", n = Math.abs(e), r = Math.floor(n / 60), i = n % 60;
|
|
812
814
|
if (i === 0)
|
|
813
815
|
return a + String(r);
|
|
814
816
|
var o = t;
|
|
815
|
-
return a + String(r) + o +
|
|
817
|
+
return a + String(r) + o + u(i, 2);
|
|
816
818
|
}
|
|
817
819
|
function j(e, t) {
|
|
818
820
|
if (e % 60 === 0) {
|
|
819
821
|
var a = e > 0 ? "-" : "+";
|
|
820
|
-
return a +
|
|
822
|
+
return a + u(Math.abs(e) / 60, 2);
|
|
821
823
|
}
|
|
822
824
|
return S(e, t);
|
|
823
825
|
}
|
|
824
826
|
function S(e, t) {
|
|
825
|
-
var a = t || "", n = e > 0 ? "-" : "+", r = Math.abs(e), i =
|
|
827
|
+
var a = t || "", n = e > 0 ? "-" : "+", r = Math.abs(e), i = u(Math.floor(r / 60), 2), o = u(r % 60, 2);
|
|
826
828
|
return n + i + a + o;
|
|
827
829
|
}
|
|
828
|
-
const Ot =
|
|
830
|
+
const Ot = Dt;
|
|
829
831
|
var z = function(t, a) {
|
|
830
832
|
switch (t) {
|
|
831
833
|
case "P":
|
|
@@ -908,7 +910,7 @@ var Et = ["D", "DD"], Yt = ["YY", "YYYY"];
|
|
|
908
910
|
function _t(e) {
|
|
909
911
|
return Et.indexOf(e) !== -1;
|
|
910
912
|
}
|
|
911
|
-
function
|
|
913
|
+
function Bt(e) {
|
|
912
914
|
return Yt.indexOf(e) !== -1;
|
|
913
915
|
}
|
|
914
916
|
function A(e, t, a) {
|
|
@@ -921,7 +923,7 @@ function A(e, t, a) {
|
|
|
921
923
|
if (e === "DD")
|
|
922
924
|
throw new RangeError("Use `dd` instead of `DD` (in `".concat(t, "`) for formatting days of the month to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
|
|
923
925
|
}
|
|
924
|
-
var
|
|
926
|
+
var Lt = {
|
|
925
927
|
lessThanXSeconds: {
|
|
926
928
|
one: "less than a second",
|
|
927
929
|
other: "less than {{count}} seconds"
|
|
@@ -984,7 +986,7 @@ var Bt = {
|
|
|
984
986
|
other: "almost {{count}} years"
|
|
985
987
|
}
|
|
986
988
|
}, $t = function(t, a, n) {
|
|
987
|
-
var r, i =
|
|
989
|
+
var r, i = Lt[t];
|
|
988
990
|
return typeof i == "string" ? r = i : a === 1 ? r = i.one : r = i.other.replace("{{count}}", a.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
|
|
989
991
|
};
|
|
990
992
|
const Nt = $t;
|
|
@@ -1004,12 +1006,12 @@ var Ht = {
|
|
|
1004
1006
|
long: "h:mm:ss a z",
|
|
1005
1007
|
medium: "h:mm:ss a",
|
|
1006
1008
|
short: "h:mm a"
|
|
1007
|
-
},
|
|
1009
|
+
}, Rt = {
|
|
1008
1010
|
full: "{{date}} 'at' {{time}}",
|
|
1009
1011
|
long: "{{date}} 'at' {{time}}",
|
|
1010
1012
|
medium: "{{date}}, {{time}}",
|
|
1011
1013
|
short: "{{date}}, {{time}}"
|
|
1012
|
-
},
|
|
1014
|
+
}, qt = {
|
|
1013
1015
|
date: I({
|
|
1014
1016
|
formats: Ht,
|
|
1015
1017
|
defaultWidth: "full"
|
|
@@ -1019,11 +1021,11 @@ var Ht = {
|
|
|
1019
1021
|
defaultWidth: "full"
|
|
1020
1022
|
}),
|
|
1021
1023
|
dateTime: I({
|
|
1022
|
-
formats:
|
|
1024
|
+
formats: Rt,
|
|
1023
1025
|
defaultWidth: "full"
|
|
1024
1026
|
})
|
|
1025
1027
|
};
|
|
1026
|
-
const jt =
|
|
1028
|
+
const jt = qt;
|
|
1027
1029
|
var zt = {
|
|
1028
1030
|
lastWeek: "'last' eeee 'at' p",
|
|
1029
1031
|
yesterday: "'yesterday at' p",
|
|
@@ -1042,8 +1044,8 @@ function U(e) {
|
|
|
1042
1044
|
var i = e.defaultFormattingWidth || e.defaultWidth, o = a != null && a.width ? String(a.width) : i;
|
|
1043
1045
|
r = e.formattingValues[o] || e.formattingValues[i];
|
|
1044
1046
|
} else {
|
|
1045
|
-
var
|
|
1046
|
-
r = e.values[c] || e.values[
|
|
1047
|
+
var d = e.defaultWidth, c = a != null && a.width ? String(a.width) : e.defaultWidth;
|
|
1048
|
+
r = e.values[c] || e.values[d];
|
|
1047
1049
|
}
|
|
1048
1050
|
var h = e.argumentCallback ? e.argumentCallback(t) : t;
|
|
1049
1051
|
return r[h];
|
|
@@ -1174,9 +1176,9 @@ function W(e) {
|
|
|
1174
1176
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.width, r = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], i = t.match(r);
|
|
1175
1177
|
if (!i)
|
|
1176
1178
|
return null;
|
|
1177
|
-
var o = i[0],
|
|
1179
|
+
var o = i[0], d = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(d) ? re(d, function(f) {
|
|
1178
1180
|
return f.test(o);
|
|
1179
|
-
}) : ne(
|
|
1181
|
+
}) : ne(d, function(f) {
|
|
1180
1182
|
return f.test(o);
|
|
1181
1183
|
}), h;
|
|
1182
1184
|
h = e.valueCallback ? e.valueCallback(c) : c, h = a.valueCallback ? a.valueCallback(h) : h;
|
|
@@ -1207,10 +1209,10 @@ function ie(e) {
|
|
|
1207
1209
|
return null;
|
|
1208
1210
|
var o = e.valueCallback ? e.valueCallback(i[0]) : i[0];
|
|
1209
1211
|
o = a.valueCallback ? a.valueCallback(o) : o;
|
|
1210
|
-
var
|
|
1212
|
+
var d = t.slice(r.length);
|
|
1211
1213
|
return {
|
|
1212
1214
|
value: o,
|
|
1213
|
-
rest:
|
|
1215
|
+
rest: d
|
|
1214
1216
|
};
|
|
1215
1217
|
};
|
|
1216
1218
|
}
|
|
@@ -1218,9 +1220,9 @@ var oe = /^(\d+)(th|st|nd|rd)?/i, se = /\d+/i, le = {
|
|
|
1218
1220
|
narrow: /^(b|a)/i,
|
|
1219
1221
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
1220
1222
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
1221
|
-
}, de = {
|
|
1222
|
-
any: [/^b/i, /^(a|c)/i]
|
|
1223
1223
|
}, ue = {
|
|
1224
|
+
any: [/^b/i, /^(a|c)/i]
|
|
1225
|
+
}, de = {
|
|
1224
1226
|
narrow: /^[1234]/i,
|
|
1225
1227
|
abbreviated: /^q[1234]/i,
|
|
1226
1228
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
@@ -1266,11 +1268,11 @@ var oe = /^(\d+)(th|st|nd|rd)?/i, se = /\d+/i, le = {
|
|
|
1266
1268
|
era: W({
|
|
1267
1269
|
matchPatterns: le,
|
|
1268
1270
|
defaultMatchWidth: "wide",
|
|
1269
|
-
parsePatterns:
|
|
1271
|
+
parsePatterns: ue,
|
|
1270
1272
|
defaultParseWidth: "any"
|
|
1271
1273
|
}),
|
|
1272
1274
|
quarter: W({
|
|
1273
|
-
matchPatterns:
|
|
1275
|
+
matchPatterns: de,
|
|
1274
1276
|
defaultMatchWidth: "wide",
|
|
1275
1277
|
parsePatterns: ce,
|
|
1276
1278
|
defaultParseWidth: "any",
|
|
@@ -1311,14 +1313,14 @@ var ye = {
|
|
|
1311
1313
|
}
|
|
1312
1314
|
};
|
|
1313
1315
|
const xe = ye;
|
|
1314
|
-
var Te = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ce = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Se = /^'([^]*?)'?$/, ke = /''/g,
|
|
1315
|
-
function
|
|
1316
|
-
var n, r, i, o,
|
|
1316
|
+
var Te = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ce = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Se = /^'([^]*?)'?$/, ke = /''/g, Me = /[a-zA-Z]/;
|
|
1317
|
+
function De(e, t, a) {
|
|
1318
|
+
var n, r, i, o, d, c, h, m, f, p, g, w, D, C;
|
|
1317
1319
|
v(2, arguments);
|
|
1318
|
-
var $ = String(t), O =
|
|
1320
|
+
var $ = String(t), O = L(), P = (n = (r = void 0) !== null && r !== void 0 ? r : O.locale) !== null && n !== void 0 ? n : xe, N = k((i = (o = (d = (c = void 0) !== null && c !== void 0 ? c : void 0) !== null && d !== void 0 ? d : O.firstWeekContainsDate) !== null && o !== void 0 ? o : (h = O.locale) === null || h === void 0 || (m = h.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
|
|
1319
1321
|
if (!(N >= 1 && N <= 7))
|
|
1320
1322
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1321
|
-
var H = k((f = (p = (g = (w = void 0) !== null && w !== void 0 ? w : void 0) !== null && g !== void 0 ? g : O.weekStartsOn) !== null && p !== void 0 ? p : (
|
|
1323
|
+
var H = k((f = (p = (g = (w = void 0) !== null && w !== void 0 ? w : void 0) !== null && g !== void 0 ? g : O.weekStartsOn) !== null && p !== void 0 ? p : (D = O.locale) === null || D === void 0 || (C = D.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && f !== void 0 ? f : 0);
|
|
1322
1324
|
if (!(H >= 0 && H <= 6))
|
|
1323
1325
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1324
1326
|
if (!P.localize)
|
|
@@ -1348,8 +1350,8 @@ function Me(e, t, a) {
|
|
|
1348
1350
|
return Oe(b);
|
|
1349
1351
|
var E = Ot[x];
|
|
1350
1352
|
if (E)
|
|
1351
|
-
return
|
|
1352
|
-
if (x.match(
|
|
1353
|
+
return Bt(b) && A(b, t, String(e)), _t(b) && A(b, t, String(e)), E(et, b, P.localize, at);
|
|
1354
|
+
if (x.match(Me))
|
|
1353
1355
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + x + "`");
|
|
1354
1356
|
return b;
|
|
1355
1357
|
}).join("");
|
|
@@ -1363,7 +1365,7 @@ class K {
|
|
|
1363
1365
|
constructor() {
|
|
1364
1366
|
}
|
|
1365
1367
|
static dateToFormatedString(t, a) {
|
|
1366
|
-
const n = a ?
|
|
1368
|
+
const n = a ? De(t, a) : t.toLocaleDateString("en-gb"), r = t.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", hour12: !1 });
|
|
1367
1369
|
return `${n}, ${r}`;
|
|
1368
1370
|
}
|
|
1369
1371
|
}
|
|
@@ -1413,7 +1415,7 @@ const Pe = (e) => s(
|
|
|
1413
1415
|
let r, i;
|
|
1414
1416
|
const o = () => {
|
|
1415
1417
|
e = r.value;
|
|
1416
|
-
},
|
|
1418
|
+
}, d = () => {
|
|
1417
1419
|
t = i.value;
|
|
1418
1420
|
};
|
|
1419
1421
|
return s(
|
|
@@ -1439,7 +1441,7 @@ const Pe = (e) => s(
|
|
|
1439
1441
|
s(
|
|
1440
1442
|
"div",
|
|
1441
1443
|
{ class: "date-input" },
|
|
1442
|
-
s("vaadin-date-picker", { value: t, ref: (c) => i = c, label: l.translate("to", n), onChange:
|
|
1444
|
+
s("vaadin-date-picker", { value: t, ref: (c) => i = c, label: l.translate("to", n), onChange: d })
|
|
1443
1445
|
),
|
|
1444
1446
|
s("button", { class: "filter-btn", onClick: () => a(e, t) }, l.translate("filter", n))
|
|
1445
1447
|
)
|
|
@@ -1509,9 +1511,11 @@ function Ee(e, t, a) {
|
|
|
1509
1511
|
});
|
|
1510
1512
|
}
|
|
1511
1513
|
}
|
|
1512
|
-
const Ye = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--hoverBackground:#ffffff;--background:#e4e6e8;--success:#7ac345;--heightScrollableContainer:400px;--borderColor:#d3d3d3;--borderColorButton:#c4c4c4;--textColor:#002554;--textColorHover:#7ac345;--errorColor:#c23b21;--loaderColor:#7ac345;--headerTableBackground:#cdcdcd;--borderTable:#dedede;--shadowBorderTable:#f1f1f1;--backgroundTable:#ffffff;font-family:Roboto, Arial, sans-serif;font-size:14px;color:var(--textColor);display:block;background-color:var(--background)}:host .wrapper{height:100%;padding:1rem}:host .types{display:flex;width:100%;gap:5px}:host .transaction-type{background:inherit;font-weight:600;padding:0.6rem 1.6rem;border:1px solid #6c757d;cursor:pointer}:host .transaction-type:hover{color:var(--activeButtonBackground);border-color:var(--activeButtonBackground);background:var(--hoverBackground)}:host .clicked{background-color:var(--activeButtonBackground);border-color:var(--activeButtonBackground)}:host .types-mobile{justify-content:center;margin-bottom:15px}:host .types-desktop{justify-content:flex-end;margin-bottom:3rem}:host .page-size{display:flex;width:100%;justify-content:flex-end;align-items:center}:host .page-size button{background:transparent;border:none;cursor:pointer;margin:0.4rem;width:2rem;height:2rem}:host .page-size button:hover{color:var(--textColorHover)}:host .page-size button.active{background:var(--activeButtonBackground);color:var(--textColor);font-weight:600;border-radius:0.4rem}:host .period{display:flex;width:100%;align-items:flex-end;justify-content:center;gap:10px;background:#f0f0f0;border-bottom:2px solid #e9e9e9;padding:1.6rem 0 0;margin-bottom:4rem}@media (max-width: 801px){:host .period{margin-bottom:0;flex-direction:column;align-items:stretch;width:auto;padding:1.4rem 2.8rem;box-shadow:0 4px 5px 0 rgba(90, 90, 90, 0.24)}}:host .period .range{color:var(--errorColor)}:host .period .filter-btn{height:40px;background:transparent;border:0.1rem solid var(--borderColorButton);min-width:12rem;max-width:17rem;cursor:pointer}@media (max-width: 801px){:host .period .filter-btn{max-width:none;min-width:none;margin-top:1rem}}:host .period .filter-btn:hover{border:none;background:var(--hoverBackground)}:host .period .duet-date__input{padding:7px 60px 7px 7px}:host .period+button{padding:9px 15px}:host .period-content{display:flex;flex-direction:row;width:100%;justify-content:center;align-items:flex-end;margin:0 auto 1.6rem}@media (max-width: 801px){:host .period-content{flex-direction:column;align-items:stretch}}:host .period-content span{height:40px;display:flex;align-items:center;justify-content:center}@media (max-width: 801px){:host .period-content span{display:none}}:host .period-content .filter-btn{margin-left:60px}@media (max-width: 801px){:host .period-content .filter-btn{margin-left:0}}:host .period-content .date-input{padding:0 4px}@media (max-width: 801px){:host .period-content .date-input{width:auto}:host .period-content .date-input:first-child{margin-bottom:0.5rem}}:host .period-content .date-input label{display:inline-block;margin-bottom:0.9rem}:host .period-content .date-input input{border:0.1rem solid var(--borderColor);box-sizing:border-box;border-radius:0.2rem}:host .pagination{display:flex;width:100%;justify-content:center;margin-top:1.5rem}:host .pagination button{cursor:pointer;border:none;background-color:var(--activeButtonBackground);color:#fff;opacity:0.5;padding:7px 12px}:host .pagination button:hover{opacity:1}:host .pagination button:focus{opacity:1}:host button.active{color:var(--activeButtonFont);background-color:var(--activeButtonBackground)}.mobile-filter-button{display:flex;justify-content:center;align-items:center;width:100%;height:2.8rem;background:inherit;border:1px solid var(--borderColorButton)}.mobile-filter-button img{height:50%;margin-right:0.5rem}.noData{display:flex;align-items:center;box-shadow:0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);padding:1.1rem;border-radius:0.6rem}.noData span{margin-left:0.5rem}.table{height:var(--heightScrollableContainer);overflow-y:auto}.table .mobile-table{height:100%}.data-transaction{border-bottom:1px solid var(--borderColor);background-color:var(--hoverBackground);padding:0 20px;display:grid;grid-template-columns:repeat(2, 1fr)}.data-transaction .text-style-status{font-weight:600}.data-transaction .text-style-status .success{color:var(--success)}.data-transaction .text-style-status .error{color:var(--errorColor)}.data-transaction .text-style{text-align:end}.data-transaction .date{font-size:12px;display:flex;align-items:center}.loader{display:inline-block;position:absolute;width:80px;height:80px;top:calc(50% - 40px);left:calc(50% - 40px);z-index:100}.loader::before{content:"";position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(255, 255, 255, 0.6)}.loader div{position:absolute;width:6px;height:6px;background:var(--loaderColor);border-radius:50%;animation:loader 1.2s linear infinite}.loader div:nth-child(1){animation-delay:0s;top:37px;left:66px}.loader div:nth-child(2){animation-delay:-0.1s;top:22px;left:62px}.loader div:nth-child(3){animation-delay:-0.2s;top:11px;left:52px}.loader div:nth-child(4){animation-delay:-0.3s;top:7px;left:37px}.loader div:nth-child(5){animation-delay:-0.4s;top:11px;left:22px}.loader div:nth-child(6){animation-delay:-0.5s;top:22px;left:11px}.loader div:nth-child(7){animation-delay:-0.6s;top:37px;left:7px}.loader div:nth-child(8){animation-delay:-0.7s;top:52px;left:11px}.loader div:nth-child(9){animation-delay:-0.8s;top:62px;left:22px}.loader div:nth-child(10){animation-delay:-0.9s;top:66px;left:37px}.loader div:nth-child(11){animation-delay:-1s;top:62px;left:52px}.loader div:nth-child(12){animation-delay:-1.1s;top:52px;left:62px}@keyframes loader{0%,20%,80%,100%{transform:scale(1)}50%{transform:scale(1.5)}}.table thead th{position:sticky;top:0}table{border-collapse:collapse;width:100%}table th{padding:14px 24px;text-align:left;font-weight:600;color:var(--textColor);background:var(--headerTableBackground)}table td{padding:1rem 1.7rem;box-shadow:0 -1px 0 0 var(--shadowBorderTable) inset;border-bottom:0.1rem solid var(--borderTable);text-align:left;color:var(--textColor)}table tbody{background:var(--backgroundTable)}table .success{color:var(--success)}table .error{color:var(--errorColor)}vaadin-date-picker{min-width:320px}@media (max-width: 1261px){vaadin-date-picker{width:auto;min-width:auto}}@media (max-width: 801px){vaadin-date-picker{width:100%}}', _e = Ye,
|
|
1514
|
+
const Ye = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--hoverBackground:#ffffff;--background:#e4e6e8;--success:#7ac345;--heightScrollableContainer:400px;--borderColor:#d3d3d3;--borderColorButton:#c4c4c4;--textColor:#002554;--textColorHover:#7ac345;--errorColor:#c23b21;--loaderColor:#7ac345;--headerTableBackground:#cdcdcd;--borderTable:#dedede;--shadowBorderTable:#f1f1f1;--backgroundTable:#ffffff;font-family:Roboto, Arial, sans-serif;font-size:14px;color:var(--textColor);display:block;background-color:var(--background)}:host .wrapper{height:100%;padding:1rem}:host .types{display:flex;width:100%;gap:5px}:host .transaction-type{background:inherit;font-weight:600;padding:0.6rem 1.6rem;border:1px solid #6c757d;cursor:pointer}:host .transaction-type:hover{color:var(--activeButtonBackground);border-color:var(--activeButtonBackground);background:var(--hoverBackground)}:host .clicked{background-color:var(--activeButtonBackground);border-color:var(--activeButtonBackground)}:host .types-mobile{justify-content:center;margin-bottom:15px}:host .types-desktop{justify-content:flex-end;margin-bottom:3rem}:host .page-size{display:flex;width:100%;justify-content:flex-end;align-items:center}:host .page-size button{background:transparent;border:none;cursor:pointer;margin:0.4rem;width:2rem;height:2rem}:host .page-size button:hover{color:var(--textColorHover)}:host .page-size button.active{background:var(--activeButtonBackground);color:var(--textColor);font-weight:600;border-radius:0.4rem}:host .period{display:flex;width:100%;align-items:flex-end;justify-content:center;gap:10px;background:#f0f0f0;border-bottom:2px solid #e9e9e9;padding:1.6rem 0 0;margin-bottom:4rem}@media (max-width: 801px){:host .period{margin-bottom:0;flex-direction:column;align-items:stretch;width:auto;padding:1.4rem 2.8rem;box-shadow:0 4px 5px 0 rgba(90, 90, 90, 0.24)}}:host .period .range{color:var(--errorColor)}:host .period .filter-btn{height:40px;background:transparent;border:0.1rem solid var(--borderColorButton);min-width:12rem;max-width:17rem;cursor:pointer}@media (max-width: 801px){:host .period .filter-btn{max-width:none;min-width:none;margin-top:1rem}}:host .period .filter-btn:hover{border:none;background:var(--hoverBackground)}:host .period .duet-date__input{padding:7px 60px 7px 7px}:host .period+button{padding:9px 15px}:host .period-content{display:flex;flex-direction:row;width:100%;justify-content:center;align-items:flex-end;margin:0 auto 1.6rem}@media (max-width: 801px){:host .period-content{flex-direction:column;align-items:stretch}}:host .period-content span{height:40px;display:flex;align-items:center;justify-content:center}@media (max-width: 801px){:host .period-content span{display:none}}:host .period-content .filter-btn{margin-left:60px}@media (max-width: 801px){:host .period-content .filter-btn{margin-left:0}}:host .period-content .date-input{padding:0 4px}@media (max-width: 801px){:host .period-content .date-input{width:auto}:host .period-content .date-input:first-child{margin-bottom:0.5rem}}:host .period-content .date-input label{display:inline-block;margin-bottom:0.9rem}:host .period-content .date-input input{border:0.1rem solid var(--borderColor);box-sizing:border-box;border-radius:0.2rem}:host .pagination{display:flex;width:100%;justify-content:center;margin-top:1.5rem}:host .pagination button{cursor:pointer;border:none;background-color:var(--activeButtonBackground);color:#fff;opacity:0.5;padding:7px 12px}:host .pagination button:hover{opacity:1}:host .pagination button:focus{opacity:1}:host button.active{color:var(--activeButtonFont);background-color:var(--activeButtonBackground)}.mobile-filter-button{display:flex;justify-content:center;align-items:center;width:100%;height:2.8rem;background:inherit;border:1px solid var(--borderColorButton)}.mobile-filter-button img{height:50%;margin-right:0.5rem}.noData{display:flex;align-items:center;box-shadow:0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);padding:1.1rem;border-radius:0.6rem}.noData span{margin-left:0.5rem}.table{height:var(--heightScrollableContainer);overflow-y:auto}.table .mobile-table{height:100%}.data-transaction{border-bottom:1px solid var(--borderColor);background-color:var(--hoverBackground);padding:0 20px;display:grid;grid-template-columns:repeat(2, 1fr)}.data-transaction .text-style-status{font-weight:600}.data-transaction .text-style-status .success{color:var(--success)}.data-transaction .text-style-status .error{color:var(--errorColor)}.data-transaction .text-style{text-align:end}.data-transaction .date{font-size:12px;display:flex;align-items:center}.loader{display:inline-block;position:absolute;width:80px;height:80px;top:calc(50% - 40px);left:calc(50% - 40px);z-index:100}.loader::before{content:"";position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(255, 255, 255, 0.6)}.loader div{position:absolute;width:6px;height:6px;background:var(--loaderColor);border-radius:50%;animation:loader 1.2s linear infinite}.loader div:nth-child(1){animation-delay:0s;top:37px;left:66px}.loader div:nth-child(2){animation-delay:-0.1s;top:22px;left:62px}.loader div:nth-child(3){animation-delay:-0.2s;top:11px;left:52px}.loader div:nth-child(4){animation-delay:-0.3s;top:7px;left:37px}.loader div:nth-child(5){animation-delay:-0.4s;top:11px;left:22px}.loader div:nth-child(6){animation-delay:-0.5s;top:22px;left:11px}.loader div:nth-child(7){animation-delay:-0.6s;top:37px;left:7px}.loader div:nth-child(8){animation-delay:-0.7s;top:52px;left:11px}.loader div:nth-child(9){animation-delay:-0.8s;top:62px;left:22px}.loader div:nth-child(10){animation-delay:-0.9s;top:66px;left:37px}.loader div:nth-child(11){animation-delay:-1s;top:62px;left:52px}.loader div:nth-child(12){animation-delay:-1.1s;top:52px;left:62px}@keyframes loader{0%,20%,80%,100%{transform:scale(1)}50%{transform:scale(1.5)}}.table thead th{position:sticky;top:0}table{border-collapse:collapse;width:100%}table th{padding:14px 24px;text-align:left;font-weight:600;color:var(--textColor);background:var(--headerTableBackground)}table td{padding:1rem 1.7rem;box-shadow:0 -1px 0 0 var(--shadowBorderTable) inset;border-bottom:0.1rem solid var(--borderTable);text-align:left;color:var(--textColor)}table tbody{background:var(--backgroundTable)}table .success{color:var(--success)}table .error{color:var(--errorColor)}vaadin-date-picker{min-width:320px}@media (max-width: 1261px){vaadin-date-picker{width:auto;min-width:auto}}@media (max-width: 801px){vaadin-date-picker{width:100%}}.MenuReturnButton{font:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MenuReturnButton h2.CategoryTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}', _e = Ye, Be = class {
|
|
1513
1515
|
constructor(e) {
|
|
1514
|
-
ot(this, e), this.pageSizes = [10, 25, 50], this.pagination = null, this.
|
|
1516
|
+
ot(this, e), this.pageSizes = [10, 25, 50], this.pagination = null, this.toggleScreen = () => {
|
|
1517
|
+
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.mobile }, window.location.href);
|
|
1518
|
+
}, this.endpoint = void 0, this.session = void 0, this.language = l.defaultLanguage, this.userId = void 0, this.translationUrl = void 0, this.mobile = !1, this.clientStyling = null, this.clientStylingUrl = null, this.mbSource = void 0, this.dateFormat = "", this.page = 0, this.pageSize = this.pageSizes[0], this.showMobileFilter = !1, this.to = void 0, this.from = void 0, this.type = "0", this.transactions = void 0, this.showLoader = !0;
|
|
1515
1519
|
}
|
|
1516
1520
|
watchMultiple() {
|
|
1517
1521
|
this.loadTransactions();
|
|
@@ -1567,8 +1571,8 @@ const Ye = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
|
|
|
1567
1571
|
}
|
|
1568
1572
|
render() {
|
|
1569
1573
|
var e;
|
|
1570
|
-
const t =
|
|
1571
|
-
return s(st, { key: "
|
|
1574
|
+
const t = R("../assets/filter.svg"), a = R("../assets/warning.svg");
|
|
1575
|
+
return s(st, { key: "2c1d74e9d321eb73796caa26b58faa1b130d1da1" }, this.showLoader ? s(ht, null) : "", s("div", { key: "a33973c114c4baa184a3699d46e8eb970f3b9dcc", class: "wrapper", ref: (n) => this.stylingContainer = n }, this.mobile ? s("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, s("defs", null), s("g", { transform: "translate(-20 -158)" }, s("g", { transform: "translate(20 158)" }, s("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), s("h2", { class: "CategoryTitleMobile" }, l.translate("back", this.language))) : null, s("div", { key: "0e1599e3453a357abaa41af809f7bbf3aebce4f8", class: { "types types-mobile": this.mobile, "types types-desktop": !this.mobile } }, s("button", { key: "2db4c38935c1d7eab9f2269774433240ef989a8c", class: "transaction-type " + (this.type === "0" ? "clicked" : ""), onClick: () => this.changeTransactionsType("0") }, l.translate("deposit", this.language)), s("button", { key: "d09f84ad02e73a77af885fad40d2456fa7572939", class: "transaction-type " + (this.type === "1" ? "clicked" : ""), onClick: () => this.changeTransactionsType("1") }, l.translate("withdrawals", this.language))), this.mobile ? "" : s(Ue, { language: this.language, pageSizes: this.pageSizes, currentPageSize: this.pageSize, changePageSize: (n) => this.changePageSize(n) }), this.mobile ? s("button", { class: "mobile-filter-button", onClick: () => this.showFilter() }, s("img", { src: t, alt: "Filter" }), l.translate("filter", this.language)) : "", !this.mobile || this.showMobileFilter && this.mobile ? s(We, { language: this.language, applyFilters: (n, r) => this.applyFilters(n, r) }) : "", ((e = this.transactions) === null || e === void 0 ? void 0 : e.length) > 0 ? s("div", { class: "table" }, this.mobile ? s("div", { class: "mobile-table" }, this.transactions.map((n) => s(Pe, Object.assign({}, n, { dateformat: this.dateFormat })))) : s(Fe, { source: this.transactions, language: this.language, dateformat: this.dateFormat })) : s("div", { class: "noData" }, s("img", { src: a, alt: "Warning" }), s("span", null, l.translate("noData", this.language))), s("div", { key: "4a00bc8d3404724b388df8332f8d2ea60ab141bf", class: "pagination" }, s("button", { key: "23c111e2e09d1a30c3fa12602f90595742b519c0", onClick: () => this.prev() }, "<"), s("button", { key: "aa6cd0cc7c32a8603869b1832445ceaeacf0a242", onClick: () => this.next() }, ">"))));
|
|
1572
1576
|
}
|
|
1573
1577
|
async loadTransactions() {
|
|
1574
1578
|
this.showLoader = !0;
|
|
@@ -1615,7 +1619,7 @@ const Ye = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
|
|
|
1615
1619
|
};
|
|
1616
1620
|
}
|
|
1617
1621
|
};
|
|
1618
|
-
|
|
1622
|
+
Be.style = _e;
|
|
1619
1623
|
export {
|
|
1620
|
-
|
|
1624
|
+
Be as user_transaction_history
|
|
1621
1625
|
};
|