{"version":3,"sources":["assets/x2.svg","assets/menu2.svg","header/Header_2.js","Main_Page/Mazk_Banner1.js","Main_Page/Team.js","assets/left.svg","Main_Page/Mazk_Banner2.js","Main_Page/Mazk_MainPage.js","Main_Page/Pfpmake.js","Check_Page/Check_Page.js","Mint_Page/Mint_Public.js","redux/blockchain/blockchainReducer.js","redux/data/dataReducer.js","redux/store.js","redux/data/dataActions.js","redux/blockchain/blockchainActions.js","Mint_Page/Mint_Test.js","App.js","index.js","merkle/merkleTree.js"],"names":["_style","_path","_path2","_excluded","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","SvgX2","_ref","svgRef","title","titleId","props","id","xmlns","xmlnsXlink","x","y","viewBox","style","enableBackground","xmlSpace","ref","type","d","_g","_g2","_g3","ForwardRef","SvgMenu2","difftime","diffHour","interv1","Header","scrollToStoryDiv","storyDiv","document","getElementById","scrollIntoView","behavior","scrollToSriracha","Sriracha","updateInterval","today","Date","presaleDate","getTime","parseInt","Math","ceil","getCountDown","clearInterval","useEffect","className","position","color","rel","href","alt","src","opacity","onClick","to","fill","display","right","filter","transition","stroke","w","h","camera","mixer1","obj1","myRFA","ap","p","bodyX","bodyY","volX","volY","body_scale","vol_scale","renderer","THREE","alpha","antialias","clock","zw","scene","mx","my","neckAn","headAn","loopVar","previousWidth","Banner1","window","innerWidth","documentElement","clientHeight","aspect","updateProjectionMatrix","setSize","setPixelRatio","getObjectByName","scale","set","e","clientX","clientY","hdrCubeMap","onBannerResize","onBannerScroll2","setClearColor","physicallyCorrectLights","outputEncoding","toneMappingExposure","mount12","appendChild","domElement","body1","vol","saturn","HDRCubeTextureLoader","setPath","setDataType","load","magFilter","needsUpdate","GLTFLoader","gltf","traverse","node","isMesh","material","envMap","add","name","z","rotateZ","setTimeout","xhr","error","rotation","ccx","ccy","scY","animate","requestAnimationFrame","nx","ny","scrollY","sin","emissiveIntensity","rotateY","delta","getDelta","update","render","addEventListener","onMouseMove","innerHeight","wsy","s_top1","getBoundingClientRect","top","s_height","height","ns1","tanh","backgroundPositionX","marginTop","transform","remove","cancelAnimationFrame","removeEventListener","onBannerScroll","alignSelf","fontSize","lineHeight","flexWrap","Component","Banner2","width","fontFamily","textAlign","Team","offsetWidth","backgroundColor","fontWeight","letterSpacing","MazkMainPage","propNum","Pfpmake","screenShot","element","borderWidth","borderRadius","html2canvas","then","canvas","image","toDataURL","a","createElement","setAttribute","click","r","random","j","dc","iDiv","value","onclick","changeCat","getAttribute","innerHTML","querySelectorAll","forEach","el","getElementsByTagName","overflowY","overflowX","loadAllCat","showCat","shuffle","backgroundImage","left","SvgLeft","fillRule","checkpage_subdiv1","checkRQAF","useState","account","setAccount","showWLSuccess","showWLFail","url","URL","location","searchParams","get","connectMetaMask","web3","Web3","givenProvider","eth","requestAccounts","accounts","ad_short","substring","getProof","checkPageResize","clearAndcheckPassConnect","marginBottom","alert","ethereum","on","pl","interv2_Bar","initialState","loading","smartContract","errorMsg","blockchainReducer","state","action","payload","totalSupply","cost","proof","mintedCount","dataReducer","whitelisted","publicSale","rootReducer","combineReducers","blockchain","data","middleware","thunk","composeEnhancers","compose","applyMiddleware","store","createStore","fetchDataFailed","fetchData","dispatch","getState","methods","isPublicSaleOn","numberMinted","console","log","connectFailed","connect","abiResponse","JSON","parse","stringify","abiJSON","abi","configResponse","configJSON","CONFIG","isMetaMask","Web3EthContract","setProvider","request","method","NETWORK","ID","SmartContractObj","CONTRACT_ADDRESS","updateAccount","reload","NAME","isConnectedAndWhitelisted","isAmountAvailable","isRecentlyCompleted","availablemint","Mint_Page","useDispatch","useSelector","setClaimingNft","setFeedback","mintAmount","setMintAmount","SCAN_LINK","SYMBOL","NFT_NAME","MAX_SUPPLY","WEI_COST","DISPLAY_COST","GAS_LIMIT","MARKETPLACE","MARKETPLACE_LINK","SHOW_BACKGROUND","SET_CONFIG","claimNFTs","gasLimit","totalCostWei","utils","toWei","toString","totalGasLimit","String","pointerEvents","send","from","once","err","resetAll","setInterval","readAllMinted","receipt","getData","resetUI","mintBTNCliked","getConfig","fetch","headers","Accept","json","config","Contract","totalMinted","msw","MintPage_ChangeFontSize","toFixed","preventDefault","newMintAmount","abiData","tt","App","path","Mint_Public","Mint_Test","rootElement","ReactDOM","tree","hashToken","wallet","Buffer","ethers","solidityKeccak256","slice","getHexProof","MerkleTree","dropList","map","drop","keccak256","sortPairs","getHexRoot"],"mappings":"mJAAIA,EAAQC,EAAOC,E,8DAEfC,G,OAAY,CAAC,QAAS,YAE1B,SAASC,IAAiS,OAApRA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAASF,UAAUD,GAAI,IAAK,IAAII,KAAOD,EAAcP,OAAOS,UAAUC,eAAeC,KAAKJ,EAAQC,KAAQL,EAAOK,GAAOD,EAAOC,GAAU,CAAE,OAAOL,CAAQ,EAAUJ,EAASa,MAAMC,KAAMR,UAAY,CAElV,SAASS,EAAyBP,EAAQQ,GAAY,GAAc,MAAVR,EAAgB,MAAO,CAAC,EAAG,IAAkEC,EAAKJ,EAAnED,EAEzF,SAAuCI,EAAQQ,GAAY,GAAc,MAAVR,EAAgB,MAAO,CAAC,EAAG,IAA2DC,EAAKJ,EAA5DD,EAAS,CAAC,EAAOa,EAAahB,OAAOiB,KAAKV,GAAqB,IAAKH,EAAI,EAAGA,EAAIY,EAAWV,OAAQF,IAAOI,EAAMQ,EAAWZ,GAAQW,EAASG,QAAQV,IAAQ,IAAaL,EAAOK,GAAOD,EAAOC,IAAQ,OAAOL,CAAQ,CAFhNgB,CAA8BZ,EAAQQ,GAAuB,GAAIf,OAAOoB,sBAAuB,CAAE,IAAIC,EAAmBrB,OAAOoB,sBAAsBb,GAAS,IAAKH,EAAI,EAAGA,EAAIi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sourcesContent":["var _style, _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgX2(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n id: \"Layer_1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n x: \"0px\",\n y: \"0px\",\n viewBox: \"0 0 24 24\",\n style: {\n enableBackground: \"new 0 0 24 24\"\n },\n xmlSpace: \"preserve\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _style || (_style = /*#__PURE__*/React.createElement(\"style\", {\n type: \"text/css\"\n }, \"\\n\\t.st0{fill:none;stroke:#FFFFFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}\\n\")), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4,19.2L20,4.8\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M3.7,5.1l16,14.5\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgX2);\nexport default __webpack_public_path__ + \"static/media/x2.4856f3cc.svg\";\nexport { ForwardRef as ReactComponent };","var _style, _g, _g2, _g3;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgMenu2(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n id: \"Layer_1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n x: \"0px\",\n y: \"0px\",\n viewBox: \"0 0 24 24\",\n style: {\n enableBackground: \"new 0 0 24 24\"\n },\n xmlSpace: \"preserve\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _style || (_style = /*#__PURE__*/React.createElement(\"style\", {\n type: \"text/css\"\n }, \"\\n\\t.st0{fill:#FF9433;}\\n\")), _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18.3,18.5H5.7c-1.1,0-2-0.9-2-2s0.9-2,2-2h12.7c1.1,0,2,0.9,2,2S19.4,18.5,18.3,18.5z M5.7,15.5 c-0.6,0-1,0.4-1,1s0.4,1,1,1h12.7c0.6,0,1-0.4,1-1s-0.4-1-1-1H5.7z\"\n }))), _g2 || (_g2 = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18.3,14H5.7c-1.1,0-2-0.9-2-2c0-1.1,0.9-2,2-2h12.7c1.1,0,2,0.9,2,2C20.3,13.1,19.4,14,18.3,14z M5.7,11 c-0.6,0-1,0.4-1,1s0.4,1,1,1h12.7c0.6,0,1-0.4,1-1s-0.4-1-1-1H5.7z\"\n }))), _g3 || (_g3 = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18.3,9.5H5.7c-1.1,0-2-0.9-2-2s0.9-2,2-2h12.7c1.1,0,2,0.9,2,2S19.4,9.5,18.3,9.5z M5.7,6.5c-0.6,0-1,0.4-1,1 s0.4,1,1,1h12.7c0.6,0,1-0.4,1-1s-0.4-1-1-1H5.7z\"\n }))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgMenu2);\nexport default __webpack_public_path__ + \"static/media/menu2.e5f202b1.svg\";\nexport { ForwardRef as ReactComponent };","\nimport { ReactComponent as CloseMenu } from \"../assets/x2.svg\";\nimport { ReactComponent as MenuIcon } from \"../assets/menu2.svg\";\nimport \"./Header_2.css\";\nimport { Link } from \"react-router-dom\";\nimport { useEffect } from \"react\";\n\nlet difftime , diffHour , diffMinute ,diffSecond;\nlet interv1;\nexport default function Header() {\n \n const scrollToStoryDiv = () => {\n const storyDiv = document.getElementById('storyDiv');\n if (storyDiv) {\n storyDiv.scrollIntoView({ behavior: 'smooth' });\n }\n };\n\n const scrollToSriracha = () => {\n const Sriracha = document.getElementById('banner2_container');\n if (Sriracha) {\n Sriracha.scrollIntoView({ behavior: 'smooth' });\n }\n };\n\n const getCountDown = () => {\n const today = new Date();\n const presaleDate = new Date((1654927200)*1000); \n //const presaleDate = new Date(\"June 11, 2022 13:00:00\");\n //alert(presaleDate.toUTCString());\n difftime = presaleDate.getTime() - today.getTime();\n diffHour = parseInt(difftime/3600/1000);\n diffMinute = Math.ceil(difftime/60/1000) - diffHour*60;\n diffSecond = parseInt(difftime/1000)%60;\n };\n\n const updateInterval = () => {\n getCountDown();\n clearInterval(interv1);\n }\n \n useEffect(() => {\n updateInterval();\n //document.getElementById('openseaBTN1').style.pointerEvents = 'none';\n return () => {\n clearInterval(interv1);\n }\n },[]);\n\n function openMiniMenu(){\n document.getElementById('mini-open-menu').style.display = 'none';\n document.getElementById('mini-close-menu').style.display = 'inline';\n document.getElementById('upmost_right_menu_mini').style.display = 'block';\n document.getElementById('upmost_right_menu_mini').style.right = '0px';\n document.getElementById('upmost_right_menu_mini').style.filter = 'blur(0px)';\n document.getElementById('upmost_right_menu_mini').style.transition = 'cubic-bezier(0.075, 0.82, 0.165, 1) all .75s';\n }\n \n function closeMiniMenu(){\n document.getElementById('mini-open-menu').style.display = 'inline';\n document.getElementById('mini-close-menu').style.display = 'none';\n document.getElementById('upmost_right_menu_mini').style.right = '-300vw';\n document.getElementById('upmost_right_menu_mini').style.filter = 'blur(300px)';\n document.getElementById('upmost_right_menu_mini').style.transition = 'all 4s';\n }\n \n\n return (\n
\n
\n
\n
\n \n \n \"\"\n \n \n \"\"\n \n \n \"\"\n \n
\n
\n
\n \n \n \n \n {/*\n \n \n \n \n \n \n */}\n
\n
\n



\n
\n
\n
\n
\n
\n \n {/* \n
\n
\n \"\"\n
\n
PUBLIC SALE
\n
\n


\n
\n
PUBLIC SALE IS UNDER MAINTENANCE.
WE'LL BE BACK LATER.
SORRY FOR INCONVENIENCE.
\n
\n
\n


\n \n
PUBLIC SALE
countdown \n
\n


{diffHour < 10 ? '0':''}{diffHour}:{diffMinute < 10 ? '0':''}{diffMinute}
\n \n
Hours\n
\n
\n
\n \n
\n
\n */}\n \n
\n \n \n
\n
\n );\n}","import \"./Mazk_Banner1.css\";\nimport * as THREE from 'three';\nimport React, { Component } from \"react\";\nimport { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';\nimport { HDRCubeTextureLoader } from 'three/examples/jsm/loaders/HDRCubeTextureLoader.js';\nimport { Link } from \"react-router-dom\";\n\n//import { DebugEnvironment } from 'three/examples/jsm/environments/DebugEnvironment.js';\n//import { ColorSpaceNode, MeshStandardNodeMaterial } from 'three/examples/jsm/nodes/Nodes.js';\n\nlet w, h;\nlet renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true });\nlet camera;\nlet clock = new THREE.Clock();\nlet mixer1;\nlet obj1;\nlet previousWidth;\n\nlet acdx = 0, acdy = 0;\nlet vnmu = true;\nlet bw, bl, tttt;\nlet divw1;\nlet btt;\n\nlet fng1 = \"HSC_banner5.glb\"\nlet fr = 1;\nlet offY = 0;\nlet zw = 50;\nlet jios = 0;\nlet scene = new THREE.Scene();\nlet fov1 = 4;\nlet topStory1 = 0;\nlet myRFA;\nlet loader;\nlet ap;\nlet mx = 0, my = 0, neckAn = .0174, headAn = -1;\nlet p;\nlet bodyX, bodyY, bodyZ, volX, volY, volZ;\nlet body_scale, vol_scale;\nlet loopVar = 0;\n\nfunction calAn() {\n neckAn = (w / 2 - mx) * .0003;\n headAn = (-my - 1000) * .0007;\n}\nclass Banner1 extends Component {\n adjustOnResize() {\n }\n\n onBannerResize() {\n //w = document.getElementById('banner').offsetWidth;\n w = window.innerWidth;\n h = document.documentElement.clientHeight;\n //h = window.innerHeight;\n ap = w / h;\n if (camera) {\n camera.aspect = ap;\n camera.updateProjectionMatrix();\n renderer.setSize(w, h);\n renderer.setPixelRatio(1);\n }\n if (obj1 && obj1.getObjectByName(\"cloud\")) {\n obj1.getObjectByName(\"body1\").position.x = bodyX + .6 + (1 - ap);\n obj1.getObjectByName(\"body1\").position.y = bodyY + 0.1 + ap / 2.5;\n body_scale = .4 + ap / 4;\n obj1.getObjectByName(\"body1\").scale.set(body_scale, body_scale, body_scale);\n body_scale = .5 + ap / 4;\n obj1.getObjectByName(\"Saturn\").scale.set(body_scale, body_scale, body_scale);\n obj1.getObjectByName(\"vol1\").position.y = volY + .2;\n obj1.getObjectByName(\"vol1\").position.x = volX - 2 + ap;\n }\n }\n\n onMouseMove(e) {\n mx = e.clientX;\n my = e.clientY;\n calAn();\n }\n\n componentDidMount() {\n this.onBannerResize();\n onBannerScroll2();\n \n camera = new THREE.PerspectiveCamera(fov1, w / h, 10, 5000);\n renderer.setSize(w, h);\n renderer.setClearColor(0x000000, 0)\n renderer.physicallyCorrectLights = true;\n //renderer.toneMapping = THREE.ACESFilmicToneMapping;\n renderer.outputEncoding = THREE.sRGBEncoding;\n renderer.toneMappingExposure = 4;\n this.mount12.appendChild(renderer.domElement);\n\n //let container, stats;\n //let generatedCubeRenderTarget, ldrCubeRenderTarget, hdrCubeRenderTarget, rgbmCubeRenderTarget;\n //let ldrCubeMap, rgbmCubeMap;\n let hdrCubeMap;\n const hdrUrls = ['px.hdr', 'nx.hdr', 'py.hdr', 'ny.hdr', 'pz.hdr', 'nz.hdr'];\n hdrCubeMap = new HDRCubeTextureLoader()\n .setPath('hdr1/')\n .setDataType(THREE.UnsignedByteType)\n .load(hdrUrls, function () {\n //hdrCubeRenderTarget = pmremGenerator.fromCubemap( hdrCubeMap );\n hdrCubeMap.magFilter = THREE.LinearFilter;\n hdrCubeMap.needsUpdate = true;\n });\n loader = new GLTFLoader();\n var cloud, body1, vol, smoke;\n\n var saturn;\n\n loader.load(fng1, (gltf) => {\n obj1 = gltf.scene;\n mixer1 = new THREE.AnimationMixer(gltf.scene);\n //var action1 = mixer1.clipAction( gltf.animations[ 0 ] );\n //action1.play();\n obj1.traverse((node) => {\n if (node.isMesh) node.material.envMap = hdrCubeMap;\n });\n obj1.scale.set(1, 1, 1);\n scene.add(obj1);\n obj1.name = 'obj1';\n cloud = obj1.getObjectByName(\"cloud\");\n body1 = obj1.getObjectByName(\"body1\");\n bodyX = body1.position.x;\n bodyY = body1.position.y;\n bodyZ = body1.position.z;\n vol = obj1.getObjectByName(\"vol1\");\n volX = vol.position.x;\n volY = vol.position.y;\n volZ = vol.position.z;\n smoke = obj1.getObjectByName(\"smoke1\");\n saturn = obj1.getObjectByName(\"Saturn\");\n var saturn_mesh;\n saturn_mesh = new THREE.Mesh(saturn);\n saturn.rotateZ(-.2);\n this.onBannerResize();\n document.getElementById(\"preload\").style.display = 'none';\n setTimeout(() => {\n document.getElementById(\"root\").style.display = '';\n\n }, 800);\n },\n function (xhr) {\n //console.log( ( xhr.loaded / xhr.total * 100 ) + '% loaded' );\n },\n function (error) {\n //console.log( 'An error happened' );\n }\n );\n\n camera.rotation.set(-.1, 0, 0);\n var ccx = camera.position.x;\n var ccy = camera.position.y;\n var scY = 0;\n var orx = 0;\n //this.adjustOnResize();\n\n var animate = function () {\n myRFA = requestAnimationFrame(animate);\n var nx = ccx + ((acdx - ccx) / 50);\n var ny = ccy + ((acdy - ccy) / 50);\n scY = scY + (window.scrollY - scY) / 11;\n\n if (obj1 && obj1.getObjectByName(\"cloud\") && saturn) {\n obj1.getObjectByName(\"Bone2\").rotation.z = obj1.getObjectByName(\"Bone2\").rotation.z + (neckAn - obj1.getObjectByName(\"Bone2\").rotation.z) / 30;\n obj1.getObjectByName(\"Bone3\").rotation.z = obj1.getObjectByName(\"Bone3\").rotation.z + (headAn - obj1.getObjectByName(\"Bone3\").rotation.z) / 20;\n obj1.getObjectByName(\"Bone2\").rotation.z += .002 * Math.sin(.0194 * loopVar);\n //orx = orx + (orx/400) ;\n obj1.rotation.x = orx - fr * scY / 6000;\n obj1.getObjectByName(\"cloud\").rotation.y += .0002;\n\n vol_scale = .7 + ap / 4;\n obj1.getObjectByName(\"vol1\").scale.set(vol_scale, vol_scale, vol_scale);\n obj1.getObjectByName(\"smoke1\").material.emissiveIntensity = 1 + 2 * (Math.sin(.0294 * loopVar) + 1);\n saturn.rotateY(.003);\n //obj1.getObjectByName(\"Saturn\").rotation.y += .002;\n\n }\n\n ccx = nx;\n ccy = ny;\n zw = 50 - ap / 10;\n //camera.position.set(nx , ny + fr - offY/3 - scY/250 , zw); \n camera.position.y = 1.7;\n camera.position.z = zw;\n var delta = clock.getDelta();\n if (mixer1) mixer1.update(delta);\n renderer.render(scene, camera);\n loopVar += 1;\n };\n animate();\n\n window.addEventListener('resize', this.onBannerResize, false);\n window.addEventListener('mousemove', this.onMouseMove, false);\n window.addEventListener('scroll', onBannerScroll2, false);\n var isBannerCanceled = false;\n var isBannerStarted = true;\n\n function onBannerScroll() {\n if ((window.scrollY < h * .35) && isBannerCanceled) {\n isBannerCanceled = false;\n myRFA = requestAnimationFrame(animate);\n } else if ((window.scrollY > h * .35) && !isBannerCanceled) {\n isBannerCanceled = true;\n cancelAnimationFrame(myRFA);\n }\n }\n\n function onBannerScroll2() {\n if (document.getElementById(\"nft_row1\") && document.getElementById(\"nft_row2\")) {\n let h = window.innerHeight;\n let wsy = window.scrollY;\n let s_top1 = document.getElementById(\"nft_row1\").getBoundingClientRect().top;\n let s_height = document.getElementById(\"nft_row1\").getBoundingClientRect().height;\n let ns1 = 300 * (Math.tanh(.005 * (s_top1 + s_height - h / 2)) + 1);\n \n document.getElementById(\"nft_row1\").style.backgroundPositionX = ns1 + \"px\";\n document.getElementById(\"nft_row2\").style.backgroundPositionX = -ns1 + \"px\"\n document.getElementById(\"mintBTN\").style.marginTop = wsy*.3 + h/2 + \"px\"\n\n p = wsy / 25;\n document.getElementById('img_king').style.transform = \"rotate3D(0,1,0.1,\" + (p - 50) + \"deg)\";\n document.getElementById('img_lava').style.transform = \"rotate3D(0,1,0.1,\" + (-p + 30) + \"deg)\";\n }\n }\n }\n\n componentWillUnmount() {\n scene.remove(obj1);\n cancelAnimationFrame(myRFA);\n window.removeEventListener('resize', this.onBannerResize, false);\n window.removeEventListener('scroll', this.onBannerScroll, false);\n //window.removeEventListener('scroll', this.onBannerScroll2, false);\n window.removeEventListener('mousemove', this.onMouseMove, false);\n }\n\n render() {\n return (\n
\n
\n \n
\n\n
\n
\n {/* \"\"\n \"\"/ */}\n
\n
\n
\n

