@taole/newgiftbar 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/npm/newgiftbar.css +26 -16
- package/npm/newgiftbar.es.js +947 -956
- package/package.json +1 -1
package/npm/newgiftbar.es.js
CHANGED
|
@@ -11005,8 +11005,8 @@ const gold_pending_svga = "https://asset.tuwan.com/goldMagic/gold_pending.svga";
|
|
|
11005
11005
|
const newyear_pending_svga = "https://dynamics-share.tuwan.com/activity/ae513d371783fb182191e62d93305d77.svga";
|
|
11006
11006
|
function get_each_context$4(ctx, list, i) {
|
|
11007
11007
|
const child_ctx = ctx.slice();
|
|
11008
|
-
child_ctx[
|
|
11009
|
-
child_ctx[
|
|
11008
|
+
child_ctx[31] = list[i];
|
|
11009
|
+
child_ctx[33] = i;
|
|
11010
11010
|
return child_ctx;
|
|
11011
11011
|
}
|
|
11012
11012
|
function create_if_block_8(ctx) {
|
|
@@ -11025,14 +11025,14 @@ function create_if_block_8(ctx) {
|
|
|
11025
11025
|
span = element("span");
|
|
11026
11026
|
t1 = text(
|
|
11027
11027
|
/*glodNum*/
|
|
11028
|
-
ctx[
|
|
11028
|
+
ctx[7]
|
|
11029
11029
|
);
|
|
11030
11030
|
t2 = text("个");
|
|
11031
|
-
attr(img, "class", "imgIcon svelte-
|
|
11031
|
+
attr(img, "class", "imgIcon svelte-1v070rr");
|
|
11032
11032
|
if (!src_url_equal(img.src, img_src_value = "https://asset.tuwan.com/goldMagic/goldBook.png")) attr(img, "src", img_src_value);
|
|
11033
11033
|
attr(img, "alt", "");
|
|
11034
|
-
attr(span, "class", "wordCtn svelte-
|
|
11035
|
-
attr(div, "class", "subCtn svelte-
|
|
11034
|
+
attr(span, "class", "wordCtn svelte-1v070rr");
|
|
11035
|
+
attr(div, "class", "subCtn svelte-1v070rr");
|
|
11036
11036
|
},
|
|
11037
11037
|
m(target, anchor) {
|
|
11038
11038
|
insert(target, div, anchor);
|
|
@@ -11044,10 +11044,10 @@ function create_if_block_8(ctx) {
|
|
|
11044
11044
|
},
|
|
11045
11045
|
p(ctx2, dirty) {
|
|
11046
11046
|
if (dirty[0] & /*glodNum*/
|
|
11047
|
-
|
|
11047
|
+
128) set_data(
|
|
11048
11048
|
t1,
|
|
11049
11049
|
/*glodNum*/
|
|
11050
|
-
ctx2[
|
|
11050
|
+
ctx2[7]
|
|
11051
11051
|
);
|
|
11052
11052
|
},
|
|
11053
11053
|
d(detaching) {
|
|
@@ -11073,14 +11073,14 @@ function create_if_block_7(ctx) {
|
|
|
11073
11073
|
span = element("span");
|
|
11074
11074
|
t1 = text(
|
|
11075
11075
|
/*hitTimes*/
|
|
11076
|
-
ctx[
|
|
11076
|
+
ctx[8]
|
|
11077
11077
|
);
|
|
11078
11078
|
t2 = text("次");
|
|
11079
|
-
attr(img, "class", "imgIcon svelte-
|
|
11079
|
+
attr(img, "class", "imgIcon svelte-1v070rr");
|
|
11080
11080
|
if (!src_url_equal(img.src, img_src_value = "https://dynamics-share.tuwan.com/activity/0e24da0fd01719a934630a6652fa4b9d.png?x-oss-process=image/format,webp/ignore-error,1")) attr(img, "src", img_src_value);
|
|
11081
11081
|
attr(img, "alt", "");
|
|
11082
|
-
attr(span, "class", "wordCtn svelte-
|
|
11083
|
-
attr(div, "class", "subCtn svelte-
|
|
11082
|
+
attr(span, "class", "wordCtn svelte-1v070rr");
|
|
11083
|
+
attr(div, "class", "subCtn svelte-1v070rr");
|
|
11084
11084
|
},
|
|
11085
11085
|
m(target, anchor) {
|
|
11086
11086
|
insert(target, div, anchor);
|
|
@@ -11092,10 +11092,10 @@ function create_if_block_7(ctx) {
|
|
|
11092
11092
|
},
|
|
11093
11093
|
p(ctx2, dirty) {
|
|
11094
11094
|
if (dirty[0] & /*hitTimes*/
|
|
11095
|
-
|
|
11095
|
+
256) set_data(
|
|
11096
11096
|
t1,
|
|
11097
11097
|
/*hitTimes*/
|
|
11098
|
-
ctx2[
|
|
11098
|
+
ctx2[8]
|
|
11099
11099
|
);
|
|
11100
11100
|
},
|
|
11101
11101
|
d(detaching) {
|
|
@@ -11112,15 +11112,15 @@ function create_each_block$4(ctx) {
|
|
|
11112
11112
|
props: {
|
|
11113
11113
|
index: (
|
|
11114
11114
|
/*index*/
|
|
11115
|
-
ctx[
|
|
11115
|
+
ctx[33]
|
|
11116
11116
|
),
|
|
11117
11117
|
num: (
|
|
11118
11118
|
/*item*/
|
|
11119
|
-
ctx[
|
|
11119
|
+
ctx[31].uids[0].num
|
|
11120
11120
|
),
|
|
11121
11121
|
src: (
|
|
11122
11122
|
/*item*/
|
|
11123
|
-
ctx[
|
|
11123
|
+
ctx[31].pic
|
|
11124
11124
|
),
|
|
11125
11125
|
isBigger: (
|
|
11126
11126
|
/*result*/
|
|
@@ -11128,26 +11128,26 @@ function create_each_block$4(ctx) {
|
|
|
11128
11128
|
),
|
|
11129
11129
|
costly: (
|
|
11130
11130
|
/*item*/
|
|
11131
|
-
ctx[
|
|
11131
|
+
ctx[31].gift_type == 1
|
|
11132
11132
|
),
|
|
11133
11133
|
title: (
|
|
11134
11134
|
/*item*/
|
|
11135
|
-
ctx[
|
|
11135
|
+
ctx[31].title
|
|
11136
11136
|
),
|
|
11137
11137
|
open_val: (
|
|
11138
11138
|
/*item*/
|
|
11139
|
-
ctx[
|
|
11139
|
+
ctx[31].open_val || ""
|
|
11140
11140
|
),
|
|
11141
11141
|
hit: (
|
|
11142
11142
|
/*mode*/
|
|
11143
|
-
ctx[
|
|
11143
|
+
ctx[2] == RESULT_VIEW_TYPE$1.GOLD_TYPE ? (
|
|
11144
11144
|
/*item*/
|
|
11145
|
-
ctx[
|
|
11145
|
+
ctx[31].hit
|
|
11146
11146
|
) : 0
|
|
11147
11147
|
),
|
|
11148
11148
|
giftMark: (
|
|
11149
11149
|
/*item*/
|
|
11150
|
-
ctx[
|
|
11150
|
+
ctx[31].gift_mark
|
|
11151
11151
|
)
|
|
11152
11152
|
}
|
|
11153
11153
|
});
|
|
@@ -11163,31 +11163,31 @@ function create_each_block$4(ctx) {
|
|
|
11163
11163
|
const resultgiftitem_changes = {};
|
|
11164
11164
|
if (dirty[0] & /*result*/
|
|
11165
11165
|
1) resultgiftitem_changes.num = /*item*/
|
|
11166
|
-
ctx2[
|
|
11166
|
+
ctx2[31].uids[0].num;
|
|
11167
11167
|
if (dirty[0] & /*result*/
|
|
11168
11168
|
1) resultgiftitem_changes.src = /*item*/
|
|
11169
|
-
ctx2[
|
|
11169
|
+
ctx2[31].pic;
|
|
11170
11170
|
if (dirty[0] & /*result*/
|
|
11171
11171
|
1) resultgiftitem_changes.isBigger = /*result*/
|
|
11172
11172
|
ctx2[0].length == 1;
|
|
11173
11173
|
if (dirty[0] & /*result*/
|
|
11174
11174
|
1) resultgiftitem_changes.costly = /*item*/
|
|
11175
|
-
ctx2[
|
|
11175
|
+
ctx2[31].gift_type == 1;
|
|
11176
11176
|
if (dirty[0] & /*result*/
|
|
11177
11177
|
1) resultgiftitem_changes.title = /*item*/
|
|
11178
|
-
ctx2[
|
|
11178
|
+
ctx2[31].title;
|
|
11179
11179
|
if (dirty[0] & /*result*/
|
|
11180
11180
|
1) resultgiftitem_changes.open_val = /*item*/
|
|
11181
|
-
ctx2[
|
|
11181
|
+
ctx2[31].open_val || "";
|
|
11182
11182
|
if (dirty[0] & /*mode, result*/
|
|
11183
|
-
|
|
11184
|
-
ctx2[
|
|
11183
|
+
5) resultgiftitem_changes.hit = /*mode*/
|
|
11184
|
+
ctx2[2] == RESULT_VIEW_TYPE$1.GOLD_TYPE ? (
|
|
11185
11185
|
/*item*/
|
|
11186
|
-
ctx2[
|
|
11186
|
+
ctx2[31].hit
|
|
11187
11187
|
) : 0;
|
|
11188
11188
|
if (dirty[0] & /*result*/
|
|
11189
11189
|
1) resultgiftitem_changes.giftMark = /*item*/
|
|
11190
|
-
ctx2[
|
|
11190
|
+
ctx2[31].gift_mark;
|
|
11191
11191
|
resultgiftitem.$set(resultgiftitem_changes);
|
|
11192
11192
|
},
|
|
11193
11193
|
i(local) {
|
|
@@ -11205,6 +11205,7 @@ function create_each_block$4(ctx) {
|
|
|
11205
11205
|
};
|
|
11206
11206
|
}
|
|
11207
11207
|
function create_else_block$9(ctx) {
|
|
11208
|
+
let div3;
|
|
11208
11209
|
let t0;
|
|
11209
11210
|
let div2;
|
|
11210
11211
|
let div0;
|
|
@@ -11219,13 +11220,12 @@ function create_else_block$9(ctx) {
|
|
|
11219
11220
|
let span2;
|
|
11220
11221
|
let div1_class_value;
|
|
11221
11222
|
let t7;
|
|
11222
|
-
let if_block1_anchor;
|
|
11223
11223
|
let mounted;
|
|
11224
11224
|
let dispose;
|
|
11225
11225
|
function select_block_type_1(ctx2, dirty) {
|
|
11226
11226
|
if (
|
|
11227
11227
|
/*radioIsSelected*/
|
|
11228
|
-
ctx2[
|
|
11228
|
+
ctx2[12]
|
|
11229
11229
|
) return create_if_block_4$4;
|
|
11230
11230
|
return create_else_block_1$1;
|
|
11231
11231
|
}
|
|
@@ -11233,10 +11233,11 @@ function create_else_block$9(ctx) {
|
|
|
11233
11233
|
let if_block0 = current_block_type(ctx);
|
|
11234
11234
|
let if_block1 = (
|
|
11235
11235
|
/*expiresText*/
|
|
11236
|
-
ctx[
|
|
11236
|
+
ctx[15] && create_if_block_3$8(ctx)
|
|
11237
11237
|
);
|
|
11238
11238
|
return {
|
|
11239
11239
|
c() {
|
|
11240
|
+
div3 = element("div");
|
|
11240
11241
|
if_block0.c();
|
|
11241
11242
|
t0 = space();
|
|
11242
11243
|
div2 = element("div");
|
|
@@ -11248,33 +11249,34 @@ function create_else_block$9(ctx) {
|
|
|
11248
11249
|
t3 = space();
|
|
11249
11250
|
div1 = element("div");
|
|
11250
11251
|
span1 = element("span");
|
|
11251
|
-
span1.innerHTML = `<img alt="" class="radioImg default svelte-
|
|
11252
|
+
span1.innerHTML = `<img alt="" class="radioImg default svelte-1v070rr" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_no.png"/> <img alt="" class="radioImg selected svelte-1v070rr" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_yes.png"/>`;
|
|
11252
11253
|
t5 = space();
|
|
11253
11254
|
span2 = element("span");
|
|
11254
11255
|
span2.textContent = "自定义开启数量";
|
|
11255
11256
|
t7 = space();
|
|
11256
11257
|
if (if_block1) if_block1.c();
|
|
11257
|
-
|
|
11258
|
-
attr(
|
|
11259
|
-
attr(span0, "class", "svelte-145lhv9");
|
|
11258
|
+
attr(i, "class", "svelte-1v070rr");
|
|
11259
|
+
attr(span0, "class", "svelte-1v070rr");
|
|
11260
11260
|
attr(div0, "class", div0_class_value = null_to_empty(
|
|
11261
11261
|
/*parentIgnore*/
|
|
11262
|
-
ctx[
|
|
11263
|
-
) + " svelte-
|
|
11262
|
+
ctx[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
11263
|
+
) + " svelte-1v070rr");
|
|
11264
11264
|
attr(div0, "role", "presentation");
|
|
11265
|
-
attr(span1, "class", "spCtn svelte-
|
|
11266
|
-
attr(span2, "class", "changeWordCtn svelte-
|
|
11265
|
+
attr(span1, "class", "spCtn svelte-1v070rr");
|
|
11266
|
+
attr(span2, "class", "changeWordCtn svelte-1v070rr");
|
|
11267
11267
|
attr(div1, "role", "presentation");
|
|
11268
11268
|
attr(div1, "class", div1_class_value = null_to_empty(
|
|
11269
11269
|
/*radioIsSelected*/
|
|
11270
|
-
ctx[
|
|
11271
|
-
) + " svelte-
|
|
11272
|
-
attr(div2, "class", "footerBottomCtn svelte-
|
|
11270
|
+
ctx[12] ? "radioCtn active" : "radioCtn"
|
|
11271
|
+
) + " svelte-1v070rr");
|
|
11272
|
+
attr(div2, "class", "footerBottomCtn svelte-1v070rr");
|
|
11273
|
+
attr(div3, "class", "open-actions svelte-1v070rr");
|
|
11273
11274
|
},
|
|
11274
11275
|
m(target, anchor) {
|
|
11275
|
-
|
|
11276
|
-
|
|
11277
|
-
|
|
11276
|
+
insert(target, div3, anchor);
|
|
11277
|
+
if_block0.m(div3, null);
|
|
11278
|
+
append(div3, t0);
|
|
11279
|
+
append(div3, div2);
|
|
11278
11280
|
append(div2, div0);
|
|
11279
11281
|
append(div0, i);
|
|
11280
11282
|
append(div0, t1);
|
|
@@ -11284,22 +11286,21 @@ function create_else_block$9(ctx) {
|
|
|
11284
11286
|
append(div1, span1);
|
|
11285
11287
|
append(div1, t5);
|
|
11286
11288
|
append(div1, span2);
|
|
11287
|
-
|
|
11288
|
-
if (if_block1) if_block1.m(
|
|
11289
|
-
insert(target, if_block1_anchor, anchor);
|
|
11289
|
+
append(div3, t7);
|
|
11290
|
+
if (if_block1) if_block1.m(div3, null);
|
|
11290
11291
|
if (!mounted) {
|
|
11291
11292
|
dispose = [
|
|
11292
11293
|
listen(
|
|
11293
11294
|
div0,
|
|
11294
11295
|
"click",
|
|
11295
11296
|
/*onIgnoreHandle*/
|
|
11296
|
-
ctx[
|
|
11297
|
+
ctx[20]
|
|
11297
11298
|
),
|
|
11298
11299
|
listen(
|
|
11299
11300
|
div1,
|
|
11300
11301
|
"click",
|
|
11301
11302
|
/*handleChangeRadio*/
|
|
11302
|
-
ctx[
|
|
11303
|
+
ctx[16]
|
|
11303
11304
|
)
|
|
11304
11305
|
];
|
|
11305
11306
|
mounted = true;
|
|
@@ -11313,33 +11314,33 @@ function create_else_block$9(ctx) {
|
|
|
11313
11314
|
if_block0 = current_block_type(ctx2);
|
|
11314
11315
|
if (if_block0) {
|
|
11315
11316
|
if_block0.c();
|
|
11316
|
-
if_block0.m(
|
|
11317
|
+
if_block0.m(div3, t0);
|
|
11317
11318
|
}
|
|
11318
11319
|
}
|
|
11319
11320
|
if (dirty[0] & /*parentIgnore*/
|
|
11320
|
-
|
|
11321
|
+
8 && div0_class_value !== (div0_class_value = null_to_empty(
|
|
11321
11322
|
/*parentIgnore*/
|
|
11322
|
-
ctx2[
|
|
11323
|
-
) + " svelte-
|
|
11323
|
+
ctx2[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
11324
|
+
) + " svelte-1v070rr")) {
|
|
11324
11325
|
attr(div0, "class", div0_class_value);
|
|
11325
11326
|
}
|
|
11326
11327
|
if (dirty[0] & /*radioIsSelected*/
|
|
11327
|
-
|
|
11328
|
+
4096 && div1_class_value !== (div1_class_value = null_to_empty(
|
|
11328
11329
|
/*radioIsSelected*/
|
|
11329
|
-
ctx2[
|
|
11330
|
-
) + " svelte-
|
|
11330
|
+
ctx2[12] ? "radioCtn active" : "radioCtn"
|
|
11331
|
+
) + " svelte-1v070rr")) {
|
|
11331
11332
|
attr(div1, "class", div1_class_value);
|
|
11332
11333
|
}
|
|
11333
11334
|
if (
|
|
11334
11335
|
/*expiresText*/
|
|
11335
|
-
ctx2[
|
|
11336
|
+
ctx2[15]
|
|
11336
11337
|
) {
|
|
11337
11338
|
if (if_block1) {
|
|
11338
11339
|
if_block1.p(ctx2, dirty);
|
|
11339
11340
|
} else {
|
|
11340
11341
|
if_block1 = create_if_block_3$8(ctx2);
|
|
11341
11342
|
if_block1.c();
|
|
11342
|
-
if_block1.m(
|
|
11343
|
+
if_block1.m(div3, null);
|
|
11343
11344
|
}
|
|
11344
11345
|
} else if (if_block1) {
|
|
11345
11346
|
if_block1.d(1);
|
|
@@ -11348,13 +11349,10 @@ function create_else_block$9(ctx) {
|
|
|
11348
11349
|
},
|
|
11349
11350
|
d(detaching) {
|
|
11350
11351
|
if (detaching) {
|
|
11351
|
-
detach(
|
|
11352
|
-
detach(div2);
|
|
11353
|
-
detach(t7);
|
|
11354
|
-
detach(if_block1_anchor);
|
|
11352
|
+
detach(div3);
|
|
11355
11353
|
}
|
|
11356
|
-
if_block0.d(
|
|
11357
|
-
if (if_block1) if_block1.d(
|
|
11354
|
+
if_block0.d();
|
|
11355
|
+
if (if_block1) if_block1.d();
|
|
11358
11356
|
mounted = false;
|
|
11359
11357
|
run_all(dispose);
|
|
11360
11358
|
}
|
|
@@ -11380,10 +11378,10 @@ function create_if_block$d(ctx) {
|
|
|
11380
11378
|
let dispose;
|
|
11381
11379
|
let if_block0 = (
|
|
11382
11380
|
/*showCrit*/
|
|
11383
|
-
ctx[
|
|
11381
|
+
ctx[13] && create_if_block_2$b()
|
|
11384
11382
|
);
|
|
11385
11383
|
let if_block1 = (
|
|
11386
|
-
/*
|
|
11384
|
+
/*goldRemark*/
|
|
11387
11385
|
ctx[14] && create_if_block_1$d(ctx)
|
|
11388
11386
|
);
|
|
11389
11387
|
return {
|
|
@@ -11409,20 +11407,20 @@ function create_if_block$d(ctx) {
|
|
|
11409
11407
|
t7 = space();
|
|
11410
11408
|
span = element("span");
|
|
11411
11409
|
span.textContent = "开启免动画模式";
|
|
11412
|
-
attr(div0, "class", "result_action svelte-
|
|
11410
|
+
attr(div0, "class", "result_action svelte-1v070rr");
|
|
11413
11411
|
attr(div0, "role", "presentation");
|
|
11414
11412
|
set_style(div0, "margin-right", "10px");
|
|
11415
11413
|
attr(div1, "role", "presentation");
|
|
11416
|
-
attr(div1, "class", "result_action svelte-
|
|
11417
|
-
attr(div2, "class", "result_action_container svelte-
|
|
11418
|
-
attr(i, "class", "svelte-
|
|
11419
|
-
attr(span, "class", "svelte-
|
|
11414
|
+
attr(div1, "class", "result_action svelte-1v070rr");
|
|
11415
|
+
attr(div2, "class", "result_action_container svelte-1v070rr");
|
|
11416
|
+
attr(i, "class", "svelte-1v070rr");
|
|
11417
|
+
attr(span, "class", "svelte-1v070rr");
|
|
11420
11418
|
attr(div3, "class", div3_class_value = null_to_empty(
|
|
11421
11419
|
/*parentIgnore*/
|
|
11422
|
-
ctx[
|
|
11423
|
-
) + " svelte-
|
|
11420
|
+
ctx[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
11421
|
+
) + " svelte-1v070rr");
|
|
11424
11422
|
attr(div3, "role", "presentation");
|
|
11425
|
-
attr(div4, "class", "result_info_container svelte-
|
|
11423
|
+
attr(div4, "class", "result_info_container svelte-1v070rr");
|
|
11426
11424
|
set_style(div4, "justify-content", "space-evenly");
|
|
11427
11425
|
},
|
|
11428
11426
|
m(target, anchor) {
|
|
@@ -11448,19 +11446,19 @@ function create_if_block$d(ctx) {
|
|
|
11448
11446
|
div0,
|
|
11449
11447
|
"click",
|
|
11450
11448
|
/*onCloseHandle*/
|
|
11451
|
-
ctx[
|
|
11449
|
+
ctx[19]
|
|
11452
11450
|
),
|
|
11453
11451
|
listen(
|
|
11454
11452
|
div1,
|
|
11455
11453
|
"click",
|
|
11456
11454
|
/*onBuy*/
|
|
11457
|
-
ctx[
|
|
11455
|
+
ctx[21]
|
|
11458
11456
|
),
|
|
11459
11457
|
listen(
|
|
11460
11458
|
div3,
|
|
11461
11459
|
"click",
|
|
11462
11460
|
/*onIgnoreHandle*/
|
|
11463
|
-
ctx[
|
|
11461
|
+
ctx[20]
|
|
11464
11462
|
)
|
|
11465
11463
|
];
|
|
11466
11464
|
mounted = true;
|
|
@@ -11475,7 +11473,7 @@ function create_if_block$d(ctx) {
|
|
|
11475
11473
|
);
|
|
11476
11474
|
if (
|
|
11477
11475
|
/*showCrit*/
|
|
11478
|
-
ctx2[
|
|
11476
|
+
ctx2[13]
|
|
11479
11477
|
) {
|
|
11480
11478
|
if (if_block0) {
|
|
11481
11479
|
if_block0.p(ctx2, dirty);
|
|
@@ -11489,7 +11487,7 @@ function create_if_block$d(ctx) {
|
|
|
11489
11487
|
if_block0 = null;
|
|
11490
11488
|
}
|
|
11491
11489
|
if (
|
|
11492
|
-
/*
|
|
11490
|
+
/*goldRemark*/
|
|
11493
11491
|
ctx2[14]
|
|
11494
11492
|
) {
|
|
11495
11493
|
if (if_block1) {
|
|
@@ -11504,10 +11502,10 @@ function create_if_block$d(ctx) {
|
|
|
11504
11502
|
if_block1 = null;
|
|
11505
11503
|
}
|
|
11506
11504
|
if (dirty[0] & /*parentIgnore*/
|
|
11507
|
-
|
|
11505
|
+
8 && div3_class_value !== (div3_class_value = null_to_empty(
|
|
11508
11506
|
/*parentIgnore*/
|
|
11509
|
-
ctx2[
|
|
11510
|
-
) + " svelte-
|
|
11507
|
+
ctx2[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
11508
|
+
) + " svelte-1v070rr")) {
|
|
11511
11509
|
attr(div3, "class", div3_class_value);
|
|
11512
11510
|
}
|
|
11513
11511
|
},
|
|
@@ -11536,7 +11534,7 @@ function create_else_block_1$1(ctx) {
|
|
|
11536
11534
|
let dispose;
|
|
11537
11535
|
let if_block = (
|
|
11538
11536
|
/*showCrit*/
|
|
11539
|
-
ctx[
|
|
11537
|
+
ctx[13] && create_if_block_6$2()
|
|
11540
11538
|
);
|
|
11541
11539
|
return {
|
|
11542
11540
|
c() {
|
|
@@ -11548,16 +11546,15 @@ function create_else_block_1$1(ctx) {
|
|
|
11548
11546
|
t2 = text("再开启");
|
|
11549
11547
|
t3 = text(
|
|
11550
11548
|
/*lastOpenTimes*/
|
|
11551
|
-
ctx[
|
|
11549
|
+
ctx[9]
|
|
11552
11550
|
);
|
|
11553
11551
|
t4 = text("次\r\n ");
|
|
11554
11552
|
if (if_block) if_block.c();
|
|
11555
|
-
attr(div0, "class", "
|
|
11553
|
+
attr(div0, "class", "normalBtn svelte-1v070rr");
|
|
11556
11554
|
attr(div0, "role", "presentation");
|
|
11557
|
-
set_style(div0, "margin-right", "10px");
|
|
11558
11555
|
attr(div1, "role", "presentation");
|
|
11559
|
-
attr(div1, "class", "
|
|
11560
|
-
attr(div2, "class", "
|
|
11556
|
+
attr(div1, "class", "normalBtn againBtn svelte-1v070rr");
|
|
11557
|
+
attr(div2, "class", "buttonCtn svelte-1v070rr");
|
|
11561
11558
|
},
|
|
11562
11559
|
m(target, anchor) {
|
|
11563
11560
|
insert(target, div2, anchor);
|
|
@@ -11574,13 +11571,13 @@ function create_else_block_1$1(ctx) {
|
|
|
11574
11571
|
div0,
|
|
11575
11572
|
"click",
|
|
11576
11573
|
/*onCloseHandle*/
|
|
11577
|
-
ctx[
|
|
11574
|
+
ctx[19]
|
|
11578
11575
|
),
|
|
11579
11576
|
listen(
|
|
11580
11577
|
div1,
|
|
11581
11578
|
"click",
|
|
11582
11579
|
/*click_handler*/
|
|
11583
|
-
ctx[
|
|
11580
|
+
ctx[27]
|
|
11584
11581
|
)
|
|
11585
11582
|
];
|
|
11586
11583
|
mounted = true;
|
|
@@ -11588,14 +11585,14 @@ function create_else_block_1$1(ctx) {
|
|
|
11588
11585
|
},
|
|
11589
11586
|
p(ctx2, dirty) {
|
|
11590
11587
|
if (dirty[0] & /*lastOpenTimes*/
|
|
11591
|
-
|
|
11588
|
+
512) set_data(
|
|
11592
11589
|
t3,
|
|
11593
11590
|
/*lastOpenTimes*/
|
|
11594
|
-
ctx2[
|
|
11591
|
+
ctx2[9]
|
|
11595
11592
|
);
|
|
11596
11593
|
if (
|
|
11597
11594
|
/*showCrit*/
|
|
11598
|
-
ctx2[
|
|
11595
|
+
ctx2[13]
|
|
11599
11596
|
) {
|
|
11600
11597
|
if (if_block) {
|
|
11601
11598
|
if_block.p(ctx2, dirty);
|
|
@@ -11632,8 +11629,8 @@ function create_if_block_4$4(ctx) {
|
|
|
11632
11629
|
let dispose;
|
|
11633
11630
|
let if_block = (
|
|
11634
11631
|
/*times*/
|
|
11635
|
-
ctx[
|
|
11636
|
-
ctx[
|
|
11632
|
+
ctx[11] && /*unit_price*/
|
|
11633
|
+
ctx[10] && create_if_block_5$3(ctx)
|
|
11637
11634
|
);
|
|
11638
11635
|
return {
|
|
11639
11636
|
c() {
|
|
@@ -11647,17 +11644,15 @@ function create_if_block_4$4(ctx) {
|
|
|
11647
11644
|
t1 = space();
|
|
11648
11645
|
div2 = element("div");
|
|
11649
11646
|
div2.textContent = "确定";
|
|
11650
|
-
attr(input, "class", "inp svelte-
|
|
11647
|
+
attr(input, "class", "inp svelte-1v070rr");
|
|
11651
11648
|
attr(input, "placeholder", "输入数量");
|
|
11652
11649
|
attr(input, "type", "number");
|
|
11653
|
-
attr(div0, "class", "svelte-
|
|
11654
|
-
attr(div1, "class", "inputNumWarpper svelte-
|
|
11650
|
+
attr(div0, "class", "svelte-1v070rr");
|
|
11651
|
+
attr(div1, "class", "inputNumWarpper svelte-1v070rr");
|
|
11655
11652
|
attr(div2, "role", "presentation");
|
|
11656
|
-
attr(div2, "class", "smallBtnCtn svelte-
|
|
11657
|
-
attr(div3, "class", "inputNumCtn svelte-
|
|
11658
|
-
attr(div4, "class", "buttonCtn svelte-
|
|
11659
|
-
set_style(div4, "display", "flex");
|
|
11660
|
-
set_style(div4, "justify-content", "center");
|
|
11653
|
+
attr(div2, "class", "smallBtnCtn svelte-1v070rr");
|
|
11654
|
+
attr(div3, "class", "inputNumCtn svelte-1v070rr");
|
|
11655
|
+
attr(div4, "class", "buttonCtn svelte-1v070rr");
|
|
11661
11656
|
},
|
|
11662
11657
|
m(target, anchor) {
|
|
11663
11658
|
insert(target, div4, anchor);
|
|
@@ -11667,7 +11662,7 @@ function create_if_block_4$4(ctx) {
|
|
|
11667
11662
|
set_input_value(
|
|
11668
11663
|
input,
|
|
11669
11664
|
/*times*/
|
|
11670
|
-
ctx[
|
|
11665
|
+
ctx[11]
|
|
11671
11666
|
);
|
|
11672
11667
|
append(div1, t0);
|
|
11673
11668
|
append(div1, div0);
|
|
@@ -11680,19 +11675,19 @@ function create_if_block_4$4(ctx) {
|
|
|
11680
11675
|
input,
|
|
11681
11676
|
"input",
|
|
11682
11677
|
/*input_input_handler*/
|
|
11683
|
-
ctx[
|
|
11678
|
+
ctx[25]
|
|
11684
11679
|
),
|
|
11685
11680
|
listen(
|
|
11686
11681
|
input,
|
|
11687
11682
|
"input",
|
|
11688
11683
|
/*input_handler*/
|
|
11689
|
-
ctx[
|
|
11684
|
+
ctx[26]
|
|
11690
11685
|
),
|
|
11691
11686
|
listen(
|
|
11692
11687
|
div2,
|
|
11693
11688
|
"click",
|
|
11694
11689
|
/*handleOpenAnyTimes*/
|
|
11695
|
-
ctx[
|
|
11690
|
+
ctx[18]
|
|
11696
11691
|
)
|
|
11697
11692
|
];
|
|
11698
11693
|
mounted = true;
|
|
@@ -11700,18 +11695,18 @@ function create_if_block_4$4(ctx) {
|
|
|
11700
11695
|
},
|
|
11701
11696
|
p(ctx2, dirty) {
|
|
11702
11697
|
if (dirty[0] & /*times*/
|
|
11703
|
-
|
|
11704
|
-
ctx2[
|
|
11698
|
+
2048 && to_number(input.value) !== /*times*/
|
|
11699
|
+
ctx2[11]) {
|
|
11705
11700
|
set_input_value(
|
|
11706
11701
|
input,
|
|
11707
11702
|
/*times*/
|
|
11708
|
-
ctx2[
|
|
11703
|
+
ctx2[11]
|
|
11709
11704
|
);
|
|
11710
11705
|
}
|
|
11711
11706
|
if (
|
|
11712
11707
|
/*times*/
|
|
11713
|
-
ctx2[
|
|
11714
|
-
ctx2[
|
|
11708
|
+
ctx2[11] && /*unit_price*/
|
|
11709
|
+
ctx2[10]
|
|
11715
11710
|
) {
|
|
11716
11711
|
if (if_block) {
|
|
11717
11712
|
if_block.p(ctx2, dirty);
|
|
@@ -11741,7 +11736,7 @@ function create_if_block_6$2(ctx) {
|
|
|
11741
11736
|
return {
|
|
11742
11737
|
c() {
|
|
11743
11738
|
img = element("img");
|
|
11744
|
-
attr(img, "class", "critIcon svelte-
|
|
11739
|
+
attr(img, "class", "critIcon svelte-1v070rr");
|
|
11745
11740
|
if (!src_url_equal(img.src, img_src_value = CRIT_ICON$2)) attr(img, "src", img_src_value);
|
|
11746
11741
|
attr(img, "alt", "");
|
|
11747
11742
|
},
|
|
@@ -11760,8 +11755,8 @@ function create_if_block_5$3(ctx) {
|
|
|
11760
11755
|
let span;
|
|
11761
11756
|
let t0_value = (
|
|
11762
11757
|
/*times*/
|
|
11763
|
-
ctx[
|
|
11764
|
-
ctx[
|
|
11758
|
+
ctx[11] * /*unit_price*/
|
|
11759
|
+
ctx[10] + ""
|
|
11765
11760
|
);
|
|
11766
11761
|
let t0;
|
|
11767
11762
|
let t1;
|
|
@@ -11770,7 +11765,7 @@ function create_if_block_5$3(ctx) {
|
|
|
11770
11765
|
span = element("span");
|
|
11771
11766
|
t0 = text(t0_value);
|
|
11772
11767
|
t1 = text("紫晶");
|
|
11773
|
-
attr(span, "class", "svelte-
|
|
11768
|
+
attr(span, "class", "svelte-1v070rr");
|
|
11774
11769
|
},
|
|
11775
11770
|
m(target, anchor) {
|
|
11776
11771
|
insert(target, span, anchor);
|
|
@@ -11779,9 +11774,9 @@ function create_if_block_5$3(ctx) {
|
|
|
11779
11774
|
},
|
|
11780
11775
|
p(ctx2, dirty) {
|
|
11781
11776
|
if (dirty[0] & /*times, unit_price*/
|
|
11782
|
-
|
|
11783
|
-
ctx2[
|
|
11784
|
-
ctx2[
|
|
11777
|
+
3072 && t0_value !== (t0_value = /*times*/
|
|
11778
|
+
ctx2[11] * /*unit_price*/
|
|
11779
|
+
ctx2[10] + "")) set_data(t0, t0_value);
|
|
11785
11780
|
},
|
|
11786
11781
|
d(detaching) {
|
|
11787
11782
|
if (detaching) {
|
|
@@ -11798,9 +11793,9 @@ function create_if_block_3$8(ctx) {
|
|
|
11798
11793
|
div = element("div");
|
|
11799
11794
|
t = text(
|
|
11800
11795
|
/*expiresText*/
|
|
11801
|
-
ctx[
|
|
11796
|
+
ctx[15]
|
|
11802
11797
|
);
|
|
11803
|
-
attr(div, "class", "expiresTips svelte-
|
|
11798
|
+
attr(div, "class", "expiresTips svelte-1v070rr");
|
|
11804
11799
|
},
|
|
11805
11800
|
m(target, anchor) {
|
|
11806
11801
|
insert(target, div, anchor);
|
|
@@ -11808,10 +11803,10 @@ function create_if_block_3$8(ctx) {
|
|
|
11808
11803
|
},
|
|
11809
11804
|
p(ctx2, dirty) {
|
|
11810
11805
|
if (dirty[0] & /*expiresText*/
|
|
11811
|
-
|
|
11806
|
+
32768) set_data(
|
|
11812
11807
|
t,
|
|
11813
11808
|
/*expiresText*/
|
|
11814
|
-
ctx2[
|
|
11809
|
+
ctx2[15]
|
|
11815
11810
|
);
|
|
11816
11811
|
},
|
|
11817
11812
|
d(detaching) {
|
|
@@ -11827,7 +11822,7 @@ function create_if_block_2$b(ctx) {
|
|
|
11827
11822
|
return {
|
|
11828
11823
|
c() {
|
|
11829
11824
|
img = element("img");
|
|
11830
|
-
attr(img, "class", "critIcon svelte-
|
|
11825
|
+
attr(img, "class", "critIcon svelte-1v070rr");
|
|
11831
11826
|
if (!src_url_equal(img.src, img_src_value = CRIT_ICON$2)) attr(img, "src", img_src_value);
|
|
11832
11827
|
attr(img, "alt", "");
|
|
11833
11828
|
},
|
|
@@ -11851,10 +11846,10 @@ function create_if_block_1$d(ctx) {
|
|
|
11851
11846
|
div = element("div");
|
|
11852
11847
|
span = element("span");
|
|
11853
11848
|
t = text(
|
|
11854
|
-
/*
|
|
11849
|
+
/*goldRemark*/
|
|
11855
11850
|
ctx[14]
|
|
11856
11851
|
);
|
|
11857
|
-
attr(span, "class", "svelte-
|
|
11852
|
+
attr(span, "class", "svelte-1v070rr");
|
|
11858
11853
|
attr(div, "class", "result_info_content");
|
|
11859
11854
|
},
|
|
11860
11855
|
m(target, anchor) {
|
|
@@ -11863,10 +11858,10 @@ function create_if_block_1$d(ctx) {
|
|
|
11863
11858
|
append(span, t);
|
|
11864
11859
|
},
|
|
11865
11860
|
p(ctx2, dirty) {
|
|
11866
|
-
if (dirty[0] & /*
|
|
11861
|
+
if (dirty[0] & /*goldRemark*/
|
|
11867
11862
|
16384) set_data(
|
|
11868
11863
|
t,
|
|
11869
|
-
/*
|
|
11864
|
+
/*goldRemark*/
|
|
11870
11865
|
ctx2[14]
|
|
11871
11866
|
);
|
|
11872
11867
|
},
|
|
@@ -11899,7 +11894,7 @@ function create_fragment$d(ctx) {
|
|
|
11899
11894
|
let t7;
|
|
11900
11895
|
let show_if = Number(
|
|
11901
11896
|
/*hitTimes*/
|
|
11902
|
-
ctx[
|
|
11897
|
+
ctx[8]
|
|
11903
11898
|
) > 0;
|
|
11904
11899
|
let t8;
|
|
11905
11900
|
let div5;
|
|
@@ -11912,7 +11907,7 @@ function create_fragment$d(ctx) {
|
|
|
11912
11907
|
let current;
|
|
11913
11908
|
let if_block0 = (
|
|
11914
11909
|
/*mode*/
|
|
11915
|
-
ctx[
|
|
11910
|
+
ctx[2] == RESULT_VIEW_TYPE$1.GOLD_TYPE && create_if_block_8(ctx)
|
|
11916
11911
|
);
|
|
11917
11912
|
let if_block1 = show_if && create_if_block_7(ctx);
|
|
11918
11913
|
let each_value = ensure_array_like(
|
|
@@ -11929,7 +11924,7 @@ function create_fragment$d(ctx) {
|
|
|
11929
11924
|
function select_block_type(ctx2, dirty) {
|
|
11930
11925
|
if (
|
|
11931
11926
|
/*mode*/
|
|
11932
|
-
ctx2[
|
|
11927
|
+
ctx2[2] == RESULT_VIEW_TYPE$1.GOLD_TYPE
|
|
11933
11928
|
) return create_if_block$d;
|
|
11934
11929
|
return create_else_block$9;
|
|
11935
11930
|
}
|
|
@@ -11939,7 +11934,7 @@ function create_fragment$d(ctx) {
|
|
|
11939
11934
|
c() {
|
|
11940
11935
|
div7 = element("div");
|
|
11941
11936
|
div0 = element("div");
|
|
11942
|
-
div0.innerHTML = `<img src="https://asset.tuwan.com/goldMagic/resultTitle.png?v1" alt="" class="svelte-
|
|
11937
|
+
div0.innerHTML = `<img src="https://asset.tuwan.com/goldMagic/resultTitle.png?v1" alt="" class="svelte-1v070rr"/>`;
|
|
11943
11938
|
t0 = space();
|
|
11944
11939
|
div3 = element("div");
|
|
11945
11940
|
div1 = element("div");
|
|
@@ -11948,7 +11943,7 @@ function create_fragment$d(ctx) {
|
|
|
11948
11943
|
span0 = element("span");
|
|
11949
11944
|
t2 = text(
|
|
11950
11945
|
/*diamondStr*/
|
|
11951
|
-
ctx[
|
|
11946
|
+
ctx[5]
|
|
11952
11947
|
);
|
|
11953
11948
|
t3 = space();
|
|
11954
11949
|
div2 = element("div");
|
|
@@ -11957,7 +11952,7 @@ function create_fragment$d(ctx) {
|
|
|
11957
11952
|
span1 = element("span");
|
|
11958
11953
|
t5 = text(
|
|
11959
11954
|
/*numberStr*/
|
|
11960
|
-
ctx[
|
|
11955
|
+
ctx[6]
|
|
11961
11956
|
);
|
|
11962
11957
|
t6 = space();
|
|
11963
11958
|
if (if_block0) if_block0.c();
|
|
@@ -11973,25 +11968,25 @@ function create_fragment$d(ctx) {
|
|
|
11973
11968
|
if_block2.c();
|
|
11974
11969
|
t10 = space();
|
|
11975
11970
|
div6 = element("div");
|
|
11976
|
-
attr(div0, "class", "openGiftTitle svelte-
|
|
11977
|
-
attr(img1, "class", "imgIcon svelte-
|
|
11971
|
+
attr(div0, "class", "openGiftTitle svelte-1v070rr");
|
|
11972
|
+
attr(img1, "class", "imgIcon svelte-1v070rr");
|
|
11978
11973
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/goldMagic/diamondTabIcon.png")) attr(img1, "src", img1_src_value);
|
|
11979
11974
|
attr(img1, "alt", "");
|
|
11980
|
-
attr(span0, "class", "wordCtn svelte-
|
|
11981
|
-
attr(div1, "class", "subCtn svelte-
|
|
11982
|
-
attr(img2, "class", "imgIcon svelte-
|
|
11975
|
+
attr(span0, "class", "wordCtn svelte-1v070rr");
|
|
11976
|
+
attr(div1, "class", "subCtn svelte-1v070rr");
|
|
11977
|
+
attr(img2, "class", "imgIcon svelte-1v070rr");
|
|
11983
11978
|
if (!src_url_equal(img2.src, img2_src_value = "https://asset.tuwan.com/goldMagic/magicTabIcon.png")) attr(img2, "src", img2_src_value);
|
|
11984
11979
|
attr(img2, "alt", "");
|
|
11985
|
-
attr(span1, "class", "wordCtn svelte-
|
|
11986
|
-
attr(div2, "class", "subCtn svelte-
|
|
11987
|
-
attr(div3, "class", "leftTopCtn svelte-
|
|
11988
|
-
attr(div4, "class", "result_content svelte-
|
|
11980
|
+
attr(span1, "class", "wordCtn svelte-1v070rr");
|
|
11981
|
+
attr(div2, "class", "subCtn svelte-1v070rr");
|
|
11982
|
+
attr(div3, "class", "leftTopCtn svelte-1v070rr");
|
|
11983
|
+
attr(div4, "class", "result_content svelte-1v070rr");
|
|
11989
11984
|
attr(div5, "class", div5_class_value = /*result*/
|
|
11990
11985
|
(ctx[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
11991
|
-
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
11992
|
-
attr(div6, "class", "result_vap_anim svelte-
|
|
11986
|
+
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-1v070rr");
|
|
11987
|
+
attr(div6, "class", "result_vap_anim svelte-1v070rr");
|
|
11993
11988
|
attr(div7, "class", div7_class_value = "result_container " + /*mode*/
|
|
11994
|
-
(ctx[
|
|
11989
|
+
(ctx[2] == RESULT_VIEW_TYPE$1.CRYSTAL_TYPE ? "" : "glod") + " svelte-1v070rr");
|
|
11995
11990
|
},
|
|
11996
11991
|
m(target, anchor) {
|
|
11997
11992
|
insert(target, div7, anchor);
|
|
@@ -12025,25 +12020,25 @@ function create_fragment$d(ctx) {
|
|
|
12025
12020
|
if_block2.m(div7, null);
|
|
12026
12021
|
append(div7, t10);
|
|
12027
12022
|
append(div7, div6);
|
|
12028
|
-
ctx[
|
|
12023
|
+
ctx[28](div6);
|
|
12029
12024
|
current = true;
|
|
12030
12025
|
},
|
|
12031
12026
|
p(ctx2, dirty) {
|
|
12032
12027
|
if (!current || dirty[0] & /*diamondStr*/
|
|
12033
|
-
|
|
12028
|
+
32) set_data(
|
|
12034
12029
|
t2,
|
|
12035
12030
|
/*diamondStr*/
|
|
12036
|
-
ctx2[
|
|
12031
|
+
ctx2[5]
|
|
12037
12032
|
);
|
|
12038
12033
|
if (!current || dirty[0] & /*numberStr*/
|
|
12039
|
-
|
|
12034
|
+
64) set_data(
|
|
12040
12035
|
t5,
|
|
12041
12036
|
/*numberStr*/
|
|
12042
|
-
ctx2[
|
|
12037
|
+
ctx2[6]
|
|
12043
12038
|
);
|
|
12044
12039
|
if (
|
|
12045
12040
|
/*mode*/
|
|
12046
|
-
ctx2[
|
|
12041
|
+
ctx2[2] == RESULT_VIEW_TYPE$1.GOLD_TYPE
|
|
12047
12042
|
) {
|
|
12048
12043
|
if (if_block0) {
|
|
12049
12044
|
if_block0.p(ctx2, dirty);
|
|
@@ -12057,9 +12052,9 @@ function create_fragment$d(ctx) {
|
|
|
12057
12052
|
if_block0 = null;
|
|
12058
12053
|
}
|
|
12059
12054
|
if (dirty[0] & /*hitTimes*/
|
|
12060
|
-
|
|
12055
|
+
256) show_if = Number(
|
|
12061
12056
|
/*hitTimes*/
|
|
12062
|
-
ctx2[
|
|
12057
|
+
ctx2[8]
|
|
12063
12058
|
) > 0;
|
|
12064
12059
|
if (show_if) {
|
|
12065
12060
|
if (if_block1) {
|
|
@@ -12074,7 +12069,7 @@ function create_fragment$d(ctx) {
|
|
|
12074
12069
|
if_block1 = null;
|
|
12075
12070
|
}
|
|
12076
12071
|
if (dirty[0] & /*result, mode*/
|
|
12077
|
-
|
|
12072
|
+
5) {
|
|
12078
12073
|
each_value = ensure_array_like(
|
|
12079
12074
|
/*result*/
|
|
12080
12075
|
ctx2[0]
|
|
@@ -12101,7 +12096,7 @@ function create_fragment$d(ctx) {
|
|
|
12101
12096
|
if (!current || dirty[0] & /*result*/
|
|
12102
12097
|
1 && div5_class_value !== (div5_class_value = /*result*/
|
|
12103
12098
|
(ctx2[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
12104
|
-
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
12099
|
+
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-1v070rr")) {
|
|
12105
12100
|
attr(div5, "class", div5_class_value);
|
|
12106
12101
|
}
|
|
12107
12102
|
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block2) {
|
|
@@ -12115,8 +12110,8 @@ function create_fragment$d(ctx) {
|
|
|
12115
12110
|
}
|
|
12116
12111
|
}
|
|
12117
12112
|
if (!current || dirty[0] & /*mode*/
|
|
12118
|
-
|
|
12119
|
-
(ctx2[
|
|
12113
|
+
4 && div7_class_value !== (div7_class_value = "result_container " + /*mode*/
|
|
12114
|
+
(ctx2[2] == RESULT_VIEW_TYPE$1.CRYSTAL_TYPE ? "" : "glod") + " svelte-1v070rr")) {
|
|
12120
12115
|
attr(div7, "class", div7_class_value);
|
|
12121
12116
|
}
|
|
12122
12117
|
},
|
|
@@ -12142,39 +12137,41 @@ function create_fragment$d(ctx) {
|
|
|
12142
12137
|
if (if_block1) if_block1.d();
|
|
12143
12138
|
destroy_each(each_blocks, detaching);
|
|
12144
12139
|
if_block2.d();
|
|
12145
|
-
ctx[
|
|
12140
|
+
ctx[28](null);
|
|
12146
12141
|
}
|
|
12147
12142
|
};
|
|
12148
12143
|
}
|
|
12149
12144
|
const CRIT_ICON$2 = "https://dynamics-share.tuwan.com/activity/320d878f51a28133b37d75880110ad3c.png?x-oss-process=image/format,webp/ignore-error,1";
|
|
12150
12145
|
function instance$d($$self, $$props, $$invalidate) {
|
|
12151
12146
|
let expiresText;
|
|
12147
|
+
let goldRemark;
|
|
12148
|
+
let showCrit;
|
|
12152
12149
|
let { num = 10 } = $$props;
|
|
12153
12150
|
let { result = [] } = $$props;
|
|
12154
12151
|
let { onClose } = $$props;
|
|
12155
12152
|
let { mode = RESULT_VIEW_TYPE$1.CRYSTAL_TYPE } = $$props;
|
|
12156
12153
|
let { parentIgnore = false } = $$props;
|
|
12157
12154
|
let { handelChangeIgnore } = $$props;
|
|
12158
|
-
let { showCrit = false } = $$props;
|
|
12159
12155
|
let animEl;
|
|
12160
12156
|
let diamondStr = "0";
|
|
12161
12157
|
let numberStr = "0";
|
|
12162
12158
|
let glodNum = "0";
|
|
12163
12159
|
let hitTimes = 0;
|
|
12160
|
+
let remark = "";
|
|
12164
12161
|
let loading = false;
|
|
12165
12162
|
let lastOpenTimes = num;
|
|
12166
12163
|
let unit_price = 0;
|
|
12167
12164
|
let times;
|
|
12168
12165
|
let radioIsSelected = false;
|
|
12169
12166
|
let handleChangeRadio = function() {
|
|
12170
|
-
$$invalidate(
|
|
12167
|
+
$$invalidate(12, radioIsSelected = !radioIsSelected);
|
|
12171
12168
|
if (!radioIsSelected) {
|
|
12172
|
-
$$invalidate(
|
|
12169
|
+
$$invalidate(11, times = void 0);
|
|
12173
12170
|
}
|
|
12174
12171
|
};
|
|
12175
12172
|
function handleOpenGift(count = 1) {
|
|
12176
12173
|
if (loading) return;
|
|
12177
|
-
$$invalidate(
|
|
12174
|
+
$$invalidate(9, lastOpenTimes = count);
|
|
12178
12175
|
$$invalidate(1, num = count);
|
|
12179
12176
|
onBuy();
|
|
12180
12177
|
}
|
|
@@ -12237,8 +12234,8 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
12237
12234
|
},
|
|
12238
12235
|
500
|
|
12239
12236
|
);
|
|
12240
|
-
$$invalidate(2, showCrit = Number(res["total-process"]) == 1);
|
|
12241
12237
|
res.data._expires = res.expires || [];
|
|
12238
|
+
res.data._totalProcess = res["total-process"];
|
|
12242
12239
|
$$invalidate(0, result = []);
|
|
12243
12240
|
if (parentIgnore) {
|
|
12244
12241
|
setTimeout(
|
|
@@ -12297,11 +12294,12 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
12297
12294
|
requestApi(OpenGiftUrls.getTreasureInfo(mode)).then((res) => {
|
|
12298
12295
|
loading = false;
|
|
12299
12296
|
if (res.error == 0) {
|
|
12300
|
-
$$invalidate(
|
|
12301
|
-
$$invalidate(
|
|
12302
|
-
$$invalidate(
|
|
12303
|
-
$$invalidate(
|
|
12304
|
-
$$invalidate(
|
|
12297
|
+
$$invalidate(5, diamondStr = res.data.diamond_str);
|
|
12298
|
+
$$invalidate(6, numberStr = res.data.number_str);
|
|
12299
|
+
$$invalidate(7, glodNum = res.data.glod_num);
|
|
12300
|
+
$$invalidate(8, hitTimes = res.data.hit_times);
|
|
12301
|
+
$$invalidate(24, remark = res.data.remark || "");
|
|
12302
|
+
$$invalidate(10, unit_price = res.data.unit_price || 0);
|
|
12305
12303
|
refreshHaveGift();
|
|
12306
12304
|
} else {
|
|
12307
12305
|
showTips(res.error_msg);
|
|
@@ -12313,37 +12311,43 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
12313
12311
|
});
|
|
12314
12312
|
function input_input_handler() {
|
|
12315
12313
|
times = to_number(this.value);
|
|
12316
|
-
$$invalidate(
|
|
12314
|
+
$$invalidate(11, times);
|
|
12317
12315
|
}
|
|
12318
12316
|
const input_handler = (event) => {
|
|
12319
|
-
$$invalidate(
|
|
12317
|
+
$$invalidate(11, times = event.target.value.slice(0, 4));
|
|
12320
12318
|
};
|
|
12321
12319
|
const click_handler = () => handleOpenGift(lastOpenTimes);
|
|
12322
12320
|
function div6_binding($$value) {
|
|
12323
12321
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
12324
12322
|
animEl = $$value;
|
|
12325
|
-
$$invalidate(
|
|
12323
|
+
$$invalidate(4, animEl);
|
|
12326
12324
|
});
|
|
12327
12325
|
}
|
|
12328
12326
|
$$self.$$set = ($$props2) => {
|
|
12329
12327
|
if ("num" in $$props2) $$invalidate(1, num = $$props2.num);
|
|
12330
12328
|
if ("result" in $$props2) $$invalidate(0, result = $$props2.result);
|
|
12331
|
-
if ("onClose" in $$props2) $$invalidate(
|
|
12332
|
-
if ("mode" in $$props2) $$invalidate(
|
|
12333
|
-
if ("parentIgnore" in $$props2) $$invalidate(
|
|
12334
|
-
if ("handelChangeIgnore" in $$props2) $$invalidate(
|
|
12335
|
-
if ("showCrit" in $$props2) $$invalidate(2, showCrit = $$props2.showCrit);
|
|
12329
|
+
if ("onClose" in $$props2) $$invalidate(22, onClose = $$props2.onClose);
|
|
12330
|
+
if ("mode" in $$props2) $$invalidate(2, mode = $$props2.mode);
|
|
12331
|
+
if ("parentIgnore" in $$props2) $$invalidate(3, parentIgnore = $$props2.parentIgnore);
|
|
12332
|
+
if ("handelChangeIgnore" in $$props2) $$invalidate(23, handelChangeIgnore = $$props2.handelChangeIgnore);
|
|
12336
12333
|
};
|
|
12337
12334
|
$$self.$$.update = () => {
|
|
12338
12335
|
if ($$self.$$.dirty[0] & /*result*/
|
|
12339
12336
|
1) {
|
|
12340
|
-
$$invalidate(
|
|
12337
|
+
$$invalidate(15, expiresText = (result._expires || []).join(""));
|
|
12338
|
+
}
|
|
12339
|
+
if ($$self.$$.dirty[0] & /*remark*/
|
|
12340
|
+
16777216) {
|
|
12341
|
+
$$invalidate(14, goldRemark = remark || "");
|
|
12342
|
+
}
|
|
12343
|
+
if ($$self.$$.dirty[0] & /*result*/
|
|
12344
|
+
1) {
|
|
12345
|
+
$$invalidate(13, showCrit = result._totalProcess === 1 || result._totalProcess === "1");
|
|
12341
12346
|
}
|
|
12342
12347
|
};
|
|
12343
12348
|
return [
|
|
12344
12349
|
result,
|
|
12345
12350
|
num,
|
|
12346
|
-
showCrit,
|
|
12347
12351
|
mode,
|
|
12348
12352
|
parentIgnore,
|
|
12349
12353
|
animEl,
|
|
@@ -12355,6 +12359,8 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
12355
12359
|
unit_price,
|
|
12356
12360
|
times,
|
|
12357
12361
|
radioIsSelected,
|
|
12362
|
+
showCrit,
|
|
12363
|
+
goldRemark,
|
|
12358
12364
|
expiresText,
|
|
12359
12365
|
handleChangeRadio,
|
|
12360
12366
|
handleOpenGift,
|
|
@@ -12364,6 +12370,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
12364
12370
|
onBuy,
|
|
12365
12371
|
onClose,
|
|
12366
12372
|
handelChangeIgnore,
|
|
12373
|
+
remark,
|
|
12367
12374
|
input_input_handler,
|
|
12368
12375
|
input_handler,
|
|
12369
12376
|
click_handler,
|
|
@@ -12382,11 +12389,10 @@ let Result$1 = class Result2 extends SvelteComponent {
|
|
|
12382
12389
|
{
|
|
12383
12390
|
num: 1,
|
|
12384
12391
|
result: 0,
|
|
12385
|
-
onClose:
|
|
12386
|
-
mode:
|
|
12387
|
-
parentIgnore:
|
|
12388
|
-
handelChangeIgnore:
|
|
12389
|
-
showCrit: 2
|
|
12392
|
+
onClose: 22,
|
|
12393
|
+
mode: 2,
|
|
12394
|
+
parentIgnore: 3,
|
|
12395
|
+
handelChangeIgnore: 23
|
|
12390
12396
|
},
|
|
12391
12397
|
null,
|
|
12392
12398
|
[-1, -1]
|
|
@@ -12415,14 +12421,14 @@ function create_if_block_4$3(ctx) {
|
|
|
12415
12421
|
span = element("span");
|
|
12416
12422
|
t1 = text(
|
|
12417
12423
|
/*hitTimes*/
|
|
12418
|
-
ctx[
|
|
12424
|
+
ctx[5]
|
|
12419
12425
|
);
|
|
12420
12426
|
t2 = text("次");
|
|
12421
|
-
attr(img, "class", "imgIcon svelte-
|
|
12427
|
+
attr(img, "class", "imgIcon svelte-rabm3o");
|
|
12422
12428
|
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);
|
|
12423
12429
|
attr(img, "alt", "");
|
|
12424
|
-
attr(span, "class", "wordCtn svelte-
|
|
12425
|
-
attr(div, "class", "subCtn svelte-
|
|
12430
|
+
attr(span, "class", "wordCtn svelte-rabm3o");
|
|
12431
|
+
attr(div, "class", "subCtn svelte-rabm3o");
|
|
12426
12432
|
},
|
|
12427
12433
|
m(target, anchor) {
|
|
12428
12434
|
insert(target, div, anchor);
|
|
@@ -12434,10 +12440,10 @@ function create_if_block_4$3(ctx) {
|
|
|
12434
12440
|
},
|
|
12435
12441
|
p(ctx2, dirty) {
|
|
12436
12442
|
if (dirty[0] & /*hitTimes*/
|
|
12437
|
-
|
|
12443
|
+
32) set_data(
|
|
12438
12444
|
t1,
|
|
12439
12445
|
/*hitTimes*/
|
|
12440
|
-
ctx2[
|
|
12446
|
+
ctx2[5]
|
|
12441
12447
|
);
|
|
12442
12448
|
},
|
|
12443
12449
|
d(detaching) {
|
|
@@ -12546,7 +12552,7 @@ function create_else_block$8(ctx) {
|
|
|
12546
12552
|
let dispose;
|
|
12547
12553
|
let if_block = (
|
|
12548
12554
|
/*showCrit*/
|
|
12549
|
-
ctx[
|
|
12555
|
+
ctx[10] && create_if_block_3$7()
|
|
12550
12556
|
);
|
|
12551
12557
|
return {
|
|
12552
12558
|
c() {
|
|
@@ -12558,16 +12564,15 @@ function create_else_block$8(ctx) {
|
|
|
12558
12564
|
t2 = text("再开启");
|
|
12559
12565
|
t3 = text(
|
|
12560
12566
|
/*lastOpenTimes*/
|
|
12561
|
-
ctx[
|
|
12567
|
+
ctx[6]
|
|
12562
12568
|
);
|
|
12563
12569
|
t4 = text("次\r\n ");
|
|
12564
12570
|
if (if_block) if_block.c();
|
|
12565
|
-
attr(div0, "class", "
|
|
12571
|
+
attr(div0, "class", "normalBtn svelte-rabm3o");
|
|
12566
12572
|
attr(div0, "role", "presentation");
|
|
12567
|
-
set_style(div0, "margin-right", "10px");
|
|
12568
12573
|
attr(div1, "role", "presentation");
|
|
12569
|
-
attr(div1, "class", "
|
|
12570
|
-
attr(div2, "class", "
|
|
12574
|
+
attr(div1, "class", "normalBtn againBtn svelte-rabm3o");
|
|
12575
|
+
attr(div2, "class", "buttonCtn svelte-rabm3o");
|
|
12571
12576
|
},
|
|
12572
12577
|
m(target, anchor) {
|
|
12573
12578
|
insert(target, div2, anchor);
|
|
@@ -12598,14 +12603,14 @@ function create_else_block$8(ctx) {
|
|
|
12598
12603
|
},
|
|
12599
12604
|
p(ctx2, dirty) {
|
|
12600
12605
|
if (dirty[0] & /*lastOpenTimes*/
|
|
12601
|
-
|
|
12606
|
+
64) set_data(
|
|
12602
12607
|
t3,
|
|
12603
12608
|
/*lastOpenTimes*/
|
|
12604
|
-
ctx2[
|
|
12609
|
+
ctx2[6]
|
|
12605
12610
|
);
|
|
12606
12611
|
if (
|
|
12607
12612
|
/*showCrit*/
|
|
12608
|
-
ctx2[
|
|
12613
|
+
ctx2[10]
|
|
12609
12614
|
) {
|
|
12610
12615
|
if (if_block) {
|
|
12611
12616
|
if_block.p(ctx2, dirty);
|
|
@@ -12642,8 +12647,8 @@ function create_if_block_1$c(ctx) {
|
|
|
12642
12647
|
let dispose;
|
|
12643
12648
|
let if_block = (
|
|
12644
12649
|
/*times*/
|
|
12645
|
-
ctx[
|
|
12646
|
-
ctx[
|
|
12650
|
+
ctx[8] && /*unit_price*/
|
|
12651
|
+
ctx[7] && create_if_block_2$a(ctx)
|
|
12647
12652
|
);
|
|
12648
12653
|
return {
|
|
12649
12654
|
c() {
|
|
@@ -12657,17 +12662,15 @@ function create_if_block_1$c(ctx) {
|
|
|
12657
12662
|
t1 = space();
|
|
12658
12663
|
div2 = element("div");
|
|
12659
12664
|
div2.textContent = "确定";
|
|
12660
|
-
attr(input, "class", "inp svelte-
|
|
12665
|
+
attr(input, "class", "inp svelte-rabm3o");
|
|
12661
12666
|
attr(input, "placeholder", "输入数量");
|
|
12662
12667
|
attr(input, "type", "number");
|
|
12663
|
-
attr(div0, "class", "svelte-
|
|
12664
|
-
attr(div1, "class", "inputNumWarpper svelte-
|
|
12668
|
+
attr(div0, "class", "svelte-rabm3o");
|
|
12669
|
+
attr(div1, "class", "inputNumWarpper svelte-rabm3o");
|
|
12665
12670
|
attr(div2, "role", "presentation");
|
|
12666
|
-
attr(div2, "class", "smallBtnCtn svelte-
|
|
12667
|
-
attr(div3, "class", "inputNumCtn svelte-
|
|
12668
|
-
attr(div4, "class", "buttonCtn svelte-
|
|
12669
|
-
set_style(div4, "display", "flex");
|
|
12670
|
-
set_style(div4, "justify-content", "center");
|
|
12671
|
+
attr(div2, "class", "smallBtnCtn svelte-rabm3o");
|
|
12672
|
+
attr(div3, "class", "inputNumCtn svelte-rabm3o");
|
|
12673
|
+
attr(div4, "class", "buttonCtn svelte-rabm3o");
|
|
12671
12674
|
},
|
|
12672
12675
|
m(target, anchor) {
|
|
12673
12676
|
insert(target, div4, anchor);
|
|
@@ -12677,7 +12680,7 @@ function create_if_block_1$c(ctx) {
|
|
|
12677
12680
|
set_input_value(
|
|
12678
12681
|
input,
|
|
12679
12682
|
/*times*/
|
|
12680
|
-
ctx[
|
|
12683
|
+
ctx[8]
|
|
12681
12684
|
);
|
|
12682
12685
|
append(div1, t0);
|
|
12683
12686
|
append(div1, div0);
|
|
@@ -12710,18 +12713,18 @@ function create_if_block_1$c(ctx) {
|
|
|
12710
12713
|
},
|
|
12711
12714
|
p(ctx2, dirty) {
|
|
12712
12715
|
if (dirty[0] & /*times*/
|
|
12713
|
-
|
|
12714
|
-
ctx2[
|
|
12716
|
+
256 && to_number(input.value) !== /*times*/
|
|
12717
|
+
ctx2[8]) {
|
|
12715
12718
|
set_input_value(
|
|
12716
12719
|
input,
|
|
12717
12720
|
/*times*/
|
|
12718
|
-
ctx2[
|
|
12721
|
+
ctx2[8]
|
|
12719
12722
|
);
|
|
12720
12723
|
}
|
|
12721
12724
|
if (
|
|
12722
12725
|
/*times*/
|
|
12723
|
-
ctx2[
|
|
12724
|
-
ctx2[
|
|
12726
|
+
ctx2[8] && /*unit_price*/
|
|
12727
|
+
ctx2[7]
|
|
12725
12728
|
) {
|
|
12726
12729
|
if (if_block) {
|
|
12727
12730
|
if_block.p(ctx2, dirty);
|
|
@@ -12751,7 +12754,7 @@ function create_if_block_3$7(ctx) {
|
|
|
12751
12754
|
return {
|
|
12752
12755
|
c() {
|
|
12753
12756
|
img = element("img");
|
|
12754
|
-
attr(img, "class", "critIcon svelte-
|
|
12757
|
+
attr(img, "class", "critIcon svelte-rabm3o");
|
|
12755
12758
|
if (!src_url_equal(img.src, img_src_value = CRIT_ICON$1)) attr(img, "src", img_src_value);
|
|
12756
12759
|
attr(img, "alt", "");
|
|
12757
12760
|
},
|
|
@@ -12770,8 +12773,8 @@ function create_if_block_2$a(ctx) {
|
|
|
12770
12773
|
let span;
|
|
12771
12774
|
let t0_value = (
|
|
12772
12775
|
/*times*/
|
|
12773
|
-
ctx[
|
|
12774
|
-
ctx[
|
|
12776
|
+
ctx[8] * /*unit_price*/
|
|
12777
|
+
ctx[7] + ""
|
|
12775
12778
|
);
|
|
12776
12779
|
let t0;
|
|
12777
12780
|
let t1;
|
|
@@ -12780,7 +12783,7 @@ function create_if_block_2$a(ctx) {
|
|
|
12780
12783
|
span = element("span");
|
|
12781
12784
|
t0 = text(t0_value);
|
|
12782
12785
|
t1 = text("紫晶");
|
|
12783
|
-
attr(span, "class", "svelte-
|
|
12786
|
+
attr(span, "class", "svelte-rabm3o");
|
|
12784
12787
|
},
|
|
12785
12788
|
m(target, anchor) {
|
|
12786
12789
|
insert(target, span, anchor);
|
|
@@ -12789,9 +12792,9 @@ function create_if_block_2$a(ctx) {
|
|
|
12789
12792
|
},
|
|
12790
12793
|
p(ctx2, dirty) {
|
|
12791
12794
|
if (dirty[0] & /*times, unit_price*/
|
|
12792
|
-
|
|
12793
|
-
ctx2[
|
|
12794
|
-
ctx2[
|
|
12795
|
+
384 && t0_value !== (t0_value = /*times*/
|
|
12796
|
+
ctx2[8] * /*unit_price*/
|
|
12797
|
+
ctx2[7] + "")) set_data(t0, t0_value);
|
|
12795
12798
|
},
|
|
12796
12799
|
d(detaching) {
|
|
12797
12800
|
if (detaching) {
|
|
@@ -12810,7 +12813,7 @@ function create_if_block$c(ctx) {
|
|
|
12810
12813
|
/*expiresText*/
|
|
12811
12814
|
ctx[11]
|
|
12812
12815
|
);
|
|
12813
|
-
attr(div, "class", "expiresTips svelte-
|
|
12816
|
+
attr(div, "class", "expiresTips svelte-rabm3o");
|
|
12814
12817
|
},
|
|
12815
12818
|
m(target, anchor) {
|
|
12816
12819
|
insert(target, div, anchor);
|
|
@@ -12832,7 +12835,7 @@ function create_if_block$c(ctx) {
|
|
|
12832
12835
|
};
|
|
12833
12836
|
}
|
|
12834
12837
|
function create_fragment$c(ctx) {
|
|
12835
|
-
let
|
|
12838
|
+
let div11;
|
|
12836
12839
|
let div0;
|
|
12837
12840
|
let t0;
|
|
12838
12841
|
let div3;
|
|
@@ -12852,13 +12855,14 @@ function create_fragment$c(ctx) {
|
|
|
12852
12855
|
let t6;
|
|
12853
12856
|
let show_if = Number(
|
|
12854
12857
|
/*hitTimes*/
|
|
12855
|
-
ctx[
|
|
12858
|
+
ctx[5]
|
|
12856
12859
|
) > 0;
|
|
12857
12860
|
let t7;
|
|
12858
12861
|
let div5;
|
|
12859
12862
|
let div4;
|
|
12860
12863
|
let div5_class_value;
|
|
12861
12864
|
let t8;
|
|
12865
|
+
let div9;
|
|
12862
12866
|
let t9;
|
|
12863
12867
|
let div8;
|
|
12864
12868
|
let div6;
|
|
@@ -12874,7 +12878,7 @@ function create_fragment$c(ctx) {
|
|
|
12874
12878
|
let div7_class_value;
|
|
12875
12879
|
let t16;
|
|
12876
12880
|
let t17;
|
|
12877
|
-
let
|
|
12881
|
+
let div10;
|
|
12878
12882
|
let current;
|
|
12879
12883
|
let mounted;
|
|
12880
12884
|
let dispose;
|
|
@@ -12893,7 +12897,7 @@ function create_fragment$c(ctx) {
|
|
|
12893
12897
|
function select_block_type(ctx2, dirty) {
|
|
12894
12898
|
if (
|
|
12895
12899
|
/*radioIsSelected*/
|
|
12896
|
-
ctx2[
|
|
12900
|
+
ctx2[9]
|
|
12897
12901
|
) return create_if_block_1$c;
|
|
12898
12902
|
return create_else_block$8;
|
|
12899
12903
|
}
|
|
@@ -12905,9 +12909,9 @@ function create_fragment$c(ctx) {
|
|
|
12905
12909
|
);
|
|
12906
12910
|
return {
|
|
12907
12911
|
c() {
|
|
12908
|
-
|
|
12912
|
+
div11 = element("div");
|
|
12909
12913
|
div0 = element("div");
|
|
12910
|
-
div0.innerHTML = `<img src="https://asset.tuwan.com/goldMagic/resultTitle.png?v1" alt="" class="svelte-
|
|
12914
|
+
div0.innerHTML = `<img src="https://asset.tuwan.com/goldMagic/resultTitle.png?v1" alt="" class="svelte-rabm3o"/>`;
|
|
12911
12915
|
t0 = space();
|
|
12912
12916
|
div3 = element("div");
|
|
12913
12917
|
div1 = element("div");
|
|
@@ -12916,7 +12920,7 @@ function create_fragment$c(ctx) {
|
|
|
12916
12920
|
span0 = element("span");
|
|
12917
12921
|
t2 = text(
|
|
12918
12922
|
/*diamondStr*/
|
|
12919
|
-
ctx[
|
|
12923
|
+
ctx[3]
|
|
12920
12924
|
);
|
|
12921
12925
|
t3 = space();
|
|
12922
12926
|
div2 = element("div");
|
|
@@ -12925,7 +12929,7 @@ function create_fragment$c(ctx) {
|
|
|
12925
12929
|
span1 = element("span");
|
|
12926
12930
|
t5 = text(
|
|
12927
12931
|
/*numberStr*/
|
|
12928
|
-
ctx[
|
|
12932
|
+
ctx[4]
|
|
12929
12933
|
);
|
|
12930
12934
|
t6 = space();
|
|
12931
12935
|
if (if_block0) if_block0.c();
|
|
@@ -12936,6 +12940,7 @@ function create_fragment$c(ctx) {
|
|
|
12936
12940
|
each_blocks[i2].c();
|
|
12937
12941
|
}
|
|
12938
12942
|
t8 = space();
|
|
12943
|
+
div9 = element("div");
|
|
12939
12944
|
if_block1.c();
|
|
12940
12945
|
t9 = space();
|
|
12941
12946
|
div8 = element("div");
|
|
@@ -12947,53 +12952,54 @@ function create_fragment$c(ctx) {
|
|
|
12947
12952
|
t12 = space();
|
|
12948
12953
|
div7 = element("div");
|
|
12949
12954
|
span3 = element("span");
|
|
12950
|
-
span3.innerHTML = `<img alt="" class="radioImg default svelte-
|
|
12955
|
+
span3.innerHTML = `<img alt="" class="radioImg default svelte-rabm3o" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_no.png"/> <img alt="" class="radioImg selected svelte-rabm3o" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_yes.png"/>`;
|
|
12951
12956
|
t14 = space();
|
|
12952
12957
|
span4 = element("span");
|
|
12953
12958
|
span4.textContent = "自定义开启数量";
|
|
12954
12959
|
t16 = space();
|
|
12955
12960
|
if (if_block2) if_block2.c();
|
|
12956
12961
|
t17 = space();
|
|
12957
|
-
|
|
12958
|
-
attr(div0, "class", "openGiftTitle svelte-
|
|
12959
|
-
attr(img1, "class", "imgIcon svelte-
|
|
12962
|
+
div10 = element("div");
|
|
12963
|
+
attr(div0, "class", "openGiftTitle svelte-rabm3o");
|
|
12964
|
+
attr(img1, "class", "imgIcon svelte-rabm3o");
|
|
12960
12965
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/goldMagic/diamondTabIcon.png")) attr(img1, "src", img1_src_value);
|
|
12961
12966
|
attr(img1, "alt", "");
|
|
12962
|
-
attr(span0, "class", "wordCtn svelte-
|
|
12963
|
-
attr(div1, "class", "subCtn svelte-
|
|
12964
|
-
attr(img2, "class", "imgIcon svelte-
|
|
12967
|
+
attr(span0, "class", "wordCtn svelte-rabm3o");
|
|
12968
|
+
attr(div1, "class", "subCtn svelte-rabm3o");
|
|
12969
|
+
attr(img2, "class", "imgIcon svelte-rabm3o");
|
|
12965
12970
|
if (!src_url_equal(img2.src, img2_src_value = "https://asset.tuwan.com/goldMagic/magicTabIcon.png")) attr(img2, "src", img2_src_value);
|
|
12966
12971
|
attr(img2, "alt", "");
|
|
12967
|
-
attr(span1, "class", "wordCtn svelte-
|
|
12968
|
-
attr(div2, "class", "subCtn svelte-
|
|
12969
|
-
attr(div3, "class", "leftTopCtn svelte-
|
|
12970
|
-
attr(div4, "class", "result_content svelte-
|
|
12972
|
+
attr(span1, "class", "wordCtn svelte-rabm3o");
|
|
12973
|
+
attr(div2, "class", "subCtn svelte-rabm3o");
|
|
12974
|
+
attr(div3, "class", "leftTopCtn svelte-rabm3o");
|
|
12975
|
+
attr(div4, "class", "result_content svelte-rabm3o");
|
|
12971
12976
|
attr(div5, "class", div5_class_value = /*result*/
|
|
12972
12977
|
(ctx[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
12973
|
-
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
12974
|
-
attr(i, "class", "svelte-
|
|
12975
|
-
attr(span2, "class", "svelte-
|
|
12978
|
+
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-rabm3o");
|
|
12979
|
+
attr(i, "class", "svelte-rabm3o");
|
|
12980
|
+
attr(span2, "class", "svelte-rabm3o");
|
|
12976
12981
|
attr(div6, "class", div6_class_value = null_to_empty(
|
|
12977
12982
|
/*parentIgnore*/
|
|
12978
|
-
ctx[
|
|
12979
|
-
) + " svelte-
|
|
12983
|
+
ctx[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
12984
|
+
) + " svelte-rabm3o");
|
|
12980
12985
|
attr(div6, "role", "presentation");
|
|
12981
|
-
attr(span3, "class", "spCtn svelte-
|
|
12982
|
-
attr(span4, "class", "changeWordCtn svelte-
|
|
12986
|
+
attr(span3, "class", "spCtn svelte-rabm3o");
|
|
12987
|
+
attr(span4, "class", "changeWordCtn svelte-rabm3o");
|
|
12983
12988
|
attr(div7, "role", "presentation");
|
|
12984
12989
|
attr(div7, "class", div7_class_value = null_to_empty(
|
|
12985
12990
|
/*radioIsSelected*/
|
|
12986
|
-
ctx[
|
|
12987
|
-
) + " svelte-
|
|
12988
|
-
attr(div8, "class", "footerBottomCtn svelte-
|
|
12989
|
-
attr(div9, "class", "
|
|
12990
|
-
attr(div10, "class", "
|
|
12991
|
+
ctx[9] ? "radioCtn active" : "radioCtn"
|
|
12992
|
+
) + " svelte-rabm3o");
|
|
12993
|
+
attr(div8, "class", "footerBottomCtn svelte-rabm3o");
|
|
12994
|
+
attr(div9, "class", "open-actions svelte-rabm3o");
|
|
12995
|
+
attr(div10, "class", "result_vap_anim svelte-rabm3o");
|
|
12996
|
+
attr(div11, "class", "result_container svelte-rabm3o");
|
|
12991
12997
|
},
|
|
12992
12998
|
m(target, anchor) {
|
|
12993
|
-
insert(target,
|
|
12994
|
-
append(
|
|
12995
|
-
append(
|
|
12996
|
-
append(
|
|
12999
|
+
insert(target, div11, anchor);
|
|
13000
|
+
append(div11, div0);
|
|
13001
|
+
append(div11, t0);
|
|
13002
|
+
append(div11, div3);
|
|
12997
13003
|
append(div3, div1);
|
|
12998
13004
|
append(div1, img1);
|
|
12999
13005
|
append(div1, t1);
|
|
@@ -13007,18 +13013,19 @@ function create_fragment$c(ctx) {
|
|
|
13007
13013
|
append(span1, t5);
|
|
13008
13014
|
append(div3, t6);
|
|
13009
13015
|
if (if_block0) if_block0.m(div3, null);
|
|
13010
|
-
append(
|
|
13011
|
-
append(
|
|
13016
|
+
append(div11, t7);
|
|
13017
|
+
append(div11, div5);
|
|
13012
13018
|
append(div5, div4);
|
|
13013
13019
|
for (let i2 = 0; i2 < each_blocks.length; i2 += 1) {
|
|
13014
13020
|
if (each_blocks[i2]) {
|
|
13015
13021
|
each_blocks[i2].m(div4, null);
|
|
13016
13022
|
}
|
|
13017
13023
|
}
|
|
13018
|
-
append(
|
|
13019
|
-
|
|
13020
|
-
|
|
13021
|
-
append(
|
|
13024
|
+
append(div11, t8);
|
|
13025
|
+
append(div11, div9);
|
|
13026
|
+
if_block1.m(div9, null);
|
|
13027
|
+
append(div9, t9);
|
|
13028
|
+
append(div9, div8);
|
|
13022
13029
|
append(div8, div6);
|
|
13023
13030
|
append(div6, i);
|
|
13024
13031
|
append(div6, t10);
|
|
@@ -13028,11 +13035,11 @@ function create_fragment$c(ctx) {
|
|
|
13028
13035
|
append(div7, span3);
|
|
13029
13036
|
append(div7, t14);
|
|
13030
13037
|
append(div7, span4);
|
|
13031
|
-
append(
|
|
13032
|
-
if (if_block2) if_block2.m(
|
|
13033
|
-
append(
|
|
13034
|
-
append(
|
|
13035
|
-
ctx[24](
|
|
13038
|
+
append(div9, t16);
|
|
13039
|
+
if (if_block2) if_block2.m(div9, null);
|
|
13040
|
+
append(div11, t17);
|
|
13041
|
+
append(div11, div10);
|
|
13042
|
+
ctx[24](div10);
|
|
13036
13043
|
current = true;
|
|
13037
13044
|
if (!mounted) {
|
|
13038
13045
|
dispose = [
|
|
@@ -13054,21 +13061,21 @@ function create_fragment$c(ctx) {
|
|
|
13054
13061
|
},
|
|
13055
13062
|
p(ctx2, dirty) {
|
|
13056
13063
|
if (!current || dirty[0] & /*diamondStr*/
|
|
13057
|
-
|
|
13064
|
+
8) set_data(
|
|
13058
13065
|
t2,
|
|
13059
13066
|
/*diamondStr*/
|
|
13060
|
-
ctx2[
|
|
13067
|
+
ctx2[3]
|
|
13061
13068
|
);
|
|
13062
13069
|
if (!current || dirty[0] & /*numberStr*/
|
|
13063
|
-
|
|
13070
|
+
16) set_data(
|
|
13064
13071
|
t5,
|
|
13065
13072
|
/*numberStr*/
|
|
13066
|
-
ctx2[
|
|
13073
|
+
ctx2[4]
|
|
13067
13074
|
);
|
|
13068
13075
|
if (dirty[0] & /*hitTimes*/
|
|
13069
|
-
|
|
13076
|
+
32) show_if = Number(
|
|
13070
13077
|
/*hitTimes*/
|
|
13071
|
-
ctx2[
|
|
13078
|
+
ctx2[5]
|
|
13072
13079
|
) > 0;
|
|
13073
13080
|
if (show_if) {
|
|
13074
13081
|
if (if_block0) {
|
|
@@ -13110,7 +13117,7 @@ function create_fragment$c(ctx) {
|
|
|
13110
13117
|
if (!current || dirty[0] & /*result*/
|
|
13111
13118
|
1 && div5_class_value !== (div5_class_value = /*result*/
|
|
13112
13119
|
(ctx2[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
13113
|
-
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
13120
|
+
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-rabm3o")) {
|
|
13114
13121
|
attr(div5, "class", div5_class_value);
|
|
13115
13122
|
}
|
|
13116
13123
|
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block1) {
|
|
@@ -13120,21 +13127,21 @@ function create_fragment$c(ctx) {
|
|
|
13120
13127
|
if_block1 = current_block_type(ctx2);
|
|
13121
13128
|
if (if_block1) {
|
|
13122
13129
|
if_block1.c();
|
|
13123
|
-
if_block1.m(
|
|
13130
|
+
if_block1.m(div9, t9);
|
|
13124
13131
|
}
|
|
13125
13132
|
}
|
|
13126
13133
|
if (!current || dirty[0] & /*parentIgnore*/
|
|
13127
|
-
|
|
13134
|
+
2 && div6_class_value !== (div6_class_value = null_to_empty(
|
|
13128
13135
|
/*parentIgnore*/
|
|
13129
|
-
ctx2[
|
|
13130
|
-
) + " svelte-
|
|
13136
|
+
ctx2[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
13137
|
+
) + " svelte-rabm3o")) {
|
|
13131
13138
|
attr(div6, "class", div6_class_value);
|
|
13132
13139
|
}
|
|
13133
13140
|
if (!current || dirty[0] & /*radioIsSelected*/
|
|
13134
|
-
|
|
13141
|
+
512 && div7_class_value !== (div7_class_value = null_to_empty(
|
|
13135
13142
|
/*radioIsSelected*/
|
|
13136
|
-
ctx2[
|
|
13137
|
-
) + " svelte-
|
|
13143
|
+
ctx2[9] ? "radioCtn active" : "radioCtn"
|
|
13144
|
+
) + " svelte-rabm3o")) {
|
|
13138
13145
|
attr(div7, "class", div7_class_value);
|
|
13139
13146
|
}
|
|
13140
13147
|
if (
|
|
@@ -13146,7 +13153,7 @@ function create_fragment$c(ctx) {
|
|
|
13146
13153
|
} else {
|
|
13147
13154
|
if_block2 = create_if_block$c(ctx2);
|
|
13148
13155
|
if_block2.c();
|
|
13149
|
-
if_block2.m(
|
|
13156
|
+
if_block2.m(div9, null);
|
|
13150
13157
|
}
|
|
13151
13158
|
} else if (if_block2) {
|
|
13152
13159
|
if_block2.d(1);
|
|
@@ -13169,7 +13176,7 @@ function create_fragment$c(ctx) {
|
|
|
13169
13176
|
},
|
|
13170
13177
|
d(detaching) {
|
|
13171
13178
|
if (detaching) {
|
|
13172
|
-
detach(
|
|
13179
|
+
detach(div11);
|
|
13173
13180
|
}
|
|
13174
13181
|
if (if_block0) if_block0.d();
|
|
13175
13182
|
destroy_each(each_blocks, detaching);
|
|
@@ -13184,13 +13191,13 @@ function create_fragment$c(ctx) {
|
|
|
13184
13191
|
const CRIT_ICON$1 = "https://dynamics-share.tuwan.com/activity/320d878f51a28133b37d75880110ad3c.png?x-oss-process=image/format,webp/ignore-error,1";
|
|
13185
13192
|
function instance$c($$self, $$props, $$invalidate) {
|
|
13186
13193
|
let expiresText;
|
|
13194
|
+
let showCrit;
|
|
13187
13195
|
let { num = 10 } = $$props;
|
|
13188
13196
|
let { result = [] } = $$props;
|
|
13189
13197
|
let { onClose } = $$props;
|
|
13190
13198
|
let { mode = RESULT_VIEW_TYPE$1.NEW_YEAR_TYPE } = $$props;
|
|
13191
13199
|
let { parentIgnore = false } = $$props;
|
|
13192
13200
|
let { handelChangeIgnore } = $$props;
|
|
13193
|
-
let { showCrit = false } = $$props;
|
|
13194
13201
|
let animEl;
|
|
13195
13202
|
let diamondStr = "0";
|
|
13196
13203
|
let numberStr = "0";
|
|
@@ -13201,14 +13208,14 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
13201
13208
|
let times;
|
|
13202
13209
|
let radioIsSelected = false;
|
|
13203
13210
|
let handleChangeRadio = function() {
|
|
13204
|
-
$$invalidate(
|
|
13211
|
+
$$invalidate(9, radioIsSelected = !radioIsSelected);
|
|
13205
13212
|
if (!radioIsSelected) {
|
|
13206
|
-
$$invalidate(
|
|
13213
|
+
$$invalidate(8, times = void 0);
|
|
13207
13214
|
}
|
|
13208
13215
|
};
|
|
13209
13216
|
function handleOpenGift(count = 1) {
|
|
13210
13217
|
if (loading) return;
|
|
13211
|
-
$$invalidate(
|
|
13218
|
+
$$invalidate(6, lastOpenTimes = count);
|
|
13212
13219
|
$$invalidate(17, num = count);
|
|
13213
13220
|
onBuy();
|
|
13214
13221
|
}
|
|
@@ -13252,8 +13259,8 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
13252
13259
|
},
|
|
13253
13260
|
500
|
|
13254
13261
|
);
|
|
13255
|
-
$$invalidate(1, showCrit = Number(res["total-process"]) == 1);
|
|
13256
13262
|
res.data._expires = res.expires || [];
|
|
13263
|
+
res.data._totalProcess = res["total-process"];
|
|
13257
13264
|
$$invalidate(0, result = []);
|
|
13258
13265
|
if (parentIgnore) {
|
|
13259
13266
|
setTimeout(
|
|
@@ -13313,11 +13320,11 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
13313
13320
|
requestApi(OpenGiftUrls.getTreasureInfo(mode)).then((res) => {
|
|
13314
13321
|
loading = false;
|
|
13315
13322
|
if (res.error == 0) {
|
|
13316
|
-
$$invalidate(
|
|
13317
|
-
$$invalidate(
|
|
13323
|
+
$$invalidate(3, diamondStr = res.data.diamond_str);
|
|
13324
|
+
$$invalidate(4, numberStr = res.data.number_str);
|
|
13318
13325
|
res.data.glod_num;
|
|
13319
|
-
$$invalidate(
|
|
13320
|
-
$$invalidate(
|
|
13326
|
+
$$invalidate(5, hitTimes = res.data.hit_times);
|
|
13327
|
+
$$invalidate(7, unit_price = res.data.unit_price || 0);
|
|
13321
13328
|
refreshHaveGift();
|
|
13322
13329
|
} else {
|
|
13323
13330
|
showTips(res.error_msg);
|
|
@@ -13329,16 +13336,16 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
13329
13336
|
});
|
|
13330
13337
|
function input_input_handler() {
|
|
13331
13338
|
times = to_number(this.value);
|
|
13332
|
-
$$invalidate(
|
|
13339
|
+
$$invalidate(8, times);
|
|
13333
13340
|
}
|
|
13334
13341
|
const input_handler = (event) => {
|
|
13335
|
-
$$invalidate(
|
|
13342
|
+
$$invalidate(8, times = event.target.value.slice(0, 4));
|
|
13336
13343
|
};
|
|
13337
13344
|
const click_handler = () => handleOpenGift(lastOpenTimes);
|
|
13338
|
-
function
|
|
13345
|
+
function div10_binding($$value) {
|
|
13339
13346
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
13340
13347
|
animEl = $$value;
|
|
13341
|
-
$$invalidate(
|
|
13348
|
+
$$invalidate(2, animEl);
|
|
13342
13349
|
});
|
|
13343
13350
|
}
|
|
13344
13351
|
$$self.$$set = ($$props2) => {
|
|
@@ -13346,19 +13353,21 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
13346
13353
|
if ("result" in $$props2) $$invalidate(0, result = $$props2.result);
|
|
13347
13354
|
if ("onClose" in $$props2) $$invalidate(18, onClose = $$props2.onClose);
|
|
13348
13355
|
if ("mode" in $$props2) $$invalidate(19, mode = $$props2.mode);
|
|
13349
|
-
if ("parentIgnore" in $$props2) $$invalidate(
|
|
13356
|
+
if ("parentIgnore" in $$props2) $$invalidate(1, parentIgnore = $$props2.parentIgnore);
|
|
13350
13357
|
if ("handelChangeIgnore" in $$props2) $$invalidate(20, handelChangeIgnore = $$props2.handelChangeIgnore);
|
|
13351
|
-
if ("showCrit" in $$props2) $$invalidate(1, showCrit = $$props2.showCrit);
|
|
13352
13358
|
};
|
|
13353
13359
|
$$self.$$.update = () => {
|
|
13354
13360
|
if ($$self.$$.dirty[0] & /*result*/
|
|
13355
13361
|
1) {
|
|
13356
13362
|
$$invalidate(11, expiresText = (result._expires || []).join(""));
|
|
13357
13363
|
}
|
|
13364
|
+
if ($$self.$$.dirty[0] & /*result*/
|
|
13365
|
+
1) {
|
|
13366
|
+
$$invalidate(10, showCrit = result._totalProcess === 1 || result._totalProcess === "1");
|
|
13367
|
+
}
|
|
13358
13368
|
};
|
|
13359
13369
|
return [
|
|
13360
13370
|
result,
|
|
13361
|
-
showCrit,
|
|
13362
13371
|
parentIgnore,
|
|
13363
13372
|
animEl,
|
|
13364
13373
|
diamondStr,
|
|
@@ -13368,6 +13377,7 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
13368
13377
|
unit_price,
|
|
13369
13378
|
times,
|
|
13370
13379
|
radioIsSelected,
|
|
13380
|
+
showCrit,
|
|
13371
13381
|
expiresText,
|
|
13372
13382
|
handleChangeRadio,
|
|
13373
13383
|
handleOpenGift,
|
|
@@ -13381,7 +13391,7 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
13381
13391
|
input_input_handler,
|
|
13382
13392
|
input_handler,
|
|
13383
13393
|
click_handler,
|
|
13384
|
-
|
|
13394
|
+
div10_binding
|
|
13385
13395
|
];
|
|
13386
13396
|
}
|
|
13387
13397
|
class NewyearResult extends SvelteComponent {
|
|
@@ -13398,9 +13408,8 @@ class NewyearResult extends SvelteComponent {
|
|
|
13398
13408
|
result: 0,
|
|
13399
13409
|
onClose: 18,
|
|
13400
13410
|
mode: 19,
|
|
13401
|
-
parentIgnore:
|
|
13402
|
-
handelChangeIgnore: 20
|
|
13403
|
-
showCrit: 1
|
|
13411
|
+
parentIgnore: 1,
|
|
13412
|
+
handelChangeIgnore: 20
|
|
13404
13413
|
},
|
|
13405
13414
|
null,
|
|
13406
13415
|
[-1, -1]
|
|
@@ -13433,7 +13442,7 @@ function create_if_block_1$b(ctx) {
|
|
|
13433
13442
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
13434
13443
|
each_blocks[i].c();
|
|
13435
13444
|
}
|
|
13436
|
-
attr(div, "class", "expires_list svelte-
|
|
13445
|
+
attr(div, "class", "expires_list svelte-1h6z11q");
|
|
13437
13446
|
},
|
|
13438
13447
|
m(target, anchor) {
|
|
13439
13448
|
insert(target, div, anchor);
|
|
@@ -13495,11 +13504,11 @@ function create_each_block_1$1(ctx) {
|
|
|
13495
13504
|
span = element("span");
|
|
13496
13505
|
t1 = text(t1_value);
|
|
13497
13506
|
t2 = space();
|
|
13498
|
-
attr(img, "class", "expires_icon svelte-
|
|
13507
|
+
attr(img, "class", "expires_icon svelte-1h6z11q");
|
|
13499
13508
|
if (!src_url_equal(img.src, img_src_value = EXPIRES_ICON$1)) attr(img, "src", img_src_value);
|
|
13500
13509
|
attr(img, "alt", "");
|
|
13501
|
-
attr(span, "class", "expires_text svelte-
|
|
13502
|
-
attr(div, "class", "expires_item svelte-
|
|
13510
|
+
attr(span, "class", "expires_text svelte-1h6z11q");
|
|
13511
|
+
attr(div, "class", "expires_item svelte-1h6z11q");
|
|
13503
13512
|
},
|
|
13504
13513
|
m(target, anchor) {
|
|
13505
13514
|
insert(target, div, anchor);
|
|
@@ -13527,7 +13536,7 @@ function create_if_block$b(ctx) {
|
|
|
13527
13536
|
c() {
|
|
13528
13537
|
div = element("div");
|
|
13529
13538
|
div.textContent = "还未有开启魔法记录";
|
|
13530
|
-
attr(div, "class", "noDataTipCtn svelte-
|
|
13539
|
+
attr(div, "class", "noDataTipCtn svelte-1h6z11q");
|
|
13531
13540
|
},
|
|
13532
13541
|
m(target, anchor) {
|
|
13533
13542
|
insert(target, div, anchor);
|
|
@@ -13585,12 +13594,12 @@ function create_each_block$2(ctx) {
|
|
|
13585
13594
|
attr(img0, "alt", "");
|
|
13586
13595
|
if (!src_url_equal(img0.src, img0_src_value = /*item*/
|
|
13587
13596
|
ctx[10].icon)) attr(img0, "src", img0_src_value);
|
|
13588
|
-
attr(img0, "class", "svelte-
|
|
13597
|
+
attr(img0, "class", "svelte-1h6z11q");
|
|
13589
13598
|
attr(img1, "alt", "");
|
|
13590
13599
|
if (!src_url_equal(img1.src, img1_src_value = /*item*/
|
|
13591
13600
|
ctx[10].gift)) attr(img1, "src", img1_src_value);
|
|
13592
|
-
attr(img1, "class", "svelte-
|
|
13593
|
-
attr(div, "class", "history_content_item svelte-
|
|
13601
|
+
attr(img1, "class", "svelte-1h6z11q");
|
|
13602
|
+
attr(div, "class", "history_content_item svelte-1h6z11q");
|
|
13594
13603
|
},
|
|
13595
13604
|
m(target, anchor) {
|
|
13596
13605
|
insert(target, div, anchor);
|
|
@@ -13669,7 +13678,7 @@ function create_fragment$b(ctx) {
|
|
|
13669
13678
|
c() {
|
|
13670
13679
|
div4 = element("div");
|
|
13671
13680
|
div0 = element("div");
|
|
13672
|
-
div0.innerHTML = `<img src="https://asset.tuwan.com/goldMagic/resultTitle.png?v1" alt="" class="svelte-
|
|
13681
|
+
div0.innerHTML = `<img src="https://asset.tuwan.com/goldMagic/resultTitle.png?v1" alt="" class="svelte-1h6z11q"/>`;
|
|
13673
13682
|
t0 = space();
|
|
13674
13683
|
div2 = element("div");
|
|
13675
13684
|
if (if_block0) if_block0.c();
|
|
@@ -13683,12 +13692,12 @@ function create_fragment$b(ctx) {
|
|
|
13683
13692
|
t3 = space();
|
|
13684
13693
|
div3 = element("div");
|
|
13685
13694
|
div3.textContent = "关闭";
|
|
13686
|
-
attr(div0, "class", "openGiftTitle svelte-
|
|
13687
|
-
attr(div1, "class", "history_content scroll_bar_light_purple svelte-
|
|
13688
|
-
attr(div2, "class", "history_wrapper svelte-
|
|
13689
|
-
attr(div3, "class", "history_close_button svelte-
|
|
13695
|
+
attr(div0, "class", "openGiftTitle svelte-1h6z11q");
|
|
13696
|
+
attr(div1, "class", "history_content scroll_bar_light_purple svelte-1h6z11q");
|
|
13697
|
+
attr(div2, "class", "history_wrapper svelte-1h6z11q");
|
|
13698
|
+
attr(div3, "class", "history_close_button svelte-1h6z11q");
|
|
13690
13699
|
attr(div4, "class", div4_class_value = "history_container " + /*mode*/
|
|
13691
|
-
(ctx[0] == RESULT_VIEW_TYPE$1.CRYSTAL_TYPE ? "" : "glod") + " svelte-
|
|
13700
|
+
(ctx[0] == RESULT_VIEW_TYPE$1.CRYSTAL_TYPE ? "" : "glod") + " svelte-1h6z11q");
|
|
13692
13701
|
},
|
|
13693
13702
|
m(target, anchor) {
|
|
13694
13703
|
insert(target, div4, anchor);
|
|
@@ -13779,7 +13788,7 @@ function create_fragment$b(ctx) {
|
|
|
13779
13788
|
}
|
|
13780
13789
|
if (dirty & /*mode*/
|
|
13781
13790
|
1 && div4_class_value !== (div4_class_value = "history_container " + /*mode*/
|
|
13782
|
-
(ctx2[0] == RESULT_VIEW_TYPE$1.CRYSTAL_TYPE ? "" : "glod") + " svelte-
|
|
13791
|
+
(ctx2[0] == RESULT_VIEW_TYPE$1.CRYSTAL_TYPE ? "" : "glod") + " svelte-1h6z11q")) {
|
|
13783
13792
|
attr(div4, "class", div4_class_value);
|
|
13784
13793
|
}
|
|
13785
13794
|
},
|
|
@@ -13871,11 +13880,11 @@ function create_if_block_3$6(ctx) {
|
|
|
13871
13880
|
span = element("span");
|
|
13872
13881
|
t1 = text(t1_value);
|
|
13873
13882
|
t2 = text("次");
|
|
13874
|
-
attr(img, "class", "imgIcon svelte-
|
|
13883
|
+
attr(img, "class", "imgIcon svelte-103f8qi");
|
|
13875
13884
|
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);
|
|
13876
13885
|
attr(img, "alt", "");
|
|
13877
|
-
attr(span, "class", "wordCtn svelte-
|
|
13878
|
-
attr(div, "class", "subCtn svelte-
|
|
13886
|
+
attr(span, "class", "wordCtn svelte-103f8qi");
|
|
13887
|
+
attr(div, "class", "subCtn svelte-103f8qi");
|
|
13879
13888
|
},
|
|
13880
13889
|
m(target, anchor) {
|
|
13881
13890
|
insert(target, div, anchor);
|
|
@@ -13956,19 +13965,19 @@ function create_else_block$7(ctx) {
|
|
|
13956
13965
|
t7 = space();
|
|
13957
13966
|
div4 = element("div");
|
|
13958
13967
|
div4.textContent = "开启10次";
|
|
13959
|
-
attr(img0, "class", "icon svelte-
|
|
13968
|
+
attr(img0, "class", "icon svelte-103f8qi");
|
|
13960
13969
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/goldMagic/magicIcon.png")) attr(img0, "src", img0_src_value);
|
|
13961
|
-
attr(span0, "class", "numCtn svelte-
|
|
13962
|
-
attr(div0, "class", "leftCtn svelte-
|
|
13963
|
-
attr(div1, "class", "rightCtn svelte-
|
|
13964
|
-
attr(div2, "class", "normalBtn svelte-
|
|
13965
|
-
attr(img1, "class", "icon svelte-
|
|
13970
|
+
attr(span0, "class", "numCtn svelte-103f8qi");
|
|
13971
|
+
attr(div0, "class", "leftCtn svelte-103f8qi");
|
|
13972
|
+
attr(div1, "class", "rightCtn svelte-103f8qi");
|
|
13973
|
+
attr(div2, "class", "normalBtn svelte-103f8qi");
|
|
13974
|
+
attr(img1, "class", "icon svelte-103f8qi");
|
|
13966
13975
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/goldMagic/magicIcon.png")) attr(img1, "src", img1_src_value);
|
|
13967
|
-
attr(span1, "class", "numCtn svelte-
|
|
13968
|
-
attr(div3, "class", "leftCtn svelte-
|
|
13969
|
-
attr(div4, "class", "rightCtn svelte-
|
|
13970
|
-
attr(div5, "class", "normalBtn svelte-
|
|
13971
|
-
attr(div6, "class", "buttonCtn svelte-
|
|
13976
|
+
attr(span1, "class", "numCtn svelte-103f8qi");
|
|
13977
|
+
attr(div3, "class", "leftCtn svelte-103f8qi");
|
|
13978
|
+
attr(div4, "class", "rightCtn svelte-103f8qi");
|
|
13979
|
+
attr(div5, "class", "normalBtn svelte-103f8qi");
|
|
13980
|
+
attr(div6, "class", "buttonCtn svelte-103f8qi");
|
|
13972
13981
|
},
|
|
13973
13982
|
m(target, anchor) {
|
|
13974
13983
|
insert(target, div6, anchor);
|
|
@@ -14058,14 +14067,14 @@ function create_if_block_1$a(ctx) {
|
|
|
14058
14067
|
t1 = space();
|
|
14059
14068
|
div2 = element("div");
|
|
14060
14069
|
div2.textContent = "开启";
|
|
14061
|
-
attr(input, "class", "inp svelte-
|
|
14070
|
+
attr(input, "class", "inp svelte-103f8qi");
|
|
14062
14071
|
attr(input, "placeholder", "输入数量");
|
|
14063
14072
|
attr(input, "type", "number");
|
|
14064
|
-
attr(div0, "class", "svelte-
|
|
14065
|
-
attr(div1, "class", "inputNumWarpper svelte-
|
|
14066
|
-
attr(div2, "class", "smallBtnCtn svelte-
|
|
14067
|
-
attr(div3, "class", "inputNumCtn svelte-
|
|
14068
|
-
attr(div4, "class", "buttonCtn svelte-
|
|
14073
|
+
attr(div0, "class", "svelte-103f8qi");
|
|
14074
|
+
attr(div1, "class", "inputNumWarpper svelte-103f8qi");
|
|
14075
|
+
attr(div2, "class", "smallBtnCtn svelte-103f8qi");
|
|
14076
|
+
attr(div3, "class", "inputNumCtn svelte-103f8qi");
|
|
14077
|
+
attr(div4, "class", "buttonCtn svelte-103f8qi");
|
|
14069
14078
|
set_style(div4, "display", "flex");
|
|
14070
14079
|
set_style(div4, "justify-content", "center");
|
|
14071
14080
|
},
|
|
@@ -14188,7 +14197,7 @@ function create_if_block$a(ctx) {
|
|
|
14188
14197
|
/*expiresText*/
|
|
14189
14198
|
ctx[7]
|
|
14190
14199
|
);
|
|
14191
|
-
attr(div, "class", "expiresTips svelte-
|
|
14200
|
+
attr(div, "class", "expiresTips svelte-103f8qi");
|
|
14192
14201
|
},
|
|
14193
14202
|
m(target, anchor) {
|
|
14194
14203
|
insert(target, div, anchor);
|
|
@@ -14328,7 +14337,7 @@ function create_fragment$a(ctx) {
|
|
|
14328
14337
|
div5 = element("div");
|
|
14329
14338
|
t10 = space();
|
|
14330
14339
|
div9 = element("div");
|
|
14331
|
-
div9.innerHTML = `<div class="fireCtn svelte-
|
|
14340
|
+
div9.innerHTML = `<div class="fireCtn svelte-103f8qi"></div> <div class="mainImgCtn mainImgCtnMagic svelte-103f8qi"></div> <div class="mainSvgaCtn svelte-103f8qi"></div>`;
|
|
14332
14341
|
t13 = space();
|
|
14333
14342
|
div14 = element("div");
|
|
14334
14343
|
div10 = element("div");
|
|
@@ -14347,55 +14356,55 @@ function create_fragment$a(ctx) {
|
|
|
14347
14356
|
t19 = space();
|
|
14348
14357
|
div12 = element("div");
|
|
14349
14358
|
span4 = element("span");
|
|
14350
|
-
span4.innerHTML = `<img class="radioImg default svelte-
|
|
14359
|
+
span4.innerHTML = `<img class="radioImg default svelte-103f8qi" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_no.png"/> <img class="radioImg selected svelte-103f8qi" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_yes.png"/>`;
|
|
14351
14360
|
t21 = space();
|
|
14352
14361
|
span5 = element("span");
|
|
14353
14362
|
span5.textContent = "自定义开启数量";
|
|
14354
14363
|
t23 = space();
|
|
14355
14364
|
if (if_block2) if_block2.c();
|
|
14356
|
-
attr(img0, "class", "openGiftTitle svelte-
|
|
14365
|
+
attr(img0, "class", "openGiftTitle svelte-103f8qi");
|
|
14357
14366
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/goldMagic/magicTitle.png")) attr(img0, "src", img0_src_value);
|
|
14358
|
-
attr(div0, "class", "subTitle svelte-
|
|
14359
|
-
attr(img1, "class", "imgIcon svelte-
|
|
14367
|
+
attr(div0, "class", "subTitle svelte-103f8qi");
|
|
14368
|
+
attr(img1, "class", "imgIcon svelte-103f8qi");
|
|
14360
14369
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/goldMagic/diamondTabIcon.png")) attr(img1, "src", img1_src_value);
|
|
14361
|
-
attr(span0, "class", "wordCtn svelte-
|
|
14362
|
-
attr(div1, "class", "subCtn svelte-
|
|
14363
|
-
attr(img2, "class", "imgIcon svelte-
|
|
14370
|
+
attr(span0, "class", "wordCtn svelte-103f8qi");
|
|
14371
|
+
attr(div1, "class", "subCtn svelte-103f8qi");
|
|
14372
|
+
attr(img2, "class", "imgIcon svelte-103f8qi");
|
|
14364
14373
|
if (!src_url_equal(img2.src, img2_src_value = "https://asset.tuwan.com/goldMagic/magicTabIcon.png")) attr(img2, "src", img2_src_value);
|
|
14365
|
-
attr(span1, "class", "wordCtn svelte-
|
|
14366
|
-
attr(div2, "class", "subCtn svelte-
|
|
14367
|
-
attr(div3, "class", "leftTopCtn svelte-
|
|
14368
|
-
attr(div4, "class", "fireSvgaCtnMagic svelte-
|
|
14369
|
-
attr(div5, "class", "result_vap_anim svelte-
|
|
14370
|
-
attr(div9, "class", "mainShowerCtn svelte-
|
|
14371
|
-
attr(span2, "class", "tipsStroke svelte-
|
|
14374
|
+
attr(span1, "class", "wordCtn svelte-103f8qi");
|
|
14375
|
+
attr(div2, "class", "subCtn svelte-103f8qi");
|
|
14376
|
+
attr(div3, "class", "leftTopCtn svelte-103f8qi");
|
|
14377
|
+
attr(div4, "class", "fireSvgaCtnMagic svelte-103f8qi");
|
|
14378
|
+
attr(div5, "class", "result_vap_anim svelte-103f8qi");
|
|
14379
|
+
attr(div9, "class", "mainShowerCtn svelte-103f8qi");
|
|
14380
|
+
attr(span2, "class", "tipsStroke svelte-103f8qi");
|
|
14372
14381
|
attr(
|
|
14373
14382
|
span2,
|
|
14374
14383
|
"data-text",
|
|
14375
14384
|
/*tipsPlain*/
|
|
14376
14385
|
ctx[3]
|
|
14377
14386
|
);
|
|
14378
|
-
attr(img3, "class", "changeImg svelte-
|
|
14387
|
+
attr(img3, "class", "changeImg svelte-103f8qi");
|
|
14379
14388
|
attr(img3, "role", "presentation");
|
|
14380
14389
|
if (!src_url_equal(img3.src, img3_src_value = "https://dynamics-share.tuwan.com/activity/9715ce5f5e2a95ac57be7559d47fa04a.png?x-oss-process=image/format,webp/ignore-error,1")) attr(img3, "src", img3_src_value);
|
|
14381
14390
|
attr(img3, "alt", "");
|
|
14382
|
-
attr(div10, "class", "topTipsCtn svelte-
|
|
14391
|
+
attr(div10, "class", "topTipsCtn svelte-103f8qi");
|
|
14383
14392
|
attr(div10, "role", "presentation");
|
|
14384
|
-
attr(i, "class", "svelte-
|
|
14393
|
+
attr(i, "class", "svelte-103f8qi");
|
|
14385
14394
|
attr(div11, "class", div11_class_value = null_to_empty(
|
|
14386
14395
|
/*parentIgnore*/
|
|
14387
14396
|
ctx[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
14388
|
-
) + " svelte-
|
|
14397
|
+
) + " svelte-103f8qi");
|
|
14389
14398
|
attr(div11, "role", "presentation");
|
|
14390
|
-
attr(span4, "class", "spCtn svelte-
|
|
14391
|
-
attr(span5, "class", "changeWordCtn svelte-
|
|
14399
|
+
attr(span4, "class", "spCtn svelte-103f8qi");
|
|
14400
|
+
attr(span5, "class", "changeWordCtn svelte-103f8qi");
|
|
14392
14401
|
attr(div12, "class", div12_class_value = null_to_empty(
|
|
14393
14402
|
/*radioIsSelected*/
|
|
14394
14403
|
ctx[6] ? "radioCtn active" : "radioCtn"
|
|
14395
|
-
) + " svelte-
|
|
14396
|
-
attr(div13, "class", "footerBottomCtn svelte-
|
|
14397
|
-
attr(div14, "class", "openGiftFooter svelte-
|
|
14398
|
-
attr(div15, "class", "MagicCtn svelte-
|
|
14404
|
+
) + " svelte-103f8qi");
|
|
14405
|
+
attr(div13, "class", "footerBottomCtn svelte-103f8qi");
|
|
14406
|
+
attr(div14, "class", "openGiftFooter svelte-103f8qi");
|
|
14407
|
+
attr(div15, "class", "MagicCtn svelte-103f8qi");
|
|
14399
14408
|
},
|
|
14400
14409
|
m(target, anchor) {
|
|
14401
14410
|
insert(target, div15, anchor);
|
|
@@ -14535,14 +14544,14 @@ function create_fragment$a(ctx) {
|
|
|
14535
14544
|
2 && div11_class_value !== (div11_class_value = null_to_empty(
|
|
14536
14545
|
/*parentIgnore*/
|
|
14537
14546
|
ctx2[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
14538
|
-
) + " svelte-
|
|
14547
|
+
) + " svelte-103f8qi")) {
|
|
14539
14548
|
attr(div11, "class", div11_class_value);
|
|
14540
14549
|
}
|
|
14541
14550
|
if (dirty & /*radioIsSelected*/
|
|
14542
14551
|
64 && div12_class_value !== (div12_class_value = null_to_empty(
|
|
14543
14552
|
/*radioIsSelected*/
|
|
14544
14553
|
ctx2[6] ? "radioCtn active" : "radioCtn"
|
|
14545
|
-
) + " svelte-
|
|
14554
|
+
) + " svelte-103f8qi")) {
|
|
14546
14555
|
attr(div12, "class", div12_class_value);
|
|
14547
14556
|
}
|
|
14548
14557
|
if (
|
|
@@ -14639,6 +14648,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
14639
14648
|
);
|
|
14640
14649
|
result = res.data;
|
|
14641
14650
|
result._expires = res.expires || [];
|
|
14651
|
+
result._totalProcess = res["total-process"];
|
|
14642
14652
|
let isJumpAnimation = SessionStorage.getInstance().getGoldMagicAnimIgnore() || 0;
|
|
14643
14653
|
if (isJumpAnimation == 0) {
|
|
14644
14654
|
const vapPath = "https://asset.tuwan.com/goldMagic/crystal/";
|
|
@@ -14655,7 +14665,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
14655
14665
|
});
|
|
14656
14666
|
setTimeout(
|
|
14657
14667
|
() => {
|
|
14658
|
-
handleSetResult(result, times || spTimes
|
|
14668
|
+
handleSetResult(result, times || spTimes);
|
|
14659
14669
|
emptyEl(".result_vap_anim");
|
|
14660
14670
|
},
|
|
14661
14671
|
1100
|
|
@@ -14663,7 +14673,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
14663
14673
|
} else {
|
|
14664
14674
|
isGoing = false;
|
|
14665
14675
|
handleGetGiftInfo();
|
|
14666
|
-
handleSetResult(result, times || spTimes
|
|
14676
|
+
handleSetResult(result, times || spTimes);
|
|
14667
14677
|
}
|
|
14668
14678
|
} else if (res.error == -2) {
|
|
14669
14679
|
isGoing = false;
|
|
@@ -15239,6 +15249,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
15239
15249
|
);
|
|
15240
15250
|
result = res.data;
|
|
15241
15251
|
result._expires = res.expires || [];
|
|
15252
|
+
result._totalProcess = res["total-process"];
|
|
15242
15253
|
let isJumpAnimation = SessionStorage.getInstance().getGoldMagicAnimIgnore() || 0;
|
|
15243
15254
|
if (isJumpAnimation == 0) {
|
|
15244
15255
|
const vapPath = "https://asset.tuwan.com/goldMagic/glod/";
|
|
@@ -15255,7 +15266,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
15255
15266
|
});
|
|
15256
15267
|
setTimeout(
|
|
15257
15268
|
() => {
|
|
15258
|
-
handleSetResult(result, 1
|
|
15269
|
+
handleSetResult(result, 1);
|
|
15259
15270
|
emptyEl(".result_vap_anim");
|
|
15260
15271
|
},
|
|
15261
15272
|
1100
|
|
@@ -15263,7 +15274,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
15263
15274
|
} else {
|
|
15264
15275
|
isGoing = false;
|
|
15265
15276
|
handleGetGiftInfo();
|
|
15266
|
-
handleSetResult(result, 1
|
|
15277
|
+
handleSetResult(result, 1);
|
|
15267
15278
|
}
|
|
15268
15279
|
} else if (res.error == -2) {
|
|
15269
15280
|
isGoing = false;
|
|
@@ -15329,7 +15340,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
15329
15340
|
}
|
|
15330
15341
|
if ($$self.$$.dirty & /*resData*/
|
|
15331
15342
|
1) {
|
|
15332
|
-
$$invalidate(3, expiresText = (
|
|
15343
|
+
$$invalidate(3, expiresText = (resData == null ? void 0 : resData.remark) || "");
|
|
15333
15344
|
}
|
|
15334
15345
|
};
|
|
15335
15346
|
return [
|
|
@@ -15375,11 +15386,11 @@ function create_if_block_3$5(ctx) {
|
|
|
15375
15386
|
span = element("span");
|
|
15376
15387
|
t1 = text(t1_value);
|
|
15377
15388
|
t2 = text("次");
|
|
15378
|
-
attr(img, "class", "imgIcon svelte-
|
|
15389
|
+
attr(img, "class", "imgIcon svelte-khprqu");
|
|
15379
15390
|
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);
|
|
15380
15391
|
attr(img, "alt", "");
|
|
15381
|
-
attr(span, "class", "wordCtn svelte-
|
|
15382
|
-
attr(div, "class", "subCtn svelte-
|
|
15392
|
+
attr(span, "class", "wordCtn svelte-khprqu");
|
|
15393
|
+
attr(div, "class", "subCtn svelte-khprqu");
|
|
15383
15394
|
},
|
|
15384
15395
|
m(target, anchor) {
|
|
15385
15396
|
insert(target, div, anchor);
|
|
@@ -15460,19 +15471,19 @@ function create_else_block$6(ctx) {
|
|
|
15460
15471
|
t7 = space();
|
|
15461
15472
|
div4 = element("div");
|
|
15462
15473
|
div4.textContent = "开启10次";
|
|
15463
|
-
attr(img0, "class", "icon svelte-
|
|
15474
|
+
attr(img0, "class", "icon svelte-khprqu");
|
|
15464
15475
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/goldMagic/magicIcon.png")) attr(img0, "src", img0_src_value);
|
|
15465
|
-
attr(span0, "class", "numCtn svelte-
|
|
15466
|
-
attr(div0, "class", "leftCtn svelte-
|
|
15467
|
-
attr(div1, "class", "rightCtn svelte-
|
|
15468
|
-
attr(div2, "class", "normalBtn svelte-
|
|
15469
|
-
attr(img1, "class", "icon svelte-
|
|
15476
|
+
attr(span0, "class", "numCtn svelte-khprqu");
|
|
15477
|
+
attr(div0, "class", "leftCtn svelte-khprqu");
|
|
15478
|
+
attr(div1, "class", "rightCtn svelte-khprqu");
|
|
15479
|
+
attr(div2, "class", "normalBtn svelte-khprqu");
|
|
15480
|
+
attr(img1, "class", "icon svelte-khprqu");
|
|
15470
15481
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/goldMagic/magicIcon.png")) attr(img1, "src", img1_src_value);
|
|
15471
|
-
attr(span1, "class", "numCtn svelte-
|
|
15472
|
-
attr(div3, "class", "leftCtn svelte-
|
|
15473
|
-
attr(div4, "class", "rightCtn svelte-
|
|
15474
|
-
attr(div5, "class", "normalBtn svelte-
|
|
15475
|
-
attr(div6, "class", "buttonCtn svelte-
|
|
15482
|
+
attr(span1, "class", "numCtn svelte-khprqu");
|
|
15483
|
+
attr(div3, "class", "leftCtn svelte-khprqu");
|
|
15484
|
+
attr(div4, "class", "rightCtn svelte-khprqu");
|
|
15485
|
+
attr(div5, "class", "normalBtn svelte-khprqu");
|
|
15486
|
+
attr(div6, "class", "buttonCtn svelte-khprqu");
|
|
15476
15487
|
},
|
|
15477
15488
|
m(target, anchor) {
|
|
15478
15489
|
insert(target, div6, anchor);
|
|
@@ -15562,14 +15573,14 @@ function create_if_block_1$8(ctx) {
|
|
|
15562
15573
|
t1 = space();
|
|
15563
15574
|
div2 = element("div");
|
|
15564
15575
|
div2.textContent = "开启";
|
|
15565
|
-
attr(input, "class", "inp svelte-
|
|
15576
|
+
attr(input, "class", "inp svelte-khprqu");
|
|
15566
15577
|
attr(input, "placeholder", "输入数量");
|
|
15567
15578
|
attr(input, "type", "number");
|
|
15568
|
-
attr(div0, "class", "svelte-
|
|
15569
|
-
attr(div1, "class", "inputNumWarpper svelte-
|
|
15570
|
-
attr(div2, "class", "smallBtnCtn svelte-
|
|
15571
|
-
attr(div3, "class", "inputNumCtn svelte-
|
|
15572
|
-
attr(div4, "class", "buttonCtn svelte-
|
|
15579
|
+
attr(div0, "class", "svelte-khprqu");
|
|
15580
|
+
attr(div1, "class", "inputNumWarpper svelte-khprqu");
|
|
15581
|
+
attr(div2, "class", "smallBtnCtn svelte-khprqu");
|
|
15582
|
+
attr(div3, "class", "inputNumCtn svelte-khprqu");
|
|
15583
|
+
attr(div4, "class", "buttonCtn svelte-khprqu");
|
|
15573
15584
|
set_style(div4, "display", "flex");
|
|
15574
15585
|
set_style(div4, "justify-content", "center");
|
|
15575
15586
|
},
|
|
@@ -15692,7 +15703,7 @@ function create_if_block$8(ctx) {
|
|
|
15692
15703
|
/*expiresText*/
|
|
15693
15704
|
ctx[7]
|
|
15694
15705
|
);
|
|
15695
|
-
attr(div, "class", "expiresTips svelte-
|
|
15706
|
+
attr(div, "class", "expiresTips svelte-khprqu");
|
|
15696
15707
|
},
|
|
15697
15708
|
m(target, anchor) {
|
|
15698
15709
|
insert(target, div, anchor);
|
|
@@ -15828,7 +15839,7 @@ function create_fragment$8(ctx) {
|
|
|
15828
15839
|
div5 = element("div");
|
|
15829
15840
|
t8 = space();
|
|
15830
15841
|
div9 = element("div");
|
|
15831
|
-
div9.innerHTML = `<div class="fireCtn svelte-
|
|
15842
|
+
div9.innerHTML = `<div class="fireCtn svelte-khprqu"></div> <div class="mainImgCtn mainImgCtnNewYear svelte-khprqu"></div> <div class="mainSvgaCtn svelte-khprqu"></div>`;
|
|
15832
15843
|
t11 = space();
|
|
15833
15844
|
div14 = element("div");
|
|
15834
15845
|
div10 = element("div");
|
|
@@ -15847,55 +15858,55 @@ function create_fragment$8(ctx) {
|
|
|
15847
15858
|
t17 = space();
|
|
15848
15859
|
div12 = element("div");
|
|
15849
15860
|
span4 = element("span");
|
|
15850
|
-
span4.innerHTML = `<img class="radioImg default svelte-
|
|
15861
|
+
span4.innerHTML = `<img class="radioImg default svelte-khprqu" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_no.png"/> <img class="radioImg selected svelte-khprqu" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_yes.png"/>`;
|
|
15851
15862
|
t19 = space();
|
|
15852
15863
|
span5 = element("span");
|
|
15853
15864
|
span5.textContent = "自定义开启数量";
|
|
15854
15865
|
t21 = space();
|
|
15855
15866
|
if (if_block2) if_block2.c();
|
|
15856
|
-
attr(img0, "class", "openGiftTitle svelte-
|
|
15867
|
+
attr(img0, "class", "openGiftTitle svelte-khprqu");
|
|
15857
15868
|
if (!src_url_equal(img0.src, img0_src_value = "https://dynamics-share.tuwan.com/activity/a1f5142d5c75cbf177eac2dbeb5325c6.png?x-oss-process=image/format,webp/ignore-error,1")) attr(img0, "src", img0_src_value);
|
|
15858
|
-
attr(div0, "class", "subTitle svelte-
|
|
15859
|
-
attr(img1, "class", "imgIcon svelte-
|
|
15869
|
+
attr(div0, "class", "subTitle svelte-khprqu");
|
|
15870
|
+
attr(img1, "class", "imgIcon svelte-khprqu");
|
|
15860
15871
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/goldMagic/diamondTabIcon.png")) attr(img1, "src", img1_src_value);
|
|
15861
|
-
attr(span0, "class", "wordCtn svelte-
|
|
15862
|
-
attr(div1, "class", "subCtn svelte-
|
|
15863
|
-
attr(img2, "class", "imgIcon svelte-
|
|
15872
|
+
attr(span0, "class", "wordCtn svelte-khprqu");
|
|
15873
|
+
attr(div1, "class", "subCtn svelte-khprqu");
|
|
15874
|
+
attr(img2, "class", "imgIcon svelte-khprqu");
|
|
15864
15875
|
if (!src_url_equal(img2.src, img2_src_value = "https://asset.tuwan.com/goldMagic/magicTabIcon.png")) attr(img2, "src", img2_src_value);
|
|
15865
|
-
attr(span1, "class", "wordCtn svelte-
|
|
15866
|
-
attr(div2, "class", "subCtn svelte-
|
|
15867
|
-
attr(div3, "class", "leftTopCtn svelte-
|
|
15868
|
-
attr(div4, "class", "fireSvgaCtnNewYear svelte-
|
|
15869
|
-
attr(div5, "class", "result_vap_anim svelte-
|
|
15870
|
-
attr(div9, "class", "mainShowerCtn svelte-
|
|
15871
|
-
attr(span2, "class", "tipsStroke svelte-
|
|
15876
|
+
attr(span1, "class", "wordCtn svelte-khprqu");
|
|
15877
|
+
attr(div2, "class", "subCtn svelte-khprqu");
|
|
15878
|
+
attr(div3, "class", "leftTopCtn svelte-khprqu");
|
|
15879
|
+
attr(div4, "class", "fireSvgaCtnNewYear svelte-khprqu");
|
|
15880
|
+
attr(div5, "class", "result_vap_anim svelte-khprqu");
|
|
15881
|
+
attr(div9, "class", "mainShowerCtn svelte-khprqu");
|
|
15882
|
+
attr(span2, "class", "tipsStroke svelte-khprqu");
|
|
15872
15883
|
attr(
|
|
15873
15884
|
span2,
|
|
15874
15885
|
"data-text",
|
|
15875
15886
|
/*tipsPlain*/
|
|
15876
15887
|
ctx[3]
|
|
15877
15888
|
);
|
|
15878
|
-
attr(img3, "class", "changeImg svelte-
|
|
15889
|
+
attr(img3, "class", "changeImg svelte-khprqu");
|
|
15879
15890
|
attr(img3, "role", "presentation");
|
|
15880
15891
|
if (!src_url_equal(img3.src, img3_src_value = "https://dynamics-share.tuwan.com/activity/9715ce5f5e2a95ac57be7559d47fa04a.png?x-oss-process=image/format,webp/ignore-error,1")) attr(img3, "src", img3_src_value);
|
|
15881
15892
|
attr(img3, "alt", "");
|
|
15882
|
-
attr(div10, "class", "topTipsCtn svelte-
|
|
15893
|
+
attr(div10, "class", "topTipsCtn svelte-khprqu");
|
|
15883
15894
|
attr(div10, "role", "presentation");
|
|
15884
|
-
attr(i, "class", "svelte-
|
|
15895
|
+
attr(i, "class", "svelte-khprqu");
|
|
15885
15896
|
attr(div11, "class", div11_class_value = null_to_empty(
|
|
15886
15897
|
/*parentIgnore*/
|
|
15887
15898
|
ctx[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
15888
|
-
) + " svelte-
|
|
15899
|
+
) + " svelte-khprqu");
|
|
15889
15900
|
attr(div11, "role", "presentation");
|
|
15890
|
-
attr(span4, "class", "spCtn svelte-
|
|
15891
|
-
attr(span5, "class", "changeWordCtn svelte-
|
|
15901
|
+
attr(span4, "class", "spCtn svelte-khprqu");
|
|
15902
|
+
attr(span5, "class", "changeWordCtn svelte-khprqu");
|
|
15892
15903
|
attr(div12, "class", div12_class_value = null_to_empty(
|
|
15893
15904
|
/*radioIsSelected*/
|
|
15894
15905
|
ctx[6] ? "radioCtn active" : "radioCtn"
|
|
15895
|
-
) + " svelte-
|
|
15896
|
-
attr(div13, "class", "footerBottomCtn svelte-
|
|
15897
|
-
attr(div14, "class", "openGiftFooter svelte-
|
|
15898
|
-
attr(div15, "class", "NewYearCtn svelte-
|
|
15906
|
+
) + " svelte-khprqu");
|
|
15907
|
+
attr(div13, "class", "footerBottomCtn svelte-khprqu");
|
|
15908
|
+
attr(div14, "class", "openGiftFooter svelte-khprqu");
|
|
15909
|
+
attr(div15, "class", "NewYearCtn svelte-khprqu");
|
|
15899
15910
|
},
|
|
15900
15911
|
m(target, anchor) {
|
|
15901
15912
|
insert(target, div15, anchor);
|
|
@@ -16033,14 +16044,14 @@ function create_fragment$8(ctx) {
|
|
|
16033
16044
|
2 && div11_class_value !== (div11_class_value = null_to_empty(
|
|
16034
16045
|
/*parentIgnore*/
|
|
16035
16046
|
ctx2[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
16036
|
-
) + " svelte-
|
|
16047
|
+
) + " svelte-khprqu")) {
|
|
16037
16048
|
attr(div11, "class", div11_class_value);
|
|
16038
16049
|
}
|
|
16039
16050
|
if (dirty & /*radioIsSelected*/
|
|
16040
16051
|
64 && div12_class_value !== (div12_class_value = null_to_empty(
|
|
16041
16052
|
/*radioIsSelected*/
|
|
16042
16053
|
ctx2[6] ? "radioCtn active" : "radioCtn"
|
|
16043
|
-
) + " svelte-
|
|
16054
|
+
) + " svelte-khprqu")) {
|
|
16044
16055
|
attr(div12, "class", div12_class_value);
|
|
16045
16056
|
}
|
|
16046
16057
|
if (
|
|
@@ -16137,6 +16148,7 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
16137
16148
|
);
|
|
16138
16149
|
result = res.data;
|
|
16139
16150
|
result._expires = res.expires || [];
|
|
16151
|
+
result._totalProcess = res["total-process"];
|
|
16140
16152
|
let isJumpAnimation = SessionStorage.getInstance().getGoldMagicAnimIgnore() || 0;
|
|
16141
16153
|
if (isJumpAnimation == 0) {
|
|
16142
16154
|
const vapUrl = "https://dynamics-share.tuwan.com/activity/431da644d314303a0231585c723b968e.mp4";
|
|
@@ -16154,7 +16166,7 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
16154
16166
|
});
|
|
16155
16167
|
setTimeout(
|
|
16156
16168
|
() => {
|
|
16157
|
-
handleSetResult(result, times || spTimes
|
|
16169
|
+
handleSetResult(result, times || spTimes);
|
|
16158
16170
|
emptyEl(".result_vap_anim");
|
|
16159
16171
|
},
|
|
16160
16172
|
1100
|
|
@@ -16162,7 +16174,7 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
16162
16174
|
} else {
|
|
16163
16175
|
isGoing = false;
|
|
16164
16176
|
handleGetGiftInfo();
|
|
16165
|
-
handleSetResult(result, times || spTimes
|
|
16177
|
+
handleSetResult(result, times || spTimes);
|
|
16166
16178
|
}
|
|
16167
16179
|
} else if (res.error == -2) {
|
|
16168
16180
|
isGoing = false;
|
|
@@ -16339,12 +16351,12 @@ function create_if_block$7(ctx) {
|
|
|
16339
16351
|
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
16340
16352
|
}
|
|
16341
16353
|
let if_block1 = (
|
|
16342
|
-
/*
|
|
16343
|
-
ctx[
|
|
16354
|
+
/*isShowResult*/
|
|
16355
|
+
ctx[12] && create_if_block_2$7(ctx)
|
|
16344
16356
|
);
|
|
16345
16357
|
let if_block2 = (
|
|
16346
|
-
/*
|
|
16347
|
-
ctx[
|
|
16358
|
+
/*isShowHistory*/
|
|
16359
|
+
ctx[10] && create_if_block_1$7(ctx)
|
|
16348
16360
|
);
|
|
16349
16361
|
return {
|
|
16350
16362
|
c() {
|
|
@@ -16354,28 +16366,28 @@ function create_if_block$7(ctx) {
|
|
|
16354
16366
|
div4 = element("div");
|
|
16355
16367
|
div3 = element("div");
|
|
16356
16368
|
div1 = element("div");
|
|
16357
|
-
div1.innerHTML = `<img class="imgIcon svelte-
|
|
16369
|
+
div1.innerHTML = `<img class="imgIcon svelte-1h7epg8" src="https://asset.tuwan.com/goldMagic/learnMoreIcon.png"/>`;
|
|
16358
16370
|
t1 = space();
|
|
16359
16371
|
div2 = element("div");
|
|
16360
|
-
div2.innerHTML = `<img class="imgIcon svelte-
|
|
16372
|
+
div2.innerHTML = `<img class="imgIcon svelte-1h7epg8" src="https://asset.tuwan.com/goldMagic/recordIcon.png"/>`;
|
|
16361
16373
|
t2 = space();
|
|
16362
16374
|
if (if_block0) if_block0.c();
|
|
16363
16375
|
t3 = space();
|
|
16364
16376
|
if (if_block1) if_block1.c();
|
|
16365
16377
|
t4 = space();
|
|
16366
16378
|
if (if_block2) if_block2.c();
|
|
16367
|
-
attr(div0, "class", "coverBg svelte-
|
|
16379
|
+
attr(div0, "class", "coverBg svelte-1h7epg8");
|
|
16368
16380
|
attr(div0, "role", "presentation");
|
|
16369
|
-
attr(div1, "class", "subCtn svelte-
|
|
16370
|
-
attr(div2, "class", "subCtn svelte-
|
|
16371
|
-
attr(div3, "class", "rightTopCtn svelte-
|
|
16381
|
+
attr(div1, "class", "subCtn svelte-1h7epg8");
|
|
16382
|
+
attr(div2, "class", "subCtn svelte-1h7epg8");
|
|
16383
|
+
attr(div3, "class", "rightTopCtn svelte-1h7epg8");
|
|
16372
16384
|
attr(div4, "class", div4_class_value = null_to_empty(
|
|
16373
16385
|
/*currentType*/
|
|
16374
16386
|
ctx[0] == "1" ? "goldMagicCtn magic" : (
|
|
16375
16387
|
/*currentType*/
|
|
16376
16388
|
ctx[0] == "2" ? "goldMagicCtn gold" : "goldMagicCtn magic"
|
|
16377
16389
|
)
|
|
16378
|
-
) + " svelte-
|
|
16390
|
+
) + " svelte-1h7epg8");
|
|
16379
16391
|
attr(div4, "role", "presentation");
|
|
16380
16392
|
attr(div5, "role", "presentation");
|
|
16381
16393
|
},
|
|
@@ -16409,21 +16421,21 @@ function create_if_block$7(ctx) {
|
|
|
16409
16421
|
div1,
|
|
16410
16422
|
"click",
|
|
16411
16423
|
/*goToPage*/
|
|
16412
|
-
ctx[
|
|
16424
|
+
ctx[17]
|
|
16413
16425
|
),
|
|
16414
16426
|
listen(
|
|
16415
16427
|
div2,
|
|
16416
16428
|
"click",
|
|
16417
16429
|
/*openGiftRecordList*/
|
|
16418
|
-
ctx[
|
|
16430
|
+
ctx[16]
|
|
16419
16431
|
),
|
|
16420
16432
|
listen(div4, "click", stop_propagation(
|
|
16421
16433
|
/*click_handler_1*/
|
|
16422
|
-
ctx[
|
|
16434
|
+
ctx[20]
|
|
16423
16435
|
)),
|
|
16424
16436
|
listen(div5, "click", stop_propagation(
|
|
16425
16437
|
/*click_handler*/
|
|
16426
|
-
ctx[
|
|
16438
|
+
ctx[19]
|
|
16427
16439
|
))
|
|
16428
16440
|
];
|
|
16429
16441
|
mounted = true;
|
|
@@ -16460,17 +16472,17 @@ function create_if_block$7(ctx) {
|
|
|
16460
16472
|
}
|
|
16461
16473
|
}
|
|
16462
16474
|
if (
|
|
16463
|
-
/*
|
|
16464
|
-
ctx[
|
|
16475
|
+
/*isShowResult*/
|
|
16476
|
+
ctx[12]
|
|
16465
16477
|
) {
|
|
16466
16478
|
if (if_block1) {
|
|
16467
16479
|
if_block1.p(ctx, dirty);
|
|
16468
|
-
if (dirty & /*
|
|
16469
|
-
|
|
16480
|
+
if (dirty & /*isShowResult*/
|
|
16481
|
+
4096) {
|
|
16470
16482
|
transition_in(if_block1, 1);
|
|
16471
16483
|
}
|
|
16472
16484
|
} else {
|
|
16473
|
-
if_block1 =
|
|
16485
|
+
if_block1 = create_if_block_2$7(ctx);
|
|
16474
16486
|
if_block1.c();
|
|
16475
16487
|
transition_in(if_block1, 1);
|
|
16476
16488
|
if_block1.m(div4, t4);
|
|
@@ -16483,13 +16495,13 @@ function create_if_block$7(ctx) {
|
|
|
16483
16495
|
check_outros();
|
|
16484
16496
|
}
|
|
16485
16497
|
if (
|
|
16486
|
-
/*
|
|
16487
|
-
ctx[
|
|
16498
|
+
/*isShowHistory*/
|
|
16499
|
+
ctx[10]
|
|
16488
16500
|
) {
|
|
16489
16501
|
if (if_block2) {
|
|
16490
16502
|
if_block2.p(ctx, dirty);
|
|
16491
|
-
if (dirty & /*
|
|
16492
|
-
|
|
16503
|
+
if (dirty & /*isShowHistory*/
|
|
16504
|
+
1024) {
|
|
16493
16505
|
transition_in(if_block2, 1);
|
|
16494
16506
|
}
|
|
16495
16507
|
} else {
|
|
@@ -16512,7 +16524,7 @@ function create_if_block$7(ctx) {
|
|
|
16512
16524
|
/*currentType*/
|
|
16513
16525
|
ctx[0] == "2" ? "goldMagicCtn gold" : "goldMagicCtn magic"
|
|
16514
16526
|
)
|
|
16515
|
-
) + " svelte-
|
|
16527
|
+
) + " svelte-1h7epg8")) {
|
|
16516
16528
|
attr(div4, "class", div4_class_value);
|
|
16517
16529
|
}
|
|
16518
16530
|
},
|
|
@@ -16558,7 +16570,7 @@ function create_if_block_6$1(ctx) {
|
|
|
16558
16570
|
),
|
|
16559
16571
|
handleSetResult: (
|
|
16560
16572
|
/*handleSetResult*/
|
|
16561
|
-
ctx[
|
|
16573
|
+
ctx[15]
|
|
16562
16574
|
),
|
|
16563
16575
|
parentIgnore: (
|
|
16564
16576
|
/*parentIgnore*/
|
|
@@ -16566,7 +16578,7 @@ function create_if_block_6$1(ctx) {
|
|
|
16566
16578
|
),
|
|
16567
16579
|
handelChangeIgnore: (
|
|
16568
16580
|
/*handelChangeIgnore*/
|
|
16569
|
-
ctx[
|
|
16581
|
+
ctx[14]
|
|
16570
16582
|
)
|
|
16571
16583
|
}
|
|
16572
16584
|
});
|
|
@@ -16619,11 +16631,11 @@ function create_if_block_5$2(ctx) {
|
|
|
16619
16631
|
),
|
|
16620
16632
|
handleSetResult: (
|
|
16621
16633
|
/*handleSetResult*/
|
|
16622
|
-
ctx[
|
|
16634
|
+
ctx[15]
|
|
16623
16635
|
)
|
|
16624
16636
|
};
|
|
16625
16637
|
gold = new Gold({ props: gold_props });
|
|
16626
|
-
ctx[
|
|
16638
|
+
ctx[21](gold);
|
|
16627
16639
|
return {
|
|
16628
16640
|
c() {
|
|
16629
16641
|
create_component(gold.$$.fragment);
|
|
@@ -16652,7 +16664,7 @@ function create_if_block_5$2(ctx) {
|
|
|
16652
16664
|
current = false;
|
|
16653
16665
|
},
|
|
16654
16666
|
d(detaching) {
|
|
16655
|
-
ctx[
|
|
16667
|
+
ctx[21](null);
|
|
16656
16668
|
destroy_component(gold, detaching);
|
|
16657
16669
|
}
|
|
16658
16670
|
};
|
|
@@ -16672,7 +16684,7 @@ function create_if_block_4$2(ctx) {
|
|
|
16672
16684
|
),
|
|
16673
16685
|
handleSetResult: (
|
|
16674
16686
|
/*handleSetResult*/
|
|
16675
|
-
ctx[
|
|
16687
|
+
ctx[15]
|
|
16676
16688
|
),
|
|
16677
16689
|
parentIgnore: (
|
|
16678
16690
|
/*parentIgnore*/
|
|
@@ -16680,7 +16692,7 @@ function create_if_block_4$2(ctx) {
|
|
|
16680
16692
|
),
|
|
16681
16693
|
handelChangeIgnore: (
|
|
16682
16694
|
/*handelChangeIgnore*/
|
|
16683
|
-
ctx[
|
|
16695
|
+
ctx[14]
|
|
16684
16696
|
)
|
|
16685
16697
|
}
|
|
16686
16698
|
});
|
|
@@ -16719,79 +16731,15 @@ function create_if_block_4$2(ctx) {
|
|
|
16719
16731
|
}
|
|
16720
16732
|
};
|
|
16721
16733
|
}
|
|
16722
|
-
function
|
|
16723
|
-
let
|
|
16724
|
-
let
|
|
16734
|
+
function create_if_block_2$7(ctx) {
|
|
16735
|
+
let current_block_type_index;
|
|
16736
|
+
let if_block;
|
|
16737
|
+
let if_block_anchor;
|
|
16725
16738
|
let current;
|
|
16726
|
-
|
|
16727
|
-
|
|
16728
|
-
|
|
16729
|
-
|
|
16730
|
-
mode: (
|
|
16731
|
-
/*currentType*/
|
|
16732
|
-
ctx[0] == "1" ? RESULT_VIEW_TYPE$1.CRYSTAL_TYPE : (
|
|
16733
|
-
/*currentType*/
|
|
16734
|
-
ctx[0] == "2" ? RESULT_VIEW_TYPE$1.GOLD_TYPE : RESULT_VIEW_TYPE$1.NEW_YEAR_TYPE
|
|
16735
|
-
)
|
|
16736
|
-
)
|
|
16737
|
-
};
|
|
16738
|
-
if (
|
|
16739
|
-
/*handleChangeHistory*/
|
|
16740
|
-
ctx[12] !== void 0
|
|
16741
|
-
) {
|
|
16742
|
-
history_props.onClose = /*handleChangeHistory*/
|
|
16743
|
-
ctx[12];
|
|
16744
|
-
}
|
|
16745
|
-
history = new History$1({ props: history_props });
|
|
16746
|
-
binding_callbacks.push(() => bind(history, "onClose", history_onClose_binding));
|
|
16747
|
-
return {
|
|
16748
|
-
c() {
|
|
16749
|
-
create_component(history.$$.fragment);
|
|
16750
|
-
},
|
|
16751
|
-
m(target, anchor) {
|
|
16752
|
-
mount_component(history, target, anchor);
|
|
16753
|
-
current = true;
|
|
16754
|
-
},
|
|
16755
|
-
p(ctx2, dirty) {
|
|
16756
|
-
const history_changes = {};
|
|
16757
|
-
if (dirty & /*currentType*/
|
|
16758
|
-
1) history_changes.mode = /*currentType*/
|
|
16759
|
-
ctx2[0] == "1" ? RESULT_VIEW_TYPE$1.CRYSTAL_TYPE : (
|
|
16760
|
-
/*currentType*/
|
|
16761
|
-
ctx2[0] == "2" ? RESULT_VIEW_TYPE$1.GOLD_TYPE : RESULT_VIEW_TYPE$1.NEW_YEAR_TYPE
|
|
16762
|
-
);
|
|
16763
|
-
if (!updating_onClose && dirty & /*handleChangeHistory*/
|
|
16764
|
-
4096) {
|
|
16765
|
-
updating_onClose = true;
|
|
16766
|
-
history_changes.onClose = /*handleChangeHistory*/
|
|
16767
|
-
ctx2[12];
|
|
16768
|
-
add_flush_callback(() => updating_onClose = false);
|
|
16769
|
-
}
|
|
16770
|
-
history.$set(history_changes);
|
|
16771
|
-
},
|
|
16772
|
-
i(local) {
|
|
16773
|
-
if (current) return;
|
|
16774
|
-
transition_in(history.$$.fragment, local);
|
|
16775
|
-
current = true;
|
|
16776
|
-
},
|
|
16777
|
-
o(local) {
|
|
16778
|
-
transition_out(history.$$.fragment, local);
|
|
16779
|
-
current = false;
|
|
16780
|
-
},
|
|
16781
|
-
d(detaching) {
|
|
16782
|
-
destroy_component(history, detaching);
|
|
16783
|
-
}
|
|
16784
|
-
};
|
|
16785
|
-
}
|
|
16786
|
-
function create_if_block_1$7(ctx) {
|
|
16787
|
-
let current_block_type_index;
|
|
16788
|
-
let if_block;
|
|
16789
|
-
let if_block_anchor;
|
|
16790
|
-
let current;
|
|
16791
|
-
const if_block_creators = [create_if_block_2$7, create_else_block$5];
|
|
16792
|
-
const if_blocks = [];
|
|
16793
|
-
function select_block_type_1(ctx2, dirty) {
|
|
16794
|
-
if (
|
|
16739
|
+
const if_block_creators = [create_if_block_3$4, create_else_block$5];
|
|
16740
|
+
const if_blocks = [];
|
|
16741
|
+
function select_block_type_1(ctx2, dirty) {
|
|
16742
|
+
if (
|
|
16795
16743
|
/*currentType*/
|
|
16796
16744
|
ctx2[0] == "3"
|
|
16797
16745
|
) return 0;
|
|
@@ -16853,7 +16801,7 @@ function create_else_block$5(ctx) {
|
|
|
16853
16801
|
let updating_onClose;
|
|
16854
16802
|
let current;
|
|
16855
16803
|
function result_1_onClose_binding(value) {
|
|
16856
|
-
ctx[
|
|
16804
|
+
ctx[23](value);
|
|
16857
16805
|
}
|
|
16858
16806
|
let result_1_props = {
|
|
16859
16807
|
num: (
|
|
@@ -16864,10 +16812,6 @@ function create_else_block$5(ctx) {
|
|
|
16864
16812
|
/*result*/
|
|
16865
16813
|
ctx[9]
|
|
16866
16814
|
),
|
|
16867
|
-
showCrit: (
|
|
16868
|
-
/*showCrit*/
|
|
16869
|
-
ctx[10]
|
|
16870
|
-
),
|
|
16871
16815
|
mode: (
|
|
16872
16816
|
/*currentType*/
|
|
16873
16817
|
ctx[0] == "1" ? RESULT_VIEW_TYPE$1.CRYSTAL_TYPE : RESULT_VIEW_TYPE$1.GOLD_TYPE
|
|
@@ -16878,15 +16822,15 @@ function create_else_block$5(ctx) {
|
|
|
16878
16822
|
),
|
|
16879
16823
|
handelChangeIgnore: (
|
|
16880
16824
|
/*handelChangeIgnore*/
|
|
16881
|
-
ctx[
|
|
16825
|
+
ctx[14]
|
|
16882
16826
|
)
|
|
16883
16827
|
};
|
|
16884
16828
|
if (
|
|
16885
16829
|
/*handleChangeResult*/
|
|
16886
|
-
ctx[
|
|
16830
|
+
ctx[13] !== void 0
|
|
16887
16831
|
) {
|
|
16888
16832
|
result_1_props.onClose = /*handleChangeResult*/
|
|
16889
|
-
ctx[
|
|
16833
|
+
ctx[13];
|
|
16890
16834
|
}
|
|
16891
16835
|
result_1 = new Result$1({ props: result_1_props });
|
|
16892
16836
|
binding_callbacks.push(() => bind(result_1, "onClose", result_1_onClose_binding));
|
|
@@ -16906,9 +16850,6 @@ function create_else_block$5(ctx) {
|
|
|
16906
16850
|
if (dirty & /*result*/
|
|
16907
16851
|
512) result_1_changes.result = /*result*/
|
|
16908
16852
|
ctx2[9];
|
|
16909
|
-
if (dirty & /*showCrit*/
|
|
16910
|
-
1024) result_1_changes.showCrit = /*showCrit*/
|
|
16911
|
-
ctx2[10];
|
|
16912
16853
|
if (dirty & /*currentType*/
|
|
16913
16854
|
1) result_1_changes.mode = /*currentType*/
|
|
16914
16855
|
ctx2[0] == "1" ? RESULT_VIEW_TYPE$1.CRYSTAL_TYPE : RESULT_VIEW_TYPE$1.GOLD_TYPE;
|
|
@@ -16916,10 +16857,10 @@ function create_else_block$5(ctx) {
|
|
|
16916
16857
|
256) result_1_changes.parentIgnore = /*parentIgnore*/
|
|
16917
16858
|
ctx2[8];
|
|
16918
16859
|
if (!updating_onClose && dirty & /*handleChangeResult*/
|
|
16919
|
-
|
|
16860
|
+
8192) {
|
|
16920
16861
|
updating_onClose = true;
|
|
16921
16862
|
result_1_changes.onClose = /*handleChangeResult*/
|
|
16922
|
-
ctx2[
|
|
16863
|
+
ctx2[13];
|
|
16923
16864
|
add_flush_callback(() => updating_onClose = false);
|
|
16924
16865
|
}
|
|
16925
16866
|
result_1.$set(result_1_changes);
|
|
@@ -16938,12 +16879,12 @@ function create_else_block$5(ctx) {
|
|
|
16938
16879
|
}
|
|
16939
16880
|
};
|
|
16940
16881
|
}
|
|
16941
|
-
function
|
|
16882
|
+
function create_if_block_3$4(ctx) {
|
|
16942
16883
|
let newyearresult;
|
|
16943
16884
|
let updating_onClose;
|
|
16944
16885
|
let current;
|
|
16945
16886
|
function newyearresult_onClose_binding(value) {
|
|
16946
|
-
ctx[
|
|
16887
|
+
ctx[22](value);
|
|
16947
16888
|
}
|
|
16948
16889
|
let newyearresult_props = {
|
|
16949
16890
|
num: (
|
|
@@ -16954,10 +16895,6 @@ function create_if_block_2$7(ctx) {
|
|
|
16954
16895
|
/*result*/
|
|
16955
16896
|
ctx[9]
|
|
16956
16897
|
),
|
|
16957
|
-
showCrit: (
|
|
16958
|
-
/*showCrit*/
|
|
16959
|
-
ctx[10]
|
|
16960
|
-
),
|
|
16961
16898
|
mode: RESULT_VIEW_TYPE$1.NEW_YEAR_TYPE,
|
|
16962
16899
|
parentIgnore: (
|
|
16963
16900
|
/*parentIgnore*/
|
|
@@ -16965,15 +16902,15 @@ function create_if_block_2$7(ctx) {
|
|
|
16965
16902
|
),
|
|
16966
16903
|
handelChangeIgnore: (
|
|
16967
16904
|
/*handelChangeIgnore*/
|
|
16968
|
-
ctx[
|
|
16905
|
+
ctx[14]
|
|
16969
16906
|
)
|
|
16970
16907
|
};
|
|
16971
16908
|
if (
|
|
16972
16909
|
/*handleChangeResult*/
|
|
16973
|
-
ctx[
|
|
16910
|
+
ctx[13] !== void 0
|
|
16974
16911
|
) {
|
|
16975
16912
|
newyearresult_props.onClose = /*handleChangeResult*/
|
|
16976
|
-
ctx[
|
|
16913
|
+
ctx[13];
|
|
16977
16914
|
}
|
|
16978
16915
|
newyearresult = new NewyearResult({ props: newyearresult_props });
|
|
16979
16916
|
binding_callbacks.push(() => bind(newyearresult, "onClose", newyearresult_onClose_binding));
|
|
@@ -16993,17 +16930,14 @@ function create_if_block_2$7(ctx) {
|
|
|
16993
16930
|
if (dirty & /*result*/
|
|
16994
16931
|
512) newyearresult_changes.result = /*result*/
|
|
16995
16932
|
ctx2[9];
|
|
16996
|
-
if (dirty & /*showCrit*/
|
|
16997
|
-
1024) newyearresult_changes.showCrit = /*showCrit*/
|
|
16998
|
-
ctx2[10];
|
|
16999
16933
|
if (dirty & /*parentIgnore*/
|
|
17000
16934
|
256) newyearresult_changes.parentIgnore = /*parentIgnore*/
|
|
17001
16935
|
ctx2[8];
|
|
17002
16936
|
if (!updating_onClose && dirty & /*handleChangeResult*/
|
|
17003
|
-
|
|
16937
|
+
8192) {
|
|
17004
16938
|
updating_onClose = true;
|
|
17005
16939
|
newyearresult_changes.onClose = /*handleChangeResult*/
|
|
17006
|
-
ctx2[
|
|
16940
|
+
ctx2[13];
|
|
17007
16941
|
add_flush_callback(() => updating_onClose = false);
|
|
17008
16942
|
}
|
|
17009
16943
|
newyearresult.$set(newyearresult_changes);
|
|
@@ -17022,6 +16956,70 @@ function create_if_block_2$7(ctx) {
|
|
|
17022
16956
|
}
|
|
17023
16957
|
};
|
|
17024
16958
|
}
|
|
16959
|
+
function create_if_block_1$7(ctx) {
|
|
16960
|
+
let history;
|
|
16961
|
+
let updating_onClose;
|
|
16962
|
+
let current;
|
|
16963
|
+
function history_onClose_binding(value) {
|
|
16964
|
+
ctx[24](value);
|
|
16965
|
+
}
|
|
16966
|
+
let history_props = {
|
|
16967
|
+
mode: (
|
|
16968
|
+
/*currentType*/
|
|
16969
|
+
ctx[0] == "1" ? RESULT_VIEW_TYPE$1.CRYSTAL_TYPE : (
|
|
16970
|
+
/*currentType*/
|
|
16971
|
+
ctx[0] == "2" ? RESULT_VIEW_TYPE$1.GOLD_TYPE : RESULT_VIEW_TYPE$1.NEW_YEAR_TYPE
|
|
16972
|
+
)
|
|
16973
|
+
)
|
|
16974
|
+
};
|
|
16975
|
+
if (
|
|
16976
|
+
/*handleChangeHistory*/
|
|
16977
|
+
ctx[11] !== void 0
|
|
16978
|
+
) {
|
|
16979
|
+
history_props.onClose = /*handleChangeHistory*/
|
|
16980
|
+
ctx[11];
|
|
16981
|
+
}
|
|
16982
|
+
history = new History$1({ props: history_props });
|
|
16983
|
+
binding_callbacks.push(() => bind(history, "onClose", history_onClose_binding));
|
|
16984
|
+
return {
|
|
16985
|
+
c() {
|
|
16986
|
+
create_component(history.$$.fragment);
|
|
16987
|
+
},
|
|
16988
|
+
m(target, anchor) {
|
|
16989
|
+
mount_component(history, target, anchor);
|
|
16990
|
+
current = true;
|
|
16991
|
+
},
|
|
16992
|
+
p(ctx2, dirty) {
|
|
16993
|
+
const history_changes = {};
|
|
16994
|
+
if (dirty & /*currentType*/
|
|
16995
|
+
1) history_changes.mode = /*currentType*/
|
|
16996
|
+
ctx2[0] == "1" ? RESULT_VIEW_TYPE$1.CRYSTAL_TYPE : (
|
|
16997
|
+
/*currentType*/
|
|
16998
|
+
ctx2[0] == "2" ? RESULT_VIEW_TYPE$1.GOLD_TYPE : RESULT_VIEW_TYPE$1.NEW_YEAR_TYPE
|
|
16999
|
+
);
|
|
17000
|
+
if (!updating_onClose && dirty & /*handleChangeHistory*/
|
|
17001
|
+
2048) {
|
|
17002
|
+
updating_onClose = true;
|
|
17003
|
+
history_changes.onClose = /*handleChangeHistory*/
|
|
17004
|
+
ctx2[11];
|
|
17005
|
+
add_flush_callback(() => updating_onClose = false);
|
|
17006
|
+
}
|
|
17007
|
+
history.$set(history_changes);
|
|
17008
|
+
},
|
|
17009
|
+
i(local) {
|
|
17010
|
+
if (current) return;
|
|
17011
|
+
transition_in(history.$$.fragment, local);
|
|
17012
|
+
current = true;
|
|
17013
|
+
},
|
|
17014
|
+
o(local) {
|
|
17015
|
+
transition_out(history.$$.fragment, local);
|
|
17016
|
+
current = false;
|
|
17017
|
+
},
|
|
17018
|
+
d(detaching) {
|
|
17019
|
+
destroy_component(history, detaching);
|
|
17020
|
+
}
|
|
17021
|
+
};
|
|
17022
|
+
}
|
|
17025
17023
|
function create_fragment$7(ctx) {
|
|
17026
17024
|
let if_block_anchor;
|
|
17027
17025
|
let current;
|
|
@@ -17093,28 +17091,26 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
17093
17091
|
let newyearResData = null;
|
|
17094
17092
|
let parentIgnore = false;
|
|
17095
17093
|
let result = [];
|
|
17096
|
-
let showCrit = false;
|
|
17097
17094
|
let handelChangeIgnore = () => {
|
|
17098
17095
|
$$invalidate(8, parentIgnore = !parentIgnore);
|
|
17099
17096
|
};
|
|
17100
17097
|
let isShowHistory = false;
|
|
17101
17098
|
let handleChangeHistory = function() {
|
|
17102
|
-
$$invalidate(
|
|
17099
|
+
$$invalidate(10, isShowHistory = !isShowHistory);
|
|
17103
17100
|
};
|
|
17104
17101
|
let isShowResult = false;
|
|
17105
17102
|
let handleChangeResult = function() {
|
|
17106
17103
|
$$invalidate(2, flag = flag + 1);
|
|
17107
|
-
$$invalidate(
|
|
17104
|
+
$$invalidate(12, isShowResult = !isShowResult);
|
|
17108
17105
|
};
|
|
17109
|
-
let handleSetResult = function(dataArr, times = 1
|
|
17106
|
+
let handleSetResult = function(dataArr, times = 1) {
|
|
17110
17107
|
$$invalidate(9, result = dataArr);
|
|
17111
|
-
$$invalidate(
|
|
17112
|
-
$$invalidate(
|
|
17108
|
+
$$invalidate(12, isShowResult = !isShowResult);
|
|
17109
|
+
$$invalidate(12, isShowResult = true);
|
|
17113
17110
|
$$invalidate(3, num = times);
|
|
17114
|
-
$$invalidate(10, showCrit = Number(totalProcess) == 1);
|
|
17115
17111
|
};
|
|
17116
17112
|
let openGiftRecordList = function() {
|
|
17117
|
-
$$invalidate(
|
|
17113
|
+
$$invalidate(10, isShowHistory = true);
|
|
17118
17114
|
};
|
|
17119
17115
|
let goToPage = function() {
|
|
17120
17116
|
if (explain_url) {
|
|
@@ -17146,21 +17142,21 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
17146
17142
|
$$invalidate(4, goldChild);
|
|
17147
17143
|
});
|
|
17148
17144
|
}
|
|
17149
|
-
function history_onClose_binding(value) {
|
|
17150
|
-
handleChangeHistory = value;
|
|
17151
|
-
$$invalidate(12, handleChangeHistory);
|
|
17152
|
-
}
|
|
17153
17145
|
function newyearresult_onClose_binding(value) {
|
|
17154
17146
|
handleChangeResult = value;
|
|
17155
|
-
$$invalidate(
|
|
17147
|
+
$$invalidate(13, handleChangeResult);
|
|
17156
17148
|
}
|
|
17157
17149
|
function result_1_onClose_binding(value) {
|
|
17158
17150
|
handleChangeResult = value;
|
|
17159
|
-
$$invalidate(
|
|
17151
|
+
$$invalidate(13, handleChangeResult);
|
|
17152
|
+
}
|
|
17153
|
+
function history_onClose_binding(value) {
|
|
17154
|
+
handleChangeHistory = value;
|
|
17155
|
+
$$invalidate(11, handleChangeHistory);
|
|
17160
17156
|
}
|
|
17161
17157
|
$$self.$$set = ($$props2) => {
|
|
17162
17158
|
if ("currentType" in $$props2) $$invalidate(0, currentType = $$props2.currentType);
|
|
17163
|
-
if ("explain_url" in $$props2) $$invalidate(
|
|
17159
|
+
if ("explain_url" in $$props2) $$invalidate(18, explain_url = $$props2.explain_url);
|
|
17164
17160
|
if ("closeModal" in $$props2) $$invalidate(1, closeModal = $$props2.closeModal);
|
|
17165
17161
|
};
|
|
17166
17162
|
return [
|
|
@@ -17174,7 +17170,6 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
17174
17170
|
newyearResData,
|
|
17175
17171
|
parentIgnore,
|
|
17176
17172
|
result,
|
|
17177
|
-
showCrit,
|
|
17178
17173
|
isShowHistory,
|
|
17179
17174
|
handleChangeHistory,
|
|
17180
17175
|
isShowResult,
|
|
@@ -17187,9 +17182,9 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
17187
17182
|
click_handler,
|
|
17188
17183
|
click_handler_12,
|
|
17189
17184
|
gold_binding,
|
|
17190
|
-
history_onClose_binding,
|
|
17191
17185
|
newyearresult_onClose_binding,
|
|
17192
|
-
result_1_onClose_binding
|
|
17186
|
+
result_1_onClose_binding,
|
|
17187
|
+
history_onClose_binding
|
|
17193
17188
|
];
|
|
17194
17189
|
}
|
|
17195
17190
|
class GoldMagic extends SvelteComponent {
|
|
@@ -17197,7 +17192,7 @@ class GoldMagic extends SvelteComponent {
|
|
|
17197
17192
|
super();
|
|
17198
17193
|
init(this, options2, instance$7, create_fragment$7, safe_not_equal, {
|
|
17199
17194
|
currentType: 0,
|
|
17200
|
-
explain_url:
|
|
17195
|
+
explain_url: 18,
|
|
17201
17196
|
closeModal: 1
|
|
17202
17197
|
});
|
|
17203
17198
|
}
|
|
@@ -17724,7 +17719,7 @@ function create_else_block_1(ctx) {
|
|
|
17724
17719
|
img = element("img");
|
|
17725
17720
|
if (!src_url_equal(img.src, img_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/loveTitleResult.png")) attr(img, "src", img_src_value);
|
|
17726
17721
|
attr(img, "alt", "");
|
|
17727
|
-
attr(img, "class", "svelte-
|
|
17722
|
+
attr(img, "class", "svelte-1j6kp9e");
|
|
17728
17723
|
},
|
|
17729
17724
|
m(target, anchor) {
|
|
17730
17725
|
insert(target, img, anchor);
|
|
@@ -17744,7 +17739,7 @@ function create_if_block_5(ctx) {
|
|
|
17744
17739
|
img = element("img");
|
|
17745
17740
|
if (!src_url_equal(img.src, img_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/luckyTitleResult.png")) attr(img, "src", img_src_value);
|
|
17746
17741
|
attr(img, "alt", "");
|
|
17747
|
-
attr(img, "class", "svelte-
|
|
17742
|
+
attr(img, "class", "svelte-1j6kp9e");
|
|
17748
17743
|
},
|
|
17749
17744
|
m(target, anchor) {
|
|
17750
17745
|
insert(target, img, anchor);
|
|
@@ -17772,14 +17767,14 @@ function create_if_block_4(ctx) {
|
|
|
17772
17767
|
span = element("span");
|
|
17773
17768
|
t1 = text(
|
|
17774
17769
|
/*hitTimes*/
|
|
17775
|
-
ctx[
|
|
17770
|
+
ctx[8]
|
|
17776
17771
|
);
|
|
17777
17772
|
t2 = text("次");
|
|
17778
17773
|
attr(img, "alt", "");
|
|
17779
|
-
attr(img, "class", "imgIcon svelte-
|
|
17774
|
+
attr(img, "class", "imgIcon svelte-1j6kp9e");
|
|
17780
17775
|
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);
|
|
17781
|
-
attr(span, "class", "wordCtn svelte-
|
|
17782
|
-
attr(div, "class", "subCtn svelte-
|
|
17776
|
+
attr(span, "class", "wordCtn svelte-1j6kp9e");
|
|
17777
|
+
attr(div, "class", "subCtn svelte-1j6kp9e");
|
|
17783
17778
|
},
|
|
17784
17779
|
m(target, anchor) {
|
|
17785
17780
|
insert(target, div, anchor);
|
|
@@ -17791,10 +17786,10 @@ function create_if_block_4(ctx) {
|
|
|
17791
17786
|
},
|
|
17792
17787
|
p(ctx2, dirty) {
|
|
17793
17788
|
if (dirty[0] & /*hitTimes*/
|
|
17794
|
-
|
|
17789
|
+
256) set_data(
|
|
17795
17790
|
t1,
|
|
17796
17791
|
/*hitTimes*/
|
|
17797
|
-
ctx2[
|
|
17792
|
+
ctx2[8]
|
|
17798
17793
|
);
|
|
17799
17794
|
},
|
|
17800
17795
|
d(detaching) {
|
|
@@ -17815,7 +17810,7 @@ function create_each_block$1(ctx) {
|
|
|
17815
17810
|
),
|
|
17816
17811
|
mode: (
|
|
17817
17812
|
/*mode*/
|
|
17818
|
-
ctx[
|
|
17813
|
+
ctx[2]
|
|
17819
17814
|
),
|
|
17820
17815
|
num: (
|
|
17821
17816
|
/*item*/
|
|
@@ -17843,7 +17838,7 @@ function create_each_block$1(ctx) {
|
|
|
17843
17838
|
),
|
|
17844
17839
|
hit: (
|
|
17845
17840
|
/*mode*/
|
|
17846
|
-
ctx[
|
|
17841
|
+
ctx[2] == RESULT_VIEW_TYPE.LOVE_TYPE ? (
|
|
17847
17842
|
/*item*/
|
|
17848
17843
|
ctx[32].hit
|
|
17849
17844
|
) : 0
|
|
@@ -17865,8 +17860,8 @@ function create_each_block$1(ctx) {
|
|
|
17865
17860
|
p(ctx2, dirty) {
|
|
17866
17861
|
const resultgiftitem_changes = {};
|
|
17867
17862
|
if (dirty[0] & /*mode*/
|
|
17868
|
-
|
|
17869
|
-
ctx2[
|
|
17863
|
+
4) resultgiftitem_changes.mode = /*mode*/
|
|
17864
|
+
ctx2[2];
|
|
17870
17865
|
if (dirty[0] & /*result*/
|
|
17871
17866
|
1) resultgiftitem_changes.num = /*item*/
|
|
17872
17867
|
ctx2[32].uids[0].num;
|
|
@@ -17886,8 +17881,8 @@ function create_each_block$1(ctx) {
|
|
|
17886
17881
|
1) resultgiftitem_changes.open_val = /*item*/
|
|
17887
17882
|
ctx2[32].open_val;
|
|
17888
17883
|
if (dirty[0] & /*mode, result*/
|
|
17889
|
-
|
|
17890
|
-
ctx2[
|
|
17884
|
+
5) resultgiftitem_changes.hit = /*mode*/
|
|
17885
|
+
ctx2[2] == RESULT_VIEW_TYPE.LOVE_TYPE ? (
|
|
17891
17886
|
/*item*/
|
|
17892
17887
|
ctx2[32].hit
|
|
17893
17888
|
) : 0;
|
|
@@ -17925,7 +17920,7 @@ function create_else_block$4(ctx) {
|
|
|
17925
17920
|
let dispose;
|
|
17926
17921
|
let if_block = (
|
|
17927
17922
|
/*showCrit*/
|
|
17928
|
-
ctx[
|
|
17923
|
+
ctx[11] && create_if_block_3$2()
|
|
17929
17924
|
);
|
|
17930
17925
|
return {
|
|
17931
17926
|
c() {
|
|
@@ -17942,12 +17937,12 @@ function create_else_block$4(ctx) {
|
|
|
17942
17937
|
t4 = text("次\r\n ");
|
|
17943
17938
|
if (if_block) if_block.c();
|
|
17944
17939
|
attr(div0, "class", div0_class_value = null_to_empty(`normalBtn ${/*mode*/
|
|
17945
|
-
ctx[
|
|
17940
|
+
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-1j6kp9e");
|
|
17946
17941
|
attr(div0, "role", "presentation");
|
|
17947
17942
|
attr(div1, "class", div1_class_value = null_to_empty(`normalBtn againBtn ${/*mode*/
|
|
17948
|
-
ctx[
|
|
17943
|
+
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-1j6kp9e");
|
|
17949
17944
|
attr(div1, "role", "presentation");
|
|
17950
|
-
attr(div2, "class", "buttonCtn svelte-
|
|
17945
|
+
attr(div2, "class", "buttonCtn svelte-1j6kp9e");
|
|
17951
17946
|
},
|
|
17952
17947
|
m(target, anchor) {
|
|
17953
17948
|
insert(target, div2, anchor);
|
|
@@ -17979,8 +17974,8 @@ function create_else_block$4(ctx) {
|
|
|
17979
17974
|
},
|
|
17980
17975
|
p(ctx2, dirty) {
|
|
17981
17976
|
if (dirty[0] & /*mode*/
|
|
17982
|
-
|
|
17983
|
-
ctx2[
|
|
17977
|
+
4 && div0_class_value !== (div0_class_value = null_to_empty(`normalBtn ${/*mode*/
|
|
17978
|
+
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-1j6kp9e")) {
|
|
17984
17979
|
attr(div0, "class", div0_class_value);
|
|
17985
17980
|
}
|
|
17986
17981
|
if (dirty[0] & /*lastOpenTimes*/
|
|
@@ -17991,7 +17986,7 @@ function create_else_block$4(ctx) {
|
|
|
17991
17986
|
);
|
|
17992
17987
|
if (
|
|
17993
17988
|
/*showCrit*/
|
|
17994
|
-
ctx2[
|
|
17989
|
+
ctx2[11]
|
|
17995
17990
|
) {
|
|
17996
17991
|
if (if_block) {
|
|
17997
17992
|
if_block.p(ctx2, dirty);
|
|
@@ -18005,8 +18000,8 @@ function create_else_block$4(ctx) {
|
|
|
18005
18000
|
if_block = null;
|
|
18006
18001
|
}
|
|
18007
18002
|
if (dirty[0] & /*mode*/
|
|
18008
|
-
|
|
18009
|
-
ctx2[
|
|
18003
|
+
4 && div1_class_value !== (div1_class_value = null_to_empty(`normalBtn againBtn ${/*mode*/
|
|
18004
|
+
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-1j6kp9e")) {
|
|
18010
18005
|
attr(div1, "class", div1_class_value);
|
|
18011
18006
|
}
|
|
18012
18007
|
},
|
|
@@ -18036,8 +18031,8 @@ function create_if_block_1$5(ctx) {
|
|
|
18036
18031
|
let dispose;
|
|
18037
18032
|
let if_block = (
|
|
18038
18033
|
/*times*/
|
|
18039
|
-
ctx[
|
|
18040
|
-
ctx[
|
|
18034
|
+
ctx[9] && /*unit_price*/
|
|
18035
|
+
ctx[4] && create_if_block_2$5(ctx)
|
|
18041
18036
|
);
|
|
18042
18037
|
return {
|
|
18043
18038
|
c() {
|
|
@@ -18051,19 +18046,17 @@ function create_if_block_1$5(ctx) {
|
|
|
18051
18046
|
t1 = space();
|
|
18052
18047
|
div2 = element("div");
|
|
18053
18048
|
t2 = text("确定");
|
|
18054
|
-
attr(input, "class", "inp svelte-
|
|
18049
|
+
attr(input, "class", "inp svelte-1j6kp9e");
|
|
18055
18050
|
attr(input, "placeholder", "输入数量");
|
|
18056
18051
|
attr(input, "type", "number");
|
|
18057
|
-
attr(div0, "class", "svelte-
|
|
18058
|
-
attr(div1, "class", "inputNumWarpper svelte-
|
|
18052
|
+
attr(div0, "class", "svelte-1j6kp9e");
|
|
18053
|
+
attr(div1, "class", "inputNumWarpper svelte-1j6kp9e");
|
|
18059
18054
|
attr(div2, "role", "presentation");
|
|
18060
18055
|
attr(div2, "class", div2_class_value = null_to_empty(`smallBtnCtn ${/*mode*/
|
|
18061
|
-
ctx[
|
|
18056
|
+
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-1j6kp9e");
|
|
18062
18057
|
attr(div3, "class", div3_class_value = null_to_empty(`inputNumCtn ${/*mode*/
|
|
18063
|
-
ctx[
|
|
18064
|
-
attr(div4, "class", "buttonCtn svelte-
|
|
18065
|
-
set_style(div4, "display", "flex");
|
|
18066
|
-
set_style(div4, "justify-content", "center");
|
|
18058
|
+
ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-1j6kp9e");
|
|
18059
|
+
attr(div4, "class", "buttonCtn svelte-1j6kp9e");
|
|
18067
18060
|
},
|
|
18068
18061
|
m(target, anchor) {
|
|
18069
18062
|
insert(target, div4, anchor);
|
|
@@ -18073,7 +18066,7 @@ function create_if_block_1$5(ctx) {
|
|
|
18073
18066
|
set_input_value(
|
|
18074
18067
|
input,
|
|
18075
18068
|
/*times*/
|
|
18076
|
-
ctx[
|
|
18069
|
+
ctx[9]
|
|
18077
18070
|
);
|
|
18078
18071
|
append(div1, t0);
|
|
18079
18072
|
append(div1, div0);
|
|
@@ -18107,18 +18100,18 @@ function create_if_block_1$5(ctx) {
|
|
|
18107
18100
|
},
|
|
18108
18101
|
p(ctx2, dirty) {
|
|
18109
18102
|
if (dirty[0] & /*times*/
|
|
18110
|
-
|
|
18111
|
-
ctx2[
|
|
18103
|
+
512 && to_number(input.value) !== /*times*/
|
|
18104
|
+
ctx2[9]) {
|
|
18112
18105
|
set_input_value(
|
|
18113
18106
|
input,
|
|
18114
18107
|
/*times*/
|
|
18115
|
-
ctx2[
|
|
18108
|
+
ctx2[9]
|
|
18116
18109
|
);
|
|
18117
18110
|
}
|
|
18118
18111
|
if (
|
|
18119
18112
|
/*times*/
|
|
18120
|
-
ctx2[
|
|
18121
|
-
ctx2[
|
|
18113
|
+
ctx2[9] && /*unit_price*/
|
|
18114
|
+
ctx2[4]
|
|
18122
18115
|
) {
|
|
18123
18116
|
if (if_block) {
|
|
18124
18117
|
if_block.p(ctx2, dirty);
|
|
@@ -18132,13 +18125,13 @@ function create_if_block_1$5(ctx) {
|
|
|
18132
18125
|
if_block = null;
|
|
18133
18126
|
}
|
|
18134
18127
|
if (dirty[0] & /*mode*/
|
|
18135
|
-
|
|
18136
|
-
ctx2[
|
|
18128
|
+
4 && div2_class_value !== (div2_class_value = null_to_empty(`smallBtnCtn ${/*mode*/
|
|
18129
|
+
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-1j6kp9e")) {
|
|
18137
18130
|
attr(div2, "class", div2_class_value);
|
|
18138
18131
|
}
|
|
18139
18132
|
if (dirty[0] & /*mode*/
|
|
18140
|
-
|
|
18141
|
-
ctx2[
|
|
18133
|
+
4 && div3_class_value !== (div3_class_value = null_to_empty(`inputNumCtn ${/*mode*/
|
|
18134
|
+
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-1j6kp9e")) {
|
|
18142
18135
|
attr(div3, "class", div3_class_value);
|
|
18143
18136
|
}
|
|
18144
18137
|
},
|
|
@@ -18158,7 +18151,7 @@ function create_if_block_3$2(ctx) {
|
|
|
18158
18151
|
return {
|
|
18159
18152
|
c() {
|
|
18160
18153
|
img = element("img");
|
|
18161
|
-
attr(img, "class", "critIcon svelte-
|
|
18154
|
+
attr(img, "class", "critIcon svelte-1j6kp9e");
|
|
18162
18155
|
if (!src_url_equal(img.src, img_src_value = CRIT_ICON)) attr(img, "src", img_src_value);
|
|
18163
18156
|
attr(img, "alt", "");
|
|
18164
18157
|
},
|
|
@@ -18177,8 +18170,8 @@ function create_if_block_2$5(ctx) {
|
|
|
18177
18170
|
let span;
|
|
18178
18171
|
let t0_value = (
|
|
18179
18172
|
/*times*/
|
|
18180
|
-
ctx[
|
|
18181
|
-
ctx[
|
|
18173
|
+
ctx[9] * /*unit_price*/
|
|
18174
|
+
ctx[4] + ""
|
|
18182
18175
|
);
|
|
18183
18176
|
let t0;
|
|
18184
18177
|
let t1;
|
|
@@ -18187,7 +18180,7 @@ function create_if_block_2$5(ctx) {
|
|
|
18187
18180
|
span = element("span");
|
|
18188
18181
|
t0 = text(t0_value);
|
|
18189
18182
|
t1 = text("钻石");
|
|
18190
|
-
attr(span, "class", "svelte-
|
|
18183
|
+
attr(span, "class", "svelte-1j6kp9e");
|
|
18191
18184
|
},
|
|
18192
18185
|
m(target, anchor) {
|
|
18193
18186
|
insert(target, span, anchor);
|
|
@@ -18196,9 +18189,9 @@ function create_if_block_2$5(ctx) {
|
|
|
18196
18189
|
},
|
|
18197
18190
|
p(ctx2, dirty) {
|
|
18198
18191
|
if (dirty[0] & /*times, unit_price*/
|
|
18199
|
-
|
|
18200
|
-
ctx2[
|
|
18201
|
-
ctx2[
|
|
18192
|
+
528 && t0_value !== (t0_value = /*times*/
|
|
18193
|
+
ctx2[9] * /*unit_price*/
|
|
18194
|
+
ctx2[4] + "")) set_data(t0, t0_value);
|
|
18202
18195
|
},
|
|
18203
18196
|
d(detaching) {
|
|
18204
18197
|
if (detaching) {
|
|
@@ -18217,7 +18210,7 @@ function create_if_block$5(ctx) {
|
|
|
18217
18210
|
/*expiresText*/
|
|
18218
18211
|
ctx[12]
|
|
18219
18212
|
);
|
|
18220
|
-
attr(div, "class", "expiresTips svelte-
|
|
18213
|
+
attr(div, "class", "expiresTips svelte-1j6kp9e");
|
|
18221
18214
|
},
|
|
18222
18215
|
m(target, anchor) {
|
|
18223
18216
|
insert(target, div, anchor);
|
|
@@ -18239,7 +18232,7 @@ function create_if_block$5(ctx) {
|
|
|
18239
18232
|
};
|
|
18240
18233
|
}
|
|
18241
18234
|
function create_fragment$5(ctx) {
|
|
18242
|
-
let
|
|
18235
|
+
let div11;
|
|
18243
18236
|
let div0;
|
|
18244
18237
|
let t0;
|
|
18245
18238
|
let div3;
|
|
@@ -18257,13 +18250,14 @@ function create_fragment$5(ctx) {
|
|
|
18257
18250
|
let t4;
|
|
18258
18251
|
let show_if = Number(
|
|
18259
18252
|
/*hitTimes*/
|
|
18260
|
-
ctx[
|
|
18253
|
+
ctx[8]
|
|
18261
18254
|
) > 0;
|
|
18262
18255
|
let t5;
|
|
18263
18256
|
let div5;
|
|
18264
18257
|
let div4;
|
|
18265
18258
|
let div5_class_value;
|
|
18266
18259
|
let t6;
|
|
18260
|
+
let div9;
|
|
18267
18261
|
let t7;
|
|
18268
18262
|
let div8;
|
|
18269
18263
|
let div6;
|
|
@@ -18279,15 +18273,15 @@ function create_fragment$5(ctx) {
|
|
|
18279
18273
|
let div7_class_value;
|
|
18280
18274
|
let t14;
|
|
18281
18275
|
let t15;
|
|
18282
|
-
let
|
|
18283
|
-
let
|
|
18276
|
+
let div10;
|
|
18277
|
+
let div11_class_value;
|
|
18284
18278
|
let current;
|
|
18285
18279
|
let mounted;
|
|
18286
18280
|
let dispose;
|
|
18287
18281
|
function select_block_type(ctx2, dirty) {
|
|
18288
18282
|
if (
|
|
18289
18283
|
/*mode*/
|
|
18290
|
-
ctx2[
|
|
18284
|
+
ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE
|
|
18291
18285
|
) return create_if_block_5;
|
|
18292
18286
|
return create_else_block_1;
|
|
18293
18287
|
}
|
|
@@ -18308,7 +18302,7 @@ function create_fragment$5(ctx) {
|
|
|
18308
18302
|
function select_block_type_1(ctx2, dirty) {
|
|
18309
18303
|
if (
|
|
18310
18304
|
/*radioIsSelected*/
|
|
18311
|
-
ctx2[
|
|
18305
|
+
ctx2[10]
|
|
18312
18306
|
) return create_if_block_1$5;
|
|
18313
18307
|
return create_else_block$4;
|
|
18314
18308
|
}
|
|
@@ -18320,7 +18314,7 @@ function create_fragment$5(ctx) {
|
|
|
18320
18314
|
);
|
|
18321
18315
|
return {
|
|
18322
18316
|
c() {
|
|
18323
|
-
|
|
18317
|
+
div11 = element("div");
|
|
18324
18318
|
div0 = element("div");
|
|
18325
18319
|
if_block0.c();
|
|
18326
18320
|
t0 = space();
|
|
@@ -18330,7 +18324,7 @@ function create_fragment$5(ctx) {
|
|
|
18330
18324
|
span0 = element("span");
|
|
18331
18325
|
t1 = text(
|
|
18332
18326
|
/*diamondStr*/
|
|
18333
|
-
ctx[
|
|
18327
|
+
ctx[6]
|
|
18334
18328
|
);
|
|
18335
18329
|
t2 = space();
|
|
18336
18330
|
div2 = element("div");
|
|
@@ -18338,7 +18332,7 @@ function create_fragment$5(ctx) {
|
|
|
18338
18332
|
span1 = element("span");
|
|
18339
18333
|
t3 = text(
|
|
18340
18334
|
/*money_str*/
|
|
18341
|
-
ctx[
|
|
18335
|
+
ctx[7]
|
|
18342
18336
|
);
|
|
18343
18337
|
t4 = space();
|
|
18344
18338
|
if (if_block1) if_block1.c();
|
|
@@ -18349,6 +18343,7 @@ function create_fragment$5(ctx) {
|
|
|
18349
18343
|
each_blocks[i2].c();
|
|
18350
18344
|
}
|
|
18351
18345
|
t6 = space();
|
|
18346
|
+
div9 = element("div");
|
|
18352
18347
|
if_block2.c();
|
|
18353
18348
|
t7 = space();
|
|
18354
18349
|
div8 = element("div");
|
|
@@ -18360,55 +18355,56 @@ function create_fragment$5(ctx) {
|
|
|
18360
18355
|
t10 = space();
|
|
18361
18356
|
div7 = element("div");
|
|
18362
18357
|
span3 = element("span");
|
|
18363
|
-
span3.innerHTML = `<img alt="" class="radioImg default svelte-
|
|
18358
|
+
span3.innerHTML = `<img alt="" class="radioImg default svelte-1j6kp9e" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_no.png"/> <img alt="" class="radioImg selected svelte-1j6kp9e" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_yes.png"/>`;
|
|
18364
18359
|
t12 = space();
|
|
18365
18360
|
span4 = element("span");
|
|
18366
18361
|
span4.textContent = "自定义开启数量";
|
|
18367
18362
|
t14 = space();
|
|
18368
18363
|
if (if_block3) if_block3.c();
|
|
18369
18364
|
t15 = space();
|
|
18370
|
-
|
|
18371
|
-
attr(div0, "class", "openGiftTitle svelte-
|
|
18365
|
+
div10 = element("div");
|
|
18366
|
+
attr(div0, "class", "openGiftTitle svelte-1j6kp9e");
|
|
18372
18367
|
attr(img0, "alt", "");
|
|
18373
|
-
attr(img0, "class", "imgIcon svelte-
|
|
18368
|
+
attr(img0, "class", "imgIcon svelte-1j6kp9e");
|
|
18374
18369
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/diamond3.png")) attr(img0, "src", img0_src_value);
|
|
18375
|
-
attr(span0, "class", "wordCtn svelte-
|
|
18376
|
-
attr(div1, "class", "subCtn svelte-
|
|
18370
|
+
attr(span0, "class", "wordCtn svelte-1j6kp9e");
|
|
18371
|
+
attr(div1, "class", "subCtn svelte-1j6kp9e");
|
|
18377
18372
|
attr(img1, "alt", "");
|
|
18378
|
-
attr(img1, "class", "imgIcon svelte-
|
|
18373
|
+
attr(img1, "class", "imgIcon svelte-1j6kp9e");
|
|
18379
18374
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/money3.png")) attr(img1, "src", img1_src_value);
|
|
18380
|
-
attr(span1, "class", "wordCtn svelte-
|
|
18381
|
-
attr(div2, "class", "subCtn svelte-
|
|
18382
|
-
attr(div3, "class", "leftTopCtn svelte-
|
|
18383
|
-
attr(div4, "class", "result_content svelte-
|
|
18375
|
+
attr(span1, "class", "wordCtn svelte-1j6kp9e");
|
|
18376
|
+
attr(div2, "class", "subCtn svelte-1j6kp9e");
|
|
18377
|
+
attr(div3, "class", "leftTopCtn svelte-1j6kp9e");
|
|
18378
|
+
attr(div4, "class", "result_content svelte-1j6kp9e");
|
|
18384
18379
|
attr(div5, "class", div5_class_value = /*result*/
|
|
18385
18380
|
(ctx[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
18386
|
-
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
18387
|
-
attr(i, "class", "svelte-
|
|
18388
|
-
attr(span2, "class", "svelte-
|
|
18381
|
+
(ctx[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-1j6kp9e");
|
|
18382
|
+
attr(i, "class", "svelte-1j6kp9e");
|
|
18383
|
+
attr(span2, "class", "svelte-1j6kp9e");
|
|
18389
18384
|
attr(div6, "class", div6_class_value = null_to_empty(
|
|
18390
18385
|
/*parentIgnore*/
|
|
18391
|
-
ctx[
|
|
18392
|
-
) + " svelte-
|
|
18386
|
+
ctx[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
18387
|
+
) + " svelte-1j6kp9e");
|
|
18393
18388
|
attr(div6, "role", "presentation");
|
|
18394
|
-
attr(span3, "class", "spCtn svelte-
|
|
18395
|
-
attr(span4, "class", "changeWordCtn svelte-
|
|
18389
|
+
attr(span3, "class", "spCtn svelte-1j6kp9e");
|
|
18390
|
+
attr(span4, "class", "changeWordCtn svelte-1j6kp9e");
|
|
18396
18391
|
attr(div7, "role", "presentation");
|
|
18397
18392
|
attr(div7, "class", div7_class_value = null_to_empty(
|
|
18398
18393
|
/*radioIsSelected*/
|
|
18399
|
-
ctx[
|
|
18400
|
-
) + " svelte-
|
|
18401
|
-
attr(div8, "class", "footerBottomCtn svelte-
|
|
18402
|
-
attr(div9, "class", "
|
|
18403
|
-
attr(div10, "class",
|
|
18404
|
-
(
|
|
18394
|
+
ctx[10] ? "radioCtn active" : "radioCtn"
|
|
18395
|
+
) + " svelte-1j6kp9e");
|
|
18396
|
+
attr(div8, "class", "footerBottomCtn svelte-1j6kp9e");
|
|
18397
|
+
attr(div9, "class", "open-actions svelte-1j6kp9e");
|
|
18398
|
+
attr(div10, "class", "result_vap_anim svelte-1j6kp9e");
|
|
18399
|
+
attr(div11, "class", div11_class_value = "result_container " + /*mode*/
|
|
18400
|
+
(ctx[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "glod") + " svelte-1j6kp9e");
|
|
18405
18401
|
},
|
|
18406
18402
|
m(target, anchor) {
|
|
18407
|
-
insert(target,
|
|
18408
|
-
append(
|
|
18403
|
+
insert(target, div11, anchor);
|
|
18404
|
+
append(div11, div0);
|
|
18409
18405
|
if_block0.m(div0, null);
|
|
18410
|
-
append(
|
|
18411
|
-
append(
|
|
18406
|
+
append(div11, t0);
|
|
18407
|
+
append(div11, div3);
|
|
18412
18408
|
append(div3, div1);
|
|
18413
18409
|
append(div1, img0);
|
|
18414
18410
|
append(div1, span0);
|
|
@@ -18420,18 +18416,19 @@ function create_fragment$5(ctx) {
|
|
|
18420
18416
|
append(span1, t3);
|
|
18421
18417
|
append(div3, t4);
|
|
18422
18418
|
if (if_block1) if_block1.m(div3, null);
|
|
18423
|
-
append(
|
|
18424
|
-
append(
|
|
18419
|
+
append(div11, t5);
|
|
18420
|
+
append(div11, div5);
|
|
18425
18421
|
append(div5, div4);
|
|
18426
18422
|
for (let i2 = 0; i2 < each_blocks.length; i2 += 1) {
|
|
18427
18423
|
if (each_blocks[i2]) {
|
|
18428
18424
|
each_blocks[i2].m(div4, null);
|
|
18429
18425
|
}
|
|
18430
18426
|
}
|
|
18431
|
-
append(
|
|
18432
|
-
|
|
18433
|
-
|
|
18434
|
-
append(
|
|
18427
|
+
append(div11, t6);
|
|
18428
|
+
append(div11, div9);
|
|
18429
|
+
if_block2.m(div9, null);
|
|
18430
|
+
append(div9, t7);
|
|
18431
|
+
append(div9, div8);
|
|
18435
18432
|
append(div8, div6);
|
|
18436
18433
|
append(div6, i);
|
|
18437
18434
|
append(div6, t8);
|
|
@@ -18441,11 +18438,11 @@ function create_fragment$5(ctx) {
|
|
|
18441
18438
|
append(div7, span3);
|
|
18442
18439
|
append(div7, t12);
|
|
18443
18440
|
append(div7, span4);
|
|
18444
|
-
append(
|
|
18445
|
-
if (if_block3) if_block3.m(
|
|
18446
|
-
append(
|
|
18447
|
-
append(
|
|
18448
|
-
ctx[24](
|
|
18441
|
+
append(div9, t14);
|
|
18442
|
+
if (if_block3) if_block3.m(div9, null);
|
|
18443
|
+
append(div11, t15);
|
|
18444
|
+
append(div11, div10);
|
|
18445
|
+
ctx[24](div10);
|
|
18449
18446
|
current = true;
|
|
18450
18447
|
if (!mounted) {
|
|
18451
18448
|
dispose = [
|
|
@@ -18475,21 +18472,21 @@ function create_fragment$5(ctx) {
|
|
|
18475
18472
|
}
|
|
18476
18473
|
}
|
|
18477
18474
|
if (!current || dirty[0] & /*diamondStr*/
|
|
18478
|
-
|
|
18475
|
+
64) set_data(
|
|
18479
18476
|
t1,
|
|
18480
18477
|
/*diamondStr*/
|
|
18481
|
-
ctx2[
|
|
18478
|
+
ctx2[6]
|
|
18482
18479
|
);
|
|
18483
18480
|
if (!current || dirty[0] & /*money_str*/
|
|
18484
|
-
|
|
18481
|
+
128) set_data(
|
|
18485
18482
|
t3,
|
|
18486
18483
|
/*money_str*/
|
|
18487
|
-
ctx2[
|
|
18484
|
+
ctx2[7]
|
|
18488
18485
|
);
|
|
18489
18486
|
if (dirty[0] & /*hitTimes*/
|
|
18490
|
-
|
|
18487
|
+
256) show_if = Number(
|
|
18491
18488
|
/*hitTimes*/
|
|
18492
|
-
ctx2[
|
|
18489
|
+
ctx2[8]
|
|
18493
18490
|
) > 0;
|
|
18494
18491
|
if (show_if) {
|
|
18495
18492
|
if (if_block1) {
|
|
@@ -18504,7 +18501,7 @@ function create_fragment$5(ctx) {
|
|
|
18504
18501
|
if_block1 = null;
|
|
18505
18502
|
}
|
|
18506
18503
|
if (dirty[0] & /*mode, result*/
|
|
18507
|
-
|
|
18504
|
+
5) {
|
|
18508
18505
|
each_value = ensure_array_like(
|
|
18509
18506
|
/*result*/
|
|
18510
18507
|
ctx2[0]
|
|
@@ -18531,7 +18528,7 @@ function create_fragment$5(ctx) {
|
|
|
18531
18528
|
if (!current || dirty[0] & /*result*/
|
|
18532
18529
|
1 && div5_class_value !== (div5_class_value = /*result*/
|
|
18533
18530
|
(ctx2[0].length == 1 ? "flex-jc" : "") + " " + /*result*/
|
|
18534
|
-
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-
|
|
18531
|
+
(ctx2[0].length < 7 ? "result_wrapper scroll_bar_light_purple flex-ac" : "result_wrapper scroll_bar_light_purple flex-as") + " svelte-1j6kp9e")) {
|
|
18535
18532
|
attr(div5, "class", div5_class_value);
|
|
18536
18533
|
}
|
|
18537
18534
|
if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx2)) && if_block2) {
|
|
@@ -18541,21 +18538,21 @@ function create_fragment$5(ctx) {
|
|
|
18541
18538
|
if_block2 = current_block_type_1(ctx2);
|
|
18542
18539
|
if (if_block2) {
|
|
18543
18540
|
if_block2.c();
|
|
18544
|
-
if_block2.m(
|
|
18541
|
+
if_block2.m(div9, t7);
|
|
18545
18542
|
}
|
|
18546
18543
|
}
|
|
18547
18544
|
if (!current || dirty[0] & /*parentIgnore*/
|
|
18548
|
-
|
|
18545
|
+
8 && div6_class_value !== (div6_class_value = null_to_empty(
|
|
18549
18546
|
/*parentIgnore*/
|
|
18550
|
-
ctx2[
|
|
18551
|
-
) + " svelte-
|
|
18547
|
+
ctx2[3] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
18548
|
+
) + " svelte-1j6kp9e")) {
|
|
18552
18549
|
attr(div6, "class", div6_class_value);
|
|
18553
18550
|
}
|
|
18554
18551
|
if (!current || dirty[0] & /*radioIsSelected*/
|
|
18555
|
-
|
|
18552
|
+
1024 && div7_class_value !== (div7_class_value = null_to_empty(
|
|
18556
18553
|
/*radioIsSelected*/
|
|
18557
|
-
ctx2[
|
|
18558
|
-
) + " svelte-
|
|
18554
|
+
ctx2[10] ? "radioCtn active" : "radioCtn"
|
|
18555
|
+
) + " svelte-1j6kp9e")) {
|
|
18559
18556
|
attr(div7, "class", div7_class_value);
|
|
18560
18557
|
}
|
|
18561
18558
|
if (
|
|
@@ -18567,16 +18564,16 @@ function create_fragment$5(ctx) {
|
|
|
18567
18564
|
} else {
|
|
18568
18565
|
if_block3 = create_if_block$5(ctx2);
|
|
18569
18566
|
if_block3.c();
|
|
18570
|
-
if_block3.m(
|
|
18567
|
+
if_block3.m(div9, null);
|
|
18571
18568
|
}
|
|
18572
18569
|
} else if (if_block3) {
|
|
18573
18570
|
if_block3.d(1);
|
|
18574
18571
|
if_block3 = null;
|
|
18575
18572
|
}
|
|
18576
18573
|
if (!current || dirty[0] & /*mode*/
|
|
18577
|
-
|
|
18578
|
-
(ctx2[
|
|
18579
|
-
attr(
|
|
18574
|
+
4 && div11_class_value !== (div11_class_value = "result_container " + /*mode*/
|
|
18575
|
+
(ctx2[2] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "glod") + " svelte-1j6kp9e")) {
|
|
18576
|
+
attr(div11, "class", div11_class_value);
|
|
18580
18577
|
}
|
|
18581
18578
|
},
|
|
18582
18579
|
i(local) {
|
|
@@ -18595,7 +18592,7 @@ function create_fragment$5(ctx) {
|
|
|
18595
18592
|
},
|
|
18596
18593
|
d(detaching) {
|
|
18597
18594
|
if (detaching) {
|
|
18598
|
-
detach(
|
|
18595
|
+
detach(div11);
|
|
18599
18596
|
}
|
|
18600
18597
|
if_block0.d();
|
|
18601
18598
|
if (if_block1) if_block1.d();
|
|
@@ -18611,6 +18608,7 @@ function create_fragment$5(ctx) {
|
|
|
18611
18608
|
const CRIT_ICON = "https://dynamics-share.tuwan.com/activity/320d878f51a28133b37d75880110ad3c.png?x-oss-process=image/format,webp/ignore-error,1";
|
|
18612
18609
|
function instance$5($$self, $$props, $$invalidate) {
|
|
18613
18610
|
let expiresText;
|
|
18611
|
+
let showCrit;
|
|
18614
18612
|
let { num = 10 } = $$props;
|
|
18615
18613
|
let { result = [] } = $$props;
|
|
18616
18614
|
let { onClose } = $$props;
|
|
@@ -18619,7 +18617,6 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18619
18617
|
let { handelChangeIgnore } = $$props;
|
|
18620
18618
|
let { lastOpenTimes = 1 } = $$props;
|
|
18621
18619
|
let { unit_price = 0 } = $$props;
|
|
18622
|
-
let { showCrit = false } = $$props;
|
|
18623
18620
|
let animEl;
|
|
18624
18621
|
let diamondStr = "0";
|
|
18625
18622
|
let money_str = "0";
|
|
@@ -18629,9 +18626,9 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18629
18626
|
let loading = false;
|
|
18630
18627
|
let radioIsSelected = false;
|
|
18631
18628
|
let handleChangeRadio = function() {
|
|
18632
|
-
$$invalidate(
|
|
18629
|
+
$$invalidate(10, radioIsSelected = !radioIsSelected);
|
|
18633
18630
|
if (!radioIsSelected) {
|
|
18634
|
-
$$invalidate(
|
|
18631
|
+
$$invalidate(9, times = void 0);
|
|
18635
18632
|
}
|
|
18636
18633
|
};
|
|
18637
18634
|
function onCloseHandle() {
|
|
@@ -18687,8 +18684,8 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18687
18684
|
},
|
|
18688
18685
|
500
|
|
18689
18686
|
);
|
|
18690
|
-
$$invalidate(2, showCrit = Number(res["total-process"]) == 1);
|
|
18691
18687
|
res.data._expires = res.expires || [];
|
|
18688
|
+
res.data._totalProcess = res["total-process"];
|
|
18692
18689
|
$$invalidate(0, result = []);
|
|
18693
18690
|
if (parentIgnore) {
|
|
18694
18691
|
setTimeout(
|
|
@@ -18752,11 +18749,11 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18752
18749
|
requestApi(OpenGiftUrls.getTreasureInfo(mode)).then((res) => {
|
|
18753
18750
|
loading = false;
|
|
18754
18751
|
if (res.error == 0) {
|
|
18755
|
-
$$invalidate(
|
|
18756
|
-
$$invalidate(
|
|
18752
|
+
$$invalidate(6, diamondStr = res.data.diamond_str);
|
|
18753
|
+
$$invalidate(7, money_str = res.data.money_str);
|
|
18757
18754
|
res.data.number_str;
|
|
18758
18755
|
res.data.glod_num;
|
|
18759
|
-
$$invalidate(
|
|
18756
|
+
$$invalidate(8, hitTimes = res.data.hit_times);
|
|
18760
18757
|
refreshHaveGift();
|
|
18761
18758
|
} else {
|
|
18762
18759
|
showTips(res.error_msg);
|
|
@@ -18778,30 +18775,29 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18778
18775
|
});
|
|
18779
18776
|
function input_input_handler() {
|
|
18780
18777
|
times = to_number(this.value);
|
|
18781
|
-
$$invalidate(
|
|
18778
|
+
$$invalidate(9, times);
|
|
18782
18779
|
}
|
|
18783
18780
|
const input_handler = (event) => {
|
|
18784
|
-
$$invalidate(
|
|
18781
|
+
$$invalidate(9, times = event.target.value.slice(0, 4));
|
|
18785
18782
|
};
|
|
18786
18783
|
const click_handler = () => {
|
|
18787
18784
|
handleOpenGift(lastOpenTimes);
|
|
18788
18785
|
};
|
|
18789
|
-
function
|
|
18786
|
+
function div10_binding($$value) {
|
|
18790
18787
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
18791
18788
|
animEl = $$value;
|
|
18792
|
-
$$invalidate(
|
|
18789
|
+
$$invalidate(5, animEl);
|
|
18793
18790
|
});
|
|
18794
18791
|
}
|
|
18795
18792
|
$$self.$$set = ($$props2) => {
|
|
18796
18793
|
if ("num" in $$props2) $$invalidate(18, num = $$props2.num);
|
|
18797
18794
|
if ("result" in $$props2) $$invalidate(0, result = $$props2.result);
|
|
18798
18795
|
if ("onClose" in $$props2) $$invalidate(19, onClose = $$props2.onClose);
|
|
18799
|
-
if ("mode" in $$props2) $$invalidate(
|
|
18800
|
-
if ("parentIgnore" in $$props2) $$invalidate(
|
|
18796
|
+
if ("mode" in $$props2) $$invalidate(2, mode = $$props2.mode);
|
|
18797
|
+
if ("parentIgnore" in $$props2) $$invalidate(3, parentIgnore = $$props2.parentIgnore);
|
|
18801
18798
|
if ("handelChangeIgnore" in $$props2) $$invalidate(20, handelChangeIgnore = $$props2.handelChangeIgnore);
|
|
18802
18799
|
if ("lastOpenTimes" in $$props2) $$invalidate(1, lastOpenTimes = $$props2.lastOpenTimes);
|
|
18803
|
-
if ("unit_price" in $$props2) $$invalidate(
|
|
18804
|
-
if ("showCrit" in $$props2) $$invalidate(2, showCrit = $$props2.showCrit);
|
|
18800
|
+
if ("unit_price" in $$props2) $$invalidate(4, unit_price = $$props2.unit_price);
|
|
18805
18801
|
};
|
|
18806
18802
|
$$self.$$.update = () => {
|
|
18807
18803
|
if ($$self.$$.dirty[0] & /*result*/
|
|
@@ -18809,6 +18805,10 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18809
18805
|
$$invalidate(12, expiresText = (result._expires || []).join(""));
|
|
18810
18806
|
}
|
|
18811
18807
|
if ($$self.$$.dirty[0] & /*result*/
|
|
18808
|
+
1) {
|
|
18809
|
+
$$invalidate(11, showCrit = result._totalProcess === 1 || result._totalProcess === "1");
|
|
18810
|
+
}
|
|
18811
|
+
if ($$self.$$.dirty[0] & /*result*/
|
|
18812
18812
|
1) {
|
|
18813
18813
|
{
|
|
18814
18814
|
if (result.length > 0) {
|
|
@@ -18830,7 +18830,6 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18830
18830
|
return [
|
|
18831
18831
|
result,
|
|
18832
18832
|
lastOpenTimes,
|
|
18833
|
-
showCrit,
|
|
18834
18833
|
mode,
|
|
18835
18834
|
parentIgnore,
|
|
18836
18835
|
unit_price,
|
|
@@ -18840,6 +18839,7 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18840
18839
|
hitTimes,
|
|
18841
18840
|
times,
|
|
18842
18841
|
radioIsSelected,
|
|
18842
|
+
showCrit,
|
|
18843
18843
|
expiresText,
|
|
18844
18844
|
handleChangeRadio,
|
|
18845
18845
|
onCloseHandle,
|
|
@@ -18852,7 +18852,7 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
18852
18852
|
input_input_handler,
|
|
18853
18853
|
input_handler,
|
|
18854
18854
|
click_handler,
|
|
18855
|
-
|
|
18855
|
+
div10_binding
|
|
18856
18856
|
];
|
|
18857
18857
|
}
|
|
18858
18858
|
class Result3 extends SvelteComponent {
|
|
@@ -18868,12 +18868,11 @@ class Result3 extends SvelteComponent {
|
|
|
18868
18868
|
num: 18,
|
|
18869
18869
|
result: 0,
|
|
18870
18870
|
onClose: 19,
|
|
18871
|
-
mode:
|
|
18872
|
-
parentIgnore:
|
|
18871
|
+
mode: 2,
|
|
18872
|
+
parentIgnore: 3,
|
|
18873
18873
|
handelChangeIgnore: 20,
|
|
18874
18874
|
lastOpenTimes: 1,
|
|
18875
|
-
unit_price:
|
|
18876
|
-
showCrit: 2
|
|
18875
|
+
unit_price: 4
|
|
18877
18876
|
},
|
|
18878
18877
|
null,
|
|
18879
18878
|
[-1, -1]
|
|
@@ -18898,7 +18897,7 @@ function create_else_block$3(ctx) {
|
|
|
18898
18897
|
img = element("img");
|
|
18899
18898
|
if (!src_url_equal(img.src, img_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/loveTitleRecord.png")) attr(img, "src", img_src_value);
|
|
18900
18899
|
attr(img, "alt", "");
|
|
18901
|
-
attr(img, "class", "svelte-
|
|
18900
|
+
attr(img, "class", "svelte-ibvaf");
|
|
18902
18901
|
},
|
|
18903
18902
|
m(target, anchor) {
|
|
18904
18903
|
insert(target, img, anchor);
|
|
@@ -18918,7 +18917,7 @@ function create_if_block_2$4(ctx) {
|
|
|
18918
18917
|
img = element("img");
|
|
18919
18918
|
if (!src_url_equal(img.src, img_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/luckyTitleRecord.png")) attr(img, "src", img_src_value);
|
|
18920
18919
|
attr(img, "alt", "");
|
|
18921
|
-
attr(img, "class", "svelte-
|
|
18920
|
+
attr(img, "class", "svelte-ibvaf");
|
|
18922
18921
|
},
|
|
18923
18922
|
m(target, anchor) {
|
|
18924
18923
|
insert(target, img, anchor);
|
|
@@ -18946,7 +18945,7 @@ function create_if_block_1$4(ctx) {
|
|
|
18946
18945
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
18947
18946
|
each_blocks[i].c();
|
|
18948
18947
|
}
|
|
18949
|
-
attr(div, "class", "expires_list svelte-
|
|
18948
|
+
attr(div, "class", "expires_list svelte-ibvaf");
|
|
18950
18949
|
},
|
|
18951
18950
|
m(target, anchor) {
|
|
18952
18951
|
insert(target, div, anchor);
|
|
@@ -19008,11 +19007,11 @@ function create_each_block_1(ctx) {
|
|
|
19008
19007
|
span = element("span");
|
|
19009
19008
|
t1 = text(t1_value);
|
|
19010
19009
|
t2 = space();
|
|
19011
|
-
attr(img, "class", "expires_icon svelte-
|
|
19010
|
+
attr(img, "class", "expires_icon svelte-ibvaf");
|
|
19012
19011
|
if (!src_url_equal(img.src, img_src_value = EXPIRES_ICON)) attr(img, "src", img_src_value);
|
|
19013
19012
|
attr(img, "alt", "");
|
|
19014
|
-
attr(span, "class", "expires_text svelte-
|
|
19015
|
-
attr(div, "class", "expires_item svelte-
|
|
19013
|
+
attr(span, "class", "expires_text svelte-ibvaf");
|
|
19014
|
+
attr(div, "class", "expires_item svelte-ibvaf");
|
|
19016
19015
|
},
|
|
19017
19016
|
m(target, anchor) {
|
|
19018
19017
|
insert(target, div, anchor);
|
|
@@ -19040,7 +19039,7 @@ function create_if_block$4(ctx) {
|
|
|
19040
19039
|
c() {
|
|
19041
19040
|
div = element("div");
|
|
19042
19041
|
div.textContent = "还未有开启魔法记录";
|
|
19043
|
-
attr(div, "class", "noDataTipCtn svelte-
|
|
19042
|
+
attr(div, "class", "noDataTipCtn svelte-ibvaf");
|
|
19044
19043
|
},
|
|
19045
19044
|
m(target, anchor) {
|
|
19046
19045
|
insert(target, div, anchor);
|
|
@@ -19098,12 +19097,12 @@ function create_each_block(ctx) {
|
|
|
19098
19097
|
attr(img0, "alt", "");
|
|
19099
19098
|
if (!src_url_equal(img0.src, img0_src_value = /*item*/
|
|
19100
19099
|
ctx[10].icon)) attr(img0, "src", img0_src_value);
|
|
19101
|
-
attr(img0, "class", "svelte-
|
|
19100
|
+
attr(img0, "class", "svelte-ibvaf");
|
|
19102
19101
|
attr(img1, "alt", "");
|
|
19103
19102
|
if (!src_url_equal(img1.src, img1_src_value = /*item*/
|
|
19104
19103
|
ctx[10].gift)) attr(img1, "src", img1_src_value);
|
|
19105
|
-
attr(img1, "class", "svelte-
|
|
19106
|
-
attr(div, "class", "history_content_item svelte-
|
|
19104
|
+
attr(img1, "class", "svelte-ibvaf");
|
|
19105
|
+
attr(div, "class", "history_content_item svelte-ibvaf");
|
|
19107
19106
|
},
|
|
19108
19107
|
m(target, anchor) {
|
|
19109
19108
|
insert(target, div, anchor);
|
|
@@ -19207,14 +19206,14 @@ function create_fragment$4(ctx) {
|
|
|
19207
19206
|
t3 = space();
|
|
19208
19207
|
div3 = element("div");
|
|
19209
19208
|
t4 = text("关闭");
|
|
19210
|
-
attr(div0, "class", "openGiftTitle svelte-
|
|
19211
|
-
attr(div1, "class", "history_content scroll_bar_light_purple svelte-
|
|
19212
|
-
attr(div2, "class", "history_wrapper svelte-
|
|
19209
|
+
attr(div0, "class", "openGiftTitle svelte-ibvaf");
|
|
19210
|
+
attr(div1, "class", "history_content scroll_bar_light_purple svelte-ibvaf");
|
|
19211
|
+
attr(div2, "class", "history_wrapper svelte-ibvaf");
|
|
19213
19212
|
attr(div3, "role", "presentation");
|
|
19214
19213
|
attr(div3, "class", div3_class_value = null_to_empty(`history_close_button ${/*mode*/
|
|
19215
|
-
ctx[0] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-
|
|
19214
|
+
ctx[0] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-ibvaf");
|
|
19216
19215
|
attr(div4, "class", div4_class_value = "history_container " + /*mode*/
|
|
19217
|
-
(ctx[0] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "glod") + " svelte-
|
|
19216
|
+
(ctx[0] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "glod") + " svelte-ibvaf");
|
|
19218
19217
|
},
|
|
19219
19218
|
m(target, anchor) {
|
|
19220
19219
|
insert(target, div4, anchor);
|
|
@@ -19315,12 +19314,12 @@ function create_fragment$4(ctx) {
|
|
|
19315
19314
|
}
|
|
19316
19315
|
if (dirty & /*mode*/
|
|
19317
19316
|
1 && div3_class_value !== (div3_class_value = null_to_empty(`history_close_button ${/*mode*/
|
|
19318
|
-
ctx2[0] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-
|
|
19317
|
+
ctx2[0] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "love"}`) + " svelte-ibvaf")) {
|
|
19319
19318
|
attr(div3, "class", div3_class_value);
|
|
19320
19319
|
}
|
|
19321
19320
|
if (dirty & /*mode*/
|
|
19322
19321
|
1 && div4_class_value !== (div4_class_value = "history_container " + /*mode*/
|
|
19323
|
-
(ctx2[0] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "glod") + " svelte-
|
|
19322
|
+
(ctx2[0] == RESULT_VIEW_TYPE.LUCKY_TYPE ? "" : "glod") + " svelte-ibvaf")) {
|
|
19324
19323
|
attr(div4, "class", div4_class_value);
|
|
19325
19324
|
}
|
|
19326
19325
|
},
|
|
@@ -19414,10 +19413,10 @@ function create_if_block_3$1(ctx) {
|
|
|
19414
19413
|
t1 = text(t1_value);
|
|
19415
19414
|
t2 = text("次");
|
|
19416
19415
|
attr(img, "alt", "");
|
|
19417
|
-
attr(img, "class", "imgIcon svelte-
|
|
19416
|
+
attr(img, "class", "imgIcon svelte-uw572q");
|
|
19418
19417
|
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);
|
|
19419
|
-
attr(span, "class", "wordCtn svelte-
|
|
19420
|
-
attr(div, "class", "subCtn svelte-
|
|
19418
|
+
attr(span, "class", "wordCtn svelte-uw572q");
|
|
19419
|
+
attr(div, "class", "subCtn svelte-uw572q");
|
|
19421
19420
|
},
|
|
19422
19421
|
m(target, anchor) {
|
|
19423
19422
|
insert(target, div, anchor);
|
|
@@ -19499,22 +19498,22 @@ function create_else_block$2(ctx) {
|
|
|
19499
19498
|
div4 = element("div");
|
|
19500
19499
|
div4.textContent = "开启10次";
|
|
19501
19500
|
attr(img0, "alt", "");
|
|
19502
|
-
attr(img0, "class", "icon svelte-
|
|
19501
|
+
attr(img0, "class", "icon svelte-uw572q");
|
|
19503
19502
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/onlyDiamond.png")) attr(img0, "src", img0_src_value);
|
|
19504
|
-
attr(span0, "class", "numCtn svelte-
|
|
19505
|
-
attr(div0, "class", "leftCtn svelte-
|
|
19506
|
-
attr(div1, "class", "rightCtn svelte-
|
|
19507
|
-
attr(div2, "class", "normalBtn svelte-
|
|
19503
|
+
attr(span0, "class", "numCtn svelte-uw572q");
|
|
19504
|
+
attr(div0, "class", "leftCtn svelte-uw572q");
|
|
19505
|
+
attr(div1, "class", "rightCtn svelte-uw572q");
|
|
19506
|
+
attr(div2, "class", "normalBtn svelte-uw572q");
|
|
19508
19507
|
attr(div2, "role", "presentation");
|
|
19509
19508
|
attr(img1, "alt", "");
|
|
19510
|
-
attr(img1, "class", "icon svelte-
|
|
19509
|
+
attr(img1, "class", "icon svelte-uw572q");
|
|
19511
19510
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/onlyDiamond.png")) attr(img1, "src", img1_src_value);
|
|
19512
|
-
attr(span1, "class", "numCtn svelte-
|
|
19513
|
-
attr(div3, "class", "leftCtn svelte-
|
|
19514
|
-
attr(div4, "class", "rightCtn svelte-
|
|
19515
|
-
attr(div5, "class", "normalBtn svelte-
|
|
19511
|
+
attr(span1, "class", "numCtn svelte-uw572q");
|
|
19512
|
+
attr(div3, "class", "leftCtn svelte-uw572q");
|
|
19513
|
+
attr(div4, "class", "rightCtn svelte-uw572q");
|
|
19514
|
+
attr(div5, "class", "normalBtn svelte-uw572q");
|
|
19516
19515
|
attr(div5, "role", "presentation");
|
|
19517
|
-
attr(div6, "class", "buttonCtn svelte-
|
|
19516
|
+
attr(div6, "class", "buttonCtn svelte-uw572q");
|
|
19518
19517
|
},
|
|
19519
19518
|
m(target, anchor) {
|
|
19520
19519
|
insert(target, div6, anchor);
|
|
@@ -19603,15 +19602,15 @@ function create_if_block_1$3(ctx) {
|
|
|
19603
19602
|
t1 = space();
|
|
19604
19603
|
div2 = element("div");
|
|
19605
19604
|
div2.textContent = "确定";
|
|
19606
|
-
attr(input, "class", "inp svelte-
|
|
19605
|
+
attr(input, "class", "inp svelte-uw572q");
|
|
19607
19606
|
attr(input, "placeholder", "输入数量");
|
|
19608
19607
|
attr(input, "type", "number");
|
|
19609
|
-
attr(div0, "class", "svelte-
|
|
19610
|
-
attr(div1, "class", "inputNumWarpper svelte-
|
|
19608
|
+
attr(div0, "class", "svelte-uw572q");
|
|
19609
|
+
attr(div1, "class", "inputNumWarpper svelte-uw572q");
|
|
19611
19610
|
attr(div2, "role", "presentation");
|
|
19612
|
-
attr(div2, "class", "smallBtnCtn svelte-
|
|
19613
|
-
attr(div3, "class", "inputNumCtn svelte-
|
|
19614
|
-
attr(div4, "class", "buttonCtn svelte-
|
|
19611
|
+
attr(div2, "class", "smallBtnCtn svelte-uw572q");
|
|
19612
|
+
attr(div3, "class", "inputNumCtn svelte-uw572q");
|
|
19613
|
+
attr(div4, "class", "buttonCtn svelte-uw572q");
|
|
19615
19614
|
set_style(div4, "display", "flex");
|
|
19616
19615
|
set_style(div4, "justify-content", "center");
|
|
19617
19616
|
},
|
|
@@ -19733,7 +19732,7 @@ function create_if_block$3(ctx) {
|
|
|
19733
19732
|
/*expiresText*/
|
|
19734
19733
|
ctx[5]
|
|
19735
19734
|
);
|
|
19736
|
-
attr(div, "class", "expiresTips svelte-
|
|
19735
|
+
attr(div, "class", "expiresTips svelte-uw572q");
|
|
19737
19736
|
},
|
|
19738
19737
|
m(target, anchor) {
|
|
19739
19738
|
insert(target, div, anchor);
|
|
@@ -19863,7 +19862,7 @@ function create_fragment$3(ctx) {
|
|
|
19863
19862
|
div5 = element("div");
|
|
19864
19863
|
t8 = space();
|
|
19865
19864
|
div9 = element("div");
|
|
19866
|
-
div9.innerHTML = `<div class="fireCtn svelte-
|
|
19865
|
+
div9.innerHTML = `<div class="fireCtn svelte-uw572q"></div> <div class="mainImgCtn mainImgCtnMagic svelte-uw572q"></div> <div class="mainSvgaCtn svelte-uw572q"></div>`;
|
|
19867
19866
|
t11 = space();
|
|
19868
19867
|
div13 = element("div");
|
|
19869
19868
|
if_block1.c();
|
|
@@ -19877,45 +19876,45 @@ function create_fragment$3(ctx) {
|
|
|
19877
19876
|
t15 = space();
|
|
19878
19877
|
div11 = element("div");
|
|
19879
19878
|
span3 = element("span");
|
|
19880
|
-
span3.innerHTML = `<img alt="" class="radioImg default svelte-
|
|
19879
|
+
span3.innerHTML = `<img alt="" class="radioImg default svelte-uw572q" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_no.png"/> <img alt="" class="radioImg selected svelte-uw572q" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_yes.png"/>`;
|
|
19881
19880
|
t17 = space();
|
|
19882
19881
|
span4 = element("span");
|
|
19883
19882
|
span4.textContent = "自定义开启数量";
|
|
19884
19883
|
t19 = space();
|
|
19885
19884
|
if (if_block2) if_block2.c();
|
|
19886
19885
|
attr(img0, "alt", "");
|
|
19887
|
-
attr(img0, "class", "openGiftTitle svelte-
|
|
19886
|
+
attr(img0, "class", "openGiftTitle svelte-uw572q");
|
|
19888
19887
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/luckyTitle.png")) attr(img0, "src", img0_src_value);
|
|
19889
|
-
attr(div0, "class", "subTitle svelte-
|
|
19888
|
+
attr(div0, "class", "subTitle svelte-uw572q");
|
|
19890
19889
|
attr(img1, "alt", "");
|
|
19891
|
-
attr(img1, "class", "imgIcon svelte-
|
|
19890
|
+
attr(img1, "class", "imgIcon svelte-uw572q");
|
|
19892
19891
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/diamond3.png")) attr(img1, "src", img1_src_value);
|
|
19893
|
-
attr(span0, "class", "wordCtn svelte-
|
|
19894
|
-
attr(div1, "class", "subCtn svelte-
|
|
19892
|
+
attr(span0, "class", "wordCtn svelte-uw572q");
|
|
19893
|
+
attr(div1, "class", "subCtn svelte-uw572q");
|
|
19895
19894
|
attr(img2, "alt", "");
|
|
19896
|
-
attr(img2, "class", "imgIcon svelte-
|
|
19895
|
+
attr(img2, "class", "imgIcon svelte-uw572q");
|
|
19897
19896
|
if (!src_url_equal(img2.src, img2_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/money3.png")) attr(img2, "src", img2_src_value);
|
|
19898
|
-
attr(span1, "class", "wordCtn svelte-
|
|
19899
|
-
attr(div2, "class", "subCtn svelte-
|
|
19900
|
-
attr(div3, "class", "leftTopCtn svelte-
|
|
19901
|
-
attr(div4, "class", "fireSvgaCtnMagic svelte-
|
|
19902
|
-
attr(div5, "class", "result_vap_anim svelte-
|
|
19903
|
-
attr(div9, "class", "mainShowerCtn svelte-
|
|
19897
|
+
attr(span1, "class", "wordCtn svelte-uw572q");
|
|
19898
|
+
attr(div2, "class", "subCtn svelte-uw572q");
|
|
19899
|
+
attr(div3, "class", "leftTopCtn svelte-uw572q");
|
|
19900
|
+
attr(div4, "class", "fireSvgaCtnMagic svelte-uw572q");
|
|
19901
|
+
attr(div5, "class", "result_vap_anim svelte-uw572q");
|
|
19902
|
+
attr(div9, "class", "mainShowerCtn svelte-uw572q");
|
|
19904
19903
|
attr(div10, "class", div10_class_value = null_to_empty(
|
|
19905
19904
|
/*parentIgnore*/
|
|
19906
19905
|
ctx[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
19907
|
-
) + " svelte-
|
|
19906
|
+
) + " svelte-uw572q");
|
|
19908
19907
|
attr(div10, "role", "presentation");
|
|
19909
|
-
attr(span3, "class", "spCtn svelte-
|
|
19910
|
-
attr(span4, "class", "changeWordCtn svelte-
|
|
19908
|
+
attr(span3, "class", "spCtn svelte-uw572q");
|
|
19909
|
+
attr(span4, "class", "changeWordCtn svelte-uw572q");
|
|
19911
19910
|
attr(div11, "role", "presentation");
|
|
19912
19911
|
attr(div11, "class", div11_class_value = null_to_empty(
|
|
19913
19912
|
/*radioIsSelected*/
|
|
19914
19913
|
ctx[4] ? "radioCtn active" : "radioCtn"
|
|
19915
|
-
) + " svelte-
|
|
19916
|
-
attr(div12, "class", "footerBottomCtn svelte-
|
|
19917
|
-
attr(div13, "class", "openGiftFooter svelte-
|
|
19918
|
-
attr(div14, "class", "GoldCtn2 svelte-
|
|
19914
|
+
) + " svelte-uw572q");
|
|
19915
|
+
attr(div12, "class", "footerBottomCtn svelte-uw572q");
|
|
19916
|
+
attr(div13, "class", "openGiftFooter svelte-uw572q");
|
|
19917
|
+
attr(div14, "class", "GoldCtn2 svelte-uw572q");
|
|
19919
19918
|
},
|
|
19920
19919
|
m(target, anchor) {
|
|
19921
19920
|
insert(target, div14, anchor);
|
|
@@ -20028,14 +20027,14 @@ function create_fragment$3(ctx) {
|
|
|
20028
20027
|
2 && div10_class_value !== (div10_class_value = null_to_empty(
|
|
20029
20028
|
/*parentIgnore*/
|
|
20030
20029
|
ctx2[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
20031
|
-
) + " svelte-
|
|
20030
|
+
) + " svelte-uw572q")) {
|
|
20032
20031
|
attr(div10, "class", div10_class_value);
|
|
20033
20032
|
}
|
|
20034
20033
|
if (dirty & /*radioIsSelected*/
|
|
20035
20034
|
16 && div11_class_value !== (div11_class_value = null_to_empty(
|
|
20036
20035
|
/*radioIsSelected*/
|
|
20037
20036
|
ctx2[4] ? "radioCtn active" : "radioCtn"
|
|
20038
|
-
) + " svelte-
|
|
20037
|
+
) + " svelte-uw572q")) {
|
|
20039
20038
|
attr(div11, "class", div11_class_value);
|
|
20040
20039
|
}
|
|
20041
20040
|
if (
|
|
@@ -20129,6 +20128,7 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
20129
20128
|
);
|
|
20130
20129
|
result = res.data;
|
|
20131
20130
|
result._expires = res.expires || [];
|
|
20131
|
+
result._totalProcess = res["total-process"];
|
|
20132
20132
|
let isJumpAnimation = SessionStorage.getInstance().getGoldMagicAnimIgnore() || 0;
|
|
20133
20133
|
if (isJumpAnimation == 0) {
|
|
20134
20134
|
const vapPath = "https://asset.tuwan.com/chartRoom/loveAndLuckyBox/lucky/";
|
|
@@ -20145,7 +20145,7 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
20145
20145
|
});
|
|
20146
20146
|
setTimeout(
|
|
20147
20147
|
() => {
|
|
20148
|
-
handleSetResult(result, times || spTimes
|
|
20148
|
+
handleSetResult(result, times || spTimes);
|
|
20149
20149
|
emptyEl(".result_vap_anim");
|
|
20150
20150
|
},
|
|
20151
20151
|
1100
|
|
@@ -20153,7 +20153,7 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
20153
20153
|
} else {
|
|
20154
20154
|
isGoing = false;
|
|
20155
20155
|
handleGetGiftInfo();
|
|
20156
|
-
handleSetResult(result, times || spTimes
|
|
20156
|
+
handleSetResult(result, times || spTimes);
|
|
20157
20157
|
}
|
|
20158
20158
|
} else if (res.error == -2) {
|
|
20159
20159
|
isGoing = false;
|
|
@@ -20313,10 +20313,10 @@ function create_if_block_3(ctx) {
|
|
|
20313
20313
|
t1 = text(t1_value);
|
|
20314
20314
|
t2 = text("次");
|
|
20315
20315
|
attr(img, "alt", "");
|
|
20316
|
-
attr(img, "class", "imgIcon svelte-
|
|
20316
|
+
attr(img, "class", "imgIcon svelte-1j2cxti");
|
|
20317
20317
|
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);
|
|
20318
|
-
attr(span, "class", "wordCtn svelte-
|
|
20319
|
-
attr(div, "class", "subCtn svelte-
|
|
20318
|
+
attr(span, "class", "wordCtn svelte-1j2cxti");
|
|
20319
|
+
attr(div, "class", "subCtn svelte-1j2cxti");
|
|
20320
20320
|
},
|
|
20321
20321
|
m(target, anchor) {
|
|
20322
20322
|
insert(target, div, anchor);
|
|
@@ -20398,22 +20398,22 @@ function create_else_block$1(ctx) {
|
|
|
20398
20398
|
div4 = element("div");
|
|
20399
20399
|
div4.textContent = "开启10次";
|
|
20400
20400
|
attr(img0, "alt", "");
|
|
20401
|
-
attr(img0, "class", "icon svelte-
|
|
20401
|
+
attr(img0, "class", "icon svelte-1j2cxti");
|
|
20402
20402
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/loveDiamond.png")) attr(img0, "src", img0_src_value);
|
|
20403
|
-
attr(span0, "class", "numCtn svelte-
|
|
20404
|
-
attr(div0, "class", "leftCtn svelte-
|
|
20405
|
-
attr(div1, "class", "rightCtn svelte-
|
|
20406
|
-
attr(div2, "class", "normalBtn svelte-
|
|
20403
|
+
attr(span0, "class", "numCtn svelte-1j2cxti");
|
|
20404
|
+
attr(div0, "class", "leftCtn svelte-1j2cxti");
|
|
20405
|
+
attr(div1, "class", "rightCtn svelte-1j2cxti");
|
|
20406
|
+
attr(div2, "class", "normalBtn svelte-1j2cxti");
|
|
20407
20407
|
attr(div2, "role", "presentation");
|
|
20408
20408
|
attr(img1, "alt", "");
|
|
20409
|
-
attr(img1, "class", "icon svelte-
|
|
20409
|
+
attr(img1, "class", "icon svelte-1j2cxti");
|
|
20410
20410
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/loveDiamond.png")) attr(img1, "src", img1_src_value);
|
|
20411
|
-
attr(span1, "class", "numCtn svelte-
|
|
20412
|
-
attr(div3, "class", "leftCtn svelte-
|
|
20413
|
-
attr(div4, "class", "rightCtn svelte-
|
|
20414
|
-
attr(div5, "class", "normalBtn svelte-
|
|
20411
|
+
attr(span1, "class", "numCtn svelte-1j2cxti");
|
|
20412
|
+
attr(div3, "class", "leftCtn svelte-1j2cxti");
|
|
20413
|
+
attr(div4, "class", "rightCtn svelte-1j2cxti");
|
|
20414
|
+
attr(div5, "class", "normalBtn svelte-1j2cxti");
|
|
20415
20415
|
attr(div5, "role", "presentation");
|
|
20416
|
-
attr(div6, "class", "buttonCtn svelte-
|
|
20416
|
+
attr(div6, "class", "buttonCtn svelte-1j2cxti");
|
|
20417
20417
|
},
|
|
20418
20418
|
m(target, anchor) {
|
|
20419
20419
|
insert(target, div6, anchor);
|
|
@@ -20502,15 +20502,15 @@ function create_if_block_1$2(ctx) {
|
|
|
20502
20502
|
t1 = space();
|
|
20503
20503
|
div2 = element("div");
|
|
20504
20504
|
div2.textContent = "确定";
|
|
20505
|
-
attr(input, "class", "inp svelte-
|
|
20505
|
+
attr(input, "class", "inp svelte-1j2cxti");
|
|
20506
20506
|
attr(input, "placeholder", "输入数量");
|
|
20507
20507
|
attr(input, "type", "number");
|
|
20508
|
-
attr(div0, "class", "svelte-
|
|
20509
|
-
attr(div1, "class", "inputNumWarpper svelte-
|
|
20508
|
+
attr(div0, "class", "svelte-1j2cxti");
|
|
20509
|
+
attr(div1, "class", "inputNumWarpper svelte-1j2cxti");
|
|
20510
20510
|
attr(div2, "role", "presentation");
|
|
20511
|
-
attr(div2, "class", "smallBtnCtn svelte-
|
|
20512
|
-
attr(div3, "class", "inputNumCtn svelte-
|
|
20513
|
-
attr(div4, "class", "buttonCtn svelte-
|
|
20511
|
+
attr(div2, "class", "smallBtnCtn svelte-1j2cxti");
|
|
20512
|
+
attr(div3, "class", "inputNumCtn svelte-1j2cxti");
|
|
20513
|
+
attr(div4, "class", "buttonCtn svelte-1j2cxti");
|
|
20514
20514
|
set_style(div4, "display", "flex");
|
|
20515
20515
|
set_style(div4, "justify-content", "center");
|
|
20516
20516
|
},
|
|
@@ -20632,7 +20632,7 @@ function create_if_block$2(ctx) {
|
|
|
20632
20632
|
/*expiresText*/
|
|
20633
20633
|
ctx[5]
|
|
20634
20634
|
);
|
|
20635
|
-
attr(div, "class", "expiresTips svelte-
|
|
20635
|
+
attr(div, "class", "expiresTips svelte-1j2cxti");
|
|
20636
20636
|
},
|
|
20637
20637
|
m(target, anchor) {
|
|
20638
20638
|
insert(target, div, anchor);
|
|
@@ -20762,7 +20762,7 @@ function create_fragment$2(ctx) {
|
|
|
20762
20762
|
div5 = element("div");
|
|
20763
20763
|
t8 = space();
|
|
20764
20764
|
div9 = element("div");
|
|
20765
|
-
div9.innerHTML = `<div class="fireCtn svelte-
|
|
20765
|
+
div9.innerHTML = `<div class="fireCtn svelte-1j2cxti"></div> <div class="mainImgCtn mainImgCtnMagic svelte-1j2cxti"></div> <div class="mainSvgaCtn svelte-1j2cxti"></div>`;
|
|
20766
20766
|
t11 = space();
|
|
20767
20767
|
div13 = element("div");
|
|
20768
20768
|
if_block1.c();
|
|
@@ -20776,45 +20776,45 @@ function create_fragment$2(ctx) {
|
|
|
20776
20776
|
t15 = space();
|
|
20777
20777
|
div11 = element("div");
|
|
20778
20778
|
span3 = element("span");
|
|
20779
|
-
span3.innerHTML = `<img alt="" class="radioImg default svelte-
|
|
20779
|
+
span3.innerHTML = `<img alt="" class="radioImg default svelte-1j2cxti" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_no.png"/> <img alt="" class="radioImg selected svelte-1j2cxti" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/select_yes.png"/>`;
|
|
20780
20780
|
t17 = space();
|
|
20781
20781
|
span4 = element("span");
|
|
20782
20782
|
span4.textContent = "自定义开启数量";
|
|
20783
20783
|
t19 = space();
|
|
20784
20784
|
if (if_block2) if_block2.c();
|
|
20785
20785
|
attr(img0, "alt", "");
|
|
20786
|
-
attr(img0, "class", "openGiftTitle svelte-
|
|
20786
|
+
attr(img0, "class", "openGiftTitle svelte-1j2cxti");
|
|
20787
20787
|
if (!src_url_equal(img0.src, img0_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/loveTitle.png")) attr(img0, "src", img0_src_value);
|
|
20788
|
-
attr(div0, "class", "subTitle svelte-
|
|
20788
|
+
attr(div0, "class", "subTitle svelte-1j2cxti");
|
|
20789
20789
|
attr(img1, "alt", "");
|
|
20790
|
-
attr(img1, "class", "imgIcon svelte-
|
|
20790
|
+
attr(img1, "class", "imgIcon svelte-1j2cxti");
|
|
20791
20791
|
if (!src_url_equal(img1.src, img1_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/diamond3.png")) attr(img1, "src", img1_src_value);
|
|
20792
|
-
attr(span0, "class", "wordCtn svelte-
|
|
20793
|
-
attr(div1, "class", "subCtn svelte-
|
|
20792
|
+
attr(span0, "class", "wordCtn svelte-1j2cxti");
|
|
20793
|
+
attr(div1, "class", "subCtn svelte-1j2cxti");
|
|
20794
20794
|
attr(img2, "alt", "");
|
|
20795
|
-
attr(img2, "class", "imgIcon svelte-
|
|
20795
|
+
attr(img2, "class", "imgIcon svelte-1j2cxti");
|
|
20796
20796
|
if (!src_url_equal(img2.src, img2_src_value = "https://asset.tuwan.com/chartRoom/loveLuckyMagic/money3.png")) attr(img2, "src", img2_src_value);
|
|
20797
|
-
attr(span1, "class", "wordCtn svelte-
|
|
20798
|
-
attr(div2, "class", "subCtn svelte-
|
|
20799
|
-
attr(div3, "class", "leftTopCtn svelte-
|
|
20800
|
-
attr(div4, "class", "fireSvgaCtnMagic svelte-
|
|
20801
|
-
attr(div5, "class", "result_vap_anim svelte-
|
|
20802
|
-
attr(div9, "class", "mainShowerCtn svelte-
|
|
20797
|
+
attr(span1, "class", "wordCtn svelte-1j2cxti");
|
|
20798
|
+
attr(div2, "class", "subCtn svelte-1j2cxti");
|
|
20799
|
+
attr(div3, "class", "leftTopCtn svelte-1j2cxti");
|
|
20800
|
+
attr(div4, "class", "fireSvgaCtnMagic svelte-1j2cxti");
|
|
20801
|
+
attr(div5, "class", "result_vap_anim svelte-1j2cxti");
|
|
20802
|
+
attr(div9, "class", "mainShowerCtn svelte-1j2cxti");
|
|
20803
20803
|
attr(div10, "class", div10_class_value = null_to_empty(
|
|
20804
20804
|
/*parentIgnore*/
|
|
20805
20805
|
ctx[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
20806
|
-
) + " svelte-
|
|
20806
|
+
) + " svelte-1j2cxti");
|
|
20807
20807
|
attr(div10, "role", "presentation");
|
|
20808
|
-
attr(span3, "class", "spCtn svelte-
|
|
20809
|
-
attr(span4, "class", "changeWordCtn svelte-
|
|
20808
|
+
attr(span3, "class", "spCtn svelte-1j2cxti");
|
|
20809
|
+
attr(span4, "class", "changeWordCtn svelte-1j2cxti");
|
|
20810
20810
|
attr(div11, "role", "presentation");
|
|
20811
20811
|
attr(div11, "class", div11_class_value = null_to_empty(
|
|
20812
20812
|
/*radioIsSelected*/
|
|
20813
20813
|
ctx[4] ? "radioCtn active" : "radioCtn"
|
|
20814
|
-
) + " svelte-
|
|
20815
|
-
attr(div12, "class", "footerBottomCtn svelte-
|
|
20816
|
-
attr(div13, "class", "openGiftFooter svelte-
|
|
20817
|
-
attr(div14, "class", "GoldCtn2 svelte-
|
|
20814
|
+
) + " svelte-1j2cxti");
|
|
20815
|
+
attr(div12, "class", "footerBottomCtn svelte-1j2cxti");
|
|
20816
|
+
attr(div13, "class", "openGiftFooter svelte-1j2cxti");
|
|
20817
|
+
attr(div14, "class", "GoldCtn2 svelte-1j2cxti");
|
|
20818
20818
|
},
|
|
20819
20819
|
m(target, anchor) {
|
|
20820
20820
|
insert(target, div14, anchor);
|
|
@@ -20927,14 +20927,14 @@ function create_fragment$2(ctx) {
|
|
|
20927
20927
|
2 && div10_class_value !== (div10_class_value = null_to_empty(
|
|
20928
20928
|
/*parentIgnore*/
|
|
20929
20929
|
ctx2[1] ? "result_action_ignore ignore" : "result_action_ignore"
|
|
20930
|
-
) + " svelte-
|
|
20930
|
+
) + " svelte-1j2cxti")) {
|
|
20931
20931
|
attr(div10, "class", div10_class_value);
|
|
20932
20932
|
}
|
|
20933
20933
|
if (dirty & /*radioIsSelected*/
|
|
20934
20934
|
16 && div11_class_value !== (div11_class_value = null_to_empty(
|
|
20935
20935
|
/*radioIsSelected*/
|
|
20936
20936
|
ctx2[4] ? "radioCtn active" : "radioCtn"
|
|
20937
|
-
) + " svelte-
|
|
20937
|
+
) + " svelte-1j2cxti")) {
|
|
20938
20938
|
attr(div11, "class", div11_class_value);
|
|
20939
20939
|
}
|
|
20940
20940
|
if (
|
|
@@ -21028,6 +21028,7 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
|
21028
21028
|
);
|
|
21029
21029
|
result = res.data;
|
|
21030
21030
|
result._expires = res.expires || [];
|
|
21031
|
+
result._totalProcess = res["total-process"];
|
|
21031
21032
|
let isJumpAnimation = SessionStorage.getInstance().getGoldMagicAnimIgnore() || 0;
|
|
21032
21033
|
if (isJumpAnimation == 0) {
|
|
21033
21034
|
const vapPath = "https://asset.tuwan.com/chartRoom/loveAndLuckyBox/love/";
|
|
@@ -21044,7 +21045,7 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
|
21044
21045
|
});
|
|
21045
21046
|
setTimeout(
|
|
21046
21047
|
() => {
|
|
21047
|
-
handleSetResult(result, times || spTimes
|
|
21048
|
+
handleSetResult(result, times || spTimes);
|
|
21048
21049
|
emptyEl(".result_vap_anim");
|
|
21049
21050
|
},
|
|
21050
21051
|
1100
|
|
@@ -21052,7 +21053,7 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
|
21052
21053
|
} else {
|
|
21053
21054
|
isGoing = false;
|
|
21054
21055
|
handleGetGiftInfo();
|
|
21055
|
-
handleSetResult(result, times || spTimes
|
|
21056
|
+
handleSetResult(result, times || spTimes);
|
|
21056
21057
|
}
|
|
21057
21058
|
} else if (res.error == -2) {
|
|
21058
21059
|
isGoing = false;
|
|
@@ -21201,15 +21202,15 @@ function create_else_block(ctx) {
|
|
|
21201
21202
|
),
|
|
21202
21203
|
handleSetLastOpenTimes: (
|
|
21203
21204
|
/*handleSetLastOpenTimes*/
|
|
21204
|
-
ctx[
|
|
21205
|
+
ctx[15]
|
|
21205
21206
|
),
|
|
21206
21207
|
handelChangeIgnore: (
|
|
21207
21208
|
/*handelChangeIgnore*/
|
|
21208
|
-
ctx[
|
|
21209
|
+
ctx[17]
|
|
21209
21210
|
),
|
|
21210
21211
|
handelChangeUnitPrice: (
|
|
21211
21212
|
/*handelChangeUnitPrice*/
|
|
21212
|
-
ctx[
|
|
21213
|
+
ctx[18]
|
|
21213
21214
|
),
|
|
21214
21215
|
flag: (
|
|
21215
21216
|
/*flag*/
|
|
@@ -21218,11 +21219,11 @@ function create_else_block(ctx) {
|
|
|
21218
21219
|
resData: goldResData,
|
|
21219
21220
|
handleSetResult: (
|
|
21220
21221
|
/*handleSetResult*/
|
|
21221
|
-
ctx[
|
|
21222
|
+
ctx[13]
|
|
21222
21223
|
)
|
|
21223
21224
|
};
|
|
21224
21225
|
love = new Love({ props: love_props });
|
|
21225
|
-
ctx[
|
|
21226
|
+
ctx[21](love);
|
|
21226
21227
|
return {
|
|
21227
21228
|
c() {
|
|
21228
21229
|
create_component(love.$$.fragment);
|
|
@@ -21251,7 +21252,7 @@ function create_else_block(ctx) {
|
|
|
21251
21252
|
current = false;
|
|
21252
21253
|
},
|
|
21253
21254
|
d(detaching) {
|
|
21254
|
-
ctx[
|
|
21255
|
+
ctx[21](null);
|
|
21255
21256
|
destroy_component(love, detaching);
|
|
21256
21257
|
}
|
|
21257
21258
|
};
|
|
@@ -21267,15 +21268,15 @@ function create_if_block_2$1(ctx) {
|
|
|
21267
21268
|
),
|
|
21268
21269
|
handleSetLastOpenTimes: (
|
|
21269
21270
|
/*handleSetLastOpenTimes*/
|
|
21270
|
-
ctx[
|
|
21271
|
+
ctx[15]
|
|
21271
21272
|
),
|
|
21272
21273
|
handelChangeIgnore: (
|
|
21273
21274
|
/*handelChangeIgnore*/
|
|
21274
|
-
ctx[
|
|
21275
|
+
ctx[17]
|
|
21275
21276
|
),
|
|
21276
21277
|
handelChangeUnitPrice: (
|
|
21277
21278
|
/*handelChangeUnitPrice*/
|
|
21278
|
-
ctx[
|
|
21279
|
+
ctx[18]
|
|
21279
21280
|
),
|
|
21280
21281
|
flag: (
|
|
21281
21282
|
/*flag*/
|
|
@@ -21284,7 +21285,7 @@ function create_if_block_2$1(ctx) {
|
|
|
21284
21285
|
resData: magicResData,
|
|
21285
21286
|
handleSetResult: (
|
|
21286
21287
|
/*handleSetResult*/
|
|
21287
|
-
ctx[
|
|
21288
|
+
ctx[13]
|
|
21288
21289
|
)
|
|
21289
21290
|
}
|
|
21290
21291
|
});
|
|
@@ -21321,69 +21322,11 @@ function create_if_block_2$1(ctx) {
|
|
|
21321
21322
|
};
|
|
21322
21323
|
}
|
|
21323
21324
|
function create_if_block_1$1(ctx) {
|
|
21324
|
-
let history;
|
|
21325
|
-
let updating_onClose;
|
|
21326
|
-
let current;
|
|
21327
|
-
function history_onClose_binding(value) {
|
|
21328
|
-
ctx[23](value);
|
|
21329
|
-
}
|
|
21330
|
-
let history_props = {
|
|
21331
|
-
mode: (
|
|
21332
|
-
/*currentType*/
|
|
21333
|
-
ctx[0] == "1" ? RESULT_VIEW_TYPE.LUCKY_TYPE : RESULT_VIEW_TYPE.LOVE_TYPE
|
|
21334
|
-
)
|
|
21335
|
-
};
|
|
21336
|
-
if (
|
|
21337
|
-
/*handleChangeHistory*/
|
|
21338
|
-
ctx[11] !== void 0
|
|
21339
|
-
) {
|
|
21340
|
-
history_props.onClose = /*handleChangeHistory*/
|
|
21341
|
-
ctx[11];
|
|
21342
|
-
}
|
|
21343
|
-
history = new History3({ props: history_props });
|
|
21344
|
-
binding_callbacks.push(() => bind(history, "onClose", history_onClose_binding));
|
|
21345
|
-
return {
|
|
21346
|
-
c() {
|
|
21347
|
-
create_component(history.$$.fragment);
|
|
21348
|
-
},
|
|
21349
|
-
m(target, anchor) {
|
|
21350
|
-
mount_component(history, target, anchor);
|
|
21351
|
-
current = true;
|
|
21352
|
-
},
|
|
21353
|
-
p(ctx2, dirty) {
|
|
21354
|
-
const history_changes = {};
|
|
21355
|
-
if (dirty & /*currentType*/
|
|
21356
|
-
1) history_changes.mode = /*currentType*/
|
|
21357
|
-
ctx2[0] == "1" ? RESULT_VIEW_TYPE.LUCKY_TYPE : RESULT_VIEW_TYPE.LOVE_TYPE;
|
|
21358
|
-
if (!updating_onClose && dirty & /*handleChangeHistory*/
|
|
21359
|
-
2048) {
|
|
21360
|
-
updating_onClose = true;
|
|
21361
|
-
history_changes.onClose = /*handleChangeHistory*/
|
|
21362
|
-
ctx2[11];
|
|
21363
|
-
add_flush_callback(() => updating_onClose = false);
|
|
21364
|
-
}
|
|
21365
|
-
history.$set(history_changes);
|
|
21366
|
-
},
|
|
21367
|
-
i(local) {
|
|
21368
|
-
if (current) return;
|
|
21369
|
-
transition_in(history.$$.fragment, local);
|
|
21370
|
-
current = true;
|
|
21371
|
-
},
|
|
21372
|
-
o(local) {
|
|
21373
|
-
transition_out(history.$$.fragment, local);
|
|
21374
|
-
current = false;
|
|
21375
|
-
},
|
|
21376
|
-
d(detaching) {
|
|
21377
|
-
destroy_component(history, detaching);
|
|
21378
|
-
}
|
|
21379
|
-
};
|
|
21380
|
-
}
|
|
21381
|
-
function create_if_block$1(ctx) {
|
|
21382
21325
|
let result_1;
|
|
21383
21326
|
let updating_onClose;
|
|
21384
21327
|
let current;
|
|
21385
21328
|
function result_1_onClose_binding(value) {
|
|
21386
|
-
ctx[
|
|
21329
|
+
ctx[22](value);
|
|
21387
21330
|
}
|
|
21388
21331
|
let result_1_props = {
|
|
21389
21332
|
num: (
|
|
@@ -21392,27 +21335,23 @@ function create_if_block$1(ctx) {
|
|
|
21392
21335
|
),
|
|
21393
21336
|
lastOpenTimes: (
|
|
21394
21337
|
/*lastOpenTimes*/
|
|
21395
|
-
ctx[
|
|
21338
|
+
ctx[7]
|
|
21396
21339
|
),
|
|
21397
21340
|
unit_price: (
|
|
21398
21341
|
/*unit_price*/
|
|
21399
|
-
ctx[
|
|
21342
|
+
ctx[8]
|
|
21400
21343
|
),
|
|
21401
21344
|
result: (
|
|
21402
21345
|
/*result*/
|
|
21403
21346
|
ctx[6]
|
|
21404
21347
|
),
|
|
21405
|
-
showCrit: (
|
|
21406
|
-
/*showCrit*/
|
|
21407
|
-
ctx[7]
|
|
21408
|
-
),
|
|
21409
21348
|
parentIgnore: (
|
|
21410
21349
|
/*parentIgnore*/
|
|
21411
21350
|
ctx[5]
|
|
21412
21351
|
),
|
|
21413
21352
|
handelChangeIgnore: (
|
|
21414
21353
|
/*handelChangeIgnore*/
|
|
21415
|
-
ctx[
|
|
21354
|
+
ctx[17]
|
|
21416
21355
|
),
|
|
21417
21356
|
mode: (
|
|
21418
21357
|
/*currentType*/
|
|
@@ -21421,10 +21360,10 @@ function create_if_block$1(ctx) {
|
|
|
21421
21360
|
};
|
|
21422
21361
|
if (
|
|
21423
21362
|
/*handleChangeResult*/
|
|
21424
|
-
ctx[
|
|
21363
|
+
ctx[12] !== void 0
|
|
21425
21364
|
) {
|
|
21426
21365
|
result_1_props.onClose = /*handleChangeResult*/
|
|
21427
|
-
ctx[
|
|
21366
|
+
ctx[12];
|
|
21428
21367
|
}
|
|
21429
21368
|
result_1 = new Result3({ props: result_1_props });
|
|
21430
21369
|
binding_callbacks.push(() => bind(result_1, "onClose", result_1_onClose_binding));
|
|
@@ -21442,17 +21381,14 @@ function create_if_block$1(ctx) {
|
|
|
21442
21381
|
8) result_1_changes.num = /*num*/
|
|
21443
21382
|
ctx2[3];
|
|
21444
21383
|
if (dirty & /*lastOpenTimes*/
|
|
21445
|
-
|
|
21446
|
-
ctx2[
|
|
21384
|
+
128) result_1_changes.lastOpenTimes = /*lastOpenTimes*/
|
|
21385
|
+
ctx2[7];
|
|
21447
21386
|
if (dirty & /*unit_price*/
|
|
21448
|
-
|
|
21449
|
-
ctx2[
|
|
21387
|
+
256) result_1_changes.unit_price = /*unit_price*/
|
|
21388
|
+
ctx2[8];
|
|
21450
21389
|
if (dirty & /*result*/
|
|
21451
21390
|
64) result_1_changes.result = /*result*/
|
|
21452
21391
|
ctx2[6];
|
|
21453
|
-
if (dirty & /*showCrit*/
|
|
21454
|
-
128) result_1_changes.showCrit = /*showCrit*/
|
|
21455
|
-
ctx2[7];
|
|
21456
21392
|
if (dirty & /*parentIgnore*/
|
|
21457
21393
|
32) result_1_changes.parentIgnore = /*parentIgnore*/
|
|
21458
21394
|
ctx2[5];
|
|
@@ -21460,10 +21396,10 @@ function create_if_block$1(ctx) {
|
|
|
21460
21396
|
1) result_1_changes.mode = /*currentType*/
|
|
21461
21397
|
ctx2[0] == "1" ? RESULT_VIEW_TYPE.LUCKY_TYPE : RESULT_VIEW_TYPE.LOVE_TYPE;
|
|
21462
21398
|
if (!updating_onClose && dirty & /*handleChangeResult*/
|
|
21463
|
-
|
|
21399
|
+
4096) {
|
|
21464
21400
|
updating_onClose = true;
|
|
21465
21401
|
result_1_changes.onClose = /*handleChangeResult*/
|
|
21466
|
-
ctx2[
|
|
21402
|
+
ctx2[12];
|
|
21467
21403
|
add_flush_callback(() => updating_onClose = false);
|
|
21468
21404
|
}
|
|
21469
21405
|
result_1.$set(result_1_changes);
|
|
@@ -21482,6 +21418,64 @@ function create_if_block$1(ctx) {
|
|
|
21482
21418
|
}
|
|
21483
21419
|
};
|
|
21484
21420
|
}
|
|
21421
|
+
function create_if_block$1(ctx) {
|
|
21422
|
+
let history;
|
|
21423
|
+
let updating_onClose;
|
|
21424
|
+
let current;
|
|
21425
|
+
function history_onClose_binding(value) {
|
|
21426
|
+
ctx[23](value);
|
|
21427
|
+
}
|
|
21428
|
+
let history_props = {
|
|
21429
|
+
mode: (
|
|
21430
|
+
/*currentType*/
|
|
21431
|
+
ctx[0] == "1" ? RESULT_VIEW_TYPE.LUCKY_TYPE : RESULT_VIEW_TYPE.LOVE_TYPE
|
|
21432
|
+
)
|
|
21433
|
+
};
|
|
21434
|
+
if (
|
|
21435
|
+
/*handleChangeHistory*/
|
|
21436
|
+
ctx[10] !== void 0
|
|
21437
|
+
) {
|
|
21438
|
+
history_props.onClose = /*handleChangeHistory*/
|
|
21439
|
+
ctx[10];
|
|
21440
|
+
}
|
|
21441
|
+
history = new History3({ props: history_props });
|
|
21442
|
+
binding_callbacks.push(() => bind(history, "onClose", history_onClose_binding));
|
|
21443
|
+
return {
|
|
21444
|
+
c() {
|
|
21445
|
+
create_component(history.$$.fragment);
|
|
21446
|
+
},
|
|
21447
|
+
m(target, anchor) {
|
|
21448
|
+
mount_component(history, target, anchor);
|
|
21449
|
+
current = true;
|
|
21450
|
+
},
|
|
21451
|
+
p(ctx2, dirty) {
|
|
21452
|
+
const history_changes = {};
|
|
21453
|
+
if (dirty & /*currentType*/
|
|
21454
|
+
1) history_changes.mode = /*currentType*/
|
|
21455
|
+
ctx2[0] == "1" ? RESULT_VIEW_TYPE.LUCKY_TYPE : RESULT_VIEW_TYPE.LOVE_TYPE;
|
|
21456
|
+
if (!updating_onClose && dirty & /*handleChangeHistory*/
|
|
21457
|
+
1024) {
|
|
21458
|
+
updating_onClose = true;
|
|
21459
|
+
history_changes.onClose = /*handleChangeHistory*/
|
|
21460
|
+
ctx2[10];
|
|
21461
|
+
add_flush_callback(() => updating_onClose = false);
|
|
21462
|
+
}
|
|
21463
|
+
history.$set(history_changes);
|
|
21464
|
+
},
|
|
21465
|
+
i(local) {
|
|
21466
|
+
if (current) return;
|
|
21467
|
+
transition_in(history.$$.fragment, local);
|
|
21468
|
+
current = true;
|
|
21469
|
+
},
|
|
21470
|
+
o(local) {
|
|
21471
|
+
transition_out(history.$$.fragment, local);
|
|
21472
|
+
current = false;
|
|
21473
|
+
},
|
|
21474
|
+
d(detaching) {
|
|
21475
|
+
destroy_component(history, detaching);
|
|
21476
|
+
}
|
|
21477
|
+
};
|
|
21478
|
+
}
|
|
21485
21479
|
function create_fragment$1(ctx) {
|
|
21486
21480
|
let div5;
|
|
21487
21481
|
let div0;
|
|
@@ -21512,12 +21506,12 @@ function create_fragment$1(ctx) {
|
|
|
21512
21506
|
current_block_type_index = select_block_type(ctx);
|
|
21513
21507
|
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
21514
21508
|
let if_block1 = (
|
|
21515
|
-
/*
|
|
21516
|
-
ctx[
|
|
21509
|
+
/*isShowResult*/
|
|
21510
|
+
ctx[11] && create_if_block_1$1(ctx)
|
|
21517
21511
|
);
|
|
21518
21512
|
let if_block2 = (
|
|
21519
|
-
/*
|
|
21520
|
-
ctx[
|
|
21513
|
+
/*isShowHistory*/
|
|
21514
|
+
ctx[9] && create_if_block$1(ctx)
|
|
21521
21515
|
);
|
|
21522
21516
|
return {
|
|
21523
21517
|
c() {
|
|
@@ -21527,27 +21521,27 @@ function create_fragment$1(ctx) {
|
|
|
21527
21521
|
div4 = element("div");
|
|
21528
21522
|
div3 = element("div");
|
|
21529
21523
|
div1 = element("div");
|
|
21530
|
-
div1.innerHTML = `<img alt="" class="imgIcon svelte-
|
|
21524
|
+
div1.innerHTML = `<img alt="" class="imgIcon svelte-5p8e4p" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/learnMoreIcon.png"/>`;
|
|
21531
21525
|
t1 = space();
|
|
21532
21526
|
div2 = element("div");
|
|
21533
|
-
div2.innerHTML = `<img alt="" class="imgIcon svelte-
|
|
21527
|
+
div2.innerHTML = `<img alt="" class="imgIcon svelte-5p8e4p" src="https://asset.tuwan.com/chartRoom/loveLuckyMagic/historyIcon.png"/>`;
|
|
21534
21528
|
t2 = space();
|
|
21535
21529
|
if_block0.c();
|
|
21536
21530
|
t3 = space();
|
|
21537
21531
|
if (if_block1) if_block1.c();
|
|
21538
21532
|
t4 = space();
|
|
21539
21533
|
if (if_block2) if_block2.c();
|
|
21540
|
-
attr(div0, "class", "coverBg svelte-
|
|
21534
|
+
attr(div0, "class", "coverBg svelte-5p8e4p");
|
|
21541
21535
|
attr(div0, "role", "presentation");
|
|
21542
|
-
attr(div1, "class", "subCtn svelte-
|
|
21536
|
+
attr(div1, "class", "subCtn svelte-5p8e4p");
|
|
21543
21537
|
attr(div1, "role", "presentation");
|
|
21544
21538
|
attr(div2, "role", "presentation");
|
|
21545
|
-
attr(div2, "class", "subCtn svelte-
|
|
21546
|
-
attr(div3, "class", "rightTopCtn svelte-
|
|
21539
|
+
attr(div2, "class", "subCtn svelte-5p8e4p");
|
|
21540
|
+
attr(div3, "class", "rightTopCtn svelte-5p8e4p");
|
|
21547
21541
|
attr(div4, "class", div4_class_value = null_to_empty(
|
|
21548
21542
|
/*currentType*/
|
|
21549
21543
|
ctx[0] == "1" ? "goldMagicCtn2 magic" : "goldMagicCtn2 gold"
|
|
21550
|
-
) + " svelte-
|
|
21544
|
+
) + " svelte-5p8e4p");
|
|
21551
21545
|
attr(div4, "role", "presentation");
|
|
21552
21546
|
attr(div5, "role", "presentation");
|
|
21553
21547
|
},
|
|
@@ -21579,21 +21573,21 @@ function create_fragment$1(ctx) {
|
|
|
21579
21573
|
div1,
|
|
21580
21574
|
"click",
|
|
21581
21575
|
/*goToPage*/
|
|
21582
|
-
ctx[
|
|
21576
|
+
ctx[16]
|
|
21583
21577
|
),
|
|
21584
21578
|
listen(
|
|
21585
21579
|
div2,
|
|
21586
21580
|
"click",
|
|
21587
21581
|
/*openGiftRecordList*/
|
|
21588
|
-
ctx[
|
|
21582
|
+
ctx[14]
|
|
21589
21583
|
),
|
|
21590
21584
|
listen(div4, "click", stop_propagation(
|
|
21591
21585
|
/*click_handler_1*/
|
|
21592
|
-
ctx[
|
|
21586
|
+
ctx[20]
|
|
21593
21587
|
)),
|
|
21594
21588
|
listen(div5, "click", stop_propagation(
|
|
21595
21589
|
/*click_handler*/
|
|
21596
|
-
ctx[
|
|
21590
|
+
ctx[19]
|
|
21597
21591
|
))
|
|
21598
21592
|
];
|
|
21599
21593
|
mounted = true;
|
|
@@ -21622,13 +21616,13 @@ function create_fragment$1(ctx) {
|
|
|
21622
21616
|
if_block0.m(div4, t3);
|
|
21623
21617
|
}
|
|
21624
21618
|
if (
|
|
21625
|
-
/*
|
|
21626
|
-
ctx[
|
|
21619
|
+
/*isShowResult*/
|
|
21620
|
+
ctx[11]
|
|
21627
21621
|
) {
|
|
21628
21622
|
if (if_block1) {
|
|
21629
21623
|
if_block1.p(ctx, dirty);
|
|
21630
|
-
if (dirty & /*
|
|
21631
|
-
|
|
21624
|
+
if (dirty & /*isShowResult*/
|
|
21625
|
+
2048) {
|
|
21632
21626
|
transition_in(if_block1, 1);
|
|
21633
21627
|
}
|
|
21634
21628
|
} else {
|
|
@@ -21645,13 +21639,13 @@ function create_fragment$1(ctx) {
|
|
|
21645
21639
|
check_outros();
|
|
21646
21640
|
}
|
|
21647
21641
|
if (
|
|
21648
|
-
/*
|
|
21649
|
-
ctx[
|
|
21642
|
+
/*isShowHistory*/
|
|
21643
|
+
ctx[9]
|
|
21650
21644
|
) {
|
|
21651
21645
|
if (if_block2) {
|
|
21652
21646
|
if_block2.p(ctx, dirty);
|
|
21653
|
-
if (dirty & /*
|
|
21654
|
-
|
|
21647
|
+
if (dirty & /*isShowHistory*/
|
|
21648
|
+
512) {
|
|
21655
21649
|
transition_in(if_block2, 1);
|
|
21656
21650
|
}
|
|
21657
21651
|
} else {
|
|
@@ -21671,7 +21665,7 @@ function create_fragment$1(ctx) {
|
|
|
21671
21665
|
1 && div4_class_value !== (div4_class_value = null_to_empty(
|
|
21672
21666
|
/*currentType*/
|
|
21673
21667
|
ctx[0] == "1" ? "goldMagicCtn2 magic" : "goldMagicCtn2 gold"
|
|
21674
|
-
) + " svelte-
|
|
21668
|
+
) + " svelte-5p8e4p")) {
|
|
21675
21669
|
attr(div4, "class", div4_class_value);
|
|
21676
21670
|
}
|
|
21677
21671
|
},
|
|
@@ -21710,30 +21704,28 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
21710
21704
|
let goldChild;
|
|
21711
21705
|
let parentIgnore = false;
|
|
21712
21706
|
let result = [];
|
|
21713
|
-
let showCrit = false;
|
|
21714
21707
|
let lastOpenTimes = 1;
|
|
21715
21708
|
let unit_price = 0;
|
|
21716
21709
|
let isShowHistory = false;
|
|
21717
21710
|
let handleChangeHistory = function() {
|
|
21718
|
-
$$invalidate(
|
|
21711
|
+
$$invalidate(9, isShowHistory = !isShowHistory);
|
|
21719
21712
|
};
|
|
21720
21713
|
let isShowResult = false;
|
|
21721
21714
|
let handleChangeResult = function() {
|
|
21722
21715
|
$$invalidate(2, flag = flag + 1);
|
|
21723
|
-
$$invalidate(
|
|
21716
|
+
$$invalidate(11, isShowResult = !isShowResult);
|
|
21724
21717
|
};
|
|
21725
|
-
let handleSetResult = function(dataArr, times = 1
|
|
21718
|
+
let handleSetResult = function(dataArr, times = 1) {
|
|
21726
21719
|
$$invalidate(6, result = dataArr);
|
|
21727
|
-
$$invalidate(
|
|
21728
|
-
$$invalidate(
|
|
21720
|
+
$$invalidate(11, isShowResult = !isShowResult);
|
|
21721
|
+
$$invalidate(11, isShowResult = true);
|
|
21729
21722
|
$$invalidate(3, num = times);
|
|
21730
|
-
$$invalidate(7, showCrit = Number(totalProcess) == 1);
|
|
21731
21723
|
};
|
|
21732
21724
|
let openGiftRecordList = function() {
|
|
21733
|
-
$$invalidate(
|
|
21725
|
+
$$invalidate(9, isShowHistory = true);
|
|
21734
21726
|
};
|
|
21735
21727
|
let handleSetLastOpenTimes = (v) => {
|
|
21736
|
-
$$invalidate(
|
|
21728
|
+
$$invalidate(7, lastOpenTimes = v);
|
|
21737
21729
|
};
|
|
21738
21730
|
let goToPage = function() {
|
|
21739
21731
|
window.open("https://y.tuwan.com/activities/900325Cdc25ee#/");
|
|
@@ -21742,7 +21734,7 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
21742
21734
|
$$invalidate(5, parentIgnore = !parentIgnore);
|
|
21743
21735
|
};
|
|
21744
21736
|
let handelChangeUnitPrice = (v) => {
|
|
21745
|
-
$$invalidate(
|
|
21737
|
+
$$invalidate(8, unit_price = v);
|
|
21746
21738
|
};
|
|
21747
21739
|
onMount(() => {
|
|
21748
21740
|
$$invalidate(5, parentIgnore = SessionStorage.getInstance().getGoldMagicAnimIgnore() == "1");
|
|
@@ -21764,13 +21756,13 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
21764
21756
|
$$invalidate(4, goldChild);
|
|
21765
21757
|
});
|
|
21766
21758
|
}
|
|
21767
|
-
function history_onClose_binding(value) {
|
|
21768
|
-
handleChangeHistory = value;
|
|
21769
|
-
$$invalidate(11, handleChangeHistory);
|
|
21770
|
-
}
|
|
21771
21759
|
function result_1_onClose_binding(value) {
|
|
21772
21760
|
handleChangeResult = value;
|
|
21773
|
-
$$invalidate(
|
|
21761
|
+
$$invalidate(12, handleChangeResult);
|
|
21762
|
+
}
|
|
21763
|
+
function history_onClose_binding(value) {
|
|
21764
|
+
handleChangeHistory = value;
|
|
21765
|
+
$$invalidate(10, handleChangeHistory);
|
|
21774
21766
|
}
|
|
21775
21767
|
$$self.$$set = ($$props2) => {
|
|
21776
21768
|
if ("currentType" in $$props2) $$invalidate(0, currentType = $$props2.currentType);
|
|
@@ -21784,7 +21776,6 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
21784
21776
|
goldChild,
|
|
21785
21777
|
parentIgnore,
|
|
21786
21778
|
result,
|
|
21787
|
-
showCrit,
|
|
21788
21779
|
lastOpenTimes,
|
|
21789
21780
|
unit_price,
|
|
21790
21781
|
isShowHistory,
|
|
@@ -21800,8 +21791,8 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
21800
21791
|
click_handler,
|
|
21801
21792
|
click_handler_12,
|
|
21802
21793
|
love_binding,
|
|
21803
|
-
|
|
21804
|
-
|
|
21794
|
+
result_1_onClose_binding,
|
|
21795
|
+
history_onClose_binding
|
|
21805
21796
|
];
|
|
21806
21797
|
}
|
|
21807
21798
|
class LoveAndLuckyMagic extends SvelteComponent {
|