`,b.style.position="absolute",b.style.width="24px",b.style.height="24px",b.style.top="10px",b.style.right="10px",b.style.cursor="pointer",h.appendChild(b),b.addEventListener("click",()=>{c&&c.parentNode&&c.parentNode.removeChild(c)})}if(a.logo){const b=document.createElement("img");b.style.maxHeight="50px",b.style.maxWidth="600px",b.style.marginBottom=f?"6px":"15px",b.src=a.logo,h.appendChild(b)}const i=document.createElement("span");i.style.display="block",i.style.fontSize=f?"16px":"20px",i.style.fontWeight="bold",i.style.fontFamily=`\\"Roboto", Helvetica, sans-serif`,i.style.marginBottom=f?"6px":"15px",i.style.color=a.fgColor,i.innerText=a.callout,h.appendChild(i);const j=document.createElement("span");j.style.display="block",j.style.fontSize=f?"14px":"16px",j.style.fontWeight="400",j.style.fontFamily="\"Roboto\", Helvetica, sans-serif",j.style.marginBottom=f?"15px":"30px",j.style.color=a.fgColor,j.innerText=a.appeal,h.appendChild(j);const k=document.createElement("div");if(k.style.display="flex",k.style.justifyContent="center",k.style.alignItems="center",h.appendChild(k),a.sponsorUrl){const b=document.createElement("span");b.style.display="inline-block",b.style.cursor="pointer",b.style.borderRadius="2px",b.style.fontSize=f?"14px":"16px",b.style.fontWeight="500",b.style.fontFamily="\"Roboto\", Helvetica, sans-serif",b.style.padding=f?"5px 10px":"10px 18px",b.style.marginRight=f?"5px":"20px",b.style.backgroundColor=a.linkBgColor,b.style.color=a.linkFgColor,b.innerText=a.sponsorButton,b.addEventListener("click",b=>{b.preventDefault(),window.location=a.sponsorUrl}),k.appendChild(b)}const l=document.createElement("span");l.style.display="inline-block",l.style.cursor="pointer",l.style.borderRadius="2px",l.style.fontSize=f?"14px":"16px",l.style.fontWeight="500",l.style.fontFamily="\"Roboto\", Helvetica, sans-serif",l.style.padding=f?"5px 10px":"10px 18px",a.sponsorUrl&&(l.style.marginLeft=f?"5px":"20px"),l.style.backgroundColor=a.linkBgColor,l.style.color=a.linkFgColor,l.innerText="Need Help?",k.appendChild(l);const m=b=>{if(p.innerHTML="",b.gif){const a=document.createElement("img");a.src=`https://storage.googleapis.com/np-assets/${b.id}.gif`,a.style.width=f?"100px":"200px",a.style.float="right",a.style.border="1px solid rgba(134, 134, 134, 0.31)",a.style.borderRadius="4px",a.style.margin="0 0 10px 15px",p.appendChild(a)}const c=document.createElement("span");c.style.display="block",c.style.fontSize="16px",c.style.fontWeight="bold",c.style.fontFamily="\"Roboto\", Helvetica, sans-serif",c.style.marginBottom="15px",c.style.color=a.fgColor,c.innerText=b.name,p.appendChild(c),b.steps.forEach(b=>{const c=document.createElement("span");c.style.display="block",c.style.fontSize="14px",c.style.fontWeight="regular",c.style.fontFamily="\"Roboto\", Helvetica, sans-serif",c.style.marginBottom="3px",c.style.color=a.fgColor,c.innerText=`- ${b}`,p.appendChild(c)});const d=document.createElement("span");d.style.display="inline-block",d.style.cursor="pointer",d.style.borderRadius="2px",d.style.fontSize="14px",d.style.fontWeight="500",d.style.fontFamily="\"Roboto\", Helvetica, sans-serif",d.style.padding="6px 10px",d.style.marginTop="30px",d.style.marginRight="5px",d.style.backgroundColor=a.linkBgColor,d.style.color=a.linkFgColor,d.innerText="Refresh Page",d.addEventListener("click",a=>{a.preventDefault(),window.location.reload()}),p.appendChild(d);const e=document.createElement("span");e.style.display="inline-block",e.style.cursor="pointer",e.style.borderRadius="2px",e.style.fontSize="14px",e.style.fontWeight="500",e.style.fontFamily="\"Roboto\", Helvetica, sans-serif",e.style.padding="6px 10px",e.style.marginTop="6px",e.style.backgroundColor=a.linkBgColor,e.style.color=a.linkFgColor,e.innerText="Back to Main",e.addEventListener("click",a=>{a.preventDefault(),h.style.marginLeft="0",g.style.height="auto",n.style.height="0"}),p.appendChild(e)};l.addEventListener("click",b=>{b.preventDefault(),h.style.marginLeft=f?"-300px":"-720px",g.style.height=f?"80vh":"420px",n.style.height=f?"80vh":"420px",fetch(`https://storage.googleapis.com/np-assets/manifest.json?v=b2`).then(a=>a.json()).then(c=>{o.innerHTML="";const d=document.createElement("span");if(d.style.display="block",d.style.fontSize="15px",d.style.fontWeight="bold",d.style.fontFamily="\"Roboto\", Helvetica, sans-serif",d.style.marginBottom=f?"6px":"15px",d.style.color=a.linkFgColor,d.innerText="Which ad blocker do you use?",o.appendChild(d),f){const a=document.createElement("select");a.style.fontSize="14px",a.addEventListener("change",a=>{const d=a.target.options[a.target.selectedIndex].value,e=c.find(a=>a.id==d);m(e)}),o.appendChild(a),c.forEach(b=>{const c=document.createElement("option");c.value=b.id,c.textContent=b.name,a.appendChild(c)})}else c.forEach(b=>{const c=document.createElement("span");c.style.display="block",c.style.cursor="pointer",c.style.fontSize="14px",c.style.fontWeight="regular",c.style.fontFamily="\"Roboto\", Helvetica, sans-serif",c.style.padding="4px 0px",c.style.backgroundColor=a.linkBgColor,c.style.color=a.linkFgColor,c.style.opacity="0.8",c.style.borderBottom="1px solid rgba(218, 218, 218, 0.14)",c.innerText=b.name,o.appendChild(c),c.addEventListener("click",a=>{a.preventDefault(),m(b)})});0{b.detail.blocking?setTimeout(d,a.delay):c&&c.parentNode&&c.parentNode.removeChild(c)})})();GoContentBrowseArticlesPodcastsVideosContentBrowseArticlesPodcastsVideosCubeExplore cubesSearch cubesCubeExplore cubesSearch cubesCardsTop CardsSearch CardsPackagesFilter SyntaxCardsTop CardsSearch CardsPackagesFilter SyntaxAboutDev BlogContactDonateGithubAboutDev BlogContactDonateGithubRegisterLoginContentBrowseArticlesPodcastsVideosContentBrowseArticlesPodcastsVideosCubeExplore cubesSearch cubesCubeExplore cubesSearch cubesCardsTop CardsSearch CardsPackagesFilter SyntaxCardsTop CardsSearch CardsPackagesFilter SyntaxAboutDev BlogContactDonateGithubAboutDev BlogContactDonateGithubRegisterLoginTired of seeing advertisments? Become a supporter of Cube Cobra to remove all advertisments and gain access to exclusive features! Find out more.zerocardinality1 followerFollowReport UserCubesDecksBlogAboutArt by Dimitar MarinskiCurrent Cubes: Modern Cube (paper) MTGA Cube (basic cube for MTGA) MTGA "Ultimate" Cube (synergy-based cube for MTGA) Modern Cube360 Card Modern Cube4 followersDesigned by zerocardinalityMTGA Cube360 Card Historic Cube1 followersDesigned by zerocardinalityGraveyard Synergy Cube360 Card Cube2 followersDesigned by zerocardinalityMTGA Peasant Cube360 Card Peasant Historic Cube0 followersDesigned by zerocardinalityMTGA Ultimate Cube348 Card Historic Cube2 followersDesigned by zerocardinalityCube Cobra requires javascript to work. To use the site, please enable javascript in your browser.
Current Cubes:
Cube Cobra requires javascript to work. To use the site, please enable javascript in your browser.