Story


\n
\n
\n
\n
\n
S
\n omewhere in the multiverse, an imperial rooster from a collapsing planet wandered the space on a quest to seek for a new home-sweet-home. Sure enough, his spacecraft was hit by a meteorite and crashed on an uncharted planet named Sriracha, where he discovered an island full of \"The Holy Jalapeño Pepper Trees\". His guts told him at first sight, \"This is where my family was destined for\", not really a sweet home, but something much, much better... The HOTTEST civilization was about to begin.\n

\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n
K
\n ing rooster and his first troop finally set foot on Sriracha planet. With massive Jalapeño power source, families turned into a tribe, tribes grew into a state, and states prospered into a planetary empire.\n

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

10,000
Collectible
NFT\n
\n

\n
\n
\n
\n
\n\n
\n )\n }\n}\nexport default Banner1;","import \"./Team.css\";\nimport * as THREE from 'three';\nimport React, { Component } from \"react\"; \nimport { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';\nimport { HDRCubeTextureLoader } from 'three/examples/jsm/loaders/HDRCubeTextureLoader.js';\n//import { DebugEnvironment } from 'three/examples/jsm/environments/DebugEnvironment.js';\n//import { ColorSpaceNode, MeshStandardNodeMaterial } from 'three/examples/jsm/nodes/Nodes.js';\n\nvar w , h;\nvar renderer = new THREE.WebGLRenderer({alpha:true, antialias:true});\nvar camera;\nvar clock = new THREE.Clock();\nvar mixer1;\nvar obj1;\nvar previousWidth;\n\nvar acdx = 0 , acdy = 0;\nvar vnmu = true;\nvar bw , bl, tttt;\nvar divw1;\nvar btt;\n\n\nvar fng1 = \"HSC_banner1.glb\"\nvar fr = 1;\nvar offY = 0;\nvar zw = 50;\nvar jios = 0;\nvar scene = new THREE.Scene();\nvar fov1 = 4;\nvar topStory1 = 0;\nvar myRFA;\nvar loader;\nclass Team extends Component {\n adjustOnResize() {\n //bw = document.getElementById(\"story_img1\").offsetWidth;\n //bl = document.getElementById(\"story_img1\").offsetLeft;\n //btt = document.getElementById(\"story_img1\").offsetTop;\n //divw1 = document.getElementById(\"story_img1\").offsetWidth;\n //document.getElementById(\"vision_img\").style.left = (20 + bl) + \"px\";\n //document.getElementById(\"mission_img\").style.left = bl + bw/1.3 +\"px\";\n //document.getElementById(\"mazkgang_img_div\").style.top = h+\"px\";\n }\n\n onBannerResize(e) {\n w = document.getElementById('banner').offsetWidth;\n if(w !== previousWidth){\n previousWidth = w;\n //this.location.reload();\n }\n }\n\n componentDidMount() {\n \n }\n\n componentWillUnmount() {\n //cancelAnimationFrame(myRFA);\n //window.removeEventListener('resize', this.onBannerResize , false );\n }\n \n render() {\n return (\n
\n


