--- import aquapolis from "/src/svg/set/aquapolis.svg?raw"; import arceus from "/src/svg/set/arceus.svg?raw"; import base_set_2 from "/src/svg/set/base_set_2.svg?raw"; import best_of_game from "/src/svg/set/best_of_game.svg?raw"; import black_and_white from "/src/svg/set/black_and_white.svg?raw"; import boundaries_crossed from "/src/svg/set/boundaries_crossed.svg?raw"; import breakpoint from "/src/svg/set/breakpoint.svg?raw"; import call_of_legends from "/src/svg/set/call_of_legends.svg?raw"; import dark_explorers from "/src/svg/set/dark_explorers.svg?raw"; import diamond_and_pearl from "/src/svg/set/diamond_and_pearl.svg?raw"; import double_crisis from "/src/svg/set/double_crisis.svg?raw"; import neo_genesis from "/src/svg/set/neo_genesis.svg?raw"; import jungle from "/src/svg/set/jungle.svg?raw"; import fossil from "/src/svg/set/fossil.svg?raw"; import ascended_heroes from "/src/svg/set/ascended_heroes.svg?raw"; import expedition from "/src/svg/set/expedition.svg?raw"; import dragon_vault from "/src/svg/set/dragon_vault.svg?raw"; import dragons_exalted from "/src/svg/set/dragons_exalted.svg?raw"; import emergingpowers from "/src/svg/set/emerging_powers.svg?raw"; import southern_islands from "/src/svg/set/southern_islands.svg?raw"; import neo_discovery from "/src/svg/set/neo_discovery.svg?raw"; import neo_revelation from "/src/svg/set/neo_revelation.svg?raw"; import neo_destiny from "/src/svg/set/neo_destiny.svg?raw"; import legendary_collection from "/src/svg/set/legendary_collection.svg?raw"; import skyridge from "/src/svg/set/skyridge.svg?raw"; import ex_ruby_and_sapphire from "/src/svg/set/ex_ruby_and_sapphire.svg?raw"; import ex_sandstorm from "/src/svg/set/ex_sandstorm.svg?raw"; import ex_dragon from "/src/svg/set/ex_dragon.svg?raw"; import ex_team_magma_vs_team_aqua from "/src/svg/set/ex_team_magma_vs_team_aqua.svg?raw"; import ex_hidden_legends from "/src/svg/set/ex_hidden_legends.svg?raw"; import ex_firered_and_leafgreen from "/src/svg/set/ex_firered_and_leafgreen.svg?raw"; import ex_team_rocket_returns from "/src/svg/set/ex_team_rocket_returns.svg?raw"; import ex_deoxys from "/src/svg/set/ex_deoxys.svg?raw"; import ex_emerald from "/src/svg/set/ex_emerald.svg?raw"; import ex_unseen_forces from "/src/svg/set/ex_unseen_forces.svg?raw"; import ex_delta_species from "/src/svg/set/ex_delta_species.svg?raw"; import ex_legend_maker from "/src/svg/set/ex_legend_maker.svg?raw"; import ex_holon_phantoms from "/src/svg/set/ex_holon_phantoms.svg?raw"; import ex_crystal_guardians from "/src/svg/set/ex_crystal_guardians.svg?raw"; import ex_dragon_frontiers from "/src/svg/set/ex_dragon_frontiers.svg?raw"; import ex_power_keepers from "/src/svg/set/ex_power_keepers.svg?raw"; import xy from "/src/svg/set/xy.svg?raw"; import flashfire from "/src/svg/set/flashfire.svg?raw"; import furious_fists from "/src/svg/set/furious_fists.svg?raw"; import phantom_forces from "/src/svg/set/phantom_forces.svg?raw"; import primal_clash from "/src/svg/set/primal_clash.svg?raw"; import roaring_skies from "/src/svg/set/roaring_skies.svg?raw"; import breakthrough from "/src/svg/set/breakthrough.svg?raw"; import ancient_origins from "/src/svg/set/ancient_origins.svg?raw"; import generations from "/src/svg/set/generations.svg?raw"; import fates_collide from "/src/svg/set/fates_collide.svg?raw"; import steam_siege from "/src/svg/set/steam_siege.svg?raw"; import evolutions from "/src/svg/set/evolutions.svg?raw"; import sun_moon from "/src/svg/set/sun_and_moon.svg?raw"; import guardians_rising from "/src/svg/set/guardians_rising.svg?raw"; import burning_shadows from "/src/svg/set/burning_shadows.svg?raw"; import shining_legends from "/src/svg/set/shining_legends.svg?raw"; import crimson_invasion from "/src/svg/set/crimson_invasion.svg?raw"; import ultra_prism from "/src/svg/set/ultra_prism.svg?raw"; import forbidden_light from "/src/svg/set/forbidden_light.svg?raw"; import celestial_storm from "/src/svg/set/celestial_storm.svg?raw"; import dragon_majesty from "/src/svg/set/dragon_majesty.svg?raw"; import lost_thunder from "/src/svg/set/lost_thunder.svg?raw"; import team_up from "/src/svg/set/team_up.svg?raw"; import detective_pikachu from "/src/svg/set/detective_pikachu.svg?raw"; import unbroken_bonds from "/src/svg/set/unbroken_bonds.svg?raw"; import unified_minds from "/src/svg/set/unified_minds.svg?raw"; import hidden_fates from "/src/svg/set/hidden_fates.svg?raw"; import cosmic_eclipse from "/src/svg/set/cosmic_eclipse.svg?raw"; import sword_shield from "/src/svg/set/sword_and_shield.svg?raw"; import rebel_clash from "/src/svg/set/rebel_clash.svg?raw"; import darkness_ablaze from "/src/svg/set/darkness_ablaze.svg?raw"; import champions_path from "/src/svg/set/champions_path.svg?raw"; import vivid_voltage from "/src/svg/set/vivid_voltage.svg?raw"; import shining_fates from "/src/svg/set/shining_fates.svg?raw"; import battle_styles from "/src/svg/set/battle_styles.svg?raw"; import chilling_reign from "/src/svg/set/chilling_reign.svg?raw"; import evolving_skies from "/src/svg/set/evolving_skies.svg?raw"; import celebrations from "/src/svg/set/celebrations.svg?raw"; import fusion_strike from "/src/svg/set/fusion_strike.svg?raw"; import brilliant_stars from "/src/svg/set/brilliant_stars.svg?raw"; import astral_radiance from "/src/svg/set/astral_radiance.svg?raw"; import pokemon_go from "/src/svg/set/pokemon_go.svg?raw"; import lost_origin from "/src/svg/set/lost_origin.svg?raw"; import silver_tempest from "/src/svg/set/silver_tempest.svg?raw"; import crown_zenith from "/src/svg/set/crown_zenith.svg?raw"; import scarlet_violet from "/src/svg/set/scarlet_violet.svg?raw"; import paldea_evolved from "/src/svg/set/paldea_evolved.svg?raw"; import obsidian_flames from "/src/svg/set/obsidian_flames.svg?raw"; import scarlet_and_violet_151 from "/src/svg/set/scarlet_violet_151.svg?raw"; import paradox_rift from "/src/svg/set/paradox_rift.svg?raw"; import paldean_fates from "/src/svg/set/paldean_fates.svg?raw"; import temporal_forces from "/src/svg/set/temporal_forces.svg?raw"; import twilight_masquerade from "/src/svg/set/twilight_masquerade.svg?raw"; import shrouded_fable from "/src/svg/set/shrouded_fable.svg?raw"; import stellar_crown from "/src/svg/set/stellar_crown.svg?raw"; import mysterious_treasures from "/src/svg/set/mysterious_treasures.svg?raw"; import legendary_treasures from "/src/svg/set/legendary_treasures.svg?raw"; import kalos_starter_set from "/src/svg/set/kalos_starter_set.svg?raw"; import secret_wonders from "/src/svg/set/secret_wonders.svg?raw"; import great_encounters from "/src/svg/set/great_encounters.svg?raw"; import majestic_dawn from "/src/svg/set/majestic_dawn.svg?raw"; import legends_awakened from "/src/svg/set/legends_awakened.svg?raw"; import stormfront from "/src/svg/set/stormfront.svg?raw"; import platinum from "/src/svg/set/platinum.svg?raw"; import rising_rivals from "/src/svg/set/rising_rivals.svg?raw"; import supreme_victors from "/src/svg/set/supreme_victors.svg?raw"; import heartgold_and_soulsilver from "/src/svg/set/heartgold_and_soulsilver.svg?raw"; import unleashed from "/src/svg/set/unleashed.svg?raw"; import undaunted from "/src/svg/set/undaunted.svg?raw"; import triumphant from "/src/svg/set/triumphant.svg?raw"; import noble_victories from "/src/svg/set/noble_victories.svg?raw"; import next_destinies from "/src/svg/set/next_destinies.svg?raw"; import plasma_storm from "/src/svg/set/plasma_storm.svg?raw"; import plasma_frost from "/src/svg/set/plasma_frost.svg?raw"; import plasma_blast from "/src/svg/set/plasma_blast.svg?raw"; import gym_heroes from "/src/svg/set/gym_heroes.svg?raw"; import gym_challenge from "/src/svg/set/gym_challenge.svg?raw"; import black_bolt from "/src/svg/set/black_bolt.svg?raw"; import white_flare from "/src/svg/set/white_flare.svg?raw"; import mega_evolutions from "/src/svg/set/mega_evolutions.svg?raw"; import phantasmal_flames from "/src/svg/set/phantasmal_flames.svg?raw"; import destined_rivals from "/src/svg/set/destined_rivals.svg?raw"; import surging_sparks from "/src/svg/set/surging_sparks.svg?raw"; import team_rocket from "/src/svg/set/team_rocket.svg?raw"; import perfect_order from "/src/svg/set/perfect_order.svg?raw"; const { set } = Astro.props; const setMap = { "JU": jungle, "FO": fossil, "B2": base_set_2, "TR": team_rocket, "G1": gym_heroes, "G2": gym_challenge, "SI": southern_islands, "N1": neo_genesis, "N2": neo_discovery, "N3": neo_revelation, "N4": neo_destiny, "LC": legendary_collection, "EX": expedition, "AQ": aquapolis, "SK": skyridge, "RS": ex_ruby_and_sapphire, "SS": ex_sandstorm, "DR": ex_dragon, "MA": ex_team_magma_vs_team_aqua, "HL": ex_hidden_legends, "RG": ex_firered_and_leafgreen, "TRR": ex_team_rocket_returns, "DX": ex_deoxys, "EM": ex_emerald, "UF": ex_unseen_forces, "DS": ex_delta_species, "LM": ex_legend_maker, "HP": ex_holon_phantoms, "CG": ex_crystal_guardians, "DF": ex_dragon_frontiers, "PK": ex_power_keepers, "DP": diamond_and_pearl, "MT": mysterious_treasures, "SW": secret_wonders, "GE": great_encounters, "MD": majestic_dawn, "LA": legends_awakened, "SF": stormfront, "PL": platinum, "RR": rising_rivals, "SV": supreme_victors, "AR": arceus, "HS": heartgold_and_soulsilver, "UL": unleashed, "UD": undaunted, "TM": triumphant, "CL": call_of_legends, "BLW": black_and_white, "EPO": emergingpowers, "NVI": noble_victories, "NXD": next_destinies, "DEX": dark_explorers, "DRX": dragons_exalted, "DRV": dragon_vault, "BCR": boundaries_crossed, "PLS": plasma_storm, "PLF": plasma_frost, "PLB": plasma_blast, "LTR": legendary_treasures, "KSS": kalos_starter_set, "XY": xy, "FLF": flashfire, "FFI": furious_fists, "PHF": phantom_forces, "PRC": primal_clash, "DCR": double_crisis, "ROS": roaring_skies, "AOR": ancient_origins, "BKT": breakthrough, "BKP": breakpoint, "GEN": generations, "FCO": fates_collide, "STS": steam_siege, "EVO": evolutions, "SUM": sun_moon, "GRI": guardians_rising, "BUS": burning_shadows, "SLG": shining_legends, "CIN": crimson_invasion, "UPR": ultra_prism, "FLI": forbidden_light, "CES": celestial_storm, "DRM": dragon_majesty, "LOT": lost_thunder, "TEU": team_up, "DET": detective_pikachu, "UNB": unbroken_bonds, "UNM": unified_minds, "HIF": hidden_fates, "CEC": cosmic_eclipse, "SSH": sword_shield, "RCL": rebel_clash, "DAA": darkness_ablaze, "CPA": champions_path, "VIV": vivid_voltage, "SHF": shining_fates, "BST": battle_styles, "CRE": chilling_reign, "EVS": evolving_skies, "CEL": celebrations, "FST": fusion_strike, "BRS": brilliant_stars, "ASR": astral_radiance, "PGO": pokemon_go, "LOR": lost_origin, "SIT": silver_tempest, "CRZ": crown_zenith, "SVI": scarlet_violet, "PAL": paldea_evolved, "OBF": obsidian_flames, "MEW": scarlet_and_violet_151, "PAR": paradox_rift, "PAF": paldean_fates, "TEF": temporal_forces, "TWM": twilight_masquerade, "SFA": shrouded_fable, "SCR": stellar_crown, "BLK": black_bolt, "WHT": white_flare, "MEG": mega_evolutions, "PFL": phantasmal_flames, "ASC": ascended_heroes, "DRI": destined_rivals, "SSP": surging_sparks, "ME03": perfect_order, }; const svg = setMap[set as keyof typeof setMap] ?? ""; if (!svg && set) console.warn(`No set icon found for: ${set}`); ---