@taole/newgiftbar 0.1.7 → 0.1.9
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.es.js +268 -344
- package/package.json +1 -1
package/npm/newgiftbar.es.js
CHANGED
|
@@ -674,7 +674,8 @@ function createModal(_Class, props = {}, target = document.body) {
|
|
|
674
674
|
wrap.parentNode.removeChild(wrap);
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
|
|
677
|
+
const isDomEvent = typeof Event !== "undefined" && err instanceof Event;
|
|
678
|
+
if (err && !isDomEvent) {
|
|
678
679
|
defer.reject(err);
|
|
679
680
|
} else {
|
|
680
681
|
defer.resolve(result);
|
|
@@ -1755,7 +1756,7 @@ function create_each_block$a(key_1, ctx) {
|
|
|
1755
1756
|
}
|
|
1756
1757
|
};
|
|
1757
1758
|
}
|
|
1758
|
-
function create_if_block_1$
|
|
1759
|
+
function create_if_block_1$o(ctx) {
|
|
1759
1760
|
let a;
|
|
1760
1761
|
let t0;
|
|
1761
1762
|
let t1_value = (
|
|
@@ -1766,7 +1767,7 @@ function create_if_block_1$p(ctx) {
|
|
|
1766
1767
|
let a_href_value;
|
|
1767
1768
|
let if_block = (
|
|
1768
1769
|
/*tip*/
|
|
1769
|
-
ctx[2].img && create_if_block_2$
|
|
1770
|
+
ctx[2].img && create_if_block_2$j(ctx)
|
|
1770
1771
|
);
|
|
1771
1772
|
return {
|
|
1772
1773
|
c() {
|
|
@@ -1793,7 +1794,7 @@ function create_if_block_1$p(ctx) {
|
|
|
1793
1794
|
if (if_block) {
|
|
1794
1795
|
if_block.p(ctx2, dirty);
|
|
1795
1796
|
} else {
|
|
1796
|
-
if_block = create_if_block_2$
|
|
1797
|
+
if_block = create_if_block_2$j(ctx2);
|
|
1797
1798
|
if_block.c();
|
|
1798
1799
|
if_block.m(a, t0);
|
|
1799
1800
|
}
|
|
@@ -1818,7 +1819,7 @@ function create_if_block_1$p(ctx) {
|
|
|
1818
1819
|
}
|
|
1819
1820
|
};
|
|
1820
1821
|
}
|
|
1821
|
-
function create_if_block_2$
|
|
1822
|
+
function create_if_block_2$j(ctx) {
|
|
1822
1823
|
let img;
|
|
1823
1824
|
let img_src_value;
|
|
1824
1825
|
return {
|
|
@@ -1902,7 +1903,7 @@ function create_fragment$r(ctx) {
|
|
|
1902
1903
|
ctx[2] && /*tip*/
|
|
1903
1904
|
ctx[2].text && /*tip*/
|
|
1904
1905
|
ctx[2].link && /*tip*/
|
|
1905
|
-
ctx[2].kind !== "hidden" && create_if_block_1$
|
|
1906
|
+
ctx[2].kind !== "hidden" && create_if_block_1$o(ctx)
|
|
1906
1907
|
);
|
|
1907
1908
|
let if_block1 = (
|
|
1908
1909
|
/*showNobility*/
|
|
@@ -1957,7 +1958,7 @@ function create_fragment$r(ctx) {
|
|
|
1957
1958
|
if (if_block0) {
|
|
1958
1959
|
if_block0.p(ctx2, dirty);
|
|
1959
1960
|
} else {
|
|
1960
|
-
if_block0 = create_if_block_1$
|
|
1961
|
+
if_block0 = create_if_block_1$o(ctx2);
|
|
1961
1962
|
if_block0.c();
|
|
1962
1963
|
if_block0.m(div1, t1);
|
|
1963
1964
|
}
|
|
@@ -2325,7 +2326,7 @@ function create_if_block_3$e(ctx) {
|
|
|
2325
2326
|
}
|
|
2326
2327
|
};
|
|
2327
2328
|
}
|
|
2328
|
-
function create_if_block_2$
|
|
2329
|
+
function create_if_block_2$i(ctx) {
|
|
2329
2330
|
let div;
|
|
2330
2331
|
let mounted;
|
|
2331
2332
|
let dispose;
|
|
@@ -2405,7 +2406,7 @@ function create_each_block$9(key_1, ctx) {
|
|
|
2405
2406
|
/*giftItem*/
|
|
2406
2407
|
ctx[10].unitText2 && create_if_block_3$e(ctx)
|
|
2407
2408
|
);
|
|
2408
|
-
let if_block3 = show_if && create_if_block_2$
|
|
2409
|
+
let if_block3 = show_if && create_if_block_2$i(ctx);
|
|
2409
2410
|
function click_handler_12() {
|
|
2410
2411
|
return (
|
|
2411
2412
|
/*click_handler_1*/
|
|
@@ -2554,7 +2555,7 @@ function create_each_block$9(key_1, ctx) {
|
|
|
2554
2555
|
if (if_block3) {
|
|
2555
2556
|
if_block3.p(ctx, dirty);
|
|
2556
2557
|
} else {
|
|
2557
|
-
if_block3 = create_if_block_2$
|
|
2558
|
+
if_block3 = create_if_block_2$i(ctx);
|
|
2558
2559
|
if_block3.c();
|
|
2559
2560
|
if_block3.m(div2, null);
|
|
2560
2561
|
}
|
|
@@ -2599,7 +2600,7 @@ function create_if_block$p(ctx) {
|
|
|
2599
2600
|
if (
|
|
2600
2601
|
/*emptyImg*/
|
|
2601
2602
|
ctx2[2]
|
|
2602
|
-
) return create_if_block_1$
|
|
2603
|
+
) return create_if_block_1$n;
|
|
2603
2604
|
return create_else_block$e;
|
|
2604
2605
|
}
|
|
2605
2606
|
let current_block_type = select_block_type(ctx);
|
|
@@ -2652,7 +2653,7 @@ function create_else_block$e(ctx) {
|
|
|
2652
2653
|
}
|
|
2653
2654
|
};
|
|
2654
2655
|
}
|
|
2655
|
-
function create_if_block_1$
|
|
2656
|
+
function create_if_block_1$n(ctx) {
|
|
2656
2657
|
let img;
|
|
2657
2658
|
let img_src_value;
|
|
2658
2659
|
return {
|
|
@@ -2821,7 +2822,7 @@ class GiftGrid extends SvelteComponent {
|
|
|
2821
2822
|
});
|
|
2822
2823
|
}
|
|
2823
2824
|
}
|
|
2824
|
-
function create_if_block_1$
|
|
2825
|
+
function create_if_block_1$m(ctx) {
|
|
2825
2826
|
let p;
|
|
2826
2827
|
let t0;
|
|
2827
2828
|
let span;
|
|
@@ -2908,7 +2909,7 @@ function create_fragment$p(ctx) {
|
|
|
2908
2909
|
let t3;
|
|
2909
2910
|
let if_block0 = (
|
|
2910
2911
|
/*showCrystal*/
|
|
2911
|
-
ctx[1] && create_if_block_1$
|
|
2912
|
+
ctx[1] && create_if_block_1$m(ctx)
|
|
2912
2913
|
);
|
|
2913
2914
|
let if_block1 = (
|
|
2914
2915
|
/*showCoin*/
|
|
@@ -2958,7 +2959,7 @@ function create_fragment$p(ctx) {
|
|
|
2958
2959
|
if (if_block0) {
|
|
2959
2960
|
if_block0.p(ctx2, dirty);
|
|
2960
2961
|
} else {
|
|
2961
|
-
if_block0 = create_if_block_1$
|
|
2962
|
+
if_block0 = create_if_block_1$m(ctx2);
|
|
2962
2963
|
if_block0.c();
|
|
2963
2964
|
if_block0.m(div0, null);
|
|
2964
2965
|
}
|
|
@@ -3609,7 +3610,7 @@ function create_each_block$8(ctx) {
|
|
|
3609
3610
|
}
|
|
3610
3611
|
};
|
|
3611
3612
|
}
|
|
3612
|
-
function create_if_block_2$
|
|
3613
|
+
function create_if_block_2$h(ctx) {
|
|
3613
3614
|
let div;
|
|
3614
3615
|
let t_value = (
|
|
3615
3616
|
/*ui*/
|
|
@@ -3650,7 +3651,7 @@ function create_if_block_2$i(ctx) {
|
|
|
3650
3651
|
}
|
|
3651
3652
|
};
|
|
3652
3653
|
}
|
|
3653
|
-
function create_if_block_1$
|
|
3654
|
+
function create_if_block_1$l(ctx) {
|
|
3654
3655
|
let div;
|
|
3655
3656
|
let mounted;
|
|
3656
3657
|
let dispose;
|
|
@@ -3768,11 +3769,11 @@ function create_fragment$o(ctx) {
|
|
|
3768
3769
|
let if_block2 = current_block_type && current_block_type(ctx);
|
|
3769
3770
|
let if_block3 = (
|
|
3770
3771
|
/*buttons*/
|
|
3771
|
-
ctx[11].send && create_if_block_2$
|
|
3772
|
+
ctx[11].send && create_if_block_2$h(ctx)
|
|
3772
3773
|
);
|
|
3773
3774
|
let if_block4 = (
|
|
3774
3775
|
/*buttons*/
|
|
3775
|
-
ctx[11].open && create_if_block_1$
|
|
3776
|
+
ctx[11].open && create_if_block_1$l(ctx)
|
|
3776
3777
|
);
|
|
3777
3778
|
let if_block5 = (
|
|
3778
3779
|
/*buttons*/
|
|
@@ -3927,7 +3928,7 @@ function create_fragment$o(ctx) {
|
|
|
3927
3928
|
if (if_block3) {
|
|
3928
3929
|
if_block3.p(ctx2, dirty);
|
|
3929
3930
|
} else {
|
|
3930
|
-
if_block3 = create_if_block_2$
|
|
3931
|
+
if_block3 = create_if_block_2$h(ctx2);
|
|
3931
3932
|
if_block3.c();
|
|
3932
3933
|
if_block3.m(div1, t6);
|
|
3933
3934
|
}
|
|
@@ -3942,7 +3943,7 @@ function create_fragment$o(ctx) {
|
|
|
3942
3943
|
if (if_block4) {
|
|
3943
3944
|
if_block4.p(ctx2, dirty);
|
|
3944
3945
|
} else {
|
|
3945
|
-
if_block4 = create_if_block_1$
|
|
3946
|
+
if_block4 = create_if_block_1$l(ctx2);
|
|
3946
3947
|
if_block4.c();
|
|
3947
3948
|
if_block4.m(div1, t7);
|
|
3948
3949
|
}
|
|
@@ -4292,7 +4293,7 @@ function create_if_block_3$c(ctx) {
|
|
|
4292
4293
|
}
|
|
4293
4294
|
};
|
|
4294
4295
|
}
|
|
4295
|
-
function create_if_block_2$
|
|
4296
|
+
function create_if_block_2$g(ctx) {
|
|
4296
4297
|
let html_tag;
|
|
4297
4298
|
let raw_value = (
|
|
4298
4299
|
/*view*/
|
|
@@ -4334,7 +4335,7 @@ function create_if_block$m(ctx) {
|
|
|
4334
4335
|
let if_block_anchor;
|
|
4335
4336
|
let if_block = (
|
|
4336
4337
|
/*roseUrl*/
|
|
4337
|
-
ctx[0] && create_if_block_1$
|
|
4338
|
+
ctx[0] && create_if_block_1$k(ctx)
|
|
4338
4339
|
);
|
|
4339
4340
|
return {
|
|
4340
4341
|
c() {
|
|
@@ -4364,7 +4365,7 @@ function create_if_block$m(ctx) {
|
|
|
4364
4365
|
if (if_block) {
|
|
4365
4366
|
if_block.p(ctx2, dirty);
|
|
4366
4367
|
} else {
|
|
4367
|
-
if_block = create_if_block_1$
|
|
4368
|
+
if_block = create_if_block_1$k(ctx2);
|
|
4368
4369
|
if_block.c();
|
|
4369
4370
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
4370
4371
|
}
|
|
@@ -4438,7 +4439,7 @@ function create_if_block_4$7(ctx) {
|
|
|
4438
4439
|
}
|
|
4439
4440
|
};
|
|
4440
4441
|
}
|
|
4441
|
-
function create_if_block_1$
|
|
4442
|
+
function create_if_block_1$k(ctx) {
|
|
4442
4443
|
let img;
|
|
4443
4444
|
let img_src_value;
|
|
4444
4445
|
return {
|
|
@@ -4477,7 +4478,7 @@ function create_fragment$n(ctx) {
|
|
|
4477
4478
|
/*view*/
|
|
4478
4479
|
ctx2[1] && /*view*/
|
|
4479
4480
|
ctx2[1].mode === "leading"
|
|
4480
|
-
) return create_if_block_2$
|
|
4481
|
+
) return create_if_block_2$g;
|
|
4481
4482
|
if (
|
|
4482
4483
|
/*view*/
|
|
4483
4484
|
ctx2[1] && /*view*/
|
|
@@ -5117,7 +5118,7 @@ function create_if_block$l(ctx) {
|
|
|
5117
5118
|
}
|
|
5118
5119
|
};
|
|
5119
5120
|
}
|
|
5120
|
-
function create_if_block_2$
|
|
5121
|
+
function create_if_block_2$f(ctx) {
|
|
5121
5122
|
let div;
|
|
5122
5123
|
return {
|
|
5123
5124
|
c() {
|
|
@@ -5135,7 +5136,7 @@ function create_if_block_2$g(ctx) {
|
|
|
5135
5136
|
}
|
|
5136
5137
|
};
|
|
5137
5138
|
}
|
|
5138
|
-
function create_if_block_1$
|
|
5139
|
+
function create_if_block_1$j(ctx) {
|
|
5139
5140
|
let div;
|
|
5140
5141
|
return {
|
|
5141
5142
|
c() {
|
|
@@ -5174,11 +5175,11 @@ function create_each_block$7(ctx) {
|
|
|
5174
5175
|
if (
|
|
5175
5176
|
/*item*/
|
|
5176
5177
|
ctx2[16].typeid == 1
|
|
5177
|
-
) return create_if_block_1$
|
|
5178
|
+
) return create_if_block_1$j;
|
|
5178
5179
|
if (
|
|
5179
5180
|
/*item*/
|
|
5180
5181
|
ctx2[16].typeid == 2
|
|
5181
|
-
) return create_if_block_2$
|
|
5182
|
+
) return create_if_block_2$f;
|
|
5182
5183
|
}
|
|
5183
5184
|
let current_block_type = select_block_type_1(ctx);
|
|
5184
5185
|
let if_block = current_block_type && current_block_type(ctx);
|
|
@@ -5543,7 +5544,7 @@ async function showPardonCard({ gift, tabId }) {
|
|
|
5543
5544
|
opening = false;
|
|
5544
5545
|
}
|
|
5545
5546
|
}
|
|
5546
|
-
function create_if_block_1$
|
|
5547
|
+
function create_if_block_1$i(ctx) {
|
|
5547
5548
|
let div;
|
|
5548
5549
|
let t;
|
|
5549
5550
|
return {
|
|
@@ -5659,7 +5660,7 @@ function create_fragment$k(ctx) {
|
|
|
5659
5660
|
let dispose;
|
|
5660
5661
|
let if_block0 = (
|
|
5661
5662
|
/*title*/
|
|
5662
|
-
ctx[0] && create_if_block_1$
|
|
5663
|
+
ctx[0] && create_if_block_1$i(ctx)
|
|
5663
5664
|
);
|
|
5664
5665
|
let if_block1 = (
|
|
5665
5666
|
/*checkboxText*/
|
|
@@ -5745,7 +5746,7 @@ function create_fragment$k(ctx) {
|
|
|
5745
5746
|
if (if_block0) {
|
|
5746
5747
|
if_block0.p(ctx2, dirty);
|
|
5747
5748
|
} else {
|
|
5748
|
-
if_block0 = create_if_block_1$
|
|
5749
|
+
if_block0 = create_if_block_1$i(ctx2);
|
|
5749
5750
|
if_block0.c();
|
|
5750
5751
|
if_block0.m(div2, t0);
|
|
5751
5752
|
}
|
|
@@ -6422,7 +6423,7 @@ function stripCidAddScene(query) {
|
|
|
6422
6423
|
function findDataByType(type, initImgData = []) {
|
|
6423
6424
|
return (initImgData || []).find((item) => item.type === type);
|
|
6424
6425
|
}
|
|
6425
|
-
function create_if_block_1$
|
|
6426
|
+
function create_if_block_1$h(ctx) {
|
|
6426
6427
|
let div;
|
|
6427
6428
|
return {
|
|
6428
6429
|
c() {
|
|
@@ -6521,7 +6522,7 @@ function create_fragment$j(ctx) {
|
|
|
6521
6522
|
let div2_class_value;
|
|
6522
6523
|
let if_block0 = (
|
|
6523
6524
|
/*costly*/
|
|
6524
|
-
ctx[2] && create_if_block_1$
|
|
6525
|
+
ctx[2] && create_if_block_1$h()
|
|
6525
6526
|
);
|
|
6526
6527
|
let if_block1 = (
|
|
6527
6528
|
/*isBigger*/
|
|
@@ -6590,7 +6591,7 @@ function create_fragment$j(ctx) {
|
|
|
6590
6591
|
) {
|
|
6591
6592
|
if (if_block0) ;
|
|
6592
6593
|
else {
|
|
6593
|
-
if_block0 = create_if_block_1$
|
|
6594
|
+
if_block0 = create_if_block_1$h();
|
|
6594
6595
|
if_block0.c();
|
|
6595
6596
|
if_block0.m(div1, t0);
|
|
6596
6597
|
}
|
|
@@ -6781,7 +6782,7 @@ function create_else_block_2$1(ctx) {
|
|
|
6781
6782
|
}
|
|
6782
6783
|
};
|
|
6783
6784
|
}
|
|
6784
|
-
function create_if_block_2$
|
|
6785
|
+
function create_if_block_2$e(ctx) {
|
|
6785
6786
|
let img;
|
|
6786
6787
|
let img_src_value;
|
|
6787
6788
|
return {
|
|
@@ -7110,7 +7111,7 @@ function create_else_block_1$3(ctx) {
|
|
|
7110
7111
|
}
|
|
7111
7112
|
};
|
|
7112
7113
|
}
|
|
7113
|
-
function create_if_block_1$
|
|
7114
|
+
function create_if_block_1$g(ctx) {
|
|
7114
7115
|
let div4;
|
|
7115
7116
|
let div3;
|
|
7116
7117
|
let div0;
|
|
@@ -7398,7 +7399,7 @@ function create_fragment$i(ctx) {
|
|
|
7398
7399
|
if (
|
|
7399
7400
|
/*radioIsSelected*/
|
|
7400
7401
|
ctx2[9]
|
|
7401
|
-
) return create_if_block_2$
|
|
7402
|
+
) return create_if_block_2$e;
|
|
7402
7403
|
return create_else_block_2$1;
|
|
7403
7404
|
}
|
|
7404
7405
|
let current_block_type = select_block_type(ctx);
|
|
@@ -7418,7 +7419,7 @@ function create_fragment$i(ctx) {
|
|
|
7418
7419
|
if (
|
|
7419
7420
|
/*radioIsSelected*/
|
|
7420
7421
|
ctx2[9]
|
|
7421
|
-
) return create_if_block_1$
|
|
7422
|
+
) return create_if_block_1$g;
|
|
7422
7423
|
return create_else_block_1$3;
|
|
7423
7424
|
}
|
|
7424
7425
|
let current_block_type_1 = select_block_type_1(ctx);
|
|
@@ -8751,7 +8752,7 @@ function create_else_block_1$2(ctx) {
|
|
|
8751
8752
|
}
|
|
8752
8753
|
};
|
|
8753
8754
|
}
|
|
8754
|
-
function create_if_block_2$
|
|
8755
|
+
function create_if_block_2$d(ctx) {
|
|
8755
8756
|
let div4;
|
|
8756
8757
|
let div3;
|
|
8757
8758
|
let div0;
|
|
@@ -8956,7 +8957,7 @@ function create_else_block$b(ctx) {
|
|
|
8956
8957
|
}
|
|
8957
8958
|
};
|
|
8958
8959
|
}
|
|
8959
|
-
function create_if_block_1$
|
|
8960
|
+
function create_if_block_1$f(ctx) {
|
|
8960
8961
|
let img;
|
|
8961
8962
|
let img_src_value;
|
|
8962
8963
|
return {
|
|
@@ -9128,7 +9129,7 @@ function create_fragment$g(ctx) {
|
|
|
9128
9129
|
if (
|
|
9129
9130
|
/*radioIsSelected*/
|
|
9130
9131
|
ctx2[5]
|
|
9131
|
-
) return create_if_block_2$
|
|
9132
|
+
) return create_if_block_2$d;
|
|
9132
9133
|
return create_else_block_1$2;
|
|
9133
9134
|
}
|
|
9134
9135
|
let current_block_type_1 = select_block_type_1(ctx);
|
|
@@ -9137,7 +9138,7 @@ function create_fragment$g(ctx) {
|
|
|
9137
9138
|
if (
|
|
9138
9139
|
/*isIgnore*/
|
|
9139
9140
|
ctx2[1]
|
|
9140
|
-
) return create_if_block_1$
|
|
9141
|
+
) return create_if_block_1$f;
|
|
9141
9142
|
return create_else_block$b;
|
|
9142
9143
|
}
|
|
9143
9144
|
let current_block_type_2 = select_block_type_2(ctx);
|
|
@@ -9842,7 +9843,7 @@ class OpenBox extends SvelteComponent {
|
|
|
9842
9843
|
);
|
|
9843
9844
|
}
|
|
9844
9845
|
}
|
|
9845
|
-
function create_if_block_1$
|
|
9846
|
+
function create_if_block_1$e(ctx) {
|
|
9846
9847
|
let history;
|
|
9847
9848
|
let updating_onClose;
|
|
9848
9849
|
let current;
|
|
@@ -10090,7 +10091,7 @@ function create_fragment$f(ctx) {
|
|
|
10090
10091
|
});
|
|
10091
10092
|
let if_block0 = (
|
|
10092
10093
|
/*isShowHistory*/
|
|
10093
|
-
ctx[9] && create_if_block_1$
|
|
10094
|
+
ctx[9] && create_if_block_1$e(ctx)
|
|
10094
10095
|
);
|
|
10095
10096
|
let if_block1 = (
|
|
10096
10097
|
/*isShowResult*/
|
|
@@ -10264,7 +10265,7 @@ function create_fragment$f(ctx) {
|
|
|
10264
10265
|
transition_in(if_block0, 1);
|
|
10265
10266
|
}
|
|
10266
10267
|
} else {
|
|
10267
|
-
if_block0 = create_if_block_1$
|
|
10268
|
+
if_block0 = create_if_block_1$e(ctx2);
|
|
10268
10269
|
if_block0.c();
|
|
10269
10270
|
transition_in(if_block0, 1);
|
|
10270
10271
|
if_block0.m(div5, t5);
|
|
@@ -10620,13 +10621,13 @@ function create_if_block_4$5(ctx) {
|
|
|
10620
10621
|
}
|
|
10621
10622
|
};
|
|
10622
10623
|
}
|
|
10623
|
-
function create_if_block_1$
|
|
10624
|
+
function create_if_block_1$d(ctx) {
|
|
10624
10625
|
let if_block_anchor;
|
|
10625
10626
|
function select_block_type(ctx2, dirty) {
|
|
10626
10627
|
if (
|
|
10627
10628
|
/*open_val*/
|
|
10628
10629
|
ctx2[8]
|
|
10629
|
-
) return create_if_block_2$
|
|
10630
|
+
) return create_if_block_2$c;
|
|
10630
10631
|
return create_else_block$a;
|
|
10631
10632
|
}
|
|
10632
10633
|
let current_block_type = select_block_type(ctx);
|
|
@@ -10712,7 +10713,7 @@ function create_else_block$a(ctx) {
|
|
|
10712
10713
|
}
|
|
10713
10714
|
};
|
|
10714
10715
|
}
|
|
10715
|
-
function create_if_block_2$
|
|
10716
|
+
function create_if_block_2$c(ctx) {
|
|
10716
10717
|
let div;
|
|
10717
10718
|
return {
|
|
10718
10719
|
c() {
|
|
@@ -10782,7 +10783,7 @@ function create_fragment$e(ctx) {
|
|
|
10782
10783
|
let if_block1 = show_if && create_if_block_3$9(ctx);
|
|
10783
10784
|
let if_block2 = (
|
|
10784
10785
|
/*isBigger*/
|
|
10785
|
-
ctx[4] && create_if_block_1$
|
|
10786
|
+
ctx[4] && create_if_block_1$d(ctx)
|
|
10786
10787
|
);
|
|
10787
10788
|
let if_block3 = (
|
|
10788
10789
|
/*hit*/
|
|
@@ -10896,7 +10897,7 @@ function create_fragment$e(ctx) {
|
|
|
10896
10897
|
if (if_block2) {
|
|
10897
10898
|
if_block2.p(ctx2, dirty);
|
|
10898
10899
|
} else {
|
|
10899
|
-
if_block2 = create_if_block_1$
|
|
10900
|
+
if_block2 = create_if_block_1$d(ctx2);
|
|
10900
10901
|
if_block2.c();
|
|
10901
10902
|
if_block2.m(div1, t6);
|
|
10902
10903
|
}
|
|
@@ -11063,6 +11064,10 @@ function create_if_block_7(ctx) {
|
|
|
11063
11064
|
let img_src_value;
|
|
11064
11065
|
let t0;
|
|
11065
11066
|
let span;
|
|
11067
|
+
let t1_value = (Number(
|
|
11068
|
+
/*hitTimes*/
|
|
11069
|
+
ctx[8]
|
|
11070
|
+
) || 0) + "";
|
|
11066
11071
|
let t1;
|
|
11067
11072
|
let t2;
|
|
11068
11073
|
return {
|
|
@@ -11071,10 +11076,7 @@ function create_if_block_7(ctx) {
|
|
|
11071
11076
|
img = element("img");
|
|
11072
11077
|
t0 = space();
|
|
11073
11078
|
span = element("span");
|
|
11074
|
-
t1 = text(
|
|
11075
|
-
/*hitTimes*/
|
|
11076
|
-
ctx[8]
|
|
11077
|
-
);
|
|
11079
|
+
t1 = text(t1_value);
|
|
11078
11080
|
t2 = text("次");
|
|
11079
11081
|
attr(img, "class", "imgIcon svelte-1ajc4sn");
|
|
11080
11082
|
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);
|
|
@@ -11092,11 +11094,10 @@ function create_if_block_7(ctx) {
|
|
|
11092
11094
|
},
|
|
11093
11095
|
p(ctx2, dirty) {
|
|
11094
11096
|
if (dirty[0] & /*hitTimes*/
|
|
11095
|
-
256
|
|
11096
|
-
t1,
|
|
11097
|
+
256 && t1_value !== (t1_value = (Number(
|
|
11097
11098
|
/*hitTimes*/
|
|
11098
11099
|
ctx2[8]
|
|
11099
|
-
);
|
|
11100
|
+
) || 0) + "")) set_data(t1, t1_value);
|
|
11100
11101
|
},
|
|
11101
11102
|
d(detaching) {
|
|
11102
11103
|
if (detaching) {
|
|
@@ -11378,11 +11379,11 @@ function create_if_block$d(ctx) {
|
|
|
11378
11379
|
let dispose;
|
|
11379
11380
|
let if_block0 = (
|
|
11380
11381
|
/*showCrit*/
|
|
11381
|
-
ctx[13] && create_if_block_2$
|
|
11382
|
+
ctx[13] && create_if_block_2$b()
|
|
11382
11383
|
);
|
|
11383
11384
|
let if_block1 = (
|
|
11384
11385
|
/*goldRemark*/
|
|
11385
|
-
ctx[14] && create_if_block_1$
|
|
11386
|
+
ctx[14] && create_if_block_1$c(ctx)
|
|
11386
11387
|
);
|
|
11387
11388
|
return {
|
|
11388
11389
|
c() {
|
|
@@ -11478,7 +11479,7 @@ function create_if_block$d(ctx) {
|
|
|
11478
11479
|
if (if_block0) {
|
|
11479
11480
|
if_block0.p(ctx2, dirty);
|
|
11480
11481
|
} else {
|
|
11481
|
-
if_block0 = create_if_block_2$
|
|
11482
|
+
if_block0 = create_if_block_2$b();
|
|
11482
11483
|
if_block0.c();
|
|
11483
11484
|
if_block0.m(div1, null);
|
|
11484
11485
|
}
|
|
@@ -11493,7 +11494,7 @@ function create_if_block$d(ctx) {
|
|
|
11493
11494
|
if (if_block1) {
|
|
11494
11495
|
if_block1.p(ctx2, dirty);
|
|
11495
11496
|
} else {
|
|
11496
|
-
if_block1 = create_if_block_1$
|
|
11497
|
+
if_block1 = create_if_block_1$c(ctx2);
|
|
11497
11498
|
if_block1.c();
|
|
11498
11499
|
if_block1.m(div4, t6);
|
|
11499
11500
|
}
|
|
@@ -11816,7 +11817,7 @@ function create_if_block_3$8(ctx) {
|
|
|
11816
11817
|
}
|
|
11817
11818
|
};
|
|
11818
11819
|
}
|
|
11819
|
-
function create_if_block_2$
|
|
11820
|
+
function create_if_block_2$b(ctx) {
|
|
11820
11821
|
let img;
|
|
11821
11822
|
let img_src_value;
|
|
11822
11823
|
return {
|
|
@@ -11837,7 +11838,7 @@ function create_if_block_2$c(ctx) {
|
|
|
11837
11838
|
}
|
|
11838
11839
|
};
|
|
11839
11840
|
}
|
|
11840
|
-
function create_if_block_1$
|
|
11841
|
+
function create_if_block_1$c(ctx) {
|
|
11841
11842
|
let div;
|
|
11842
11843
|
let span;
|
|
11843
11844
|
let t;
|
|
@@ -11892,10 +11893,13 @@ function create_fragment$d(ctx) {
|
|
|
11892
11893
|
let t5;
|
|
11893
11894
|
let t6;
|
|
11894
11895
|
let t7;
|
|
11895
|
-
let show_if =
|
|
11896
|
-
/*
|
|
11897
|
-
ctx[
|
|
11898
|
-
|
|
11896
|
+
let show_if = (
|
|
11897
|
+
/*mode*/
|
|
11898
|
+
ctx[2] == RESULT_VIEW_TYPE$1.GOLD_TYPE || Number(
|
|
11899
|
+
/*hitTimes*/
|
|
11900
|
+
ctx[8]
|
|
11901
|
+
) > 0
|
|
11902
|
+
);
|
|
11899
11903
|
let t8;
|
|
11900
11904
|
let div5;
|
|
11901
11905
|
let div4;
|
|
@@ -12051,8 +12055,9 @@ function create_fragment$d(ctx) {
|
|
|
12051
12055
|
if_block0.d(1);
|
|
12052
12056
|
if_block0 = null;
|
|
12053
12057
|
}
|
|
12054
|
-
if (dirty[0] & /*hitTimes*/
|
|
12055
|
-
|
|
12058
|
+
if (dirty[0] & /*mode, hitTimes*/
|
|
12059
|
+
260) show_if = /*mode*/
|
|
12060
|
+
ctx2[2] == RESULT_VIEW_TYPE$1.GOLD_TYPE || Number(
|
|
12056
12061
|
/*hitTimes*/
|
|
12057
12062
|
ctx2[8]
|
|
12058
12063
|
) > 0;
|
|
@@ -12639,7 +12644,7 @@ function create_else_block$8(ctx) {
|
|
|
12639
12644
|
}
|
|
12640
12645
|
};
|
|
12641
12646
|
}
|
|
12642
|
-
function create_if_block_1$
|
|
12647
|
+
function create_if_block_1$b(ctx) {
|
|
12643
12648
|
let div4;
|
|
12644
12649
|
let div3;
|
|
12645
12650
|
let div1;
|
|
@@ -12653,7 +12658,7 @@ function create_if_block_1$c(ctx) {
|
|
|
12653
12658
|
let if_block = (
|
|
12654
12659
|
/*times*/
|
|
12655
12660
|
ctx[8] && /*unit_price*/
|
|
12656
|
-
ctx[7] && create_if_block_2$
|
|
12661
|
+
ctx[7] && create_if_block_2$a(ctx)
|
|
12657
12662
|
);
|
|
12658
12663
|
return {
|
|
12659
12664
|
c() {
|
|
@@ -12734,7 +12739,7 @@ function create_if_block_1$c(ctx) {
|
|
|
12734
12739
|
if (if_block) {
|
|
12735
12740
|
if_block.p(ctx2, dirty);
|
|
12736
12741
|
} else {
|
|
12737
|
-
if_block = create_if_block_2$
|
|
12742
|
+
if_block = create_if_block_2$a(ctx2);
|
|
12738
12743
|
if_block.c();
|
|
12739
12744
|
if_block.m(div0, null);
|
|
12740
12745
|
}
|
|
@@ -12774,7 +12779,7 @@ function create_if_block_3$7(ctx) {
|
|
|
12774
12779
|
}
|
|
12775
12780
|
};
|
|
12776
12781
|
}
|
|
12777
|
-
function create_if_block_2$
|
|
12782
|
+
function create_if_block_2$a(ctx) {
|
|
12778
12783
|
let span;
|
|
12779
12784
|
let t0_value = (
|
|
12780
12785
|
/*times*/
|
|
@@ -12903,7 +12908,7 @@ function create_fragment$c(ctx) {
|
|
|
12903
12908
|
if (
|
|
12904
12909
|
/*radioIsSelected*/
|
|
12905
12910
|
ctx2[9]
|
|
12906
|
-
) return create_if_block_1$
|
|
12911
|
+
) return create_if_block_1$b;
|
|
12907
12912
|
return create_else_block$8;
|
|
12908
12913
|
}
|
|
12909
12914
|
let current_block_type = select_block_type(ctx);
|
|
@@ -13436,7 +13441,7 @@ function get_each_context_1$1(ctx, list, i) {
|
|
|
13436
13441
|
child_ctx[13] = list[i];
|
|
13437
13442
|
return child_ctx;
|
|
13438
13443
|
}
|
|
13439
|
-
function create_if_block_1$
|
|
13444
|
+
function create_if_block_1$a(ctx) {
|
|
13440
13445
|
let div;
|
|
13441
13446
|
let each_value_1 = ensure_array_like(
|
|
13442
13447
|
/*expires*/
|
|
@@ -13670,7 +13675,7 @@ function create_fragment$b(ctx) {
|
|
|
13670
13675
|
let dispose;
|
|
13671
13676
|
let if_block0 = (
|
|
13672
13677
|
/*expires*/
|
|
13673
|
-
ctx[2].length && create_if_block_1$
|
|
13678
|
+
ctx[2].length && create_if_block_1$a(ctx)
|
|
13674
13679
|
);
|
|
13675
13680
|
let if_block1 = (
|
|
13676
13681
|
/*list*/
|
|
@@ -13752,7 +13757,7 @@ function create_fragment$b(ctx) {
|
|
|
13752
13757
|
if (if_block0) {
|
|
13753
13758
|
if_block0.p(ctx2, dirty);
|
|
13754
13759
|
} else {
|
|
13755
|
-
if_block0 = create_if_block_1$
|
|
13760
|
+
if_block0 = create_if_block_1$a(ctx2);
|
|
13756
13761
|
if_block0.c();
|
|
13757
13762
|
if_block0.m(div2, t1);
|
|
13758
13763
|
}
|
|
@@ -14049,7 +14054,7 @@ function create_else_block$7(ctx) {
|
|
|
14049
14054
|
}
|
|
14050
14055
|
};
|
|
14051
14056
|
}
|
|
14052
|
-
function create_if_block_1$
|
|
14057
|
+
function create_if_block_1$9(ctx) {
|
|
14053
14058
|
let div4;
|
|
14054
14059
|
let div3;
|
|
14055
14060
|
let div1;
|
|
@@ -14063,7 +14068,7 @@ function create_if_block_1$a(ctx) {
|
|
|
14063
14068
|
let if_block = (
|
|
14064
14069
|
/*times*/
|
|
14065
14070
|
ctx[4] && /*resData*/
|
|
14066
|
-
ctx[0] && create_if_block_2$
|
|
14071
|
+
ctx[0] && create_if_block_2$9(ctx)
|
|
14067
14072
|
);
|
|
14068
14073
|
return {
|
|
14069
14074
|
c() {
|
|
@@ -14145,7 +14150,7 @@ function create_if_block_1$a(ctx) {
|
|
|
14145
14150
|
if (if_block) {
|
|
14146
14151
|
if_block.p(ctx2, dirty);
|
|
14147
14152
|
} else {
|
|
14148
|
-
if_block = create_if_block_2$
|
|
14153
|
+
if_block = create_if_block_2$9(ctx2);
|
|
14149
14154
|
if_block.c();
|
|
14150
14155
|
if_block.m(div0, null);
|
|
14151
14156
|
}
|
|
@@ -14164,7 +14169,7 @@ function create_if_block_1$a(ctx) {
|
|
|
14164
14169
|
}
|
|
14165
14170
|
};
|
|
14166
14171
|
}
|
|
14167
|
-
function create_if_block_2$
|
|
14172
|
+
function create_if_block_2$9(ctx) {
|
|
14168
14173
|
let span;
|
|
14169
14174
|
let t0_value = (
|
|
14170
14175
|
/*times*/
|
|
@@ -14311,7 +14316,7 @@ function create_fragment$a(ctx) {
|
|
|
14311
14316
|
if (
|
|
14312
14317
|
/*radioIsSelected*/
|
|
14313
14318
|
ctx2[6]
|
|
14314
|
-
) return create_if_block_1$
|
|
14319
|
+
) return create_if_block_1$9;
|
|
14315
14320
|
return create_else_block$7;
|
|
14316
14321
|
}
|
|
14317
14322
|
let current_block_type = select_block_type(ctx);
|
|
@@ -14822,87 +14827,6 @@ class Magic extends SvelteComponent {
|
|
|
14822
14827
|
});
|
|
14823
14828
|
}
|
|
14824
14829
|
}
|
|
14825
|
-
function create_if_block_2$9(ctx) {
|
|
14826
|
-
let div;
|
|
14827
|
-
let img;
|
|
14828
|
-
let img_src_value;
|
|
14829
|
-
let t0;
|
|
14830
|
-
let span;
|
|
14831
|
-
let t1_value = (
|
|
14832
|
-
/*resData*/
|
|
14833
|
-
ctx[0].hit_times + ""
|
|
14834
|
-
);
|
|
14835
|
-
let t1;
|
|
14836
|
-
let t2;
|
|
14837
|
-
return {
|
|
14838
|
-
c() {
|
|
14839
|
-
div = element("div");
|
|
14840
|
-
img = element("img");
|
|
14841
|
-
t0 = space();
|
|
14842
|
-
span = element("span");
|
|
14843
|
-
t1 = text(t1_value);
|
|
14844
|
-
t2 = text("次");
|
|
14845
|
-
attr(img, "class", "imgIcon");
|
|
14846
|
-
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);
|
|
14847
|
-
attr(img, "alt", "");
|
|
14848
|
-
attr(span, "class", "wordCtn");
|
|
14849
|
-
attr(div, "class", "subCtn");
|
|
14850
|
-
},
|
|
14851
|
-
m(target, anchor) {
|
|
14852
|
-
insert(target, div, anchor);
|
|
14853
|
-
append(div, img);
|
|
14854
|
-
append(div, t0);
|
|
14855
|
-
append(div, span);
|
|
14856
|
-
append(span, t1);
|
|
14857
|
-
append(span, t2);
|
|
14858
|
-
},
|
|
14859
|
-
p(ctx2, dirty) {
|
|
14860
|
-
if (dirty & /*resData*/
|
|
14861
|
-
1 && t1_value !== (t1_value = /*resData*/
|
|
14862
|
-
ctx2[0].hit_times + "")) set_data(t1, t1_value);
|
|
14863
|
-
},
|
|
14864
|
-
d(detaching) {
|
|
14865
|
-
if (detaching) {
|
|
14866
|
-
detach(div);
|
|
14867
|
-
}
|
|
14868
|
-
}
|
|
14869
|
-
};
|
|
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
|
-
}
|
|
14906
14830
|
function create_if_block$9(ctx) {
|
|
14907
14831
|
let div1;
|
|
14908
14832
|
let div0;
|
|
@@ -14939,12 +14863,12 @@ function create_if_block$9(ctx) {
|
|
|
14939
14863
|
};
|
|
14940
14864
|
}
|
|
14941
14865
|
function create_fragment$9(ctx) {
|
|
14942
|
-
var _a
|
|
14943
|
-
let
|
|
14866
|
+
var _a;
|
|
14867
|
+
let div18;
|
|
14944
14868
|
let img0;
|
|
14945
14869
|
let img0_src_value;
|
|
14946
14870
|
let t0;
|
|
14947
|
-
let
|
|
14871
|
+
let div4;
|
|
14948
14872
|
let div0;
|
|
14949
14873
|
let img1;
|
|
14950
14874
|
let img1_src_value;
|
|
@@ -14988,44 +14912,49 @@ function create_fragment$9(ctx) {
|
|
|
14988
14912
|
let t8;
|
|
14989
14913
|
let t9;
|
|
14990
14914
|
let t10;
|
|
14991
|
-
let
|
|
14915
|
+
let div3;
|
|
14916
|
+
let img4;
|
|
14917
|
+
let img4_src_value;
|
|
14918
|
+
let t11;
|
|
14919
|
+
let span3;
|
|
14920
|
+
let t12_value = (Number(
|
|
14992
14921
|
/*resData*/
|
|
14993
14922
|
(_a = ctx[0]) == null ? void 0 : _a.hit_times
|
|
14994
|
-
)
|
|
14995
|
-
let t11;
|
|
14996
|
-
let div4;
|
|
14923
|
+
) || 0) + "";
|
|
14997
14924
|
let t12;
|
|
14998
|
-
let div5;
|
|
14999
14925
|
let t13;
|
|
15000
|
-
let
|
|
14926
|
+
let t14;
|
|
14927
|
+
let div5;
|
|
14928
|
+
let t15;
|
|
14929
|
+
let div6;
|
|
15001
14930
|
let t16;
|
|
15002
|
-
let div14;
|
|
15003
|
-
let show_if = Number(
|
|
15004
|
-
/*resData*/
|
|
15005
|
-
(_b = ctx[0]) == null ? void 0 : _b.gold_process
|
|
15006
|
-
) > 0;
|
|
15007
|
-
let t17;
|
|
15008
14931
|
let div10;
|
|
15009
|
-
let
|
|
15010
|
-
let
|
|
15011
|
-
let div11;
|
|
15012
|
-
let t22;
|
|
14932
|
+
let t19;
|
|
14933
|
+
let div17;
|
|
15013
14934
|
let div12;
|
|
15014
|
-
let
|
|
14935
|
+
let div11;
|
|
14936
|
+
let div11_style_value;
|
|
14937
|
+
let t20;
|
|
14938
|
+
let div13;
|
|
14939
|
+
let t21;
|
|
14940
|
+
let div16;
|
|
14941
|
+
let div14;
|
|
14942
|
+
let t25;
|
|
14943
|
+
let div15;
|
|
14944
|
+
let t26;
|
|
15015
14945
|
let mounted;
|
|
15016
14946
|
let dispose;
|
|
15017
|
-
let
|
|
15018
|
-
let if_block1 = show_if && create_if_block_1$9(ctx);
|
|
15019
|
-
let if_block2 = (
|
|
14947
|
+
let if_block = (
|
|
15020
14948
|
/*expiresText*/
|
|
15021
14949
|
ctx[3] && create_if_block$9(ctx)
|
|
15022
14950
|
);
|
|
15023
14951
|
return {
|
|
15024
14952
|
c() {
|
|
15025
|
-
|
|
14953
|
+
var _a2, _b;
|
|
14954
|
+
div18 = element("div");
|
|
15026
14955
|
img0 = element("img");
|
|
15027
14956
|
t0 = space();
|
|
15028
|
-
|
|
14957
|
+
div4 = element("div");
|
|
15029
14958
|
div0 = element("div");
|
|
15030
14959
|
img1 = element("img");
|
|
15031
14960
|
t1 = space();
|
|
@@ -15045,28 +14974,34 @@ function create_fragment$9(ctx) {
|
|
|
15045
14974
|
t8 = text(t8_value);
|
|
15046
14975
|
t9 = text("个");
|
|
15047
14976
|
t10 = space();
|
|
15048
|
-
|
|
14977
|
+
div3 = element("div");
|
|
14978
|
+
img4 = element("img");
|
|
15049
14979
|
t11 = space();
|
|
15050
|
-
|
|
15051
|
-
t12 =
|
|
14980
|
+
span3 = element("span");
|
|
14981
|
+
t12 = text(t12_value);
|
|
14982
|
+
t13 = text("次");
|
|
14983
|
+
t14 = space();
|
|
15052
14984
|
div5 = element("div");
|
|
15053
|
-
|
|
15054
|
-
|
|
15055
|
-
div9.innerHTML = `<div class="fireCtn"></div> <div class="mainImgCtn mainImgCtnGold"></div> <div class="mainSvgaCtn"></div>`;
|
|
14985
|
+
t15 = space();
|
|
14986
|
+
div6 = element("div");
|
|
15056
14987
|
t16 = space();
|
|
15057
|
-
div14 = element("div");
|
|
15058
|
-
if (if_block1) if_block1.c();
|
|
15059
|
-
t17 = space();
|
|
15060
14988
|
div10 = element("div");
|
|
15061
|
-
|
|
15062
|
-
|
|
14989
|
+
div10.innerHTML = `<div class="fireCtn"></div> <div class="mainImgCtn mainImgCtnGold"></div> <div class="mainSvgaCtn"></div>`;
|
|
14990
|
+
t19 = space();
|
|
14991
|
+
div17 = element("div");
|
|
14992
|
+
div12 = element("div");
|
|
15063
14993
|
div11 = element("div");
|
|
15064
|
-
|
|
14994
|
+
t20 = space();
|
|
14995
|
+
div13 = element("div");
|
|
14996
|
+
t21 = space();
|
|
14997
|
+
div16 = element("div");
|
|
14998
|
+
div14 = element("div");
|
|
14999
|
+
div14.innerHTML = `<span class="innerCtn"><img class="icon" src="https://asset.tuwan.com/goldMagic/magicIcon.png"/> <span class="numCtn">680</span></span>
|
|
15065
15000
|
开启魔法`;
|
|
15066
|
-
|
|
15067
|
-
|
|
15068
|
-
|
|
15069
|
-
if (
|
|
15001
|
+
t25 = space();
|
|
15002
|
+
div15 = element("div");
|
|
15003
|
+
t26 = space();
|
|
15004
|
+
if (if_block) if_block.c();
|
|
15070
15005
|
attr(img0, "class", "openGiftTitle");
|
|
15071
15006
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/goldMagic/goldTitle.png")) attr(img0, "src", img0_src_value);
|
|
15072
15007
|
attr(img1, "class", "imgIcon");
|
|
@@ -15081,75 +15016,91 @@ function create_fragment$9(ctx) {
|
|
|
15081
15016
|
if (!src_url_equal(img3.src, img3_src_value = "https://asset.tuwan.com/goldMagic/goldBook.png")) attr(img3, "src", img3_src_value);
|
|
15082
15017
|
attr(span2, "class", "wordCtn");
|
|
15083
15018
|
attr(div2, "class", "subCtn");
|
|
15084
|
-
attr(
|
|
15085
|
-
|
|
15086
|
-
attr(
|
|
15087
|
-
attr(
|
|
15088
|
-
attr(
|
|
15089
|
-
attr(
|
|
15090
|
-
attr(
|
|
15091
|
-
attr(
|
|
15092
|
-
attr(
|
|
15093
|
-
attr(
|
|
15094
|
-
attr(
|
|
15095
|
-
|
|
15019
|
+
attr(img4, "class", "imgIcon");
|
|
15020
|
+
if (!src_url_equal(img4.src, img4_src_value = "https://dynamics-share.tuwan.com/activity/0e24da0fd01719a934630a6652fa4b9d.png?x-oss-process=image/format,webp/ignore-error,1")) attr(img4, "src", img4_src_value);
|
|
15021
|
+
attr(img4, "alt", "");
|
|
15022
|
+
attr(span3, "class", "wordCtn");
|
|
15023
|
+
attr(div3, "class", "subCtn");
|
|
15024
|
+
attr(div4, "class", "leftTopCtn");
|
|
15025
|
+
attr(div5, "class", "fireSvgaCtn");
|
|
15026
|
+
attr(div6, "class", "result_vap_anim");
|
|
15027
|
+
attr(div10, "class", "mainShowerCtn");
|
|
15028
|
+
attr(div11, "class", "showBar");
|
|
15029
|
+
attr(div11, "style", div11_style_value = `width: ${/*resData*/
|
|
15030
|
+
(((_a2 = ctx[0]) == null ? void 0 : _a2.gold_process) || 0) / /*resData*/
|
|
15031
|
+
(((_b = ctx[0]) == null ? void 0 : _b.gold_total) || 1) * 100}%`);
|
|
15032
|
+
attr(div12, "class", "progressCtn");
|
|
15033
|
+
attr(div13, "class", "topTipsCtn");
|
|
15034
|
+
attr(div14, "class", "normalBtn");
|
|
15035
|
+
attr(div14, "id", "goldNormalBtn");
|
|
15036
|
+
attr(div15, "class", "firedButton");
|
|
15037
|
+
attr(div15, "id", "goldFiredBtn");
|
|
15038
|
+
attr(div16, "class", "buttonCtn");
|
|
15039
|
+
attr(div17, "class", "openGiftFooter");
|
|
15040
|
+
attr(div18, "class", "GoldCtn");
|
|
15096
15041
|
},
|
|
15097
15042
|
m(target, anchor) {
|
|
15098
|
-
insert(target,
|
|
15099
|
-
append(
|
|
15100
|
-
append(
|
|
15101
|
-
append(
|
|
15102
|
-
append(
|
|
15043
|
+
insert(target, div18, anchor);
|
|
15044
|
+
append(div18, img0);
|
|
15045
|
+
append(div18, t0);
|
|
15046
|
+
append(div18, div4);
|
|
15047
|
+
append(div4, div0);
|
|
15103
15048
|
append(div0, img1);
|
|
15104
15049
|
append(div0, t1);
|
|
15105
15050
|
append(div0, span0);
|
|
15106
15051
|
append(span0, t2);
|
|
15107
|
-
append(
|
|
15108
|
-
append(
|
|
15052
|
+
append(div4, t3);
|
|
15053
|
+
append(div4, div1);
|
|
15109
15054
|
append(div1, img2);
|
|
15110
15055
|
append(div1, t4);
|
|
15111
15056
|
append(div1, span1);
|
|
15112
15057
|
append(span1, t5);
|
|
15113
|
-
append(
|
|
15114
|
-
append(
|
|
15058
|
+
append(div4, t6);
|
|
15059
|
+
append(div4, div2);
|
|
15115
15060
|
append(div2, img3);
|
|
15116
15061
|
append(div2, t7);
|
|
15117
15062
|
append(div2, span2);
|
|
15118
15063
|
append(span2, t8);
|
|
15119
15064
|
append(span2, t9);
|
|
15120
|
-
append(
|
|
15121
|
-
|
|
15122
|
-
append(
|
|
15123
|
-
append(
|
|
15124
|
-
append(
|
|
15125
|
-
append(
|
|
15126
|
-
|
|
15127
|
-
append(
|
|
15128
|
-
append(
|
|
15129
|
-
append(
|
|
15130
|
-
append(
|
|
15131
|
-
|
|
15132
|
-
append(
|
|
15133
|
-
append(
|
|
15134
|
-
|
|
15065
|
+
append(div4, t10);
|
|
15066
|
+
append(div4, div3);
|
|
15067
|
+
append(div3, img4);
|
|
15068
|
+
append(div3, t11);
|
|
15069
|
+
append(div3, span3);
|
|
15070
|
+
append(span3, t12);
|
|
15071
|
+
append(span3, t13);
|
|
15072
|
+
append(div18, t14);
|
|
15073
|
+
append(div18, div5);
|
|
15074
|
+
append(div18, t15);
|
|
15075
|
+
append(div18, div6);
|
|
15076
|
+
ctx[8](div6);
|
|
15077
|
+
append(div18, t16);
|
|
15078
|
+
append(div18, div10);
|
|
15079
|
+
append(div18, t19);
|
|
15080
|
+
append(div18, div17);
|
|
15081
|
+
append(div17, div12);
|
|
15082
|
+
append(div12, div11);
|
|
15083
|
+
append(div17, t20);
|
|
15084
|
+
append(div17, div13);
|
|
15085
|
+
div13.innerHTML = /*tipsStr*/
|
|
15135
15086
|
ctx[2];
|
|
15136
|
-
append(
|
|
15137
|
-
append(
|
|
15138
|
-
append(
|
|
15139
|
-
append(
|
|
15140
|
-
append(
|
|
15141
|
-
append(
|
|
15142
|
-
if (
|
|
15087
|
+
append(div17, t21);
|
|
15088
|
+
append(div17, div16);
|
|
15089
|
+
append(div16, div14);
|
|
15090
|
+
append(div16, t25);
|
|
15091
|
+
append(div16, div15);
|
|
15092
|
+
append(div17, t26);
|
|
15093
|
+
if (if_block) if_block.m(div17, null);
|
|
15143
15094
|
if (!mounted) {
|
|
15144
15095
|
dispose = [
|
|
15145
15096
|
listen(
|
|
15146
|
-
|
|
15097
|
+
div14,
|
|
15147
15098
|
"click",
|
|
15148
15099
|
/*handleOpenGift*/
|
|
15149
15100
|
ctx[4]
|
|
15150
15101
|
),
|
|
15151
15102
|
listen(
|
|
15152
|
-
|
|
15103
|
+
div15,
|
|
15153
15104
|
"click",
|
|
15154
15105
|
/*handleOpenGift*/
|
|
15155
15106
|
ctx[4]
|
|
@@ -15159,7 +15110,7 @@ function create_fragment$9(ctx) {
|
|
|
15159
15110
|
}
|
|
15160
15111
|
},
|
|
15161
15112
|
p(ctx2, [dirty]) {
|
|
15162
|
-
var _a2,
|
|
15113
|
+
var _a2, _b, _c;
|
|
15163
15114
|
if (dirty & /*resData*/
|
|
15164
15115
|
1 && t2_value !== (t2_value = /*resData*/
|
|
15165
15116
|
(ctx2[0] ? (
|
|
@@ -15179,68 +15130,43 @@ function create_fragment$9(ctx) {
|
|
|
15179
15130
|
ctx2[0].glod_num
|
|
15180
15131
|
) : "") + "")) set_data(t8, t8_value);
|
|
15181
15132
|
if (dirty & /*resData*/
|
|
15182
|
-
1
|
|
15133
|
+
1 && t12_value !== (t12_value = (Number(
|
|
15183
15134
|
/*resData*/
|
|
15184
15135
|
(_a2 = ctx2[0]) == null ? void 0 : _a2.hit_times
|
|
15185
|
-
)
|
|
15186
|
-
if (show_if_1) {
|
|
15187
|
-
if (if_block0) {
|
|
15188
|
-
if_block0.p(ctx2, dirty);
|
|
15189
|
-
} else {
|
|
15190
|
-
if_block0 = create_if_block_2$9(ctx2);
|
|
15191
|
-
if_block0.c();
|
|
15192
|
-
if_block0.m(div3, null);
|
|
15193
|
-
}
|
|
15194
|
-
} else if (if_block0) {
|
|
15195
|
-
if_block0.d(1);
|
|
15196
|
-
if_block0 = null;
|
|
15197
|
-
}
|
|
15136
|
+
) || 0) + "")) set_data(t12, t12_value);
|
|
15198
15137
|
if (dirty & /*resData*/
|
|
15199
|
-
1
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
|
|
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;
|
|
15138
|
+
1 && div11_style_value !== (div11_style_value = `width: ${/*resData*/
|
|
15139
|
+
(((_b = ctx2[0]) == null ? void 0 : _b.gold_process) || 0) / /*resData*/
|
|
15140
|
+
(((_c = ctx2[0]) == null ? void 0 : _c.gold_total) || 1) * 100}%`)) {
|
|
15141
|
+
attr(div11, "style", div11_style_value);
|
|
15214
15142
|
}
|
|
15215
15143
|
if (dirty & /*tipsStr*/
|
|
15216
|
-
4)
|
|
15144
|
+
4) div13.innerHTML = /*tipsStr*/
|
|
15217
15145
|
ctx2[2];
|
|
15218
15146
|
if (
|
|
15219
15147
|
/*expiresText*/
|
|
15220
15148
|
ctx2[3]
|
|
15221
15149
|
) {
|
|
15222
|
-
if (
|
|
15223
|
-
|
|
15150
|
+
if (if_block) {
|
|
15151
|
+
if_block.p(ctx2, dirty);
|
|
15224
15152
|
} else {
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
|
-
|
|
15153
|
+
if_block = create_if_block$9(ctx2);
|
|
15154
|
+
if_block.c();
|
|
15155
|
+
if_block.m(div17, null);
|
|
15228
15156
|
}
|
|
15229
|
-
} else if (
|
|
15230
|
-
|
|
15231
|
-
|
|
15157
|
+
} else if (if_block) {
|
|
15158
|
+
if_block.d(1);
|
|
15159
|
+
if_block = null;
|
|
15232
15160
|
}
|
|
15233
15161
|
},
|
|
15234
15162
|
i: noop,
|
|
15235
15163
|
o: noop,
|
|
15236
15164
|
d(detaching) {
|
|
15237
15165
|
if (detaching) {
|
|
15238
|
-
detach(
|
|
15166
|
+
detach(div18);
|
|
15239
15167
|
}
|
|
15240
|
-
if (if_block0) if_block0.d();
|
|
15241
15168
|
ctx[8](null);
|
|
15242
|
-
if (
|
|
15243
|
-
if (if_block2) if_block2.d();
|
|
15169
|
+
if (if_block) if_block.d();
|
|
15244
15170
|
mounted = false;
|
|
15245
15171
|
run_all(dispose);
|
|
15246
15172
|
}
|
|
@@ -15363,7 +15289,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
15363
15289
|
handleGetGiftInfo();
|
|
15364
15290
|
SvgaPlayer.getInstance().playEver(".mainImgCtnGold", gold_pending_svga, "pendingSvga");
|
|
15365
15291
|
});
|
|
15366
|
-
function
|
|
15292
|
+
function div6_binding($$value) {
|
|
15367
15293
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
15368
15294
|
animEl = $$value;
|
|
15369
15295
|
$$invalidate(1, animEl);
|
|
@@ -15405,7 +15331,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
15405
15331
|
handleSetResult,
|
|
15406
15332
|
flag,
|
|
15407
15333
|
handleGetGiftInfo,
|
|
15408
|
-
|
|
15334
|
+
div6_binding
|
|
15409
15335
|
];
|
|
15410
15336
|
}
|
|
15411
15337
|
class Gold extends SvelteComponent {
|
|
@@ -16465,12 +16391,10 @@ function create_if_block$7(ctx) {
|
|
|
16465
16391
|
current = true;
|
|
16466
16392
|
if (!mounted) {
|
|
16467
16393
|
dispose = [
|
|
16468
|
-
listen(div0, "click", stop_propagation(
|
|
16469
|
-
|
|
16470
|
-
|
|
16471
|
-
|
|
16472
|
-
)) ctx[1].apply(this, arguments);
|
|
16473
|
-
})),
|
|
16394
|
+
listen(div0, "click", stop_propagation(
|
|
16395
|
+
/*click_handler_2*/
|
|
16396
|
+
ctx[21]
|
|
16397
|
+
)),
|
|
16474
16398
|
listen(
|
|
16475
16399
|
div1,
|
|
16476
16400
|
"click",
|
|
@@ -16495,13 +16419,12 @@ function create_if_block$7(ctx) {
|
|
|
16495
16419
|
mounted = true;
|
|
16496
16420
|
}
|
|
16497
16421
|
},
|
|
16498
|
-
p(
|
|
16499
|
-
ctx = new_ctx;
|
|
16422
|
+
p(ctx2, dirty) {
|
|
16500
16423
|
let previous_block_index = current_block_type_index;
|
|
16501
|
-
current_block_type_index = select_block_type(
|
|
16424
|
+
current_block_type_index = select_block_type(ctx2);
|
|
16502
16425
|
if (current_block_type_index === previous_block_index) {
|
|
16503
16426
|
if (~current_block_type_index) {
|
|
16504
|
-
if_blocks[current_block_type_index].p(
|
|
16427
|
+
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
16505
16428
|
}
|
|
16506
16429
|
} else {
|
|
16507
16430
|
if (if_block0) {
|
|
@@ -16514,10 +16437,10 @@ function create_if_block$7(ctx) {
|
|
|
16514
16437
|
if (~current_block_type_index) {
|
|
16515
16438
|
if_block0 = if_blocks[current_block_type_index];
|
|
16516
16439
|
if (!if_block0) {
|
|
16517
|
-
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](
|
|
16440
|
+
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx2);
|
|
16518
16441
|
if_block0.c();
|
|
16519
16442
|
} else {
|
|
16520
|
-
if_block0.p(
|
|
16443
|
+
if_block0.p(ctx2, dirty);
|
|
16521
16444
|
}
|
|
16522
16445
|
transition_in(if_block0, 1);
|
|
16523
16446
|
if_block0.m(div4, t3);
|
|
@@ -16527,16 +16450,16 @@ function create_if_block$7(ctx) {
|
|
|
16527
16450
|
}
|
|
16528
16451
|
if (
|
|
16529
16452
|
/*isShowResult*/
|
|
16530
|
-
|
|
16453
|
+
ctx2[12]
|
|
16531
16454
|
) {
|
|
16532
16455
|
if (if_block1) {
|
|
16533
|
-
if_block1.p(
|
|
16456
|
+
if_block1.p(ctx2, dirty);
|
|
16534
16457
|
if (dirty & /*isShowResult*/
|
|
16535
16458
|
4096) {
|
|
16536
16459
|
transition_in(if_block1, 1);
|
|
16537
16460
|
}
|
|
16538
16461
|
} else {
|
|
16539
|
-
if_block1 = create_if_block_2$7(
|
|
16462
|
+
if_block1 = create_if_block_2$7(ctx2);
|
|
16540
16463
|
if_block1.c();
|
|
16541
16464
|
transition_in(if_block1, 1);
|
|
16542
16465
|
if_block1.m(div4, t4);
|
|
@@ -16550,16 +16473,16 @@ function create_if_block$7(ctx) {
|
|
|
16550
16473
|
}
|
|
16551
16474
|
if (
|
|
16552
16475
|
/*isShowHistory*/
|
|
16553
|
-
|
|
16476
|
+
ctx2[10]
|
|
16554
16477
|
) {
|
|
16555
16478
|
if (if_block2) {
|
|
16556
|
-
if_block2.p(
|
|
16479
|
+
if_block2.p(ctx2, dirty);
|
|
16557
16480
|
if (dirty & /*isShowHistory*/
|
|
16558
16481
|
1024) {
|
|
16559
16482
|
transition_in(if_block2, 1);
|
|
16560
16483
|
}
|
|
16561
16484
|
} else {
|
|
16562
|
-
if_block2 = create_if_block_1$7(
|
|
16485
|
+
if_block2 = create_if_block_1$7(ctx2);
|
|
16563
16486
|
if_block2.c();
|
|
16564
16487
|
transition_in(if_block2, 1);
|
|
16565
16488
|
if_block2.m(div4, null);
|
|
@@ -16574,9 +16497,9 @@ function create_if_block$7(ctx) {
|
|
|
16574
16497
|
if (!current || dirty & /*currentType*/
|
|
16575
16498
|
1 && div4_class_value !== (div4_class_value = null_to_empty(
|
|
16576
16499
|
/*currentType*/
|
|
16577
|
-
|
|
16500
|
+
ctx2[0] == "1" ? "goldMagicCtn magic" : (
|
|
16578
16501
|
/*currentType*/
|
|
16579
|
-
|
|
16502
|
+
ctx2[0] == "2" ? "goldMagicCtn gold" : "goldMagicCtn magic"
|
|
16580
16503
|
)
|
|
16581
16504
|
) + " svelte-1h7epg8")) {
|
|
16582
16505
|
attr(div4, "class", div4_class_value);
|
|
@@ -16689,7 +16612,7 @@ function create_if_block_5$2(ctx) {
|
|
|
16689
16612
|
)
|
|
16690
16613
|
};
|
|
16691
16614
|
gold = new Gold({ props: gold_props });
|
|
16692
|
-
ctx[
|
|
16615
|
+
ctx[22](gold);
|
|
16693
16616
|
return {
|
|
16694
16617
|
c() {
|
|
16695
16618
|
create_component(gold.$$.fragment);
|
|
@@ -16718,7 +16641,7 @@ function create_if_block_5$2(ctx) {
|
|
|
16718
16641
|
current = false;
|
|
16719
16642
|
},
|
|
16720
16643
|
d(detaching) {
|
|
16721
|
-
ctx[
|
|
16644
|
+
ctx[22](null);
|
|
16722
16645
|
destroy_component(gold, detaching);
|
|
16723
16646
|
}
|
|
16724
16647
|
};
|
|
@@ -16855,7 +16778,7 @@ function create_else_block$5(ctx) {
|
|
|
16855
16778
|
let updating_onClose;
|
|
16856
16779
|
let current;
|
|
16857
16780
|
function result_1_onClose_binding(value) {
|
|
16858
|
-
ctx[
|
|
16781
|
+
ctx[24](value);
|
|
16859
16782
|
}
|
|
16860
16783
|
let result_1_props = {
|
|
16861
16784
|
num: (
|
|
@@ -16938,7 +16861,7 @@ function create_if_block_3$4(ctx) {
|
|
|
16938
16861
|
let updating_onClose;
|
|
16939
16862
|
let current;
|
|
16940
16863
|
function newyearresult_onClose_binding(value) {
|
|
16941
|
-
ctx[
|
|
16864
|
+
ctx[23](value);
|
|
16942
16865
|
}
|
|
16943
16866
|
let newyearresult_props = {
|
|
16944
16867
|
num: (
|
|
@@ -17015,7 +16938,7 @@ function create_if_block_1$7(ctx) {
|
|
|
17015
16938
|
let updating_onClose;
|
|
17016
16939
|
let current;
|
|
17017
16940
|
function history_onClose_binding(value) {
|
|
17018
|
-
ctx[
|
|
16941
|
+
ctx[25](value);
|
|
17019
16942
|
}
|
|
17020
16943
|
let history_props = {
|
|
17021
16944
|
mode: (
|
|
@@ -17190,6 +17113,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
17190
17113
|
function click_handler_12(event) {
|
|
17191
17114
|
bubble.call(this, $$self, event);
|
|
17192
17115
|
}
|
|
17116
|
+
const click_handler_2 = () => closeModal();
|
|
17193
17117
|
function gold_binding($$value) {
|
|
17194
17118
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
17195
17119
|
goldChild = $$value;
|
|
@@ -17235,6 +17159,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
17235
17159
|
explain_url,
|
|
17236
17160
|
click_handler,
|
|
17237
17161
|
click_handler_12,
|
|
17162
|
+
click_handler_2,
|
|
17238
17163
|
gold_binding,
|
|
17239
17164
|
newyearresult_onClose_binding,
|
|
17240
17165
|
result_1_onClose_binding,
|
|
@@ -21284,7 +21209,7 @@ function create_else_block(ctx) {
|
|
|
21284
21209
|
)
|
|
21285
21210
|
};
|
|
21286
21211
|
love = new Love({ props: love_props });
|
|
21287
|
-
ctx[
|
|
21212
|
+
ctx[22](love);
|
|
21288
21213
|
return {
|
|
21289
21214
|
c() {
|
|
21290
21215
|
create_component(love.$$.fragment);
|
|
@@ -21313,7 +21238,7 @@ function create_else_block(ctx) {
|
|
|
21313
21238
|
current = false;
|
|
21314
21239
|
},
|
|
21315
21240
|
d(detaching) {
|
|
21316
|
-
ctx[
|
|
21241
|
+
ctx[22](null);
|
|
21317
21242
|
destroy_component(love, detaching);
|
|
21318
21243
|
}
|
|
21319
21244
|
};
|
|
@@ -21387,7 +21312,7 @@ function create_if_block_1$1(ctx) {
|
|
|
21387
21312
|
let updating_onClose;
|
|
21388
21313
|
let current;
|
|
21389
21314
|
function result_1_onClose_binding(value) {
|
|
21390
|
-
ctx[
|
|
21315
|
+
ctx[23](value);
|
|
21391
21316
|
}
|
|
21392
21317
|
let result_1_props = {
|
|
21393
21318
|
num: (
|
|
@@ -21484,7 +21409,7 @@ function create_if_block$1(ctx) {
|
|
|
21484
21409
|
let updating_onClose;
|
|
21485
21410
|
let current;
|
|
21486
21411
|
function history_onClose_binding(value) {
|
|
21487
|
-
ctx[
|
|
21412
|
+
ctx[24](value);
|
|
21488
21413
|
}
|
|
21489
21414
|
let history_props = {
|
|
21490
21415
|
mode: (
|
|
@@ -21624,12 +21549,10 @@ function create_fragment$1(ctx) {
|
|
|
21624
21549
|
current = true;
|
|
21625
21550
|
if (!mounted) {
|
|
21626
21551
|
dispose = [
|
|
21627
|
-
listen(div0, "click", stop_propagation(
|
|
21628
|
-
|
|
21629
|
-
|
|
21630
|
-
|
|
21631
|
-
)) ctx[1].apply(this, arguments);
|
|
21632
|
-
})),
|
|
21552
|
+
listen(div0, "click", stop_propagation(
|
|
21553
|
+
/*click_handler_2*/
|
|
21554
|
+
ctx[21]
|
|
21555
|
+
)),
|
|
21633
21556
|
listen(
|
|
21634
21557
|
div1,
|
|
21635
21558
|
"click",
|
|
@@ -21654,12 +21577,11 @@ function create_fragment$1(ctx) {
|
|
|
21654
21577
|
mounted = true;
|
|
21655
21578
|
}
|
|
21656
21579
|
},
|
|
21657
|
-
p(
|
|
21658
|
-
ctx = new_ctx;
|
|
21580
|
+
p(ctx2, [dirty]) {
|
|
21659
21581
|
let previous_block_index = current_block_type_index;
|
|
21660
|
-
current_block_type_index = select_block_type(
|
|
21582
|
+
current_block_type_index = select_block_type(ctx2);
|
|
21661
21583
|
if (current_block_type_index === previous_block_index) {
|
|
21662
|
-
if_blocks[current_block_type_index].p(
|
|
21584
|
+
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
21663
21585
|
} else {
|
|
21664
21586
|
group_outros();
|
|
21665
21587
|
transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
|
@@ -21668,26 +21590,26 @@ function create_fragment$1(ctx) {
|
|
|
21668
21590
|
check_outros();
|
|
21669
21591
|
if_block0 = if_blocks[current_block_type_index];
|
|
21670
21592
|
if (!if_block0) {
|
|
21671
|
-
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](
|
|
21593
|
+
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx2);
|
|
21672
21594
|
if_block0.c();
|
|
21673
21595
|
} else {
|
|
21674
|
-
if_block0.p(
|
|
21596
|
+
if_block0.p(ctx2, dirty);
|
|
21675
21597
|
}
|
|
21676
21598
|
transition_in(if_block0, 1);
|
|
21677
21599
|
if_block0.m(div4, t3);
|
|
21678
21600
|
}
|
|
21679
21601
|
if (
|
|
21680
21602
|
/*isShowResult*/
|
|
21681
|
-
|
|
21603
|
+
ctx2[11]
|
|
21682
21604
|
) {
|
|
21683
21605
|
if (if_block1) {
|
|
21684
|
-
if_block1.p(
|
|
21606
|
+
if_block1.p(ctx2, dirty);
|
|
21685
21607
|
if (dirty & /*isShowResult*/
|
|
21686
21608
|
2048) {
|
|
21687
21609
|
transition_in(if_block1, 1);
|
|
21688
21610
|
}
|
|
21689
21611
|
} else {
|
|
21690
|
-
if_block1 = create_if_block_1$1(
|
|
21612
|
+
if_block1 = create_if_block_1$1(ctx2);
|
|
21691
21613
|
if_block1.c();
|
|
21692
21614
|
transition_in(if_block1, 1);
|
|
21693
21615
|
if_block1.m(div4, t4);
|
|
@@ -21701,16 +21623,16 @@ function create_fragment$1(ctx) {
|
|
|
21701
21623
|
}
|
|
21702
21624
|
if (
|
|
21703
21625
|
/*isShowHistory*/
|
|
21704
|
-
|
|
21626
|
+
ctx2[9]
|
|
21705
21627
|
) {
|
|
21706
21628
|
if (if_block2) {
|
|
21707
|
-
if_block2.p(
|
|
21629
|
+
if_block2.p(ctx2, dirty);
|
|
21708
21630
|
if (dirty & /*isShowHistory*/
|
|
21709
21631
|
512) {
|
|
21710
21632
|
transition_in(if_block2, 1);
|
|
21711
21633
|
}
|
|
21712
21634
|
} else {
|
|
21713
|
-
if_block2 = create_if_block$1(
|
|
21635
|
+
if_block2 = create_if_block$1(ctx2);
|
|
21714
21636
|
if_block2.c();
|
|
21715
21637
|
transition_in(if_block2, 1);
|
|
21716
21638
|
if_block2.m(div4, null);
|
|
@@ -21725,7 +21647,7 @@ function create_fragment$1(ctx) {
|
|
|
21725
21647
|
if (!current || dirty & /*currentType*/
|
|
21726
21648
|
1 && div4_class_value !== (div4_class_value = null_to_empty(
|
|
21727
21649
|
/*currentType*/
|
|
21728
|
-
|
|
21650
|
+
ctx2[0] == "1" ? "goldMagicCtn2 magic" : "goldMagicCtn2 gold"
|
|
21729
21651
|
) + " svelte-5p8e4p")) {
|
|
21730
21652
|
attr(div4, "class", div4_class_value);
|
|
21731
21653
|
}
|
|
@@ -21811,6 +21733,7 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
21811
21733
|
function click_handler_12(event) {
|
|
21812
21734
|
bubble.call(this, $$self, event);
|
|
21813
21735
|
}
|
|
21736
|
+
const click_handler_2 = () => closeModal();
|
|
21814
21737
|
function love_binding($$value) {
|
|
21815
21738
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
21816
21739
|
goldChild = $$value;
|
|
@@ -21851,6 +21774,7 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
21851
21774
|
handelChangeUnitPrice,
|
|
21852
21775
|
click_handler,
|
|
21853
21776
|
click_handler_12,
|
|
21777
|
+
click_handler_2,
|
|
21854
21778
|
love_binding,
|
|
21855
21779
|
result_1_onClose_binding,
|
|
21856
21780
|
history_onClose_binding
|