Our Team
\n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n Dang (Founder)

\n
\n Investor gone crypto. His mission is to decarbonize the world with great tasting food and making sustainable food experience enjoyable. His goal is to improve the quality of life not just for himself but for the planet.\n
\n
\n\n
\n
\n
\n
\n Big Head (Co-founder)

\n
\n Co-founder and cyrpto enthusiast. Over 7+ years in the food and beverage industry. He is focused on creating a community driven project that contributes and integrates people from all over the world. For the love of sauce\n
\n
\n\n
\n
\n
\n
\n Goose (Artist)

\n
\n Artist behind Nearnauts and Astropups bluechip on Near Protocal, his works are recognized and loved by people around the world with distinctive style.\n

\n
\n
\n\n
\n
\n
\n
\n Sap1en (Creative Director)

\n
\n NFT Creator and collector, started with Near Protocol and that where he met Goose, Sap1en and Goose are team up for the extraordinary art \n


\n
\n
\n\n
\n
\n
\n
\n Aosora (Project Manager)

\n
\n Marketer & Project ManagerBackground in entertainment industry, Aosora's interested in creative-new media industry and she believe community driven environment of WEB3 is the future\n
\n
\n\n
\n
\n
\n
\n Cham (Community Manager)

\n
\n NFT Enthusiast, full time web3. Over 4 yrs in the food industry.\n



