const SymbolBnbxLight = require('../logos/symbol/BnbxLight.svg');
const SymbolEthxLight = require('../logos/symbol/EthxLight.svg');
const SymbolMaticxLight = require('../logos/symbol/MaticxLight.svg');
const SymbolSlight = require('../logos/symbol/SLight.svg');
const SymbolAave = require('../logos/symbol/Aave.svg');
const SymbolUsd = require('../logos/symbol/Usd.svg');
const SymbolAero = require('../logos/symbol/Aero.svg');
const SymbolAgEth = require('../logos/symbol/Ageth.svg');
const SymbolRsEth = require('../logos/symbol/Rseth.svg');
const SymbolAnkrEth = require('../logos/symbol/Ankreth.svg');
const SymbolEth = require('../logos/symbol/Eth.svg');
const SymbolApe = require('../logos/symbol/Ape.svg');
const SymbolApi3 = require('../logos/symbol/Api3.svg');
const SymbolApxEth = require('../logos/symbol/Apxeth.svg');
const SymbolPxEth = require('../logos/symbol/Pxeth.svg');
const SymbolArb = require('../logos/symbol/Arb.svg');
const SymbolAstr = require('../logos/symbol/Astr.svg');
const SymbolAth = require('../logos/symbol/Ath.svg');
const SymbolAusd = require('../logos/symbol/Ausd.svg');
const SymbolAvax = require('../logos/symbol/Avax.svg');
const SymbolAxs = require('../logos/symbol/Axs.svg');
const SymbolBal = require('../logos/symbol/Bal.svg');
const SymbolBera = require('../logos/symbol/Bera.svg');
const SymbolBlast = require('../logos/symbol/Blast.svg');
const SymbolBnb = require('../logos/symbol/Bnb.svg');
const SymbolBnbx = require('../logos/symbol/Bnbx.svg');
const SymbolBrett = require('../logos/symbol/Brett.svg');
const SymbolBtc = require('../logos/symbol/Btc.svg');
const SymbolCake = require('../logos/symbol/Cake.svg');
const SymbolCbBtc = require('../logos/symbol/Cbbtc.svg');
const SymbolCbEth = require('../logos/symbol/Cbeth.svg');
const SymbolCelo = require('../logos/symbol/Celo.svg');
const SymbolClo = require('../logos/symbol/Clo.svg');
const SymbolCmEth = require('../logos/symbol/Cmeth.svg');
const SymbolMeth = require('../logos/symbol/Meth.svg');
const SymbolComp = require('../logos/symbol/Comp.svg');
const SymbolCook = require('../logos/symbol/Cook.svg');
const SymbolCore = require('../logos/symbol/Core.svg');
const SymbolCro = require('../logos/symbol/Cro.svg');
const SymbolCrv = require('../logos/symbol/Crv.svg');
const SymbolCrvUsd = require('../logos/symbol/Crvusd.svg');
const SymbolCvx = require('../logos/symbol/Cvx.svg');
const SymbolDai = require('../logos/symbol/Dai.svg');
const SymbolDegen = require('../logos/symbol/Degen.svg');
const SymbolDot = require('../logos/symbol/Dot.svg');
const SymbolDym = require('../logos/symbol/Dym.svg');
const SymbolEbtc = require('../logos/symbol/Ebtc.svg');
const SymbolWbtc = require('../logos/symbol/Wbtc.svg');
const SymbolEna = require('../logos/symbol/Ena.svg');
const SymbolEthfi = require('../logos/symbol/Ethfi.svg');
const SymbolEthx = require('../logos/symbol/Ethx.svg');
const SymbolEur = require('../logos/symbol/Eur.svg');
const SymbolEurc = require('../logos/symbol/Eurc.svg');
const SymbolEure = require('../logos/symbol/Eure.svg');
const SymbolEzEth = require('../logos/symbol/Ezeth.svg');
const SymbolFbtc = require('../logos/symbol/Fbtc.svg');
const SymbolFdusd = require('../logos/symbol/Fdusd.svg');
const SymbolFloki = require('../logos/symbol/Floki.svg');
const SymbolFluid = require('../logos/symbol/Fluid.svg');
const SymbolFrax = require('../logos/symbol/Frax.svg');
const SymbolFrxUsd = require('../logos/symbol/Frxusd.svg');
const SymbolFxs = require('../logos/symbol/Fxs.svg');
const SymbolGho = require('../logos/symbol/Gho.svg');
const SymbolGlmr = require('../logos/symbol/Glmr.svg');
const SymbolGmx = require('../logos/symbol/Gmx.svg');
const SymbolGno = require('../logos/symbol/Gno.svg');
const SymbolHype = require('../logos/symbol/Hype.svg');
const SymbolInj = require('../logos/symbol/Inj.svg');
const SymbolKava = require('../logos/symbol/Kava.svg');
const SymbolKsm = require('../logos/symbol/Ksm.svg');
const SymbolLbtc = require('../logos/symbol/Lbtc.svg');
const SymbolLdo = require('../logos/symbol/Ldo.svg');
const SymbolLinea = require('../logos/symbol/Linea.svg');
const SymbolLqty = require('../logos/symbol/Lqty.svg');
const SymbolLsEth = require('../logos/symbol/Lseth.svg');
const SymbolLumia = require('../logos/symbol/Lumia.svg');
const SymbolManta = require('../logos/symbol/Manta.svg');
const SymbolMaticx = require('../logos/symbol/Maticx.svg');
const SymbolMatic = require('../logos/symbol/Matic.svg');
const SymbolMerl = require('../logos/symbol/Merl.svg');
const SymbolMnt = require('../logos/symbol/Mnt.svg');
const SymbolMode = require('../logos/symbol/Mode.svg');
const SymbolMog = require('../logos/symbol/Mog.svg');
const SymbolMorpho = require('../logos/symbol/Morpho.svg');
const SymbolMovr = require('../logos/symbol/Movr.svg');
const SymbolMtl = require('../logos/symbol/Mtl.svg');
const SymbolMvl = require('../logos/symbol/Mvl.svg');
const SymbolOkb = require('../logos/symbol/Okb.svg');
const SymbolOndo = require('../logos/symbol/Ondo.svg');
const SymbolOp = require('../logos/symbol/Op.svg');
const SymbolOsEth = require('../logos/symbol/Oseth.svg');
const SymbolPaxg = require('../logos/symbol/Paxg.svg');
const SymbolPendle = require('../logos/symbol/Pendle.svg');
const SymbolPepe = require('../logos/symbol/Pepe.svg');
const SymbolPol = require('../logos/symbol/Pol.svg');
const SymbolPufEth = require('../logos/symbol/Pufeth.svg');
const SymbolStEth = require('../logos/symbol/Steth.svg');
const SymbolPyusd = require('../logos/symbol/Pyusd.svg');
const SymbolQuick = require('../logos/symbol/Quick.svg');
const SymbolRdnt = require('../logos/symbol/Rdnt.svg');
const SymbolReth = require('../logos/symbol/Reth.svg');
const SymbolRlp = require('../logos/symbol/Rlp.svg');
const SymbolRon = require('../logos/symbol/Ron.svg');
const SymbolRswEth = require('../logos/symbol/Rsweth.svg');
const SymbolS = require('../logos/symbol/S.svg');
const SymbolSafe = require('../logos/symbol/Safe.svg');
const SymbolSavax = require('../logos/symbol/Savax.svg');
const SymbolScr = require('../logos/symbol/Scr.svg');
const SymbolScrvUsd = require('../logos/symbol/Scrvusd.svg');
const SymbolSdai = require('../logos/symbol/Sdai.svg');
const SymbolSei = require('../logos/symbol/Sei.svg');
const SymbolSfrax = require('../logos/symbol/Sfrax.svg');
const SymbolSfrxEth = require('../logos/symbol/Sfrxeth.svg');
const SymbolFrxEth = require('../logos/symbol/Frxeth.svg');
const SymbolSfrxUsd = require('../logos/symbol/Sfrxusd.svg');
const SymbolShib = require('../logos/symbol/Shib.svg');
const SymbolSky = require('../logos/symbol/Sky.svg');
const SymbolSlisBnb = require('../logos/symbol/Slisbnb.svg');
const SymbolSol = require('../logos/symbol/Sol.svg');
const SymbolSolvBtc = require('../logos/symbol/Solvbtc.svg');
const SymbolSomi = require('../logos/symbol/Somi.svg');
const SymbolSpk = require('../logos/symbol/Spk.svg');
const SymbolSpx = require('../logos/symbol/Spx.svg');
const SymbolStone = require('../logos/symbol/Stone.svg');
const SymbolStTao = require('../logos/symbol/Sttao.svg');
const SymbolTao = require('../logos/symbol/Tao.svg');
const SymbolSusde = require('../logos/symbol/Susde.svg');
const SymbolUsde = require('../logos/symbol/Usde.svg');
const SymbolSusds = require('../logos/symbol/Susds.svg');
const SymbolUsds = require('../logos/symbol/Usds.svg');
const SymbolSwEth = require('../logos/symbol/Sweth.svg');
const SymbolSyrup = require('../logos/symbol/Syrup.svg');
const SymbolSyrupUsdc = require('../logos/symbol/Syrupusdc.svg');
const SymbolUsdc = require('../logos/symbol/Usdc.svg');
const SymbolTaiko = require('../logos/symbol/Taiko.svg');
const SymbolTbtc = require('../logos/symbol/Tbtc.svg');
const SymbolTeth = require('../logos/symbol/Teth.svg');
const SymbolWstEth = require('../logos/symbol/Wsteth.svg');
const SymbolTusd = require('../logos/symbol/Tusd.svg');
const SymbolUltraEths = require('../logos/symbol/Ultraeths.svg');
const SymbolUni = require('../logos/symbol/Uni.svg');
const SymbolUniEth = require('../logos/symbol/Unieth.svg');
const SymbolUsd1 = require('../logos/symbol/Usd1.svg');
const SymbolUsdp = require('../logos/symbol/Usdp.svg');
const SymbolUsdt = require('../logos/symbol/Usdt.svg');
const SymbolUsdy = require('../logos/symbol/Usdy.svg');
const SymbolVelo = require('../logos/symbol/Velo.svg');
const SymbolVirtual = require('../logos/symbol/Virtual.svg');
const SymbolWbeth = require('../logos/symbol/Wbeth.svg');
const SymbolWeEth = require('../logos/symbol/Weeth.svg');
const SymbolWell = require('../logos/symbol/Well.svg');
const SymbolWld = require('../logos/symbol/Wld.svg');
const SymbolWos = require('../logos/symbol/Wos.svg');
const SymbolOs = require('../logos/symbol/Os.svg');
const SymbolWsrUsd = require('../logos/symbol/Wsrusd.svg');
const SymbolRusd = require('../logos/symbol/Rusd.svg');
const SymbolXaut = require('../logos/symbol/Xaut.svg');
const SymbolXrp = require('../logos/symbol/Xrp.svg');
const SymbolYfi = require('../logos/symbol/Yfi.svg');
const SymbolYsUsdc = require('../logos/symbol/Ysusdc.svg');
const SymbolYusd = require('../logos/symbol/Yusd.svg');
const SymbolZk = require('../logos/symbol/Zk.svg');
const SymbolZkc = require('../logos/symbol/Zkc.svg');
const SymbolZrc = require('../logos/symbol/Zrc.svg');
const SymbolZro = require('../logos/symbol/Zro.svg');
const SymbolPlaceholder = require('../logos/symbol/Placeholder.svg');
function sanitizeName(id) {
  return id.replace(/\s+|-/g, '').replace(/ExchangeRate/g, '');
}
function SymbolLogo(id, light = false) {
  if (!id) {
    return SymbolPlaceholder;
  }
  switch (sanitizeName(`${id}${light ? "light" : ""}`).toLowerCase()) {
    case "bnbxlight":
      return SymbolBnbxLight;
    case "ethxlight":
      return SymbolEthxLight;
    case "maticxlight":
      return SymbolMaticxLight;
    case "slight":
      return SymbolSlight;
    case "aave":
      return SymbolAave;
    case "usd":
      return SymbolUsd;
    case "aero":
      return SymbolAero;
    case "ageth":
      return SymbolAgEth;
    case "rseth":
      return SymbolRsEth;
    case "ankreth":
      return SymbolAnkrEth;
    case "eth":
      return SymbolEth;
    case "ape":
      return SymbolApe;
    case "api3":
      return SymbolApi3;
    case "apxeth":
      return SymbolApxEth;
    case "pxeth":
      return SymbolPxEth;
    case "arb":
      return SymbolArb;
    case "astr":
      return SymbolAstr;
    case "ath":
      return SymbolAth;
    case "ausd":
      return SymbolAusd;
    case "avax":
      return SymbolAvax;
    case "axs":
      return SymbolAxs;
    case "bal":
      return SymbolBal;
    case "bera":
      return SymbolBera;
    case "blast":
      return SymbolBlast;
    case "bnb":
      return SymbolBnb;
    case "bnbx":
      return SymbolBnbx;
    case "brett":
      return SymbolBrett;
    case "btc":
      return SymbolBtc;
    case "cake":
      return SymbolCake;
    case "cbbtc":
      return SymbolCbBtc;
    case "cbeth":
      return SymbolCbEth;
    case "celo":
      return SymbolCelo;
    case "clo":
      return SymbolClo;
    case "cmeth":
      return SymbolCmEth;
    case "meth":
      return SymbolMeth;
    case "comp":
      return SymbolComp;
    case "cook":
      return SymbolCook;
    case "core":
      return SymbolCore;
    case "cro":
      return SymbolCro;
    case "crv":
      return SymbolCrv;
    case "crvusd":
      return SymbolCrvUsd;
    case "cvx":
      return SymbolCvx;
    case "dai":
      return SymbolDai;
    case "degen":
      return SymbolDegen;
    case "dot":
      return SymbolDot;
    case "dym":
      return SymbolDym;
    case "ebtc":
      return SymbolEbtc;
    case "wbtc":
      return SymbolWbtc;
    case "ena":
      return SymbolEna;
    case "ethfi":
      return SymbolEthfi;
    case "ethx":
      return SymbolEthx;
    case "eur":
      return SymbolEur;
    case "eurc":
      return SymbolEurc;
    case "eure":
      return SymbolEure;
    case "ezeth":
      return SymbolEzEth;
    case "fbtc":
      return SymbolFbtc;
    case "fdusd":
      return SymbolFdusd;
    case "floki":
      return SymbolFloki;
    case "fluid":
      return SymbolFluid;
    case "frax":
      return SymbolFrax;
    case "frxusd":
      return SymbolFrxUsd;
    case "fxs":
      return SymbolFxs;
    case "gho":
      return SymbolGho;
    case "glmr":
      return SymbolGlmr;
    case "gmx":
      return SymbolGmx;
    case "gno":
      return SymbolGno;
    case "hype":
      return SymbolHype;
    case "inj":
      return SymbolInj;
    case "kava":
      return SymbolKava;
    case "ksm":
      return SymbolKsm;
    case "lbtc":
      return SymbolLbtc;
    case "ldo":
      return SymbolLdo;
    case "linea":
      return SymbolLinea;
    case "lqty":
      return SymbolLqty;
    case "lseth":
      return SymbolLsEth;
    case "lumia":
      return SymbolLumia;
    case "manta":
      return SymbolManta;
    case "maticx":
      return SymbolMaticx;
    case "matic":
      return SymbolMatic;
    case "merl":
      return SymbolMerl;
    case "mnt":
      return SymbolMnt;
    case "mode":
      return SymbolMode;
    case "mog":
      return SymbolMog;
    case "morpho":
      return SymbolMorpho;
    case "movr":
      return SymbolMovr;
    case "mtl":
      return SymbolMtl;
    case "mvl":
      return SymbolMvl;
    case "okb":
      return SymbolOkb;
    case "ondo":
      return SymbolOndo;
    case "op":
      return SymbolOp;
    case "oseth":
      return SymbolOsEth;
    case "paxg":
      return SymbolPaxg;
    case "pendle":
      return SymbolPendle;
    case "pepe":
      return SymbolPepe;
    case "pol":
      return SymbolPol;
    case "pufeth":
      return SymbolPufEth;
    case "steth":
      return SymbolStEth;
    case "pyusd":
      return SymbolPyusd;
    case "quick":
      return SymbolQuick;
    case "rdnt":
      return SymbolRdnt;
    case "reth":
      return SymbolReth;
    case "rlp":
      return SymbolRlp;
    case "ron":
      return SymbolRon;
    case "rsweth":
      return SymbolRswEth;
    case "s":
      return SymbolS;
    case "safe":
      return SymbolSafe;
    case "savax":
      return SymbolSavax;
    case "scr":
      return SymbolScr;
    case "scrvusd":
      return SymbolScrvUsd;
    case "sdai":
      return SymbolSdai;
    case "sei":
      return SymbolSei;
    case "sfrax":
      return SymbolSfrax;
    case "sfrxeth":
      return SymbolSfrxEth;
    case "frxeth":
      return SymbolFrxEth;
    case "sfrxusd":
      return SymbolSfrxUsd;
    case "shib":
      return SymbolShib;
    case "sky":
      return SymbolSky;
    case "slisbnb":
      return SymbolSlisBnb;
    case "sol":
      return SymbolSol;
    case "solvbtc":
      return SymbolSolvBtc;
    case "somi":
      return SymbolSomi;
    case "spk":
      return SymbolSpk;
    case "spx":
      return SymbolSpx;
    case "stone":
      return SymbolStone;
    case "sttao":
      return SymbolStTao;
    case "tao":
      return SymbolTao;
    case "susde":
      return SymbolSusde;
    case "usde":
      return SymbolUsde;
    case "susds":
      return SymbolSusds;
    case "usds":
      return SymbolUsds;
    case "sweth":
      return SymbolSwEth;
    case "syrup":
      return SymbolSyrup;
    case "syrupusdc":
      return SymbolSyrupUsdc;
    case "usdc":
      return SymbolUsdc;
    case "taiko":
      return SymbolTaiko;
    case "tbtc":
      return SymbolTbtc;
    case "teth":
      return SymbolTeth;
    case "wsteth":
      return SymbolWstEth;
    case "tusd":
      return SymbolTusd;
    case "ultraeths":
      return SymbolUltraEths;
    case "uni":
      return SymbolUni;
    case "unieth":
      return SymbolUniEth;
    case "usd1":
      return SymbolUsd1;
    case "usdp":
      return SymbolUsdp;
    case "usdt":
      return SymbolUsdt;
    case "usdy":
      return SymbolUsdy;
    case "velo":
      return SymbolVelo;
    case "virtual":
      return SymbolVirtual;
    case "wbeth":
      return SymbolWbeth;
    case "weeth":
      return SymbolWeEth;
    case "well":
      return SymbolWell;
    case "wld":
      return SymbolWld;
    case "wos":
      return SymbolWos;
    case "os":
      return SymbolOs;
    case "wsrusd":
      return SymbolWsrUsd;
    case "rusd":
      return SymbolRusd;
    case "xaut":
      return SymbolXaut;
    case "xrp":
      return SymbolXrp;
    case "yfi":
      return SymbolYfi;
    case "ysusdc":
      return SymbolYsUsdc;
    case "yusd":
      return SymbolYusd;
    case "zk":
      return SymbolZk;
    case "zkc":
      return SymbolZkc;
    case "zrc":
      return SymbolZrc;
    case "zro":
      return SymbolZro;
    default:
      return light ? SymbolLogo(id) : SymbolPlaceholder;
  }
}
module.exports = SymbolLogo;