@everymatrix/player-elevate-points-history 1.86.1 → 1.86.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/cjs/bonus-pagination-limits_6.cjs.entry.js +146 -105
  2. package/dist/cjs/{locale.utils-6b4c0dbd.js → locale.utils-457021be.js} +21 -15
  3. package/dist/cjs/{player-elevate-card-items-77bde478.js → player-elevate-card-items-51776c27.js} +1 -1
  4. package/dist/cjs/player-elevate-card.cjs.entry.js +2 -2
  5. package/dist/cjs/player-elevate-loyaltycard.cjs.entry.js +2 -2
  6. package/dist/cjs/player-rakeback-card.cjs.entry.js +1 -1
  7. package/dist/collection/utils/translation.js +59 -1
  8. package/dist/esm/bonus-pagination-limits_6.entry.js +146 -105
  9. package/dist/esm/{locale.utils-34e6f004.js → locale.utils-471ae737.js} +21 -15
  10. package/dist/esm/{player-elevate-card-items-ee73669e.js → player-elevate-card-items-38110d9c.js} +1 -1
  11. package/dist/esm/player-elevate-card.entry.js +2 -2
  12. package/dist/esm/player-elevate-loyaltycard.entry.js +2 -2
  13. package/dist/esm/player-rakeback-card.entry.js +1 -1
  14. package/dist/player-elevate-points-history/bonus-pagination-limits_6.entry.js +4 -4
  15. package/dist/player-elevate-points-history/{locale.utils-34e6f004.js → locale.utils-471ae737.js} +1 -1
  16. package/dist/player-elevate-points-history/{player-elevate-card-items-ee73669e.js → player-elevate-card-items-38110d9c.js} +1 -1
  17. package/dist/player-elevate-points-history/player-elevate-card.entry.js +1 -1
  18. package/dist/player-elevate-points-history/player-elevate-loyaltycard.entry.js +1 -1
  19. package/dist/player-elevate-points-history/player-rakeback-card.entry.js +1 -1
  20. 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
  21. 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
  22. package/dist/types/utils/translation.d.ts +59 -1
  23. package/package.json +1 -1
  24. 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
  25. 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
  26. /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
  27. /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
  28. /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
  29. /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
  30. /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
  31. /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
  32. /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
  33. /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,6 +1,6 @@
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-34e6f004.js';
3
- import { r as requiredArgs, t as toDate, g as getTimezoneOffsetInMilliseconds, P as PlayerAvatar, a as PlayerPoints } from './player-elevate-card-items-ee73669e.js';
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
6
  const SUPPORTED_LANGUAGES$1 = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
@@ -1033,7 +1033,65 @@ const translation = {
1033
1033
  "physicalItem": "Custom Reward Redeem",
1034
1034
  "role": "Role Assignment Redeem"
1035
1035
  },