\n
\n
\n\n
\n
\n
\n {/*
*/}\n \n \n
\n )\n }\n}\nexport default Team;","var _g;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgLeft(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 42.022,\n height: 42.022,\n viewBox: \"0 0 42.022 42.022\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"left\",\n transform: \"translate(0 0)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Icon-Set-Filled\",\n transform: \"translate(0 0)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n id: \"chevron-right-square\",\n d: \"M272.818,1007.031l11.782,11.744a1.327,1.327,0,1,0,1.877-1.878l-10.911-10.865,10.911-10.873a1.316,1.316,0,0,0,0-1.869,1.333,1.333,0,0,0-1.877,0l-11.782,11.741a1.519,1.519,0,0,0,0,2ZM263.253,985h31.516a5.253,5.253,0,0,1,5.253,5.253v31.516a5.252,5.252,0,0,1-5.253,5.253H263.253a5.252,5.252,0,0,1-5.253-5.253V990.253A5.253,5.253,0,0,1,263.253,985Z\",\n transform: \"translate(-258 -985)\",\n fill: \"#dc7107\",\n fillRule: \"evenodd\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgLeft);\nexport default __webpack_public_path__ + \"static/media/left.899fb1db.svg\";\nexport { ForwardRef as ReactComponent };","import \"./Mazk_Banner2.css\";\nimport * as THREE from 'three';\nimport React, { Component } from \"react\"; \nimport { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';\nimport { HDRCubeTextureLoader } from 'three/examples/jsm/loaders/HDRCubeTextureLoader.js';\n//import { DebugEnvironment } from 'three/examples/jsm/environments/DebugEnvironment.js';\n//import { ColorSpaceNode, MeshStandardNodeMaterial } from 'three/examples/jsm/nodes/Nodes.js';\n\nvar w , h;\nvar renderer = new THREE.WebGLRenderer({alpha:true, antialias:true});\nvar camera;\nvar clock = new THREE.Clock();\nvar mixer1;\nvar obj1;\nvar previousWidth;\n\nvar acdx = 0 , acdy = 0;\nvar vnmu = true;\nvar bw , bl, tttt;\nvar divw1;\nvar btt;\n\n\nvar fng1 = \"HSC_banner1.glb\"\nvar fr = 1;\nvar offY = 0;\nvar zw = 50;\nvar jios = 0;\nvar scene = new THREE.Scene();\nvar fov1 = 4;\nvar topStory1 = 0;\nvar myRFA;\nvar loader;\nclass Banner2 extends Component {\n render() {\n return (\n
\n \n
\n
\n \n
\n
\n {/*
*/}\n \n
\n \n
What is

\n Sriracha Club?
\n
The Sriracha Hot Sauce Club is aimed to be the largest and most accessible NFT community for hot sauce lovers and people who are really passionate about food and want to create a business around it. With the vision of our founder, Dan Pathomvanich, we want to unite all food enthusiasts and entrepreneurs not just in Asia but around the world to come together to create a sustainable environment not just for yourself but for everyone. We aim to connect, support, and guide our followers who just love food and making there dreams come to reality.\n

\n
\n
\n
\n
\n
\n




\n
\n
\n )\n }\n}\nexport default Banner2;","import './Mazk_MainPage.css';\nimport Header4 from \"../header/Header_2\";\nimport Banner1 from \"../Main_Page/Mazk_Banner1\";\nimport Banner2 from \"../Main_Page/Mazk_Banner2\";\nimport Team from \"../Main_Page/Team\";\nimport React, { Component } from \"react\";\n\nclass MazkMainPage extends Component {\n\n render(){\n return (\n
\n
\n
\n
\n \n
\n \n
\n
\n \n
\n \n
\n )\n }\n}\n\nexport default MazkMainPage;","import \"./Pfpmake.css\";\nimport React, { Component } from \"react\"; \nimport html2canvas from \"html2canvas\";\nimport { Link } from \"react-router-dom\";\n\nvar myRFA;\nvar propNum = [15,15,21,25,6,18,16,12];\nclass Pfpmake extends Component {\n onBannerResize(e) {\n //w = document.getElementById('banner').offsetWidth;\n }\n\n shuffle(){\n for(var i=1;i<=8;i++){\n var r = Math.ceil((Math.random()*0.999)*(propNum[i-1]));\n document.getElementById(\"pfp_img_\"+i).src = \"./element/element_\"+i+\"/\"+r+\".png\"; \n }\n }\n changeCat(i,r){\n document.getElementById(\"pfp_img_\"+i).src = \"./element/element_\"+i+\"/\"+r+\".png\"; \n }\n\n loadAllCat(j){\n var i = 0;\n var dc = document.getElementById(\"pfp_sub-category_main\");\n for(i=1;i<=propNum[j-1];i++) { \n var iDiv = document.createElement('div');\n iDiv.style.display = 'none';\n iDiv.id = 'elem'+i;\n iDiv.className = 'icon1';\n iDiv.setAttribute(\"cat\", j);\n iDiv.setAttribute(\"type\", \"btn_item\");\n iDiv.value = i;\n iDiv.onclick = (e)=>{ this.changeCat(e.target.getAttribute(\"cat\"),e.target.value) };\n iDiv.innerHTML = \"\";\n dc.appendChild(iDiv);\n }\n }\n\n showCat(i){\n for(var j=1;j<=8;j++){\n if(j==i){\n document.getElementById(\"cat_btn_\"+j).style.backgroundColor = 'lightgray';\n }else{\n document.getElementById(\"cat_btn_\"+j).style.backgroundColor = 'transparent';\n }\n }\n var allCat = document.querySelectorAll(\"[type='btn_item']\");\n allCat.forEach((el) => {\n if(el.getAttribute(\"cat\") == i){\n el.style.display = 'flex';\n }else{\n el.style.display = 'none';\n }\n });\n }\n\n screenShot = (element) => {\n document.getElementById(\"pfp_result_shuffle\").style.display = 'none';\n document.getElementById('pfp_result').style.borderWidth = '0px';\n document.getElementById('pfp_img_8').style.borderWidth = '0px';\n document.getElementById('pfp_result').style.borderRadius = '0px' ; \n document.getElementById('pfp_img_8').style.borderRadius = '0px' ; \n document.getElementById('pfp_result_8').style.borderRadius = '0px' ;\n html2canvas(element).then((canvas) => {\n const image = canvas.toDataURL('png');\n const a = document.createElement('a');\n a.setAttribute('download', 'certificate.png');\n a.setAttribute('href', image);\n a.click();\n document.getElementById(\"pfp_result_shuffle\").style.display = 'inline';\n document.getElementById('pfp_result').style.borderWidth = '2px';\n document.getElementById('pfp_result').style.borderRadius = '20px';\n document.getElementById('pfp_img_8').style.borderRadius = '20px' ;\n });\n } \n\n componentDidMount() {\n document.getElementsByTagName(\"BODY\")[0].style.overflowY = 'hidden'; \n document.documentElement.style.overflowY = 'hidden'; \n document.documentElement.style.overflowX = 'hidden'; \n document.getElementsByTagName(\"BODY\")[0].style.height = '100%'; \n document.documentElement.style.height = '100%'; \n\n setTimeout( () => {\n document.getElementById(\"root\").style.display = ''; \n document.getElementById(\"preload\").style.display = 'none'; \n },100); \n\n var animate = function () {\n //myRFA = requestAnimationFrame( animate); \n };\n for(var i=1;i<=8;i++){\n this.loadAllCat(i);\n }\n this.showCat(1);\n this.shuffle();\n /*setTimeout( () => {\n html2canvas(document.querySelector(\"#pfp_result\")).then(canvas => {\n document.body.appendChild(canvas)\n });\n },2000); */\n //animate(); \n //window.addEventListener('resize', this.onBannerResize , false );\n }\n\n componentWillUnmount() { \n document.getElementsByTagName(\"BODY\")[0].style.overflowY = ''; \n document.documentElement.style.overflowY = ''; \n document.documentElement.style.overflowX = ''; \n document.getElementsByTagName(\"BODY\")[0].style.height = '100%'; \n document.documentElement.style.height = '100%'; \n //cancelAnimationFrame(myRFA);\n //window.removeEventListener('resize', this.onBannerResize , false );\n }\n \n render() {\n return (\n
\n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n \n
\n \n
\n
\n {this.screenShot(document.getElementById('pfp_result'))}} />\n
\n
\n
\n
\n
{this.showCat(1)}}>
\n
{this.showCat(2)}}>
\n
{this.showCat(3)}}>
\n
{this.showCat(4)}}>
\n
{this.showCat(5)}}>
\n
{this.showCat(6)}}>
\n
{this.showCat(7)}}>
\n
{this.showCat(8)}}>
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n )\n }\n}\nexport default Pfpmake;\n\n","import { ReactComponent as LeftStoryLine } from \"../assets/left.svg\";\nimport \"./Check_Page.css\";\nimport \"../header/Header_2.css\";\nimport { Link } from \"react-router-dom\";\nimport Web3 from 'web3';\nimport { useState , useEffect } from 'react';\nimport { getProof } from \"../merkle/merkleTree\";\n//import FetchGoogleSheet from './Papaparse';\n\nvar checkpage_subdiv1;\nvar checkRQAF;\n\nexport default function Header() {\n const [account, setAccount] = useState(0);\n useEffect(() => {\n document.getElementById(\"root\").style.display = ''; \n document.getElementById(\"preload\").style.display = 'none'; \n checkpage_subdiv1 = document.getElementById(\"checkpage_subdiv1\");\n \n var animate = function () {\n checkRQAF = requestAnimationFrame(animate);\n if(parseInt(checkpage_subdiv1.offsetWidth) > 0 ){\n checkPageResize();\n cancelAnimationFrame(checkRQAF);\n }\n }\n animate();\n window.addEventListener('resize',checkPageResize);\n return() => {\n cancelAnimationFrame(checkRQAF);\n window.removeEventListener('resize',checkPageResize);\n }\n }, []);\n\n function connect_wallet() {\n \n if(!account){\n checkMetaMask();\n }else{\n alert(\"Your wallet address is \" + account);\n }\n } \n \n function checkMetaMask() {\n if (typeof window.ethereum !== 'undefined') {\n connectMetaMask()\n window.ethereum.on('accountsChanged', connectMetaMask)\n }else{\n window.location.href = 'https://metamask.app.link/dapp/www.mazkgang.io?connect=2';\n }\n }\n\n function showWLSuccess(){\n document.getElementById(\"checkpage_subdiv1\").style.backgroundPositionX = \"50%\";\n document.getElementById(\"checkpage_presale_date\").style.display = \"block\";\n }\n function showWLFail(){\n document.getElementById(\"checkpage_subdiv1\").style.backgroundPositionX = \"100%\";\n document.getElementById(\"checkpage_social\").style.display = \"flex\";\n }\n\n async function clearAndcheckPassConnect(){\n var url = new URL(window.location.href);\n var c = url.searchParams.get('connect');\n if(c === 2) connectMetaMask();\n }\n \n clearAndcheckPassConnect();\n \n async function connectMetaMask() {\n const web3 = new Web3(Web3.givenProvider || 'http://localhost:7545');\n const accounts = await web3.eth.requestAccounts();\n \n setAccount(accounts[0]);\n var ad_short = \" 0\" + accounts[0].substring(1,8) + \"...\" + accounts[0].substring(accounts[0].length - 4) + \" \";\n document.getElementById(\"checkpage_subdiv1_2\").style.display = 'none';\n document.getElementById(\"checkpage_subdiv1_3\").style.display = 'flex';\n document.getElementById(\"wallet_blank\").innerHTML = \"
\"+ad_short+\"
\";\n\n const proof = getProof(accounts[0]);\n\n if (proof.length > 0) {\n showWLSuccess();\n } else {\n showWLFail();\n }\n }\n\n return (\n
\n
\n
\n   \n BACK HOME\n
\n
\n\n
\n
\n
\n












\n         YOU WILL FIND HTE CONNECT WALLET PAGE.\n
        1. TO CHECK YOUR ELIGIBILITY, CLICK THE CONNECT WALLET BUTTON.\n
        2. IF YOU ARE THE WL, IT WILL APPEAR \"CONGRATULATIONS! YOU'RE ON THE MAZK LIST.\" ON THE SCREEN. \n
        3. IF YOU DO NOT RECEIVE WL, THE MESSAGE \"SORRY,YOU ARE NOT ON THE MAZK LIST\" WILL APPEAR.\n
        4. IF YOU CANNOT FIND YOUR WALLET ADDRESS ON THE WEBSITE, PLEASE CONTACT US ON DISCORD BY \n
          CLICKING TICKET SUPPORT.\n
        5. IF YOU ON THE LIST , PLEASE WAIT FOR PRE-SALE DATE.\n
