@everymatrix/player-active-bonuses 0.0.159 → 0.0.160
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.
|
@@ -4470,7 +4470,7 @@
|
|
|
4470
4470
|
return child_ctx;
|
|
4471
4471
|
}
|
|
4472
4472
|
|
|
4473
|
-
// (
|
|
4473
|
+
// (134:0) {:else}
|
|
4474
4474
|
function create_else_block(ctx) {
|
|
4475
4475
|
let div3;
|
|
4476
4476
|
let t0;
|
|
@@ -4534,24 +4534,24 @@
|
|
|
4534
4534
|
if (if_block4) if_block4.c();
|
|
4535
4535
|
if_block4_anchor = empty();
|
|
4536
4536
|
attr_dev(h2, "class", "ActiveBonusesTitle " + (/*isMobile*/ ctx[11] ? "ActiveBonusesTitleNone" : ""));
|
|
4537
|
-
add_location(h2, file,
|
|
4537
|
+
add_location(h2, file, 145, 4, 4484);
|
|
4538
4538
|
attr_dev(label, "for", "BonusCode");
|
|
4539
|
-
add_location(label, file,
|
|
4539
|
+
add_location(label, file, 147, 6, 4666);
|
|
4540
4540
|
attr_dev(input, "class", "BonusCodeInput " + (/*isMobile*/ ctx[11] ? "BonusCodeInputMobile" : ""));
|
|
4541
4541
|
attr_dev(input, "type", "text");
|
|
4542
4542
|
attr_dev(input, "id", "BonusCode");
|
|
4543
|
-
add_location(input, file,
|
|
4543
|
+
add_location(input, file, 149, 8, 4811);
|
|
4544
4544
|
attr_dev(button, "class", "SubmitBonusCode " + (/*isMobile*/ ctx[11] ? "SubmitBonusCodeMobile" : ""));
|
|
4545
4545
|
button.disabled = /*invalidBonusField*/ ctx[0];
|
|
4546
|
-
add_location(button, file,
|
|
4546
|
+
add_location(button, file, 150, 8, 4972);
|
|
4547
4547
|
attr_dev(div0, "class", "BonusCodeWrapper " + (/*isMobile*/ ctx[11] ? "BonusCodeWrapperMobile" : ""));
|
|
4548
|
-
add_location(div0, file,
|
|
4548
|
+
add_location(div0, file, 148, 6, 4729);
|
|
4549
4549
|
attr_dev(div1, "class", "BonusCodeContainer " + (/*isMobile*/ ctx[11] ? "BonusCodeContainerMobile" : ""));
|
|
4550
|
-
add_location(div1, file,
|
|
4550
|
+
add_location(div1, file, 146, 4, 4582);
|
|
4551
4551
|
attr_dev(div2, "class", "ActiveBonusesGrid " + (/*isMobile*/ ctx[11] ? "ActiveBonusesGridMobile" : ""));
|
|
4552
|
-
add_location(div2, file,
|
|
4552
|
+
add_location(div2, file, 156, 4, 5268);
|
|
4553
4553
|
attr_dev(div3, "class", "ActiveBonusesWrapper " + (/*isMobile*/ ctx[11] ? "ActiveBonusesWrapperMobile" : ""));
|
|
4554
|
-
add_location(div3, file,
|
|
4554
|
+
add_location(div3, file, 134, 2, 3822);
|
|
4555
4555
|
},
|
|
4556
4556
|
m: function mount(target, anchor) {
|
|
4557
4557
|
insert_dev(target, div3, anchor);
|
|
@@ -4668,14 +4668,14 @@
|
|
|
4668
4668
|
block,
|
|
4669
4669
|
id: create_else_block.name,
|
|
4670
4670
|
type: "else",
|
|
4671
|
-
source: "(
|
|
4671
|
+
source: "(134:0) {:else}",
|
|
4672
4672
|
ctx
|
|
4673
4673
|
});
|
|
4674
4674
|
|
|
4675
4675
|
return block;
|
|
4676
4676
|
}
|
|
4677
4677
|
|
|
4678
|
-
// (
|
|
4678
|
+
// (132:0) {#if isLoading}
|
|
4679
4679
|
function create_if_block(ctx) {
|
|
4680
4680
|
let div;
|
|
4681
4681
|
|
|
@@ -4683,7 +4683,7 @@
|
|
|
4683
4683
|
c: function create() {
|
|
4684
4684
|
div = element("div");
|
|
4685
4685
|
attr_dev(div, "class", "ModalLoader");
|
|
4686
|
-
add_location(div, file,
|
|
4686
|
+
add_location(div, file, 132, 2, 3780);
|
|
4687
4687
|
},
|
|
4688
4688
|
m: function mount(target, anchor) {
|
|
4689
4689
|
insert_dev(target, div, anchor);
|
|
@@ -4698,14 +4698,14 @@
|
|
|
4698
4698
|
block,
|
|
4699
4699
|
id: create_if_block.name,
|
|
4700
4700
|
type: "if",
|
|
4701
|
-
source: "(
|
|
4701
|
+
source: "(132:0) {#if isLoading}",
|
|
4702
4702
|
ctx
|
|
4703
4703
|
});
|
|
4704
4704
|
|
|
4705
4705
|
return block;
|
|
4706
4706
|
}
|
|
4707
4707
|
|
|
4708
|
-
// (
|
|
4708
|
+
// (136:4) {#if isMobile}
|
|
4709
4709
|
function create_if_block_7(ctx) {
|
|
4710
4710
|
let div;
|
|
4711
4711
|
let svg;
|
|
@@ -4733,25 +4733,25 @@
|
|
|
4733
4733
|
t1 = space();
|
|
4734
4734
|
h2 = element("h2");
|
|
4735
4735
|
h2.textContent = "Active Bonuses";
|
|
4736
|
-
add_location(style, file,
|
|
4737
|
-
add_location(defs, file,
|
|
4736
|
+
add_location(style, file, 137, 97, 4089);
|
|
4737
|
+
add_location(defs, file, 137, 91, 4083);
|
|
4738
4738
|
attr_dev(path, "class", "aaa");
|
|
4739
4739
|
attr_dev(path, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z");
|
|
4740
4740
|
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
4741
|
-
add_location(path, file,
|
|
4741
|
+
add_location(path, file, 139, 12, 4222);
|
|
4742
4742
|
attr_dev(g0, "transform", "translate(20 158)");
|
|
4743
|
-
add_location(g0, file,
|
|
4743
|
+
add_location(g0, file, 138, 10, 4176);
|
|
4744
4744
|
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
4745
|
-
add_location(g1, file,
|
|
4745
|
+
add_location(g1, file, 137, 138, 4130);
|
|
4746
4746
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
4747
4747
|
attr_dev(svg, "width", "15");
|
|
4748
4748
|
attr_dev(svg, "height", "15");
|
|
4749
4749
|
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
4750
|
-
add_location(svg, file,
|
|
4750
|
+
add_location(svg, file, 137, 8, 4000);
|
|
4751
4751
|
attr_dev(h2, "class", "ActiveBonusesTitleMobile");
|
|
4752
|
-
add_location(h2, file,
|
|
4752
|
+
add_location(h2, file, 142, 8, 4400);
|
|
4753
4753
|
attr_dev(div, "class", "MenuReturnButton");
|
|
4754
|
-
add_location(div, file,
|
|
4754
|
+
add_location(div, file, 136, 6, 3929);
|
|
4755
4755
|
},
|
|
4756
4756
|
m: function mount(target, anchor) {
|
|
4757
4757
|
insert_dev(target, div, anchor);
|
|
@@ -4782,14 +4782,14 @@
|
|
|
4782
4782
|
block,
|
|
4783
4783
|
id: create_if_block_7.name,
|
|
4784
4784
|
type: "if",
|
|
4785
|
-
source: "(
|
|
4785
|
+
source: "(136:4) {#if isMobile}",
|
|
4786
4786
|
ctx
|
|
4787
4787
|
});
|
|
4788
4788
|
|
|
4789
4789
|
return block;
|
|
4790
4790
|
}
|
|
4791
4791
|
|
|
4792
|
-
// (
|
|
4792
|
+
// (153:6) {#if invalidBonusCode}
|
|
4793
4793
|
function create_if_block_6(ctx) {
|
|
4794
4794
|
let p;
|
|
4795
4795
|
|
|
@@ -4798,7 +4798,7 @@
|
|
|
4798
4798
|
p = element("p");
|
|
4799
4799
|
p.textContent = "The bonus code provided is invalid.";
|
|
4800
4800
|
attr_dev(p, "class", "InvalidBonusCodeMessage");
|
|
4801
|
-
add_location(p, file,
|
|
4801
|
+
add_location(p, file, 153, 8, 5166);
|
|
4802
4802
|
},
|
|
4803
4803
|
m: function mount(target, anchor) {
|
|
4804
4804
|
insert_dev(target, p, anchor);
|
|
@@ -4812,14 +4812,14 @@
|
|
|
4812
4812
|
block,
|
|
4813
4813
|
id: create_if_block_6.name,
|
|
4814
4814
|
type: "if",
|
|
4815
|
-
source: "(
|
|
4815
|
+
source: "(153:6) {#if invalidBonusCode}",
|
|
4816
4816
|
ctx
|
|
4817
4817
|
});
|
|
4818
4818
|
|
|
4819
4819
|
return block;
|
|
4820
4820
|
}
|
|
4821
4821
|
|
|
4822
|
-
// (
|
|
4822
|
+
// (160:6) {:else}
|
|
4823
4823
|
function create_else_block_1(ctx) {
|
|
4824
4824
|
let each_1_anchor;
|
|
4825
4825
|
let each_value_1 = /*activeBonusesList*/ ctx[8];
|
|
@@ -4880,14 +4880,14 @@
|
|
|
4880
4880
|
block,
|
|
4881
4881
|
id: create_else_block_1.name,
|
|
4882
4882
|
type: "else",
|
|
4883
|
-
source: "(
|
|
4883
|
+
source: "(160:6) {:else}",
|
|
4884
4884
|
ctx
|
|
4885
4885
|
});
|
|
4886
4886
|
|
|
4887
4887
|
return block;
|
|
4888
4888
|
}
|
|
4889
4889
|
|
|
4890
|
-
// (
|
|
4890
|
+
// (158:6) {#if activeBonusesList.length === 0}
|
|
4891
4891
|
function create_if_block_4(ctx) {
|
|
4892
4892
|
let p;
|
|
4893
4893
|
|
|
@@ -4895,7 +4895,7 @@
|
|
|
4895
4895
|
c: function create() {
|
|
4896
4896
|
p = element("p");
|
|
4897
4897
|
p.textContent = "You have no active bonuses at the moment.";
|
|
4898
|
-
add_location(p, file,
|
|
4898
|
+
add_location(p, file, 158, 8, 5395);
|
|
4899
4899
|
},
|
|
4900
4900
|
m: function mount(target, anchor) {
|
|
4901
4901
|
insert_dev(target, p, anchor);
|
|
@@ -4910,14 +4910,14 @@
|
|
|
4910
4910
|
block,
|
|
4911
4911
|
id: create_if_block_4.name,
|
|
4912
4912
|
type: "if",
|
|
4913
|
-
source: "(
|
|
4913
|
+
source: "(158:6) {#if activeBonusesList.length === 0}",
|
|
4914
4914
|
ctx
|
|
4915
4915
|
});
|
|
4916
4916
|
|
|
4917
4917
|
return block;
|
|
4918
4918
|
}
|
|
4919
4919
|
|
|
4920
|
-
// (
|
|
4920
|
+
// (171:10) {:else}
|
|
4921
4921
|
function create_else_block_2(ctx) {
|
|
4922
4922
|
let player_bonus_card;
|
|
4923
4923
|
let player_bonus_card_bonuswalletid_value;
|
|
@@ -4942,7 +4942,7 @@
|
|
|
4942
4942
|
set_custom_element_data(player_bonus_card, "bonuswageringamount", player_bonus_card_bonuswageringamount_value = /*activeBonus*/ ctx[37].totalWR);
|
|
4943
4943
|
set_custom_element_data(player_bonus_card, "bonusremainingamount", player_bonus_card_bonusremainingamount_value = /*activeBonus*/ ctx[37].currentAmount);
|
|
4944
4944
|
set_custom_element_data(player_bonus_card, "bonuscurrency", player_bonus_card_bonuscurrency_value = /*activeBonus*/ ctx[37].currency);
|
|
4945
|
-
add_location(player_bonus_card, file,
|
|
4945
|
+
add_location(player_bonus_card, file, 171, 12, 5932);
|
|
4946
4946
|
},
|
|
4947
4947
|
m: function mount(target, anchor) {
|
|
4948
4948
|
insert_dev(target, player_bonus_card, anchor);
|
|
@@ -4993,14 +4993,14 @@
|
|
|
4993
4993
|
block,
|
|
4994
4994
|
id: create_else_block_2.name,
|
|
4995
4995
|
type: "else",
|
|
4996
|
-
source: "(
|
|
4996
|
+
source: "(171:10) {:else}",
|
|
4997
4997
|
ctx
|
|
4998
4998
|
});
|
|
4999
4999
|
|
|
5000
5000
|
return block;
|
|
5001
5001
|
}
|
|
5002
5002
|
|
|
5003
|
-
// (
|
|
5003
|
+
// (162:10) {#if activeBonus.type === 'freeRound'}
|
|
5004
5004
|
function create_if_block_5(ctx) {
|
|
5005
5005
|
let player_bonus_card;
|
|
5006
5006
|
let player_bonus_card_bonuswalletid_value;
|
|
@@ -5019,7 +5019,7 @@
|
|
|
5019
5019
|
set_custom_element_data(player_bonus_card, "bonusname", player_bonus_card_bonusname_value = /*activeBonus*/ ctx[37].name);
|
|
5020
5020
|
set_custom_element_data(player_bonus_card, "bonustype", player_bonus_card_bonustype_value = /*activeBonus*/ ctx[37].type);
|
|
5021
5021
|
set_custom_element_data(player_bonus_card, "bonuscurrency", player_bonus_card_bonuscurrency_value = /*activeBonus*/ ctx[37].currency);
|
|
5022
|
-
add_location(player_bonus_card, file,
|
|
5022
|
+
add_location(player_bonus_card, file, 162, 12, 5568);
|
|
5023
5023
|
},
|
|
5024
5024
|
m: function mount(target, anchor) {
|
|
5025
5025
|
insert_dev(target, player_bonus_card, anchor);
|
|
@@ -5058,14 +5058,14 @@
|
|
|
5058
5058
|
block,
|
|
5059
5059
|
id: create_if_block_5.name,
|
|
5060
5060
|
type: "if",
|
|
5061
|
-
source: "(
|
|
5061
|
+
source: "(162:10) {#if activeBonus.type === 'freeRound'}",
|
|
5062
5062
|
ctx
|
|
5063
5063
|
});
|
|
5064
5064
|
|
|
5065
5065
|
return block;
|
|
5066
5066
|
}
|
|
5067
5067
|
|
|
5068
|
-
// (
|
|
5068
|
+
// (161:8) {#each activeBonusesList as activeBonus}
|
|
5069
5069
|
function create_each_block_1(ctx) {
|
|
5070
5070
|
let if_block_anchor;
|
|
5071
5071
|
|
|
@@ -5109,14 +5109,14 @@
|
|
|
5109
5109
|
block,
|
|
5110
5110
|
id: create_each_block_1.name,
|
|
5111
5111
|
type: "each",
|
|
5112
|
-
source: "(
|
|
5112
|
+
source: "(161:8) {#each activeBonusesList as activeBonus}",
|
|
5113
5113
|
ctx
|
|
5114
5114
|
});
|
|
5115
5115
|
|
|
5116
5116
|
return block;
|
|
5117
5117
|
}
|
|
5118
5118
|
|
|
5119
|
-
// (
|
|
5119
|
+
// (187:4) {#if activeBonusesList.length !== 0}
|
|
5120
5120
|
function create_if_block_3(ctx) {
|
|
5121
5121
|
let div;
|
|
5122
5122
|
let span0;
|
|
@@ -5166,27 +5166,27 @@
|
|
|
5166
5166
|
span3 = element("span");
|
|
5167
5167
|
t7 = text(">|");
|
|
5168
5168
|
attr_dev(span0, "class", span0_class_value = "BonusesFirst " + (/*currentPage*/ ctx[7] === 0 ? "Inactive" : ""));
|
|
5169
|
-
add_location(span0, file,
|
|
5169
|
+
add_location(span0, file, 188, 8, 6639);
|
|
5170
5170
|
attr_dev(span1, "class", span1_class_value = "BonusesPrev " + (/*currentPage*/ ctx[7] === 0 ? "Inactive" : ""));
|
|
5171
|
-
add_location(span1, file,
|
|
5171
|
+
add_location(span1, file, 189, 8, 6767);
|
|
5172
5172
|
|
|
5173
5173
|
attr_dev(span2, "class", span2_class_value = "BonusesNext " + (/*currentPage*/ ctx[7] === /*numberOfPages*/ ctx[6] - 1
|
|
5174
5174
|
? "Inactive"
|
|
5175
5175
|
: ""));
|
|
5176
5176
|
|
|
5177
|
-
add_location(span2, file,
|
|
5177
|
+
add_location(span2, file, 193, 8, 7109);
|
|
5178
5178
|
|
|
5179
5179
|
attr_dev(span3, "class", span3_class_value = "BonusesLast " + (/*currentPage*/ ctx[7] === /*numberOfPages*/ ctx[6] - 1
|
|
5180
5180
|
? "Inactive"
|
|
5181
5181
|
: ""));
|
|
5182
5182
|
|
|
5183
|
-
add_location(span3, file,
|
|
5183
|
+
add_location(span3, file, 194, 8, 7262);
|
|
5184
5184
|
|
|
5185
5185
|
attr_dev(div, "class", "BonusesPaginationWrapper " + (/*isMobile*/ ctx[11]
|
|
5186
5186
|
? "BonusesPaginationWrapperMobile"
|
|
5187
5187
|
: ""));
|
|
5188
5188
|
|
|
5189
|
-
add_location(div, file,
|
|
5189
|
+
add_location(div, file, 187, 6, 6541);
|
|
5190
5190
|
},
|
|
5191
5191
|
m: function mount(target, anchor) {
|
|
5192
5192
|
insert_dev(target, div, anchor);
|
|
@@ -5276,14 +5276,14 @@
|
|
|
5276
5276
|
block,
|
|
5277
5277
|
id: create_if_block_3.name,
|
|
5278
5278
|
type: "if",
|
|
5279
|
-
source: "(
|
|
5279
|
+
source: "(187:4) {#if activeBonusesList.length !== 0}",
|
|
5280
5280
|
ctx
|
|
5281
5281
|
});
|
|
5282
5282
|
|
|
5283
5283
|
return block;
|
|
5284
5284
|
}
|
|
5285
5285
|
|
|
5286
|
-
// (
|
|
5286
|
+
// (191:8) {#each Array(numberOfPages) as _, i}
|
|
5287
5287
|
function create_each_block(ctx) {
|
|
5288
5288
|
let span;
|
|
5289
5289
|
let t_value = /*i*/ ctx[36] + 1 + "";
|
|
@@ -5305,7 +5305,7 @@
|
|
|
5305
5305
|
? "BonusPageActive"
|
|
5306
5306
|
: ""));
|
|
5307
5307
|
|
|
5308
|
-
add_location(span, file,
|
|
5308
|
+
add_location(span, file, 191, 10, 6949);
|
|
5309
5309
|
},
|
|
5310
5310
|
m: function mount(target, anchor) {
|
|
5311
5311
|
insert_dev(target, span, anchor);
|
|
@@ -5336,14 +5336,14 @@
|
|
|
5336
5336
|
block,
|
|
5337
5337
|
id: create_each_block.name,
|
|
5338
5338
|
type: "each",
|
|
5339
|
-
source: "(
|
|
5339
|
+
source: "(191:8) {#each Array(numberOfPages) as _, i}",
|
|
5340
5340
|
ctx
|
|
5341
5341
|
});
|
|
5342
5342
|
|
|
5343
5343
|
return block;
|
|
5344
5344
|
}
|
|
5345
5345
|
|
|
5346
|
-
// (
|
|
5346
|
+
// (199:2) {#if bonusModal}
|
|
5347
5347
|
function create_if_block_1(ctx) {
|
|
5348
5348
|
let div3;
|
|
5349
5349
|
let div2;
|
|
@@ -5376,19 +5376,19 @@
|
|
|
5376
5376
|
button1 = element("button");
|
|
5377
5377
|
button1.textContent = "Confirm";
|
|
5378
5378
|
attr_dev(p, "class", "ModalText");
|
|
5379
|
-
add_location(p, file,
|
|
5379
|
+
add_location(p, file, 205, 8, 7698);
|
|
5380
5380
|
attr_dev(button0, "class", "ModalCancel");
|
|
5381
|
-
add_location(button0, file,
|
|
5381
|
+
add_location(button0, file, 207, 10, 7804);
|
|
5382
5382
|
attr_dev(button1, "class", "ModalConfirm");
|
|
5383
|
-
add_location(button1, file,
|
|
5383
|
+
add_location(button1, file, 208, 10, 7885);
|
|
5384
5384
|
attr_dev(div0, "class", "ModalButtons");
|
|
5385
|
-
add_location(div0, file,
|
|
5385
|
+
add_location(div0, file, 206, 8, 7767);
|
|
5386
5386
|
attr_dev(div1, "class", "ModalBody");
|
|
5387
|
-
add_location(div1, file,
|
|
5387
|
+
add_location(div1, file, 204, 6, 7666);
|
|
5388
5388
|
attr_dev(div2, "class", "ModalContent");
|
|
5389
|
-
add_location(div2, file,
|
|
5389
|
+
add_location(div2, file, 200, 4, 7536);
|
|
5390
5390
|
attr_dev(div3, "class", "ModalWrapper " + (/*isMobile*/ ctx[11] ? "ModalWrapperMobile" : ""));
|
|
5391
|
-
add_location(div3, file,
|
|
5391
|
+
add_location(div3, file, 199, 2, 7466);
|
|
5392
5392
|
},
|
|
5393
5393
|
m: function mount(target, anchor) {
|
|
5394
5394
|
insert_dev(target, div3, anchor);
|
|
@@ -5427,14 +5427,14 @@
|
|
|
5427
5427
|
block,
|
|
5428
5428
|
id: create_if_block_1.name,
|
|
5429
5429
|
type: "if",
|
|
5430
|
-
source: "(
|
|
5430
|
+
source: "(199:2) {#if bonusModal}",
|
|
5431
5431
|
ctx
|
|
5432
5432
|
});
|
|
5433
5433
|
|
|
5434
5434
|
return block;
|
|
5435
5435
|
}
|
|
5436
5436
|
|
|
5437
|
-
// (
|
|
5437
|
+
// (202:6) {#if !isMobile}
|
|
5438
5438
|
function create_if_block_2(ctx) {
|
|
5439
5439
|
let span;
|
|
5440
5440
|
let mounted;
|
|
@@ -5444,7 +5444,7 @@
|
|
|
5444
5444
|
c: function create() {
|
|
5445
5445
|
span = element("span");
|
|
5446
5446
|
attr_dev(span, "class", "ModalClose");
|
|
5447
|
-
add_location(span, file,
|
|
5447
|
+
add_location(span, file, 202, 8, 7593);
|
|
5448
5448
|
},
|
|
5449
5449
|
m: function mount(target, anchor) {
|
|
5450
5450
|
insert_dev(target, span, anchor);
|
|
@@ -5466,7 +5466,7 @@
|
|
|
5466
5466
|
block,
|
|
5467
5467
|
id: create_if_block_2.name,
|
|
5468
5468
|
type: "if",
|
|
5469
|
-
source: "(
|
|
5469
|
+
source: "(202:6) {#if !isMobile}",
|
|
5470
5470
|
ctx
|
|
5471
5471
|
});
|
|
5472
5472
|
|
|
@@ -5611,7 +5611,8 @@
|
|
|
5611
5611
|
"X-SessionID": session,
|
|
5612
5612
|
"playerId": playerid,
|
|
5613
5613
|
bonusCode
|
|
5614
|
-
}
|
|
5614
|
+
},
|
|
5615
|
+
body: JSON.stringify({})
|
|
5615
5616
|
};
|
|
5616
5617
|
|
|
5617
5618
|
fetch(`${endpoint}/player/${playerid}/claimbonus`, optionsClaimBonus).then(res => {
|