@everymatrix/player-elevate-points-history 1.86.2 → 1.86.4
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/dist/cjs/bonus-pagination-limits_6.cjs.entry.js +154 -110
- package/dist/cjs/{locale.utils-6b4c0dbd.js → locale.utils-457021be.js} +21 -15
- package/dist/cjs/{player-elevate-card-items-77bde478.js → player-elevate-card-items-51776c27.js} +1 -1
- package/dist/cjs/player-elevate-card.cjs.entry.js +2 -2
- package/dist/cjs/player-elevate-loyaltycard.cjs.entry.js +2 -2
- package/dist/cjs/player-rakeback-card.cjs.entry.js +1 -1
- package/dist/collection/components/player-elevate-points-history/player-elevate-points-history.js +2 -2
- package/dist/collection/renders/renderTopBar.js +1 -1
- package/dist/collection/utils/translation.js +59 -1
- package/dist/esm/bonus-pagination-limits_6.entry.js +154 -110
- package/dist/esm/{locale.utils-34e6f004.js → locale.utils-471ae737.js} +21 -15
- package/dist/esm/{player-elevate-card-items-ee73669e.js → player-elevate-card-items-38110d9c.js} +1 -1
- package/dist/esm/player-elevate-card.entry.js +2 -2
- package/dist/esm/player-elevate-loyaltycard.entry.js +2 -2
- package/dist/esm/player-rakeback-card.entry.js +1 -1
- package/dist/player-elevate-points-history/bonus-pagination-limits_6.entry.js +4 -4
- package/dist/player-elevate-points-history/{locale.utils-34e6f004.js → locale.utils-471ae737.js} +1 -1
- package/dist/player-elevate-points-history/{player-elevate-card-items-ee73669e.js → player-elevate-card-items-38110d9c.js} +1 -1
- package/dist/player-elevate-points-history/player-elevate-card.entry.js +1 -1
- package/dist/player-elevate-points-history/player-elevate-loyaltycard.entry.js +1 -1
- package/dist/player-elevate-points-history/player-rakeback-card.entry.js +1 -1
- package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/Widgets & Template/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +2 -0
- package/dist/types/renders/renderTopBar.d.ts +1 -1
- package/dist/types/utils/translation.d.ts +59 -1
- package/package.json +1 -1
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.d.ts +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/storybook/main.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/packages/stencil/player-elevate-points-history/storybook/preview.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop/Widgets & Template}/widgets-monorepo/packages/stencil/player-elevate-points-history/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -3,15 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-8f337cb6.js');
|
|
6
|
-
const locale_utils = require('./locale.utils-
|
|
7
|
-
const playerElevateCardItems = require('./player-elevate-card-items-
|
|
6
|
+
const locale_utils = require('./locale.utils-457021be.js');
|
|
7
|
+
const playerElevateCardItems = require('./player-elevate-card-items-51776c27.js');
|
|
8
8
|
|
|
9
9
|
const DEFAULT_LANGUAGE$1 = 'en';
|
|
10
|
-
const SUPPORTED_LANGUAGES$1 = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
|
|
10
|
+
const SUPPORTED_LANGUAGES$1 = ['pt-br', 'en', 'es-mx', 'hu', 'hr', 'tr'];
|
|
11
11
|
const TRANSLATIONS$1 = {
|
|
12
12
|
en: {
|
|
13
13
|
"pageLimitLabel": 'Show',
|
|
14
14
|
},
|
|
15
|
+
tr: {
|
|
16
|
+
"pageLimitLabel": 'Göster',
|
|
17
|
+
},
|
|
15
18
|
hu: {
|
|
16
19
|
"pageLimitLabel": 'Show',
|
|
17
20
|
},
|
|
@@ -1036,8 +1039,66 @@ const translation = {
|
|
|
1036
1039
|
"tournamentTicket": "Tournament Ticket Redeem",
|
|
1037
1040
|
"physicalItem": "Custom Reward Redeem",
|
|
1038
1041
|
"role": "Role Assignment Redeem"
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"tr": {
|
|
1045
|
+
"tabTitle": {
|
|
1046
|
+
"spendable": "Coin",
|
|
1047
|
+
"loyalty": "XP",
|
|
1048
|
+
"history": "Mağaza Alımları",
|
|
1049
|
+
"rakeback": "Rakeback"
|
|
1050
|
+
},
|
|
1051
|
+
"barTitle": {
|
|
1052
|
+
"spendable": "Coin Geçmişi",
|
|
1053
|
+
"loyalty": "Deneyim Puanı Geçmişi",
|
|
1054
|
+
"history": "Mağaza Alımları",
|
|
1055
|
+
"rakeback": "Rakeback Geçmişi"
|
|
1039
1056
|
},
|
|
1040
|
-
"
|
|
1057
|
+
"bonus": "Bonus",
|
|
1058
|
+
"coins": "Coin",
|
|
1059
|
+
"noContent": "İçerik Yok",
|
|
1060
|
+
"loading": "Yükleniyor",
|
|
1061
|
+
"redeem": "Kullan",
|
|
1062
|
+
"reload": "Yenile",
|
|
1063
|
+
"reloadMsgWhenError": "Ağ Sorunu, lütfen ",
|
|
1064
|
+
"rakebackPointType": {
|
|
1065
|
+
"wageringByRealMoney": "Rakeback Casino Gerçek Bahis",
|
|
1066
|
+
"bonus": "Rakeback Talebi",
|
|
1067
|
+
"vendor2User": "Rakeback Talebi",
|
|
1068
|
+
"cancelledWageringByRealMoney": "İptal Edilen Rakeback Casino Gerçek Bahis"
|
|
1069
|
+
},
|
|
1070
|
+
"pointType": {
|
|
1071
|
+
"registration": "Kayıt",
|
|
1072
|
+
"cancelledRegistration": "İptal Edilen Kayıt",
|
|
1073
|
+
"expiredRegistration": "Süresi Dolan Kayıt",
|
|
1074
|
+
"manual": "Manuel",
|
|
1075
|
+
"cancelledManual": "İptal Edilen Manuel",
|
|
1076
|
+
"expiredManual": "Süresi Dolan Manuel",
|
|
1077
|
+
"wageringByRealMoney": "Gerçek Para Bahsi",
|
|
1078
|
+
"wageringByBonusMoney": "Bonus Para Bahsi",
|
|
1079
|
+
"cancelledWageringByRealMoney": "İptal Edilen Gerçek Para Bahsi",
|
|
1080
|
+
"cancelledWageringByBonusMoney": "İptal Edilen Bonus Para Bahsi",
|
|
1081
|
+
"expiredWageringByRealMoney": "Süresi Dolan Gerçek Para Bahsi",
|
|
1082
|
+
"expiredWageringByBonusMoney": "Süresi Dolan Bonus Para Bahsi",
|
|
1083
|
+
"levelExpired": "Seviye Süresi Doldu",
|
|
1084
|
+
"bonus": "Bonus Kullanımı",
|
|
1085
|
+
"manualByTournament": "Turnuvadan Ödül",
|
|
1086
|
+
"manualByPrizeEngine": "PrizeEngine'den Ödül",
|
|
1087
|
+
"manualByMission": "Görevden Ödül",
|
|
1088
|
+
"manualByChallenge": "Meydan Okumadan Ödül",
|
|
1089
|
+
"cancelledManualByTournament": "İptal Edilen Turnuva Ödülü",
|
|
1090
|
+
"cancelledManualByMission": "İptal Edilen Görev Ödülü",
|
|
1091
|
+
"cancelledManualByChallenge": "İptal Edilen Meydan Okuma Ödülü",
|
|
1092
|
+
"expiredManualByTournament": "Süresi Dolan Turnuva Ödülü",
|
|
1093
|
+
"expiredManualByMission": "Süresi Dolan Görev Ödülü",
|
|
1094
|
+
"expiredManualByChallenge": "Süresi Dolan Meydan Okuma Ödülü",
|
|
1095
|
+
"cancelledManualByPrizeEngine": "İptal Edilen PrizeEngine Ödülü",
|
|
1096
|
+
"expiredManualByPrizeEngine": "Süresi Dolan PrizeEngine Ödülü",
|
|
1097
|
+
"prizeEngine": "PrizeEngine Kullanımı",
|
|
1098
|
+
"tournamentTicket": "Turnuva Bileti Kullanımı",
|
|
1099
|
+
"physicalItem": "Özel Ödül Kullanımı",
|
|
1100
|
+
"role": "Rol Ataması Kullanımı"
|
|
1101
|
+
}
|
|
1041
1102
|
}
|
|
1042
1103
|
};
|
|
1043
1104
|
|
|
@@ -1161,13 +1222,13 @@ const menuSvg = `<svg width="30" height="8" viewBox="0 0 30 8" fill="none" xmlns
|
|
|
1161
1222
|
</svg>
|
|
1162
1223
|
`;
|
|
1163
1224
|
|
|
1164
|
-
const renderTopBar = (locale, type, pageSetting) => index.h("div", { class: "TopBarContainer" },
|
|
1225
|
+
const renderTopBar = (locale, type, pageSetting, language = 'en') => index.h("div", { class: "TopBarContainer" },
|
|
1165
1226
|
index.h("div", { class: "BackImageContainer" },
|
|
1166
1227
|
index.h("span", { class: "BackImage", innerHTML: backSvg })),
|
|
1167
1228
|
index.h("div", { class: "TitleContainer" },
|
|
1168
1229
|
index.h("div", { class: "Title", title: locale.barTitle[type] }, locale.barTitle[type]),
|
|
1169
1230
|
index.h("div", { class: 'Limits' },
|
|
1170
|
-
index.h("bonus-pagination-limits", { pageLimitOptions: pageSetting.pageLimitOptions, limit: pageSetting.limit }))),
|
|
1231
|
+
index.h("bonus-pagination-limits", { pageLimitOptions: pageSetting.pageLimitOptions, limit: pageSetting.limit, language: language }))),
|
|
1171
1232
|
index.h("div", null,
|
|
1172
1233
|
index.h("span", { class: "MenuImage", innerHTML: menuSvg })));
|
|
1173
1234
|
|
|
@@ -1180,10 +1241,10 @@ var decimal = {exports: {}};
|
|
|
1180
1241
|
|
|
1181
1242
|
|
|
1182
1243
|
/*!
|
|
1183
|
-
* decimal.js v10.
|
|
1244
|
+
* decimal.js v10.4.3
|
|
1184
1245
|
* An arbitrary-precision Decimal type for JavaScript.
|
|
1185
1246
|
* https://github.com/MikeMcl/decimal.js
|
|
1186
|
-
* Copyright (c)
|
|
1247
|
+
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
1187
1248
|
* MIT Licence
|
|
1188
1249
|
*/
|
|
1189
1250
|
|
|
@@ -1395,8 +1456,8 @@ var decimal = {exports: {}};
|
|
|
1395
1456
|
* Return a new Decimal whose value is the value of this Decimal clamped to the range
|
|
1396
1457
|
* delineated by `min` and `max`.
|
|
1397
1458
|
*
|
|
1398
|
-
* min {number|string|
|
|
1399
|
-
* max {number|string|
|
|
1459
|
+
* min {number|string|Decimal}
|
|
1460
|
+
* max {number|string|Decimal}
|
|
1400
1461
|
*
|
|
1401
1462
|
*/
|
|
1402
1463
|
P.clampedTo = P.clamp = function (min, max) {
|
|
@@ -1900,7 +1961,8 @@ var decimal = {exports: {}};
|
|
|
1900
1961
|
*
|
|
1901
1962
|
*/
|
|
1902
1963
|
P.inverseCosine = P.acos = function () {
|
|
1903
|
-
var
|
|
1964
|
+
var halfPi,
|
|
1965
|
+
x = this,
|
|
1904
1966
|
Ctor = x.constructor,
|
|
1905
1967
|
k = x.abs().cmp(1),
|
|
1906
1968
|
pr = Ctor.precision,
|
|
@@ -1921,13 +1983,13 @@ var decimal = {exports: {}};
|
|
|
1921
1983
|
Ctor.precision = pr + 6;
|
|
1922
1984
|
Ctor.rounding = 1;
|
|
1923
1985
|
|
|
1924
|
-
|
|
1925
|
-
|
|
1986
|
+
x = x.asin();
|
|
1987
|
+
halfPi = getPi(Ctor, pr + 4, rm).times(0.5);
|
|
1926
1988
|
|
|
1927
1989
|
Ctor.precision = pr;
|
|
1928
1990
|
Ctor.rounding = rm;
|
|
1929
1991
|
|
|
1930
|
-
return
|
|
1992
|
+
return halfPi.minus(x);
|
|
1931
1993
|
};
|
|
1932
1994
|
|
|
1933
1995
|
|
|
@@ -2301,7 +2363,7 @@ var decimal = {exports: {}};
|
|
|
2301
2363
|
* log[b](Infinity) = Infinity
|
|
2302
2364
|
* log[b](NaN) = NaN
|
|
2303
2365
|
*
|
|
2304
|
-
* [base] {number|string|
|
|
2366
|
+
* [base] {number|string|Decimal} The base of the logarithm.
|
|
2305
2367
|
*
|
|
2306
2368
|
*/
|
|
2307
2369
|
P.logarithm = P.log = function (base) {
|
|
@@ -2395,11 +2457,11 @@ var decimal = {exports: {}};
|
|
|
2395
2457
|
/*
|
|
2396
2458
|
* Return a new Decimal whose value is the maximum of the arguments and the value of this Decimal.
|
|
2397
2459
|
*
|
|
2398
|
-
* arguments {number|string|
|
|
2460
|
+
* arguments {number|string|Decimal}
|
|
2399
2461
|
*
|
|
2400
2462
|
P.max = function () {
|
|
2401
2463
|
Array.prototype.push.call(arguments, this);
|
|
2402
|
-
return maxOrMin(this.constructor, arguments,
|
|
2464
|
+
return maxOrMin(this.constructor, arguments, 'lt');
|
|
2403
2465
|
};
|
|
2404
2466
|
*/
|
|
2405
2467
|
|
|
@@ -2407,11 +2469,11 @@ var decimal = {exports: {}};
|
|
|
2407
2469
|
/*
|
|
2408
2470
|
* Return a new Decimal whose value is the minimum of the arguments and the value of this Decimal.
|
|
2409
2471
|
*
|
|
2410
|
-
* arguments {number|string|
|
|
2472
|
+
* arguments {number|string|Decimal}
|
|
2411
2473
|
*
|
|
2412
2474
|
P.min = function () {
|
|
2413
2475
|
Array.prototype.push.call(arguments, this);
|
|
2414
|
-
return maxOrMin(this.constructor, arguments,
|
|
2476
|
+
return maxOrMin(this.constructor, arguments, 'gt');
|
|
2415
2477
|
};
|
|
2416
2478
|
*/
|
|
2417
2479
|
|
|
@@ -3230,7 +3292,7 @@ var decimal = {exports: {}};
|
|
|
3230
3292
|
* denominator. If a maximum denominator is not specified, the denominator will be the lowest
|
|
3231
3293
|
* value necessary to represent the number exactly.
|
|
3232
3294
|
*
|
|
3233
|
-
* [maxD] {number|string|
|
|
3295
|
+
* [maxD] {number|string|Decimal} Maximum denominator. Integer >= 1 and < Infinity.
|
|
3234
3296
|
*
|
|
3235
3297
|
*/
|
|
3236
3298
|
P.toFraction = function (maxD) {
|
|
@@ -3318,7 +3380,7 @@ var decimal = {exports: {}};
|
|
|
3318
3380
|
*
|
|
3319
3381
|
* The return value is not affected by the value of `precision`.
|
|
3320
3382
|
*
|
|
3321
|
-
* y {number|string|
|
|
3383
|
+
* y {number|string|Decimal} The magnitude to round to a multiple of.
|
|
3322
3384
|
* [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
|
|
3323
3385
|
*
|
|
3324
3386
|
* 'toNearest() rounding mode not an integer: {rm}'
|
|
@@ -3438,7 +3500,7 @@ var decimal = {exports: {}};
|
|
|
3438
3500
|
*
|
|
3439
3501
|
* If a result is incorrectly rounded the maximum error will be 1 ulp (unit in last place).
|
|
3440
3502
|
*
|
|
3441
|
-
* y {number|string|
|
|
3503
|
+
* y {number|string|Decimal} The power to which to raise this Decimal.
|
|
3442
3504
|
*
|
|
3443
3505
|
*/
|
|
3444
3506
|
P.toPower = P.pow = function (y) {
|
|
@@ -4422,25 +4484,19 @@ var decimal = {exports: {}};
|
|
|
4422
4484
|
|
|
4423
4485
|
|
|
4424
4486
|
/*
|
|
4425
|
-
* Handle `max`
|
|
4487
|
+
* Handle `max` and `min`. `ltgt` is 'lt' or 'gt'.
|
|
4426
4488
|
*/
|
|
4427
|
-
function maxOrMin(Ctor, args,
|
|
4428
|
-
var
|
|
4489
|
+
function maxOrMin(Ctor, args, ltgt) {
|
|
4490
|
+
var y,
|
|
4429
4491
|
x = new Ctor(args[0]),
|
|
4430
4492
|
i = 0;
|
|
4431
4493
|
|
|
4432
4494
|
for (; ++i < args.length;) {
|
|
4433
4495
|
y = new Ctor(args[i]);
|
|
4434
|
-
|
|
4435
|
-
// NaN?
|
|
4436
4496
|
if (!y.s) {
|
|
4437
4497
|
x = y;
|
|
4438
4498
|
break;
|
|
4439
|
-
}
|
|
4440
|
-
|
|
4441
|
-
k = x.cmp(y);
|
|
4442
|
-
|
|
4443
|
-
if (k === n || k === 0 && x.s === n) {
|
|
4499
|
+
} else if (x[ltgt](y)) {
|
|
4444
4500
|
x = y;
|
|
4445
4501
|
}
|
|
4446
4502
|
}
|
|
@@ -4699,8 +4755,6 @@ var decimal = {exports: {}};
|
|
|
4699
4755
|
function parseDecimal(x, str) {
|
|
4700
4756
|
var e, i, len;
|
|
4701
4757
|
|
|
4702
|
-
// TODO BigInt str: no need to check for decimal point, exponential form or leading zeros.
|
|
4703
|
-
|
|
4704
4758
|
// Decimal point?
|
|
4705
4759
|
if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');
|
|
4706
4760
|
|
|
@@ -5166,7 +5220,7 @@ var decimal = {exports: {}};
|
|
|
5166
5220
|
/*
|
|
5167
5221
|
* Return a new Decimal whose value is the absolute value of `x`.
|
|
5168
5222
|
*
|
|
5169
|
-
* x {number|string|
|
|
5223
|
+
* x {number|string|Decimal}
|
|
5170
5224
|
*
|
|
5171
5225
|
*/
|
|
5172
5226
|
function abs(x) {
|
|
@@ -5177,7 +5231,7 @@ var decimal = {exports: {}};
|
|
|
5177
5231
|
/*
|
|
5178
5232
|
* Return a new Decimal whose value is the arccosine in radians of `x`.
|
|
5179
5233
|
*
|
|
5180
|
-
* x {number|string|
|
|
5234
|
+
* x {number|string|Decimal}
|
|
5181
5235
|
*
|
|
5182
5236
|
*/
|
|
5183
5237
|
function acos(x) {
|
|
@@ -5189,7 +5243,7 @@ var decimal = {exports: {}};
|
|
|
5189
5243
|
* Return a new Decimal whose value is the inverse of the hyperbolic cosine of `x`, rounded to
|
|
5190
5244
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5191
5245
|
*
|
|
5192
|
-
* x {number|string|
|
|
5246
|
+
* x {number|string|Decimal} A value in radians.
|
|
5193
5247
|
*
|
|
5194
5248
|
*/
|
|
5195
5249
|
function acosh(x) {
|
|
@@ -5201,8 +5255,8 @@ var decimal = {exports: {}};
|
|
|
5201
5255
|
* Return a new Decimal whose value is the sum of `x` and `y`, rounded to `precision` significant
|
|
5202
5256
|
* digits using rounding mode `rounding`.
|
|
5203
5257
|
*
|
|
5204
|
-
* x {number|string|
|
|
5205
|
-
* y {number|string|
|
|
5258
|
+
* x {number|string|Decimal}
|
|
5259
|
+
* y {number|string|Decimal}
|
|
5206
5260
|
*
|
|
5207
5261
|
*/
|
|
5208
5262
|
function add(x, y) {
|
|
@@ -5214,7 +5268,7 @@ var decimal = {exports: {}};
|
|
|
5214
5268
|
* Return a new Decimal whose value is the arcsine in radians of `x`, rounded to `precision`
|
|
5215
5269
|
* significant digits using rounding mode `rounding`.
|
|
5216
5270
|
*
|
|
5217
|
-
* x {number|string|
|
|
5271
|
+
* x {number|string|Decimal}
|
|
5218
5272
|
*
|
|
5219
5273
|
*/
|
|
5220
5274
|
function asin(x) {
|
|
@@ -5226,7 +5280,7 @@ var decimal = {exports: {}};
|
|
|
5226
5280
|
* Return a new Decimal whose value is the inverse of the hyperbolic sine of `x`, rounded to
|
|
5227
5281
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5228
5282
|
*
|
|
5229
|
-
* x {number|string|
|
|
5283
|
+
* x {number|string|Decimal} A value in radians.
|
|
5230
5284
|
*
|
|
5231
5285
|
*/
|
|
5232
5286
|
function asinh(x) {
|
|
@@ -5238,7 +5292,7 @@ var decimal = {exports: {}};
|
|
|
5238
5292
|
* Return a new Decimal whose value is the arctangent in radians of `x`, rounded to `precision`
|
|
5239
5293
|
* significant digits using rounding mode `rounding`.
|
|
5240
5294
|
*
|
|
5241
|
-
* x {number|string|
|
|
5295
|
+
* x {number|string|Decimal}
|
|
5242
5296
|
*
|
|
5243
5297
|
*/
|
|
5244
5298
|
function atan(x) {
|
|
@@ -5250,7 +5304,7 @@ var decimal = {exports: {}};
|
|
|
5250
5304
|
* Return a new Decimal whose value is the inverse of the hyperbolic tangent of `x`, rounded to
|
|
5251
5305
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5252
5306
|
*
|
|
5253
|
-
* x {number|string|
|
|
5307
|
+
* x {number|string|Decimal} A value in radians.
|
|
5254
5308
|
*
|
|
5255
5309
|
*/
|
|
5256
5310
|
function atanh(x) {
|
|
@@ -5265,8 +5319,8 @@ var decimal = {exports: {}};
|
|
|
5265
5319
|
* Domain: [-Infinity, Infinity]
|
|
5266
5320
|
* Range: [-pi, pi]
|
|
5267
5321
|
*
|
|
5268
|
-
* y {number|string|
|
|
5269
|
-
* x {number|string|
|
|
5322
|
+
* y {number|string|Decimal} The y-coordinate.
|
|
5323
|
+
* x {number|string|Decimal} The x-coordinate.
|
|
5270
5324
|
*
|
|
5271
5325
|
* atan2(±0, -0) = ±pi
|
|
5272
5326
|
* atan2(±0, +0) = ±0
|
|
@@ -5331,7 +5385,7 @@ var decimal = {exports: {}};
|
|
|
5331
5385
|
* Return a new Decimal whose value is the cube root of `x`, rounded to `precision` significant
|
|
5332
5386
|
* digits using rounding mode `rounding`.
|
|
5333
5387
|
*
|
|
5334
|
-
* x {number|string|
|
|
5388
|
+
* x {number|string|Decimal}
|
|
5335
5389
|
*
|
|
5336
5390
|
*/
|
|
5337
5391
|
function cbrt(x) {
|
|
@@ -5342,7 +5396,7 @@ var decimal = {exports: {}};
|
|
|
5342
5396
|
/*
|
|
5343
5397
|
* Return a new Decimal whose value is `x` rounded to an integer using `ROUND_CEIL`.
|
|
5344
5398
|
*
|
|
5345
|
-
* x {number|string|
|
|
5399
|
+
* x {number|string|Decimal}
|
|
5346
5400
|
*
|
|
5347
5401
|
*/
|
|
5348
5402
|
function ceil(x) {
|
|
@@ -5353,9 +5407,9 @@ var decimal = {exports: {}};
|
|
|
5353
5407
|
/*
|
|
5354
5408
|
* Return a new Decimal whose value is `x` clamped to the range delineated by `min` and `max`.
|
|
5355
5409
|
*
|
|
5356
|
-
* x {number|string|
|
|
5357
|
-
* min {number|string|
|
|
5358
|
-
* max {number|string|
|
|
5410
|
+
* x {number|string|Decimal}
|
|
5411
|
+
* min {number|string|Decimal}
|
|
5412
|
+
* max {number|string|Decimal}
|
|
5359
5413
|
*
|
|
5360
5414
|
*/
|
|
5361
5415
|
function clamp(x, min, max) {
|
|
@@ -5429,7 +5483,7 @@ var decimal = {exports: {}};
|
|
|
5429
5483
|
* Return a new Decimal whose value is the cosine of `x`, rounded to `precision` significant
|
|
5430
5484
|
* digits using rounding mode `rounding`.
|
|
5431
5485
|
*
|
|
5432
|
-
* x {number|string|
|
|
5486
|
+
* x {number|string|Decimal} A value in radians.
|
|
5433
5487
|
*
|
|
5434
5488
|
*/
|
|
5435
5489
|
function cos(x) {
|
|
@@ -5441,7 +5495,7 @@ var decimal = {exports: {}};
|
|
|
5441
5495
|
* Return a new Decimal whose value is the hyperbolic cosine of `x`, rounded to precision
|
|
5442
5496
|
* significant digits using rounding mode `rounding`.
|
|
5443
5497
|
*
|
|
5444
|
-
* x {number|string|
|
|
5498
|
+
* x {number|string|Decimal} A value in radians.
|
|
5445
5499
|
*
|
|
5446
5500
|
*/
|
|
5447
5501
|
function cosh(x) {
|
|
@@ -5461,7 +5515,7 @@ var decimal = {exports: {}};
|
|
|
5461
5515
|
* The Decimal constructor and exported function.
|
|
5462
5516
|
* Return a new Decimal instance.
|
|
5463
5517
|
*
|
|
5464
|
-
* v {number|string|
|
|
5518
|
+
* v {number|string|Decimal} A numeric value.
|
|
5465
5519
|
*
|
|
5466
5520
|
*/
|
|
5467
5521
|
function Decimal(v) {
|
|
@@ -5475,6 +5529,7 @@ var decimal = {exports: {}};
|
|
|
5475
5529
|
// which points to Object.
|
|
5476
5530
|
x.constructor = Decimal;
|
|
5477
5531
|
|
|
5532
|
+
// Duplicate.
|
|
5478
5533
|
if (isDecimalInstance(v)) {
|
|
5479
5534
|
x.s = v.s;
|
|
5480
5535
|
|
|
@@ -5539,10 +5594,9 @@ var decimal = {exports: {}};
|
|
|
5539
5594
|
}
|
|
5540
5595
|
|
|
5541
5596
|
return;
|
|
5542
|
-
}
|
|
5543
5597
|
|
|
5544
|
-
// Infinity
|
|
5545
|
-
if (v * 0 !== 0) {
|
|
5598
|
+
// Infinity, NaN.
|
|
5599
|
+
} else if (v * 0 !== 0) {
|
|
5546
5600
|
if (!v) x.s = NaN;
|
|
5547
5601
|
x.e = NaN;
|
|
5548
5602
|
x.d = null;
|
|
@@ -5550,32 +5604,22 @@ var decimal = {exports: {}};
|
|
|
5550
5604
|
}
|
|
5551
5605
|
|
|
5552
5606
|
return parseDecimal(x, v.toString());
|
|
5553
|
-
}
|
|
5554
|
-
|
|
5555
|
-
if (t === 'string') {
|
|
5556
|
-
if ((i = v.charCodeAt(0)) === 45) { // minus sign
|
|
5557
|
-
v = v.slice(1);
|
|
5558
|
-
x.s = -1;
|
|
5559
|
-
} else {
|
|
5560
|
-
if (i === 43) v = v.slice(1); // plus sign
|
|
5561
|
-
x.s = 1;
|
|
5562
|
-
}
|
|
5563
5607
|
|
|
5564
|
-
|
|
5608
|
+
} else if (t !== 'string') {
|
|
5609
|
+
throw Error(invalidArgument + v);
|
|
5565
5610
|
}
|
|
5566
5611
|
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
return parseDecimal(x, v.toString());
|
|
5612
|
+
// Minus sign?
|
|
5613
|
+
if ((i = v.charCodeAt(0)) === 45) {
|
|
5614
|
+
v = v.slice(1);
|
|
5615
|
+
x.s = -1;
|
|
5616
|
+
} else {
|
|
5617
|
+
// Plus sign?
|
|
5618
|
+
if (i === 43) v = v.slice(1);
|
|
5619
|
+
x.s = 1;
|
|
5576
5620
|
}
|
|
5577
5621
|
|
|
5578
|
-
|
|
5622
|
+
return isDecimal.test(v) ? parseDecimal(x, v) : parseOther(x, v);
|
|
5579
5623
|
}
|
|
5580
5624
|
|
|
5581
5625
|
Decimal.prototype = P;
|
|
@@ -5652,8 +5696,8 @@ var decimal = {exports: {}};
|
|
|
5652
5696
|
* Return a new Decimal whose value is `x` divided by `y`, rounded to `precision` significant
|
|
5653
5697
|
* digits using rounding mode `rounding`.
|
|
5654
5698
|
*
|
|
5655
|
-
* x {number|string|
|
|
5656
|
-
* y {number|string|
|
|
5699
|
+
* x {number|string|Decimal}
|
|
5700
|
+
* y {number|string|Decimal}
|
|
5657
5701
|
*
|
|
5658
5702
|
*/
|
|
5659
5703
|
function div(x, y) {
|
|
@@ -5665,7 +5709,7 @@ var decimal = {exports: {}};
|
|
|
5665
5709
|
* Return a new Decimal whose value is the natural exponential of `x`, rounded to `precision`
|
|
5666
5710
|
* significant digits using rounding mode `rounding`.
|
|
5667
5711
|
*
|
|
5668
|
-
* x {number|string|
|
|
5712
|
+
* x {number|string|Decimal} The power to which to raise the base of the natural log.
|
|
5669
5713
|
*
|
|
5670
5714
|
*/
|
|
5671
5715
|
function exp(x) {
|
|
@@ -5676,7 +5720,7 @@ var decimal = {exports: {}};
|
|
|
5676
5720
|
/*
|
|
5677
5721
|
* Return a new Decimal whose value is `x` round to an integer using `ROUND_FLOOR`.
|
|
5678
5722
|
*
|
|
5679
|
-
* x {number|string|
|
|
5723
|
+
* x {number|string|Decimal}
|
|
5680
5724
|
*
|
|
5681
5725
|
*/
|
|
5682
5726
|
function floor(x) {
|
|
@@ -5690,7 +5734,7 @@ var decimal = {exports: {}};
|
|
|
5690
5734
|
*
|
|
5691
5735
|
* hypot(a, b, ...) = sqrt(a^2 + b^2 + ...)
|
|
5692
5736
|
*
|
|
5693
|
-
* arguments {number|string|
|
|
5737
|
+
* arguments {number|string|Decimal}
|
|
5694
5738
|
*
|
|
5695
5739
|
*/
|
|
5696
5740
|
function hypot() {
|
|
@@ -5732,7 +5776,7 @@ var decimal = {exports: {}};
|
|
|
5732
5776
|
* Return a new Decimal whose value is the natural logarithm of `x`, rounded to `precision`
|
|
5733
5777
|
* significant digits using rounding mode `rounding`.
|
|
5734
5778
|
*
|
|
5735
|
-
* x {number|string|
|
|
5779
|
+
* x {number|string|Decimal}
|
|
5736
5780
|
*
|
|
5737
5781
|
*/
|
|
5738
5782
|
function ln(x) {
|
|
@@ -5746,8 +5790,8 @@ var decimal = {exports: {}};
|
|
|
5746
5790
|
*
|
|
5747
5791
|
* log[y](x)
|
|
5748
5792
|
*
|
|
5749
|
-
* x {number|string|
|
|
5750
|
-
* y {number|string|
|
|
5793
|
+
* x {number|string|Decimal} The argument of the logarithm.
|
|
5794
|
+
* y {number|string|Decimal} The base of the logarithm.
|
|
5751
5795
|
*
|
|
5752
5796
|
*/
|
|
5753
5797
|
function log(x, y) {
|
|
@@ -5759,7 +5803,7 @@ var decimal = {exports: {}};
|
|
|
5759
5803
|
* Return a new Decimal whose value is the base 2 logarithm of `x`, rounded to `precision`
|
|
5760
5804
|
* significant digits using rounding mode `rounding`.
|
|
5761
5805
|
*
|
|
5762
|
-
* x {number|string|
|
|
5806
|
+
* x {number|string|Decimal}
|
|
5763
5807
|
*
|
|
5764
5808
|
*/
|
|
5765
5809
|
function log2(x) {
|
|
@@ -5771,7 +5815,7 @@ var decimal = {exports: {}};
|
|
|
5771
5815
|
* Return a new Decimal whose value is the base 10 logarithm of `x`, rounded to `precision`
|
|
5772
5816
|
* significant digits using rounding mode `rounding`.
|
|
5773
5817
|
*
|
|
5774
|
-
* x {number|string|
|
|
5818
|
+
* x {number|string|Decimal}
|
|
5775
5819
|
*
|
|
5776
5820
|
*/
|
|
5777
5821
|
function log10(x) {
|
|
@@ -5782,22 +5826,22 @@ var decimal = {exports: {}};
|
|
|
5782
5826
|
/*
|
|
5783
5827
|
* Return a new Decimal whose value is the maximum of the arguments.
|
|
5784
5828
|
*
|
|
5785
|
-
* arguments {number|string|
|
|
5829
|
+
* arguments {number|string|Decimal}
|
|
5786
5830
|
*
|
|
5787
5831
|
*/
|
|
5788
5832
|
function max() {
|
|
5789
|
-
return maxOrMin(this, arguments,
|
|
5833
|
+
return maxOrMin(this, arguments, 'lt');
|
|
5790
5834
|
}
|
|
5791
5835
|
|
|
5792
5836
|
|
|
5793
5837
|
/*
|
|
5794
5838
|
* Return a new Decimal whose value is the minimum of the arguments.
|
|
5795
5839
|
*
|
|
5796
|
-
* arguments {number|string|
|
|
5840
|
+
* arguments {number|string|Decimal}
|
|
5797
5841
|
*
|
|
5798
5842
|
*/
|
|
5799
5843
|
function min() {
|
|
5800
|
-
return maxOrMin(this, arguments,
|
|
5844
|
+
return maxOrMin(this, arguments, 'gt');
|
|
5801
5845
|
}
|
|
5802
5846
|
|
|
5803
5847
|
|
|
@@ -5805,8 +5849,8 @@ var decimal = {exports: {}};
|
|
|
5805
5849
|
* Return a new Decimal whose value is `x` modulo `y`, rounded to `precision` significant digits
|
|
5806
5850
|
* using rounding mode `rounding`.
|
|
5807
5851
|
*
|
|
5808
|
-
* x {number|string|
|
|
5809
|
-
* y {number|string|
|
|
5852
|
+
* x {number|string|Decimal}
|
|
5853
|
+
* y {number|string|Decimal}
|
|
5810
5854
|
*
|
|
5811
5855
|
*/
|
|
5812
5856
|
function mod(x, y) {
|
|
@@ -5818,8 +5862,8 @@ var decimal = {exports: {}};
|
|
|
5818
5862
|
* Return a new Decimal whose value is `x` multiplied by `y`, rounded to `precision` significant
|
|
5819
5863
|
* digits using rounding mode `rounding`.
|
|
5820
5864
|
*
|
|
5821
|
-
* x {number|string|
|
|
5822
|
-
* y {number|string|
|
|
5865
|
+
* x {number|string|Decimal}
|
|
5866
|
+
* y {number|string|Decimal}
|
|
5823
5867
|
*
|
|
5824
5868
|
*/
|
|
5825
5869
|
function mul(x, y) {
|
|
@@ -5831,8 +5875,8 @@ var decimal = {exports: {}};
|
|
|
5831
5875
|
* Return a new Decimal whose value is `x` raised to the power `y`, rounded to precision
|
|
5832
5876
|
* significant digits using rounding mode `rounding`.
|
|
5833
5877
|
*
|
|
5834
|
-
* x {number|string|
|
|
5835
|
-
* y {number|string|
|
|
5878
|
+
* x {number|string|Decimal} The base.
|
|
5879
|
+
* y {number|string|Decimal} The exponent.
|
|
5836
5880
|
*
|
|
5837
5881
|
*/
|
|
5838
5882
|
function pow(x, y) {
|
|
@@ -5950,7 +5994,7 @@ var decimal = {exports: {}};
|
|
|
5950
5994
|
*
|
|
5951
5995
|
* To emulate `Math.round`, set rounding to 7 (ROUND_HALF_CEIL).
|
|
5952
5996
|
*
|
|
5953
|
-
* x {number|string|
|
|
5997
|
+
* x {number|string|Decimal}
|
|
5954
5998
|
*
|
|
5955
5999
|
*/
|
|
5956
6000
|
function round(x) {
|
|
@@ -5966,7 +6010,7 @@ var decimal = {exports: {}};
|
|
|
5966
6010
|
* -0 if x is -0,
|
|
5967
6011
|
* NaN otherwise
|
|
5968
6012
|
*
|
|
5969
|
-
* x {number|string|
|
|
6013
|
+
* x {number|string|Decimal}
|
|
5970
6014
|
*
|
|
5971
6015
|
*/
|
|
5972
6016
|
function sign(x) {
|
|
@@ -5979,7 +6023,7 @@ var decimal = {exports: {}};
|
|
|
5979
6023
|
* Return a new Decimal whose value is the sine of `x`, rounded to `precision` significant digits
|
|
5980
6024
|
* using rounding mode `rounding`.
|
|
5981
6025
|
*
|
|
5982
|
-
* x {number|string|
|
|
6026
|
+
* x {number|string|Decimal} A value in radians.
|
|
5983
6027
|
*
|
|
5984
6028
|
*/
|
|
5985
6029
|
function sin(x) {
|
|
@@ -5991,7 +6035,7 @@ var decimal = {exports: {}};
|
|
|
5991
6035
|
* Return a new Decimal whose value is the hyperbolic sine of `x`, rounded to `precision`
|
|
5992
6036
|
* significant digits using rounding mode `rounding`.
|
|
5993
6037
|
*
|
|
5994
|
-
* x {number|string|
|
|
6038
|
+
* x {number|string|Decimal} A value in radians.
|
|
5995
6039
|
*
|
|
5996
6040
|
*/
|
|
5997
6041
|
function sinh(x) {
|
|
@@ -6003,7 +6047,7 @@ var decimal = {exports: {}};
|
|
|
6003
6047
|
* Return a new Decimal whose value is the square root of `x`, rounded to `precision` significant
|
|
6004
6048
|
* digits using rounding mode `rounding`.
|
|
6005
6049
|
*
|
|
6006
|
-
* x {number|string|
|
|
6050
|
+
* x {number|string|Decimal}
|
|
6007
6051
|
*
|
|
6008
6052
|
*/
|
|
6009
6053
|
function sqrt(x) {
|
|
@@ -6015,8 +6059,8 @@ var decimal = {exports: {}};
|
|
|
6015
6059
|
* Return a new Decimal whose value is `x` minus `y`, rounded to `precision` significant digits
|
|
6016
6060
|
* using rounding mode `rounding`.
|
|
6017
6061
|
*
|
|
6018
|
-
* x {number|string|
|
|
6019
|
-
* y {number|string|
|
|
6062
|
+
* x {number|string|Decimal}
|
|
6063
|
+
* y {number|string|Decimal}
|
|
6020
6064
|
*
|
|
6021
6065
|
*/
|
|
6022
6066
|
function sub(x, y) {
|
|
@@ -6030,7 +6074,7 @@ var decimal = {exports: {}};
|
|
|
6030
6074
|
*
|
|
6031
6075
|
* Only the result is rounded, not the intermediate calculations.
|
|
6032
6076
|
*
|
|
6033
|
-
* arguments {number|string|
|
|
6077
|
+
* arguments {number|string|Decimal}
|
|
6034
6078
|
*
|
|
6035
6079
|
*/
|
|
6036
6080
|
function sum() {
|
|
@@ -6050,7 +6094,7 @@ var decimal = {exports: {}};
|
|
|
6050
6094
|
* Return a new Decimal whose value is the tangent of `x`, rounded to `precision` significant
|
|
6051
6095
|
* digits using rounding mode `rounding`.
|
|
6052
6096
|
*
|
|
6053
|
-
* x {number|string|
|
|
6097
|
+
* x {number|string|Decimal} A value in radians.
|
|
6054
6098
|
*
|
|
6055
6099
|
*/
|
|
6056
6100
|
function tan(x) {
|
|
@@ -6062,7 +6106,7 @@ var decimal = {exports: {}};
|
|
|
6062
6106
|
* Return a new Decimal whose value is the hyperbolic tangent of `x`, rounded to `precision`
|
|
6063
6107
|
* significant digits using rounding mode `rounding`.
|
|
6064
6108
|
*
|
|
6065
|
-
* x {number|string|
|
|
6109
|
+
* x {number|string|Decimal} A value in radians.
|
|
6066
6110
|
*
|
|
6067
6111
|
*/
|
|
6068
6112
|
function tanh(x) {
|
|
@@ -6073,7 +6117,7 @@ var decimal = {exports: {}};
|
|
|
6073
6117
|
/*
|
|
6074
6118
|
* Return a new Decimal whose value is `x` truncated to an integer.
|
|
6075
6119
|
*
|
|
6076
|
-
* x {number|string|
|
|
6120
|
+
* x {number|string|Decimal}
|
|
6077
6121
|
*
|
|
6078
6122
|
*/
|
|
6079
6123
|
function trunc(x) {
|
|
@@ -6187,8 +6231,8 @@ const PlayerElevatePointsHistory = class {
|
|
|
6187
6231
|
return (index.h("main", { key: '88ee16781c8b84ba0cf4c008409c8b0460a65c5d' }, index.h("general-styling-wrapper", { key: 'a4a86b442087c1a9e8ff27a21adde4a63c2b1773', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl,
|
|
6188
6232
|
// @ts-ignore
|
|
6189
6233
|
targetTranslations: translation, translationUrl: this.translationUrl, mbSource: this.mbSource }), index.h("player-elevate-pointcard", { key: 'bed65d6923747be4beb1d1520e4eca4c124eb3e9', playerAvatarUrl: this.playerAvatarUrl, endpoint: this.endpoint, session: this.session, language: this.language, clientStylingUrl: this.clientStylingUrl, clientStyling: this.clientStyling, translationUrl: this.translationUrl }), index.h("div", { key: 'f5d93a35b480712866fd4af9d0923f65d07b7bb8', class: "PlayerElevatePointsDetaisContainer" }, [
|
|
6190
|
-
renderTopBar(this.locale, this.type, pageSetting),
|
|
6191
|
-
index.h("div", { key: '
|
|
6234
|
+
renderTopBar(this.locale, this.type, pageSetting, this.language),
|
|
6235
|
+
index.h("div", { key: '5642ba092d69c539eeceb1360408b6a44d870e3f', class: "Tabs Row" }, (this.validWallets || []).map(key => (index.h("div", { class: "tab" }, index.h("div", { class: `TabText ${key === this.type ? 'active' : ''}`, onClick: this.switchTab.bind(this, key) }, this.locale.tabTitle[key]), index.h("div", { class: `TabBorderBottom ${key === this.type ? 'active' : ''}` }))))),
|
|
6192
6236
|
((_a = this.pointsWallets[this.type]) === null || _a === void 0 ? void 0 : _a.isLoadFailed)
|
|
6193
6237
|
? index.h("div", { class: "ReloadMsg" }, this.locale['reloadMsgWhenError'], index.h("a", { class: "Reload", onClick: this.updateWallets }, this.locale['reload']))
|
|
6194
6238
|
: this.loadWallets(renderWallets.bind(this, this.locale, ((_b = this.pointsWallets[this.type]) === null || _b === void 0 ? void 0 : _b.wallets) || [], pageSetting))
|