1036
- "tr": {}
1036
+ "tr": {
1037
+ "tabTitle": {
1038
+ "spendable": "Coin",
1039
+ "loyalty": "XP",
1040
+ "history": "Mağaza Alımları",
1041
+ "rakeback": "Rakeback"
1042
+ },
1043
+ "barTitle": {
1044
+ "spendable": "Coin Geçmişi",
1045
+ "loyalty": "Deneyim Puanı Geçmişi",
1046
+ "history": "Mağaza Alımları",
1047
+ "rakeback": "Rakeback Geçmişi"
1048
+ },
1049
+ "bonus": "Bonus",
1050
+ "coins": "Coin",
1051
+ "noContent": "İçerik Yok",
1052
+ "loading": "Yükleniyor",
1053
+ "redeem": "Kullan",
1054
+ "reload": "Yenile",
1055
+ "reloadMsgWhenError": "Ağ Sorunu, lütfen ",
1056
+ "rakebackPointType": {
1057
+ "wageringByRealMoney": "Rakeback Casino Gerçek Bahis",
1058
+ "bonus": "Rakeback Talebi",
1059
+ "vendor2User": "Rakeback Talebi",
1060
+ "cancelledWageringByRealMoney": "İptal Edilen Rakeback Casino Gerçek Bahis"
1061
+ },
1062
+ "pointType": {
1063
+ "registration": "Kayıt",
1064
+ "cancelledRegistration": "İptal Edilen Kayıt",
1065
+ "expiredRegistration": "Süresi Dolan Kayıt",
1066
+ "manual": "Manuel",
1067
+ "cancelledManual": "İptal Edilen Manuel",
1068
+ "expiredManual": "Süresi Dolan Manuel",
1069
+ "wageringByRealMoney": "Gerçek Para Bahsi",
1070
+ "wageringByBonusMoney": "Bonus Para Bahsi",
1071
+ "cancelledWageringByRealMoney": "İptal Edilen Gerçek Para Bahsi",
1072
+ "cancelledWageringByBonusMoney": "İptal Edilen Bonus Para Bahsi",
1073
+ "expiredWageringByRealMoney": "Süresi Dolan Gerçek Para Bahsi",
1074
+ "expiredWageringByBonusMoney": "Süresi Dolan Bonus Para Bahsi",
1075
+ "levelExpired": "Seviye Süresi Doldu",
1076
+ "bonus": "Bonus Kullanımı",
1077
+ "manualByTournament": "Turnuvadan Ödül",
1078
+ "manualByPrizeEngine": "PrizeEngine'den Ödül",
1079
+ "manualByMission": "Görevden Ödül",
1080
+ "manualByChallenge": "Meydan Okumadan Ödül",
1081
+ "cancelledManualByTournament": "İptal Edilen Turnuva Ödülü",
1082
+ "cancelledManualByMission": "İptal Edilen Görev Ödülü",
1083
+ "cancelledManualByChallenge": "İptal Edilen Meydan Okuma Ödülü",
1084
+ "expiredManualByTournament": "Süresi Dolan Turnuva Ödülü",
1085
+ "expiredManualByMission": "Süresi Dolan Görev Ödülü",
1086
+ "expiredManualByChallenge": "Süresi Dolan Meydan Okuma Ödülü",
1087
+ "cancelledManualByPrizeEngine": "İptal Edilen PrizeEngine Ödülü",
1088
+ "expiredManualByPrizeEngine": "Süresi Dolan PrizeEngine Ödülü",
1089
+ "prizeEngine": "PrizeEngine Kullanımı",
1090
+ "tournamentTicket": "Turnuva Bileti Kullanımı",
1091
+ "physicalItem": "Özel Ödül Kullanımı",
1092
+ "role": "Rol Ataması Kullanımı"
1093
+ }
1094
+ }
1037
1095
  }
1038
1096
  };
1039
1097
 
@@ -1176,10 +1234,10 @@ var decimal = {exports: {}};
1176
1234
 
1177
1235
 
1178
1236
  /*!
1179
- * decimal.js v10.6.0
1237
+ * decimal.js v10.4.3
1180
1238
  * An arbitrary-precision Decimal type for JavaScript.
1181
1239
  * https://github.com/MikeMcl/decimal.js
1182
- * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
1240
+ * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
1183
1241
  * MIT Licence
1184
1242
  */
1185
1243
 
@@ -1391,8 +1449,8 @@ var decimal = {exports: {}};
1391
1449
  * Return a new Decimal whose value is the value of this Decimal clamped to the range
1392
1450
  * delineated by `min` and `max`.
1393
1451
  *
1394
- * min {number|string|bigint|Decimal}
1395
- * max {number|string|bigint|Decimal}
1452
+ * min {number|string|Decimal}
1453
+ * max {number|string|Decimal}
1396
1454
  *
1397
1455
  */
