import"react";import{Flex as A,Image as C,Text as w}from"@chakra-ui/react";var n="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/ed299f96-6a0f-4f97-cfcb-f8b0ae2ad500/medium",r="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/9c899659-3749-4407-9669-7af913f10500/medium",i="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/c34d29f2-060f-41ae-5eab-30bc2fa66800/medium",a="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/b2d2f956-6eb6-4926-9fc4-e03465a03c00/medium",s="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/571fbcf2-e0d5-4c72-847a-1bb87b327600/medium",c="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/be0850de-021c-4d55-fbcd-8b859fea6300/medium",l="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/308a8ad9-3ec3-42ff-2810-e2de9f0c2600/medium",d="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/067c6d18-66ae-43df-bf2c-6e758c6a9300/medium",f="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/4c38c9bd-a5c2-4b3c-2c14-f0d33b822000/medium",p="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/5a5f445e-fb7c-45a8-787d-d15a9b7ff400/medium";import{useContext as v}from"react";import{createContext as y,useCallback as ie,useEffect as ae,useState as se}from"react";import G from"axios";import{createContext as x,useMemo as U}from"react";import{jsx as B}from"react/jsx-runtime";var z=x(void 0);import{jsx as j,jsxs as K}from"react/jsx-runtime";import{jsx as fe}from"react/jsx-runtime";var u=y(void 0);var h=()=>v(u);var b=(e,{height:t,quality:o})=>{if(e)return e.includes("imagedelivery.net")?e.includes("quality")?`${e},height=${t}`:`${e}/height=${t},quality=${o}`:e};import{jsx as g,jsxs as I}from"react/jsx-runtime";var E={SEA_DROP:l,FAIR:r,MAGIC_EDEN:a,MANIFOLD:i,ZORA:d,FOUNDATION:n,FOUNDATION_DROP:n,HEY_MINT:f,RARIBLE:s,LAUNCH_MY_NFT:c,GASLESS:p},N={SEA_DROP:"Open Sea",FAIR:"Fair",MAGIC_EDEN:"Magic Eden",MANIFOLD:"Manifold",ZORA:"Zora",FOUNDATION:"Foundation",FOUNDATION_DROP:"Foundation",HEY_MINT:"Hey Mint",RARIBLE:"Rarible",LAUNCH_MY_NFT:"Launch My Nft",FEATURED:"Featured",GASLESS:"Gasless"},_=({launchpad:e})=>{let{profile:t}=h(),{profileImage:o}=t||{};return I(A,{align:"center",ml:2,border:"1px solid",borderColor:"input",borderRadius:4,p:"2px",children:[g(C,{w:3,h:3,mr:1,borderRadius:5,src:e==="FEATURED"?`${b(o,{height:40})}`:E[e],objectFit:"contain"}),g(w,{noOfLines:1,fontSize:"2xs",color:"mutedForeground",children:N[e]})]})},_e=_;export{_e as default};
