@taole/newgiftbar 0.1.8 → 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 +229 -264
- 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 = (
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -3650,7 +3651,7 @@ function create_if_block_2$h(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;
|
|
@@ -3772,7 +3773,7 @@ function create_fragment$o(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*/
|
|
@@ -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
|
}
|
|
@@ -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 {
|
|
@@ -5135,7 +5136,7 @@ function create_if_block_2$f(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,7 +5175,7 @@ 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
|
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -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);
|
|
@@ -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 {
|
|
@@ -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,7 +10621,7 @@ 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 (
|
|
@@ -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) {
|
|
@@ -11382,7 +11383,7 @@ function create_if_block$d(ctx) {
|
|
|
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() {
|
|
@@ -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
|
}
|
|
@@ -11837,7 +11838,7 @@ function create_if_block_2$b(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;
|
|
@@ -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;
|
|
@@ -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,52 +14827,6 @@ class Magic extends SvelteComponent {
|
|
|
14822
14827
|
});
|
|
14823
14828
|
}
|
|
14824
14829
|
}
|
|
14825
|
-
function create_if_block_1$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
14830
|
function create_if_block$9(ctx) {
|
|
14872
14831
|
let div1;
|
|
14873
14832
|
let div0;
|
|
@@ -14905,11 +14864,11 @@ function create_if_block$9(ctx) {
|
|
|
14905
14864
|
}
|
|
14906
14865
|
function create_fragment$9(ctx) {
|
|
14907
14866
|
var _a;
|
|
14908
|
-
let
|
|
14867
|
+
let div18;
|
|
14909
14868
|
let img0;
|
|
14910
14869
|
let img0_src_value;
|
|
14911
14870
|
let t0;
|
|
14912
|
-
let
|
|
14871
|
+
let div4;
|
|
14913
14872
|
let div0;
|
|
14914
14873
|
let img1;
|
|
14915
14874
|
let img1_src_value;
|
|
@@ -14953,43 +14912,49 @@ function create_fragment$9(ctx) {
|
|
|
14953
14912
|
let t8;
|
|
14954
14913
|
let t9;
|
|
14955
14914
|
let t10;
|
|
14956
|
-
let
|
|
14915
|
+
let div3;
|
|
14916
|
+
let img4;
|
|
14917
|
+
let img4_src_value;
|
|
14918
|
+
let t11;
|
|
14919
|
+
let span3;
|
|
14920
|
+
let t12_value = (Number(
|
|
14957
14921
|
/*resData*/
|
|
14958
14922
|
(_a = ctx[0]) == null ? void 0 : _a.hit_times
|
|
14959
|
-
)
|
|
14960
|
-
let t11;
|
|
14961
|
-
let div4;
|
|
14923
|
+
) || 0) + "";
|
|
14962
14924
|
let t12;
|
|
14963
|
-
let div5;
|
|
14964
14925
|
let t13;
|
|
14965
|
-
let
|
|
14926
|
+
let t14;
|
|
14927
|
+
let div5;
|
|
14928
|
+
let t15;
|
|
14929
|
+
let div6;
|
|
14966
14930
|
let t16;
|
|
14967
|
-
let div16;
|
|
14968
|
-
let div11;
|
|
14969
14931
|
let div10;
|
|
14970
|
-
let
|
|
14971
|
-
let
|
|
14932
|
+
let t19;
|
|
14933
|
+
let div17;
|
|
14972
14934
|
let div12;
|
|
14973
|
-
let
|
|
14974
|
-
let
|
|
14935
|
+
let div11;
|
|
14936
|
+
let div11_style_value;
|
|
14937
|
+
let t20;
|
|
14975
14938
|
let div13;
|
|
14976
|
-
let
|
|
14939
|
+
let t21;
|
|
14940
|
+
let div16;
|
|
14977
14941
|
let div14;
|
|
14978
|
-
let
|
|
14942
|
+
let t25;
|
|
14943
|
+
let div15;
|
|
14944
|
+
let t26;
|
|
14979
14945
|
let mounted;
|
|
14980
14946
|
let dispose;
|
|
14981
|
-
let
|
|
14982
|
-
let if_block1 = (
|
|
14947
|
+
let if_block = (
|
|
14983
14948
|
/*expiresText*/
|
|
14984
14949
|
ctx[3] && create_if_block$9(ctx)
|
|
14985
14950
|
);
|
|
14986
14951
|
return {
|
|
14987
14952
|
c() {
|
|
14988
14953
|
var _a2, _b;
|
|
14989
|
-
|
|
14954
|
+
div18 = element("div");
|
|
14990
14955
|
img0 = element("img");
|
|
14991
14956
|
t0 = space();
|
|
14992
|
-
|
|
14957
|
+
div4 = element("div");
|
|
14993
14958
|
div0 = element("div");
|
|
14994
14959
|
img1 = element("img");
|
|
14995
14960
|
t1 = space();
|
|
@@ -15009,29 +14974,34 @@ function create_fragment$9(ctx) {
|
|
|
15009
14974
|
t8 = text(t8_value);
|
|
15010
14975
|
t9 = text("个");
|
|
15011
14976
|
t10 = space();
|
|
15012
|
-
|
|
14977
|
+
div3 = element("div");
|
|
14978
|
+
img4 = element("img");
|
|
15013
14979
|
t11 = space();
|
|
15014
|
-
|
|
15015
|
-
t12 =
|
|
14980
|
+
span3 = element("span");
|
|
14981
|
+
t12 = text(t12_value);
|
|
14982
|
+
t13 = text("次");
|
|
14983
|
+
t14 = space();
|
|
15016
14984
|
div5 = element("div");
|
|
15017
|
-
|
|
15018
|
-
|
|
15019
|
-
div9.innerHTML = `<div class="fireCtn"></div> <div class="mainImgCtn mainImgCtnGold"></div> <div class="mainSvgaCtn"></div>`;
|
|
14985
|
+
t15 = space();
|
|
14986
|
+
div6 = element("div");
|
|
15020
14987
|
t16 = space();
|
|
15021
|
-
div16 = element("div");
|
|
15022
|
-
div11 = element("div");
|
|
15023
14988
|
div10 = element("div");
|
|
15024
|
-
|
|
14989
|
+
div10.innerHTML = `<div class="fireCtn"></div> <div class="mainImgCtn mainImgCtnGold"></div> <div class="mainSvgaCtn"></div>`;
|
|
14990
|
+
t19 = space();
|
|
14991
|
+
div17 = element("div");
|
|
15025
14992
|
div12 = element("div");
|
|
15026
|
-
|
|
15027
|
-
|
|
14993
|
+
div11 = element("div");
|
|
14994
|
+
t20 = space();
|
|
15028
14995
|
div13 = element("div");
|
|
15029
|
-
|
|
15030
|
-
|
|
15031
|
-
t22 = space();
|
|
14996
|
+
t21 = space();
|
|
14997
|
+
div16 = element("div");
|
|
15032
14998
|
div14 = element("div");
|
|
15033
|
-
|
|
15034
|
-
|
|
14999
|
+
div14.innerHTML = `<span class="innerCtn"><img class="icon" src="https://asset.tuwan.com/goldMagic/magicIcon.png"/> <span class="numCtn">680</span></span>
|
|
15000
|
+
开启魔法`;
|
|
15001
|
+
t25 = space();
|
|
15002
|
+
div15 = element("div");
|
|
15003
|
+
t26 = space();
|
|
15004
|
+
if (if_block) if_block.c();
|
|
15035
15005
|
attr(img0, "class", "openGiftTitle");
|
|
15036
15006
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/goldMagic/goldTitle.png")) attr(img0, "src", img0_src_value);
|
|
15037
15007
|
attr(img1, "class", "imgIcon");
|
|
@@ -15046,81 +15016,91 @@ function create_fragment$9(ctx) {
|
|
|
15046
15016
|
if (!src_url_equal(img3.src, img3_src_value = "https://asset.tuwan.com/goldMagic/goldBook.png")) attr(img3, "src", img3_src_value);
|
|
15047
15017
|
attr(span2, "class", "wordCtn");
|
|
15048
15018
|
attr(div2, "class", "subCtn");
|
|
15049
|
-
attr(
|
|
15050
|
-
|
|
15051
|
-
attr(
|
|
15052
|
-
attr(
|
|
15053
|
-
attr(
|
|
15054
|
-
attr(
|
|
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*/
|
|
15055
15030
|
(((_a2 = ctx[0]) == null ? void 0 : _a2.gold_process) || 0) / /*resData*/
|
|
15056
15031
|
(((_b = ctx[0]) == null ? void 0 : _b.gold_total) || 1) * 100}%`);
|
|
15057
|
-
attr(
|
|
15058
|
-
attr(
|
|
15059
|
-
attr(
|
|
15060
|
-
attr(
|
|
15061
|
-
attr(
|
|
15062
|
-
attr(
|
|
15063
|
-
attr(
|
|
15064
|
-
attr(
|
|
15065
|
-
attr(
|
|
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");
|
|
15066
15041
|
},
|
|
15067
15042
|
m(target, anchor) {
|
|
15068
|
-
insert(target,
|
|
15069
|
-
append(
|
|
15070
|
-
append(
|
|
15071
|
-
append(
|
|
15072
|
-
append(
|
|
15043
|
+
insert(target, div18, anchor);
|
|
15044
|
+
append(div18, img0);
|
|
15045
|
+
append(div18, t0);
|
|
15046
|
+
append(div18, div4);
|
|
15047
|
+
append(div4, div0);
|
|
15073
15048
|
append(div0, img1);
|
|
15074
15049
|
append(div0, t1);
|
|
15075
15050
|
append(div0, span0);
|
|
15076
15051
|
append(span0, t2);
|
|
15077
|
-
append(
|
|
15078
|
-
append(
|
|
15052
|
+
append(div4, t3);
|
|
15053
|
+
append(div4, div1);
|
|
15079
15054
|
append(div1, img2);
|
|
15080
15055
|
append(div1, t4);
|
|
15081
15056
|
append(div1, span1);
|
|
15082
15057
|
append(span1, t5);
|
|
15083
|
-
append(
|
|
15084
|
-
append(
|
|
15058
|
+
append(div4, t6);
|
|
15059
|
+
append(div4, div2);
|
|
15085
15060
|
append(div2, img3);
|
|
15086
15061
|
append(div2, t7);
|
|
15087
15062
|
append(div2, span2);
|
|
15088
15063
|
append(span2, t8);
|
|
15089
15064
|
append(span2, t9);
|
|
15090
|
-
append(
|
|
15091
|
-
|
|
15092
|
-
append(
|
|
15093
|
-
append(
|
|
15094
|
-
append(
|
|
15095
|
-
append(
|
|
15096
|
-
|
|
15097
|
-
append(
|
|
15098
|
-
append(
|
|
15099
|
-
append(
|
|
15100
|
-
append(
|
|
15101
|
-
|
|
15102
|
-
append(
|
|
15103
|
-
append(
|
|
15104
|
-
append(
|
|
15105
|
-
|
|
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*/
|
|
15106
15086
|
ctx[2];
|
|
15107
|
-
append(
|
|
15087
|
+
append(div17, t21);
|
|
15088
|
+
append(div17, div16);
|
|
15089
|
+
append(div16, div14);
|
|
15090
|
+
append(div16, t25);
|
|
15108
15091
|
append(div16, div15);
|
|
15109
|
-
append(
|
|
15110
|
-
|
|
15111
|
-
append(div15, div14);
|
|
15112
|
-
append(div16, t23);
|
|
15113
|
-
if (if_block1) if_block1.m(div16, null);
|
|
15092
|
+
append(div17, t26);
|
|
15093
|
+
if (if_block) if_block.m(div17, null);
|
|
15114
15094
|
if (!mounted) {
|
|
15115
15095
|
dispose = [
|
|
15116
15096
|
listen(
|
|
15117
|
-
|
|
15097
|
+
div14,
|
|
15118
15098
|
"click",
|
|
15119
15099
|
/*handleOpenGift*/
|
|
15120
15100
|
ctx[4]
|
|
15121
15101
|
),
|
|
15122
15102
|
listen(
|
|
15123
|
-
|
|
15103
|
+
div15,
|
|
15124
15104
|
"click",
|
|
15125
15105
|
/*handleOpenGift*/
|
|
15126
15106
|
ctx[4]
|
|
@@ -15150,56 +15130,43 @@ function create_fragment$9(ctx) {
|
|
|
15150
15130
|
ctx2[0].glod_num
|
|
15151
15131
|
) : "") + "")) set_data(t8, t8_value);
|
|
15152
15132
|
if (dirty & /*resData*/
|
|
15153
|
-
1
|
|
15133
|
+
1 && t12_value !== (t12_value = (Number(
|
|
15154
15134
|
/*resData*/
|
|
15155
15135
|
(_a2 = ctx2[0]) == null ? void 0 : _a2.hit_times
|
|
15156
|
-
)
|
|
15157
|
-
if (show_if) {
|
|
15158
|
-
if (if_block0) {
|
|
15159
|
-
if_block0.p(ctx2, dirty);
|
|
15160
|
-
} else {
|
|
15161
|
-
if_block0 = create_if_block_1$9(ctx2);
|
|
15162
|
-
if_block0.c();
|
|
15163
|
-
if_block0.m(div3, null);
|
|
15164
|
-
}
|
|
15165
|
-
} else if (if_block0) {
|
|
15166
|
-
if_block0.d(1);
|
|
15167
|
-
if_block0 = null;
|
|
15168
|
-
}
|
|
15136
|
+
) || 0) + "")) set_data(t12, t12_value);
|
|
15169
15137
|
if (dirty & /*resData*/
|
|
15170
|
-
1 &&
|
|
15138
|
+
1 && div11_style_value !== (div11_style_value = `width: ${/*resData*/
|
|
15171
15139
|
(((_b = ctx2[0]) == null ? void 0 : _b.gold_process) || 0) / /*resData*/
|
|
15172
15140
|
(((_c = ctx2[0]) == null ? void 0 : _c.gold_total) || 1) * 100}%`)) {
|
|
15173
|
-
attr(
|
|
15141
|
+
attr(div11, "style", div11_style_value);
|
|
15174
15142
|
}
|
|
15175
15143
|
if (dirty & /*tipsStr*/
|
|
15176
|
-
4)
|
|
15144
|
+
4) div13.innerHTML = /*tipsStr*/
|
|
15177
15145
|
ctx2[2];
|
|
15178
15146
|
if (
|
|
15179
15147
|
/*expiresText*/
|
|
15180
15148
|
ctx2[3]
|
|
15181
15149
|
) {
|
|
15182
|
-
if (
|
|
15183
|
-
|
|
15150
|
+
if (if_block) {
|
|
15151
|
+
if_block.p(ctx2, dirty);
|
|
15184
15152
|
} else {
|
|
15185
|
-
|
|
15186
|
-
|
|
15187
|
-
|
|
15153
|
+
if_block = create_if_block$9(ctx2);
|
|
15154
|
+
if_block.c();
|
|
15155
|
+
if_block.m(div17, null);
|
|
15188
15156
|
}
|
|
15189
|
-
} else if (
|
|
15190
|
-
|
|
15191
|
-
|
|
15157
|
+
} else if (if_block) {
|
|
15158
|
+
if_block.d(1);
|
|
15159
|
+
if_block = null;
|
|
15192
15160
|
}
|
|
15193
15161
|
},
|
|
15194
15162
|
i: noop,
|
|
15195
15163
|
o: noop,
|
|
15196
15164
|
d(detaching) {
|
|
15197
15165
|
if (detaching) {
|
|
15198
|
-
detach(
|
|
15166
|
+
detach(div18);
|
|
15199
15167
|
}
|
|
15200
|
-
if (if_block0) if_block0.d();
|
|
15201
15168
|
ctx[8](null);
|
|
15202
|
-
if (
|
|
15169
|
+
if (if_block) if_block.d();
|
|
15203
15170
|
mounted = false;
|
|
15204
15171
|
run_all(dispose);
|
|
15205
15172
|
}
|
|
@@ -15322,7 +15289,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
15322
15289
|
handleGetGiftInfo();
|
|
15323
15290
|
SvgaPlayer.getInstance().playEver(".mainImgCtnGold", gold_pending_svga, "pendingSvga");
|
|
15324
15291
|
});
|
|
15325
|
-
function
|
|
15292
|
+
function div6_binding($$value) {
|
|
15326
15293
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
15327
15294
|
animEl = $$value;
|
|
15328
15295
|
$$invalidate(1, animEl);
|
|
@@ -15364,7 +15331,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
15364
15331
|
handleSetResult,
|
|
15365
15332
|
flag,
|
|
15366
15333
|
handleGetGiftInfo,
|
|
15367
|
-
|
|
15334
|
+
div6_binding
|
|
15368
15335
|
];
|
|
15369
15336
|
}
|
|
15370
15337
|
class Gold extends SvelteComponent {
|
|
@@ -16424,12 +16391,10 @@ function create_if_block$7(ctx) {
|
|
|
16424
16391
|
current = true;
|
|
16425
16392
|
if (!mounted) {
|
|
16426
16393
|
dispose = [
|
|
16427
|
-
listen(div0, "click", stop_propagation(
|
|
16428
|
-
|
|
16429
|
-
|
|
16430
|
-
|
|
16431
|
-
)) ctx[1].apply(this, arguments);
|
|
16432
|
-
})),
|
|
16394
|
+
listen(div0, "click", stop_propagation(
|
|
16395
|
+
/*click_handler_2*/
|
|
16396
|
+
ctx[21]
|
|
16397
|
+
)),
|
|
16433
16398
|
listen(
|
|
16434
16399
|
div1,
|
|
16435
16400
|
"click",
|
|
@@ -16454,13 +16419,12 @@ function create_if_block$7(ctx) {
|
|
|
16454
16419
|
mounted = true;
|
|
16455
16420
|
}
|
|
16456
16421
|
},
|
|
16457
|
-
p(
|
|
16458
|
-
ctx = new_ctx;
|
|
16422
|
+
p(ctx2, dirty) {
|
|
16459
16423
|
let previous_block_index = current_block_type_index;
|
|
16460
|
-
current_block_type_index = select_block_type(
|
|
16424
|
+
current_block_type_index = select_block_type(ctx2);
|
|
16461
16425
|
if (current_block_type_index === previous_block_index) {
|
|
16462
16426
|
if (~current_block_type_index) {
|
|
16463
|
-
if_blocks[current_block_type_index].p(
|
|
16427
|
+
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
16464
16428
|
}
|
|
16465
16429
|
} else {
|
|
16466
16430
|
if (if_block0) {
|
|
@@ -16473,10 +16437,10 @@ function create_if_block$7(ctx) {
|
|
|
16473
16437
|
if (~current_block_type_index) {
|
|
16474
16438
|
if_block0 = if_blocks[current_block_type_index];
|
|
16475
16439
|
if (!if_block0) {
|
|
16476
|
-
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);
|
|
16477
16441
|
if_block0.c();
|
|
16478
16442
|
} else {
|
|
16479
|
-
if_block0.p(
|
|
16443
|
+
if_block0.p(ctx2, dirty);
|
|
16480
16444
|
}
|
|
16481
16445
|
transition_in(if_block0, 1);
|
|
16482
16446
|
if_block0.m(div4, t3);
|
|
@@ -16486,16 +16450,16 @@ function create_if_block$7(ctx) {
|
|
|
16486
16450
|
}
|
|
16487
16451
|
if (
|
|
16488
16452
|
/*isShowResult*/
|
|
16489
|
-
|
|
16453
|
+
ctx2[12]
|
|
16490
16454
|
) {
|
|
16491
16455
|
if (if_block1) {
|
|
16492
|
-
if_block1.p(
|
|
16456
|
+
if_block1.p(ctx2, dirty);
|
|
16493
16457
|
if (dirty & /*isShowResult*/
|
|
16494
16458
|
4096) {
|
|
16495
16459
|
transition_in(if_block1, 1);
|
|
16496
16460
|
}
|
|
16497
16461
|
} else {
|
|
16498
|
-
if_block1 = create_if_block_2$7(
|
|
16462
|
+
if_block1 = create_if_block_2$7(ctx2);
|
|
16499
16463
|
if_block1.c();
|
|
16500
16464
|
transition_in(if_block1, 1);
|
|
16501
16465
|
if_block1.m(div4, t4);
|
|
@@ -16509,16 +16473,16 @@ function create_if_block$7(ctx) {
|
|
|
16509
16473
|
}
|
|
16510
16474
|
if (
|
|
16511
16475
|
/*isShowHistory*/
|
|
16512
|
-
|
|
16476
|
+
ctx2[10]
|
|
16513
16477
|
) {
|
|
16514
16478
|
if (if_block2) {
|
|
16515
|
-
if_block2.p(
|
|
16479
|
+
if_block2.p(ctx2, dirty);
|
|
16516
16480
|
if (dirty & /*isShowHistory*/
|
|
16517
16481
|
1024) {
|
|
16518
16482
|
transition_in(if_block2, 1);
|
|
16519
16483
|
}
|
|
16520
16484
|
} else {
|
|
16521
|
-
if_block2 = create_if_block_1$7(
|
|
16485
|
+
if_block2 = create_if_block_1$7(ctx2);
|
|
16522
16486
|
if_block2.c();
|
|
16523
16487
|
transition_in(if_block2, 1);
|
|
16524
16488
|
if_block2.m(div4, null);
|
|
@@ -16533,9 +16497,9 @@ function create_if_block$7(ctx) {
|
|
|
16533
16497
|
if (!current || dirty & /*currentType*/
|
|
16534
16498
|
1 && div4_class_value !== (div4_class_value = null_to_empty(
|
|
16535
16499
|
/*currentType*/
|
|
16536
|
-
|
|
16500
|
+
ctx2[0] == "1" ? "goldMagicCtn magic" : (
|
|
16537
16501
|
/*currentType*/
|
|
16538
|
-
|
|
16502
|
+
ctx2[0] == "2" ? "goldMagicCtn gold" : "goldMagicCtn magic"
|
|
16539
16503
|
)
|
|
16540
16504
|
) + " svelte-1h7epg8")) {
|
|
16541
16505
|
attr(div4, "class", div4_class_value);
|
|
@@ -16648,7 +16612,7 @@ function create_if_block_5$2(ctx) {
|
|
|
16648
16612
|
)
|
|
16649
16613
|
};
|
|
16650
16614
|
gold = new Gold({ props: gold_props });
|
|
16651
|
-
ctx[
|
|
16615
|
+
ctx[22](gold);
|
|
16652
16616
|
return {
|
|
16653
16617
|
c() {
|
|
16654
16618
|
create_component(gold.$$.fragment);
|
|
@@ -16677,7 +16641,7 @@ function create_if_block_5$2(ctx) {
|
|
|
16677
16641
|
current = false;
|
|
16678
16642
|
},
|
|
16679
16643
|
d(detaching) {
|
|
16680
|
-
ctx[
|
|
16644
|
+
ctx[22](null);
|
|
16681
16645
|
destroy_component(gold, detaching);
|
|
16682
16646
|
}
|
|
16683
16647
|
};
|
|
@@ -16814,7 +16778,7 @@ function create_else_block$5(ctx) {
|
|
|
16814
16778
|
let updating_onClose;
|
|
16815
16779
|
let current;
|
|
16816
16780
|
function result_1_onClose_binding(value) {
|
|
16817
|
-
ctx[
|
|
16781
|
+
ctx[24](value);
|
|
16818
16782
|
}
|
|
16819
16783
|
let result_1_props = {
|
|
16820
16784
|
num: (
|
|
@@ -16897,7 +16861,7 @@ function create_if_block_3$4(ctx) {
|
|
|
16897
16861
|
let updating_onClose;
|
|
16898
16862
|
let current;
|
|
16899
16863
|
function newyearresult_onClose_binding(value) {
|
|
16900
|
-
ctx[
|
|
16864
|
+
ctx[23](value);
|
|
16901
16865
|
}
|
|
16902
16866
|
let newyearresult_props = {
|
|
16903
16867
|
num: (
|
|
@@ -16974,7 +16938,7 @@ function create_if_block_1$7(ctx) {
|
|
|
16974
16938
|
let updating_onClose;
|
|
16975
16939
|
let current;
|
|
16976
16940
|
function history_onClose_binding(value) {
|
|
16977
|
-
ctx[
|
|
16941
|
+
ctx[25](value);
|
|
16978
16942
|
}
|
|
16979
16943
|
let history_props = {
|
|
16980
16944
|
mode: (
|
|
@@ -17149,6 +17113,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
17149
17113
|
function click_handler_12(event) {
|
|
17150
17114
|
bubble.call(this, $$self, event);
|
|
17151
17115
|
}
|
|
17116
|
+
const click_handler_2 = () => closeModal();
|
|
17152
17117
|
function gold_binding($$value) {
|
|
17153
17118
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
17154
17119
|
goldChild = $$value;
|
|
@@ -17194,6 +17159,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
17194
17159
|
explain_url,
|
|
17195
17160
|
click_handler,
|
|
17196
17161
|
click_handler_12,
|
|
17162
|
+
click_handler_2,
|
|
17197
17163
|
gold_binding,
|
|
17198
17164
|
newyearresult_onClose_binding,
|
|
17199
17165
|
result_1_onClose_binding,
|
|
@@ -21243,7 +21209,7 @@ function create_else_block(ctx) {
|
|
|
21243
21209
|
)
|
|
21244
21210
|
};
|
|
21245
21211
|
love = new Love({ props: love_props });
|
|
21246
|
-
ctx[
|
|
21212
|
+
ctx[22](love);
|
|
21247
21213
|
return {
|
|
21248
21214
|
c() {
|
|
21249
21215
|
create_component(love.$$.fragment);
|
|
@@ -21272,7 +21238,7 @@ function create_else_block(ctx) {
|
|
|
21272
21238
|
current = false;
|
|
21273
21239
|
},
|
|
21274
21240
|
d(detaching) {
|
|
21275
|
-
ctx[
|
|
21241
|
+
ctx[22](null);
|
|
21276
21242
|
destroy_component(love, detaching);
|
|
21277
21243
|
}
|
|
21278
21244
|
};
|
|
@@ -21346,7 +21312,7 @@ function create_if_block_1$1(ctx) {
|
|
|
21346
21312
|
let updating_onClose;
|
|
21347
21313
|
let current;
|
|
21348
21314
|
function result_1_onClose_binding(value) {
|
|
21349
|
-
ctx[
|
|
21315
|
+
ctx[23](value);
|
|
21350
21316
|
}
|
|
21351
21317
|
let result_1_props = {
|
|
21352
21318
|
num: (
|
|
@@ -21443,7 +21409,7 @@ function create_if_block$1(ctx) {
|
|
|
21443
21409
|
let updating_onClose;
|
|
21444
21410
|
let current;
|
|
21445
21411
|
function history_onClose_binding(value) {
|
|
21446
|
-
ctx[
|
|
21412
|
+
ctx[24](value);
|
|
21447
21413
|
}
|
|
21448
21414
|
let history_props = {
|
|
21449
21415
|
mode: (
|
|
@@ -21583,12 +21549,10 @@ function create_fragment$1(ctx) {
|
|
|
21583
21549
|
current = true;
|
|
21584
21550
|
if (!mounted) {
|
|
21585
21551
|
dispose = [
|
|
21586
|
-
listen(div0, "click", stop_propagation(
|
|
21587
|
-
|
|
21588
|
-
|
|
21589
|
-
|
|
21590
|
-
)) ctx[1].apply(this, arguments);
|
|
21591
|
-
})),
|
|
21552
|
+
listen(div0, "click", stop_propagation(
|
|
21553
|
+
/*click_handler_2*/
|
|
21554
|
+
ctx[21]
|
|
21555
|
+
)),
|
|
21592
21556
|
listen(
|
|
21593
21557
|
div1,
|
|
21594
21558
|
"click",
|
|
@@ -21613,12 +21577,11 @@ function create_fragment$1(ctx) {
|
|
|
21613
21577
|
mounted = true;
|
|
21614
21578
|
}
|
|
21615
21579
|
},
|
|
21616
|
-
p(
|
|
21617
|
-
ctx = new_ctx;
|
|
21580
|
+
p(ctx2, [dirty]) {
|
|
21618
21581
|
let previous_block_index = current_block_type_index;
|
|
21619
|
-
current_block_type_index = select_block_type(
|
|
21582
|
+
current_block_type_index = select_block_type(ctx2);
|
|
21620
21583
|
if (current_block_type_index === previous_block_index) {
|
|
21621
|
-
if_blocks[current_block_type_index].p(
|
|
21584
|
+
if_blocks[current_block_type_index].p(ctx2, dirty);
|
|
21622
21585
|
} else {
|
|
21623
21586
|
group_outros();
|
|
21624
21587
|
transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
|
@@ -21627,26 +21590,26 @@ function create_fragment$1(ctx) {
|
|
|
21627
21590
|
check_outros();
|
|
21628
21591
|
if_block0 = if_blocks[current_block_type_index];
|
|
21629
21592
|
if (!if_block0) {
|
|
21630
|
-
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);
|
|
21631
21594
|
if_block0.c();
|
|
21632
21595
|
} else {
|
|
21633
|
-
if_block0.p(
|
|
21596
|
+
if_block0.p(ctx2, dirty);
|
|
21634
21597
|
}
|
|
21635
21598
|
transition_in(if_block0, 1);
|
|
21636
21599
|
if_block0.m(div4, t3);
|
|
21637
21600
|
}
|
|
21638
21601
|
if (
|
|
21639
21602
|
/*isShowResult*/
|
|
21640
|
-
|
|
21603
|
+
ctx2[11]
|
|
21641
21604
|
) {
|
|
21642
21605
|
if (if_block1) {
|
|
21643
|
-
if_block1.p(
|
|
21606
|
+
if_block1.p(ctx2, dirty);
|
|
21644
21607
|
if (dirty & /*isShowResult*/
|
|
21645
21608
|
2048) {
|
|
21646
21609
|
transition_in(if_block1, 1);
|
|
21647
21610
|
}
|
|
21648
21611
|
} else {
|
|
21649
|
-
if_block1 = create_if_block_1$1(
|
|
21612
|
+
if_block1 = create_if_block_1$1(ctx2);
|
|
21650
21613
|
if_block1.c();
|
|
21651
21614
|
transition_in(if_block1, 1);
|
|
21652
21615
|
if_block1.m(div4, t4);
|
|
@@ -21660,16 +21623,16 @@ function create_fragment$1(ctx) {
|
|
|
21660
21623
|
}
|
|
21661
21624
|
if (
|
|
21662
21625
|
/*isShowHistory*/
|
|
21663
|
-
|
|
21626
|
+
ctx2[9]
|
|
21664
21627
|
) {
|
|
21665
21628
|
if (if_block2) {
|
|
21666
|
-
if_block2.p(
|
|
21629
|
+
if_block2.p(ctx2, dirty);
|
|
21667
21630
|
if (dirty & /*isShowHistory*/
|
|
21668
21631
|
512) {
|
|
21669
21632
|
transition_in(if_block2, 1);
|
|
21670
21633
|
}
|
|
21671
21634
|
} else {
|
|
21672
|
-
if_block2 = create_if_block$1(
|
|
21635
|
+
if_block2 = create_if_block$1(ctx2);
|
|
21673
21636
|
if_block2.c();
|
|
21674
21637
|
transition_in(if_block2, 1);
|
|
21675
21638
|
if_block2.m(div4, null);
|
|
@@ -21684,7 +21647,7 @@ function create_fragment$1(ctx) {
|
|
|
21684
21647
|
if (!current || dirty & /*currentType*/
|
|
21685
21648
|
1 && div4_class_value !== (div4_class_value = null_to_empty(
|
|
21686
21649
|
/*currentType*/
|
|
21687
|
-
|
|
21650
|
+
ctx2[0] == "1" ? "goldMagicCtn2 magic" : "goldMagicCtn2 gold"
|
|
21688
21651
|
) + " svelte-5p8e4p")) {
|
|
21689
21652
|
attr(div4, "class", div4_class_value);
|
|
21690
21653
|
}
|
|
@@ -21770,6 +21733,7 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
21770
21733
|
function click_handler_12(event) {
|
|
21771
21734
|
bubble.call(this, $$self, event);
|
|
21772
21735
|
}
|
|
21736
|
+
const click_handler_2 = () => closeModal();
|
|
21773
21737
|
function love_binding($$value) {
|
|
21774
21738
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
21775
21739
|
goldChild = $$value;
|
|
@@ -21810,6 +21774,7 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
21810
21774
|
handelChangeUnitPrice,
|
|
21811
21775
|
click_handler,
|
|
21812
21776
|
click_handler_12,
|
|
21777
|
+
click_handler_2,
|
|
21813
21778
|
love_binding,
|
|
21814
21779
|
result_1_onClose_binding,
|
|
21815
21780
|
history_onClose_binding
|