(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{98318:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(10963)}])},10963:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return J}});var r=t(11527),n=t(37033),i=t.n(n),l=t(16364),a=t.n(l),o=t(50959),d=t(99921);t(56329);var c=t(78978),x=t.n(c),h=t(18313),m=t(60047),j=t(78125),u=t(49476),p=t(98745),f=t(63879),g=t(64373),b=t(4385),w=t(90991),_=t(51660),v=t(83016),N=t(63935),S=t(97965),y=t(65984),E=t(6151),T=t(40257),C=t(97771),F=t(21379),O=t(98713),I=t(19364),k=t(19716),H=t(74419),A=t(25270),M=t(89995),B=t(91101),z=t(44129),X=t(39355),W=t(78653),L=t(74815),K=t(87162),P=t(39211),Q=t(98280),q=t(24557);let D=e=>{let{heading:s,description:t}=e;return(0,r.jsx)(w.xu,{background:"blue.100",borderRadius:"5px",width:"120px",minHeight:"50px",children:(0,r.jsxs)(Q.g,{children:[(0,r.jsx)(y.x,{fontSize:"sm",children:s}),(0,r.jsx)(y.x,{fontSize:"sm",marginTop:"-2",fontWeight:"semibold",children:t})]})})},R=e=>{let{metadata:s}=e;if(void 0===s||void 0===s.attributes)return(0,r.jsx)(r.Fragment,{});console.log("traits");let t=s.attributes.filter(e=>void 0!==e.trait_type&&void 0!==e.value),n=t.map(e=>(0,r.jsx)(D,{heading:e.trait_type,description:e.value},e.trait_type));return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(q.i,{marginTop:"15px"}),(0,r.jsx)(M.M,{marginTop:"15px",children:n})]})};function Y(e){var s;let{metadata:t}=e,n=null!==(s=t.animation_url)&&void 0!==s?s:t.image;return console.log("image: "+n),(0,r.jsxs)(w.xu,{position:"relative",width:"full",overflow:"hidden",children:[(0,r.jsx)(w.xu,{height:"sm",position:"relative",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundImage:"url(".concat(n,")")},n),(0,r.jsx)(y.x,{fontWeight:"semibold",marginTop:"15px",children:t.name}),(0,r.jsx)(y.x,{children:t.description}),(0,r.jsx)(R,{metadata:t})]})}let Z=e=>{let{nfts:s}=e;if(void 0===s)return(0,r.jsx)(r.Fragment,{});let{mint:t,offChainMetadata:n}=s[s.length-1];return void 0===n?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)(Y,{metadata:n},t)};var G=t(52065);let U=a()(async()=>(await t.e(550).then(t.bind(t,33550))).WalletMultiButton,{loadableGenerated:{webpack:()=>[null]},ssr:!1});function J(){(0,d.W)(),(0,G.l)();let e=(0,h.p)(),{isOpen:s,onOpen:t,onClose:n}=(0,m.q)(),{isOpen:l,onOpen:a,onClose:c}=(0,m.q)(),[Q,q]=(0,o.useState)(),[D,R]=(0,o.useState)(!1),[Y,J]=(0,o.useState)(!0),[V,$]=(0,o.useState)(),[ee,es]=(0,o.useState)([{label:"startDefault",allowed:!1}]),[et,er]=(0,o.useState)(!0),en=async()=>{let s=document.getElementById("twitter").value,t=document.getElementById("wallet").value,r=s.split("/"),n=r[r.length-1];try{let s=await fetch("./api/form",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({twitterHandle:n,walletAddress:t})}),r=await s.json();s.ok?(console.log("Form submitted successfully"),e({id:"form-ok",title:"Success",description:"Wallet submitted successfully!",status:"success",duration:99999,isClosable:!0})):(console.error("Failed to submit form"),r.error.includes("wallet")?e({id:"form-wallet-error",title:"Failed to submit form!",description:"".concat(t," is already added to the whitelist"),status:"error",duration:99999,isClosable:!0}):r.error.includes("handle")?e({id:"form-handle-error",title:"Failed to submit form!",description:"The handle @".concat(n," already has a submitted wallet"),status:"error",duration:99999,isClosable:!0}):e({id:"form-error",title:"Failed to submit form!",description:r.error,status:"error",duration:99999,isClosable:!0}))}catch(e){console.error("Error submitting form:",e)}},ei=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i(),{id:"20ac6f2d99257d9d",children:"body{background:#000}"}),(0,r.jsx)(j.Z,{background:"whiteAlpha.200",padding:"3",children:(0,r.jsxs)(u.m,{isFitted:!0,borderColor:"blue.900",children:[(0,r.jsxs)(p.t,{color:"blue.900",fontSize:"24px!important",marginX:"2vw",children:[(0,r.jsx)(f.O,{children:"HOME"}),(0,r.jsx)(f.O,{children:"MANIFESTO"}),(0,r.jsx)(f.O,{children:"INFO"})]}),(0,r.jsxs)(g.n,{paddingX:"2vw",children:[(0,r.jsxs)(b.x,{children:[(0,r.jsx)(w.xu,{rounded:"lg",mt:5,pos:"relative",children:(0,r.jsx)(_.E,{height:280,margin:"auto",objectFit:"contain",alt:"project Image",src:"./banner.gif"})}),(0,r.jsx)(w.xu,{}),(0,r.jsx)(v.e,{children:(0,r.jsx)(N.M,{fontSize:"xl",color:"var(--accent)!important",children:"COMING SOON"})})]}),(0,r.jsx)(b.x,{children:(0,r.jsx)(w.xu,{rounded:"lg",mt:5,marginY:12,pos:"relative",children:(0,r.jsx)(_.E,{height:240,margin:"auto",blendMode:"lighten",objectFit:"contain",alt:"project Image",src:"./text.gif"})})}),(0,r.jsx)(b.x,{children:(0,r.jsxs)(S.U,{marginBottom:"19px",children:[(0,r.jsx)(y.x,{marginTop:10,children:"Solana Manlets Army is a based group with the 4,000 brightest and boldest bald minds fighting for the culture of the Solana Blockchain.                   "}),(0,r.jsxs)(E.Q,{marginTop:10,children:[(0,r.jsx)("h2",{className:"jsx-20ac6f2d99257d9d",children:(0,r.jsxs)(T.K,{children:[(0,r.jsx)(w.xu,{as:"span",flex:"1",textAlign:"left",textColor:"var(--accent)",children:"MINT DETAILS"}),(0,r.jsx)(C.X,{})]})}),(0,r.jsxs)(F.H,{pb:4,children:["Price: TBA ",(0,r.jsx)("br",{className:"jsx-20ac6f2d99257d9d"}),"When: TBA ",(0,r.jsx)("br",{className:"jsx-20ac6f2d99257d9d"}),"Supply: 4000 ",(0,r.jsx)("br",{className:"jsx-20ac6f2d99257d9d"}),(0,r.jsx)("br",{className:"jsx-20ac6f2d99257d9d"}),"At ",(0,r.jsx)(O.r,{href:"https://solanamanlets.com",isExternal:!0,children:"solanamanlets.com"})," [Bookmark this page]           "]})]}),(0,r.jsxs)(E.Q,{children:[(0,r.jsx)("h2",{className:"jsx-20ac6f2d99257d9d",children:(0,r.jsxs)(T.K,{children:[(0,r.jsx)(w.xu,{as:"span",flex:"1",textAlign:"left",textColor:"var(--accent)",children:"WHITELIST                        "}),(0,r.jsx)(C.X,{})]})}),(0,r.jsxs)(F.H,{pb:4,children:[(0,r.jsx)(y.x,{marginBottom:5,children:" To be considered for the Solana Manlets Army whitelist, please:"}),(0,r.jsxs)(I.QI,{marginBottom:5,children:[(0,r.jsxs)(I.HC,{children:["Follow us at  ",(0,r.jsx)(O.r,{href:"https://x.com/solmanlets",isExternal:!0,children:"x.com/solmanlets"})]}),(0,r.jsx)(I.HC,{children:"Like and retweet one of our posts"}),(0,r.jsx)(I.HC,{children:"Enter your twitter handle and wallet below:"})]}),(0,r.jsxs)(k.K,{marginTop:5,spacing:3,children:[(0,r.jsx)(H.I,{id:"twitter",placeholder:"twitter/x handle",size:"md"}),(0,r.jsx)(H.I,{id:"wallet",placeholder:"wallet address",size:"md"}),(0,r.jsx)(A.z,{colorScheme:"blue",onClick:en,children:"Submit"}),(0,r.jsx)(y.x,{children:" *Limit: 1 per wallet and X handle "})]})]})]}),(0,r.jsxs)(E.Q,{children:[(0,r.jsx)("h2",{className:"jsx-20ac6f2d99257d9d",children:(0,r.jsxs)(T.K,{children:[(0,r.jsx)(w.xu,{as:"span",flex:"1",textAlign:"left",textColor:"var(--accent)",children:"OFFICIAL LINKS"}),(0,r.jsx)(C.X,{})]})}),(0,r.jsxs)(F.H,{pb:4,children:[(0,r.jsx)(O.r,{href:"https://x.com/solmanlets",isExternal:!0,children:"x.com/solmanlets"})," ",(0,r.jsx)("br",{className:"jsx-20ac6f2d99257d9d"}),(0,r.jsx)(O.r,{href:"https://solanamanlets.com",isExternal:!0,children:"solanamanlets.com"}),(0,r.jsx)("br",{className:"jsx-20ac6f2d99257d9d"}),(0,r.jsx)("br",{className:"jsx-20ac6f2d99257d9d"}),"*There will be no official Discord server"]})]}),(0,r.jsxs)(E.Q,{children:[(0,r.jsx)("h2",{className:"jsx-20ac6f2d99257d9d",children:(0,r.jsxs)(T.K,{children:[(0,r.jsx)(w.xu,{as:"span",flex:"1",textAlign:"left",textColor:"var(--accent)",children:"MANLETS, UNITE!"}),(0,r.jsx)(C.X,{})]})}),(0,r.jsx)(F.H,{pb:4,children:"Our mission is to raise an Army of Solana Manlets to spread the culture and the message of Solana to the masses. A community-led collection with no fOuNdEr, no salaries, no roadmaps, no promises and no royalties. A rug-proof initiative for a everlasting duty."})]})]})})]})]})}),(0,r.jsx)(M.M,{minChildWidth:"120px",spacing:"40px",gap:4,paddingTop:"40px",children:Array.from({length:12}).map((e,s)=>(0,r.jsx)(B.P,{children:(0,r.jsx)("img",{src:"./img/".concat(s+1,".png"),alt:"Image ".concat(s+1),style:{borderRadius:"5px",width:"100%",height:"100%",objectFit:"cover"},className:"jsx-20ac6f2d99257d9d"})},s))}),(0,r.jsxs)(z.u_,{isOpen:s,onClose:n,children:[(0,r.jsx)(X.Z,{}),(0,r.jsxs)(W.h,{children:[(0,r.jsx)(L.x,{children:"Your minted NFT:"}),(0,r.jsx)(K.o,{}),(0,r.jsx)(P.f,{children:(0,r.jsx)(Z,{nfts:Q})})]})]})]});return(0,r.jsxs)("main",{children:[(0,r.jsx)("div",{className:x().wallet,children:(0,r.jsx)(U,{})}),(0,r.jsx)("div",{className:x().center,children:(0,r.jsx)(ei,{},"content")}),(0,r.jsx)(O.r,{className:"myFooter",href:"https://x.com/solmanlets",isExternal:!0,children:(0,r.jsx)(_.E,{filter:"invert(1)",width:"20px",src:"./x.png"})})]})}},78978:function(e){e.exports={wallet:"Home_wallet__iOS9t",center:"Home_center__4BFgC",form:"Home_form__k2xMg",field:"Home_field__x3_xt",loading:"Home_loading__IsZ5F",spin:"Home_spin__7gbHz",success:"Home_success__cqYiE"}}},function(e){e.O(0,[510,774,888,179],function(){return e(e.s=98318)}),_N_E=e.O()}]);