1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[461],{17798:function(e,t,n){var r=n(82729),a=n(85893);n(67294);var i=n(88095);function _templateObject(){let e=(0,r._)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 1rem;\n text-align: center;\n\n @media (min-width: 768px) {\n flex-direction: row;\n text-align: left;\n align-items: center;\n }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n font-size: 0.675rem;\n color: #4a5568;\n margin-bottom: 0.5rem;\n\n @media (min-width: 768px) {\n margin-bottom: 0;\n }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,r._)(["\n font-size: 0.675rem;\n color: #4a5568;\n\n @media (min-width: 768px) {\n text-align: right;\n }\n"]);return _templateObject2=function(){return e},e}let o=i.ZP.footer.withConfig({componentId:"sc-5385c02d-0"})(_templateObject()),c=i.ZP.div.withConfig({componentId:"sc-5385c02d-1"})(_templateObject1()),l=i.ZP.div.withConfig({componentId:"sc-5385c02d-2"})(_templateObject2());function Footer(){return(0,a.jsxs)(o,{children:[(0,a.jsx)(c,{children:"Copyright \xa9 All rights by Kegen Labs, Inc."}),(0,a.jsx)(l,{children:"This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply"})]})}t.Z=Footer},32488:function(e,t,n){var r=n(85893),a=n(9008),i=n.n(a);n(67294);var o=n(1349);function Seo(){return(0,r.jsxs)(i(),{children:[(0,r.jsx)("title",{children:o.X.title}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,r.jsx)("meta",{name:"description",content:o.X.description}),(0,r.jsx)("meta",{property:"og:title",content:o.X.title}),(0,r.jsx)("meta",{property:"og:description",content:o.X.description}),(0,r.jsx)("meta",{property:"og:image",content:"/share.jpg"})]})}t.Z=Seo},89213:function(e,t,n){n.d(t,{T:function(){return Logo}});var r=n(85893);let Logo=e=>{let{width:t="133",height:n="25"}=e;return(0,r.jsxs)("svg",{width:t,height:n,viewBox:"0 0 133 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M34.3323 9.76889H24.3882V11.1258H34.3323V14.7506H24.3882V16.1269H34.3323V19.713H24.3882L20.7827 16.1269V9.76889L24.3882 6.16343H34.3323V9.76889Z",fill:"white"}),(0,r.jsx)("path",{d:"M49.8359 9.76889V11.1258L46.2304 14.7506H39.8918V19.713H36.2863V6.14404H46.2304L49.8359 9.76889ZM46.2304 11.1258V9.76889H39.8918V11.1258H46.2304ZM49.8359 19.713H46.2304V14.7506H49.8359V19.713Z",fill:"white"}),(0,r.jsx)("path",{d:"M61.734 6.14404L65.3394 9.74951V16.1269L61.734 19.713H55.3953L51.7899 16.1269V9.74951L55.3953 6.14404H61.734ZM61.734 16.1269V9.74951H55.3953V16.1269H61.734Z",fill:"white"}),(0,r.jsx)("path",{d:"M80.843 11.1258H77.2376V9.76889H70.8989V16.1075H77.2376V14.7506H80.843V16.1075L77.2376 19.713H70.8989L67.2935 16.1075V9.76889L70.8989 6.14404H77.2376L80.843 9.76889V11.1258Z",fill:"white"}),(0,r.jsx)("path",{d:"M96.3466 9.74951H91.3649V16.1269H96.3466V19.713H82.797V16.1269H87.7788V9.74951H82.797V6.16343H96.3466V9.74951Z",fill:"white"}),(0,r.jsx)("path",{d:"M98.3006 6.16343H111.85V9.74951H106.868V19.713H103.282V9.74951H98.3006V6.16343Z",fill:"white"}),(0,r.jsx)("path",{d:"M123.748 6.14404H127.354V16.1075L123.748 19.713H117.41L113.804 16.1075V14.7506H117.41V16.1075H123.748V14.7506L123.768 14.7312H117.41L113.804 11.1452V6.14404H117.41V11.1452H123.748V6.14404Z",fill:"white"}),(0,r.jsx)("rect",{x:"4.70776",y:"5.29443",width:"15.6964",height:"16.2672",fill:"black"}),(0,r.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.3645 0.975098L19.8155 3.42614L22.2472 0.994482H31.1173V0.975098H48.3797L50.8105 3.41892L53.2543 0.975098H63.8752L66.319 3.41893L68.7498 0.975098H79.3869L79.4062 0.994482H108.635V0.975098H132.523V9.5623V13.2855V18.2488L125.89 24.8823H115.269L112.038 21.6513V24.8823H68.7579L66.3191 22.4435L63.867 24.8823H0.110107V7.60856L6.74357 0.975098H17.3645ZM18.8288 19.7132V9.74969L15.2233 6.14422H8.88469L5.27923 9.74969V19.7132H8.88469V9.74969H15.2233V19.7132H18.8288ZM24.3883 19.7132H34.3324V16.1271H24.3883V14.7508H34.3324V11.126H24.3883V9.76907H34.3324V6.1636H24.3883L20.7828 9.76907V16.1271L24.3883 19.7132ZM36.2864 19.7132H39.8919V14.7508H46.2305V19.7132H49.836V14.7508H46.2305L49.836 11.126V9.76907L46.2305 6.14422H36.2864V19.7132ZM39.8919 9.76907V11.126H46.2305V9.76907H39.8919ZM82.7971 19.7132H96.3467V16.1271H91.365V9.74969H96.3467V6.1636H82.7971V9.74969H87.7789V16.1271H82.7971V19.7132ZM80.8431 14.7508H77.2377V16.1077H70.899V9.76907H77.2377V11.126H80.8431V9.76907L77.2377 6.14422H70.899L67.2936 9.76907V16.1077L70.899 19.7132H77.2377L80.8431 16.1077V14.7508ZM51.79 9.74969V16.1271L55.3954 19.7132H61.7341L65.3395 16.1271V9.74969L61.7341 6.14422H55.3954L51.79 9.74969ZM55.3954 9.74969V16.1271H61.7341V9.74969H55.3954ZM103.282 19.7132H106.869V9.74969H111.85V6.1636H98.3007V9.74969H103.282V19.7132ZM127.354 6.14422H123.748V11.1453H117.41V6.14422H113.804V11.1453L117.41 14.7314H123.768
1L123.748 14.7508V16.1077H117.41V14.7508H113.804V16.1077L117.41 19.7132H123.748L127.354 16.1077V6.14422Z",fill:"black"}),(0,r.jsx)("path",{d:"M9.06247 6.43579V19.746H5.52575V9.9725H8.81528V19.746H5.27856V6.43579H9.06247Z",fill:"white"}),(0,r.jsx)("path",{d:"M9.0408 7.52237L18.4525 16.9341L15.9517 19.4349L9.0408 12.524L11.3668 10.198L18.2777 17.1089L15.7769 19.6097L6.36518 10.198L9.0408 7.52237Z",fill:"white"}),(0,r.jsx)("path",{d:"M18.9773 6.43579V19.746H15.4406V9.9725H18.7301V19.746H15.1934V6.43579H18.9773Z",fill:"white"})]})}},87456:function(e,t,n){n.d(t,{_:function(){return r}});let r={visitors:"visitors",wallet_connect:"Wallet connect",agent_creation:"Agent creation",buy:"Buy",sell:"Sell",reply:"Reply",comment:"Comment"}},80325:function(e,t,n){n.d(t,{z:function(){return r}});let r=Object.freeze({public:{feed:"/public/feed",overlord:"/public/overlord",candlestick:"/public/candlestick/:mint",checkNft:"/leaderboard/api/v1/checkNft",platformStats:"/public/platform-stats"},auth:{login:"/auth/login",validateToken:"/auth/validate-token",validateReferral:"/auth/validate-referral"},agents:{launch:"/agents/launch",launchV2:"/leaderboard/api/v1/launch",agent:"/agents/:agent_id",pumpfun:"/agents/pumpfun/:agent_id",twitteroauth1:"/agents/twitter-oauth1",reconnectTwitter:"/agents/reconnect/twitter",validateoauth1:"/agents/twitter/validate-oauth1",fetchCoinsHeldByAgentId:"/agents/:agent_id",createAndBuyXAgent:"/agents/launch-token"},coins:{transactions:"/coins/transactions",trade:"/leaderboard/api/v1/trade"},chat:{send:"/chat/send",fetch:"/chat/fetch/:agent_id",activity:"/leaderboard/api/v1/activity"},profile:{fetchByPublicKey:"/profile/get/:public_key",fetchByUserName:"/profile/get/username/:username",fetchCoinsByPublicKey:"/profile/coins/createdby/:public_key"}})},34024:function(e,t,n){n.d(t,{h:function(){return Meta}});var r=n(85893),a=n(9008),i=n.n(a),o=n(2962),c=n(1349);let Meta=e=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i(),{children:[(0,r.jsx)("meta",{charSet:"UTF-8"},"charset"),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width,initial-scale=1"},"viewport"),(0,r.jsx)("link",{rel:"apple-touch-icon",href:"/apple-touch-icon.png"},"apple"),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"},"icon32"),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"},"icon16"),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"},"favicon")]}),(0,r.jsx)(o.PB,{title:e.title,description:e.description,canonical:e.canonical,openGraph:{title:e.title,description:e.description,url:e.canonical,locale:c.X.locale,site_name:c.X.site_name}})]})},91377:function(e,t,n){n.d(t,{m:function(){return o}});var r=n(80325),a=n(39418),i=n(86047);let ApiClient=class ApiClient extends a.J{async getAgent(e){try{let t=await this.apiCall({type:"GET",url:r.z.agents.agent.replace(":agent_id",e)});return t.data}catch(e){return Promise.reject((0,i.x)(e))}}async sendMessage(e){try{let t=await this.secureApiCall({type:"POST",url:r.z.chat.send,body:e});return t.data}catch(e){return Promise.reject((0,i.x)(e))}}async fetchChats(e){try{let t=await this.secureApiCall({type:"GET",url:r.z.chat.fetch.replace(":agent_id",e)});return t.data}catch(e){return Promise.reject((0,i.x)(e))}}async fetchPumpfunData(e){try{let t=await this.apiCall({type:"GET",url:r.z.agents.pumpfun.replace(":agent_id",e)});return t.data}catch(e){return Promise.reject((0,i.x)(e))}}async fetchPoolPrice(e){try{let t=await this.apiCall({type:"GET",url:"https://api.geckoterminal.com/api/v2/networks/solana/pools/".concat(e)});return t.data.data}catch(e){return Promise.reject((0,i.x)(e))}}async fetchActivities(e){try{let t=await this.secureApiCall({type:"POST",url:r.z.chat.activity,body:e});return t.data}catch(e){return Promise.reject((0,i.x)(e))}}async sendTrade(e){try{let t=await this.apiCall({type:"POST",url:r.z.coins.trade,body:e});return t.data}catch(e){return Promise.reject((0,i.x)(e))}}async createAndBuyInstructionSerialized(e){try{let t=await this.secureApiCall({type:"POST",url:r.z.agents.createAndBuyXAgent,body:e});return t.data}catch(e){return Promise.reject((0,i.x)(e))}}constructor(){super({})}};let o=new ApiClient},66218:function(e,t,n){n.d(t,{D:function(){return o}});var r=n(80325),a=n(39418),i=n(86047);let ApiClient=class ApiClient extends a.J{async feed(e){try{let t="";t=""===e?r.z.public.feed:"leaderboard/api/v1/".concat(e);let n=await this.apiCall({type:"GET",url:t});return n.data}catch(e){return Promise.reject((0,i.x)(e))}}async verifyNft(e){try{let t=await this.apiCall({type:"POST",url:r.z.public.checkNft,body:e});return t.data}catch(e){return Promise.reject((0,i.x)(e))}}async searchFeed(e){try{let t=await this.apiCall({type:"GET",url:"/leaderboard/api/v1/search?query=".concat(e)});return t.data}catch(e){return Promise.reject((0,i.x)(e))}}async overlord(){try{let e=await this.apiCall({type:"GET",url:r.z.public.overlord});return e.data}catch(e){return Promise.reject((0,i.x)(e))}}async solPrice(){try{if("solprice"in this.cache)return this.cache.solprice;let e=await this.apiCall({type:"GET",url:"https://api.martianwallet.xyz/v1/prices?ids=solana"});return this.cache.solprice=e.data,e.data}catch(e){return Promise.reject((0,i.x)(e))}}async candlestickData(e){try{let t=await this.apiCall({type:"GET",url:r.z.public.candlestick.replace(":mint",e)});return t.data}catch(e){return Promise.reject((0,i.x)(e))}}async getPlatformStats(){try{let e=await this.apiCall({type:"GET",url:r.z.public.platformStats});return e.data}catch(e){return Promise.reject((0,i.x)(e))}}constructor(){super({}),this.cache={}}};let o=new ApiClient},39418:function(e,t,n){n.d(t,{J:function(){return BaseApiClient},f:function(){return i}});var r=n(87066),a=n(76610);let i="https://api.neroboss.ai";let BaseApiClient=class BaseApiClient{async apiCall(e){let{url:t,type:n,body:r}=e;switch(n){case"GET":{let e="";if(r)return e=new URLSearchParams(r).toString(),this.axiosClient.get("".concat(t,"?").concat(e));return this.axiosClient.get(t)}case"POST":return this.axiosClient.post(t,r);default:throw Error("invalid request type")}}async secureApiCall(e){let t;let{url:n,type:r,body:i,token:o,onUploadProgress:c,onDownloadProgress:l,config:s={}}=e;if(o)t=o;else{let{token:e}=a.H.getState();t=e}switch(r){case"GET":{let e="";if(i)return e=new URLSearchParams(i).toString(),this.axiosClient.get("".concat(n,"?").concat(e),{headers:{Authorization:"Bearer ".concat(t)},onUploadProgress:c,onDownloadProgress:l,...s});return this.axiosClient.get(n,{headers:{Authorization:"Bearer ".concat(t)},onUploadProgress:c,onDownloadProgress:l,...s})}case"POST":return this.axiosClient.post(n,i,{headers:{Authorization:"Bearer ".concat(t)},onUploadProgress:c,onDownloadProgress:l,...s});case"DELETE":return this.axiosClient.delete(n,{headers:{Authorization:"Bearer ".concat(t)},onUploadProgress:c,onDownloadProgress:l,...s});default:throw Error("invalid request type")}}constructor(e){this.baseUrl=i;let{baseURL:t=i}=e;this.baseUrl=t,this.axiosClient=r.Z.create({baseURL:t})}}},67706:function(e,t,n){n.d(t,{R:function(){return a}});var r=n(73445);let a=(0,r.Ue)()(e=>({searchText:"",setSearchText:t=>e(()=>({searchText:t})),displaySearchResults:!1,setDisplaySearchResults:t=>e(()=>({displaySearchResults:t}))}))},78230:function(e,t,n){n.d(t,{Z:function(){return templates_Main}});var r=n(82729),a=n(85893),i=n(19692),o=n(67294),c=n(88095),l=n(17798),s=n(7963),d=n(83558),u=n(34292),p=n(57747),h=n(33090),x=n(14225),f=n(71293),g=n(48783),m=n(54306),y=n(45604),b=n(16009),j=n(41664),w=n.n(j),H=n(11163),v=n(47516),V=n(38138),S=n(89583),C=n(5434),L=n(91377),k=n(87456),_=n(79076),T=n(16479);let trackWalletConnect=e=>{try{_.E.trackEvent(k._.wallet_connect,e)}catch(e){T.r.error(e)}};var P=n(80325),M=n(39418),E=n(86047);let ApiClient=class ApiClient extends M.J{async login(e){try{let t=await this.apiCall({type:"POST",url:P.z.auth.login,body:e});return t.data}catch(e){return Promise.reject((0,E.x)(e))}}async validateToken(e){try{let t=await this.apiCall({type:"POST",url:P.z.auth.validateToken,body:{token:e.token}});return t.data.valid}catch(e){return Promise.reject((0,E.x)(e))}}async validateReferral(e){try{let t=await this.apiCall({type:"POST",url:P.z.auth.validateReferral,body:{code:e.code}});return t.data.valid}catch(e){return Promise.reject((0,E.x)(e))}}constructor(){super({})}};let Z=new ApiClient;var O=n(67706),A=n(76610),z=n(43315),I=n(89213);let LogoSmall=()=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",viewBox:"0 0 19 19",fill:"none",children:(0,a.jsx)("path",{d:"M7.49273 2.43604V1.43717H6.49386H2.70996H1.7111V2.43604V15.7462V16.7451H1.95829H2.70996H2.95715H6.24667H6.49386H7.24554H7.49273V15.7462V11.307L11.6259 15.4402V15.7462V16.7451H11.8731H12.6248H12.872H12.9308L13.2083 17.0226L13.3831 16.8478L13.4858 16.7451H16.1615H16.4087H17.1603H17.4075V15.7462V2.43604V1.43717H16.4087H12.6248H11.6259V2.43604V7.26371L7.49273 3.13053V2.43604Z",fill:"white",stroke:"black","stroke-width":"1.99773"})});var R=n(81136),D=n(5460),G=n(39332),B=n(66218),F=n(66601);function useDebounce(e,t){let[n,r]=(0,o.useState)(e);return(0,o.useEffect)(()=>{let n=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(n)}},[e,t]),n}var Header_SearchResults=function(e){let{searchText:t,setSearchText:n,displaySearchResults:r}=e,i=(0,G.useRouter)(),[c,l]=(0,o.useState)(!0),s=useDebounce(t,1e3),[d,h]=(0,o.useState)([]),x=(0,o.useRef)(null),fetchFeed=async()=>{try{l(!0);let e=[];
1if(""!==t){let n=await B.D.searchFeed(t);n.agents.length>0?(e=n.agents,h(e)):h([])}l(!1)}catch(e){console.error(e),l(!1)}};return((0,o.useEffect)(()=>{""!==s&&fetchFeed()},[s]),""!==t&&r)?(0,a.jsx)(g.g,{className:"scrollbar",py:"5px",ref:x,position:"absolute",mt:"5px",border:"1px solid #6F5034",maxHeight:"250px",overflowY:"auto",top:"100%",left:"0",minWidth:"100%",display:"flex",flexDirection:"column",gap:"10px",p:"4",zIndex:"100",bg:"brown.200",children:c?(0,a.jsx)(p.xu,{my:"10px",children:(0,a.jsx)(R.$,{})}):0===d.length?(0,a.jsx)(f.x,{children:"No results found!"}):d.map(e=>(0,a.jsxs)(u.U,{cursor:"pointer",p:"2",border:"1px solid #959595",justifyContent:"space-between",width:"100%",color:"secondary",fontSize:"12px",onClick:()=>{n(""),i.push("/".concat(e.id))},children:[(0,a.jsxs)(u.U,{alignItems:"center",children:[(0,a.jsx)(D.E,{boxSize:"2rem",objectFit:"cover",src:e.image,alt:"Ticker Image"}),(0,a.jsxs)(f.x,{color:"white",fontSize:"14px",children:["$",e.ticker]})]}),(0,a.jsxs)(f.x,{color:"white",children:["$",e.market_cap]}),(0,a.jsx)(f.x,{display:{base:"none",lg:"block"},children:(0,F.Q)(Date.now(),parseInt(e.created_at.toString(),10))})]}))}):null},U=n(48764).Buffer;function _templateObject(){let e=(0,r._)(["\n /* max-width: 490px; */\n background-color: #0b0d0e;\n"]);return _templateObject=function(){return e},e}function formatToShortLink(e){return e>=1e6?"".concat((e/1e6).toFixed(1),"M"):e>=1e3?"".concat((e/1e3).toFixed(1),"K"):null==e?void 0:e.toString()}c.ZP.header.withConfig({componentId:"sc-40382c69-0"})(_templateObject());var components_Header=function(){let e=(0,H.useRouter)(),t=(0,s.p)(),{searchText:n,setSearchText:r,displaySearchResults:i,setDisplaySearchResults:c}=(0,O.R)(),{isAuthenticated:l,profile:j,reset:k,token:_,setUserProfile:T,setToken:P,setAuthenticated:M}=(0,A.Z)(e=>e),{autoConnect:E,wallets:R,wallet:D,publicKey:G,connecting:B,connected:F,disconnecting:N,connect:X,disconnect:Y,signIn:$,signMessage:J}=(0,m.O)(),[W,K]=(0,o.useState)(null==G?void 0:G.toString()),[q,Q]=(0,o.useState)(!1),[ee,et]=(0,o.useState)(!1),[en,er]=(0,o.useState)(!1),[ea,ei]=(0,o.useState)(!1),[eo,ec]=(0,o.useState)(!1);(0,d.S)({base:"10px",sm:"12px",md:"16px"});let el=(0,d.S)({base:!1,lg:!0}),es=(0,d.S)({base:!0,sm:!1}),ed=(0,o.useRef)(null),eu=(0,o.useRef)(null),[ep,eh]=(0,o.useState)(""),[ex,ef]=(0,o.useState)(!1),eg=(0,o.useMemo)(()=>j&&j.profile&&j.profile.address?"".concat(j.profile.address.slice(0,3),"...").concat(j.profile.address.slice(-3)):"tst...val",[j]),handleSignin=async()=>{try{var e;if(!J||!G){console.error("Wallet not connected or does not support message signing");return}let t=new TextEncoder().encode("Sign this message to authenticate"),n=await J(t),r=G.toBuffer().toString("hex");if((null==j?void 0:null===(e=j.profile)||void 0===e?void 0:e.public_key)===r)return;let a=await Z.login({public_key:r,signature:U.from(n).toString("hex"),message:U.from(t).toString("hex")}),i={profile:a.user,isAuthenticated:!0,token:a.token};T(i),P(i.token),M(!0),et(!1);let o=z.Nu(i);if(trackWalletConnect({wallet_address:G.toString()}),!o)throw Error("Something went wrong!")}catch(e){handleDisconnect(),t({title:"Error",description:"Unable to connect!",status:"error",position:"bottom-right"}),console.error(e)}};(0,o.useEffect)(()=>{let handleClickOutside=e=>{ed.current&&!ed.current.contains(e.target)&&et(!1)};return document.addEventListener("mousedown",handleClickOutside),()=>{document.removeEventListener("mousedown",handleClickOutside)}},[]),(0,o.useEffect)(()=>{let handleClickOutsideInput=e=>{eu.current&&!eu.current.contains(e.target)&&c(!1)};return document.addEventListener("mousedown",handleClickOutsideInput),()=>{document.removeEventListener("mousedown",handleClickOutsideInput)}},[]),(0,o.useEffect)(()=>{er(!0)},[]),(0,o.useEffect)(()=>{!F||l||q||(Q(!0),handleSignin().then(()=>{K(null==G?void 0:G.toString())}).finally(()=>Q(!1)))},[F,G]),(0,o.useEffect)(()=>{let fetchMarketCap=async()=>{let e=await L.m.fetchPumpfunData("5HTp1ebDeBcuRaP4J6cG3r4AffbP4dtcrsS7YYT7pump");eh(formatToShortLink(e.usd_market_cap))};fetchMarketCap()},[]);let handleDisconnect=async()=>{try{ei(!0),k(),await Y(),z.w7(),Q(!1),ei(!1)}catch(e){console.error("Error disconnecting wallet",e),ei(!1)}};return en?ex?(0,a.jsxs)(u.U,{bg:"brown.100",height:"70px",py:"1rem",align:"center",gap:{base:"5px",sm:"40px"}
1,px:"1rem",justifyContent:{base:"space-between",md:"block"},children:[(0,a.jsx)(p.xu,{cursor:"pointer",marginLeft:"24px",children:(0,a.jsx)(w(),{href:"/app",children:el?(0,a.jsx)(I.T,{}):(0,a.jsx)(LogoSmall,{})})}),(0,a.jsxs)(p.xu,{display:"flex",bg:"brown.200",alignItems:"center",gap:"20px",px:"1rem",position:"relative",ref:eu,children:[(0,a.jsx)(v.Goc,{size:20}),(0,a.jsx)(h.I,{outline:"none",border:"0",flexGrow:"1",padding:"0",placeholder:"Search for agents",value:n,onChange:e=>r(e.target.value),onBlur:()=>{setTimeout(()=>ef(!1),500)},onFocus:()=>c(!0),_focus:{outline:"none",border:"none",boxShadow:"none"},autoFocus:!0}),(0,a.jsx)(Header_SearchResults,{searchText:n,setSearchText:r,displaySearchResults:i})]})]}):(0,a.jsxs)(u.U,{bg:"brown.100",height:"70px",pl:"40px",py:"1rem",align:"center",gap:{base:"5px",md:"40px"},justifyContent:{base:"space-between",md:"block"},children:[(0,a.jsx)(w(),{href:"/app",children:(0,a.jsx)(p.xu,{cursor:"pointer",children:el?(0,a.jsx)(I.T,{}):(0,a.jsx)(LogoSmall,{})})}),es?(0,a.jsxs)(p.xu,{ml:"20px",children:[(0,a.jsx)(v.Goc,{size:20,style:{cursor:"pointer"},onClick:()=>ef(!0)})," "]}):(0,a.jsx)(p.xu,{padding:"20px",children:(0,a.jsxs)(p.xu,{px:"2rem",display:"flex",bg:"brown.200",alignItems:"center",gap:"20px",position:"relative",ref:eu,children:[(0,a.jsx)(v.Goc,{size:20}),(0,a.jsx)(h.I,{outline:"none",border:"0",flexGrow:"1",padding:"0",placeholder:"Search for agents",value:n,onChange:e=>r(e.target.value),_focus:{outline:"none",border:"none",boxShadow:"none"},onFocus:()=>c(!0)}),(0,a.jsx)(Header_SearchResults,{searchText:n,setSearchText:r,displaySearchResults:i})]})}),(0,a.jsxs)(u.U,{display:{base:"none",md:"flex"},children:[(0,a.jsx)("a",{href:"https://raydium.io/swap/?inputMint=sol&outputMint=5HTp1ebDeBcuRaP4J6cG3r4AffbP4dtcrsS7YYT7pump",target:"_blank",children:(0,a.jsx)(x.z,{color:"#571F0D",bg:"white",padding:"0px 12px",children:"BUY $NEROBOSS"})}),(0,a.jsxs)(f.x,{display:{base:"none",md:"flex"},children:[" MCAP $",ep]})]}),(0,a.jsx)(u.U,{flexGrow:"1",justifyContent:"flex-end",position:"relative",children:l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(x.z,{onClick:()=>et(!0),bg:"#1FEF34",color:"primary",display:"flex",gap:"10px",alignItems:"center",_hover:{opacity:.8},fontSize:"14px",fontWeight:300,borderRadius:"0",marginRight:"15px",children:[(0,a.jsx)(S.OZg,{}),(0,a.jsx)("span",{children:eg})]}),(0,a.jsxs)(g.g,{ref:ed,zIndex:"100",position:"absolute",gap:"20px",display:ee?"block":"none",alignItems:"flex-start",fontSize:"12px",right:"10",border:"0.5px solid grey",transform:"translateY(70px)",bg:"#1a1a1c",color:"white",padding:"1rem",children:[(0,a.jsxs)(u.U,{onClick:()=>{var t;et(!1),e.push("/profile/".concat(null===(t=j.profile)||void 0===t?void 0:t.username))},cursor:"pointer",justifyContent:"flex-start",children:[(0,a.jsx)(f.x,{color:"text.100",children:eg}),(0,a.jsx)(C.HV3,{color:"#737373"})]}),(0,a.jsxs)(u.U,{cursor:"pointer",gap:"50px",marginTop:"10px",onClick:()=>{et(!1),handleDisconnect()},children:[(0,a.jsx)(f.x,{children:"DISCONNECT"}),(0,a.jsx)(V.GAI,{color:"white"})]})]})]}):(0,a.jsx)(y.s,{children:(0,a.jsx)(b.a,{style:{backgroundColor:"transparent"},children:(0,a.jsxs)(p.xu,{bg:"#1FEF34",width:"120px",borderRadius:"0",height:"40px",color:"white",padding:"15px",display:"flex",alignItems:"center",justifyContent:"space-between",_hover:{boxShadow:"0px 2px 3px 0px #21972D1A"},_focus:{boxShadow:"0px 6px 6px 0px #21972D17"},_active:{boxShadow:"0px 14px 9px 0px #21972D0D"},_disabled:{boxShadow:"0px 25px 10px 0px #21972D03"},gap:"10px",children:[(0,a.jsx)(S.OZg,{}),(0,a.jsx)("span",{children:"Connect"})]})})})})]}):(0,a.jsx)(u.U,{bg:"brown.100",height:"70px",py:"1rem",align:"center",gap:{base:"5px",sm:"40px"},px:"1rem",width:"100vw",justifyContent:{base:"space-between",md:"block"}})};function Main_templateObject(){let e=(0,r._)(["\n width: 100%;\n color: white;\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n"]);return Main_templateObject=function(){return e},e}function _templateObject1(){let e=(0,r._)(["\n flex: 1; /* Allows this section to grow and push the footer down */\n padding: ",";\n"]);
1return _templateObject1=function(){return e},e}let N=c.ZP.div.withConfig({componentId:"sc-3fb4d314-0"})(Main_templateObject()),X=c.ZP.div.withConfig({componentId:"sc-3fb4d314-1"})(_templateObject1(),e=>e.nopadding?"0":"1rem");var templates_Main=e=>{let{children:t,bgcolor:n,nopadding:r,nofooter:o,nomain:c,noHeaderOnMobile:s}=e;return(0,a.jsxs)(N,{$noHeaderOnMobile:s,children:[(0,a.jsx)(i.GoogleAnalytics,{gaId:"G-7KQEXTEH06"}),(0,a.jsx)(components_Header,{}),(0,a.jsx)(X,{nopadding:r,children:t}),o?null:(0,a.jsx)(l.Z,{})]})}},79076:function(e,t,n){n.d(t,{E:function(){return a}});var r=n(83198);let Mixpanel=class Mixpanel{setIdentity(e){r.Z.identify(e),r.Z.people.set({$name:e})}removeIdentity(){r.Z.reset()}trackEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...t};r.Z.track(e,{...n,product:"nerocity-webapp"})}constructor(){r.Z.init("070a85a4b6ba29b676a04030a050293f",{debug:!1,api_host:"https://api.mixpanel.com"}),r.Z.opt_in_tracking()}};let a=new Mixpanel},1349:function(e,t,n){n.d(t,{X:function(){return r}});let r={site_name:"nerocity.ai: first AI agent coin launchpad on Solana",site_link:"https://nerocity.ai",title:"Nerocity",description:"First AI agent coin launchpad on Solana",dashboard_version:"0.0.1-alpha",locale:"en"}},86047:function(e,t,n){n.d(t,{x:function(){return getErrorMessageFromAxios}});let getErrorMessageFromAxios=e=>{var t,n;return Error((null==e?void 0:null===(n=e.response)||void 0===n?void 0:null===(t=n.data)||void 0===t?void 0:t.message)||"Something went wrong!")}},66601:function(e,t,n){n.d(t,{Q:function(){return timeDifference}});function timeDifference(e,t){let n=2592e6,r=31536e6,a=e-t;return a<6e4?"".concat(Math.round(a/1e3)," sec ago"):a<36e5?"".concat(Math.round(a/6e4)," min ago"):a<864e5?"".concat(Math.round(a/36e5)," hr ago"):a<n?"".concat(Math.round(a/864e5)," days ago"):a<r?"".concat(Math.round(a/n)," months ago"):"".concat(Math.round(a/r)," years ago")}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.