\n
\n
PRE-SALE\n
10 JUNE 2022
\n
\n
\n
\n CONTACT US
\n \n \"\"\n \n \n \"\"\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n );\n}\n\nfunction checkPageResize() {\n var pl = checkpage_subdiv1.offsetWidth/70;\n checkpage_subdiv1.style.fontSize = pl+\"px\";\n checkpage_subdiv1.style.lineHeight= 1.4*pl+\"px\";\n checkpage_subdiv1.style.height = (0.58 * checkpage_subdiv1.offsetWidth) + \"px\";\n}","import { ReactComponent as LeftStoryLine } from \"../assets/left.svg\";\nimport \"../Check_Page/Check_Page.css\";\nimport \"../header/Header_2.css\";\nimport { Link } from \"react-router-dom\";\nimport React, { useEffect, useState} from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { connect } from \"../redux/blockchain/blockchainActions\";\nimport { fetchData } from \"../redux/data/dataActions\";\nimport Web3 from \"web3\";\nimport \"../Mint_Page/Mint_Page.css\"\nimport { getProof } from \"../merkle/merkleTree\";\nimport { getAllByPlaceholderText } from \"@testing-library/react\";\nimport { id } from \"ethers/lib/utils\";\n//import { id } from \"ethers/lib/utils\";\n\nvar ad_short;\nvar isConnected = false;\nvar isConnectedAndWhitelisted = false;\nvar isAmountAvailable = false;\nvar isRecentlyCompleted = false;\nvar availablemint = 5;\nvar interv2_Bar;\nvar contractAD = '0xfa3c785b3F9E6140a9D058976D85BBB9bdD704B0';\nfunction Mint_Page() {\n document.getElementById(\"root\").style.display = ''; \n document.getElementById(\"preload\").style.display = 'none'; \n \n const dispatch = useDispatch();\n const blockchain = useSelector((state) => state.blockchain);\n const data = useSelector((state) => state.data);\n const [claimingNft, setClaimingNft] = useState(false);\n const [feedback, setFeedback] = useState(`Click buy to mint your NFT.`);\n const [mintAmount, setMintAmount] = useState(1);\n const [CONFIG, SET_CONFIG] = useState({\n CONTRACT_ADDRESS: \"\",\n SCAN_LINK: \"\",\n NETWORK: {\n NAME: \"\",\n SYMBOL: \"\",\n ID: 0,\n },\n NFT_NAME: \"\",\n SYMBOL: \"\",\n MAX_SUPPLY: 1,\n WEI_COST: 0,\n DISPLAY_COST: 0,\n GAS_LIMIT: 0,\n MARKETPLACE: \"\",\n MARKETPLACE_LINK: \"\",\n SHOW_BACKGROUND: false,\n });\n\n \n const claimNFTs = () => {\n clearInterval(interv2_Bar);\n let cost = data.cost;\n let gasLimit = CONFIG.GAS_LIMIT;\n let totalCostWei = Web3.utils.toWei((cost * mintAmount).toString());\n let totalGasLimit = String(gasLimit * mintAmount);\n console.log(\"Cost: \", totalCostWei);\n console.log(\"Gas limit: \", totalGasLimit);\n setFeedback(`Minting your ${CONFIG.NFT_NAME}...`);\n setClaimingNft(true);\n document.getElementById('mintpage_mint_waiting').style.display = 'none';\n document.getElementById(\"mintpage_processing\").style.display = \"block\";\n document.getElementById(\"mintpage_mintbtn\").style.display = 'none';\n document.getElementById(\"mintpage_mintbtn_disabled\").style.display = 'flex';\n document.getElementById('mintpage_upbtn').style.pointerEvents = 'none';\n document.getElementById('mintpage_downbtn').style.pointerEvents = 'none';\n blockchain.smartContract.methods\n [data.publicSale ? 'publicSaleMint' : 'allowlistMint'](mintAmount, ...(data.publicSale ? [] : [data.proof]))\n .send({\n gasLimit: String(totalGasLimit),\n to: CONFIG.CONTRACT_ADDRESS,\n from: blockchain.account,\n value: totalCostWei,\n })\n .once(\"error\", (err) => {\n console.log(err);\n setMintFail();\n interv2_Bar = setInterval(readAllMinted , 10000);\n setFeedback(\"Sorry, something went wrong please try again later.\");\n setClaimingNft(false);\n })\n .then((receipt) => {\n console.log(receipt);\n setMintComplete();\n interv2_Bar = setInterval(readAllMinted , 10000);\n setFeedback(\n `WOW, the ${CONFIG.NFT_NAME} is yours! go visit Opensea.io to view it.`\n );\n setClaimingNft(false);\n dispatch(fetchData(blockchain.account));\n });\n };\n\n const getMaxNFTs = () => {\n clearInterval(interv2_Bar);\n blockchain.smartContract.methods.numberMinted(blockchain.account).call()\n .then((numberMinted) => {\n interv2_Bar = setInterval(readAllMinted , 10000);\n availablemint = 5;\n document.getElementById('mintpage_mint_waiting').style.display = 'flex';\n document.getElementById('mintpage_text_whitelisted').style.display = 'none';\n document.getElementById('mintpage_ready').style.fontSize = document.getElementById('mintpage_sub1').offsetWidth/12 + 'px';\n document.getElementById('mintpage_ready').innerHTML = availablemint;\n isAmountAvailable = true;\n setMintAmount(availablemint);\n });\n };\n\n const decrementMintAmount = () => {\n if(isConnectedAndWhitelisted){\n if(isAmountAvailable){\n let newMintAmount = mintAmount - 1;\n if (newMintAmount < 1) {\n newMintAmount = 1;\n }\n document.getElementById('mintpage_ready').innerHTML = newMintAmount;\n setMintAmount(newMintAmount);\n }else{\n mintBTNCliked();\n }\n }\n };\n\n const incrementMintAmount = () => {\n availablemint = 5;\n if(isConnectedAndWhitelisted){\n if(isAmountAvailable){\n let newMintAmount = mintAmount + 1;\n if (newMintAmount > availablemint) {\n newMintAmount = availablemint;\n }\n document.getElementById('mintpage_ready').innerHTML = newMintAmount;\n setMintAmount(newMintAmount);\n }else{\n mintBTNCliked();\n }\n }\n };\n\n const getData = () => {\n if(CONFIG.CONTRACT_ADDRESS){\n readAllMinted();\n }\n resetUI();\n if (blockchain.account) {\n dispatch(fetchData(blockchain.account));\n connectedWallet();\n }\n };\n\n function connectedWallet() {\n ad_short = \"0\" + blockchain.account.substring(1,8) + \"...\" + blockchain.account.substring(blockchain.account.length - 4) + \" \";\n document.getElementById('mintpage_address').style.display = 'flex';\n document.getElementById('mintpage_connectwallet_btn').style.display = 'none';\n document.getElementById('mintpage_detail_text').style.display = 'none';\n document.getElementById('mintpage_detail_header').style.display = 'none';\n document.getElementById('mintpage_checking_whitelist').style.display = 'flex';\n isConnectedAndWhitelisted = true;\n showWLSuccess();\n isConnected = true;\n }\n\n const mintBTNCliked = () => {\n if(isConnectedAndWhitelisted && !isAmountAvailable && !isRecentlyCompleted) {\n getMaxNFTs();\n }else if(isConnectedAndWhitelisted && isAmountAvailable && !isRecentlyCompleted) {\n claimNFTs();\n }else if(isConnectedAndWhitelisted && isAmountAvailable && isRecentlyCompleted) {\n isRecentlyCompleted = false;\n resetAll();\n }\n }\n\n const getConfig = async () => {\n const configResponse = await fetch(\"/config/config.json\", {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n });\n const config = await configResponse.json();\n SET_CONFIG(config);\n };\n\n useEffect(() => {\n interv2_Bar = setInterval(readAllMinted , 10000);\n document.getElementById('mintpage_time').style.display = 'none';\n getConfig();\n MintPage_ChangeFontSize();\n window.addEventListener('resize', MintPage_ChangeFontSize);\n return () => {\n window.removeEventListener('resize', MintPage_ChangeFontSize);\n clearInterval(interv2_Bar);\n }\n }, []);\n\n useEffect(() => {\n getData();\n }, [blockchain.account]);\n\n useEffect(() => {\n console.log(data)\n if(data){ \n if (data.whitelisted) {\n setFeedback('You have been whitelisted');\n } else {\n setFeedback(\"You aren't whitelisted\"); \n }\n }\n }, [data]);\n\n useEffect(() => {\n if(CONFIG.CONTRACT_ADDRESS){\n readAllMinted();\n }\n },[CONFIG]);\n\n function setMintComplete() {\n readAllMinted();\n document.getElementById('mintpage_mintbtn').style.display = 'flex';\n document.getElementById('mintpage_mintbtn_disabled').style.display = 'none';\n document.getElementById('mintpage_success').style.display = 'block';\n document.getElementById('mintpage_mint_waiting').style.display = 'none';\n document.getElementById(\"mintpage_processing\").style.display = \"none\";\n document.getElementById(\"mintpage_ready\").style.display = \"none\";\n document.getElementById(\"mintpage_opensea\").style.display = \"flex\";\n isRecentlyCompleted = true;\n }\n \n function setMintFail() {\n resetAll();\n document.getElementById('mintpage_fail').style.display = 'flex';\n document.getElementById('mintpage_detail_text').style.display = \"none\";\n document.getElementById('mintpage_detail_header').style.display = \"none\";\n document.getElementById('mintpage_connectwallet_btn').style.display = 'none';\n document.getElementById('mintpage_mintbtn').style.display = 'none';\n document.getElementById('mintpage_mint_waiting').style.display = 'none';\n setTimeout(()=>{\n resetAll();\n },3000);\n }\n \n function showWLSuccess() {\n document.getElementById('mintpage_checking_whitelist').style.display = 'none';\n document.getElementById(\"mintpage_mintbtn\").style.display = 'flex';\n document.getElementById(\"mintpage_mintbtn_disabled\").style.display = 'none';\n document.getElementById('mintpage_text_whitelisted').style.display = 'flex';\n document.getElementById('mintpage_text_unwhitelisted').style.display = 'none';\n document.getElementById('mintpage_ready').style.display = 'flex';\n document.getElementById('mintpage_upbtn').style.pointerEvents = 'auto';\n document.getElementById('mintpage_downbtn').style.pointerEvents = 'auto';\n }\n\n function readAllMinted() {\n const web3 = new Web3(Web3.givenProvider || 'http://localhost:7545');\n var abi = JSON.parse('[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_preSaleStartTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxBatchSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_collectionSize\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amountForDevs\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"allowlistMint\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allowlistPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"amountForDevs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"devMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"devMintAfterPublic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getOwnershipData\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"startTimestamp\",\"type\":\"uint64\"}],\"internalType\":\"struct ERC721A.TokenOwnership\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isPreSaleOn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isPublicSaleOn\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxPerTxDuringMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextOwnerToExplicitlySet\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"numberMinted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"preSaleStartTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"publicPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"name\":\"publicSaleMint\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"publicSaleStartTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"baseURI\",\"type\":\"string\"}],\"name\":\"setBaseURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"quantity\",\"type\":\"uint256\"}],\"name\":\"setOwnersExplicit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"timestamp\",\"type\":\"uint32\"}],\"name\":\"setPreSaleStartTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"timestamp\",\"type\":\"uint32\"}],\"name\":\"setPublicSaleStartTime\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_root\",\"type\":\"bytes32\"}],\"name\":\"setRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"usedDevMint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawMoney\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]');\n const contract = new web3.eth.Contract(abi , contractAD); // options = {from: account, value: 100000 }\n contract.methods.totalSupply().call().then((totalMinted)=>{\n document.getElementById('minted_amount').innerHTML = parseInt(totalMinted) + '/10000';\n //var percentH = parseInt(95 - 95*totalMinted/10000);\n //document.getElementById('mintpage_greenbar_img').style.clipPath = 'inset('+ percentH + '% 0% 0% 0%)'; \n });\n }\n\n function resetUI(){\n document.getElementById('mintpage_detail_text').style.display = 'flex';\n document.getElementById('mintpage_detail_header').style.display = 'flex';\n document.getElementById('mintpage_mintbtn').style.display = 'none';\n document.getElementById('mintpage_mintbtn_disabled').style.display = 'flex';\n document.getElementById('mintpage_connectwallet_btn').style.display = 'flex';\n isConnected = false;\n isConnectedAndWhitelisted = false;\n isAmountAvailable = false;\n availablemint = 2;\n \n document.getElementById('mintpage_text_whitelisted').style.display = 'none';\n document.getElementById('mintpage_address').style.display = 'none';\n document.getElementById('mintpage_upbtn').style.pointerEvents = 'none';\n document.getElementById('mintpage_downbtn').style.pointerEvents = 'none';\n document.getElementById('mintpage_text_whitelisted').style.display = 'none';\n document.getElementById('mintpage_text_unwhitelisted').style.display = 'none';\n document.getElementById('mintpage_full').style.display = 'none';\n document.getElementById('mintpage_mint_waiting').style.display = 'none';\n document.getElementById('mintpage_time').style.display = 'none';\n document.getElementById(\"mintpage_opensea\").style.display = \"none\";\n document.getElementById('mintpage_ready').style.display = 'none';\n document.getElementById('mintpage_ready').innerHTML = 'READY!';\n var msw = document.getElementById('mintpage_sub1').offsetWidth;\n document.getElementById('mintpage_ready').style.fontSize = msw/30 + 'px';\n document.getElementById('mintpage_processing').style.display = 'none';\n document.getElementById('mintpage_success').style.display = 'none';\n document.getElementById('mintpage_fail').style.display = 'none';\n }\n function resetAll() {\n readAllMinted();\n resetUI();\n }\n\n return (\n
\n
\n   \n BACK HOME\n
\n
\n
\n
\n HOW TO MINT\n
\n
\n READY!\n
\n
\n \"\"\n
\n
\n Whitelist Checking ...\n
\n
\n 1. CONNENCT YOUR WALLET BY METAMASK.
\n 2. IF YOU ARE ON THE MASK LIST, MINT BUTTON WILL
  BE GREEN.
