-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
5240 lines (5125 loc) · 375 KB
/
index.html
1
2
3
4
5
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
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<title>MTGAHelper - The ultimate collection tracker for Magic: The Gathering Arena. Get your Magic Arena decks here</title>
<meta name="description" content="MTGA Tracker for your Magic Arena collection. Get your Magic Arena decks, draft pick ratings, keep up with the Arena meta and a lot more.">
<meta name="og:title" property="og:title" content="MTGAHelper - The ultimate collection tracker for Magic: The Gathering Arena. Get your Magic decks here">
<meta name="og:description" property="og:description" content="MTGA Tracker for your Magic Arena collection. Get your Magic Arena decks, draft pick ratings, keep up with the Arena meta and a lot more.">
<meta property="og:image" content="https://www.mtgahelper.com/images/icon2.png" />
<link rel="icon" type="image/png" href="/images/icon2.png" />
<link href="//cdn.jsdelivr.net/npm/keyrune@latest/css/keyrune.css" rel="stylesheet" type="text/css" />
<script src="js/common.js"></script>
<script src="js/util.js"></script>
<script src="js/ajax.js"></script>
<script src="js/submitCollection.js"></script>
<link rel="stylesheet" href="css/bulma-pageloader.min.css" />
<link rel="stylesheet" href="css/bulma-tooltip.min.css" />
<link rel="stylesheet" href="css/bulma-switch.min.css" />
<link rel="stylesheet" href="css/bulma-checkradio.min.css" />
<link rel="stylesheet" href="css/sparklist.css" />
<!--<link rel="stylesheet" href="css/bulma-accordion.min.css" />
<script type="text/javascript" src="/js/bulma-accordion.min.js"></script>-->
<link rel="stylesheet" href="css/floating-icons.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.23.0/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/numeral.js/2.0.6/numeral.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/bulma-modal-fx/dist/css/modal-fx.min.css" />
<!--<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script>-->
<style>
/* Custom fonts */
/* THD  */
/*@font-face {
font-family: 'Keyrune';
src: url('//cdn.jsdelivr.net/npm/[email protected]/fonts/keyrune.eot');
src: url('//cdn.jsdelivr.net/npm/[email protected]/fonts/keyrune.eot?#iefix') format('embedded-opentype'),
url('//cdn.jsdelivr.net/npm/[email protected]/fonts/keyrune.woff2') format('woff2'),
url('//cdn.jsdelivr.net/npm/[email protected]/fonts/keyrune.woff') format('woff'),
url('//cdn.jsdelivr.net/npm/[email protected]/fonts/keyrune.ttf') format('truetype'),
url('//cdn.jsdelivr.net/npm/[email protected]/fonts/keyrune.svg') format('svg');
font-weight: normal;
font-style: normal;
}*/
html {
background: url('/images/bg.jpg');
}
html.adjustBgPos {
background-position-y: 400px;
}
.modalTopLevel {
/* Above the page loader */
z-index: 2000000001 !important;
}
img.fiftypct {
width: 50%;
}
.cardFrame {
color: #000 !important;
}
.cardFrame td {
padding: 0 !important;
}
.cardFrame td div {
padding: 0.2rem !important;
}
.footerLinks a {
margin-right: 2rem;
}
.pageloader {
background-image: url('/images/loadingBg.jpg');
background-color: #000;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
color: #FFF;
}
img.iconMana {
width: 1rem;
height: 1rem;
margin: 0 0.1rem;
}
img.iconManaHeading {
width: 1.5rem;
height: 1.5rem;
margin: 0 0.1rem;
}
div.packInfo {
height: 20rem;
}
ul.noBullet li {
list-style-type: none;
}
ul.pagination-list {
margin: 0 !important;
}
div.MtgGoldfish h6, div.MtgGoldfish h6 a {
color: #f26739;
}
div.ChannelFireball h6, div.ChannelFireball h6 a {
color: #21898C;
}
div.MTGArenaZone h6 {
color: #BEBEBE;
text-shadow: 0px 0px 4px #000000;
}
div.MTGArenaZone h6 a {
color: #FFF;
text-shadow: none;
font-weight: normal;
}
div.CardGameBase h6, div.CardGameBase h6 a {
color: #81a0d6;
}
.is-hoverable {
cursor: pointer;
}
a.hyperlink {
text-decoration: underline;
}
a.hyperlink:hover {
text-decoration: none;
}
.bold {
font-weight: bold;
}
img.wc {
position: relative;
top: 3px;
height: 1rem;
}
img.wcLarge {
position: relative;
top: 3px;
height: 1.25rem;
}
.masteryPassRewards img {
/*width:100%;*/
display: block !important;
}
.nowrap {
white-space: nowrap;
}
div.wrapper-tablescroll {
overflow: hidden;
overflow-y: scroll;
height: 600px;
}
.cardHover {
text-decoration: underline;
text-decoration-style: dotted;
cursor: help;
}
.loot span {
margin-left: 1rem;
}
.content table td, .content table th, .table td, .table th {
border: none !important;
}
.darkTable h6 {
color: #eee !important;
}
table.darkTable {
background: none;
}
table.darkTable tbody td {
color: #eee !important;
border: none !important;
font-weight: bold !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
table.darkTable thead th {
color: #eee !important;
border: none !important;
}
table.darkTable tfoot th {
color: #eee !important;
border: none !important;
background: #111;
}
tr.nohover:hover {
background: none !important;
}
.herobg1 {
background: url(/images/hero1-bg.jpg);
background-repeat: no-repeat;
background-color: transparent !important;
}
.hero2bg {
/*width: 200px;
height: 200px;
display: block;
position: relative;*/
background: url(/images/hero2-bg.png);
background-repeat: no-repeat;
}
/*.hero2bg::after {
content: "";
background: url(/images/hero2-bg.png);
opacity: 0.2;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: -1;
}*/
ul.paginator {
display: inline;
padding: 0;
list-style-type: none;
}
.paginator a {
color: #999;
}
.paginator .current {
color: red;
}
.paginator li {
display: inline;
margin: 5px 5px;
}
.paginator a.first::after {
content: '...'
}
.paginator a.last::before {
content: '...'
}
table.deck img {
vertical-align: middle;
}
table.deck h5 {
margin-bottom: 0;
}
table.deck td {
/*padding: 0 !important;*/
border: none !important;
vertical-align: middle !important;
}
table.deck td.spacer {
padding-top: 0.9rem !important;
}
table.deck td.wildcardsRequired {
padding: 0 .25rem !important;
}
#switchLandsPickAll + label::before, #switchLandsPickAll + label:before {
background: #209cee !important;
}
.horizontalItems {
position: relative;
width: 100%;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
}
.horizontalItem {
display: inline-block;
}
.ss-grad.ss-common.white-stroke {
-webkit-text-stroke: 0.01rem #DDD !important;
background: -webkit-gradient(linear, left top, right top, color-stop(1%, #000), color-stop(50%, #302b2c), color-stop(100%, #000));
background: -webkit-linear-gradient(left, #000 1%, #302b2c 50%, #000 100%);
-webkit-background-clip: text;
}
</style>
</head>
<body>
<div id="vueApp">
<div v-cloak class="content">
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation" style="min-height:unset;">
<div class="navbar-brand" style="min-height:unset;">
<!--v-on:click="loadPage(pageHome);"-->
<img class="is-hidden-desktop-only" src="/images/icon2.png" style="height:3rem;">
<!--<a class="navbar-item" v-bind:class="currentSection === sectionGeneral ? 'bold' : ''" @click.prevent="currentSection = sectionGeneral">
<i class="fas fa-bullhorn is-size-5" style="margin-right:0.2rem;"></i>
General
</a>-->
<!--<template v-if="currentSection === sectionGeneral">-->
<a href="/news" class="navbar-item tooltip is-tooltip-right is-size-7-desktop is-size-6-widescreen"
v-bind:class="currentPage === pageNews ? 'bold' : ''" @click.prevent="loadPage(pageNews);" data-tooltip="Latest MTGA information">
News
</a>
<a href="/articles" class="navbar-item tooltip is-tooltip-right is-size-7-desktop is-size-6-widescreen"
v-bind:class="currentPage === pageArticles ? 'bold' : ''" @click.prevent="loadPage(pageArticles);" data-tooltip="Useful reading material">
Articles
</a>
<!--<a class="navbar-item" v-bind:class="currentPage === pageStreams ? 'bold' : ''" @click.prevent="loadPage(pageStreams);">
Streams
</a>-->
<a href="/meta" class="navbar-item tooltip is-tooltip-right is-size-7-desktop is-size-6-widescreen"
v-bind:class="currentPage === pageMeta ? 'bold' : ''" @click.prevent="loadPage(pageMeta);" data-tooltip="Be competitive">
Meta
</a>
<!--<a href="/calendar" class="navbar-item tooltip is-tooltip-right is-size-7-desktop is-size-6-widescreen"
v-bind:class="currentPage === pageCalendar ? 'bold' : ''" @click.prevent="loadPage(pageCalendar);" data-tooltip="See which MTGA events are going on">
Events Calendar
</a>-->
<a href="/decks" class="navbar-item tooltip is-tooltip-right is-size-7-desktop is-size-6-widescreen"
v-bind:class="currentPage === pageDecks ? 'bold' : ''" @click.prevent="loadPage(pageDecks);" data-tooltip="Browse all decks">
Decks
</a>
<!--<a href="/cards" class="navbar-item tooltip is-tooltip-right" v-bind:class="currentPage === pageAllCards ? 'bold' : ''" @click.prevent="loadPage(pageAllCards);" data-tooltip="All cards">
Cards
</a>-->
<!--</template>-->
<!--<template v-if="modelAccount.isAuthenticated">
<div v-if="modelUser.collection.cards.length > 0" class="loot is-hidden-desktop">
<span v-if="modelUser.collection.constructedRank.class === null"> </span>
<span v-else class="tooltip is-tooltip-left" v-bind:data-tooltip="'Constructed Ranking: ' + modelUser.collection.constructedRank.class + ' ' + modelUser.collection.constructedRank.level">
<img style="margin-top:0.8rem; height:32px;" v-bind:src="'/images/ranks/constructed/' + modelUser.collection.constructedRank.class + '_' + modelUser.collection.constructedRank.level + '.png'" />
</span>
<span v-if="modelUser.collection.constructedRank.class === null"> </span>
<span v-else class="tooltip is-tooltip-left" v-bind:data-tooltip="'Limited Ranking: ' + modelUser.collection.limitedRank.class + ' ' + modelUser.collection.limitedRank.level">
<img style="height:32px;" v-bind:src="'/images/ranks/limited/' + modelUser.collection.limitedRank.class + '_' + modelUser.collection.limitedRank.level + '.png'" />
</span>
<span style="top:-0.8rem;" class="tooltip is-tooltip-left" data-tooltip="Common wildcards">
{{modelUser.collection.inventory.wildcards.Common}}
<img class="wc" src="/images/wcC.png" />
</span>
<span style="top:-0.8rem;" class="tooltip is-tooltip-left" data-tooltip="Uncommon wildcards">
{{modelUser.collection.inventory.wildcards.Uncommon}}
<img class="wc" src="/images/wcU.png" />
</span>
<span style="top:-0.8rem;" class="tooltip is-tooltip-left" data-tooltip="Rare wildcards">
{{modelUser.collection.inventory.wildcards.Rare}}
<img class="wc" src="/images/wcR.png" />
</span>
<span style="top:-0.8rem;" class="tooltip is-tooltip-left" data-tooltip="Mythic wildcards">
{{modelUser.collection.inventory.wildcards.Mythic}}
<img class="wc" src="/images/wcM.png" />
</span>
<span style="top:-0.8rem;" class="tooltip is-tooltip-left" data-tooltip="Gold">
{{numeral(modelUser.collection.inventory.gold).format('0,0')}}
<img class="wc" src="/images/inventory_gold.png" />
</span>
<span style="top:-0.8rem;" class="tooltip is-tooltip-left" data-tooltip="Gems">
{{numeral(modelUser.collection.inventory.gems).format('0,0')}}
<img class="wc" src="/images/inventory_gem.png" />
</span>
<span style="top:-0.8rem;" class="tooltip is-tooltip-left" data-tooltip="Vault progress">
{{numeral(modelUser.collection.inventory.vaultProgress).format('0.0')}} %
<img class="wc" src="/images/vault.png" />
</span>
</div>
</template>
<div v-else class="is-hidden-desktop navbar-item">-->
<div v-if="modelAccount.isAuthenticated !== true" class="is-hidden-desktop navbar-item">
<a class="button tooltip is-tooltip-bottom" v-on:click="showModalLogin = true" data-tooltip="You are anonymous, sign-in to keep a history of your data.">
Sign-in
<i class="fas fa-sign-in-alt" style="margin-left:0.5rem;"></i>
</a>
</div>
<a role="button" class="navbar-burger burger" data-target="navbarTop" style="height:unset;" v-on:click="navbarBurgerActive = !navbarBurgerActive" v-bind:class="navbarBurgerActive ? 'is-active' : ''">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="navbarTop" class="navbar-menu" v-bind:class="navbarBurgerActive ? 'is-active' : ''">
<div class="navbar-end">
<!--<div class="navbar-item has-text-centered tooltip is-tooltip-bottom"
data-tooltip="Purchase Magic paper products and help supporting the service" style="padding:0 inherit;">
<a v-on:click="showModalAdPreorder = true">
<img src="/images/preorder-IKO.png" style="width:52px; vertical-align:middle;" />
</a>
</div>
<div class="navbar-item has-text-centered tooltip is-tooltip-bottom is-tooltip-multiline"
v-bind:data-tooltip="topAds[0].tooltip" style="padding:0 inherit;">
<a v-bind:href="topAds[0].href" target="_blank">
<img v-bind:src="topAds[0].img" v-bind:alt="topAd.text" style="height:52px; vertical-align:middle;" />
</a>
</div>
<div v-if="modelUser.isSupporter === false && topAd.href !== topAds[0].href" class="navbar-item has-text-centered is-hidden-desktop-only tooltip is-tooltip-bottom is-tooltip-multiline"
v-bind:data-tooltip="topAd.tooltip" style="padding:0 inherit;">
<a v-bind:href="topAd.href" target="_blank">
<img v-bind:src="topAd.img" v-bind:alt="topAd.text" style="height:52px; vertical-align:middle;" />
</a>
</div>-->
<!--<div class="navbar-item tooltip is-tooltip-bottom is-tooltip-multiline" data-tooltip="Purchase your games or Magic: The Gathering paper products on GameNerdz and help improve the MTGAHelper services ❤">-->
<div class="navbar-item tooltip is-tooltip-bottom is-tooltip-multiline" data-tooltip="Order your MTG paper products and help improve the MTGAHelper services ❤">
<a href="https://www.gamenerdz.com/magic-the-gathering?aff=42" rel="nofollow" target="_blank">
<img src="/images/set-MID.png" />
</a>
</div>
<div v-if="modelUser.isSupporter" class="navbar-item has-text-centered is-hidden-desktop-only tooltip is-tooltip-bottom" data-tooltip="Thanks for being a supporter and making the difference">
<i class="fas fa-heart" style="color: rgb(191, 0, 0);"></i>
</div>
<!--<template v-if="currentSection === sectionMyData">
<a class="navbar-item" v-bind:class="currentPage === pageCollection ? 'bold' : ''" @click.prevent="loadPage(pageCollection);">
Collection
</a>
<a class="navbar-item" v-bind:class="currentPage === pageHistory ? 'bold' : ''" @click.prevent="loadPage(pageHistory);">
History
</a>
<a class="navbar-item" v-bind:class="currentPage === pageScrapers ? 'bold' : ''" @click.prevent="loadPage(pageScrapers);">
Sources of decks
</a>
<a class="navbar-item" v-bind:class="currentPage === pageDecksTracked ? 'bold' : ''" @click.prevent="loadPage(pageDecksTracked);">
Decks tracked
</a>
<a class="navbar-item is-size-7" v-bind:class="currentPage === pageDashboardSummary ? 'bold' : ''" @click.prevent="loadPage(pageDashboardSummary);">
Missing cards Summary
</a>
<a class="navbar-item is-size-7" v-bind:class="currentPage === pageDashboardDetails ? 'bold' : ''" @click.prevent="loadPage(pageDashboardDetails);">
Missing cards Details
</a>
</template>-->
<div class="navbar-item is-hidden-touch">
<div class="buttons">
<a class="button tooltip is-tooltip-bottom" data-tooltip="Manually import your MTGA log file" v-bind:class="[modelUser.collection.cards.length === 0 ? 'is-primary' : '']"
v-on:click="showUploadCollectionModal = true">
<i class="fas fa-file-import"></i>
<strong class="is-hidden-desktop-only">Import</strong>
</a>
</div>
</div>
<div v-if="modelUser.collection.cards.length > 0" class="navbar-item">
<div style="width: 100%; display:flex; align-items:center; justify-content:flex-end;">
<template v-if="navBarInfo === 'rank'">
<span v-if="modelUser.collection.constructedRank.class === null"> </span>
<span v-else class="tooltip is-tooltip-left" style="line-height:1;"
v-bind:data-tooltip="'Constructed Ranking: ' + modelUser.collection.constructedRank.class + ' ' + modelUser.collection.constructedRank.level">
<img v-bind:src="'/images/ranks/constructed/' + modelUser.collection.constructedRank.class + '_' + modelUser.collection.constructedRank.level + '.png'" />
</span>
<span v-if="modelUser.collection.constructedRank.class === null" style="margin-left:0.5rem;"> </span>
<span v-else class="tooltip is-tooltip-left" style="margin-left:0.5rem; line-height:1;"
v-bind:data-tooltip="'Limited Ranking: ' + modelUser.collection.limitedRank.class + ' ' + modelUser.collection.limitedRank.level">
<img v-bind:src="'/images/ranks/limited/' + modelUser.collection.limitedRank.class + '_' + modelUser.collection.limitedRank.level + '.png'" />
</span>
<span style="margin-left:0.5rem;">
{{modelUser.collection.playerName}}
</span>
</template>
<template v-if="navBarInfo === 'wildcards'">
<span class="tooltip is-tooltip-left" data-tooltip="Common wildcards">
{{modelUser.collection.inventory.wildcards.Common}}
<img class="wc" src="/images/wcC.png" />
</span>
<span class="tooltip is-tooltip-left" data-tooltip="Uncommon wildcards" style="margin-left:0.5rem;">
{{modelUser.collection.inventory.wildcards.Uncommon}}
<img class="wc" src="/images/wcU.png" />
</span>
<span class="tooltip is-tooltip-left" data-tooltip="Rare wildcards" style="margin-left:0.5rem;">
{{modelUser.collection.inventory.wildcards.Rare}}
<img class="wc" src="/images/wcR.png" />
</span>
<span class="tooltip is-tooltip-left" data-tooltip="Mythic wildcards" style="margin-left:0.5rem;">
{{modelUser.collection.inventory.wildcards.Mythic}}
<img class="wc" src="/images/wcM.png" />
</span>
</template>
<template v-if="navBarInfo === 'currency'">
<span class="tooltip is-tooltip-left" data-tooltip="Gold">
{{numeral(modelUser.collection.inventory.gold).format('0,0')}}
<img class="wc" src="/images/inventory_gold.png" />
</span>
<span class="tooltip is-tooltip-left" data-tooltip="Gems" style="margin-left:0.8rem;">
{{numeral(modelUser.collection.inventory.gems).format('0,0')}}
<img class="wc" src="/images/inventory_gem.png" />
</span>
<span class="tooltip is-tooltip-left" data-tooltip="Vault progress" style="margin-left:0.8rem;">
{{numeral(modelUser.collection.inventory.vaultProgress).format('0.0')}} %
<img class="wc" src="/images/vault.png" />
</span>
</template>
<span class="tooltip is-tooltip-right" v-bind:data-tooltip="'Display ' + navBarInfos[(navBarInfos.indexOf(navBarInfo) + 1) % navBarInfos.length]">
<i class="fas fa-ellipsis-h" style="margin-left:0.8rem; cursor:pointer; color:white;"
v-on:click="navBarInfo = navBarInfos[(navBarInfos.indexOf(navBarInfo) + 1) % navBarInfos.length]"></i>
</span>
</div>
</div>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
<!--v-bind:class="currentSection === sectionMyData ? 'bold' : ''" v-on:click="currentSection = sectionMyData"-->
<i class="fas fa-table is-size-5" style="margin-right:0.2rem;"></i>
<span class="is-hidden-desktop-only is-hidden-widescreen-only">My Data</span>
</a>
<div class="navbar-dropdown">
<a href="/my/inventory" class="navbar-item" v-bind:class="currentPage === pageInventory ? 'bold' : ''" @click.prevent="loadPage(pageInventory);">
<img src="/images/inventory_gold.png" style="margin-right:0.5rem; width:1rem;" />
Inventory
</a>
<a href="/my/collection" class="navbar-item" v-bind:class="currentPage === pageCollection ? 'bold' : ''" @click.prevent="loadPage(pageCollection);">
<i class="fas fa-table" style="margin-right:0.5rem; width:1rem;"></i>
Collection
</a>
<a href="/my/mtgadecks" class="navbar-item" v-bind:class="currentPage === pageMtgaDecks ? 'bold' : ''" @click.prevent="loadPage(pageMtgaDecks);">
<i class="fas fa-clone" style="margin-right:0.5rem; width:1rem;"></i>
MTGA Decks
</a>
<a href="/my/history" class="navbar-item" v-bind:class="currentPage === pageHistory ? 'bold' : ''" @click.prevent="loadPage(pageHistory);">
<i class="far fa-calendar-alt" style="margin-right:0.5rem; width:1rem;"></i>
History
</a>
<a href="/my/statsLimited" class="navbar-item" v-bind:class="currentPage === pageStatsLimited ? 'bold' : ''" @click.prevent="loadPage(pageStatsLimited);">
<i class="fas fa-dumbbell" style="margin-right:0.5rem; width:1rem;"></i>
Limited Stats
</a>
<hr class="navbar-divider">
<a href="/my/decks" class="navbar-item" @click.prevent="loadPage(pageCustomDecks);">
<i class="far fa-file" style="margin-right:0.5rem; width:1rem;"></i>
Custom decks
</a>
</div>
</div>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
<i class="fas fa-hat-wizard" style="margin-right:0.2rem;"></i>
<span class="is-hidden-desktop-only is-hidden-widescreen-only">Advisors</span>
</a>
<div class="navbar-dropdown">
<a href="/my/sources" class="navbar-item" v-bind:class="currentPage === pageScrapers ? 'bold' : ''" @click.prevent="loadPage(pageScrapers);">
<i class="fas fa-stream" style="margin-right:0.5rem; width:1rem;"></i>
Deck sources
</a>
<hr class="navbar-divider">
<a href="/my/trackedDecks" class="navbar-item" v-bind:class="currentPage === pageDecksTracked ? 'bold' : ''" @click.prevent="loadPage(pageDecksTracked);">
<i class="fas fa-clone" style="margin-right:0.5rem; width:1rem;"></i>
Decks to play
</a>
<a href="/my/missingCardsSummary" class="navbar-item" v-bind:class="currentPage === pageDashboardSummary ? 'bold' : ''" @click.prevent="loadPage(pageDashboardSummary);">
<img v-bind:src="'/images/' + (modelDashboard.summary.length === 0 ? 'M21' : modelDashboard.summary[0].key) + '-booster.png'" style="margin-right:0.5rem; width:1rem;" />
Boosters to open
</a>
<a href="/my/missingCardsDetails" class="navbar-item" v-bind:class="currentPage === pageDashboardDetails ? 'bold' : ''" @click.prevent="loadPage(pageDashboardDetails);">
<img src="/images/wcC.png" style="margin-right:0.5rem; width:1rem;" />
Cards to craft
</a>
</div>
</div>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
<!--v-bind:class="currentSection === sectionMyData ? 'bold' : ''" v-on:click="currentSection = sectionMyData"-->
<i class="fas fa-calculator is-size-5" style="margin-right:0.2rem;"></i>
<span class="is-hidden-desktop-only is-hidden-widescreen-only">Tools</span>
</a>
<div class="navbar-dropdown">
<a href="/my/masteryPass" class="navbar-item" v-bind:class="currentPage === pageMasteryPass ? 'bold' : ''" @click.prevent="loadPage(pageMasteryPass);">
<img src="/images/mastery.png" style="margin-right:0.5rem; width:2rem;" />
Mastery pass
</a>
<a href="/my/draftsBeforeBoosters" class="navbar-item" v-bind:class="currentPage === pageDraftBeforeBoosters ? 'bold' : ''" @click.prevent="loadPage(pageDraftBeforeBoosters);">
<i class="fas fa-traffic-light" style="font-size:1.1rem; margin-right:0.6rem;"></i>
Drafts vs boosters
</a>
<!--<a href="/missingJumpstart" class="navbar-item" v-bind:class="currentPage === pageMissingJumpstart ? 'bold' : ''" @click.prevent="if (modelJumpstartMissing.length === 0) { getMissingJumpstart(); } loadPage(pageMissingJumpstart);">
<i class="ss ss-grad ss-2x white-stroke ss-jmp ss-mythic" style="margin-right:0.4rem;"></i>
Missing Jumpstart cards
</a>-->
</div>
</div>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
<i class="fas fa-cog is-size-4" style="margin-right:0.2rem;"></i>
</a>
<div class="navbar-dropdown">
<a v-if="modelAccount.isAuthenticated" href="/profile" class="navbar-item" v-bind:class="currentPage === pageProfile ? 'bold' : ''" @click.prevent="loadPage(pageProfile);">
<i class="fas fa-user-cog" style="margin-right:0.5rem; width:1rem;"></i>
Profile
</a>
<a href="/lands" class="navbar-item" v-bind:class="currentPage === pageLands ? 'bold' : ''" @click.prevent="loadLandsIfNeeded">
<img src="https://img.scryfall.com/cards/border_crop/front/0/2/023d333b-14f2-40ad-bb76-8b9e38040f89.jpg?1562730596" style="margin-right:0.5rem; width:1rem;" />
Lands
</a>
<a v-if="modelAccount.isAuthenticated" href="/my/draftRatings" class="navbar-item" v-bind:class="currentPage === pageCustomDraftRatings ? 'bold' : ''" @click.prevent="if (modelCustomDraftRatings.length === 0) { getCustomDraftRatings(); } loadPage(pageCustomDraftRatings);">
<i class="fas fa-list-ol" style="margin-right:0.5rem; width:1rem;"></i>
Draft ratings
</a>
</div>
</div>
<div v-if="modelAccount.isAuthenticated" class="navbar-item">
<div class="buttons">
<form action="/api/Account/Signout" method="post">
<button class="button" type="submit">Sign-out</button>
</form>
</div>
</div>
<div v-else class="navbar-item is-hidden-touch">
<a class="button tooltip is-tooltip-left" v-on:click="showModalLogin = true" data-tooltip="You are anonymous, sign-in to keep a history of your data.">
Sign-in
<i class="fas fa-sign-in-alt" style="margin-left:0.5rem;"></i>
</a>
</div>
</div>
</div>
</nav>
<!--<nav class="navbar is-fixed-top" role="navigation" aria-label="Secondary navigation">
<div class="navbar-brand">
Test
</div>
</nav>-->
<div style="margin-top:55px;">
<div v-if="modelUser.isSupporter === false && dhTopAd && modelUser.nbLogin >= 5" class="columns is-size-7 is-vcentered is-gapless is-marginless">
<div style="padding:1rem !important;" class="column has-text-centered">
<a href="https://paypal.me/mtgahelper" target="_blank">
<img src="https://www.paypalobjects.com/webstatic/icon/pp32.png" style="height:1.2rem;" />
</a>
<a href="https://www.patreon.com/mtgahelper" target="_blank" style="color:#f96854 !important;">
<img src="https://c5.patreon.com/external/favicon/favicon-32x32.png?v=69kMELnXkB" style="height:1rem;" alt="Patreon" />
<span style="line-height:2rem;">Please consider supporting this project for keeping it ad-free</span>
</a>
<i class="fas fa-heart" style="color:#bf0000;"></i>
<span>Check out <a href="/articles/SupporterPerks" @click.prevent="modelArticleSelected = modelArticles.filter((i) => i.id === 'SupporterPerks')[0]; loadPage(pageArticleSelected, true, 'SupporterPerks');">this article</a> for more details</span>
<button class="delete" v-on:click="hideDH()"></button>
</div>
</div>
<template v-if="modelUser.collection.cards.length === 0 && isLoadingData('collectionGet') === false && isPagePublic === false">
<div class="hero herobg1 is-info">
<div class="hero-body">
<h2 class="title is-2" style="text-shadow: 4px 4px 10px #000000;">
MTGAHelper — The ultimate collection tracker for Magic: The Gathering Arena
</h2>
<div style="margin-left:4rem;">
<a class="button" href="https://www.mtgahelper.com/download/MTGAHelperTracker.msi">Start by installing the Tracker</a>
<br />
<span style="text-shadow: 4px 4px 10px #000000;">
Please read the <a style="color:aquamarine;" href="https://joestradingpost.weebly.com/blahg/mtgahelper-installation" target="_blank">installation guide</a> if you have any problems running the program
<br />
or <a style="color:aquamarine;" href="https://discord.gg/GTd3RMd" target="_blank">join the Discord server</a> to have a chat and get help!
</span>
</div>
</div>
</div>
<div class="hero is-primary hero2bg" style="margin-bottom:1rem;">
<div class="hero-body" style="text-shadow: 1px 1px 20px #000000;">
<template v-if="currentPage === pageMasteryPass">
<h4 class="title is-4 is-marginless">
Using the MTGAHelper tracker, determine your final mastery level automatically
</h4>
</template>
<template v-else-if="currentPage === pageDraftBeforeBoosters">
<h4 class="title is-4 is-marginless">
Using the MTGAHelper tracker, know exactly how many drafts to complete before opening your boosters
</h4>
</template>
<template v-else>
<h4 class="title is-4">
Optimize your deckbuilding experience — Never waste another wildcard.
</h4>
<h4 class="subtitle is-4">
Grow your collection more efficiently by having a perfect picture of
<a onclick="vueApp.loadPage(pageDashboardSummary);" style="color:aquamarine;">
which packs to open
</a>
and
<a onclick="vueApp.loadPage(pageDashboardDetails);" style="color:aquamarine; display: inline-block;">
which cards to craft
</a>.
</h4>
<h5 class="subtitle is-5" style="margin-bottom:0;">
Upload your collection and
<a onclick="vueApp.loadPage(pageScrapers);" style="color:aquamarine;">
start tracking your favorite decks
</a>
!
</h5>
</template>
</div>
</div>
</template>
<div v-if="currentPage === pageHome">
<h4 class="title is-4">
Welcome to MTGAHelper — The most complete resource hub for Magic: The Gathering Arena!
</h4>
<h4 class="title is-4">
Get your Magic Arena decks ideas here.
</h4>
<p>
You will find here all the most important resources and information about Magic: The Gathering Arena, curated and grouped in one place.
</p>
<p>
Here are the most interesting features, among others:
<ul>
<li>
Collection tracker: By uploading your collection, you get access to a whole new level of insight. Select your tracked decks and
<ul>
<li>Know which packs to prioritize opening in order to complete your tracked decks</li>
<li>Know which cards to craft to progress the most towards the completion of your tracked decks</li>
<li>Identify which decks you are closest to complete</li>
</ul>
</li>
<li>
Discover all the Magic Arena decks you can play
</li>
<li>
Always know about the latest meta
</li>
</ul>
</p>
</div>
<div v-else-if="currentPage === pageNews">
<h4 class="title is-4">
Always stay updated on Magic: The Gathering Arena
</h4>
<!--<h5 class="subtitle is-5">
Choose which sources of news to follow and stay updated in the glimpse of an eye
</h5>-->
<div class="columns is-multiline">
<div class="column is-one-quarter" v-for="news in modelNews">
<div class="box" v-bind:class="news.type.replace(/ /g, '')">
<article>
<div>
<h6 class="title is-6">
{{news.type}}
</h6>
<a v-bind:href="news.url" target="_blank">
<img v-bind:src="news.imageUrl">
</a>
</div>
<div class="media-content">
<div class="content">
<h6 class="title is-6">
<a v-bind:href="news.url" target="_blank">
{{news.title}}
</a>
</h6>
<p>
<a v-bind:href="news.url" target="_blank">
{{news.description}}
</a>
</p>
<h7 class="subtitle is-7" style="margin-bottom:0;">{{moment(news.datePosted).fromNow()}}</h7>
</div>
</div>
</article>
</div>
</div>
</div>
</div>
<!--<div v-else-if="currentPage === pageStreams">
<h4 class="title is-4">
Streams
</h4>
Coming up
</div>-->
<div v-else-if="currentPage === pageArticles">
<h4 class="title is-4">
Some useful readings for players of Magic: The Gathering Arena
</h4>
<div class="columns is-multiline">
<div class="column is-2">
<div class="box">
<article>
<div>
<a href="https://joestradingpost.weebly.com/blog/mtgahelper-installation" target="_blank">
<img src="https://img.scryfall.com/cards/art_crop/front/9/e/9ea40438-90ca-47ff-9805-df130d47ae48.jpg?1562820939">
</a>
</div>
<div class="media-content">
<div class="content">
<h6 class="title is-6">
<a href="https://joestradingpost.weebly.com/blog/mtgahelper-installation" target="_blank">
MTGAHelper Installation Guide
</a>
</h6>
<p>
<a href="https://joestradingpost.weebly.com/blog/mtgahelper-installation" target="_blank">
Confused about how to install the MTGAHelper tracker? Read this handy guide!
</a>
</p>
</div>
</div>
</article>
</div>
</div>
<div class="column is-2">
<div class="box">
<article>
<div>
<a href="https://www.patreon.com/posts/how-to-make-best-29075781" target="_blank">
<img src="https://img.scryfall.com/cards/art_crop/front/8/2/821cd2dd-aa03-4c55-b9e4-98e0284889d3.jpg?1578670581">
</a>
</div>
<div class="media-content">
<div class="content">
<h6 class="title is-6">
<a href="https://www.patreon.com/posts/how-to-make-best-29075781" target="_blank">
How to make best usage of MTGAHelper
</a>
</h6>
<p>
<a href="https://www.patreon.com/posts/how-to-make-best-29075781" target="_blank">
Read this short post to learn more about how all the tools available here are connected together
</a>
</p>
</div>
</div>
</article>
</div>
</div>
<div class="column is-2">
<div class="box">
<article>
<div>
<a href="https://www.patreon.com/posts/mtgahelper-deck-41528547" target="_blank">
<img src="https://c1.scryfall.com/file/scryfall-cards/art_crop/front/1/e/1ee86efa-248e-4251-b734-f8ad3e8a0344.jpg?1562732370">
</a>
</div>
<div class="media-content">
<div class="content">
<h6 class="title is-6">
<a href="https://www.patreon.com/posts/mtgahelper-deck-41528547" target="_blank">
MTGAHelper Deck Analysis (Advanced stats)
</a>
</h6>
<p>
<a href="https://www.patreon.com/posts/mtgahelper-deck-41528547" target="_blank">
Learn about a very powerful feature that often gets overlooked on the MTGA Decks page: <strong>Advanced stats</strong>
</a>
</p>
</div>
</div>
</article>
</div>
</div>
<div class="column is-2" v-for="article in modelArticles">
<div class="box">
<article>
<div>
<a v-bind:href="'/articles/' + article.id" @click.prevent="modelArticleSelected = article; loadPage(pageArticleSelected, true, article.id);">
<img v-bind:src="article.imageUrl">
</a>
</div>
<div class="media-content">
<div class="content">
<h6 class="title is-6">
<a v-bind:href="'/articles/' + article.id" @click.prevent="modelArticleSelected = article; loadPage(pageArticleSelected, true, article.id);">
{{article.title}}
</a>
</h6>
<p>
<a v-bind:href="'/articles/' + article.id" @click.prevent="modelArticleSelected = article; loadPage(pageArticleSelected, true, article.id);">
{{article.description}}
</a>
</p>
</div>
</div>
</article>
</div>
</div>
</div>
<div class="columns is-multiline">
<div class="column is-2">
<div class="box">
<article>
<div>
<a href="https://joestradingpost.weebly.com/blahg/arena-collection-drafting-how-to-thb" target="_blank">
<img src="https://img.scryfall.com/cards/art_crop/front/7/2/726e8b29-13e9-4138-b6a9-d2a0d8188d1c.jpg?1578533240">
</a>
</div>
<div class="media-content">
<div class="content">
<h6 class="title is-6">
<a href="https://joestradingpost.weebly.com/blahg/arena-collection-drafting-how-to-thb" target="_blank">
Arena Collection Drafting - How To
</a>
</h6>
<p>
<a href="https://joestradingpost.weebly.com/blahg/arena-collection-drafting-how-to-thb" target="_blank">
Read about how to build a large collection for your constructed needs through an optimal system!
</a>
</p>
</div>
</div>
</article>
</div>
</div>
<div class="column is-2">
<div class="box">
<article>
<div>
<a href="https://joestradingpost.weebly.com/mtg-arena.html" target="_blank">
<img src="https://img.scryfall.com/cards/art_crop/front/3/7/37ed04d3-cfa1-4778-aea6-b4c2c29e6e0a.jpg?1559959382">
</a>
</div>
<div class="media-content">
<div class="content">
<h6 class="title is-6">
<a href="https://joestradingpost.weebly.com/mtg-arena.html" target="_blank">
Arena Finance
</a>
</h6>
<p>
<a href="https://joestradingpost.weebly.com/mtg-arena.html" target="_blank">
A collection of insightful articles about MTGA Economics
</a>
</p>
</div>
</div>
</article>
</div>
</div>
</div>
</div>
<div v-else-if="currentPage === pageArticleSelected">
<div class="columns">
<div class="column is-one-quarter">
<img v-bind:src="modelArticleSelected.imageUrl">
</div>
<div class="column is-two-thirds-fullhd is-three-quarters-until-fullhd" style="background:#161712;">
<h2 class="title is-2">
{{modelArticleSelected.title}}
</h2>
<div v-html="modelArticleSelected.text"></div>
</div>
</div>
</div>
<div v-else-if="currentPage === pageMeta">
<h4 class="title is-4">
Meta
</h4>
Coming up
</div>
<div v-else-if="currentPage === pageCalendar" class="is-size-4">
<h2 class="title is-2" style="margin:1rem 0;">
MTGA Events Calendar
</h2>
<table class="table is-striped">
<tbody>
<tr v-for="i in modelCalendar">
<td class="is-paddingless">
<img v-bind:src="i.image" style="height:4rem;" />
</td>
<td>
{{i.title}}
</td>
<td>
{{i.dateRange}}
</td>
</tr>
</tbody>
</table>
</div>
<div v-else-if="currentPage === pageDecks">
<h4 class="title is-4">
{{modelDecks.totalDecks}} decks
</h4>
<div v-if="isNotificationActive('tipDecksTrackedLink')" class="notification">
<button class="delete" v-on:click="stopNotification('tipDecksTrackedLink')"></button>