{"version":3,"sources":["utils/interact.js","img/Transparent_Blue_Glow.png","img/Transparent_Orange_Glow.png","img/Transparent_Pink_Glow.png","img/musicOn.svg","img/musicOff.svg","soundPlayer/Player.js","img/Chonkymon.mp3","img/animated-chonky.gif","img/1_Background.png","img/2_Cat_God.png","img/3_Mountains.png","img/4_Grass_Back.png","img/5_Grass_Front.png","img/6_Small_Blue_Egg.png","img/7_tree1.png","img/8_tree2.png","img/9_tree3.png","img/11_Clouds.png","img/12_Small_Chonky_White.png","img/13_Small_Chonky_Yellow.png","img/14_Berry_Bushes.png","img/16_Magic_Crystals.png","img/17_World_Tree_Village.png","img/18_Extra_Chonky.png","parallax/index.js","img/Celt.png","img/Eldor2.png","mint/Mint.js","img/logo-01.svg","img/wallet.png","App.js","reportWebVitals.js","index.js"],"names":["connectWallet","a","window","ethereum","console","log","request","method","addressArray","obj","status","address","message","target","href","getCurrentWalletConnected","length","Player","url","useState","Audio","audio","playing","setPlaying","useEffect","play","pause","volume","loop","addEventListener","removeEventListener","useAudio","toggle","className","alt","onClick","src","musicOn","musicOff","Par","layers","image","bg1","translateY","shouldAlwaysCompleteAnimation","expanded","bg2","bg3","bg4","bg16","bg17","bg5","bg6","bg7","bg8","bg9","bg11","bg12","bg13","bg14","bg18","scale","children","Mint","props","claimNFTs","_amount","setClaimingNft","smartContract","state","wallet","web3","methods","mint","send","from","value","utils","toWei","toString","then","receipt","setFeedback","getTotals","catch","err","claimFreeNFTs","mintFree","connectWalletPressed","walletResponse","setStatus","setWallet","setState","Web3","connect","totalSupply","call","data","totalMinted","maxSupply","e","swords","claimingNft","blockchain","errorMsg","feedback","typeOptions","label","mintingAmount","timer","accounts","networkId","this","SmartContract","networks","NetworkData","SmartContractObj","eth","Contract","abi","connectFailed","addWalletListener","walletOfOwner","on","location","reload","options","names","chonkymon","style","backgroundImage","egg1","backgroundPosition","egg2","egg3","data-bueno-mint","id","celt","icon","faTwitter","size","eldor","React","Component","App","show","setShow","handleShow","document","getElementById","scrollIntoView","URLSearchParams","search","get","Navbar","bg","expand","Container","fluid","Brand","logo","width","height","Nav","Link","Toggle","aria-controls","Offcanvas","aria-labelledby","placement","onHide","Header","closeButton","Title","path","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","render"],"mappings":"mriaAAaA,EAAa,uCAAG,8BAAAC,EAAA,0DACrBC,OAAOC,SADc,wBAEvBC,QAAQC,IAAIH,OAAOC,UAFI,kBAIMD,OAAOC,SAASG,QAAQ,CACjDC,OAAQ,wBALW,cAIfC,EAJe,OAOfC,EAAM,CACVC,OAAQ,oEACRC,QAASH,EAAa,IATH,kBAWdC,GAXc,2DAad,CACLE,QAAS,GACTD,OAAQ,gBAAQ,KAAIE,UAfD,yDAmBhB,CACLD,QAAS,GACTD,OACE,+BACE,8BACG,IADH,eAEK,IACH,mBAAGG,OAAO,SAASC,KAAI,oCAAvB,2FA1Be,0DAAH,qDAqCXC,EAAyB,uCAAG,4BAAAd,EAAA,0DACnCC,OAAOC,SAD4B,0CAGRD,OAAOC,SAASG,QAAQ,CACjDC,OAAQ,iBAJyB,aAG7BC,EAH6B,QAMlBQ,OAAS,GANS,yCAO1B,CACLL,QAASH,EAAa,GACtBE,OAAQ,sEATuB,gCAY1B,CACLC,QAAS,GACTD,OAAQ,iEAduB,mFAkB5B,CACLC,QAAS,GACTD,OAAQ,gBAAQ,KAAIE,UApBa,yDAwB9B,CACLD,QAAS,GACTD,OACE,+BACE,8BACG,IADH,eAEK,IACH,mBAAGG,OAAO,SAASC,KAAI,oCAAvB,2FA/B6B,0DAAH,qD,SCrCzB,MAA0B,kDCA1B,MAA0B,oDCA1B,MAA0B,kDCA1B,G,cAAA,IAA0B,qCCA1B,MAA0B,qCCuC1BG,EAVA,SAAC,GAAa,IAAD,EAxBX,SAAAC,GAAQ,IAAD,EACNC,mBAAS,IAAIC,MAAMF,IAA5BG,EADe,sBAEQF,oBAAS,GAFjB,mBAEfG,EAFe,KAENC,EAFM,KAqBtB,O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AAeC,gBAAc,kBAAkBnI,QAASgH,EAAxD,SACA,qBACE/G,IAAKkC,GACL2F,MAAM,KACNC,OAAO,KACPhI,IAAI,kBAGN,cAACwH,GAAA,EAAOa,UAAR,CACE/B,GAAG,kBACHgC,kBAAgB,uBAChBC,UAAU,MACVxB,KAAMA,EACNyB,OA3CU,kBAAMxB,GAAQ,IAsC1B,SAOE,cAACqB,GAAA,EAAUI,OAAX,CAAkBC,aAAW,EAA7B,SACE,cAACL,GAAA,EAAUM,MAAX,CAAiBrC,GAAG,uBAApB,kCAON,cAAC,IAAD,UACE,cAAC,IAAD,CAAOsC,KAAK,IAAZ,SACE,cAAC,EAAD,aC7EZ,IAYeC,GAZS,SAAAC,GAClBA,GAAeA,aAAuBC,UACxC,8BAAqBjG,MAAK,YAAkD,IAA/CkG,EAA8C,EAA9CA,OAAQC,EAAsC,EAAtCA,OAAQC,EAA8B,EAA9BA,OAAQC,EAAsB,EAAtBA,OAAQC,EAAc,EAAdA,QAC3DJ,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,OCDdO,IAASC,OACL,cAAC,GAAD,IACFpC,SAASC,eAAe,SAM1B0B,O","file":"static/js/main.c9d1ab30.chunk.js","sourcesContent":["export const connectWallet = async () => {\r\n if (window.ethereum) {\r\n console.log(window.ethereum)\r\n try {\r\n const addressArray = await window.ethereum.request({\r\n method: \"eth_requestAccounts\",\r\n });\r\n const obj = {\r\n status: \"πŸ‘†πŸ½ Write a message in the text-field above.\",\r\n address: addressArray[0],\r\n };\r\n return obj;\r\n } catch (err) {\r\n return {\r\n address: \"\",\r\n status: \"πŸ˜₯ \" + err.message,\r\n };\r\n }\r\n } else {\r\n return {\r\n address: \"\",\r\n status: (\r\n \r\n

\r\n {\" \"}\r\n 🦊{\" \"}\r\n \r\n You must install Metamask, a virtual Ethereum wallet, in your\r\n browser.\r\n \r\n

\r\n
\r\n ),\r\n };\r\n }\r\n };\r\n\r\n export const getCurrentWalletConnected = async () => {\r\n if (window.ethereum) {\r\n try {\r\n const addressArray = await window.ethereum.request({\r\n method: \"eth_accounts\",\r\n });\r\n if (addressArray.length > 0) {\r\n return {\r\n address: addressArray[0],\r\n status: \"πŸ‘†πŸ½ Write a message in the text-field above.\",\r\n };\r\n } else {\r\n return {\r\n address: \"\",\r\n status: \"🦊 Connect to Metamask using the top right button.\",\r\n };\r\n }\r\n } catch (err) {\r\n return {\r\n address: \"\",\r\n status: \"πŸ˜₯ \" + err.message,\r\n };\r\n }\r\n } else {\r\n return {\r\n address: \"\",\r\n status: (\r\n \r\n

\r\n {\" \"}\r\n 🦊{\" \"}\r\n \r\n You must install Metamask, a virtual Ethereum wallet, in your\r\n browser.\r\n \r\n

\r\n
\r\n ),\r\n };\r\n }\r\n };","export default __webpack_public_path__ + \"static/media/Transparent_Blue_Glow.14dd97db.png\";","export default __webpack_public_path__ + \"static/media/Transparent_Orange_Glow.76655a7a.png\";","export default __webpack_public_path__ + \"static/media/Transparent_Pink_Glow.ca6274a1.png\";","export default __webpack_public_path__ + \"static/media/musicOn.0a4e7824.svg\";","export default __webpack_public_path__ + \"static/media/musicOff.ed1a20b9.svg\";","import React, { useState, useEffect } from \"react\";\r\nimport './Player.css'\r\nimport musicOn from '../img/musicOn.svg'\r\nimport musicOff from '../img/musicOff.svg'\r\n\r\nconst useAudio = url => {\r\n const [audio] = useState(new Audio(url));\r\n const [playing, setPlaying] = useState(false);\r\n\r\n const toggle = () => setPlaying(!playing);\r\n\r\n useEffect(() => {\r\n playing ? audio.play() : audio.pause();\r\n },\r\n [playing]\r\n );\r\n\r\n useEffect(() => {\r\n audio.volume = 0.1\r\n audio.loop = true\r\n audio.addEventListener('ended', () => setPlaying(false));\r\n return () => {\r\n audio.removeEventListener('ended', () => setPlaying(false));\r\n };\r\n }, []);\r\n\r\n return [playing, toggle];\r\n};\r\n\r\nconst Player = ({ url }) => {\r\n const [playing, toggle] = useAudio(url);\r\n\r\n return (\r\n
\r\n \"Toggle\r\n
\r\n );\r\n};\r\n\r\nexport default Player;","export default __webpack_public_path__ + \"static/media/Chonkymon.806e8d06.mp3\";","export default __webpack_public_path__ + \"static/media/animated-chonky.b79de283.gif\";","export default __webpack_public_path__ + \"static/media/1_Background.48003b80.png\";","export default __webpack_public_path__ + \"static/media/2_Cat_God.be27ffa9.png\";","export default __webpack_public_path__ + \"static/media/3_Mountains.6647f40d.png\";","export default __webpack_public_path__ + \"static/media/4_Grass_Back.d69856cf.png\";","export default __webpack_public_path__ + \"static/media/5_Grass_Front.b1d7688f.png\";","export default __webpack_public_path__ + \"static/media/6_Small_Blue_Egg.15691179.png\";","export default __webpack_public_path__ + \"static/media/7_tree1.4adaefe0.png\";","export default __webpack_public_path__ + \"static/media/8_tree2.c05e0786.png\";","export default __webpack_public_path__ + \"static/media/9_tree3.adb4fe2b.png\";","export default __webpack_public_path__ + \"static/media/11_Clouds.e887cbce.png\";","export default __webpack_public_path__ + \"static/media/12_Small_Chonky_White.b4e1a9d4.png\";","export default __webpack_public_path__ + \"static/media/13_Small_Chonky_Yellow.394e0df3.png\";","export default __webpack_public_path__ + \"static/media/14_Berry_Bushes.cc1c1c21.png\";","export default __webpack_public_path__ + \"static/media/16_Magic_Crystals.25ffc7d6.png\";","export default __webpack_public_path__ + \"static/media/17_World_Tree_Village.8dc12455.png\";","export default __webpack_public_path__ + \"static/media/18_Extra_Chonky.5f3683a0.png\";","import React from \"react\";\r\nimport { ParallaxProvider, ParallaxBanner } from \"react-scroll-parallax\";\r\n\r\nimport bg1 from \"../img/1_Background.png\";\r\nimport bg2 from \"../img/2_Cat_God.png\";\r\nimport bg3 from \"../img/3_Mountains.png\";\r\nimport bg4 from \"../img/4_Grass_Back.png\";\r\nimport bg5 from \"../img/5_Grass_Front.png\";\r\nimport bg6 from \"../img/6_Small_Blue_Egg.png\";\r\nimport bg7 from \"../img/7_tree1.png\";\r\nimport bg8 from \"../img/8_tree2.png\";\r\nimport bg9 from \"../img/9_tree3.png\";\r\nimport bg11 from \"../img/11_Clouds.png\";\r\nimport bg12 from \"../img/12_Small_Chonky_White.png\";\r\nimport bg13 from \"../img/13_Small_Chonky_Yellow.png\";\r\nimport bg14 from \"../img/14_Berry_Bushes.png\";\r\nimport bg16 from \"../img/16_Magic_Crystals.png\";\r\nimport bg17 from \"../img/17_World_Tree_Village.png\";\r\nimport bg18 from \"../img/18_Extra_Chonky.png\";\r\n\r\nimport \"./index.css\";\r\n\r\nexport default function Par() {\r\n return (\r\n \r\n
\r\n \r\n

