/* All terms found in the following link apply: https://github.com/05Konz/Blooket-Cheats/blob/main/LICENSE */ (()=>{let c=document.querySelector("iframe");c.contentWindow.console.log.call(window,"%c Blooket Cheats %c\n\tBy 05Konz on GitHub","color: #0bc2cf; font-size: 3rem","color: #8000ff; font-size: 1rem"),c.contentWindow.console.log.call(window,"%c\tautoChoose.js","color: #0bc2cf; font-size: 1rem"),c.contentWindow.console.log.call(window,"%c\tStar the github repo!%c https://github.com/05Konz/Blooket-Cheats","color: #ffd000; font-size: 1rem","");const l=async()=>{try{let a=Object.values(document.querySelector("[class*='camelCase']").parentElement)[1].children[0]._owner["stateNode"];if("prize"===a.state.stage){var s=Object.entries(await new Promise(t=>a.props.liveGameController.getDatabaseVal("c",e=>e&&t(e)))||[]).filter(e=>e[0]!=a.props.client.name).sort((e,t)=>t[1].g-e[1].g)[0]?.[1]?.g||0;let o=0;index=-1;for(let t=0;t(r.src=null,l())})();