1398
1456
  P.clampedTo = P.clamp = function (min, max) {
@@ -1896,7 +1954,8 @@ var decimal = {exports: {}};
1896
1954
  *
1897
1955
  */
1898
1956
  P.inverseCosine = P.acos = function () {
1899
- var x = this,
1957
+ var halfPi,
1958
+ x = this,
1900
1959
  Ctor = x.constructor,
1901
1960
  k = x.abs().cmp(1),
1902
1961
  pr = Ctor.precision,
@@ -1917,13 +1976,13 @@ var decimal = {exports: {}};
1917
1976
  Ctor.precision = pr + 6;
1918
1977
  Ctor.rounding = 1;
1919
1978
 
1920
- // See https://github.com/MikeMcl/decimal.js/pull/217
1921
- x = new Ctor(1).minus(x).div(x.plus(1)).sqrt().atan();
1979
+ x = x.asin();
1980
+ halfPi = getPi(Ctor, pr + 4, rm).times(0.5);
1922
1981
 
1923
1982
  Ctor.precision = pr;
1924
1983
  Ctor.rounding = rm;
1925
1984
 
1926
- return x.times(2);
1985
+ return halfPi.minus(x);
1927
1986
  };
1928
1987
 
1929
1988
 
@@ -2297,7 +2356,7 @@ var decimal = {exports: {}};
2297
2356
  * log[b](Infinity) = Infinity
2298
2357
  * log[b](NaN) = NaN
2299
2358
  *
2300
- * [base] {number|string|bigint|Decimal} The base of the logarithm.
2359
+ * [base] {number|string|Decimal} The base of the logarithm.
2301
2360
  *
2302
2361
  */
2303
2362
  P.logarithm = P.log = function (base) {
@@ -2391,11 +2450,11 @@ var decimal = {exports: {}};
2391
2450
  /*
2392
2451
  * Return a new Decimal whose value is the maximum of the arguments and the value of this Decimal.
2393
2452
  *
2394
- * arguments {number|string|bigint|Decimal}
2453
+ * arguments {number|string|Decimal}
2395
2454
  *
2396
2455
  P.max = function () {
2397
2456
  Array.prototype.push.call(arguments, this);
2398
- return maxOrMin(this.constructor, arguments, -1);
2457
+ return maxOrMin(this.constructor, arguments, 'lt');
2399
2458
  };
2400
2459
  */
2401
2460
 
@@ -2403,11 +2462,11 @@ var decimal = {exports: {}};
2403
2462
  /*
2404
2463
  * Return a new Decimal whose value is the minimum of the arguments and the value of this Decimal.
2405
2464
  *
2406
- * arguments {number|string|bigint|Decimal}
2465
+ * arguments {number|string|Decimal}
2407
2466
  *
2408
2467
  P.min = function () {
2409
2468
  Array.prototype.push.call(arguments, this);
2410
- return maxOrMin(this.constructor, arguments, 1);
2469
+ return maxOrMin(this.constructor, arguments, 'gt');
2411
2470
  };
2412
2471
  */
2413
2472
 
@@ -3226,7 +3285,7 @@ var decimal = {exports: {}};
3226
3285
  * denominator. If a maximum denominator is not specified, the denominator will be the lowest
3227
3286
  * value necessary to represent the number exactly.
3228
3287
  *
3229
- * [maxD] {number|string|bigint|Decimal} Maximum denominator. Integer >= 1 and < Infinity.
3288
+ * [maxD] {number|string|Decimal} Maximum denominator. Integer >= 1 and < Infinity.
3230
3289
  *
3231
3290
  */
3232
3291
  P.toFraction = function (maxD) {
@@ -3314,7 +3373,7 @@ var decimal = {exports: {}};
3314
3373
  *
3315
3374
  * The return value is not affected by the value of `precision`.
3316
3375
  *
3317
- * y {number|string|bigint|Decimal} The magnitude to round to a multiple of.
3376
+ * y {number|string|Decimal} The magnitude to round to a multiple of.
3318
3377
  * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
3319
3378
  *
3320
3379
  * 'toNearest() rounding mode not an integer: {rm}'
@@ -3434,7 +3493,7 @@ var decimal = {exports: {}};
3434
3493
  *
3435
3494
  * If a result is incorrectly rounded the maximum error will be 1 ulp (unit in last place).
3436
3495
  *
3437
- * y {number|string|bigint|Decimal} The power to which to raise this Decimal.
3496
+ * y {number|string|Decimal} The power to which to raise this Decimal.
3438
3497
  *
3439
3498
  */
3440
3499
  P.toPower = P.pow = function (y) {
@@ -4418,25 +4477,19 @@ var decimal = {exports: {}};
4418
4477
 
4419
4478
 
4420
4479
  /*
4421
- * Handle `max` (`n` is -1) and `min` (`n` is 1).
4480
+ * Handle `max` and `min`. `ltgt` is 'lt' or 'gt'.
4422
4481
  */
4423
- function maxOrMin(Ctor, args, n) {
4424
- var k, y,
4482
+ function maxOrMin(Ctor, args, ltgt) {
4483
+ var y,
4425
4484
  x = new Ctor(args[0]),
4426
4485
  i = 0;
4427
4486
 
4428
4487
  for (; ++i < args.length;) {
4429
4488
  y = new Ctor(args[i]);
4430
-
4431
- // NaN?
4432
4489
  if (!y.s) {
4433
4490
  x = y;
4434
4491
  break;
4435
- }
4436
-
4437
- k = x.cmp(y);
4438
-
4439
- if (k === n || k === 0 && x.s === n) {
4492
+ } else if (x[ltgt](y)) {
4440
4493
  x = y;
4441
4494
  }
4442
4495
  }
@@ -4695,8 +4748,6 @@ var decimal = {exports: {}};
4695
4748
  function parseDecimal(x, str) {
4696
4749
  var e, i, len;
4697
4750
 
4698
- // TODO BigInt str: no need to check for decimal point, exponential form or leading zeros.
4699
-
4700
4751
  // Decimal point?
4701
4752
  if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');
4702
4753
 
@@ -5162,7 +5213,7 @@ var decimal = {exports: {}};
5162
5213
  /*
5163
5214
  * Return a new Decimal whose value is the absolute value of `x`.
5164
5215
  *
5165
- * x {number|string|bigint|Decimal}
5216
+ * x {number|string|Decimal}
5166
5217
  *
5167
5218
  */
5168
5219
  function abs(x) {
@@ -5173,7 +5224,7 @@ var decimal = {exports: {}};
5173
5224
  /*
5174
5225
  * Return a new Decimal whose value is the arccosine in radians of `x`.
5175
5226
  *
5176
- * x {number|string|bigint|Decimal}
5227
+ * x {number|string|Decimal}
5177
5228
  *
5178
5229
  */
5179
5230
  function acos(x) {
@@ -5185,7 +5236,7 @@ var decimal = {exports: {}};
5185
5236
  * Return a new Decimal whose value is the inverse of the hyperbolic cosine of `x`, rounded to
5186
5237
  * `precision` significant digits using rounding mode `rounding`.
5187
5238
  *
5188
- * x {number|string|bigint|Decimal} A value in radians.
5239
+ * x {number|string|Decimal} A value in radians.
5189
5240
  *
5190
5241
  */
5191
5242
  function acosh(x) {
@@ -5197,8 +5248,8 @@ var decimal = {exports: {}};
5197
5248
  * Return a new Decimal whose value is the sum of `x` and `y`, rounded to `precision` significant
5198
5249
  * digits using rounding mode `rounding`.
5199
5250
  *
5200
- * x {number|string|bigint|Decimal}
5201
- * y {number|string|bigint|Decimal}
5251
+ * x {number|string|Decimal}
5252
+ * y {number|string|Decimal}
5202
5253
  *
5203
5254
  */
5204
5255
  function add(x, y) {
@@ -5210,7 +5261,7 @@ var decimal = {exports: {}};
5210
5261
  * Return a new Decimal whose value is the arcsine in radians of `x`, rounded to `precision`
5211
5262
  * significant digits using rounding mode `rounding`.
5212
5263
  *
5213
- * x {number|string|bigint|Decimal}
5264
+ * x {number|string|Decimal}
5214
5265
  *
5215
5266
  */
5216
5267
  function asin(x) {
@@ -5222,7 +5273,7 @@ var decimal = {exports: {}};
5222
5273
  * Return a new Decimal whose value is the inverse of the hyperbolic sine of `x`, rounded to
5223
5274
  * `precision` significant digits using rounding mode `rounding`.
5224
5275
  *
5225
- * x {number|string|bigint|Decimal} A value in radians.
5276
+ * x {number|string|Decimal} A value in radians.
5226
5277
  *
5227
5278
  */
5228
5279
  function asinh(x) {
@@ -5234,7 +5285,7 @@ var decimal = {exports: {}};
5234
5285
  * Return a new Decimal whose value is the arctangent in radians of `x`, rounded to `precision`
5235
5286
  * significant digits using rounding mode `rounding`.
5236
5287
  *
5237
- * x {number|string|bigint|Decimal}
5288
+ * x {number|string|Decimal}
5238
5289
  *
5239
5290
  */
5240
5291
  function atan(x) {
@@ -5246,7 +5297,7 @@ var decimal = {exports: {}};
5246
5297
  * Return a new Decimal whose value is the inverse of the hyperbolic tangent of `x`, rounded to
5247
5298
  * `precision` significant digits using rounding mode `rounding`.
5248
5299
  *
5249
- * x {number|string|bigint|Decimal} A value in radians.
5300
+ * x {number|string|Decimal} A value in radians.
5250
5301
  *
5251
5302
  */
5252
5303
  function atanh(x) {
@@ -5261,8 +5312,8 @@ var decimal = {exports: {}};
5261
5312
  * Domain: [-Infinity, Infinity]
5262
5313
  * Range: [-pi, pi]
5263
5314
  *
5264
- * y {number|string|bigint|Decimal} The y-coordinate.
5265
- * x {number|string|bigint|Decimal} The x-coordinate.
5315
+ * y {number|string|Decimal} The y-coordinate.
5316
+ * x {number|string|Decimal} The x-coordinate.
5266
5317
  *
5267
5318
  * atan2(±0, -0) = ±pi
5268
5319
  * atan2(±0, +0) = ±0
@@ -5327,7 +5378,7 @@ var decimal = {exports: {}};
5327
5378
  * Return a new Decimal whose value is the cube root of `x`, rounded to `precision` significant
5328
5379
  * digits using rounding mode `rounding`.
5329
5380
  *
5330
- * x {number|string|bigint|Decimal}
5381
+ * x {number|string|Decimal}
5331
5382
  *
5332
5383
  */
5333
5384
  function cbrt(x) {
@@ -5338,7 +5389,7 @@ var decimal = {exports: {}};
5338
5389
  /*
5339
5390
  * Return a new Decimal whose value is `x` rounded to an integer using `ROUND_CEIL`.
5340
5391
  *
5341
- * x {number|string|bigint|Decimal}
5392
+ * x {number|string|Decimal}
5342
5393
  *
5343
5394
  */
5344
5395
  function ceil(x) {
@@ -5349,9 +5400,9 @@ var decimal = {exports: {}};
5349
5400
  /*
5350
5401
  * Return a new Decimal whose value is `x` clamped to the range delineated by `min` and `max`.
5351
5402
  *
5352
- * x {number|string|bigint|Decimal}
5353
- * min {number|string|bigint|Decimal}
5354
- * max {number|string|bigint|Decimal}
5403
+ * x {number|string|Decimal}
5404
+ * min {number|string|Decimal}
5405
+ * max {number|string|Decimal}
5355
5406
  *
5356
5407
  */
5357
5408
  function clamp(x, min, max) {
@@ -5425,7 +5476,7 @@ var decimal = {exports: {}};
5425
5476
  * Return a new Decimal whose value is the cosine of `x`, rounded to `precision` significant
5426
5477
  * digits using rounding mode `rounding`.
5427
5478
  *
5428
- * x {number|string|bigint|Decimal} A value in radians.
5479
+ * x {number|string|Decimal} A value in radians.
5429
5480
  *
5430
5481
  */
5431
5482
  function cos(x) {
@@ -5437,7 +5488,7 @@ var decimal = {exports: {}};
5437
5488
  * Return a new Decimal whose value is the hyperbolic cosine of `x`, rounded to precision
5438
5489
  * significant digits using rounding mode `rounding`.
5439
5490
  *
5440
- * x {number|string|bigint|Decimal} A value in radians.
5491
+ * x {number|string|Decimal} A value in radians.
5441
5492
  *
5442
5493
  */
5443
5494
  function cosh(x) {
@@ -5457,7 +5508,7 @@ var decimal = {exports: {}};
5457
5508
  * The Decimal constructor and exported function.
5458
5509
  * Return a new Decimal instance.
5459
5510
  *
5460
- * v {number|string|bigint|Decimal} A numeric value.
5511
+ * v {number|string|Decimal} A numeric value.
5461
5512
  *
5462
5513
  */
5463
5514
  function Decimal(v) {
@@ -5471,6 +5522,7 @@ var decimal = {exports: {}};
5471
5522
  // which points to Object.
5472
5523
  x.constructor = Decimal;
5473
5524
 
5525
+ // Duplicate.
5474
5526
  if (isDecimalInstance(v)) {
5475
5527
  x.s = v.s;
5476
5528
 
@@ -5535,10 +5587,9 @@ var decimal = {exports: {}};
5535
5587
  }
5536
5588
 
5537
5589
  return;
5538
- }
5539
5590
 
5540
- // Infinity or NaN?
5541
- if (v * 0 !== 0) {
5591
+ // Infinity, NaN.
5592
+ } else if (v * 0 !== 0) {
5542
5593
  if (!v) x.s = NaN;
5543
5594
  x.e = NaN;
5544
5595
  x.d = null;
@@ -5546,32 +5597,22 @@ var decimal = {exports: {}};
5546
5597
  }
5547
5598
 
5548
5599
  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
5600
 
5560
- return isDecimal.test(v) ? parseDecimal(x, v) : parseOther(x, v);
5601
+ } else if (t !== 'string') {
5602
+ throw Error(invalidArgument + v);
5561
5603
  }
5562
5604
 
5563
- if (t === 'bigint') {
5564
- if (v < 0) {
5565
- v = -v;
5566
- x.s = -1;
5567
- } else {
5568
- x.s = 1;
5569
- }
5570
-
5571
- return parseDecimal(x, v.toString());
5605
+ // Minus sign?
5606
+ if ((i = v.charCodeAt(0)) === 45) {
5607
+ v = v.slice(1);
5608
+ x.s = -1;
5609
+ } else {
5610
+ // Plus sign?
5611
+ if (i === 43) v = v.slice(1);
5612
+ x.s = 1;
5572
5613
  }
5573
5614
 
5574
- throw Error(invalidArgument + v);
5615
+ return isDecimal.test(v) ? parseDecimal(x, v) : parseOther(x, v);
5575
5616
  }
5576
5617
 
5577
5618
  Decimal.prototype = P;
@@ -5648,8 +5689,8 @@ var decimal = {exports: {}};
5648
5689
  * Return a new Decimal whose value is `x` divided by `y`, rounded to `precision` significant
5649
5690
  * digits using rounding mode `rounding`.
5650
5691
  *
5651
- * x {number|string|bigint|Decimal}
5652
- * y {number|string|bigint|Decimal}
5692
+ * x {number|string|Decimal}
5693
+ * y {number|string|Decimal}
5653
5694
  *
5654
5695
  */
5655
5696
  function div(x, y) {
@@ -5661,7 +5702,7 @@ var decimal = {exports: {}};
5661
5702
  * Return a new Decimal whose value is the natural exponential of `x`, rounded to `precision`
5662
5703
  * significant digits using rounding mode `rounding`.
5663
5704
  *
5664
- * x {number|string|bigint|Decimal} The power to which to raise the base of the natural log.
5705
+ * x {number|string|Decimal} The power to which to raise the base of the natural log.
5665
5706
  *
5666
5707
  */
5667
5708
  function exp(x) {
@@ -5672,7 +5713,7 @@ var decimal = {exports: {}};
5672
5713
  /*
5673
5714
  * Return a new Decimal whose value is `x` round to an integer using `ROUND_FLOOR`.
5674
5715
  *
5675
- * x {number|string|bigint|Decimal}
5716
+ * x {number|string|Decimal}
5676
5717
  *
5677
5718
  */
5678
5719
  function floor(x) {
@@ -5686,7 +5727,7 @@ var decimal = {exports: {}};
5686
5727
  *
5687
5728
  * hypot(a, b, ...) = sqrt(a^2 + b^2 + ...)
5688
5729
  *
5689
- * arguments {number|string|bigint|Decimal}
5730
+ * arguments {number|string|Decimal}
5690
5731
  *
5691
5732
  */
5692
5733
  function hypot() {
@@ -5728,7 +5769,7 @@ var decimal = {exports: {}};
5728
5769
  * Return a new Decimal whose value is the natural logarithm of `x`, rounded to `precision`
5729
5770
  * significant digits using rounding mode `rounding`.
5730
5771
  *
5731
- * x {number|string|bigint|Decimal}
5772
+ * x {number|string|Decimal}
5732
5773
  *
5733
5774
  */
5734
5775
  function ln(x) {
@@ -5742,8 +5783,8 @@ var decimal = {exports: {}};
5742
5783
  *
5743
5784
  * log[y](x)
5744
5785
  *
5745
- * x {number|string|bigint|Decimal} The argument of the logarithm.
5746
- * y {number|string|bigint|Decimal} The base of the logarithm.
5786
+ * x {number|string|Decimal} The argument of the logarithm.
5787
+ * y {number|string|Decimal} The base of the logarithm.
5747
5788
  *
5748
5789
  */
5749
5790
  function log(x, y) {
@@ -5755,7 +5796,7 @@ var decimal = {exports: {}};
5755
5796
  * Return a new Decimal whose value is the base 2 logarithm of `x`, rounded to `precision`
5756
5797
  * significant digits using rounding mode `rounding`.
5757
5798
  *
5758
- * x {number|string|bigint|Decimal}
5799
+ * x {number|string|Decimal}
5759
5800
  *
5760
5801
  */
5761
5802
  function log2(x) {
@@ -5767,7 +5808,7 @@ var decimal = {exports: {}};
5767
5808
  * Return a new Decimal whose value is the base 10 logarithm of `x`, rounded to `precision`
5768
5809
  * significant digits using rounding mode `rounding`.
5769
5810
  *
5770
- * x {number|string|bigint|Decimal}
5811
+ * x {number|string|Decimal}
5771
5812
  *
5772
5813
  */
5773
5814
  function log10(x) {
@@ -5778,22 +5819,22 @@ var decimal = {exports: {}};
5778
5819
  /*
5779
5820
  * Return a new Decimal whose value is the maximum of the arguments.
5780
5821
  *
5781
- * arguments {number|string|bigint|Decimal}
5822
+ * arguments {number|string|Decimal}
5782
5823
  *
5783
5824
  */
5784
5825
  function max() {
5785
- return maxOrMin(this, arguments, -1);
5826
+ return maxOrMin(this, arguments, 'lt');
5786
5827
  }
5787
5828
 
5788
5829
 
5789
5830
  /*
5790
5831
  * Return a new Decimal whose value is the minimum of the arguments.
5791
5832
  *
5792
- * arguments {number|string|bigint|Decimal}
5833
+ * arguments {number|string|Decimal}
5793
5834
  *
5794
5835
  */
5795
5836
  function min() {
5796
- return maxOrMin(this, arguments, 1);
5837
+ return maxOrMin(this, arguments, 'gt');
5797
5838
  }
5798
5839
 
5799
5840
 
@@ -5801,8 +5842,8 @@ var decimal = {exports: {}};
5801
5842
  * Return a new Decimal whose value is `x` modulo `y`, rounded to `precision` significant digits
5802
5843
  * using rounding mode `rounding`.
5803
5844
  *
5804
- * x {number|string|bigint|Decimal}
5805
- * y {number|string|bigint|Decimal}
5845
+ * x {number|string|Decimal}
5846
+ * y {number|string|Decimal}
5806
5847
  *
5807
5848
  */
5808
5849
  function mod(x, y) {
@@ -5814,8 +5855,8 @@ var decimal = {exports: {}};
5814
5855
  * Return a new Decimal whose value is `x` multiplied by `y`, rounded to `precision` significant
5815
5856
  * digits using rounding mode `rounding`.
5816
5857
  *
5817
- * x {number|string|bigint|Decimal}
5818
- * y {number|string|bigint|Decimal}
5858
+ * x {number|string|Decimal}
5859
+ * y {number|string|Decimal}
5819
5860
  *
5820
5861
  */
5821
5862
  function mul(x, y) {
@@ -5827,8 +5868,8 @@ var decimal = {exports: {}};
5827
5868
  * Return a new Decimal whose value is `x` raised to the power `y`, rounded to precision
5828
5869
  * significant digits using rounding mode `rounding`.
5829
5870
  *
5830
- * x {number|string|bigint|Decimal} The base.
5831
- * y {number|string|bigint|Decimal} The exponent.
5871
+ * x {number|string|Decimal} The base.
5872
+ * y {number|string|Decimal} The exponent.
5832
5873
  *
5833
5874
  */
5834
5875
  function pow(x, y) {
@@ -5946,7 +5987,7 @@ var decimal = {exports: {}};
5946
5987
  *
5947
5988
  * To emulate `Math.round`, set rounding to 7 (ROUND_HALF_CEIL).
5948
5989
  *
5949
- * x {number|string|bigint|Decimal}
5990
+ * x {number|string|Decimal}
5950
5991
  *
5951
5992
  */
5952
5993
  function round(x) {
@@ -5962,7 +6003,7 @@ var decimal = {exports: {}};
5962
6003
  * -0 if x is -0,
5963
6004
  * NaN otherwise
5964
6005
  *
5965
- * x {number|string|bigint|Decimal}
6006
+ * x {number|string|Decimal}
5966
6007
  *
5967
6008
  */
5968
6009
  function sign(x) {
@@ -5975,7 +6016,7 @@ var decimal = {exports: {}};
5975
6016
  * Return a new Decimal whose value is the sine of `x`, rounded to `precision` significant digits
5976
6017
  * using rounding mode `rounding`.
5977
6018
  *
5978
- * x {number|string|bigint|Decimal} A value in radians.
6019
+ * x {number|string|Decimal} A value in radians.
5979
6020
  *
5980
6021
  */
5981
6022
  function sin(x) {
@@ -5987,7 +6028,7 @@ var decimal = {exports: {}};
5987
6028
  * Return a new Decimal whose value is the hyperbolic sine of `x`, rounded to `precision`
5988
6029
  * significant digits using rounding mode `rounding`.
5989
6030
  *
5990
- * x {number|string|bigint|Decimal} A value in radians.
6031
+ * x {number|string|Decimal} A value in radians.
5991
6032
  *
5992
6033
  */
5993
6034
  function sinh(x) {
@@ -5999,7 +6040,7 @@ var decimal = {exports: {}};
5999
6040
  * Return a new Decimal whose value is the square root of `x`, rounded to `precision` significant
6000
6041
  * digits using rounding mode `rounding`.
6001
6042
  *
6002
- * x {number|string|bigint|Decimal}
6043
+ * x {number|string|Decimal}
6003
6044
  *
6004
6045
  */
6005
6046
  function sqrt(x) {
@@ -6011,8 +6052,8 @@ var decimal = {exports: {}};
6011
6052
  * Return a new Decimal whose value is `x` minus `y`, rounded to `precision` significant digits
6012
6053
  * using rounding mode `rounding`.
6013
6054
  *
6014
- * x {number|string|bigint|Decimal}
6015
- * y {number|string|bigint|Decimal}
6055
+ * x {number|string|Decimal}
6056
+ * y {number|string|Decimal}
6016
6057
  *
6017
6058
  */
6018
6059
  function sub(x, y) {
@@ -6026,7 +6067,7 @@ var decimal = {exports: {}};
6026
6067
  *
6027
6068
  * Only the result is rounded, not the intermediate calculations.
6028
6069
  *
6029
- * arguments {number|string|bigint|Decimal}
6070
+ * arguments {number|string|Decimal}
6030
6071
  *
6031
6072
  */
6032
6073
  function sum() {
@@ -6046,7 +6087,7 @@ var decimal = {exports: {}};
6046
6087
  * Return a new Decimal whose value is the tangent of `x`, rounded to `precision` significant
6047
6088
  * digits using rounding mode `rounding`.
6048
6089
  *
6049
- * x {number|string|bigint|Decimal} A value in radians.
6090
+ * x {number|string|Decimal} A value in radians.
6050
6091
  *
6051
6092
  */
6052
6093
  function tan(x) {
@@ -6058,7 +6099,7 @@ var decimal = {exports: {}};
6058
6099
  * Return a new Decimal whose value is the hyperbolic tangent of `x`, rounded to `precision`
6059
6100
  * significant digits using rounding mode `rounding`.
6060
6101
  *
6061
- * x {number|string|bigint|Decimal} A value in radians.
6102
+ * x {number|string|Decimal} A value in radians.
6062
6103
  *
6063
6104
  */
6064
6105
  function tanh(x) {
@@ -6069,7 +6110,7 @@ var decimal = {exports: {}};
6069
6110
  /*
6070
6111
  * Return a new Decimal whose value is `x` truncated to an integer.
6071
6112
  *
6072
- * x {number|string|bigint|Decimal}
6113
+ * x {number|string|Decimal}
6073
6114
  *
6074
6115
  */
6075
6116
  function trunc(x) {