{"version":3,"sources":["styles/images/BocachikaLogo.svg","styles/images/Shape.svg","styles/images/logoHAPI.png","styles/images/Medium.svg","styles/images/Telegram.svg","styles/images/Twitter.svg","styles/images/CheckYes.svg","styles/images/CheckNo.svg","constants/index.js","components/EventTimeline.js","components/DefaultPage.js","index.js"],"names":["eventArr","id","title","label","date","timeZoneArray","map","el","moment","tz","guess","format","dotsArr","Array","keys","btnArray","href","SwiperCore","use","Mousewheel","ProgressBar","styled","div","ProgressDots","props","checked","ProgressLine","completed","EventTimeline","dateNow","valueOf","calculatedData","sort","a","b","index","isChecked","nextDate","fullProgress","lastEvent","progress","Math","round","currentIndex","findIndex","className","freeMode","mousewheel","eventsTarget","slidesPerView","initialSlide","arr","src","checkYes","alt","checkNo","length","item","DefaultPage","bocachikaLogo","rel","shapeIcon","target","logoHAPI","medium","telegram","twitter","ReactDOM","render","StrictMode","document","getElementById"],"mappings":"8KAAe,MAA0B,0CCA1B,MAA0B,kCCA1B,MAA0B,qCCA1B,MAA0B,mCCA1B,MAA0B,qCCA1B,MAA0B,oC,2FCA1B,MAA0B,qCCA1B,MAA0B,oC,QCG5BA,EAAW,CACtB,CACEC,GAAI,EACJC,MAAO,UACPC,MAAO,4DACPC,KAAM,cAER,CACEH,GAAI,EACJC,MAAO,sCACPC,MAAO,mFACPC,KAAM,cAER,CACEH,GAAI,EACJC,MAAO,uBACPC,MAAO,kEACPC,KAAM,cAER,CACEH,GAAI,EACJC,MAAO,yBACPC,MAAO,uDACPC,KAAM,cAER,CACEH,GAAI,EACJC,MAAO,qCACPC,MAAO,2DACPC,KAAM,cAER,CACEH,GAAI,EACJC,MAAO,wBACPC,MAAO,yDACPC,KAAM,cAER,CACEH,GAAI,EACJC,MAAO,4BACPC,MAAO,2FACPC,KAAM,cAER,CACEH,GAAI,EACJC,MAAO,uBACPC,MAAO,gFACPC,KAAM,cAER,CACEH,GAAI,EACJC,MAAO,oBACPC,MAAO,wDACPC,KAAM,cAER,CACEH,GAAI,GACJC,MAAO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U,sBAEV7B,KAAMT,EAAGS,KACT4C,IAAI,aAJN,UAME,4BAAIrD,EAAGL,QACP,qBAAKkD,IAAKS,EAAWP,IAAK/C,EAAGL,UALxBK,EAAGL,YAUhB,sBAAK2C,UAAU,uBAAf,UACE,iDACA,cAAC,EAAD,UAGJ,mCACE,sBAAKA,UAAU,YAAf,UACE,mBAAG7B,KAAK,wBAAwB8C,OAAO,SAASF,IAAI,aAApD,SACE,qBAAKR,IAAKW,EAAUT,IAAI,gBAE1B,8CAEF,sBAAKT,UAAU,wBAAf,UACE,mBACE7B,KAAK,gCACL8C,OAAO,SACPF,IAAI,aAHN,SAIE,qBAAKR,IAAKY,EAAQV,IAAI,aAExB,mBAAGtC,KAAK,qCAAqC8C,OAAO,SAASF,IAAI,aAAjE,SACE,qBAAKR,IAAKa,EAAUX,IAAI,eAE1B,mBACEtC,KAAK,mCACL8C,OAAO,SACPF,IAAI,aAHN,SAIE,qBAAKR,IAAKc,EAASZ,IAAI,wB,MCvDnCa,IAASC,OACP,cAAC,IAAMC,WAAP,UACE,cAAC,EAAD,MAEFC,SAASC,eAAe,W","file":"static/js/main.2f8060ce.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/BocachikaLogo.b2a04b25.svg\";","export default __webpack_public_path__ + \"static/media/Shape.a25cbe0e.svg\";","export default __webpack_public_path__ + \"static/media/logoHAPI.d48450a0.png\";","export default __webpack_public_path__ + \"static/media/Medium.18e93453.svg\";","export default __webpack_public_path__ + \"static/media/Telegram.429f8bb2.svg\";","export default __webpack_public_path__ + \"static/media/Twitter.2a024321.svg\";","export default __webpack_public_path__ + \"static/media/CheckYes.a4bbf861.svg\";","export default __webpack_public_path__ + \"static/media/CheckNo.7a971728.svg\";","import moment from 'moment';\nimport 'moment-timezone';\n\nexport const eventArr = [\n {\n id: 1,\n title: 'Genesis',\n label: 'Solana meet-up and The First Boca Chica Moon Announcement',\n date: '2021-06-01',\n },\n {\n id: 2,\n title: 'Partners Onboarding Spree Has Begun',\n label: 'Genesis Block Ventures joins Boca Chica and becomes the very first seed investor',\n date: '2021-06-17',\n },\n {\n id: 3,\n title: 'The Big Guns are Out',\n label: 'KuCoin Labs joins Boca Chica as the very first Exchange Partner',\n date: '2021-06-22',\n },\n {\n id: 4,\n title: 'Validators - Hurry UP!',\n label: 'Validators can submit the form to become whitelisted',\n date: '2021-07-16',\n },\n {\n id: 5,\n title: 'Test Sale or HAPI Tokens for CHEAP',\n label: 'Unveiling of the Boca Chica Moon Edition and Test Flight',\n date: '2021-08-23',\n },\n {\n id: 6,\n title: 'How I Met Your Mother',\n label: 'The very first IDO on Boca Chica Announced - Allbridge',\n date: '2021-09-06',\n },\n {\n id: 7,\n title: 'How to Invest for Dummies',\n label: 'The very first IDO - Allbridge. 2 000 000$ in HAPI raised; more than 300x oversubscribed',\n date: '2021-09-21',\n },\n {\n id: 8,\n title: 'We are Going to MARS',\n label: 'Unveiling of Boca Chica Mars Edition. The Prime Launchpad for NEAR Blockchain',\n date: '2021-09-29',\n },\n {\n id: 9,\n title: 'Why so SECRETIVE?',\n label: 'Secret project announcement and astounding HAPI pool.',\n date: '2021-10-08',\n },\n {\n id: 10,\n title: 'At the Gate of Success',\n label: 'Second Exchange Partnership - Gate.io joins Boca Chica',\n date: '2021-10-18',\n },\n {\n id: 11,\n title: 'Consign These HAPIs to OBLIVION',\n label: 'More than 270 000$ worth of HAPI burned after successful first round of fundraising for the secret project',\n date: '2021-10-21',\n },\n {\n id: 12,\n title: 'Even Bigger',\n label: 'MEXC joins Boca Chica and becomes the third exchange to join.',\n date: '2021-10-22',\n },\n {\n id: 13,\n title: 'To Mars in Full-Swing',\n label: 'First IDO for Mars. Aurora will hold its IDO on Boca Chica Mars Edition',\n date: '2021-10-27',\n },\n {\n id: 14,\n title: 'Mars Launch',\n label: 'Aurora IDO - Launch',\n date: '2021-11-11',\n },\n {\n id: 15,\n title: 'Storing Data Anew',\n label: 'Machina - sharded data storage',\n date: '2021-12-30',\n },\n];\n\nexport const timeZoneArray = eventArr.map((el) => {\n const date = moment.tz(el.date, moment.tz.guess()).format();\n return {\n ...el,\n date,\n };\n});\n\nexport const dotsArr = [...Array(15).keys()];\n\nexport const btnArray = [\n {\n title: 'To the Moon',\n href: 'https://moon.bocachica.io/',\n },\n {\n title: 'To the Mars',\n href: 'https://mars.bocachica.io/',\n },\n {\n title: 'NFT Auction',\n href: 'https://auction.bocachica.io/',\n },\n];","import React from 'react';\nimport { Swiper, SwiperSlide } from 'swiper/react';\nimport SwiperCore, { Mousewheel } from 'swiper';\nimport moment from 'moment';\nimport 'moment-timezone';\nimport 'swiper/swiper-bundle.min.css';\nimport 'swiper/swiper.min.css';\nimport styled from 'styled-components';\nimport checkYes from '../styles/images/CheckYes.svg';\nimport checkNo from '../styles/images/CheckNo.svg';\nimport { eventArr, timeZoneArray, dotsArr } from '../constants/index'\n\nSwiperCore.use([Mousewheel]);\n\nconst ProgressBar = styled.div`\n display: grid;\n grid-template-columns: repeat(15, 1fr);\n align-items: center;\n width: 100%;\n height: 3px;\n position: relative;\n margin: auto 1rem;\n`;\n\nconst ProgressDots = styled.div`\n display: ${(props) => props.checked};\n height: 1px;\n width: 1px;\n background-color: var(--alto);\n border-radius: 50%;\n margin: auto 0.188rem;\n justify-content: center;\n align-items: center;\n align-self: center;\n justify-self: center;\n`;\n\nconst ProgressLine = styled.div`\n width: ${(props) => props.completed};\n background-color: var(--alto);\n height: 1px;\n border-radius: 24px;\n position: absolute;\n z-index: 5;\n`;\n\nfunction EventTimeline() {\n const normalDate = (date) => moment(date).format('MMM YYYY');\n const dateNow = moment().valueOf();\n const calculatedData = timeZoneArray\n .sort((a, b) => moment(a.date).valueOf() - moment(b.date).valueOf())\n .map((el, index) => {\n const isChecked = dateNow > moment(el.date).valueOf();\n const nextDate = eventArr?.[index + 1]?.date;\n const isNextDateChecked = dateNow > moment(nextDate).valueOf();\n if (!isNextDateChecked && nextDate) {\n const fullProgress =\n moment(nextDate).valueOf() - moment(el.date).valueOf();\n return {\n ...el,\n isChecked,\n lastEvent: 'flex',\n progress: `${Math.round(\n ((dateNow - moment(el.date).valueOf()) * 100) / fullProgress\n )}%`,\n };\n } else {\n return {\n ...el,\n isChecked,\n lastEvent: nextDate ? 'flex' : 'none',\n progress: isChecked ? '100%' : '0',\n };\n }\n });\n\n const currentIndex = calculatedData.findIndex((el) => !el.isChecked);\n\n return (\n
\n
\n \n {calculatedData.map((el, index, arr) => {\n return (\n \n
\n
\n
\n
{el.title}
\n

{el.label}

\n
\n

{normalDate(el.date)}

\n
\n
\n {el.isChecked ? (\n Check\n ) : (\n Check\n )}\n {arr.length - 1 !== index && (\n \n {dotsArr.map((item) => (\n \n ))}\n \n \n )}\n
\n
\n
\n );\n })}\n \n
\n
\n );\n}\n\nexport default EventTimeline;\n","import React from 'react';\nimport bocachikaLogo from '../styles/images/BocachikaLogo.svg';\nimport shapeIcon from '../styles/images/Shape.svg';\nimport logoHAPI from '../styles/images/logoHAPI.png';\nimport medium from '../styles/images/Medium.svg';\nimport telegram from '../styles/images/Telegram.svg';\nimport twitter from '../styles/images/Twitter.svg';\nimport EventTimeline from './EventTimeline';\nimport { btnArray } from '../constants/index'\n\nfunction DefaultPage() {\n return (\n <>\n
\n \n
\n {btnArray.map((el) => {\n return (\n \n

{el.title}

\n {el.title}\n
\n );\n })}\n
\n
\n

Events Timeline

\n \n
\n
\n \n \n );\n}\n\nexport default DefaultPage;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport DefaultPage from './components/DefaultPage';\nimport './styles/index.css'\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root')\n);"],"sourceRoot":""}