bk-magic-vue 2.3.2-beta.4 → 2.3.2-beta.6
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/dist/bk-magic-vue.css +4 -4
- package/dist/bk-magic-vue.js +1507 -2471
- package/dist/bk-magic-vue.min.css +1 -1
- package/dist/bk-magic-vue.min.css.gz +0 -0
- package/dist/bk-magic-vue.min.css.map +1 -1
- package/dist/bk-magic-vue.min.js +1 -1
- package/dist/bk-magic-vue.min.js.gz +0 -0
- package/dist/bk-magic-vue.min.js.map +1 -1
- package/lib/alert.js +5 -11
- package/lib/animate-number.js +2 -9
- package/lib/badge.js +7 -25
- package/lib/big-tree.js +2549 -2788
- package/lib/breadcrumb-item.js +3 -10
- package/lib/breadcrumb.js +1 -9
- package/lib/button.js +1 -9
- package/lib/card.js +41 -70
- package/lib/cascade.js +442 -698
- package/lib/checkbox-group.js +2 -16
- package/lib/checkbox.js +972 -1179
- package/lib/col.js +9 -17
- package/lib/collapse-item.js +1 -10
- package/lib/collapse.js +1 -9
- package/lib/color-picker.js +38 -96
- package/lib/compose-form-item.js +1 -4
- package/lib/container.js +3 -11
- package/lib/date-picker.js +202 -330
- package/lib/dialog.js +2572 -2782
- package/lib/diff.js +2 -10
- package/lib/directives/clickoutside.js +2 -2
- package/lib/directives/overflow-tips.js +57 -73
- package/lib/directives/tooltips.js +65 -79
- package/lib/directives/transfer-dom.js +1 -4
- package/lib/divider.js +1 -9
- package/lib/dropdown-menu.js +7 -17
- package/lib/exception.js +5 -14
- package/lib/fixed-navbar.js +2 -13
- package/lib/form-item.js +253 -483
- package/lib/form.js +5 -22
- package/lib/icon.js +4 -5
- package/lib/image-viewer.js +22 -35
- package/lib/image.js +45 -72
- package/lib/info-box.js +2701 -2918
- package/lib/input.js +10 -33
- package/lib/link.js +1 -9
- package/lib/loading.js +9 -21
- package/lib/locale/index.js +5 -11
- package/lib/message.js +10 -22
- package/lib/navigation-menu-group.js +0 -4
- package/lib/navigation-menu-item.js +6 -19
- package/lib/navigation-menu.js +1046 -1252
- package/lib/navigation.js +34 -39
- package/lib/notify.js +20 -34
- package/lib/option-group.js +5 -10
- package/lib/option.js +15 -20
- package/lib/pagination.js +6706 -7013
- package/lib/popconfirm.js +66 -83
- package/lib/popover.js +55 -66
- package/lib/process.js +2 -17
- package/lib/progress.js +4 -10
- package/lib/radio-button.js +6 -13
- package/lib/radio-group.js +2 -9
- package/lib/radio.js +6 -13
- package/lib/rate.js +5 -21
- package/lib/resize-layout.js +11 -20
- package/lib/round-progress.js +1 -9
- package/lib/row.js +5 -18
- package/lib/search-select.js +409 -635
- package/lib/select.js +5989 -6261
- package/lib/sideslider.js +1560 -1769
- package/lib/slider.js +78 -127
- package/lib/star.js +3 -11
- package/lib/steps.js +1754 -1961
- package/lib/swiper.js +20 -33
- package/lib/switcher.js +3 -12
- package/lib/tab-panel.js +2 -9
- package/lib/tab.js +2330 -2536
- package/lib/table-column.js +328 -547
- package/lib/table-setting-content.js +321 -558
- package/lib/table.js +566 -917
- package/lib/tag-input.js +397 -649
- package/lib/tag.js +2 -10
- package/lib/time-picker.js +144 -219
- package/lib/timeline.js +23 -35
- package/lib/transfer.js +111 -161
- package/lib/transition.js +1 -9
- package/lib/tree.js +31 -75
- package/lib/ui/bk-magic-vue.css +4 -4
- package/lib/ui/bk-magic-vue.min.css +1 -1
- package/lib/ui/bk-magic-vue.min.css.gz +0 -0
- package/lib/ui/bk-magic-vue.min.css.map +1 -1
- package/lib/ui/button.css +1 -1
- package/lib/ui/button.min.css +1 -1
- package/lib/ui/button.min.css.map +1 -1
- package/lib/ui/dialog.css +2 -2
- package/lib/ui/dialog.min.css +1 -1
- package/lib/ui/dialog.min.css.map +1 -1
- package/lib/ui/info-box.css +2 -2
- package/lib/ui/info-box.min.css +1 -1
- package/lib/ui/info-box.min.css.map +1 -1
- package/lib/ui/popconfirm.css +1 -1
- package/lib/ui/popconfirm.min.css +1 -1
- package/lib/ui/popconfirm.min.css.map +1 -1
- package/lib/upload.js +63 -87
- package/lib/utils/deepmerge.js +5 -11
- package/lib/utils/pinyin.js +5 -11
- package/lib/utils/pop-manager.js +2 -2
- package/lib/utils/tippy.js +48 -49
- package/lib/version-detail.js +5854 -6081
- package/lib/virtual-scroll.js +17 -23
- package/lib/zoom-image.js +3 -11
- package/package.json +1 -1
package/lib/steps.js
CHANGED
|
@@ -1,1966 +1,1759 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('bk-magic-vue/lib/locale')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'bk-magic-vue/lib/locale'], factory) :
|
|
4
|
+
(global = global || self, factory(global.library = {}, global.locale));
|
|
5
5
|
}(this, function (exports, locale) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
_context2.t0 = _context2["catch"](0);
|
|
1759
|
-
console.warn(_context2.t0);
|
|
1760
|
-
case 12:
|
|
1761
|
-
case "end":
|
|
1762
|
-
return _context2.stop();
|
|
1763
|
-
}
|
|
1764
|
-
}
|
|
1765
|
-
}, _callee2, null, [[0, 9]]);
|
|
1766
|
-
}))();
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
};
|
|
1770
|
-
|
|
1771
|
-
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier
|
|
1772
|
-
, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
|
1773
|
-
if (typeof shadowMode !== 'boolean') {
|
|
1774
|
-
createInjectorSSR = createInjector;
|
|
1775
|
-
createInjector = shadowMode;
|
|
1776
|
-
shadowMode = false;
|
|
1777
|
-
}
|
|
1778
|
-
var options = typeof script === 'function' ? script.options : script;
|
|
1779
|
-
if (template && template.render) {
|
|
1780
|
-
options.render = template.render;
|
|
1781
|
-
options.staticRenderFns = template.staticRenderFns;
|
|
1782
|
-
options._compiled = true;
|
|
1783
|
-
if (isFunctionalTemplate) {
|
|
1784
|
-
options.functional = true;
|
|
1785
|
-
}
|
|
1786
|
-
}
|
|
1787
|
-
if (scopeId) {
|
|
1788
|
-
options._scopeId = scopeId;
|
|
1789
|
-
}
|
|
1790
|
-
var hook;
|
|
1791
|
-
if (moduleIdentifier) {
|
|
1792
|
-
hook = function hook(context) {
|
|
1793
|
-
context = context ||
|
|
1794
|
-
this.$vnode && this.$vnode.ssrContext ||
|
|
1795
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
|
|
1796
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
1797
|
-
context = __VUE_SSR_CONTEXT__;
|
|
1798
|
-
}
|
|
1799
|
-
if (style) {
|
|
1800
|
-
style.call(this, createInjectorSSR(context));
|
|
1801
|
-
}
|
|
1802
|
-
if (context && context._registeredComponents) {
|
|
1803
|
-
context._registeredComponents.add(moduleIdentifier);
|
|
1804
|
-
}
|
|
1805
|
-
};
|
|
1806
|
-
options._ssrRegister = hook;
|
|
1807
|
-
} else if (style) {
|
|
1808
|
-
hook = shadowMode ? function () {
|
|
1809
|
-
style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));
|
|
1810
|
-
} : function (context) {
|
|
1811
|
-
style.call(this, createInjector(context));
|
|
1812
|
-
};
|
|
1813
|
-
}
|
|
1814
|
-
if (hook) {
|
|
1815
|
-
if (options.functional) {
|
|
1816
|
-
var originalRender = options.render;
|
|
1817
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
1818
|
-
hook.call(context);
|
|
1819
|
-
return originalRender(h, context);
|
|
1820
|
-
};
|
|
1821
|
-
} else {
|
|
1822
|
-
var existing = options.beforeCreate;
|
|
1823
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
1824
|
-
}
|
|
1825
|
-
}
|
|
1826
|
-
return script;
|
|
1827
|
-
}
|
|
1828
|
-
var normalizeComponent_1 = normalizeComponent;
|
|
1829
|
-
|
|
1830
|
-
/* script */
|
|
1831
|
-
var __vue_script__ = script;
|
|
1832
|
-
/* template */
|
|
1833
|
-
|
|
1834
|
-
var __vue_render__ = function __vue_render__() {
|
|
1835
|
-
var _vm = this;
|
|
1836
|
-
|
|
1837
|
-
var _h = _vm.$createElement;
|
|
1838
|
-
|
|
1839
|
-
var _c = _vm._self._c || _h;
|
|
1840
|
-
|
|
1841
|
-
return _c('div', {
|
|
1842
|
-
class: [_vm.wrapperCls, _vm.extCls]
|
|
1843
|
-
}, _vm._l(_vm.defaultSteps, function (step, index) {
|
|
1844
|
-
var _obj;
|
|
1845
|
-
|
|
1846
|
-
return _c('div', {
|
|
1847
|
-
key: index,
|
|
1848
|
-
staticClass: "bk-step",
|
|
1849
|
-
class: (_obj = {
|
|
1850
|
-
'bk-step-no-content': !step.title,
|
|
1851
|
-
done: _vm.isDone(index),
|
|
1852
|
-
current: _vm.isCurrent(index)
|
|
1853
|
-
}, _obj["bk-step-" + _vm.currentStatus] = _vm.currentStatus && _vm.isCurrent(index), _obj)
|
|
1854
|
-
}, [_c('span', {
|
|
1855
|
-
staticClass: "bk-step-indicator",
|
|
1856
|
-
class: 'bk-step-' + (_vm.iconType(step) ? 'icon' : 'number'),
|
|
1857
|
-
style: {
|
|
1858
|
-
cursor: _vm.controllable ? 'pointer' : ''
|
|
1859
|
-
},
|
|
1860
|
-
on: {
|
|
1861
|
-
"click": function click($event) {
|
|
1862
|
-
_vm.jumpTo(index + 1);
|
|
1863
|
-
}
|
|
1864
|
-
}
|
|
1865
|
-
}, [_vm.isCurrent(index) && _vm.currentStatus === 'loading' || _vm.isLoadingStatus(step) ? _c('i', {
|
|
1866
|
-
staticClass: "bk-icon icon-circle-4-1 icon-loading"
|
|
1867
|
-
}) : _vm.iconType(step) ? _c('i', {
|
|
1868
|
-
staticClass: "bk-icon",
|
|
1869
|
-
class: 'icon-' + _vm.isIcon(step)
|
|
1870
|
-
}) : _vm.isCurrent(index) && _vm.currentStatus === 'error' || _vm.isErrorStatus(step) ? _c('i', {
|
|
1871
|
-
staticClass: "bk-icon icon-close icon-error"
|
|
1872
|
-
}) : _vm.isDone(index) ? _c('i', {
|
|
1873
|
-
staticClass: "bk-icon icon-check-1 icon-finish"
|
|
1874
|
-
}) : _c('span', {
|
|
1875
|
-
staticClass: "number"
|
|
1876
|
-
}, [_vm._v("\n " + _vm._s(_vm.isIcon(step)) + "\n ")])]), step.title ? _c('div', {
|
|
1877
|
-
staticClass: "bk-step-content"
|
|
1878
|
-
}, [_c('div', {
|
|
1879
|
-
staticClass: "bk-step-title",
|
|
1880
|
-
style: {
|
|
1881
|
-
cursor: _vm.controllable ? 'pointer' : ''
|
|
1882
|
-
},
|
|
1883
|
-
on: {
|
|
1884
|
-
"click": function click($event) {
|
|
1885
|
-
_vm.jumpTo(index + 1);
|
|
1886
|
-
}
|
|
1887
|
-
}
|
|
1888
|
-
}, [_vm._v("\n " + _vm._s(step.title) + "\n ")]), step.description ? _c('div', {
|
|
1889
|
-
staticClass: "bk-step-description",
|
|
1890
|
-
attrs: {
|
|
1891
|
-
"title": step.description
|
|
1892
|
-
}
|
|
1893
|
-
}, [_vm._v("\n " + _vm._s(step.description) + "\n ")]) : _vm._e()]) : _vm._e()]);
|
|
1894
|
-
}), 0);
|
|
1895
|
-
};
|
|
1896
|
-
|
|
1897
|
-
var __vue_staticRenderFns__ = [];
|
|
1898
|
-
/* style */
|
|
1899
|
-
|
|
1900
|
-
var __vue_inject_styles__ = undefined;
|
|
1901
|
-
/* scoped */
|
|
1902
|
-
|
|
1903
|
-
var __vue_scope_id__ = undefined;
|
|
1904
|
-
/* module identifier */
|
|
1905
|
-
|
|
1906
|
-
var __vue_module_identifier__ = undefined;
|
|
1907
|
-
/* functional template */
|
|
1908
|
-
|
|
1909
|
-
var __vue_is_functional_template__ = false;
|
|
1910
|
-
/* style inject */
|
|
1911
|
-
|
|
1912
|
-
/* style inject SSR */
|
|
1913
|
-
|
|
1914
|
-
/* style inject shadow dom */
|
|
1915
|
-
|
|
1916
|
-
var __vue_component__ = /*#__PURE__*/normalizeComponent_1({
|
|
1917
|
-
render: __vue_render__,
|
|
1918
|
-
staticRenderFns: __vue_staticRenderFns__
|
|
1919
|
-
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
1920
|
-
|
|
1921
|
-
var _objectSap = function (KEY, exec) {
|
|
1922
|
-
var fn = (_core.Object || {})[KEY] || Object[KEY];
|
|
1923
|
-
var exp = {};
|
|
1924
|
-
exp[KEY] = exec(fn);
|
|
1925
|
-
_export(_export.S + _export.F * _fails(function () { fn(1); }), 'Object', exp);
|
|
1926
|
-
};
|
|
1927
|
-
|
|
1928
|
-
_objectSap('keys', function () {
|
|
1929
|
-
return function keys(it) {
|
|
1930
|
-
return _objectKeys(_toObject(it));
|
|
1931
|
-
};
|
|
1932
|
-
});
|
|
1933
|
-
|
|
1934
|
-
var keys = _core.Object.keys;
|
|
1935
|
-
|
|
1936
|
-
var keys$1 = keys;
|
|
1937
|
-
|
|
1938
|
-
function setInstaller (component, afterInstall) {
|
|
1939
|
-
component.install = function (Vue) {
|
|
1940
|
-
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1941
|
-
var props = component.props || {};
|
|
1942
|
-
keys$1(options).forEach(function (key) {
|
|
1943
|
-
if (props.hasOwnProperty(key)) {
|
|
1944
|
-
if (typeof props[key] === 'function' || props[key] instanceof Array) {
|
|
1945
|
-
props[key] = {
|
|
1946
|
-
type: props[key],
|
|
1947
|
-
default: options[key]
|
|
1948
|
-
};
|
|
1949
|
-
} else {
|
|
1950
|
-
props[key].default = options[key];
|
|
1951
|
-
}
|
|
1952
|
-
}
|
|
1953
|
-
});
|
|
1954
|
-
component.name = options.namespace ? component.name.replace('bk', options.namespace) : component.name;
|
|
1955
|
-
Vue.component(component.name, component);
|
|
1956
|
-
typeof afterInstall === 'function' && afterInstall(Vue, options);
|
|
1957
|
-
};
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
|
-
setInstaller(__vue_component__);
|
|
1961
|
-
|
|
1962
|
-
exports.default = __vue_component__;
|
|
1963
|
-
|
|
1964
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
|
+
locale = locale && locale.hasOwnProperty('default') ? locale['default'] : locale;
|
|
8
|
+
|
|
9
|
+
function _regeneratorRuntime() {
|
|
10
|
+
_regeneratorRuntime = function () {
|
|
11
|
+
return exports;
|
|
12
|
+
};
|
|
13
|
+
var exports = {},
|
|
14
|
+
Op = Object.prototype,
|
|
15
|
+
hasOwn = Op.hasOwnProperty,
|
|
16
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
17
|
+
obj[key] = desc.value;
|
|
18
|
+
},
|
|
19
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
20
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
21
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
22
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
23
|
+
function define(obj, key, value) {
|
|
24
|
+
return Object.defineProperty(obj, key, {
|
|
25
|
+
value: value,
|
|
26
|
+
enumerable: !0,
|
|
27
|
+
configurable: !0,
|
|
28
|
+
writable: !0
|
|
29
|
+
}), obj[key];
|
|
30
|
+
}
|
|
31
|
+
try {
|
|
32
|
+
define({}, "");
|
|
33
|
+
} catch (err) {
|
|
34
|
+
define = function (obj, key, value) {
|
|
35
|
+
return obj[key] = value;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
39
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
40
|
+
generator = Object.create(protoGenerator.prototype),
|
|
41
|
+
context = new Context(tryLocsList || []);
|
|
42
|
+
return defineProperty(generator, "_invoke", {
|
|
43
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
44
|
+
}), generator;
|
|
45
|
+
}
|
|
46
|
+
function tryCatch(fn, obj, arg) {
|
|
47
|
+
try {
|
|
48
|
+
return {
|
|
49
|
+
type: "normal",
|
|
50
|
+
arg: fn.call(obj, arg)
|
|
51
|
+
};
|
|
52
|
+
} catch (err) {
|
|
53
|
+
return {
|
|
54
|
+
type: "throw",
|
|
55
|
+
arg: err
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.wrap = wrap;
|
|
60
|
+
var ContinueSentinel = {};
|
|
61
|
+
function Generator() {}
|
|
62
|
+
function GeneratorFunction() {}
|
|
63
|
+
function GeneratorFunctionPrototype() {}
|
|
64
|
+
var IteratorPrototype = {};
|
|
65
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
66
|
+
return this;
|
|
67
|
+
});
|
|
68
|
+
var getProto = Object.getPrototypeOf,
|
|
69
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
70
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
71
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
72
|
+
function defineIteratorMethods(prototype) {
|
|
73
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
74
|
+
define(prototype, method, function (arg) {
|
|
75
|
+
return this._invoke(method, arg);
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
80
|
+
function invoke(method, arg, resolve, reject) {
|
|
81
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
82
|
+
if ("throw" !== record.type) {
|
|
83
|
+
var result = record.arg,
|
|
84
|
+
value = result.value;
|
|
85
|
+
return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
86
|
+
invoke("next", value, resolve, reject);
|
|
87
|
+
}, function (err) {
|
|
88
|
+
invoke("throw", err, resolve, reject);
|
|
89
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
90
|
+
result.value = unwrapped, resolve(result);
|
|
91
|
+
}, function (error) {
|
|
92
|
+
return invoke("throw", error, resolve, reject);
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
reject(record.arg);
|
|
96
|
+
}
|
|
97
|
+
var previousPromise;
|
|
98
|
+
defineProperty(this, "_invoke", {
|
|
99
|
+
value: function (method, arg) {
|
|
100
|
+
function callInvokeWithMethodAndArg() {
|
|
101
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
102
|
+
invoke(method, arg, resolve, reject);
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
110
|
+
var state = "suspendedStart";
|
|
111
|
+
return function (method, arg) {
|
|
112
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
113
|
+
if ("completed" === state) {
|
|
114
|
+
if ("throw" === method) throw arg;
|
|
115
|
+
return doneResult();
|
|
116
|
+
}
|
|
117
|
+
for (context.method = method, context.arg = arg;;) {
|
|
118
|
+
var delegate = context.delegate;
|
|
119
|
+
if (delegate) {
|
|
120
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
121
|
+
if (delegateResult) {
|
|
122
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
123
|
+
return delegateResult;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
127
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
128
|
+
context.dispatchException(context.arg);
|
|
129
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
130
|
+
state = "executing";
|
|
131
|
+
var record = tryCatch(innerFn, self, context);
|
|
132
|
+
if ("normal" === record.type) {
|
|
133
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
134
|
+
return {
|
|
135
|
+
value: record.arg,
|
|
136
|
+
done: context.done
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
144
|
+
var method = delegate.iterator[context.method];
|
|
145
|
+
if (undefined === method) {
|
|
146
|
+
if (context.delegate = null, "throw" === context.method) {
|
|
147
|
+
if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
|
|
148
|
+
context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
|
149
|
+
}
|
|
150
|
+
return ContinueSentinel;
|
|
151
|
+
}
|
|
152
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
153
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
154
|
+
var info = record.arg;
|
|
155
|
+
return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
|
|
156
|
+
}
|
|
157
|
+
function pushTryEntry(locs) {
|
|
158
|
+
var entry = {
|
|
159
|
+
tryLoc: locs[0]
|
|
160
|
+
};
|
|
161
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
162
|
+
}
|
|
163
|
+
function resetTryEntry(entry) {
|
|
164
|
+
var record = entry.completion || {};
|
|
165
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
166
|
+
}
|
|
167
|
+
function Context(tryLocsList) {
|
|
168
|
+
this.tryEntries = [{
|
|
169
|
+
tryLoc: "root"
|
|
170
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
171
|
+
}
|
|
172
|
+
function values(iterable) {
|
|
173
|
+
if (iterable) {
|
|
174
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
175
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
176
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
177
|
+
if (!isNaN(iterable.length)) {
|
|
178
|
+
var i = -1,
|
|
179
|
+
next = function next() {
|
|
180
|
+
for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
181
|
+
return next.value = undefined, next.done = !0, next;
|
|
182
|
+
};
|
|
183
|
+
return next.next = next;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
return {
|
|
187
|
+
next: doneResult
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
function doneResult() {
|
|
191
|
+
return {
|
|
192
|
+
value: undefined,
|
|
193
|
+
done: !0
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
197
|
+
value: GeneratorFunctionPrototype,
|
|
198
|
+
configurable: !0
|
|
199
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
200
|
+
value: GeneratorFunction,
|
|
201
|
+
configurable: !0
|
|
202
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
203
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
204
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
205
|
+
}, exports.mark = function (genFun) {
|
|
206
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
207
|
+
}, exports.awrap = function (arg) {
|
|
208
|
+
return {
|
|
209
|
+
__await: arg
|
|
210
|
+
};
|
|
211
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
212
|
+
return this;
|
|
213
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
214
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
215
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
216
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
217
|
+
return result.done ? result.value : iter.next();
|
|
218
|
+
});
|
|
219
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
220
|
+
return this;
|
|
221
|
+
}), define(Gp, "toString", function () {
|
|
222
|
+
return "[object Generator]";
|
|
223
|
+
}), exports.keys = function (val) {
|
|
224
|
+
var object = Object(val),
|
|
225
|
+
keys = [];
|
|
226
|
+
for (var key in object) keys.push(key);
|
|
227
|
+
return keys.reverse(), function next() {
|
|
228
|
+
for (; keys.length;) {
|
|
229
|
+
var key = keys.pop();
|
|
230
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
231
|
+
}
|
|
232
|
+
return next.done = !0, next;
|
|
233
|
+
};
|
|
234
|
+
}, exports.values = values, Context.prototype = {
|
|
235
|
+
constructor: Context,
|
|
236
|
+
reset: function (skipTempReset) {
|
|
237
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
238
|
+
},
|
|
239
|
+
stop: function () {
|
|
240
|
+
this.done = !0;
|
|
241
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
242
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
243
|
+
return this.rval;
|
|
244
|
+
},
|
|
245
|
+
dispatchException: function (exception) {
|
|
246
|
+
if (this.done) throw exception;
|
|
247
|
+
var context = this;
|
|
248
|
+
function handle(loc, caught) {
|
|
249
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
250
|
+
}
|
|
251
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
252
|
+
var entry = this.tryEntries[i],
|
|
253
|
+
record = entry.completion;
|
|
254
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
255
|
+
if (entry.tryLoc <= this.prev) {
|
|
256
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
257
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
258
|
+
if (hasCatch && hasFinally) {
|
|
259
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
260
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
261
|
+
} else if (hasCatch) {
|
|
262
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
263
|
+
} else {
|
|
264
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
265
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
abrupt: function (type, arg) {
|
|
271
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
272
|
+
var entry = this.tryEntries[i];
|
|
273
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
274
|
+
var finallyEntry = entry;
|
|
275
|
+
break;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
279
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
280
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
281
|
+
},
|
|
282
|
+
complete: function (record, afterLoc) {
|
|
283
|
+
if ("throw" === record.type) throw record.arg;
|
|
284
|
+
return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
|
|
285
|
+
},
|
|
286
|
+
finish: function (finallyLoc) {
|
|
287
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
288
|
+
var entry = this.tryEntries[i];
|
|
289
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
catch: function (tryLoc) {
|
|
293
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
294
|
+
var entry = this.tryEntries[i];
|
|
295
|
+
if (entry.tryLoc === tryLoc) {
|
|
296
|
+
var record = entry.completion;
|
|
297
|
+
if ("throw" === record.type) {
|
|
298
|
+
var thrown = record.arg;
|
|
299
|
+
resetTryEntry(entry);
|
|
300
|
+
}
|
|
301
|
+
return thrown;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
throw new Error("illegal catch attempt");
|
|
305
|
+
},
|
|
306
|
+
delegateYield: function (iterable, resultName, nextLoc) {
|
|
307
|
+
return this.delegate = {
|
|
308
|
+
iterator: values(iterable),
|
|
309
|
+
resultName: resultName,
|
|
310
|
+
nextLoc: nextLoc
|
|
311
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
312
|
+
}
|
|
313
|
+
}, exports;
|
|
314
|
+
}
|
|
315
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
316
|
+
try {
|
|
317
|
+
var info = gen[key](arg);
|
|
318
|
+
var value = info.value;
|
|
319
|
+
} catch (error) {
|
|
320
|
+
reject(error);
|
|
321
|
+
return;
|
|
322
|
+
}
|
|
323
|
+
if (info.done) {
|
|
324
|
+
resolve(value);
|
|
325
|
+
} else {
|
|
326
|
+
Promise.resolve(value).then(_next, _throw);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
function _asyncToGenerator(fn) {
|
|
330
|
+
return function () {
|
|
331
|
+
var self = this,
|
|
332
|
+
args = arguments;
|
|
333
|
+
return new Promise(function (resolve, reject) {
|
|
334
|
+
var gen = fn.apply(self, args);
|
|
335
|
+
function _next(value) {
|
|
336
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
337
|
+
}
|
|
338
|
+
function _throw(err) {
|
|
339
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
340
|
+
}
|
|
341
|
+
_next(undefined);
|
|
342
|
+
});
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
var ceil = Math.ceil;
|
|
347
|
+
var floor = Math.floor;
|
|
348
|
+
var _toInteger = function (it) {
|
|
349
|
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
var _defined = function (it) {
|
|
353
|
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
354
|
+
return it;
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
var _stringAt = function (TO_STRING) {
|
|
358
|
+
return function (that, pos) {
|
|
359
|
+
var s = String(_defined(that));
|
|
360
|
+
var i = _toInteger(pos);
|
|
361
|
+
var l = s.length;
|
|
362
|
+
var a, b;
|
|
363
|
+
if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
|
|
364
|
+
a = s.charCodeAt(i);
|
|
365
|
+
return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
|
|
366
|
+
? TO_STRING ? s.charAt(i) : a
|
|
367
|
+
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
var _library = true;
|
|
372
|
+
|
|
373
|
+
function createCommonjsModule(fn, module) {
|
|
374
|
+
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
var _global = createCommonjsModule(function (module) {
|
|
378
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
|
379
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self
|
|
380
|
+
: Function('return this')();
|
|
381
|
+
if (typeof __g == 'number') __g = global;
|
|
382
|
+
});
|
|
383
|
+
|
|
384
|
+
var _core = createCommonjsModule(function (module) {
|
|
385
|
+
var core = module.exports = { version: '2.6.12' };
|
|
386
|
+
if (typeof __e == 'number') __e = core;
|
|
387
|
+
});
|
|
388
|
+
var _core_1 = _core.version;
|
|
389
|
+
|
|
390
|
+
var _aFunction = function (it) {
|
|
391
|
+
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
|
|
392
|
+
return it;
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
var _ctx = function (fn, that, length) {
|
|
396
|
+
_aFunction(fn);
|
|
397
|
+
if (that === undefined) return fn;
|
|
398
|
+
switch (length) {
|
|
399
|
+
case 1: return function (a) {
|
|
400
|
+
return fn.call(that, a);
|
|
401
|
+
};
|
|
402
|
+
case 2: return function (a, b) {
|
|
403
|
+
return fn.call(that, a, b);
|
|
404
|
+
};
|
|
405
|
+
case 3: return function (a, b, c) {
|
|
406
|
+
return fn.call(that, a, b, c);
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
return function () {
|
|
410
|
+
return fn.apply(that, arguments);
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
var _isObject = function (it) {
|
|
415
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
var _anObject = function (it) {
|
|
419
|
+
if (!_isObject(it)) throw TypeError(it + ' is not an object!');
|
|
420
|
+
return it;
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
var _fails = function (exec) {
|
|
424
|
+
try {
|
|
425
|
+
return !!exec();
|
|
426
|
+
} catch (e) {
|
|
427
|
+
return true;
|
|
428
|
+
}
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
var _descriptors = !_fails(function () {
|
|
432
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
433
|
+
});
|
|
434
|
+
|
|
435
|
+
var document$1 = _global.document;
|
|
436
|
+
var is = _isObject(document$1) && _isObject(document$1.createElement);
|
|
437
|
+
var _domCreate = function (it) {
|
|
438
|
+
return is ? document$1.createElement(it) : {};
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
var _ie8DomDefine = !_descriptors && !_fails(function () {
|
|
442
|
+
return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
443
|
+
});
|
|
444
|
+
|
|
445
|
+
var _toPrimitive = function (it, S) {
|
|
446
|
+
if (!_isObject(it)) return it;
|
|
447
|
+
var fn, val;
|
|
448
|
+
if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
449
|
+
if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
450
|
+
if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
451
|
+
throw TypeError("Can't convert object to primitive value");
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
var dP = Object.defineProperty;
|
|
455
|
+
var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
456
|
+
_anObject(O);
|
|
457
|
+
P = _toPrimitive(P, true);
|
|
458
|
+
_anObject(Attributes);
|
|
459
|
+
if (_ie8DomDefine) try {
|
|
460
|
+
return dP(O, P, Attributes);
|
|
461
|
+
} catch (e) { }
|
|
462
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
463
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
464
|
+
return O;
|
|
465
|
+
};
|
|
466
|
+
var _objectDp = {
|
|
467
|
+
f: f
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
var _propertyDesc = function (bitmap, value) {
|
|
471
|
+
return {
|
|
472
|
+
enumerable: !(bitmap & 1),
|
|
473
|
+
configurable: !(bitmap & 2),
|
|
474
|
+
writable: !(bitmap & 4),
|
|
475
|
+
value: value
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
var _hide = _descriptors ? function (object, key, value) {
|
|
480
|
+
return _objectDp.f(object, key, _propertyDesc(1, value));
|
|
481
|
+
} : function (object, key, value) {
|
|
482
|
+
object[key] = value;
|
|
483
|
+
return object;
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
var hasOwnProperty = {}.hasOwnProperty;
|
|
487
|
+
var _has = function (it, key) {
|
|
488
|
+
return hasOwnProperty.call(it, key);
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
var PROTOTYPE = 'prototype';
|
|
492
|
+
var $export = function (type, name, source) {
|
|
493
|
+
var IS_FORCED = type & $export.F;
|
|
494
|
+
var IS_GLOBAL = type & $export.G;
|
|
495
|
+
var IS_STATIC = type & $export.S;
|
|
496
|
+
var IS_PROTO = type & $export.P;
|
|
497
|
+
var IS_BIND = type & $export.B;
|
|
498
|
+
var IS_WRAP = type & $export.W;
|
|
499
|
+
var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
|
|
500
|
+
var expProto = exports[PROTOTYPE];
|
|
501
|
+
var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];
|
|
502
|
+
var key, own, out;
|
|
503
|
+
if (IS_GLOBAL) source = name;
|
|
504
|
+
for (key in source) {
|
|
505
|
+
own = !IS_FORCED && target && target[key] !== undefined;
|
|
506
|
+
if (own && _has(exports, key)) continue;
|
|
507
|
+
out = own ? target[key] : source[key];
|
|
508
|
+
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
|
509
|
+
: IS_BIND && own ? _ctx(out, _global)
|
|
510
|
+
: IS_WRAP && target[key] == out ? (function (C) {
|
|
511
|
+
var F = function (a, b, c) {
|
|
512
|
+
if (this instanceof C) {
|
|
513
|
+
switch (arguments.length) {
|
|
514
|
+
case 0: return new C();
|
|
515
|
+
case 1: return new C(a);
|
|
516
|
+
case 2: return new C(a, b);
|
|
517
|
+
} return new C(a, b, c);
|
|
518
|
+
} return C.apply(this, arguments);
|
|
519
|
+
};
|
|
520
|
+
F[PROTOTYPE] = C[PROTOTYPE];
|
|
521
|
+
return F;
|
|
522
|
+
})(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;
|
|
523
|
+
if (IS_PROTO) {
|
|
524
|
+
(exports.virtual || (exports.virtual = {}))[key] = out;
|
|
525
|
+
if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
};
|
|
529
|
+
$export.F = 1;
|
|
530
|
+
$export.G = 2;
|
|
531
|
+
$export.S = 4;
|
|
532
|
+
$export.P = 8;
|
|
533
|
+
$export.B = 16;
|
|
534
|
+
$export.W = 32;
|
|
535
|
+
$export.U = 64;
|
|
536
|
+
$export.R = 128;
|
|
537
|
+
var _export = $export;
|
|
538
|
+
|
|
539
|
+
var _redefine = _hide;
|
|
540
|
+
|
|
541
|
+
var _iterators = {};
|
|
542
|
+
|
|
543
|
+
var toString = {}.toString;
|
|
544
|
+
var _cof = function (it) {
|
|
545
|
+
return toString.call(it).slice(8, -1);
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
549
|
+
return _cof(it) == 'String' ? it.split('') : Object(it);
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
var _toIobject = function (it) {
|
|
553
|
+
return _iobject(_defined(it));
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
var min = Math.min;
|
|
557
|
+
var _toLength = function (it) {
|
|
558
|
+
return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0;
|
|
559
|
+
};
|
|
560
|
+
|
|
561
|
+
var max = Math.max;
|
|
562
|
+
var min$1 = Math.min;
|
|
563
|
+
var _toAbsoluteIndex = function (index, length) {
|
|
564
|
+
index = _toInteger(index);
|
|
565
|
+
return index < 0 ? max(index + length, 0) : min$1(index, length);
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
var _arrayIncludes = function (IS_INCLUDES) {
|
|
569
|
+
return function ($this, el, fromIndex) {
|
|
570
|
+
var O = _toIobject($this);
|
|
571
|
+
var length = _toLength(O.length);
|
|
572
|
+
var index = _toAbsoluteIndex(fromIndex, length);
|
|
573
|
+
var value;
|
|
574
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
575
|
+
value = O[index++];
|
|
576
|
+
if (value != value) return true;
|
|
577
|
+
} else for (;length > index; index++) if (IS_INCLUDES || index in O) {
|
|
578
|
+
if (O[index] === el) return IS_INCLUDES || index || 0;
|
|
579
|
+
} return !IS_INCLUDES && -1;
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
|
|
583
|
+
var _shared = createCommonjsModule(function (module) {
|
|
584
|
+
var SHARED = '__core-js_shared__';
|
|
585
|
+
var store = _global[SHARED] || (_global[SHARED] = {});
|
|
586
|
+
(module.exports = function (key, value) {
|
|
587
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
588
|
+
})('versions', []).push({
|
|
589
|
+
version: _core.version,
|
|
590
|
+
mode: 'pure' ,
|
|
591
|
+
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
|
592
|
+
});
|
|
593
|
+
});
|
|
594
|
+
|
|
595
|
+
var id = 0;
|
|
596
|
+
var px = Math.random();
|
|
597
|
+
var _uid = function (key) {
|
|
598
|
+
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
|
599
|
+
};
|
|
600
|
+
|
|
601
|
+
var shared = _shared('keys');
|
|
602
|
+
var _sharedKey = function (key) {
|
|
603
|
+
return shared[key] || (shared[key] = _uid(key));
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
var arrayIndexOf = _arrayIncludes(false);
|
|
607
|
+
var IE_PROTO = _sharedKey('IE_PROTO');
|
|
608
|
+
var _objectKeysInternal = function (object, names) {
|
|
609
|
+
var O = _toIobject(object);
|
|
610
|
+
var i = 0;
|
|
611
|
+
var result = [];
|
|
612
|
+
var key;
|
|
613
|
+
for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key);
|
|
614
|
+
while (names.length > i) if (_has(O, key = names[i++])) {
|
|
615
|
+
~arrayIndexOf(result, key) || result.push(key);
|
|
616
|
+
}
|
|
617
|
+
return result;
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
var _enumBugKeys = (
|
|
621
|
+
'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
|
|
622
|
+
).split(',');
|
|
623
|
+
|
|
624
|
+
var _objectKeys = Object.keys || function keys(O) {
|
|
625
|
+
return _objectKeysInternal(O, _enumBugKeys);
|
|
626
|
+
};
|
|
627
|
+
|
|
628
|
+
var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
629
|
+
_anObject(O);
|
|
630
|
+
var keys = _objectKeys(Properties);
|
|
631
|
+
var length = keys.length;
|
|
632
|
+
var i = 0;
|
|
633
|
+
var P;
|
|
634
|
+
while (length > i) _objectDp.f(O, P = keys[i++], Properties[P]);
|
|
635
|
+
return O;
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
var document$2 = _global.document;
|
|
639
|
+
var _html = document$2 && document$2.documentElement;
|
|
640
|
+
|
|
641
|
+
var IE_PROTO$1 = _sharedKey('IE_PROTO');
|
|
642
|
+
var Empty = function () { };
|
|
643
|
+
var PROTOTYPE$1 = 'prototype';
|
|
644
|
+
var createDict = function () {
|
|
645
|
+
var iframe = _domCreate('iframe');
|
|
646
|
+
var i = _enumBugKeys.length;
|
|
647
|
+
var lt = '<';
|
|
648
|
+
var gt = '>';
|
|
649
|
+
var iframeDocument;
|
|
650
|
+
iframe.style.display = 'none';
|
|
651
|
+
_html.appendChild(iframe);
|
|
652
|
+
iframe.src = 'javascript:';
|
|
653
|
+
iframeDocument = iframe.contentWindow.document;
|
|
654
|
+
iframeDocument.open();
|
|
655
|
+
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
|
|
656
|
+
iframeDocument.close();
|
|
657
|
+
createDict = iframeDocument.F;
|
|
658
|
+
while (i--) delete createDict[PROTOTYPE$1][_enumBugKeys[i]];
|
|
659
|
+
return createDict();
|
|
660
|
+
};
|
|
661
|
+
var _objectCreate = Object.create || function create(O, Properties) {
|
|
662
|
+
var result;
|
|
663
|
+
if (O !== null) {
|
|
664
|
+
Empty[PROTOTYPE$1] = _anObject(O);
|
|
665
|
+
result = new Empty();
|
|
666
|
+
Empty[PROTOTYPE$1] = null;
|
|
667
|
+
result[IE_PROTO$1] = O;
|
|
668
|
+
} else result = createDict();
|
|
669
|
+
return Properties === undefined ? result : _objectDps(result, Properties);
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
var _wks = createCommonjsModule(function (module) {
|
|
673
|
+
var store = _shared('wks');
|
|
674
|
+
var Symbol = _global.Symbol;
|
|
675
|
+
var USE_SYMBOL = typeof Symbol == 'function';
|
|
676
|
+
var $exports = module.exports = function (name) {
|
|
677
|
+
return store[name] || (store[name] =
|
|
678
|
+
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : _uid)('Symbol.' + name));
|
|
679
|
+
};
|
|
680
|
+
$exports.store = store;
|
|
681
|
+
});
|
|
682
|
+
|
|
683
|
+
var def = _objectDp.f;
|
|
684
|
+
var TAG = _wks('toStringTag');
|
|
685
|
+
var _setToStringTag = function (it, tag, stat) {
|
|
686
|
+
if (it && !_has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
var IteratorPrototype = {};
|
|
690
|
+
_hide(IteratorPrototype, _wks('iterator'), function () { return this; });
|
|
691
|
+
var _iterCreate = function (Constructor, NAME, next) {
|
|
692
|
+
Constructor.prototype = _objectCreate(IteratorPrototype, { next: _propertyDesc(1, next) });
|
|
693
|
+
_setToStringTag(Constructor, NAME + ' Iterator');
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
var _toObject = function (it) {
|
|
697
|
+
return Object(_defined(it));
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
var IE_PROTO$2 = _sharedKey('IE_PROTO');
|
|
701
|
+
var ObjectProto = Object.prototype;
|
|
702
|
+
var _objectGpo = Object.getPrototypeOf || function (O) {
|
|
703
|
+
O = _toObject(O);
|
|
704
|
+
if (_has(O, IE_PROTO$2)) return O[IE_PROTO$2];
|
|
705
|
+
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
|
|
706
|
+
return O.constructor.prototype;
|
|
707
|
+
} return O instanceof Object ? ObjectProto : null;
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
var ITERATOR = _wks('iterator');
|
|
711
|
+
var BUGGY = !([].keys && 'next' in [].keys());
|
|
712
|
+
var FF_ITERATOR = '@@iterator';
|
|
713
|
+
var KEYS = 'keys';
|
|
714
|
+
var VALUES = 'values';
|
|
715
|
+
var returnThis = function () { return this; };
|
|
716
|
+
var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
|
|
717
|
+
_iterCreate(Constructor, NAME, next);
|
|
718
|
+
var getMethod = function (kind) {
|
|
719
|
+
if (!BUGGY && kind in proto) return proto[kind];
|
|
720
|
+
switch (kind) {
|
|
721
|
+
case KEYS: return function keys() { return new Constructor(this, kind); };
|
|
722
|
+
case VALUES: return function values() { return new Constructor(this, kind); };
|
|
723
|
+
} return function entries() { return new Constructor(this, kind); };
|
|
724
|
+
};
|
|
725
|
+
var TAG = NAME + ' Iterator';
|
|
726
|
+
var DEF_VALUES = DEFAULT == VALUES;
|
|
727
|
+
var VALUES_BUG = false;
|
|
728
|
+
var proto = Base.prototype;
|
|
729
|
+
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
|
|
730
|
+
var $default = $native || getMethod(DEFAULT);
|
|
731
|
+
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
|
|
732
|
+
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
|
|
733
|
+
var methods, key, IteratorPrototype;
|
|
734
|
+
if ($anyNative) {
|
|
735
|
+
IteratorPrototype = _objectGpo($anyNative.call(new Base()));
|
|
736
|
+
if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
|
|
737
|
+
_setToStringTag(IteratorPrototype, TAG, true);
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
if (DEF_VALUES && $native && $native.name !== VALUES) {
|
|
741
|
+
VALUES_BUG = true;
|
|
742
|
+
$default = function values() { return $native.call(this); };
|
|
743
|
+
}
|
|
744
|
+
if (( FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
|
|
745
|
+
_hide(proto, ITERATOR, $default);
|
|
746
|
+
}
|
|
747
|
+
_iterators[NAME] = $default;
|
|
748
|
+
_iterators[TAG] = returnThis;
|
|
749
|
+
if (DEFAULT) {
|
|
750
|
+
methods = {
|
|
751
|
+
values: DEF_VALUES ? $default : getMethod(VALUES),
|
|
752
|
+
keys: IS_SET ? $default : getMethod(KEYS),
|
|
753
|
+
entries: $entries
|
|
754
|
+
};
|
|
755
|
+
if (FORCED) for (key in methods) {
|
|
756
|
+
if (!(key in proto)) _redefine(proto, key, methods[key]);
|
|
757
|
+
} else _export(_export.P + _export.F * (BUGGY || VALUES_BUG), NAME, methods);
|
|
758
|
+
}
|
|
759
|
+
return methods;
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
var $at = _stringAt(true);
|
|
763
|
+
_iterDefine(String, 'String', function (iterated) {
|
|
764
|
+
this._t = String(iterated);
|
|
765
|
+
this._i = 0;
|
|
766
|
+
}, function () {
|
|
767
|
+
var O = this._t;
|
|
768
|
+
var index = this._i;
|
|
769
|
+
var point;
|
|
770
|
+
if (index >= O.length) return { value: undefined, done: true };
|
|
771
|
+
point = $at(O, index);
|
|
772
|
+
this._i += point.length;
|
|
773
|
+
return { value: point, done: false };
|
|
774
|
+
});
|
|
775
|
+
|
|
776
|
+
var _iterStep = function (done, value) {
|
|
777
|
+
return { value: value, done: !!done };
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
var es6_array_iterator = _iterDefine(Array, 'Array', function (iterated, kind) {
|
|
781
|
+
this._t = _toIobject(iterated);
|
|
782
|
+
this._i = 0;
|
|
783
|
+
this._k = kind;
|
|
784
|
+
}, function () {
|
|
785
|
+
var O = this._t;
|
|
786
|
+
var kind = this._k;
|
|
787
|
+
var index = this._i++;
|
|
788
|
+
if (!O || index >= O.length) {
|
|
789
|
+
this._t = undefined;
|
|
790
|
+
return _iterStep(1);
|
|
791
|
+
}
|
|
792
|
+
if (kind == 'keys') return _iterStep(0, index);
|
|
793
|
+
if (kind == 'values') return _iterStep(0, O[index]);
|
|
794
|
+
return _iterStep(0, [index, O[index]]);
|
|
795
|
+
}, 'values');
|
|
796
|
+
_iterators.Arguments = _iterators.Array;
|
|
797
|
+
|
|
798
|
+
var TO_STRING_TAG = _wks('toStringTag');
|
|
799
|
+
var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
|
|
800
|
+
'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
|
|
801
|
+
'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
|
|
802
|
+
'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
|
|
803
|
+
'TextTrackList,TouchList').split(',');
|
|
804
|
+
for (var i = 0; i < DOMIterables.length; i++) {
|
|
805
|
+
var NAME = DOMIterables[i];
|
|
806
|
+
var Collection = _global[NAME];
|
|
807
|
+
var proto = Collection && Collection.prototype;
|
|
808
|
+
if (proto && !proto[TO_STRING_TAG]) _hide(proto, TO_STRING_TAG, NAME);
|
|
809
|
+
_iterators[NAME] = _iterators.Array;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
var TAG$1 = _wks('toStringTag');
|
|
813
|
+
var ARG = _cof(function () { return arguments; }()) == 'Arguments';
|
|
814
|
+
var tryGet = function (it, key) {
|
|
815
|
+
try {
|
|
816
|
+
return it[key];
|
|
817
|
+
} catch (e) { }
|
|
818
|
+
};
|
|
819
|
+
var _classof = function (it) {
|
|
820
|
+
var O, T, B;
|
|
821
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
822
|
+
: typeof (T = tryGet(O = Object(it), TAG$1)) == 'string' ? T
|
|
823
|
+
: ARG ? _cof(O)
|
|
824
|
+
: (B = _cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
var _anInstance = function (it, Constructor, name, forbiddenField) {
|
|
828
|
+
if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
|
|
829
|
+
throw TypeError(name + ': incorrect invocation!');
|
|
830
|
+
} return it;
|
|
831
|
+
};
|
|
832
|
+
|
|
833
|
+
var _iterCall = function (iterator, fn, value, entries) {
|
|
834
|
+
try {
|
|
835
|
+
return entries ? fn(_anObject(value)[0], value[1]) : fn(value);
|
|
836
|
+
} catch (e) {
|
|
837
|
+
var ret = iterator['return'];
|
|
838
|
+
if (ret !== undefined) _anObject(ret.call(iterator));
|
|
839
|
+
throw e;
|
|
840
|
+
}
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
var ITERATOR$1 = _wks('iterator');
|
|
844
|
+
var ArrayProto = Array.prototype;
|
|
845
|
+
var _isArrayIter = function (it) {
|
|
846
|
+
return it !== undefined && (_iterators.Array === it || ArrayProto[ITERATOR$1] === it);
|
|
847
|
+
};
|
|
848
|
+
|
|
849
|
+
var ITERATOR$2 = _wks('iterator');
|
|
850
|
+
var core_getIteratorMethod = _core.getIteratorMethod = function (it) {
|
|
851
|
+
if (it != undefined) return it[ITERATOR$2]
|
|
852
|
+
|| it['@@iterator']
|
|
853
|
+
|| _iterators[_classof(it)];
|
|
854
|
+
};
|
|
855
|
+
|
|
856
|
+
var _forOf = createCommonjsModule(function (module) {
|
|
857
|
+
var BREAK = {};
|
|
858
|
+
var RETURN = {};
|
|
859
|
+
var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
|
|
860
|
+
var iterFn = ITERATOR ? function () { return iterable; } : core_getIteratorMethod(iterable);
|
|
861
|
+
var f = _ctx(fn, that, entries ? 2 : 1);
|
|
862
|
+
var index = 0;
|
|
863
|
+
var length, step, iterator, result;
|
|
864
|
+
if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
|
|
865
|
+
if (_isArrayIter(iterFn)) for (length = _toLength(iterable.length); length > index; index++) {
|
|
866
|
+
result = entries ? f(_anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
|
|
867
|
+
if (result === BREAK || result === RETURN) return result;
|
|
868
|
+
} else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
|
|
869
|
+
result = _iterCall(iterator, f, step.value, entries);
|
|
870
|
+
if (result === BREAK || result === RETURN) return result;
|
|
871
|
+
}
|
|
872
|
+
};
|
|
873
|
+
exports.BREAK = BREAK;
|
|
874
|
+
exports.RETURN = RETURN;
|
|
875
|
+
});
|
|
876
|
+
|
|
877
|
+
var SPECIES = _wks('species');
|
|
878
|
+
var _speciesConstructor = function (O, D) {
|
|
879
|
+
var C = _anObject(O).constructor;
|
|
880
|
+
var S;
|
|
881
|
+
return C === undefined || (S = _anObject(C)[SPECIES]) == undefined ? D : _aFunction(S);
|
|
882
|
+
};
|
|
883
|
+
|
|
884
|
+
var _invoke = function (fn, args, that) {
|
|
885
|
+
var un = that === undefined;
|
|
886
|
+
switch (args.length) {
|
|
887
|
+
case 0: return un ? fn()
|
|
888
|
+
: fn.call(that);
|
|
889
|
+
case 1: return un ? fn(args[0])
|
|
890
|
+
: fn.call(that, args[0]);
|
|
891
|
+
case 2: return un ? fn(args[0], args[1])
|
|
892
|
+
: fn.call(that, args[0], args[1]);
|
|
893
|
+
case 3: return un ? fn(args[0], args[1], args[2])
|
|
894
|
+
: fn.call(that, args[0], args[1], args[2]);
|
|
895
|
+
case 4: return un ? fn(args[0], args[1], args[2], args[3])
|
|
896
|
+
: fn.call(that, args[0], args[1], args[2], args[3]);
|
|
897
|
+
} return fn.apply(that, args);
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
var process = _global.process;
|
|
901
|
+
var setTask = _global.setImmediate;
|
|
902
|
+
var clearTask = _global.clearImmediate;
|
|
903
|
+
var MessageChannel = _global.MessageChannel;
|
|
904
|
+
var Dispatch = _global.Dispatch;
|
|
905
|
+
var counter = 0;
|
|
906
|
+
var queue = {};
|
|
907
|
+
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
908
|
+
var defer, channel, port;
|
|
909
|
+
var run = function () {
|
|
910
|
+
var id = +this;
|
|
911
|
+
if (queue.hasOwnProperty(id)) {
|
|
912
|
+
var fn = queue[id];
|
|
913
|
+
delete queue[id];
|
|
914
|
+
fn();
|
|
915
|
+
}
|
|
916
|
+
};
|
|
917
|
+
var listener = function (event) {
|
|
918
|
+
run.call(event.data);
|
|
919
|
+
};
|
|
920
|
+
if (!setTask || !clearTask) {
|
|
921
|
+
setTask = function setImmediate(fn) {
|
|
922
|
+
var args = [];
|
|
923
|
+
var i = 1;
|
|
924
|
+
while (arguments.length > i) args.push(arguments[i++]);
|
|
925
|
+
queue[++counter] = function () {
|
|
926
|
+
_invoke(typeof fn == 'function' ? fn : Function(fn), args);
|
|
927
|
+
};
|
|
928
|
+
defer(counter);
|
|
929
|
+
return counter;
|
|
930
|
+
};
|
|
931
|
+
clearTask = function clearImmediate(id) {
|
|
932
|
+
delete queue[id];
|
|
933
|
+
};
|
|
934
|
+
if (_cof(process) == 'process') {
|
|
935
|
+
defer = function (id) {
|
|
936
|
+
process.nextTick(_ctx(run, id, 1));
|
|
937
|
+
};
|
|
938
|
+
} else if (Dispatch && Dispatch.now) {
|
|
939
|
+
defer = function (id) {
|
|
940
|
+
Dispatch.now(_ctx(run, id, 1));
|
|
941
|
+
};
|
|
942
|
+
} else if (MessageChannel) {
|
|
943
|
+
channel = new MessageChannel();
|
|
944
|
+
port = channel.port2;
|
|
945
|
+
channel.port1.onmessage = listener;
|
|
946
|
+
defer = _ctx(port.postMessage, port, 1);
|
|
947
|
+
} else if (_global.addEventListener && typeof postMessage == 'function' && !_global.importScripts) {
|
|
948
|
+
defer = function (id) {
|
|
949
|
+
_global.postMessage(id + '', '*');
|
|
950
|
+
};
|
|
951
|
+
_global.addEventListener('message', listener, false);
|
|
952
|
+
} else if (ONREADYSTATECHANGE in _domCreate('script')) {
|
|
953
|
+
defer = function (id) {
|
|
954
|
+
_html.appendChild(_domCreate('script'))[ONREADYSTATECHANGE] = function () {
|
|
955
|
+
_html.removeChild(this);
|
|
956
|
+
run.call(id);
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
} else {
|
|
960
|
+
defer = function (id) {
|
|
961
|
+
setTimeout(_ctx(run, id, 1), 0);
|
|
962
|
+
};
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
var _task = {
|
|
966
|
+
set: setTask,
|
|
967
|
+
clear: clearTask
|
|
968
|
+
};
|
|
969
|
+
|
|
970
|
+
var macrotask = _task.set;
|
|
971
|
+
var Observer = _global.MutationObserver || _global.WebKitMutationObserver;
|
|
972
|
+
var process$1 = _global.process;
|
|
973
|
+
var Promise$1 = _global.Promise;
|
|
974
|
+
var isNode = _cof(process$1) == 'process';
|
|
975
|
+
var _microtask = function () {
|
|
976
|
+
var head, last, notify;
|
|
977
|
+
var flush = function () {
|
|
978
|
+
var parent, fn;
|
|
979
|
+
if (isNode && (parent = process$1.domain)) parent.exit();
|
|
980
|
+
while (head) {
|
|
981
|
+
fn = head.fn;
|
|
982
|
+
head = head.next;
|
|
983
|
+
try {
|
|
984
|
+
fn();
|
|
985
|
+
} catch (e) {
|
|
986
|
+
if (head) notify();
|
|
987
|
+
else last = undefined;
|
|
988
|
+
throw e;
|
|
989
|
+
}
|
|
990
|
+
} last = undefined;
|
|
991
|
+
if (parent) parent.enter();
|
|
992
|
+
};
|
|
993
|
+
if (isNode) {
|
|
994
|
+
notify = function () {
|
|
995
|
+
process$1.nextTick(flush);
|
|
996
|
+
};
|
|
997
|
+
} else if (Observer && !(_global.navigator && _global.navigator.standalone)) {
|
|
998
|
+
var toggle = true;
|
|
999
|
+
var node = document.createTextNode('');
|
|
1000
|
+
new Observer(flush).observe(node, { characterData: true });
|
|
1001
|
+
notify = function () {
|
|
1002
|
+
node.data = toggle = !toggle;
|
|
1003
|
+
};
|
|
1004
|
+
} else if (Promise$1 && Promise$1.resolve) {
|
|
1005
|
+
var promise = Promise$1.resolve(undefined);
|
|
1006
|
+
notify = function () {
|
|
1007
|
+
promise.then(flush);
|
|
1008
|
+
};
|
|
1009
|
+
} else {
|
|
1010
|
+
notify = function () {
|
|
1011
|
+
macrotask.call(_global, flush);
|
|
1012
|
+
};
|
|
1013
|
+
}
|
|
1014
|
+
return function (fn) {
|
|
1015
|
+
var task = { fn: fn, next: undefined };
|
|
1016
|
+
if (last) last.next = task;
|
|
1017
|
+
if (!head) {
|
|
1018
|
+
head = task;
|
|
1019
|
+
notify();
|
|
1020
|
+
} last = task;
|
|
1021
|
+
};
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
function PromiseCapability(C) {
|
|
1025
|
+
var resolve, reject;
|
|
1026
|
+
this.promise = new C(function ($$resolve, $$reject) {
|
|
1027
|
+
if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
|
|
1028
|
+
resolve = $$resolve;
|
|
1029
|
+
reject = $$reject;
|
|
1030
|
+
});
|
|
1031
|
+
this.resolve = _aFunction(resolve);
|
|
1032
|
+
this.reject = _aFunction(reject);
|
|
1033
|
+
}
|
|
1034
|
+
var f$1 = function (C) {
|
|
1035
|
+
return new PromiseCapability(C);
|
|
1036
|
+
};
|
|
1037
|
+
var _newPromiseCapability = {
|
|
1038
|
+
f: f$1
|
|
1039
|
+
};
|
|
1040
|
+
|
|
1041
|
+
var _perform = function (exec) {
|
|
1042
|
+
try {
|
|
1043
|
+
return { e: false, v: exec() };
|
|
1044
|
+
} catch (e) {
|
|
1045
|
+
return { e: true, v: e };
|
|
1046
|
+
}
|
|
1047
|
+
};
|
|
1048
|
+
|
|
1049
|
+
var navigator = _global.navigator;
|
|
1050
|
+
var _userAgent = navigator && navigator.userAgent || '';
|
|
1051
|
+
|
|
1052
|
+
var _promiseResolve = function (C, x) {
|
|
1053
|
+
_anObject(C);
|
|
1054
|
+
if (_isObject(x) && x.constructor === C) return x;
|
|
1055
|
+
var promiseCapability = _newPromiseCapability.f(C);
|
|
1056
|
+
var resolve = promiseCapability.resolve;
|
|
1057
|
+
resolve(x);
|
|
1058
|
+
return promiseCapability.promise;
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
var _redefineAll = function (target, src, safe) {
|
|
1062
|
+
for (var key in src) {
|
|
1063
|
+
if (safe && target[key]) target[key] = src[key];
|
|
1064
|
+
else _hide(target, key, src[key]);
|
|
1065
|
+
} return target;
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1068
|
+
var SPECIES$1 = _wks('species');
|
|
1069
|
+
var _setSpecies = function (KEY) {
|
|
1070
|
+
var C = typeof _core[KEY] == 'function' ? _core[KEY] : _global[KEY];
|
|
1071
|
+
if (_descriptors && C && !C[SPECIES$1]) _objectDp.f(C, SPECIES$1, {
|
|
1072
|
+
configurable: true,
|
|
1073
|
+
get: function () { return this; }
|
|
1074
|
+
});
|
|
1075
|
+
};
|
|
1076
|
+
|
|
1077
|
+
var ITERATOR$3 = _wks('iterator');
|
|
1078
|
+
var SAFE_CLOSING = false;
|
|
1079
|
+
try {
|
|
1080
|
+
var riter = [7][ITERATOR$3]();
|
|
1081
|
+
riter['return'] = function () { SAFE_CLOSING = true; };
|
|
1082
|
+
Array.from(riter, function () { throw 2; });
|
|
1083
|
+
} catch (e) { }
|
|
1084
|
+
var _iterDetect = function (exec, skipClosing) {
|
|
1085
|
+
if (!skipClosing && !SAFE_CLOSING) return false;
|
|
1086
|
+
var safe = false;
|
|
1087
|
+
try {
|
|
1088
|
+
var arr = [7];
|
|
1089
|
+
var iter = arr[ITERATOR$3]();
|
|
1090
|
+
iter.next = function () { return { done: safe = true }; };
|
|
1091
|
+
arr[ITERATOR$3] = function () { return iter; };
|
|
1092
|
+
exec(arr);
|
|
1093
|
+
} catch (e) { }
|
|
1094
|
+
return safe;
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
var task = _task.set;
|
|
1098
|
+
var microtask = _microtask();
|
|
1099
|
+
var PROMISE = 'Promise';
|
|
1100
|
+
var TypeError$1 = _global.TypeError;
|
|
1101
|
+
var process$2 = _global.process;
|
|
1102
|
+
var versions = process$2 && process$2.versions;
|
|
1103
|
+
var v8 = versions && versions.v8 || '';
|
|
1104
|
+
var $Promise = _global[PROMISE];
|
|
1105
|
+
var isNode$1 = _classof(process$2) == 'process';
|
|
1106
|
+
var empty = function () { };
|
|
1107
|
+
var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
|
|
1108
|
+
var newPromiseCapability = newGenericPromiseCapability = _newPromiseCapability.f;
|
|
1109
|
+
var USE_NATIVE = !!function () {
|
|
1110
|
+
try {
|
|
1111
|
+
var promise = $Promise.resolve(1);
|
|
1112
|
+
var FakePromise = (promise.constructor = {})[_wks('species')] = function (exec) {
|
|
1113
|
+
exec(empty, empty);
|
|
1114
|
+
};
|
|
1115
|
+
return (isNode$1 || typeof PromiseRejectionEvent == 'function')
|
|
1116
|
+
&& promise.then(empty) instanceof FakePromise
|
|
1117
|
+
&& v8.indexOf('6.6') !== 0
|
|
1118
|
+
&& _userAgent.indexOf('Chrome/66') === -1;
|
|
1119
|
+
} catch (e) { }
|
|
1120
|
+
}();
|
|
1121
|
+
var isThenable = function (it) {
|
|
1122
|
+
var then;
|
|
1123
|
+
return _isObject(it) && typeof (then = it.then) == 'function' ? then : false;
|
|
1124
|
+
};
|
|
1125
|
+
var notify = function (promise, isReject) {
|
|
1126
|
+
if (promise._n) return;
|
|
1127
|
+
promise._n = true;
|
|
1128
|
+
var chain = promise._c;
|
|
1129
|
+
microtask(function () {
|
|
1130
|
+
var value = promise._v;
|
|
1131
|
+
var ok = promise._s == 1;
|
|
1132
|
+
var i = 0;
|
|
1133
|
+
var run = function (reaction) {
|
|
1134
|
+
var handler = ok ? reaction.ok : reaction.fail;
|
|
1135
|
+
var resolve = reaction.resolve;
|
|
1136
|
+
var reject = reaction.reject;
|
|
1137
|
+
var domain = reaction.domain;
|
|
1138
|
+
var result, then, exited;
|
|
1139
|
+
try {
|
|
1140
|
+
if (handler) {
|
|
1141
|
+
if (!ok) {
|
|
1142
|
+
if (promise._h == 2) onHandleUnhandled(promise);
|
|
1143
|
+
promise._h = 1;
|
|
1144
|
+
}
|
|
1145
|
+
if (handler === true) result = value;
|
|
1146
|
+
else {
|
|
1147
|
+
if (domain) domain.enter();
|
|
1148
|
+
result = handler(value);
|
|
1149
|
+
if (domain) {
|
|
1150
|
+
domain.exit();
|
|
1151
|
+
exited = true;
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
if (result === reaction.promise) {
|
|
1155
|
+
reject(TypeError$1('Promise-chain cycle'));
|
|
1156
|
+
} else if (then = isThenable(result)) {
|
|
1157
|
+
then.call(result, resolve, reject);
|
|
1158
|
+
} else resolve(result);
|
|
1159
|
+
} else reject(value);
|
|
1160
|
+
} catch (e) {
|
|
1161
|
+
if (domain && !exited) domain.exit();
|
|
1162
|
+
reject(e);
|
|
1163
|
+
}
|
|
1164
|
+
};
|
|
1165
|
+
while (chain.length > i) run(chain[i++]);
|
|
1166
|
+
promise._c = [];
|
|
1167
|
+
promise._n = false;
|
|
1168
|
+
if (isReject && !promise._h) onUnhandled(promise);
|
|
1169
|
+
});
|
|
1170
|
+
};
|
|
1171
|
+
var onUnhandled = function (promise) {
|
|
1172
|
+
task.call(_global, function () {
|
|
1173
|
+
var value = promise._v;
|
|
1174
|
+
var unhandled = isUnhandled(promise);
|
|
1175
|
+
var result, handler, console;
|
|
1176
|
+
if (unhandled) {
|
|
1177
|
+
result = _perform(function () {
|
|
1178
|
+
if (isNode$1) {
|
|
1179
|
+
process$2.emit('unhandledRejection', value, promise);
|
|
1180
|
+
} else if (handler = _global.onunhandledrejection) {
|
|
1181
|
+
handler({ promise: promise, reason: value });
|
|
1182
|
+
} else if ((console = _global.console) && console.error) {
|
|
1183
|
+
console.error('Unhandled promise rejection', value);
|
|
1184
|
+
}
|
|
1185
|
+
});
|
|
1186
|
+
promise._h = isNode$1 || isUnhandled(promise) ? 2 : 1;
|
|
1187
|
+
} promise._a = undefined;
|
|
1188
|
+
if (unhandled && result.e) throw result.v;
|
|
1189
|
+
});
|
|
1190
|
+
};
|
|
1191
|
+
var isUnhandled = function (promise) {
|
|
1192
|
+
return promise._h !== 1 && (promise._a || promise._c).length === 0;
|
|
1193
|
+
};
|
|
1194
|
+
var onHandleUnhandled = function (promise) {
|
|
1195
|
+
task.call(_global, function () {
|
|
1196
|
+
var handler;
|
|
1197
|
+
if (isNode$1) {
|
|
1198
|
+
process$2.emit('rejectionHandled', promise);
|
|
1199
|
+
} else if (handler = _global.onrejectionhandled) {
|
|
1200
|
+
handler({ promise: promise, reason: promise._v });
|
|
1201
|
+
}
|
|
1202
|
+
});
|
|
1203
|
+
};
|
|
1204
|
+
var $reject = function (value) {
|
|
1205
|
+
var promise = this;
|
|
1206
|
+
if (promise._d) return;
|
|
1207
|
+
promise._d = true;
|
|
1208
|
+
promise = promise._w || promise;
|
|
1209
|
+
promise._v = value;
|
|
1210
|
+
promise._s = 2;
|
|
1211
|
+
if (!promise._a) promise._a = promise._c.slice();
|
|
1212
|
+
notify(promise, true);
|
|
1213
|
+
};
|
|
1214
|
+
var $resolve = function (value) {
|
|
1215
|
+
var promise = this;
|
|
1216
|
+
var then;
|
|
1217
|
+
if (promise._d) return;
|
|
1218
|
+
promise._d = true;
|
|
1219
|
+
promise = promise._w || promise;
|
|
1220
|
+
try {
|
|
1221
|
+
if (promise === value) throw TypeError$1("Promise can't be resolved itself");
|
|
1222
|
+
if (then = isThenable(value)) {
|
|
1223
|
+
microtask(function () {
|
|
1224
|
+
var wrapper = { _w: promise, _d: false };
|
|
1225
|
+
try {
|
|
1226
|
+
then.call(value, _ctx($resolve, wrapper, 1), _ctx($reject, wrapper, 1));
|
|
1227
|
+
} catch (e) {
|
|
1228
|
+
$reject.call(wrapper, e);
|
|
1229
|
+
}
|
|
1230
|
+
});
|
|
1231
|
+
} else {
|
|
1232
|
+
promise._v = value;
|
|
1233
|
+
promise._s = 1;
|
|
1234
|
+
notify(promise, false);
|
|
1235
|
+
}
|
|
1236
|
+
} catch (e) {
|
|
1237
|
+
$reject.call({ _w: promise, _d: false }, e);
|
|
1238
|
+
}
|
|
1239
|
+
};
|
|
1240
|
+
if (!USE_NATIVE) {
|
|
1241
|
+
$Promise = function Promise(executor) {
|
|
1242
|
+
_anInstance(this, $Promise, PROMISE, '_h');
|
|
1243
|
+
_aFunction(executor);
|
|
1244
|
+
Internal.call(this);
|
|
1245
|
+
try {
|
|
1246
|
+
executor(_ctx($resolve, this, 1), _ctx($reject, this, 1));
|
|
1247
|
+
} catch (err) {
|
|
1248
|
+
$reject.call(this, err);
|
|
1249
|
+
}
|
|
1250
|
+
};
|
|
1251
|
+
Internal = function Promise(executor) {
|
|
1252
|
+
this._c = [];
|
|
1253
|
+
this._a = undefined;
|
|
1254
|
+
this._s = 0;
|
|
1255
|
+
this._d = false;
|
|
1256
|
+
this._v = undefined;
|
|
1257
|
+
this._h = 0;
|
|
1258
|
+
this._n = false;
|
|
1259
|
+
};
|
|
1260
|
+
Internal.prototype = _redefineAll($Promise.prototype, {
|
|
1261
|
+
then: function then(onFulfilled, onRejected) {
|
|
1262
|
+
var reaction = newPromiseCapability(_speciesConstructor(this, $Promise));
|
|
1263
|
+
reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
|
|
1264
|
+
reaction.fail = typeof onRejected == 'function' && onRejected;
|
|
1265
|
+
reaction.domain = isNode$1 ? process$2.domain : undefined;
|
|
1266
|
+
this._c.push(reaction);
|
|
1267
|
+
if (this._a) this._a.push(reaction);
|
|
1268
|
+
if (this._s) notify(this, false);
|
|
1269
|
+
return reaction.promise;
|
|
1270
|
+
},
|
|
1271
|
+
'catch': function (onRejected) {
|
|
1272
|
+
return this.then(undefined, onRejected);
|
|
1273
|
+
}
|
|
1274
|
+
});
|
|
1275
|
+
OwnPromiseCapability = function () {
|
|
1276
|
+
var promise = new Internal();
|
|
1277
|
+
this.promise = promise;
|
|
1278
|
+
this.resolve = _ctx($resolve, promise, 1);
|
|
1279
|
+
this.reject = _ctx($reject, promise, 1);
|
|
1280
|
+
};
|
|
1281
|
+
_newPromiseCapability.f = newPromiseCapability = function (C) {
|
|
1282
|
+
return C === $Promise || C === Wrapper
|
|
1283
|
+
? new OwnPromiseCapability(C)
|
|
1284
|
+
: newGenericPromiseCapability(C);
|
|
1285
|
+
};
|
|
1286
|
+
}
|
|
1287
|
+
_export(_export.G + _export.W + _export.F * !USE_NATIVE, { Promise: $Promise });
|
|
1288
|
+
_setToStringTag($Promise, PROMISE);
|
|
1289
|
+
_setSpecies(PROMISE);
|
|
1290
|
+
Wrapper = _core[PROMISE];
|
|
1291
|
+
_export(_export.S + _export.F * !USE_NATIVE, PROMISE, {
|
|
1292
|
+
reject: function reject(r) {
|
|
1293
|
+
var capability = newPromiseCapability(this);
|
|
1294
|
+
var $$reject = capability.reject;
|
|
1295
|
+
$$reject(r);
|
|
1296
|
+
return capability.promise;
|
|
1297
|
+
}
|
|
1298
|
+
});
|
|
1299
|
+
_export(_export.S + _export.F * (_library ), PROMISE, {
|
|
1300
|
+
resolve: function resolve(x) {
|
|
1301
|
+
return _promiseResolve( this === Wrapper ? $Promise : this, x);
|
|
1302
|
+
}
|
|
1303
|
+
});
|
|
1304
|
+
_export(_export.S + _export.F * !(USE_NATIVE && _iterDetect(function (iter) {
|
|
1305
|
+
$Promise.all(iter)['catch'](empty);
|
|
1306
|
+
})), PROMISE, {
|
|
1307
|
+
all: function all(iterable) {
|
|
1308
|
+
var C = this;
|
|
1309
|
+
var capability = newPromiseCapability(C);
|
|
1310
|
+
var resolve = capability.resolve;
|
|
1311
|
+
var reject = capability.reject;
|
|
1312
|
+
var result = _perform(function () {
|
|
1313
|
+
var values = [];
|
|
1314
|
+
var index = 0;
|
|
1315
|
+
var remaining = 1;
|
|
1316
|
+
_forOf(iterable, false, function (promise) {
|
|
1317
|
+
var $index = index++;
|
|
1318
|
+
var alreadyCalled = false;
|
|
1319
|
+
values.push(undefined);
|
|
1320
|
+
remaining++;
|
|
1321
|
+
C.resolve(promise).then(function (value) {
|
|
1322
|
+
if (alreadyCalled) return;
|
|
1323
|
+
alreadyCalled = true;
|
|
1324
|
+
values[$index] = value;
|
|
1325
|
+
--remaining || resolve(values);
|
|
1326
|
+
}, reject);
|
|
1327
|
+
});
|
|
1328
|
+
--remaining || resolve(values);
|
|
1329
|
+
});
|
|
1330
|
+
if (result.e) reject(result.v);
|
|
1331
|
+
return capability.promise;
|
|
1332
|
+
},
|
|
1333
|
+
race: function race(iterable) {
|
|
1334
|
+
var C = this;
|
|
1335
|
+
var capability = newPromiseCapability(C);
|
|
1336
|
+
var reject = capability.reject;
|
|
1337
|
+
var result = _perform(function () {
|
|
1338
|
+
_forOf(iterable, false, function (promise) {
|
|
1339
|
+
C.resolve(promise).then(capability.resolve, reject);
|
|
1340
|
+
});
|
|
1341
|
+
});
|
|
1342
|
+
if (result.e) reject(result.v);
|
|
1343
|
+
return capability.promise;
|
|
1344
|
+
}
|
|
1345
|
+
});
|
|
1346
|
+
|
|
1347
|
+
_export(_export.P + _export.R, 'Promise', { 'finally': function (onFinally) {
|
|
1348
|
+
var C = _speciesConstructor(this, _core.Promise || _global.Promise);
|
|
1349
|
+
var isFunction = typeof onFinally == 'function';
|
|
1350
|
+
return this.then(
|
|
1351
|
+
isFunction ? function (x) {
|
|
1352
|
+
return _promiseResolve(C, onFinally()).then(function () { return x; });
|
|
1353
|
+
} : onFinally,
|
|
1354
|
+
isFunction ? function (e) {
|
|
1355
|
+
return _promiseResolve(C, onFinally()).then(function () { throw e; });
|
|
1356
|
+
} : onFinally
|
|
1357
|
+
);
|
|
1358
|
+
} });
|
|
1359
|
+
|
|
1360
|
+
_export(_export.S, 'Promise', { 'try': function (callbackfn) {
|
|
1361
|
+
var promiseCapability = _newPromiseCapability.f(this);
|
|
1362
|
+
var result = _perform(callbackfn);
|
|
1363
|
+
(result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v);
|
|
1364
|
+
return promiseCapability.promise;
|
|
1365
|
+
} });
|
|
1366
|
+
|
|
1367
|
+
var promise = _core.Promise;
|
|
1368
|
+
|
|
1369
|
+
var promise$1 = promise;
|
|
1370
|
+
|
|
1371
|
+
var script = {
|
|
1372
|
+
name: 'bk-steps',
|
|
1373
|
+
mixins: [locale.mixin],
|
|
1374
|
+
props: {
|
|
1375
|
+
steps: {
|
|
1376
|
+
type: Array,
|
|
1377
|
+
default: function _default() {
|
|
1378
|
+
return [];
|
|
1379
|
+
}
|
|
1380
|
+
},
|
|
1381
|
+
curStep: {
|
|
1382
|
+
type: Number,
|
|
1383
|
+
default: 1
|
|
1384
|
+
},
|
|
1385
|
+
controllable: {
|
|
1386
|
+
type: Boolean,
|
|
1387
|
+
default: false
|
|
1388
|
+
},
|
|
1389
|
+
direction: {
|
|
1390
|
+
type: String,
|
|
1391
|
+
default: 'horizontal',
|
|
1392
|
+
validator: function validator(val) {
|
|
1393
|
+
return ['horizontal', 'vertical'].includes(val);
|
|
1394
|
+
}
|
|
1395
|
+
},
|
|
1396
|
+
status: {
|
|
1397
|
+
type: String,
|
|
1398
|
+
default: '',
|
|
1399
|
+
validator: function validator(val) {
|
|
1400
|
+
return ['', 'error', 'loading'].includes(val);
|
|
1401
|
+
}
|
|
1402
|
+
},
|
|
1403
|
+
lineType: {
|
|
1404
|
+
type: String,
|
|
1405
|
+
default: 'dashed',
|
|
1406
|
+
validator: function validator(val) {
|
|
1407
|
+
return ['dashed', 'solid'].includes(val);
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1410
|
+
size: {
|
|
1411
|
+
type: String,
|
|
1412
|
+
default: '',
|
|
1413
|
+
validator: function validator(val) {
|
|
1414
|
+
return ['', 'small'].includes(val);
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
theme: {
|
|
1418
|
+
type: String,
|
|
1419
|
+
default: 'primary'
|
|
1420
|
+
},
|
|
1421
|
+
extCls: {
|
|
1422
|
+
type: String,
|
|
1423
|
+
default: ''
|
|
1424
|
+
},
|
|
1425
|
+
beforeChange: {
|
|
1426
|
+
type: Function,
|
|
1427
|
+
default: null
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
data: function data() {
|
|
1431
|
+
return {
|
|
1432
|
+
defaultSteps: [],
|
|
1433
|
+
currentStatus: this.status
|
|
1434
|
+
};
|
|
1435
|
+
},
|
|
1436
|
+
computed: {
|
|
1437
|
+
wrapperCls: function wrapperCls() {
|
|
1438
|
+
var wrapperCls = ['bk-steps', "bk-steps-".concat(this.direction), "bk-steps-".concat(this.lineType), "bk-steps-".concat(this.theme)];
|
|
1439
|
+
if (this.size) {
|
|
1440
|
+
wrapperCls.push("bk-steps-".concat(this.size));
|
|
1441
|
+
}
|
|
1442
|
+
return wrapperCls;
|
|
1443
|
+
}
|
|
1444
|
+
},
|
|
1445
|
+
watch: {
|
|
1446
|
+
status: function status(val) {
|
|
1447
|
+
this.currentStatus = val;
|
|
1448
|
+
},
|
|
1449
|
+
steps: {
|
|
1450
|
+
handler: function handler(val) {
|
|
1451
|
+
this.updateSteps(val);
|
|
1452
|
+
},
|
|
1453
|
+
deep: true
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
created: function created() {
|
|
1457
|
+
var _this$defaultSteps;
|
|
1458
|
+
(_this$defaultSteps = this.defaultSteps).splice.apply(_this$defaultSteps, [0, this.defaultSteps.length].concat([{
|
|
1459
|
+
title: this.t('bk.steps.step1'),
|
|
1460
|
+
icon: 1
|
|
1461
|
+
}, {
|
|
1462
|
+
title: this.t('bk.steps.step2'),
|
|
1463
|
+
icon: 2
|
|
1464
|
+
}, {
|
|
1465
|
+
title: this.t('bk.steps.step3'),
|
|
1466
|
+
icon: 3
|
|
1467
|
+
}]));
|
|
1468
|
+
if (this.steps && this.steps.length) {
|
|
1469
|
+
this.updateSteps(this.steps);
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
methods: {
|
|
1473
|
+
updateSteps: function updateSteps(steps) {
|
|
1474
|
+
var _this$defaultSteps2;
|
|
1475
|
+
var defaultSteps = [];
|
|
1476
|
+
steps.forEach(function (step) {
|
|
1477
|
+
if (typeof step === 'string') {
|
|
1478
|
+
defaultSteps.push(step);
|
|
1479
|
+
} else {
|
|
1480
|
+
defaultSteps.push({
|
|
1481
|
+
title: step.title,
|
|
1482
|
+
icon: step.icon,
|
|
1483
|
+
description: step.description,
|
|
1484
|
+
status: step.status
|
|
1485
|
+
});
|
|
1486
|
+
}
|
|
1487
|
+
});
|
|
1488
|
+
(_this$defaultSteps2 = this.defaultSteps).splice.apply(_this$defaultSteps2, [0, this.defaultSteps.length].concat(defaultSteps));
|
|
1489
|
+
},
|
|
1490
|
+
iconType: function iconType(step) {
|
|
1491
|
+
var icon = step.icon;
|
|
1492
|
+
if (icon) {
|
|
1493
|
+
return typeof icon === 'string';
|
|
1494
|
+
}
|
|
1495
|
+
return typeof step === 'string';
|
|
1496
|
+
},
|
|
1497
|
+
isIcon: function isIcon(step) {
|
|
1498
|
+
return step.icon ? step.icon : step;
|
|
1499
|
+
},
|
|
1500
|
+
isCurrent: function isCurrent(index) {
|
|
1501
|
+
return this.curStep === index + 1;
|
|
1502
|
+
},
|
|
1503
|
+
isDone: function isDone(index) {
|
|
1504
|
+
return this.curStep > index + 1 || this.defaultSteps[index].status === 'done';
|
|
1505
|
+
},
|
|
1506
|
+
isLoadingStatus: function isLoadingStatus(step) {
|
|
1507
|
+
return step.status === 'loading';
|
|
1508
|
+
},
|
|
1509
|
+
isErrorStatus: function isErrorStatus(step) {
|
|
1510
|
+
return step.status === 'error';
|
|
1511
|
+
},
|
|
1512
|
+
jumpTo: function jumpTo(index) {
|
|
1513
|
+
var _this = this;
|
|
1514
|
+
return _asyncToGenerator( _regeneratorRuntime().mark(function _callee2() {
|
|
1515
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
1516
|
+
while (1) {
|
|
1517
|
+
switch (_context2.prev = _context2.next) {
|
|
1518
|
+
case 0:
|
|
1519
|
+
_context2.prev = 0;
|
|
1520
|
+
if (!(_this.controllable && index !== _this.curStep)) {
|
|
1521
|
+
_context2.next = 7;
|
|
1522
|
+
break;
|
|
1523
|
+
}
|
|
1524
|
+
if (!(typeof _this.beforeChange === 'function')) {
|
|
1525
|
+
_context2.next = 5;
|
|
1526
|
+
break;
|
|
1527
|
+
}
|
|
1528
|
+
_context2.next = 5;
|
|
1529
|
+
return new promise$1( function () {
|
|
1530
|
+
var _ref = _asyncToGenerator( _regeneratorRuntime().mark(function _callee(resolve, reject) {
|
|
1531
|
+
var confirmed;
|
|
1532
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
1533
|
+
while (1) {
|
|
1534
|
+
switch (_context.prev = _context.next) {
|
|
1535
|
+
case 0:
|
|
1536
|
+
_context.next = 2;
|
|
1537
|
+
return _this.beforeChange(index);
|
|
1538
|
+
case 2:
|
|
1539
|
+
confirmed = _context.sent;
|
|
1540
|
+
confirmed ? resolve(confirmed) : reject(confirmed);
|
|
1541
|
+
case 4:
|
|
1542
|
+
case "end":
|
|
1543
|
+
return _context.stop();
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
}, _callee);
|
|
1547
|
+
}));
|
|
1548
|
+
return function (_x, _x2) {
|
|
1549
|
+
return _ref.apply(this, arguments);
|
|
1550
|
+
};
|
|
1551
|
+
}());
|
|
1552
|
+
case 5:
|
|
1553
|
+
_this.$emit('update:curStep', index);
|
|
1554
|
+
_this.$emit('step-changed', index);
|
|
1555
|
+
case 7:
|
|
1556
|
+
_context2.next = 12;
|
|
1557
|
+
break;
|
|
1558
|
+
case 9:
|
|
1559
|
+
_context2.prev = 9;
|
|
1560
|
+
_context2.t0 = _context2["catch"](0);
|
|
1561
|
+
console.warn(_context2.t0);
|
|
1562
|
+
case 12:
|
|
1563
|
+
case "end":
|
|
1564
|
+
return _context2.stop();
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
}, _callee2, null, [[0, 9]]);
|
|
1568
|
+
}))();
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
};
|
|
1572
|
+
|
|
1573
|
+
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier
|
|
1574
|
+
, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
|
1575
|
+
if (typeof shadowMode !== 'boolean') {
|
|
1576
|
+
createInjectorSSR = createInjector;
|
|
1577
|
+
createInjector = shadowMode;
|
|
1578
|
+
shadowMode = false;
|
|
1579
|
+
}
|
|
1580
|
+
var options = typeof script === 'function' ? script.options : script;
|
|
1581
|
+
if (template && template.render) {
|
|
1582
|
+
options.render = template.render;
|
|
1583
|
+
options.staticRenderFns = template.staticRenderFns;
|
|
1584
|
+
options._compiled = true;
|
|
1585
|
+
if (isFunctionalTemplate) {
|
|
1586
|
+
options.functional = true;
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
if (scopeId) {
|
|
1590
|
+
options._scopeId = scopeId;
|
|
1591
|
+
}
|
|
1592
|
+
var hook;
|
|
1593
|
+
if (moduleIdentifier) {
|
|
1594
|
+
hook = function hook(context) {
|
|
1595
|
+
context = context ||
|
|
1596
|
+
this.$vnode && this.$vnode.ssrContext ||
|
|
1597
|
+
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
|
|
1598
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
1599
|
+
context = __VUE_SSR_CONTEXT__;
|
|
1600
|
+
}
|
|
1601
|
+
if (style) {
|
|
1602
|
+
style.call(this, createInjectorSSR(context));
|
|
1603
|
+
}
|
|
1604
|
+
if (context && context._registeredComponents) {
|
|
1605
|
+
context._registeredComponents.add(moduleIdentifier);
|
|
1606
|
+
}
|
|
1607
|
+
};
|
|
1608
|
+
options._ssrRegister = hook;
|
|
1609
|
+
} else if (style) {
|
|
1610
|
+
hook = shadowMode ? function () {
|
|
1611
|
+
style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));
|
|
1612
|
+
} : function (context) {
|
|
1613
|
+
style.call(this, createInjector(context));
|
|
1614
|
+
};
|
|
1615
|
+
}
|
|
1616
|
+
if (hook) {
|
|
1617
|
+
if (options.functional) {
|
|
1618
|
+
var originalRender = options.render;
|
|
1619
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
1620
|
+
hook.call(context);
|
|
1621
|
+
return originalRender(h, context);
|
|
1622
|
+
};
|
|
1623
|
+
} else {
|
|
1624
|
+
var existing = options.beforeCreate;
|
|
1625
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
return script;
|
|
1629
|
+
}
|
|
1630
|
+
var normalizeComponent_1 = normalizeComponent;
|
|
1631
|
+
|
|
1632
|
+
/* script */
|
|
1633
|
+
var __vue_script__ = script;
|
|
1634
|
+
/* template */
|
|
1635
|
+
var __vue_render__ = function __vue_render__() {
|
|
1636
|
+
var _vm = this;
|
|
1637
|
+
var _h = _vm.$createElement;
|
|
1638
|
+
var _c = _vm._self._c || _h;
|
|
1639
|
+
return _c('div', {
|
|
1640
|
+
class: [_vm.wrapperCls, _vm.extCls]
|
|
1641
|
+
}, _vm._l(_vm.defaultSteps, function (step, index) {
|
|
1642
|
+
var _obj;
|
|
1643
|
+
return _c('div', {
|
|
1644
|
+
key: index,
|
|
1645
|
+
staticClass: "bk-step",
|
|
1646
|
+
class: (_obj = {
|
|
1647
|
+
'bk-step-no-content': !step.title,
|
|
1648
|
+
done: _vm.isDone(index),
|
|
1649
|
+
current: _vm.isCurrent(index)
|
|
1650
|
+
}, _obj["bk-step-" + _vm.currentStatus] = _vm.currentStatus && _vm.isCurrent(index), _obj)
|
|
1651
|
+
}, [_c('span', {
|
|
1652
|
+
staticClass: "bk-step-indicator",
|
|
1653
|
+
class: 'bk-step-' + (_vm.iconType(step) ? 'icon' : 'number'),
|
|
1654
|
+
style: {
|
|
1655
|
+
cursor: _vm.controllable ? 'pointer' : ''
|
|
1656
|
+
},
|
|
1657
|
+
on: {
|
|
1658
|
+
"click": function click($event) {
|
|
1659
|
+
return _vm.jumpTo(index + 1);
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
}, [_vm.isCurrent(index) && _vm.currentStatus === 'loading' || _vm.isLoadingStatus(step) ? _c('i', {
|
|
1663
|
+
staticClass: "bk-icon icon-circle-4-1 icon-loading"
|
|
1664
|
+
}) : _vm.iconType(step) ? _c('i', {
|
|
1665
|
+
staticClass: "bk-icon",
|
|
1666
|
+
class: 'icon-' + _vm.isIcon(step)
|
|
1667
|
+
}) : _vm.isCurrent(index) && _vm.currentStatus === 'error' || _vm.isErrorStatus(step) ? _c('i', {
|
|
1668
|
+
staticClass: "bk-icon icon-close icon-error"
|
|
1669
|
+
}) : _vm.isDone(index) ? _c('i', {
|
|
1670
|
+
staticClass: "bk-icon icon-check-1 icon-finish"
|
|
1671
|
+
}) : _c('span', {
|
|
1672
|
+
staticClass: "number"
|
|
1673
|
+
}, [_vm._v("\n " + _vm._s(_vm.isIcon(step)) + "\n ")])]), step.title ? _c('div', {
|
|
1674
|
+
staticClass: "bk-step-content"
|
|
1675
|
+
}, [_c('div', {
|
|
1676
|
+
staticClass: "bk-step-title",
|
|
1677
|
+
style: {
|
|
1678
|
+
cursor: _vm.controllable ? 'pointer' : ''
|
|
1679
|
+
},
|
|
1680
|
+
on: {
|
|
1681
|
+
"click": function click($event) {
|
|
1682
|
+
return _vm.jumpTo(index + 1);
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
}, [_vm._v("\n " + _vm._s(step.title) + "\n ")]), step.description ? _c('div', {
|
|
1686
|
+
staticClass: "bk-step-description",
|
|
1687
|
+
attrs: {
|
|
1688
|
+
"title": step.description
|
|
1689
|
+
}
|
|
1690
|
+
}, [_vm._v("\n " + _vm._s(step.description) + "\n ")]) : _vm._e()]) : _vm._e()]);
|
|
1691
|
+
}), 0);
|
|
1692
|
+
};
|
|
1693
|
+
var __vue_staticRenderFns__ = [];
|
|
1694
|
+
|
|
1695
|
+
/* style */
|
|
1696
|
+
var __vue_inject_styles__ = undefined;
|
|
1697
|
+
/* scoped */
|
|
1698
|
+
var __vue_scope_id__ = undefined;
|
|
1699
|
+
/* module identifier */
|
|
1700
|
+
var __vue_module_identifier__ = undefined;
|
|
1701
|
+
/* functional template */
|
|
1702
|
+
var __vue_is_functional_template__ = false;
|
|
1703
|
+
/* style inject */
|
|
1704
|
+
|
|
1705
|
+
/* style inject SSR */
|
|
1706
|
+
|
|
1707
|
+
/* style inject shadow dom */
|
|
1708
|
+
|
|
1709
|
+
var __vue_component__ = /*#__PURE__*/normalizeComponent_1({
|
|
1710
|
+
render: __vue_render__,
|
|
1711
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
1712
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
1713
|
+
|
|
1714
|
+
var _objectSap = function (KEY, exec) {
|
|
1715
|
+
var fn = (_core.Object || {})[KEY] || Object[KEY];
|
|
1716
|
+
var exp = {};
|
|
1717
|
+
exp[KEY] = exec(fn);
|
|
1718
|
+
_export(_export.S + _export.F * _fails(function () { fn(1); }), 'Object', exp);
|
|
1719
|
+
};
|
|
1720
|
+
|
|
1721
|
+
_objectSap('keys', function () {
|
|
1722
|
+
return function keys(it) {
|
|
1723
|
+
return _objectKeys(_toObject(it));
|
|
1724
|
+
};
|
|
1725
|
+
});
|
|
1726
|
+
|
|
1727
|
+
var keys = _core.Object.keys;
|
|
1728
|
+
|
|
1729
|
+
var keys$1 = keys;
|
|
1730
|
+
|
|
1731
|
+
function setInstaller (component, afterInstall) {
|
|
1732
|
+
component.install = function (Vue) {
|
|
1733
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1734
|
+
var props = component.props || {};
|
|
1735
|
+
keys$1(options).forEach(function (key) {
|
|
1736
|
+
if (props.hasOwnProperty(key)) {
|
|
1737
|
+
if (typeof props[key] === 'function' || props[key] instanceof Array) {
|
|
1738
|
+
props[key] = {
|
|
1739
|
+
type: props[key],
|
|
1740
|
+
default: options[key]
|
|
1741
|
+
};
|
|
1742
|
+
} else {
|
|
1743
|
+
props[key].default = options[key];
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
});
|
|
1747
|
+
component.name = options.namespace ? component.name.replace('bk', options.namespace) : component.name;
|
|
1748
|
+
Vue.component(component.name, component);
|
|
1749
|
+
typeof afterInstall === 'function' && afterInstall(Vue, options);
|
|
1750
|
+
};
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
setInstaller(__vue_component__);
|
|
1754
|
+
|
|
1755
|
+
exports.default = __vue_component__;
|
|
1756
|
+
|
|
1757
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1965
1758
|
|
|
1966
1759
|
}));
|