@everymatrix/player-account-controller 0.0.146 → 0.0.150
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.
|
@@ -4864,7 +4864,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
4864
4864
|
class GeneralLogout extends SvelteElement {
|
|
4865
4865
|
constructor(options) {
|
|
4866
4866
|
super();
|
|
4867
|
-
this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox svg{fill:#fff}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:#
|
|
4867
|
+
this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox svg{fill:#fff}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:#fff}</style>`;
|
|
4868
4868
|
|
|
4869
4869
|
init(
|
|
4870
4870
|
this,
|
|
@@ -5174,7 +5174,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5174
5174
|
const block = {
|
|
5175
5175
|
c: function create() {
|
|
5176
5176
|
img = element("img");
|
|
5177
|
-
|
|
5177
|
+
|
|
5178
|
+
attr_dev(img, "class", "PlayerAccountMenuItemIcon " + (/*isMobile*/ ctx[6]
|
|
5179
|
+
? "PlayerAccountMenuItemIconMobile"
|
|
5180
|
+
: ""));
|
|
5181
|
+
|
|
5178
5182
|
if (img.src !== (img_src_value = /*menuItem*/ ctx[18].menu_item_icon)) attr_dev(img, "src", img_src_value);
|
|
5179
5183
|
add_location(img, file$c, 96, 14, 3734);
|
|
5180
5184
|
},
|
|
@@ -5278,7 +5282,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5278
5282
|
t1 = text(t1_value);
|
|
5279
5283
|
t2 = space();
|
|
5280
5284
|
attr_dev(span, "class", "PlayerAccountMenuItemTitle");
|
|
5281
|
-
add_location(span, file$c, 98, 12,
|
|
5285
|
+
add_location(span, file$c, 98, 12, 3888);
|
|
5282
5286
|
attr_dev(p, "class", "PlayerAccountMenuItemWrapper");
|
|
5283
5287
|
add_location(p, file$c, 92, 10, 3410);
|
|
5284
5288
|
|
|
@@ -5356,9 +5360,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5356
5360
|
set_custom_element_data(general_logout, "endpoint", /*endpoint*/ ctx[1]);
|
|
5357
5361
|
set_custom_element_data(general_logout, "session", /*session*/ ctx[0]);
|
|
5358
5362
|
set_custom_element_data(general_logout, "buttonlocation", "PlayerAccountMenu");
|
|
5359
|
-
add_location(general_logout, file$c, 105, 8,
|
|
5363
|
+
add_location(general_logout, file$c, 105, 8, 4080);
|
|
5360
5364
|
attr_dev(div, "class", "PlayerAccountLogOutArea");
|
|
5361
|
-
add_location(div, file$c, 104, 6,
|
|
5365
|
+
add_location(div, file$c, 104, 6, 4034);
|
|
5362
5366
|
},
|
|
5363
5367
|
m: function mount(target, anchor) {
|
|
5364
5368
|
insert_dev(target, div, anchor);
|
|
@@ -5611,7 +5615,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
5611
5615
|
class PlayerAccountMenu extends SvelteElement {
|
|
5612
5616
|
constructor(options) {
|
|
5613
5617
|
super();
|
|
5614
|
-
this.shadowRoot.innerHTML = `<style>.PlayerAccountMenuContainer{color:#fff;position:relative;height:100vh;display:flex;flex-direction:column}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:
|
|
5618
|
+
this.shadowRoot.innerHTML = `<style>.PlayerAccountMenuContainer{color:#fff;position:relative;height:100vh;display:flex;flex-direction:column}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:#FFF;flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid #FFFFFF4A}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:unset;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:40px;padding-top:15px}.PlayerAccountMenuList{flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c9c9c9 #58586B}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:#58586B}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:#c9c9c9}.PlayerAccountLogOutArea{background:#58586B;color:#fff;width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:#07072A;border-bottom:1px solid #07072A}.PlayerAccountMobileContainer{height:unset;color:#07072A}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin-top:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:18px}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid #2F313E;border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:#D0046C;border-bottom:1px solid #D0046C}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:40px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:10px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:14px;padding:0 5px 15px 5px;font-weight:600;word-break:break-word;text-align:center;color:#FFF}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}</style>`;
|
|
5615
5619
|
|
|
5616
5620
|
init(
|
|
5617
5621
|
this,
|
|
@@ -6072,125 +6076,128 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6072
6076
|
function create_else_block$6(ctx) {
|
|
6073
6077
|
let form;
|
|
6074
6078
|
let t0;
|
|
6079
|
+
let h2;
|
|
6080
|
+
let t1;
|
|
6081
|
+
let t2;
|
|
6075
6082
|
let div0;
|
|
6076
6083
|
let h30;
|
|
6077
|
-
let
|
|
6084
|
+
let t4;
|
|
6078
6085
|
let section0;
|
|
6079
6086
|
let div1;
|
|
6080
6087
|
let label0;
|
|
6081
|
-
let
|
|
6088
|
+
let t6;
|
|
6082
6089
|
let input0;
|
|
6083
|
-
let
|
|
6090
|
+
let t7;
|
|
6084
6091
|
let div3;
|
|
6085
6092
|
let label1;
|
|
6086
|
-
let
|
|
6093
|
+
let t9;
|
|
6087
6094
|
let div2;
|
|
6088
6095
|
let select;
|
|
6089
|
-
let
|
|
6096
|
+
let t10;
|
|
6090
6097
|
let input1;
|
|
6091
6098
|
let input1_placeholder_value;
|
|
6092
|
-
let
|
|
6099
|
+
let t11;
|
|
6093
6100
|
let div4;
|
|
6094
6101
|
let label2;
|
|
6095
|
-
let
|
|
6102
|
+
let t13;
|
|
6096
6103
|
let input2;
|
|
6097
|
-
let
|
|
6104
|
+
let t14;
|
|
6098
6105
|
let div5;
|
|
6099
6106
|
let label3;
|
|
6100
|
-
let
|
|
6107
|
+
let t16;
|
|
6101
6108
|
let input3;
|
|
6102
6109
|
let input3_placeholder_value;
|
|
6103
|
-
let
|
|
6110
|
+
let t17;
|
|
6104
6111
|
let div6;
|
|
6105
6112
|
let label4;
|
|
6106
|
-
let
|
|
6113
|
+
let t19;
|
|
6107
6114
|
let input4;
|
|
6108
|
-
let
|
|
6115
|
+
let t20;
|
|
6109
6116
|
let div7;
|
|
6110
6117
|
let label5;
|
|
6111
|
-
let
|
|
6118
|
+
let t22;
|
|
6112
6119
|
let input5;
|
|
6113
6120
|
let input5_placeholder_value;
|
|
6114
|
-
let
|
|
6121
|
+
let t23;
|
|
6115
6122
|
let div8;
|
|
6116
6123
|
let label6;
|
|
6117
|
-
let
|
|
6124
|
+
let t25;
|
|
6118
6125
|
let input6;
|
|
6119
|
-
let
|
|
6126
|
+
let t26;
|
|
6120
6127
|
let div9;
|
|
6121
6128
|
let label7;
|
|
6122
|
-
let
|
|
6129
|
+
let t28;
|
|
6123
6130
|
let input7;
|
|
6124
|
-
let
|
|
6131
|
+
let t29;
|
|
6125
6132
|
let div10;
|
|
6126
6133
|
let label8;
|
|
6127
|
-
let
|
|
6134
|
+
let t31;
|
|
6128
6135
|
let input8;
|
|
6129
|
-
let
|
|
6136
|
+
let t32;
|
|
6130
6137
|
let div11;
|
|
6131
6138
|
let label9;
|
|
6132
|
-
let
|
|
6139
|
+
let t34;
|
|
6133
6140
|
let input9;
|
|
6134
|
-
let
|
|
6141
|
+
let t35;
|
|
6135
6142
|
let div12;
|
|
6136
6143
|
let h31;
|
|
6137
|
-
let
|
|
6144
|
+
let t37;
|
|
6138
6145
|
let section1;
|
|
6139
6146
|
let div13;
|
|
6140
6147
|
let label10;
|
|
6141
|
-
let
|
|
6148
|
+
let t39;
|
|
6142
6149
|
let input10;
|
|
6143
6150
|
let input10_value_value;
|
|
6144
|
-
let
|
|
6151
|
+
let t40;
|
|
6145
6152
|
let div14;
|
|
6146
6153
|
let label11;
|
|
6147
|
-
let
|
|
6154
|
+
let t42;
|
|
6148
6155
|
let input11;
|
|
6149
6156
|
let input11_placeholder_value;
|
|
6150
6157
|
let input11_value_value;
|
|
6151
|
-
let
|
|
6158
|
+
let t43;
|
|
6152
6159
|
let div15;
|
|
6153
6160
|
let label12;
|
|
6154
|
-
let
|
|
6161
|
+
let t45;
|
|
6155
6162
|
let input12;
|
|
6156
6163
|
let input12_value_value;
|
|
6157
|
-
let
|
|
6164
|
+
let t46;
|
|
6158
6165
|
let div16;
|
|
6159
6166
|
let label13;
|
|
6160
|
-
let
|
|
6167
|
+
let t48;
|
|
6161
6168
|
let input13;
|
|
6162
6169
|
let input13_placeholder_value;
|
|
6163
6170
|
let input13_value_value;
|
|
6164
|
-
let
|
|
6171
|
+
let t49;
|
|
6165
6172
|
let div17;
|
|
6166
6173
|
let h32;
|
|
6167
|
-
let
|
|
6174
|
+
let t51;
|
|
6168
6175
|
let section2;
|
|
6169
6176
|
let div18;
|
|
6170
6177
|
let label14;
|
|
6171
6178
|
let input14;
|
|
6172
|
-
let
|
|
6179
|
+
let t52;
|
|
6173
6180
|
let span0;
|
|
6174
|
-
let t51;
|
|
6175
|
-
let span1;
|
|
6176
6181
|
let t53;
|
|
6182
|
+
let span1;
|
|
6183
|
+
let t55;
|
|
6177
6184
|
let div19;
|
|
6178
6185
|
let label15;
|
|
6179
6186
|
let input15;
|
|
6180
|
-
let
|
|
6187
|
+
let t56;
|
|
6181
6188
|
let span2;
|
|
6182
|
-
let t55;
|
|
6183
|
-
let span3;
|
|
6184
6189
|
let t57;
|
|
6190
|
+
let span3;
|
|
6191
|
+
let t59;
|
|
6185
6192
|
let section3;
|
|
6186
6193
|
let div20;
|
|
6187
|
-
let
|
|
6194
|
+
let t60;
|
|
6188
6195
|
let div20_class_value;
|
|
6189
|
-
let
|
|
6196
|
+
let t61;
|
|
6190
6197
|
let div21;
|
|
6191
|
-
let
|
|
6198
|
+
let t62;
|
|
6192
6199
|
let div21_class_value;
|
|
6193
|
-
let
|
|
6200
|
+
let t63;
|
|
6194
6201
|
let mounted;
|
|
6195
6202
|
let dispose;
|
|
6196
6203
|
let if_block0 = /*isMobile*/ ctx[24] && create_if_block_3$5(ctx);
|
|
@@ -6209,21 +6216,24 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6209
6216
|
form = element("form");
|
|
6210
6217
|
if (if_block0) if_block0.c();
|
|
6211
6218
|
t0 = space();
|
|
6219
|
+
h2 = element("h2");
|
|
6220
|
+
t1 = text("Profile Info");
|
|
6221
|
+
t2 = space();
|
|
6212
6222
|
div0 = element("div");
|
|
6213
6223
|
h30 = element("h3");
|
|
6214
6224
|
h30.textContent = "Personal Details";
|
|
6215
|
-
|
|
6225
|
+
t4 = space();
|
|
6216
6226
|
section0 = element("section");
|
|
6217
6227
|
div1 = element("div");
|
|
6218
6228
|
label0 = element("label");
|
|
6219
6229
|
label0.textContent = "User name:";
|
|
6220
|
-
|
|
6230
|
+
t6 = space();
|
|
6221
6231
|
input0 = element("input");
|
|
6222
|
-
|
|
6232
|
+
t7 = space();
|
|
6223
6233
|
div3 = element("div");
|
|
6224
6234
|
label1 = element("label");
|
|
6225
6235
|
label1.textContent = "Phone:";
|
|
6226
|
-
|
|
6236
|
+
t9 = space();
|
|
6227
6237
|
div2 = element("div");
|
|
6228
6238
|
select = element("select");
|
|
6229
6239
|
|
|
@@ -6231,222 +6241,224 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6231
6241
|
each_blocks[i].c();
|
|
6232
6242
|
}
|
|
6233
6243
|
|
|
6234
|
-
|
|
6244
|
+
t10 = space();
|
|
6235
6245
|
input1 = element("input");
|
|
6236
|
-
|
|
6246
|
+
t11 = space();
|
|
6237
6247
|
div4 = element("div");
|
|
6238
6248
|
label2 = element("label");
|
|
6239
6249
|
label2.textContent = "Email:";
|
|
6240
|
-
|
|
6250
|
+
t13 = space();
|
|
6241
6251
|
input2 = element("input");
|
|
6242
|
-
|
|
6252
|
+
t14 = space();
|
|
6243
6253
|
div5 = element("div");
|
|
6244
6254
|
label3 = element("label");
|
|
6245
6255
|
label3.textContent = "Security Question:";
|
|
6246
|
-
|
|
6256
|
+
t16 = space();
|
|
6247
6257
|
input3 = element("input");
|
|
6248
|
-
|
|
6258
|
+
t17 = space();
|
|
6249
6259
|
div6 = element("div");
|
|
6250
6260
|
label4 = element("label");
|
|
6251
6261
|
label4.textContent = "First name:";
|
|
6252
|
-
|
|
6262
|
+
t19 = space();
|
|
6253
6263
|
input4 = element("input");
|
|
6254
|
-
|
|
6264
|
+
t20 = space();
|
|
6255
6265
|
div7 = element("div");
|
|
6256
6266
|
label5 = element("label");
|
|
6257
6267
|
label5.textContent = "Security Answer:";
|
|
6258
|
-
|
|
6268
|
+
t22 = space();
|
|
6259
6269
|
input5 = element("input");
|
|
6260
|
-
|
|
6270
|
+
t23 = space();
|
|
6261
6271
|
div8 = element("div");
|
|
6262
6272
|
label6 = element("label");
|
|
6263
6273
|
label6.textContent = "Last Name:";
|
|
6264
|
-
|
|
6274
|
+
t25 = space();
|
|
6265
6275
|
input6 = element("input");
|
|
6266
|
-
|
|
6276
|
+
t26 = space();
|
|
6267
6277
|
div9 = element("div");
|
|
6268
6278
|
label7 = element("label");
|
|
6269
6279
|
label7.textContent = "Date of birth:";
|
|
6270
|
-
|
|
6280
|
+
t28 = space();
|
|
6271
6281
|
input7 = element("input");
|
|
6272
|
-
|
|
6282
|
+
t29 = space();
|
|
6273
6283
|
div10 = element("div");
|
|
6274
6284
|
label8 = element("label");
|
|
6275
6285
|
label8.textContent = "Currency:";
|
|
6276
|
-
|
|
6286
|
+
t31 = space();
|
|
6277
6287
|
input8 = element("input");
|
|
6278
|
-
|
|
6288
|
+
t32 = space();
|
|
6279
6289
|
div11 = element("div");
|
|
6280
6290
|
label9 = element("label");
|
|
6281
6291
|
label9.textContent = "Gender:";
|
|
6282
|
-
|
|
6292
|
+
t34 = space();
|
|
6283
6293
|
input9 = element("input");
|
|
6284
|
-
|
|
6294
|
+
t35 = space();
|
|
6285
6295
|
div12 = element("div");
|
|
6286
6296
|
h31 = element("h3");
|
|
6287
6297
|
h31.textContent = "Location Details";
|
|
6288
|
-
|
|
6298
|
+
t37 = space();
|
|
6289
6299
|
section1 = element("section");
|
|
6290
6300
|
div13 = element("div");
|
|
6291
6301
|
label10 = element("label");
|
|
6292
6302
|
label10.textContent = "Country:";
|
|
6293
|
-
|
|
6303
|
+
t39 = space();
|
|
6294
6304
|
input10 = element("input");
|
|
6295
|
-
|
|
6305
|
+
t40 = space();
|
|
6296
6306
|
div14 = element("div");
|
|
6297
6307
|
label11 = element("label");
|
|
6298
6308
|
label11.textContent = "City:";
|
|
6299
|
-
|
|
6309
|
+
t42 = space();
|
|
6300
6310
|
input11 = element("input");
|
|
6301
|
-
|
|
6311
|
+
t43 = space();
|
|
6302
6312
|
div15 = element("div");
|
|
6303
6313
|
label12 = element("label");
|
|
6304
6314
|
label12.textContent = "Address:";
|
|
6305
|
-
|
|
6315
|
+
t45 = space();
|
|
6306
6316
|
input12 = element("input");
|
|
6307
|
-
|
|
6317
|
+
t46 = space();
|
|
6308
6318
|
div16 = element("div");
|
|
6309
6319
|
label13 = element("label");
|
|
6310
6320
|
label13.textContent = "Postal Code:";
|
|
6311
|
-
|
|
6321
|
+
t48 = space();
|
|
6312
6322
|
input13 = element("input");
|
|
6313
|
-
|
|
6323
|
+
t49 = space();
|
|
6314
6324
|
div17 = element("div");
|
|
6315
6325
|
h32 = element("h3");
|
|
6316
6326
|
h32.textContent = "Notifications";
|
|
6317
|
-
|
|
6327
|
+
t51 = space();
|
|
6318
6328
|
section2 = element("section");
|
|
6319
6329
|
div18 = element("div");
|
|
6320
6330
|
label14 = element("label");
|
|
6321
6331
|
input14 = element("input");
|
|
6322
|
-
|
|
6332
|
+
t52 = space();
|
|
6323
6333
|
span0 = element("span");
|
|
6324
|
-
|
|
6334
|
+
t53 = space();
|
|
6325
6335
|
span1 = element("span");
|
|
6326
6336
|
span1.textContent = "Enable SMS notifications";
|
|
6327
|
-
|
|
6337
|
+
t55 = space();
|
|
6328
6338
|
div19 = element("div");
|
|
6329
6339
|
label15 = element("label");
|
|
6330
6340
|
input15 = element("input");
|
|
6331
|
-
|
|
6341
|
+
t56 = space();
|
|
6332
6342
|
span2 = element("span");
|
|
6333
|
-
|
|
6343
|
+
t57 = space();
|
|
6334
6344
|
span3 = element("span");
|
|
6335
6345
|
span3.textContent = "Enable Emails";
|
|
6336
|
-
|
|
6346
|
+
t59 = space();
|
|
6337
6347
|
section3 = element("section");
|
|
6338
6348
|
div20 = element("div");
|
|
6339
|
-
|
|
6340
|
-
t59 = space();
|
|
6341
|
-
div21 = element("div");
|
|
6342
|
-
t60 = text("Cancel");
|
|
6349
|
+
t60 = text("Save Changes");
|
|
6343
6350
|
t61 = space();
|
|
6351
|
+
div21 = element("div");
|
|
6352
|
+
t62 = text("Cancel");
|
|
6353
|
+
t63 = space();
|
|
6344
6354
|
if (if_block1) if_block1.c();
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
add_location(
|
|
6348
|
-
|
|
6355
|
+
attr_dev(h2, "class", "ProfileInfoTitle " + (/*isMobile*/ ctx[24] ? "ProfileInfoTitleNone" : ""));
|
|
6356
|
+
add_location(h2, file$a, 11313, 2, 328164);
|
|
6357
|
+
add_location(h30, file$a, 11316, 4, 328299);
|
|
6358
|
+
attr_dev(div0, "class", "PlayerNotificationsHeader");
|
|
6359
|
+
add_location(div0, file$a, 11315, 2, 328255);
|
|
6360
|
+
add_location(label0, file$a, 11320, 6, 328413);
|
|
6349
6361
|
attr_dev(input0, "type", "text");
|
|
6350
6362
|
attr_dev(input0, "class", "FieldDisabled");
|
|
6351
6363
|
input0.value = /*username*/ ctx[22];
|
|
6352
6364
|
input0.readOnly = true;
|
|
6353
|
-
add_location(input0, file$a,
|
|
6365
|
+
add_location(input0, file$a, 11321, 6, 328445);
|
|
6354
6366
|
attr_dev(div1, "class", "PlayerInfoBox");
|
|
6355
|
-
add_location(div1, file$a,
|
|
6356
|
-
add_location(label1, file$a,
|
|
6367
|
+
add_location(div1, file$a, 11319, 4, 328379);
|
|
6368
|
+
add_location(label1, file$a, 11324, 6, 328564);
|
|
6357
6369
|
if (/*playerPrefix*/ ctx[8] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[37].call(select));
|
|
6358
|
-
add_location(select, file$a,
|
|
6370
|
+
add_location(select, file$a, 11326, 8, 328632);
|
|
6359
6371
|
attr_dev(input1, "type", "text");
|
|
6360
6372
|
attr_dev(input1, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');");
|
|
6361
6373
|
attr_dev(input1, "placeholder", input1_placeholder_value = /*noPlayerData*/ ctx[0] ? /*mobile*/ ctx[17].number : "");
|
|
6362
|
-
add_location(input1, file$a,
|
|
6374
|
+
add_location(input1, file$a, 11335, 6, 329002);
|
|
6363
6375
|
attr_dev(div2, "class", "PlayerPhoneNumber");
|
|
6364
|
-
add_location(div2, file$a,
|
|
6376
|
+
add_location(div2, file$a, 11325, 6, 328592);
|
|
6365
6377
|
attr_dev(div3, "class", "PlayerInfoBox");
|
|
6366
|
-
add_location(div3, file$a,
|
|
6367
|
-
add_location(label2, file$a,
|
|
6378
|
+
add_location(div3, file$a, 11323, 4, 328530);
|
|
6379
|
+
add_location(label2, file$a, 11339, 6, 329311);
|
|
6368
6380
|
attr_dev(input2, "type", "email");
|
|
6369
6381
|
attr_dev(input2, "class", "FieldDisabled");
|
|
6370
6382
|
input2.value = /*email*/ ctx[18];
|
|
6371
6383
|
input2.readOnly = true;
|
|
6372
|
-
add_location(input2, file$a,
|
|
6384
|
+
add_location(input2, file$a, 11340, 6, 329339);
|
|
6373
6385
|
attr_dev(div4, "class", "PlayerInfoBox");
|
|
6374
|
-
add_location(div4, file$a,
|
|
6375
|
-
add_location(label3, file$a,
|
|
6386
|
+
add_location(div4, file$a, 11338, 4, 329277);
|
|
6387
|
+
add_location(label3, file$a, 11343, 6, 329456);
|
|
6376
6388
|
attr_dev(input3, "type", "text");
|
|
6377
6389
|
|
|
6378
6390
|
attr_dev(input3, "placeholder", input3_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
6379
6391
|
? /*securityQuestion*/ ctx[31]
|
|
6380
6392
|
: "");
|
|
6381
6393
|
|
|
6382
|
-
add_location(input3, file$a,
|
|
6394
|
+
add_location(input3, file$a, 11344, 6, 329496);
|
|
6383
6395
|
attr_dev(div5, "class", "PlayerInfoBox");
|
|
6384
|
-
add_location(div5, file$a,
|
|
6385
|
-
add_location(label4, file$a,
|
|
6396
|
+
add_location(div5, file$a, 11342, 4, 329422);
|
|
6397
|
+
add_location(label4, file$a, 11347, 6, 329681);
|
|
6386
6398
|
attr_dev(input4, "type", "text");
|
|
6387
6399
|
attr_dev(input4, "class", "FieldDisabled");
|
|
6388
6400
|
input4.value = /*firstname*/ ctx[19];
|
|
6389
6401
|
input4.readOnly = true;
|
|
6390
|
-
add_location(input4, file$a,
|
|
6402
|
+
add_location(input4, file$a, 11348, 6, 329714);
|
|
6391
6403
|
attr_dev(div6, "class", "PlayerInfoBox");
|
|
6392
|
-
add_location(div6, file$a,
|
|
6393
|
-
add_location(label5, file$a,
|
|
6404
|
+
add_location(div6, file$a, 11346, 4, 329647);
|
|
6405
|
+
add_location(label5, file$a, 11351, 6, 329834);
|
|
6394
6406
|
attr_dev(input5, "type", "text");
|
|
6395
6407
|
|
|
6396
6408
|
attr_dev(input5, "placeholder", input5_placeholder_value = /*noPlayerData*/ ctx[0]
|
|
6397
6409
|
? /*securityAnswer*/ ctx[30]
|
|
6398
6410
|
: "");
|
|
6399
6411
|
|
|
6400
|
-
add_location(input5, file$a,
|
|
6412
|
+
add_location(input5, file$a, 11352, 6, 329872);
|
|
6401
6413
|
attr_dev(div7, "class", "PlayerInfoBox");
|
|
6402
|
-
add_location(div7, file$a,
|
|
6403
|
-
add_location(label6, file$a,
|
|
6414
|
+
add_location(div7, file$a, 11350, 4, 329800);
|
|
6415
|
+
add_location(label6, file$a, 11355, 6, 330053);
|
|
6404
6416
|
attr_dev(input6, "type", "text");
|
|
6405
6417
|
attr_dev(input6, "class", "FieldDisabled");
|
|
6406
6418
|
input6.value = /*lastname*/ ctx[21];
|
|
6407
6419
|
input6.readOnly = true;
|
|
6408
|
-
add_location(input6, file$a,
|
|
6420
|
+
add_location(input6, file$a, 11356, 6, 330085);
|
|
6409
6421
|
attr_dev(div8, "class", "PlayerInfoBox");
|
|
6410
|
-
add_location(div8, file$a,
|
|
6411
|
-
add_location(label7, file$a,
|
|
6422
|
+
add_location(div8, file$a, 11354, 4, 330019);
|
|
6423
|
+
add_location(label7, file$a, 11359, 6, 330204);
|
|
6412
6424
|
attr_dev(input7, "type", "text");
|
|
6413
6425
|
attr_dev(input7, "class", "FieldDisabled");
|
|
6414
6426
|
input7.value = /*birth*/ ctx[14];
|
|
6415
6427
|
input7.readOnly = true;
|
|
6416
|
-
add_location(input7, file$a,
|
|
6428
|
+
add_location(input7, file$a, 11360, 4, 330238);
|
|
6417
6429
|
attr_dev(div9, "class", "PlayerInfoBox");
|
|
6418
|
-
add_location(div9, file$a,
|
|
6419
|
-
add_location(label8, file$a,
|
|
6430
|
+
add_location(div9, file$a, 11358, 4, 330170);
|
|
6431
|
+
add_location(label8, file$a, 11363, 6, 330354);
|
|
6420
6432
|
attr_dev(input8, "type", "text");
|
|
6421
6433
|
attr_dev(input8, "class", "FieldDisabled");
|
|
6422
6434
|
input8.value = /*currency*/ ctx[16];
|
|
6423
6435
|
input8.readOnly = true;
|
|
6424
|
-
add_location(input8, file$a,
|
|
6436
|
+
add_location(input8, file$a, 11364, 6, 330385);
|
|
6425
6437
|
attr_dev(div10, "class", "PlayerInfoBox");
|
|
6426
|
-
add_location(div10, file$a,
|
|
6427
|
-
add_location(label9, file$a,
|
|
6438
|
+
add_location(div10, file$a, 11362, 4, 330320);
|
|
6439
|
+
add_location(label9, file$a, 11367, 6, 330504);
|
|
6428
6440
|
attr_dev(input9, "type", "text");
|
|
6429
6441
|
attr_dev(input9, "class", "FieldDisabled");
|
|
6430
6442
|
input9.value = /*gender*/ ctx[20];
|
|
6431
6443
|
input9.readOnly = true;
|
|
6432
|
-
add_location(input9, file$a,
|
|
6444
|
+
add_location(input9, file$a, 11368, 6, 330533);
|
|
6433
6445
|
attr_dev(div11, "class", "PlayerInfoBox");
|
|
6434
|
-
add_location(div11, file$a,
|
|
6446
|
+
add_location(div11, file$a, 11366, 4, 330470);
|
|
6435
6447
|
attr_dev(section0, "class", "PlayerDetailsContent");
|
|
6436
|
-
add_location(section0, file$a,
|
|
6437
|
-
add_location(h31, file$a,
|
|
6448
|
+
add_location(section0, file$a, 11318, 2, 328336);
|
|
6449
|
+
add_location(h31, file$a, 11373, 4, 330667);
|
|
6438
6450
|
attr_dev(div12, "class", "PlayerLocationHeader");
|
|
6439
|
-
add_location(div12, file$a,
|
|
6440
|
-
add_location(label10, file$a,
|
|
6451
|
+
add_location(div12, file$a, 11372, 2, 330628);
|
|
6452
|
+
add_location(label10, file$a, 11377, 6, 330782);
|
|
6441
6453
|
attr_dev(input10, "type", "text");
|
|
6442
6454
|
attr_dev(input10, "class", "PlayerCountry FieldDisabled");
|
|
6443
6455
|
attr_dev(input10, "placeholder", /*country*/ ctx[15]);
|
|
6444
6456
|
input10.value = input10_value_value = /*selectedCountry*/ ctx[11].name;
|
|
6445
6457
|
input10.readOnly = true;
|
|
6446
|
-
add_location(input10, file$a,
|
|
6458
|
+
add_location(input10, file$a, 11378, 6, 330812);
|
|
6447
6459
|
attr_dev(div13, "class", "PlayerInfoBox");
|
|
6448
|
-
add_location(div13, file$a,
|
|
6449
|
-
add_location(label11, file$a,
|
|
6460
|
+
add_location(div13, file$a, 11376, 4, 330748);
|
|
6461
|
+
add_location(label11, file$a, 11381, 6, 330979);
|
|
6450
6462
|
attr_dev(input11, "type", "text");
|
|
6451
6463
|
attr_dev(input11, "placeholder", input11_placeholder_value = /*noPlayerData*/ ctx[0] ? /*city*/ ctx[28] : "");
|
|
6452
6464
|
|
|
@@ -6454,10 +6466,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6454
6466
|
? ""
|
|
6455
6467
|
: /*initialValuesArray*/ ctx[13].city;
|
|
6456
6468
|
|
|
6457
|
-
add_location(input11, file$a,
|
|
6469
|
+
add_location(input11, file$a, 11382, 4, 331004);
|
|
6458
6470
|
attr_dev(div14, "class", "PlayerInfoBox");
|
|
6459
|
-
add_location(div14, file$a,
|
|
6460
|
-
add_location(label12, file$a,
|
|
6471
|
+
add_location(div14, file$a, 11380, 4, 330945);
|
|
6472
|
+
add_location(label12, file$a, 11385, 6, 331224);
|
|
6461
6473
|
attr_dev(input12, "placeholder", /*address1*/ ctx[27]);
|
|
6462
6474
|
attr_dev(input12, "type", "text");
|
|
6463
6475
|
|
|
@@ -6465,10 +6477,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6465
6477
|
? ""
|
|
6466
6478
|
: /*initialValuesArray*/ ctx[13].address;
|
|
6467
6479
|
|
|
6468
|
-
add_location(input12, file$a,
|
|
6480
|
+
add_location(input12, file$a, 11386, 4, 331252);
|
|
6469
6481
|
attr_dev(div15, "class", "PlayerInfoBox");
|
|
6470
|
-
add_location(div15, file$a,
|
|
6471
|
-
add_location(label13, file$a,
|
|
6482
|
+
add_location(div15, file$a, 11384, 4, 331190);
|
|
6483
|
+
add_location(label13, file$a, 11389, 6, 331462);
|
|
6472
6484
|
attr_dev(input13, "type", "number");
|
|
6473
6485
|
attr_dev(input13, "placeholder", input13_placeholder_value = /*noPlayerData*/ ctx[0] ? /*postalCode*/ ctx[29] : "");
|
|
6474
6486
|
|
|
@@ -6476,56 +6488,56 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6476
6488
|
? ""
|
|
6477
6489
|
: /*initialValuesArray*/ ctx[13].postalCode;
|
|
6478
6490
|
|
|
6479
|
-
add_location(input13, file$a,
|
|
6491
|
+
add_location(input13, file$a, 11390, 6, 331496);
|
|
6480
6492
|
attr_dev(div16, "class", "PlayerInfoBox");
|
|
6481
|
-
add_location(div16, file$a,
|
|
6493
|
+
add_location(div16, file$a, 11388, 4, 331428);
|
|
6482
6494
|
attr_dev(section1, "class", "PlayerLocationContent");
|
|
6483
|
-
add_location(section1, file$a,
|
|
6484
|
-
add_location(h32, file$a,
|
|
6495
|
+
add_location(section1, file$a, 11375, 2, 330704);
|
|
6496
|
+
add_location(h32, file$a, 11395, 4, 331758);
|
|
6485
6497
|
attr_dev(div17, "class", "PlayerNotificationsHeader");
|
|
6486
|
-
add_location(div17, file$a,
|
|
6498
|
+
add_location(div17, file$a, 11394, 2, 331714);
|
|
6487
6499
|
attr_dev(input14, "type", "checkbox");
|
|
6488
6500
|
attr_dev(input14, "id", "SMSNotification");
|
|
6489
6501
|
attr_dev(input14, "name", "Enable SMS notifications");
|
|
6490
|
-
add_location(input14, file$a,
|
|
6502
|
+
add_location(input14, file$a, 11400, 8, 331926);
|
|
6491
6503
|
attr_dev(span0, "class", "Checkmark");
|
|
6492
|
-
add_location(span0, file$a,
|
|
6493
|
-
add_location(span1, file$a,
|
|
6504
|
+
add_location(span0, file$a, 11401, 8, 332072);
|
|
6505
|
+
add_location(span1, file$a, 11402, 8, 332112);
|
|
6494
6506
|
attr_dev(label14, "for", "SMSNotification");
|
|
6495
|
-
add_location(label14, file$a,
|
|
6507
|
+
add_location(label14, file$a, 11399, 6, 331888);
|
|
6496
6508
|
attr_dev(div18, "class", "PlayerNotificationBox");
|
|
6497
|
-
add_location(div18, file$a,
|
|
6509
|
+
add_location(div18, file$a, 11398, 4, 331846);
|
|
6498
6510
|
attr_dev(input15, "type", "checkbox");
|
|
6499
6511
|
attr_dev(input15, "id", "EmailNotification");
|
|
6500
6512
|
attr_dev(input15, "name", "Enable Emails");
|
|
6501
|
-
add_location(input15, file$a,
|
|
6513
|
+
add_location(input15, file$a, 11407, 8, 332262);
|
|
6502
6514
|
attr_dev(span2, "class", "Checkmark");
|
|
6503
|
-
add_location(span2, file$a,
|
|
6504
|
-
add_location(span3, file$a,
|
|
6515
|
+
add_location(span2, file$a, 11408, 8, 332400);
|
|
6516
|
+
add_location(span3, file$a, 11409, 8, 332440);
|
|
6505
6517
|
attr_dev(label15, "for", "EmailNotification");
|
|
6506
|
-
add_location(label15, file$a,
|
|
6518
|
+
add_location(label15, file$a, 11406, 6, 332222);
|
|
6507
6519
|
attr_dev(div19, "class", "PlayerNotificationBox");
|
|
6508
|
-
add_location(div19, file$a,
|
|
6520
|
+
add_location(div19, file$a, 11405, 4, 332180);
|
|
6509
6521
|
attr_dev(section2, "class", "PlayerNotificationsCheckboxArea");
|
|
6510
|
-
add_location(section2, file$a,
|
|
6522
|
+
add_location(section2, file$a, 11397, 2, 331792);
|
|
6511
6523
|
|
|
6512
6524
|
attr_dev(div20, "class", div20_class_value = "PlayerDetailsSaveButton " + (/*differencesExist*/ ctx[10]
|
|
6513
6525
|
? ""
|
|
6514
6526
|
: "PlayerButtonDisabled"));
|
|
6515
6527
|
|
|
6516
|
-
add_location(div20, file$a,
|
|
6528
|
+
add_location(div20, file$a, 11414, 4, 332606);
|
|
6517
6529
|
|
|
6518
6530
|
attr_dev(div21, "class", div21_class_value = "PlayerDetailsCancelButton " + (/*differencesExist*/ ctx[10]
|
|
6519
6531
|
? ""
|
|
6520
6532
|
: "PlayerButtonDisabled"));
|
|
6521
6533
|
|
|
6522
|
-
add_location(div21, file$a,
|
|
6534
|
+
add_location(div21, file$a, 11415, 4, 332751);
|
|
6523
6535
|
|
|
6524
6536
|
attr_dev(section3, "class", "PlayerDetailsButtonsArea " + (/*isMobile*/ ctx[24]
|
|
6525
6537
|
? "PlayerDetailsButtonsAreaMobile"
|
|
6526
6538
|
: ""));
|
|
6527
6539
|
|
|
6528
|
-
add_location(section3, file$a,
|
|
6540
|
+
add_location(section3, file$a, 11413, 2, 332508);
|
|
6529
6541
|
|
|
6530
6542
|
attr_dev(form, "class", "PlayerInfoWrapper " + (/*isMobile*/ ctx[24] ? "PlayerInfoWrapperMobile" : "") + " " + (/*mediaQuery*/ ctx[25].matches && /*isMobile*/ ctx[24]
|
|
6531
6543
|
? "PlayerInfoWrapperTablet"
|
|
@@ -6537,18 +6549,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6537
6549
|
insert_dev(target, form, anchor);
|
|
6538
6550
|
if (if_block0) if_block0.m(form, null);
|
|
6539
6551
|
append_dev(form, t0);
|
|
6552
|
+
append_dev(form, h2);
|
|
6553
|
+
append_dev(h2, t1);
|
|
6554
|
+
append_dev(form, t2);
|
|
6540
6555
|
append_dev(form, div0);
|
|
6541
6556
|
append_dev(div0, h30);
|
|
6542
|
-
append_dev(form,
|
|
6557
|
+
append_dev(form, t4);
|
|
6543
6558
|
append_dev(form, section0);
|
|
6544
6559
|
append_dev(section0, div1);
|
|
6545
6560
|
append_dev(div1, label0);
|
|
6546
|
-
append_dev(div1,
|
|
6561
|
+
append_dev(div1, t6);
|
|
6547
6562
|
append_dev(div1, input0);
|
|
6548
|
-
append_dev(section0,
|
|
6563
|
+
append_dev(section0, t7);
|
|
6549
6564
|
append_dev(section0, div3);
|
|
6550
6565
|
append_dev(div3, label1);
|
|
6551
|
-
append_dev(div3,
|
|
6566
|
+
append_dev(div3, t9);
|
|
6552
6567
|
append_dev(div3, div2);
|
|
6553
6568
|
append_dev(div2, select);
|
|
6554
6569
|
|
|
@@ -6557,108 +6572,108 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6557
6572
|
}
|
|
6558
6573
|
|
|
6559
6574
|
select_option(select, /*playerPrefix*/ ctx[8]);
|
|
6560
|
-
append_dev(div2,
|
|
6575
|
+
append_dev(div2, t10);
|
|
6561
6576
|
append_dev(div2, input1);
|
|
6562
6577
|
set_input_value(input1, /*playerMobileNumber*/ ctx[9]);
|
|
6563
|
-
append_dev(section0,
|
|
6578
|
+
append_dev(section0, t11);
|
|
6564
6579
|
append_dev(section0, div4);
|
|
6565
6580
|
append_dev(div4, label2);
|
|
6566
|
-
append_dev(div4,
|
|
6581
|
+
append_dev(div4, t13);
|
|
6567
6582
|
append_dev(div4, input2);
|
|
6568
|
-
append_dev(section0,
|
|
6583
|
+
append_dev(section0, t14);
|
|
6569
6584
|
append_dev(section0, div5);
|
|
6570
6585
|
append_dev(div5, label3);
|
|
6571
|
-
append_dev(div5,
|
|
6586
|
+
append_dev(div5, t16);
|
|
6572
6587
|
append_dev(div5, input3);
|
|
6573
6588
|
set_input_value(input3, /*playerQuestion*/ ctx[6]);
|
|
6574
|
-
append_dev(section0,
|
|
6589
|
+
append_dev(section0, t17);
|
|
6575
6590
|
append_dev(section0, div6);
|
|
6576
6591
|
append_dev(div6, label4);
|
|
6577
|
-
append_dev(div6,
|
|
6592
|
+
append_dev(div6, t19);
|
|
6578
6593
|
append_dev(div6, input4);
|
|
6579
|
-
append_dev(section0,
|
|
6594
|
+
append_dev(section0, t20);
|
|
6580
6595
|
append_dev(section0, div7);
|
|
6581
6596
|
append_dev(div7, label5);
|
|
6582
|
-
append_dev(div7,
|
|
6597
|
+
append_dev(div7, t22);
|
|
6583
6598
|
append_dev(div7, input5);
|
|
6584
6599
|
set_input_value(input5, /*playerAnswer*/ ctx[7]);
|
|
6585
|
-
append_dev(section0,
|
|
6600
|
+
append_dev(section0, t23);
|
|
6586
6601
|
append_dev(section0, div8);
|
|
6587
6602
|
append_dev(div8, label6);
|
|
6588
|
-
append_dev(div8,
|
|
6603
|
+
append_dev(div8, t25);
|
|
6589
6604
|
append_dev(div8, input6);
|
|
6590
|
-
append_dev(section0,
|
|
6605
|
+
append_dev(section0, t26);
|
|
6591
6606
|
append_dev(section0, div9);
|
|
6592
6607
|
append_dev(div9, label7);
|
|
6593
|
-
append_dev(div9,
|
|
6608
|
+
append_dev(div9, t28);
|
|
6594
6609
|
append_dev(div9, input7);
|
|
6595
|
-
append_dev(section0,
|
|
6610
|
+
append_dev(section0, t29);
|
|
6596
6611
|
append_dev(section0, div10);
|
|
6597
6612
|
append_dev(div10, label8);
|
|
6598
|
-
append_dev(div10,
|
|
6613
|
+
append_dev(div10, t31);
|
|
6599
6614
|
append_dev(div10, input8);
|
|
6600
|
-
append_dev(section0,
|
|
6615
|
+
append_dev(section0, t32);
|
|
6601
6616
|
append_dev(section0, div11);
|
|
6602
6617
|
append_dev(div11, label9);
|
|
6603
|
-
append_dev(div11,
|
|
6618
|
+
append_dev(div11, t34);
|
|
6604
6619
|
append_dev(div11, input9);
|
|
6605
|
-
append_dev(form,
|
|
6620
|
+
append_dev(form, t35);
|
|
6606
6621
|
append_dev(form, div12);
|
|
6607
6622
|
append_dev(div12, h31);
|
|
6608
|
-
append_dev(form,
|
|
6623
|
+
append_dev(form, t37);
|
|
6609
6624
|
append_dev(form, section1);
|
|
6610
6625
|
append_dev(section1, div13);
|
|
6611
6626
|
append_dev(div13, label10);
|
|
6612
|
-
append_dev(div13,
|
|
6627
|
+
append_dev(div13, t39);
|
|
6613
6628
|
append_dev(div13, input10);
|
|
6614
|
-
append_dev(section1,
|
|
6629
|
+
append_dev(section1, t40);
|
|
6615
6630
|
append_dev(section1, div14);
|
|
6616
6631
|
append_dev(div14, label11);
|
|
6617
|
-
append_dev(div14,
|
|
6632
|
+
append_dev(div14, t42);
|
|
6618
6633
|
append_dev(div14, input11);
|
|
6619
6634
|
/*input11_binding*/ ctx[45](input11);
|
|
6620
|
-
append_dev(section1,
|
|
6635
|
+
append_dev(section1, t43);
|
|
6621
6636
|
append_dev(section1, div15);
|
|
6622
6637
|
append_dev(div15, label12);
|
|
6623
|
-
append_dev(div15,
|
|
6638
|
+
append_dev(div15, t45);
|
|
6624
6639
|
append_dev(div15, input12);
|
|
6625
6640
|
/*input12_binding*/ ctx[47](input12);
|
|
6626
|
-
append_dev(section1,
|
|
6641
|
+
append_dev(section1, t46);
|
|
6627
6642
|
append_dev(section1, div16);
|
|
6628
6643
|
append_dev(div16, label13);
|
|
6629
|
-
append_dev(div16,
|
|
6644
|
+
append_dev(div16, t48);
|
|
6630
6645
|
append_dev(div16, input13);
|
|
6631
6646
|
/*input13_binding*/ ctx[49](input13);
|
|
6632
|
-
append_dev(form,
|
|
6647
|
+
append_dev(form, t49);
|
|
6633
6648
|
append_dev(form, div17);
|
|
6634
6649
|
append_dev(div17, h32);
|
|
6635
|
-
append_dev(form,
|
|
6650
|
+
append_dev(form, t51);
|
|
6636
6651
|
append_dev(form, section2);
|
|
6637
6652
|
append_dev(section2, div18);
|
|
6638
6653
|
append_dev(div18, label14);
|
|
6639
6654
|
append_dev(label14, input14);
|
|
6640
6655
|
input14.checked = /*giveConsentSMS*/ ctx[4];
|
|
6641
|
-
append_dev(label14,
|
|
6656
|
+
append_dev(label14, t52);
|
|
6642
6657
|
append_dev(label14, span0);
|
|
6643
|
-
append_dev(label14,
|
|
6658
|
+
append_dev(label14, t53);
|
|
6644
6659
|
append_dev(label14, span1);
|
|
6645
|
-
append_dev(section2,
|
|
6660
|
+
append_dev(section2, t55);
|
|
6646
6661
|
append_dev(section2, div19);
|
|
6647
6662
|
append_dev(div19, label15);
|
|
6648
6663
|
append_dev(label15, input15);
|
|
6649
6664
|
input15.checked = /*giveConsentEmail*/ ctx[5];
|
|
6650
|
-
append_dev(label15,
|
|
6665
|
+
append_dev(label15, t56);
|
|
6651
6666
|
append_dev(label15, span2);
|
|
6652
|
-
append_dev(label15,
|
|
6667
|
+
append_dev(label15, t57);
|
|
6653
6668
|
append_dev(label15, span3);
|
|
6654
|
-
append_dev(form,
|
|
6669
|
+
append_dev(form, t59);
|
|
6655
6670
|
append_dev(form, section3);
|
|
6656
6671
|
append_dev(section3, div20);
|
|
6657
|
-
append_dev(div20,
|
|
6658
|
-
append_dev(section3,
|
|
6672
|
+
append_dev(div20, t60);
|
|
6673
|
+
append_dev(section3, t61);
|
|
6659
6674
|
append_dev(section3, div21);
|
|
6660
|
-
append_dev(div21,
|
|
6661
|
-
append_dev(form,
|
|
6675
|
+
append_dev(div21, t62);
|
|
6676
|
+
append_dev(form, t63);
|
|
6662
6677
|
if (if_block1) if_block1.m(form, null);
|
|
6663
6678
|
|
|
6664
6679
|
if (!mounted) {
|
|
@@ -6891,14 +6906,18 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6891
6906
|
return block;
|
|
6892
6907
|
}
|
|
6893
6908
|
|
|
6894
|
-
// (
|
|
6909
|
+
// (11303:2) {#if isMobile}
|
|
6895
6910
|
function create_if_block_3$5(ctx) {
|
|
6896
6911
|
let div;
|
|
6897
6912
|
let svg;
|
|
6898
|
-
let
|
|
6899
|
-
let
|
|
6913
|
+
let defs;
|
|
6914
|
+
let style;
|
|
6900
6915
|
let t0;
|
|
6901
|
-
let
|
|
6916
|
+
let g1;
|
|
6917
|
+
let g0;
|
|
6918
|
+
let path;
|
|
6919
|
+
let t1;
|
|
6920
|
+
let h2;
|
|
6902
6921
|
let mounted;
|
|
6903
6922
|
let dispose;
|
|
6904
6923
|
|
|
@@ -6906,38 +6925,46 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6906
6925
|
c: function create() {
|
|
6907
6926
|
div = element("div");
|
|
6908
6927
|
svg = svg_element("svg");
|
|
6909
|
-
|
|
6928
|
+
defs = svg_element("defs");
|
|
6929
|
+
style = svg_element("style");
|
|
6930
|
+
t0 = text(".aaa{fill:#d0046c;}");
|
|
6931
|
+
g1 = svg_element("g");
|
|
6932
|
+
g0 = svg_element("g");
|
|
6910
6933
|
path = svg_element("path");
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
attr_dev(
|
|
6919
|
-
|
|
6934
|
+
t1 = space();
|
|
6935
|
+
h2 = element("h2");
|
|
6936
|
+
h2.textContent = "Profile Info";
|
|
6937
|
+
add_location(style, file$a, 11304, 95, 327788);
|
|
6938
|
+
add_location(defs, file$a, 11304, 89, 327782);
|
|
6939
|
+
attr_dev(path, "class", "aaa");
|
|
6940
|
+
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");
|
|
6941
|
+
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
6942
|
+
add_location(path, file$a, 11306, 10, 327917);
|
|
6943
|
+
attr_dev(g0, "transform", "translate(20 158)");
|
|
6944
|
+
add_location(g0, file$a, 11305, 8, 327873);
|
|
6945
|
+
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
6946
|
+
add_location(g1, file$a, 11304, 136, 327829);
|
|
6920
6947
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
6921
|
-
attr_dev(svg, "
|
|
6922
|
-
attr_dev(svg, "
|
|
6923
|
-
attr_dev(svg, "
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
attr_dev(svg, "width", "18px");
|
|
6928
|
-
attr_dev(svg, "fill", "#58586B");
|
|
6929
|
-
add_location(svg, file$a, 11303, 6, 327698);
|
|
6930
|
-
add_location(span, file$a, 11311, 6, 328325);
|
|
6948
|
+
attr_dev(svg, "width", "15");
|
|
6949
|
+
attr_dev(svg, "height", "15");
|
|
6950
|
+
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
6951
|
+
add_location(svg, file$a, 11304, 6, 327699);
|
|
6952
|
+
attr_dev(h2, "class", "ProfileInfoTitleMobile");
|
|
6953
|
+
add_location(h2, file$a, 11309, 6, 328089);
|
|
6931
6954
|
attr_dev(div, "class", "MenuReturnButton");
|
|
6932
|
-
add_location(div, file$a,
|
|
6955
|
+
add_location(div, file$a, 11303, 4, 327630);
|
|
6933
6956
|
},
|
|
6934
6957
|
m: function mount(target, anchor) {
|
|
6935
6958
|
insert_dev(target, div, anchor);
|
|
6936
6959
|
append_dev(div, svg);
|
|
6937
|
-
append_dev(svg,
|
|
6938
|
-
append_dev(
|
|
6939
|
-
append_dev(
|
|
6940
|
-
append_dev(
|
|
6960
|
+
append_dev(svg, defs);
|
|
6961
|
+
append_dev(defs, style);
|
|
6962
|
+
append_dev(style, t0);
|
|
6963
|
+
append_dev(svg, g1);
|
|
6964
|
+
append_dev(g1, g0);
|
|
6965
|
+
append_dev(g0, path);
|
|
6966
|
+
append_dev(div, t1);
|
|
6967
|
+
append_dev(div, h2);
|
|
6941
6968
|
|
|
6942
6969
|
if (!mounted) {
|
|
6943
6970
|
dispose = listen_dev(div, "click", /*click_handler*/ ctx[36], false, false, false);
|
|
@@ -6956,14 +6983,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6956
6983
|
block,
|
|
6957
6984
|
id: create_if_block_3$5.name,
|
|
6958
6985
|
type: "if",
|
|
6959
|
-
source: "(
|
|
6986
|
+
source: "(11303:2) {#if isMobile}",
|
|
6960
6987
|
ctx
|
|
6961
6988
|
});
|
|
6962
6989
|
|
|
6963
6990
|
return block;
|
|
6964
6991
|
}
|
|
6965
6992
|
|
|
6966
|
-
// (
|
|
6993
|
+
// (11331:12) {:else}
|
|
6967
6994
|
function create_else_block_1$3(ctx) {
|
|
6968
6995
|
let option;
|
|
6969
6996
|
let t_value = /*pref*/ ctx[64].callingCode + "";
|
|
@@ -6975,7 +7002,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6975
7002
|
t = text(t_value);
|
|
6976
7003
|
option.__value = /*pref*/ ctx[64].callingCode;
|
|
6977
7004
|
option.value = option.__value;
|
|
6978
|
-
add_location(option, file$a,
|
|
7005
|
+
add_location(option, file$a, 11331, 14, 328906);
|
|
6979
7006
|
},
|
|
6980
7007
|
m: function mount(target, anchor) {
|
|
6981
7008
|
insert_dev(target, option, anchor);
|
|
@@ -6991,14 +7018,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
6991
7018
|
block,
|
|
6992
7019
|
id: create_else_block_1$3.name,
|
|
6993
7020
|
type: "else",
|
|
6994
|
-
source: "(
|
|
7021
|
+
source: "(11331:12) {:else}",
|
|
6995
7022
|
ctx
|
|
6996
7023
|
});
|
|
6997
7024
|
|
|
6998
7025
|
return block;
|
|
6999
7026
|
}
|
|
7000
7027
|
|
|
7001
|
-
// (
|
|
7028
|
+
// (11329:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}
|
|
7002
7029
|
function create_if_block_2$5(ctx) {
|
|
7003
7030
|
let option;
|
|
7004
7031
|
let t_value = /*pref*/ ctx[64].callingCode + "";
|
|
@@ -7011,7 +7038,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7011
7038
|
option.selected = true;
|
|
7012
7039
|
option.__value = /*pref*/ ctx[64].callingCode;
|
|
7013
7040
|
option.value = option.__value;
|
|
7014
|
-
add_location(option, file$a,
|
|
7041
|
+
add_location(option, file$a, 11329, 14, 328827);
|
|
7015
7042
|
},
|
|
7016
7043
|
m: function mount(target, anchor) {
|
|
7017
7044
|
insert_dev(target, option, anchor);
|
|
@@ -7027,14 +7054,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7027
7054
|
block,
|
|
7028
7055
|
id: create_if_block_2$5.name,
|
|
7029
7056
|
type: "if",
|
|
7030
|
-
source: "(
|
|
7057
|
+
source: "(11329:12) {#if pref.callingCode === initialValuesArray.mobiePrefix}",
|
|
7031
7058
|
ctx
|
|
7032
7059
|
});
|
|
7033
7060
|
|
|
7034
7061
|
return block;
|
|
7035
7062
|
}
|
|
7036
7063
|
|
|
7037
|
-
// (
|
|
7064
|
+
// (11328:10) {#each prefixesArray as pref}
|
|
7038
7065
|
function create_each_block$4(ctx) {
|
|
7039
7066
|
let if_block_anchor;
|
|
7040
7067
|
|
|
@@ -7078,14 +7105,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7078
7105
|
block,
|
|
7079
7106
|
id: create_each_block$4.name,
|
|
7080
7107
|
type: "each",
|
|
7081
|
-
source: "(
|
|
7108
|
+
source: "(11328:10) {#each prefixesArray as pref}",
|
|
7082
7109
|
ctx
|
|
7083
7110
|
});
|
|
7084
7111
|
|
|
7085
7112
|
return block;
|
|
7086
7113
|
}
|
|
7087
7114
|
|
|
7088
|
-
// (
|
|
7115
|
+
// (11418:2) {#if showConfirmSave}
|
|
7089
7116
|
function create_if_block_1$6(ctx) {
|
|
7090
7117
|
let section;
|
|
7091
7118
|
let p;
|
|
@@ -7096,9 +7123,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7096
7123
|
p = element("p");
|
|
7097
7124
|
p.textContent = "Your changes have been saved!";
|
|
7098
7125
|
attr_dev(p, "class", "PlayerDetailsConfirmSaveText");
|
|
7099
|
-
add_location(p, file$a,
|
|
7126
|
+
add_location(p, file$a, 11419, 6, 332977);
|
|
7100
7127
|
attr_dev(section, "class", "PlayerDetailsConfirmSave");
|
|
7101
|
-
add_location(section, file$a,
|
|
7128
|
+
add_location(section, file$a, 11418, 4, 332928);
|
|
7102
7129
|
},
|
|
7103
7130
|
m: function mount(target, anchor) {
|
|
7104
7131
|
insert_dev(target, section, anchor);
|
|
@@ -7113,7 +7140,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
7113
7140
|
block,
|
|
7114
7141
|
id: create_if_block_1$6.name,
|
|
7115
7142
|
type: "if",
|
|
7116
|
-
source: "(
|
|
7143
|
+
source: "(11418:2) {#if showConfirmSave}",
|
|
7117
7144
|
ctx
|
|
7118
7145
|
});
|
|
7119
7146
|
|
|
@@ -19971,7 +19998,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
19971
19998
|
class PlayerProfileInfo extends SvelteElement {
|
|
19972
19999
|
constructor(options) {
|
|
19973
20000
|
super();
|
|
19974
|
-
this.shadowRoot.innerHTML = `<style>.PlayerInfoWrapper{color:#07072A;padding:50px;max-width:760px}.PlayerNotificationsHeader h3,.
|
|
20001
|
+
this.shadowRoot.innerHTML = `<style>.ProfileInfoTitle{font-size:26px;color:#D0046C;font-weight:400}.ProfileInfoTitleMobile{font-size:16px;color:#D0046C}.ProfileInfoTitleNone{display:none}.PlayerInfoWrapper{color:#07072A;background:#F9F8F8;padding:50px;max-width:760px}.PlayerNotificationsHeader h3,.PlayerLocationHeader h3{font-size:16px;color:#D0046C;text-transform:capitalize;font-weight:400}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerInfoBox input{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}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:1fr 5fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:14px;font-weight:300;padding:10px;color:#07072A;background:#FFF;border:1px solid #D1D1D1;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox:first-child{margin-bottom:10px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:14px;font-weight:300}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:#D1D1D1;cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:#D0046C}.PlayerNotificationBox label .Checkmark{left:11px;top:7px;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:2fr 1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{cursor:pointer;border-radius:5px;width:100%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#07072A;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:#9e0352}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid #58586B;cursor:not-allowed;color:#07072A;opacity:0.6}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{background:transparent;border:1px solid #58586B}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton:active{background:#e6e6e6}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid #58586B;cursor:not-allowed;opacity:0.6}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsCancelButton{height:40px;font-size:12px}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:#F9F8F8;max-width:unset}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:#58586B}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:#07072A;font-size:12px;font-weight:300}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{font-size:12px;height:40px;color:#fff}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton.PlayerButtonDisabled{color:#58586B}.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{color:#58586B}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:20px}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:20px;line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:20px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsCancelButton{font-size:20px;height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:#fff}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:#58586B}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:20px}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}.PlayerDetailsConfirmSave{background:#0cdc13;color:#fff;padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}</style>`;
|
|
19975
20002
|
|
|
19976
20003
|
init(
|
|
19977
20004
|
this,
|
|
@@ -20089,7 +20116,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20089
20116
|
return block;
|
|
20090
20117
|
}
|
|
20091
20118
|
|
|
20092
|
-
// (
|
|
20119
|
+
// (178:4) {:else}
|
|
20093
20120
|
function create_else_block_4$1(ctx) {
|
|
20094
20121
|
let t0;
|
|
20095
20122
|
let div0;
|
|
@@ -20132,23 +20159,23 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20132
20159
|
t7 = space();
|
|
20133
20160
|
div5 = element("div");
|
|
20134
20161
|
div5.textContent = "Back to Casino";
|
|
20135
|
-
add_location(h30, file$9,
|
|
20162
|
+
add_location(h30, file$9, 192, 8, 17223);
|
|
20136
20163
|
attr_dev(div0, "class", "PlayerChangePasswordHeader");
|
|
20137
|
-
add_location(div0, file$9,
|
|
20164
|
+
add_location(div0, file$9, 191, 6, 17174);
|
|
20138
20165
|
attr_dev(div1, "class", "Checkmark");
|
|
20139
|
-
add_location(div1, file$9,
|
|
20166
|
+
add_location(div1, file$9, 197, 12, 17396);
|
|
20140
20167
|
attr_dev(div2, "class", "IconContainer");
|
|
20141
|
-
add_location(div2, file$9,
|
|
20142
|
-
add_location(h31, file$9,
|
|
20143
|
-
add_location(p, file$9,
|
|
20168
|
+
add_location(div2, file$9, 196, 10, 17356);
|
|
20169
|
+
add_location(h31, file$9, 200, 12, 17493);
|
|
20170
|
+
add_location(p, file$9, 201, 12, 17529);
|
|
20144
20171
|
attr_dev(div3, "class", "TextContainer");
|
|
20145
|
-
add_location(div3, file$9,
|
|
20172
|
+
add_location(div3, file$9, 199, 10, 17453);
|
|
20146
20173
|
attr_dev(div4, "class", "SuccessWrapper");
|
|
20147
|
-
add_location(div4, file$9,
|
|
20174
|
+
add_location(div4, file$9, 195, 8, 17317);
|
|
20148
20175
|
attr_dev(div5, "class", "PlayerChangePasswordBackButton");
|
|
20149
|
-
add_location(div5, file$9,
|
|
20176
|
+
add_location(div5, file$9, 204, 8, 17619);
|
|
20150
20177
|
attr_dev(div6, "class", "ChangedPasswordSuccessfully");
|
|
20151
|
-
add_location(div6, file$9,
|
|
20178
|
+
add_location(div6, file$9, 194, 6, 17267);
|
|
20152
20179
|
},
|
|
20153
20180
|
m: function mount(target, anchor) {
|
|
20154
20181
|
if (if_block) if_block.m(target, anchor);
|
|
@@ -20169,7 +20196,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20169
20196
|
append_dev(div6, div5);
|
|
20170
20197
|
|
|
20171
20198
|
if (!mounted) {
|
|
20172
|
-
dispose = listen_dev(div5, "click", /*
|
|
20199
|
+
dispose = listen_dev(div5, "click", /*click_handler_9*/ ctx[38], false, false, false);
|
|
20173
20200
|
mounted = true;
|
|
20174
20201
|
}
|
|
20175
20202
|
},
|
|
@@ -20191,7 +20218,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20191
20218
|
block,
|
|
20192
20219
|
id: create_else_block_4$1.name,
|
|
20193
20220
|
type: "else",
|
|
20194
|
-
source: "(
|
|
20221
|
+
source: "(178:4) {:else}",
|
|
20195
20222
|
ctx
|
|
20196
20223
|
});
|
|
20197
20224
|
|
|
@@ -20201,44 +20228,39 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20201
20228
|
// (116:4) {#if !passwordChanged}
|
|
20202
20229
|
function create_if_block_1$5(ctx) {
|
|
20203
20230
|
let t0;
|
|
20204
|
-
let
|
|
20205
|
-
let
|
|
20231
|
+
let h2;
|
|
20232
|
+
let t1;
|
|
20206
20233
|
let t2;
|
|
20207
20234
|
let section0;
|
|
20208
|
-
let
|
|
20235
|
+
let div0;
|
|
20209
20236
|
let label0;
|
|
20210
20237
|
let t4;
|
|
20211
20238
|
let input0;
|
|
20212
20239
|
let t5;
|
|
20213
20240
|
let t6;
|
|
20214
|
-
let
|
|
20241
|
+
let div0_class_value;
|
|
20215
20242
|
let t7;
|
|
20216
|
-
let
|
|
20243
|
+
let div1;
|
|
20217
20244
|
let label1;
|
|
20218
20245
|
let t9;
|
|
20219
20246
|
let input1;
|
|
20220
20247
|
let t10;
|
|
20221
20248
|
let t11;
|
|
20222
|
-
let
|
|
20249
|
+
let div1_class_value;
|
|
20223
20250
|
let t12;
|
|
20224
|
-
let
|
|
20251
|
+
let div2;
|
|
20225
20252
|
let label2;
|
|
20226
20253
|
let t14;
|
|
20227
20254
|
let input2;
|
|
20228
20255
|
let t15;
|
|
20229
20256
|
let t16;
|
|
20230
|
-
let
|
|
20257
|
+
let div2_class_value;
|
|
20231
20258
|
let t17;
|
|
20232
20259
|
let section1;
|
|
20233
|
-
let
|
|
20260
|
+
let div3;
|
|
20234
20261
|
let t18;
|
|
20235
|
-
let
|
|
20236
|
-
let
|
|
20237
|
-
let t19;
|
|
20238
|
-
let div5;
|
|
20239
|
-
let t20;
|
|
20240
|
-
let div5_class_value;
|
|
20241
|
-
let div5_disabled_value;
|
|
20262
|
+
let div3_class_value;
|
|
20263
|
+
let div3_disabled_value;
|
|
20242
20264
|
let mounted;
|
|
20243
20265
|
let dispose;
|
|
20244
20266
|
let if_block0 = /*isMobile*/ ctx[16] && create_if_block_9$2(ctx);
|
|
@@ -20281,12 +20303,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20281
20303
|
c: function create() {
|
|
20282
20304
|
if (if_block0) if_block0.c();
|
|
20283
20305
|
t0 = space();
|
|
20284
|
-
|
|
20285
|
-
|
|
20286
|
-
h3.textContent = "Change Password";
|
|
20306
|
+
h2 = element("h2");
|
|
20307
|
+
t1 = text("Change Password");
|
|
20287
20308
|
t2 = space();
|
|
20288
20309
|
section0 = element("section");
|
|
20289
|
-
|
|
20310
|
+
div0 = element("div");
|
|
20290
20311
|
label0 = element("label");
|
|
20291
20312
|
label0.textContent = "Current Password:";
|
|
20292
20313
|
t4 = space();
|
|
@@ -20296,7 +20317,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20296
20317
|
t6 = space();
|
|
20297
20318
|
if (if_block2) if_block2.c();
|
|
20298
20319
|
t7 = space();
|
|
20299
|
-
|
|
20320
|
+
div1 = element("div");
|
|
20300
20321
|
label1 = element("label");
|
|
20301
20322
|
label1.textContent = "New Password:";
|
|
20302
20323
|
t9 = space();
|
|
@@ -20306,7 +20327,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20306
20327
|
t11 = space();
|
|
20307
20328
|
if (if_block4) if_block4.c();
|
|
20308
20329
|
t12 = space();
|
|
20309
|
-
|
|
20330
|
+
div2 = element("div");
|
|
20310
20331
|
label2 = element("label");
|
|
20311
20332
|
label2.textContent = "Confirm Password:";
|
|
20312
20333
|
t14 = space();
|
|
@@ -20317,100 +20338,86 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20317
20338
|
if (if_block6) if_block6.c();
|
|
20318
20339
|
t17 = space();
|
|
20319
20340
|
section1 = element("section");
|
|
20320
|
-
|
|
20341
|
+
div3 = element("div");
|
|
20321
20342
|
t18 = text("Change Password");
|
|
20322
|
-
|
|
20323
|
-
|
|
20324
|
-
t20 = text("Cancel");
|
|
20325
|
-
add_location(h3, file$9, 130, 8, 4846);
|
|
20326
|
-
attr_dev(div0, "class", "PlayerChangePasswordHeader");
|
|
20327
|
-
add_location(div0, file$9, 129, 6, 4797);
|
|
20343
|
+
attr_dev(h2, "class", "ChangePasswordTitle " + (/*isMobile*/ ctx[16] ? "ChangePasswordTitleNone" : ""));
|
|
20344
|
+
add_location(h2, file$9, 127, 6, 4580);
|
|
20328
20345
|
attr_dev(label0, "for", "CurrentPassword");
|
|
20329
|
-
add_location(label0, file$9,
|
|
20346
|
+
add_location(label0, file$9, 131, 10, 4835);
|
|
20330
20347
|
attr_dev(input0, "id", "CurrentPassword");
|
|
20331
20348
|
attr_dev(input0, "type", "password");
|
|
20332
|
-
add_location(input0, file$9,
|
|
20333
|
-
attr_dev(
|
|
20334
|
-
add_location(
|
|
20349
|
+
add_location(input0, file$9, 132, 10, 4900);
|
|
20350
|
+
attr_dev(div0, "class", div0_class_value = "PlayerChangePasswordBox " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidField" : ""));
|
|
20351
|
+
add_location(div0, file$9, 130, 8, 4738);
|
|
20335
20352
|
attr_dev(label1, "for", "NewPassword");
|
|
20336
|
-
add_location(label1, file$9,
|
|
20353
|
+
add_location(label1, file$9, 143, 10, 8495);
|
|
20337
20354
|
attr_dev(input1, "id", "NewPassword");
|
|
20338
20355
|
attr_dev(input1, "type", "password");
|
|
20339
|
-
add_location(input1, file$9,
|
|
20340
|
-
attr_dev(
|
|
20341
|
-
add_location(
|
|
20356
|
+
add_location(input1, file$9, 144, 10, 8552);
|
|
20357
|
+
attr_dev(div1, "class", div1_class_value = "PlayerChangePasswordBox " + (/*invalidNewPassword*/ ctx[3] ? "InvalidField" : ""));
|
|
20358
|
+
add_location(div1, file$9, 142, 8, 8402);
|
|
20342
20359
|
attr_dev(label2, "for", "ConfirmPassword");
|
|
20343
|
-
add_location(label2, file$9,
|
|
20360
|
+
add_location(label2, file$9, 157, 10, 12246);
|
|
20344
20361
|
attr_dev(input2, "id", "ConfirmPassword");
|
|
20345
20362
|
attr_dev(input2, "type", "password");
|
|
20346
|
-
add_location(input2, file$9,
|
|
20347
|
-
attr_dev(
|
|
20348
|
-
add_location(
|
|
20363
|
+
add_location(input2, file$9, 158, 10, 12311);
|
|
20364
|
+
attr_dev(div2, "class", div2_class_value = "PlayerChangePasswordBox " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidField" : ""));
|
|
20365
|
+
add_location(div2, file$9, 156, 8, 12149);
|
|
20349
20366
|
attr_dev(section0, "class", "PlayerChangePasswordContent");
|
|
20350
|
-
add_location(section0, file$9,
|
|
20351
|
-
attr_dev(
|
|
20352
|
-
attr_dev(
|
|
20353
|
-
add_location(
|
|
20354
|
-
|
|
20355
|
-
attr_dev(div5, "class", div5_class_value = "PlayerChangePasswordCancelButton " + (/*userCurrentPassword*/ ctx[12] || /*userNewPassword*/ ctx[13] || /*userConfirmPassword*/ ctx[14]
|
|
20356
|
-
? ""
|
|
20357
|
-
: "ButtonInactive"));
|
|
20358
|
-
|
|
20359
|
-
attr_dev(div5, "disabled", div5_disabled_value = !(/*userCurrentPassword*/ ctx[12] || /*userNewPassword*/ ctx[13] || /*userConfirmPassword*/ ctx[14]));
|
|
20360
|
-
add_location(div5, file$9, 177, 8, 16237);
|
|
20367
|
+
add_location(section0, file$9, 129, 6, 4684);
|
|
20368
|
+
attr_dev(div3, "class", div3_class_value = "PlayerChangePasswordSaveButton " + (/*activateSubmit*/ ctx[1] ? "" : "ButtonInactive"));
|
|
20369
|
+
attr_dev(div3, "disabled", div3_disabled_value = !/*activateSubmit*/ ctx[1]);
|
|
20370
|
+
add_location(div3, file$9, 170, 8, 15835);
|
|
20361
20371
|
attr_dev(section1, "class", "PlayerChangePasswordButtonsArea");
|
|
20362
|
-
add_location(section1, file$9,
|
|
20372
|
+
add_location(section1, file$9, 169, 6, 15777);
|
|
20363
20373
|
},
|
|
20364
20374
|
m: function mount(target, anchor) {
|
|
20365
20375
|
if (if_block0) if_block0.m(target, anchor);
|
|
20366
20376
|
insert_dev(target, t0, anchor);
|
|
20367
|
-
insert_dev(target,
|
|
20368
|
-
append_dev(
|
|
20377
|
+
insert_dev(target, h2, anchor);
|
|
20378
|
+
append_dev(h2, t1);
|
|
20369
20379
|
insert_dev(target, t2, anchor);
|
|
20370
20380
|
insert_dev(target, section0, anchor);
|
|
20371
|
-
append_dev(section0,
|
|
20372
|
-
append_dev(
|
|
20373
|
-
append_dev(
|
|
20374
|
-
append_dev(
|
|
20381
|
+
append_dev(section0, div0);
|
|
20382
|
+
append_dev(div0, label0);
|
|
20383
|
+
append_dev(div0, t4);
|
|
20384
|
+
append_dev(div0, input0);
|
|
20375
20385
|
set_input_value(input0, /*userCurrentPassword*/ ctx[12]);
|
|
20376
|
-
/*input0_binding*/ ctx[
|
|
20377
|
-
append_dev(
|
|
20378
|
-
if_block1.m(
|
|
20379
|
-
append_dev(
|
|
20380
|
-
if (if_block2) if_block2.m(
|
|
20386
|
+
/*input0_binding*/ ctx[25](input0);
|
|
20387
|
+
append_dev(div0, t5);
|
|
20388
|
+
if_block1.m(div0, null);
|
|
20389
|
+
append_dev(div0, t6);
|
|
20390
|
+
if (if_block2) if_block2.m(div0, null);
|
|
20381
20391
|
append_dev(section0, t7);
|
|
20382
|
-
append_dev(section0,
|
|
20383
|
-
append_dev(
|
|
20384
|
-
append_dev(
|
|
20385
|
-
append_dev(
|
|
20392
|
+
append_dev(section0, div1);
|
|
20393
|
+
append_dev(div1, label1);
|
|
20394
|
+
append_dev(div1, t9);
|
|
20395
|
+
append_dev(div1, input1);
|
|
20386
20396
|
set_input_value(input1, /*userNewPassword*/ ctx[13]);
|
|
20387
|
-
/*input1_binding*/ ctx[
|
|
20388
|
-
append_dev(
|
|
20389
|
-
if_block3.m(
|
|
20390
|
-
append_dev(
|
|
20391
|
-
if (if_block4) if_block4.m(
|
|
20397
|
+
/*input1_binding*/ ctx[29](input1);
|
|
20398
|
+
append_dev(div1, t10);
|
|
20399
|
+
if_block3.m(div1, null);
|
|
20400
|
+
append_dev(div1, t11);
|
|
20401
|
+
if (if_block4) if_block4.m(div1, null);
|
|
20392
20402
|
append_dev(section0, t12);
|
|
20393
|
-
append_dev(section0,
|
|
20394
|
-
append_dev(
|
|
20395
|
-
append_dev(
|
|
20396
|
-
append_dev(
|
|
20403
|
+
append_dev(section0, div2);
|
|
20404
|
+
append_dev(div2, label2);
|
|
20405
|
+
append_dev(div2, t14);
|
|
20406
|
+
append_dev(div2, input2);
|
|
20397
20407
|
set_input_value(input2, /*userConfirmPassword*/ ctx[14]);
|
|
20398
|
-
/*input2_binding*/ ctx[
|
|
20399
|
-
append_dev(
|
|
20400
|
-
if_block5.m(
|
|
20401
|
-
append_dev(
|
|
20402
|
-
if (if_block6) if_block6.m(
|
|
20408
|
+
/*input2_binding*/ ctx[33](input2);
|
|
20409
|
+
append_dev(div2, t15);
|
|
20410
|
+
if_block5.m(div2, null);
|
|
20411
|
+
append_dev(div2, t16);
|
|
20412
|
+
if (if_block6) if_block6.m(div2, null);
|
|
20403
20413
|
insert_dev(target, t17, anchor);
|
|
20404
20414
|
insert_dev(target, section1, anchor);
|
|
20405
|
-
append_dev(section1,
|
|
20406
|
-
append_dev(
|
|
20407
|
-
append_dev(section1, t19);
|
|
20408
|
-
append_dev(section1, div5);
|
|
20409
|
-
append_dev(div5, t20);
|
|
20415
|
+
append_dev(section1, div3);
|
|
20416
|
+
append_dev(div3, t18);
|
|
20410
20417
|
|
|
20411
20418
|
if (!mounted) {
|
|
20412
20419
|
dispose = [
|
|
20413
|
-
listen_dev(input0, "input", /*input0_input_handler*/ ctx[
|
|
20420
|
+
listen_dev(input0, "input", /*input0_input_handler*/ ctx[24]),
|
|
20414
20421
|
listen_dev(
|
|
20415
20422
|
input0,
|
|
20416
20423
|
"blur",
|
|
@@ -20421,7 +20428,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20421
20428
|
false,
|
|
20422
20429
|
false
|
|
20423
20430
|
),
|
|
20424
|
-
listen_dev(input1, "input", /*input1_input_handler*/ ctx[
|
|
20431
|
+
listen_dev(input1, "input", /*input1_input_handler*/ ctx[28]),
|
|
20425
20432
|
listen_dev(
|
|
20426
20433
|
input1,
|
|
20427
20434
|
"blur",
|
|
@@ -20432,7 +20439,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20432
20439
|
false,
|
|
20433
20440
|
false
|
|
20434
20441
|
),
|
|
20435
|
-
listen_dev(input2, "input", /*input2_input_handler*/ ctx[
|
|
20442
|
+
listen_dev(input2, "input", /*input2_input_handler*/ ctx[32]),
|
|
20436
20443
|
listen_dev(
|
|
20437
20444
|
input2,
|
|
20438
20445
|
"blur",
|
|
@@ -20443,8 +20450,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20443
20450
|
false,
|
|
20444
20451
|
false
|
|
20445
20452
|
),
|
|
20446
|
-
listen_dev(
|
|
20447
|
-
listen_dev(div5, "click", /*click_handler_8*/ ctx[38], false, false, false)
|
|
20453
|
+
listen_dev(div3, "click", /*click_handler_7*/ ctx[36], false, false, false)
|
|
20448
20454
|
];
|
|
20449
20455
|
|
|
20450
20456
|
mounted = true;
|
|
@@ -20466,7 +20472,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20466
20472
|
|
|
20467
20473
|
if (if_block1) {
|
|
20468
20474
|
if_block1.c();
|
|
20469
|
-
if_block1.m(
|
|
20475
|
+
if_block1.m(div0, t6);
|
|
20470
20476
|
}
|
|
20471
20477
|
}
|
|
20472
20478
|
|
|
@@ -20474,15 +20480,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20474
20480
|
if (if_block2) ; else {
|
|
20475
20481
|
if_block2 = create_if_block_7$2(ctx);
|
|
20476
20482
|
if_block2.c();
|
|
20477
|
-
if_block2.m(
|
|
20483
|
+
if_block2.m(div0, null);
|
|
20478
20484
|
}
|
|
20479
20485
|
} else if (if_block2) {
|
|
20480
20486
|
if_block2.d(1);
|
|
20481
20487
|
if_block2 = null;
|
|
20482
20488
|
}
|
|
20483
20489
|
|
|
20484
|
-
if (dirty[0] & /*invalidCurrentPassword*/ 4 &&
|
|
20485
|
-
attr_dev(
|
|
20490
|
+
if (dirty[0] & /*invalidCurrentPassword*/ 4 && div0_class_value !== (div0_class_value = "PlayerChangePasswordBox " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidField" : ""))) {
|
|
20491
|
+
attr_dev(div0, "class", div0_class_value);
|
|
20486
20492
|
}
|
|
20487
20493
|
|
|
20488
20494
|
if (dirty[0] & /*userNewPassword*/ 8192 && input1.value !== /*userNewPassword*/ ctx[13]) {
|
|
@@ -20497,7 +20503,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20497
20503
|
|
|
20498
20504
|
if (if_block3) {
|
|
20499
20505
|
if_block3.c();
|
|
20500
|
-
if_block3.m(
|
|
20506
|
+
if_block3.m(div1, t11);
|
|
20501
20507
|
}
|
|
20502
20508
|
}
|
|
20503
20509
|
|
|
@@ -20507,12 +20513,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20507
20513
|
|
|
20508
20514
|
if (if_block4) {
|
|
20509
20515
|
if_block4.c();
|
|
20510
|
-
if_block4.m(
|
|
20516
|
+
if_block4.m(div1, null);
|
|
20511
20517
|
}
|
|
20512
20518
|
}
|
|
20513
20519
|
|
|
20514
|
-
if (dirty[0] & /*invalidNewPassword*/ 8 &&
|
|
20515
|
-
attr_dev(
|
|
20520
|
+
if (dirty[0] & /*invalidNewPassword*/ 8 && div1_class_value !== (div1_class_value = "PlayerChangePasswordBox " + (/*invalidNewPassword*/ ctx[3] ? "InvalidField" : ""))) {
|
|
20521
|
+
attr_dev(div1, "class", div1_class_value);
|
|
20516
20522
|
}
|
|
20517
20523
|
|
|
20518
20524
|
if (dirty[0] & /*userConfirmPassword*/ 16384 && input2.value !== /*userConfirmPassword*/ ctx[14]) {
|
|
@@ -20527,7 +20533,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20527
20533
|
|
|
20528
20534
|
if (if_block5) {
|
|
20529
20535
|
if_block5.c();
|
|
20530
|
-
if_block5.m(
|
|
20536
|
+
if_block5.m(div2, t16);
|
|
20531
20537
|
}
|
|
20532
20538
|
}
|
|
20533
20539
|
|
|
@@ -20535,52 +20541,42 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20535
20541
|
if (if_block6) ; else {
|
|
20536
20542
|
if_block6 = create_if_block_2$4(ctx);
|
|
20537
20543
|
if_block6.c();
|
|
20538
|
-
if_block6.m(
|
|
20544
|
+
if_block6.m(div2, null);
|
|
20539
20545
|
}
|
|
20540
20546
|
} else if (if_block6) {
|
|
20541
20547
|
if_block6.d(1);
|
|
20542
20548
|
if_block6 = null;
|
|
20543
20549
|
}
|
|
20544
20550
|
|
|
20545
|
-
if (dirty[0] & /*invalidConfirmPassword*/ 16 &&
|
|
20546
|
-
attr_dev(
|
|
20547
|
-
}
|
|
20548
|
-
|
|
20549
|
-
if (dirty[0] & /*activateSubmit*/ 2 && div4_class_value !== (div4_class_value = "PlayerChangePasswordSaveButton " + (/*activateSubmit*/ ctx[1] ? "" : "ButtonInactive"))) {
|
|
20550
|
-
attr_dev(div4, "class", div4_class_value);
|
|
20551
|
-
}
|
|
20552
|
-
|
|
20553
|
-
if (dirty[0] & /*activateSubmit*/ 2 && div4_disabled_value !== (div4_disabled_value = !/*activateSubmit*/ ctx[1])) {
|
|
20554
|
-
attr_dev(div4, "disabled", div4_disabled_value);
|
|
20551
|
+
if (dirty[0] & /*invalidConfirmPassword*/ 16 && div2_class_value !== (div2_class_value = "PlayerChangePasswordBox " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidField" : ""))) {
|
|
20552
|
+
attr_dev(div2, "class", div2_class_value);
|
|
20555
20553
|
}
|
|
20556
20554
|
|
|
20557
|
-
if (dirty[0] & /*
|
|
20558
|
-
|
|
20559
|
-
: "ButtonInactive"))) {
|
|
20560
|
-
attr_dev(div5, "class", div5_class_value);
|
|
20555
|
+
if (dirty[0] & /*activateSubmit*/ 2 && div3_class_value !== (div3_class_value = "PlayerChangePasswordSaveButton " + (/*activateSubmit*/ ctx[1] ? "" : "ButtonInactive"))) {
|
|
20556
|
+
attr_dev(div3, "class", div3_class_value);
|
|
20561
20557
|
}
|
|
20562
20558
|
|
|
20563
|
-
if (dirty[0] & /*
|
|
20564
|
-
attr_dev(
|
|
20559
|
+
if (dirty[0] & /*activateSubmit*/ 2 && div3_disabled_value !== (div3_disabled_value = !/*activateSubmit*/ ctx[1])) {
|
|
20560
|
+
attr_dev(div3, "disabled", div3_disabled_value);
|
|
20565
20561
|
}
|
|
20566
20562
|
},
|
|
20567
20563
|
d: function destroy(detaching) {
|
|
20568
20564
|
if (if_block0) if_block0.d(detaching);
|
|
20569
20565
|
if (detaching) detach_dev(t0);
|
|
20570
|
-
if (detaching) detach_dev(
|
|
20566
|
+
if (detaching) detach_dev(h2);
|
|
20571
20567
|
if (detaching) detach_dev(t2);
|
|
20572
20568
|
if (detaching) detach_dev(section0);
|
|
20573
|
-
/*input0_binding*/ ctx[
|
|
20569
|
+
/*input0_binding*/ ctx[25](null);
|
|
20574
20570
|
if_block1.d();
|
|
20575
20571
|
if (if_block2) if_block2.d();
|
|
20576
|
-
/*input1_binding*/ ctx[
|
|
20572
|
+
/*input1_binding*/ ctx[29](null);
|
|
20577
20573
|
if_block3.d();
|
|
20578
20574
|
|
|
20579
20575
|
if (if_block4) {
|
|
20580
20576
|
if_block4.d();
|
|
20581
20577
|
}
|
|
20582
20578
|
|
|
20583
|
-
/*input2_binding*/ ctx[
|
|
20579
|
+
/*input2_binding*/ ctx[33](null);
|
|
20584
20580
|
if_block5.d();
|
|
20585
20581
|
if (if_block6) if_block6.d();
|
|
20586
20582
|
if (detaching) detach_dev(t17);
|
|
@@ -20601,7 +20597,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20601
20597
|
return block;
|
|
20602
20598
|
}
|
|
20603
20599
|
|
|
20604
|
-
// (
|
|
20600
|
+
// (179:6) {#if isMobile}
|
|
20605
20601
|
function create_if_block_10$1(ctx) {
|
|
20606
20602
|
let div;
|
|
20607
20603
|
let svg;
|
|
@@ -20623,8 +20619,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20623
20619
|
span.textContent = "Return to menu";
|
|
20624
20620
|
attr_dev(path, "id", "Chevron_Right");
|
|
20625
20621
|
attr_dev(path, "d", "M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z");
|
|
20626
|
-
add_location(path, file$9,
|
|
20627
|
-
add_location(g, file$9,
|
|
20622
|
+
add_location(path, file$9, 183, 14, 16752);
|
|
20623
|
+
add_location(g, file$9, 182, 12, 16734);
|
|
20628
20624
|
attr_dev(svg, "version", "1.1");
|
|
20629
20625
|
attr_dev(svg, "id", "Capa_1");
|
|
20630
20626
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
@@ -20636,10 +20632,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20636
20632
|
attr_dev(svg, "xml:space", "preserve");
|
|
20637
20633
|
attr_dev(svg, "width", "18px");
|
|
20638
20634
|
attr_dev(svg, "fill", "#58586B");
|
|
20639
|
-
add_location(svg, file$9,
|
|
20640
|
-
add_location(span, file$9,
|
|
20635
|
+
add_location(svg, file$9, 180, 10, 16454);
|
|
20636
|
+
add_location(span, file$9, 188, 10, 17113);
|
|
20641
20637
|
attr_dev(div, "class", "MenuReturnButton");
|
|
20642
|
-
add_location(div, file$9,
|
|
20638
|
+
add_location(div, file$9, 179, 8, 16381);
|
|
20643
20639
|
},
|
|
20644
20640
|
m: function mount(target, anchor) {
|
|
20645
20641
|
insert_dev(target, div, anchor);
|
|
@@ -20650,7 +20646,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20650
20646
|
append_dev(div, span);
|
|
20651
20647
|
|
|
20652
20648
|
if (!mounted) {
|
|
20653
|
-
dispose = listen_dev(div, "click", /*
|
|
20649
|
+
dispose = listen_dev(div, "click", /*click_handler_8*/ ctx[37], false, false, false);
|
|
20654
20650
|
mounted = true;
|
|
20655
20651
|
}
|
|
20656
20652
|
},
|
|
@@ -20666,21 +20662,25 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20666
20662
|
block,
|
|
20667
20663
|
id: create_if_block_10$1.name,
|
|
20668
20664
|
type: "if",
|
|
20669
|
-
source: "(
|
|
20665
|
+
source: "(179:6) {#if isMobile}",
|
|
20670
20666
|
ctx
|
|
20671
20667
|
});
|
|
20672
20668
|
|
|
20673
20669
|
return block;
|
|
20674
20670
|
}
|
|
20675
20671
|
|
|
20676
|
-
// (
|
|
20672
|
+
// (118:6) {#if isMobile}
|
|
20677
20673
|
function create_if_block_9$2(ctx) {
|
|
20678
20674
|
let div;
|
|
20679
20675
|
let svg;
|
|
20680
|
-
let
|
|
20681
|
-
let
|
|
20676
|
+
let defs;
|
|
20677
|
+
let style;
|
|
20682
20678
|
let t0;
|
|
20683
|
-
let
|
|
20679
|
+
let g1;
|
|
20680
|
+
let g0;
|
|
20681
|
+
let path;
|
|
20682
|
+
let t1;
|
|
20683
|
+
let h2;
|
|
20684
20684
|
let mounted;
|
|
20685
20685
|
let dispose;
|
|
20686
20686
|
|
|
@@ -20688,41 +20688,49 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20688
20688
|
c: function create() {
|
|
20689
20689
|
div = element("div");
|
|
20690
20690
|
svg = svg_element("svg");
|
|
20691
|
-
|
|
20691
|
+
defs = svg_element("defs");
|
|
20692
|
+
style = svg_element("style");
|
|
20693
|
+
t0 = text(".aaa{fill:#d0046c;}");
|
|
20694
|
+
g1 = svg_element("g");
|
|
20695
|
+
g0 = svg_element("g");
|
|
20692
20696
|
path = svg_element("path");
|
|
20693
|
-
|
|
20694
|
-
|
|
20695
|
-
|
|
20696
|
-
|
|
20697
|
-
|
|
20698
|
-
|
|
20699
|
-
|
|
20700
|
-
attr_dev(
|
|
20701
|
-
|
|
20697
|
+
t1 = space();
|
|
20698
|
+
h2 = element("h2");
|
|
20699
|
+
h2.textContent = "Change Password";
|
|
20700
|
+
add_location(style, file$9, 119, 99, 4167);
|
|
20701
|
+
add_location(defs, file$9, 119, 93, 4161);
|
|
20702
|
+
attr_dev(path, "class", "aaa");
|
|
20703
|
+
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");
|
|
20704
|
+
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
20705
|
+
add_location(path, file$9, 121, 14, 4304);
|
|
20706
|
+
attr_dev(g0, "transform", "translate(20 158)");
|
|
20707
|
+
add_location(g0, file$9, 120, 12, 4256);
|
|
20708
|
+
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
20709
|
+
add_location(g1, file$9, 119, 140, 4208);
|
|
20702
20710
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
20703
|
-
attr_dev(svg, "
|
|
20704
|
-
attr_dev(svg, "
|
|
20705
|
-
attr_dev(svg, "
|
|
20706
|
-
|
|
20707
|
-
|
|
20708
|
-
|
|
20709
|
-
attr_dev(svg, "width", "18px");
|
|
20710
|
-
attr_dev(svg, "fill", "#58586B");
|
|
20711
|
-
add_location(svg, file$9, 118, 10, 4077);
|
|
20712
|
-
add_location(span, file$9, 126, 10, 4736);
|
|
20711
|
+
attr_dev(svg, "width", "15");
|
|
20712
|
+
attr_dev(svg, "height", "15");
|
|
20713
|
+
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
20714
|
+
add_location(svg, file$9, 119, 10, 4078);
|
|
20715
|
+
attr_dev(h2, "class", "ChangePasswordTitleMobile");
|
|
20716
|
+
add_location(h2, file$9, 124, 10, 4488);
|
|
20713
20717
|
attr_dev(div, "class", "MenuReturnButton");
|
|
20714
|
-
add_location(div, file$9,
|
|
20718
|
+
add_location(div, file$9, 118, 8, 4005);
|
|
20715
20719
|
},
|
|
20716
20720
|
m: function mount(target, anchor) {
|
|
20717
20721
|
insert_dev(target, div, anchor);
|
|
20718
20722
|
append_dev(div, svg);
|
|
20719
|
-
append_dev(svg,
|
|
20720
|
-
append_dev(
|
|
20721
|
-
append_dev(
|
|
20722
|
-
append_dev(
|
|
20723
|
+
append_dev(svg, defs);
|
|
20724
|
+
append_dev(defs, style);
|
|
20725
|
+
append_dev(style, t0);
|
|
20726
|
+
append_dev(svg, g1);
|
|
20727
|
+
append_dev(g1, g0);
|
|
20728
|
+
append_dev(g0, path);
|
|
20729
|
+
append_dev(div, t1);
|
|
20730
|
+
append_dev(div, h2);
|
|
20723
20731
|
|
|
20724
20732
|
if (!mounted) {
|
|
20725
|
-
dispose = listen_dev(div, "click", /*click_handler*/ ctx[
|
|
20733
|
+
dispose = listen_dev(div, "click", /*click_handler*/ ctx[23], false, false, false);
|
|
20726
20734
|
mounted = true;
|
|
20727
20735
|
}
|
|
20728
20736
|
},
|
|
@@ -20738,14 +20746,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20738
20746
|
block,
|
|
20739
20747
|
id: create_if_block_9$2.name,
|
|
20740
20748
|
type: "if",
|
|
20741
|
-
source: "(
|
|
20749
|
+
source: "(118:6) {#if isMobile}",
|
|
20742
20750
|
ctx
|
|
20743
20751
|
});
|
|
20744
20752
|
|
|
20745
20753
|
return block;
|
|
20746
20754
|
}
|
|
20747
20755
|
|
|
20748
|
-
// (
|
|
20756
|
+
// (136:10) {:else}
|
|
20749
20757
|
function create_else_block_3$1(ctx) {
|
|
20750
20758
|
let svg;
|
|
20751
20759
|
let defs;
|
|
@@ -20767,26 +20775,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20767
20775
|
g = svg_element("g");
|
|
20768
20776
|
path = svg_element("path");
|
|
20769
20777
|
circle = svg_element("circle");
|
|
20770
|
-
add_location(style, file$9,
|
|
20771
|
-
add_location(defs, file$9,
|
|
20778
|
+
add_location(style, file$9, 136, 249, 7201);
|
|
20779
|
+
add_location(defs, file$9, 136, 243, 7195);
|
|
20772
20780
|
attr_dev(path, "class", "a");
|
|
20773
20781
|
attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
|
|
20774
20782
|
attr_dev(path, "transform", "translate(0)");
|
|
20775
|
-
add_location(path, file$9,
|
|
20783
|
+
add_location(path, file$9, 136, 327, 7279);
|
|
20776
20784
|
attr_dev(circle, "class", "a");
|
|
20777
20785
|
attr_dev(circle, "cx", "2.779");
|
|
20778
20786
|
attr_dev(circle, "cy", "2.779");
|
|
20779
20787
|
attr_dev(circle, "r", "2.779");
|
|
20780
20788
|
attr_dev(circle, "transform", "translate(20.827 30.303)");
|
|
20781
|
-
add_location(circle, file$9,
|
|
20789
|
+
add_location(circle, file$9, 136, 1097, 8049);
|
|
20782
20790
|
attr_dev(g, "transform", "translate(-14.185 -27.832)");
|
|
20783
|
-
add_location(g, file$9,
|
|
20791
|
+
add_location(g, file$9, 136, 285, 7237);
|
|
20784
20792
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidToggle" : ""));
|
|
20785
20793
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
20786
20794
|
attr_dev(svg, "width", "18.843");
|
|
20787
20795
|
attr_dev(svg, "height", "10.5");
|
|
20788
20796
|
attr_dev(svg, "viewBox", "0 0 18.843 10.5");
|
|
20789
|
-
add_location(svg, file$9,
|
|
20797
|
+
add_location(svg, file$9, 136, 12, 6964);
|
|
20790
20798
|
},
|
|
20791
20799
|
m: function mount(target, anchor) {
|
|
20792
20800
|
insert_dev(target, svg, anchor);
|
|
@@ -20798,7 +20806,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20798
20806
|
append_dev(g, circle);
|
|
20799
20807
|
|
|
20800
20808
|
if (!mounted) {
|
|
20801
|
-
dispose = listen_dev(svg, "click", /*click_handler_2*/ ctx[
|
|
20809
|
+
dispose = listen_dev(svg, "click", /*click_handler_2*/ ctx[27], false, false, false);
|
|
20802
20810
|
mounted = true;
|
|
20803
20811
|
}
|
|
20804
20812
|
},
|
|
@@ -20818,14 +20826,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20818
20826
|
block,
|
|
20819
20827
|
id: create_else_block_3$1.name,
|
|
20820
20828
|
type: "else",
|
|
20821
|
-
source: "(
|
|
20829
|
+
source: "(136:10) {:else}",
|
|
20822
20830
|
ctx
|
|
20823
20831
|
});
|
|
20824
20832
|
|
|
20825
20833
|
return block;
|
|
20826
20834
|
}
|
|
20827
20835
|
|
|
20828
|
-
// (
|
|
20836
|
+
// (134:10) {#if isCurrentPasswordVisible}
|
|
20829
20837
|
function create_if_block_8$2(ctx) {
|
|
20830
20838
|
let svg;
|
|
20831
20839
|
let defs;
|
|
@@ -20859,48 +20867,48 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20859
20867
|
path2 = svg_element("path");
|
|
20860
20868
|
path3 = svg_element("path");
|
|
20861
20869
|
rect = svg_element("rect");
|
|
20862
|
-
add_location(style, file$9,
|
|
20863
|
-
add_location(defs, file$9,
|
|
20870
|
+
add_location(style, file$9, 134, 253, 5423);
|
|
20871
|
+
add_location(defs, file$9, 134, 247, 5417);
|
|
20864
20872
|
attr_dev(circle, "class", "a");
|
|
20865
20873
|
attr_dev(circle, "cx", "0.05");
|
|
20866
20874
|
attr_dev(circle, "cy", "0.05");
|
|
20867
20875
|
attr_dev(circle, "r", "0.05");
|
|
20868
20876
|
attr_dev(circle, "transform", "translate(121.017 31.148)");
|
|
20869
|
-
add_location(circle, file$9,
|
|
20877
|
+
add_location(circle, file$9, 134, 332, 5502);
|
|
20870
20878
|
attr_dev(path0, "class", "a");
|
|
20871
20879
|
attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
|
|
20872
20880
|
attr_dev(path0, "transform", "translate(-142.164 -39.123)");
|
|
20873
|
-
add_location(path0, file$9,
|
|
20881
|
+
add_location(path0, file$9, 134, 458, 5628);
|
|
20874
20882
|
attr_dev(path1, "class", "a");
|
|
20875
20883
|
attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
|
|
20876
20884
|
attr_dev(path1, "transform", "translate(-136.413 -42.068)");
|
|
20877
|
-
add_location(path1, file$9,
|
|
20885
|
+
add_location(path1, file$9, 134, 566, 5736);
|
|
20878
20886
|
attr_dev(g0, "transform", "translate(117.499 27.37)");
|
|
20879
|
-
add_location(g0, file$9,
|
|
20887
|
+
add_location(g0, file$9, 134, 418, 5588);
|
|
20880
20888
|
attr_dev(path2, "class", "a");
|
|
20881
20889
|
attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
|
|
20882
20890
|
attr_dev(path2, "transform", "translate(-110.856 -33.157)");
|
|
20883
|
-
add_location(path2, file$9,
|
|
20891
|
+
add_location(path2, file$9, 134, 717, 5887);
|
|
20884
20892
|
attr_dev(path3, "class", "a");
|
|
20885
20893
|
attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
|
|
20886
20894
|
attr_dev(path3, "transform", "translate(-130.743 -29.617)");
|
|
20887
|
-
add_location(path3, file$9,
|
|
20895
|
+
add_location(path3, file$9, 134, 1176, 6346);
|
|
20888
20896
|
attr_dev(g1, "transform", "translate(110.856 24.899)");
|
|
20889
|
-
add_location(g1, file$9,
|
|
20897
|
+
add_location(g1, file$9, 134, 676, 5846);
|
|
20890
20898
|
attr_dev(rect, "class", "a");
|
|
20891
20899
|
attr_dev(rect, "width", "0.972");
|
|
20892
20900
|
attr_dev(rect, "height", "15.861");
|
|
20893
20901
|
attr_dev(rect, "rx", "0.486");
|
|
20894
20902
|
attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
|
|
20895
|
-
add_location(rect, file$9,
|
|
20903
|
+
add_location(rect, file$9, 134, 1641, 6811);
|
|
20896
20904
|
attr_dev(g2, "transform", "translate(-110.856 -23.242)");
|
|
20897
|
-
add_location(g2, file$9,
|
|
20905
|
+
add_location(g2, file$9, 134, 289, 5459);
|
|
20898
20906
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidCurrentPassword*/ ctx[2] ? "InvalidToggle" : ""));
|
|
20899
20907
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
20900
20908
|
attr_dev(svg, "width", "18.844");
|
|
20901
20909
|
attr_dev(svg, "height", "12.887");
|
|
20902
20910
|
attr_dev(svg, "viewBox", "0 0 18.844 12.887");
|
|
20903
|
-
add_location(svg, file$9,
|
|
20911
|
+
add_location(svg, file$9, 134, 12, 5182);
|
|
20904
20912
|
},
|
|
20905
20913
|
m: function mount(target, anchor) {
|
|
20906
20914
|
insert_dev(target, svg, anchor);
|
|
@@ -20918,7 +20926,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20918
20926
|
append_dev(g2, rect);
|
|
20919
20927
|
|
|
20920
20928
|
if (!mounted) {
|
|
20921
|
-
dispose = listen_dev(svg, "click", /*click_handler_1*/ ctx[
|
|
20929
|
+
dispose = listen_dev(svg, "click", /*click_handler_1*/ ctx[26], false, false, false);
|
|
20922
20930
|
mounted = true;
|
|
20923
20931
|
}
|
|
20924
20932
|
},
|
|
@@ -20938,14 +20946,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20938
20946
|
block,
|
|
20939
20947
|
id: create_if_block_8$2.name,
|
|
20940
20948
|
type: "if",
|
|
20941
|
-
source: "(
|
|
20949
|
+
source: "(134:10) {#if isCurrentPasswordVisible}",
|
|
20942
20950
|
ctx
|
|
20943
20951
|
});
|
|
20944
20952
|
|
|
20945
20953
|
return block;
|
|
20946
20954
|
}
|
|
20947
20955
|
|
|
20948
|
-
// (
|
|
20956
|
+
// (139:10) {#if invalidCurrentPassword}
|
|
20949
20957
|
function create_if_block_7$2(ctx) {
|
|
20950
20958
|
let p;
|
|
20951
20959
|
|
|
@@ -20954,7 +20962,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20954
20962
|
p = element("p");
|
|
20955
20963
|
p.textContent = "The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.";
|
|
20956
20964
|
attr_dev(p, "class", "InvalidInput");
|
|
20957
|
-
add_location(p, file$9,
|
|
20965
|
+
add_location(p, file$9, 139, 12, 8215);
|
|
20958
20966
|
},
|
|
20959
20967
|
m: function mount(target, anchor) {
|
|
20960
20968
|
insert_dev(target, p, anchor);
|
|
@@ -20968,14 +20976,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20968
20976
|
block,
|
|
20969
20977
|
id: create_if_block_7$2.name,
|
|
20970
20978
|
type: "if",
|
|
20971
|
-
source: "(
|
|
20979
|
+
source: "(139:10) {#if invalidCurrentPassword}",
|
|
20972
20980
|
ctx
|
|
20973
20981
|
});
|
|
20974
20982
|
|
|
20975
20983
|
return block;
|
|
20976
20984
|
}
|
|
20977
20985
|
|
|
20978
|
-
// (
|
|
20986
|
+
// (148:10) {:else}
|
|
20979
20987
|
function create_else_block_2$1(ctx) {
|
|
20980
20988
|
let svg;
|
|
20981
20989
|
let defs;
|
|
@@ -20997,26 +21005,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
20997
21005
|
g = svg_element("g");
|
|
20998
21006
|
path = svg_element("path");
|
|
20999
21007
|
circle = svg_element("circle");
|
|
21000
|
-
add_location(style, file$9,
|
|
21001
|
-
add_location(defs, file$9,
|
|
21008
|
+
add_location(style, file$9, 148, 241, 10809);
|
|
21009
|
+
add_location(defs, file$9, 148, 235, 10803);
|
|
21002
21010
|
attr_dev(path, "class", "a");
|
|
21003
21011
|
attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
|
|
21004
21012
|
attr_dev(path, "transform", "translate(0)");
|
|
21005
|
-
add_location(path, file$9,
|
|
21013
|
+
add_location(path, file$9, 148, 319, 10887);
|
|
21006
21014
|
attr_dev(circle, "class", "a");
|
|
21007
21015
|
attr_dev(circle, "cx", "2.779");
|
|
21008
21016
|
attr_dev(circle, "cy", "2.779");
|
|
21009
21017
|
attr_dev(circle, "r", "2.779");
|
|
21010
21018
|
attr_dev(circle, "transform", "translate(20.827 30.303)");
|
|
21011
|
-
add_location(circle, file$9,
|
|
21019
|
+
add_location(circle, file$9, 148, 1089, 11657);
|
|
21012
21020
|
attr_dev(g, "transform", "translate(-14.185 -27.832)");
|
|
21013
|
-
add_location(g, file$9,
|
|
21021
|
+
add_location(g, file$9, 148, 277, 10845);
|
|
21014
21022
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidNewPassword*/ ctx[3] ? "InvalidToggle" : ""));
|
|
21015
21023
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
21016
21024
|
attr_dev(svg, "width", "18.843");
|
|
21017
21025
|
attr_dev(svg, "height", "10.5");
|
|
21018
21026
|
attr_dev(svg, "viewBox", "0 0 18.843 10.5");
|
|
21019
|
-
add_location(svg, file$9,
|
|
21027
|
+
add_location(svg, file$9, 148, 12, 10580);
|
|
21020
21028
|
},
|
|
21021
21029
|
m: function mount(target, anchor) {
|
|
21022
21030
|
insert_dev(target, svg, anchor);
|
|
@@ -21028,7 +21036,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21028
21036
|
append_dev(g, circle);
|
|
21029
21037
|
|
|
21030
21038
|
if (!mounted) {
|
|
21031
|
-
dispose = listen_dev(svg, "click", /*click_handler_4*/ ctx[
|
|
21039
|
+
dispose = listen_dev(svg, "click", /*click_handler_4*/ ctx[31], false, false, false);
|
|
21032
21040
|
mounted = true;
|
|
21033
21041
|
}
|
|
21034
21042
|
},
|
|
@@ -21048,14 +21056,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21048
21056
|
block,
|
|
21049
21057
|
id: create_else_block_2$1.name,
|
|
21050
21058
|
type: "else",
|
|
21051
|
-
source: "(
|
|
21059
|
+
source: "(148:10) {:else}",
|
|
21052
21060
|
ctx
|
|
21053
21061
|
});
|
|
21054
21062
|
|
|
21055
21063
|
return block;
|
|
21056
21064
|
}
|
|
21057
21065
|
|
|
21058
|
-
// (
|
|
21066
|
+
// (146:10) {#if isNewPasswordVisible}
|
|
21059
21067
|
function create_if_block_6$3(ctx) {
|
|
21060
21068
|
let svg;
|
|
21061
21069
|
let defs;
|
|
@@ -21089,48 +21097,48 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21089
21097
|
path2 = svg_element("path");
|
|
21090
21098
|
path3 = svg_element("path");
|
|
21091
21099
|
rect = svg_element("rect");
|
|
21092
|
-
add_location(style, file$9,
|
|
21093
|
-
add_location(defs, file$9,
|
|
21100
|
+
add_location(style, file$9, 146, 245, 9039);
|
|
21101
|
+
add_location(defs, file$9, 146, 239, 9033);
|
|
21094
21102
|
attr_dev(circle, "class", "a");
|
|
21095
21103
|
attr_dev(circle, "cx", "0.05");
|
|
21096
21104
|
attr_dev(circle, "cy", "0.05");
|
|
21097
21105
|
attr_dev(circle, "r", "0.05");
|
|
21098
21106
|
attr_dev(circle, "transform", "translate(121.017 31.148)");
|
|
21099
|
-
add_location(circle, file$9,
|
|
21107
|
+
add_location(circle, file$9, 146, 324, 9118);
|
|
21100
21108
|
attr_dev(path0, "class", "a");
|
|
21101
21109
|
attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
|
|
21102
21110
|
attr_dev(path0, "transform", "translate(-142.164 -39.123)");
|
|
21103
|
-
add_location(path0, file$9,
|
|
21111
|
+
add_location(path0, file$9, 146, 450, 9244);
|
|
21104
21112
|
attr_dev(path1, "class", "a");
|
|
21105
21113
|
attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
|
|
21106
21114
|
attr_dev(path1, "transform", "translate(-136.413 -42.068)");
|
|
21107
|
-
add_location(path1, file$9,
|
|
21115
|
+
add_location(path1, file$9, 146, 558, 9352);
|
|
21108
21116
|
attr_dev(g0, "transform", "translate(117.499 27.37)");
|
|
21109
|
-
add_location(g0, file$9,
|
|
21117
|
+
add_location(g0, file$9, 146, 410, 9204);
|
|
21110
21118
|
attr_dev(path2, "class", "a");
|
|
21111
21119
|
attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
|
|
21112
21120
|
attr_dev(path2, "transform", "translate(-110.856 -33.157)");
|
|
21113
|
-
add_location(path2, file$9,
|
|
21121
|
+
add_location(path2, file$9, 146, 709, 9503);
|
|
21114
21122
|
attr_dev(path3, "class", "a");
|
|
21115
21123
|
attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
|
|
21116
21124
|
attr_dev(path3, "transform", "translate(-130.743 -29.617)");
|
|
21117
|
-
add_location(path3, file$9,
|
|
21125
|
+
add_location(path3, file$9, 146, 1168, 9962);
|
|
21118
21126
|
attr_dev(g1, "transform", "translate(110.856 24.899)");
|
|
21119
|
-
add_location(g1, file$9,
|
|
21127
|
+
add_location(g1, file$9, 146, 668, 9462);
|
|
21120
21128
|
attr_dev(rect, "class", "a");
|
|
21121
21129
|
attr_dev(rect, "width", "0.972");
|
|
21122
21130
|
attr_dev(rect, "height", "15.861");
|
|
21123
21131
|
attr_dev(rect, "rx", "0.486");
|
|
21124
21132
|
attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
|
|
21125
|
-
add_location(rect, file$9,
|
|
21133
|
+
add_location(rect, file$9, 146, 1633, 10427);
|
|
21126
21134
|
attr_dev(g2, "transform", "translate(-110.856 -23.242)");
|
|
21127
|
-
add_location(g2, file$9,
|
|
21135
|
+
add_location(g2, file$9, 146, 281, 9075);
|
|
21128
21136
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidNewPassword*/ ctx[3] ? "InvalidToggle" : ""));
|
|
21129
21137
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
21130
21138
|
attr_dev(svg, "width", "18.844");
|
|
21131
21139
|
attr_dev(svg, "height", "12.887");
|
|
21132
21140
|
attr_dev(svg, "viewBox", "0 0 18.844 12.887");
|
|
21133
|
-
add_location(svg, file$9,
|
|
21141
|
+
add_location(svg, file$9, 146, 12, 8806);
|
|
21134
21142
|
},
|
|
21135
21143
|
m: function mount(target, anchor) {
|
|
21136
21144
|
insert_dev(target, svg, anchor);
|
|
@@ -21148,7 +21156,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21148
21156
|
append_dev(g2, rect);
|
|
21149
21157
|
|
|
21150
21158
|
if (!mounted) {
|
|
21151
|
-
dispose = listen_dev(svg, "click", /*click_handler_3*/ ctx[
|
|
21159
|
+
dispose = listen_dev(svg, "click", /*click_handler_3*/ ctx[30], false, false, false);
|
|
21152
21160
|
mounted = true;
|
|
21153
21161
|
}
|
|
21154
21162
|
},
|
|
@@ -21168,14 +21176,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21168
21176
|
block,
|
|
21169
21177
|
id: create_if_block_6$3.name,
|
|
21170
21178
|
type: "if",
|
|
21171
|
-
source: "(
|
|
21179
|
+
source: "(146:10) {#if isNewPasswordVisible}",
|
|
21172
21180
|
ctx
|
|
21173
21181
|
});
|
|
21174
21182
|
|
|
21175
21183
|
return block;
|
|
21176
21184
|
}
|
|
21177
21185
|
|
|
21178
|
-
// (
|
|
21186
|
+
// (153:39)
|
|
21179
21187
|
function create_if_block_5$4(ctx) {
|
|
21180
21188
|
let p;
|
|
21181
21189
|
|
|
@@ -21184,7 +21192,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21184
21192
|
p = element("p");
|
|
21185
21193
|
p.textContent = "The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.";
|
|
21186
21194
|
attr_dev(p, "class", "InvalidInput");
|
|
21187
|
-
add_location(p, file$9,
|
|
21195
|
+
add_location(p, file$9, 153, 12, 11962);
|
|
21188
21196
|
},
|
|
21189
21197
|
m: function mount(target, anchor) {
|
|
21190
21198
|
insert_dev(target, p, anchor);
|
|
@@ -21198,14 +21206,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21198
21206
|
block,
|
|
21199
21207
|
id: create_if_block_5$4.name,
|
|
21200
21208
|
type: "if",
|
|
21201
|
-
source: "(
|
|
21209
|
+
source: "(153:39) ",
|
|
21202
21210
|
ctx
|
|
21203
21211
|
});
|
|
21204
21212
|
|
|
21205
21213
|
return block;
|
|
21206
21214
|
}
|
|
21207
21215
|
|
|
21208
|
-
// (
|
|
21216
|
+
// (151:10) {#if oldPasswordSameAsNew}
|
|
21209
21217
|
function create_if_block_4$4(ctx) {
|
|
21210
21218
|
let p;
|
|
21211
21219
|
|
|
@@ -21214,7 +21222,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21214
21222
|
p = element("p");
|
|
21215
21223
|
p.textContent = "The new password must be different from the old password.";
|
|
21216
21224
|
attr_dev(p, "class", "InvalidInputNew");
|
|
21217
|
-
add_location(p, file$9,
|
|
21225
|
+
add_location(p, file$9, 151, 12, 11821);
|
|
21218
21226
|
},
|
|
21219
21227
|
m: function mount(target, anchor) {
|
|
21220
21228
|
insert_dev(target, p, anchor);
|
|
@@ -21228,14 +21236,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21228
21236
|
block,
|
|
21229
21237
|
id: create_if_block_4$4.name,
|
|
21230
21238
|
type: "if",
|
|
21231
|
-
source: "(
|
|
21239
|
+
source: "(151:10) {#if oldPasswordSameAsNew}",
|
|
21232
21240
|
ctx
|
|
21233
21241
|
});
|
|
21234
21242
|
|
|
21235
21243
|
return block;
|
|
21236
21244
|
}
|
|
21237
21245
|
|
|
21238
|
-
// (
|
|
21246
|
+
// (162:10) {:else}
|
|
21239
21247
|
function create_else_block_1$2(ctx) {
|
|
21240
21248
|
let svg;
|
|
21241
21249
|
let defs;
|
|
@@ -21257,26 +21265,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21257
21265
|
g = svg_element("g");
|
|
21258
21266
|
path = svg_element("path");
|
|
21259
21267
|
circle = svg_element("circle");
|
|
21260
|
-
add_location(style, file$9,
|
|
21261
|
-
add_location(defs, file$9,
|
|
21268
|
+
add_location(style, file$9, 162, 249, 14612);
|
|
21269
|
+
add_location(defs, file$9, 162, 243, 14606);
|
|
21262
21270
|
attr_dev(path, "class", "a");
|
|
21263
21271
|
attr_dev(path, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z");
|
|
21264
21272
|
attr_dev(path, "transform", "translate(0)");
|
|
21265
|
-
add_location(path, file$9,
|
|
21273
|
+
add_location(path, file$9, 162, 327, 14690);
|
|
21266
21274
|
attr_dev(circle, "class", "a");
|
|
21267
21275
|
attr_dev(circle, "cx", "2.779");
|
|
21268
21276
|
attr_dev(circle, "cy", "2.779");
|
|
21269
21277
|
attr_dev(circle, "r", "2.779");
|
|
21270
21278
|
attr_dev(circle, "transform", "translate(20.827 30.303)");
|
|
21271
|
-
add_location(circle, file$9,
|
|
21279
|
+
add_location(circle, file$9, 162, 1097, 15460);
|
|
21272
21280
|
attr_dev(g, "transform", "translate(-14.185 -27.832)");
|
|
21273
|
-
add_location(g, file$9,
|
|
21281
|
+
add_location(g, file$9, 162, 285, 14648);
|
|
21274
21282
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidToggle" : ""));
|
|
21275
21283
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
21276
21284
|
attr_dev(svg, "width", "18.843");
|
|
21277
21285
|
attr_dev(svg, "height", "10.5");
|
|
21278
21286
|
attr_dev(svg, "viewBox", "0 0 18.843 10.5");
|
|
21279
|
-
add_location(svg, file$9,
|
|
21287
|
+
add_location(svg, file$9, 162, 12, 14375);
|
|
21280
21288
|
},
|
|
21281
21289
|
m: function mount(target, anchor) {
|
|
21282
21290
|
insert_dev(target, svg, anchor);
|
|
@@ -21288,7 +21296,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21288
21296
|
append_dev(g, circle);
|
|
21289
21297
|
|
|
21290
21298
|
if (!mounted) {
|
|
21291
|
-
dispose = listen_dev(svg, "click", /*click_handler_6*/ ctx[
|
|
21299
|
+
dispose = listen_dev(svg, "click", /*click_handler_6*/ ctx[35], false, false, false);
|
|
21292
21300
|
mounted = true;
|
|
21293
21301
|
}
|
|
21294
21302
|
},
|
|
@@ -21308,14 +21316,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21308
21316
|
block,
|
|
21309
21317
|
id: create_else_block_1$2.name,
|
|
21310
21318
|
type: "else",
|
|
21311
|
-
source: "(
|
|
21319
|
+
source: "(162:10) {:else}",
|
|
21312
21320
|
ctx
|
|
21313
21321
|
});
|
|
21314
21322
|
|
|
21315
21323
|
return block;
|
|
21316
21324
|
}
|
|
21317
21325
|
|
|
21318
|
-
// (
|
|
21326
|
+
// (160:10) {#if isConfirmPasswordVisible}
|
|
21319
21327
|
function create_if_block_3$4(ctx) {
|
|
21320
21328
|
let svg;
|
|
21321
21329
|
let defs;
|
|
@@ -21349,48 +21357,48 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21349
21357
|
path2 = svg_element("path");
|
|
21350
21358
|
path3 = svg_element("path");
|
|
21351
21359
|
rect = svg_element("rect");
|
|
21352
|
-
add_location(style, file$9,
|
|
21353
|
-
add_location(defs, file$9,
|
|
21360
|
+
add_location(style, file$9, 160, 253, 12834);
|
|
21361
|
+
add_location(defs, file$9, 160, 247, 12828);
|
|
21354
21362
|
attr_dev(circle, "class", "a");
|
|
21355
21363
|
attr_dev(circle, "cx", "0.05");
|
|
21356
21364
|
attr_dev(circle, "cy", "0.05");
|
|
21357
21365
|
attr_dev(circle, "r", "0.05");
|
|
21358
21366
|
attr_dev(circle, "transform", "translate(121.017 31.148)");
|
|
21359
|
-
add_location(circle, file$9,
|
|
21367
|
+
add_location(circle, file$9, 160, 332, 12913);
|
|
21360
21368
|
attr_dev(path0, "class", "a");
|
|
21361
21369
|
attr_dev(path0, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z");
|
|
21362
21370
|
attr_dev(path0, "transform", "translate(-142.164 -39.123)");
|
|
21363
|
-
add_location(path0, file$9,
|
|
21371
|
+
add_location(path0, file$9, 160, 458, 13039);
|
|
21364
21372
|
attr_dev(path1, "class", "a");
|
|
21365
21373
|
attr_dev(path1, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z");
|
|
21366
21374
|
attr_dev(path1, "transform", "translate(-136.413 -42.068)");
|
|
21367
|
-
add_location(path1, file$9,
|
|
21375
|
+
add_location(path1, file$9, 160, 566, 13147);
|
|
21368
21376
|
attr_dev(g0, "transform", "translate(117.499 27.37)");
|
|
21369
|
-
add_location(g0, file$9,
|
|
21377
|
+
add_location(g0, file$9, 160, 418, 12999);
|
|
21370
21378
|
attr_dev(path2, "class", "a");
|
|
21371
21379
|
attr_dev(path2, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z");
|
|
21372
21380
|
attr_dev(path2, "transform", "translate(-110.856 -33.157)");
|
|
21373
|
-
add_location(path2, file$9,
|
|
21381
|
+
add_location(path2, file$9, 160, 717, 13298);
|
|
21374
21382
|
attr_dev(path3, "class", "a");
|
|
21375
21383
|
attr_dev(path3, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z");
|
|
21376
21384
|
attr_dev(path3, "transform", "translate(-130.743 -29.617)");
|
|
21377
|
-
add_location(path3, file$9,
|
|
21385
|
+
add_location(path3, file$9, 160, 1176, 13757);
|
|
21378
21386
|
attr_dev(g1, "transform", "translate(110.856 24.899)");
|
|
21379
|
-
add_location(g1, file$9,
|
|
21387
|
+
add_location(g1, file$9, 160, 676, 13257);
|
|
21380
21388
|
attr_dev(rect, "class", "a");
|
|
21381
21389
|
attr_dev(rect, "width", "0.972");
|
|
21382
21390
|
attr_dev(rect, "height", "15.861");
|
|
21383
21391
|
attr_dev(rect, "rx", "0.486");
|
|
21384
21392
|
attr_dev(rect, "transform", "translate(114.827 23.858) rotate(-39.315)");
|
|
21385
|
-
add_location(rect, file$9,
|
|
21393
|
+
add_location(rect, file$9, 160, 1641, 14222);
|
|
21386
21394
|
attr_dev(g2, "transform", "translate(-110.856 -23.242)");
|
|
21387
|
-
add_location(g2, file$9,
|
|
21395
|
+
add_location(g2, file$9, 160, 289, 12870);
|
|
21388
21396
|
attr_dev(svg, "class", svg_class_value = "TogglePasswordVisibility " + (/*invalidConfirmPassword*/ ctx[4] ? "InvalidToggle" : ""));
|
|
21389
21397
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
21390
21398
|
attr_dev(svg, "width", "18.844");
|
|
21391
21399
|
attr_dev(svg, "height", "12.887");
|
|
21392
21400
|
attr_dev(svg, "viewBox", "0 0 18.844 12.887");
|
|
21393
|
-
add_location(svg, file$9,
|
|
21401
|
+
add_location(svg, file$9, 160, 12, 12593);
|
|
21394
21402
|
},
|
|
21395
21403
|
m: function mount(target, anchor) {
|
|
21396
21404
|
insert_dev(target, svg, anchor);
|
|
@@ -21408,7 +21416,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21408
21416
|
append_dev(g2, rect);
|
|
21409
21417
|
|
|
21410
21418
|
if (!mounted) {
|
|
21411
|
-
dispose = listen_dev(svg, "click", /*click_handler_5*/ ctx[
|
|
21419
|
+
dispose = listen_dev(svg, "click", /*click_handler_5*/ ctx[34], false, false, false);
|
|
21412
21420
|
mounted = true;
|
|
21413
21421
|
}
|
|
21414
21422
|
},
|
|
@@ -21428,14 +21436,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21428
21436
|
block,
|
|
21429
21437
|
id: create_if_block_3$4.name,
|
|
21430
21438
|
type: "if",
|
|
21431
|
-
source: "(
|
|
21439
|
+
source: "(160:10) {#if isConfirmPasswordVisible}",
|
|
21432
21440
|
ctx
|
|
21433
21441
|
});
|
|
21434
21442
|
|
|
21435
21443
|
return block;
|
|
21436
21444
|
}
|
|
21437
21445
|
|
|
21438
|
-
// (
|
|
21446
|
+
// (165:10) {#if invalidConfirmPassword}
|
|
21439
21447
|
function create_if_block_2$4(ctx) {
|
|
21440
21448
|
let p;
|
|
21441
21449
|
|
|
@@ -21444,7 +21452,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21444
21452
|
p = element("p");
|
|
21445
21453
|
p.textContent = "Password must match the new password and must follow the same rules.";
|
|
21446
21454
|
attr_dev(p, "class", "InvalidInput");
|
|
21447
|
-
add_location(p, file$9,
|
|
21455
|
+
add_location(p, file$9, 165, 12, 15626);
|
|
21448
21456
|
},
|
|
21449
21457
|
m: function mount(target, anchor) {
|
|
21450
21458
|
insert_dev(target, p, anchor);
|
|
@@ -21458,7 +21466,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21458
21466
|
block,
|
|
21459
21467
|
id: create_if_block_2$4.name,
|
|
21460
21468
|
type: "if",
|
|
21461
|
-
source: "(
|
|
21469
|
+
source: "(165:10) {#if invalidConfirmPassword}",
|
|
21462
21470
|
ctx
|
|
21463
21471
|
});
|
|
21464
21472
|
|
|
@@ -21691,9 +21699,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21691
21699
|
const click_handler_5 = () => togglePassword("userConfirmPassword");
|
|
21692
21700
|
const click_handler_6 = () => togglePassword("userConfirmPassword");
|
|
21693
21701
|
const click_handler_7 = () => submitNewPassword();
|
|
21694
|
-
const click_handler_8 = () =>
|
|
21695
|
-
const click_handler_9 = () =>
|
|
21696
|
-
const click_handler_10 = () => backToCasino();
|
|
21702
|
+
const click_handler_8 = () => toggleScreen();
|
|
21703
|
+
const click_handler_9 = () => backToCasino();
|
|
21697
21704
|
|
|
21698
21705
|
$$self.$capture_state = () => ({
|
|
21699
21706
|
onMount,
|
|
@@ -21780,7 +21787,6 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21780
21787
|
togglePassword,
|
|
21781
21788
|
validatePassword,
|
|
21782
21789
|
submitNewPassword,
|
|
21783
|
-
clearFields,
|
|
21784
21790
|
toggleScreen,
|
|
21785
21791
|
backToCasino,
|
|
21786
21792
|
click_handler,
|
|
@@ -21798,15 +21804,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21798
21804
|
click_handler_6,
|
|
21799
21805
|
click_handler_7,
|
|
21800
21806
|
click_handler_8,
|
|
21801
|
-
click_handler_9
|
|
21802
|
-
click_handler_10
|
|
21807
|
+
click_handler_9
|
|
21803
21808
|
];
|
|
21804
21809
|
}
|
|
21805
21810
|
|
|
21806
21811
|
class PlayerChangePassword extends SvelteElement {
|
|
21807
21812
|
constructor(options) {
|
|
21808
21813
|
super();
|
|
21809
|
-
this.shadowRoot.innerHTML = `<style>.PlayerChangePasswordWrapper{color:#07072A;padding:50px;max-width:400px}.
|
|
21814
|
+
this.shadowRoot.innerHTML = `<style>.PlayerChangePasswordWrapper{color:#07072A;padding:50px;max-width:400px}.ChangePasswordTitle{font-size:26px;color:#D0046C;font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:#D0046C}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px}.PlayerChangePasswordSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordSaveButton{background:#D0046C;border:1px solid #D0046C;color:#fff}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerChangePasswordBox input{font-size:14px;font-weight:300;color:#07072A;padding:10px;line-height:16px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox.InvalidField input{border:1px solid #D0046C;background:#FBECF4;color:#D0046C}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:#D0046C}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:#58586B}.InvalidInput,.InvalidInputNew{color:#D0046C;font-size:10px;position:absolute;bottom:-25px;margin:0;line-height:10px}.InvalidInputNew{bottom:-24px}.ChangedPasswordSuccessfully{color:#fff;position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid #16CE16;border-radius:50px;display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:solid #16CE16;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:20px;font-weight:400;margin:10px 0;color:#16CE16}.ChangedPasswordSuccessfully p{margin:0;font-size:14px;font-weight:300}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid #D0046C;background:#D0046C;max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:#D0046C;background:#fff}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;height:100%}.PlayerChangePasswordWrapperMobile:after{content:'';position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:#D0046C;font-size:14px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{color:#58586B;font-size:12px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{color:#58586B;font-size:12px;font-weight:300}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-size:12px;height:44px;color:#58586B}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:#58586B}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:40px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{height:30px;font-size:20px;line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{font-size:18px;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:#fff}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:#58586B}</style>`;
|
|
21810
21815
|
|
|
21811
21816
|
init(
|
|
21812
21817
|
this,
|
|
@@ -21843,14 +21848,18 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21843
21848
|
return child_ctx;
|
|
21844
21849
|
}
|
|
21845
21850
|
|
|
21846
|
-
// (23:
|
|
21851
|
+
// (23:4) {#if isMobile}
|
|
21847
21852
|
function create_if_block$8(ctx) {
|
|
21848
21853
|
let div;
|
|
21849
21854
|
let svg;
|
|
21850
|
-
let
|
|
21851
|
-
let
|
|
21855
|
+
let defs;
|
|
21856
|
+
let style;
|
|
21852
21857
|
let t0;
|
|
21853
|
-
let
|
|
21858
|
+
let g1;
|
|
21859
|
+
let g0;
|
|
21860
|
+
let path;
|
|
21861
|
+
let t1;
|
|
21862
|
+
let h2;
|
|
21854
21863
|
let mounted;
|
|
21855
21864
|
let dispose;
|
|
21856
21865
|
|
|
@@ -21858,38 +21867,46 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21858
21867
|
c: function create() {
|
|
21859
21868
|
div = element("div");
|
|
21860
21869
|
svg = svg_element("svg");
|
|
21861
|
-
|
|
21870
|
+
defs = svg_element("defs");
|
|
21871
|
+
style = svg_element("style");
|
|
21872
|
+
t0 = text(".aaa{fill:#d0046c;}");
|
|
21873
|
+
g1 = svg_element("g");
|
|
21874
|
+
g0 = svg_element("g");
|
|
21862
21875
|
path = svg_element("path");
|
|
21863
|
-
|
|
21864
|
-
|
|
21865
|
-
|
|
21866
|
-
|
|
21867
|
-
|
|
21868
|
-
|
|
21869
|
-
|
|
21870
|
-
attr_dev(
|
|
21871
|
-
|
|
21876
|
+
t1 = space();
|
|
21877
|
+
h2 = element("h2");
|
|
21878
|
+
h2.textContent = "Reality Check";
|
|
21879
|
+
add_location(style, file$8, 24, 95, 1003);
|
|
21880
|
+
add_location(defs, file$8, 24, 89, 997);
|
|
21881
|
+
attr_dev(path, "class", "aaa");
|
|
21882
|
+
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");
|
|
21883
|
+
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
21884
|
+
add_location(path, file$8, 26, 10, 1132);
|
|
21885
|
+
attr_dev(g0, "transform", "translate(20 158)");
|
|
21886
|
+
add_location(g0, file$8, 25, 8, 1088);
|
|
21887
|
+
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
21888
|
+
add_location(g1, file$8, 24, 136, 1044);
|
|
21872
21889
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
21873
|
-
attr_dev(svg, "
|
|
21874
|
-
attr_dev(svg, "
|
|
21875
|
-
attr_dev(svg, "
|
|
21876
|
-
|
|
21877
|
-
|
|
21878
|
-
|
|
21879
|
-
attr_dev(svg, "width", "18px");
|
|
21880
|
-
attr_dev(svg, "fill", "#58586B");
|
|
21881
|
-
add_location(svg, file$8, 24, 10, 924);
|
|
21882
|
-
add_location(span, file$8, 32, 10, 1586);
|
|
21890
|
+
attr_dev(svg, "width", "15");
|
|
21891
|
+
attr_dev(svg, "height", "15");
|
|
21892
|
+
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
21893
|
+
add_location(svg, file$8, 24, 6, 914);
|
|
21894
|
+
attr_dev(h2, "class", "RealityCheckTitleMobile");
|
|
21895
|
+
add_location(h2, file$8, 29, 6, 1304);
|
|
21883
21896
|
attr_dev(div, "class", "MenuReturnButton");
|
|
21884
|
-
add_location(div, file$8, 23,
|
|
21897
|
+
add_location(div, file$8, 23, 4, 845);
|
|
21885
21898
|
},
|
|
21886
21899
|
m: function mount(target, anchor) {
|
|
21887
21900
|
insert_dev(target, div, anchor);
|
|
21888
21901
|
append_dev(div, svg);
|
|
21889
|
-
append_dev(svg,
|
|
21890
|
-
append_dev(
|
|
21891
|
-
append_dev(
|
|
21892
|
-
append_dev(
|
|
21902
|
+
append_dev(svg, defs);
|
|
21903
|
+
append_dev(defs, style);
|
|
21904
|
+
append_dev(style, t0);
|
|
21905
|
+
append_dev(svg, g1);
|
|
21906
|
+
append_dev(g1, g0);
|
|
21907
|
+
append_dev(g0, path);
|
|
21908
|
+
append_dev(div, t1);
|
|
21909
|
+
append_dev(div, h2);
|
|
21893
21910
|
|
|
21894
21911
|
if (!mounted) {
|
|
21895
21912
|
dispose = listen_dev(div, "click", /*click_handler*/ ctx[4], false, false, false);
|
|
@@ -21908,14 +21925,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21908
21925
|
block,
|
|
21909
21926
|
id: create_if_block$8.name,
|
|
21910
21927
|
type: "if",
|
|
21911
|
-
source: "(23:
|
|
21928
|
+
source: "(23:4) {#if isMobile}",
|
|
21912
21929
|
ctx
|
|
21913
21930
|
});
|
|
21914
21931
|
|
|
21915
21932
|
return block;
|
|
21916
21933
|
}
|
|
21917
21934
|
|
|
21918
|
-
// (
|
|
21935
|
+
// (39:10) {#each options as {value, text}
|
|
21919
21936
|
function create_each_block$3(ctx) {
|
|
21920
21937
|
let div;
|
|
21921
21938
|
let input;
|
|
@@ -21940,10 +21957,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21940
21957
|
input.__value = /*value*/ ctx[8];
|
|
21941
21958
|
input.value = input.__value;
|
|
21942
21959
|
/*$$binding_groups*/ ctx[6][0].push(input);
|
|
21943
|
-
add_location(input, file$8,
|
|
21960
|
+
add_location(input, file$8, 40, 14, 2028);
|
|
21944
21961
|
attr_dev(label, "for", /*value*/ ctx[8]);
|
|
21945
|
-
add_location(label, file$8,
|
|
21946
|
-
add_location(div, file$8,
|
|
21962
|
+
add_location(label, file$8, 41, 14, 2109);
|
|
21963
|
+
add_location(div, file$8, 39, 12, 2008);
|
|
21947
21964
|
},
|
|
21948
21965
|
m: function mount(target, anchor) {
|
|
21949
21966
|
insert_dev(target, div, anchor);
|
|
@@ -21976,7 +21993,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
21976
21993
|
block,
|
|
21977
21994
|
id: create_each_block$3.name,
|
|
21978
21995
|
type: "each",
|
|
21979
|
-
source: "(
|
|
21996
|
+
source: "(39:10) {#each options as {value, text}",
|
|
21980
21997
|
ctx
|
|
21981
21998
|
});
|
|
21982
21999
|
|
|
@@ -22035,23 +22052,23 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22035
22052
|
button = element("button");
|
|
22036
22053
|
button.textContent = "Set frequency";
|
|
22037
22054
|
this.c = noop$1;
|
|
22038
|
-
attr_dev(h2, "class", "RealityCheckTitle " + (/*isMobile*/ ctx[1] ? "
|
|
22039
|
-
add_location(h2, file$8,
|
|
22040
|
-
add_location(br0, file$8,
|
|
22041
|
-
add_location(br1, file$8,
|
|
22042
|
-
add_location(p, file$8,
|
|
22055
|
+
attr_dev(h2, "class", "RealityCheckTitle " + (/*isMobile*/ ctx[1] ? "RealityCheckTitleNone" : ""));
|
|
22056
|
+
add_location(h2, file$8, 33, 4, 1385);
|
|
22057
|
+
add_location(br0, file$8, 35, 227, 1797);
|
|
22058
|
+
add_location(br1, file$8, 35, 231, 1801);
|
|
22059
|
+
add_location(p, file$8, 35, 8, 1578);
|
|
22043
22060
|
attr_dev(form, "class", "customRadio");
|
|
22044
|
-
add_location(form, file$8,
|
|
22061
|
+
add_location(form, file$8, 37, 8, 1921);
|
|
22045
22062
|
|
|
22046
22063
|
attr_dev(div0, "class", "RealityCheckDescription " + (/*isMobile*/ ctx[1]
|
|
22047
22064
|
? "RealityCheckDescriptionMobile"
|
|
22048
22065
|
: ""));
|
|
22049
22066
|
|
|
22050
|
-
add_location(div0, file$8,
|
|
22067
|
+
add_location(div0, file$8, 34, 6, 1482);
|
|
22051
22068
|
attr_dev(button, "class", "PlayerRealityCheckButton");
|
|
22052
|
-
add_location(button, file$8,
|
|
22069
|
+
add_location(button, file$8, 47, 8, 2301);
|
|
22053
22070
|
attr_dev(div1, "class", "BottomButtonsArea " + (/*isMobile*/ ctx[1] ? "BottomButtonsAreaMobile" : ""));
|
|
22054
|
-
add_location(div1, file$8,
|
|
22071
|
+
add_location(div1, file$8, 46, 6, 2217);
|
|
22055
22072
|
|
|
22056
22073
|
attr_dev(div2, "class", "PlayerRealityCheckWrapper " + (/*isMobile*/ ctx[1]
|
|
22057
22074
|
? "PlayerRealityCheckWrapperMobile"
|
|
@@ -22204,7 +22221,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22204
22221
|
class PlayerRealityCheck extends SvelteElement {
|
|
22205
22222
|
constructor(options) {
|
|
22206
22223
|
super();
|
|
22207
|
-
this.shadowRoot.innerHTML = `<style>.customRadio{margin-top:30px}.customRadio div{margin:0 0 30px}.customRadio input[type="radio"]{position:absolute;left:-9999px}.customRadio input[type="radio"]+label{position:relative;padding:3px 0 0 40px;cursor:pointer}.customRadio input[type="radio"]+label:before{content:'';background:#fff;border:1px solid #707070;height:20px;width:20px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type="radio"]+label:after{content:'';background:#d0046c;width:18px;height:18px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type="radio"]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:#58586B;line-height:24px}.PlayerRealityCheckWrapper{color:#
|
|
22224
|
+
this.shadowRoot.innerHTML = `<style>.customRadio{margin-top:30px}.customRadio div{margin:0 0 30px}.customRadio input[type="radio"]{position:absolute;left:-9999px}.customRadio input[type="radio"]+label{position:relative;padding:3px 0 0 40px;cursor:pointer}.customRadio input[type="radio"]+label:before{content:'';background:#fff;border:1px solid #707070;height:20px;width:20px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type="radio"]+label:after{content:'';background:#d0046c;width:18px;height:18px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type="radio"]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:#58586B;line-height:24px}.PlayerRealityCheckWrapper{color:#07072A;padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:#D0046C;font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:#D0046C}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#FFF;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton{background:transparent;border:1px solid #58586B}.PlayerRealityCheckButton{background:#D0046C;border:1px solid #D0046C}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:#D0046C}</style>`;
|
|
22208
22225
|
|
|
22209
22226
|
init(
|
|
22210
22227
|
this,
|
|
@@ -22243,10 +22260,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22243
22260
|
function create_if_block$7(ctx) {
|
|
22244
22261
|
let div;
|
|
22245
22262
|
let svg;
|
|
22246
|
-
let
|
|
22247
|
-
let
|
|
22263
|
+
let defs;
|
|
22264
|
+
let style;
|
|
22248
22265
|
let t0;
|
|
22249
|
-
let
|
|
22266
|
+
let g1;
|
|
22267
|
+
let g0;
|
|
22268
|
+
let path;
|
|
22269
|
+
let t1;
|
|
22270
|
+
let h2;
|
|
22250
22271
|
let mounted;
|
|
22251
22272
|
let dispose;
|
|
22252
22273
|
|
|
@@ -22254,38 +22275,46 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22254
22275
|
c: function create() {
|
|
22255
22276
|
div = element("div");
|
|
22256
22277
|
svg = svg_element("svg");
|
|
22257
|
-
|
|
22278
|
+
defs = svg_element("defs");
|
|
22279
|
+
style = svg_element("style");
|
|
22280
|
+
t0 = text(".aaa{fill:#d0046c;}");
|
|
22281
|
+
g1 = svg_element("g");
|
|
22282
|
+
g0 = svg_element("g");
|
|
22258
22283
|
path = svg_element("path");
|
|
22259
|
-
|
|
22260
|
-
|
|
22261
|
-
|
|
22262
|
-
|
|
22263
|
-
|
|
22264
|
-
|
|
22265
|
-
|
|
22266
|
-
attr_dev(
|
|
22267
|
-
|
|
22284
|
+
t1 = space();
|
|
22285
|
+
h2 = element("h2");
|
|
22286
|
+
h2.textContent = "Timeout";
|
|
22287
|
+
add_location(style, file$7, 22, 95, 978);
|
|
22288
|
+
add_location(defs, file$7, 22, 89, 972);
|
|
22289
|
+
attr_dev(path, "class", "aaa");
|
|
22290
|
+
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");
|
|
22291
|
+
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
22292
|
+
add_location(path, file$7, 24, 10, 1107);
|
|
22293
|
+
attr_dev(g0, "transform", "translate(20 158)");
|
|
22294
|
+
add_location(g0, file$7, 23, 8, 1063);
|
|
22295
|
+
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
22296
|
+
add_location(g1, file$7, 22, 136, 1019);
|
|
22268
22297
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
22269
|
-
attr_dev(svg, "
|
|
22270
|
-
attr_dev(svg, "
|
|
22271
|
-
attr_dev(svg, "
|
|
22272
|
-
attr_dev(svg, "viewBox", "0 0 240.823 240.823");
|
|
22273
|
-
set_style(svg, "enable-background", "new 0 0 240.823 240.823");
|
|
22274
|
-
attr_dev(svg, "xml:space", "preserve");
|
|
22275
|
-
attr_dev(svg, "width", "18px");
|
|
22276
|
-
attr_dev(svg, "fill", "#58586B");
|
|
22298
|
+
attr_dev(svg, "width", "15");
|
|
22299
|
+
attr_dev(svg, "height", "15");
|
|
22300
|
+
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
22277
22301
|
add_location(svg, file$7, 22, 6, 889);
|
|
22278
|
-
|
|
22302
|
+
attr_dev(h2, "class", "TimeoutTitleMobile");
|
|
22303
|
+
add_location(h2, file$7, 27, 6, 1279);
|
|
22279
22304
|
attr_dev(div, "class", "MenuReturnButton");
|
|
22280
22305
|
add_location(div, file$7, 21, 4, 820);
|
|
22281
22306
|
},
|
|
22282
22307
|
m: function mount(target, anchor) {
|
|
22283
22308
|
insert_dev(target, div, anchor);
|
|
22284
22309
|
append_dev(div, svg);
|
|
22285
|
-
append_dev(svg,
|
|
22286
|
-
append_dev(
|
|
22287
|
-
append_dev(
|
|
22288
|
-
append_dev(
|
|
22310
|
+
append_dev(svg, defs);
|
|
22311
|
+
append_dev(defs, style);
|
|
22312
|
+
append_dev(style, t0);
|
|
22313
|
+
append_dev(svg, g1);
|
|
22314
|
+
append_dev(g1, g0);
|
|
22315
|
+
append_dev(g0, path);
|
|
22316
|
+
append_dev(div, t1);
|
|
22317
|
+
append_dev(div, h2);
|
|
22289
22318
|
|
|
22290
22319
|
if (!mounted) {
|
|
22291
22320
|
dispose = listen_dev(div, "click", /*click_handler*/ ctx[5], false, false, false);
|
|
@@ -22311,7 +22340,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22311
22340
|
return block;
|
|
22312
22341
|
}
|
|
22313
22342
|
|
|
22314
|
-
// (
|
|
22343
|
+
// (38:6) {#each timeoutOptions as {value, text}}
|
|
22315
22344
|
function create_each_block$2(ctx) {
|
|
22316
22345
|
let option;
|
|
22317
22346
|
let t_value = /*text*/ ctx[10] + "";
|
|
@@ -22323,7 +22352,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22323
22352
|
t = text(t_value);
|
|
22324
22353
|
option.__value = /*value*/ ctx[9];
|
|
22325
22354
|
option.value = option.__value;
|
|
22326
|
-
add_location(option, file$7,
|
|
22355
|
+
add_location(option, file$7, 38, 8, 2209);
|
|
22327
22356
|
},
|
|
22328
22357
|
m: function mount(target, anchor) {
|
|
22329
22358
|
insert_dev(target, option, anchor);
|
|
@@ -22339,7 +22368,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22339
22368
|
block,
|
|
22340
22369
|
id: create_each_block$2.name,
|
|
22341
22370
|
type: "each",
|
|
22342
|
-
source: "(
|
|
22371
|
+
source: "(38:6) {#each timeoutOptions as {value, text}}",
|
|
22343
22372
|
ctx
|
|
22344
22373
|
});
|
|
22345
22374
|
|
|
@@ -22400,21 +22429,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22400
22429
|
button = element("button");
|
|
22401
22430
|
button.textContent = "Save";
|
|
22402
22431
|
this.c = noop$1;
|
|
22403
|
-
attr_dev(h2, "class", "TimeoutTitle " + (/*isMobile*/ ctx[1] ? "
|
|
22404
|
-
add_location(h2, file$7,
|
|
22405
|
-
add_location(p0, file$7,
|
|
22406
|
-
add_location(p1, file$7,
|
|
22432
|
+
attr_dev(h2, "class", "TimeoutTitle " + (/*isMobile*/ ctx[1] ? "TimeoutTitleNone" : ""));
|
|
22433
|
+
add_location(h2, file$7, 30, 2, 1344);
|
|
22434
|
+
add_location(p0, file$7, 32, 4, 1503);
|
|
22435
|
+
add_location(p1, file$7, 33, 4, 1725);
|
|
22407
22436
|
attr_dev(div0, "class", "TimeoutDescription " + (/*isMobile*/ ctx[1] ? "TimeoutDescriptionMobile" : ""));
|
|
22408
|
-
add_location(div0, file$7,
|
|
22437
|
+
add_location(div0, file$7, 31, 2, 1421);
|
|
22409
22438
|
attr_dev(select, "class", "TimeoutSelect " + (/*isMobile*/ ctx[1] ? "TimeoutSelectMobile" : ""));
|
|
22410
22439
|
if (/*timeoutSelected*/ ctx[0] === void 0) add_render_callback(() => /*select_change_handler*/ ctx[6].call(select));
|
|
22411
|
-
add_location(select, file$7,
|
|
22440
|
+
add_location(select, file$7, 36, 4, 2055);
|
|
22412
22441
|
attr_dev(div1, "class", "TimeoutSelectWrapper");
|
|
22413
|
-
add_location(div1, file$7,
|
|
22442
|
+
add_location(div1, file$7, 35, 2, 2016);
|
|
22414
22443
|
attr_dev(button, "class", "TimeoutSave");
|
|
22415
|
-
add_location(button, file$7,
|
|
22444
|
+
add_location(button, file$7, 43, 4, 2372);
|
|
22416
22445
|
attr_dev(div2, "class", "TimeoutActionButtons " + (/*isMobile*/ ctx[1] ? "TimeoutActionButtonsMobile" : ""));
|
|
22417
|
-
add_location(div2, file$7,
|
|
22446
|
+
add_location(div2, file$7, 42, 2, 2286);
|
|
22418
22447
|
attr_dev(div3, "class", "TimeoutWrapper " + (/*isMobile*/ ctx[1] ? "TimeoutWrapperMobile" : ""));
|
|
22419
22448
|
add_location(div3, file$7, 19, 0, 729);
|
|
22420
22449
|
},
|
|
@@ -22597,7 +22626,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22597
22626
|
class PlayerAccountTimeout extends SvelteElement {
|
|
22598
22627
|
constructor(options) {
|
|
22599
22628
|
super();
|
|
22600
|
-
this.shadowRoot.innerHTML = `<style>.TimeoutWrapper{color:#07072A;padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;
|
|
22629
|
+
this.shadowRoot.innerHTML = `<style>.TimeoutWrapper{color:#07072A;padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:#D0046C}.TimeoutTitle{font-size:26px;color:#D0046C;font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:#58586B;line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:19.2px}.TimeoutSelectWrapper{color:#58586B;display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid #D1D1D1;background:#FFFFFF;border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid #D0046C;box-shadow:0 0 0 1pt #D0046C}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:#D0046C;border:1px solid #D0046C;color:#fff;cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}</style>`;
|
|
22601
22630
|
|
|
22602
22631
|
init(
|
|
22603
22632
|
this,
|
|
@@ -22630,50 +22659,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22630
22659
|
// (41:2) {#if isMobile}
|
|
22631
22660
|
function create_if_block_1$4(ctx) {
|
|
22632
22661
|
let div;
|
|
22633
|
-
let svg;
|
|
22634
|
-
let g;
|
|
22635
|
-
let path;
|
|
22636
|
-
let t0;
|
|
22637
|
-
let span;
|
|
22638
22662
|
let mounted;
|
|
22639
22663
|
let dispose;
|
|
22640
22664
|
|
|
22641
22665
|
const block = {
|
|
22642
22666
|
c: function create() {
|
|
22643
22667
|
div = element("div");
|
|
22644
|
-
svg = svg_element("svg");
|
|
22645
|
-
g = svg_element("g");
|
|
22646
|
-
path = svg_element("path");
|
|
22647
|
-
t0 = space();
|
|
22648
|
-
span = element("span");
|
|
22649
|
-
span.textContent = "Return to menu";
|
|
22650
|
-
attr_dev(path, "id", "Chevron_Right");
|
|
22651
|
-
attr_dev(path, "d", "M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z");
|
|
22652
|
-
add_location(path, file$6, 45, 10, 1746);
|
|
22653
|
-
add_location(g, file$6, 44, 8, 1732);
|
|
22654
|
-
attr_dev(svg, "version", "1.1");
|
|
22655
|
-
attr_dev(svg, "id", "Capa_1");
|
|
22656
|
-
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
22657
|
-
attr_dev(svg, "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
|
22658
|
-
attr_dev(svg, "x", "0px");
|
|
22659
|
-
attr_dev(svg, "y", "0px");
|
|
22660
|
-
attr_dev(svg, "viewBox", "0 0 240.823 240.823");
|
|
22661
|
-
set_style(svg, "enable-background", "new 0 0 240.823 240.823");
|
|
22662
|
-
attr_dev(svg, "xml:space", "preserve");
|
|
22663
|
-
attr_dev(svg, "width", "18px");
|
|
22664
|
-
attr_dev(svg, "fill", "#58586B");
|
|
22665
|
-
add_location(svg, file$6, 42, 6, 1457);
|
|
22666
|
-
add_location(span, file$6, 50, 6, 2087);
|
|
22667
22668
|
attr_dev(div, "class", "MenuReturnButton");
|
|
22668
22669
|
add_location(div, file$6, 41, 4, 1388);
|
|
22669
22670
|
},
|
|
22670
22671
|
m: function mount(target, anchor) {
|
|
22671
22672
|
insert_dev(target, div, anchor);
|
|
22672
|
-
append_dev(div, svg);
|
|
22673
|
-
append_dev(svg, g);
|
|
22674
|
-
append_dev(g, path);
|
|
22675
|
-
append_dev(div, t0);
|
|
22676
|
-
append_dev(div, span);
|
|
22677
22673
|
|
|
22678
22674
|
if (!mounted) {
|
|
22679
22675
|
dispose = listen_dev(div, "click", /*click_handler*/ ctx[7], false, false, false);
|
|
@@ -22699,7 +22695,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22699
22695
|
return block;
|
|
22700
22696
|
}
|
|
22701
22697
|
|
|
22702
|
-
// (
|
|
22698
|
+
// (66:4) {:else}
|
|
22703
22699
|
function create_else_block$4(ctx) {
|
|
22704
22700
|
let p;
|
|
22705
22701
|
let strong;
|
|
@@ -22714,9 +22710,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22714
22710
|
t0 = text("Your self-exclusion period will last until the ");
|
|
22715
22711
|
t1 = text(/*selfExclusionExpiryDate*/ ctx[1]);
|
|
22716
22712
|
t2 = text(" 23:59.");
|
|
22717
|
-
add_location(strong, file$6,
|
|
22713
|
+
add_location(strong, file$6, 66, 46, 3506);
|
|
22718
22714
|
attr_dev(p, "class", "SelfExclusionDescriptionText");
|
|
22719
|
-
add_location(p, file$6,
|
|
22715
|
+
add_location(p, file$6, 66, 6, 3466);
|
|
22720
22716
|
},
|
|
22721
22717
|
m: function mount(target, anchor) {
|
|
22722
22718
|
insert_dev(target, p, anchor);
|
|
@@ -22737,14 +22733,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22737
22733
|
block,
|
|
22738
22734
|
id: create_else_block$4.name,
|
|
22739
22735
|
type: "else",
|
|
22740
|
-
source: "(
|
|
22736
|
+
source: "(66:4) {:else}",
|
|
22741
22737
|
ctx
|
|
22742
22738
|
});
|
|
22743
22739
|
|
|
22744
22740
|
return block;
|
|
22745
22741
|
}
|
|
22746
22742
|
|
|
22747
|
-
// (
|
|
22743
|
+
// (64:4) {#if permanentSelfExclusion}
|
|
22748
22744
|
function create_if_block$6(ctx) {
|
|
22749
22745
|
let p;
|
|
22750
22746
|
let strong;
|
|
@@ -22754,9 +22750,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22754
22750
|
p = element("p");
|
|
22755
22751
|
strong = element("strong");
|
|
22756
22752
|
strong.textContent = "Your self-exclusion period will be permanent.";
|
|
22757
|
-
add_location(strong, file$6,
|
|
22753
|
+
add_location(strong, file$6, 64, 46, 3381);
|
|
22758
22754
|
attr_dev(p, "class", "SelfExclusionDescriptionText");
|
|
22759
|
-
add_location(p, file$6,
|
|
22755
|
+
add_location(p, file$6, 64, 6, 3341);
|
|
22760
22756
|
},
|
|
22761
22757
|
m: function mount(target, anchor) {
|
|
22762
22758
|
insert_dev(target, p, anchor);
|
|
@@ -22772,7 +22768,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22772
22768
|
block,
|
|
22773
22769
|
id: create_if_block$6.name,
|
|
22774
22770
|
type: "if",
|
|
22775
|
-
source: "(
|
|
22771
|
+
source: "(64:4) {#if permanentSelfExclusion}",
|
|
22776
22772
|
ctx
|
|
22777
22773
|
});
|
|
22778
22774
|
|
|
@@ -22868,60 +22864,60 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
22868
22864
|
button.textContent = "Save";
|
|
22869
22865
|
this.c = noop$1;
|
|
22870
22866
|
attr_dev(h2, "class", "SelfExclusionTitle " + (/*isMobile*/ ctx[2] ? "SelfExclusionTitleMobile" : ""));
|
|
22871
|
-
add_location(h2, file$6,
|
|
22867
|
+
add_location(h2, file$6, 45, 2, 1473);
|
|
22872
22868
|
attr_dev(p0, "class", "SelfExclusionDescriptionText");
|
|
22873
|
-
add_location(p0, file$6,
|
|
22869
|
+
add_location(p0, file$6, 47, 4, 1665);
|
|
22874
22870
|
attr_dev(p1, "class", "SelfExclusionDescriptionText");
|
|
22875
|
-
add_location(p1, file$6,
|
|
22871
|
+
add_location(p1, file$6, 48, 4, 1936);
|
|
22876
22872
|
attr_dev(p2, "class", "SelfExclusionDescriptionText");
|
|
22877
|
-
add_location(p2, file$6,
|
|
22873
|
+
add_location(p2, file$6, 49, 4, 2110);
|
|
22878
22874
|
attr_dev(a, "href", "mailto:support@everymatrix.com");
|
|
22879
|
-
add_location(a, file$6,
|
|
22875
|
+
add_location(a, file$6, 50, 52, 2577);
|
|
22880
22876
|
attr_dev(p3, "class", "SelfExclusionDescriptionText");
|
|
22881
|
-
add_location(p3, file$6,
|
|
22877
|
+
add_location(p3, file$6, 50, 4, 2529);
|
|
22882
22878
|
|
|
22883
22879
|
attr_dev(div0, "class", "SelfExclusionDescription " + (/*isMobile*/ ctx[2]
|
|
22884
22880
|
? "SelfExclusionDescriptionMobile"
|
|
22885
22881
|
: ""));
|
|
22886
22882
|
|
|
22887
|
-
add_location(div0, file$6,
|
|
22883
|
+
add_location(div0, file$6, 46, 2, 1571);
|
|
22888
22884
|
attr_dev(label0, "for", "SelfExclusionDate");
|
|
22889
|
-
add_location(label0, file$6,
|
|
22885
|
+
add_location(label0, file$6, 53, 4, 2755);
|
|
22890
22886
|
attr_dev(input0, "type", "text");
|
|
22891
22887
|
attr_dev(input0, "id", "SelfExclusionDate");
|
|
22892
|
-
add_location(input0, file$6,
|
|
22888
|
+
add_location(input0, file$6, 54, 4, 2808);
|
|
22893
22889
|
|
|
22894
22890
|
attr_dev(div1, "class", "SelfExclusionDateWrapper " + (/*isMobile*/ ctx[2]
|
|
22895
22891
|
? "SelfExclusionDateWrapperMobile"
|
|
22896
22892
|
: ""));
|
|
22897
22893
|
|
|
22898
|
-
add_location(div1, file$6,
|
|
22894
|
+
add_location(div1, file$6, 52, 2, 2661);
|
|
22899
22895
|
attr_dev(input1, "type", "Checkbox");
|
|
22900
|
-
add_location(input1, file$6,
|
|
22896
|
+
add_location(input1, file$6, 58, 6, 3078);
|
|
22901
22897
|
attr_dev(span, "class", "Checkmark");
|
|
22902
|
-
add_location(span, file$6,
|
|
22898
|
+
add_location(span, file$6, 59, 6, 3156);
|
|
22903
22899
|
attr_dev(label1, "class", "SelfExclusionRadio");
|
|
22904
|
-
add_location(label1, file$6,
|
|
22900
|
+
add_location(label1, file$6, 57, 4, 3030);
|
|
22905
22901
|
|
|
22906
22902
|
attr_dev(div2, "class", "SelfExclusionRadioWrapper " + (/*isMobile*/ ctx[2]
|
|
22907
22903
|
? "SelfExclusionRadioWrapperMobile"
|
|
22908
22904
|
: ""));
|
|
22909
22905
|
|
|
22910
|
-
add_location(div2, file$6,
|
|
22906
|
+
add_location(div2, file$6, 56, 2, 2934);
|
|
22911
22907
|
|
|
22912
22908
|
attr_dev(div3, "class", "SelfExclusionDescription " + (/*isMobile*/ ctx[2]
|
|
22913
22909
|
? "SelfExclusionDescriptionMobile"
|
|
22914
22910
|
: ""));
|
|
22915
22911
|
|
|
22916
|
-
add_location(div3, file$6,
|
|
22912
|
+
add_location(div3, file$6, 62, 2, 3212);
|
|
22917
22913
|
attr_dev(button, "class", "SelfExclusionSave");
|
|
22918
|
-
add_location(button, file$6,
|
|
22914
|
+
add_location(button, file$6, 70, 4, 3726);
|
|
22919
22915
|
|
|
22920
22916
|
attr_dev(div4, "class", "SelfExclusionActionButtons " + (/*isMobile*/ ctx[2]
|
|
22921
22917
|
? "SelfExclusionActionButtonsMobile"
|
|
22922
22918
|
: ""));
|
|
22923
22919
|
|
|
22924
|
-
add_location(div4, file$6,
|
|
22920
|
+
add_location(div4, file$6, 69, 2, 3628);
|
|
22925
22921
|
attr_dev(div5, "class", "SelfExclusionWrapper " + (/*isMobile*/ ctx[2] ? "SelfExclusionWrapperMobile" : ""));
|
|
22926
22922
|
add_location(div5, file$6, 39, 0, 1285);
|
|
22927
22923
|
},
|
|
@@ -23157,10 +23153,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23157
23153
|
function create_if_block$5(ctx) {
|
|
23158
23154
|
let div;
|
|
23159
23155
|
let svg;
|
|
23160
|
-
let
|
|
23161
|
-
let
|
|
23156
|
+
let defs;
|
|
23157
|
+
let style;
|
|
23162
23158
|
let t0;
|
|
23163
|
-
let
|
|
23159
|
+
let g1;
|
|
23160
|
+
let g0;
|
|
23161
|
+
let path;
|
|
23162
|
+
let t1;
|
|
23163
|
+
let h2;
|
|
23164
23164
|
let mounted;
|
|
23165
23165
|
let dispose;
|
|
23166
23166
|
|
|
@@ -23168,38 +23168,46 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23168
23168
|
c: function create() {
|
|
23169
23169
|
div = element("div");
|
|
23170
23170
|
svg = svg_element("svg");
|
|
23171
|
-
|
|
23171
|
+
defs = svg_element("defs");
|
|
23172
|
+
style = svg_element("style");
|
|
23173
|
+
t0 = text(".aaa{fill:#d0046c;}");
|
|
23174
|
+
g1 = svg_element("g");
|
|
23175
|
+
g0 = svg_element("g");
|
|
23172
23176
|
path = svg_element("path");
|
|
23173
|
-
|
|
23174
|
-
|
|
23175
|
-
|
|
23176
|
-
|
|
23177
|
-
|
|
23178
|
-
|
|
23179
|
-
|
|
23180
|
-
attr_dev(
|
|
23181
|
-
|
|
23177
|
+
t1 = space();
|
|
23178
|
+
h2 = element("h2");
|
|
23179
|
+
h2.textContent = "Account Closure";
|
|
23180
|
+
add_location(style, file$5, 16, 95, 728);
|
|
23181
|
+
add_location(defs, file$5, 16, 89, 722);
|
|
23182
|
+
attr_dev(path, "class", "aaa");
|
|
23183
|
+
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");
|
|
23184
|
+
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
23185
|
+
add_location(path, file$5, 18, 10, 857);
|
|
23186
|
+
attr_dev(g0, "transform", "translate(20 158)");
|
|
23187
|
+
add_location(g0, file$5, 17, 8, 813);
|
|
23188
|
+
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
23189
|
+
add_location(g1, file$5, 16, 136, 769);
|
|
23182
23190
|
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
23183
|
-
attr_dev(svg, "
|
|
23184
|
-
attr_dev(svg, "
|
|
23185
|
-
attr_dev(svg, "
|
|
23186
|
-
attr_dev(svg, "viewBox", "0 0 240.823 240.823");
|
|
23187
|
-
set_style(svg, "enable-background", "new 0 0 240.823 240.823");
|
|
23188
|
-
attr_dev(svg, "xml:space", "preserve");
|
|
23189
|
-
attr_dev(svg, "width", "18px");
|
|
23190
|
-
attr_dev(svg, "fill", "#58586B");
|
|
23191
|
+
attr_dev(svg, "width", "15");
|
|
23192
|
+
attr_dev(svg, "height", "15");
|
|
23193
|
+
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
23191
23194
|
add_location(svg, file$5, 16, 6, 639);
|
|
23192
|
-
|
|
23195
|
+
attr_dev(h2, "class", "AccountClosureTitleMobile");
|
|
23196
|
+
add_location(h2, file$5, 21, 6, 1029);
|
|
23193
23197
|
attr_dev(div, "class", "MenuReturnButton");
|
|
23194
23198
|
add_location(div, file$5, 15, 4, 570);
|
|
23195
23199
|
},
|
|
23196
23200
|
m: function mount(target, anchor) {
|
|
23197
23201
|
insert_dev(target, div, anchor);
|
|
23198
23202
|
append_dev(div, svg);
|
|
23199
|
-
append_dev(svg,
|
|
23200
|
-
append_dev(
|
|
23201
|
-
append_dev(
|
|
23202
|
-
append_dev(
|
|
23203
|
+
append_dev(svg, defs);
|
|
23204
|
+
append_dev(defs, style);
|
|
23205
|
+
append_dev(style, t0);
|
|
23206
|
+
append_dev(svg, g1);
|
|
23207
|
+
append_dev(g1, g0);
|
|
23208
|
+
append_dev(g0, path);
|
|
23209
|
+
append_dev(div, t1);
|
|
23210
|
+
append_dev(div, h2);
|
|
23203
23211
|
|
|
23204
23212
|
if (!mounted) {
|
|
23205
23213
|
dispose = listen_dev(div, "click", /*click_handler*/ ctx[3], false, false, false);
|
|
@@ -23257,23 +23265,23 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23257
23265
|
button = element("button");
|
|
23258
23266
|
t5 = text("Close Account");
|
|
23259
23267
|
this.c = noop$1;
|
|
23260
|
-
attr_dev(h2, "class", "AccountClosureTitle " + (/*isMobile*/ ctx[0] ? "
|
|
23261
|
-
add_location(h2, file$5,
|
|
23262
|
-
add_location(p, file$5,
|
|
23268
|
+
attr_dev(h2, "class", "AccountClosureTitle " + (/*isMobile*/ ctx[0] ? "AccountClosureTitleNone" : ""));
|
|
23269
|
+
add_location(h2, file$5, 24, 2, 1109);
|
|
23270
|
+
add_location(p, file$5, 27, 4, 1305);
|
|
23263
23271
|
|
|
23264
23272
|
attr_dev(div0, "class", "AccountClosureDescription " + (/*isMobile*/ ctx[0]
|
|
23265
23273
|
? "AccountClosureDescriptionMobile"
|
|
23266
23274
|
: ""));
|
|
23267
23275
|
|
|
23268
|
-
add_location(div0, file$5,
|
|
23276
|
+
add_location(div0, file$5, 26, 2, 1209);
|
|
23269
23277
|
attr_dev(button, "class", "AccountClosureSave " + (/*isMobile*/ ctx[0] ? "AccountClosureSaveMobile" : ""));
|
|
23270
|
-
add_location(button, file$5,
|
|
23278
|
+
add_location(button, file$5, 30, 4, 1570);
|
|
23271
23279
|
|
|
23272
23280
|
attr_dev(div1, "class", "AccountClosureActionButtons " + (/*isMobile*/ ctx[0]
|
|
23273
23281
|
? "AccountClosureActionButtonsMobile"
|
|
23274
23282
|
: ""));
|
|
23275
23283
|
|
|
23276
|
-
add_location(div1, file$5,
|
|
23284
|
+
add_location(div1, file$5, 29, 2, 1470);
|
|
23277
23285
|
attr_dev(div2, "class", "AccountClosureWrapper " + (/*isMobile*/ ctx[0] ? "AccountClosureWrapperMobile" : ""));
|
|
23278
23286
|
add_location(div2, file$5, 13, 0, 465);
|
|
23279
23287
|
},
|
|
@@ -23370,7 +23378,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
23370
23378
|
class PlayerAccountClosure extends SvelteElement {
|
|
23371
23379
|
constructor(options) {
|
|
23372
23380
|
super();
|
|
23373
|
-
this.shadowRoot.innerHTML = `<style>.AccountClosureWrapper{color:#07072A;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;
|
|
23381
|
+
this.shadowRoot.innerHTML = `<style>.AccountClosureWrapper{color:#07072A;padding:50px;max-width:760px}.AccountClosureWrapper.AccountClosureWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:#D0046C}.AccountClosureTitle{font-size:26px;color:#D0046C;font-weight:400}.AccountClosureTitleMobile{font-size:16px}.AccountClosureTitleNone{display:none}.AccountClosureDescription{color:#58586B;line-height:24px}.AccountClosureDescription.AccountClosureDescriptionMobile{font-size:12px;line-height:19.2px}.AccountClosureActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%;color:#fff}.AccountClosureActionButtons.AccountClosureActionButtonsMobile{width:100%;grid-template-columns:1fr}.AccountClosureSave{background:#D0046C;border:1px solid #D0046C;color:#fff;border-radius:5px;width:100%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}.AccountClosureSave.AccountClosureSaveMobile{width:100%;height:40px;font-size:12px;grid-template-columns:1fr}</style>`;
|
|
23374
23382
|
|
|
23375
23383
|
init(
|
|
23376
23384
|
this,
|
|
@@ -29356,39 +29364,39 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29356
29364
|
|
|
29357
29365
|
function get_each_context_2(ctx, list, i) {
|
|
29358
29366
|
const child_ctx = ctx.slice();
|
|
29359
|
-
child_ctx[
|
|
29360
|
-
child_ctx[
|
|
29361
|
-
child_ctx[
|
|
29367
|
+
child_ctx[39] = list[i];
|
|
29368
|
+
child_ctx[40] = list;
|
|
29369
|
+
child_ctx[35] = i;
|
|
29362
29370
|
return child_ctx;
|
|
29363
29371
|
}
|
|
29364
29372
|
|
|
29365
29373
|
function get_each_context_3(ctx, list, i) {
|
|
29366
29374
|
const child_ctx = ctx.slice();
|
|
29367
|
-
child_ctx[
|
|
29375
|
+
child_ctx[33] = list[i];
|
|
29368
29376
|
return child_ctx;
|
|
29369
29377
|
}
|
|
29370
29378
|
|
|
29371
29379
|
function get_each_context_4(ctx, list, i) {
|
|
29372
29380
|
const child_ctx = ctx.slice();
|
|
29373
|
-
child_ctx[
|
|
29381
|
+
child_ctx[33] = list[i];
|
|
29374
29382
|
return child_ctx;
|
|
29375
29383
|
}
|
|
29376
29384
|
|
|
29377
29385
|
function get_each_context$1(ctx, list, i) {
|
|
29378
29386
|
const child_ctx = ctx.slice();
|
|
29379
|
-
child_ctx[
|
|
29380
|
-
child_ctx[
|
|
29381
|
-
child_ctx[
|
|
29387
|
+
child_ctx[33] = list[i];
|
|
29388
|
+
child_ctx[34] = list;
|
|
29389
|
+
child_ctx[35] = i;
|
|
29382
29390
|
return child_ctx;
|
|
29383
29391
|
}
|
|
29384
29392
|
|
|
29385
29393
|
function get_each_context_1$1(ctx, list, i) {
|
|
29386
29394
|
const child_ctx = ctx.slice();
|
|
29387
|
-
child_ctx[
|
|
29395
|
+
child_ctx[36] = list[i];
|
|
29388
29396
|
return child_ctx;
|
|
29389
29397
|
}
|
|
29390
29398
|
|
|
29391
|
-
// (
|
|
29399
|
+
// (265:2) {#if shownotification}
|
|
29392
29400
|
function create_if_block_9$1(ctx) {
|
|
29393
29401
|
let div;
|
|
29394
29402
|
let p;
|
|
@@ -29398,9 +29406,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29398
29406
|
div = element("div");
|
|
29399
29407
|
p = element("p");
|
|
29400
29408
|
p.textContent = `${/*successText*/ ctx[11]}`;
|
|
29401
|
-
add_location(p, file$3,
|
|
29409
|
+
add_location(p, file$3, 266, 6, 10974);
|
|
29402
29410
|
attr_dev(div, "class", "AccountEditLimitSuccessContainer");
|
|
29403
|
-
add_location(div, file$3,
|
|
29411
|
+
add_location(div, file$3, 265, 4, 10921);
|
|
29404
29412
|
},
|
|
29405
29413
|
m: function mount(target, anchor) {
|
|
29406
29414
|
insert_dev(target, div, anchor);
|
|
@@ -29416,14 +29424,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29416
29424
|
block,
|
|
29417
29425
|
id: create_if_block_9$1.name,
|
|
29418
29426
|
type: "if",
|
|
29419
|
-
source: "(
|
|
29427
|
+
source: "(265:2) {#if shownotification}",
|
|
29420
29428
|
ctx
|
|
29421
29429
|
});
|
|
29422
29430
|
|
|
29423
29431
|
return block;
|
|
29424
29432
|
}
|
|
29425
29433
|
|
|
29426
|
-
// (
|
|
29434
|
+
// (295:4) {:else}
|
|
29427
29435
|
function create_else_block$3(ctx) {
|
|
29428
29436
|
let div1;
|
|
29429
29437
|
let div0;
|
|
@@ -29470,15 +29478,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29470
29478
|
}
|
|
29471
29479
|
|
|
29472
29480
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
29473
|
-
add_location(p, file$3,
|
|
29481
|
+
add_location(p, file$3, 297, 10, 13256);
|
|
29474
29482
|
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[10] ? "TimeoutSelectMobile" : ""));
|
|
29475
29483
|
select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[6].isModified === true;
|
|
29476
29484
|
if (/*limitsUpdateData*/ ctx[6].period === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[21].call(select));
|
|
29477
|
-
add_location(select, file$3,
|
|
29485
|
+
add_location(select, file$3, 298, 10, 13310);
|
|
29478
29486
|
attr_dev(div0, "class", "AccountEditLimitsSplitSection");
|
|
29479
|
-
add_location(div0, file$3,
|
|
29487
|
+
add_location(div0, file$3, 296, 8, 13202);
|
|
29480
29488
|
attr_dev(div1, "class", "AccountEditLimitsContainer");
|
|
29481
|
-
add_location(div1, file$3,
|
|
29489
|
+
add_location(div1, file$3, 295, 6, 13153);
|
|
29482
29490
|
},
|
|
29483
29491
|
m: function mount(target, anchor) {
|
|
29484
29492
|
insert_dev(target, div1, anchor);
|
|
@@ -29588,14 +29596,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29588
29596
|
block,
|
|
29589
29597
|
id: create_else_block$3.name,
|
|
29590
29598
|
type: "else",
|
|
29591
|
-
source: "(
|
|
29599
|
+
source: "(295:4) {:else}",
|
|
29592
29600
|
ctx
|
|
29593
29601
|
});
|
|
29594
29602
|
|
|
29595
29603
|
return block;
|
|
29596
29604
|
}
|
|
29597
29605
|
|
|
29598
|
-
// (
|
|
29606
|
+
// (271:4) {#if (isArray)}
|
|
29599
29607
|
function create_if_block$3(ctx) {
|
|
29600
29608
|
let div;
|
|
29601
29609
|
let each_value = /*limitsdata*/ ctx[0];
|
|
@@ -29615,7 +29623,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29615
29623
|
}
|
|
29616
29624
|
|
|
29617
29625
|
attr_dev(div, "class", "AccountEditLimitsContainer");
|
|
29618
|
-
add_location(div, file$3,
|
|
29626
|
+
add_location(div, file$3, 271, 6, 11140);
|
|
29619
29627
|
},
|
|
29620
29628
|
m: function mount(target, anchor) {
|
|
29621
29629
|
insert_dev(target, div, anchor);
|
|
@@ -29659,26 +29667,26 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29659
29667
|
block,
|
|
29660
29668
|
id: create_if_block$3.name,
|
|
29661
29669
|
type: "if",
|
|
29662
|
-
source: "(
|
|
29670
|
+
source: "(271:4) {#if (isArray)}",
|
|
29663
29671
|
ctx
|
|
29664
29672
|
});
|
|
29665
29673
|
|
|
29666
29674
|
return block;
|
|
29667
29675
|
}
|
|
29668
29676
|
|
|
29669
|
-
// (
|
|
29677
|
+
// (300:12) {#each periodValues as selectData}
|
|
29670
29678
|
function create_each_block_4(ctx) {
|
|
29671
29679
|
let option;
|
|
29672
|
-
let t_value = /*selectData*/ ctx[
|
|
29680
|
+
let t_value = /*selectData*/ ctx[33] + "";
|
|
29673
29681
|
let t;
|
|
29674
29682
|
|
|
29675
29683
|
const block = {
|
|
29676
29684
|
c: function create() {
|
|
29677
29685
|
option = element("option");
|
|
29678
29686
|
t = text(t_value);
|
|
29679
|
-
option.__value = /*selectData*/ ctx[
|
|
29687
|
+
option.__value = /*selectData*/ ctx[33];
|
|
29680
29688
|
option.value = option.__value;
|
|
29681
|
-
add_location(option, file$3,
|
|
29689
|
+
add_location(option, file$3, 300, 14, 13599);
|
|
29682
29690
|
},
|
|
29683
29691
|
m: function mount(target, anchor) {
|
|
29684
29692
|
insert_dev(target, option, anchor);
|
|
@@ -29694,14 +29702,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29694
29702
|
block,
|
|
29695
29703
|
id: create_each_block_4.name,
|
|
29696
29704
|
type: "each",
|
|
29697
|
-
source: "(
|
|
29705
|
+
source: "(300:12) {#each periodValues as selectData}",
|
|
29698
29706
|
ctx
|
|
29699
29707
|
});
|
|
29700
29708
|
|
|
29701
29709
|
return block;
|
|
29702
29710
|
}
|
|
29703
29711
|
|
|
29704
|
-
// (
|
|
29712
|
+
// (306:10) {#if limitsUpdateData.period === savedData.periodName}
|
|
29705
29713
|
function create_if_block_5$3(ctx) {
|
|
29706
29714
|
let div;
|
|
29707
29715
|
let p;
|
|
@@ -29722,10 +29730,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29722
29730
|
}
|
|
29723
29731
|
|
|
29724
29732
|
function select_change_handler_2() {
|
|
29725
|
-
/*select_change_handler_2*/ ctx[22].call(select, /*each_value_2*/ ctx[
|
|
29733
|
+
/*select_change_handler_2*/ ctx[22].call(select, /*each_value_2*/ ctx[40], /*index*/ ctx[35]);
|
|
29726
29734
|
}
|
|
29727
29735
|
|
|
29728
|
-
let if_block0 = /*savedData*/ ctx[
|
|
29736
|
+
let if_block0 = /*savedData*/ ctx[39].amount === "Custom" && create_if_block_7$1(ctx);
|
|
29729
29737
|
let if_block1 = /*limitsUpdateData*/ ctx[6].isModified === true && create_if_block_6$2(ctx);
|
|
29730
29738
|
|
|
29731
29739
|
const block = {
|
|
@@ -29746,13 +29754,13 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29746
29754
|
if (if_block1) if_block1.c();
|
|
29747
29755
|
t4 = space();
|
|
29748
29756
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
29749
|
-
add_location(p, file$3,
|
|
29757
|
+
add_location(p, file$3, 307, 14, 13885);
|
|
29750
29758
|
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[10] ? "TimeoutSelectMobile" : ""));
|
|
29751
29759
|
select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[6].isModified === true;
|
|
29752
|
-
if (/*savedData*/ ctx[
|
|
29753
|
-
add_location(select, file$3,
|
|
29760
|
+
if (/*savedData*/ ctx[39].amount === void 0) add_render_callback(select_change_handler_2);
|
|
29761
|
+
add_location(select, file$3, 308, 14, 13944);
|
|
29754
29762
|
attr_dev(div, "class", "AccountEditLimitsSplitSection");
|
|
29755
|
-
add_location(div, file$3,
|
|
29763
|
+
add_location(div, file$3, 306, 12, 13827);
|
|
29756
29764
|
},
|
|
29757
29765
|
m: function mount(target, anchor) {
|
|
29758
29766
|
insert_dev(target, div, anchor);
|
|
@@ -29764,7 +29772,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29764
29772
|
each_blocks[i].m(select, null);
|
|
29765
29773
|
}
|
|
29766
29774
|
|
|
29767
|
-
select_option(select, /*savedData*/ ctx[
|
|
29775
|
+
select_option(select, /*savedData*/ ctx[39].amount);
|
|
29768
29776
|
append_dev(div, t2);
|
|
29769
29777
|
if (if_block0) if_block0.m(div, null);
|
|
29770
29778
|
append_dev(div, t3);
|
|
@@ -29821,10 +29829,10 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29821
29829
|
}
|
|
29822
29830
|
|
|
29823
29831
|
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8704) {
|
|
29824
|
-
select_option(select, /*savedData*/ ctx[
|
|
29832
|
+
select_option(select, /*savedData*/ ctx[39].amount);
|
|
29825
29833
|
}
|
|
29826
29834
|
|
|
29827
|
-
if (/*savedData*/ ctx[
|
|
29835
|
+
if (/*savedData*/ ctx[39].amount === "Custom") {
|
|
29828
29836
|
if (if_block0) {
|
|
29829
29837
|
if_block0.p(ctx, dirty);
|
|
29830
29838
|
} else {
|
|
@@ -29864,14 +29872,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29864
29872
|
block,
|
|
29865
29873
|
id: create_if_block_5$3.name,
|
|
29866
29874
|
type: "if",
|
|
29867
|
-
source: "(
|
|
29875
|
+
source: "(306:10) {#if limitsUpdateData.period === savedData.periodName}",
|
|
29868
29876
|
ctx
|
|
29869
29877
|
});
|
|
29870
29878
|
|
|
29871
29879
|
return block;
|
|
29872
29880
|
}
|
|
29873
29881
|
|
|
29874
|
-
// (
|
|
29882
|
+
// (311:58) {#if selectData !== "No limit" && selectData !== "Custom"}
|
|
29875
29883
|
function create_if_block_8$1(ctx) {
|
|
29876
29884
|
let t_value = /*limitsUpdateData*/ ctx[6].currency + "";
|
|
29877
29885
|
let t;
|
|
@@ -29895,20 +29903,20 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29895
29903
|
block,
|
|
29896
29904
|
id: create_if_block_8$1.name,
|
|
29897
29905
|
type: "if",
|
|
29898
|
-
source: "(
|
|
29906
|
+
source: "(311:58) {#if selectData !== \\\"No limit\\\" && selectData !== \\\"Custom\\\"}",
|
|
29899
29907
|
ctx
|
|
29900
29908
|
});
|
|
29901
29909
|
|
|
29902
29910
|
return block;
|
|
29903
29911
|
}
|
|
29904
29912
|
|
|
29905
|
-
// (
|
|
29913
|
+
// (310:16) {#each lossLimitPredefinedValues as selectData}
|
|
29906
29914
|
function create_each_block_3(ctx) {
|
|
29907
29915
|
let option;
|
|
29908
|
-
let t0_value = /*selectData*/ ctx[
|
|
29916
|
+
let t0_value = /*selectData*/ ctx[33] + "";
|
|
29909
29917
|
let t0;
|
|
29910
29918
|
let t1;
|
|
29911
|
-
let if_block = /*selectData*/ ctx[
|
|
29919
|
+
let if_block = /*selectData*/ ctx[33] !== "No limit" && /*selectData*/ ctx[33] !== "Custom" && create_if_block_8$1(ctx);
|
|
29912
29920
|
|
|
29913
29921
|
const block = {
|
|
29914
29922
|
c: function create() {
|
|
@@ -29916,9 +29924,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29916
29924
|
t0 = text(t0_value);
|
|
29917
29925
|
t1 = space();
|
|
29918
29926
|
if (if_block) if_block.c();
|
|
29919
|
-
option.__value = /*selectData*/ ctx[
|
|
29927
|
+
option.__value = /*selectData*/ ctx[33];
|
|
29920
29928
|
option.value = option.__value;
|
|
29921
|
-
add_location(option, file$3,
|
|
29929
|
+
add_location(option, file$3, 310, 18, 14248);
|
|
29922
29930
|
},
|
|
29923
29931
|
m: function mount(target, anchor) {
|
|
29924
29932
|
insert_dev(target, option, anchor);
|
|
@@ -29927,7 +29935,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29927
29935
|
if (if_block) if_block.m(option, null);
|
|
29928
29936
|
},
|
|
29929
29937
|
p: function update(ctx, dirty) {
|
|
29930
|
-
if (/*selectData*/ ctx[
|
|
29938
|
+
if (/*selectData*/ ctx[33] !== "No limit" && /*selectData*/ ctx[33] !== "Custom") if_block.p(ctx, dirty);
|
|
29931
29939
|
},
|
|
29932
29940
|
d: function destroy(detaching) {
|
|
29933
29941
|
if (detaching) detach_dev(option);
|
|
@@ -29939,14 +29947,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29939
29947
|
block,
|
|
29940
29948
|
id: create_each_block_3.name,
|
|
29941
29949
|
type: "each",
|
|
29942
|
-
source: "(
|
|
29950
|
+
source: "(310:16) {#each lossLimitPredefinedValues as selectData}",
|
|
29943
29951
|
ctx
|
|
29944
29952
|
});
|
|
29945
29953
|
|
|
29946
29954
|
return block;
|
|
29947
29955
|
}
|
|
29948
29956
|
|
|
29949
|
-
// (
|
|
29957
|
+
// (314:14) {#if savedData.amount === "Custom"}
|
|
29950
29958
|
function create_if_block_7$1(ctx) {
|
|
29951
29959
|
let input;
|
|
29952
29960
|
let input_disabled_value;
|
|
@@ -29954,7 +29962,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29954
29962
|
let dispose;
|
|
29955
29963
|
|
|
29956
29964
|
function input_input_handler_1() {
|
|
29957
|
-
/*input_input_handler_1*/ ctx[23].call(input, /*each_value_2*/ ctx[
|
|
29965
|
+
/*input_input_handler_1*/ ctx[23].call(input, /*each_value_2*/ ctx[40], /*index*/ ctx[35]);
|
|
29958
29966
|
}
|
|
29959
29967
|
|
|
29960
29968
|
const block = {
|
|
@@ -29963,11 +29971,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29963
29971
|
attr_dev(input, "type", "number");
|
|
29964
29972
|
attr_dev(input, "class", "AccountEditField");
|
|
29965
29973
|
input.disabled = input_disabled_value = /*limitsUpdateData*/ ctx[6].isModified === true;
|
|
29966
|
-
add_location(input, file$3,
|
|
29974
|
+
add_location(input, file$3, 314, 16, 14545);
|
|
29967
29975
|
},
|
|
29968
29976
|
m: function mount(target, anchor) {
|
|
29969
29977
|
insert_dev(target, input, anchor);
|
|
29970
|
-
set_input_value(input, /*savedData*/ ctx[
|
|
29978
|
+
set_input_value(input, /*savedData*/ ctx[39].value);
|
|
29971
29979
|
|
|
29972
29980
|
if (!mounted) {
|
|
29973
29981
|
dispose = [
|
|
@@ -29994,8 +30002,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
29994
30002
|
prop_dev(input, "disabled", input_disabled_value);
|
|
29995
30003
|
}
|
|
29996
30004
|
|
|
29997
|
-
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8704 && to_number(input.value) !== /*savedData*/ ctx[
|
|
29998
|
-
set_input_value(input, /*savedData*/ ctx[
|
|
30005
|
+
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8704 && to_number(input.value) !== /*savedData*/ ctx[39].value) {
|
|
30006
|
+
set_input_value(input, /*savedData*/ ctx[39].value);
|
|
29999
30007
|
}
|
|
30000
30008
|
},
|
|
30001
30009
|
d: function destroy(detaching) {
|
|
@@ -30009,14 +30017,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30009
30017
|
block,
|
|
30010
30018
|
id: create_if_block_7$1.name,
|
|
30011
30019
|
type: "if",
|
|
30012
|
-
source: "(
|
|
30020
|
+
source: "(314:14) {#if savedData.amount === \\\"Custom\\\"}",
|
|
30013
30021
|
ctx
|
|
30014
30022
|
});
|
|
30015
30023
|
|
|
30016
30024
|
return block;
|
|
30017
30025
|
}
|
|
30018
30026
|
|
|
30019
|
-
// (
|
|
30027
|
+
// (317:14) {#if limitsUpdateData.isModified === true}
|
|
30020
30028
|
function create_if_block_6$2(ctx) {
|
|
30021
30029
|
let p0;
|
|
30022
30030
|
let t0;
|
|
@@ -30065,15 +30073,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30065
30073
|
t6 = space();
|
|
30066
30074
|
t7 = text(t7_value);
|
|
30067
30075
|
t8 = text(". \u000bYou will have to wait for the expiration date for your new limit \u000bto take effect");
|
|
30068
|
-
add_location(span0, file$3,
|
|
30076
|
+
add_location(span0, file$3, 317, 72, 14890);
|
|
30069
30077
|
attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
|
|
30070
|
-
add_location(p0, file$3,
|
|
30078
|
+
add_location(p0, file$3, 317, 16, 14834);
|
|
30071
30079
|
attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
|
|
30072
|
-
add_location(span1, file$3,
|
|
30073
|
-
add_location(span2, file$3,
|
|
30074
|
-
add_location(p1, file$3,
|
|
30080
|
+
add_location(span1, file$3, 319, 21, 15089);
|
|
30081
|
+
add_location(span2, file$3, 319, 76, 15144);
|
|
30082
|
+
add_location(p1, file$3, 319, 18, 15086);
|
|
30075
30083
|
attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
|
|
30076
|
-
add_location(div, file$3,
|
|
30084
|
+
add_location(div, file$3, 318, 16, 15015);
|
|
30077
30085
|
},
|
|
30078
30086
|
m: function mount(target, anchor) {
|
|
30079
30087
|
insert_dev(target, p0, anchor);
|
|
@@ -30115,17 +30123,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30115
30123
|
block,
|
|
30116
30124
|
id: create_if_block_6$2.name,
|
|
30117
30125
|
type: "if",
|
|
30118
|
-
source: "(
|
|
30126
|
+
source: "(317:14) {#if limitsUpdateData.isModified === true}",
|
|
30119
30127
|
ctx
|
|
30120
30128
|
});
|
|
30121
30129
|
|
|
30122
30130
|
return block;
|
|
30123
30131
|
}
|
|
30124
30132
|
|
|
30125
|
-
// (
|
|
30133
|
+
// (305:8) {#each storedData as savedData, index}
|
|
30126
30134
|
function create_each_block_2(ctx) {
|
|
30127
30135
|
let if_block_anchor;
|
|
30128
|
-
let if_block = /*limitsUpdateData*/ ctx[6].period === /*savedData*/ ctx[
|
|
30136
|
+
let if_block = /*limitsUpdateData*/ ctx[6].period === /*savedData*/ ctx[39].periodName && create_if_block_5$3(ctx);
|
|
30129
30137
|
|
|
30130
30138
|
const block = {
|
|
30131
30139
|
c: function create() {
|
|
@@ -30137,7 +30145,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30137
30145
|
insert_dev(target, if_block_anchor, anchor);
|
|
30138
30146
|
},
|
|
30139
30147
|
p: function update(ctx, dirty) {
|
|
30140
|
-
if (/*limitsUpdateData*/ ctx[6].period === /*savedData*/ ctx[
|
|
30148
|
+
if (/*limitsUpdateData*/ ctx[6].period === /*savedData*/ ctx[39].periodName) {
|
|
30141
30149
|
if (if_block) {
|
|
30142
30150
|
if_block.p(ctx, dirty);
|
|
30143
30151
|
} else {
|
|
@@ -30160,14 +30168,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30160
30168
|
block,
|
|
30161
30169
|
id: create_each_block_2.name,
|
|
30162
30170
|
type: "each",
|
|
30163
|
-
source: "(
|
|
30171
|
+
source: "(305:8) {#each storedData as savedData, index}",
|
|
30164
30172
|
ctx
|
|
30165
30173
|
});
|
|
30166
30174
|
|
|
30167
30175
|
return block;
|
|
30168
30176
|
}
|
|
30169
30177
|
|
|
30170
|
-
// (
|
|
30178
|
+
// (276:12) {#if selectData.period == storedData[index].periodName}
|
|
30171
30179
|
function create_if_block_1$3(ctx) {
|
|
30172
30180
|
let select;
|
|
30173
30181
|
let select_disabled_value;
|
|
@@ -30176,7 +30184,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30176
30184
|
let if_block1_anchor;
|
|
30177
30185
|
let mounted;
|
|
30178
30186
|
let dispose;
|
|
30179
|
-
let each_value_1 = /*depositPredefinedValues*/ ctx[12][/*index*/ ctx[
|
|
30187
|
+
let each_value_1 = /*depositPredefinedValues*/ ctx[12][/*index*/ ctx[35]].values;
|
|
30180
30188
|
validate_each_argument(each_value_1);
|
|
30181
30189
|
let each_blocks = [];
|
|
30182
30190
|
|
|
@@ -30185,11 +30193,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30185
30193
|
}
|
|
30186
30194
|
|
|
30187
30195
|
function select_change_handler() {
|
|
30188
|
-
/*select_change_handler*/ ctx[19].call(select, /*index*/ ctx[
|
|
30196
|
+
/*select_change_handler*/ ctx[19].call(select, /*index*/ ctx[35]);
|
|
30189
30197
|
}
|
|
30190
30198
|
|
|
30191
|
-
let if_block0 = /*storedData*/ ctx[9][/*index*/ ctx[
|
|
30192
|
-
let if_block1 = /*selectData*/ ctx[
|
|
30199
|
+
let if_block0 = /*storedData*/ ctx[9][/*index*/ ctx[35]].amount === "Custom" && create_if_block_3$3(ctx);
|
|
30200
|
+
let if_block1 = /*selectData*/ ctx[33].isModified === true && create_if_block_2$3(ctx);
|
|
30193
30201
|
|
|
30194
30202
|
const block = {
|
|
30195
30203
|
c: function create() {
|
|
@@ -30205,9 +30213,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30205
30213
|
if (if_block1) if_block1.c();
|
|
30206
30214
|
if_block1_anchor = empty();
|
|
30207
30215
|
attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[10] ? "TimeoutSelectMobile" : ""));
|
|
30208
|
-
select.disabled = select_disabled_value = /*selectData*/ ctx[
|
|
30209
|
-
if (/*storedData*/ ctx[9][/*index*/ ctx[
|
|
30210
|
-
add_location(select, file$3,
|
|
30216
|
+
select.disabled = select_disabled_value = /*selectData*/ ctx[33].isModified === true;
|
|
30217
|
+
if (/*storedData*/ ctx[9][/*index*/ ctx[35]].amount === void 0) add_render_callback(select_change_handler);
|
|
30218
|
+
add_location(select, file$3, 276, 14, 11426);
|
|
30211
30219
|
},
|
|
30212
30220
|
m: function mount(target, anchor) {
|
|
30213
30221
|
insert_dev(target, select, anchor);
|
|
@@ -30216,7 +30224,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30216
30224
|
each_blocks[i].m(select, null);
|
|
30217
30225
|
}
|
|
30218
30226
|
|
|
30219
|
-
select_option(select, /*storedData*/ ctx[9][/*index*/ ctx[
|
|
30227
|
+
select_option(select, /*storedData*/ ctx[9][/*index*/ ctx[35]].amount);
|
|
30220
30228
|
insert_dev(target, t0, anchor);
|
|
30221
30229
|
if (if_block0) if_block0.m(target, anchor);
|
|
30222
30230
|
insert_dev(target, t1, anchor);
|
|
@@ -30230,7 +30238,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30230
30238
|
select,
|
|
30231
30239
|
"change",
|
|
30232
30240
|
function () {
|
|
30233
|
-
if (is_function(/*updateValues*/ ctx[18](/*storedData*/ ctx[9][/*index*/ ctx[
|
|
30241
|
+
if (is_function(/*updateValues*/ ctx[18](/*storedData*/ ctx[9][/*index*/ ctx[35]], /*updatedLimitValues*/ ctx[8], false))) /*updateValues*/ ctx[18](/*storedData*/ ctx[9][/*index*/ ctx[35]], /*updatedLimitValues*/ ctx[8], false).apply(this, arguments);
|
|
30234
30242
|
},
|
|
30235
30243
|
false,
|
|
30236
30244
|
false,
|
|
@@ -30245,7 +30253,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30245
30253
|
ctx = new_ctx;
|
|
30246
30254
|
|
|
30247
30255
|
if (dirty[0] & /*depositPredefinedValues, limitsdata*/ 4097) {
|
|
30248
|
-
each_value_1 = /*depositPredefinedValues*/ ctx[12][/*index*/ ctx[
|
|
30256
|
+
each_value_1 = /*depositPredefinedValues*/ ctx[12][/*index*/ ctx[35]].values;
|
|
30249
30257
|
validate_each_argument(each_value_1);
|
|
30250
30258
|
let i;
|
|
30251
30259
|
|
|
@@ -30268,15 +30276,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30268
30276
|
each_blocks.length = each_value_1.length;
|
|
30269
30277
|
}
|
|
30270
30278
|
|
|
30271
|
-
if (dirty[0] & /*limitsdata*/ 1 && select_disabled_value !== (select_disabled_value = /*selectData*/ ctx[
|
|
30279
|
+
if (dirty[0] & /*limitsdata*/ 1 && select_disabled_value !== (select_disabled_value = /*selectData*/ ctx[33].isModified === true)) {
|
|
30272
30280
|
prop_dev(select, "disabled", select_disabled_value);
|
|
30273
30281
|
}
|
|
30274
30282
|
|
|
30275
30283
|
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8704) {
|
|
30276
|
-
select_option(select, /*storedData*/ ctx[9][/*index*/ ctx[
|
|
30284
|
+
select_option(select, /*storedData*/ ctx[9][/*index*/ ctx[35]].amount);
|
|
30277
30285
|
}
|
|
30278
30286
|
|
|
30279
|
-
if (/*storedData*/ ctx[9][/*index*/ ctx[
|
|
30287
|
+
if (/*storedData*/ ctx[9][/*index*/ ctx[35]].amount === "Custom") {
|
|
30280
30288
|
if (if_block0) {
|
|
30281
30289
|
if_block0.p(ctx, dirty);
|
|
30282
30290
|
} else {
|
|
@@ -30289,7 +30297,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30289
30297
|
if_block0 = null;
|
|
30290
30298
|
}
|
|
30291
30299
|
|
|
30292
|
-
if (/*selectData*/ ctx[
|
|
30300
|
+
if (/*selectData*/ ctx[33].isModified === true) {
|
|
30293
30301
|
if (if_block1) {
|
|
30294
30302
|
if_block1.p(ctx, dirty);
|
|
30295
30303
|
} else {
|
|
@@ -30319,17 +30327,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30319
30327
|
block,
|
|
30320
30328
|
id: create_if_block_1$3.name,
|
|
30321
30329
|
type: "if",
|
|
30322
|
-
source: "(
|
|
30330
|
+
source: "(276:12) {#if selectData.period == storedData[index].periodName}",
|
|
30323
30331
|
ctx
|
|
30324
30332
|
});
|
|
30325
30333
|
|
|
30326
30334
|
return block;
|
|
30327
30335
|
}
|
|
30328
30336
|
|
|
30329
|
-
// (
|
|
30337
|
+
// (279:66) {#if predefinedData !== "No limit" && predefinedData !== "Custom"}
|
|
30330
30338
|
function create_if_block_4$3(ctx) {
|
|
30331
|
-
let t_value = (/*selectData*/ ctx[
|
|
30332
|
-
? /*selectData*/ ctx[
|
|
30339
|
+
let t_value = (/*selectData*/ ctx[33].minutes === undefined
|
|
30340
|
+
? /*selectData*/ ctx[33].currency
|
|
30333
30341
|
: " minutes") + "";
|
|
30334
30342
|
|
|
30335
30343
|
let t;
|
|
@@ -30342,8 +30350,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30342
30350
|
insert_dev(target, t, anchor);
|
|
30343
30351
|
},
|
|
30344
30352
|
p: function update(ctx, dirty) {
|
|
30345
|
-
if (dirty[0] & /*limitsdata*/ 1 && t_value !== (t_value = (/*selectData*/ ctx[
|
|
30346
|
-
? /*selectData*/ ctx[
|
|
30353
|
+
if (dirty[0] & /*limitsdata*/ 1 && t_value !== (t_value = (/*selectData*/ ctx[33].minutes === undefined
|
|
30354
|
+
? /*selectData*/ ctx[33].currency
|
|
30347
30355
|
: " minutes") + "")) set_data_dev(t, t_value);
|
|
30348
30356
|
},
|
|
30349
30357
|
d: function destroy(detaching) {
|
|
@@ -30355,20 +30363,20 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30355
30363
|
block,
|
|
30356
30364
|
id: create_if_block_4$3.name,
|
|
30357
30365
|
type: "if",
|
|
30358
|
-
source: "(
|
|
30366
|
+
source: "(279:66) {#if predefinedData !== \\\"No limit\\\" && predefinedData !== \\\"Custom\\\"}",
|
|
30359
30367
|
ctx
|
|
30360
30368
|
});
|
|
30361
30369
|
|
|
30362
30370
|
return block;
|
|
30363
30371
|
}
|
|
30364
30372
|
|
|
30365
|
-
// (
|
|
30373
|
+
// (278:16) {#each depositPredefinedValues[index].values as predefinedData}
|
|
30366
30374
|
function create_each_block_1$1(ctx) {
|
|
30367
30375
|
let option;
|
|
30368
|
-
let t0_value = /*predefinedData*/ ctx[
|
|
30376
|
+
let t0_value = /*predefinedData*/ ctx[36] + "";
|
|
30369
30377
|
let t0;
|
|
30370
30378
|
let t1;
|
|
30371
|
-
let if_block = /*predefinedData*/ ctx[
|
|
30379
|
+
let if_block = /*predefinedData*/ ctx[36] !== "No limit" && /*predefinedData*/ ctx[36] !== "Custom" && create_if_block_4$3(ctx);
|
|
30372
30380
|
|
|
30373
30381
|
const block = {
|
|
30374
30382
|
c: function create() {
|
|
@@ -30376,9 +30384,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30376
30384
|
t0 = text(t0_value);
|
|
30377
30385
|
t1 = space();
|
|
30378
30386
|
if (if_block) if_block.c();
|
|
30379
|
-
option.__value = /*predefinedData*/ ctx[
|
|
30387
|
+
option.__value = /*predefinedData*/ ctx[36];
|
|
30380
30388
|
option.value = option.__value;
|
|
30381
|
-
add_location(option, file$3,
|
|
30389
|
+
add_location(option, file$3, 278, 18, 11750);
|
|
30382
30390
|
},
|
|
30383
30391
|
m: function mount(target, anchor) {
|
|
30384
30392
|
insert_dev(target, option, anchor);
|
|
@@ -30387,7 +30395,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30387
30395
|
if (if_block) if_block.m(option, null);
|
|
30388
30396
|
},
|
|
30389
30397
|
p: function update(ctx, dirty) {
|
|
30390
|
-
if (/*predefinedData*/ ctx[
|
|
30398
|
+
if (/*predefinedData*/ ctx[36] !== "No limit" && /*predefinedData*/ ctx[36] !== "Custom") if_block.p(ctx, dirty);
|
|
30391
30399
|
},
|
|
30392
30400
|
d: function destroy(detaching) {
|
|
30393
30401
|
if (detaching) detach_dev(option);
|
|
@@ -30399,14 +30407,14 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30399
30407
|
block,
|
|
30400
30408
|
id: create_each_block_1$1.name,
|
|
30401
30409
|
type: "each",
|
|
30402
|
-
source: "(
|
|
30410
|
+
source: "(278:16) {#each depositPredefinedValues[index].values as predefinedData}",
|
|
30403
30411
|
ctx
|
|
30404
30412
|
});
|
|
30405
30413
|
|
|
30406
30414
|
return block;
|
|
30407
30415
|
}
|
|
30408
30416
|
|
|
30409
|
-
// (
|
|
30417
|
+
// (282:14) {#if storedData[index].amount === "Custom"}
|
|
30410
30418
|
function create_if_block_3$3(ctx) {
|
|
30411
30419
|
let input;
|
|
30412
30420
|
let input_disabled_value;
|
|
@@ -30414,7 +30422,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30414
30422
|
let dispose;
|
|
30415
30423
|
|
|
30416
30424
|
function input_input_handler() {
|
|
30417
|
-
/*input_input_handler*/ ctx[20].call(input, /*index*/ ctx[
|
|
30425
|
+
/*input_input_handler*/ ctx[20].call(input, /*index*/ ctx[35]);
|
|
30418
30426
|
}
|
|
30419
30427
|
|
|
30420
30428
|
const block = {
|
|
@@ -30422,12 +30430,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30422
30430
|
input = element("input");
|
|
30423
30431
|
attr_dev(input, "type", "number");
|
|
30424
30432
|
attr_dev(input, "class", "AccountEditField");
|
|
30425
|
-
input.disabled = input_disabled_value = /*selectData*/ ctx[
|
|
30426
|
-
add_location(input, file$3,
|
|
30433
|
+
input.disabled = input_disabled_value = /*selectData*/ ctx[33].isModified === true;
|
|
30434
|
+
add_location(input, file$3, 282, 16, 12070);
|
|
30427
30435
|
},
|
|
30428
30436
|
m: function mount(target, anchor) {
|
|
30429
30437
|
insert_dev(target, input, anchor);
|
|
30430
|
-
set_input_value(input, /*storedData*/ ctx[9][/*index*/ ctx[
|
|
30438
|
+
set_input_value(input, /*storedData*/ ctx[9][/*index*/ ctx[35]].value);
|
|
30431
30439
|
|
|
30432
30440
|
if (!mounted) {
|
|
30433
30441
|
dispose = [
|
|
@@ -30436,7 +30444,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30436
30444
|
input,
|
|
30437
30445
|
"input",
|
|
30438
30446
|
function () {
|
|
30439
|
-
if (is_function(/*updateValues*/ ctx[18](/*storedData*/ ctx[9][/*index*/ ctx[
|
|
30447
|
+
if (is_function(/*updateValues*/ ctx[18](/*storedData*/ ctx[9][/*index*/ ctx[35]], /*updatedLimitValues*/ ctx[8], true))) /*updateValues*/ ctx[18](/*storedData*/ ctx[9][/*index*/ ctx[35]], /*updatedLimitValues*/ ctx[8], true).apply(this, arguments);
|
|
30440
30448
|
},
|
|
30441
30449
|
false,
|
|
30442
30450
|
false,
|
|
@@ -30450,12 +30458,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30450
30458
|
p: function update(new_ctx, dirty) {
|
|
30451
30459
|
ctx = new_ctx;
|
|
30452
30460
|
|
|
30453
|
-
if (dirty[0] & /*limitsdata*/ 1 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[
|
|
30461
|
+
if (dirty[0] & /*limitsdata*/ 1 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[33].isModified === true)) {
|
|
30454
30462
|
prop_dev(input, "disabled", input_disabled_value);
|
|
30455
30463
|
}
|
|
30456
30464
|
|
|
30457
|
-
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8704 && to_number(input.value) !== /*storedData*/ ctx[9][/*index*/ ctx[
|
|
30458
|
-
set_input_value(input, /*storedData*/ ctx[9][/*index*/ ctx[
|
|
30465
|
+
if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8704 && to_number(input.value) !== /*storedData*/ ctx[9][/*index*/ ctx[35]].value) {
|
|
30466
|
+
set_input_value(input, /*storedData*/ ctx[9][/*index*/ ctx[35]].value);
|
|
30459
30467
|
}
|
|
30460
30468
|
},
|
|
30461
30469
|
d: function destroy(detaching) {
|
|
@@ -30469,21 +30477,21 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30469
30477
|
block,
|
|
30470
30478
|
id: create_if_block_3$3.name,
|
|
30471
30479
|
type: "if",
|
|
30472
|
-
source: "(
|
|
30480
|
+
source: "(282:14) {#if storedData[index].amount === \\\"Custom\\\"}",
|
|
30473
30481
|
ctx
|
|
30474
30482
|
});
|
|
30475
30483
|
|
|
30476
30484
|
return block;
|
|
30477
30485
|
}
|
|
30478
30486
|
|
|
30479
|
-
// (
|
|
30487
|
+
// (285:14) {#if selectData.isModified === true}
|
|
30480
30488
|
function create_if_block_2$3(ctx) {
|
|
30481
30489
|
let p0;
|
|
30482
30490
|
let t0;
|
|
30483
30491
|
let span0;
|
|
30484
30492
|
|
|
30485
|
-
let t1_value = (/*selectData*/ ctx[
|
|
30486
|
-
? moment(/*selectData*/ ctx[
|
|
30493
|
+
let t1_value = (/*selectData*/ ctx[33].expiryDate
|
|
30494
|
+
? moment(/*selectData*/ ctx[33].expiryDate).format("D/M/YYYY - h:mm A")
|
|
30487
30495
|
: "N/A") + "";
|
|
30488
30496
|
|
|
30489
30497
|
let t1;
|
|
@@ -30494,17 +30502,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30494
30502
|
let span2;
|
|
30495
30503
|
let t4;
|
|
30496
30504
|
|
|
30497
|
-
let t5_value = (/*selectData*/ ctx[
|
|
30505
|
+
let t5_value = (/*selectData*/ ctx[33].minutes !== undefined
|
|
30498
30506
|
? " minutes"
|
|
30499
|
-
: /*selectData*/ ctx[
|
|
30500
|
-
? /*selectData*/ ctx[
|
|
30507
|
+
: /*selectData*/ ctx[33].currency
|
|
30508
|
+
? /*selectData*/ ctx[33].currency
|
|
30501
30509
|
: "") + "";
|
|
30502
30510
|
|
|
30503
30511
|
let t5;
|
|
30504
30512
|
let t6;
|
|
30505
30513
|
|
|
30506
|
-
let t7_value = (/*selectData*/ ctx[
|
|
30507
|
-
? /*selectData*/ ctx[
|
|
30514
|
+
let t7_value = (/*selectData*/ ctx[33].updateAmount
|
|
30515
|
+
? /*selectData*/ ctx[33].updateAmount
|
|
30508
30516
|
: 0) + "";
|
|
30509
30517
|
|
|
30510
30518
|
let t7;
|
|
@@ -30527,15 +30535,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30527
30535
|
t6 = space();
|
|
30528
30536
|
t7 = text(t7_value);
|
|
30529
30537
|
t8 = text(". \u000bYou will have to wait for the expiration date for your new limit \u000bto take effect");
|
|
30530
|
-
add_location(span0, file$3,
|
|
30538
|
+
add_location(span0, file$3, 285, 72, 12411);
|
|
30531
30539
|
attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
|
|
30532
|
-
add_location(p0, file$3,
|
|
30540
|
+
add_location(p0, file$3, 285, 16, 12355);
|
|
30533
30541
|
attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
|
|
30534
|
-
add_location(span1, file$3,
|
|
30535
|
-
add_location(span2, file$3,
|
|
30536
|
-
add_location(p1, file$3,
|
|
30542
|
+
add_location(span1, file$3, 287, 21, 12610);
|
|
30543
|
+
add_location(span2, file$3, 287, 76, 12665);
|
|
30544
|
+
add_location(p1, file$3, 287, 18, 12607);
|
|
30537
30545
|
attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
|
|
30538
|
-
add_location(div, file$3,
|
|
30546
|
+
add_location(div, file$3, 286, 16, 12536);
|
|
30539
30547
|
},
|
|
30540
30548
|
m: function mount(target, anchor) {
|
|
30541
30549
|
insert_dev(target, p0, anchor);
|
|
@@ -30554,18 +30562,18 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30554
30562
|
append_dev(span2, t8);
|
|
30555
30563
|
},
|
|
30556
30564
|
p: function update(ctx, dirty) {
|
|
30557
|
-
if (dirty[0] & /*limitsdata*/ 1 && t1_value !== (t1_value = (/*selectData*/ ctx[
|
|
30558
|
-
? moment(/*selectData*/ ctx[
|
|
30565
|
+
if (dirty[0] & /*limitsdata*/ 1 && t1_value !== (t1_value = (/*selectData*/ ctx[33].expiryDate
|
|
30566
|
+
? moment(/*selectData*/ ctx[33].expiryDate).format("D/M/YYYY - h:mm A")
|
|
30559
30567
|
: "N/A") + "")) set_data_dev(t1, t1_value);
|
|
30560
30568
|
|
|
30561
|
-
if (dirty[0] & /*limitsdata*/ 1 && t5_value !== (t5_value = (/*selectData*/ ctx[
|
|
30569
|
+
if (dirty[0] & /*limitsdata*/ 1 && t5_value !== (t5_value = (/*selectData*/ ctx[33].minutes !== undefined
|
|
30562
30570
|
? " minutes"
|
|
30563
|
-
: /*selectData*/ ctx[
|
|
30564
|
-
? /*selectData*/ ctx[
|
|
30571
|
+
: /*selectData*/ ctx[33].currency
|
|
30572
|
+
? /*selectData*/ ctx[33].currency
|
|
30565
30573
|
: "") + "")) set_data_dev(t5, t5_value);
|
|
30566
30574
|
|
|
30567
|
-
if (dirty[0] & /*limitsdata*/ 1 && t7_value !== (t7_value = (/*selectData*/ ctx[
|
|
30568
|
-
? /*selectData*/ ctx[
|
|
30575
|
+
if (dirty[0] & /*limitsdata*/ 1 && t7_value !== (t7_value = (/*selectData*/ ctx[33].updateAmount
|
|
30576
|
+
? /*selectData*/ ctx[33].updateAmount
|
|
30569
30577
|
: 0) + "")) set_data_dev(t7, t7_value);
|
|
30570
30578
|
},
|
|
30571
30579
|
d: function destroy(detaching) {
|
|
@@ -30579,22 +30587,22 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30579
30587
|
block,
|
|
30580
30588
|
id: create_if_block_2$3.name,
|
|
30581
30589
|
type: "if",
|
|
30582
|
-
source: "(
|
|
30590
|
+
source: "(285:14) {#if selectData.isModified === true}",
|
|
30583
30591
|
ctx
|
|
30584
30592
|
});
|
|
30585
30593
|
|
|
30586
30594
|
return block;
|
|
30587
30595
|
}
|
|
30588
30596
|
|
|
30589
|
-
// (
|
|
30597
|
+
// (273:8) {#each limitsdata as selectData, index}
|
|
30590
30598
|
function create_each_block$1(ctx) {
|
|
30591
30599
|
let div;
|
|
30592
30600
|
let p;
|
|
30593
|
-
let t0_value = /*selectData*/ ctx[
|
|
30601
|
+
let t0_value = /*selectData*/ ctx[33].period + "";
|
|
30594
30602
|
let t0;
|
|
30595
30603
|
let t1;
|
|
30596
30604
|
let t2;
|
|
30597
|
-
let if_block = /*selectData*/ ctx[
|
|
30605
|
+
let if_block = /*selectData*/ ctx[33].period == /*storedData*/ ctx[9][/*index*/ ctx[35]].periodName && create_if_block_1$3(ctx);
|
|
30598
30606
|
|
|
30599
30607
|
const block = {
|
|
30600
30608
|
c: function create() {
|
|
@@ -30605,9 +30613,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30605
30613
|
if (if_block) if_block.c();
|
|
30606
30614
|
t2 = space();
|
|
30607
30615
|
attr_dev(p, "class", "AccountEditLimitsTitle");
|
|
30608
|
-
add_location(p, file$3,
|
|
30616
|
+
add_location(p, file$3, 274, 12, 11286);
|
|
30609
30617
|
attr_dev(div, "class", "AccountEditLimitsBox");
|
|
30610
|
-
add_location(div, file$3,
|
|
30618
|
+
add_location(div, file$3, 273, 10, 11239);
|
|
30611
30619
|
},
|
|
30612
30620
|
m: function mount(target, anchor) {
|
|
30613
30621
|
insert_dev(target, div, anchor);
|
|
@@ -30618,9 +30626,9 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30618
30626
|
append_dev(div, t2);
|
|
30619
30627
|
},
|
|
30620
30628
|
p: function update(ctx, dirty) {
|
|
30621
|
-
if (dirty[0] & /*limitsdata*/ 1 && t0_value !== (t0_value = /*selectData*/ ctx[
|
|
30629
|
+
if (dirty[0] & /*limitsdata*/ 1 && t0_value !== (t0_value = /*selectData*/ ctx[33].period + "")) set_data_dev(t0, t0_value);
|
|
30622
30630
|
|
|
30623
|
-
if (/*selectData*/ ctx[
|
|
30631
|
+
if (/*selectData*/ ctx[33].period == /*storedData*/ ctx[9][/*index*/ ctx[35]].periodName) {
|
|
30624
30632
|
if (if_block) {
|
|
30625
30633
|
if_block.p(ctx, dirty);
|
|
30626
30634
|
} else {
|
|
@@ -30643,7 +30651,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30643
30651
|
block,
|
|
30644
30652
|
id: create_each_block$1.name,
|
|
30645
30653
|
type: "each",
|
|
30646
|
-
source: "(
|
|
30654
|
+
source: "(273:8) {#each limitsdata as selectData, index}",
|
|
30647
30655
|
ctx
|
|
30648
30656
|
});
|
|
30649
30657
|
|
|
@@ -30710,31 +30718,31 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30710
30718
|
t9 = text("Save");
|
|
30711
30719
|
this.c = noop$1;
|
|
30712
30720
|
attr_dev(div0, "class", "AccountEditBackButton");
|
|
30713
|
-
add_location(div0, file$3,
|
|
30714
|
-
add_location(h6, file$3,
|
|
30721
|
+
add_location(div0, file$3, 256, 2, 10420);
|
|
30722
|
+
add_location(h6, file$3, 258, 4, 10562);
|
|
30715
30723
|
attr_dev(span, "class", "AccountEditLimitsIcon");
|
|
30716
|
-
add_location(span, file$3,
|
|
30724
|
+
add_location(span, file$3, 260, 6, 10660);
|
|
30717
30725
|
set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[4]);
|
|
30718
30726
|
set_custom_element_data(player_account_gaming_limits_popup, "infocontent", /*infocontent*/ ctx[2]);
|
|
30719
30727
|
set_custom_element_data(player_account_gaming_limits_popup, "infoname", /*infoname*/ ctx[1]);
|
|
30720
|
-
add_location(player_account_gaming_limits_popup, file$3,
|
|
30728
|
+
add_location(player_account_gaming_limits_popup, file$3, 261, 6, 10751);
|
|
30721
30729
|
attr_dev(div1, "class", "AccountEditLimitsIconWrapper");
|
|
30722
|
-
add_location(div1, file$3,
|
|
30730
|
+
add_location(div1, file$3, 259, 4, 10611);
|
|
30723
30731
|
attr_dev(div2, "class", "AccountEditLimitsHeader");
|
|
30724
|
-
add_location(div2, file$3,
|
|
30732
|
+
add_location(div2, file$3, 257, 2, 10520);
|
|
30725
30733
|
attr_dev(div3, "class", "AccountEditContent");
|
|
30726
|
-
add_location(div3, file$3,
|
|
30734
|
+
add_location(div3, file$3, 269, 2, 11016);
|
|
30727
30735
|
|
|
30728
30736
|
attr_dev(button, "class", button_class_value = "AccountEditLimitsSaveButton " + (/*differencesExist*/ ctx[7]
|
|
30729
30737
|
? ""
|
|
30730
30738
|
: "AccountEditLimitsButtonDisabled"));
|
|
30731
30739
|
|
|
30732
30740
|
button.disabled = button_disabled_value = !/*differencesExist*/ ctx[7];
|
|
30733
|
-
add_location(button, file$3,
|
|
30741
|
+
add_location(button, file$3, 329, 4, 15578);
|
|
30734
30742
|
attr_dev(div4, "class", "AccountEditLimitsControlArea");
|
|
30735
|
-
add_location(div4, file$3,
|
|
30743
|
+
add_location(div4, file$3, 328, 2, 15531);
|
|
30736
30744
|
attr_dev(div5, "class", "AccountEditLimitsWrapper");
|
|
30737
|
-
add_location(div5, file$3,
|
|
30745
|
+
add_location(div5, file$3, 255, 0, 10379);
|
|
30738
30746
|
},
|
|
30739
30747
|
l: function claim(nodes) {
|
|
30740
30748
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -30913,15 +30921,15 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
30913
30921
|
let timeLimitPredefinedValues = [
|
|
30914
30922
|
{
|
|
30915
30923
|
periodName: "Daily",
|
|
30916
|
-
values: ["No limit", "500
|
|
30924
|
+
values: ["No limit", "500", "500", "1430", "Custom"]
|
|
30917
30925
|
},
|
|
30918
30926
|
{
|
|
30919
30927
|
periodName: "Weekly",
|
|
30920
|
-
values: ["No limit", "5000
|
|
30928
|
+
values: ["No limit", "5000", "7000", "10000", "Custom"]
|
|
30921
30929
|
},
|
|
30922
30930
|
{
|
|
30923
30931
|
periodName: "Monthly",
|
|
30924
|
-
values: ["No limit", "20000
|
|
30932
|
+
values: ["No limit", "20000", "30000", "43000", "Custom"]
|
|
30925
30933
|
}
|
|
30926
30934
|
];
|
|
30927
30935
|
|
|
@@ -31054,61 +31062,37 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
31054
31062
|
}
|
|
31055
31063
|
};
|
|
31056
31064
|
|
|
31057
|
-
|
|
31058
|
-
|
|
31059
|
-
|
|
31060
|
-
|
|
31061
|
-
|
|
31062
|
-
|
|
31063
|
-
|
|
31064
|
-
|
|
31065
|
-
|
|
31066
|
-
|
|
31067
|
-
|
|
31068
|
-
|
|
31069
|
-
|
|
31070
|
-
|
|
31071
|
-
|
|
31072
|
-
|
|
31065
|
+
// if the incoming amount is one of the predefined values, populate the select value with it
|
|
31066
|
+
const addInitialValues = (predefinedValues, incomingData, data, arrayFlag) => {
|
|
31067
|
+
let amounts = arrayFlag ? predefinedValues.values : predefinedValues;
|
|
31068
|
+
|
|
31069
|
+
if (!incomingData.amount || incomingData.amount === "No limit") {
|
|
31070
|
+
// when the limit is unset
|
|
31071
|
+
data.forEach(dataSet => {
|
|
31072
|
+
if (dataSet.periodName === incomingData.period) {
|
|
31073
|
+
dataSet.amount = incomingData.amount;
|
|
31074
|
+
dataSet.value = 0;
|
|
31075
|
+
}
|
|
31076
|
+
});
|
|
31077
|
+
} else if (amounts.includes(JSON.stringify(incomingData.amount))) {
|
|
31078
|
+
// when the limit has a preset value
|
|
31079
|
+
data.forEach(dataSet => {
|
|
31080
|
+
if (dataSet.periodName === incomingData.period) {
|
|
31081
|
+
dataSet.amount = JSON.stringify(incomingData.amount);
|
|
31082
|
+
dataSet.value = incomingData.amount;
|
|
31073
31083
|
}
|
|
31074
31084
|
});
|
|
31075
31085
|
} else {
|
|
31076
|
-
|
|
31077
|
-
|
|
31078
|
-
|
|
31079
|
-
|
|
31080
|
-
|
|
31081
|
-
|
|
31082
|
-
|
|
31083
|
-
data.amount = "Custom"; //
|
|
31084
|
-
|
|
31085
|
-
data.value = incomingData.amount;
|
|
31086
|
-
} else {
|
|
31087
|
-
data.amount = JSON.stringify(incomingData.amount); // when the limit has a preset value
|
|
31088
|
-
data.value = incomingData.amount;
|
|
31089
|
-
}
|
|
31086
|
+
// when the limit has a custom value
|
|
31087
|
+
data.forEach(dataSet => {
|
|
31088
|
+
if (dataSet.periodName === incomingData.period) {
|
|
31089
|
+
dataSet.amount = "Custom";
|
|
31090
|
+
dataSet.value = incomingData.amount;
|
|
31091
|
+
}
|
|
31092
|
+
});
|
|
31090
31093
|
}
|
|
31091
31094
|
};
|
|
31092
31095
|
|
|
31093
|
-
// if the incoming amount is one of the predefined values, populate the select value with it
|
|
31094
|
-
const setAmountInitialValue = (amountsArray, incomingData) => {
|
|
31095
|
-
return storedData.forEach(data => {
|
|
31096
|
-
if (data.periodName === incomingData.period) {
|
|
31097
|
-
amountsArray.forEach(defaultValuesData => {
|
|
31098
|
-
let amounts = isArray ? defaultValuesData.values : defaultValuesData;
|
|
31099
|
-
|
|
31100
|
-
if (isArray) {
|
|
31101
|
-
if (incomingData.period === defaultValuesData.periodName) {
|
|
31102
|
-
addInitialValues(amounts, incomingData, data);
|
|
31103
|
-
}
|
|
31104
|
-
} else {
|
|
31105
|
-
addInitialValues(amounts, incomingData, data);
|
|
31106
|
-
}
|
|
31107
|
-
});
|
|
31108
|
-
}
|
|
31109
|
-
});
|
|
31110
|
-
};
|
|
31111
|
-
|
|
31112
31096
|
const adjustDataValues = dataSet => {
|
|
31113
31097
|
currentLimitType.forEach(defaultValuesData => {
|
|
31114
31098
|
if (dataSet.period === defaultValuesData.periodName) {
|
|
@@ -31178,13 +31162,17 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
31178
31162
|
|
|
31179
31163
|
// set initial values for array data structure
|
|
31180
31164
|
limitsUpdateData.forEach(periodAmountObjectData => {
|
|
31181
|
-
|
|
31165
|
+
currentLimitType.forEach(defaultValuesData => {
|
|
31166
|
+
if (periodAmountObjectData.period === defaultValuesData.periodName) {
|
|
31167
|
+
addInitialValues(defaultValuesData, periodAmountObjectData, storedData, true);
|
|
31168
|
+
}
|
|
31169
|
+
});
|
|
31182
31170
|
});
|
|
31183
31171
|
} else {
|
|
31184
31172
|
adjustDataValues(updatedLimitValues);
|
|
31185
31173
|
|
|
31186
31174
|
// set initial values for object data structure
|
|
31187
|
-
|
|
31175
|
+
addInitialValues(currentLimitType, limitsUpdateData, storedData, false);
|
|
31188
31176
|
}
|
|
31189
31177
|
};
|
|
31190
31178
|
|
|
@@ -31261,7 +31249,6 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
31261
31249
|
saveLimits,
|
|
31262
31250
|
updateValues,
|
|
31263
31251
|
addInitialValues,
|
|
31264
|
-
setAmountInitialValue,
|
|
31265
31252
|
adjustDataValues,
|
|
31266
31253
|
messageHandler,
|
|
31267
31254
|
initialLoad
|
|
@@ -33414,7 +33401,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33414
33401
|
section = element("section");
|
|
33415
33402
|
if_block.c();
|
|
33416
33403
|
attr_dev(section, "class", "PlayerAccountPage " + (/*isMobile*/ ctx[11] ? "PlayerAccountMobilePage" : ""));
|
|
33417
|
-
add_location(section, file, 378, 2,
|
|
33404
|
+
add_location(section, file, 378, 2, 14121);
|
|
33418
33405
|
},
|
|
33419
33406
|
m: function mount(target, anchor) {
|
|
33420
33407
|
insert_dev(target, section, anchor);
|
|
@@ -33448,7 +33435,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33448
33435
|
c: function create() {
|
|
33449
33436
|
div = element("div");
|
|
33450
33437
|
attr_dev(div, "class", "ModalLoader");
|
|
33451
|
-
add_location(div, file, 376, 2,
|
|
33438
|
+
add_location(div, file, 376, 2, 14079);
|
|
33452
33439
|
},
|
|
33453
33440
|
m: function mount(target, anchor) {
|
|
33454
33441
|
insert_dev(target, div, anchor);
|
|
@@ -33505,12 +33492,12 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33505
33492
|
player_account_notifications = element("player-account-notifications");
|
|
33506
33493
|
set_custom_element_data(player_account_menu, "endpoint", /*endpoint*/ ctx[2]);
|
|
33507
33494
|
set_custom_element_data(player_account_menu, "session", /*session*/ ctx[1]);
|
|
33508
|
-
add_location(player_account_menu, file, 404, 8,
|
|
33509
|
-
add_location(nav, file, 403, 6,
|
|
33510
|
-
add_location(main, file, 406, 6,
|
|
33495
|
+
add_location(player_account_menu, file, 404, 8, 15510);
|
|
33496
|
+
add_location(nav, file, 403, 6, 15496);
|
|
33497
|
+
add_location(main, file, 406, 6, 15594);
|
|
33511
33498
|
set_custom_element_data(player_account_notifications, "customnotif", /*customnotifications*/ ctx[0]);
|
|
33512
|
-
add_location(player_account_notifications, file, 424, 8,
|
|
33513
|
-
add_location(aside, file, 423, 6,
|
|
33499
|
+
add_location(player_account_notifications, file, 424, 8, 16604);
|
|
33500
|
+
add_location(aside, file, 423, 6, 16588);
|
|
33514
33501
|
},
|
|
33515
33502
|
m: function mount(target, anchor) {
|
|
33516
33503
|
insert_dev(target, nav, anchor);
|
|
@@ -33639,7 +33626,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33639
33626
|
const block = {
|
|
33640
33627
|
c: function create() {
|
|
33641
33628
|
player_account_self_exclusion = element("player-account-self-exclusion");
|
|
33642
|
-
add_location(player_account_self_exclusion, file, 420, 10,
|
|
33629
|
+
add_location(player_account_self_exclusion, file, 420, 10, 16490);
|
|
33643
33630
|
},
|
|
33644
33631
|
m: function mount(target, anchor) {
|
|
33645
33632
|
insert_dev(target, player_account_self_exclusion, anchor);
|
|
@@ -33673,7 +33660,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33673
33660
|
set_custom_element_data(player_account_gaming_limits, "losslimit", /*losslimit*/ ctx[6]);
|
|
33674
33661
|
set_custom_element_data(player_account_gaming_limits, "timelimit", /*timelimit*/ ctx[7]);
|
|
33675
33662
|
set_custom_element_data(player_account_gaming_limits, "shownotification", /*shownotification*/ ctx[8]);
|
|
33676
|
-
add_location(player_account_gaming_limits, file, 418, 10,
|
|
33663
|
+
add_location(player_account_gaming_limits, file, 418, 10, 16280);
|
|
33677
33664
|
},
|
|
33678
33665
|
m: function mount(target, anchor) {
|
|
33679
33666
|
insert_dev(target, player_account_gaming_limits, anchor);
|
|
@@ -33722,7 +33709,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33722
33709
|
const block = {
|
|
33723
33710
|
c: function create() {
|
|
33724
33711
|
player_account_closure = element("player-account-closure");
|
|
33725
|
-
add_location(player_account_closure, file, 416, 10,
|
|
33712
|
+
add_location(player_account_closure, file, 416, 10, 16156);
|
|
33726
33713
|
},
|
|
33727
33714
|
m: function mount(target, anchor) {
|
|
33728
33715
|
insert_dev(target, player_account_closure, anchor);
|
|
@@ -33751,7 +33738,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33751
33738
|
const block = {
|
|
33752
33739
|
c: function create() {
|
|
33753
33740
|
player_account_timeout = element("player-account-timeout");
|
|
33754
|
-
add_location(player_account_timeout, file, 414, 10,
|
|
33741
|
+
add_location(player_account_timeout, file, 414, 10, 16032);
|
|
33755
33742
|
},
|
|
33756
33743
|
m: function mount(target, anchor) {
|
|
33757
33744
|
insert_dev(target, player_account_timeout, anchor);
|
|
@@ -33780,7 +33767,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33780
33767
|
const block = {
|
|
33781
33768
|
c: function create() {
|
|
33782
33769
|
player_reality_check = element("player-reality-check");
|
|
33783
|
-
add_location(player_reality_check, file, 412, 10,
|
|
33770
|
+
add_location(player_reality_check, file, 412, 10, 15912);
|
|
33784
33771
|
},
|
|
33785
33772
|
m: function mount(target, anchor) {
|
|
33786
33773
|
insert_dev(target, player_reality_check, anchor);
|
|
@@ -33809,7 +33796,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33809
33796
|
const block = {
|
|
33810
33797
|
c: function create() {
|
|
33811
33798
|
player_change_password = element("player-change-password");
|
|
33812
|
-
add_location(player_change_password, file, 410, 10,
|
|
33799
|
+
add_location(player_change_password, file, 410, 10, 15788);
|
|
33813
33800
|
},
|
|
33814
33801
|
m: function mount(target, anchor) {
|
|
33815
33802
|
insert_dev(target, player_change_password, anchor);
|
|
@@ -33838,7 +33825,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33838
33825
|
const block = {
|
|
33839
33826
|
c: function create() {
|
|
33840
33827
|
player_profile_info = element("player-profile-info");
|
|
33841
|
-
add_location(player_profile_info, file, 408, 10,
|
|
33828
|
+
add_location(player_profile_info, file, 408, 10, 15670);
|
|
33842
33829
|
},
|
|
33843
33830
|
m: function mount(target, anchor) {
|
|
33844
33831
|
insert_dev(target, player_profile_info, anchor);
|
|
@@ -33867,7 +33854,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33867
33854
|
const block = {
|
|
33868
33855
|
c: function create() {
|
|
33869
33856
|
player_account_self_exclusion = element("player-account-self-exclusion");
|
|
33870
|
-
add_location(player_account_self_exclusion, file, 399, 10,
|
|
33857
|
+
add_location(player_account_self_exclusion, file, 399, 10, 15388);
|
|
33871
33858
|
},
|
|
33872
33859
|
m: function mount(target, anchor) {
|
|
33873
33860
|
insert_dev(target, player_account_self_exclusion, anchor);
|
|
@@ -33901,7 +33888,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33901
33888
|
set_custom_element_data(player_account_gaming_limits, "losslimit", /*losslimit*/ ctx[6]);
|
|
33902
33889
|
set_custom_element_data(player_account_gaming_limits, "timelimit", /*timelimit*/ ctx[7]);
|
|
33903
33890
|
set_custom_element_data(player_account_gaming_limits, "shownotification", /*shownotification*/ ctx[8]);
|
|
33904
|
-
add_location(player_account_gaming_limits, file, 397, 10,
|
|
33891
|
+
add_location(player_account_gaming_limits, file, 397, 10, 15178);
|
|
33905
33892
|
},
|
|
33906
33893
|
m: function mount(target, anchor) {
|
|
33907
33894
|
insert_dev(target, player_account_gaming_limits, anchor);
|
|
@@ -33950,7 +33937,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33950
33937
|
const block = {
|
|
33951
33938
|
c: function create() {
|
|
33952
33939
|
player_account_closure = element("player-account-closure");
|
|
33953
|
-
add_location(player_account_closure, file, 395, 10,
|
|
33940
|
+
add_location(player_account_closure, file, 395, 10, 15054);
|
|
33954
33941
|
},
|
|
33955
33942
|
m: function mount(target, anchor) {
|
|
33956
33943
|
insert_dev(target, player_account_closure, anchor);
|
|
@@ -33979,7 +33966,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
33979
33966
|
const block = {
|
|
33980
33967
|
c: function create() {
|
|
33981
33968
|
player_account_timeout = element("player-account-timeout");
|
|
33982
|
-
add_location(player_account_timeout, file, 393, 10,
|
|
33969
|
+
add_location(player_account_timeout, file, 393, 10, 14930);
|
|
33983
33970
|
},
|
|
33984
33971
|
m: function mount(target, anchor) {
|
|
33985
33972
|
insert_dev(target, player_account_timeout, anchor);
|
|
@@ -34008,7 +33995,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
34008
33995
|
const block = {
|
|
34009
33996
|
c: function create() {
|
|
34010
33997
|
player_reality_check = element("player-reality-check");
|
|
34011
|
-
add_location(player_reality_check, file, 391, 10,
|
|
33998
|
+
add_location(player_reality_check, file, 391, 10, 14810);
|
|
34012
33999
|
},
|
|
34013
34000
|
m: function mount(target, anchor) {
|
|
34014
34001
|
insert_dev(target, player_reality_check, anchor);
|
|
@@ -34037,7 +34024,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
34037
34024
|
const block = {
|
|
34038
34025
|
c: function create() {
|
|
34039
34026
|
player_change_password = element("player-change-password");
|
|
34040
|
-
add_location(player_change_password, file, 389, 10,
|
|
34027
|
+
add_location(player_change_password, file, 389, 10, 14686);
|
|
34041
34028
|
},
|
|
34042
34029
|
m: function mount(target, anchor) {
|
|
34043
34030
|
insert_dev(target, player_change_password, anchor);
|
|
@@ -34066,7 +34053,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
34066
34053
|
const block = {
|
|
34067
34054
|
c: function create() {
|
|
34068
34055
|
player_profile_info = element("player-profile-info");
|
|
34069
|
-
add_location(player_profile_info, file, 387, 10,
|
|
34056
|
+
add_location(player_profile_info, file, 387, 10, 14568);
|
|
34070
34057
|
},
|
|
34071
34058
|
m: function mount(target, anchor) {
|
|
34072
34059
|
insert_dev(target, player_profile_info, anchor);
|
|
@@ -34103,11 +34090,11 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
34103
34090
|
player_account_notifications = element("player-account-notifications");
|
|
34104
34091
|
set_custom_element_data(player_account_menu, "endpoint", /*endpoint*/ ctx[2]);
|
|
34105
34092
|
set_custom_element_data(player_account_menu, "session", /*session*/ ctx[1]);
|
|
34106
|
-
add_location(player_account_menu, file, 382, 10,
|
|
34093
|
+
add_location(player_account_menu, file, 382, 10, 14299);
|
|
34107
34094
|
set_custom_element_data(player_account_notifications, "customnotif", /*customnotifications*/ ctx[0]);
|
|
34108
|
-
add_location(player_account_notifications, file, 383, 10,
|
|
34095
|
+
add_location(player_account_notifications, file, 383, 10, 14374);
|
|
34109
34096
|
attr_dev(nav, "class", "PlayerAccountMobile");
|
|
34110
|
-
add_location(nav, file, 381, 8,
|
|
34097
|
+
add_location(nav, file, 381, 8, 14255);
|
|
34111
34098
|
},
|
|
34112
34099
|
m: function mount(target, anchor) {
|
|
34113
34100
|
insert_dev(target, nav, anchor);
|
|
@@ -34669,8 +34656,8 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
34669
34656
|
}
|
|
34670
34657
|
|
|
34671
34658
|
$$self.$$.update = () => {
|
|
34672
|
-
if ($$self.$$.dirty[0] & /*cmsendpoint, endpoint, accountpath, notificationpath,
|
|
34673
|
-
cmsendpoint && endpoint && accountpath && notificationpath &&
|
|
34659
|
+
if ($$self.$$.dirty[0] & /*cmsendpoint, endpoint, accountpath, notificationpath, customnotifications, playerid, session*/ 188423) {
|
|
34660
|
+
cmsendpoint && endpoint && accountpath && notificationpath && customnotifications && playerid && session && initialLoad();
|
|
34674
34661
|
}
|
|
34675
34662
|
};
|
|
34676
34663
|
|
|
@@ -34699,7 +34686,7 @@ viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;"
|
|
|
34699
34686
|
class PlayerAccountController extends SvelteElement {
|
|
34700
34687
|
constructor(options) {
|
|
34701
34688
|
super();
|
|
34702
|
-
this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.PlayerAccountPage{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:250px 1fr 230px;background:#F9F8F8}.PlayerAccountPage.PlayerAccountMobilePage{display:block}.PlayerAccountPage>nav{grid-area:nav;background:#58586B}.PlayerAccountPage>nav.PlayerAccountMobile{background:#
|
|
34689
|
+
this.shadowRoot.innerHTML = `<style>*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:'Helvetica Neue', 'Helvetica', sans-serif}.PlayerAccountPage{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:250px 1fr 230px;background:#F9F8F8}.PlayerAccountPage.PlayerAccountMobilePage{display:block;background:#F9F8F8}.PlayerAccountPage>nav{grid-area:nav;background:#58586B}.PlayerAccountPage>nav.PlayerAccountMobile{background:#07072A;color:#FFF}.PlayerAccountPage>main{grid-area:main}.PlayerAccountPage>aside{grid-area:aside}</style>`;
|
|
34703
34690
|
|
|
34704
34691
|
init(
|
|
34705
34692
|
this,
|