@taole/newgiftbar 0.1.5 → 0.1.7
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.
- package/npm/newgiftbar.css +4 -4
- package/npm/newgiftbar.es.js +333 -272
- package/package.json +1 -1
package/npm/newgiftbar.es.js
CHANGED
|
@@ -1766,7 +1766,7 @@ function create_if_block_1$p(ctx) {
|
|
|
1766
1766
|
let a_href_value;
|
|
1767
1767
|
let if_block = (
|
|
1768
1768
|
/*tip*/
|
|
1769
|
-
ctx[2].img && create_if_block_2$
|
|
1769
|
+
ctx[2].img && create_if_block_2$k(ctx)
|
|
1770
1770
|
);
|
|
1771
1771
|
return {
|
|
1772
1772
|
c() {
|
|
@@ -1793,7 +1793,7 @@ function create_if_block_1$p(ctx) {
|
|
|
1793
1793
|
if (if_block) {
|
|
1794
1794
|
if_block.p(ctx2, dirty);
|
|
1795
1795
|
} else {
|
|
1796
|
-
if_block = create_if_block_2$
|
|
1796
|
+
if_block = create_if_block_2$k(ctx2);
|
|
1797
1797
|
if_block.c();
|
|
1798
1798
|
if_block.m(a, t0);
|
|
1799
1799
|
}
|
|
@@ -1818,7 +1818,7 @@ function create_if_block_1$p(ctx) {
|
|
|
1818
1818
|
}
|
|
1819
1819
|
};
|
|
1820
1820
|
}
|
|
1821
|
-
function create_if_block_2$
|
|
1821
|
+
function create_if_block_2$k(ctx) {
|
|
1822
1822
|
let img;
|
|
1823
1823
|
let img_src_value;
|
|
1824
1824
|
return {
|
|
@@ -2325,7 +2325,7 @@ function create_if_block_3$e(ctx) {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
};
|
|
2327
2327
|
}
|
|
2328
|
-
function create_if_block_2$
|
|
2328
|
+
function create_if_block_2$j(ctx) {
|
|
2329
2329
|
let div;
|
|
2330
2330
|
let mounted;
|
|
2331
2331
|
let dispose;
|
|
@@ -2405,7 +2405,7 @@ function create_each_block$9(key_1, ctx) {
|
|
|
2405
2405
|
/*giftItem*/
|
|
2406
2406
|
ctx[10].unitText2 && create_if_block_3$e(ctx)
|
|
2407
2407
|
);
|
|
2408
|
-
let if_block3 = show_if && create_if_block_2$
|
|
2408
|
+
let if_block3 = show_if && create_if_block_2$j(ctx);
|
|
2409
2409
|
function click_handler_12() {
|
|
2410
2410
|
return (
|
|
2411
2411
|
/*click_handler_1*/
|
|
@@ -2554,7 +2554,7 @@ function create_each_block$9(key_1, ctx) {
|
|
|
2554
2554
|
if (if_block3) {
|
|
2555
2555
|
if_block3.p(ctx, dirty);
|
|
2556
2556
|
} else {
|
|
2557
|
-
if_block3 = create_if_block_2$
|
|
2557
|
+
if_block3 = create_if_block_2$j(ctx);
|
|
2558
2558
|
if_block3.c();
|
|
2559
2559
|
if_block3.m(div2, null);
|
|
2560
2560
|
}
|
|
@@ -3609,7 +3609,7 @@ function create_each_block$8(ctx) {
|
|
|
3609
3609
|
}
|
|
3610
3610
|
};
|
|
3611
3611
|
}
|
|
3612
|
-
function create_if_block_2$
|
|
3612
|
+
function create_if_block_2$i(ctx) {
|
|
3613
3613
|
let div;
|
|
3614
3614
|
let t_value = (
|
|
3615
3615
|
/*ui*/
|
|
@@ -3768,7 +3768,7 @@ function create_fragment$o(ctx) {
|
|
|
3768
3768
|
let if_block2 = current_block_type && current_block_type(ctx);
|
|
3769
3769
|
let if_block3 = (
|
|
3770
3770
|
/*buttons*/
|
|
3771
|
-
ctx[11].send && create_if_block_2$
|
|
3771
|
+
ctx[11].send && create_if_block_2$i(ctx)
|
|
3772
3772
|
);
|
|
3773
3773
|
let if_block4 = (
|
|
3774
3774
|
/*buttons*/
|
|
@@ -3927,7 +3927,7 @@ function create_fragment$o(ctx) {
|
|
|
3927
3927
|
if (if_block3) {
|
|
3928
3928
|
if_block3.p(ctx2, dirty);
|
|
3929
3929
|
} else {
|
|
3930
|
-
if_block3 = create_if_block_2$
|
|
3930
|
+
if_block3 = create_if_block_2$i(ctx2);
|
|
3931
3931
|
if_block3.c();
|
|
3932
3932
|
if_block3.m(div1, t6);
|
|
3933
3933
|
}
|
|
@@ -4292,7 +4292,7 @@ function create_if_block_3$c(ctx) {
|
|
|
4292
4292
|
}
|
|
4293
4293
|
};
|
|
4294
4294
|
}
|
|
4295
|
-
function create_if_block_2$
|
|
4295
|
+
function create_if_block_2$h(ctx) {
|
|
4296
4296
|
let html_tag;
|
|
4297
4297
|
let raw_value = (
|
|
4298
4298
|
/*view*/
|
|
@@ -4477,7 +4477,7 @@ function create_fragment$n(ctx) {
|
|
|
4477
4477
|
/*view*/
|
|
4478
4478
|
ctx2[1] && /*view*/
|
|
4479
4479
|
ctx2[1].mode === "leading"
|
|
4480
|
-
) return create_if_block_2$
|
|
4480
|
+
) return create_if_block_2$h;
|
|
4481
4481
|
if (
|
|
4482
4482
|
/*view*/
|
|
4483
4483
|
ctx2[1] && /*view*/
|
|
@@ -5117,7 +5117,7 @@ function create_if_block$l(ctx) {
|
|
|
5117
5117
|
}
|
|
5118
5118
|
};
|
|
5119
5119
|
}
|
|
5120
|
-
function create_if_block_2$
|
|
5120
|
+
function create_if_block_2$g(ctx) {
|
|
5121
5121
|
let div;
|
|
5122
5122
|
return {
|
|
5123
5123
|
c() {
|
|
@@ -5178,7 +5178,7 @@ function create_each_block$7(ctx) {
|
|
|
5178
5178
|
if (
|
|
5179
5179
|
/*item*/
|
|
5180
5180
|
ctx2[16].typeid == 2
|
|
5181
|
-
) return create_if_block_2$
|
|
5181
|
+
) return create_if_block_2$g;
|
|
5182
5182
|
}
|
|
5183
5183
|
let current_block_type = select_block_type_1(ctx);
|
|
5184
5184
|
let if_block = current_block_type && current_block_type(ctx);
|
|
@@ -6781,7 +6781,7 @@ function create_else_block_2$1(ctx) {
|
|
|
6781
6781
|
}
|
|
6782
6782
|
};
|
|
6783
6783
|
}
|
|
6784
|
-
function create_if_block_2$
|
|
6784
|
+
function create_if_block_2$f(ctx) {
|
|
6785
6785
|
let img;
|
|
6786
6786
|
let img_src_value;
|
|
6787
6787
|
return {
|
|
@@ -7398,7 +7398,7 @@ function create_fragment$i(ctx) {
|
|
|
7398
7398
|
if (
|
|
7399
7399
|
/*radioIsSelected*/
|
|
7400
7400
|
ctx2[9]
|
|
7401
|
-
) return create_if_block_2$
|
|
7401
|
+
) return create_if_block_2$f;
|
|
7402
7402
|
return create_else_block_2$1;
|
|
7403
7403
|
}
|
|
7404
7404
|
let current_block_type = select_block_type(ctx);
|
|
@@ -8751,7 +8751,7 @@ function create_else_block_1$2(ctx) {
|
|
|
8751
8751
|
}
|
|
8752
8752
|
};
|
|
8753
8753
|
}
|
|
8754
|
-
function create_if_block_2$
|
|
8754
|
+
function create_if_block_2$e(ctx) {
|
|
8755
8755
|
let div4;
|
|
8756
8756
|
let div3;
|
|
8757
8757
|
let div0;
|
|
@@ -9128,7 +9128,7 @@ function create_fragment$g(ctx) {
|
|
|
9128
9128
|
if (
|
|
9129
9129
|
/*radioIsSelected*/
|
|
9130
9130
|
ctx2[5]
|
|
9131
|
-
) return create_if_block_2$
|
|
9131
|
+
) return create_if_block_2$e;
|
|
9132
9132
|
return create_else_block_1$2;
|
|
9133
9133
|
}
|
|
9134
9134
|
let current_block_type_1 = select_block_type_1(ctx);
|
|
@@ -10626,7 +10626,7 @@ function create_if_block_1$e(ctx) {
|
|
|
10626
10626
|
if (
|
|
10627
10627
|
/*open_val*/
|
|
10628
10628
|
ctx2[8]
|
|
10629
|
-
) return create_if_block_2$
|
|
10629
|
+
) return create_if_block_2$d;
|
|
10630
10630
|
return create_else_block$a;
|
|
10631
10631
|
}
|
|
10632
10632
|
let current_block_type = select_block_type(ctx);
|
|
@@ -10712,7 +10712,7 @@ function create_else_block$a(ctx) {
|
|
|
10712
10712
|
}
|
|
10713
10713
|
};
|
|
10714
10714
|
}
|
|
10715
|
-
function create_if_block_2$
|
|
10715
|
+
function create_if_block_2$d(ctx) {
|
|
10716
10716
|
let div;
|
|
10717
10717
|
return {
|
|
10718
10718
|
c() {
|
|
@@ -11028,11 +11028,11 @@ function create_if_block_8(ctx) {
|
|
|
11028
11028
|
ctx[7]
|
|
11029
11029
|
);
|
|
11030
11030
|
t2 = text("个");
|
|
11031
|
-
attr(img, "class", "imgIcon svelte-
|
|
11031
|
+
attr(img, "class", "imgIcon svelte-1ajc4sn");
|
|
11032
11032
|
if (!src_url_equal(img.src, img_src_value = "https://asset.tuwan.com/goldMagic/goldBook.png")) attr(img, "src", img_src_value);
|
|
11033
11033
|
attr(img, "alt", "");
|
|
11034
|
-
attr(span, "class", "wordCtn svelte-
|
|
11035
|
-
attr(div, "class", "subCtn svelte-
|
|
11034
|
+
attr(span, "class", "wordCtn svelte-1ajc4sn");
|
|
11035
|
+
attr(div, "class", "subCtn svelte-1ajc4sn");
|
|
11036
11036
|
},
|
|
11037
11037
|
m(target, anchor) {
|
|
11038
11038
|
insert(target, div, anchor);
|
|
@@ -11076,11 +11076,11 @@ function create_if_block_7(ctx) {
|
|
|
11076
11076
|
ctx[8]
|
|
11077
11077
|
);
|
|
11078
11078
|
t2 = text("次");
|
|
11079
|
-
attr(img, "class", "imgIcon svelte-
|
|
11079
|
+
attr(img, "class", "imgIcon svelte-1ajc4sn");
|
|
11080
11080
|
if (!src_url_equal(img.src, img_src_value = "https://dynamics-share.tuwan.com/activity/0e24da0fd01719a934630a6652fa4b9d.png?x-oss-process=image/format,webp/ignore-error,1")) attr(img, "src", img_src_value);
|
|
11081
11081
|
attr(img, "alt", "");
|
|
11082
|
-
attr(span, "class", "wordCtn svelte-
|
|
11083
|
-
attr(div, "class", "subCtn svelte-
|
|
11082
|
+
attr(span, "class", "wordCtn svelte-1ajc4sn");
|
|
11083
|
+
attr(div, "class", "subCtn svelte-1ajc4sn");
|
|
11084
11084
|
},
|
|
11085
11085
|
m(target, anchor) {
|
|
11086
11086
|
insert(target, div, anchor);
|
|
@@ -11249,28 +11249,28 @@ function create_else_block$9(ctx) {
|
|
|
11249
11249
|
t3 = space();
|
|
11250
11250
|
div1 = element("div");
|
|
11251
11251
|
span1 = element("span");
|
|
11252
|
-
span1.innerHTML = `<img alt="" class="radioImg default svelte-
|
|
11252
|
+
span1.innerHTML = `<img alt="" class="radioImg default svelte-1ajc4sn" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_no.png"/> <img alt="" class="radioImg selected svelte-1ajc4sn" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_yes.png"/>`;
|
|
11253
11253
|
t5 = space();
|
|
11254
11254
|
span2 = element("span");
|
|
11255
11255
|
span2.textContent = "自定义开启数量";
|
|
11256
11256
|
t7 = space();
|
|
11257
11257
|
if (if_block1) if_block1.c();
|
|
11258
|
-
attr(i, "class", "svelte-
|
|
11259
|
-
attr(span0, "class", "svelte-
|
|
11258
|
+
attr(i, "class", "svelte-1ajc4sn");
|
|
11259
|
+
attr(span0, "class", "svelte-1ajc4sn");
|
|
11260
11260
|
attr(div0, "class", div0_class_value = null_to_empty(
|
|
11261
11261
|
/*parentIgnore*/
|
|
11262
11262
|
ctx[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
11263
|
-
) + " svelte-
|
|
11263
|
+
) + " svelte-1ajc4sn");
|
|
11264
11264
|
attr(div0, "role", "presentation");
|
|
11265
|
-
attr(span1, "class", "spCtn svelte-
|
|
11266
|
-
attr(span2, "class", "changeWordCtn svelte-
|
|
11265
|
+
attr(span1, "class", "spCtn svelte-1ajc4sn");
|
|
11266
|
+
attr(span2, "class", "changeWordCtn svelte-1ajc4sn");
|
|
11267
11267
|
attr(div1, "role", "presentation");
|
|
11268
11268
|
attr(div1, "class", div1_class_value = null_to_empty(
|
|
11269
11269
|
/*radioIsSelected*/
|
|
11270
11270
|
ctx[12] ? "radioCtn active" : "radioCtn"
|
|
11271
|
-
) + " svelte-
|
|
11272
|
-
attr(div2, "class", "footerBottomCtn svelte-
|
|
11273
|
-
attr(div3, "class", "open-actions svelte-
|
|
11271
|
+
) + " svelte-1ajc4sn");
|
|
11272
|
+
attr(div2, "class", "footerBottomCtn svelte-1ajc4sn");
|
|
11273
|
+
attr(div3, "class", "open-actions svelte-1ajc4sn");
|
|
11274
11274
|
},
|
|
11275
11275
|
m(target, anchor) {
|
|
11276
11276
|
insert(target, div3, anchor);
|
|
@@ -11321,14 +11321,14 @@ function create_else_block$9(ctx) {
|
|
|
11321
11321
|
8 && div0_class_value !== (div0_class_value = null_to_empty(
|
|
11322
11322
|
/*parentIgnore*/
|
|
11323
11323
|
ctx2[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
11324
|
-
) + " svelte-
|
|
11324
|
+
) + " svelte-1ajc4sn")) {
|
|
11325
11325
|
attr(div0, "class", div0_class_value);
|
|
11326
11326
|
}
|
|
11327
11327
|
if (dirty[0] & /*radioIsSelected*/
|
|
11328
11328
|
4096 && div1_class_value !== (div1_class_value = null_to_empty(
|
|
11329
11329
|
/*radioIsSelected*/
|
|
11330
11330
|
ctx2[12] ? "radioCtn active" : "radioCtn"
|
|
11331
|
-
) + " svelte-
|
|
11331
|
+
) + " svelte-1ajc4sn")) {
|
|
11332
11332
|
attr(div1, "class", div1_class_value);
|
|
11333
11333
|
}
|
|
11334
11334
|
if (
|
|
@@ -11378,7 +11378,7 @@ function create_if_block$d(ctx) {
|
|
|
11378
11378
|
let dispose;
|
|
11379
11379
|
let if_block0 = (
|
|
11380
11380
|
/*showCrit*/
|
|
11381
|
-
ctx[13] && create_if_block_2$
|
|
11381
|
+
ctx[13] && create_if_block_2$c()
|
|
11382
11382
|
);
|
|
11383
11383
|
let if_block1 = (
|
|
11384
11384
|
/*goldRemark*/
|
|
@@ -11407,20 +11407,20 @@ function create_if_block$d(ctx) {
|
|
|
11407
11407
|
t7 = space();
|
|
11408
11408
|
span = element("span");
|
|
11409
11409
|
span.textContent = "开启免动画模式";
|
|
11410
|
-
attr(div0, "class", "result_action svelte-
|
|
11410
|
+
attr(div0, "class", "result_action svelte-1ajc4sn");
|
|
11411
11411
|
attr(div0, "role", "presentation");
|
|
11412
11412
|
set_style(div0, "margin-right", "10px");
|
|
11413
11413
|
attr(div1, "role", "presentation");
|
|
11414
|
-
attr(div1, "class", "result_action svelte-
|
|
11415
|
-
attr(div2, "class", "result_action_container svelte-
|
|
11416
|
-
attr(i, "class", "svelte-
|
|
11417
|
-
attr(span, "class", "svelte-
|
|
11414
|
+
attr(div1, "class", "result_action svelte-1ajc4sn");
|
|
11415
|
+
attr(div2, "class", "result_action_container svelte-1ajc4sn");
|
|
11416
|
+
attr(i, "class", "svelte-1ajc4sn");
|
|
11417
|
+
attr(span, "class", "svelte-1ajc4sn");
|
|
11418
11418
|
attr(div3, "class", div3_class_value = null_to_empty(
|
|
11419
11419
|
/*parentIgnore*/
|
|
11420
11420
|
ctx[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
11421
|
-
) + " svelte-
|
|
11421
|
+
) + " svelte-1ajc4sn");
|
|
11422
11422
|
attr(div3, "role", "presentation");
|
|
11423
|
-
attr(div4, "class", "result_info_container svelte-
|
|
11423
|
+
attr(div4, "class", "result_info_container svelte-1ajc4sn");
|
|
11424
11424
|
set_style(div4, "justify-content", "space-evenly");
|
|
11425
11425
|
},
|
|
11426
11426
|
m(target, anchor) {
|
|
@@ -11478,7 +11478,7 @@ function create_if_block$d(ctx) {
|
|
|
11478
11478
|
if (if_block0) {
|
|
11479
11479
|
if_block0.p(ctx2, dirty);
|
|
11480
11480
|
} else {
|
|
11481
|
-
if_block0 = create_if_block_2$
|
|
11481
|
+
if_block0 = create_if_block_2$c();
|
|
11482
11482
|
if_block0.c();
|
|
11483
11483
|
if_block0.m(div1, null);
|
|
11484
11484
|
}
|
|
@@ -11505,7 +11505,7 @@ function create_if_block$d(ctx) {
|
|
|
11505
11505
|
8 && div3_class_value !== (div3_class_value = null_to_empty(
|
|
11506
11506
|
/*parentIgnore*/
|
|
11507
11507
|
ctx2[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
11508
|
-
) + " svelte-
|
|
11508
|
+
) + " svelte-1ajc4sn")) {
|
|
11509
11509
|
attr(div3, "class", div3_class_value);
|
|
11510
11510
|
}
|
|
11511
11511
|
},
|
|
@@ -11550,11 +11550,11 @@ function create_else_block_1$1(ctx) {
|
|
|
11550
11550
|
);
|
|
11551
11551
|
t4 = text("次\r\n ");
|
|
11552
11552
|
if (if_block) if_block.c();
|
|
11553
|
-
attr(div0, "class", "normalBtn svelte-
|
|
11553
|
+
attr(div0, "class", "normalBtn svelte-1ajc4sn");
|
|
11554
11554
|
attr(div0, "role", "presentation");
|
|
11555
11555
|
attr(div1, "role", "presentation");
|
|
11556
|
-
attr(div1, "class", "normalBtn againBtn svelte-
|
|
11557
|
-
attr(div2, "class", "buttonCtn svelte-
|
|
11556
|
+
attr(div1, "class", "normalBtn againBtn svelte-1ajc4sn");
|
|
11557
|
+
attr(div2, "class", "buttonCtn svelte-1ajc4sn");
|
|
11558
11558
|
},
|
|
11559
11559
|
m(target, anchor) {
|
|
11560
11560
|
insert(target, div2, anchor);
|
|
@@ -11644,15 +11644,15 @@ function create_if_block_4$4(ctx) {
|
|
|
11644
11644
|
t1 = space();
|
|
11645
11645
|
div2 = element("div");
|
|
11646
11646
|
div2.textContent = "确定";
|
|
11647
|
-
attr(input, "class", "inp svelte-
|
|
11647
|
+
attr(input, "class", "inp svelte-1ajc4sn");
|
|
11648
11648
|
attr(input, "placeholder", "输入数量");
|
|
11649
11649
|
attr(input, "type", "number");
|
|
11650
|
-
attr(div0, "class", "svelte-
|
|
11651
|
-
attr(div1, "class", "inputNumWarpper svelte-
|
|
11650
|
+
attr(div0, "class", "svelte-1ajc4sn");
|
|
11651
|
+
attr(div1, "class", "inputNumWarpper svelte-1ajc4sn");
|
|
11652
11652
|
attr(div2, "role", "presentation");
|
|
11653
|
-
attr(div2, "class", "smallBtnCtn svelte-
|
|
11654
|
-
attr(div3, "class", "inputNumCtn svelte-
|
|
11655
|
-
attr(div4, "class", "buttonCtn svelte-
|
|
11653
|
+
attr(div2, "class", "smallBtnCtn svelte-1ajc4sn");
|
|
11654
|
+
attr(div3, "class", "inputNumCtn svelte-1ajc4sn");
|
|
11655
|
+
attr(div4, "class", "buttonCtn svelte-1ajc4sn");
|
|
11656
11656
|
},
|
|
11657
11657
|
m(target, anchor) {
|
|
11658
11658
|
insert(target, div4, anchor);
|
|
@@ -11736,7 +11736,7 @@ function create_if_block_6$2(ctx) {
|
|
|
11736
11736
|
return {
|
|
11737
11737
|
c() {
|
|
11738
11738
|
img = element("img");
|
|
11739
|
-
attr(img, "class", "critIcon svelte-
|
|
11739
|
+
attr(img, "class", "critIcon svelte-1ajc4sn");
|
|
11740
11740
|
if (!src_url_equal(img.src, img_src_value = CRIT_ICON$2)) attr(img, "src", img_src_value);
|
|
11741
11741
|
attr(img, "alt", "");
|
|
11742
11742
|
},
|
|
@@ -11765,7 +11765,7 @@ function create_if_block_5$3(ctx) {
|
|
|
11765
11765
|
span = element("span");
|
|
11766
11766
|
t0 = text(t0_value);
|
|
11767
11767
|
t1 = text("紫晶");
|
|
11768
|
-
attr(span, "class", "svelte-
|
|
11768
|
+
attr(span, "class", "svelte-1ajc4sn");
|
|
11769
11769
|
},
|
|
11770
11770
|
m(target, anchor) {
|
|
11771
11771
|
insert(target, span, anchor);
|
|
@@ -11795,7 +11795,7 @@ function create_if_block_3$8(ctx) {
|
|
|
11795
11795
|
/*expiresText*/
|
|
11796
11796
|
ctx[15]
|
|
11797
11797
|
);
|
|
11798
|
-
attr(div, "class", "expiresTips svelte-
|
|
11798
|
+
attr(div, "class", "expiresTips svelte-1ajc4sn");
|
|
11799
11799
|
},
|
|
11800
11800
|
m(target, anchor) {
|
|
11801
11801
|
insert(target, div, anchor);
|
|
@@ -11816,13 +11816,13 @@ function create_if_block_3$8(ctx) {
|
|
|
11816
11816
|
}
|
|
11817
11817
|
};
|
|
11818
11818
|
}
|
|
11819
|
-
function create_if_block_2$
|
|
11819
|
+
function create_if_block_2$c(ctx) {
|
|
11820
11820
|
let img;
|
|
11821
11821
|
let img_src_value;
|
|
11822
11822
|
return {
|
|
11823
11823
|
c() {
|
|
11824
11824
|
img = element("img");
|
|
11825
|
-
attr(img, "class", "critIcon svelte-
|
|
11825
|
+
attr(img, "class", "critIcon svelte-1ajc4sn");
|
|
11826
11826
|
if (!src_url_equal(img.src, img_src_value = CRIT_ICON$2)) attr(img, "src", img_src_value);
|
|
11827
11827
|
attr(img, "alt", "");
|
|
11828
11828
|
},
|
|
@@ -11849,7 +11849,7 @@ function create_if_block_1$d(ctx) {
|
|
|
11849
11849
|
/*goldRemark*/
|
|
11850
11850
|
ctx[14]
|
|
11851
11851
|
);
|
|
11852
|
-
attr(span, "class", "svelte-
|
|
11852
|
+
attr(span, "class", "svelte-1ajc4sn");
|
|
11853
11853
|
attr(div, "class", "result_info_content");
|
|
11854
11854
|
},
|
|
11855
11855
|
m(target, anchor) {
|
|
@@ -11934,7 +11934,7 @@ function create_fragment$d(ctx) {
|
|
|
11934
11934
|
c() {
|
|
11935
11935
|
div7 = element("div");
|
|
11936
11936
|
div0 = element("div");
|
|
11937
|
-
div0.innerHTML = `<img src="https://asset.tuwan.com/goldMagic/resultTitle.png?v1" alt="" class="svelte-
|
|
11937
|
+
div0.innerHTML = `<img src="https://asset.tuwan.com/goldMagic/resultTitle.png?v1" alt="" class="svelte-1ajc4sn"/>`;
|
|
11938
11938
|
t0 = space();
|
|
11939
11939
|
div3 = element("div");
|
|
11940
11940
|
div1 = element("div");
|
|
@@ -11968,25 +11968,25 @@ function create_fragment$d(ctx) {
|
|
|
11968
11968
|
if_block2.c();
|
|
11969
11969
|
t10 = space();
|
|
11970
11970
|
div6 = element("div");
|
|
11971
|
-
attr(div0, "class", "openGiftTitle svelte-
|
|
11972
|
-
attr(img1, "class", "imgIcon svelte-
|
|
11971
|
+
attr(div0, "class", "openGiftTitle svelte-1ajc4sn");
|
|
11972
|
+
attr(img1, "class", "imgIcon svelte-1ajc4sn");
|
|
11973
11973
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/goldMagic/diamondTabIcon.png")) attr(img1, "src", img1_src_value);
|
|
11974
11974
|
attr(img1, "alt", "");
|
|
11975
|
-
attr(span0, "class", "wordCtn svelte-
|
|
11976
|
-
attr(div1, "class", "subCtn svelte-
|
|
11977
|
-
attr(img2, "class", "imgIcon svelte-
|
|
11975
|
+
attr(span0, "class", "wordCtn svelte-1ajc4sn");
|
|
11976
|
+
attr(div1, "class", "subCtn svelte-1ajc4sn");
|
|
11977
|
+
attr(img2, "class", "imgIcon svelte-1ajc4sn");
|
|
11978
11978
|
if (!src_url_equal(img2.src, img2_src_value = "https://asset.tuwan.com/goldMagic/magicTabIcon.png")) attr(img2, "src", img2_src_value);
|
|
11979
11979
|
attr(img2, "alt", "");
|
|
11980
|
-
attr(span1, "class", "wordCtn svelte-
|
|
11981
|
-
attr(div2, "class", "subCtn svelte-
|
|
11982
|
-
attr(div3, "class", "leftTopCtn svelte-
|
|
11983
|
-
attr(div4, "class", "result_content svelte-
|
|
11980
|
+
attr(span1, "class", "wordCtn svelte-1ajc4sn");
|
|
11981
|
+
attr(div2, "class", "subCtn svelte-1ajc4sn");
|
|
11982
|
+
attr(div3, "class", "leftTopCtn svelte-1ajc4sn");
|
|
11983
|
+
attr(div4, "class", "result_content svelte-1ajc4sn");
|
|
11984
11984
|
attr(div5, "class", div5_class_value = /*result*/
|
|
11985
11985
|
(ctx[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
11986
|
-
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
11987
|
-
attr(div6, "class", "result_vap_anim svelte-
|
|
11986
|
+
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-1ajc4sn");
|
|
11987
|
+
attr(div6, "class", "result_vap_anim svelte-1ajc4sn");
|
|
11988
11988
|
attr(div7, "class", div7_class_value = "result_container " + /*mode*/
|
|
11989
|
-
(ctx[2] == RESULT_VIEW_TYPE$1.CRYSTAL_TYPE ? "" : "glod") + " svelte-
|
|
11989
|
+
(ctx[2] == RESULT_VIEW_TYPE$1.CRYSTAL_TYPE ? "" : "glod") + " svelte-1ajc4sn");
|
|
11990
11990
|
},
|
|
11991
11991
|
m(target, anchor) {
|
|
11992
11992
|
insert(target, div7, anchor);
|
|
@@ -12096,7 +12096,7 @@ function create_fragment$d(ctx) {
|
|
|
12096
12096
|
if (!current || dirty[0] & /*result*/
|
|
12097
12097
|
1 && div5_class_value !== (div5_class_value = /*result*/
|
|
12098
12098
|
(ctx2[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
12099
|
-
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
12099
|
+
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-1ajc4sn")) {
|
|
12100
12100
|
attr(div5, "class", div5_class_value);
|
|
12101
12101
|
}
|
|
12102
12102
|
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block2) {
|
|
@@ -12111,7 +12111,7 @@ function create_fragment$d(ctx) {
|
|
|
12111
12111
|
}
|
|
12112
12112
|
if (!current || dirty[0] & /*mode*/
|
|
12113
12113
|
4 && div7_class_value !== (div7_class_value = "result_container " + /*mode*/
|
|
12114
|
-
(ctx2[2] == RESULT_VIEW_TYPE$1.CRYSTAL_TYPE ? "" : "glod") + " svelte-
|
|
12114
|
+
(ctx2[2] == RESULT_VIEW_TYPE$1.CRYSTAL_TYPE ? "" : "glod") + " svelte-1ajc4sn")) {
|
|
12115
12115
|
attr(div7, "class", div7_class_value);
|
|
12116
12116
|
}
|
|
12117
12117
|
},
|
|
@@ -12235,7 +12235,8 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
12235
12235
|
500
|
|
12236
12236
|
);
|
|
12237
12237
|
res.data._expires = res.expires || [];
|
|
12238
|
-
res.data.
|
|
12238
|
+
res.data._total = res.total;
|
|
12239
|
+
res.data._process = res.process;
|
|
12239
12240
|
$$invalidate(0, result = []);
|
|
12240
12241
|
if (parentIgnore) {
|
|
12241
12242
|
setTimeout(
|
|
@@ -12252,13 +12253,17 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
12252
12253
|
url: vapPath + "video.mp4?v2",
|
|
12253
12254
|
ele: animEl,
|
|
12254
12255
|
config: vapPath + "vapc.json?v2"
|
|
12255
|
-
}).then(() => {
|
|
12256
|
-
$$invalidate(0, result = res.data);
|
|
12257
|
-
getTreasureInfo();
|
|
12258
12256
|
}).finally(() => {
|
|
12259
12257
|
player.destory();
|
|
12260
|
-
loading = false;
|
|
12261
12258
|
});
|
|
12259
|
+
setTimeout(
|
|
12260
|
+
() => {
|
|
12261
|
+
$$invalidate(0, result = res.data);
|
|
12262
|
+
if (animEl) $$invalidate(4, animEl.innerHTML = "", animEl);
|
|
12263
|
+
getTreasureInfo();
|
|
12264
|
+
},
|
|
12265
|
+
1100
|
|
12266
|
+
);
|
|
12262
12267
|
}
|
|
12263
12268
|
} else if (res.error == -2) {
|
|
12264
12269
|
showTips("您的钻石和点点币不足,请充值");
|
|
@@ -12342,7 +12347,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
12342
12347
|
}
|
|
12343
12348
|
if ($$self.$$.dirty[0] & /*result*/
|
|
12344
12349
|
1) {
|
|
12345
|
-
$$invalidate(13, showCrit = result.
|
|
12350
|
+
$$invalidate(13, showCrit = Number(result._total) - Number(result._process) === 1);
|
|
12346
12351
|
}
|
|
12347
12352
|
};
|
|
12348
12353
|
return [
|
|
@@ -12424,11 +12429,11 @@ function create_if_block_4$3(ctx) {
|
|
|
12424
12429
|
ctx[5]
|
|
12425
12430
|
);
|
|
12426
12431
|
t2 = text("次");
|
|
12427
|
-
attr(img, "class", "imgIcon svelte-
|
|
12432
|
+
attr(img, "class", "imgIcon svelte-17uidtq");
|
|
12428
12433
|
if (!src_url_equal(img.src, img_src_value = "https://dynamics-share.tuwan.com/activity/0e24da0fd01719a934630a6652fa4b9d.png?x-oss-process=image/format,webp/ignore-error,1")) attr(img, "src", img_src_value);
|
|
12429
12434
|
attr(img, "alt", "");
|
|
12430
|
-
attr(span, "class", "wordCtn svelte-
|
|
12431
|
-
attr(div, "class", "subCtn svelte-
|
|
12435
|
+
attr(span, "class", "wordCtn svelte-17uidtq");
|
|
12436
|
+
attr(div, "class", "subCtn svelte-17uidtq");
|
|
12432
12437
|
},
|
|
12433
12438
|
m(target, anchor) {
|
|
12434
12439
|
insert(target, div, anchor);
|
|
@@ -12568,11 +12573,11 @@ function create_else_block$8(ctx) {
|
|
|
12568
12573
|
);
|
|
12569
12574
|
t4 = text("次\r\n ");
|
|
12570
12575
|
if (if_block) if_block.c();
|
|
12571
|
-
attr(div0, "class", "normalBtn svelte-
|
|
12576
|
+
attr(div0, "class", "normalBtn svelte-17uidtq");
|
|
12572
12577
|
attr(div0, "role", "presentation");
|
|
12573
12578
|
attr(div1, "role", "presentation");
|
|
12574
|
-
attr(div1, "class", "normalBtn againBtn svelte-
|
|
12575
|
-
attr(div2, "class", "buttonCtn svelte-
|
|
12579
|
+
attr(div1, "class", "normalBtn againBtn svelte-17uidtq");
|
|
12580
|
+
attr(div2, "class", "buttonCtn svelte-17uidtq");
|
|
12576
12581
|
},
|
|
12577
12582
|
m(target, anchor) {
|
|
12578
12583
|
insert(target, div2, anchor);
|
|
@@ -12648,7 +12653,7 @@ function create_if_block_1$c(ctx) {
|
|
|
12648
12653
|
let if_block = (
|
|
12649
12654
|
/*times*/
|
|
12650
12655
|
ctx[8] && /*unit_price*/
|
|
12651
|
-
ctx[7] && create_if_block_2$
|
|
12656
|
+
ctx[7] && create_if_block_2$b(ctx)
|
|
12652
12657
|
);
|
|
12653
12658
|
return {
|
|
12654
12659
|
c() {
|
|
@@ -12662,15 +12667,15 @@ function create_if_block_1$c(ctx) {
|
|
|
12662
12667
|
t1 = space();
|
|
12663
12668
|
div2 = element("div");
|
|
12664
12669
|
div2.textContent = "确定";
|
|
12665
|
-
attr(input, "class", "inp svelte-
|
|
12670
|
+
attr(input, "class", "inp svelte-17uidtq");
|
|
12666
12671
|
attr(input, "placeholder", "输入数量");
|
|
12667
12672
|
attr(input, "type", "number");
|
|
12668
|
-
attr(div0, "class", "svelte-
|
|
12669
|
-
attr(div1, "class", "inputNumWarpper svelte-
|
|
12673
|
+
attr(div0, "class", "svelte-17uidtq");
|
|
12674
|
+
attr(div1, "class", "inputNumWarpper svelte-17uidtq");
|
|
12670
12675
|
attr(div2, "role", "presentation");
|
|
12671
|
-
attr(div2, "class", "smallBtnCtn svelte-
|
|
12672
|
-
attr(div3, "class", "inputNumCtn svelte-
|
|
12673
|
-
attr(div4, "class", "buttonCtn svelte-
|
|
12676
|
+
attr(div2, "class", "smallBtnCtn svelte-17uidtq");
|
|
12677
|
+
attr(div3, "class", "inputNumCtn svelte-17uidtq");
|
|
12678
|
+
attr(div4, "class", "buttonCtn svelte-17uidtq");
|
|
12674
12679
|
},
|
|
12675
12680
|
m(target, anchor) {
|
|
12676
12681
|
insert(target, div4, anchor);
|
|
@@ -12729,7 +12734,7 @@ function create_if_block_1$c(ctx) {
|
|
|
12729
12734
|
if (if_block) {
|
|
12730
12735
|
if_block.p(ctx2, dirty);
|
|
12731
12736
|
} else {
|
|
12732
|
-
if_block = create_if_block_2$
|
|
12737
|
+
if_block = create_if_block_2$b(ctx2);
|
|
12733
12738
|
if_block.c();
|
|
12734
12739
|
if_block.m(div0, null);
|
|
12735
12740
|
}
|
|
@@ -12754,7 +12759,7 @@ function create_if_block_3$7(ctx) {
|
|
|
12754
12759
|
return {
|
|
12755
12760
|
c() {
|
|
12756
12761
|
img = element("img");
|
|
12757
|
-
attr(img, "class", "critIcon svelte-
|
|
12762
|
+
attr(img, "class", "critIcon svelte-17uidtq");
|
|
12758
12763
|
if (!src_url_equal(img.src, img_src_value = CRIT_ICON$1)) attr(img, "src", img_src_value);
|
|
12759
12764
|
attr(img, "alt", "");
|
|
12760
12765
|
},
|
|
@@ -12769,7 +12774,7 @@ function create_if_block_3$7(ctx) {
|
|
|
12769
12774
|
}
|
|
12770
12775
|
};
|
|
12771
12776
|
}
|
|
12772
|
-
function create_if_block_2$
|
|
12777
|
+
function create_if_block_2$b(ctx) {
|
|
12773
12778
|
let span;
|
|
12774
12779
|
let t0_value = (
|
|
12775
12780
|
/*times*/
|
|
@@ -12783,7 +12788,7 @@ function create_if_block_2$a(ctx) {
|
|
|
12783
12788
|
span = element("span");
|
|
12784
12789
|
t0 = text(t0_value);
|
|
12785
12790
|
t1 = text("紫晶");
|
|
12786
|
-
attr(span, "class", "svelte-
|
|
12791
|
+
attr(span, "class", "svelte-17uidtq");
|
|
12787
12792
|
},
|
|
12788
12793
|
m(target, anchor) {
|
|
12789
12794
|
insert(target, span, anchor);
|
|
@@ -12813,7 +12818,7 @@ function create_if_block$c(ctx) {
|
|
|
12813
12818
|
/*expiresText*/
|
|
12814
12819
|
ctx[11]
|
|
12815
12820
|
);
|
|
12816
|
-
attr(div, "class", "expiresTips svelte-
|
|
12821
|
+
attr(div, "class", "expiresTips svelte-17uidtq");
|
|
12817
12822
|
},
|
|
12818
12823
|
m(target, anchor) {
|
|
12819
12824
|
insert(target, div, anchor);
|
|
@@ -12911,7 +12916,7 @@ function create_fragment$c(ctx) {
|
|
|
12911
12916
|
c() {
|
|
12912
12917
|
div11 = element("div");
|
|
12913
12918
|
div0 = element("div");
|
|
12914
|
-
div0.innerHTML = `<img src="https://asset.tuwan.com/goldMagic/resultTitle.png?v1" alt="" class="svelte-
|
|
12919
|
+
div0.innerHTML = `<img src="https://asset.tuwan.com/goldMagic/resultTitle.png?v1" alt="" class="svelte-17uidtq"/>`;
|
|
12915
12920
|
t0 = space();
|
|
12916
12921
|
div3 = element("div");
|
|
12917
12922
|
div1 = element("div");
|
|
@@ -12952,7 +12957,7 @@ function create_fragment$c(ctx) {
|
|
|
12952
12957
|
t12 = space();
|
|
12953
12958
|
div7 = element("div");
|
|
12954
12959
|
span3 = element("span");
|
|
12955
|
-
span3.innerHTML = `<img alt="" class="radioImg default svelte-
|
|
12960
|
+
span3.innerHTML = `<img alt="" class="radioImg default svelte-17uidtq" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_no.png"/> <img alt="" class="radioImg selected svelte-17uidtq" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_yes.png"/>`;
|
|
12956
12961
|
t14 = space();
|
|
12957
12962
|
span4 = element("span");
|
|
12958
12963
|
span4.textContent = "自定义开启数量";
|
|
@@ -12960,40 +12965,40 @@ function create_fragment$c(ctx) {
|
|
|
12960
12965
|
if (if_block2) if_block2.c();
|
|
12961
12966
|
t17 = space();
|
|
12962
12967
|
div10 = element("div");
|
|
12963
|
-
attr(div0, "class", "openGiftTitle svelte-
|
|
12964
|
-
attr(img1, "class", "imgIcon svelte-
|
|
12968
|
+
attr(div0, "class", "openGiftTitle svelte-17uidtq");
|
|
12969
|
+
attr(img1, "class", "imgIcon svelte-17uidtq");
|
|
12965
12970
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/goldMagic/diamondTabIcon.png")) attr(img1, "src", img1_src_value);
|
|
12966
12971
|
attr(img1, "alt", "");
|
|
12967
|
-
attr(span0, "class", "wordCtn svelte-
|
|
12968
|
-
attr(div1, "class", "subCtn svelte-
|
|
12969
|
-
attr(img2, "class", "imgIcon svelte-
|
|
12972
|
+
attr(span0, "class", "wordCtn svelte-17uidtq");
|
|
12973
|
+
attr(div1, "class", "subCtn svelte-17uidtq");
|
|
12974
|
+
attr(img2, "class", "imgIcon svelte-17uidtq");
|
|
12970
12975
|
if (!src_url_equal(img2.src, img2_src_value = "https://asset.tuwan.com/goldMagic/magicTabIcon.png")) attr(img2, "src", img2_src_value);
|
|
12971
12976
|
attr(img2, "alt", "");
|
|
12972
|
-
attr(span1, "class", "wordCtn svelte-
|
|
12973
|
-
attr(div2, "class", "subCtn svelte-
|
|
12974
|
-
attr(div3, "class", "leftTopCtn svelte-
|
|
12975
|
-
attr(div4, "class", "result_content svelte-
|
|
12977
|
+
attr(span1, "class", "wordCtn svelte-17uidtq");
|
|
12978
|
+
attr(div2, "class", "subCtn svelte-17uidtq");
|
|
12979
|
+
attr(div3, "class", "leftTopCtn svelte-17uidtq");
|
|
12980
|
+
attr(div4, "class", "result_content svelte-17uidtq");
|
|
12976
12981
|
attr(div5, "class", div5_class_value = /*result*/
|
|
12977
12982
|
(ctx[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
12978
|
-
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
12979
|
-
attr(i, "class", "svelte-
|
|
12980
|
-
attr(span2, "class", "svelte-
|
|
12983
|
+
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-17uidtq");
|
|
12984
|
+
attr(i, "class", "svelte-17uidtq");
|
|
12985
|
+
attr(span2, "class", "svelte-17uidtq");
|
|
12981
12986
|
attr(div6, "class", div6_class_value = null_to_empty(
|
|
12982
12987
|
/*parentIgnore*/
|
|
12983
12988
|
ctx[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
12984
|
-
) + " svelte-
|
|
12989
|
+
) + " svelte-17uidtq");
|
|
12985
12990
|
attr(div6, "role", "presentation");
|
|
12986
|
-
attr(span3, "class", "spCtn svelte-
|
|
12987
|
-
attr(span4, "class", "changeWordCtn svelte-
|
|
12991
|
+
attr(span3, "class", "spCtn svelte-17uidtq");
|
|
12992
|
+
attr(span4, "class", "changeWordCtn svelte-17uidtq");
|
|
12988
12993
|
attr(div7, "role", "presentation");
|
|
12989
12994
|
attr(div7, "class", div7_class_value = null_to_empty(
|
|
12990
12995
|
/*radioIsSelected*/
|
|
12991
12996
|
ctx[9] ? "radioCtn active" : "radioCtn"
|
|
12992
|
-
) + " svelte-
|
|
12993
|
-
attr(div8, "class", "footerBottomCtn svelte-
|
|
12994
|
-
attr(div9, "class", "open-actions svelte-
|
|
12995
|
-
attr(div10, "class", "result_vap_anim svelte-
|
|
12996
|
-
attr(div11, "class", "result_container svelte-
|
|
12997
|
+
) + " svelte-17uidtq");
|
|
12998
|
+
attr(div8, "class", "footerBottomCtn svelte-17uidtq");
|
|
12999
|
+
attr(div9, "class", "open-actions svelte-17uidtq");
|
|
13000
|
+
attr(div10, "class", "result_vap_anim svelte-17uidtq");
|
|
13001
|
+
attr(div11, "class", "result_container svelte-17uidtq");
|
|
12997
13002
|
},
|
|
12998
13003
|
m(target, anchor) {
|
|
12999
13004
|
insert(target, div11, anchor);
|
|
@@ -13117,7 +13122,7 @@ function create_fragment$c(ctx) {
|
|
|
13117
13122
|
if (!current || dirty[0] & /*result*/
|
|
13118
13123
|
1 && div5_class_value !== (div5_class_value = /*result*/
|
|
13119
13124
|
(ctx2[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
13120
|
-
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
13125
|
+
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-17uidtq")) {
|
|
13121
13126
|
attr(div5, "class", div5_class_value);
|
|
13122
13127
|
}
|
|
13123
13128
|
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block1) {
|
|
@@ -13134,14 +13139,14 @@ function create_fragment$c(ctx) {
|
|
|
13134
13139
|
2 && div6_class_value !== (div6_class_value = null_to_empty(
|
|
13135
13140
|
/*parentIgnore*/
|
|
13136
13141
|
ctx2[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
13137
|
-
) + " svelte-
|
|
13142
|
+
) + " svelte-17uidtq")) {
|
|
13138
13143
|
attr(div6, "class", div6_class_value);
|
|
13139
13144
|
}
|
|
13140
13145
|
if (!current || dirty[0] & /*radioIsSelected*/
|
|
13141
13146
|
512 && div7_class_value !== (div7_class_value = null_to_empty(
|
|
13142
13147
|
/*radioIsSelected*/
|
|
13143
13148
|
ctx2[9] ? "radioCtn active" : "radioCtn"
|
|
13144
|
-
) + " svelte-
|
|
13149
|
+
) + " svelte-17uidtq")) {
|
|
13145
13150
|
attr(div7, "class", div7_class_value);
|
|
13146
13151
|
}
|
|
13147
13152
|
if (
|
|
@@ -13260,7 +13265,8 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
13260
13265
|
500
|
|
13261
13266
|
);
|
|
13262
13267
|
res.data._expires = res.expires || [];
|
|
13263
|
-
res.data.
|
|
13268
|
+
res.data._total = res.total;
|
|
13269
|
+
res.data._process = res.process;
|
|
13264
13270
|
$$invalidate(0, result = []);
|
|
13265
13271
|
if (parentIgnore) {
|
|
13266
13272
|
setTimeout(
|
|
@@ -13278,13 +13284,17 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
13278
13284
|
url: vapUrl,
|
|
13279
13285
|
ele: animEl,
|
|
13280
13286
|
config: vapConfigUrl
|
|
13281
|
-
}).then(() => {
|
|
13282
|
-
$$invalidate(0, result = res.data);
|
|
13283
|
-
getTreasureInfo();
|
|
13284
13287
|
}).finally(() => {
|
|
13285
13288
|
player.destory();
|
|
13286
|
-
loading = false;
|
|
13287
13289
|
});
|
|
13290
|
+
setTimeout(
|
|
13291
|
+
() => {
|
|
13292
|
+
$$invalidate(0, result = res.data);
|
|
13293
|
+
if (animEl) $$invalidate(2, animEl.innerHTML = "", animEl);
|
|
13294
|
+
getTreasureInfo();
|
|
13295
|
+
},
|
|
13296
|
+
1100
|
|
13297
|
+
);
|
|
13288
13298
|
}
|
|
13289
13299
|
} else if (res.error == -2) {
|
|
13290
13300
|
showTips("您的钻石和点点币不足,请充值");
|
|
@@ -13363,7 +13373,7 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
13363
13373
|
}
|
|
13364
13374
|
if ($$self.$$.dirty[0] & /*result*/
|
|
13365
13375
|
1) {
|
|
13366
|
-
$$invalidate(10, showCrit = result.
|
|
13376
|
+
$$invalidate(10, showCrit = Number(result._total) - Number(result._process) === 1);
|
|
13367
13377
|
}
|
|
13368
13378
|
};
|
|
13369
13379
|
return [
|
|
@@ -14053,7 +14063,7 @@ function create_if_block_1$a(ctx) {
|
|
|
14053
14063
|
let if_block = (
|
|
14054
14064
|
/*times*/
|
|
14055
14065
|
ctx[4] && /*resData*/
|
|
14056
|
-
ctx[0] && create_if_block_2$
|
|
14066
|
+
ctx[0] && create_if_block_2$a(ctx)
|
|
14057
14067
|
);
|
|
14058
14068
|
return {
|
|
14059
14069
|
c() {
|
|
@@ -14135,7 +14145,7 @@ function create_if_block_1$a(ctx) {
|
|
|
14135
14145
|
if (if_block) {
|
|
14136
14146
|
if_block.p(ctx2, dirty);
|
|
14137
14147
|
} else {
|
|
14138
|
-
if_block = create_if_block_2$
|
|
14148
|
+
if_block = create_if_block_2$a(ctx2);
|
|
14139
14149
|
if_block.c();
|
|
14140
14150
|
if_block.m(div0, null);
|
|
14141
14151
|
}
|
|
@@ -14154,7 +14164,7 @@ function create_if_block_1$a(ctx) {
|
|
|
14154
14164
|
}
|
|
14155
14165
|
};
|
|
14156
14166
|
}
|
|
14157
|
-
function create_if_block_2$
|
|
14167
|
+
function create_if_block_2$a(ctx) {
|
|
14158
14168
|
let span;
|
|
14159
14169
|
let t0_value = (
|
|
14160
14170
|
/*times*/
|
|
@@ -14648,7 +14658,8 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
14648
14658
|
);
|
|
14649
14659
|
result = res.data;
|
|
14650
14660
|
result._expires = res.expires || [];
|
|
14651
|
-
result.
|
|
14661
|
+
result._total = res.total;
|
|
14662
|
+
result._process = res.process;
|
|
14652
14663
|
let isJumpAnimation = SessionStorage.getInstance().getGoldMagicAnimIgnore() || 0;
|
|
14653
14664
|
if (isJumpAnimation == 0) {
|
|
14654
14665
|
const vapPath = "https://asset.tuwan.com/goldMagic/crystal/";
|
|
@@ -14811,7 +14822,7 @@ class Magic extends SvelteComponent {
|
|
|
14811
14822
|
});
|
|
14812
14823
|
}
|
|
14813
14824
|
}
|
|
14814
|
-
function
|
|
14825
|
+
function create_if_block_2$9(ctx) {
|
|
14815
14826
|
let div;
|
|
14816
14827
|
let img;
|
|
14817
14828
|
let img_src_value;
|
|
@@ -14857,6 +14868,41 @@ function create_if_block_1$9(ctx) {
|
|
|
14857
14868
|
}
|
|
14858
14869
|
};
|
|
14859
14870
|
}
|
|
14871
|
+
function create_if_block_1$9(ctx) {
|
|
14872
|
+
let div1;
|
|
14873
|
+
let div0;
|
|
14874
|
+
let div0_style_value;
|
|
14875
|
+
return {
|
|
14876
|
+
c() {
|
|
14877
|
+
var _a, _b;
|
|
14878
|
+
div1 = element("div");
|
|
14879
|
+
div0 = element("div");
|
|
14880
|
+
attr(div0, "class", "showBar");
|
|
14881
|
+
attr(div0, "style", div0_style_value = `width: ${/*resData*/
|
|
14882
|
+
(((_a = ctx[0]) == null ? void 0 : _a.gold_process) || 0) / /*resData*/
|
|
14883
|
+
((_b = ctx[0]) == null ? void 0 : _b.gold_total) * 100}%`);
|
|
14884
|
+
attr(div1, "class", "progressCtn");
|
|
14885
|
+
},
|
|
14886
|
+
m(target, anchor) {
|
|
14887
|
+
insert(target, div1, anchor);
|
|
14888
|
+
append(div1, div0);
|
|
14889
|
+
},
|
|
14890
|
+
p(ctx2, dirty) {
|
|
14891
|
+
var _a, _b;
|
|
14892
|
+
if (dirty & /*resData*/
|
|
14893
|
+
1 && div0_style_value !== (div0_style_value = `width: ${/*resData*/
|
|
14894
|
+
(((_a = ctx2[0]) == null ? void 0 : _a.gold_process) || 0) / /*resData*/
|
|
14895
|
+
((_b = ctx2[0]) == null ? void 0 : _b.gold_total) * 100}%`)) {
|
|
14896
|
+
attr(div0, "style", div0_style_value);
|
|
14897
|
+
}
|
|
14898
|
+
},
|
|
14899
|
+
d(detaching) {
|
|
14900
|
+
if (detaching) {
|
|
14901
|
+
detach(div1);
|
|
14902
|
+
}
|
|
14903
|
+
}
|
|
14904
|
+
};
|
|
14905
|
+
}
|
|
14860
14906
|
function create_if_block$9(ctx) {
|
|
14861
14907
|
let div1;
|
|
14862
14908
|
let div0;
|
|
@@ -14893,8 +14939,8 @@ function create_if_block$9(ctx) {
|
|
|
14893
14939
|
};
|
|
14894
14940
|
}
|
|
14895
14941
|
function create_fragment$9(ctx) {
|
|
14896
|
-
var _a;
|
|
14897
|
-
let
|
|
14942
|
+
var _a, _b;
|
|
14943
|
+
let div15;
|
|
14898
14944
|
let img0;
|
|
14899
14945
|
let img0_src_value;
|
|
14900
14946
|
let t0;
|
|
@@ -14942,7 +14988,7 @@ function create_fragment$9(ctx) {
|
|
|
14942
14988
|
let t8;
|
|
14943
14989
|
let t9;
|
|
14944
14990
|
let t10;
|
|
14945
|
-
let
|
|
14991
|
+
let show_if_1 = Number(
|
|
14946
14992
|
/*resData*/
|
|
14947
14993
|
(_a = ctx[0]) == null ? void 0 : _a.hit_times
|
|
14948
14994
|
) > 0;
|
|
@@ -14953,29 +14999,30 @@ function create_fragment$9(ctx) {
|
|
|
14953
14999
|
let t13;
|
|
14954
15000
|
let div9;
|
|
14955
15001
|
let t16;
|
|
14956
|
-
let
|
|
14957
|
-
let
|
|
14958
|
-
|
|
14959
|
-
|
|
15002
|
+
let div14;
|
|
15003
|
+
let show_if = Number(
|
|
15004
|
+
/*resData*/
|
|
15005
|
+
(_b = ctx[0]) == null ? void 0 : _b.gold_process
|
|
15006
|
+
) > 0;
|
|
14960
15007
|
let t17;
|
|
14961
|
-
let
|
|
15008
|
+
let div10;
|
|
14962
15009
|
let t18;
|
|
14963
|
-
let div15;
|
|
14964
15010
|
let div13;
|
|
15011
|
+
let div11;
|
|
14965
15012
|
let t22;
|
|
14966
|
-
let
|
|
15013
|
+
let div12;
|
|
14967
15014
|
let t23;
|
|
14968
15015
|
let mounted;
|
|
14969
15016
|
let dispose;
|
|
14970
|
-
let if_block0 =
|
|
14971
|
-
let if_block1 = (
|
|
15017
|
+
let if_block0 = show_if_1 && create_if_block_2$9(ctx);
|
|
15018
|
+
let if_block1 = show_if && create_if_block_1$9(ctx);
|
|
15019
|
+
let if_block2 = (
|
|
14972
15020
|
/*expiresText*/
|
|
14973
15021
|
ctx[3] && create_if_block$9(ctx)
|
|
14974
15022
|
);
|
|
14975
15023
|
return {
|
|
14976
15024
|
c() {
|
|
14977
|
-
|
|
14978
|
-
div17 = element("div");
|
|
15025
|
+
div15 = element("div");
|
|
14979
15026
|
img0 = element("img");
|
|
14980
15027
|
t0 = space();
|
|
14981
15028
|
div3 = element("div");
|
|
@@ -15007,20 +15054,19 @@ function create_fragment$9(ctx) {
|
|
|
15007
15054
|
div9 = element("div");
|
|
15008
15055
|
div9.innerHTML = `<div class="fireCtn"></div> <div class="mainImgCtn mainImgCtnGold"></div> <div class="mainSvgaCtn"></div>`;
|
|
15009
15056
|
t16 = space();
|
|
15010
|
-
|
|
15011
|
-
|
|
15012
|
-
div10 = element("div");
|
|
15057
|
+
div14 = element("div");
|
|
15058
|
+
if (if_block1) if_block1.c();
|
|
15013
15059
|
t17 = space();
|
|
15014
|
-
|
|
15060
|
+
div10 = element("div");
|
|
15015
15061
|
t18 = space();
|
|
15016
|
-
div15 = element("div");
|
|
15017
15062
|
div13 = element("div");
|
|
15018
|
-
|
|
15063
|
+
div11 = element("div");
|
|
15064
|
+
div11.innerHTML = `<span class="innerCtn"><img class="icon" src="https://asset.tuwan.com/goldMagic/magicIcon.png"/> <span class="numCtn">680</span></span>
|
|
15019
15065
|
开启魔法`;
|
|
15020
15066
|
t22 = space();
|
|
15021
|
-
|
|
15067
|
+
div12 = element("div");
|
|
15022
15068
|
t23 = space();
|
|
15023
|
-
if (
|
|
15069
|
+
if (if_block2) if_block2.c();
|
|
15024
15070
|
attr(img0, "class", "openGiftTitle");
|
|
15025
15071
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/goldMagic/goldTitle.png")) attr(img0, "src", img0_src_value);
|
|
15026
15072
|
attr(img1, "class", "imgIcon");
|
|
@@ -15039,25 +15085,20 @@ function create_fragment$9(ctx) {
|
|
|
15039
15085
|
attr(div4, "class", "fireSvgaCtn");
|
|
15040
15086
|
attr(div5, "class", "result_vap_anim");
|
|
15041
15087
|
attr(div9, "class", "mainShowerCtn");
|
|
15042
|
-
attr(div10, "class", "
|
|
15043
|
-
attr(
|
|
15044
|
-
(
|
|
15045
|
-
(
|
|
15046
|
-
attr(
|
|
15047
|
-
attr(
|
|
15048
|
-
attr(
|
|
15049
|
-
attr(
|
|
15050
|
-
attr(div14, "class", "firedButton");
|
|
15051
|
-
attr(div14, "id", "goldFiredBtn");
|
|
15052
|
-
attr(div15, "class", "buttonCtn");
|
|
15053
|
-
attr(div16, "class", "openGiftFooter");
|
|
15054
|
-
attr(div17, "class", "GoldCtn");
|
|
15088
|
+
attr(div10, "class", "topTipsCtn");
|
|
15089
|
+
attr(div11, "class", "normalBtn");
|
|
15090
|
+
attr(div11, "id", "goldNormalBtn");
|
|
15091
|
+
attr(div12, "class", "firedButton");
|
|
15092
|
+
attr(div12, "id", "goldFiredBtn");
|
|
15093
|
+
attr(div13, "class", "buttonCtn");
|
|
15094
|
+
attr(div14, "class", "openGiftFooter");
|
|
15095
|
+
attr(div15, "class", "GoldCtn");
|
|
15055
15096
|
},
|
|
15056
15097
|
m(target, anchor) {
|
|
15057
|
-
insert(target,
|
|
15058
|
-
append(
|
|
15059
|
-
append(
|
|
15060
|
-
append(
|
|
15098
|
+
insert(target, div15, anchor);
|
|
15099
|
+
append(div15, img0);
|
|
15100
|
+
append(div15, t0);
|
|
15101
|
+
append(div15, div3);
|
|
15061
15102
|
append(div3, div0);
|
|
15062
15103
|
append(div0, img1);
|
|
15063
15104
|
append(div0, t1);
|
|
@@ -15078,38 +15119,37 @@ function create_fragment$9(ctx) {
|
|
|
15078
15119
|
append(span2, t9);
|
|
15079
15120
|
append(div3, t10);
|
|
15080
15121
|
if (if_block0) if_block0.m(div3, null);
|
|
15081
|
-
append(
|
|
15082
|
-
append(
|
|
15083
|
-
append(
|
|
15084
|
-
append(
|
|
15122
|
+
append(div15, t11);
|
|
15123
|
+
append(div15, div4);
|
|
15124
|
+
append(div15, t12);
|
|
15125
|
+
append(div15, div5);
|
|
15085
15126
|
ctx[8](div5);
|
|
15086
|
-
append(
|
|
15087
|
-
append(
|
|
15088
|
-
append(
|
|
15089
|
-
append(div17, div16);
|
|
15090
|
-
append(div16, div11);
|
|
15091
|
-
append(div11, div10);
|
|
15092
|
-
append(div16, t17);
|
|
15093
|
-
append(div16, div12);
|
|
15094
|
-
div12.innerHTML = /*tipsStr*/
|
|
15095
|
-
ctx[2];
|
|
15096
|
-
append(div16, t18);
|
|
15097
|
-
append(div16, div15);
|
|
15098
|
-
append(div15, div13);
|
|
15099
|
-
append(div15, t22);
|
|
15127
|
+
append(div15, t13);
|
|
15128
|
+
append(div15, div9);
|
|
15129
|
+
append(div15, t16);
|
|
15100
15130
|
append(div15, div14);
|
|
15101
|
-
|
|
15102
|
-
|
|
15131
|
+
if (if_block1) if_block1.m(div14, null);
|
|
15132
|
+
append(div14, t17);
|
|
15133
|
+
append(div14, div10);
|
|
15134
|
+
div10.innerHTML = /*tipsStr*/
|
|
15135
|
+
ctx[2];
|
|
15136
|
+
append(div14, t18);
|
|
15137
|
+
append(div14, div13);
|
|
15138
|
+
append(div13, div11);
|
|
15139
|
+
append(div13, t22);
|
|
15140
|
+
append(div13, div12);
|
|
15141
|
+
append(div14, t23);
|
|
15142
|
+
if (if_block2) if_block2.m(div14, null);
|
|
15103
15143
|
if (!mounted) {
|
|
15104
15144
|
dispose = [
|
|
15105
15145
|
listen(
|
|
15106
|
-
|
|
15146
|
+
div11,
|
|
15107
15147
|
"click",
|
|
15108
15148
|
/*handleOpenGift*/
|
|
15109
15149
|
ctx[4]
|
|
15110
15150
|
),
|
|
15111
15151
|
listen(
|
|
15112
|
-
|
|
15152
|
+
div12,
|
|
15113
15153
|
"click",
|
|
15114
15154
|
/*handleOpenGift*/
|
|
15115
15155
|
ctx[4]
|
|
@@ -15119,7 +15159,7 @@ function create_fragment$9(ctx) {
|
|
|
15119
15159
|
}
|
|
15120
15160
|
},
|
|
15121
15161
|
p(ctx2, [dirty]) {
|
|
15122
|
-
var _a2,
|
|
15162
|
+
var _a2, _b2;
|
|
15123
15163
|
if (dirty & /*resData*/
|
|
15124
15164
|
1 && t2_value !== (t2_value = /*resData*/
|
|
15125
15165
|
(ctx2[0] ? (
|
|
@@ -15139,15 +15179,15 @@ function create_fragment$9(ctx) {
|
|
|
15139
15179
|
ctx2[0].glod_num
|
|
15140
15180
|
) : "") + "")) set_data(t8, t8_value);
|
|
15141
15181
|
if (dirty & /*resData*/
|
|
15142
|
-
1)
|
|
15182
|
+
1) show_if_1 = Number(
|
|
15143
15183
|
/*resData*/
|
|
15144
15184
|
(_a2 = ctx2[0]) == null ? void 0 : _a2.hit_times
|
|
15145
15185
|
) > 0;
|
|
15146
|
-
if (
|
|
15186
|
+
if (show_if_1) {
|
|
15147
15187
|
if (if_block0) {
|
|
15148
15188
|
if_block0.p(ctx2, dirty);
|
|
15149
15189
|
} else {
|
|
15150
|
-
if_block0 =
|
|
15190
|
+
if_block0 = create_if_block_2$9(ctx2);
|
|
15151
15191
|
if_block0.c();
|
|
15152
15192
|
if_block0.m(div3, null);
|
|
15153
15193
|
}
|
|
@@ -15156,39 +15196,51 @@ function create_fragment$9(ctx) {
|
|
|
15156
15196
|
if_block0 = null;
|
|
15157
15197
|
}
|
|
15158
15198
|
if (dirty & /*resData*/
|
|
15159
|
-
1
|
|
15160
|
-
|
|
15161
|
-
|
|
15162
|
-
|
|
15199
|
+
1) show_if = Number(
|
|
15200
|
+
/*resData*/
|
|
15201
|
+
(_b2 = ctx2[0]) == null ? void 0 : _b2.gold_process
|
|
15202
|
+
) > 0;
|
|
15203
|
+
if (show_if) {
|
|
15204
|
+
if (if_block1) {
|
|
15205
|
+
if_block1.p(ctx2, dirty);
|
|
15206
|
+
} else {
|
|
15207
|
+
if_block1 = create_if_block_1$9(ctx2);
|
|
15208
|
+
if_block1.c();
|
|
15209
|
+
if_block1.m(div14, t17);
|
|
15210
|
+
}
|
|
15211
|
+
} else if (if_block1) {
|
|
15212
|
+
if_block1.d(1);
|
|
15213
|
+
if_block1 = null;
|
|
15163
15214
|
}
|
|
15164
15215
|
if (dirty & /*tipsStr*/
|
|
15165
|
-
4)
|
|
15216
|
+
4) div10.innerHTML = /*tipsStr*/
|
|
15166
15217
|
ctx2[2];
|
|
15167
15218
|
if (
|
|
15168
15219
|
/*expiresText*/
|
|
15169
15220
|
ctx2[3]
|
|
15170
15221
|
) {
|
|
15171
|
-
if (
|
|
15172
|
-
|
|
15222
|
+
if (if_block2) {
|
|
15223
|
+
if_block2.p(ctx2, dirty);
|
|
15173
15224
|
} else {
|
|
15174
|
-
|
|
15175
|
-
|
|
15176
|
-
|
|
15225
|
+
if_block2 = create_if_block$9(ctx2);
|
|
15226
|
+
if_block2.c();
|
|
15227
|
+
if_block2.m(div14, null);
|
|
15177
15228
|
}
|
|
15178
|
-
} else if (
|
|
15179
|
-
|
|
15180
|
-
|
|
15229
|
+
} else if (if_block2) {
|
|
15230
|
+
if_block2.d(1);
|
|
15231
|
+
if_block2 = null;
|
|
15181
15232
|
}
|
|
15182
15233
|
},
|
|
15183
15234
|
i: noop,
|
|
15184
15235
|
o: noop,
|
|
15185
15236
|
d(detaching) {
|
|
15186
15237
|
if (detaching) {
|
|
15187
|
-
detach(
|
|
15238
|
+
detach(div15);
|
|
15188
15239
|
}
|
|
15189
15240
|
if (if_block0) if_block0.d();
|
|
15190
15241
|
ctx[8](null);
|
|
15191
15242
|
if (if_block1) if_block1.d();
|
|
15243
|
+
if (if_block2) if_block2.d();
|
|
15192
15244
|
mounted = false;
|
|
15193
15245
|
run_all(dispose);
|
|
15194
15246
|
}
|
|
@@ -15249,7 +15301,8 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
15249
15301
|
);
|
|
15250
15302
|
result = res.data;
|
|
15251
15303
|
result._expires = res.expires || [];
|
|
15252
|
-
result.
|
|
15304
|
+
result._total = res.total;
|
|
15305
|
+
result._process = res.process;
|
|
15253
15306
|
let isJumpAnimation = SessionStorage.getInstance().getGoldMagicAnimIgnore() || 0;
|
|
15254
15307
|
if (isJumpAnimation == 0) {
|
|
15255
15308
|
const vapPath = "https://asset.tuwan.com/goldMagic/glod/";
|
|
@@ -16148,7 +16201,8 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
16148
16201
|
);
|
|
16149
16202
|
result = res.data;
|
|
16150
16203
|
result._expires = res.expires || [];
|
|
16151
|
-
result.
|
|
16204
|
+
result._total = res.total;
|
|
16205
|
+
result._process = res.process;
|
|
16152
16206
|
let isJumpAnimation = SessionStorage.getInstance().getGoldMagicAnimIgnore() || 0;
|
|
16153
16207
|
if (isJumpAnimation == 0) {
|
|
16154
16208
|
const vapUrl = "https://dynamics-share.tuwan.com/activity/431da644d314303a0231585c723b968e.mp4";
|
|
@@ -17719,7 +17773,7 @@ function create_else_block_1(ctx) {
|
|
|
17719
17773
|
img = element("img");
|
|
17720
17774
|
if (!src_url_equal(img.src, img_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/loveTitleResult.png")) attr(img, "src", img_src_value);
|
|
17721
17775
|
attr(img, "alt", "");
|
|
17722
|
-
attr(img, "class", "svelte-
|
|
17776
|
+
attr(img, "class", "svelte-2kbaqk");
|
|
17723
17777
|
},
|
|
17724
17778
|
m(target, anchor) {
|
|
17725
17779
|
insert(target, img, anchor);
|
|
@@ -17739,7 +17793,7 @@ function create_if_block_5(ctx) {
|
|
|
17739
17793
|
img = element("img");
|
|
17740
17794
|
if (!src_url_equal(img.src, img_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/luckyTitleResult.png")) attr(img, "src", img_src_value);
|
|
17741
17795
|
attr(img, "alt", "");
|
|
17742
|
-
attr(img, "class", "svelte-
|
|
17796
|
+
attr(img, "class", "svelte-2kbaqk");
|
|
17743
17797
|
},
|
|
17744
17798
|
m(target, anchor) {
|
|
17745
17799
|
insert(target, img, anchor);
|
|
@@ -17771,10 +17825,10 @@ function create_if_block_4(ctx) {
|
|
|
17771
17825
|
);
|
|
17772
17826
|
t2 = text("次");
|
|
17773
17827
|
attr(img, "alt", "");
|
|
17774
|
-
attr(img, "class", "imgIcon svelte-
|
|
17828
|
+
attr(img, "class", "imgIcon svelte-2kbaqk");
|
|
17775
17829
|
if (!src_url_equal(img.src, img_src_value = "https://dynamics-share.tuwan.com/activity/0e24da0fd01719a934630a6652fa4b9d.png?x-oss-process=image/format,webp/ignore-error,1")) attr(img, "src", img_src_value);
|
|
17776
|
-
attr(span, "class", "wordCtn svelte-
|
|
17777
|
-
attr(div, "class", "subCtn svelte-
|
|
17830
|
+
attr(span, "class", "wordCtn svelte-2kbaqk");
|
|
17831
|
+
attr(div, "class", "subCtn svelte-2kbaqk");
|
|
17778
17832
|
},
|
|
17779
17833
|
m(target, anchor) {
|
|
17780
17834
|
insert(target, div, anchor);
|
|
@@ -17937,12 +17991,12 @@ function create_else_block$4(ctx) {
|
|
|
17937
17991
|
t4 = text("次\r\n ");
|
|
17938
17992
|
if (if_block) if_block.c();
|
|
17939
17993
|
attr(div0, "class", div0_class_value = null_to_empty(`normalBtn ${/*mode*/
|
|
17940
|
-
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-
|
|
17994
|
+
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-2kbaqk");
|
|
17941
17995
|
attr(div0, "role", "presentation");
|
|
17942
17996
|
attr(div1, "class", div1_class_value = null_to_empty(`normalBtn againBtn ${/*mode*/
|
|
17943
|
-
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-
|
|
17997
|
+
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-2kbaqk");
|
|
17944
17998
|
attr(div1, "role", "presentation");
|
|
17945
|
-
attr(div2, "class", "buttonCtn svelte-
|
|
17999
|
+
attr(div2, "class", "buttonCtn svelte-2kbaqk");
|
|
17946
18000
|
},
|
|
17947
18001
|
m(target, anchor) {
|
|
17948
18002
|
insert(target, div2, anchor);
|
|
@@ -17975,7 +18029,7 @@ function create_else_block$4(ctx) {
|
|
|
17975
18029
|
p(ctx2, dirty) {
|
|
17976
18030
|
if (dirty[0] & /*mode*/
|
|
17977
18031
|
4 && div0_class_value !== (div0_class_value = null_to_empty(`normalBtn ${/*mode*/
|
|
17978
|
-
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-
|
|
18032
|
+
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-2kbaqk")) {
|
|
17979
18033
|
attr(div0, "class", div0_class_value);
|
|
17980
18034
|
}
|
|
17981
18035
|
if (dirty[0] & /*lastOpenTimes*/
|
|
@@ -18001,7 +18055,7 @@ function create_else_block$4(ctx) {
|
|
|
18001
18055
|
}
|
|
18002
18056
|
if (dirty[0] & /*mode*/
|
|
18003
18057
|
4 && div1_class_value !== (div1_class_value = null_to_empty(`normalBtn againBtn ${/*mode*/
|
|
18004
|
-
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-
|
|
18058
|
+
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-2kbaqk")) {
|
|
18005
18059
|
attr(div1, "class", div1_class_value);
|
|
18006
18060
|
}
|
|
18007
18061
|
},
|
|
@@ -18046,17 +18100,17 @@ function create_if_block_1$5(ctx) {
|
|
|
18046
18100
|
t1 = space();
|
|
18047
18101
|
div2 = element("div");
|
|
18048
18102
|
t2 = text("确定");
|
|
18049
|
-
attr(input, "class", "inp svelte-
|
|
18103
|
+
attr(input, "class", "inp svelte-2kbaqk");
|
|
18050
18104
|
attr(input, "placeholder", "输入数量");
|
|
18051
18105
|
attr(input, "type", "number");
|
|
18052
|
-
attr(div0, "class", "svelte-
|
|
18053
|
-
attr(div1, "class", "inputNumWarpper svelte-
|
|
18106
|
+
attr(div0, "class", "svelte-2kbaqk");
|
|
18107
|
+
attr(div1, "class", "inputNumWarpper svelte-2kbaqk");
|
|
18054
18108
|
attr(div2, "role", "presentation");
|
|
18055
18109
|
attr(div2, "class", div2_class_value = null_to_empty(`smallBtnCtn ${/*mode*/
|
|
18056
|
-
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-
|
|
18110
|
+
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-2kbaqk");
|
|
18057
18111
|
attr(div3, "class", div3_class_value = null_to_empty(`inputNumCtn ${/*mode*/
|
|
18058
|
-
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-
|
|
18059
|
-
attr(div4, "class", "buttonCtn svelte-
|
|
18112
|
+
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-2kbaqk");
|
|
18113
|
+
attr(div4, "class", "buttonCtn svelte-2kbaqk");
|
|
18060
18114
|
},
|
|
18061
18115
|
m(target, anchor) {
|
|
18062
18116
|
insert(target, div4, anchor);
|
|
@@ -18126,12 +18180,12 @@ function create_if_block_1$5(ctx) {
|
|
|
18126
18180
|
}
|
|
18127
18181
|
if (dirty[0] & /*mode*/
|
|
18128
18182
|
4 && div2_class_value !== (div2_class_value = null_to_empty(`smallBtnCtn ${/*mode*/
|
|
18129
|
-
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-
|
|
18183
|
+
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-2kbaqk")) {
|
|
18130
18184
|
attr(div2, "class", div2_class_value);
|
|
18131
18185
|
}
|
|
18132
18186
|
if (dirty[0] & /*mode*/
|
|
18133
18187
|
4 && div3_class_value !== (div3_class_value = null_to_empty(`inputNumCtn ${/*mode*/
|
|
18134
|
-
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-
|
|
18188
|
+
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-2kbaqk")) {
|
|
18135
18189
|
attr(div3, "class", div3_class_value);
|
|
18136
18190
|
}
|
|
18137
18191
|
},
|
|
@@ -18151,7 +18205,7 @@ function create_if_block_3$2(ctx) {
|
|
|
18151
18205
|
return {
|
|
18152
18206
|
c() {
|
|
18153
18207
|
img = element("img");
|
|
18154
|
-
attr(img, "class", "critIcon svelte-
|
|
18208
|
+
attr(img, "class", "critIcon svelte-2kbaqk");
|
|
18155
18209
|
if (!src_url_equal(img.src, img_src_value = CRIT_ICON)) attr(img, "src", img_src_value);
|
|
18156
18210
|
attr(img, "alt", "");
|
|
18157
18211
|
},
|
|
@@ -18180,7 +18234,7 @@ function create_if_block_2$5(ctx) {
|
|
|
18180
18234
|
span = element("span");
|
|
18181
18235
|
t0 = text(t0_value);
|
|
18182
18236
|
t1 = text("钻石");
|
|
18183
|
-
attr(span, "class", "svelte-
|
|
18237
|
+
attr(span, "class", "svelte-2kbaqk");
|
|
18184
18238
|
},
|
|
18185
18239
|
m(target, anchor) {
|
|
18186
18240
|
insert(target, span, anchor);
|
|
@@ -18210,7 +18264,7 @@ function create_if_block$5(ctx) {
|
|
|
18210
18264
|
/*expiresText*/
|
|
18211
18265
|
ctx[12]
|
|
18212
18266
|
);
|
|
18213
|
-
attr(div, "class", "expiresTips svelte-
|
|
18267
|
+
attr(div, "class", "expiresTips svelte-2kbaqk");
|
|
18214
18268
|
},
|
|
18215
18269
|
m(target, anchor) {
|
|
18216
18270
|
insert(target, div, anchor);
|
|
@@ -18355,7 +18409,7 @@ function create_fragment$5(ctx) {
|
|
|
18355
18409
|
t10 = space();
|
|
18356
18410
|
div7 = element("div");
|
|
18357
18411
|
span3 = element("span");
|
|
18358
|
-
span3.innerHTML = `<img alt="" class="radioImg default svelte-
|
|
18412
|
+
span3.innerHTML = `<img alt="" class="radioImg default svelte-2kbaqk" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_no.png"/> <img alt="" class="radioImg selected svelte-2kbaqk" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_yes.png"/>`;
|
|
18359
18413
|
t12 = space();
|
|
18360
18414
|
span4 = element("span");
|
|
18361
18415
|
span4.textContent = "自定义开启数量";
|
|
@@ -18363,41 +18417,41 @@ function create_fragment$5(ctx) {
|
|
|
18363
18417
|
if (if_block3) if_block3.c();
|
|
18364
18418
|
t15 = space();
|
|
18365
18419
|
div10 = element("div");
|
|
18366
|
-
attr(div0, "class", "openGiftTitle svelte-
|
|
18420
|
+
attr(div0, "class", "openGiftTitle svelte-2kbaqk");
|
|
18367
18421
|
attr(img0, "alt", "");
|
|
18368
|
-
attr(img0, "class", "imgIcon svelte-
|
|
18422
|
+
attr(img0, "class", "imgIcon svelte-2kbaqk");
|
|
18369
18423
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/diamond3.png")) attr(img0, "src", img0_src_value);
|
|
18370
|
-
attr(span0, "class", "wordCtn svelte-
|
|
18371
|
-
attr(div1, "class", "subCtn svelte-
|
|
18424
|
+
attr(span0, "class", "wordCtn svelte-2kbaqk");
|
|
18425
|
+
attr(div1, "class", "subCtn svelte-2kbaqk");
|
|
18372
18426
|
attr(img1, "alt", "");
|
|
18373
|
-
attr(img1, "class", "imgIcon svelte-
|
|
18427
|
+
attr(img1, "class", "imgIcon svelte-2kbaqk");
|
|
18374
18428
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/money3.png")) attr(img1, "src", img1_src_value);
|
|
18375
|
-
attr(span1, "class", "wordCtn svelte-
|
|
18376
|
-
attr(div2, "class", "subCtn svelte-
|
|
18377
|
-
attr(div3, "class", "leftTopCtn svelte-
|
|
18378
|
-
attr(div4, "class", "result_content svelte-
|
|
18429
|
+
attr(span1, "class", "wordCtn svelte-2kbaqk");
|
|
18430
|
+
attr(div2, "class", "subCtn svelte-2kbaqk");
|
|
18431
|
+
attr(div3, "class", "leftTopCtn svelte-2kbaqk");
|
|
18432
|
+
attr(div4, "class", "result_content svelte-2kbaqk");
|
|
18379
18433
|
attr(div5, "class", div5_class_value = /*result*/
|
|
18380
18434
|
(ctx[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
18381
|
-
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
18382
|
-
attr(i, "class", "svelte-
|
|
18383
|
-
attr(span2, "class", "svelte-
|
|
18435
|
+
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-2kbaqk");
|
|
18436
|
+
attr(i, "class", "svelte-2kbaqk");
|
|
18437
|
+
attr(span2, "class", "svelte-2kbaqk");
|
|
18384
18438
|
attr(div6, "class", div6_class_value = null_to_empty(
|
|
18385
18439
|
/*parentIgnore*/
|
|
18386
18440
|
ctx[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
18387
|
-
) + " svelte-
|
|
18441
|
+
) + " svelte-2kbaqk");
|
|
18388
18442
|
attr(div6, "role", "presentation");
|
|
18389
|
-
attr(span3, "class", "spCtn svelte-
|
|
18390
|
-
attr(span4, "class", "changeWordCtn svelte-
|
|
18443
|
+
attr(span3, "class", "spCtn svelte-2kbaqk");
|
|
18444
|
+
attr(span4, "class", "changeWordCtn svelte-2kbaqk");
|
|
18391
18445
|
attr(div7, "role", "presentation");
|
|
18392
18446
|
attr(div7, "class", div7_class_value = null_to_empty(
|
|
18393
18447
|
/*radioIsSelected*/
|
|
18394
18448
|
ctx[10] ? "radioCtn active" : "radioCtn"
|
|
18395
|
-
) + " svelte-
|
|
18396
|
-
attr(div8, "class", "footerBottomCtn svelte-
|
|
18397
|
-
attr(div9, "class", "open-actions svelte-
|
|
18398
|
-
attr(div10, "class", "result_vap_anim svelte-
|
|
18449
|
+
) + " svelte-2kbaqk");
|
|
18450
|
+
attr(div8, "class", "footerBottomCtn svelte-2kbaqk");
|
|
18451
|
+
attr(div9, "class", "open-actions svelte-2kbaqk");
|
|
18452
|
+
attr(div10, "class", "result_vap_anim svelte-2kbaqk");
|
|
18399
18453
|
attr(div11, "class", div11_class_value = "result_container " + /*mode*/
|
|
18400
|
-
(ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "glod") + " svelte-
|
|
18454
|
+
(ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "glod") + " svelte-2kbaqk");
|
|
18401
18455
|
},
|
|
18402
18456
|
m(target, anchor) {
|
|
18403
18457
|
insert(target, div11, anchor);
|
|
@@ -18528,7 +18582,7 @@ function create_fragment$5(ctx) {
|
|
|
18528
18582
|
if (!current || dirty[0] & /*result*/
|
|
18529
18583
|
1 && div5_class_value !== (div5_class_value = /*result*/
|
|
18530
18584
|
(ctx2[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
18531
|
-
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
18585
|
+
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-2kbaqk")) {
|
|
18532
18586
|
attr(div5, "class", div5_class_value);
|
|
18533
18587
|
}
|
|
18534
18588
|
if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx2)) && if_block2) {
|
|
@@ -18545,14 +18599,14 @@ function create_fragment$5(ctx) {
|
|
|
18545
18599
|
8 && div6_class_value !== (div6_class_value = null_to_empty(
|
|
18546
18600
|
/*parentIgnore*/
|
|
18547
18601
|
ctx2[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
18548
|
-
) + " svelte-
|
|
18602
|
+
) + " svelte-2kbaqk")) {
|
|
18549
18603
|
attr(div6, "class", div6_class_value);
|
|
18550
18604
|
}
|
|
18551
18605
|
if (!current || dirty[0] & /*radioIsSelected*/
|
|
18552
18606
|
1024 && div7_class_value !== (div7_class_value = null_to_empty(
|
|
18553
18607
|
/*radioIsSelected*/
|
|
18554
18608
|
ctx2[10] ? "radioCtn active" : "radioCtn"
|
|
18555
|
-
) + " svelte-
|
|
18609
|
+
) + " svelte-2kbaqk")) {
|
|
18556
18610
|
attr(div7, "class", div7_class_value);
|
|
18557
18611
|
}
|
|
18558
18612
|
if (
|
|
@@ -18572,7 +18626,7 @@ function create_fragment$5(ctx) {
|
|
|
18572
18626
|
}
|
|
18573
18627
|
if (!current || dirty[0] & /*mode*/
|
|
18574
18628
|
4 && div11_class_value !== (div11_class_value = "result_container " + /*mode*/
|
|
18575
|
-
(ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "glod") + " svelte-
|
|
18629
|
+
(ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "glod") + " svelte-2kbaqk")) {
|
|
18576
18630
|
attr(div11, "class", div11_class_value);
|
|
18577
18631
|
}
|
|
18578
18632
|
},
|
|
@@ -18685,7 +18739,8 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18685
18739
|
500
|
|
18686
18740
|
);
|
|
18687
18741
|
res.data._expires = res.expires || [];
|
|
18688
|
-
res.data.
|
|
18742
|
+
res.data._total = res.total;
|
|
18743
|
+
res.data._process = res.process;
|
|
18689
18744
|
$$invalidate(0, result = []);
|
|
18690
18745
|
if (parentIgnore) {
|
|
18691
18746
|
setTimeout(
|
|
@@ -18702,14 +18757,18 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18702
18757
|
url: vapPath + "video.mp4",
|
|
18703
18758
|
ele: animEl,
|
|
18704
18759
|
config: vapPath + "vapc.json"
|
|
18705
|
-
}).then(() => {
|
|
18706
|
-
$$invalidate(0, result = res.data);
|
|
18707
|
-
getTreasureInfo();
|
|
18708
18760
|
}).finally(() => {
|
|
18709
18761
|
player.destory();
|
|
18710
|
-
loading = false;
|
|
18711
|
-
isGoing = false;
|
|
18712
18762
|
});
|
|
18763
|
+
setTimeout(
|
|
18764
|
+
() => {
|
|
18765
|
+
$$invalidate(0, result = res.data);
|
|
18766
|
+
if (animEl) $$invalidate(5, animEl.innerHTML = "", animEl);
|
|
18767
|
+
getTreasureInfo();
|
|
18768
|
+
isGoing = false;
|
|
18769
|
+
},
|
|
18770
|
+
1100
|
|
18771
|
+
);
|
|
18713
18772
|
}
|
|
18714
18773
|
} else if (res.error == -2) {
|
|
18715
18774
|
showTips("您的钻石和点点币不足,请充值");
|
|
@@ -18806,7 +18865,7 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18806
18865
|
}
|
|
18807
18866
|
if ($$self.$$.dirty[0] & /*result*/
|
|
18808
18867
|
1) {
|
|
18809
|
-
$$invalidate(11, showCrit = result.
|
|
18868
|
+
$$invalidate(11, showCrit = Number(result._total) - Number(result._process) === 1);
|
|
18810
18869
|
}
|
|
18811
18870
|
if ($$self.$$.dirty[0] & /*result*/
|
|
18812
18871
|
1) {
|
|
@@ -20128,7 +20187,8 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
20128
20187
|
);
|
|
20129
20188
|
result = res.data;
|
|
20130
20189
|
result._expires = res.expires || [];
|
|
20131
|
-
result.
|
|
20190
|
+
result._total = res.total;
|
|
20191
|
+
result._process = res.process;
|
|
20132
20192
|
let isJumpAnimation = SessionStorage.getInstance().getGoldMagicAnimIgnore() || 0;
|
|
20133
20193
|
if (isJumpAnimation == 0) {
|
|
20134
20194
|
const vapPath = "https://asset.tuwan.com/chartRoom/loveAndLuckyBox/lucky/";
|
|
@@ -21028,7 +21088,8 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
|
21028
21088
|
);
|
|
21029
21089
|
result = res.data;
|
|
21030
21090
|
result._expires = res.expires || [];
|
|
21031
|
-
result.
|
|
21091
|
+
result._total = res.total;
|
|
21092
|
+
result._process = res.process;
|
|
21032
21093
|
let isJumpAnimation = SessionStorage.getInstance().getGoldMagicAnimIgnore() || 0;
|
|
21033
21094
|
if (isJumpAnimation == 0) {
|
|
21034
21095
|
const vapPath = "https://asset.tuwan.com/chartRoom/loveAndLuckyBox/love/";
|