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AAN,EAAQC,KAAK,CAACwD,eAAe,CAACE,EAAI,GAI9D,IAAMC,EAAO,GAAIC,CAAAA,GAAAA,EAAKP,CAAQ,CAACxB,EAAQ,EACnCgC,EAAU,EACRC,EAAWC,YAAY,WACzBJ,EAAKK,GAAG,CAACC,qBAAqB,CAACd,EAAiB,SAAUe,CAAG,CAAEC,CAAG,EAC1DA,GACApB,EAAQoB,GACRC,cAAcN,IAEdD,CAAAA,GAAW,GACG,IACVT,GAGZ,EACJ,EAAG,IACP,EACJ,C","sources":["webpack://new_ui/./src/components/Buttons/Button.js","webpack://new_ui/./src/components/Icons/PersonIcon.js","webpack://new_ui/./src/providers/WagmiEthereumProvider.js","webpack://new_ui/./src/providers/ethChains.js","webpack://new_ui/./src/utils/joinStyles.js","webpack://new_ui/./src/utils/wallet_connect_utils.js","webpack://new_ui/./src/utils/web3Utils/baseWeb3.js"],"sourcesContent":["import joinStyles from '../../utils/joinStyles';\nimport { Tooltip } from \"react-tooltip\";\n\nconst handlerHref = (href) => {\n window.location.href = href;\n};\n\nexport const Variants = {\n blueButton: joinStyles([\n 'flex justify-center items-center rounded-[8px] font-regular text-[14px] h-[44px] w-full max-w-[385px] cursor-pointer text-white bg-[#0047FF] ',\n 'hover:border-[#144085] hover:border-2 hover:text-white hover:no-underline ',\n 'active:bg-[#021D63] active:border-[#000000] active:border-2 active:text-white ',\n 'disabled:bg-[#455063] disabled:text-[#A7BAD0] disabled:cursor-not-allowed'\n ]),\n grayBorderButton: joinStyles([\n 'flex justify-center items-center rounded-[8px] font-regular text-[14px] h-[44px] w-full max-w-[385px] cursor-pointer text-white ',\n 'bg-[transparent] border-[#3F4947] border ',\n 'hover:border-[#0046FA] hover:border-2 ',\n 'active:bg-[#144085] active:border-[#0046FA] active:border ',\n 'disabled:bg-[transparent] disabled:border-[#455063] disabled:border disabled:text-[#455063] disabled:cursor-not-allowed'\n ]),\n gray: joinStyles([\n 'flex justify-center items-center rounded-[8px] font-regular text-[14px] h-[44px] w-full max-w-[385px] cursor-pointer text-white ',\n 'bg-[#1A202E]',\n 'hover:border-[#0046FA] hover:border-2 ',\n 'active:bg-[#144085] active:border-[#0046FA] active:border ',\n 'disabled:bg-[#1A202E] disabled:border-[#455063] disabled:border disabled:text-[#455063] disabled:cursor-not-allowed'\n ]),\n signupButton: joinStyles([\n 'w-[100px]',\n 'h-[30px]',\n 'bg-[#0047FF]',\n 'rounded-[8px]',\n 'text-white',\n 'font-normal',\n 'button-text',\n 'flex',\n 'items-center',\n 'justify-center'\n ]),\n loginButton: joinStyles([\n 'h-[34px]',\n 'w-[86px]',\n 'rounded-[50px]',\n 'bg-brand-blue-1',\n 'text-white',\n 'font-bold',\n 'button-text',\n 'flex',\n 'items-center',\n 'justify-center',\n 'max-[450px]:h-[30px]',\n 'max-[450px]:w-[86px]',\n 'max-[450px]:rounded-[12px]'\n ]),\n openMenu: 'bg-transparent',\n closeMenu: joinStyles(['bg-transparent', 'rotate-180']),\n createButton:\n 'btn-create rounded-[8px] w-[180px] sm:w-[240px] md:px-0 h-[70px] sm:h-[50px] lg:h-[70px] button-text font-bold text-white text-[14px] md:text-[18px] block'\n};\n\nconst getVariants = (variant) => {\n return Variants[variant] || Variants.loginButton;\n};\n\nconst Button = ({ children, onClick, href, variant, className, disabled, id, tooltip }) => {\n return (\n <>\n handlerHref(href))}\n className={`${getVariants(variant)} ${className}`}\n disabled={disabled}\n id={id}\n >\n {children}\n \n {tooltip && (\n \n )}\n \n );\n};\n\nexport default Button;\n","export default function PersonIcon() {\n return (\n \n \n \n \n );\n}\n","\nimport { configureChains, mainnet, sepolia } from \"wagmi\";\nimport { MetaMaskConnector } from \"wagmi/connectors/metaMask\";\nimport { WalletConnectConnector } from \"wagmi/connectors/walletConnect\";\nimport { publicProvider } from \"wagmi/providers/public\";\nimport { createConfig, WagmiConfig } from \"wagmi\";\nimport {\n polygon,\n arbitrum,\n optimism,\n base,\n blast,\n linea,\n} from \"./ethChains\";\n\n\n\nconst { chains, publicClient } = configureChains([mainnet, sepolia, polygon, arbitrum, optimism, base, blast, linea], [publicProvider()])\nconst config = createConfig({\n autoConnect: false,\n connectors: [\n new MetaMaskConnector({\n chains,\n options: {\n UNSTABLE_shimOnConnectSelectAccount: true,\n },\n }),\n new WalletConnectConnector({\n chains,\n options: {\n projectId: `${global.props.WALLET_CONNECT_PROJECT_ID}`,\n },\n themeVariables: {\n '--wcm-z-index': 1000,\n }\n })\n ],\n publicClient,\n});\n\n\nexport function WagmiConnectProvider({ children }) {\n return (\n \n {children}\n \n )\n} 1","const polygon = {\n id: 137,\n name: \"Polygon\",\n nativeCurrency: {\n \"name\": \"MATIC\",\n \"symbol\": \"MATIC\",\n \"decimals\": 18\n },\n \"rpcUrls\": {\n \"default\": {\n \"http\": [\n \"https://polygon-rpc.com\"\n ]\n },\n \"public\": {\n \"http\": [\n \"https://polygon-rpc.com\"\n ]\n }\n },\n \"blockExplorers\": {\n \"default\": {\n \"name\": \"PolygonScan\",\n \"url\": \"https://polygonscan.com\",\n \"apiUrl\": \"https://api.polygonscan.com/api\"\n }\n },\n \"contracts\": {\n \"multicall3\": {\n \"address\": \"0xca11bde05977b3631167028862be2a173976ca11\",\n \"blockCreated\": 25770160\n }\n }\n}\n\nconst arbitrum = {\n \"id\": 42161,\n \"name\": \"Arbitrum One\",\n \"nativeCurrency\": {\n \"name\": \"Ether\",\n \"symbol\": \"ETH\",\n \"decimals\": 18\n },\n \"rpcUrls\": {\n \"default\": {\n \"http\": [\n \"https://arb1.arbitrum.io/rpc\"\n ]\n },\n \"public\": {\n \"http\": [\n \"https://arb1.arbitrum.io/rpc\"\n ]\n }\n },\n \"blockExplorers\": {\n \"default\": {\n \"name\": \"Arbiscan\",\n \"url\": \"https://arbiscan.io\",\n \"apiUrl\": \"https://api.arbiscan.io/api\"\n }\n },\n \"contracts\": {\n \"multicall3\": {\n \"address\": \"0xca11bde05977b3631167028862be2a173976ca11\",\n \"blockCreated\": 7654707\n }\n }\n}\nconst optimism = {\n \"formatters\": {\n \"block\": {\n \"type\": \"block\"\n },\n \"transaction\": {\n \"type\": \"transaction\"\n },\n \"transactionReceipt\": {\n \"type\": \"transactionReceipt\"\n }\n },\n \"serializers\": {},\n \"contracts\": {\n \"gasPriceOracle\": {\n \"address\": \"0x420000000000000000000000000000000000000F\"\n },\n \"l1Block\": {\n \"address\": \"0x4200000000000000000000000000000000000015\"\n },\n \"l2CrossDomainMessenger\": {\n \"address\": \"0x4200000000000000000000000000000000000007\"\n },\n \"l2Erc721Bridge\": {\n \"address\": \"0x4200000000000000000000000000000000000014\"\n },\n \"l2StandardBridge\": {\n \"address\": \"0x4200000000000000000000000000000000000010\"\n },\n \"l2ToL1MessagePasser\": {\n \"address\": \"0x4200000000000000000000000000000000000016\"\n },\n \"l2OutputOracle\": {\n \"1\": {\n \"address\": \"0xdfe97868233d1aa22e815a266982f2cf17685a27\"\n }\n },\n \"multicall3\": {\n \"address\": \"0xca11bde05977b3631167028862be2a173976ca11\",\n \"blockCreated\": 4286263\n },\n \"portal\": {\n \"1\": {\n \"address\": \"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed\"\n }\n },\n \"l1StandardBridge\": {\n \"1\": {\n \"address\": \"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1\"\n }\n }\n },\n \"id\": 10,\n \"name\": \"OP Mainnet\",\n \"nativeCurrency\": {\n \"name\": \"Ether\",\n \"symbol\": \"ETH\",\n \"decimals\": 18\n },\n \"rpcUrls\": {\n \"public\": {\n \"http\": [\n \"https://mainnet.optimism.io\"\n ]\n },\n \"default\": {\n \"http\": [\n \"https://mainnet.optimism.io\"\n ]\n }\n },\n \"blockExplorers\": {\n \"default\": {\n \"name\": \"Optimism Explorer\",\n \"url\": \"https://optimistic.etherscan.io\",\n \"apiUrl\": \"https://api-optimistic.etherscan.io/api\"\n }\n },\n \"sourceId\": 1\n}\nconst base = {\n \"formatters\": {\n \"block\": {\n \"type\": \"block\"\n },\n \"transaction\": {\n \"type\": \"transaction\"\n },\n \"transactionReceipt\": {\n \"type\": \"transactionReceipt\"\n }\n },\n \"serializers\": {},\n \"contracts\": {\n \"gasPriceOracle\": {\n \"address\": \"0x420000000000000000000000000000000000000F\"\n },\n \"l1Block\": {\n \"address\": \"0x4200000000000000000000000000000000000015\"\n },\n \"l2CrossDomainMessenger\": {\n \"address\": \"0x4200000000000000000000000000000000000007\"\n },\n \"l2Erc721Bridge\": {\n \"address\": \"0x4200000000000000000000000000000000000014\"\n },\n \"l2StandardBridge\": {\n \"address\": \"0x4200000000000000000000000000000000000010\"\n },\n \"l2ToL1MessagePasser\": {\n \"address\": \"0x4200000000000000000000000000000000000016\"\n },\n \"l2OutputOracle\": {\n \"1\": {\n \"address\": \"0x56315b90c40730925ec5485cf004d835058518A0\"\n }\n },\n \"multicall3\": {\n \"address\": \"0xca11bde05977b3631167028862be2a173976ca11\",\n \"blockCreated\": 5022\n },\n \"portal\": {\n \"1\": {\n \"address\": \"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e\",\n \"blockCreated\": 17482143\n }\n },\n \"l1StandardBridge\": {\n \"1\": {\n \"address\": \"0x3154Cf16ccdb4C6d922629664174b904d80F2C35\",\n \"blockCreated\": 17482143\n }\n }\n },\n \"id\": 8453,\n \"name\": \"Base\",\n \"nativeCurrency\": {\n \"name\": \"Ether\",\n \"symbol\": \"ETH\",\n \"decimals\": 18\n },\n \"rpcUrls\": {\n \"default\": {\n \"http\": [\n \"https://mainnet.base.org\"\n ]\n },\n \"public\": {\n \"http\": [\n \"https://mainnet.base.org\"\n ]\n }\n },\n \"blockExplorers\": {\n \"default\": {\n \"name\": \"Basescan\",\n \"url\": \"https://basescan.org\",\n \"apiUrl\": \"https://api.basescan.org/api\"\n }\n },\n \"sourceId\": 1\n}\nconst blast = {\n \"id\": 81457,\n \"name\": \"Blast\",\n \"nativeCurrency\": {\n \"decimals\": 18,\n \"name\": \"Ether\",\n \"symbol\": \"ETH\"\n },\n \"rpcUrls\": {\n \"default\": {\n \"http\": [\n \"https://rpc.blast.io\"\n ]\n },\n \"public\": {\n \"http\": [\n \"https://rpc.blast.io\"\n ]\n }\n },\n \"blockExplorers\": {\n \"default\": {\n \"name\": \"Blastscan\",\n \"url\": \"https://blastscan.io\",\n \"apiUrl\": \"https://api.blastscan.io/api\"\n },\n },\n \"contracts\": {\n \"multicall3\": {\n \"address\": \"0xcA11bde05977b3631167028862bE2a173976CA11\",\n \"blockCreated\": 212929\n }\n },\n \"sourceId\": 1\n}\nconst linea = {\n \"id\": 59144,\n \"name\": \"Linea Mainnet\",\n \"nativeCurrency\": {\n \"name\": \"Linea Ether\",\n \"symbol\": \"ETH\",\n \"decimals\": 18\n },\n \"rpcUrls\": {\n \"default\": {\n \"http\": [\n \"https://rpc.linea.build\"\n ],\n \"webSocket\": [\n \"wss://rpc.linea.build\"\n ]\n },\n \"public\": {\n \"http\": [\n \"https://rpc.linea.build\"\n ],\n \"webSocket\": [\n \"wss://rpc.linea.build\"\n ]\n }\n },\n \"blockExplorers\": {\n \"default\": {\n \"name\": \"Etherscan\",\n \"url\": \"https://lineascan.build\",\n \"apiUrl\": \"https://api.lineascan.build/api\"\n }\n },\n \"contracts\": {\n \"multicall3\": {\n \"address\": \"0xcA11bde05977b3631167028862bE2a173976CA11\",\n \"blockCreated\": 42\n }\n },\n \"testnet\": false\n}\n\nexport const WAGMI_NETWORK_RELATION = {\n \"SEPOLIA\": 11155111,\n \"ETHEREUM\": 1,\n \"POLYGON\": 137,\n \"ARBITRUM\": 42161,\n \"OPTIMISM\": 10,\n \"BLAST\": 81457,\n \"BASE\": 8453,\n \"LINEA\": 59144,\n}\n\nexport {\n polygon,\n arbitrum,\n optimism,\n base,\n blast,\n linea,\n}","const joinTruthyKeys = (obj) => {\n return Object.entries(obj)\n .filter(([key, value]) => value === true)\n .map(([key]) => key)\n .join(\" \");\n};\n\nconst getClassNames = (obj) => {\n const actions = {\n string: obj.toString(),\n number: obj.toString(),\n object: Array.isArray(obj) ? obj.join(\" \") : joinTruthyKeys(obj),\n boolean: obj.toString(),\n default: \"\",\n };\n return (actions[typeof obj] || actions[\"default\"]).trim();\n};\n\nconst joinStyles = (...args) => {\n return args\n .map((arg) => getClassNames(arg))\n .join(\" \")\n .trim();\n};\n\nexport default joinStyles;\n","import { WalletAdapterNetwork } from '@solana/wallet-adapter-base';\r\n\r\nexport function getSolanaEnvVars() {\r\n return {\r\n endpoint: \"https://radial-young-season.solana-mainnet.quiknode.pro/51bb17bebe0b0462ad2da1d9fb3c5368b6f750fe/\",\r\n network: WalletAdapterNetwork.Mainnet\r\n }\r\n}","import axios from \"axios\";\nimport Web3 from \"web3\";\nexport const COINGECKO_API = \"https://api.coingecko.com/api/v3\"\nexport function isValidHttpUrl(string) {\n let url;\n try {\n url = new URL(string);\n } catch (_) {\n return false;\n }\n return url.protocol === \"http:\" || url.protocol === \"https:\";\n}\n\nexport async function fetchUrlFromGating(url) {\n if (isValidHttpUrl(url)) {\n return (await axios.get(`/api/gate-for-json?url=${url}`)).data\n } else {\n return {}\n }\n}\n\nexport const loadImg = async (url) => {\n const img = new Image();\n img.src = url\n return new Promise((resolve) => {\n img.onerror = () => resolve(false);\n img.onload = () => resolve(true);\n });\n}\n\n\nexport const waitUntilTransactionIsConfirmed = ({ transactionHash, network }) => {\n return new Promise((resolve, reject) => {\n const networks = window.props.NETWORKS\n if(window.props.ENVIRONMENT != \"PROD\"){\n if(global?.props.DEVNET_NETWORKS){\n Object.keys(global?.props.DEVNET_NETWORKS).map(key => {\n networks[key] = global?.props.DEVNET_NETWORKS[key]\n })\n }\n }\n const web3 = new Web3(networks[network])\n let attemps = 0\n const interval = setInterval(function () {\n web3.eth.getTransactionReceipt(transactionHash, function (err, rec) {\n if (rec) {\n resolve(rec);\n clearInterval(interval);\n } else {\n attemps += 1\n if (attemps > 20) {\n reject()\n }\n }\n });\n }, 10000);\n });\n}"],"names":["handlerHref","href","window","location","Variants","blueButton","joinStyles","grayBorderButton","gray","signupButton","loginButton","openMenu","closeMenu","createButton","children","onClick","variant","className","disabled","id","tooltip","anchorId","content","place","type","effect","PersonIcon","width","height","viewBox","fill","xmlns","d","configureChains","mainnet","sepolia","polygon","arbitrum","optimism","base","blast","linea","publicProvider","chains","publicClient","config","createConfig","autoConnect","connectors","MetaMaskConnector","options","UNSTABLE_shimOnConnectSelectAccount","WalletConnectConnector","projectId","global","props","WALLET_CONNECT_PROJECT_ID","themeVariables","WagmiConnectProvider","name","nativeCurrency","WAGMI_NETWORK_RELATION","getClassNames","obj","actions","string","toString","number","object","Array","isArray","join","Object","entries","filter","value","map","boolean","default","trim","args","arg","getSolanaEnvVars","endpoint","network","WalletAdapterNetwork","Mainnet","i","COINGECKO_API","isValidHttpUrl","url","URL","_","protocol","fetchUrlFromGating","axios","data","loadImg","img","Image","src","Promise","resolve","onerror","onload","waitUntilTransactionIsConfirmed","transactionHash","reject","networks","NETWORKS","ENVIRONMENT","DEVNET_NETWORKS","keys","key","web3","Web3","attemps","interval","setInterval","eth","getTransactionReceipt","err","rec","clearInterval"],"sourceRoot":""}