@everymatrix/player-account-self-exclusion 0.0.166 → 0.0.170
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.
|
@@ -48,6 +48,9 @@
|
|
|
48
48
|
function element(name) {
|
|
49
49
|
return document.createElement(name);
|
|
50
50
|
}
|
|
51
|
+
function svg_element(name) {
|
|
52
|
+
return document.createElementNS('http://www.w3.org/2000/svg', name);
|
|
53
|
+
}
|
|
51
54
|
function text(data) {
|
|
52
55
|
return document.createTextNode(data);
|
|
53
56
|
}
|
|
@@ -10111,17 +10114,62 @@
|
|
|
10111
10114
|
// (64:2) {#if isMobile}
|
|
10112
10115
|
function create_if_block_1(ctx) {
|
|
10113
10116
|
let div;
|
|
10117
|
+
let svg;
|
|
10118
|
+
let defs;
|
|
10119
|
+
let style;
|
|
10120
|
+
let t0;
|
|
10121
|
+
let g1;
|
|
10122
|
+
let g0;
|
|
10123
|
+
let path;
|
|
10124
|
+
let t1;
|
|
10125
|
+
let h2;
|
|
10114
10126
|
let mounted;
|
|
10115
10127
|
let dispose;
|
|
10116
10128
|
|
|
10117
10129
|
const block = {
|
|
10118
10130
|
c: function create() {
|
|
10119
10131
|
div = element("div");
|
|
10132
|
+
svg = svg_element("svg");
|
|
10133
|
+
defs = svg_element("defs");
|
|
10134
|
+
style = svg_element("style");
|
|
10135
|
+
t0 = text(".aaa{fill:#d0046c;}");
|
|
10136
|
+
g1 = svg_element("g");
|
|
10137
|
+
g0 = svg_element("g");
|
|
10138
|
+
path = svg_element("path");
|
|
10139
|
+
t1 = space();
|
|
10140
|
+
h2 = element("h2");
|
|
10141
|
+
h2.textContent = "Self-Exclusion";
|
|
10142
|
+
add_location(style, file, 65, 95, 2095);
|
|
10143
|
+
add_location(defs, file, 65, 89, 2089);
|
|
10144
|
+
attr_dev(path, "class", "aaa");
|
|
10145
|
+
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");
|
|
10146
|
+
attr_dev(path, "transform", "translate(15 15) rotate(180)");
|
|
10147
|
+
add_location(path, file, 67, 10, 2224);
|
|
10148
|
+
attr_dev(g0, "transform", "translate(20 158)");
|
|
10149
|
+
add_location(g0, file, 66, 8, 2180);
|
|
10150
|
+
attr_dev(g1, "transform", "translate(-20 -158)");
|
|
10151
|
+
add_location(g1, file, 65, 136, 2136);
|
|
10152
|
+
attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
10153
|
+
attr_dev(svg, "width", "15");
|
|
10154
|
+
attr_dev(svg, "height", "15");
|
|
10155
|
+
attr_dev(svg, "viewBox", "0 0 15 15");
|
|
10156
|
+
add_location(svg, file, 65, 6, 2006);
|
|
10157
|
+
attr_dev(h2, "class", "PlayerSelfExclusionTitleMobile");
|
|
10158
|
+
add_location(h2, file, 70, 6, 2396);
|
|
10120
10159
|
attr_dev(div, "class", "MenuReturnButton");
|
|
10121
10160
|
add_location(div, file, 64, 4, 1937);
|
|
10122
10161
|
},
|
|
10123
10162
|
m: function mount(target, anchor) {
|
|
10124
10163
|
insert_dev(target, div, anchor);
|
|
10164
|
+
append_dev(div, svg);
|
|
10165
|
+
append_dev(svg, defs);
|
|
10166
|
+
append_dev(defs, style);
|
|
10167
|
+
append_dev(style, t0);
|
|
10168
|
+
append_dev(svg, g1);
|
|
10169
|
+
append_dev(g1, g0);
|
|
10170
|
+
append_dev(g0, path);
|
|
10171
|
+
append_dev(div, t1);
|
|
10172
|
+
append_dev(div, h2);
|
|
10125
10173
|
|
|
10126
10174
|
if (!mounted) {
|
|
10127
10175
|
dispose = listen_dev(div, "click", /*click_handler*/ ctx[8], false, false, false);
|
|
@@ -10147,7 +10195,7 @@
|
|
|
10147
10195
|
return block;
|
|
10148
10196
|
}
|
|
10149
10197
|
|
|
10150
|
-
// (
|
|
10198
|
+
// (96:4) {:else}
|
|
10151
10199
|
function create_else_block(ctx) {
|
|
10152
10200
|
let p;
|
|
10153
10201
|
let strong;
|
|
@@ -10162,9 +10210,9 @@
|
|
|
10162
10210
|
t0 = text("Your self-exclusion period will last until the ");
|
|
10163
10211
|
t1 = text(/*selfExclusionExpiryDate*/ ctx[2]);
|
|
10164
10212
|
t2 = text(" 23:59.");
|
|
10165
|
-
add_location(strong, file,
|
|
10213
|
+
add_location(strong, file, 96, 46, 4487);
|
|
10166
10214
|
attr_dev(p, "class", "SelfExclusionDescriptionText");
|
|
10167
|
-
add_location(p, file,
|
|
10215
|
+
add_location(p, file, 96, 6, 4447);
|
|
10168
10216
|
},
|
|
10169
10217
|
m: function mount(target, anchor) {
|
|
10170
10218
|
insert_dev(target, p, anchor);
|
|
@@ -10185,14 +10233,14 @@
|
|
|
10185
10233
|
block,
|
|
10186
10234
|
id: create_else_block.name,
|
|
10187
10235
|
type: "else",
|
|
10188
|
-
source: "(
|
|
10236
|
+
source: "(96:4) {:else}",
|
|
10189
10237
|
ctx
|
|
10190
10238
|
});
|
|
10191
10239
|
|
|
10192
10240
|
return block;
|
|
10193
10241
|
}
|
|
10194
10242
|
|
|
10195
|
-
// (
|
|
10243
|
+
// (94:4) {#if permanentSelfExclusion}
|
|
10196
10244
|
function create_if_block(ctx) {
|
|
10197
10245
|
let p;
|
|
10198
10246
|
let strong;
|
|
@@ -10202,9 +10250,9 @@
|
|
|
10202
10250
|
p = element("p");
|
|
10203
10251
|
strong = element("strong");
|
|
10204
10252
|
strong.textContent = "Your self-exclusion period will be permanent.";
|
|
10205
|
-
add_location(strong, file,
|
|
10253
|
+
add_location(strong, file, 94, 46, 4362);
|
|
10206
10254
|
attr_dev(p, "class", "SelfExclusionDescriptionText");
|
|
10207
|
-
add_location(p, file,
|
|
10255
|
+
add_location(p, file, 94, 6, 4322);
|
|
10208
10256
|
},
|
|
10209
10257
|
m: function mount(target, anchor) {
|
|
10210
10258
|
insert_dev(target, p, anchor);
|
|
@@ -10220,7 +10268,7 @@
|
|
|
10220
10268
|
block,
|
|
10221
10269
|
id: create_if_block.name,
|
|
10222
10270
|
type: "if",
|
|
10223
|
-
source: "(
|
|
10271
|
+
source: "(94:4) {#if permanentSelfExclusion}",
|
|
10224
10272
|
ctx
|
|
10225
10273
|
});
|
|
10226
10274
|
|
|
@@ -10315,60 +10363,64 @@
|
|
|
10315
10363
|
button = element("button");
|
|
10316
10364
|
button.textContent = "Save";
|
|
10317
10365
|
this.c = noop$1;
|
|
10318
|
-
|
|
10319
|
-
|
|
10366
|
+
|
|
10367
|
+
attr_dev(h2, "class", "PlayerSelfExclusionTitle " + (/*isMobile*/ ctx[4]
|
|
10368
|
+
? "PlayerSelfExclusionTitleNone"
|
|
10369
|
+
: ""));
|
|
10370
|
+
|
|
10371
|
+
add_location(h2, file, 73, 2, 2480);
|
|
10320
10372
|
attr_dev(p0, "class", "SelfExclusionDescriptionText");
|
|
10321
|
-
add_location(p0, file,
|
|
10373
|
+
add_location(p0, file, 77, 4, 2684);
|
|
10322
10374
|
attr_dev(p1, "class", "SelfExclusionDescriptionText");
|
|
10323
|
-
add_location(p1, file,
|
|
10375
|
+
add_location(p1, file, 78, 4, 2955);
|
|
10324
10376
|
attr_dev(p2, "class", "SelfExclusionDescriptionText");
|
|
10325
|
-
add_location(p2, file,
|
|
10377
|
+
add_location(p2, file, 79, 4, 3129);
|
|
10326
10378
|
attr_dev(a, "href", "mailto:support@everymatrix.com");
|
|
10327
|
-
add_location(a, file,
|
|
10379
|
+
add_location(a, file, 80, 52, 3596);
|
|
10328
10380
|
attr_dev(p3, "class", "SelfExclusionDescriptionText");
|
|
10329
|
-
add_location(p3, file,
|
|
10381
|
+
add_location(p3, file, 80, 4, 3548);
|
|
10330
10382
|
|
|
10331
10383
|
attr_dev(div0, "class", "SelfExclusionDescription " + (/*isMobile*/ ctx[4]
|
|
10332
10384
|
? "SelfExclusionDescriptionMobile"
|
|
10333
10385
|
: ""));
|
|
10334
10386
|
|
|
10335
|
-
add_location(div0, file,
|
|
10387
|
+
add_location(div0, file, 76, 2, 2590);
|
|
10336
10388
|
attr_dev(label0, "for", "SelfExclusionDate");
|
|
10337
|
-
add_location(label0, file,
|
|
10389
|
+
add_location(label0, file, 83, 4, 3774);
|
|
10338
10390
|
set_custom_element_data(vaadin_date_picker, "min", /*minDate*/ ctx[3]);
|
|
10339
|
-
add_location(vaadin_date_picker, file,
|
|
10391
|
+
add_location(vaadin_date_picker, file, 84, 4, 3827);
|
|
10340
10392
|
|
|
10341
10393
|
attr_dev(div1, "class", "SelfExclusionDateWrapper " + (/*isMobile*/ ctx[4]
|
|
10342
10394
|
? "SelfExclusionDateWrapperMobile"
|
|
10343
10395
|
: ""));
|
|
10344
10396
|
|
|
10345
|
-
add_location(div1, file,
|
|
10397
|
+
add_location(div1, file, 82, 2, 3680);
|
|
10346
10398
|
attr_dev(input, "type", "Checkbox");
|
|
10347
|
-
add_location(input, file,
|
|
10399
|
+
add_location(input, file, 88, 6, 4059);
|
|
10348
10400
|
attr_dev(span, "class", "Checkmark");
|
|
10349
|
-
add_location(span, file,
|
|
10401
|
+
add_location(span, file, 89, 6, 4137);
|
|
10350
10402
|
attr_dev(label1, "class", "SelfExclusionRadio");
|
|
10351
|
-
add_location(label1, file,
|
|
10403
|
+
add_location(label1, file, 87, 4, 4011);
|
|
10352
10404
|
|
|
10353
10405
|
attr_dev(div2, "class", "SelfExclusionRadioWrapper " + (/*isMobile*/ ctx[4]
|
|
10354
10406
|
? "SelfExclusionRadioWrapperMobile"
|
|
10355
10407
|
: ""));
|
|
10356
10408
|
|
|
10357
|
-
add_location(div2, file,
|
|
10409
|
+
add_location(div2, file, 86, 2, 3915);
|
|
10358
10410
|
|
|
10359
10411
|
attr_dev(div3, "class", "SelfExclusionDescription " + (/*isMobile*/ ctx[4]
|
|
10360
10412
|
? "SelfExclusionDescriptionMobile"
|
|
10361
10413
|
: ""));
|
|
10362
10414
|
|
|
10363
|
-
add_location(div3, file,
|
|
10415
|
+
add_location(div3, file, 92, 2, 4193);
|
|
10364
10416
|
attr_dev(button, "class", "SelfExclusionSave");
|
|
10365
|
-
add_location(button, file,
|
|
10417
|
+
add_location(button, file, 100, 4, 4707);
|
|
10366
10418
|
|
|
10367
10419
|
attr_dev(div4, "class", "SelfExclusionActionButtons " + (/*isMobile*/ ctx[4]
|
|
10368
10420
|
? "SelfExclusionActionButtonsMobile"
|
|
10369
10421
|
: ""));
|
|
10370
10422
|
|
|
10371
|
-
add_location(div4, file,
|
|
10423
|
+
add_location(div4, file, 99, 2, 4609);
|
|
10372
10424
|
attr_dev(div5, "class", "SelfExclusionWrapper " + (/*isMobile*/ ctx[4] ? "SelfExclusionWrapperMobile" : ""));
|
|
10373
10425
|
add_location(div5, file, 62, 0, 1834);
|
|
10374
10426
|
},
|
|
@@ -10607,7 +10659,7 @@
|
|
|
10607
10659
|
class PlayerAccountSelfExclusion extends SvelteElement {
|
|
10608
10660
|
constructor(options) {
|
|
10609
10661
|
super();
|
|
10610
|
-
this.shadowRoot.innerHTML = `<style>.SelfExclusionWrapper{color:#07072A;padding:50px;max-width:760px}.SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;background:#fff;max-width:unset}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:
|
|
10662
|
+
this.shadowRoot.innerHTML = `<style>.PlayerSelfExclusionTitle{font-size:26px;color:#D0046C;font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:16px;color:#D0046C}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionWrapper{color:#07072A;padding:50px;max-width:760px}.SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;background:#fff;max-width:unset}.MenuReturnButton{color:#58586B;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionDescription{color:#58586B;line-height:24px}.SelfExclusionDescription.SelfExclusionDescriptionMobile{font-size:12px;line-height:19.2px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:#D0046C}.SelfExclusionDateWrapper{color:#58586B;display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:14px;font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 35.008px;margin-bottom:16px;font-size:16px;user-select:none;line-height:19.2px}.SelfExclusionRadioWrapper label{font-size:16px;cursor:pointer}.SelfExclusionRadioWrapper input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25.008px;width:25.008px;background-color:#D1D1D1;border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:#D0046C}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9.008px;top:5.008px;width:5.008px;height:10px;border:solid white;border-width:0 3.008px 3.008px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-size:12px}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{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;background:#D0046C;border:1px solid #D0046C;color:#fff}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:12px}</style>`;
|
|
10611
10663
|
|
|
10612
10664
|
init(
|
|
10613
10665
|
this,
|