import{jsxs as r,jsx as e}from"react/jsx-runtime";import{c}from"./utils-CMbmcP35.js";const l={0:{id:0,name:"Blademaster",icon:"/img/iconclass/blademaster.webp"},1:{id:1,name:"Mage",icon:"/img/iconclass/mage.webp"},2:{id:2,name:"Psychic",icon:"/img/iconclass/psychic.webp"},3:{id:3,name:"Venomancer",icon:"/img/iconclass/venomancer.webp"},4:{id:4,name:"Barbarian",icon:"/img/iconclass/barbarian.webp"},5:{id:5,name:"Assassin",icon:"/img/iconclass/assassin.webp"},6:{id:6,name:"Archer",icon:"/img/iconclass/archer.webp"},7:{id:7,name:"Cleric",icon:"/img/iconclass/cleric.webp"},8:{id:8,name:"Seeker",icon:"/img/iconclass/seeker.webp"},9:{id:9,name:"Mystic",icon:"/img/iconclass/mystic.webp"},10:{id:10,name:"Duskblade",icon:"/img/iconclass/duskblade.webp"},11:{id:11,name:"Stormbringer",icon:"/img/iconclass/stormbringer.webp"},12:{id:12,name:"Technician",icon:"/img/iconclass/technician.webp"},13:{id:13,name:"Edgerunner",icon:"/img/iconclass/edgerunner.webp"},14:{id:14,name:"Wildwalker",icon:"/img/iconclass/wildwalker.webp"}};function s(i){return l[i]??{id:i,name:"Unknown",icon:"/img/iconclass/blademaster.webp"}}function b(i){return s(i).name}const d={sm:"h-4 w-4",md:"h-6 w-6",lg:"h-8 w-8"};function w({classId:i,showName:a=!1,size:m="md",className:o}){const n=s(i);return r("div",{className:c("flex items-center gap-2",o),children:[e("img",{src:n.icon,alt:n.name,className:c(d[m],"object-contain")}),a&&e("span",{children:n.name})]})}export{w as C,s as a,b as g};
