Open adenarmour opened 1 year ago
yeah
Where do I put in the code?
I am very confused on where to put this code.
javascript: (async()=>{let e=document.createElement("iframe");document.body.append(e),window.confirm=e.contentWindow.confirm.bind(window),e.remove(),Object.values(webpackJsonp.push([[],{""(e,t,a){t.cache=a.c}},[[""]]]).cache).find(e=>e.exports?.a?.get).exports.a.get("https://"+(location.host.startsWith("dashboard")?location.host+"/api/games":"play.blooket.com/api/gamequestionsets")+"?gameId=6368436a976422d8a3f70cd7").then(e=>parseInt(`0${e.data.questions.find(e=>"../cheats/gui.js"==e.question)?.answers?.[0]}`)).then(async e=>{if(1678747508485>e||confirm("This cheat is outdated and might be bugged, would you still like to run it? You can find regularly updated cheats here https://github.com/Minesraft2/Blooket-Cheats")){function t(e,t={},...a){let o=document.createElement(e);if("object"==typeof t.style){let i="";for(let s in t.style)i+=${s.replace(/[A-Z]/g,e=>
-${e.toLowerCase()})}: ${t.style[s]};
;t.style=i}for(let r in t)o[r]=t[r];for(let n of a)o.append(n);return o}let a;try{a=JSON.parse(localStorage.getItem("JODGUISettings")||"{}")}catch{localStorage.setItem("JODGUISettings","{}"),a={}}let o,i,s,r,n,l,c,d,p,u,m=t("div",{id:"JODGUI",style:{top:${Math.max(10,window.innerHeight-600)/2}px
,left:${Math.max(10,window.innerWidth-1e3)/2}px
,transform:scale(${a.scale})
,position:"fixed",height:"80%",width:"80%",maxHeight:"600px",maxWidth:"1000px",zIndex:"999",display:"block"}},o=t("style",{id:"variables",innerHTML:`:root {--backgroundColor: ${a.backgroundColor||"rgb(11, 194, 207)"};--infoColor: ${a.infoColor||"#9a49aa"};--cheatList: ${a.cheatList||"#9a49aa"};--defaultButton: ${a.defaultButton||"#9a49aa"};--disabledButton: ${a.disabledButton||"#A02626"};--enabledButton: ${a.enabledButton||"#47A547"};--textColor: ${a.textColor||"white"};--inputColor: ${a.inputColor||"#7a039d"};--contentBackground: ${a.contentBackground||"rgb(64, 17, 95)"};}%60}),t("style",{innerHTML:'.alertList::-webkit-scrollbar{display:none;}.alertList{-ms-overflow-style: none;scrollbar-width: none;}.contentWrapper::-webkit-scrollbar{display:none;}.contentWrapper{-ms-overflow-style: none;scrollbar-width: none;}.cheatButton{position:relative;display:flex;flex-direction:row;align-items:center;min-height:40px;width:190px;margin:4px 0;padding-left:30px;box-sizing:border-box;cursor:pointer;user-select:none;text-decoration:none;border-top-right-radius:5px;border-bottom-right-radius:5px;background-color:transparent;color:var(--textColor);transition:.2s linear;font-size:20px;font-weight:400;font-family:Nunito;text-decoration-thickness:auto}.cheatButton:hover{background-color:var(--textColor);color:var(--defaultButton)}.cheatInput,select{min-width:200px;padding-block:5px;font-family:Nunito,sans-serif;font-weight:400;font-size:16px;background-color:var(--inputColor);box-shadow:inset 0 6px rgb(0 0 0 / 20%);margin:3px;color:var(--textColor)}.bigButton:hover{filter:brightness(110%);transform:translateY(-2px)}.bigButton:active{transform:translateY(2px)}.cheatList::-webkit-scrollbar{width:10px}.cheatList::-webkit-scrollbar-track{background:var(--cheatList)}.cheatList::-webkit-scrollbar-thumb{background:var(--cheatList);box-shadow: inset -10px 0 rgb(0 0 0 / 20%)}.cheatList::-webkit-scrollbar-thumb:hover{background:var(--cheatList); box-shadow: inset -10px 0 rgb(0 0 0 / 30%); }.scriptButton:hover{filter:brightness(120%)}.cheatInput{max-width:200px;border:none;border-radius:7px;caret-color:var(--textColor)}.cheatInput::placeholder{color:var(--textColor)}.cheatInput:focus,select:focus{outline:0}.cheatInput::-webkit-inner-spin-button,.cheatInput::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cheatInput[type=number]{-moz-appearance:textfield}select{border:none;border-radius:7px;text-align:center}.scriptButton{align-items: center; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; margin: 10px; padding: 5px 5px 11px; position: relative; width: 250px; font-family: Nunito, sans-serif; font-weight: 400; color: var(--textColor); box-shadow: inset 0 -6px rgb(0 0 0 / 20%); border-radius: 7px; cursor: pointer; transition: filter .25s;}.tooltip::after {content: "";position: absolute;width: 10px;height: 10px;background-color: inherit;top: -5px;left: 50%;margin-left: -6px;transform: rotate(135deg)}'}),i=t("div",{style:{width:"100%",height:"100%",position:"relative",outline:"3px solid #3a3a3a",borderRadius:"15px",overflow:"hidden"}},t("div",{id:"background",style:{display:"block",top:"0",left:"0",height:"100%",overflowY:"hidden",overflowX:"hidden",position:"absolute",width:"100%",background:"var(--backgroundColor)",visibility:"visible"}},t("div",{id:"backgroundImage",style:{backgroundImage:"url(https://ac.blooket.com/dashboard/65a43218fd1cabe52bdf1cda34613e9e.png)",display:"block",height:"200%",position:"absolute",width:"200%",top:"50%",left:"50%",backgroundPositionX:"-100px",backgroundPositionY:"-100px",backgroundSize:"550px",visibility:"visible",transform:"translate(-50%,-50%) rotate(15deg)",appearance:"none",opacity:"0.175"}})),r=t("div",{id:"controls",style:{display:"flex",alignItems:"center",justifyContent:"center",paddingBottom:"8px",position:"absolute",left:"220px",top:"0",visibility:"visible",zIndex:"5",height:"52px",width:"335px",background:"var(--infoColor)",boxShadow:"inset 0 -8px rgb(0 0 0 / 20%), 0 0 4px rgb(0 0 0 / 15%)",borderBottomRightRadius:"10px",color:"var(--textColor)",fontFamily:"Nunito, sans-serif",fontWeight:"700",userSelect:"text"},innerHTML:"Ctrl + E to hide | Ctrl + X for quick disable
Click and drag here"}),t("div",{id:"credits",style:{display:"flex",alignItems:"center",justifyContent:"center",paddingBottom:"8px",position:"absolute",right:"0",top:"0",visibility:"visible",zIndex:"5",height:"47px",width:"280px",background:"var(--infoColor)",boxShadow:"inset 0 -8px rgb(0 0 0 / 20%), 0 0 4px rgb(0 0 0 / 15%)",borderBottomLeftRadius:"10px",color:"var(--textColor)",fontFamily:"Nunito, sans-serif",fontWeight:"700",userSelect:"text"},innerHTML:"Created by OneMinesraft2#5372, Sponsered by SchoolHacker"}),n=t("div",{id:"controlButtons",style:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",right:"0",bottom:"0",visibility:"visible",zIndex:"5",height:"55px",width:"165px",background:"#none",borderLeft:"3px solid black",borderTop:"3px solid black",borderTopLeftRadius:"10px",color:"white",fontFamily:"Nunito, sans-serif",fontWeight:"700",userSelect:"text",overflow:"hidden",pointerEvents:"all"}},l=t("button",{style:{height:"55px",width:"55px",fontFamily:"Nunito",color:"white",backgroundColor:"#00a0ff",border:"none",fontSize:"2rem",cursor:"move"},innerHTML:"✥"}),t("button",{style:{height:"55px",width:"55px",fontFamily:"Nunito",color:"white",backgroundColor:"grey",border:"none",fontSize:"2rem",fontWeight:"bolder",cursor:"pointer"},innerHTML:"-",onclick:function(){let e=!1;return()=>{for(let t of[...i.children])t!=n&&(e?t.style.display=t.style._display:(t.style._display=t.style.display,t.style.display="none"));i.style.height=e?"100%":"55px",i.style.width=e?"100%":"165px",m.style.top=%60${parseInt(m.style.top)+(m.offsetHeight-55)(e?-1:1)}px%60,m.style.left=%60${parseInt(m.style.left)+(m.offsetWidth-165)(e?-1:1)}px%60,m.style.pointerEvents=e?"unset":"none",e=!e}}()}),t("button",{style:{height:"55px",width:"55px",fontFamily:"Nunito",color:"white",backgroundColor:"red",border:"none",fontSize:"2rem",fontWeight:"bolder",cursor:"pointer"},innerHTML:"X",onclick:f})),s=t("div",{className:"cheatList",style:{overflowY:"scroll",background:"var(--cheatList)",boxShadow:"inset -10px 0 rgb(0 0 0 / 20%)",zIndex:"5",width:"220px",position:"absolute",top:"0",left:"0",height:"100%",fontFamily:"Titan One",color:"var(--textColor)",fontSize:"40px",textAlign:"center",paddingTop:"20px",userSelect:"none",padding:"20px 10px 20px 0",boxSizing:"border-box",display:"flex",flexDirection:"column"},innerHTML:'Cheats'},t("a",{className:"bigButton",style:{cursor:"pointer",display:"block",fontFamily:"Titan One",margin:"20px auto 10px",position:"relative",transition:".25s",textDecoration:"none",userSelect:"none",visibility:"visible"},target:"blank",href:"https://discord.gg/MMUz2KneAy",innerHTML:%60 %60:a||"")+e,onclick:()=>g(r.innerText,o,i)});return s.appendChild(r),r.onclick}async function g(e,a,o){p.innerHTML="",u.firstChild.innerText=%60${e}${o?"":" Cheats"}%60,p.append(u);for(let i=0;i<a.length;i++){let{name:s,description:r,type:n,inputs:l,enabled:c,run:d,element:m}=a[i];if(!m){let h=t("div",{className:"scriptButton",style:{background:"toggle"==n?c?"var(--enabledButton)":"var(--disabledButton)":"var(--defaultButton)"}},t("div",{className:"cheatName",innerHTML:s}));if(h.dataset.description=r,l?.length)for(let $=0;$<l.length;$++){let{name:g,type:,options:y,min:v,max:f,value:b}=l[$],w;try{w=await ("function"==typeof y?y?.():y)}catch{w=[]}if("options"==&&w?.length){let k=document.createElement("select");w.forEach(e=>{let t=document.createElement("option");t.value=JSON.stringify(e?.value||e),t.innerHTML=e?.name||e,k.appendChild(t)}),h.appendChild(k)}else{let x=document.createElement("input");x.classList.add("cheatInput"),"number"==&&(x.type="number",x.min=v,x.max=f,x.value=b||(null!=v?v:0),window.wafaw=l[$]),x.placeholder=g,x.style.textAlign="center",h.appendChild(x)}}h.onclick=(function({target:e}){(e==h||e.classList.contains("cheatName"))&&(d.apply(this,[...h.children].slice(1).map(e=>"number"==e.type?parseInt("0"+e.value):"SELECT"==e.nodeName?JSON.parse(e.value):e.value)),"toggle"==n&&(h.style.background=this.enabled?"var(--enabledButton)":"var(--disabledButton)"))}).bind(a[i]),a[i].element=h}p.appendChild(a[i].element)}}document.body.appendChild(m);let _={global:[{name:"Auto Answer (Toggle)",description:"Toggles auto answer on",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(()=>{let{stateNode:{state:{question:e,stage:t,feedback:a},props:{client:{question:o}}}}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner,i=e||o;try{"typing"!=i.qType?"feedback"===t||a?document.querySelector('[class="feedback"]')?.firstChild?.click?.():[...document.querySelectorAll('[class="answerContainer"]')][i.answers.map((e,t)=>i.correctAnswers.includes(e)?t:null).filter(e=>null!=e)[0]]?.click?.():Object.values(document.querySelector("[class='typingAnswerWrapper']"))[1].children._owner.stateNode.sendAnswer(i.answers[0])}catch{}},50))}},{name:"Highlight Answers (Toggle)",description:"Toggles highlight answers on",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(()=>{let{stateNode:{state:e,props:t}}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;[...document.querySelectorAll('[class="answerContainer"]')].forEach((a,o)=>{(e.question||t.client.question).correctAnswers.includes((e.question||t.client.question).answers[o])?a.style.backgroundColor="rgb(0, 207, 119)":a.style.backgroundColor="rgb(189, 15, 38)"})},50))}},{name:"Auto Sell Dupes On Open",description:"Sells the blook you unlock when you open a pack if you already have one (Doesn't sell Legendaries or rarer)",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,XMLHttpRequest.prototype.open=this.data):(this.enabled=!0,this.data=XMLHttpRequest.prototype.open,XMLHttpRequest.prototype._original_open||=XMLHttpRequest.prototype.open,XMLHttpRequest.prototype.open=function(){this.addEventListener("load",async function(){try{if("https://dashboard.blooket.com/api/users/unlockblook"!==this.responseURL)return;var e=Object.values(webpackJsonp.push([[],{""(e,t,a){t.cache=a.c}},[[""]],]).cache).find(e=>e.exports?.a?.get).exports.a,{rarity:t}=webpackJsonp.push([[],{rarity(e,t,a){t.rarity=e=>a("MDrD").a[e].rarity}},[["rarity"]]]);let{unlockedBlook:a}=JSON.parse(this.response),{data:{name:o,unlocks:i}}=await e.get("https://dashboard.blooket.com/api/users");if(!i[a]||["Legendary","Chroma","Mystical"].includes(t(a)))return;await e.put("https://dashboard.blooket.com/api/users/sellblook",{name:o,blook:a,numSold:1}),console.log(%60Sold duplicate ${a}%60)}catch{}}),XMLHttpRequest.prototype._original_open.apply(this,arguments)})}},{name:"Auto Answer",description:"Click the correct answer for you",run:function(){let{stateNode:{state:{question:e,stage:t,feedback:a},props:{client:{question:o}}}}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;try{"typing"!=e.qType?"feedback"===t||a?document.querySelector('[class="feedback"]')?.firstChild?.click?.():[...document.querySelectorAll('[class="answerContainer"]')][(e||o).answers.map((t,a)=>(e||o).correctAnswers.includes(t)?a:null).filter(e=>null!=e)[0]]?.click?.():Object.values(document.querySelector("[class='typingAnswerWrapper']"))[1].children._owner.stateNode.sendAnswer(e.answers[0])}catch{}}},{name:"Spam Buy Blooks",description:"Opens a box an amount of times",inputs:[{name:"Box",type:"options",options:()=>new Promise(e=>{e(Object.keys(Object.values(webpackJsonp.push([[],{1234(e,t,a){t.webpack=a}},[["1234"]]]).webpack.c).find(e=>e?.exports?.a?.Safari)?.exports.a||{}))})},{name:"Amount",type:"number"}],run:function(e,t){let a=document.createElement("iframe");document.body.append(a),window.alert=a.contentWindow.alert.bind(window),window.prompt=a.contentWindow.prompt.bind(window),window.confirm=a.contentWindow.confirm.bind(window),a.remove();var o=Object.values(webpackJsonp.push([[],{""(e,t,a){t.cache=a.c}},[[""]],]).cache),i=o.find(e=>e.exports?.a?.get).exports.a;e=e.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" "),i.get("https://dashboard.blooket.com/api/users").then(async({data:{name:a,tokens:s}})=>{let r=Math.min(Math.floor(s/(o.find(e=>e?.exports?.a?.Safari)?.exports?.a||{Medieval:15,Breakfast:15,Wonderland:15,Space:20,Bot:20,Aquatic:20,Safari:20,Dino:25,"Ice Monster":25})[e]),t);if(0==r){t>0&&alert("You do not have enough tokens!");return}let n=confirm("Would you like to alert blooks upon unlocking?"),l={},c=Date.now(),d=!1;for(let p=0;p<r&&(await i.put("https://dashboard.blooket.com/api/users/unlockblook",{name:a,box:e}).then(({data:{unlockedBlook:e,tokens:t,isNewBlook:a}})=>{l[e]||=0,l[e]++;let o=Date.now();n&&alert(%60${e} (${p+1}/${r}) ${a?"NEW! ":""}${t} tokens left%60),c+=Date.now()-o}).catch(e=>d=!0),!d);p++);alert(%60(${Date.now()-c}ms) Results:${Object.entries(l).map(([e,t])=>%60 ${e} ${t}%60).join(%60%60)}%60)}).catch(()=>alert("There was an error user data!"))}},{name:"Flood Game",description:"Floods a game with a number of fake accounts",inputs:[{name:"Game ID",type:"string"},{name:"Name",type:"string"},{name:"Amount",type:"number"},{name:"Blook",type:"options",async options(){let{webpack:e}=webpackJsonp.push([[],{1234(e,t,a){t.webpack=a}},[["1234"]]]);return Object.keys(Object.values(e.c).find(e=>e.exports.a?.Chick&&e.exports.a?.Elephant).exports.a)}},{name:"Banner",type:"options",options:Object.entries({Starter:"starter",Chalkboard:"chalkboard",Slime:"slime",Bookshelf:"bookshelf","Toaster Pastry":"toasterPastry",Theater:"theater",Sushi:"sushi",Workbench:"workbench",Spooky:"spooky",Spiders:"spiders",Coffin:"coffin",Pumpkins:"pumpkins","Falling Blocks":"fallingBlocks",Racetrack:"racetrack",Harvest:"harvest",Leaves:"leaves","Fall Picnic":"fallPicnic","Winter Drive":"winterDrive","Winter Train":"winterTrain",Ice:"ice",Gifts:"gifts","Christmas Tree":"christmasTree","Soccer Field":"soccerField","Winter Landscape":"winterLandscape","Football Field":"footballField","Outer Space":"outerSpace","Hockey Rink":"hockeyRink","Music Class":"musicClass","Ice Cream Sandwich":"iceCreamSandwich","Science Class":"scienceClass","Fish Tank":"fishTank","Art Class":"artClass",Clockwork:"clockwork","Love Letter":"loveLetter",Farm:"farm",Chocolate:"chocolate","Tech Chip":"techChip",Fire:"fire","Orange Ice Pop":"orangeIcePop"}).map(([e,t])=>({name:e,value:t}))}],run:async function(e,t,a,o,i){let{webpack:s}=webpackJsonp.push([[],{1234(e,t,a){t.webpack=a}},[["1234"]]]),r=Object.values(s.c).find(e=>e.exports?.a?.get).exports.a,n=Object.values(s.c).find(e=>e.exports?.a?.initializeApp).exports.a;for(let l=1;l<=a;l++)(async()=>{let{data:{success:a,fbToken:s,fbShardURL:c}}=await r.put("https://fb.blooket.com/c/firebase/join",{id:e,name:%60${t}${l}%60});if(!a)return;let d=n.initializeApp({apiKey:"AIzaSyCA-cTOnX19f6LFnDVVsHXya3k6ByP_MnU",authDomain:"blooket-2020.firebaseapp.com",projectId:"blooket-2020",storageBucket:"blooket-2020.appspot.com",messagingSenderId:"741533559105",appId:"1:741533559105:web:b8cbb10e6123f2913519c0",measurementId:"G-S3H5NGN10Z",databaseURL:c},%60${t}${l}%60),p=n.auth(d);await p.setPersistence(n.auth.Auth.Persistence.NONE).catch(console.error),await p.signInWithCustomToken(s).catch(console.error),await d.database().ref(%60${e}/c/${t}${l}%60).set({b:o,bg:i}),d.delete()})(),await new Promise(e=>setTimeout(e,100))}},{name:"Get Daily Rewards",description:"Gets max daily tokens and xp",run:function(){let e=document.createElement("iframe");if(document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove(),location.href.includes("play.blooket.com")){var t=Object.values(webpackJsonp.push([[],{""(e,t,a){t.cache=a.c}},[[""]],]).cache).find(e=>e.exports?.a?.get).exports.a;t.post("https://play.blooket.com/api/playersessions/solo",{gameMode:"Factory"}).then(({data:{t:e}})=>{t.get("https://play.blooket.com/api/users/me").then(({data:{name:a}})=>{t.put("https://play.blooket.com/api/users/add-rewards",{t:e,name:a,addedTokens:500,addedXp:300}).then(({data:{dailyReward:e}})=>alert(%60Added max tokens and xp, and got ${e} daily wheel tokens!%60)).catch(()=>alert("There was an error when adding rewards."))}).catch(()=>alert("There was an error user data."))})}else alert("This cheat only works on play.blooket.com")}},{name:"Use Any Blook",description:"Allows you to play as any blook",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner,t=webpackJsonp.push([[],{1234(e,t,a){t.webpack=a}},[["1234"]]]).webpack("MDrD").a;"/blooks"==location.pathname?e.setState({blookData:Object.keys(t).reduce((t,a)=>(t[a]=e.state.blookData[a]||1,t),{}),allSets:Object.values(t).reduce((e,t)=>e.includes(t.set)?e:e.concat(t.set),[])}):Array.isArray(e.state.unlocks)?e.setState({unlocks:Object.keys(t)}):e.setState({unlocks:t})}},{name:"Every Answer Correct",description:"Sets every answer to be correct",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.freeQuestions=e.questions=e.props.client.questions.map(e=>({...e,correctAnswers:e.answers}))}},{name:"Highlight Answers",description:"Colors answers to be red or green highlighting the correct ones",run:function(){let{stateNode:{state:e,props:t}}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;[...document.querySelectorAll('[class="answerContainer"]')].forEach((a,o)=>{(e.question||t.client.question).correctAnswers.includes((e.question||t.client.question).answers[o])?a.style.backgroundColor="rgb(0, 207, 119)":a.style.backgroundColor="rgb(189, 15, 38)"})}},{name:"Remove Name Limit",description:"Sets the name limit to 120, which is the actual max name length limit",run:function(){let e=document.createElement("iframe");document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove(),document.querySelector('[class="nameInput"]').maxLength=120,alert("Removed name length limit")}},{name:"Remove Random Name",description:"Allows you to put a custom name",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({isRandom:!1,client:{name:""}}),document.querySelector('[class="nameInput"]')?.focus?.()}},{name:"Sell Cheap Duplicates",description:"Sells all of your uncommon to epic dupes (not legendaries+)",run:function(){let e=document.createElement("iframe");document.body.append(e),window.alert=e.contentWindow.alert.bind(window),window.confirm=e.contentWindow.confirm.bind(window),e.remove();var t=Object.values(webpackJsonp.push([[],{""(e,t,a){t.cache=a.c}},[[""]],]).cache).find(e=>e.exports?.a?.get).exports.a;t.get("https://dashboard.blooket.com/api/users").then(async({data:{name:e,unlocks:a}})=>{let o=Object.entries(a).filter(([e,t])=>t>1&&!["Legendary","Chroma","Mystical"].includes(webpackJsonp.push([[],{1234(e,t,a){t.webpack=a}},[["1234"]]]).webpack("MDrD").a[e].rarity));if(confirm("Are you sure you want to sell your uncommon to epic dupes?")){let i=Date.now();for(let[s,r]of o)await t.put("https://dashboard.blooket.com/api/users/sellblook",{name:e,blook:s,numSold:r-1});alert(%60(${Date.now()-i}ms) Results:${o.map(([e,t])=>%60 ${e} ${t-1}%60).join(%60%60)}%60)}}).catch(()=>alert("There was an error user data!"))}},{name:"Sell Duplicate Blooks",description:"Sell all duplicate blooks leaving you with 1 each",run:function(){let e=document.createElement("iframe");document.body.append(e),window.alert=e.contentWindow.alert.bind(window),window.confirm=e.contentWindow.confirm.bind(window),e.remove();var t=Object.values(webpackJsonp.push([[],{""(e,t,a){t.cache=a.c}},[[""]],]).cache).find(e=>e.exports?.a?.get).exports.a;t.get("https://dashboard.blooket.com/api/users").then(async({data:{name:e,unlocks:a}})=>{let o=Object.entries(a).filter(e=>e[1]>1);if(confirm("Are you sure you want to sell your dupes?")){let i=Date.now();for(let[s,r]of o)await t.put("https://dashboard.blooket.com/api/users/sellblook",{name:e,blook:s,numSold:r-1});alert(%60(${Date.now()-i}ms) Results:${o.map(([e,t])=>%60 ${e} ${t-1}%60).join(%60%60)}%60)}}).catch(()=>alert("There was an error user data!"))}},{name:"Simulate Pack",description:"Simulate opening a pack",inputs:[{name:"Pack",type:"options",options:async()=>Array.from(document.querySelectorAll('[class="packShadow"]')).map(e=>e.alt)}],run:function(){let{webpack:e}=webpackJsonp.push([[],{1234(e,t,a){t.webpack=a}},[["1234"]]]),t=Object.values(e.c).find(e=>e.exports?.Class).exports,a={};class o extends t.Scene{constructor(e){super(),this.rarity=e.toLowerCase()}preload(){switch(this.rarity){case"uncommon":this.load.svg("uncommon-1","https://media.blooket.com/image/upload/v1658567787/Media/market/particles/square_green.svg",{width:25,height:25}),this.load.svg("uncommon-2","https://media.blooket.com/image/upload/v1658567787/Media/market/particles/square_light_green.svg",{width:25,height:25}),this.load.svg("uncommon-3","https://media.blooket.com/image/upload/v1658567785/Media/market/particles/circle_dark_green.svg",{width:25,height:25}),this.load.svg("uncommon-4","https://media.blooket.com/image/upload/v1658567785/Media/market/particles/serpentine_dark_green.svg",{width:30,height:30}),this.load.svg("uncommon-5","https://media.blooket.com/image/upload/v1658567785/Media/market/particles/triangle_light_green.svg",{width:30,height:30}),this.load.svg("uncommon-6","https://media.blooket.com/image/upload/v1658567785/Media/market/particles/serpentine_light_green.svg",{width:30,height:30}),this.load.svg("uncommon-7","https://media.blooket.com/image/upload/v1658567785/Media/market/particles/triangle_green.svg",{width:30,height:30});break;case"rare":this.load.svg("rare-1","https://media.blooket.com/image/upload/v1658567765/Media/market/particles/square_light_blue.svg",{width:25,height:25}),this.load.svg("rare-2","https://media.blooket.com/image/upload/v1658567765/Media/market/particles/square_dark_blue.svg",{width:25,height:25}),this.load.svg("rare-3","https://media.blooket.com/image/upload/v1658567763/Media/market/particles/triangle_blue.svg",{width:30,height:30}),this.load.svg("rare-4","https://media.blooket.com/image/upload/v1658567763/Media/market/particles/serpentine_blue.svg",{width:30,height:30}),this.load.svg("rare-5","https://media.blooket.com/image/upload/v1658567763/Media/market/particles/triangle_light_blue.svg",{width:30,height:30}),this.load.svg("rare-6","https://media.blooket.com/image/upload/v1658567763/Media/market/particles/serpentine_light_blue.svg",{width:30,height:30}),this.load.svg("rare-7","https://media.blooket.com/image/upload/v1658567763/Media/market/particles/circle_dark_blue.svg",{width:25,height:25});break;case"epic":this.load.svg("epic-1","https://media.blooket.com/image/upload/v1658790239/Media/market/particles/red.svg",{width:25,height:25}),this.load.svg("epic-2","https://media.blooket.com/image/upload/v1658790237/Media/market/particles/light_red.svg",{width:25,height:25}),this.load.svg("epic-3","https://media.blooket.com/image/upload/v1658790239/Media/market/particles/serpentine_red.svg",{width:30,height:30}),this.load.svg("epic-4","https://media.blooket.com/image/upload/v1658790239/Media/market/particles/serpentine_dark_red.svg",{width:30,height:30}),this.load.svg("epic-5","https://media.blooket.com/image/upload/v1658790237/Media/market/particles/triangle_red.svg",{width:30,height:30}),this.load.svg("epic-6","https://media.blooket.com/image/upload/v1658790237/Media/market/particles/triangle_light_red.svg",{width:30,height:30}),this.load.svg("epic-7","https://media.blooket.com/image/upload/v1658790237/Media/market/particles/circle_dark_red.svg",{width:25,height:25});break;case"legendary":this.load.svg("legendary-1","https://media.blooket.com/image/upload/v1658567740/Media/market/particles/square_orange.svg",{width:25,height:25}),this.load.svg("legendary-2","https://media.blooket.com/image/upload/v1658567740/Media/market/particles/square_light_orange.svg",{width:25,height:25}),this.load.svg("legendary-3","https://media.blooket.com/image/upload/v1658567738/Media/market/particles/circle_orange.svg",{width:25,height:25}),this.load.svg("legendary-4","https://media.blooket.com/image/upload/v1658567738/Media/market/particles/serpentine_orange.svg",{width:30,height:30}),this.load.svg("legendary-5","https://media.blooket.com/image/upload/v1658567738/Media/market/particles/serpentine_light_orange.svg",{width:30,height:30}),this.load.svg("legendary-6","https://media.blooket.com/image/upload/v1658567738/Media/market/particles/circle_dark_orange.svg",{width:25,height:25}),this.load.svg("legendary-7","https://media.blooket.com/image/upload/v1658567738/Media/market/particles/triangle_dark_orange.svg",{width:30,height:30});break;case"chroma":this.load.svg("chroma-1","https://media.blooket.com/image/upload/v1658790246/Media/market/particles/square_turquoise.svg",{width:25,height:25}),this.load.svg("chroma-2","https://media.blooket.com/image/upload/v1658790246/Media/market/particles/square_light_turquoise.svg",{width:25,height:25}),this.load.svg("chroma-3","https://media.blooket.com/image/upload/v1658790244/Media/market/particles/serpentine_dark_turquoise.svg",{width:30,height:30}),this.load.svg("chroma-4","https://media.blooket.com/image/upload/v1658790244/Media/market/particles/serpentine_turquoise.svg",{width:30,height:30}),this.load.svg("chroma-5","https://media.blooket.com/image/upload/v1658790244/Media/market/particles/triangle_turquoise.svg",{width:30,height:30}),this.load.svg("chroma-6","https://media.blooket.com/image/upload/v1658790244/Media/market/particles/triangle_light_turquoise.svg",{width:30,height:30}),this.load.svg("chroma-7","https://media.blooket.com/image/upload/v1658790244/Media/market/particles/circle_dark_turquoise.svg",{width:25,height:25})}}create(){a.scene=this,a.rarity="",a.particles=this.physics.add.group({classType:new t.Class({Extends:t.GameObjects.Image,initialize:function(){t.GameObjects.Image.call(this,a.scene,0,0,"uncommon-1"),this.setDepth(3),this.lifespan=0},spawn:function(e,t,o,i,s,r,n,l,c){this.setTexture(c),this.setActive(!0),this.setVisible(!0),this.setPosition(e,t),this.setScale(o),this.targets=[],a.scene.physics.velocityFromAngle(i,s,this.body.velocity),this.body.setGravityY(r),this.body.setAngularVelocity(n),this.lifespan=l},update:function(e,t){this.lifespan-=t,this.lifespan>0||(this.setActive(!1),this.setVisible(!1))}}),runChildUpdate:!0}),this.nextParticle=0,this.numExplosions=0,this.game.events.on("start-particles",e=>{a.rarity=e,this.numExplosions="Uncommon"===e?75:"Rare"===e?100:-1})}update(t,o){let i=e("74sb"),s=function(e){switch(e){case"center":var t=Object(i.l)(-115,-65);return{x:a.scene.cameras.main.worldView.width/2,y:a.scene.cameras.main.worldView.height/2,scale:Object(i.l)(.7,1),angle:t,velocity:Object(i.l)(600,750),gravity:700,angVelocity:(t>-90?1:-1)Object(i.l)(125,175),lifespan:2500};case"right-bottom":return{x:a.scene.cameras.main.worldView.width,y:a.scene.cameras.main.worldView.height,scale:Object(i.l)(.7,1),angle:Object(i.l)(-160,-110),velocity:Object(i.l)(600,750),gravity:500,angVelocity:Object(i.l)(-175,-125),lifespan:2500};case"left-bottom":return{x:0,y:a.scene.cameras.main.worldView.height,scale:Object(i.l)(.7,1),angle:Object(i.l)(-70,-20),velocity:Object(i.l)(600,750),gravity:500,angVelocity:Object(i.l)(125,175),lifespan:2500};case"top":return{x:Object(i.l)(0,a.scene.cameras.main.worldView.width),y:-50,scale:Object(i.l)(.7,1),angle:90,velocity:Object(i.l)(0,50),gravity:700,angVelocity:Object(i.l)(-150,150),lifespan:2500};case"right-shower":return{x:a.scene.cameras.main.worldView.width,y:Object(i.l)(0,a.scene.cameras.main.worldView.height),scale:Object(i.l)(.7,1),angle:Object(i.l)(-180,-130),velocity:Object(i.l)(600,750),gravity:500,angVelocity:Object(i.l)(-175,-125),lifespan:2500};case"left-shower":return{x:0,y:Object(i.l)(0,a.scene.cameras.main.worldView.height),scale:Object(i.l)(.7,1),angle:Object(i.l)(-50,0),velocity:Object(i.l)(600,750),gravity:500,angVelocity:Object(i.l)(125,175),lifespan:2500};case"right-diamond":var o=Object(i.l)(0,a.scene.cameras.main.worldView.height);return{x:a.scene.cameras.main.worldView.width,y:o,scale:Object(i.l)(.7,1),angle:o>a.scene.cameras.main.worldView.height/2?-150:-210,velocity:Object(i.l)(600,750),gravity:0,angVelocity:Object(i.l)(-175,-125),lifespan:2500};case"left-diamond":var s=Object(i.l)(0,a.scene.cameras.main.worldView.height);return{x:0,y:s,scale:Object(i.l)(.7,1),angle:s>a.scene.cameras.main.worldView.height/2?-30:30,velocity:Object(i.l)(600,750),gravity:0,angVelocity:Object(i.l)(125,175),lifespan:2500};default:return{}}};if(a.rarity&&0!==this.numExplosions&&(this.nextParticle-=o,this.nextParticle<=0)){switch(a.rarity){case"Uncommon":for(let r=0;r<2;r++){let n=a.particles.get();n&&n.spawn.apply(n,Object.values(s("center")).concat(%60uncommon-${Object(i.m)(1,8)}%60))}break;case"Rare":for(var l=0;l<2;l++){var c=a.particles.get();c&&c.spawn.apply(c,Object.values(s(l%2==0?"left-bottom":"right-bottom")).concat(%60rare-${Object(i.m)(1,8)}%60))}break;case"Epic":for(var d=0;d<2;d++){var p=a.particles.get();p&&p.spawn.apply(p,Object.values(s(d%2==0?"left-shower":"right-shower")).concat(%60epic-${Object(i.m)(1,8)}%60))}break;case"Legendary":for(var u=0;u<3;u++){var m=a.particles.get();m&&m.spawn.apply(m,Object.values(s("top")).concat(%60legendary-${Object(i.m)(1,8)}%60))}break;case"Chroma":for(var h=0;h<3;h++){var $=a.particles.get();$&&$.spawn.apply($,Object.values(s(h%2==0?"left-diamond":"right-diamond")).concat(%60chroma-${Object(i.m)(1,8)}%60))}}this.nextParticle=20,this.numExplosions>0&&(this.numExplosions=Math.max(this.numExplosions-1,0))}}}return function(a){if("/market"!==window.location.pathname)return alert("This must be ran on the market page");let{stateNode:i}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner,s=e("fGzD");if((s=Object.keys(s.a).reduce((e,t)=>(e.packs.includes(t)&&(e.data[t]=Object.fromEntries(s.b(t))),e),{packs:Array.from(document.querySelectorAll('[class="packShadow"]')).map(e=>e.alt),data:{}}).data)[a]){let r=function e(t){let a=[],o=Object.keys(s[t]);for(let i of o)a.push(s[t][i]+(a[o.indexOf(i)-1]||0));let r=a[a.length-1]Math.random();return o[a.findIndex(e=>e>=r)]}(a),n=Object.values(e.c).find(e=>e.exports?.a?.Elephant).exports.a;i.setState({loadingPack:!1,openPack:!0,unlockedBlook:r,tokens:i.state.tokens,newUnlock:!0,game:{type:t.WEBGL,parent:"phaser-market",width:"100%",height:"100%",scale:{mode:t.Scale.NONE,autoCenter:t.Scale.CENTER_BOTH},transparent:!0,physics:{default:"arcade"},scene:new o(n[r].rarity)},canOpen:!0})}else alert("I couldn't find that box!")}}()},{name:"Simulate Unlock",description:"Simulate unlocking most of the blooks",inputs:[{name:"Blook",type:"options",async options(){let{webpack:e}=webpackJsonp.push([[],{1234(e,t,a){t.webpack=a}},[["1234"]]]);return Object.keys(Object.entries(Object.values(e.c).find(e=>Object.values(e.exports?.a||{})[0]?.set).exports.a).reduce((t,a)=>(Object.values(e.c).find(e=>e.exports.a?.Breakfast==15).exports.a[a[1].realSet||a[1].set]&&(t[a[0]]=a[1]),t),{}))}}],run:function(){let{webpack:e}=webpackJsonp.push([[],{1234(e,t,a){t.webpack=a}},[["1234"]]]),t=Object.values(e.c).find(e=>e.exports?.Class).exports,a={};class o extends t.Scene{constructor(e){super(),this.rarity=e.toLowerCase()}preload(){switch(this.rarity){case"uncommon":this.load.svg("uncommon-1","https://media.blooket.com/image/upload/v1658567787/Media/market/particles/square_green.svg",{width:25,height:25}),this.load.svg("uncommon-2","https://media.blooket.com/image/upload/v1658567787/Media/market/particles/square_light_green.svg",{width:25,height:25}),this.load.svg("uncommon-3","https://media.blooket.com/image/upload/v1658567785/Media/market/particles/circle_dark_green.svg",{width:25,height:25}),this.load.svg("uncommon-4","https://media.blooket.com/image/upload/v1658567785/Media/market/particles/serpentine_dark_green.svg",{width:30,height:30}),this.load.svg("uncommon-5","https://media.blooket.com/image/upload/v1658567785/Media/market/particles/triangle_light_green.svg",{width:30,height:30}),this.load.svg("uncommon-6","https://media.blooket.com/image/upload/v1658567785/Media/market/particles/serpentine_light_green.svg",{width:30,height:30}),this.load.svg("uncommon-7","https://media.blooket.com/image/upload/v1658567785/Media/market/particles/triangle_green.svg",{width:30,height:30});break;case"rare":this.load.svg("rare-1","https://media.blooket.com/image/upload/v1658567765/Media/market/particles/square_light_blue.svg",{width:25,height:25}),this.load.svg("rare-2","https://media.blooket.com/image/upload/v1658567765/Media/market/particles/square_dark_blue.svg",{width:25,height:25}),this.load.svg("rare-3","https://media.blooket.com/image/upload/v1658567763/Media/market/particles/triangle_blue.svg",{width:30,height:30}),this.load.svg("rare-4","https://media.blooket.com/image/upload/v1658567763/Media/market/particles/serpentine_blue.svg",{width:30,height:30}),this.load.svg("rare-5","https://media.blooket.com/image/upload/v1658567763/Media/market/particles/triangle_light_blue.svg",{width:30,height:30}),this.load.svg("rare-6","https://media.blooket.com/image/upload/v1658567763/Media/market/particles/serpentine_light_blue.svg",{width:30,height:30}),this.load.svg("rare-7","https://media.blooket.com/image/upload/v1658567763/Media/market/particles/circle_dark_blue.svg",{width:25,height:25});break;case"epic":this.load.svg("epic-1","https://media.blooket.com/image/upload/v1658790239/Media/market/particles/red.svg",{width:25,height:25}),this.load.svg("epic-2","https://media.blooket.com/image/upload/v1658790237/Media/market/particles/light_red.svg",{width:25,height:25}),this.load.svg("epic-3","https://media.blooket.com/image/upload/v1658790239/Media/market/particles/serpentine_red.svg",{width:30,height:30}),this.load.svg("epic-4","https://media.blooket.com/image/upload/v1658790239/Media/market/particles/serpentine_dark_red.svg",{width:30,height:30}),this.load.svg("epic-5","https://media.blooket.com/image/upload/v1658790237/Media/market/particles/triangle_red.svg",{width:30,height:30}),this.load.svg("epic-6","https://media.blooket.com/image/upload/v1658790237/Media/market/particles/triangle_light_red.svg",{width:30,height:30}),this.load.svg("epic-7","https://media.blooket.com/image/upload/v1658790237/Media/market/particles/circle_dark_red.svg",{width:25,height:25});break;case"legendary":this.load.svg("legendary-1","https://media.blooket.com/image/upload/v1658567740/Media/market/particles/square_orange.svg",{width:25,height:25}),this.load.svg("legendary-2","https://media.blooket.com/image/upload/v1658567740/Media/market/particles/square_light_orange.svg",{width:25,height:25}),this.load.svg("legendary-3","https://media.blooket.com/image/upload/v1658567738/Media/market/particles/circle_orange.svg",{width:25,height:25}),this.load.svg("legendary-4","https://media.blooket.com/image/upload/v1658567738/Media/market/particles/serpentine_orange.svg",{width:30,height:30}),this.load.svg("legendary-5","https://media.blooket.com/image/upload/v1658567738/Media/market/particles/serpentine_light_orange.svg",{width:30,height:30}),this.load.svg("legendary-6","https://media.blooket.com/image/upload/v1658567738/Media/market/particles/circle_dark_orange.svg",{width:25,height:25}),this.load.svg("legendary-7","https://media.blooket.com/image/upload/v1658567738/Media/market/particles/triangle_dark_orange.svg",{width:30,height:30});break;case"chroma":this.load.svg("chroma-1","https://media.blooket.com/image/upload/v1658790246/Media/market/particles/square_turquoise.svg",{width:25,height:25}),this.load.svg("chroma-2","https://media.blooket.com/image/upload/v1658790246/Media/market/particles/square_light_turquoise.svg",{width:25,height:25}),this.load.svg("chroma-3","https://media.blooket.com/image/upload/v1658790244/Media/market/particles/serpentine_dark_turquoise.svg",{width:30,height:30}),this.load.svg("chroma-4","https://media.blooket.com/image/upload/v1658790244/Media/market/particles/serpentine_turquoise.svg",{width:30,height:30}),this.load.svg("chroma-5","https://media.blooket.com/image/upload/v1658790244/Media/market/particles/triangle_turquoise.svg",{width:30,height:30}),this.load.svg("chroma-6","https://media.blooket.com/image/upload/v1658790244/Media/market/particles/triangle_light_turquoise.svg",{width:30,height:30}),this.load.svg("chroma-7","https://media.blooket.com/image/upload/v1658790244/Media/market/particles/circle_dark_turquoise.svg",{width:25,height:25})}}create(){a.scene=this,a.rarity="",a.particles=this.physics.add.group({classType:new t.Class({Extends:t.GameObjects.Image,initialize:function(){t.GameObjects.Image.call(this,a.scene,0,0,"uncommon-1"),this.setDepth(3),this.lifespan=0},spawn:function(e,t,o,i,s,r,n,l,c){this.setTexture(c),this.setActive(!0),this.setVisible(!0),this.setPosition(e,t),this.setScale(o),this.targets=[],a.scene.physics.velocityFromAngle(i,s,this.body.velocity),this.body.setGravityY(r),this.body.setAngularVelocity(n),this.lifespan=l},update:function(e,t){this.lifespan-=t,this.lifespan>0||(this.setActive(!1),this.setVisible(!1))}}),runChildUpdate:!0}),this.nextParticle=0,this.numExplosions=0,this.game.events.on("start-particles",e=>{a.rarity=e,this.numExplosions="Uncommon"===e?75:"Rare"===e?100:-1})}update(t,o){let i=e("74sb"),s=function(e){switch(e){case"center":var t=Object(i.l)(-115,-65);return{x:a.scene.cameras.main.worldView.width/2,y:a.scene.cameras.main.worldView.height/2,scale:Object(i.l)(.7,1),angle:t,velocity:Object(i.l)(600,750),gravity:700,angVelocity:(t>-90?1:-1)Object(i.l)(125,175),lifespan:2500};case"right-bottom":return{x:a.scene.cameras.main.worldView.width,y:a.scene.cameras.main.worldView.height,scale:Object(i.l)(.7,1),angle:Object(i.l)(-160,-110),velocity:Object(i.l)(600,750),gravity:500,angVelocity:Object(i.l)(-175,-125),lifespan:2500};case"left-bottom":return{x:0,y:a.scene.cameras.main.worldView.height,scale:Object(i.l)(.7,1),angle:Object(i.l)(-70,-20),velocity:Object(i.l)(600,750),gravity:500,angVelocity:Object(i.l)(125,175),lifespan:2500};case"top":return{x:Object(i.l)(0,a.scene.cameras.main.worldView.width),y:-50,scale:Object(i.l)(.7,1),angle:90,velocity:Object(i.l)(0,50),gravity:700,angVelocity:Object(i.l)(-150,150),lifespan:2500};case"right-shower":return{x:a.scene.cameras.main.worldView.width,y:Object(i.l)(0,a.scene.cameras.main.worldView.height),scale:Object(i.l)(.7,1),angle:Object(i.l)(-180,-130),velocity:Object(i.l)(600,750),gravity:500,angVelocity:Object(i.l)(-175,-125),lifespan:2500};case"left-shower":return{x:0,y:Object(i.l)(0,a.scene.cameras.main.worldView.height),scale:Object(i.l)(.7,1),angle:Object(i.l)(-50,0),velocity:Object(i.l)(600,750),gravity:500,angVelocity:Object(i.l)(125,175),lifespan:2500};case"right-diamond":var o=Object(i.l)(0,a.scene.cameras.main.worldView.height);return{x:a.scene.cameras.main.worldView.width,y:o,scale:Object(i.l)(.7,1),angle:o>a.scene.cameras.main.worldView.height/2?-150:-210,velocity:Object(i.l)(600,750),gravity:0,angVelocity:Object(i.l)(-175,-125),lifespan:2500};case"left-diamond":var s=Object(i.l)(0,a.scene.cameras.main.worldView.height);return{x:0,y:s,scale:Object(i.l)(.7,1),angle:s>a.scene.cameras.main.worldView.height/2?-30:30,velocity:Object(i.l)(600,750),gravity:0,angVelocity:Object(i.l)(125,175),lifespan:2500};default:return{}}};if(a.rarity&&0!==this.numExplosions&&(this.nextParticle-=o,this.nextParticle<=0)){switch(a.rarity){case"Uncommon":for(let r=0;r<2;r++){let n=a.particles.get();n&&n.spawn.apply(n,Object.values(s("center")).concat(%60uncommon-${Object(i.m)(1,8)}%60))}break;case"Rare":for(var l=0;l<2;l++){var c=a.particles.get();c&&c.spawn.apply(c,Object.values(s(l%2==0?"left-bottom":"right-bottom")).concat(%60rare-${Object(i.m)(1,8)}%60))}break;case"Epic":for(var d=0;d<2;d++){var p=a.particles.get();p&&p.spawn.apply(p,Object.values(s(d%2==0?"left-shower":"right-shower")).concat(%60epic-${Object(i.m)(1,8)}%60))}break;case"Legendary":for(var u=0;u<3;u++){var m=a.particles.get();m&&m.spawn.apply(m,Object.values(s("top")).concat(%60legendary-${Object(i.m)(1,8)}%60))}break;case"Chroma":for(var h=0;h<3;h++){var $=a.particles.get();$&&$.spawn.apply($,Object.values(s(h%2==0?"left-diamond":"right-diamond")).concat(%60chroma-${Object(i.m)(1,8)}%60))}}this.nextParticle=20,this.numExplosions>0&&(this.numExplosions=Math.max(this.numExplosions-1,0))}}}return function(a){let i=document.createElement("iframe");if(document.body.append(i),window.alert=i.contentWindow.alert.bind(window),window.prompt=i.contentWindow.prompt.bind(window),i.remove(),"/market"==window.location.pathname){let{stateNode:s}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;s.setState({loadingPack:!1,openPack:!0,unlockedBlook:a,tokens:s.state.tokens,newUnlock:!0,game:{type:t.WEBGL,parent:"phaser-market",width:"100%",height:"100%",scale:{mode:t.Scale.NONE,autoCenter:t.Scale.CENTER_BOTH},transparent:!0,physics:{default:"arcade"},scene:new o(Object.entries(Object.values(e.c).find(e=>Object.values(e.exports?.a||{})[0]?.set).exports.a).reduce((t,a)=>(Object.values(e.c).find(e=>e.exports.a?.Breakfast==15).exports.a[a[1].set]&&(t[a[0]]=a[1]),t),{})[a].rarity)},canOpen:!0})}else alert("This can only be ran on the market page!")}}()},{name:"Unlock Plus Gamemodes",description:"Allows you to play any gamemode that is plus only",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState(e=>(e.gameModes.forEach(e=>e.plusOnly=!1),e))}}],brawl:[{name:"Double Enemy XP",description:"Doubles enemy XP drop value",run:function(){for(let e of Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state.game.scene.physics.world.colliders._active.filter(e=>e.callbackContext?.toString().includes("invulnerableTime"))){let t=e.object2,a=t.classType.prototype.start;t.classType.prototype.start=function(){a.apply(this,arguments),this.val=2},t.children.entries.forEach(e=>e.val=2)}}},{name:"Half Enemy Speed",description:"Makes enemies move 2x slower",run:function(){for(let e of Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state.game.scene.physics.world.colliders._active.filter(e=>e.callbackContext?.toString().includes("invulnerableTime"))){let t=e.object2,a=t.classType.prototype.start;t.classType.prototype.start=function(){a.apply(this,arguments),this.speed=.5},t.children.entries.forEach(e=>e.speed*=.5)}}},{name:"Instant Kill",description:"Sets all enemies health to 1",run:function(){for(let e of Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state.game.scene.physics.world.colliders._active.filter(e=>e.callbackContext?.toString().includes("invulnerableTime"))){let t=e.object2,a=t.classType.prototype.start;t.classType.prototype.start=function(){a.apply(this,arguments),this.hp=1},t.children.entries.forEach(e=>e.hp=1)}}},{name:"Invincibility",description:"Makes you invincible",run:function(){for(let e of Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state.game.scene.physics.world.colliders._active.filter(e=>e.callbackContext?.toString().includes("invulnerableTime")))e.collideCallback=()=>{}}},{name:"Magnet",description:"Pulls all xp towards you",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state.game.scene.physics.world.colliders._active.find(e=>e.collideCallback?.toString().includes("magnetTime")).collideCallback({active:!0},{active:!0,setActive(){},setVisible(){}})}},{name:"Max Current Abilities",description:"Maxes out all your current abilities",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;for(let[t,a]of Object.entries(e.state.abilities))for(let o=0;o<10-a;o++)e.state.game.scene.game.events.emit("level up",t,e.state.abilities[t]++);e.setState({level:e.state.game.scene.level=[1,3,5,10,15,25,35].sort((t,a)=>Math.abs(t-e.state.level)-Math.abs(a-e.state.level))[0]-1})}},{name:"Next Level",description:"Skips to the next level",run:function(){var e;let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner,{object1:a,object2:o}=t.state.game.scene.physics.world.colliders._active.find(e=>e.collideCallback?.toString().includes('emit("xp"'));o.get().spawn(a.x,a.y,(1===(e=t.state.level)?1:e<5?5:e<10?10:e<20?20:e<30?30:e<40?40:e<50?50:100)-t.xp)}},{name:"Remove Obstacles",description:"Removes all rocks and obstacles",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state.game.scene.physics.world.bodies.entries.forEach(e=>{try{e.gameObject.frame.texture.key.includes("obstacle")&&e.gameObject.destroy()}catch{}})}},{name:"Kill Enemies",description:"Kills all current enemies",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state.game.scene.physics.world.bodies.entries.forEach(e=>e?.gameObject?.receiveDamage?.(e.gameObject.hp,1))}},{name:"Reset Health",description:"Resets health and gives invincibility for 3 seconds",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state.game.scene.game.events._events.respawn.fn()}}],cafe:[{name:"Max Items",description:"Maxes out items in the shop (Only usable in the shop)",run:function(){let e=document.createElement("iframe");if(document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove(),"/cafe/shop"!==window.location.pathname)alert("This can only be run in the shop");else{let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({items:Object.fromEntries(Object.entries(t.state.items).map(e=>[e[0],5]))})}}},{name:"Remove Customers",description:"Skips the current customers (Not usable in the shop)",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.state.customers.forEach((t,a)=>Object.keys(t).length&&e.removeCustomer(a,!0))}},{name:"Reset Abilities",description:"Resets used abilities in shop (Only usable in the shop)",run:function(){let e=document.createElement("iframe");if(document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove(),"/cafe/shop"!==window.location.pathname)alert("This can only be run in the shop");else{let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({abilities:Object.fromEntries(Object.entries(t.state.abilities).map(e=>[e[0],5]))})}}},{name:"Set Cash",description:"Sets cafe cash",inputs:[{name:"Amount",type:"number"}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({cafeCash:e}),t.props.liveGameController.setVal({path:%60c/${t.props.client.name}%60,val:{b:t.props.client.blook,ca:e}})}},{name:"Stock Food",description:"Stocks all food to 99 (Not usable in the shop)",run:function(){let e=document.createElement("iframe");if(document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove(),"/cafe"!==window.location.pathname)alert("This can't be run in the shop");else{let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({foods:t.state.foods.map(e=>({...e,stock:99,level:5}))})}}}],crypto:[{name:"Choice ESP",description:"Shows what each choice will give you",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(()=>{let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0].owner,{text:t}=e.state.choices[0],a=document.querySelector("[class^=stylesfeedbackContainer]");if(a.children.length<=4){let o=document.createElement("div");o.style.color="white",o.style.fontFamily="Inconsolata,Helvetica,monospace,sans-serif",o.style.fontSize="2em",o.style.display="flex",o.style.justifyContent="center",o.style.marginTop="675px",o.innerText=t,a.append(o)}},50))}},{name:"Password ESP",description:"Highlights the correct password",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(()=>{let{state:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode;"hack"==e.stage&&[...document.querySelector("div[class^=stylesbuttonContainer]").children].forEach(t=>{t.innerText!=e.correctPassword&&(t.style.outlineColor="rgba(255, 64, 64, 0.8)",t.style.backgroundColor="rgba(255, 64, 64, 0.8)",t.style.textShadow="0 0 1px #f33")})},50))}},{name:"Always Triple",description:"Always get triple crypto",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(()=>Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({choices:[{type:"mult",val:3,rate:.075,blook:"Brainy Bot",text:"Triple Crypto"}]}),50))}},{name:"Auto Guess",description:"Automatically guess the correct password",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(()=>{let{state:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode;if("hack"==e.stage)for(let t of document.querySelector("div[class^=stylesbuttonContainer]").children)t.innerText==e.correctPassword&&t.click()},50))}},{name:"Remove Hack",description:"",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({hack:""})}},{name:"Set Crypto",description:"Sets crypto",inputs:[{name:"Amount",type:"number"}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({crypto:e,crypto2:e}),t.props.liveGameController.setVal({path:"c/".concat(t.props.client.name),val:{b:t.props.client.blook,p:t.state.password,cr:e}})}},{name:"Set Password",description:"Sets hacking password",inputs:[{name:"Custom Password",type:"string"}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({password:e}),t.props.liveGameController.setVal({path:"c/".concat(t.props.client.name),val:{b:t.props.client.blook,p:e,cr:t.state.crypto}})}},{name:"Steal Player's Crypto",description:"Steals all of someone's crypto",inputs:[{name:"Player",type:"options",options(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;return new Promise(t=>e.props.liveGameController._liveApp?e.props.liveGameController.getDatabaseVal("c",e=>e&&t(Object.keys(e))):t([]))}}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.props.liveGameController.getDatabaseVal("c",a=>{if(a&&Object.keys(a).map(e=>e.toLowerCase()).includes(e.toLowerCase())){let[o,{cr:i}]=Object.entries(a).find(([t])=>t.toLowerCase()==e.toLowerCase());t.setState({crypto:t.state.crypto+i,crypto2:t.state.crypto+i}),t.props.liveGameController.setVal({path:"c/".concat(t.props.client.name),val:{b:t.props.client.blook,p:t.state.password,cr:t.state.crypto+i,tat:%60${o}:${i}%60}})}})}}],defense:[{name:"Earthquake",description:"Shuffles around towers",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.setState({eventName:"Earthquake",event:{short:"e",color:"#805500",icon:"fas fa-mountain",desc:"All of your towers get mixed up",rate:.02},buyTowerName:"",buyTower:{}},()=>e.eventTimeout=setTimeout(()=>e.setState({event:{},eventName:""}),6e3)),e.tiles.forEach(e=>e.forEach((t,a)=>3===t&&(e[a]=0)));let t=e.tiles.flatMap((e,t)=>e.map((e,a)=>0===e&&{x:a,y:t})).filter(Boolean).sort(()=>.5-Math.random());e.towers.forEach(a=>{let{x:o,y:i}=t.shift();a.move(o,i,e.tileSize),e.tiles[i][o]=3})}},{name:"Max Tower Stats",description:"Makes all placed towers overpowered",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.towers.forEach(e=>{e.range=100,e.fullCd=e.cd=0,e.damage=1e6})}},{name:"Remove Ducks",description:"Removes ducks",run:function(){let{stateNode:{ducks:e,tiles:t}}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.forEach(e=>{t[e.y][e.x]=0}),e.length=0}},{name:"Remove Enemies",description:"Removes all the enemies",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.enemies=e.futureEnemies=[]}},{name:"Remove Obstacles",description:"Lets you place towers anywhere",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.tiles=e.tiles.map(e=>e.fill(0))}},{name:"Set Damage",description:"Sets damage",inputs:[{name:"Damage",type:"number"}],run:function(e){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.dmg=e}},{name:"Set Round",description:"Sets the current round",inputs:[{name:"Round",type:"number"}],run:function(e){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({round:e})}},{name:"Set Tokens",description:"Sets the amount of tokens you have",inputs:[{name:"Tokens",type:"number"}],run:function(e){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({tokens:e})}}],defense2:[{name:"Max Tower Stats",description:"Makes all placed towers overpowered",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state.towers.forEach(e=>{if(e.stats.dmg=1e6,e.stats.fireRate=50,e.stats.ghostDetect=!0,e.stats.maxTargets=1e6,e.stats.numProjectiles&&=100,e.stats.range=100,e.stats.auraBuffs)for(let t in e.stats.auraBuffs)e.stats.auraBuffs[t]=100})}},{name:"Kill Enemies",description:"Kills all the enemies",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.state.game.scene.enemyQueue.length=0,e.state.game.scene.physics.world.bodies.entries.forEach(e=>e?.gameObject?.receiveDamage?.(e.gameObject.hp,1))}},{name:"Set Coins",description:"Sets coins",inputs:[{name:"Coins",type:"number"}],run:function(e){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({coins:e})}},{name:"Set Health",description:"Sets the amount of health you have",inputs:[{name:"Health",type:"number"}],run:function(e){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({health:e})}},{name:"Set Round",description:"Sets the current round",inputs:[{name:"Round",type:"number"}],run:function(e){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({round:e})}},],dinos:[{name:"Auto Choose",description:"Automatically choose the best fossil when excavating",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(()=>{let{webpack:e}=webpackJsonp.push([[],{1234(e,t,a){t.webpack=a}},[["1234"]]]),t=(()=>{let t=Object.values(e("74sb")).find(e=>e.toString().includes("rate"));return()=>t([{type:"fossil",val:10,rate:.1,blook:"Amber"},{type:"fossil",val:25,rate:.1,blook:"Dino Egg"},{type:"fossil",val:50,rate:.175,blook:"Dino Fossil"},{type:"fossil",val:75,rate:.175,blook:"Stegosaurus"},{type:"fossil",val:100,rate:.15,blook:"Velociraptor"},{type:"fossil",val:125,rate:.125,blook:"Brontosaurus"},{type:"fossil",val:250,rate:.075,blook:"Triceratops"},{type:"fossil",val:500,rate:.025,blook:"Tyrannosaurus Rex"},{type:"mult",val:1.5,rate:.05},{type:"mult",val:2,rate:.025}],3)})();try{let{stateNode:a}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;if("excavate"===a.state.stage){a.state.choices.length||(a.state.choices=t());let o=0,i=-1;for(let s=0;s<a.state.choices.length;s++){let{type:r,val:n}=a.state.choices[s],l=("fossil"==r?a.state.fossils+na.state.fossilMult:a.state.fossilsn)||0;l<=o&&"mult"!=r||(o=l,i=s+1)}document.querySelector('div[class^="styles__rockRow"] > div[role="button"]:nth-child('+i+")").click()}}catch{}},50))}},{name:"Rock ESP",description:"Shows what is under the rocks",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(()=>{let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner,t=[...document.querySelector('[class="rockButton"]').parentElement.children];t.every(e=>e.querySelector("div"))||e.setState({choices:[{type:"fossil",val:10,rate:.1,blook:"Amber"},{type:"fossil",val:25,rate:.1,blook:"Dino Egg"},{type:"fossil",val:50,rate:.175,blook:"Dino Fossil"},{type:"fossil",val:75,rate:.175,blook:"Stegosaurus"},{type:"fossil",val:100,rate:.15,blook:"Velociraptor"},{type:"fossil",val:125,rate:.125,blook:"Brontosaurus"},{type:"fossil",val:250,rate:.075,blook:"Triceratops"},{type:"fossil",val:500,rate:.025,blook:"Tyrannosaurus Rex"},{type:"mult",val:1.5,rate:.05},{type:"mult",val:2,rate:.025}].sort(()=>.5-Math.random()).slice(0,3)},()=>{t.forEach((t,a)=>{let o=e.state.choices[a];t.querySelector("div")&&t.querySelector("div").remove();let i=document.createElement("div");i.style.color="white",i.style.fontFamily="Macondo",i.style.fontSize="1em",i.style.display="flex",i.style.justifyContent="center",i.style.transform="translateY(25px)",i.innerText="fossil"===o.type?%60+${Math.round(o.vale.state.fossilMult)>99999999?Object.values(webpack("74sb")).find(e=>e.toString().includes("\xd7"))(Math.round(o.vale.state.fossilMult)):Math.round(o.val*e.state.fossilMult)} Fossils%60:%60x${o.val} Fossils Per Excavation%60,t.append(i)})})},50))}},{name:"Set Fossils",description:"Sets the amount of fossils you have",inputs:[{name:"Fossils",type:"number"}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({fossils:e}),t.props.liveGameController.setVal({path:%60c/${t.props.client.name}%60,val:{b:t.props.client.blook,f:e,ic:t.state.isCheating}})}},{name:"Set Multiplier",description:"Sets fossil multiplier",inputs:[{name:"Multiplier",type:"number"}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({fossilMult:e})}},{name:"Stop Cheating",description:"Undoes cheating so that you can't be caught",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.setState({isCheating:!1}),e.props.liveGameController.setVal({path:%60c/${e.props.client.name}/ic%60,val:!1})}}],doom:[{name:"Fill Deck",description:"Fills your deck with every maxed out card and artifact (Only works on towers page)",run:function(){let e=document.createElement("iframe");if(document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove(),"/tower/map"==window.location.pathname){let{a:t,c:a}=webpackJsonp.push([[],{""(e,t,a){t.cache=a.c}},[[""]],]).cache.gvfT.exports,{stateNode:o}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;o.props.tower.artifacts=Object.keys(t),o.props.tower.cards=Object.entries(a).map(([e,t])=>({...t,blook:e,strength:20,charisma:20,wisdom:20}));try{o.props.addTowerNode()}catch{}o.setState({showDeck:!1})}else alert("You need to be on the map to run this cheat!")}},{name:"Max Cards",description:"Maxes out all the cards in your deck",run:function(){let e=document.createElement("iframe");if(document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove(),"/tower/map"==window.location.pathname){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.props.tower.cards.forEach(e=>{e.strength=20,e.charisma=20,e.wisdom=20})}else alert("You need to be on the map to run this cheat!")}},{name:"Max Health",description:"Fills the player's health",run:function(){let e=document.createElement("iframe");document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove(),"/tower/battle"==window.location.pathname?Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({myHealth:100}):alert("You need to be in battle to run this cheat!")}},{name:"Max Card Stats",description:"Maxes out player's current card (Only works on attribute select page)",run:function(){let e=document.createElement("iframe");document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove();let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;"select"!==t.state.phase?alert("You must be on the attribute selection page!"):t.setState({myCard:{...t.state.myCard,strength:20,charisma:20,wisdom:20}})}},{name:"Min Enemy Stats",description:"Makes the enemy card stats all 0 (Only works on attribute select page)",run:function(){let e=document.createElement("iframe");document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove();let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;"select"!==t.state.phase?alert("You must be on the attribute selection page!"):t.setState({enemyCard:{...t.state.enemyCard,strength:0,charisma:0,wisdom:0}})}},{name:"Set Coins",description:"Try's to set amount of tower coins you have",inputs:[{name:"Coins",type:"number"}],run:function(e){let t=document.createElement("iframe");if(document.body.append(t),window.alert=t.contentWindow.prompt.bind(window),t.remove(),"/tower/battle"==window.location.pathname){let a=parseInt("0"+alert("How many coins would you like?")),{stateNode:o}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;try{o.props.setTowerCoins(a)}catch{}}else alert("You need to be in battle to run this cheat!")}}],factory:[{name:"Choose Blook",description:"Gives you a blook",inputs:[{name:"Blook",type:"options",options:[{name:"Chick",color:"#ffcd05",class:"\uD83C\uDF3D",rarity:"Common",cash:[3,7,65,400,2500],time:[1,1,1,1,1],price:[300,3e3,3e4,2e5]},{name:"Chicken",color:"#ed1c24",class:"\uD83C\uDF3D",rarity:"Common",cash:[10,40,200,1400,1e4],time:[5,4,3,2,1],price:[570,4e3,5e4,8e5]},{name:"Cow",color:"#58595b",class:"\uD83C\uDF3D",rarity:"Common",cash:[25,75,1500,25e3,25e4],time:[15,10,10,10,5],price:[500,9500,16e4,4e6]},{name:"Duck",color:"#4ab96d",class:"\uD83C\uDF3D",rarity:"Common",cash:[4,24,200,3e3,4e4],time:[3,3,3,3,3],price:[450,4200,7e4,11e5]},{name:"Goat",color:"#c59a74",class:"\uD83C\uDF3D",rarity:"Common",cash:[5,28,200,1300,12e3],time:[3,3,2,2,2],price:[500,6400,45e3,5e5]},{name:"Horse",color:"#995b3c",class:"\uD83C\uDF3D",rarity:"Common",cash:[5,20,270,1800,15e3],time:[2,2,2,2,2],price:[550,8200,65e3,6e5]},{name:"Pig",color:"#f6a9cb",class:"\uD83C\uDF3D",rarity:"Common",cash:[20,50,1300,8e3,8e4],time:[7,7,7,7,5],price:[400,11e3,8e4,13e5]},{name:"Sheep",color:"#414042",class:"\uD83C\uDF3D",rarity:"Common",cash:[6,25,250,1500,11e3],time:[3,3,3,2,2],price:[500,5e3,5e4,43e4]},{name:"Cat",color:"#f49849",class:"\uD83D\uDC3E",rarity:"Common",cash:[5,18,170,1700,13e3],time:[2,2,2,2,2],price:[480,5500,6e4,5e5]},{name:"Dog",color:"#995b3c",class:"\uD83D\uDC3E",rarity:"Common",cash:[7,25,220,1900,9e3],time:[3,3,2,2,1],price:[460,6600,7e4,73e4]},{name:"Goldfish",color:"#f18221",class:"\uD83D\uDC3E",rarity:"Common",cash:[5,40,350,3500,35e3],time:[3,3,3,3,3],price:[750,7200,84e3,95e4]},{name:"Rabbit",color:"#e7bf9a",class:"\uD83D\uDC3E",rarity:"Common",cash:[3,18,185,800,7e3],time:[2,2,2,1,1],price:[500,5800,56e3,55e4]},{name:"Hamster",color:"#ce9176",class:"\uD83D\uDC3E",rarity:"Common",cash:[10,45,450,4500,45e3],time:[4,4,4,4,4],price:[650,6500,8e4,93e4]},{name:"Turtle",color:"#619a3c",class:"\uD83D\uDC3E",rarity:"Common",cash:[23,120,1400,15e3,17e4],time:[10,10,10,10,10],price:[700,8500,11e4,13e5]},{name:"Puppy",color:"#414042",class:"\uD83D\uDC3E",rarity:"Common",cash:[4,10,75,500,3e3],time:[1,1,1,1,1],price:[450,4e3,35e3,25e4]},{name:"Kitten",color:"#58595b",class:"\uD83D\uDC3E",rarity:"Common",cash:[4,8,60,400,2e3],time:[1,1,1,1,1],price:[350,3500,26e3,17e4]},{name:"Bear",color:"#995b3c",class:"\uD83C\uDF32",rarity:"Common",cash:[12,70,550,4500,1e5],time:[7,7,6,5,5],price:[550,5500,63e3,16e5]},{name:"Moose",color:"#995b3c",class:"\uD83C\uDF32",rarity:"Common",cash:[8,45,400,3500,26e3],time:[5,5,4,4,3],price:[520,6500,58e3,7e5]},{name:"Fox",color:"#f49849",class:"\uD83C\uDF32",rarity:"Common",cash:[7,15,80,550,3e3],time:[2,2,1,1,1],price:[400,4e3,36e3,24e4]},{name:"Raccoon",color:"#6d6e71",class:"\uD83C\uDF32",rarity:"Common",cash:[5,14,185,1900,19e3],time:[2,2,2,2,2],price:[400,5e3,71e3,8e5]},{name:"Squirrel",color:"#d25927",class:"\uD83C\uDF32",rarity:"Common",cash:[3,10,65,470,2600],time:[1,1,1,1,1],price:[420,3600,32e3,21e4]},{name:"Owl",color:"#594a42",class:"\uD83C\uDF32",rarity:"Common",cash:[4,17,155,1500,15e3],time:[2,2,2,2,2],price:[500,4800,55e3,58e4]},{name:"Hedgehog",color:"#3f312b",class:"\uD83C\uDF32",rarity:"Common",cash:[11,37,340,2200,3e4],time:[5,4,3,2,2],price:[540,7e3,77e3,12e5]},{name:"Seal",color:"#7ca1d5",class:"❄%EF%B8%8F",rarity:"Common",cash:[6,17,150,1200,13e3],time:[2,2,2,2,2],price:[480,4500,43e3,52e4]},{name:"Arctic Fox",color:"#7ca1d5",class:"❄%EF%B8%8F",rarity:"Common",cash:[5,18,180,850,8500],time:[2,2,2,1,1],price:[520,550,61e3,68e4]},{name:"Snowy Owl",color:"#feda3f",class:"❄%EF%B8%8F",rarity:"Common",cash:[5,20,190,1900,16e3],time:[3,3,2,2,2],price:[370,5300,76e3,62e4]},{name:"Arctic Hare",color:"#7ca1d5",class:"❄%EF%B8%8F",rarity:"Common",cash:[6,19,85,900,7e3],time:[2,2,1,1,1],price:[540,5200,66e3,55e4]},{name:"Penguin",color:"#fb8640",class:"❄%EF%B8%8F",rarity:"Common",cash:[4,21,310,3200,33e3],time:[3,3,3,3,3],price:[400,6500,76e3,87e4]},{name:"Baby Penguin",color:"#414042",class:"❄%EF%B8%8F",rarity:"Common",cash:[3,8,70,450,2700],time:[1,1,1,1,1],price:[420,3300,33e3,23e4]},{name:"Polar Bear",color:"#7ca1d5",class:"❄%EF%B8%8F",rarity:"Common",cash:[12,75,700,6500,85e3],time:[8,7,6,5,5],price:[630,7e3,91e3,14e5]},{name:"Walrus",color:"#7d4f33",class:"❄%EF%B8%8F",rarity:"Common",cash:[11,46,420,3700,51e3],time:[5,5,4,4,4],price:[550,6200,68e3,1e6]},{name:"Tiger",color:"#f18221",class:"\uD83C\uDF34",rarity:"Common",cash:[6,20,100,975,7500],time:[3,3,1,1,1],price:[390,6e3,7e4,61e4]},{name:"Jaguar",color:"#fbb040",class:"\uD83C\uDF34",rarity:"Common",cash:[8,28,230,1600,17e3],time:[3,3,2,2,2],price:[390,6e3,7e4,61e4]},{name:"Toucan",color:"#ffca34",class:"\uD83C\uDF34",rarity:"Common",cash:[9,20,175,625,3800],time:[2,2,2,1,1],price:[520,4800,42e3,3e5]},{name:"Cockatoo",color:"#7ca1d5",class:"\uD83C\uDF34",rarity:"Common",cash:[6,35,160,1700,18e3],time:[4,4,2,2,2],price:[500,5e3,63e3,7e5]},{name:"Macaw",color:"#00aeef",class:"\uD83C\uDF34",rarity:"Common",cash:[3,8,85,850,8500],time:[1,1,1,1,1],price:[480,5400,62e3,63e4]},{name:"Parrot",color:"#ed1c24",class:"\uD83C\uDF34",rarity:"Common",cash:[3,9,90,900,9e3],time:[1,1,1,1,1],price:[540,5700,65e3,69e4]},{name:"Panther",color:"#2f2c38",class:"\uD83C\uDF34",rarity:"Common",cash:[12,28,215,2100,21e3],time:[5,3,2,2,2],price:[530,6500,76e3,87e4]},{name:"Anaconda",color:"#8a9143",class:"\uD83C\uDF34",rarity:"Common",cash:[3,15,85,1500,7600],time:[1,2,1,2,1],price:[410,5100,58e3,59e4]},{name:"Orangutan",color:"#bc6234",class:"\uD83C\uDF34",rarity:"Common",cash:[13,52,570,4300,7e4],time:[5,5,5,4,4],price:[600,7e3,8e4,14e5]},{name:"Capuchin",color:"#e0b0a6",class:"\uD83C\uDF34",rarity:"Common",cash:[4,14,160,780,8200],time:[2,2,2,1,1],price:[390,4700,57e3,68e4]},{name:"Elf",color:"#a7d054",class:"⚔%EF%B8%8F",rarity:"Uncommon",cash:[5e3,15e3,15e4,15e5,1e7],time:[1,1,1,1,1],price:[8e5,9e6,11e7,8e8]},{name:"Witch",color:"#4ab96d",class:"⚔%EF%B8%8F",rarity:"Uncommon",cash:[18e3,6e4,4e4,4e6,35e6],time:[3,3,2,2,2],price:[11e5,12e6,15e7,14e8]},{name:"Wizard",color:"#5a459c",class:"⚔%EF%B8%8F",rarity:"Uncommon",cash:[19500,65e3,44e4,46e5,4e6],time:[3,3,2,2,2],price:[13e5,135e5,16e7,16e8]},{name:"Fairy",color:"#df6d9c",class:"⚔%EF%B8%8F",rarity:"Uncommon",cash:[18500,6e4,62e4,44e5,38e6],time:[3,3,3,2,2],price:[12e5,125e5,15e6,15e8]},{name:"Slime Monster",color:"#2fa04a",class:"⚔%EF%B8%8F",rarity:"Uncommon",cash:[35e3,14e4,1e6,11e6,11e7],time:[5,5,4,4,4],price:[16e5,15e6,2e8,23e8]},{name:"Jester",color:"#be1e2d",class:"⚔%EF%B8%8F",rarity:"Rare",cash:[25e3,1e5,68e4,65e5,32e6],time:[3,3,2,2,1],price:[2e6,21e6,23e7,26e8]},{name:"Dragon",color:"#2fa04a",class:"⚔%EF%B8%8F",rarity:"Rare",cash:[36e3,15e4,15e5,15e6,15e7],time:[4,4,4,4,4],price:[23e5,24e6,27e7,3e9]},{name:"Unicorn",color:"#f6afce",class:"⚔%EF%B8%8F",rarity:"Epic",cash:[24e3,15e4,14e5,7e6,75e6],time:[2,2,2,1,1],price:[45e5,45e6,55e7,65e8]},{name:"Queen",color:"#9e1f63",class:"⚔%EF%B8%8F",rarity:"Rare",cash:[24e3,95e3,95e4,97e5,95e6],time:[3,3,3,3,3],price:[19e5,2e7,23e7,25e8]},{name:"King",color:"#ee2640",class:"⚔%EF%B8%8F",rarity:"Legendary",cash:[75e3,4e5,6e6,9e7,125e7],time:[5,5,5,5,5],price:[6e6,95e6,16e8,25e9]},{name:"Two of Spades",color:"#414042",class:"\uD83C\uDFF0",rarity:"Uncommon",cash:[4500,14e3,14e4,14e5,9e6],time:[1,1,1,1,1],price:[77e4,83e5,98e6,71e7]},{name:"Eat Me",color:"#d58c55",class:"\uD83C\uDFF0",rarity:"Uncommon",cash:[13e3,45e3,45e4,45e5,5e7],time:[2,2,2,2,2],price:[13e5,14e6,16e7,2e9]},{name:"Drink Me",color:"#dd7399",class:"\uD83C\uDFF0",rarity:"Uncommon",cash:[12e3,4e4,4e5,4e6,45e6],time:[2,2,2,2,2],price:[12e5,12e6,14e7,18e8]},{name:"Alice",color:"#4cc9f5",class:"\uD83C\uDFF0",rarity:"Uncommon",cash:[13e3,42e3,21e4,21e5,23e6],time:[2,2,1,1,1],price:[12e5,13e6,15e7,19e8]},{name:"Queen of Hearts",color:"#d62027",class:"\uD83C\uDFF0",rarity:"Uncommon",cash:[23e3,87e3,62e4,75e5,9e7],time:[4,4,3,3,3],price:[13e5,13e6,18e7,24e8]},{name:"Dormouse",color:"#89d6f8",class:"\uD83C\uDFF0",rarity:"Rare",cash:[17e3,68e3,7e5,35e5,35e6],time:[2,2,1,1,1],price:[2e6,22e6,25e7,28e8]},{name:"White Rabbit",color:"#ffcd05",class:"\uD83C\uDFF0",rarity:"Rare",cash:[26e3,105e3,11e6,77e5,72e6],time:[3,3,3,2,2],price:[2e6,23e6,28e7,29e8]},{name:"Cheshire Cat",color:"#dd7399",class:"\uD83C\uDFF0",rarity:"Rare",cash:[32e3,1e5,9e5,9e6,6e7],time:[4,3,3,3,2],price:[18e5,19e6,22e7,24e8]},{name:"Caterpillar",color:"#00c0f3",class:"\uD83C\uDFF0",rarity:"Epic",cash:[1e4,7e4,65e4,75e5,85e6],time:[1,1,1,1,1],price:[42e5,42e6,54e7,69e8]},{name:"Mad Hatter",color:"#914f93",class:"\uD83C\uDFF0",rarity:"Epic",cash:[38e3,25e4,15e5,14e6,8e7],time:[3,3,2,2,1],price:[48e5,48e6,52e7,66e8]},{name:"King of Hearts",color:"#c62127",class:"\uD83C\uDFF0",rarity:"Legendary",cash:[8e4,42e4,68e5,1e8,15e8],time:[5,5,5,5,5],price:[7e6,11e7,18e8,3e10]},{name:"Earth",color:"#416eb5",class:"\uD83D\uDE80",rarity:"Uncommon",cash:[15e3,45e3,6e5,65e5,65e6],time:[3,3,3,3,3],price:[1e6,11e6,15e7,17e8]},{name:"Meteor",color:"#c68c3c",class:"\uD83D\uDE80",rarity:"Uncommon",cash:[23e3,65e3,7e5,45e5,2e7],time:[5,4,3,2,1],price:[95e4,13e6,16e7,16e8]},{name:"Stars",color:"#19184d",class:"\uD83D\uDE80",rarity:"Uncommon",cash:[1e4,4e4,2e5,2e6,18e6],time:[2,2,1,1,1],price:[14e5,14e6,15e7,15e8]},{name:"Alien",color:"#8dc63f",class:"\uD83D\uDE80",rarity:"Uncommon",cash:[3e4,1e5,1e6,11e6,85e6],time:[4,4,4,4,4],price:[15e5,17e6,19e7,17e8]},{name:"Planet",color:"#9dc6ea",class:"\uD83D\uDE80",rarity:"Rare",cash:[25e3,1e5,9e5,9e6,9e7],time:[3,3,3,3,3],price:[2e6,21e6,21e7,24e8]},{name:"UFO",color:"#a15095",class:"\uD83D\uDE80",rarity:"Rare",cash:[17e3,7e4,7e5,7e6,7e7],time:[2,2,2,2,2],price:[21e5,23e6,25e7,28e8]},{name:"Spaceship",color:"#ffcb29",class:"\uD83D\uDE80",rarity:"Epic",cash:[6e4,32e4,21e5,15e6,85e6],time:[5,4,3,2,1],price:[48e5,46e6,54e7,68e8]},{name:"Astronaut",color:"#9bd4ee",class:"\uD83D\uDE80",rarity:"Legendary",cash:[45e3,26e4,25e5,38e6,55e7],time:[3,3,2,2,2],price:[65e5,1e8,17e8,27e9]},{name:"Lil Bot",color:"#3e564a",class:"\uD83E\uDD16",rarity:"Uncommon",cash:[4e3,12e3,18e4,19e5,25e6],time:[1,1,1,1,1],price:[73e4,12e6,13e7,19e8]},{name:"Lovely Bot",color:"#f179af",class:"\uD83E\uDD16",rarity:"Uncommon",cash:[16e3,65e3,65e4,48e5,42e6],time:[3,3,3,2,2],price:[13e5,14e6,17e7,16e8]},{name:"Angry Bot",color:"#f1613a",class:"\uD83E\uDD16",rarity:"Uncommon",cash:[22e3,85e3,8e5,62e5,65e6],time:[4,4,4,3,3],price:[12e5,13e6,15e7,17e8]},{name:"Happy Bot",color:"#51ba6b",class:"\uD83E\uDD16",rarity:"Uncommon",cash:[11e3,45e3,5e5,25e5,3e7],time:[2,2,2,1,1],price:[14e5,15e6,18e7,24e8]},{name:"Watson",color:"#d69b5a",class:"\uD83E\uDD16",rarity:"Rare",cash:[24e3,1e5,1e6,1e7,1e8],time:[3,3,3,3,3],price:[2e6,22e6,24e7,26e8]},{name:"Buddy Bot",color:"#9dc6ea",class:"\uD83E\uDD16",rarity:"Rare",cash:[22e3,95e3,65e4,65e5,65e6],time:[3,3,2,2,2],price:[19e5,21e6,23e7,25e8]},{name:"Brainy Bot",color:"#9ecf7a",class:"\uD83E\uDD16",rarity:"Epic",cash:[5e4,25e4,21e5,21e6,17e7],time:[4,3,3,3,2],price:[5e6,46e6,5e8,67e8]},{name:"Mega Bot",color:"#d71f27",class:"\uD83E\uDD16",rarity:"Legendary",cash:[8e4,43e4,42e5,62e6,1e9],time:[5,5,3,3,3],price:[7e6,12e7,19e8,35e9]}].map(e=>({name:e.name,value:JSON.stringify(e)}))}],run:function(e){let t=document.createElement("iframe");document.body.append(t),window.alert=t.contentWindow.alert.bind(window),t.remove();let{stateNode:a}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;a.state.blooks.length>=10&&alert("Choose a blook to replace"),a.chooseBlook(JSON.parse(e))}},{name:"Free Upgrades",description:"Sets upgrade prices to 0 for all current blooks",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.setState(e=>({...e,blooks:e.blooks.map(e=>({...e,price:[0,0,0,0]}))}))}},{name:"Max Blooks",description:"Maxes out all your blooks' levels",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state.blooks.forEach(e=>e.level=4)}},{name:"Remove Glitches",description:"Removes all enemy glitches",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.setState({bits:0,ads:[],hazards:[],color:"",lol:!1,joke:!1,slow:!1,dance:!1,glitch:"",glitcherName:"",glitcherBlook:""}),clearTimeout(e.adTimeout),clearInterval(e.hazardInterval),clearTimeout(e.nightTimeout),clearTimeout(e.glitchTimeout),clearTimeout(e.lolTimeout),clearTimeout(e.jokeTimeout),clearTimeout(e.slowTimeout),clearTimeout(e.danceTimeout),clearTimeout(e.nameTimeout)}},{name:"Send Glitch",description:"Sends a glitch to everyone else playing",inputs:[{name:"Glitch",type:"options",options:Object.entries({lb:"Lunch Break",as:"Ad Spam",e37:"Error 37",nt:"Night Time",lo:"#LOL",j:"Jokester",sm:"Slow Mo",dp:"Dance Party",v:"Vortex",r:"Reverse",f:"Flip",m:"Micro"}).map(([e,t])=>({name:t,value:e}))}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.safe=!0,t.props.liveGameController.setVal({path:%60c/${t.props.client.name}/tat%60,val:e})}},{name:"Set All MegaBot",description:"Sets all your blooks to maxed out Mega Bots",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({blooks:Array(10).fill({name:"Mega Bot",color:"#d71f27",class:"\uD83E\uDD16",rarity:"Legendary",cash:[8e4,43e4,42e5,62e6,1e9],time:[5,5,3,3,3],price:[7e6,12e7,19e8,35e9],active:!1,level:4,bonus:5.5})})}},{name:"Set Cash",description:"Sets amount of cash you have",inputs:[{name:"Cash",type:"number"}],run:function(e){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({cash:e})}}],fishing:[{name:"Frenzy",description:"Sets everyone to frenzy mode",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.props.liveGameController.setVal({path:%60c/${e.props.client.name}%60,val:{b:e.props.client.blook,w:e.state.weight,f:"Frenzy",s:!0}})}},{name:"Remove Distractions",description:"Removes distractions",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(()=>{Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({party:""})},50))}},{name:"Send Distraction",description:"Sends a distraction to everyone",inputs:[{name:"Distraction",type:"options",options:["Crab","Jellyfish","Frog","Pufferfish","Octopus","Narwhal","Megalodon","Blobfish","Baby Shark"]}],run:function(e){let t=document.createElement("iframe");document.body.append(t),window.alert=t.contentWindow.alert.bind(window),t.remove();let{stateNode:a}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;a.safe=!0,a.props.liveGameController.setVal({path:%60c/${a.props.client.name}%60,val:{b:a.props.client.blook,w:a.state.weight,f:e,s:!0}}),alert(%60Sent a ${e} distraction%60)}},{name:"Set Lure",description:"Sets fishing lure (range 1 - 5)",inputs:[{name:"Lure (1 - 5)",type:"number",min:1,max:5}],run:function(e){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({lure:Math.max(Math.min(e-1,4),0)})}},{name:"Set Weight",description:"Sets weight",inputs:[{name:"Weight",type:"number"}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({weight:e,weight2:e}),t.props.liveGameController.setVal({path:%60c/${t.props.client.name}%60,val:{b:t.props.client.blook,w:e,f:["Crab","Jellyfish","Frog","Pufferfish","Octopus","Narwhal","Megalodon","Blobfish","Baby Shark"][Math.floor(9Math.random())]}})}}],flappy:[{name:"Toggle Ghost",description:"Lets you go through the pipes",type:"toggle",enabled:!1,run:function(){this.enabled=!this.enabled,Object.values(document.querySelector("#phaser-bouncy"))[1].children[0]._owner.stateNode.state.game.scene.physics.world.bodies.entries.forEach(e=>e.gameObject.frame.texture.key.startsWith("blook")&&(e.checkCollision.none=this.enabled,e.gameObject.setAlpha(this.enabled?.5:1)))}},{name:"Set Score",description:"Sets flappy blook score",inputs:[{name:"Score",type:"number"}],run:function(e){Object.values(document.querySelector("#phaser-bouncy"))[1].children[0]._owner.stateNode.setState({score:e})}}],gold:[{name:"Always Triple",description:"Always get triple gold",type:"toggle",enabled:!1,data:null,run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e._choosePrize||=e.choosePrize,this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null,e.choosePrize=e._choosePrize||e.choosePrize):(this.enabled=!0,this.data=setInterval(()=>{e.choosePrize=function(t){e.state.choices[t]={type:"multiply",val:3,text:"Triple Gold!",blook:"Unicorn"},e._choosePrize(t)}},50))}},{name:"Auto Choose",description:"Automatically picks the option that would give you the most gold",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(async()=>{try{let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;if("prize"===e.state.stage){let t=Object.entries(await new Promise(t=>e.props.liveGameController.getDatabaseVal("c",e=>e&&t(e)))||[]).filter(t=>t[0]!=e.props.client.name).sort((e,t)=>t[1].g-e[1].g)[0]?.[1]?.g||0,a=0;index=-1;for(let o=0;o<e.state.choices.length;o++){let{type:i,val:s}=e.state.choices[o],r=e.state.gold;switch(i){case"gold":r=e.state.gold+s||e.state.gold;break;case"multiply":case"divide":r=Math.round(e.state.golds)||e.state.gold;break;case"swap":r=t||e.state.gold;case"take":r=e.state.gold+ts||e.state.gold}(r||0)<=a||(a=r,index=o+1)}document.querySelector(%60div[class^='styles__choice${index}']%60).click()}}catch{}},50))}},{name:"Chest ESP",description:"Shows what each chest will give you",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(()=>{Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state.choices.forEach(({text:e},t)=>{let a=document.querySelector(%60div[class^='styleschoice${t+1}']%60);if(!a||a.querySelector("div"))return;let o=document.createElement("div");o.style.color="white",o.style.fontFamily="Eczar",o.style.fontSize="2em",o.style.display="flex",o.style.justifyContent="center",o.style.transform="translateY(200px)",o.innerText=e,a.append(o)})},50))}},{name:"Reset Players Gold",description:"Sets a player's gold to 0",inputs:[{name:"Player",type:"options",options(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;return new Promise(t=>e.props.liveGameController._liveApp?e.props.liveGameController.getDatabaseVal("c",e=>e&&t(Object.keys(e))):t([]))}}],run:function(e){let{stateNode:{props:t,state:a}}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.liveGameController.setVal({path:"c/".concat(t.client.name),val:{b:t.client.blook,g:a.gold,tat:%60${e}:swap:0%60}})}},{name:"Set Gold",description:"Sets amount of gold",inputs:[{name:"Gold",type:"number"}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({gold:e,gold2:e}),t.props.liveGameController.setVal({path:"c/".concat(t.props.client.name),val:{b:t.props.client.blook,g:e}})}},{name:"Swap Gold",description:"Swaps gold with someone",inputs:[{name:"Player",type:"options",options(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;return new Promise(t=>e.props.liveGameController._liveApp?e.props.liveGameController.getDatabaseVal("c",e=>e&&t(Object.keys(e))):t([]))}}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.props.liveGameController.getDatabaseVal("c",a=>{if(!a?.[e])return;let{g:o}=a[e];t.props.liveGameController.setVal({path:"c/".concat(t.props.client.name),val:{b:t.props.client.blook,g:o,tat:%60${e}:swap:${t.state.gold}%60}}),t.setState({gold:o,gold2:o})})}},{name:"Reset All Players' Gold (Testing)",description:"Set's everyone else's gold to 0",run:function(){let e=document.createElement("iframe");document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove();let{stateNode:{props:t,state:a}}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner,o=0;t.liveGameController.getDatabaseVal("c",async e=>{if(e)for(let i of Object.keys(e))await t.liveGameController.setVal({path:"c/".concat(t.client.name),val:{b:t.client.blook,g:a.gold,tat:%60${i}:swap:0%60}}),o++;alert(%60Reset ${o} players' gold!%60)})}}],kingdom:[{name:"Choice ESP",description:"Shows you what will happen if you say Yes or No",type:"toggle",enabled:!1,data:null,run:function(){if(this.enabled)this.enabled=!1,clearInterval(this.data),Array.from(document.getElementsByClassName("choiceESP")).forEach(e=>e.remove()),this.data=null;else{this.enabled=!0;let e=["materials","people","happiness","gold"],t=Object.fromEntries([...document.querySelectorAll("[class^=stylesstatContainer]")].map((t,a)=>[e[a],t]));this.data=setInterval(()=>{let{guest:a,phase:o}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.state;"choice"==o&&(Array.from(document.getElementsByClassName("choiceESP")).forEach(e=>e.remove()),Object.entries(a.yes||{}).forEach(a=>{if("msg"==a[0]||!e.includes(a[0]))return;let o=document.createElement("div");o.className="choiceESP",o.style="font-size: 24px; color: rgb(75, 194, 46); font-weight: bolder;",o.innerText=String(a[1]),t[a[0]].appendChild(o)}),Object.entries(a.no||{}).forEach(a=>{if("msg"==a[0]||!e.includes(a[0]))return;let o=document.createElement("div");o.className="choiceESP",o.style="font-size: 24px; color: darkred; font-weight: bolder;",o.innerText=String(a[1]),t[a[0]].appendChild(o)}))},50)}}},{name:"Disable Tax Toucan",description:"Tax evasion",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.taxCounter=Number.MAX_VALUE}},{name:"Max Stats",description:"Sets all resources to the max",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({materials:100,people:100,happiness:100,gold:100})}},{name:"Set Guests",description:"Sets the amount of guests you've seen",inputs:[{name:"Guests",type:"number"}],run:function(e){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({guestScore:e})}},{name:"Skip Guest",description:"Skips the current guest",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.nextGuest()}}],racing:[{name:"Instant Win",description:"Instantly Wins the race",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e.setState({progress:e.state.goalAmount},()=>{let{state:{question:t}}=e;try{[...document.querySelectorAll('[class="answerContainer"]')][t.answers.map((e,a)=>t.correctAnswers.includes(e)?a:null).filter(e=>null!=e)[0]]?.click?.()}catch{}})}}],royale:[{name:"Auto Answer (Toggle)",description:"Toggles auto answer on",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval(()=>{let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e?.onAnswer?.(!0,e.props.client.question.correctAnswers[0])},50))}},{name:"Auto Answer",description:"Chooses the correct answer for you",run:function(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;e?.onAnswer?.(!0,e.props.client.question.correctAnswers[0])}},],rush:[{name:"Set Blooks",description:"Sets amount of blooks you or your team has",inputs:[{name:"Blooks",type:"number"}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({numBlooks:e}),t.isTeam?t.props.liveGameController.setVal({path:%60a/${t.props.client.name}/bs%60,val:e}):t.props.liveGameController.setVal({path:%60c/${t.props.client.name}/bs%60,val:numDefense})}},{name:"Set Defense",description:"Sets amount of defense you or your team has (Max 4)",inputs:[{name:"Defense (max 4)",type:"number",max:4}],run:function(e){let t=Math.min(e,4),{stateNode:a}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;a.setState({numDefense:t}),a.isTeam?a.props.liveGameController.setVal({path:%60a/${a.props.client.name}/d%60,val:t}):a.props.liveGameController.setVal({path:%60c/${a.props.client.name}/d%60,val:t})}}],workshop:[{name:"Remove Distractions",description:"Removes all enemy distractions",run:function(){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({fog:!1,dusk:!1,wind:!1,plow:!1,blizzard:!1,force:!1,canada:!1,trees:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1]})}},{name:"Send Distraction",description:"Sends a distraction to everyone else playing",inputs:[{name:"Distraction",type:"options",options:Object.entries({c:"Oh Canada",b:"Blizzard",f:"Fog Spell",d:"Dark & Dusk",w:"Howling Wind",g:"Gift Time!",t:"TREES",s:"Snow Plow",fr:"Use The Force"}).map(([e,t])=>({name:t,value:e}))}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.safe=!0,t.props.liveGameController.setVal({path:%60c/${t.props.client.name}/tat%60,val:e})}},{name:"Set Toys",description:"Sets amount of toys",inputs:[{name:"Toys",type:"number"}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.setState({toys:e}),t.props.liveGameController.setVal({path:"c/".concat(t.props.client.name),val:{b:t.props.client.blook,t:e}})}},{name:"Set Toys Per Question",description:"Sets amount of toys per question",inputs:[{name:"Toys Per Question",type:"number"}],run:function(e){Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner.stateNode.setState({toysPerQ:e})}},{name:"Swap Toys",description:"Swaps toys with someone",inputs:[{name:"Player",type:"options",options(){let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;return new Promise(t=>e.props.liveGameController._liveApp?e.props.liveGameController.getDatabaseVal("c",e=>e&&t(Object.keys(e))):t([]))}}],run:function(e){let{stateNode:t}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;t.props.liveGameController.getDatabaseVal("c",a=>{if(a&&Object.keys(a).map(e=>e.toLowerCase()).includes(e.toLowerCase())){let[o,{t:i}]=Object.entries(a).find(([t])=>t.toLowerCase()==e.toLowerCase());t.props.liveGameController.setVal({path:"c/".concat(t.props.client.name),val:{b:t.props.client.blook,t:i,tat:%60${o}:swap:${t.state.toys}%60}}),t.setState({toys:i})}})}}],settings:[{name:"Import Settings",description:"Import a custom theme",inputs:[{name:"JSON Data",type:"string"}],run:function(e){try{JSON.parse(e)}catch(t){return alert("Invalid JSON provided")}for(let a in e={backgroundColor:"rgb(11, 194, 207)",infoColor:"#9a49aa",cheatList:"#9a49aa",defaultButton:"#9a49aa",disabledButton:"#A02626",enabledButton:"#47A547",textColor:"white",inputColor:"#7a039d",contentBackground:"rgb(64, 17, 95)",...e},localStorage.setItem("JODGUISettings",e),e=JSON.parse(e))o.sheet.cssRules[0].style.setProperty(%60--${a}%60,e[a])}},{name:"Export Settings",description:"Export the current theme to JSON",run:async function(){await navigator.clipboard.writeText(JSON.stringify(JSON.parse(localStorage.getItem("JODGUISettings")||"{}"),null,4)),prompt("Text copied to clipboard. (Paste below to test)")}},{name:"Defaults",description:"Changes all the settings to a preset",inputs:[{name:"Theme",type:"options",options:[{name:"Default",value:{backgroundColor:"rgb(11, 194, 207)",infoColor:"#9a49aa",cheatList:"#9a49aa",defaultButton:"#9a49aa",disabledButton:"#A02626",enabledButton:"#47A547",textColor:"white",inputColor:"#7a039d",contentBackground:"rgb(64, 17, 95)"}},{name:"Blue - Purple",value:{backgroundColor:"linear-gradient(162.5deg, rgba(0,183,255,1) 0%, rgba(128,0,255,1) 100%)",infoColor:"#9a49aa",cheatList:"#9a49aa",defaultButton:"#9a49aa",disabledButton:"#A02626",enabledButton:"#47A547",textColor:"white",inputColor:"#7a039d",contentBackground:"rgb(64, 17, 95)"}},{name:"Blacket",value:{backgroundColor:"#4f4f4f",infoColor:"#2f2f2f",cheatList:"#2f2f2f",defaultButton:"#4f4f4f",disabledButton:"#eb6234",enabledButton:"#00c20c",textColor:"white",inputColor:"#3f3f3f",contentBackground:"#2f2f2f"}}]}],run:function(e){for(let t in localStorage.setItem("JODGUISettings",JSON.stringify(e)),e)o.sheet.cssRules[0].style.setProperty(%60--${t}%60,e[t])}},{name:"Scale",description:"Forces the GUI to scale from 25%-100%",inputs:[{type:"number",name:"Percent scale",min:25,max:100,value:100*(a.scale||1)}],run:function(e){e=Math.min(Math.max(e,25),100),localStorage.setItem("JODGUISettings",JSON.stringify({...JSON.parse(localStorage.getItem("JODGUISettings")||"{}"),scale:e/100})),m.style.transform=%60scale(${e/100})%60}},{name:"Background Color",description:"Changes the background color of the GUI",inputs:[{type:"string",name:"Color"}],run:function(e){o.sheet.cssRules[0].style.setProperty("--backgroundColor",e),localStorage.setItem("JODGUISettings",JSON.stringify({...JSON.parse(localStorage.getItem("JODGUISettings")||"{}"),backgroundColor:e}))}},{name:"Category List Color",description:"Changes the categories list background color",inputs:[{type:"string",name:"Color"}],run:function(e){o.sheet.cssRules[0].style.setProperty("--cheatList",e),localStorage.setItem("JODGUISettings",JSON.stringify({...JSON.parse(localStorage.getItem("JODGUISettings")||"{}"),cheatList:e}))}},{name:"Info Color",description:"Changes the color of the information at the top of the GUI",inputs:[{type:"string",name:"Color"}],run:function(e){o.sheet.cssRules[0].style.setProperty("--infoColor",e),localStorage.setItem("JODGUISettings",JSON.stringify({...JSON.parse(localStorage.getItem("JODGUISettings")||"{}"),infoColor:e}))}},{name:"Button Color",description:"Changes the color of the cheats",inputs:[{type:"string",name:"Color"}],run:function(e){o.sheet.cssRules[0].style.setProperty("--defaultButton",e),localStorage.setItem("JODGUISettings",JSON.stringify({...JSON.parse(localStorage.getItem("JODGUISettings")||"{}"),defaultButton:e}))}},{name:"Enabled Toggle Color",description:"Changes the color of enabled toggle cheats",inputs:[{type:"string",name:"Color"}],run:function(e){o.sheet.cssRules[0].style.setProperty("--enabledButton",e),localStorage.setItem("JODGUISettings",JSON.stringify({...JSON.parse(localStorage.getItem("JODGUISettings")||"{}"),enabledButton:e}))}},{name:"Disabled Toggle Color",description:"Changes the color of disabled toggle cheats",inputs:[{type:"string",name:"Color"}],run:function(e){o.sheet.cssRules[0].style.setProperty("--disabledButton",e),localStorage.setItem("JODGUISettings",JSON.stringify({...JSON.parse(localStorage.getItem("JODGUISettings")||"{}"),disabledButton:e}))}},{name:"Text Color (Type white for default)",description:"Changes the text color",inputs:[{type:"string",name:"Color"}],run:function(e){o.sheet.cssRules[0].style.setProperty("--textColor",e),localStorage.setItem("JODGUISettings",JSON.stringify({...JSON.parse(localStorage.getItem("JODGUISettings")||"{}"),textColor:e}))}},{name:"Input Color",description:"Changes the color of inputs, like the set gold number input",inputs:[{type:"string",name:"Color"}],run:function(e){o.sheet.cssRules[0].style.setProperty("--inputColor",e),localStorage.setItem("JODGUISettings",JSON.stringify({...JSON.parse(localStorage.getItem("JODGUISettings")||"{}"),inputColor:e}))}},{name:"Content Color",description:"Changes the background color of the cheats",inputs:[{type:"string",name:"Color"}],run:function(e){o.sheet.cssRules[0].style.setProperty("--contentBackground",e),localStorage.setItem("JODGUISettings",JSON.stringify({...JSON.parse(localStorage.getItem("JODGUISettings")||"{}"),contentBackground:e}))}}],alerts:[{element:t("div",{className:"alertContainer",style:{margin:"15px 15px 5px 15px",backgroundColor:"rgb(0 0 0 / 50%)",width:"95%",height:"370px",borderRadius:"7px",display:"flex",alignItems:"center",justifyContent:"center"}},t("span",{innerText:"Join a game with alerts to use this tab\n(Gold Quest, Crypto Hack, Fishing Frenzy, Deceptive Dinos, Cafe, Factory)",style:{textAlign:"center"}})),addAlert:function(e,a,o){return this.element.firstChild.prepend(t("li",{style:{margin:"5px 5px 5px 5px"}},t("img",{src:a,alt:"blook",draggable:!1,style:{height:"22.5px",margin:"0 10px -5px 0"}}),t("strong",{},e)," ",o))},connection:null,data:{},async connect(){try{let{stateNode:e}=Object.values(document.querySelector("#app > div > div"))[1].children[0]._owner;if(!e?.props?.liveGameController?.liveGameCode||!["gold","hack","fishing","dino","cafe","factory"].includes(this.getGamemode()))return!1;this.element.innerHTML="",this.element.style.display="block",this.element.append(t("ul",{className:"alertList",style:{margin:"10px 10px 0 10px",padding:"0",listStyleType:"none",display:"flex",flexDirection:"column-reverse",height:"355px",overflowY:"scroll",wordWrap:"break-word"}})),this.connection=await e.props.liveGameController.getDatabaseRef("c");let a=Object.values(webpackJsonp.push([[],{""(e,t,a){t.cache=a.c}},[[""]],]).cache).find(e=>e.exports?.a?.Alice&&e.exports?.a?.Alien).exports.a,o=this.getGamemode(),i={lb:"Lunch Break",as:"Ad Spam",e37:"Error 37",nt:"Night Time",lo:"#LOL",j:"Jokester",sm:"Slow Mo",dp:"Dance Party",v:"Vortex",r:"Reverse",f:"Flip",m:"Micro"};this.connection.on("value",e=>{let t=e.val()||{};if(!t||!this.diffObjects(this.data,t))return;let s=this.diffObjects(this.data,t);switch(this.data=t,o){case"gold":for(let r in s){if(!s[r].tat)continue;let[n,l]=s[r].tat.split(":");"swap"==l?this.addAlert(r,a[t[r].b]?.url,%60just swapped with ${n}%60):this.addAlert(r,a[t[r].b]?.url,%60just took ${l} gold from ${n}%60)}break;case"hack":for(let c in s){if(!s[c].tat)continue;let[d,p]=s[c].tat.split(":");this.addAlert(c,a[t[c].b]?.url,%60just took ${p} crypto from ${d}%60)}break;case"fishing":for(let u in s)"Frenzy"==s[u].f?this.addAlert(u,a[t[u].b]?.url,"just started a frenzy"):s[u].s&&this.addAlert(u,a[t[u].b]?.url,%60just sent a ${s[u].f} distraction%60);break;case"dino":for(let m in s){if(!s[m].tat)continue;let[h,$]=s[m].tat.split(":");"true"==$?this.addAlert(m,a[t[m].b]?.url,%60just caught ${h} CHEATING!%60):this.addAlert(m,a[t[m].b]?.url,%60investigated ${h}%60)}break;case"cafe":for(let g in s){if(!s[g].up)continue;let[,y]=s[g].up.split(":");y&&this.addAlert(g,a[t[g].b]?.url,%60upgraded ${} to level ${y}%60)}break;case"factory":for(let v in s){let f=s[v];if(f.g&&this.addAlert(v,a[t[v].b]?.url,%60activated the ${i[f.g]} glitch!%60),f.s){let[b,w]=f.s.split("-");this.addAlert(v,a[t[v].b]?.url,%60has a ${b} ${w} synergy!%60)}else f.t&&this.addAlert(v,a[t[v].b]?.url,"now has 10 Blooks!")}}})}catch{return!1}},diffObjects(e,t){let a={};for(let o in e)if(o in t){if("object"==typeof e[o]&&"object"==typeof t[o]){let i=this.diffObjects(e[o],t[o]);i&&0!==Object.keys(i).length&&(a[o]=i)}else JSON.stringify(e[o])!==JSON.stringify(t[o])&&(a[o]=t[o])}for(let s in t)s in e||(a[s]=t[s]);return 0==Object.keys(a).length?null:a},getGamemode(){switch(window.location.pathname){case"/play/racing":return"racing";case"/play/factory":return"factory";case"/play/classic/get-ready":case"/play/classic/question":case"/play/classic/answer/sent":case"/play/classic/answer/result":case"/play/classic/standings":return"classic";case"/play/battle-royale/match/preview":case"/play/battle-royale/question":case"/play/battle-royale/answer/sent":case"/play/battle-royale/answer/result":case"/play/battle-royale/match/result":return"royale";case"/play/toy":return"workshop";case"/play/gold":return"gold";case"/play/brawl":return"brawl";case"/play/hack":return"hack";case"/play/fishing":return"fishing";case"/play/rush":return"rush";case"/play/dino":return"dino";case"/tower/map":case"/tower/battle":case"/tower/rest":case"/tower/risk":case"/tower/shop":case"/tower/victory":return"doom";case"/cafe":case"/cafe/shop":return"cafe";case"/defense":return"defense";case"/kingdom":return"kingdom";default:return!1}}}]};function y(e,t){var a=0,o=0,i=0,s=0;e.onpointerdown=function(e=window.event){i=e.clientX,s=e.clientY,document.onpointerup=function(){document.onpointerup=null,document.onpointermove=null},document.onpointermove=function(e=window.event){a=i-e.clientX,o=s-e.clientY,i=e.clientX,s=e.clientY,t.style.top=t.offsetTop-o/1+"px",t.style.left=t.offsetLeft-a/1+"px"}}}$("Alerts",null,.alerts,!0),$("Global","https://media.blooket.com/image/upload/v1661496291/Media/uiTest/Games_Played_2.svg",_.global)(),$("Gold Quest","https://media.blooket.com/image/upload/v1661496292/Media/uiTest/Gold.svg",_.gold),$("Cafe","https://media.blooket.com/image/upload/v1655161189/Media/survivor/Pizza_lvl1.svg",_.cafe),$("Crypto Hack","https://media.blooket.com/image/upload/v1661496293/Media/uiTest/CryptoIcon.svg",_.crypto),$('Deceptive Dinos',['
'],_.dinos),$('Tower Defense',['
'],.defense),$('Tower Defense 2',['
'],.defense2),$("Factory","https://media.blooket.com/image/upload/v1661496293/Media/uiTest/Factory_Upgrades.svg",_.factory),$('Fishing Frenzy',"https://media.blooket.com/image/upload/v1661496295/Media/uiTest/Fish_Weight.svg",_.fishing),$("Flappy Blook","https://media.blooket.com/image/upload/v1645222006/Blooks/yellowBird.svg",_.flappy),$('Tower of Doom',['
'],_.doom),$('Crazy Kingdom',"https://media.blooket.com/image/upload/v1655161323/Media/survivor/Jester_lvl1.svg",_.kingdom),$("Racing","https://media.blooket.com/image/upload/v1661496295/Media/uiTest/Racing_Progress.svg",_.racing),$("Battle Royale","https://media.blooket.com/image/upload/v1655936179/Media/br/VS_Lightning_Bolt_Bottom.svg",_.royale),$("Blook Rush","data:image/png;base64,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",_.rush),$('Monster Brawl',['
'],.brawl),$('Santa\'s Workshop',['
'],.workshop),$("Settings",null,.settings,!0),y(r,m),y(l,m),window.addEventListener("keydown",b);let v=setInterval(()=>{.alerts[0].connection?clearInterval(v):.alerts[0].connect()},5e3);function f(){for(let e in m.remove(),clearInterval(v),)for(let t of [e])t.enabled&&t.run();Object.keys().forEach(e=>_[e].forEach(e=>e.enabled&&(e.run(),g(...currentMode)))),window.removeEventListener("keydown",b)}function b(e){e.ctrlKey&&("e"==e.key.toLowerCase()?(e.preventDefault(),m.style.display="block"===m.style.display?"none":"block"):"x"==e.key.toLowerCase()&&(e.preventDefault(),f()))}m.addEventListener("mousemove",e=>{if("cheatName"!=e.target.className&&"scriptButton"!=e.target.className){"0"!=d.style.opacity&&(d.animate([{opacity:.9},{opacity:0}],{duration:200}),d.style.opacity="0");return}let t="scriptButton"==e.target.className?e.target:e.target.parentElement;if(d.innerText==t.dataset.description&&"0.9"==d.style.opacity)return;let a=t.getBoundingClientRect(),o=t.offsetParent.getBoundingClientRect();d.innerText=t.dataset.description,"0"==d.style.opacity&&(d.animate([{opacity:0},{opacity:.9}],{duration:200}),d.style.opacity="0.9"),d.style.left=a.x-o.x+(a.width-d.clientWidth)/2+"px",d.style.top=a.y-o.y+a.height+"px"})}})})();
Please respond fast.
when i put the code in it says unexpected token