Chonkymon

\r\n \r\n ),\r\n }\r\n ]}\r\n />\r\n
\r\n
\r\n );\r\n}","export default __webpack_public_path__ + \"static/media/Celt.3da1fe4e.png\";","export default __webpack_public_path__ + \"static/media/Eldor2.c24f5d60.png\";","\r\nimport React from \"react\";\r\nimport Web3 from \"web3\";\r\nimport { connectWallet, getCurrentWalletConnected } from \"../utils/interact\";\r\nimport SmartContract from \"../contracts/DoodleRawrs.json\";\r\n\r\nimport { Button} from 'react-bootstrap';\r\n\r\nimport egg1 from '../img/Transparent_Blue_Glow.png'\r\nimport egg2 from '../img/Transparent_Orange_Glow.png'\r\nimport egg3 from '../img/Transparent_Pink_Glow.png'\r\n\r\nimport './Mint.css'\r\n\r\nimport Player from '../soundPlayer/Player'\r\nimport audio from '../img/Chonkymon.mp3'\r\n\r\nimport chonkymon from '../img/animated-chonky.gif'\r\nimport Par from \"../parallax\";\r\n\r\n// import ScrollAnimation from 'react-animate-on-scroll';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\nimport { faDiscord, faTwitter } from '@fortawesome/free-brands-svg-icons'\r\n\r\nimport celt from '../img/Celt.png'\r\nimport eldor from '../img/Eldor2.png'\r\n\r\nclass Mint extends React.Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n\r\n this.state = {\r\n swords: [],\r\n wallet: '',\r\n status: '',\r\n claimingNft: false,\r\n smartContract: '',\r\n web3: null,\r\n blockchain: null,\r\n errorMsg: '',\r\n feedback: '',\r\n totalSupply: '',\r\n totalMinted: '',\r\n typeOptions: [\r\n { value: 1, label: 1 },\r\n { value: 2, label: 2 },\r\n { value: 3, label: 3 },\r\n { value: 4, label: 4 },\r\n { value: 5, label: 5 },\r\n { value: 6, label: 6 },\r\n { value: 7, label: 7 },\r\n { value: 8, label: 8 },\r\n { value: 9, label: 9 },\r\n { value: 10, label: 10 }\r\n ],\r\n mintingAmount: 1\r\n };\r\n\r\n this.timer = null;\r\n\r\n }\r\n\r\n async connect() {\r\n if (window.ethereum) {\r\n try {\r\n const accounts = await window.ethereum.request({\r\n method: \"eth_requestAccounts\",\r\n });\r\n const networkId = await window.ethereum.request({\r\n method: \"net_version\",\r\n });\r\n var web3 = this.state.web3\r\n console.log(networkId)\r\n const NetworkData = await SmartContract.networks[networkId];\r\n console.log('test' + NetworkData)\r\n if (networkId === 1) {\r\n const SmartContractObj = new web3.eth.Contract(\r\n SmartContract.abi,\r\n // NetworkData.address\r\n //Rinkeby test contract\r\n \"0x9d00a27216363009C331939429a35C5d462ece6A\"\r\n //Live Contract\r\n //\"0x8bEa2b168fb0E5935bd251B1BccB142FEd006171\"\r\n );\r\n await this.setState({\r\n wallet: accounts[0],\r\n smartContract: SmartContractObj,\r\n web3: web3,\r\n })\r\n } else {\r\n this.connectFailed(\"Please change to main ETH net.\");\r\n }\r\n } catch (err) {\r\n this.connectFailed(\"Something went wrong.\");\r\n }\r\n } else {\r\n this.connectFailed(\"Please install Metamask.\");\r\n }\r\n }\r\n\r\n claimNFTs = (_amount) => {\r\n this.setClaimingNft(true);\r\n var smartContract = this.state.smartContract;\r\n var wallet = this.state.wallet\r\n var web3 = this.state.web3\r\n try {\r\n smartContract.methods.mint(wallet, _amount).send({\r\n from: wallet,\r\n value: web3.utils.toWei((0.02 * _amount).toString(), \"ether\")\r\n }).then((receipt) => {\r\n this.setFeedback('Token(s) Successfully Minted!')\r\n this.setClaimingNft(false)\r\n this.getTotals()\r\n }).catch((err) => {\r\n console.log(err)\r\n this.setFeedback(\"Transaction failed\")\r\n this.setClaimingNft(false)\r\n })\r\n } catch (err) {\r\n console.log(err);\r\n this.setFeedback(\"There was an error or you are on the wrong network.\")\r\n this.setClaimingNft(false)\r\n }\r\n };\r\n\r\n claimFreeNFTs = (_amount) => {\r\n this.setClaimingNft(true);\r\n var smartContract = this.state.smartContract;\r\n var wallet = this.state.wallet\r\n var web3 = this.state.web3\r\n try {\r\n smartContract.methods.mintFree(wallet, _amount).send({\r\n from: wallet,\r\n value: web3.utils.toWei((0 * _amount).toString(), \"ether\")\r\n }).then((receipt) => {\r\n this.setFeedback('Token(s) Successfully Minted!')\r\n this.setClaimingNft(false)\r\n this.getTotals()\r\n }).catch((err) => {\r\n console.log(err)\r\n this.setFeedback(\"Transaction failed\")\r\n this.setClaimingNft(false)\r\n })\r\n } catch (err) {\r\n console.log(err);\r\n this.setFeedback(\"There was an error or you are on the wrong network.\")\r\n this.setClaimingNft(false)\r\n }\r\n };\r\n\r\n getTotals(){\r\n this.state.smartContract.methods.totalSupply().call().then((data) => {\r\n this.setState({ totalMinted: data })\r\n }).catch((err) => {\r\n console.log(err)\r\n })\r\n\r\n this.state.smartContract.methods.maxSupply().call().then((data) => {\r\n this.setState({ totalSupply: data })\r\n }).catch((err) => {\r\n console.log(err)\r\n })\r\n }\r\n\r\n async componentDidMount() {\r\n const { address, status } = await getCurrentWalletConnected();\r\n this.setWallet(address)\r\n this.setStatus(status);\r\n\r\n console.log(this.state.smartContract)\r\n\r\n await this.addWalletListener();\r\n if (this.state.wallet !== '') {\r\n await this.setState({ web3: new Web3(window.ethereum) });\r\n await this.connect()\r\n\r\n try {\r\n this.getTotals()\r\n } catch (e) {\r\n this.setFeedback('You are on the wrong network! Please connect to ETH mainnet')\r\n }\r\n }\r\n\r\n // const tween = KUTE.fromTo(\r\n // '#rectangle',\r\n // {path: \"#rectangle\"},\r\n // {path: \"#star\"},\r\n // {repeat: 999, duration: 3000, yoyo: true}\r\n // )\r\n\r\n // tween.start()\r\n }\r\n\r\n connectFailed(errorMsg) {\r\n this.setState({ errorMsg })\r\n }\r\n\r\n setWallet(wallet) {\r\n this.setState({\r\n wallet\r\n })\r\n }\r\n\r\n setStatus(status) {\r\n this.setState({\r\n status\r\n })\r\n }\r\n\r\n setFeedback(feedback) {\r\n this.setState({\r\n feedback\r\n })\r\n }\r\n\r\n setClaimingNft(claimingNft) {\r\n this.setState({\r\n claimingNft\r\n })\r\n }\r\n\r\n walletOfOwner() {\r\n var smartContract = this.state.smartContract\r\n var wallet = this.state.wallet\r\n var web3 = this.state.web3\r\n try {\r\n console.log(smartContract.methods)\r\n smartContract.methods.walletOfOwner(wallet).call().then((data) => {\r\n console.log(data)\r\n }).catch((err) => {\r\n console.log(err)\r\n })\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n }\r\n\r\n connectWalletPressed = async () => { //TODO: implement\r\n const walletResponse = await connectWallet();\r\n await this.setStatus(walletResponse.status);\r\n await this.setWallet(walletResponse.address);\r\n if (this.state.wallet !== '') {\r\n await this.setState({ web3: new Web3(window.ethereum) });\r\n await this.connect()\r\n\r\n try{\r\n this.state.smartContract.methods.totalSupply().call().then((data) => {\r\n this.setState({\r\n totalMinted: data\r\n })\r\n }).catch((err) => {\r\n console.log(err)\r\n })\r\n \r\n this.state.smartContract.methods.maxSupply().call().then((data) => {\r\n this.setState({\r\n totalSupply: data\r\n })\r\n }).catch((err) => {\r\n console.log(err)\r\n })\r\n } catch(e){\r\n\r\n }\r\n }\r\n };\r\n\r\n async addWalletListener() {\r\n if (window.ethereum) {\r\n window.ethereum.on(\"accountsChanged\", (accounts) => {\r\n if (accounts.length) {\r\n this.setWallet(accounts[0]);\r\n this.setStatus(\"πŸ‘†πŸ½ Write a message in the text-field above.\");\r\n } else {\r\n this.setWallet(\"\");\r\n this.setStatus(\"🦊 Connect to Metamask using the top right button.\");\r\n }\r\n });\r\n window.ethereum.on(\"chainChanged\", () => {\r\n window.location.reload();\r\n });\r\n } else {\r\n this.setStatus(\r\n

