PageSourceSearch

https://atticc.xyz/_next/static/chunks/3657.12c5b03da23cd7bb.js

js atticc.xyz collected 2026-09-28 06:39:24 UTC 12,670 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3657],{64321:function(e,t,n){"use strict";n.d(t,{AU:function(){return N},HV:function(){return T},Ji:function(){return E},LY:function(){return _},Networks:function(){return S},S1:function(){return m},WF:function(){return D},fI:function(){return C},fq:function(){return x},iC:function(){return b},jH:function(){return P},lC:function(){return v},lT:function(){return f},nz:function(){return I},rN:function(){return w},td:function(){return p},vc:function(){return g},vd:function(){return y},xL:function(){return O},ym:function(){return B}});var s,r,a,i,o,d,c,p,l=n(50677),u=n(34406);let b=u.env.NEXT_PUBLIC_APP_NAME||"Atticc",E=u.env.NEXT_PUBLIC_VERSION||"0.0.1",f=u.env.NEXT_PUBLIC_ATTICC_API_ENDPOINT||"https://query.test.atticc.xyz/v1/graphql",m=u.env.NEXT_PUBLIC_ATTICC_HASURA_ENDPOINT_WSS||"wss://query.test.atticc.xyz/v1/graphql",C=u.env.NEXT_PUBLIC_ATTICC_S3_CDN_URL||"https://media.atticc.xyz",_=u.env.NEXT_PUBLIC_CYBERCONNECT_ENDPOINT||"https://api.cybertino.io/connect/",h=u.env.NEXT_PUBLIC_CYBERCONNECT_V2_STAGING_KEY||"",A=u.env.NEXT_PUBLIC_CYBERCONNECT_V2_PROD_KEY||"";u.env.NEXT_PUBLIC_GALAZY_OAT_ENDPOINT;let T=u.env.NEXT_PUBLIC_HOSTNAME||"http://localhost:3000",v=u.env.NEXT_PUBLIC_NODE_ENV||"development",I=u.env.NEXT_PUBLIC_POAP_API_URL||"https://frontend.poap.tech",P=u.env.NEXT_PUBLIC_NFT_STORAGE_API_TOKEN||"jwt:jwt:jwt";u.env.NEXT_PUBLIC_OXSCOPE_URL,u.env.OXSCOPE_API_KEY,u.env.NEXT_PUBLIC_UNSTOPPABLE_BASE_URL,u.env.UNSTOPPABLE_DOMAINS_API_KEY;let y=u.env.NEXT_PUBLIC_NOVU_APP_ID||"OsHsret_MwTD";u.env.MAGIC_API_KEY;let B=["mp4","mov","wmv","webm","avi","ogg"];u.env.SENDGRID_API_KEY,u.env.SENDGRID_EMAIL_VERIFICATION_TEMPLATE_ID,u.env.SENDGRID_EMAIL_VERIFICATION_SENDER;let N="https://thegraph.goerli.zkevm.consensys.net/subgraphs/name/attic/atticc-voya",g="https://d2xamrmdu66v8f.cloudfront.net";(s=p||(p={})).Ethereum="Ethereum",s.Goerli="Goerli",s.BSC="BSC",s.BscTestnet="BscTestnet",s.Polygon="Polygon",s.PolygonMumbai="PolygonMumbai",s.Sepolia="Sepolia",s.Arbitrum="Arbitrum",s.ArbitrumRinkeby="ArbitrumRinkeby",s.Optimism="Optimism",s.OptimismGoerli="OptimismGoerli",s.LineaGoerli="LineaGoerli",s.Blast="Blast",s.BlastSepolia="BlastSepolia",s.Unknown="Unknown";let k="0x4BCdD74A35e028DaE62cb1D48528E71843e2AC7d",U="0xbF9B4a79a3d9e6AA3cea0fc0134A923FBB111309",R={isTestnet:!1,isUnsupported:!1,name:p.Ethereum,network:"homestead",token:"ETH",decimals:18,id:1,secrets:{alchemy:(null===(a=u.env.NEXT_PUBLIC_ALCHEMY_RPC_ETH)||void 0===a?void 0:null===(r=a.split("/v2/"))||void 0===r?void 0:r[1])||"",infura:u.env.NEXT_PUBLIC_INFURA_TOKEN_ETH||""},urls:{alchemy:u.env.NEXT_PUBLIC_ALCHEMY_RPC_ETH||"",explorer:"https://etherscan.io/",opensea:"https://opensea.io",openseaAPI:"https://api.opensea.io/api/v1/"},contracts:{weth:{address:"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",type:"ERC20"},earlyAdopterPass:{address:"0xa186D739CA2b3022b966194004C6b01855D59571",type:"ERC721",ownerAddress:k},tips:{address:"0x24073DA498B9ee1aB3774AC9198Ae2AA832d8A81",type:"ERC721"},atticcStaking:{address:"0x150225502fb8a965ac3a986a641d13ad963252b5",type:"ERC721"},atticcStakingSBT:{address:"0xbe33bc4aa349a40d84464ecf7e65f7b100bb46f7",type:"ERC721"},atticcCommunity:{address:"0x07ff8bd8173E2Ab9db4b944596189A01cb986Ceb",type:"ERC721"},attiPass:{address:"0x0ff38636e52b04a485837813EBc0ef6eFD5a2A64",type:"ERC721"}},trades:{takerFee:"0",makerFee:"0",feeUnit:"ether",feeAddress:k}},L="production"===v,x={key:L?A:h,url:L?"https://api.cyberconnect.dev/":"https://api.cyberconnect.dev/testnet/",profileNftAddress:L?"0x2723522702093601e6360cae665518c4f63e9da6":"0x57e12b7a5f38a7f9c23ebd0400e6e53f2a45f271",paidMwAddress:L?"0xf89d252629080fb7ded7781a3b99feb3642315a8":"0x4e0d14e52418881511fd8156585d4b03eec1ff36",busdAddress:L?"0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56":"0xeD24FC36d5Ee211Ea25A80239Fb8C4Cfd80f12Ee"},S={Ethereum:R,BSC:{isTestnet:!1,isUnsupported:!1,name:p.BSC,network:"bnb",token:"BNB",decimals:18,id:56,secrets:{},urls:{rpc:"https://bsc-mainnet.nodereal.io/v1/0599aa2902a64e45b476cdb20b596e81",explorer:"https://bscscan.com/",opensea:"https://opensea.io",openseaAPI:"https://api.opensea.io/api/v1"},contracts:{wbnb:{address:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",type:"ERC20"},cyberConnect:{address:"0x889e319021B743716bDCE6e1F56AaD849c4a018a",type:"ERC20",appId:"ec27a600-c073-422a-93e6-3d9ec4ad473d"}},trades:{takerFee:"0",makerFee:"0",feeUnit:"ether",feeAddress:k}},BscTestnet:{isTestnet:!0,isUnsupported:!1,name:p.BscTestnet,network:"bnbt",token:"tBNB",decimals:18,id:97,secrets:{},urls:{rpc:"https://data-seed-prebsc-1-s1.binance.org:8545",explorer:"https://testnet.bscscan.com/",opensea:"https://testnets.opensea.io",openseaAPI:"https://testnets-api.opensea.io/api/v1"},contracts:{wbnb:{address:"0xae13d989dac2f0debff460ac112a837c89baa7cd",type:"ERC20"},cyberConnect:{type:"ERC20",address:"0x06d3C56377AEB5E5916167B58b905dcd1523B62b",appId:"fbe3275d-3497-46ee-9262-cbbca6e09bd0"}},trades:{takerFee:"0",makerFee:"0",feeUnit:"ether",feeAddress:U}},Goerli:{isTestnet:!0,isUnsupported:!1,name:p.Goerli,network:"goerli",token:"GoerliETH",decimals:18,id:5,secrets:{alchemy:(null===(o=u.env.NEXT_PUBLIC_ALCHEMY_RPC_GOERLI)||void 0===o?void 0:null===(i=o.split("/v2/"))||void 0===i?void 0:i[1])||"",infura:u.env.NEXT_PUBLIC_INFURA_TOKEN_ETH||""},urls:{alchemy:u.env.NEXT_PUBLIC_ALCHEMY_RPC_GOERLI||"",explorer:"https://goerli.etherscan.io/",opensea:"https://testnets.opensea.io",openseaAPI:"https://testnets-api.opensea.io/api/v1"},contracts:{weth:{address:"0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6",type:"ERC20"},earlyAdopterPass:{address:"0x0571ee4D99ee6D8b68610ce2d612F413B72e5F39",ownerAddress:U,type:"ERC721"},tips:{address:"0x5Ea02C841581b7d87fB647693D2A619c26101788",type:"ERC721"},atticcStaking:{address:"0x5607FdA144d56c28dfE68e3e2D2E748bA860EA4d",type:"ERC721"},atticcStakingSBT:{address:"0x502eFF99ee3e1673De3fc4DC602735Ea54222854",type:"ERC721"}},trades:{takerFee:"0.0025",makerFee:"0.0025",feeUnit:"ether",feeAddress:U}},Polygon:{isTestnet:!1,isUnsupported:!0,name:p.Polygon,network:"polygon",token:"MATIC",decimals:18,id:137,urls:{rpc:"https://polygon-rpc.com",explorer:"https://polygonscan.com"},contracts:{},secrets:{},trades:{}},PolygonMumbai:{isTestnet:!0,isUnsupported:!0,name:p.PolygonMumbai,network:"mumbai",token:"MATIC",decimals:18,id:80001,urls:{rpc:"https://rpc-mumbai.maticvigil.com",explorer:"https://mumbai.polygonscan.com"},contracts:{},secrets:{},trades:{}},Sepolia:{isTestnet:!0,isUnsupported:!1,name:p.Sepolia,network:"sepolia",token:"SepoliaETH",decimals:18,id:11155111,secrets:{alchemy:(null===(c=u.env.NEXT_PUBLIC_ALCHEMY_RPC_SEPOLIA)||void 0===c?void 0:null===(d=c.split("/v2/"))||void 0===d?void 0:d[1])||"",infura:u.env.NEXT_PUBLIC_INFURA_TOKEN_ETH||""},urls:{alchemy:u.env.NEXT_PUBLIC_ALCHEMY_RPC_SEPOLIA||"",explorer:"https://sepolia.etherscan.io/",opensea:"https://testnets.opensea.io",openseaAPI:"https://testnets-api.opensea.io/api/v1"}
1,contracts:{weth:{address:"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",type:"ERC20"},earlyAdopterPass:{address:"0x2685779282e00C05C755d4Fa224F84B042FfCeb4",ownerAddress:U,type:"ERC721"},tips:{address:"0x19e80b3eac005225444dad1b2862a7ece53c3693",type:"ERC721"},atticcStaking:{address:"0xc34bd3c047d67392e0a942ad80e3f3ae45aa3fc4",type:"ERC721"},atticcStakingSBT:{address:"0x39e1e9733c832076d654d33441de1f9ac3ce2f47",type:"ERC721"},atticcCommunity:{address:"0x775D8bbC281B758b3f60f0Fc60480c4597e42F8C",type:"ERC721"},attiPass:{address:"0x973a450bae65da767f161ea1e94a7ff94c3e79c9",type:"ERC721"}},trades:{takerFee:"0.0025",makerFee:"0.0025",feeUnit:"ether",feeAddress:U}},LineaGoerli:{isUnsupported:!1,id:59140,name:p.LineaGoerli,network:"lineaGoerli",token:"ETH",decimals:18,secrets:{},urls:{explorer:"https://explorer.goerli.linea.build/",rpc:"https://rpc.goerli.linea.build"},contracts:{lineaBadge:{address:"0x0E685e48Bb85285B50E0B6aA9208AaCeaF9147fF",type:"ERC721"}},isTestnet:!0,trades:{}},[p.Arbitrum]:{...R,name:p.Arbitrum,isUnsupported:!0},[p.ArbitrumRinkeby]:{...R,name:p.ArbitrumRinkeby,isTestnet:!0,isUnsupported:!0},[p.Optimism]:{...R,name:p.Optimism,isUnsupported:!0},[p.OptimismGoerli]:{...R,name:p.OptimismGoerli,isTestnet:!0,isUnsupported:!0},Blast:{isTestnet:!1,isUnsupported:!1,name:p.Blast,network:"blast",token:"ETH",decimals:18,id:81457,secrets:{},urls:{explorer:"https://blastscan.io/",rpc:"https://rpc.blast.io"},contracts:{},trades:{}},BlastSepolia:{isTestnet:!0,isUnsupported:!1,name:p.BlastSepolia,network:"blastSepolia",token:"ETH",decimals:18,id:168587773,secrets:{},urls:{explorer:"https://testnet.blastscan.io/",rpc:"https://sepolia.blast.io"},contracts:{},trades:{}},[p.Unknown]:{...R,name:p.Unknown,isTestnet:!0,isUnsupported:!0}},O="production"===v?S.Ethereum:S.Sepolia,w=O.contracts.tips.address,D=l.yl(O.network,{infura:O.secrets.infura,alchemy:O.secrets.alchemy,quorum:1})},2012:function(e,t,n){"use strict";var s=n(52903),r=n(65992),a=n(32446);let i=(0,r.ZP)(e=>(0,s.tZ)(a.Z,{InputLabelProps:{shrink:!0},InputProps:{disableUnderline:!0},...e}))(e=>{var t;let{theme:n,...s}=e;return{"& .MuiFilledInput-root":{overflow:"hidden",borderRadius:8,backgroundColor:n.palette.black.main,border:"1px solid",borderColor:n.palette.strokeColor.main,paddingLeft:16,paddingRight:16,"& input":{paddingLeft:0,paddingRight:0,paddingBottom:8,paddingTop:s.hiddenLabel?8:22,fontSize:16,lineHeight:"24px"},"&:hover":{backgroundColor:n.palette.background.paper},"&.Mui-focused":{backgroundColor:n.palette.black.main,borderColor:n.palette.white.main},"&.Mui-disabled input":{opacity:s.value?.4:.6},"&.Mui-disabled":{borderColor:n.palette.black.main,backgroundColor:n.palette.black.main},"& div.MuiInputAdornment-root":{marginTop:"0 !important"},"&.Mui-disabled div.MuiInputAdornment-root ":{opacity:.3},"&::before":{display:"none"},"&::after":{display:"none"}},"& .MuiInputLabel-root":{fontSize:12,lineHeight:"11px",fontWeight:400,top:4,left:(null===(t=s.InputProps)||void 0===t?void 0:t.startAdornment)?32:6,"&.Mui-focused":{color:n.palette.text.secondary},"&.Mui-disabled":{opacity:.3}}}});t.Z=i},27740:function(e,t,n){"use strict";n.r(t);var s=n(52903),r=n(47746),a=n(42453),i=n(11241),o=n(35469),d=n(5007),c=n(72841),p=n(43411),l=n(66198),u=n(62197),b=n(2784),E=n(97207),f=n(28093),m=n(41202),C=n(41664),_=n.n(C),h=n(57643),A=n(2012);t.default=()=>{let{palette:e}=(0,r.Z)(),t=(0,b.useRef)(null),{address:n,setOpenPopup:C}=(0,f.Z)(),[T,v]=(0,b.useState)(!1),[I,P]=(0,b.useState)(""),y=(0,h.Nr)(I),[B,N]=(0,b.useState)([]),{resolveName:g,lookupAddress:k}=(0,f.Z)(),U=async(e,t)=>{P(t)};return(0,b.useEffect)(()=>{(async function(){if(y.length<5){N([]);return}try{if(v(!0),y.startsWith("0x")&&42===y.length){let e=await k(y);N([{domain:e||"",address:y}])}else if(y.endsWith(".eth")){let e=await g(y);if(e)N([{domain:y,address:e}]);else throw Error("Address not found")}else throw Error("Not met searching criteria")}catch(e){N([])}finally{v(!1)}})()},[y]),(0,s.tZ)(a.Z,{sx:{width:342},children:(0,s.tZ)(i.Z,{freeSolo:!0,fullWidth:!0,disableListWrap:!0,options:B,filterOptions:e=>e,filterSelectedOptions:!0,loading:T,open:I.length>4,renderInput:e=>(0,s.tZ)(A.Z,{inputRef:t,hiddenLabel:!0,placeholder:"Search by username, address, or ENS",variant:"filled",onFocus:()=>{n||(t.current&&t.current.blur(),C(!0))},...e,fullWidth:!0,size:"small",InputProps:{...e.InputProps,startAdornment:(0,s.tZ)(o.Z,{position:"start",children:(0,s.tZ)(d.Z,{component:E.Z,inheritViewBox:!0,fontSize:"inherit",color:"inherit"})}),endAdornment:(0,s.BX)(b.Fragment,{children:[T?(0,s.tZ)(c.Z,{color:"secondary",size:20}):null,e.InputProps.endAdornment]})}}),onInputChange:U,getOptionLabel:e=>"string"==typeof e?e:null==e?void 0:e.address,renderOption:(t,n)=>(0,s.tZ)("li",{...t,children:(0,s.tZ)(_(),{href:"/users/".concat(n.address,"/nfts "),passHref:!0,children:(0,s.BX)(p.Z,{direction:"column",children:[n.domain?(0,s.tZ)(l.Z,{label:n.domain}):null,(0,s.tZ)(u.Z,{color:e.white.main,children:(0,m.Tg)(n.address)})]})},n.address)})})})}},97207:function(e,t,n){"use strict";var s,r=n(2784);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e}).apply(this,arguments)}t.Z=function(e){return r.createElement("svg",a({viewBox:"0 0 32 32",fill:"
1currentColor",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=r.createElement("path",{d:"M29.061 26.939 23.125 21A11.515 11.515 0 1 0 21 23.125l5.941 5.942a1.502 1.502 0 1 0 2.125-2.125l-.005-.003ZM5.501 14a8.5 8.5 0 1 1 8.5 8.5A8.509 8.509 0 0 1 5.5 14Z"})))}},29005:function(){},45179:function(){},12858:function(){},16866:function(){}}]);

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.