@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
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement, a as getAssetPath, F as Fragment } from './index-58af35f4.js';
|
|
2
|
-
import { t as translateWithParams, T as TRANSLATIONS$2, a as translate$2 } from './locale.utils-
|
|
3
|
-
import { r as requiredArgs, t as toDate, g as getTimezoneOffsetInMilliseconds, P as PlayerAvatar, a as PlayerPoints } from './player-elevate-card-items-
|
|
2
|
+
import { t as translateWithParams, T as TRANSLATIONS$2, a as translate$2 } from './locale.utils-471ae737.js';
|
|
3
|
+
import { r as requiredArgs, t as toDate, g as getTimezoneOffsetInMilliseconds, P as PlayerAvatar, a as PlayerPoints } from './player-elevate-card-items-38110d9c.js';
|
|
4
4
|
|
|
5
5
|
const DEFAULT_LANGUAGE$1 = 'en';
|
|
6
|
-
const SUPPORTED_LANGUAGES$1 = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
|
|
6
|
+
const SUPPORTED_LANGUAGES$1 = ['pt-br', 'en', 'es-mx', 'hu', 'hr', 'tr'];
|
|
7
7
|
const TRANSLATIONS$1 = {
|
|
8
8
|
en: {
|
|
9
9
|
"pageLimitLabel": 'Show',
|
|
10
10
|
},
|
|
11
|
+
tr: {
|
|
12
|
+
"pageLimitLabel": 'Göster',
|
|
13
|
+
},
|
|
11
14
|
hu: {
|
|
12
15
|
"pageLimitLabel": 'Show',
|
|
13
16
|
},
|
|
@@ -1032,8 +1035,66 @@ const translation = {
|
|
|
1032
1035
|
"tournamentTicket": "Tournament Ticket Redeem",
|
|
1033
1036
|
"physicalItem": "Custom Reward Redeem",
|
|
1034
1037
|
"role": "Role Assignment Redeem"
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
"tr": {
|
|
1041
|
+
"tabTitle": {
|
|
1042
|
+
"spendable": "Coin",
|
|
1043
|
+
"loyalty": "XP",
|
|
1044
|
+
"history": "Mağaza Alımları",
|
|
1045
|
+
"rakeback": "Rakeback"
|
|
1046
|
+
},
|
|
1047
|
+
"barTitle": {
|
|
1048
|
+
"spendable": "Coin Geçmişi",
|
|
1049
|
+
"loyalty": "Deneyim Puanı Geçmişi",
|
|
1050
|
+
"history": "Mağaza Alımları",
|
|
1051
|
+
"rakeback": "Rakeback Geçmişi"
|
|
1035
1052
|
},
|
|
1036
|
-
"
|
|
1053
|
+
"bonus": "Bonus",
|
|
1054
|
+
"coins": "Coin",
|
|
1055
|
+
"noContent": "İçerik Yok",
|
|
1056
|
+
"loading": "Yükleniyor",
|
|
1057
|
+
"redeem": "Kullan",
|
|
1058
|
+
"reload": "Yenile",
|
|
1059
|
+
"reloadMsgWhenError": "Ağ Sorunu, lütfen ",
|
|
1060
|
+
"rakebackPointType": {
|
|
1061
|
+
"wageringByRealMoney": "Rakeback Casino Gerçek Bahis",
|
|
1062
|
+
"bonus": "Rakeback Talebi",
|
|
1063
|
+
"vendor2User": "Rakeback Talebi",
|
|
1064
|
+
"cancelledWageringByRealMoney": "İptal Edilen Rakeback Casino Gerçek Bahis"
|
|
1065
|
+
},
|
|
1066
|
+
"pointType": {
|
|
1067
|
+
"registration": "Kayıt",
|
|
1068
|
+
"cancelledRegistration": "İptal Edilen Kayıt",
|
|
1069
|
+
"expiredRegistration": "Süresi Dolan Kayıt",
|
|
1070
|
+
"manual": "Manuel",
|
|
1071
|
+
"cancelledManual": "İptal Edilen Manuel",
|
|
1072
|
+
"expiredManual": "Süresi Dolan Manuel",
|
|
1073
|
+
"wageringByRealMoney": "Gerçek Para Bahsi",
|
|
1074
|
+
"wageringByBonusMoney": "Bonus Para Bahsi",
|
|
1075
|
+
"cancelledWageringByRealMoney": "İptal Edilen Gerçek Para Bahsi",
|
|
1076
|
+
"cancelledWageringByBonusMoney": "İptal Edilen Bonus Para Bahsi",
|
|
1077
|
+
"expiredWageringByRealMoney": "Süresi Dolan Gerçek Para Bahsi",
|
|
1078
|
+
"expiredWageringByBonusMoney": "Süresi Dolan Bonus Para Bahsi",
|
|
1079
|
+
"levelExpired": "Seviye Süresi Doldu",
|
|
1080
|
+
"bonus": "Bonus Kullanımı",
|
|
1081
|
+
"manualByTournament": "Turnuvadan Ödül",
|
|
1082
|
+
"manualByPrizeEngine": "PrizeEngine'den Ödül",
|
|
1083
|
+
"manualByMission": "Görevden Ödül",
|
|
1084
|
+
"manualByChallenge": "Meydan Okumadan Ödül",
|
|
1085
|
+
"cancelledManualByTournament": "İptal Edilen Turnuva Ödülü",
|
|
1086
|
+
"cancelledManualByMission": "İptal Edilen Görev Ödülü",
|
|
1087
|
+
"cancelledManualByChallenge": "İptal Edilen Meydan Okuma Ödülü",
|
|
1088
|
+
"expiredManualByTournament": "Süresi Dolan Turnuva Ödülü",
|
|
1089
|
+
"expiredManualByMission": "Süresi Dolan Görev Ödülü",
|
|
1090
|
+
"expiredManualByChallenge": "Süresi Dolan Meydan Okuma Ödülü",
|
|
1091
|
+
"cancelledManualByPrizeEngine": "İptal Edilen PrizeEngine Ödülü",
|
|
1092
|
+
"expiredManualByPrizeEngine": "Süresi Dolan PrizeEngine Ödülü",
|
|
1093
|
+
"prizeEngine": "PrizeEngine Kullanımı",
|
|
1094
|
+
"tournamentTicket": "Turnuva Bileti Kullanımı",
|
|
1095
|
+
"physicalItem": "Özel Ödül Kullanımı",
|
|
1096
|
+
"role": "Rol Ataması Kullanımı"
|
|
1097
|
+
}
|
|
1037
1098
|
}
|
|
1038
1099
|
};
|
|
1039
1100
|
|
|
@@ -1157,13 +1218,13 @@ const menuSvg = `<svg width="30" height="8" viewBox="0 0 30 8" fill="none" xmlns
|
|
|
1157
1218
|
</svg>
|
|
1158
1219
|
`;
|
|
1159
1220
|
|
|
1160
|
-
const renderTopBar = (locale, type, pageSetting) => h("div", { class: "TopBarContainer" },
|
|
1221
|
+
const renderTopBar = (locale, type, pageSetting, language = 'en') => h("div", { class: "TopBarContainer" },
|
|
1161
1222
|
h("div", { class: "BackImageContainer" },
|
|
1162
1223
|
h("span", { class: "BackImage", innerHTML: backSvg })),
|
|
1163
1224
|
h("div", { class: "TitleContainer" },
|
|
1164
1225
|
h("div", { class: "Title", title: locale.barTitle[type] }, locale.barTitle[type]),
|
|
1165
1226
|
h("div", { class: 'Limits' },
|
|
1166
|
-
h("bonus-pagination-limits", { pageLimitOptions: pageSetting.pageLimitOptions, limit: pageSetting.limit }))),
|
|
1227
|
+
h("bonus-pagination-limits", { pageLimitOptions: pageSetting.pageLimitOptions, limit: pageSetting.limit, language: language }))),
|
|
1167
1228
|
h("div", null,
|
|
1168
1229
|
h("span", { class: "MenuImage", innerHTML: menuSvg })));
|
|
1169
1230
|
|
|
@@ -1176,10 +1237,10 @@ var decimal = {exports: {}};
|
|
|
1176
1237
|
|
|
1177
1238
|
|
|
1178
1239
|
/*!
|
|
1179
|
-
* decimal.js v10.
|
|
1240
|
+
* decimal.js v10.4.3
|
|
1180
1241
|
* An arbitrary-precision Decimal type for JavaScript.
|
|
1181
1242
|
* https://github.com/MikeMcl/decimal.js
|
|
1182
|
-
* Copyright (c)
|
|
1243
|
+
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
1183
1244
|
* MIT Licence
|
|
1184
1245
|
*/
|
|
1185
1246
|
|
|
@@ -1391,8 +1452,8 @@ var decimal = {exports: {}};
|
|
|
1391
1452
|
* Return a new Decimal whose value is the value of this Decimal clamped to the range
|
|
1392
1453
|
* delineated by `min` and `max`.
|
|
1393
1454
|
*
|
|
1394
|
-
* min {number|string|
|
|
1395
|
-
* max {number|string|
|
|
1455
|
+
* min {number|string|Decimal}
|
|
1456
|
+
* max {number|string|Decimal}
|
|
1396
1457
|
*
|
|
1397
1458
|
*/
|
|
1398
1459
|
P.clampedTo = P.clamp = function (min, max) {
|
|
@@ -1896,7 +1957,8 @@ var decimal = {exports: {}};
|
|
|
1896
1957
|
*
|
|
1897
1958
|
*/
|
|
1898
1959
|
P.inverseCosine = P.acos = function () {
|
|
1899
|
-
var
|
|
1960
|
+
var halfPi,
|
|
1961
|
+
x = this,
|
|
1900
1962
|
Ctor = x.constructor,
|
|
1901
1963
|
k = x.abs().cmp(1),
|
|
1902
1964
|
pr = Ctor.precision,
|
|
@@ -1917,13 +1979,13 @@ var decimal = {exports: {}};
|
|
|
1917
1979
|
Ctor.precision = pr + 6;
|
|
1918
1980
|
Ctor.rounding = 1;
|
|
1919
1981
|
|
|
1920
|
-
|
|
1921
|
-
|
|
1982
|
+
x = x.asin();
|
|
1983
|
+
halfPi = getPi(Ctor, pr + 4, rm).times(0.5);
|
|
1922
1984
|
|
|
1923
1985
|
Ctor.precision = pr;
|
|
1924
1986
|
Ctor.rounding = rm;
|
|
1925
1987
|
|
|
1926
|
-
return
|
|
1988
|
+
return halfPi.minus(x);
|
|
1927
1989
|
};
|
|
1928
1990
|
|
|
1929
1991
|
|
|
@@ -2297,7 +2359,7 @@ var decimal = {exports: {}};
|
|
|
2297
2359
|
* log[b](Infinity) = Infinity
|
|
2298
2360
|
* log[b](NaN) = NaN
|
|
2299
2361
|
*
|
|
2300
|
-
* [base] {number|string|
|
|
2362
|
+
* [base] {number|string|Decimal} The base of the logarithm.
|
|
2301
2363
|
*
|
|
2302
2364
|
*/
|
|
2303
2365
|
P.logarithm = P.log = function (base) {
|
|
@@ -2391,11 +2453,11 @@ var decimal = {exports: {}};
|
|
|
2391
2453
|
/*
|
|
2392
2454
|
* Return a new Decimal whose value is the maximum of the arguments and the value of this Decimal.
|
|
2393
2455
|
*
|
|
2394
|
-
* arguments {number|string|
|
|
2456
|
+
* arguments {number|string|Decimal}
|
|
2395
2457
|
*
|
|
2396
2458
|
P.max = function () {
|
|
2397
2459
|
Array.prototype.push.call(arguments, this);
|
|
2398
|
-
return maxOrMin(this.constructor, arguments,
|
|
2460
|
+
return maxOrMin(this.constructor, arguments, 'lt');
|
|
2399
2461
|
};
|
|
2400
2462
|
*/
|
|
2401
2463
|
|
|
@@ -2403,11 +2465,11 @@ var decimal = {exports: {}};
|
|
|
2403
2465
|
/*
|
|
2404
2466
|
* Return a new Decimal whose value is the minimum of the arguments and the value of this Decimal.
|
|
2405
2467
|
*
|
|
2406
|
-
* arguments {number|string|
|
|
2468
|
+
* arguments {number|string|Decimal}
|
|
2407
2469
|
*
|
|
2408
2470
|
P.min = function () {
|
|
2409
2471
|
Array.prototype.push.call(arguments, this);
|
|
2410
|
-
return maxOrMin(this.constructor, arguments,
|
|
2472
|
+
return maxOrMin(this.constructor, arguments, 'gt');
|
|
2411
2473
|
};
|
|
2412
2474
|
*/
|
|
2413
2475
|
|
|
@@ -3226,7 +3288,7 @@ var decimal = {exports: {}};
|
|
|
3226
3288
|
* denominator. If a maximum denominator is not specified, the denominator will be the lowest
|
|
3227
3289
|
* value necessary to represent the number exactly.
|
|
3228
3290
|
*
|
|
3229
|
-
* [maxD] {number|string|
|
|
3291
|
+
* [maxD] {number|string|Decimal} Maximum denominator. Integer >= 1 and < Infinity.
|
|
3230
3292
|
*
|
|
3231
3293
|
*/
|
|
3232
3294
|
P.toFraction = function (maxD) {
|
|
@@ -3314,7 +3376,7 @@ var decimal = {exports: {}};
|
|
|
3314
3376
|
*
|
|
3315
3377
|
* The return value is not affected by the value of `precision`.
|
|
3316
3378
|
*
|
|
3317
|
-
* y {number|string|
|
|
3379
|
+
* y {number|string|Decimal} The magnitude to round to a multiple of.
|
|
3318
3380
|
* [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
|
|
3319
3381
|
*
|
|
3320
3382
|
* 'toNearest() rounding mode not an integer: {rm}'
|
|
@@ -3434,7 +3496,7 @@ var decimal = {exports: {}};
|
|
|
3434
3496
|
*
|
|
3435
3497
|
* If a result is incorrectly rounded the maximum error will be 1 ulp (unit in last place).
|
|
3436
3498
|
*
|
|
3437
|
-
* y {number|string|
|
|
3499
|
+
* y {number|string|Decimal} The power to which to raise this Decimal.
|
|
3438
3500
|
*
|
|
3439
3501
|
*/
|
|
3440
3502
|
P.toPower = P.pow = function (y) {
|
|
@@ -4418,25 +4480,19 @@ var decimal = {exports: {}};
|
|
|
4418
4480
|
|
|
4419
4481
|
|
|
4420
4482
|
/*
|
|
4421
|
-
* Handle `max`
|
|
4483
|
+
* Handle `max` and `min`. `ltgt` is 'lt' or 'gt'.
|
|
4422
4484
|
*/
|
|
4423
|
-
function maxOrMin(Ctor, args,
|
|
4424
|
-
var
|
|
4485
|
+
function maxOrMin(Ctor, args, ltgt) {
|
|
4486
|
+
var y,
|
|
4425
4487
|
x = new Ctor(args[0]),
|
|
4426
4488
|
i = 0;
|
|
4427
4489
|
|
|
4428
4490
|
for (; ++i < args.length;) {
|
|
4429
4491
|
y = new Ctor(args[i]);
|
|
4430
|
-
|
|
4431
|
-
// NaN?
|
|
4432
4492
|
if (!y.s) {
|
|
4433
4493
|
x = y;
|
|
4434
4494
|
break;
|
|
4435
|
-
}
|
|
4436
|
-
|
|
4437
|
-
k = x.cmp(y);
|
|
4438
|
-
|
|
4439
|
-
if (k === n || k === 0 && x.s === n) {
|
|
4495
|
+
} else if (x[ltgt](y)) {
|
|
4440
4496
|
x = y;
|
|
4441
4497
|
}
|
|
4442
4498
|
}
|
|
@@ -4695,8 +4751,6 @@ var decimal = {exports: {}};
|
|
|
4695
4751
|
function parseDecimal(x, str) {
|
|
4696
4752
|
var e, i, len;
|
|
4697
4753
|
|
|
4698
|
-
// TODO BigInt str: no need to check for decimal point, exponential form or leading zeros.
|
|
4699
|
-
|
|
4700
4754
|
// Decimal point?
|
|
4701
4755
|
if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');
|
|
4702
4756
|
|
|
@@ -5162,7 +5216,7 @@ var decimal = {exports: {}};
|
|
|
5162
5216
|
/*
|
|
5163
5217
|
* Return a new Decimal whose value is the absolute value of `x`.
|
|
5164
5218
|
*
|
|
5165
|
-
* x {number|string|
|
|
5219
|
+
* x {number|string|Decimal}
|
|
5166
5220
|
*
|
|
5167
5221
|
*/
|
|
5168
5222
|
function abs(x) {
|
|
@@ -5173,7 +5227,7 @@ var decimal = {exports: {}};
|
|
|
5173
5227
|
/*
|
|
5174
5228
|
* Return a new Decimal whose value is the arccosine in radians of `x`.
|
|
5175
5229
|
*
|
|
5176
|
-
* x {number|string|
|
|
5230
|
+
* x {number|string|Decimal}
|
|
5177
5231
|
*
|
|
5178
5232
|
*/
|
|
5179
5233
|
function acos(x) {
|
|
@@ -5185,7 +5239,7 @@ var decimal = {exports: {}};
|
|
|
5185
5239
|
* Return a new Decimal whose value is the inverse of the hyperbolic cosine of `x`, rounded to
|
|
5186
5240
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5187
5241
|
*
|
|
5188
|
-
* x {number|string|
|
|
5242
|
+
* x {number|string|Decimal} A value in radians.
|
|
5189
5243
|
*
|
|
5190
5244
|
*/
|
|
5191
5245
|
function acosh(x) {
|
|
@@ -5197,8 +5251,8 @@ var decimal = {exports: {}};
|
|
|
5197
5251
|
* Return a new Decimal whose value is the sum of `x` and `y`, rounded to `precision` significant
|
|
5198
5252
|
* digits using rounding mode `rounding`.
|
|
5199
5253
|
*
|
|
5200
|
-
* x {number|string|
|
|
5201
|
-
* y {number|string|
|
|
5254
|
+
* x {number|string|Decimal}
|
|
5255
|
+
* y {number|string|Decimal}
|
|
5202
5256
|
*
|
|
5203
5257
|
*/
|
|
5204
5258
|
function add(x, y) {
|
|
@@ -5210,7 +5264,7 @@ var decimal = {exports: {}};
|
|
|
5210
5264
|
* Return a new Decimal whose value is the arcsine in radians of `x`, rounded to `precision`
|
|
5211
5265
|
* significant digits using rounding mode `rounding`.
|
|
5212
5266
|
*
|
|
5213
|
-
* x {number|string|
|
|
5267
|
+
* x {number|string|Decimal}
|
|
5214
5268
|
*
|
|
5215
5269
|
*/
|
|
5216
5270
|
function asin(x) {
|
|
@@ -5222,7 +5276,7 @@ var decimal = {exports: {}};
|
|
|
5222
5276
|
* Return a new Decimal whose value is the inverse of the hyperbolic sine of `x`, rounded to
|
|
5223
5277
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5224
5278
|
*
|
|
5225
|
-
* x {number|string|
|
|
5279
|
+
* x {number|string|Decimal} A value in radians.
|
|
5226
5280
|
*
|
|
5227
5281
|
*/
|
|
5228
5282
|
function asinh(x) {
|
|
@@ -5234,7 +5288,7 @@ var decimal = {exports: {}};
|
|
|
5234
5288
|
* Return a new Decimal whose value is the arctangent in radians of `x`, rounded to `precision`
|
|
5235
5289
|
* significant digits using rounding mode `rounding`.
|
|
5236
5290
|
*
|
|
5237
|
-
* x {number|string|
|
|
5291
|
+
* x {number|string|Decimal}
|
|
5238
5292
|
*
|
|
5239
5293
|
*/
|
|
5240
5294
|
function atan(x) {
|
|
@@ -5246,7 +5300,7 @@ var decimal = {exports: {}};
|
|
|
5246
5300
|
* Return a new Decimal whose value is the inverse of the hyperbolic tangent of `x`, rounded to
|
|
5247
5301
|
* `precision` significant digits using rounding mode `rounding`.
|
|
5248
5302
|
*
|
|
5249
|
-
* x {number|string|
|
|
5303
|
+
* x {number|string|Decimal} A value in radians.
|
|
5250
5304
|
*
|
|
5251
5305
|
*/
|
|
5252
5306
|
function atanh(x) {
|
|
@@ -5261,8 +5315,8 @@ var decimal = {exports: {}};
|
|
|
5261
5315
|
* Domain: [-Infinity, Infinity]
|
|
5262
5316
|
* Range: [-pi, pi]
|
|
5263
5317
|
*
|
|
5264
|
-
* y {number|string|
|
|
5265
|
-
* x {number|string|
|
|
5318
|
+
* y {number|string|Decimal} The y-coordinate.
|
|
5319
|
+
* x {number|string|Decimal} The x-coordinate.
|
|
5266
5320
|
*
|
|
5267
5321
|
* atan2(±0, -0) = ±pi
|
|
5268
5322
|
* atan2(±0, +0) = ±0
|
|
@@ -5327,7 +5381,7 @@ var decimal = {exports: {}};
|
|
|
5327
5381
|
* Return a new Decimal whose value is the cube root of `x`, rounded to `precision` significant
|
|
5328
5382
|
* digits using rounding mode `rounding`.
|
|
5329
5383
|
*
|
|
5330
|
-
* x {number|string|
|
|
5384
|
+
* x {number|string|Decimal}
|
|
5331
5385
|
*
|
|
5332
5386
|
*/
|
|
5333
5387
|
function cbrt(x) {
|
|
@@ -5338,7 +5392,7 @@ var decimal = {exports: {}};
|
|
|
5338
5392
|
/*
|
|
5339
5393
|
* Return a new Decimal whose value is `x` rounded to an integer using `ROUND_CEIL`.
|
|
5340
5394
|
*
|
|
5341
|
-
* x {number|string|
|
|
5395
|
+
* x {number|string|Decimal}
|
|
5342
5396
|
*
|
|
5343
5397
|
*/
|
|
5344
5398
|
function ceil(x) {
|
|
@@ -5349,9 +5403,9 @@ var decimal = {exports: {}};
|
|
|
5349
5403
|
/*
|
|
5350
5404
|
* Return a new Decimal whose value is `x` clamped to the range delineated by `min` and `max`.
|
|
5351
5405
|
*
|
|
5352
|
-
* x {number|string|
|
|
5353
|
-
* min {number|string|
|
|
5354
|
-
* max {number|string|
|
|
5406
|
+
* x {number|string|Decimal}
|
|
5407
|
+
* min {number|string|Decimal}
|
|
5408
|
+
* max {number|string|Decimal}
|
|
5355
5409
|
*
|
|
5356
5410
|
*/
|
|
5357
5411
|
function clamp(x, min, max) {
|
|
@@ -5425,7 +5479,7 @@ var decimal = {exports: {}};
|
|
|
5425
5479
|
* Return a new Decimal whose value is the cosine of `x`, rounded to `precision` significant
|
|
5426
5480
|
* digits using rounding mode `rounding`.
|
|
5427
5481
|
*
|
|
5428
|
-
* x {number|string|
|
|
5482
|
+
* x {number|string|Decimal} A value in radians.
|
|
5429
5483
|
*
|
|
5430
5484
|
*/
|
|
5431
5485
|
function cos(x) {
|
|
@@ -5437,7 +5491,7 @@ var decimal = {exports: {}};
|
|
|
5437
5491
|
* Return a new Decimal whose value is the hyperbolic cosine of `x`, rounded to precision
|
|
5438
5492
|
* significant digits using rounding mode `rounding`.
|
|
5439
5493
|
*
|
|
5440
|
-
* x {number|string|
|
|
5494
|
+
* x {number|string|Decimal} A value in radians.
|
|
5441
5495
|
*
|
|
5442
5496
|
*/
|
|
5443
5497
|
function cosh(x) {
|
|
@@ -5457,7 +5511,7 @@ var decimal = {exports: {}};
|
|
|
5457
5511
|
* The Decimal constructor and exported function.
|
|
5458
5512
|
* Return a new Decimal instance.
|
|
5459
5513
|
*
|
|
5460
|
-
* v {number|string|
|
|
5514
|
+
* v {number|string|Decimal} A numeric value.
|
|
5461
5515
|
*
|
|
5462
5516
|
*/
|
|
5463
5517
|
function Decimal(v) {
|
|
@@ -5471,6 +5525,7 @@ var decimal = {exports: {}};
|
|
|
5471
5525
|
// which points to Object.
|
|
5472
5526
|
x.constructor = Decimal;
|
|
5473
5527
|
|
|
5528
|
+
// Duplicate.
|
|
5474
5529
|
if (isDecimalInstance(v)) {
|
|
5475
5530
|
x.s = v.s;
|
|
5476
5531
|
|
|
@@ -5535,10 +5590,9 @@ var decimal = {exports: {}};
|
|
|
5535
5590
|
}
|
|
5536
5591
|
|
|
5537
5592
|
return;
|
|
5538
|
-
}
|
|
5539
5593
|
|
|
5540
|
-
// Infinity
|
|
5541
|
-
if (v * 0 !== 0) {
|
|
5594
|
+
// Infinity, NaN.
|
|
5595
|
+
} else if (v * 0 !== 0) {
|
|
5542
5596
|
if (!v) x.s = NaN;
|
|
5543
5597
|
x.e = NaN;
|
|
5544
5598
|
x.d = null;
|
|
@@ -5546,32 +5600,22 @@ var decimal = {exports: {}};
|
|
|
5546
5600
|
}
|
|
5547
5601
|
|
|
5548
5602
|
return parseDecimal(x, v.toString());
|
|
5549
|
-
}
|
|
5550
|
-
|
|
5551
|
-
if (t === 'string') {
|
|
5552
|
-
if ((i = v.charCodeAt(0)) === 45) { // minus sign
|
|
5553
|
-
v = v.slice(1);
|
|
5554
|
-
x.s = -1;
|
|
5555
|
-
} else {
|
|
5556
|
-
if (i === 43) v = v.slice(1); // plus sign
|
|
5557
|
-
x.s = 1;
|
|
5558
|
-
}
|
|
5559
5603
|
|
|
5560
|
-
|
|
5604
|
+
} else if (t !== 'string') {
|
|
5605
|
+
throw Error(invalidArgument + v);
|
|
5561
5606
|
}
|
|
5562
5607
|
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
return parseDecimal(x, v.toString());
|
|
5608
|
+
// Minus sign?
|
|
5609
|
+
if ((i = v.charCodeAt(0)) === 45) {
|
|
5610
|
+
v = v.slice(1);
|
|
5611
|
+
x.s = -1;
|
|
5612
|
+
} else {
|
|
5613
|
+
// Plus sign?
|
|
5614
|
+
if (i === 43) v = v.slice(1);
|
|
5615
|
+
x.s = 1;
|
|
5572
5616
|
}
|
|
5573
5617
|
|
|
5574
|
-
|
|
5618
|
+
return isDecimal.test(v) ? parseDecimal(x, v) : parseOther(x, v);
|
|
5575
5619
|
}
|
|
5576
5620
|
|
|
5577
5621
|
Decimal.prototype = P;
|
|
@@ -5648,8 +5692,8 @@ var decimal = {exports: {}};
|
|
|
5648
5692
|
* Return a new Decimal whose value is `x` divided by `y`, rounded to `precision` significant
|
|
5649
5693
|
* digits using rounding mode `rounding`.
|
|
5650
5694
|
*
|
|
5651
|
-
* x {number|string|
|
|
5652
|
-
* y {number|string|
|
|
5695
|
+
* x {number|string|Decimal}
|
|
5696
|
+
* y {number|string|Decimal}
|
|
5653
5697
|
*
|
|
5654
5698
|
*/
|
|
5655
5699
|
function div(x, y) {
|
|
@@ -5661,7 +5705,7 @@ var decimal = {exports: {}};
|
|
|
5661
5705
|
* Return a new Decimal whose value is the natural exponential of `x`, rounded to `precision`
|
|
5662
5706
|
* significant digits using rounding mode `rounding`.
|
|
5663
5707
|
*
|
|
5664
|
-
* x {number|string|
|
|
5708
|
+
* x {number|string|Decimal} The power to which to raise the base of the natural log.
|
|
5665
5709
|
*
|
|
5666
5710
|
*/
|
|
5667
5711
|
function exp(x) {
|
|
@@ -5672,7 +5716,7 @@ var decimal = {exports: {}};
|
|
|
5672
5716
|
/*
|
|
5673
5717
|
* Return a new Decimal whose value is `x` round to an integer using `ROUND_FLOOR`.
|
|
5674
5718
|
*
|
|
5675
|
-
* x {number|string|
|
|
5719
|
+
* x {number|string|Decimal}
|
|
5676
5720
|
*
|
|
5677
5721
|
*/
|
|
5678
5722
|
function floor(x) {
|
|
@@ -5686,7 +5730,7 @@ var decimal = {exports: {}};
|
|
|
5686
5730
|
*
|
|
5687
5731
|
* hypot(a, b, ...) = sqrt(a^2 + b^2 + ...)
|
|
5688
5732
|
*
|
|
5689
|
-
* arguments {number|string|
|
|
5733
|
+
* arguments {number|string|Decimal}
|
|
5690
5734
|
*
|
|
5691
5735
|
*/
|
|
5692
5736
|
function hypot() {
|
|
@@ -5728,7 +5772,7 @@ var decimal = {exports: {}};
|
|
|
5728
5772
|
* Return a new Decimal whose value is the natural logarithm of `x`, rounded to `precision`
|
|
5729
5773
|
* significant digits using rounding mode `rounding`.
|
|
5730
5774
|
*
|
|
5731
|
-
* x {number|string|
|
|
5775
|
+
* x {number|string|Decimal}
|
|
5732
5776
|
*
|
|
5733
5777
|
*/
|
|
5734
5778
|
function ln(x) {
|
|
@@ -5742,8 +5786,8 @@ var decimal = {exports: {}};
|
|
|
5742
5786
|
*
|
|
5743
5787
|
* log[y](x)
|
|
5744
5788
|
*
|
|
5745
|
-
* x {number|string|
|
|
5746
|
-
* y {number|string|
|
|
5789
|
+
* x {number|string|Decimal} The argument of the logarithm.
|
|
5790
|
+
* y {number|string|Decimal} The base of the logarithm.
|
|
5747
5791
|
*
|
|
5748
5792
|
*/
|
|
5749
5793
|
function log(x, y) {
|
|
@@ -5755,7 +5799,7 @@ var decimal = {exports: {}};
|
|
|
5755
5799
|
* Return a new Decimal whose value is the base 2 logarithm of `x`, rounded to `precision`
|
|
5756
5800
|
* significant digits using rounding mode `rounding`.
|
|
5757
5801
|
*
|
|
5758
|
-
* x {number|string|
|
|
5802
|
+
* x {number|string|Decimal}
|
|
5759
5803
|
*
|
|
5760
5804
|
*/
|
|
5761
5805
|
function log2(x) {
|
|
@@ -5767,7 +5811,7 @@ var decimal = {exports: {}};
|
|
|
5767
5811
|
* Return a new Decimal whose value is the base 10 logarithm of `x`, rounded to `precision`
|
|
5768
5812
|
* significant digits using rounding mode `rounding`.
|
|
5769
5813
|
*
|
|
5770
|
-
* x {number|string|
|
|
5814
|
+
* x {number|string|Decimal}
|
|
5771
5815
|
*
|
|
5772
5816
|
*/
|
|
5773
5817
|
function log10(x) {
|
|
@@ -5778,22 +5822,22 @@ var decimal = {exports: {}};
|
|
|
5778
5822
|
/*
|
|
5779
5823
|
* Return a new Decimal whose value is the maximum of the arguments.
|
|
5780
5824
|
*
|
|
5781
|
-
* arguments {number|string|
|
|
5825
|
+
* arguments {number|string|Decimal}
|
|
5782
5826
|
*
|
|
5783
5827
|
*/
|
|
5784
5828
|
function max() {
|
|
5785
|
-
return maxOrMin(this, arguments,
|
|
5829
|
+
return maxOrMin(this, arguments, 'lt');
|
|
5786
5830
|
}
|
|
5787
5831
|
|
|
5788
5832
|
|
|
5789
5833
|
/*
|
|
5790
5834
|
* Return a new Decimal whose value is the minimum of the arguments.
|
|
5791
5835
|
*
|
|
5792
|
-
* arguments {number|string|
|
|
5836
|
+
* arguments {number|string|Decimal}
|
|
5793
5837
|
*
|
|
5794
5838
|
*/
|
|
5795
5839
|
function min() {
|
|
5796
|
-
return maxOrMin(this, arguments,
|
|
5840
|
+
return maxOrMin(this, arguments, 'gt');
|
|
5797
5841
|
}
|
|
5798
5842
|
|
|
5799
5843
|
|
|
@@ -5801,8 +5845,8 @@ var decimal = {exports: {}};
|
|
|
5801
5845
|
* Return a new Decimal whose value is `x` modulo `y`, rounded to `precision` significant digits
|
|
5802
5846
|
* using rounding mode `rounding`.
|
|
5803
5847
|
*
|
|
5804
|
-
* x {number|string|
|
|
5805
|
-
* y {number|string|
|
|
5848
|
+
* x {number|string|Decimal}
|
|
5849
|
+
* y {number|string|Decimal}
|
|
5806
5850
|
*
|
|
5807
5851
|
*/
|
|
5808
5852
|
function mod(x, y) {
|
|
@@ -5814,8 +5858,8 @@ var decimal = {exports: {}};
|
|
|
5814
5858
|
* Return a new Decimal whose value is `x` multiplied by `y`, rounded to `precision` significant
|
|
5815
5859
|
* digits using rounding mode `rounding`.
|
|
5816
5860
|
*
|
|
5817
|
-
* x {number|string|
|
|
5818
|
-
* y {number|string|
|
|
5861
|
+
* x {number|string|Decimal}
|
|
5862
|
+
* y {number|string|Decimal}
|
|
5819
5863
|
*
|
|
5820
5864
|
*/
|
|
5821
5865
|
function mul(x, y) {
|
|
@@ -5827,8 +5871,8 @@ var decimal = {exports: {}};
|
|
|
5827
5871
|
* Return a new Decimal whose value is `x` raised to the power `y`, rounded to precision
|
|
5828
5872
|
* significant digits using rounding mode `rounding`.
|
|
5829
5873
|
*
|
|
5830
|
-
* x {number|string|
|
|
5831
|
-
* y {number|string|
|
|
5874
|
+
* x {number|string|Decimal} The base.
|
|
5875
|
+
* y {number|string|Decimal} The exponent.
|
|
5832
5876
|
*
|
|
5833
5877
|
*/
|
|
5834
5878
|
function pow(x, y) {
|
|
@@ -5946,7 +5990,7 @@ var decimal = {exports: {}};
|
|
|
5946
5990
|
*
|
|
5947
5991
|
* To emulate `Math.round`, set rounding to 7 (ROUND_HALF_CEIL).
|
|
5948
5992
|
*
|
|
5949
|
-
* x {number|string|
|
|
5993
|
+
* x {number|string|Decimal}
|
|
5950
5994
|
*
|
|
5951
5995
|
*/
|
|
5952
5996
|
function round(x) {
|
|
@@ -5962,7 +6006,7 @@ var decimal = {exports: {}};
|
|
|
5962
6006
|
* -0 if x is -0,
|
|
5963
6007
|
* NaN otherwise
|
|
5964
6008
|
*
|
|
5965
|
-
* x {number|string|
|
|
6009
|
+
* x {number|string|Decimal}
|
|
5966
6010
|
*
|
|
5967
6011
|
*/
|
|
5968
6012
|
function sign(x) {
|
|
@@ -5975,7 +6019,7 @@ var decimal = {exports: {}};
|
|
|
5975
6019
|
* Return a new Decimal whose value is the sine of `x`, rounded to `precision` significant digits
|
|
5976
6020
|
* using rounding mode `rounding`.
|
|
5977
6021
|
*
|
|
5978
|
-
* x {number|string|
|
|
6022
|
+
* x {number|string|Decimal} A value in radians.
|
|
5979
6023
|
*
|
|
5980
6024
|
*/
|
|
5981
6025
|
function sin(x) {
|
|
@@ -5987,7 +6031,7 @@ var decimal = {exports: {}};
|
|
|
5987
6031
|
* Return a new Decimal whose value is the hyperbolic sine of `x`, rounded to `precision`
|
|
5988
6032
|
* significant digits using rounding mode `rounding`.
|
|
5989
6033
|
*
|
|
5990
|
-
* x {number|string|
|
|
6034
|
+
* x {number|string|Decimal} A value in radians.
|
|
5991
6035
|
*
|
|
5992
6036
|
*/
|
|
5993
6037
|
function sinh(x) {
|
|
@@ -5999,7 +6043,7 @@ var decimal = {exports: {}};
|
|
|
5999
6043
|
* Return a new Decimal whose value is the square root of `x`, rounded to `precision` significant
|
|
6000
6044
|
* digits using rounding mode `rounding`.
|
|
6001
6045
|
*
|
|
6002
|
-
* x {number|string|
|
|
6046
|
+
* x {number|string|Decimal}
|
|
6003
6047
|
*
|
|
6004
6048
|
*/
|
|
6005
6049
|
function sqrt(x) {
|
|
@@ -6011,8 +6055,8 @@ var decimal = {exports: {}};
|
|
|
6011
6055
|
* Return a new Decimal whose value is `x` minus `y`, rounded to `precision` significant digits
|
|
6012
6056
|
* using rounding mode `rounding`.
|
|
6013
6057
|
*
|
|
6014
|
-
* x {number|string|
|
|
6015
|
-
* y {number|string|
|
|
6058
|
+
* x {number|string|Decimal}
|
|
6059
|
+
* y {number|string|Decimal}
|
|
6016
6060
|
*
|
|
6017
6061
|
*/
|
|
6018
6062
|
function sub(x, y) {
|
|
@@ -6026,7 +6070,7 @@ var decimal = {exports: {}};
|
|
|
6026
6070
|
*
|
|
6027
6071
|
* Only the result is rounded, not the intermediate calculations.
|
|
6028
6072
|
*
|
|
6029
|
-
* arguments {number|string|
|
|
6073
|
+
* arguments {number|string|Decimal}
|
|
6030
6074
|
*
|
|
6031
6075
|
*/
|
|
6032
6076
|
function sum() {
|
|
@@ -6046,7 +6090,7 @@ var decimal = {exports: {}};
|
|
|
6046
6090
|
* Return a new Decimal whose value is the tangent of `x`, rounded to `precision` significant
|
|
6047
6091
|
* digits using rounding mode `rounding`.
|
|
6048
6092
|
*
|
|
6049
|
-
* x {number|string|
|
|
6093
|
+
* x {number|string|Decimal} A value in radians.
|
|
6050
6094
|
*
|
|
6051
6095
|
*/
|
|
6052
6096
|
function tan(x) {
|
|
@@ -6058,7 +6102,7 @@ var decimal = {exports: {}};
|
|
|
6058
6102
|
* Return a new Decimal whose value is the hyperbolic tangent of `x`, rounded to `precision`
|
|
6059
6103
|
* significant digits using rounding mode `rounding`.
|
|
6060
6104
|
*
|
|
6061
|
-
* x {number|string|
|
|
6105
|
+
* x {number|string|Decimal} A value in radians.
|
|
6062
6106
|
*
|
|
6063
6107
|
*/
|
|
6064
6108
|
function tanh(x) {
|
|
@@ -6069,7 +6113,7 @@ var decimal = {exports: {}};
|
|
|
6069
6113
|
/*
|
|
6070
6114
|
* Return a new Decimal whose value is `x` truncated to an integer.
|
|
6071
6115
|
*
|
|
6072
|
-
* x {number|string|
|
|
6116
|
+
* x {number|string|Decimal}
|
|
6073
6117
|
*
|
|
6074
6118
|
*/
|
|
6075
6119
|
function trunc(x) {
|
|
@@ -6183,8 +6227,8 @@ const PlayerElevatePointsHistory = class {
|
|
|
6183
6227
|
return (h("main", { key: '88ee16781c8b84ba0cf4c008409c8b0460a65c5d' }, h("general-styling-wrapper", { key: 'a4a86b442087c1a9e8ff27a21adde4a63c2b1773', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl,
|
|
6184
6228
|
// @ts-ignore
|
|
6185
6229
|
targetTranslations: translation, translationUrl: this.translationUrl, mbSource: this.mbSource }), 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 }), h("div", { key: 'f5d93a35b480712866fd4af9d0923f65d07b7bb8', class: "PlayerElevatePointsDetaisContainer" }, [
|
|
6186
|
-
renderTopBar(this.locale, this.type, pageSetting),
|
|
6187
|
-
h("div", { key: '
|
|
6230
|
+
renderTopBar(this.locale, this.type, pageSetting, this.language),
|
|
6231
|
+
h("div", { key: '5642ba092d69c539eeceb1360408b6a44d870e3f', class: "Tabs Row" }, (this.validWallets || []).map(key => (h("div", { class: "tab" }, h("div", { class: `TabText ${key === this.type ? 'active' : ''}`, onClick: this.switchTab.bind(this, key) }, this.locale.tabTitle[key]), h("div", { class: `TabBorderBottom ${key === this.type ? 'active' : ''}` }))))),
|
|
6188
6232
|
((_a = this.pointsWallets[this.type]) === null || _a === void 0 ? void 0 : _a.isLoadFailed)
|
|
6189
6233
|
? h("div", { class: "ReloadMsg" }, this.locale['reloadMsgWhenError'], h("a", { class: "Reload", onClick: this.updateWallets }, this.locale['reload']))
|
|
6190
6234
|
: this.loadWallets(renderWallets.bind(this, this.locale, ((_b = this.pointsWallets[this.type]) === null || _b === void 0 ? void 0 : _b.wallets) || [], pageSetting))
|