@everymatrix/player-account-gaming-limits-group-edit 0.0.165 → 0.0.169
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.
|
@@ -144,9 +144,6 @@
|
|
|
144
144
|
function set_input_value(input, value) {
|
|
145
145
|
input.value = value == null ? '' : value;
|
|
146
146
|
}
|
|
147
|
-
function set_style(node, key, value, important) {
|
|
148
|
-
node.style.setProperty(key, value, important ? 'important' : '');
|
|
149
|
-
}
|
|
150
147
|
function select_option(select, value) {
|
|
151
148
|
for (let i = 0; i < select.options.length; i += 1) {
|
|
152
149
|
const option = select.options[i];
|
|
@@ -11617,7 +11614,96 @@
|
|
|
11617
11614
|
return child_ctx;
|
|
11618
11615
|
}
|
|
11619
11616
|
|
|
11620
|
-
// (
|
|
11617
|
+
// (418:2) {#if isMobile}
|
|
11618
|
+
function create_if_block_18(ctx) {
|
|
11619
|
+
let div;
|
|
11620
|
+
let svg;
|
|
11621
|
+
let defs;
|
|
11622
|
+
let style;
|
|
11623
|
+
let t0;
|
|
11624
|
+
let g1;
|
|
11625
|
+
let g0;
|
|
11626
|
+
let path;
|
|
11627
|
+
let t1;
|
|
11628
|
+
let h2;
|
|
11629
|
+
let t2_value = /*$_*/ ctx[17]("editText.back") + "";
|
|
11630
|
+
let t2;
|
|
11631
|
+
let mounted;
|
|
11632
|
+
let dispose;
|
|
11633
|
+
|
|
11634
|
+
const block = {
|
|
11635
|
+
c: function create() {
|
|
11636
|
+
div = element("div");
|
|
11637
|
+
svg = svg_element("svg");
|
|
11638
|
+
defs = svg_element("defs");
|
|
11639
|
+
style = svg_element("style");
|
|
11640
|
+
t0 = text(".aaa{fill:#d0046c;}");
|
|
11641
|
+
g1 = svg_element("g");
|
|
11642
|
+
g0 = svg_element("g");
|
|
11643
|
+
path = svg_element("path");
|
|
11644
|
+
t1 = space();
|
|
11645
|
+
h2 = element("h2");
|
|
11646
|
+
t2 = text(t2_value);
|
|
11647
|
+
add_location(style, file, 419, 95, 17419);
|
|
11648
|
+
add_location(defs, file, 419, 89, 17413);
|
|
11649
|
+
attr_dev(path, "class", "aaa");
|
|
11650
|
+
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");
|
|
11651
|
+
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
11652
|
+
add_location(path, file, 421, 10, 17548);
|
|
11653
|
+
attr_dev(g0, "transform", "translate(20 158)");
|
|
11654
|
+
add_location(g0, file, 420, 8, 17504);
|
|
11655
|
+
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
11656
|
+
add_location(g1, file, 419, 136, 17460);
|
|
11657
|
+
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
11658
|
+
attr_dev(svg, "width", "15");
|
|
11659
|
+
attr_dev(svg, "height", "15");
|
|
11660
|
+
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
11661
|
+
add_location(svg, file, 419, 6, 17330);
|
|
11662
|
+
attr_dev(h2, "class", "ChangePasswordTitleMobile");
|
|
11663
|
+
add_location(h2, file, 425, 6, 17721);
|
|
11664
|
+
attr_dev(div, "class", "MenuReturnButton");
|
|
11665
|
+
add_location(div, file, 418, 4, 17258);
|
|
11666
|
+
},
|
|
11667
|
+
m: function mount(target, anchor) {
|
|
11668
|
+
insert_dev(target, div, anchor);
|
|
11669
|
+
append_dev(div, svg);
|
|
11670
|
+
append_dev(svg, defs);
|
|
11671
|
+
append_dev(defs, style);
|
|
11672
|
+
append_dev(style, t0);
|
|
11673
|
+
append_dev(svg, g1);
|
|
11674
|
+
append_dev(g1, g0);
|
|
11675
|
+
append_dev(g0, path);
|
|
11676
|
+
append_dev(div, t1);
|
|
11677
|
+
append_dev(div, h2);
|
|
11678
|
+
append_dev(h2, t2);
|
|
11679
|
+
|
|
11680
|
+
if (!mounted) {
|
|
11681
|
+
dispose = listen_dev(div, "click", /*switchToLimitsGroupView*/ ctx[23], false, false, false);
|
|
11682
|
+
mounted = true;
|
|
11683
|
+
}
|
|
11684
|
+
},
|
|
11685
|
+
p: function update(ctx, dirty) {
|
|
11686
|
+
if (dirty[0] & /*$_*/ 131072 && t2_value !== (t2_value = /*$_*/ ctx[17]("editText.back") + "")) set_data_dev(t2, t2_value);
|
|
11687
|
+
},
|
|
11688
|
+
d: function destroy(detaching) {
|
|
11689
|
+
if (detaching) detach_dev(div);
|
|
11690
|
+
mounted = false;
|
|
11691
|
+
dispose();
|
|
11692
|
+
}
|
|
11693
|
+
};
|
|
11694
|
+
|
|
11695
|
+
dispatch_dev("SvelteRegisterBlock", {
|
|
11696
|
+
block,
|
|
11697
|
+
id: create_if_block_18.name,
|
|
11698
|
+
type: "if",
|
|
11699
|
+
source: "(418:2) {#if isMobile}",
|
|
11700
|
+
ctx
|
|
11701
|
+
});
|
|
11702
|
+
|
|
11703
|
+
return block;
|
|
11704
|
+
}
|
|
11705
|
+
|
|
11706
|
+
// (447:2) {#if showsuccessnotification}
|
|
11621
11707
|
function create_if_block_17(ctx) {
|
|
11622
11708
|
let div;
|
|
11623
11709
|
let p;
|
|
@@ -11629,9 +11715,9 @@
|
|
|
11629
11715
|
div = element("div");
|
|
11630
11716
|
p = element("p");
|
|
11631
11717
|
t = text(t_value);
|
|
11632
|
-
add_location(p, file,
|
|
11718
|
+
add_location(p, file, 448, 6, 18818);
|
|
11633
11719
|
attr_dev(div, "class", "AccountEditLimitSuccessfulChangeContainer");
|
|
11634
|
-
add_location(div, file,
|
|
11720
|
+
add_location(div, file, 447, 4, 18756);
|
|
11635
11721
|
},
|
|
11636
11722
|
m: function mount(target, anchor) {
|
|
11637
11723
|
insert_dev(target, div, anchor);
|
|
@@ -11650,14 +11736,14 @@
|
|
|
11650
11736
|
block,
|
|
11651
11737
|
id: create_if_block_17.name,
|
|
11652
11738
|
type: "if",
|
|
11653
|
-
source: "(
|
|
11739
|
+
source: "(447:2) {#if showsuccessnotification}",
|
|
11654
11740
|
ctx
|
|
11655
11741
|
});
|
|
11656
11742
|
|
|
11657
11743
|
return block;
|
|
11658
11744
|
}
|
|
11659
11745
|
|
|
11660
|
-
// (
|
|
11746
|
+
// (452:2) {#if showdeletenotification}
|
|
11661
11747
|
function create_if_block_14(ctx) {
|
|
11662
11748
|
let div;
|
|
11663
11749
|
|
|
@@ -11674,7 +11760,7 @@
|
|
|
11674
11760
|
div = element("div");
|
|
11675
11761
|
if_block.c();
|
|
11676
11762
|
attr_dev(div, "class", "AccountEditLimitSuccessfulChangeContainer");
|
|
11677
|
-
add_location(div, file,
|
|
11763
|
+
add_location(div, file, 452, 4, 18904);
|
|
11678
11764
|
},
|
|
11679
11765
|
m: function mount(target, anchor) {
|
|
11680
11766
|
insert_dev(target, div, anchor);
|
|
@@ -11703,14 +11789,14 @@
|
|
|
11703
11789
|
block,
|
|
11704
11790
|
id: create_if_block_14.name,
|
|
11705
11791
|
type: "if",
|
|
11706
|
-
source: "(
|
|
11792
|
+
source: "(452:2) {#if showdeletenotification}",
|
|
11707
11793
|
ctx
|
|
11708
11794
|
});
|
|
11709
11795
|
|
|
11710
11796
|
return block;
|
|
11711
11797
|
}
|
|
11712
11798
|
|
|
11713
|
-
// (
|
|
11799
|
+
// (460:6) {:else}
|
|
11714
11800
|
function create_else_block_2(ctx) {
|
|
11715
11801
|
let p;
|
|
11716
11802
|
let t0_value = /*$_*/ ctx[17]("editText.remove") + "";
|
|
@@ -11729,7 +11815,7 @@
|
|
|
11729
11815
|
t0 = text(t0_value);
|
|
11730
11816
|
t1 = space();
|
|
11731
11817
|
t2 = text(t2_value);
|
|
11732
|
-
add_location(p, file,
|
|
11818
|
+
add_location(p, file, 460, 8, 19289);
|
|
11733
11819
|
},
|
|
11734
11820
|
m: function mount(target, anchor) {
|
|
11735
11821
|
insert_dev(target, p, anchor);
|
|
@@ -11753,14 +11839,14 @@
|
|
|
11753
11839
|
block,
|
|
11754
11840
|
id: create_else_block_2.name,
|
|
11755
11841
|
type: "else",
|
|
11756
|
-
source: "(
|
|
11842
|
+
source: "(460:6) {:else}",
|
|
11757
11843
|
ctx
|
|
11758
11844
|
});
|
|
11759
11845
|
|
|
11760
11846
|
return block;
|
|
11761
11847
|
}
|
|
11762
11848
|
|
|
11763
|
-
// (
|
|
11849
|
+
// (454:6) {#if isArray}
|
|
11764
11850
|
function create_if_block_15(ctx) {
|
|
11765
11851
|
let each_1_anchor;
|
|
11766
11852
|
let each_value_5 = /*limitsUpdateData*/ ctx[13];
|
|
@@ -11821,14 +11907,14 @@
|
|
|
11821
11907
|
block,
|
|
11822
11908
|
id: create_if_block_15.name,
|
|
11823
11909
|
type: "if",
|
|
11824
|
-
source: "(
|
|
11910
|
+
source: "(454:6) {#if isArray}",
|
|
11825
11911
|
ctx
|
|
11826
11912
|
});
|
|
11827
11913
|
|
|
11828
11914
|
return block;
|
|
11829
11915
|
}
|
|
11830
11916
|
|
|
11831
|
-
// (
|
|
11917
|
+
// (456:10) {#if selectData.period == storedData[index].periodName}
|
|
11832
11918
|
function create_if_block_16(ctx) {
|
|
11833
11919
|
let p;
|
|
11834
11920
|
let t0_value = /*$_*/ ctx[17]("editText.remove") + "";
|
|
@@ -11847,7 +11933,7 @@
|
|
|
11847
11933
|
t0 = text(t0_value);
|
|
11848
11934
|
t1 = space();
|
|
11849
11935
|
t2 = text(t2_value);
|
|
11850
|
-
add_location(p, file,
|
|
11936
|
+
add_location(p, file, 456, 12, 19112);
|
|
11851
11937
|
},
|
|
11852
11938
|
m: function mount(target, anchor) {
|
|
11853
11939
|
insert_dev(target, p, anchor);
|
|
@@ -11871,14 +11957,14 @@
|
|
|
11871
11957
|
block,
|
|
11872
11958
|
id: create_if_block_16.name,
|
|
11873
11959
|
type: "if",
|
|
11874
|
-
source: "(
|
|
11960
|
+
source: "(456:10) {#if selectData.period == storedData[index].periodName}",
|
|
11875
11961
|
ctx
|
|
11876
11962
|
});
|
|
11877
11963
|
|
|
11878
11964
|
return block;
|
|
11879
11965
|
}
|
|
11880
11966
|
|
|
11881
|
-
// (
|
|
11967
|
+
// (455:8) {#each limitsUpdateData as selectData, index}
|
|
11882
11968
|
function create_each_block_5(ctx) {
|
|
11883
11969
|
let if_block_anchor;
|
|
11884
11970
|
let if_block = /*selectData*/ ctx[48].period == /*storedData*/ ctx[16][/*index*/ ctx[50]].periodName && create_if_block_16(ctx);
|
|
@@ -11916,14 +12002,14 @@
|
|
|
11916
12002
|
block,
|
|
11917
12003
|
id: create_each_block_5.name,
|
|
11918
12004
|
type: "each",
|
|
11919
|
-
source: "(
|
|
12005
|
+
source: "(455:8) {#each limitsUpdateData as selectData, index}",
|
|
11920
12006
|
ctx
|
|
11921
12007
|
});
|
|
11922
12008
|
|
|
11923
12009
|
return block;
|
|
11924
12010
|
}
|
|
11925
12011
|
|
|
11926
|
-
// (
|
|
12012
|
+
// (465:2) {#if showLimits}
|
|
11927
12013
|
function create_if_block(ctx) {
|
|
11928
12014
|
let div;
|
|
11929
12015
|
|
|
@@ -11940,7 +12026,7 @@
|
|
|
11940
12026
|
div = element("div");
|
|
11941
12027
|
if_block.c();
|
|
11942
12028
|
attr_dev(div, "class", "AccountEditContent");
|
|
11943
|
-
add_location(div, file,
|
|
12029
|
+
add_location(div, file, 465, 2, 19464);
|
|
11944
12030
|
},
|
|
11945
12031
|
m: function mount(target, anchor) {
|
|
11946
12032
|
insert_dev(target, div, anchor);
|
|
@@ -11969,14 +12055,14 @@
|
|
|
11969
12055
|
block,
|
|
11970
12056
|
id: create_if_block.name,
|
|
11971
12057
|
type: "if",
|
|
11972
|
-
source: "(
|
|
12058
|
+
source: "(465:2) {#if showLimits}",
|
|
11973
12059
|
ctx
|
|
11974
12060
|
});
|
|
11975
12061
|
|
|
11976
12062
|
return block;
|
|
11977
12063
|
}
|
|
11978
12064
|
|
|
11979
|
-
// (
|
|
12065
|
+
// (506:4) {:else}
|
|
11980
12066
|
function create_else_block_1(ctx) {
|
|
11981
12067
|
let div1;
|
|
11982
12068
|
let div0;
|
|
@@ -12023,15 +12109,15 @@
|
|
|
12023
12109
|
}
|
|
12024
12110
|
|
|
12025
12111
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
12026
|
-
add_location(p, file,
|
|
12112
|
+
add_location(p, file, 508, 10, 22637);
|
|
12027
12113
|
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
|
|
12028
12114
|
select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true;
|
|
12029
12115
|
if (/*limitsUpdateData*/ ctx[13].period === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[29].call(select));
|
|
12030
|
-
add_location(select, file,
|
|
12116
|
+
add_location(select, file, 509, 10, 22691);
|
|
12031
12117
|
attr_dev(div0, "class", "AccountEditLimitsSplitSection");
|
|
12032
|
-
add_location(div0, file,
|
|
12118
|
+
add_location(div0, file, 507, 8, 22583);
|
|
12033
12119
|
attr_dev(div1, "class", "AccountEditLimitsContainer");
|
|
12034
|
-
add_location(div1, file,
|
|
12120
|
+
add_location(div1, file, 506, 6, 22534);
|
|
12035
12121
|
},
|
|
12036
12122
|
m: function mount(target, anchor) {
|
|
12037
12123
|
insert_dev(target, div1, anchor);
|
|
@@ -12141,14 +12227,14 @@
|
|
|
12141
12227
|
block,
|
|
12142
12228
|
id: create_else_block_1.name,
|
|
12143
12229
|
type: "else",
|
|
12144
|
-
source: "(
|
|
12230
|
+
source: "(506:4) {:else}",
|
|
12145
12231
|
ctx
|
|
12146
12232
|
});
|
|
12147
12233
|
|
|
12148
12234
|
return block;
|
|
12149
12235
|
}
|
|
12150
12236
|
|
|
12151
|
-
// (
|
|
12237
|
+
// (467:4) {#if (isArray)}
|
|
12152
12238
|
function create_if_block_1(ctx) {
|
|
12153
12239
|
let div;
|
|
12154
12240
|
let each_value = /*limitsUpdateData*/ ctx[13];
|
|
@@ -12168,7 +12254,7 @@
|
|
|
12168
12254
|
}
|
|
12169
12255
|
|
|
12170
12256
|
attr_dev(div, "class", "AccountEditLimitsContainer");
|
|
12171
|
-
add_location(div, file,
|
|
12257
|
+
add_location(div, file, 467, 6, 19586);
|
|
12172
12258
|
},
|
|
12173
12259
|
m: function mount(target, anchor) {
|
|
12174
12260
|
insert_dev(target, div, anchor);
|
|
@@ -12212,14 +12298,14 @@
|
|
|
12212
12298
|
block,
|
|
12213
12299
|
id: create_if_block_1.name,
|
|
12214
12300
|
type: "if",
|
|
12215
|
-
source: "(
|
|
12301
|
+
source: "(467:4) {#if (isArray)}",
|
|
12216
12302
|
ctx
|
|
12217
12303
|
});
|
|
12218
12304
|
|
|
12219
12305
|
return block;
|
|
12220
12306
|
}
|
|
12221
12307
|
|
|
12222
|
-
// (
|
|
12308
|
+
// (511:12) {#each periodValues as selectData}
|
|
12223
12309
|
function create_each_block_4(ctx) {
|
|
12224
12310
|
let option;
|
|
12225
12311
|
let t_value = /*selectData*/ ctx[48] + "";
|
|
@@ -12231,7 +12317,7 @@
|
|
|
12231
12317
|
t = text(t_value);
|
|
12232
12318
|
option.__value = /*selectData*/ ctx[48];
|
|
12233
12319
|
option.value = option.__value;
|
|
12234
|
-
add_location(option, file,
|
|
12320
|
+
add_location(option, file, 511, 14, 22992);
|
|
12235
12321
|
},
|
|
12236
12322
|
m: function mount(target, anchor) {
|
|
12237
12323
|
insert_dev(target, option, anchor);
|
|
@@ -12247,14 +12333,14 @@
|
|
|
12247
12333
|
block,
|
|
12248
12334
|
id: create_each_block_4.name,
|
|
12249
12335
|
type: "each",
|
|
12250
|
-
source: "(
|
|
12336
|
+
source: "(511:12) {#each periodValues as selectData}",
|
|
12251
12337
|
ctx
|
|
12252
12338
|
});
|
|
12253
12339
|
|
|
12254
12340
|
return block;
|
|
12255
12341
|
}
|
|
12256
12342
|
|
|
12257
|
-
// (
|
|
12343
|
+
// (517:10) {#if limitsUpdateData.period === savedData.periodName}
|
|
12258
12344
|
function create_if_block_9(ctx) {
|
|
12259
12345
|
let div1;
|
|
12260
12346
|
let p;
|
|
@@ -12308,21 +12394,21 @@
|
|
|
12308
12394
|
if (if_block1) if_block1.c();
|
|
12309
12395
|
t5 = space();
|
|
12310
12396
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
12311
|
-
add_location(p, file,
|
|
12397
|
+
add_location(p, file, 518, 14, 23278);
|
|
12312
12398
|
option.__value = "";
|
|
12313
12399
|
option.value = option.__value;
|
|
12314
12400
|
option.disabled = true;
|
|
12315
12401
|
option.selected = true;
|
|
12316
12402
|
option.hidden = true;
|
|
12317
|
-
add_location(option, file,
|
|
12403
|
+
add_location(option, file, 520, 16, 23596);
|
|
12318
12404
|
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
|
|
12319
12405
|
select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true;
|
|
12320
12406
|
if (/*savedData*/ ctx[54].amount === void 0) add_render_callback(select_change_handler_2);
|
|
12321
|
-
add_location(select, file,
|
|
12407
|
+
add_location(select, file, 519, 14, 23354);
|
|
12322
12408
|
attr_dev(div0, "class", "AccountEditLimitsInputContainer");
|
|
12323
|
-
add_location(div0, file,
|
|
12409
|
+
add_location(div0, file, 525, 14, 23988);
|
|
12324
12410
|
attr_dev(div1, "class", "AccountEditLimitsSplitSection");
|
|
12325
|
-
add_location(div1, file,
|
|
12411
|
+
add_location(div1, file, 517, 12, 23220);
|
|
12326
12412
|
},
|
|
12327
12413
|
m: function mount(target, anchor) {
|
|
12328
12414
|
insert_dev(target, div1, anchor);
|
|
@@ -12440,14 +12526,14 @@
|
|
|
12440
12526
|
block,
|
|
12441
12527
|
id: create_if_block_9.name,
|
|
12442
12528
|
type: "if",
|
|
12443
|
-
source: "(
|
|
12529
|
+
source: "(517:10) {#if limitsUpdateData.period === savedData.periodName}",
|
|
12444
12530
|
ctx
|
|
12445
12531
|
});
|
|
12446
12532
|
|
|
12447
12533
|
return block;
|
|
12448
12534
|
}
|
|
12449
12535
|
|
|
12450
|
-
// (
|
|
12536
|
+
// (523:58) {#if selectData !== "No limit" && selectData !== "Custom"}
|
|
12451
12537
|
function create_if_block_13(ctx) {
|
|
12452
12538
|
let t;
|
|
12453
12539
|
|
|
@@ -12470,14 +12556,14 @@
|
|
|
12470
12556
|
block,
|
|
12471
12557
|
id: create_if_block_13.name,
|
|
12472
12558
|
type: "if",
|
|
12473
|
-
source: "(
|
|
12559
|
+
source: "(523:58) {#if selectData !== \\\"No limit\\\" && selectData !== \\\"Custom\\\"}",
|
|
12474
12560
|
ctx
|
|
12475
12561
|
});
|
|
12476
12562
|
|
|
12477
12563
|
return block;
|
|
12478
12564
|
}
|
|
12479
12565
|
|
|
12480
|
-
// (
|
|
12566
|
+
// (522:16) {#each lossLimitPredefinedValues as selectData}
|
|
12481
12567
|
function create_each_block_3(ctx) {
|
|
12482
12568
|
let option;
|
|
12483
12569
|
let t0_value = /*selectData*/ ctx[48] + "";
|
|
@@ -12493,7 +12579,7 @@
|
|
|
12493
12579
|
if (if_block) if_block.c();
|
|
12494
12580
|
option.__value = /*selectData*/ ctx[48];
|
|
12495
12581
|
option.value = option.__value;
|
|
12496
|
-
add_location(option, file,
|
|
12582
|
+
add_location(option, file, 522, 18, 23754);
|
|
12497
12583
|
},
|
|
12498
12584
|
m: function mount(target, anchor) {
|
|
12499
12585
|
insert_dev(target, option, anchor);
|
|
@@ -12514,14 +12600,14 @@
|
|
|
12514
12600
|
block,
|
|
12515
12601
|
id: create_each_block_3.name,
|
|
12516
12602
|
type: "each",
|
|
12517
|
-
source: "(
|
|
12603
|
+
source: "(522:16) {#each lossLimitPredefinedValues as selectData}",
|
|
12518
12604
|
ctx
|
|
12519
12605
|
});
|
|
12520
12606
|
|
|
12521
12607
|
return block;
|
|
12522
12608
|
}
|
|
12523
12609
|
|
|
12524
|
-
// (
|
|
12610
|
+
// (527:16) {#if savedData.amount === "Custom"}
|
|
12525
12611
|
function create_if_block_11(ctx) {
|
|
12526
12612
|
let input;
|
|
12527
12613
|
let input_disabled_value;
|
|
@@ -12545,7 +12631,7 @@
|
|
|
12545
12631
|
attr_dev(input, "type", "number");
|
|
12546
12632
|
attr_dev(input, "class", "AccountEditField");
|
|
12547
12633
|
input.disabled = input_disabled_value = /*limitsUpdateData*/ ctx[13].isModified === true;
|
|
12548
|
-
add_location(input, file,
|
|
12634
|
+
add_location(input, file, 527, 18, 24104);
|
|
12549
12635
|
},
|
|
12550
12636
|
m: function mount(target, anchor) {
|
|
12551
12637
|
insert_dev(target, input, anchor);
|
|
@@ -12610,14 +12696,14 @@
|
|
|
12610
12696
|
block,
|
|
12611
12697
|
id: create_if_block_11.name,
|
|
12612
12698
|
type: "if",
|
|
12613
|
-
source: "(
|
|
12699
|
+
source: "(527:16) {#if savedData.amount === \\\"Custom\\\"}",
|
|
12614
12700
|
ctx
|
|
12615
12701
|
});
|
|
12616
12702
|
|
|
12617
12703
|
return block;
|
|
12618
12704
|
}
|
|
12619
12705
|
|
|
12620
|
-
// (
|
|
12706
|
+
// (529:18) {#if invalidIndex === true}
|
|
12621
12707
|
function create_if_block_12(ctx) {
|
|
12622
12708
|
let p;
|
|
12623
12709
|
let span;
|
|
@@ -12630,9 +12716,9 @@
|
|
|
12630
12716
|
span = element("span");
|
|
12631
12717
|
t = text(t_value);
|
|
12632
12718
|
attr_dev(span, "class", "InvalidInput InvalidSingleRow");
|
|
12633
|
-
add_location(span, file,
|
|
12719
|
+
add_location(span, file, 530, 20, 24422);
|
|
12634
12720
|
attr_dev(p, "class", "AccountEditWarningText");
|
|
12635
|
-
add_location(p, file,
|
|
12721
|
+
add_location(p, file, 529, 18, 24367);
|
|
12636
12722
|
},
|
|
12637
12723
|
m: function mount(target, anchor) {
|
|
12638
12724
|
insert_dev(target, p, anchor);
|
|
@@ -12651,14 +12737,14 @@
|
|
|
12651
12737
|
block,
|
|
12652
12738
|
id: create_if_block_12.name,
|
|
12653
12739
|
type: "if",
|
|
12654
|
-
source: "(
|
|
12740
|
+
source: "(529:18) {#if invalidIndex === true}",
|
|
12655
12741
|
ctx
|
|
12656
12742
|
});
|
|
12657
12743
|
|
|
12658
12744
|
return block;
|
|
12659
12745
|
}
|
|
12660
12746
|
|
|
12661
|
-
// (
|
|
12747
|
+
// (535:16) {#if limitsUpdateData.isModified === true}
|
|
12662
12748
|
function create_if_block_10(ctx) {
|
|
12663
12749
|
let p0;
|
|
12664
12750
|
let t0_value = /*$_*/ ctx[17]("editText.expirationDate") + "";
|
|
@@ -12709,15 +12795,15 @@
|
|
|
12709
12795
|
t8 = space();
|
|
12710
12796
|
t9 = text(/*playercurrency*/ ctx[4]);
|
|
12711
12797
|
t10 = text(t10_value);
|
|
12712
|
-
add_location(span0, file,
|
|
12798
|
+
add_location(span0, file, 535, 89, 24732);
|
|
12713
12799
|
attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
|
|
12714
|
-
add_location(p0, file,
|
|
12800
|
+
add_location(p0, file, 535, 18, 24661);
|
|
12715
12801
|
attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
|
|
12716
|
-
add_location(span1, file,
|
|
12717
|
-
add_location(span2, file,
|
|
12718
|
-
add_location(p1, file,
|
|
12802
|
+
add_location(span1, file, 537, 23, 24935);
|
|
12803
|
+
add_location(span2, file, 537, 78, 24990);
|
|
12804
|
+
add_location(p1, file, 537, 20, 24932);
|
|
12719
12805
|
attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
|
|
12720
|
-
add_location(div, file,
|
|
12806
|
+
add_location(div, file, 536, 18, 24859);
|
|
12721
12807
|
},
|
|
12722
12808
|
m: function mount(target, anchor) {
|
|
12723
12809
|
insert_dev(target, p0, anchor);
|
|
@@ -12764,14 +12850,14 @@
|
|
|
12764
12850
|
block,
|
|
12765
12851
|
id: create_if_block_10.name,
|
|
12766
12852
|
type: "if",
|
|
12767
|
-
source: "(
|
|
12853
|
+
source: "(535:16) {#if limitsUpdateData.isModified === true}",
|
|
12768
12854
|
ctx
|
|
12769
12855
|
});
|
|
12770
12856
|
|
|
12771
12857
|
return block;
|
|
12772
12858
|
}
|
|
12773
12859
|
|
|
12774
|
-
// (
|
|
12860
|
+
// (516:8) {#each storedData as savedData, index}
|
|
12775
12861
|
function create_each_block_2(ctx) {
|
|
12776
12862
|
let if_block_anchor;
|
|
12777
12863
|
let if_block = /*limitsUpdateData*/ ctx[13].period === /*savedData*/ ctx[54].periodName && create_if_block_9(ctx);
|
|
@@ -12809,14 +12895,14 @@
|
|
|
12809
12895
|
block,
|
|
12810
12896
|
id: create_each_block_2.name,
|
|
12811
12897
|
type: "each",
|
|
12812
|
-
source: "(
|
|
12898
|
+
source: "(516:8) {#each storedData as savedData, index}",
|
|
12813
12899
|
ctx
|
|
12814
12900
|
});
|
|
12815
12901
|
|
|
12816
12902
|
return block;
|
|
12817
12903
|
}
|
|
12818
12904
|
|
|
12819
|
-
// (
|
|
12905
|
+
// (472:12) {#if selectData.period == storedData[index].periodName}
|
|
12820
12906
|
function create_if_block_2(ctx) {
|
|
12821
12907
|
let select;
|
|
12822
12908
|
let option;
|
|
@@ -12863,11 +12949,11 @@
|
|
|
12863
12949
|
option.disabled = true;
|
|
12864
12950
|
option.selected = true;
|
|
12865
12951
|
option.hidden = true;
|
|
12866
|
-
add_location(option, file,
|
|
12952
|
+
add_location(option, file, 473, 16, 20134);
|
|
12867
12953
|
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
|
|
12868
12954
|
select.disabled = select_disabled_value = /*selectData*/ ctx[48].isModified === true;
|
|
12869
12955
|
if (/*storedData*/ ctx[16][/*index*/ ctx[50]].amount === void 0) add_render_callback(select_change_handler);
|
|
12870
|
-
add_location(select, file,
|
|
12956
|
+
add_location(select, file, 472, 14, 19878);
|
|
12871
12957
|
},
|
|
12872
12958
|
m: function mount(target, anchor) {
|
|
12873
12959
|
insert_dev(target, select, anchor);
|
|
@@ -12982,14 +13068,14 @@
|
|
|
12982
13068
|
block,
|
|
12983
13069
|
id: create_if_block_2.name,
|
|
12984
13070
|
type: "if",
|
|
12985
|
-
source: "(
|
|
13071
|
+
source: "(472:12) {#if selectData.period == storedData[index].periodName}",
|
|
12986
13072
|
ctx
|
|
12987
13073
|
});
|
|
12988
13074
|
|
|
12989
13075
|
return block;
|
|
12990
13076
|
}
|
|
12991
13077
|
|
|
12992
|
-
// (
|
|
13078
|
+
// (476:66) {#if predefinedData !== "No limit" && predefinedData !== "Custom"}
|
|
12993
13079
|
function create_if_block_8(ctx) {
|
|
12994
13080
|
let t_value = (/*limitname*/ ctx[3] !== "Time Limit"
|
|
12995
13081
|
? /*playercurrency*/ ctx[4]
|
|
@@ -13018,14 +13104,14 @@
|
|
|
13018
13104
|
block,
|
|
13019
13105
|
id: create_if_block_8.name,
|
|
13020
13106
|
type: "if",
|
|
13021
|
-
source: "(
|
|
13107
|
+
source: "(476:66) {#if predefinedData !== \\\"No limit\\\" && predefinedData !== \\\"Custom\\\"}",
|
|
13022
13108
|
ctx
|
|
13023
13109
|
});
|
|
13024
13110
|
|
|
13025
13111
|
return block;
|
|
13026
13112
|
}
|
|
13027
13113
|
|
|
13028
|
-
// (
|
|
13114
|
+
// (475:16) {#each depositPredefinedValues[index].values as predefinedData}
|
|
13029
13115
|
function create_each_block_1(ctx) {
|
|
13030
13116
|
let option;
|
|
13031
13117
|
let t0_value = /*predefinedData*/ ctx[51] + "";
|
|
@@ -13041,7 +13127,7 @@
|
|
|
13041
13127
|
if (if_block) if_block.c();
|
|
13042
13128
|
option.__value = /*predefinedData*/ ctx[51];
|
|
13043
13129
|
option.value = option.__value;
|
|
13044
|
-
add_location(option, file,
|
|
13130
|
+
add_location(option, file, 475, 18, 20308);
|
|
13045
13131
|
},
|
|
13046
13132
|
m: function mount(target, anchor) {
|
|
13047
13133
|
insert_dev(target, option, anchor);
|
|
@@ -13062,14 +13148,14 @@
|
|
|
13062
13148
|
block,
|
|
13063
13149
|
id: create_each_block_1.name,
|
|
13064
13150
|
type: "each",
|
|
13065
|
-
source: "(
|
|
13151
|
+
source: "(475:16) {#each depositPredefinedValues[index].values as predefinedData}",
|
|
13066
13152
|
ctx
|
|
13067
13153
|
});
|
|
13068
13154
|
|
|
13069
13155
|
return block;
|
|
13070
13156
|
}
|
|
13071
13157
|
|
|
13072
|
-
// (
|
|
13158
|
+
// (479:14) {#if storedData[index].amount === "Custom"}
|
|
13073
13159
|
function create_if_block_4(ctx) {
|
|
13074
13160
|
let if_block_anchor;
|
|
13075
13161
|
|
|
@@ -13113,14 +13199,14 @@
|
|
|
13113
13199
|
block,
|
|
13114
13200
|
id: create_if_block_4.name,
|
|
13115
13201
|
type: "if",
|
|
13116
|
-
source: "(
|
|
13202
|
+
source: "(479:14) {#if storedData[index].amount === \\\"Custom\\\"}",
|
|
13117
13203
|
ctx
|
|
13118
13204
|
});
|
|
13119
13205
|
|
|
13120
13206
|
return block;
|
|
13121
13207
|
}
|
|
13122
13208
|
|
|
13123
|
-
// (
|
|
13209
|
+
// (487:16) {:else}
|
|
13124
13210
|
function create_else_block(ctx) {
|
|
13125
13211
|
let input;
|
|
13126
13212
|
let input_disabled_value;
|
|
@@ -13144,9 +13230,9 @@
|
|
|
13144
13230
|
attr_dev(input, "type", "number");
|
|
13145
13231
|
attr_dev(input, "class", "AccountEditField");
|
|
13146
13232
|
input.disabled = input_disabled_value = /*selectData*/ ctx[48].isModified === true;
|
|
13147
|
-
add_location(input, file,
|
|
13233
|
+
add_location(input, file, 487, 18, 21169);
|
|
13148
13234
|
attr_dev(p, "class", "AccountEditWarningText");
|
|
13149
|
-
add_location(p, file,
|
|
13235
|
+
add_location(p, file, 488, 18, 21399);
|
|
13150
13236
|
},
|
|
13151
13237
|
m: function mount(target, anchor) {
|
|
13152
13238
|
insert_dev(target, input, anchor);
|
|
@@ -13211,14 +13297,14 @@
|
|
|
13211
13297
|
block,
|
|
13212
13298
|
id: create_else_block.name,
|
|
13213
13299
|
type: "else",
|
|
13214
|
-
source: "(
|
|
13300
|
+
source: "(487:16) {:else}",
|
|
13215
13301
|
ctx
|
|
13216
13302
|
});
|
|
13217
13303
|
|
|
13218
13304
|
return block;
|
|
13219
13305
|
}
|
|
13220
13306
|
|
|
13221
|
-
// (
|
|
13307
|
+
// (480:16) {#if limitname === "Deposit Limit"}
|
|
13222
13308
|
function create_if_block_5(ctx) {
|
|
13223
13309
|
let input;
|
|
13224
13310
|
let input_disabled_value;
|
|
@@ -13242,9 +13328,9 @@
|
|
|
13242
13328
|
attr_dev(input, "type", "number");
|
|
13243
13329
|
attr_dev(input, "class", "AccountEditField");
|
|
13244
13330
|
input.disabled = input_disabled_value = /*selectData*/ ctx[48].isModified === true;
|
|
13245
|
-
add_location(input, file,
|
|
13331
|
+
add_location(input, file, 480, 18, 20671);
|
|
13246
13332
|
attr_dev(p, "class", "AccountEditWarningText");
|
|
13247
|
-
add_location(p, file,
|
|
13333
|
+
add_location(p, file, 481, 18, 20902);
|
|
13248
13334
|
},
|
|
13249
13335
|
m: function mount(target, anchor) {
|
|
13250
13336
|
insert_dev(target, input, anchor);
|
|
@@ -13309,14 +13395,14 @@
|
|
|
13309
13395
|
block,
|
|
13310
13396
|
id: create_if_block_5.name,
|
|
13311
13397
|
type: "if",
|
|
13312
|
-
source: "(
|
|
13398
|
+
source: "(480:16) {#if limitname === \\\"Deposit Limit\\\"}",
|
|
13313
13399
|
ctx
|
|
13314
13400
|
});
|
|
13315
13401
|
|
|
13316
13402
|
return block;
|
|
13317
13403
|
}
|
|
13318
13404
|
|
|
13319
|
-
// (
|
|
13405
|
+
// (490:20) {#if invalidIndexes[index] == 1}
|
|
13320
13406
|
function create_if_block_7(ctx) {
|
|
13321
13407
|
let p;
|
|
13322
13408
|
|
|
@@ -13334,7 +13420,7 @@
|
|
|
13334
13420
|
p = element("p");
|
|
13335
13421
|
t = text(t_value);
|
|
13336
13422
|
attr_dev(p, "class", "InvalidInput");
|
|
13337
|
-
add_location(p, file,
|
|
13423
|
+
add_location(p, file, 490, 22, 21509);
|
|
13338
13424
|
},
|
|
13339
13425
|
m: function mount(target, anchor) {
|
|
13340
13426
|
insert_dev(target, p, anchor);
|
|
@@ -13357,14 +13443,14 @@
|
|
|
13357
13443
|
block,
|
|
13358
13444
|
id: create_if_block_7.name,
|
|
13359
13445
|
type: "if",
|
|
13360
|
-
source: "(
|
|
13446
|
+
source: "(490:20) {#if invalidIndexes[index] == 1}",
|
|
13361
13447
|
ctx
|
|
13362
13448
|
});
|
|
13363
13449
|
|
|
13364
13450
|
return block;
|
|
13365
13451
|
}
|
|
13366
13452
|
|
|
13367
|
-
// (
|
|
13453
|
+
// (483:20) {#if invalidIndexes[index] == 1}
|
|
13368
13454
|
function create_if_block_6(ctx) {
|
|
13369
13455
|
let p;
|
|
13370
13456
|
let t_value = /*$_*/ ctx[17]("editText.invalidInputMessageLimit") + "";
|
|
@@ -13375,7 +13461,7 @@
|
|
|
13375
13461
|
p = element("p");
|
|
13376
13462
|
t = text(t_value);
|
|
13377
13463
|
attr_dev(p, "class", "InvalidInput");
|
|
13378
|
-
add_location(p, file,
|
|
13464
|
+
add_location(p, file, 483, 18, 21008);
|
|
13379
13465
|
},
|
|
13380
13466
|
m: function mount(target, anchor) {
|
|
13381
13467
|
insert_dev(target, p, anchor);
|
|
@@ -13393,14 +13479,14 @@
|
|
|
13393
13479
|
block,
|
|
13394
13480
|
id: create_if_block_6.name,
|
|
13395
13481
|
type: "if",
|
|
13396
|
-
source: "(
|
|
13482
|
+
source: "(483:20) {#if invalidIndexes[index] == 1}",
|
|
13397
13483
|
ctx
|
|
13398
13484
|
});
|
|
13399
13485
|
|
|
13400
13486
|
return block;
|
|
13401
13487
|
}
|
|
13402
13488
|
|
|
13403
|
-
// (
|
|
13489
|
+
// (496:14) {#if selectData.isModified === true}
|
|
13404
13490
|
function create_if_block_3(ctx) {
|
|
13405
13491
|
let p0;
|
|
13406
13492
|
let t0_value = /*$_*/ ctx[17]("editText.expirationDate") + "";
|
|
@@ -13456,15 +13542,15 @@
|
|
|
13456
13542
|
t8 = space();
|
|
13457
13543
|
t9 = text(t9_value);
|
|
13458
13544
|
t10 = text(t10_value);
|
|
13459
|
-
add_location(span0, file,
|
|
13545
|
+
add_location(span0, file, 496, 87, 21867);
|
|
13460
13546
|
attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
|
|
13461
|
-
add_location(p0, file,
|
|
13547
|
+
add_location(p0, file, 496, 16, 21796);
|
|
13462
13548
|
attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
|
|
13463
|
-
add_location(span1, file,
|
|
13464
|
-
add_location(span2, file,
|
|
13465
|
-
add_location(p1, file,
|
|
13549
|
+
add_location(span1, file, 498, 19, 22064);
|
|
13550
|
+
add_location(span2, file, 498, 74, 22119);
|
|
13551
|
+
add_location(p1, file, 498, 16, 22061);
|
|
13466
13552
|
attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
|
|
13467
|
-
add_location(div, file,
|
|
13553
|
+
add_location(div, file, 497, 16, 21992);
|
|
13468
13554
|
},
|
|
13469
13555
|
m: function mount(target, anchor) {
|
|
13470
13556
|
insert_dev(target, p0, anchor);
|
|
@@ -13514,14 +13600,14 @@
|
|
|
13514
13600
|
block,
|
|
13515
13601
|
id: create_if_block_3.name,
|
|
13516
13602
|
type: "if",
|
|
13517
|
-
source: "(
|
|
13603
|
+
source: "(496:14) {#if selectData.isModified === true}",
|
|
13518
13604
|
ctx
|
|
13519
13605
|
});
|
|
13520
13606
|
|
|
13521
13607
|
return block;
|
|
13522
13608
|
}
|
|
13523
13609
|
|
|
13524
|
-
// (
|
|
13610
|
+
// (469:8) {#each limitsUpdateData as selectData, index}
|
|
13525
13611
|
function create_each_block(ctx) {
|
|
13526
13612
|
let div;
|
|
13527
13613
|
let p;
|
|
@@ -13540,9 +13626,9 @@
|
|
|
13540
13626
|
if (if_block) if_block.c();
|
|
13541
13627
|
t2 = space();
|
|
13542
13628
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
13543
|
-
add_location(p, file,
|
|
13629
|
+
add_location(p, file, 470, 12, 19738);
|
|
13544
13630
|
attr_dev(div, "class", "AccountEditLimitsBox");
|
|
13545
|
-
add_location(div, file,
|
|
13631
|
+
add_location(div, file, 469, 10, 19691);
|
|
13546
13632
|
},
|
|
13547
13633
|
m: function mount(target, anchor) {
|
|
13548
13634
|
insert_dev(target, div, anchor);
|
|
@@ -13578,7 +13664,7 @@
|
|
|
13578
13664
|
block,
|
|
13579
13665
|
id: create_each_block.name,
|
|
13580
13666
|
type: "each",
|
|
13581
|
-
source: "(
|
|
13667
|
+
source: "(469:8) {#each limitsUpdateData as selectData, index}",
|
|
13582
13668
|
ctx
|
|
13583
13669
|
});
|
|
13584
13670
|
|
|
@@ -13587,164 +13673,182 @@
|
|
|
13587
13673
|
|
|
13588
13674
|
function create_fragment(ctx) {
|
|
13589
13675
|
let div4;
|
|
13676
|
+
let t0;
|
|
13590
13677
|
let div0;
|
|
13591
13678
|
let svg;
|
|
13592
|
-
let
|
|
13593
|
-
let
|
|
13594
|
-
let t0;
|
|
13595
|
-
let span0;
|
|
13596
|
-
let t1_value = /*$_*/ ctx[17]("editText.back") + "";
|
|
13679
|
+
let defs;
|
|
13680
|
+
let style;
|
|
13597
13681
|
let t1;
|
|
13682
|
+
let g1;
|
|
13683
|
+
let g0;
|
|
13684
|
+
let path;
|
|
13598
13685
|
let t2;
|
|
13599
|
-
let
|
|
13600
|
-
let
|
|
13601
|
-
let t3_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[3] : "") + "";
|
|
13686
|
+
let h2;
|
|
13687
|
+
let t3_value = /*$_*/ ctx[17]("editText.back") + "";
|
|
13602
13688
|
let t3;
|
|
13603
13689
|
let t4;
|
|
13604
|
-
let
|
|
13605
|
-
let
|
|
13690
|
+
let div2;
|
|
13691
|
+
let h6;
|
|
13692
|
+
let t5_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[3] : "") + "";
|
|
13693
|
+
let t5;
|
|
13606
13694
|
let t6;
|
|
13607
|
-
let
|
|
13608
|
-
let
|
|
13695
|
+
let div1;
|
|
13696
|
+
let span;
|
|
13609
13697
|
let t8;
|
|
13698
|
+
let player_account_gaming_limits_popup;
|
|
13610
13699
|
let t9;
|
|
13611
13700
|
let t10;
|
|
13701
|
+
let t11;
|
|
13702
|
+
let t12;
|
|
13612
13703
|
let div3;
|
|
13613
13704
|
let button;
|
|
13614
|
-
let
|
|
13615
|
-
let
|
|
13705
|
+
let t13_value = /*$_*/ ctx[17]("editText.save") + "";
|
|
13706
|
+
let t13;
|
|
13616
13707
|
let button_class_value;
|
|
13617
13708
|
let button_disabled_value;
|
|
13618
|
-
let
|
|
13709
|
+
let t14;
|
|
13619
13710
|
let player_account_modal;
|
|
13620
13711
|
let player_account_gaming_limits_confirmation_modal;
|
|
13621
13712
|
let mounted;
|
|
13622
13713
|
let dispose;
|
|
13623
|
-
let if_block0 = /*
|
|
13624
|
-
let if_block1 = /*
|
|
13625
|
-
let if_block2 = /*
|
|
13714
|
+
let if_block0 = /*isMobile*/ ctx[18] && create_if_block_18(ctx);
|
|
13715
|
+
let if_block1 = /*showsuccessnotification*/ ctx[1] && create_if_block_17(ctx);
|
|
13716
|
+
let if_block2 = /*showdeletenotification*/ ctx[2] && create_if_block_14(ctx);
|
|
13717
|
+
let if_block3 = /*showLimits*/ ctx[6] && create_if_block(ctx);
|
|
13626
13718
|
|
|
13627
13719
|
const block = {
|
|
13628
13720
|
c: function create() {
|
|
13629
13721
|
div4 = element("div");
|
|
13722
|
+
if (if_block0) if_block0.c();
|
|
13723
|
+
t0 = space();
|
|
13630
13724
|
div0 = element("div");
|
|
13631
13725
|
svg = svg_element("svg");
|
|
13632
|
-
|
|
13726
|
+
defs = svg_element("defs");
|
|
13727
|
+
style = svg_element("style");
|
|
13728
|
+
t1 = text(".aaa{fill:#d0046c;}");
|
|
13729
|
+
g1 = svg_element("g");
|
|
13730
|
+
g0 = svg_element("g");
|
|
13633
13731
|
path = svg_element("path");
|
|
13634
|
-
t0 = space();
|
|
13635
|
-
span0 = element("span");
|
|
13636
|
-
t1 = text(t1_value);
|
|
13637
13732
|
t2 = space();
|
|
13638
|
-
|
|
13639
|
-
h6 = element("h6");
|
|
13733
|
+
h2 = element("h2");
|
|
13640
13734
|
t3 = text(t3_value);
|
|
13641
13735
|
t4 = space();
|
|
13642
|
-
|
|
13643
|
-
|
|
13644
|
-
|
|
13736
|
+
div2 = element("div");
|
|
13737
|
+
h6 = element("h6");
|
|
13738
|
+
t5 = text(t5_value);
|
|
13645
13739
|
t6 = space();
|
|
13646
|
-
|
|
13647
|
-
|
|
13648
|
-
|
|
13740
|
+
div1 = element("div");
|
|
13741
|
+
span = element("span");
|
|
13742
|
+
span.textContent = "i";
|
|
13649
13743
|
t8 = space();
|
|
13650
|
-
|
|
13744
|
+
player_account_gaming_limits_popup = element("player-account-gaming-limits-popup");
|
|
13651
13745
|
t9 = space();
|
|
13652
|
-
if (
|
|
13746
|
+
if (if_block1) if_block1.c();
|
|
13653
13747
|
t10 = space();
|
|
13748
|
+
if (if_block2) if_block2.c();
|
|
13749
|
+
t11 = space();
|
|
13750
|
+
if (if_block3) if_block3.c();
|
|
13751
|
+
t12 = space();
|
|
13654
13752
|
div3 = element("div");
|
|
13655
13753
|
button = element("button");
|
|
13656
|
-
|
|
13657
|
-
|
|
13754
|
+
t13 = text(t13_value);
|
|
13755
|
+
t14 = space();
|
|
13658
13756
|
player_account_modal = element("player-account-modal");
|
|
13659
13757
|
player_account_gaming_limits_confirmation_modal = element("player-account-gaming-limits-confirmation-modal");
|
|
13660
13758
|
this.c = noop$1;
|
|
13661
|
-
|
|
13662
|
-
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
attr_dev(
|
|
13666
|
-
|
|
13759
|
+
add_location(style, file, 429, 93, 17971);
|
|
13760
|
+
add_location(defs, file, 429, 87, 17965);
|
|
13761
|
+
attr_dev(path, "class", "aaa");
|
|
13762
|
+
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");
|
|
13763
|
+
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
13764
|
+
add_location(path, file, 431, 8, 18096);
|
|
13765
|
+
attr_dev(g0, "transform", "translate(20 158)");
|
|
13766
|
+
add_location(g0, file, 430, 6, 18054);
|
|
13767
|
+
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
13768
|
+
add_location(g1, file, 429, 134, 18012);
|
|
13667
13769
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
13668
|
-
attr_dev(svg, "
|
|
13669
|
-
attr_dev(svg, "
|
|
13670
|
-
attr_dev(svg, "
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
|
|
13674
|
-
attr_dev(svg, "width", "18px");
|
|
13675
|
-
attr_dev(svg, "fill", "#58586B");
|
|
13676
|
-
add_location(svg, file, 415, 4, 17313);
|
|
13677
|
-
add_location(span0, file, 423, 4, 17924);
|
|
13770
|
+
attr_dev(svg, "width", "15");
|
|
13771
|
+
attr_dev(svg, "height", "15");
|
|
13772
|
+
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
13773
|
+
add_location(svg, file, 429, 4, 17882);
|
|
13774
|
+
attr_dev(h2, "class", "ChangePasswordTitle " + (/*isMobile*/ ctx[18] ? "ChangePasswordTitleNone" : ""));
|
|
13775
|
+
add_location(h2, file, 434, 4, 18262);
|
|
13678
13776
|
attr_dev(div0, "class", "AccountEditBackButton");
|
|
13679
|
-
add_location(div0, file,
|
|
13680
|
-
add_location(h6, file,
|
|
13681
|
-
attr_dev(
|
|
13682
|
-
add_location(
|
|
13777
|
+
add_location(div0, file, 428, 2, 17807);
|
|
13778
|
+
add_location(h6, file, 440, 4, 18421);
|
|
13779
|
+
attr_dev(span, "class", "AccountEditLimitsIcon");
|
|
13780
|
+
add_location(span, file, 442, 6, 18513);
|
|
13683
13781
|
set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[5]);
|
|
13684
|
-
add_location(player_account_gaming_limits_popup, file,
|
|
13782
|
+
add_location(player_account_gaming_limits_popup, file, 443, 6, 18604);
|
|
13685
13783
|
attr_dev(div1, "class", "AccountEditLimitsIconWrapper");
|
|
13686
|
-
add_location(div1, file,
|
|
13784
|
+
add_location(div1, file, 441, 4, 18464);
|
|
13687
13785
|
attr_dev(div2, "class", "AccountEditLimitsHeader");
|
|
13688
|
-
add_location(div2, file,
|
|
13786
|
+
add_location(div2, file, 439, 2, 18379);
|
|
13689
13787
|
|
|
13690
13788
|
attr_dev(button, "class", button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[14]
|
|
13691
13789
|
? ""
|
|
13692
13790
|
: "AccountEditLimitsButtonDisabled"));
|
|
13693
13791
|
|
|
13694
13792
|
button.disabled = button_disabled_value = !/*hasDifferences*/ ctx[14];
|
|
13695
|
-
add_location(button, file,
|
|
13793
|
+
add_location(button, file, 549, 4, 25370);
|
|
13696
13794
|
attr_dev(div3, "class", "AccountEditLimitsControlArea");
|
|
13697
|
-
add_location(div3, file,
|
|
13795
|
+
add_location(div3, file, 548, 2, 25323);
|
|
13698
13796
|
|
|
13699
13797
|
attr_dev(div4, "class", "AccountEditLimitsWrapper " + (/*isMobile*/ ctx[18]
|
|
13700
13798
|
? "AccountEditLimitsMobileWrapper"
|
|
13701
13799
|
: ""));
|
|
13702
13800
|
|
|
13703
|
-
add_location(div4, file, 413, 0,
|
|
13801
|
+
add_location(div4, file, 413, 0, 17144);
|
|
13704
13802
|
set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[9]);
|
|
13705
13803
|
set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modalsource", "groupEdit");
|
|
13706
|
-
add_location(player_account_gaming_limits_confirmation_modal, file,
|
|
13707
|
-
add_location(player_account_modal, file,
|
|
13804
|
+
add_location(player_account_gaming_limits_confirmation_modal, file, 554, 2, 25618);
|
|
13805
|
+
add_location(player_account_modal, file, 553, 0, 25593);
|
|
13708
13806
|
},
|
|
13709
13807
|
l: function claim(nodes) {
|
|
13710
13808
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
13711
13809
|
},
|
|
13712
13810
|
m: function mount(target, anchor) {
|
|
13713
13811
|
insert_dev(target, div4, anchor);
|
|
13812
|
+
if (if_block0) if_block0.m(div4, null);
|
|
13813
|
+
append_dev(div4, t0);
|
|
13714
13814
|
append_dev(div4, div0);
|
|
13715
13815
|
append_dev(div0, svg);
|
|
13716
|
-
append_dev(svg,
|
|
13717
|
-
append_dev(
|
|
13718
|
-
append_dev(
|
|
13719
|
-
append_dev(
|
|
13720
|
-
append_dev(
|
|
13721
|
-
append_dev(
|
|
13816
|
+
append_dev(svg, defs);
|
|
13817
|
+
append_dev(defs, style);
|
|
13818
|
+
append_dev(style, t1);
|
|
13819
|
+
append_dev(svg, g1);
|
|
13820
|
+
append_dev(g1, g0);
|
|
13821
|
+
append_dev(g0, path);
|
|
13822
|
+
append_dev(div0, t2);
|
|
13823
|
+
append_dev(div0, h2);
|
|
13824
|
+
append_dev(h2, t3);
|
|
13825
|
+
append_dev(div4, t4);
|
|
13722
13826
|
append_dev(div4, div2);
|
|
13723
13827
|
append_dev(div2, h6);
|
|
13724
|
-
append_dev(h6,
|
|
13725
|
-
append_dev(div2,
|
|
13828
|
+
append_dev(h6, t5);
|
|
13829
|
+
append_dev(div2, t6);
|
|
13726
13830
|
append_dev(div2, div1);
|
|
13727
|
-
append_dev(div1,
|
|
13728
|
-
append_dev(div1,
|
|
13831
|
+
append_dev(div1, span);
|
|
13832
|
+
append_dev(div1, t8);
|
|
13729
13833
|
append_dev(div1, player_account_gaming_limits_popup);
|
|
13730
|
-
append_dev(div4, t7);
|
|
13731
|
-
if (if_block0) if_block0.m(div4, null);
|
|
13732
|
-
append_dev(div4, t8);
|
|
13733
|
-
if (if_block1) if_block1.m(div4, null);
|
|
13734
13834
|
append_dev(div4, t9);
|
|
13735
|
-
if (
|
|
13835
|
+
if (if_block1) if_block1.m(div4, null);
|
|
13736
13836
|
append_dev(div4, t10);
|
|
13837
|
+
if (if_block2) if_block2.m(div4, null);
|
|
13838
|
+
append_dev(div4, t11);
|
|
13839
|
+
if (if_block3) if_block3.m(div4, null);
|
|
13840
|
+
append_dev(div4, t12);
|
|
13737
13841
|
append_dev(div4, div3);
|
|
13738
13842
|
append_dev(div3, button);
|
|
13739
|
-
append_dev(button,
|
|
13740
|
-
insert_dev(target,
|
|
13843
|
+
append_dev(button, t13);
|
|
13844
|
+
insert_dev(target, t14, anchor);
|
|
13741
13845
|
insert_dev(target, player_account_modal, anchor);
|
|
13742
13846
|
append_dev(player_account_modal, player_account_gaming_limits_confirmation_modal);
|
|
13743
13847
|
|
|
13744
13848
|
if (!mounted) {
|
|
13745
13849
|
dispose = [
|
|
13746
13850
|
listen_dev(div0, "click", /*switchToLimitsGroupView*/ ctx[23], false, false, false),
|
|
13747
|
-
listen_dev(
|
|
13851
|
+
listen_dev(span, "click", prevent_default(/*openInfoPopup*/ ctx[22]), false, true, false),
|
|
13748
13852
|
listen_dev(button, "click", /*click_handler*/ ctx[32], false, false, false)
|
|
13749
13853
|
];
|
|
13750
13854
|
|
|
@@ -13752,53 +13856,54 @@
|
|
|
13752
13856
|
}
|
|
13753
13857
|
},
|
|
13754
13858
|
p: function update(ctx, dirty) {
|
|
13755
|
-
if (
|
|
13756
|
-
if (dirty[0] &
|
|
13859
|
+
if (/*isMobile*/ ctx[18]) if_block0.p(ctx, dirty);
|
|
13860
|
+
if (dirty[0] & /*$_*/ 131072 && t3_value !== (t3_value = /*$_*/ ctx[17]("editText.back") + "")) set_data_dev(t3, t3_value);
|
|
13861
|
+
if (dirty[0] & /*limitsdata, limitname*/ 9 && t5_value !== (t5_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[3] : "") + "")) set_data_dev(t5, t5_value);
|
|
13757
13862
|
|
|
13758
13863
|
if (dirty[0] & /*showPopup*/ 32) {
|
|
13759
13864
|
set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[5]);
|
|
13760
13865
|
}
|
|
13761
13866
|
|
|
13762
13867
|
if (/*showsuccessnotification*/ ctx[1]) {
|
|
13763
|
-
if (if_block0) {
|
|
13764
|
-
if_block0.p(ctx, dirty);
|
|
13765
|
-
} else {
|
|
13766
|
-
if_block0 = create_if_block_17(ctx);
|
|
13767
|
-
if_block0.c();
|
|
13768
|
-
if_block0.m(div4, t8);
|
|
13769
|
-
}
|
|
13770
|
-
} else if (if_block0) {
|
|
13771
|
-
if_block0.d(1);
|
|
13772
|
-
if_block0 = null;
|
|
13773
|
-
}
|
|
13774
|
-
|
|
13775
|
-
if (/*showdeletenotification*/ ctx[2]) {
|
|
13776
13868
|
if (if_block1) {
|
|
13777
13869
|
if_block1.p(ctx, dirty);
|
|
13778
13870
|
} else {
|
|
13779
|
-
if_block1 =
|
|
13871
|
+
if_block1 = create_if_block_17(ctx);
|
|
13780
13872
|
if_block1.c();
|
|
13781
|
-
if_block1.m(div4,
|
|
13873
|
+
if_block1.m(div4, t10);
|
|
13782
13874
|
}
|
|
13783
13875
|
} else if (if_block1) {
|
|
13784
13876
|
if_block1.d(1);
|
|
13785
13877
|
if_block1 = null;
|
|
13786
13878
|
}
|
|
13787
13879
|
|
|
13788
|
-
if (/*
|
|
13880
|
+
if (/*showdeletenotification*/ ctx[2]) {
|
|
13789
13881
|
if (if_block2) {
|
|
13790
13882
|
if_block2.p(ctx, dirty);
|
|
13791
13883
|
} else {
|
|
13792
|
-
if_block2 =
|
|
13884
|
+
if_block2 = create_if_block_14(ctx);
|
|
13793
13885
|
if_block2.c();
|
|
13794
|
-
if_block2.m(div4,
|
|
13886
|
+
if_block2.m(div4, t11);
|
|
13795
13887
|
}
|
|
13796
13888
|
} else if (if_block2) {
|
|
13797
13889
|
if_block2.d(1);
|
|
13798
13890
|
if_block2 = null;
|
|
13799
13891
|
}
|
|
13800
13892
|
|
|
13801
|
-
if (
|
|
13893
|
+
if (/*showLimits*/ ctx[6]) {
|
|
13894
|
+
if (if_block3) {
|
|
13895
|
+
if_block3.p(ctx, dirty);
|
|
13896
|
+
} else {
|
|
13897
|
+
if_block3 = create_if_block(ctx);
|
|
13898
|
+
if_block3.c();
|
|
13899
|
+
if_block3.m(div4, t12);
|
|
13900
|
+
}
|
|
13901
|
+
} else if (if_block3) {
|
|
13902
|
+
if_block3.d(1);
|
|
13903
|
+
if_block3 = null;
|
|
13904
|
+
}
|
|
13905
|
+
|
|
13906
|
+
if (dirty[0] & /*$_*/ 131072 && t13_value !== (t13_value = /*$_*/ ctx[17]("editText.save") + "")) set_data_dev(t13, t13_value);
|
|
13802
13907
|
|
|
13803
13908
|
if (dirty[0] & /*hasDifferences*/ 16384 && button_class_value !== (button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[14]
|
|
13804
13909
|
? ""
|
|
@@ -13821,7 +13926,8 @@
|
|
|
13821
13926
|
if (if_block0) if_block0.d();
|
|
13822
13927
|
if (if_block1) if_block1.d();
|
|
13823
13928
|
if (if_block2) if_block2.d();
|
|
13824
|
-
if (
|
|
13929
|
+
if (if_block3) if_block3.d();
|
|
13930
|
+
if (detaching) detach_dev(t14);
|
|
13825
13931
|
if (detaching) detach_dev(player_account_modal);
|
|
13826
13932
|
mounted = false;
|
|
13827
13933
|
run_all(dispose);
|
|
@@ -14278,7 +14384,7 @@
|
|
|
14278
14384
|
setLimitModalTexts();
|
|
14279
14385
|
$$invalidate(10, isArray = Array.isArray(limitsdata));
|
|
14280
14386
|
|
|
14281
|
-
// used for validation
|
|
14387
|
+
// used for validation
|
|
14282
14388
|
$$invalidate(15, updatedLimitValues = JSON.parse(JSON.stringify(limitsdata)));
|
|
14283
14389
|
|
|
14284
14390
|
// use limitsUpdateData in order to populate select & input fields
|
|
@@ -14526,7 +14632,7 @@
|
|
|
14526
14632
|
class PlayerAccountGamingLimitsGroupEdit extends SvelteElement {
|
|
14527
14633
|
constructor(options) {
|
|
14528
14634
|
super();
|
|
14529
|
-
this.shadowRoot.innerHTML = `<style>.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditBackButton{display:inline-block;color:#D0046C;font-size:26px;font-weight:300;cursor:pointer;margin-bottom:30px}.AccountEditBackButton svg{fill:#D0046C}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:#D0046C}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid #D0046C;align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:#5E5E30;background:transparent;border:1px solid #5E5E30;align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:#F2F9F2;border:1px solid #C5DFC5;font-size:16px;font-weight:300;color:#07072A;border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:#07072A;margin:0;padding-top:10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:#000}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{
|
|
14635
|
+
this.shadowRoot.innerHTML = `<style>.ChangePasswordTitle{font-size:26px;color:#D0046C;font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:#D0046C}.ChangePasswordTitleNone{display:none}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditBackButton{display:inline-block;color:#D0046C;font-size:26px;font-weight:300;cursor:pointer;margin-bottom:30px}.AccountEditBackButton svg{fill:#D0046C}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:#D0046C}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:#D0046C}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid #D0046C;align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:#5E5E30;background:transparent;border:1px solid #5E5E30;align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:#F2F9F2;border:1px solid #C5DFC5;font-size:16px;font-weight:300;color:#07072A;border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:#07072A;margin:0;padding-top:10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:#000}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;background:#FFF;border:1px solid #D1D1D1;border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.AccountEditLimitsPeriodChangeContainer{background:#FFFFF8;border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:#5E5E30;font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:#000;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:#D0046C;border:1px solid #D0046C;color:#fff}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:#D0046C;cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:#D0046C;font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative}</style>`;
|
|
14530
14636
|
|
|
14531
14637
|
init(
|
|
14532
14638
|
this,
|