\r\n {\" \"}\r\n 🦊{\" \"}\r\n \r\n You must install Metamask, a virtual Ethereum wallet, in your\r\n browser.\r\n \r\n

\r\n );\r\n }\r\n }\r\n\r\n async handleSelect(options, names) {\r\n await this.setState({\r\n mintingAmount: options.value\r\n })\r\n }\r\n\r\n\r\n render() {\r\n const aboutText1 = `Chonkymon are a collection of 1,000 randomly generated NFT chonky monsters. These mysterious creatures were sealed away in eggs long ago and hidden inside the World Tree. A magical door has opened to the World Tree, waiting for each to be bonded with a friend.`\r\n return (\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n

Story of Chonkymon

\r\n

{aboutText1}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Creators

\r\n
\r\n {/* */}\r\n
\r\n \r\n

Celt

\r\n

Artist & Creator

\r\n

I joined the NFT space in Feb 2021 and have been creating many different types of digital art in the form of NFTs. I love creating anything that can bring happiness into people’s lives. I look forward to building many great things in this space, as well as a welcoming community for everyone.

\r\n {/*

Previous project - EthRangers

*/}\r\n \r\n
\r\n {/*
\r\n */}\r\n
\r\n \r\n

Eldor

\r\n

Solidity & Web Developer

\r\n

I am a Software Engineer who likes to build games and websites. I also enjoy making art and creating visual experiences.\r\n I spend my free time contributing to ETH projects, and making Discord bots.

\r\n \r\n
\r\n {/*
*/}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n }\r\n};\r\n\r\nexport default Mint;\r\n","export default __webpack_public_path__ + \"static/media/logo-01.5e679c57.svg\";","export default __webpack_public_path__ + \"static/media/wallet.d31389f2.png\";","import './App.css';\nimport Mint from './mint/Mint'\nimport React, { useState, useEffect } from 'react';\nimport {\n BrowserRouter as Router,\n Switch,\n Route\n} from \"react-router-dom\";\nimport { Navbar, Container, Offcanvas, Nav} from 'react-bootstrap';\nimport \"animate.css/animate.min.css\";\n\nimport logo from \"./img/logo-01.svg\";\nimport wallet from \"./img/wallet.png\";\n\nimport ScrollAnimation from 'react-animate-on-scroll';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport { faDiscord, faTwitter } from '@fortawesome/free-brands-svg-icons'\n\nexport default function App() {\n\n const [show, setShow] = useState(false);\n\n const handleClose = () => setShow(false);\n const handleShow = () => {\n document.getElementById('bueno').scrollIntoView();\n };\n\n useEffect(() => {\n const queryParams = new URLSearchParams(window.location.search)\n const code = queryParams.get(\"code\")\n if(code) {\n // open offcanvas\n handleShow()\n }\n });\n\n \n return (\n \n
\n \n \n \n \n \n \n \n \n \n Chonkyverse\n \n \n \n \n {/* A looks through its children s and\n renders the first one that matches the current URL. */}\n \n \n \n \n \n
\n
\n );\n}","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\n\nReactDOM.render(\n ,\n document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"sourceRoot":""}