window.iReadyFramework={utils:{},ui:{},cookieUtil:{},hook:{},lesson:{csidTypes:{}},routes:{}},window.url=window.location.href,iReadyFramework.user=dashboardJson,iReadyFramework.utils.iReadyURL="https://login.i-ready.com/student/dashboard/home",iReadyFramework.utils.dragElement=e=>{var t=0,n=0,s=0,o=0;function a(e){(e=e||window.event).preventDefault(),s=e.clientX,o=e.clientY,document.onmouseup=r,document.onmousemove=i}function i(a){(a=a||window.event).preventDefault(),t=s-a.clientX,n=o-a.clientY,s=a.clientX,o=a.clientY,e.style.top=e.offsetTop-n+"px",e.style.left=e.offsetLeft-t+"px"}function r(){document.onmouseup=null,document.onmousemove=null}document.getElementById(e.id+"header")?document.getElementById(e.id+"header").onmousedown=a:e.onmousedown=a},iReadyFramework.utils.addScript=scriptURL=>fetch(scriptURL).then(e=>e.text()).then(r=>eval(r)),iReadyFramework.utils.goToDashboard=()=>goto("/student/dashboard/home/"),iReadyFramework.utils.isType=e=>Object.prototype.toString.call(e).slice(8,-1),iReadyFramework.utils.delDuplicates=e=>[...new Set(e)],iReadyFramework.utils.isNull=e=>null==e,iReadyFramework.utils.copyToClipboard=e=>navigator.clipboard.writeText(e),iReadyFramework.utils.randomNumberInRange=(e=0,t=100)=>Math.floor(Math.random()*(t-e+1))+e,iReadyFramework.utils.toggleElementDisplay=e=>e.style.display="none"===e.style.display?"block":"none",iReadyFramework.utils.appendScript=e=>{document.body.appendChild(Object.assign(document.createElement("script"),{src:e,onerror:console.error}))},iReadyFramework.ui.closeModal=()=>{goto("/student/dashboard/home/"),clearInterval(interval)},iReadyFramework.ui.getModal=()=>document.getElementsByClassName("css-1w7vrn4 enj526p0")[0],iReadyFramework.ui.openTempModal=()=>goto("/student/error/lockDownBrowserLoader"),iReadyFramework.ui.openModal=(e,t,n,s)=>{iReadyFramework.ui.openTempModal(),setInterval(function(){try{null!=iReadyFramework.ui.getModal().innerText&&(document.getElementsByClassName("css-1w7vrn4 enj526p0")[0].innerHTML=e,document.getElementsByClassName("css-msv3yz enj526p0")[0].innerHTML=t,document.getElementById("continue-button-button").onclick=n)}catch(s){}},10)},iReadyFramework.cookieUtil.setCookie=(e,t,n)=>{var s="";if(n){var o=new Date;o.setTime(o.getTime()+24*n*36e5),s="; expires="+o.toUTCString()}document.cookie=e+"="+(t||"")+s+"; path=/"},iReadyFramework.cookieUtil.getCookie=e=>{for(var t=e+"=",n=document.cookie.split(";"),s=0;s{window[e]=t},iReadyFramework.hook.exposeObj=e=>{debug(e),e()},iReadyFramework.hook.createHook=(e,t,n)=>{let s=e[t];e[t]=function(...e){let t=s.apply(this,e);return t&&"function"==typeof t.then?t.then(t=>(n([t,e]),t)):(n([t,e]),t)}},iReadyFramework.lesson.isOpen=()=>(window.html5Iframe,!1),iReadyFramework.lesson.frame=()=>html5Iframe.contentWindow,iReadyFramework.lesson.env=()=>html5Iframe.contentWindow.env,iReadyFramework.lesson.csid=()=>html5Iframe.src.split("csid=")[1].split("&type")[0],iReadyFramework.lesson.subject=()=>html5Iframe.src.split("csid=")[1].split("&type")[0].split("DI.")[1].split(".")[0],iReadyFramework.lesson.data=()=>html5Iframe.contentWindow.com.cainc.ifabric.lessonReport.collectReportData(),iReadyFramework.lesson.part=()=>html5Iframe.src.split("&type=")[1].split("#")[0],iReadyFramework.lesson.csidTypes.ela={PhonologicalAwareness:"DI.ELA.PA",Phonics:"DI.ELA.PH",HighFrequencyWords:"DI.ELA.HFW",Vocabulary:"DI.ELA.VOC",ComprehensionLiterature:"DI.ELA.COM.LIT",ComprehensionInformationalText:"DI.ELA.COM.INFO"},iReadyFramework.lesson.csidTypes.math={NumberAndOperations:"DI.MATH.NO",AlgebraAndAlgebraicThinking:"DI.MATH.AL",MeasurementAndData:"DI.MATH.MS",Geometry:"DI.MATH.GEO"},iReadyFramework.lesson.cheatStore={getCheat:function(e){return iReadyFramework.lesson.frame().window.localStorage.setItem("cheats",iReadyFramework.lesson.frame().window.localStorage.getItem("cheats")??"{}"),JSON.parse(iReadyFramework.lesson.frame().window.localStorage.getItem("cheats"))[e]},setCheat:function(e,t){iReadyFramework.lesson.frame().window.localStorage.setItem("cheats",iReadyFramework.lesson.frame().window.localStorage.getItem("cheats")??"{}");let n=JSON.parse(iReadyFramework.lesson.frame().window.localStorage.getItem("cheats"));n[e]=t,iReadyFramework.lesson.frame().window.localStorage.setItem("cheats",JSON.stringify(n))},get getAll(){return iReadyFramework.lesson.frame().window.localStorage.setItem("cheats",iReadyFramework.lesson.frame().window.localStorage.getItem("cheats")??"{}"),JSON.parse(iReadyFramework.lesson.frame().window.localStorage.getItem("cheats"))},clear:function(){html5Iframe.contentWindow.localStorage.clear()},refresh:function(){html5Iframe.contentWindow.document.getElementById("settings-gear").click(),html5Iframe.contentWindow.document.getElementById("cancelBtn").click()}},iReadyFramework.routes={"@@ROUTER@@/":"/","@@ROUTER@@/login":"/login","@@ROUTER@@/login/assistance":"/login/assistance","@@ROUTER@@/login/blacklistedmessage":"/login/blacklistedmessage","@@ROUTER@@/login/clever/error/:status?":"/login/clever/error/:status?","@@ROUTER@@/login/clever/error/S612":"/login/clever/error/S612","@@ROUTER@@/login/educatorIOS13GrayListed":"/login/educatorIOS13GrayListed","@@ROUTER@@/login/error/:status?":"/login/error/:status?","@@ROUTER@@/login/k1":"/login/k1","@@ROUTER@@/login/k1/class/:classCode/letter/:letter?":"/login/k1/class/:classCode/letter/:letter?","@@ROUTER@@/login/k1/class/:classCode/letter/:letter?/student/:studentId":"/login/k1/class/:classCode/letter/:letter?/student/:studentId","@@ROUTER@@/login/k1/class/:classCode/selectLetter":"/login/k1/class/:classCode/selectLetter","@@ROUTER@@/login/login_interstitial":"/login/login_interstitial","@@ROUTER@@/login/login_interstitial_main":"/login/login_interstitial_main","@@ROUTER@@/login/oneroster/error/:status?":"/login/oneroster/error/:status?","@@ROUTER@@/login/oneroster/error/S612":"/login/oneroster/error/S612","@@ROUTER@@/login/passwordexpiredmessage":"/login/passwordexpiredmessage","@@ROUTER@@/login/resetemail":"/login/resetemail","@@ROUTER@@/login/resetpassword/:token":"/login/resetpassword/:token","@@ROUTER@@/login/resetpassword/invalidtoken":"/login/resetpassword/invalidtoken","@@ROUTER@@/login/sso/error/:status?":"/login/sso/error/:status?","@@ROUTER@@/login/sso/error/S612":"/login/sso/error/S612","@@ROUTER@@/login/support":"/login/support","@@ROUTER@@/student":"/student","@@ROUTER@@/student/ActivityLaunchPage":"/student/ActivityLaunchPage","@@ROUTER@@/student/assessment/completed/:assessmentType/:score?":"/student/assessment/completed/:assessmentType/:score?","@@ROUTER@@/student/book":"/student/book","@@ROUTER@@/student/dashboard/assessment/lockdownbrowser/:subject?":"/student/dashboard/assessment/lockdownbrowser/:subject?","@@ROUTER@@/student/dashboard/home":"/student/dashboard/home","@@ROUTER@@/student/dashboard/ssolaunch/:ssotype?":"/student/dashboard/ssolaunch/:ssotype?","@@ROUTER@@/student/error/:errorReason?":"/student/error/:errorReason?","@@ROUTER@@/student/gameLauncherPage":"/student/gameLauncherPage","@@ROUTER@@/student/learningGamePlayerPage":"/student/learningGamePlayerPage","@@ROUTER@@/student/lesson/completed/:isPassingScore/:score?":"/student/lesson/completed/:isPassingScore/:score?","@@ROUTER@@/student/lesson/paused":"/student/lesson/paused","@@ROUTER@@/student/lockDownBrowserLoader":"/student/lockDownBrowserLoader","@@ROUTER@@/student/mathFluencyPlayerPage":"/student/mathFluencyPlayerPage"};let injectionError=()=>iReadyFramework.ui.openModal("Error","You injected after opening a lesson.",location.reload);const github="https://raw.githubusercontent.com/flowingsalt/Refine/main/",iReadyVer="release-13.5.x/2",UI=document.createElement("div");UI.innerHTML='
';let asked_time=0,welcomeModalSeen=!1,timer_interval,time,timeout_error,activated,activatedgames=!1,backgroundprompt,nameprompt,interval,currentName=document.getElementsByClassName("css-1ii68kw e15psnz1")[0].innerText;const links={app24:github+"app-24.chunk.js",app21:github+"app-21.chunk.js",app24OG:"https://cdn.i-ready.com/instruction/student-dashboard/"+iReadyVer+"/static/js/app-24.chunk.js"},moduleNames={minfarm:"Minute Farmer",farmer_id:document.getElementById("i-Ready-Farmer")};timer_interval=setInterval(function(){!0==activated&&(asked_time++,setTextStop(),asked_time>=time&&(p2(),setTextStart(),asked_time=0,setTimeout(stop_alert,3e3)))},6e4),void 0===window.html5Iframe||null===window.html5Iframe?(fetch(links.app24).then(e=>e.text()).then(r=>eval(r)),fetch(links.app21).then(e=>e.text()).then(r=>eval(r))):(injectionError(),welcomeModalOpen=!0),window.yes=function(){void 0===window.html5Iframe||null===window.html5Iframe&&void 0===window.lessonBridge||null===window.lessonBridge||null!=document.querySelector("#lesson-splash-objectives-button")?alert("Please (FULLY) open a lesson."):(lessonBridge.start(),p1.completeLessonComponent(iReadyFramework.lesson.csid(),{score:prompt("What score would you like?")}))};let welcomeModalOpen=()=>{window.protectedClose=function(){try{iReadyFramework.ui.closeModal()}catch(e){}},window.welcomeModal={},window.welcomeModal.title='
BemanX 1.0
',window.welcomeModal.description='
Update log:
- New Lesson Skipper
- New Minutes Farmer
- Theme Manager (you can pick your panel theme!)
',window.welcomeModal.modal=iReadyFramework.ui.openModal(welcomeModal.title,welcomeModal.description,protectedClose,!0)};function setTextStop(){document.getElementById("i-Ready-Farmer").textContent="Farmed: "+asked_time+" (Click To Stop)",document.getElementById("i-Ready-Farmer").onclick=stop_farmer}function setTextStart(){document.getElementById("i-Ready-Farmer").textContent=moduleNames.minfarm,document.getElementById("i-Ready-Farmer").onclick=minFarmer}function minFarmer(){void 0===window.html5Iframe||null===window.html5Iframe&&void 0===window.lessonBridge||null===window.lessonBridge||null!=document.querySelector("#lesson-splash-objectives-button")?alert("Please (FULLY) open a lesson."):(time=prompt("How many minutes do you want?"),activated=!0,alert("Farmer has started, do NOT exit out of this tab or you minutes WILL NOT SAVE, You may go off tab or off window or afk. When you want to stop the minute farmer, click stop or else your minutes will not save."),lessonBridge.start(),p1.returnToDashboardHome(),p3(),setTextStop())}function stop_alert(){alert("Farmer finished, Succesfully earned "+time+" minutes. (i-ready will reload now.)"),location.reload()}function stop_farmer(){p2(),alert("Farmer finished, Succesfully earned "+asked_time+" minutes."),location.reload(),setTextStart(),asked_time=0,clearInterval(timer_interval)}function open_tutorial(){!0===confirm("This button will send you to the creators website. Ok?")&&open("")}function open_discord(){open("https://google.com")}function open_misc(){"grid"==document.querySelector("#misclauncher").style.display?document.querySelector("#misclauncher").style.display="none":document.querySelector("#misclauncher").style.display="grid"}function changeToTheme(e){function t(e){document.getElementsByClassName("Launcher").forEach(t=>{t.style.outline=e})}switch(window.localStorage.setItem("theme",e),e){case"default":document.querySelector("#bruh").innerHTML="@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500&family=Tilt+Neon&display=swap');.title {font-family: 'Nunito', sans-serif;font-size: 30px;color: white }.bottomTitle {font-family: 'Nunito', sans-serif;font-size: 15px;margin-top: -0.7rem;}.button {font-family: 'Nunito', sans-serif;border: none;color: white;text-align: center;font-size: 16px;cursor: pointer;-webkit-transition-duration: 0.4s;transition-duration: 0.4s;width: 100%;text-align: center;color: white;background-color: black;}.button:hover {color: black;background-color: grey }.button:active {background-color: black;}.center {display: block;margin-left: auto;margin-right: auto;}",t("gray solid 2px"),document.querySelector("#nullicon").src="";break;case"red":document.querySelector("#bruh").innerHTML="@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500&family=Tilt+Neon&display=swap');.title {font-family: 'Nunito', sans-serif;font-size: 30px;color: #b10000 }.bottomTitle {font-family: 'Nunito', sans-serif;font-size: 15px;margin-top: -0.7rem;color: #b10000 }.button {font-family: 'Nunito', sans-serif;border: none;color: #b10000;text-align: center;font-size: 16px;cursor: pointer;-webkit-transition-duration: 0.4s;transition-duration: 0.4s;width: 100%;text-align: center;color: #b10000;background-color: black;}.button:hover {color: black;background-color: grey }.button:active {background-color: black;}.center {display: block;margin-left: auto;margin-right: auto;}",t("#b10000 solid 2px"),document.querySelector("#nullicon").src="";break;case"purple":document.querySelector("#bruh").innerHTML="@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500&family=Tilt+Neon&display=swap');.title {font-family: 'Nunito', sans-serif;font-size: 30px;color: #4446b5 }.bottomTitle {font-family: 'Nunito', sans-serif;font-size: 15px;margin-top: -0.7rem;color: #4446b5 }.button {font-family: 'Nunito', sans-serif;border: none;color: #4446b5;text-align: center;font-size: 16px;cursor: pointer;-webkit-transition-duration: 0.4s;transition-duration: 0.4s;width: 100%;text-align: center;color: #4446b5;background-color: black;}.button:hover {color: black;background-color: grey }.button:active {background-color: black;}.center {display: block;margin-left: auto;margin-right: auto;}",t("#1d264d solid 2px"),document.querySelector("#nullicon").src="";break;case"blue":document.querySelector("#bruh").innerHTML="@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500&family=Tilt+Neon&display=swap');.title {font-family: 'Nunito', sans-serif;font-size: 30px;color: #0540d5 }.bottomTitle {font-family: 'Nunito', sans-serif;font-size: 15px;margin-top: -0.7rem;color: #0540d5 }.button {font-family: 'Nunito', sans-serif;border: none;color: #0540d5;text-align: center;font-size: 16px;cursor: pointer;-webkit-transition-duration: 0.4s;transition-duration: 0.4s;width: 100%;text-align: center;color: #0540d5;background-color: black;}.button:hover {color: black;background-color: grey }.button:active {background-color: black;}.center {display: block;margin-left: auto;margin-right: auto;}",t("#0032b0 solid 2px"),document.querySelector("#nullicon").src="";break;case"green":document.querySelector("#bruh").innerHTML="@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500&family=Tilt+Neon&display=swap');.title {font-family: 'Nunito', sans-serif;font-size: 30px;color: green }.bottomTitle {font-family: 'Nunito', sans-serif;font-size: 15px;margin-top: -0.7rem;color: green }.button {font-family: 'Nunito', sans-serif;border: none;color: green;text-align: center;font-size: 16px;cursor: pointer;-webkit-transition-duration: 0.4s;transition-duration: 0.4s;width: 100%;text-align: center;color: green;background-color: black;}.button:hover {color: black;background-color: grey }.button:active {background-color: black;}.center {display: block;margin-left: auto;margin-right: auto;}",t("#146c18 solid 2px"),document.querySelector("#nullicon").src="";break;case"cherryblossom":document.querySelector("#bruh").innerHTML="@import url('https://fonts.googleapis.com/css2?family=Tilt+Neon&display=swap');.title {font-family: 'Tilt Neon', sans-serif;font-size: 30px;color: pink }.bottomTitle {font-family: 'Tilt Neon', sans-serif;font-size: 15px;margin-top: -0.7rem;color: pink }.button {font-family: 'Tilt Neon', sans-serif;border: none;color: white;text-align: center;font-size: 16px;cursor: pointer;-webkit-transition-duration: 0.4s;transition-duration: 0.4s;width: 100%;text-align: center;color: pink;background-color: black;}.button:hover {color: black;background-color: grey }.button:active {background-color: black;}.center {display: block;margin-left: auto;margin-right: auto;}",t("#ffb7c5 solid 2px"),document.querySelector("#nullicon").src=""}}function themes(){"grid"==document.querySelector("#themeslauncher").style.display?document.querySelector("#themeslauncher").style.display="none":document.querySelector("#themeslauncher").style.display="grid"}function changeName(){void 0===(nameprompt=prompt("What name do you want?"))||null===nameprompt?console.log("Canceled."):setInterval(function(){try{document.getElementsByClassName("css-1ii68kw e15psnz1")[0].innerHTML=nameprompt}catch(e){}},1)}function freeGames(){let e={createspan0:document.createElement("span"),createspan1:document.createElement("span"),createspan2:document.createElement("span"),createspan3:document.createElement("span"),createspan4:document.createElement("span"),createspan5:document.createElement("span")},t=["AW-BeGooped","AW-Cat_Stacker","AW-Path_Spinners","AW-Galaxy_Sprint","AW-Wizard_Pinball","AW-Dig_Site"],n="node_modules--cainc-cauliflower-src-components-layout-___Layout__layout-grid css-11qrkq2 evuck0s0";e.createspan0.innerHTML='',e.createspan1.innerHTML='',e.createspan2.innerHTML='',e.createspan3.innerHTML='',e.createspan4.innerHTML='',e.createspan5.innerHTML='',setInterval(function(){try{for(x=0;x<6;x++)document.getElementById(t[x]).remove();document.getElementsByClassName(n)[0].appendChild(e.createspan0),document.getElementsByClassName(n)[0].appendChild(e.createspan1),document.getElementsByClassName(n)[0].appendChild(e.createspan2),document.getElementsByClassName(n)[0].appendChild(e.createspan3),document.getElementsByClassName(n)[0].appendChild(e.createspan4),document.getElementsByClassName(n)[0].appendChild(e.createspan5),document.getElementById("bemod").addEventListener("click",function(){window.open("https://cdn.i-ready.com/instruction/game-begooped/1.3.x/2/","_blank")}),document.getElementById("catmod").addEventListener("click",function(){window.open("https://cdn.i-ready.com/instruction/game-catstacker/1.6.x/2/","_blank")}),document.getElementById("pathmod").addEventListener("click",function(){window.open("https://cdn.i-ready.com/instruction/game-hpr/1.4.x/2/","_blank")}),document.getElementById("galaxymod").addEventListener("click",function(){window.open("https://cdn.i-ready.com/instruction/reward-games/v1.3.x/2/game-lanerunner/","_blank")}),document.getElementById("wizardmod").addEventListener("click",function(){window.open("https://cdn.i-ready.com/instruction/reward-games/v1.3.x/2/game-bubbles/","_blank")}),document.getElementById("digmod").addEventListener("click",function(){window.open("https://cdn.i-ready.com/instruction/reward-games/v1.3.x/2/game-minedigger/","_blank")})}catch(s){}},1)}function changeBackground(){void 0===(backgroundprompt=prompt("What background do you want? Put in a url"))||null===backgroundprompt?console.log("Canceled."):setInterval(function(){try{document.querySelector("#background-image").src!==backgroundprompt&&(document.querySelector("#background-image").src=`${backgroundprompt}`)}catch(e){}},1)}function dragElement(e){var t=0,n=0,s=0,o=0;function a(e){(e=e||window.event).preventDefault(),s=e.clientX,o=e.clientY,document.onmouseup=r,document.onmousemove=i}function i(a){(a=a||window.event).preventDefault(),t=s-a.clientX,n=o-a.clientY,s=a.clientX,o=a.clientY,e.style.top=e.offsetTop-n+"px",e.style.left=e.offsetLeft-t+"px"}function r(){document.onmouseup=null,document.onmousemove=null}document.getElementById(e.id+"header")?document.getElementById(e.id+"header").onmousedown=a:e.onmousedown=a}!1==welcomeModalSeen&&(welcomeModalOpen(),welcomeModalSeen=!0),UI.innerHTML=`

BemanX

1.0


`,document.body.appendChild(UI),dragElement(UI.firstElementChild);let misc=document.createElement("div");misc.innerHTML=``,UI.appendChild(misc),dragElement(document.getElementById("misclauncher"));let theme=document.createElement("div");theme.innerHTML=` `,UI.appendChild(theme),dragElement(document.getElementById("themeslauncher")),null!=localStorage.getItem("theme")&&changeToTheme(localStorage.getItem("theme"));let msg="%c Nullify has been injected!",styles="font-size: 12px;font-family: monospace;background: white;display: inline-block;color: black;padding: 8px 19px;border: 1px dashed;",functionsScript=document.createElement("script");functionsScript.innerHTML=`${open_discord.toString()} ${open_tutorial.toString()} ${stop_farmer.toString()} ${stop_alert.toString()} ${themes.toString()} ${dragElement.toString()} ${open_tutorial.toString()} ${changeToTheme.toString()} ${welcomeModalOpen.toString()} ${open_misc.toString()} ${minFarmer.toString()} ${setTextStart.toString()} ${setTextStop.toString()} ${changeName.toString()} ${changeBackground.toString()} ${freeGames.toString()}`,document.body.appendChild(functionsScript);