@flesh-and-blood/types
Version:
TypeScript representations of Flesh and Blood card types
2 lines (1 loc) • 38.5 kB
JavaScript
var R=Object.defineProperty,me=Object.defineProperties,fe=Object.getOwnPropertyDescriptor,ye=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertyNames,O=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable;var N=(a,r,i)=>r in a?R(a,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[r]=i,J=(a,r)=>{for(var i in r||(r={}))V.call(r,i)&&N(a,i,r[i]);if(O)for(var i of O(r))Te.call(r,i)&&N(a,i,r[i]);return a},H=(a,r)=>me(a,ye(r));var Re=(a,r)=>{for(var i in r)R(a,i,{get:r[i],enumerable:!0})},ze=(a,r,i,c)=>{if(r&&typeof r=="object"||typeof r=="function")for(let g of Ae(r))!V.call(a,g)&&g!==i&&R(a,g,{get:()=>r[g],enumerable:!(c=fe(r,g))||c.enumerable});return a};var Ie=a=>ze(R({},"__esModule",{value:!0}),a);var _e={};Re(_e,{Bond:()=>K,Class:()=>X,Flow:()=>U,Foiling:()=>j,Format:()=>Y,Fusion:()=>Q,Hero:()=>te,Keyword:()=>ie,Language:()=>oe,Meta:()=>_,Metatype:()=>se,Rarity:()=>$,Release:()=>q,ReleaseEdition:()=>w,ReleaseType:()=>ge,Subtype:()=>ne,Talent:()=>ee,Trait:()=>ae,Treatment:()=>Z,Type:()=>re,coreSetIdentifiers:()=>We,fullSetIdentifiers:()=>I,getCanAddToDeck:()=>Ce,getCanCardBeTokenForDeck:()=>Pe,getCardIdentifier:()=>Ee,getDefaultPrinting:()=>$e,getIsArenaCard:()=>le,getIsBooster:()=>Ge,getIsCardTokenForDeck:()=>z,getIsDeckCard:()=>E,getIsDraftable:()=>xe,getIsPreconstructed:()=>Me,getIsReprint:()=>Se,getPrint:()=>Ze,getShouldRotateCardImage:()=>Fe,getSpecialPrinting:()=>Ye,orderedFullSetBlackBorderIdentifiers:()=>Xe,promoSetIdentifiers:()=>Ne,releases:()=>Ve,setIdentifierToSetMappings:()=>de,setToSetIdentifierMappings:()=>Je,supplementalSetIdentifiers:()=>Oe});module.exports=Ie(_e);var j=(c=>(c.C="Cold",c.G="Gold",c.R="Rainbow",c))(j||{}),Z=(l=>(l.AB="Alternate Border",l.AA="Alternate Art",l.AT="Alternate Text",l.EA="Extended Art",l.FA="Full Art",l))(Z||{}),X=(d=>(d.NotClassed="NotClassed",d.Generic="Generic",d.Adjudicator="Adjudicator",d.Assassin="Assassin",d.Bard="Bard",d.Brute="Brute",d.Guardian="Guardian",d.Illusionist="Illusionist",d.Mechanologist="Mechanologist",d.Merchant="Merchant",d.Necromancer="Necromancer",d.Ninja="Ninja",d.Pirate="Pirate",d.Ranger="Ranger",d.Runeblade="Runeblade",d.Shapeshifter="Shapeshifter",d.Warrior="Warrior",d.Wizard="Wizard",d))(X||{}),K=(r=>(r.Earth="Earth",r))(K||{}),U=(r=>(r.Lightning="Lightning",r))(U||{}),Y=(t=>(t.Blitz="Blitz",t.BlitzLivingLegend="Blitz (Living Legend)",t.Clash="Clash",t.ClassicConstructed="Classic Constructed",t.ClassicConstructedLivingLegend="Classic Constructed (Living Legend)",t.Commoner="Commoner",t.Draft="Draft",t.Open="Open",t.Sealed="Sealed",t.UltimatePitFight="Ultimate Pit Fight",t))(Y||{}),Q=(c=>(c.Earth="Earth",c.Ice="Ice",c.Lightning="Lightning",c))(Q||{}),$=(t=>(t.Basic="Basic",t.Token="Token",t.Common="Common",t.Rare="Rare",t.SuperRare="Super Rare",t.Majestic="Majestic",t.Marvel="Marvel",t.Legendary="Legendary",t.Fabled="Fabled",t.Promo="Promo",t))($||{}),_=(i=>(i.Expansion="Expansion slot",i.Rainbow="Rainbow",i))(_||{}),q=(e=>(e.ArcaneRising="Arcane Rising",e.BrightLights="Bright Lights",e.CrucibleOfWar="Crucible of War",e.DuskTillDawn="Dusk till Dawn",e.Dynasty="Dynasty",e.Everfest="Everfest",e.HeavyHitters="Heavy Hitters",e.HighSeas="High Seas",e.HistoryPack1="History Pack 1",e.Monarch="Monarch",e.Outsiders="Outsiders",e.PartTheMistveil="Part the Mistveil",e.Rosetta="Rosetta",e.TalesOfAria="Tales of Aria",e.TheHunted="The Hunted",e.Uprising="Uprising",e.WelcomeToRathe="Welcome to Rathe",e.ArmoryDeckAurora="Armory Deck: Aurora",e.ArmoryDeckAzalea="Armory Deck: Azalea",e.ArmoryDeckBoltyn="Armory Deck: Boltyn",e.ArmoryDeckDash="Armory Deck: Dash",e.ArmoryDeckGravyBones="Armory Deck: Gravy Bones",e.ArmoryDeckKayo="Armory Deck: Kayo",e.ArmoryDeckMaxx="Armory Deck: Maxx",e.ArmoryDeckOriginsJarl="Armory Deck Origins: Jarl",e.ArakniBlitzDeck="Arakni Blitz Deck",e.ArakniBlitzDeckARK="Arakni Hunted Blitz Deck",e.AuroraBlitzDeck="Aurora Blitz Deck",e.AzaleaBlitzDeck="Azalea Blitz Deck",e.BenjiBlitzDeck="Benji Blitz Deck",e.BetsyBlitzDeck="Betsy Blitz Deck",e.BoltynBlitzDeck="Boltyn Blitz Deck",e.BriarBlitzDeck="Briar Blitz Deck",e.ChaneBlitzDeck="Chane Blitz Deck",e.DromaiBlitzDeck="Dromai Blitz Deck",e.EnigmaBlitzDeck="Enigma Blitz Deck",e.FaiBlitzDeck="Fai Blitz Deck",e.FlorianBlitzDeck="Florian Blitz Deck",e.KassaiBlitzDeck="Kassai Blitz Deck",e.KatsuBlitzDeck="Katsu Blitz Deck",e.KayoBlitzDeck="Kayo Blitz Deck",e.LeviaBlitzDeck="Levia Blitz Deck",e.LexiBlitzDeck="Lexi Blitz Deck",e.NuuBlitzDeck="Nuu Blitz Deck",e.OldhimBlitzDeck="Oldhim Blitz Deck",e.OlympiaBlitzDeck="Olympia Blitz Deck",e.OscilioBlitzDeck="Oscilio Blitz Deck",e.PrismBlitzDeck="Prism Blitz Deck",e.RhinarBlitzDeck="Rhinar Blitz Deck",e.RiptideBlitzDeck="Riptide Blitz Deck",e.UzuriBlitzDeck="Uzuri Blitz Deck",e.VerdanceBlitzDeck="Verdance Blitz Deck",e.VictorBlitzDeck="Victor Blitz Deck",e.ZenBlitzDeck="Zen Blitz Deck",e.FirstStrikeAurora="1st Strike: Aurora",e.FirstStrikeTerra="1st Strike: Terra",e.BravoHeroDeck="Bravo Hero Deck",e.DorintheaHeroDeck="Dorinthea Hero Deck",e.KatsuHeroDeck="Katsu Hero Deck",e.RhinarHeroDeck="Rhinar Hero Deck",e.ClassicBattlesRhinarDorinthea="Classic Battles: Rhinar vs Dorinthea",e.IraWelcomeDeck="Ira Welcome Deck",e.RoundTheTable="Round the Table: TCC x LSS",e.GEM="GEM",e.Promos="Promos",e))(q||{}),w=(g=>(g.Alpha="Alpha",g.First="First",g.Unlimited="Unlimited",g.Promo="Promo",g))(w||{}),ee=(t=>(t.Chaos="Chaos",t.Draconic="Draconic",t.Earth="Earth",t.Elemental="Elemental",t.Ice="Ice",t.Light="Light",t.Lightning="Lightning",t.Mystic="Mystic",t.Royal="Royal",t.Shadow="Shadow",t))(ee||{}),ae=(r=>(r.AgentOfChaos="Agent of Chaos",r))(ae||{}),se=(c=>(c.Arakni="Arakni",c.HighSeas="High Seas",c.Rosetta="Rosetta",c))(se||{}),re=(h=>(h.Action="Action",h.AttackReaction="Attack Reaction",h.Block="Block",h.DefenseReaction="Defense Reaction",h.DemiHero="Demi-Hero",h.Equipment="Equipment",h.Hero="Hero",h.Instant="Instant",h.Macro="Macro",h.Mentor="Mentor",h.Resource="Resource",h.Token="Token",h.Weapon="Weapon",h))(re||{}),ne=(n=>(n.OneHanded="1H",n.TwoHanded="2H",n.Affliction="Affliction",n.Ally="Ally",n.Angel="Angel",n.Arms="Arms",n.Arrow="Arrow",n.Ash="Ash",n.Attack="Attack",n.Aura="Aura",n.Axe="Axe",n.Base="Base",n.Book="Book",n.Bow="Bow",n.Chest="Chest",n.Chi="Chi",n.Claw="Claw",n.Club="Club",n.Construct="Construct",n.Dagger="Dagger",n.Demon="Demon",n.Dragon="Dragon",n.Evo="Evo",n.Fiddle="Fiddle",n.Figment="Figment",n.Flail="Flail",n.Gem="Gem",n.Gun="Gun",n.Hammer="Hammer",n.Head="Head",n.Invocation="Invocation",n.Item="Item",n.Landmark="Landmark",n.Lute="Lute",n.Legs="Legs",n.NonAttack="Non-Attack",n.OffHand="Off-Hand",n.Orb="Orb",n.Pistol="Pistol",n.Polearm="Polearm",n.Quiver="Quiver",n.Rock="Rock",n.Shuriken="Shuriken",n.Scepter="Scepter",n.Scroll="Scroll",n.Scythe="Scythe",n.Song="Song",n.Staff="Staff",n.Sword="Sword",n.Trap="Trap",n.Wrench="Wrench",n.Young="Young",n))(ne||{}),te=(e=>(e.Arakni="Arakni",e.Aurora="Aurora",e.Azalea="Azalea",e.Benji="Benji",e.Betsy="Betsy",e.Blaze="Blaze",e.Boltyn="Boltyn",e.Bravo="Bravo",e.Brevant="Brevant",e.Briar="Briar",e.Brutus="Brutus",e.Chane="Chane",e.Cindra="Cindra",e.Crackni="Crackni",e.Dash="Dash",e.DataDoll="Data Doll",e.Dorinthea="Dorinthea",e.Dromai="Dromai",e.Emperor="Emperor",e.Enigma="Enigma",e.Fai="Fai",e.Fang="Fang",e.Florian="Florian",e.Genis="Genis",e.GravyBones="Gravy Bones",e.Ira="Ira",e.Iyslander="Iyslander",e.Jarl="Jarl",e.Kano="Kano",e.Kassai="Kassai",e.Katsu="Katsu",e.Kavdaen="Kavdaen",e.Kayo="Kayo",e.Levia="Levia",e.Lexi="Lexi",e.Marlynn="Marlynn",e.Maxx="Maxx",e.Melody="Melody",e.Nuu="Nuu",e.Oldhim="Oldhim",e.Olympia="Olympia",e.Oscilio="Oscilio",e.Prism="Prism",e.Puffin="Puffin",e.Rhinar="Rhinar",e.Riptide="Riptide",e.Ruudi="Ruu'di",e.Shiyana="Shiyana",e.Slippy="Slippy",e.Squizzy="Squizzy",e.Starvo="Starvo",e.Taipanis="Taipanis",e.Taylor="Taylor",e.Teklovossen="Teklovossen",e.Terra="Terra",e.Theryon="Theryon",e.Uzuri="Uzuri",e.Valda="Valda",e.Verdance="Verdance",e.Victor="Victor",e.Vynnset="Vynnset",e.Viserai="Viserai",e.Yorick="Yorick",e.Yoji="Yoji",e.Zen="Zen",e))(te||{}),ie=(s=>(s.Ambush="Ambush",s.Amp="Amp",s.ArcaneBarrier="Arcane Barrier",s.ArcaneShelter="Arcane Shelter",s.Awaken="Awaken",s.Battleworn="Battleworn",s.BeatChest="Beat Chest",s.BladeBreak="Blade Break",s.BloodDebt="Blood Debt",s.Boost="Boost",s.Bond="Bond",s.Channel="Channel",s.Charge="Charge",s.Clash="Clash",s.Cloaked="Cloaked",s.Combo="Combo",s.Contract="Contract",s.Crank="Crank",s.Crush="Crush",s.Decompose="Decompose",s.Dominate="Dominate",s.Ephemeral="Ephemeral",s.Essence="Essence",s.EvoUpgrade="Evo Upgrade",s.Flow="Flow",s.Freeze="Freeze",s.Fusion="Fusion",s.Galvanize="Galvanize",s.GoAgain="Go again",s.GoFish="Go Fish",s.Guardwell="Guardwell",s.Heave="Heave",s.Heavy="Heavy",s.Intimidate="Intimidate",s.Legendary="Legendary",s.Mark="Mark",s.Material="Material",s.Meld="Meld",s.Modular="Modular",s.Mirage="Mirage",s.Negate="Negate",s.Opt="Opt",s.Overpower="Overpower",s.Pairs="Pairs",s.Piercing="Piercing",s.Phantasm="Phantasm",s.Protect="Protect",s.Quell="Quell",s.Reload="Reload",s.Reprise="Reprise",s.Retrieve="Retrieve",s.RuneGate="Rune Gate",s.Rupture="Rupture",s.Scrap="Scrap",s.Solflare="Solflare",s.Specialization="Specialization",s.Spectra="Spectra",s.Spellvoid="Spellvoid",s.Stealth="Stealth",s.Surge="Surge",s.Temper="Temper",s.Tower="Tower",s.Transform="Transform",s.Transcend="Transcend",s.Universal="Universal",s.Unfreeze="Unfreeze",s.Unity="Unity",s.Wager="Wager",s.Ward="Ward",s.WateryGrave="Watery Grave",s))(ie||{});var Ee=(a,r)=>{let{name:i,pitch:c}=a,g=i.trim().toLowerCase().replace("//","-").normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").replace(/ /g,"-").replace("\xF0","d").replace("\u0111","d").replace("\xED","i").replace(/[^a-z0-9 -]/g,"").replace(/--/,"-"),l="";switch(c){case"1":case 1:l=r?"-1":"-red";break;case"2":case 2:l=r?"-2":"-yellow";break;case"3":case 3:l=r?"-3":"-blue";break}return`${g}${l}`},le=({keywords:a,traits:r,types:i})=>{let c=E({keywords:a,traits:r,types:i}),g=z({keywords:a,traits:r,types:i}),l=["Demi-Hero","Equipment","Weapon"].some(o=>i.includes(o));return!c&&!g&&l},E=({keywords:a,traits:r,types:i})=>{let c=["Action","Attack Reaction","Block","Defense Reaction","Instant","Mentor","Resource"].some(l=>i.includes(l)),g=z({keywords:a,traits:r,types:i});return c&&!g},z=({keywords:a,traits:r,types:i})=>{let c=!!r&&(r==null?void 0:r.includes("Agent of Chaos")),g=!!a&&a.includes("Ephemeral"),l=["Macro","Token"].some(o=>i.includes(o));return c||g||l},Pe=a=>{let r=a.cardIdentifier==="cracked-bauble-yellow",i=z(a),c=a.isCardBack&&a.cardIdentifier!=="inner-chi-blue";return r||i||c},Ce=({isCardBack:a,keywords:r,traits:i,types:c})=>{let g=le({keywords:r,traits:i,types:c}),l=E({keywords:r,traits:i,types:c});return!a&&(g||l)},Fe=a=>{var g,l,o;let r=(g=a.keywords)==null?void 0:g.includes("Meld"),c=!((l=a.types)==null?void 0:l.includes("Macro"))&&((o=a.subtypes)==null?void 0:o.includes("Landmark"));return r||c};var oe=(o=>(o.English="English",o.French="Fran\xE7ais",o.German="Deutsch",o.Italian="Italiano",o.Japanese="\u65E5\u672C\u8A9E",o.Spanish="Espa\xF1ol",o))(oe||{}),y=["English","Fran\xE7ais","Deutsch","Italiano","\u65E5\u672C\u8A9E","Espa\xF1ol"],ce=["English","Fran\xE7ais","\u65E5\u672C\u8A9E"],ge=(t=>(t.ArmoryDeck="Armory Deck",t.BlitzDeck="Blitz Deck",t.ClassicBattles="Classic Battles",t.ExpansionBooster="Expansion Booster",t.FirstStrike="1st Strike",t.HistoryPack="History Pack",t.MasteryPack="Mastery Pack",t.RoundTheTable="Round the Table",t.StandaloneBooster="Standalone Booster",t.WelcomeDeck="Welcome Deck",t))(ge||{}),ve=["Expansion Booster","Standalone Booster"],Ge=a=>ve.includes(a),Se=a=>a==="History Pack",xe=a=>a==="Standalone Booster",be=["Armory Deck","Blitz Deck","Classic Battles","1st Strike","Round the Table","Welcome Deck"],Me=a=>be.includes(a),We={wtr:"Welcome to Rathe",arc:"Arcane Rising",mon:"Monarch",ele:"Tales of Aria",upr:"Uprising",out:"Outsiders",evo:"Bright Lights",hvy:"Heavy Hitters",mst:"Part the Mistveil",ros:"Rosetta"},Oe={cru:"Crucible of War",evr:"Everfest","1hp":"History Pack 1",hp1:"History Pack 1",dyn:"Dynasty",dtd:"Dusk till Dawn"},Ne=["fab","her","jdg","lgs","lss","oxo","xxx","win"],Ve=[{cards:30,classes:["Ninja"],deckLinks:[{url:"https://fabrary.net/decks/01GJG7Z4WGWSZ95FY74KX4M557"}],heroes:["Ira"],languages:y,release:"Ira Welcome Deck",relatedReleases:[],releaseDate:"2019-08-31 12:00",releaseType:"Welcome Deck",setIdentifiers:["ira"],talents:[]},{cards:226,classes:["Brute","Guardian","Ninja","Warrior"],deckLinks:[],draft:{heroIdentifiers:["bravo","dorinthea","katsu","rhinar"],picksPerPack:15},heroes:["Bravo","Dorinthea","Katsu","Rhinar"],languages:["English"],release:"Welcome to Rathe",relatedReleases:[],releaseDate:"2019-10-11 12:00",releaseType:"Standalone Booster",setIdentifiers:["wtr"],talents:[]},{cards:219,classes:["Mechanologist","Ranger","Runeblade","Wizard"],deckLinks:[],draft:{heroIdentifiers:["azalea","dash","kano","viserai"],picksPerPack:15},heroes:["Azalea","Dash","Kano","Viserai"],languages:["English"],release:"Arcane Rising",relatedReleases:[],releaseDate:"2020-03-27 12:00",releaseType:"Standalone Booster",setIdentifiers:["arc"],talents:[]},{cards:194,classes:["Brute","Guardian","Mechanologist","Merchant","Ninja","Ranger","Runeblade","Warrior","Wizard"],deckLinks:[],heroes:["Benji","Data Doll","Ira","Kassai","Kavdaen","Kayo","Shiyana"],languages:["English"],release:"Crucible of War",relatedReleases:[],releaseDate:"2020-08-28 12:00",releaseType:"Expansion Booster",setIdentifiers:["cru"],talents:[]},{cards:40,classes:["Warrior"],deckLinks:[{url:"https://fabrary.net/decks/01G7FD2B3YQAMR8NJ4B3M58H96"}],heroes:["Boltyn"],languages:["English"],release:"Boltyn Blitz Deck",relatedReleases:[],releaseDate:"2021-05-07 12:00",releaseType:"Blitz Deck",setIdentifiers:["bol"],talents:["Light"]},{cards:40,classes:["Runeblade"],deckLinks:[{url:"https://fabrary.net/decks/01G7FDVRZP35DFWBRK64AG5TKQ"}],heroes:["Chane"],languages:["English"],release:"Chane Blitz Deck",relatedReleases:[],releaseDate:"2021-05-07 12:00",releaseType:"Blitz Deck",setIdentifiers:["chn"],talents:["Shadow"]},{cards:40,classes:["Brute"],languages:["English"],deckLinks:[{url:"https://fabrary.net/decks/01G7B1T1D1M2DAM61K876VJBDK"}],heroes:["Levia"],release:"Levia Blitz Deck",relatedReleases:[],releaseDate:"2021-05-07 12:00",releaseType:"Blitz Deck",setIdentifiers:["lev"],talents:["Shadow"]},{cards:40,classes:["Illusionist"],deckLinks:[{url:"https://fabrary.net/decks/01G7FCP2N7N0MNHWAH6JTP0KFN"}],heroes:["Prism"],languages:["English"],relatedReleases:[],releaseDate:"2021-05-07 12:00",release:"Prism Blitz Deck",releaseType:"Blitz Deck",setIdentifiers:["psm"],talents:["Light"]},{cards:307,classes:["Brute","Illusionist","Runeblade","Warrior"],deckLinks:[],draft:{heroIdentifiers:["boltyn","chane","levia","prism"],picksPerPack:15},heroes:["Boltyn","Chane","Levia","Prism"],languages:["English"],release:"Monarch",relatedReleases:["Boltyn Blitz Deck","Chane Blitz Deck","Levia Blitz Deck","Prism Blitz Deck"],releaseDate:"2021-05-07 12:00",releaseType:"Standalone Booster",setIdentifiers:["mon"],talents:["Light","Shadow"]},{cards:40,classes:["Runeblade"],deckLinks:[{url:"https://fabrary.net/decks/01G7K4D304QQCZZSBT7ABCX4XC"}],heroes:["Briar"],languages:["English"],release:"Briar Blitz Deck",relatedReleases:[],releaseDate:"2021-11-24 12:00",releaseType:"Blitz Deck",talents:["Elemental","Earth","Lightning"],setIdentifiers:["bri"]},{cards:40,classes:["Ranger"],deckLinks:[{url:"https://fabrary.net/decks/01G7K3WGPVKVDXG2J013GXSXNP"}],heroes:["Lexi"],languages:["English"],release:"Lexi Blitz Deck",relatedReleases:[],releaseDate:"2021-11-24 12:00",releaseType:"Blitz Deck",setIdentifiers:["lxi"],talents:["Elemental","Ice","Lightning"]},{cards:40,classes:["Guardian"],deckLinks:[{url:"https://fabrary.net/decks/01G7K464J7VS0K7HKW5E395TBK"}],heroes:["Oldhim"],languages:["English"],release:"Oldhim Blitz Deck",relatedReleases:[],releaseDate:"2021-11-24 12:00",releaseType:"Blitz Deck",setIdentifiers:["old"],talents:["Elemental","Earth","Ice"]},{cards:238,classes:["Guardian","Ranger","Runeblade"],deckLinks:[],draft:{heroIdentifiers:["briar","lexi","oldhim"],picksPerPack:15},heroes:["Briar","Lexi","Oldhim"],languages:["English"],release:"Tales of Aria",relatedReleases:["Briar Blitz Deck","Lexi Blitz Deck","Oldhim Blitz Deck"],releaseDate:"2021-09-24 12:00",releaseType:"Standalone Booster",setIdentifiers:["ele"],talents:["Elemental","Earth","Ice","Lightning"]},{cards:198,classes:["Brute","Guardian","Illusionist","Mechanologist","Merchant","Ninja","Ranger","Runeblade","Warrior","Wizard"],deckLinks:[],heroes:["Genis","Starvo","Valda"],languages:["English"],release:"Everfest",relatedReleases:[],releaseDate:"2022-02-04 12:00",releaseType:"Expansion Booster",setIdentifiers:["evr"],talents:["Elemental","Earth","Ice","Lightning"]},{cards:423,classes:["Brute","Guardian","Mechanologist","Ninja","Ranger","Runeblade","Warrior","Wizard"],deckLinks:[],heroes:["Azalea","Benji","Bravo","Dash","Data Doll","Dorinthea","Ira","Kassai","Katsu","Kayo","Rhinar","Viserai","Kano"],languages:["English"],release:"History Pack 1",relatedReleases:[],releaseDate:"2022-05-06 12:00",releaseType:"History Pack",setIdentifiers:["1hp","hp1"],talents:[]},{cards:80,classes:["Brute","Warrior"],deckLinks:[{name:"Dorinthea",url:"https://fabrary.net/decks/01GA4WTNSD12YTQB4FY8EYYNG5"},{name:"Rhinar",url:"https://fabrary.net/decks/01GA4WZKX9VEWKKPX7Y7H3MG1F"}],heroes:["Dorinthea","Rhinar"],languages:["English"],release:"Classic Battles: Rhinar vs Dorinthea",relatedReleases:[],releaseDate:"2022-05-27 12:00",releaseType:"Classic Battles",setIdentifiers:["dvr","rvd"],talents:[]},{cards:40,classes:["Illusionist"],deckLinks:[{url:"https://fabrary.net/decks/01G76H1R1ERRBRKS7RVCQAB8RX"}],heroes:["Dromai"],languages:["English"],relatedReleases:[],releaseDate:"2022-06-24 12:00",release:"Dromai Blitz Deck",releaseType:"Blitz Deck",setIdentifiers:["dro"],talents:["Draconic"]},{cards:40,classes:["Ninja"],deckLinks:[{url:"https://fabrary.net/decks/01G76H7RG7GN5ZA10F3BJBH740"}],heroes:["Fai"],languages:["English"],release:"Fai Blitz Deck",relatedReleases:[],releaseDate:"2022-06-24 12:00",releaseType:"Blitz Deck",setIdentifiers:["fai"],talents:["Draconic"]},{cards:226,classes:["Illusionist","Ninja","Wizard"],deckLinks:[],draft:{heroIdentifiers:["dromai","fai","iyslander"],picksPerPack:14},heroes:["Dromai","Fai","Iyslander"],languages:["English"],release:"Uprising",relatedReleases:["Dromai Blitz Deck","Fai Blitz Deck"],releaseDate:"2022-06-24 12:00",releaseType:"Standalone Booster",setIdentifiers:["upr"],talents:["Draconic","Elemental","Ice"]},{cards:247,classes:["Assassin","Brute","Guardian","Illusionist","Mechanologist","Ninja","Ranger","Runeblade","Warrior","Wizard"],deckLinks:[],heroes:["Arakni","Emperor","Yoji"],languages:["English"],release:"Dynasty",relatedReleases:[],releaseDate:"2022-11-11 12:00",releaseType:"Expansion Booster",setIdentifiers:["dyn"],talents:["Royal"]},{cards:40,classes:["Assassin"],deckLinks:[{url:"https://fabrary.net/decks/01GW25PNWBW2FPDHRNTPSET0GT"}],heroes:["Arakni"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Arakni Blitz Deck",relatedReleases:[],releaseDate:"2023-03-24 12:00",releaseType:"Blitz Deck",setIdentifiers:["ara"],talents:[]},{cards:40,classes:["Ranger"],deckLinks:[{url:"https://fabrary.net/decks/01GW26RNH1Q1J0S1VFXPN609S2"}],heroes:["Azalea"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Azalea Blitz Deck",relatedReleases:[],releaseDate:"2023-03-24 12:00",releaseType:"Blitz Deck",setIdentifiers:["azl"],talents:[]},{cards:40,classes:["Ninja"],deckLinks:[{url:"https://fabrary.net/decks/01GW28622XSVAK7H9RXZVAVKM0"}],heroes:["Benji"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Benji Blitz Deck",relatedReleases:[],releaseDate:"2023-03-24 12:00",releaseType:"Blitz Deck",setIdentifiers:["ben"],talents:[]},{cards:40,classes:["Ninja"],deckLinks:[{url:"https://fabrary.net/decks/01GW28TF5FXFKJ5CGRNXB84CG6"}],heroes:["Katsu"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Katsu Blitz Deck",relatedReleases:[],releaseDate:"2023-03-24 12:00",releaseType:"Blitz Deck",setIdentifiers:["kat"],talents:[]},{cards:40,classes:["Ranger"],deckLinks:[{url:"https://fabrary.net/decks/01GW29DPNZ3XVBJQHHFQHHHDGN"}],heroes:["Riptide"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Riptide Blitz Deck",relatedReleases:[],releaseDate:"2023-03-24 12:00",releaseType:"Blitz Deck",setIdentifiers:["rip"],talents:[]},{cards:40,classes:["Assassin"],deckLinks:[{url:"https://fabrary.net/decks/01GW2945GHPH2YSX3FTS7HCBT1"}],heroes:["Uzuri"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Uzuri Blitz Deck",relatedReleases:[],releaseDate:"2023-03-24 12:00",releaseType:"Blitz Deck",setIdentifiers:["uzu"],talents:[]},{cards:239,classes:["Assassin","Ranger","Ninja"],deckLinks:[],draft:{heroIdentifiers:["arakni-solitary-confinement","azalea","benji-the-piercing-wind","katsu","riptide","uzuri"],picksPerPack:14},heroes:["Arakni","Azalea","Benji","Katsu","Riptide","Uzuri"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Outsiders",relatedReleases:["Arakni Blitz Deck","Azalea Blitz Deck","Benji Blitz Deck","Katsu Blitz Deck","Riptide Blitz Deck","Uzuri Blitz Deck"],releaseDate:"2023-03-24 12:00",releaseType:"Standalone Booster",setIdentifiers:["out"],talents:[]},{cards:236,classes:["Illusionist","Runeblade","Warrior","Brute"],deckLinks:[],heroes:["Prism","Vynnset","Boltyn","Levia"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Dusk till Dawn",relatedReleases:[],releaseDate:"2023-07-14 12:00",releaseType:"Expansion Booster",setIdentifiers:["dtd"],talents:["Light","Shadow"]},{cards:107,classes:["Mechanologist","Bard","Guardian","Ninja"],deckLinks:[{name:"Brevant",url:"https://fabrary.net/decks/01HAXKPFH7ZHPDEJZH967VNRW6"},{name:"Ira",url:"https://fabrary.net/decks/01HAXKZMTRN4FR7CFTQA11A70N"},{name:"Melody",url:"https://fabrary.net/decks/01HAXKSFPXGCEH99PDZJ32V4N9"},{name:"Teklovossen",url:"https://fabrary.net/decks/01HAXKZMTRN4FR7CFTQA11A70N"}],heroes:["Teklovossen","Melody","Brevant","Ira"],languages:["English"],release:"Round the Table: TCC x LSS",relatedReleases:[],releaseDate:"2023-09-29 12:00",releaseType:"Round the Table",talents:[],setIdentifiers:["tcc"]},{cards:251,classes:["Mechanologist"],deckLinks:[],draft:{heroIdentifiers:["dash-database","maxx-nitro","teklovossen"],picksPerPack:14},heroes:["Dash","Maxx","Teklovossen"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],raritiesExcludedInLimited:["Legendary","Fabled"],release:"Bright Lights",relatedReleases:[],releaseDate:"2023-10-06 12:00",releaseType:"Standalone Booster",setIdentifiers:["evo"],talents:[]},{cards:40,classes:["Guardian"],deckLinks:[{url:"https://fabrary.net/decks/01HN3J1X1NQ9TB9RTVWV42JG46"}],heroes:["Betsy"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Betsy Blitz Deck",relatedReleases:[],releaseDate:"2024-02-02 12:00",releaseType:"Blitz Deck",setIdentifiers:["bet"],talents:[]},{cards:40,classes:["Warrior"],deckLinks:[{url:"https://fabrary.net/decks/01HN3SHBEQBRECYK6ZN1CHRADR"}],heroes:["Kassai"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Kassai Blitz Deck",relatedReleases:[],releaseDate:"2024-02-02 12:00",releaseType:"Blitz Deck",setIdentifiers:["ksi"],talents:[]},{cards:40,classes:["Brute"],deckLinks:[{url:"https://fabrary.net/decks/01HN3HK89NA910SK3FQV84H46Z"}],heroes:["Kayo"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Kayo Blitz Deck",relatedReleases:[],releaseDate:"2024-02-02 12:00",releaseType:"Blitz Deck",setIdentifiers:["kyo"],talents:[]},{cards:40,classes:["Warrior"],deckLinks:[{url:"https://fabrary.net/decks/01HN3GP5ZJ1NRC0XBYNE45XQE8"}],heroes:["Olympia"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Olympia Blitz Deck",relatedReleases:[],releaseDate:"2024-02-02 12:00",releaseType:"Blitz Deck",setIdentifiers:["ola"],talents:[]},{cards:40,classes:["Brute"],deckLinks:[{url:"https://fabrary.net/decks/01HN3Q4GBDMEFSX98HEN9ET308"}],heroes:["Rhinar"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Rhinar Blitz Deck",relatedReleases:[],releaseDate:"2024-02-02 12:00",releaseType:"Blitz Deck",setIdentifiers:["rhi"],talents:[]},{cards:40,classes:["Guardian"],deckLinks:[{url:"https://fabrary.net/decks/01HN3K8ZV7KBRRJKPHW4B13J1K"}],heroes:["Victor"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],release:"Victor Blitz Deck",relatedReleases:[],releaseDate:"2024-02-02 12:00",releaseType:"Blitz Deck",setIdentifiers:["vic"],talents:[]},{cards:255,classes:["Brute","Guardian","Warrior"],deckLinks:[],draft:{heroIdentifiers:["kassai","betsy","kayo","olympia","rhinar","victor-goldmane"],picksPerPack:14},heroes:["Kassai","Betsy","Kayo","Olympia","Rhinar","Victor"],languages:["English","Fran\xE7ais","Deutsch","Italiano","Espa\xF1ol"],raritiesExcludedInLimited:["Legendary","Fabled"],release:"Heavy Hitters",relatedReleases:["Betsy Blitz Deck","Kassai Blitz Deck","Kayo Blitz Deck","Olympia Blitz Deck","Rhinar Blitz Deck","Victor Blitz Deck"],releaseDate:"2024-02-02 12:00",releaseType:"Standalone Booster",setIdentifiers:["hvy"],talents:[]},{cards:66,classes:["Brute"],deckLinks:[{url:"https://fabrary.net/decks/01HWNCK2BYPVKK6701052YYXMZ"}],heroes:["Kayo"],languages:["English","Fran\xE7ais","Italiano","\u65E5\u672C\u8A9E"],release:"Armory Deck: Kayo",relatedReleases:[],releaseDate:"2024-05-03 12:00",releaseType:"Armory Deck",setIdentifiers:["ako"],talents:[]},{cards:40,classes:["Illusionist"],deckLinks:[{url:"https://fabrary.net/decks/01HX5Z23X2PRQCJ100FP4CAZGK"}],heroes:["Enigma"],languages:["English","Fran\xE7ais","Deutsch","Italiano","\u65E5\u672C\u8A9E","Espa\xF1ol"],release:"Enigma Blitz Deck",relatedReleases:[],releaseDate:"2024-05-31 12:00",releaseType:"Blitz Deck",setIdentifiers:["eng"],talents:["Mystic"]},{cards:40,classes:["Assassin"],deckLinks:[{url:"https://fabrary.net/decks/01HX5Z4BD3TRMS3CP1ME4ZP3T6"}],heroes:["Nuu"],languages:["English","Fran\xE7ais","Deutsch","Italiano","\u65E5\u672C\u8A9E","Espa\xF1ol"],release:"Nuu Blitz Deck",relatedReleases:[],releaseDate:"2024-05-31 12:00",releaseType:"Blitz Deck",setIdentifiers:["nuu"],talents:["Mystic"]},{cards:40,classes:["Ninja"],deckLinks:[{url:"https://fabrary.net/decks/01HX5Z395FD35CM24QCJQKJER1"}],heroes:["Zen"],languages:["English","Fran\xE7ais","Deutsch","Italiano","\u65E5\u672C\u8A9E","Espa\xF1ol"],release:"Zen Blitz Deck",relatedReleases:[],releaseDate:"2024-05-31 12:00",releaseType:"Blitz Deck",setIdentifiers:["zen"],talents:["Mystic"]},{cards:239,classes:["Assassin","Illusionist","Ninja"],deckLinks:[],draft:{heroIdentifiers:["enigma","nuu","zen"],picksPerPack:14},heroes:["Enigma","Nuu","Zen"],languages:y,raritiesExcludedInLimited:["Legendary","Fabled"],release:"Part the Mistveil",relatedReleases:["Enigma Blitz Deck","Nuu Blitz Deck","Zen Blitz Deck"],releaseDate:"2024-05-31 12:00",releaseType:"Standalone Booster",setIdentifiers:["mst"],talents:["Mystic"]},{cards:66,classes:["Warrior"],deckLinks:[{url:"https://fabrary.net/decks/01J202NH0RG8S0V8WXH1FWB2AH"}],heroes:["Boltyn"],languages:["English","Fran\xE7ais","Italiano","\u65E5\u672C\u8A9E"],release:"Armory Deck: Boltyn",relatedReleases:[],releaseDate:"2024-07-12 12:00",releaseType:"Armory Deck",setIdentifiers:["asb"],talents:["Light"]},{cards:40,classes:["Runeblade"],deckLinks:[{url:"https://fabrary.net/decks/01J45SYSM2ZERW6CWY283ZAT1S"}],heroes:["Aurora"],languages:["English","Fran\xE7ais","Deutsch","Italiano","\u65E5\u672C\u8A9E","Espa\xF1ol"],release:"1st Strike: Aurora",relatedReleases:[],releaseDate:"2024-08-01 12:00",releaseType:"1st Strike",setIdentifiers:["aur"],talents:["Lightning"]},{cards:40,classes:["Guardian"],deckLinks:[{url:"https://fabrary.net/decks/01J45SWXNDV5XD8PTBACAV8NZ1"}],heroes:["Terra"],languages:["English","Fran\xE7ais","Deutsch","Italiano","\u65E5\u672C\u8A9E","Espa\xF1ol"],release:"1st Strike: Terra",relatedReleases:[],releaseDate:"2024-08-01 12:00",releaseType:"1st Strike",setIdentifiers:["ter"],talents:["Earth"]},{cards:66,classes:["Ranger"],deckLinks:[{url:"https://fabrary.net/decks/01J3GKKSTM773CW7BG3RRJ5FJH"}],heroes:["Azalea"],languages:["English","Fran\xE7ais","Italiano","\u65E5\u672C\u8A9E"],release:"Armory Deck: Azalea",relatedReleases:[],releaseDate:"2024-08-02 12:00",releaseType:"Armory Deck",setIdentifiers:["aaz"],talents:[]},{cards:40,classes:["Runeblade"],deckLinks:[{url:"https://fabrary.net/decks/01J68KF1TFNN62TC0G7M993FTY"}],heroes:["Aurora"],languages:["English","Fran\xE7ais","Deutsch","Italiano","\u65E5\u672C\u8A9E","Espa\xF1ol"],release:"Aurora Blitz Deck",relatedReleases:[],releaseDate:"2024-09-20 12:00",releaseType:"Blitz Deck",setIdentifiers:["aua"],talents:["Lightning"]},{cards:40,classes:["Runeblade"],deckLinks:[{url:"https://fabrary.net/decks/01J68KFRMJFKRQYJJ7THG1GMTB"}],heroes:["Florian"],languages:["English","Fran\xE7ais","Deutsch","Italiano","\u65E5\u672C\u8A9E","Espa\xF1ol"],release:"Florian Blitz Deck",relatedReleases:[],releaseDate:"2024-09-20 12:00",releaseType:"Blitz Deck",setIdentifiers:["flr"],talents:["Earth"]},{cards:40,classes:["Wizard"],deckLinks:[{url:"https://fabrary.net/decks/01J68KGA3JVKFHEXGKYW0441CY"}],heroes:["Oscilio"],languages:["English","Fran\xE7ais","Deutsch","Italiano","\u65E5\u672C\u8A9E","Espa\xF1ol"],release:"Oscilio Blitz Deck",relatedReleases:[],releaseDate:"2024-09-20 12:00",releaseType:"Blitz Deck",setIdentifiers:["osc"],talents:["Lightning"]},{cards:40,classes:["Wizard"],deckLinks:[{url:"https://fabrary.net/decks/01J68KGT3XD3HMVVRFT174QNMF"}],heroes:["Verdance"],languages:["English","Fran\xE7ais","Deutsch","Italiano","\u65E5\u672C\u8A9E","Espa\xF1ol"],release:"Verdance Blitz Deck",relatedReleases:[],releaseDate:"2024-09-20 12:00",releaseType:"Blitz Deck",setIdentifiers:["ver"],talents:["Earth"]},{cards:258,classes:["Runeblade","Wizard"],deckLinks:[],draft:{heroIdentifiers:["aurora","florian","oscilio","verdance"],picksPerPack:14},heroes:["Aurora","Florian","Oscilio","Verdance"],languages:y,raritiesExcludedInLimited:["Legendary","Fabled"],release:"Rosetta",relatedReleases:["Aurora Blitz Deck","Florian Blitz Deck","Oscilio Blitz Deck","Verdance Blitz Deck"],releaseDate:"2024-09-20 12:00",releaseType:"Standalone Booster",setIdentifiers:["ros"],talents:["Elemental","Earth","Lightning"]},{cards:66,classes:["Mechanologist"],deckLinks:[{url:"https://fabrary.net/decks/01J9822H5PANJAFQVMC4TPK4Z1"}],heroes:["Dash"],languages:["English","Fran\xE7ais","Italiano","\u65E5\u672C\u8A9E"],release:"Armory Deck: Dash",relatedReleases:[],releaseDate:"2024-10-18 12:00",releaseType:"Armory Deck",setIdentifiers:["aio"],talents:[]},{cards:30,classes:["Guardian"],deckLinks:[{url:"https://fabrary.net/decks/01JCPPENK52DTRBJZMWQF8S0X2"}],heroes:["Jarl"],languages:["English","Fran\xE7ais","Italiano","\u65E5\u672C\u8A9E"],release:"Armory Deck Origins: Jarl",relatedReleases:[],releaseDate:"2024-11-29 12:00",releaseType:"Armory Deck",setIdentifiers:["ajv"],talents:["Elemental","Earth","Ice"]},{cards:40,classes:["Assassin"],deckLinks:[],heroes:["Arakni"],languages:y,release:"Arakni Hunted Blitz Deck",relatedReleases:[],releaseDate:"2025-01-31 12:00",releaseType:"Blitz Deck",setIdentifiers:["ark"],talents:["Chaos"]},{cards:265,classes:["Assassin","Ninja","Warrior"],deckLinks:[],draft:{heroIdentifiers:["arakni-web-of-deceit","cindra","fang"],picksPerPack:14},heroes:["Arakni","Cindra","Fang"],heroOverrides:{Arakni:"Crackni"},languages:y,raritiesExcludedInLimited:["Legendary","Fabled"],release:"The Hunted",relatedReleases:[],releaseDate:"2025-01-31 12:00",releaseType:"Standalone Booster",setIdentifiers:["hnt"],talents:["Chaos","Draconic","Royal"],url:"https://fabtcg.com/en/articles/hnt/"},{cards:30,classes:["Runeblade"],deckLinks:[{url:"https://fabrary.net/decks/01JN2DEG4X2V8DVMCWFBWQTTSC"}],heroes:["Aurora"],languages:["English","Fran\xE7ais","\u65E5\u672C\u8A9E"],release:"Armory Deck: Aurora",relatedReleases:[],releaseDate:"2025-03-14 12:00",releaseType:"Armory Deck",setIdentifiers:["ast"],talents:["Elemental","Lightning"]},{cards:30,classes:["Mechanologist"],deckLinks:[],heroes:["Maxx"],languages:["English","Fran\xE7ais","\u65E5\u672C\u8A9E"],release:"Armory Deck: Maxx",relatedReleases:[],releaseDate:"2025-04-17 12:00",releaseType:"Armory Deck",setIdentifiers:["amx"],talents:[]},{cards:30,classes:["Necromancer","Pirate"],deckLinks:[],heroes:["Gravy Bones"],languages:ce,release:"Armory Deck: Gravy Bones",relatedReleases:[],releaseDate:"2025-05-30 12:00",releaseType:"Armory Deck",setIdentifiers:["agb"],talents:[]},{cards:265,classes:["Mechanologist","Necromancer","Pirate","Ranger"],deckLinks:[],heroes:["Gravy Bones","Marlynn","Puffin"],languages:ce,release:"High Seas",relatedReleases:[],releaseDate:"2025-06-06 12:00",releaseType:"Standalone Booster",setIdentifiers:["sea"],talents:[]}],I={wtr:"Welcome to Rathe",arc:"Arcane Rising",cru:"Crucible of War",mon:"Monarch",ele:"Tales of Aria",evr:"Everfest","1hp":"History Pack 1",hp1:"History Pack 1",upr:"Uprising",dyn:"Dynasty",out:"Outsiders",dtd:"Dusk till Dawn",evo:"Bright Lights",hvy:"Heavy Hitters",mst:"Part the Mistveil",ros:"Rosetta",hnt:"The Hunted",sea:"High Seas"},de=H(J({},I),{aaz:"Armory Deck: Azalea",asb:"Armory Deck: Boltyn",aio:"Armory Deck: Dash",ako:"Armory Deck: Kayo",ajv:"Armory Deck Origins: Jarl",ast:"Armory Deck: Aurora",amx:"Armory Deck: Maxx",agb:"Armory Deck: Gravy Bones",ara:"Arakni Blitz Deck",ark:"Arakni Hunted Blitz Deck",aua:"Aurora Blitz Deck",azl:"Azalea Blitz Deck",ben:"Benji Blitz Deck",bet:"Betsy Blitz Deck",bol:"Boltyn Blitz Deck",bri:"Briar Blitz Deck",chn:"Chane Blitz Deck",dro:"Dromai Blitz Deck",eng:"Enigma Blitz Deck",fai:"Fai Blitz Deck",flr:"Florian Blitz Deck",kat:"Katsu Blitz Deck",ksi:"Kassai Blitz Deck",kyo:"Kayo Blitz Deck",lev:"Levia Blitz Deck",lxi:"Lexi Blitz Deck",nuu:"Nuu Blitz Deck",old:"Oldhim Blitz Deck",ola:"Olympia Blitz Deck",osc:"Oscilio Blitz Deck",psm:"Prism Blitz Deck",rip:"Riptide Blitz Deck",rhi:"Rhinar Blitz Deck",uzu:"Uzuri Blitz Deck",ver:"Verdance Blitz Deck",vic:"Victor Blitz Deck",zen:"Zen Blitz Deck",aur:"1st Strike: Aurora",ter:"1st Strike: Terra",dvr:"Classic Battles: Rhinar vs Dorinthea",rvd:"Classic Battles: Rhinar vs Dorinthea",ira:"Ira Welcome Deck",tcc:"Round the Table: TCC x LSS",bvo:"Bravo Hero Deck",tea:"Dorinthea Hero Deck",ksu:"Katsu Hero Deck",rnr:"Rhinar Hero Deck",gem:"GEM",fab:"Promos",her:"Promos",jdg:"Promos",lgs:"Promos",lss:"Promos",oxo:"Promos",xxx:"Promos",win:"Promos"}),P={};for(let[a,r]of Object.entries(de)){let i=P[r];i?i.push(a):P[r]=[a]}var Je=P;var He={},je={MST158_V3:"-V3",ROS162_V2:"-V2","ROS008-MV_V2_BACK":"-V3"},Ze=a=>{var L,D,t;let r=He[a.set]||"",i=`${a.identifier}${r}`,c=a.edition?`-${a.edition}`:"",g=a.foiling?`-${a.foiling}`:"",l=(L=a.treatments)!=null&&L.length?`-${a.treatments.sort().join("-")}`:a.treatment?`-${a.treatment}`:"",o=(D=a.image)!=null&&D.toLowerCase().includes("back")?"-Back":"",p=je[((t=a.image)==null?void 0:t.toUpperCase())||""]||"";return`${i}${c}${g}${l}${o}${p}`},Xe=Object.keys(I).filter(a=>!a.toLowerCase().includes("hp")).reverse().map(a=>a.toUpperCase()),Ke={"command-and-conquer-red":{print:"DYN000-Cold-Alternate Art-Extended Art"},"cracked-bauble-yellow":{print:"LGS083-Cold"},"fate-foreseen-red":{print:"FAB024-Rainbow"},"pitfall-trap-yellow":{print:"LGS151-Rainbow"},quicken:{print:"EVO250"},"ravenous-rabble-red":{print:"FAB190-Rainbow-Extended Art"},"rockslide-trap-blue":{print:"LGS152-Rainbow"},"rosetta-thorn":{print:"ROS256-Cold"},"sigil-of-solace-red":{print:"FAB178-Rainbow-Alternate Art-Extended Art"},"spectral-shield":{print:"MST158-Alternate Art-V3"},"tripwire-trap-red":{print:"LGS150-Rainbow"},"viserai-rune-blood":{print:"HER011-Cold"},"wreck-havoc-red":{print:"OUT198"}},Ue=["JDG044-Full Art-Back"],Ye=(a,r)=>{let{cardIdentifier:i}=a,c=Object.entries(Ke).find(([l])=>l===i);if(!!c&&r.some(l=>{let[,{print:o}]=c;return l.print===o})){let[,{print:l}]=c;return r.find(p=>p.print===l)||r[0]}else{let l,o,p,L,D,t,A,T,h,C,F,ue,v,d,G,S,x,b,M,W;for(let u of r){let{edition:m,foiling:f,identifier:ke,image:B,print:he,treatments:k}=u,pe=ke.toLowerCase().includes("win"),De=!!B,Be=B==null?void 0:B.includes("HP"),Le=Ue.includes(he);if(De&&!pe&&!Be&&!Le){if(l||(l=u),k!=null&&k.includes("Full Art")&&(h=u,f==="Cold"&&(t=u,B.includes("_V3")))){A=u;break}k!=null&&k.includes("Extended Art")&&(T=u,f==="Cold"&&(D=u),f||(C=u),m==="Promo"&&(F=u)),k!=null&&k.includes("Alternate Art")&&(o=u),k!=null&&k.includes("Alternate Border")&&(p=u),k!=null&&k.includes("Alternate Text")&&(L=u),B&&(B.includes("_V2")||B.includes("-MV"))&&(k!=null&&k.includes("Full Art"))&&(v=u),m==="Alpha"?d=u:m==="First"?G=u:m==="Promo"?S=u:m==="Unlimited"&&(x=u),f==="Cold"?(b=u,m==="Promo"&&(W=u)):f==="Gold"&&(M=u)}}return ue||A||t||h||D||v||F||C||T||p||o||L||W||d||G||S||x||M||b||l}},Qe={"command-and-conquer-red":{print:"HNT260"},"pitfall-trap-yellow":{print:"LGS151-Rainbow"},"rockslide-trap-blue":{print:"LGS152-Rainbow"},"rosetta-thorn":{print:"ELE222-First"},"spectral-shield":{print:"MST158"},"tripwire-trap-red":{print:"LGS150-Rainbow"},"wreck-havoc-red":{print:"OUT198"}},$e=(a,r)=>{let{cardIdentifier:i}=a,c=Object.entries(Qe).find(([l])=>l===i);if(!!c&&r.some(l=>{let[,{print:o}]=c;return l.print===o})){let[,{print:l}]=c;return r.find(p=>p.print===l)||r[0]}else{let l,o;for(let p of r){let{edition:L,image:D,treatment:t}=p,A=!!D,T=D==null?void 0:D.includes("HP");if(A&&!T&&(l||(l=p),!o&&L!=="Promo"&&t!=="Full Art"&&(o=p)),l&&o)break}return o||l||r[0]}};0&&(module.exports={Bond,Class,Flow,Foiling,Format,Fusion,Hero,Keyword,Language,Meta,Metatype,Rarity,Release,ReleaseEdition,ReleaseType,Subtype,Talent,Trait,Treatment,Type,coreSetIdentifiers,fullSetIdentifiers,getCanAddToDeck,getCanCardBeTokenForDeck,getCardIdentifier,getDefaultPrinting,getIsArenaCard,getIsBooster,getIsCardTokenForDeck,getIsDeckCard,getIsDraftable,getIsPreconstructed,getIsReprint,getPrint,getShouldRotateCardImage,getSpecialPrinting,orderedFullSetBlackBorderIdentifiers,promoSetIdentifiers,releases,setIdentifierToSetMappings,setToSetIdentifierMappings,supplementalSetIdentifiers});