\n 3. PLEASE READ THE INFORMATION.
\n 4. GO MINT BY FOLLOWING THE INSTRUCTIONS .
\n 5. WAIT UNTIL TRANSACTION IS COMPLETED.
\n 6. CONENCT THE SAME WALLET TO OPENSEA.
YOU WILL SEE THE MAZK APPEARED.\n
\n
\n
\n PUBLIC-SALE

\n MAXIMUM 5 MINTS PER TRANSACTION
\n PRICE 0.15 ETH PER MINT
\n MAKE SURE YOUR WALLET IS FUNDED\n
\n
\n
\n
\n PRICE 0.15 ETH PER MINT
\n \n AWESOME YOU GOT {mintAmount} MAZK\n
TOTAL {(mintAmount*0.15).toFixed(2)} ETH + GAS \n
\n
\n
\n
\n SORRY!
\n YOU ARE NOT ON THE MAZK LIST
\n PLEASE COME BACK
\n PUBLIC SALE
\n 11 JUNE 2022\n
\n
\n
\n
\n OOPS!

\n
\n YOU WALLET IS ALREADY FULLY MINTED.
\n MAXIMUM 2 MINTS PER WALLET\n
\n
\n
\n
\n
\n OOPS!

\n
\n SOMETHING WENT WRONG.
\n PLEASE TRY AGAIN.\n
\n
\n
\n
{\n e.preventDefault();\n dispatch(connect());\n getData();\n }}>\n \n
\n
\n
 {ad_short == \"\" ? null : ad_short }
\n
\n
\n
\n
\n
\n
LIVE IN
72:30
hours
\n
1/10000
\n
\n \n
\n
\n
\n \"\"\n
... MAZK IN PROGRESS ...\n
\n
\n
\n
\n \"\"

\n \"\"\n
\n
\n
\n
\n
\n );\n}\nexport default Mint_Page;\n\nfunction MintPage_ChangeFontSize() {\n var msw = document.getElementById('mintpage_sub1').offsetWidth;\n document.getElementById('mintpage_detail_text').style.fontSize = msw/50 + 'px';\n document.getElementById('mintpage_text_whitelisted').style.fontSize = msw/50 + 'px';\n document.getElementById('mintpage_detail_header').style.fontSize = msw/16 + 'px';\n document.getElementById('mintpage_address').style.fontSize = msw/42 + 'px';\n document.getElementById('mintpage_text_whitelisted').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_text_whitelisted_head').style.fontSize = msw/16 + 'px';\n document.getElementById('mintpage_text_unwhitelisted').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_text_unwhitelisted_head').style.fontSize = msw/16 + 'px';\n document.getElementById('mintpage_full').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_fail').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_full_header').style.fontSize = msw/16 + 'px';\n document.getElementById('mintpage_fail_header').style.fontSize = msw/16 + 'px';\n document.getElementById('mintpage_mint_waiting').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_time').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_ready').style.fontSize = msw/30 + 'px';\n document.getElementById('minted_amount').style.fontSize = msw/40 + 'px';\n document.getElementById('mint_wait_gif').style.width = msw/2.5+'px'\n document.getElementById('mintpage_processing').style.fontSize = msw/40+'px'\n}","const initialState = {\n loading: false,\n account: null,\n smartContract: null,\n web3: null,\n errorMsg: \"\",\n};\n\nconst blockchainReducer = (state = initialState, action) => {\n switch (action.type) {\n case \"CONNECTION_REQUEST\":\n return {\n ...initialState,\n loading: true,\n };\n case \"CONNECTION_SUCCESS\":\n return {\n ...state,\n loading: false,\n account: action.payload.account,\n smartContract: action.payload.smartContract,\n web3: action.payload.web3,\n };\n case \"CONNECTION_FAILED\":\n return {\n ...initialState,\n loading: false,\n errorMsg: action.payload,\n };\n case \"UPDATE_ACCOUNT\":\n return {\n ...state,\n account: action.payload.account,\n };\n default:\n return state;\n }\n};\n\nexport default blockchainReducer;\n","const initialState = {\n loading: false,\n totalSupply: 0,\n cost: 0,\n proof: [],\n mintedCount: 0,\n error: false,\n errorMsg: \"\",\n};\n\nconst dataReducer = (state = initialState, action) => {\n switch (action.type) {\n case \"CHECK_DATA_REQUEST\":\n return {\n ...state,\n loading: true,\n error: false,\n errorMsg: \"\",\n };\n case \"CHECK_DATA_SUCCESS\":\n return {\n ...state,\n loading: false,\n totalSupply: action.payload.totalSupply,\n proof: action.payload.proof,\n mintedCount: action.payload.mintedCount,\n cost: action.payload.cost,\n whitelisted: action.payload.whitelisted,\n publicSale: action.payload.publicSale,\n error: false,\n errorMsg: \"\",\n };\n case \"CHECK_DATA_FAILED\":\n return {\n ...initialState,\n loading: false,\n error: true,\n errorMsg: action.payload,\n };\n default:\n return state;\n }\n};\n\nexport default dataReducer;\n","import { applyMiddleware, compose, createStore, combineReducers } from \"redux\";\nimport thunk from \"redux-thunk\";\nimport blockchainReducer from \"./blockchain/blockchainReducer\";\nimport dataReducer from \"./data/dataReducer\";\n\nconst rootReducer = combineReducers({\n blockchain: blockchainReducer,\n data: dataReducer,\n});\n\nconst middleware = [thunk];\nconst composeEnhancers = compose(applyMiddleware(...middleware));\n\nconst configureStore = () => {\n return createStore(rootReducer, composeEnhancers);\n};\n\nconst store = configureStore();\n\nexport default store;\n","// log\nimport { getProof } from \"../../merkle/merkleTree\";\nimport store from \"../store\";\n\nconst fetchDataRequest = () => {\n return {\n type: \"CHECK_DATA_REQUEST\",\n };\n};\n\nconst fetchDataSuccess = (payload) => {\n return {\n type: \"CHECK_DATA_SUCCESS\",\n payload: payload,\n };\n};\n\nconst fetchDataFailed = (payload) => {\n return {\n type: \"CHECK_DATA_FAILED\",\n payload: payload,\n };\n};\n\nconst PRESALE_PRICE = 0.0;\nconst PUBLIC_PRICE = 0.0;\n\nexport const fetchData = (account) => {\n return async (dispatch) => {\n dispatch(fetchDataRequest());\n try {\n let totalSupply = await store\n .getState()\n .blockchain.smartContract.methods.totalSupply()\n .call();\n // let cost = await store\n // .getState()\n // .blockchain.smartContract.methods.cost()\n // .call();\n\n let publicSale = await store\n .getState()\n .blockchain.smartContract.methods.isPublicSaleOn()\n .call();\n\n let proof = getProof(account);\n\n let mintedCount = await store\n .getState()\n .blockchain.smartContract.methods.numberMinted(account)\n .call();\n\n dispatch(\n fetchDataSuccess({\n totalSupply,\n proof,\n mintedCount,\n publicSale,\n whitelisted: publicSale ? true : proof.length > 0,\n cost: publicSale ? PUBLIC_PRICE : PRESALE_PRICE,\n })\n );\n } catch (err) {\n console.log(err);\n dispatch(fetchDataFailed(\"Could not load data from contract.\"));\n }\n };\n};\n","// constants\nimport Web3EthContract from \"web3-eth-contract\";\nimport Web3 from \"web3\";\n// log\nimport { fetchData } from \"../data/dataActions\";\nimport abiJSON from \"../../config/abi.json\";\nimport configJSON from \"../../config/config.json\";\n\nconst connectRequest = () => {\n return {\n type: \"CONNECTION_REQUEST\",\n };\n};\n\nconst connectSuccess = (payload) => {\n return {\n type: \"CONNECTION_SUCCESS\",\n payload: payload,\n };\n};\n\nconst connectFailed = (payload) => {\n return {\n type: \"CONNECTION_FAILED\",\n payload: payload,\n };\n};\n\nconst updateAccountRequest = (payload) => {\n return {\n type: \"UPDATE_ACCOUNT\",\n payload: payload,\n };\n};\n\nexport const connect = () => {\n return async (dispatch) => {\n dispatch(connectRequest());\n\n const abiResponse = JSON.parse(JSON.stringify(abiJSON));\n const abi = abiResponse;\n \n const configResponse = JSON.parse(JSON.stringify(configJSON));\n const CONFIG = configResponse;\n const { ethereum } = window;\n const metamaskIsInstalled = ethereum && ethereum.isMetaMask;\n if (metamaskIsInstalled) {\n Web3EthContract.setProvider(ethereum);\n let web3 = new Web3(ethereum);\n try {\n const accounts = await ethereum.request({\n method: \"eth_requestAccounts\",\n });\n const networkId = await ethereum.request({\n method: \"net_version\",\n });\n if (networkId == CONFIG.NETWORK.ID) {\n const SmartContractObj = new Web3EthContract(\n abi,\n CONFIG.CONTRACT_ADDRESS\n );\n dispatch(\n connectSuccess({\n account: accounts[0],\n smartContract: SmartContractObj,\n web3: web3,\n })\n );\n // Add listeners start\n ethereum.on(\"accountsChanged\", (accounts) => {\n dispatch(updateAccount(accounts[0]));\n });\n ethereum.on(\"chainChanged\", () => {\n window.location.reload();\n });\n // Add listeners end\n } else {\n dispatch(connectFailed(`Change network to ${CONFIG.NETWORK.NAME}.`));\n }\n } catch (err) {\n dispatch(connectFailed(\"Something went wrong.\"));\n }\n } else {\n dispatch(connectFailed(\"Install Metamask.\"));\n }\n };\n};\n\nexport const updateAccount = (account) => {\n return async (dispatch) => {\n dispatch(updateAccountRequest({ account: account }));\n dispatch(fetchData(account));\n };\n};\n","\nimport { ReactComponent as LeftStoryLine } from \"../assets/left.svg\";\nimport \"../Check_Page/Check_Page.css\";\nimport \"../header/Header_2.css\";\nimport { Link } from \"react-router-dom\";\nimport React, { useEffect, useState} from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { connect } from \"../redux/blockchain/blockchainActions\";\nimport { fetchData } from \"../redux/data/dataActions\";\nimport Web3 from \"web3\";\nimport \"../Mint_Page/Mint_Page.css\"\nimport { getProof } from \"../merkle/merkleTree\";\nimport abiData from \"./abi.json\";\n//import { id } from \"ethers/lib/utils\";\n\nlet ad_short;\nlet isConnected = false;\nlet isConnectedAndWhitelisted = false;\nlet isAmountAvailable = false;\nlet isRecentlyCompleted = false;\nlet availablemint = 5;\nlet interv2_Bar;\nlet contractAD = '0xCfaF504d9a594143eaB5Ae07CBE2a2DECb909142';\nfunction Mint_Page() {\n\n document.getElementById(\"root\").style.display = ''; \n document.getElementById(\"preload\").style.display = 'none'; \n \n const dispatch = useDispatch();\n const blockchain = useSelector((state) => state.blockchain);\n const data = useSelector((state) => state.data);\n const [claimingNft, setClaimingNft] = useState(false);\n const [feedback, setFeedback] = useState(`Click buy to mint your NFT.`);\n const [mintAmount, setMintAmount] = useState(1);\n const [CONFIG, SET_CONFIG] = useState({\n CONTRACT_ADDRESS: \"\",\n SCAN_LINK: \"\",\n NETWORK: {\n NAME: \"\",\n SYMBOL: \"\",\n ID: 0,\n },\n NFT_NAME: \"\",\n SYMBOL: \"\",\n MAX_SUPPLY: 1,\n WEI_COST: 0,\n DISPLAY_COST: 0,\n GAS_LIMIT: 0,\n MARKETPLACE: \"\",\n MARKETPLACE_LINK: \"\",\n SHOW_BACKGROUND: false,\n });\n\n const claimNFTs = () => {\n console.log(data.proof);\n clearInterval(interv2_Bar);\n let cost = data.cost;\n let gasLimit = CONFIG.GAS_LIMIT;\n let totalCostWei = Web3.utils.toWei((cost * mintAmount).toString());\n let totalGasLimit = String(gasLimit * mintAmount);\n console.log(\"Cost: \", totalCostWei);\n console.log(\"Gas limit: \", totalGasLimit);\n setFeedback(`Minting your ${CONFIG.NFT_NAME}...`);\n setClaimingNft(true);\n document.getElementById('mintpage_mint_waiting').style.display = 'none';\n document.getElementById(\"mintpage_processing\").style.display = \"block\";\n document.getElementById(\"mintpage_mintbtn\").style.display = 'none';\n document.getElementById(\"mintpage_mintbtn_disabled\").style.display = 'flex';\n document.getElementById('mintpage_upbtn').style.pointerEvents = 'none';\n document.getElementById('mintpage_downbtn').style.pointerEvents = 'none';\n blockchain.smartContract.methods\n [data.publicSale ? 'publicSaleMint' : 'whitelistMint'](mintAmount, ...(data.publicSale ? [] : [data.proof]))\n .send({\n gasLimit: String(totalGasLimit),\n to: CONFIG.CONTRACT_ADDRESS,\n from: blockchain.account,\n value: totalCostWei,\n })\n .once(\"error\", (err) => {\n console.log(err);\n setMintFail();\n //setMintComplete();\n\n //interv2_Bar = setInterval(readAllMinted , 10000);\n setFeedback(\"Sorry, something went wrong please try again later.\");\n setClaimingNft(false);\n })\n .then((receipt) => {\n console.log(receipt);\n //interv2_Bar = setInterval(readAllMinted , 10000);\n //setMintFail();\n setMintComplete();\n\n setFeedback(\n `WOW, the ${CONFIG.NFT_NAME} is yours! go visit Opensea.io to view it.`\n );\n setClaimingNft(false);\n dispatch(fetchData(blockchain.account));\n });\n };\n\n const getMaxNFTs = () => {\n //clearInterval(interv2_Bar);\n blockchain.smartContract.methods.numberMinted(blockchain.account).call()\n .then((numberMinted) => {\n //interv2_Bar = setInterval(readAllMinted , 10000);\n availablemint = 5 - numberMinted;\n \n if(availablemint > 0){\n document.getElementById('mintpage_mint_waiting').style.display = 'flex';\n document.getElementById('mintpage_text_whitelisted').style.display = 'none';\n document.getElementById('mintpage_ready').style.fontSize = document.getElementById('mintpage_sub1').offsetWidth/12 + 'px';\n document.getElementById('mintpage_ready').innerHTML = availablemint;\n isAmountAvailable = true;\n setMintAmount(availablemint);\n } else {\n if(availablemint < 0) {\n availablemint = 0;\n }\n document.getElementById('mintpage_full').style.display = 'flex';\n document.getElementById(\"mintpage_mintbtn_disabled\").style.display = 'flex';\n document.getElementById('mintpage_mint_waiting').style.display = 'none';\n document.getElementById('mintpage_text_whitelisted').style.display = 'none';\n document.getElementById(\"mintpage_mintbtn\").style.display = 'none';\n document.getElementById('mintpage_upbtn').style.pointerEvents = 'none';\n document.getElementById('mintpage_downbtn').style.pointerEvents = 'none';\n document.getElementById('mintpage_ready').style.fontSize = document.getElementById('mintpage_sub1').offsetWidth/12 + 'px';\n document.getElementById('mintpage_ready').innerHTML = availablemint;\n isAmountAvailable = false;\n setMintAmount(0);\n }\n });\n };\n\n const getMaxNFTs_public = () => {\n //clearInterval(interv2_Bar);\n availablemint = 5;\n document.getElementById('mintpage_mint_waiting').style.display = 'flex';\n document.getElementById('mintpage_text_whitelisted').style.display = 'none';\n document.getElementById('mintpage_ready').style.fontSize = document.getElementById('mintpage_sub1').offsetWidth/12 + 'px';\n document.getElementById('mintpage_ready').innerHTML = 1;\n isAmountAvailable = true;\n setMintAmount(1);\n };\n\n const decrementMintAmount = () => {\n if(isConnectedAndWhitelisted){\n if(isAmountAvailable){\n let newMintAmount = mintAmount - 1;\n if (newMintAmount < 1) {\n newMintAmount = 1;\n }\n document.getElementById('mintpage_ready').innerHTML = newMintAmount;\n setMintAmount(newMintAmount);\n }else{\n mintBTNCliked();\n }\n }\n };\n\n const incrementMintAmount = () => {\n if(isConnectedAndWhitelisted){\n if(isAmountAvailable){\n let newMintAmount = mintAmount + 1;\n if (newMintAmount > availablemint) {\n newMintAmount = availablemint;\n }\n document.getElementById('mintpage_ready').innerHTML = newMintAmount;\n setMintAmount(newMintAmount);\n }else{\n mintBTNCliked();\n }\n }\n };\n\n const getData = () => {\n if(CONFIG.CONTRACT_ADDRESS){\n readAllMinted();\n }\n resetUI();\n \n if (blockchain.account) {\n dispatch(fetchData(blockchain.account));\n let proof = getProof(blockchain.account);\n //if (proof.length > 0) { //for whitelist\n if (true) { //for public\n ad_short = \"0\" + blockchain.account.substring(1,8) + \"...\" + blockchain.account.substring(blockchain.account.length - 4) + \" \";\n document.getElementById('mintpage_address').style.display = 'flex';\n document.getElementById('mintpage_connectwallet_btn').style.display = 'none';\n document.getElementById('mintpage_detail_text').style.display = 'none';\n document.getElementById('mintpage_detail_header').style.display = 'none';\n document.getElementById('mintpage_checking_whitelist').style.display = 'flex';\n isConnectedAndWhitelisted = true;\n showWLSuccess();\n connectedWallet();\n } else {\n showWLFail();\n }\n isConnected = true;\n } \n };\n\n function connectedWallet() {\n ad_short = \"0\" + blockchain.account.substring(1,8) + \"...\" + blockchain.account.substring(blockchain.account.length - 4) + \" \";\n document.getElementById('mintpage_address').style.display = 'flex';\n document.getElementById('mintpage_connectwallet_btn').style.display = 'none';\n document.getElementById('mintpage_detail_text').style.display = 'none';\n document.getElementById('mintpage_detail_header').style.display = 'none';\n document.getElementById('mintpage_checking_whitelist').style.display = 'flex';\n isConnectedAndWhitelisted = true;\n showWLSuccess();\n isConnected = true;\n }\n\n const mintBTNCliked = () => {\n if(isConnectedAndWhitelisted && !isAmountAvailable && !isRecentlyCompleted) {\n getMaxNFTs_public();\n }else if(isConnectedAndWhitelisted && isAmountAvailable && !isRecentlyCompleted) {\n claimNFTs();\n }else if(isConnectedAndWhitelisted && isAmountAvailable && isRecentlyCompleted) {\n isRecentlyCompleted = false;\n resetAll();\n }\n }\n\n const getConfig = async () => {\n const configResponse = await fetch(\"/config/config.json\", {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n });\n const config = await configResponse.json();\n SET_CONFIG(config);\n };\n\n useEffect(() => {\n //interv2_Bar = setInterval(readAllMinted , 10000);\n document.getElementById('mintpage_time').style.display = 'none';\n getConfig();\n MintPage_ChangeFontSize();\n window.addEventListener('resize', MintPage_ChangeFontSize);\n return () => {\n window.removeEventListener('resize', MintPage_ChangeFontSize);\n //clearInterval(interv2_Bar);\n }\n }, []);\n\n useEffect(() => {\n getData();\n }, [blockchain.account]);\n\n useEffect(() => {\n console.log(data);\n if(data){ \n if (data.whitelisted) {\n setFeedback('You have been whitelisted');\n } else {\n setFeedback(\"You aren't whitelisted\"); \n }\n }\n }, [data]);\n\n useEffect(() => {\n if(CONFIG.CONTRACT_ADDRESS) readAllMinted();\n },[CONFIG]);\n\n function setMintComplete() {\n readAllMinted();\n document.getElementById('mintpage_mintbtn').style.display = 'flex';\n document.getElementById('mintpage_mintbtn_disabled').style.display = 'none';\n document.getElementById('mintpage_success').style.display = 'block';\n document.getElementById('mintpage_mint_waiting').style.display = 'none';\n document.getElementById(\"mintpage_processing\").style.display = \"none\";\n document.getElementById(\"mintpage_ready\").style.display = \"none\";\n document.getElementById(\"mintpage_opensea\").style.display = \"flex\";\n isRecentlyCompleted = true;\n }\n \n function setMintFail() {\n resetAll();\n document.getElementById('mintpage_fail').style.display = 'flex';\n document.getElementById('mintpage_detail_text').style.display = \"none\";\n document.getElementById('mintpage_detail_header').style.display = \"none\";\n document.getElementById('mintpage_connectwallet_btn').style.display = 'none';\n document.getElementById('mintpage_mintbtn').style.display = 'none';\n document.getElementById('mintpage_mint_waiting').style.display = 'none';\n setTimeout(()=>{\n resetAll();\n },3000);\n }\n \n function showWLSuccess() {\n document.getElementById('mintpage_checking_whitelist').style.display = 'none';\n document.getElementById(\"mintpage_mintbtn\").style.display = 'flex';\n document.getElementById(\"mintpage_mintbtn_disabled\").style.display = 'none';\n document.getElementById('mintpage_text_whitelisted').style.display = 'flex';\n document.getElementById('mintpage_text_unwhitelisted').style.display = 'none';\n document.getElementById('mintpage_ready').style.display = 'flex';\n document.getElementById('mintpage_upbtn').style.pointerEvents = 'auto';\n document.getElementById('mintpage_downbtn').style.pointerEvents = 'auto';\n }\n\n function showWLFail() {\n document.getElementById('mintpage_detail_text').style.display = 'none';\n document.getElementById('mintpage_detail_header').style.display = 'none';\n document.getElementById('mintpage_checking_whitelist').style.display = 'none';\n document.getElementById(\"mintpage_mintbtn\").style.display = 'none';\n document.getElementById(\"mintpage_mintbtn_disabled\").style.display = 'flex';\n document.getElementById('mintpage_text_whitelisted').style.display = 'none';\n document.getElementById('mintpage_text_unwhitelisted').style.display = 'flex';\n document.getElementById('mintpage_ready').style.display = 'none';\n document.getElementById('mintpage_upbtn').style.pointerEvents = 'none';\n document.getElementById('mintpage_downbtn').style.pointerEvents = 'none';\n }\n \n function readAllMinted() {\n const web3 = new Web3(Web3.givenProvider || 'https://localhost:7545');\n var abi = JSON.parse(JSON.stringify(abiData));\n const contract = new web3.eth.Contract(abi , contractAD); \n contract.methods.totalSupply().call().then((totalMinted)=>{\n var tt = parseInt(totalMinted);\n document.getElementById('minted_amount').innerHTML = tt + '/5500';\n //var percentH = parseInt(100 - (100*(tt)/10000));\n //document.getElementById('mintpage_greenbar_img').style.clipPath = 'inset('+ percentH + '% 0% 0% 0%)'; \n });\n }\n\n function resetUI(){\n if(document.getElementById('mintpage_detail_text')) {\n document.getElementById('mintpage_detail_text').style.display = 'flex';\n document.getElementById('mintpage_detail_header').style.display = 'flex';\n document.getElementById('mintpage_mintbtn').style.display = 'none';\n document.getElementById('mintpage_mintbtn_disabled').style.display = 'flex';\n document.getElementById('mintpage_connectwallet_btn').style.display = 'flex';\n isConnected = false;\n isConnectedAndWhitelisted = false;\n isAmountAvailable = false;\n availablemint = 2;\n \n document.getElementById('mintpage_text_whitelisted').style.display = 'none';\n document.getElementById('mintpage_address').style.display = 'none';\n document.getElementById('mintpage_upbtn').style.pointerEvents = 'none';\n document.getElementById('mintpage_downbtn').style.pointerEvents = 'none';\n document.getElementById('mintpage_text_whitelisted').style.display = 'none';\n document.getElementById('mintpage_text_unwhitelisted').style.display = 'none';\n document.getElementById('mintpage_full').style.display = 'none';\n document.getElementById('mintpage_mint_waiting').style.display = 'none';\n document.getElementById('mintpage_time').style.display = 'none';\n document.getElementById(\"mintpage_opensea\").style.display = \"none\";\n document.getElementById('mintpage_ready').style.display = 'none';\n document.getElementById('mintpage_ready').innerHTML = 'READY!';\n let msw = document.getElementById('mintpage_sub1').offsetWidth;\n document.getElementById('mintpage_ready').style.fontSize = msw/30 + 'px';\n document.getElementById('mintpage_processing').style.display = 'none';\n document.getElementById('mintpage_success').style.display = 'none';\n document.getElementById('mintpage_fail').style.display = 'none';\n }\n }\n function resetAll() {\n //readAllMinted();\n resetUI();\n }\n return (\n
\n
\n   \n BACK HOME\n
\n
\n
\n {/*
\n \"\"\n
*/}\n
\n
\n วิธี mint NFT\n
\n
\n READY!\n
\n \n
\n Whitelist Checking ...\n
\n
\n


\n 1. กดปุ่ม Connect Wallet ด้านล่างเพื่อเชื่อมกระเป๋า MetaMask.
\n 2. ท่านจะสามารถ mint ได้ไม่เกิน 5 ชิ้นต่อครั้ง
\n 3. รอจนกระทั่ง transaction เสร็จสมบูณณ์
\n 4. เมื่อเสร็จแล้ว สามารถไปที่ OpenSea เพื่อดู NFT ของท่าน
\n
\n
\n
\n {/* ยินดีด้วย! ท่านมีรายชื่อ
ใน Moon List


\n ท่านสามารถ mint ได้รวมไม่เกิน 5 ชิ้น
\n ราคา 0.10 ETH ต่อชิ้น
\n กรุณาเตรียม ETH ในกระเป๋าของท่านให้เพียงพอ \n
*/}\n Welcome to!
HOT SAUCE CLUB


\n ท่านสามารถ mint NFT ได้ครั้งละไม่เกิน 5 ชิ้น
\n กรุณาเตรียมค่า GAS ให้เพียงพอ \n \n
\n
\n
\n


\n {/* */}\n คุณกำลังเลือก mint จำนวน {mintAmount} ชิ้น\n {/*
ราคารวม {(mintAmount*0.15).toFixed(2)} ETH + GAS */}\n
\n
\n
\n
\n
\n SORRY!
\n
เลขกระเป๋านี้ไม่อยู่ในรายชื่อ WHITE LIST
\n กรุณากลับมาอีกครั้งในวัน
\n EARLY BIRD SALE (27 กรกฎาคม 2022)\n
\n
\n
\n
\n OOPS!

\n
\n ท่านมี HOT SAUCE CLUB NFT ในกระเป๋านี้ครบ 5 ชิ้นแล้ว
\n
\n
\n
\n
\n
\n   OOPS!

\n
\n     การ Mint ไม่สำเร็จ
\n     กรุณาลองใหม่\n
\n
\n
\n
{\n e.preventDefault();\n if (typeof window.ethereum !== 'undefined') {\n //connectMetaMask()\n dispatch(connect());\n getData();\n window.ethereum.on('accountsChanged', () => {dispatch(connect()); getData();});\n }else{\n window.location.href = 'https://metamask.app.link/dapp/www.sriracha.io/?connect=2';\n }\n }}>\n \n
\n
\n
 {ad_short == \"\" ? null : ad_short }
\n
\n
\n
\n
\n
\n
LIVE IN
72:30
hours
\n
1/5500
\n {/*
\n \n
*/}\n
\n
\n
\n \"\"\n กำลังดำเนินการ (กรุณารอ)
\n
\n
\n
\n
\n \"\"
\n Transaction Completed!\n
\n
\n
\n
\n
\n {/**/}\n
\n
\n );\n}\nexport default Mint_Page;\n\nfunction MintPage_ChangeFontSize() {\n let msw = document.getElementById('mintpage_sub1').offsetWidth;\n document.getElementById('mintpage_detail_text').style.fontSize = msw/50 + 'px';\n document.getElementById('mintpage_text_whitelisted').style.fontSize = msw/50 + 'px';\n document.getElementById('mintpage_detail_header').style.fontSize = msw/16 + 'px';\n document.getElementById('mintpage_address').style.fontSize = msw/42 + 'px';\n document.getElementById('mintpage_text_whitelisted').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_text_whitelisted_head').style.fontSize = msw/21 + 'px';\n document.getElementById('mintpage_text_unwhitelisted').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_text_unwhitelisted_head').style.fontSize = msw/16 + 'px';\n document.getElementById('mintpage_full').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_fail').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_full_header').style.fontSize = msw/16 + 'px';\n document.getElementById('mintpage_fail_header').style.fontSize = msw/16 + 'px';\n document.getElementById('mintpage_mint_waiting').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_time').style.fontSize = msw/36 + 'px';\n document.getElementById('mintpage_ready').style.fontSize = msw/14 + 'px';\n document.getElementById('minted_amount').style.fontSize = msw/40 + 'px';\n //document.getElementById('mint_wait_gif').style.width = msw/2.5+'px'\n document.getElementById('mintpage_processing').style.fontSize = msw/40+'px'\n document.getElementById('mintpage_opensea').style.fontSize = msw/60+'px'\n \n}","import MazkMainPage from \"./Main_Page/Mazk_MainPage\";\nimport Pfpmake from \"./Main_Page/Pfpmake\";\nimport CheckPage from \"./Check_Page/Check_Page.js\";\nimport { BrowserRouter as Router, Routes, Route, Navigate } from \"react-router-dom\";\nimport Mint_Public from \"./Mint_Page/Mint_Public\";\nimport Mint_Test from \"./Mint_Page/Mint_Test\";\n\nexport default function App() {\n return (\n
\n \n \n } />\n } />\n } />\n } />\n } />\n } />\n \n \n
\n );\n}","import React from \"react\";\nimport { StrictMode } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./index.css\";\nimport App from \"./App\";\nimport store from \"./redux/store\";\nimport { Provider } from \"react-redux\";\nimport \"./styles/reset.css\";\n\nconst rootElement = document.getElementById(\"root\");\n\nReactDOM.render(\n \n \n \n \n \n ,\n rootElement\n);\n\n","import { MerkleTree } from \"merkletreejs\";\nimport keccak256 from \"keccak256\";\nimport { ethers } from \"ethers\";\nimport dropList from \"./whitelist.json\";\n\nlet tree;\n\nfunction hashToken(wallet) {\n return Buffer.from(\n ethers.utils.solidityKeccak256([\"address\"], [wallet]).slice(2),\n \"hex\"\n );\n}\n\nfunction buildTree() {\n let merkleTree = new MerkleTree(\n dropList.map((drop) => hashToken(drop)),\n keccak256,\n { sortPairs: true }\n );\n return merkleTree;\n}\n\nexport function getProof(wallet) {\n return tree.getHexProof(hashToken(wallet));\n}\n\ntree = buildTree()\nconsole.log(tree.getHexRoot());\nconsole.log(tree.toString());\n// console.log(getProof('0x7c9c773E41a3b68924B3b4924df8FFFcF7Ae7e18'))"],"sourceRoot":""}