From 82b22b1bbfc96d47e9d166939e446e602a5fe2f2 Mon Sep 17 00:00:00 2001
From: gemsvido Join our Discord https://dsc.gg/ProdigyPNP! \n This is free and open-source software.\n If you paid for this or accessed this behind a paywall/AdFly link, demand a refund. If you sell this software, or otherwise make a commercial advantage from it, you are violating\n our license.\n \n You need to agree to our license to use our hacks. If you changed your mind and now agree to our license, reload Prodigy.\n WE DID IT!! PHEx 3.0.0 IS NOW RELESED!!!
Proceed?",icon:"warning"})).value){var e,t=parseInt((yield o.NumberInput.fire({title:"Amount",text:"How many of each would you like?",icon:"question",inputValidator:e=>e?"":"Please select which you'd like to get."})).value);if(!isNaN(t))return Array.from(a._.instance.prodigy.gameContainer._inversifyContainer._bindingDictionary._map).forEach((t=>{try{a._.instance.prodigy.gameContainer.get(t[0]).battleData&&(e=t[0])}catch(e){console.log("Error for ".concat(t[0]))}})),a._.instance.prodigy.gameContainer.get(e).battleData._secureCharacterState._data.inventory.orb=(0,r.runeify)(a._.gameData.orb,t),o.Toast.fire("Runes Added!","Your runes have been added!","success")}}))),new n.Hack(n.category.beta,"Edit Pet [BETA]","Edit a pet.").setClick(s((function*(){if(!(yield o.Confirm.fire({title:"Hang on!",html:"This hack may damage your account with various bugs, for example you may be unable to do Rune Run.
Proceed?",icon:"warning"})).value)return console.log("Cancelled.");var e=yield(0,r.getPet)("Choose the pet to edit.");if(void 0!==e){var t=a._.player.kennel.data[e],n=yield o.Swal.fire({input:"select",inputOptions:{level:"Level",attacks:"Attacks",name:"Name"},title:"Edit Property",text:"What do you want to edit?"});if(void 0!==n.value){if("level"===n.value){var s=yield o.NumberInput.fire("Level Number","What level do you want to set your pet to?","question");if(void 0===s.value)return;return t.level=+s.value,o.Toast.fire("Success!","The pet's level has been set.","success")}if("attacks"===n.value){var i=a._.gameData.spell,c=document.createElement("div"),l=document.createElement("select");for(var u of(l.classList.add("selectSpell"),i)){var d=document.createElement("option");d.value=u.ID.toString(),d.innerText="".concat(u.ID,": ").concat(u.name," (").concat(u.data.element,") - Damage: ").concat(u.data.damage),l.options.add(d)}c.append(l),c.append(l.cloneNode(!0));var p=yield o.Swal.fire({title:"Attack List",focusConfirm:!1,showCancelButton:!0,html:c,preConfirm:()=>Array.prototype.slice.call(document.querySelectorAll(".selectSpell")).map((e=>e.options[e.selectedIndex].value))});if(void 0===p.value)return;return t.foreignSpells.splice(0,2,...p.value.map((e=>+e))),o.Toast.fire("Attacks updated!","The attack list of the pet you selected has been edited.","success")}if("name"===n.value){var h=yield o.Input.fire("Input Name","What do you want to name the pet?","question");if(void 0===h.value)return;return t.nickname=h.value,o.Toast.fire("Successfully renamed!","The name of the pet has been changed.","success")}}}}))),new n.Hack(n.category.beta,"Morph Player [BETA]","Morph into a pet, furnishing, or follow.").setClick(s((function*(){if(!(yield o.Confirm.fire("This hack is in BETA","Expect bugs, and it might not work properly.")).value)return console.log("Cancelled");var e=yield o.Swal.fire({title:"Which morph type?",input:"select",inputOptions:{pet:"Pet",dorm:"Furniture",follow:"Follow"},inputPlaceholder:"Morph Type",inputValidator:e=>e?"":"Please select a morph type.",showCancelButton:!0});if(null!=e&&e.value){var t={};a._.gameData[e.value].forEach((e=>t[e.ID]="".concat(e.name," (").concat(e.ID,")")));var n=yield o.Swal.fire({title:"Which morph?",input:"select",inputOptions:t,inputPlaceholder:"Morph ID",inputValidator:e=>e?"":"Please select a morph ID.",showCancelButton:!0});if(null!=n&&n.value)return a._.player.getPlayerData().playerTransformation={transformType:e.value,transformID:n.value,maxTime:36e5,timeRemaining:36e5},a._.player.appearanceChanged=!0,o.Toast.fire("Morphed!","You've been morphed.","success")}}))),new n.Toggler(n.category.beta,"Toggle Close Popups [BETA]","Automatically closes popups in Prodigy.").setEnabled(s((function*(){return(0,i.PopupInterval)(!0),o.Toast.fire("Enabled","Toggle Close Popups is now enabled.","success")}))).setDisabled(s((function*(){return(0,i.PopupInterval)(!1),o.Toast.fire("Enabled","Toggle Close Popups is now disabled.","success")}))),new n.Hack(n.category.beta,"Hypermax Account [BETA]").setClick(s((function*(){if((yield o.Confirm.fire({title:"Hang on!",html:"This hack may damage your account with various bugs, for example you may be unable to do Rune Run.
Proceed?",icon:"warning"})).value){var e=a.game.state.current;"PVP"===e?Object.fromEntries(a._.instance.game.state.states).PVP.endPVP():"CoOp"===e?a.prodigy.world.$(a._.player.data.zone):["Battle","SecureBattle"].includes(e)&&Object.fromEntries(a._.instance.game.state.states)[e].runAwayCallback(),console.log("Escaped any battle."),a._.player.getPlayerData().playerTransformation=void 0,a._.player.appearanceChanged=!0,console.log("Fixed morph crash"),a._.player.kennel.petTeam.forEach((e=>{e&&e.assignRandomSpells&&e.assignRandomSpells()})),console.log("Fixed battle crash."),a._.player.data.gold=99e5,console.log("Set player gold to 9900000.");var t=100..value-2;a._.player.data.stars=Math.round((1-Math.pow(1.042,t))/(1-1.042)*20+10),a._.player.data.level=100,a._.player.getLevel=()=>a._.player.data.level,console.log("Set player level to 100"),a._.player.data.bountyScore=100,console.log("Set player's bounty points to 100.");for(var n=0;n
".concat(e,"
.
You can save this to get to the same zone.
Your location is has also been copied to your clipboard."),icon:"info"})})),function(){var t=s((function*(t){return console.error("Async: Could not copy text: ",t),n.Swal.fire({title:"Map Location",html:"You are at
".concat(e,"
.
You can save this to get to the same zone."),icon:"info"})}));return function(e){return t.apply(this,arguments)}}())})))}.apply(t,n))||(e.exports=a)},3344:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(9820),o(2852),o(4759)],void 0===(a=function(e,t,o,n,a){"use strict";new o.Toggler(o.category.minigames,"69x Walk Speed [Dyno Dig]","Walk so fast that you're teleporting, in Dyno Dig.").setEnabled(s((function*(){return n._.instance.game.state.states.get("DinoDig").walkSpeed=69,a.Toast.fire("Enabled!","You will now walk so fast that you're teleporting in Dyno Dig.","success")}))).setDisabled(s((function*(){return n._.instance.game.state.states.get("DinoDig").walkSpeed=1.5,a.Toast.fire("Disabled!","You will now walk at normal speed, in Dyno Dig.","success")})))}.apply(t,n))||(e.exports=a)},465:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(4759),o(9820),o(2852)],void 0===(a=function(e,t,o,n,a){"use strict";new n.Hack(n.category.misc,"Skip Tutorial").setClick(s((function*(){var e=(e,t,o,n)=>{a._.instance.prodigy.world.getZone(e).testQuest(t,o,n);try{Object.fromEntries(a._.instance.game.state.states).TileScreen.process()}catch(e){}};e("house",2),e("academy",2),a._.player.state.set("tutorial-0",4),a._.player.backpack.addKeyItem(13,0),a._.player.tutorial.data.menus[14]=[1],a._.instance.prodigy.open.map(!0,[]),a._.player.onTutorialComplete(),a._.player.data.level=Math.max(a._.player.data.level,5)}))),new n.Toggler(n.category.misc,"Disable Monster Encounters").setEnabled(s((function*(){return a._.constants.constants["GameConstants.Debug.SCALE_ENCOUNTER_DISTANCE"]=0,o.Toast.fire("Enabled!","Monsters will no longer battle you.","success")}))).setDisabled((()=>(a._.constants.constants["GameConstants.Debug.SCALE_ENCOUNTER_DISTANCE"]=1,o.Toast.fire("Disabled!","Monsters will now battle you.","success")))),new n.Toggler(n.category.misc,"Skip enemy turn").setEnabled(s((function*(){return a._.constants.constants["GameConstants.Battle.SKIP_ENEMY_TURN"]=!0,o.Toast.fire("Skipping!","Enemy turns will now be skipped.","success")}))).setDisabled((()=>(a._.constants.constants["GameConstants.Battle.SKIP_ENEMY_TURN"]=!1,o.Toast.fire("Disabled","Enemy turns will no longer be skipped.","success")))),new n.Hack(n.category.misc,"Bobbify","Converts your account into Bobby Fancywoman.").setClick(s((function*(){if((yield o.Confirm.fire("Are you sure you want your account to be turned into Bobby Fancywoman?","This action is not reversable.")).value)return a._.player.name.data.nickname=null,a._.player.name.data.firstName=44,a._.player.name.data.middleName=754,a._.player.name.data.lastName=882,a._.player.data.stars=-1e22,a._.player.data.level=69,a._.player.appearance.setGender("male"),a._.player.appearance.setEyeColor(1),a._.player.appearance.setFace(4),a._.player.appearance.setHair(19,1),a._.player.appearance.setSkinColor(1),a._.player.equipment.setFollow(19),a._.player.equipment.setHat(19),a._.player.equipment.setBoots(19),a._.player.equipment.setOutfit(19),a._.player.equipment.setWeapon(19),o.Toast.fire("Bobbified!","You are now Bobby Fancywoman.","success")}))),new n.Hack(n.category.misc,"Reset Account","Completely resets your account.").setClick(s((function*(){if((yield o.Confirm.fire("Are you sure you want to reset your account?","This action is not reversible.")).value)return a._.player.resetAccount(),o.Swal.fire("Reset!","Your account has been reset. Reload Prodigy for the full effect.","success")})));var r=null,i=0;new n.Hack(n.category.misc,"Chat Spammer","Cycles through chat messages pretty fast!").setClick(s((function*(){return r?o.Swal.fire("Already Enabled","Chat Spammer is already enabled. To disable chat spammer, reload Prodigy.","error"):(r=setInterval(s((function*(){a._.player.chatID=i,++i>1164&&(i=0)})),90),o.Toast.fire("Spamming!","You're now sending a chat message every 90 milliseconds!","success"))})));var c=null,l=0;new n.Hack(n.category.misc,"High Chat Spammer","Cycles through chat messages hella fast!").setClick(s((function*(){return c?o.Swal.fire("Already Enabled","High Chat Spammer is already enabled. To disable chat spammer, reload Prodigy.","error"):(yield o.Confirm.fire("Warning","This hack may cause lag on weak computers (ex. School Chromebooks).")).value?(c=setInterval(s((function*(){a._.player.chatID=l,++l>1164&&(l=0)})),30),o.Toast.fire("Spamming!","You're now sending a chat message every 30 milliseconds!","success")):console.log("Cancelled")})));var u=null,d=0;new n.Hack(n.category.misc,"Chat Spammer on Meth","Cycles through chat messages FAST ASF!").setClick(s((function*(){return u?o.Swal.fire("Already Enabled","Chat Spammer on Meth is already enabled. To disable chat spammer, reload Prodigy.","error"):(yield o.Confirm.fire("Warning","This hack may cause lag on weak computers (ex. School Chromebooks).")).value?(u=setInterval(s((function*(){a._.player.chatID=d,++d>1164&&(d=0)})),1),o.Toast.fire("Spamming!","You're now sending a chat message every 1 millisecond!","success")):console.log("Cancelled")}))),new n.Hack(n.category.misc,"[Fix] Fix Battle Crash").setClick(s((function*(){return a._.player.kennel.petTeam.forEach((e=>{e&&e.assignRandomSpells&&e.assignRandomSpells()})),o.Toast.fire("Success!","Fixed kennel attack bug!","success")}))),new n.Hack(n.category.misc,"[Fix] Stuck in Unfinished Tower Fix","Takes you out of an unfinished tower if you're stuck in one.").setClick(s((function*(){return a._.instance.prodigy.world.zones.house.teleport("exit"),o.Toast.fire("Success!","You've been teleported outside of your house.","success")}))),new n.Hack(n.category.misc,"uwu","OwO").setClick(s((function*(){return(yield o.Confirm.fire("Are you sure that you want to UwU OwO?","Reload Prodigy to revert UwU.")).value?(Object.chance=e=>{var t={},o=0;for(var n of Object.keys(e).sort(((e,o)=>t[e]-t[o])))t[n]=[],t[n][0]=o+1,t[n][1]=e[n]+o,o=e[n]+o;return t},Object.random=e=>{var t=Object.values(e),o=t[t.length-1][1],n=Math.randint(o);return Object.reverse(e)[t.find((e=>n>=e[0]&&n<=e[1]))]},Array.prototype.join=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:",";return"string"==typeof e?this.reduce(((t,o,n,a)=>t+(n
".concat(e,"
You can use this for copying your account.
Your UserID is has also been copied to your clipboard."),icon:"info"})}),(function(t){return console.error("Async: Could not copy text: ",t),swal_1.Swal.fire({title:"User ID",html:"Here is your User ID:
".concat(e,"
You can use this for copying your account."),icon:"info"})}))}))),new index_1.Hack(index_1.category.player,"Copy Account","Copy Account From userID").setClick(_asyncToGenerator((function*(){var e=(yield swal_1.NumberInput.fire("What is the userID of the account you want to copy?",void 0,"question")).value;if(e&&(yield swal_1.Confirm.fire("Are you sure you want to copy the account?","This will replace all data on your account with the account your copying."))){var t=yield(yield fetch("https://api.prodigygame.com/game-api/v2/characters/".concat(e,"?fields=inventory%2Cdata%2CisMember%2Ctutorial%2Cpets%2Cencounters%2Cquests%2Cappearance%2Cequipment%2Chouse%2Cachievements%2Cstate&userID=").concat(e),{headers:{Authorization:localStorage.JWT_TOKEN}})).json();return yield fetch("https://api.prodigygame.com/game-api/v3/characters/".concat(e),{headers:{"Content-Type":"application/json",Authorization:localStorage.JWT_TOKEN},body:JSON.stringify({data:JSON.stringify(t[e]),userID:util_1._.player.userID}),method:"POST"}),swal_1.Toast.fire("Success!","Copied Account Successfully! Please reload.","success")}}))),new index_1.Hack(index_1.category.player,"Set Grade").setClick(_asyncToGenerator((function*(){var e=yield swal_1.NumberInput.fire("What number do you want to set your grade to?");if(e.value)return util_1._.player.grade=parseInt(e.value),swal_1.Toast.fire("Success","Successfully changed grade to ".concat(e,"!"),"success")})))}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},4474:(module,exports,__webpack_require__)=>{var __webpack_unused_export__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;function asyncGeneratorStep(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function _asyncToGenerator(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var r=e.apply(t,o);function s(e){asyncGeneratorStep(r,n,a,s,i,"next",e)}function i(e){asyncGeneratorStep(r,n,a,s,i,"throw",e)}s(void 0)}))}}__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__,exports,__webpack_require__(4759),__webpack_require__(9820),__webpack_require__(2852)],__WEBPACK_AMD_DEFINE_RESULT__=function(require,exports,swal_1,index_1,util_1){"use strict";__webpack_unused_export__={value:!0},new index_1.Hack(index_1.category.utility,"Close all popups","Closes all popups in Prodigy.").setClick(_asyncToGenerator((function*(){return util_1._.instance.prodigy.open.menuCloseAll(),swal_1.Toast.fire("Closed!","All open popups were closed.","success")}))),new index_1.Hack(index_1.category.utility,"Save Character Locally [Local]","Saves your character locally.").setClick(_asyncToGenerator((function*(){return localStorage.setItem("playerData",JSON.stringify(util_1._.player.getUpdatedData(!0))),swal_1.Toast.fire("Success!","Note: Load Character will only work on this device.","success")}))),new index_1.Hack(index_1.category.utility,"Load local character [Local]","Loads your character locally.").setClick(_asyncToGenerator((function*(){if(localStorage.getItem("playerData")){var e=localStorage.getItem("playerData"),t=yield fetch("https://api.prodigygame.com/game-api/v3/characters/".concat(util_1._.player.userID),{headers:{accept:"*/*","accept-language":"en-US,en;q=0.9",authorization:localStorage.JWT_TOKEN,"content-type":"application/json","sec-ch-ua":'" Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91"',"sec-ch-ua-mobile":"?0","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"same-site"},referrer:"https://play.prodigygame.com/",referrerPolicy:"strict-origin-when-cross-origin",body:JSON.stringify({data:e,userID:util_1._.player.userID}),method:"POST",mode:"cors"});return t.ok?swal_1.Toast.fire("Success!","Character has been successfully loaded. Reload for the changes to take effect.","success"):swal_1.Toast.fire("Request failed.","An error occurred while loading the character. Error code: ".concat(t.status),"error")}return swal_1.Toast.fire("Error","No saved character.","error")}))),new index_1.Hack(index_1.category.utility,"Save Character","Helps fix bugs where not all hacks save.").setClick(_asyncToGenerator((function*(){return(0,util_1.saveCharacter)(),swal_1.Toast.fire("Success!","Your character has been saved!","success")}))),new index_1.Hack(index_1.category.utility,"Update menu","Updates menu to the latest version without needing to reload.").setClick(_asyncToGenerator((function*(){var _document$getElementB,_document$getElementB2;return null===(_document$getElementB=document.getElementById("cheat-menu"))||void 0===_document$getElementB||_document$getElementB.remove(),null===(_document$getElementB2=document.getElementById("menu-toggler"))||void 0===_document$getElementB2||_document$getElementB2.remove(),_asyncToGenerator((function*(){eval(yield(yield fetch("https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/dist/bundle.js?updated=".concat(Date.now()))).text())}))(),swal_1.Toast.fire("Updated!","Cheat menu was updated.","success")}))),new index_1.Hack(index_1.category.utility,"Disable inactivity kick","Keeps you from being logged out for inactivity.").setClick(_asyncToGenerator((function*(){return util_1._.constants.constants["GameConstants.Inactivity.LOG_OUT_TIMER_SECONDS"]=0,swal_1.Toast.fire("Success!","You now will never be logged out!","success")}))),new index_1.Toggler(index_1.category.utility,"Enable menu resize","Allows you to resize the menu via dragging the bottom right corner.").setEnabled(_asyncToGenerator((function*(){return document.getElementById("cheat-menu").style.resize="both",swal_1.Toast.fire("Success!","Drag the bottom right corner of the menu to resize it.","success")}))).setDisabled((()=>(document.getElementById("cheat-menu").style.resize="none",swal_1.Toast.fire("Success!","The menu position is now locked.","success")))),new index_1.Hack(index_1.category.utility,"Edit walkspeed","Lets you set your walkspeed.").setClick(_asyncToGenerator((function*(){var e=yield swal_1.Input.fire("What do you want to set your walk speed to?");if(e.value){if(util_1._.player._playerContainer)util_1._.player._playerContainer.walkSpeed=parseFloat(e.value)||1.5;else var t=setInterval((()=>{util_1._.player._playerContainer&&(clearInterval(t),util_1._.player._playerContainer.walkSpeed=parseFloat(e.value))}),100);return swal_1.Toast.fire("Success!","Successfully made walk speed ".concat(parseFloat(e.value)||1.5,"!"),"success")}})));var teleportingInterval=-1;new index_1.Toggler(index_1.category.utility,"Toggle Click Teleporting").setEnabled(_asyncToGenerator((function*(){return teleportingInterval=setInterval((()=>{try{util_1._.player._playerContainer.walkSpeed=500}catch(e){}})),swal_1.Toast.fire("Success!","Successfully enabled teleport click.","success")}))).setDisabled(_asyncToGenerator((function*(){return clearInterval(teleportingInterval),util_1._.player._playerContainer.walkSpeed=1.5,swal_1.Toast.fire("Success!","Successfully disabled teleport click.","success")}))),new index_1.Toggler(index_1.category.utility,"Pause Game").setEnabled(_asyncToGenerator((function*(){return util_1._.network.game._paused=!0,swal_1.Toast.fire("Success!","Successfully paused Prodigy.","success")}))).setDisabled(_asyncToGenerator((function*(){return util_1._.network.game._paused=!1,swal_1.Toast.fire("Success!","Successfully resumed Prodigy.","success")}))),new index_1.Hack(index_1.category.utility,"Eval Console","Evaluate JavaScript code without opening F12").setClick(_asyncToGenerator((function*(){if(!(yield swal_1.Confirm.fire({title:"Important",html:"This hack is potentially dangerous, as it evaluates plain JavaScript code, with access to Prodigy's typings. Please do not paste code from random people on the internet here, that may be dangerous.
Proceed?",icon:"warning"})).value)return console.log("Cancelled.");var code=yield swal_1.Input.fire("Code:","Enter the code you want to evaluate.");if(code.value){try{eval(code.value)}catch(e){if(e)return swal_1.Swal.fire({title:"Error",html:"Oops! There was an error with the code!
".concat(e,"
"),icon:"error"})}return swal_1.Toast.fire("Evaluated!","Code was evaluated.","success")}})))}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},9820:function(e,t,o){var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(7046),o(2852),o(3526),o(6455),o(4759),o(4719),o(158)],a=function(e,t,o,n,a,r,c,l){"use strict";var u,d,p,h;Object.defineProperty(t,"__esModule",{value:!0}),t.category=t.Toggler=t.Hack=t.toggler=t.wrapper=t.menu=void 0,r=i(r),t.menu=document.createElement("div"),t.wrapper=document.getElementById("game-wrapper"),null===(u=document.getElementById("cheat-menu"))||void 0===u||u.remove(),null===(d=document.getElementById("menu-toggler"))||void 0===d||d.remove(),t.menu.id="cheat-menu",t.menu.style="position: fixed;top: -10%;left: 10%;right: 10%;width: 80%;height: 80%;z-index: 2;background-color: rgba(0, 0, 0, 0.5);backdrop-filter: blur(5px);",null===(p=t.wrapper)||void 0===p||p.prepend(t.menu),t.toggler=document.createElement("button"),t.toggler.id="menu-toggler";var m=!1;null===(h=t.wrapper)||void 0===h||h.prepend(t.toggler),t.toggler.onclick=()=>{(m=!m)?(t.toggler.innerText="▼",t.menu.style.top="-100vh"):(t.toggler.innerText="▲",t.menu.style.top="10%")},t.toggler.onclick({});var f=document.createElement("DIV");f.classList.add("menu-left"),t.menu.append(f);var g=!0,y=e=>{var t=document.createElement("div");0==g?(t.append(document.createElement("br")),t.append(document.createElement("br"))):g=!1,t.classList.add("menu-area"),t.style.textAlign="center",f.append(t);var o=document.createElement("h1");return o.innerText=e,o.style.textAlign="center",o.style.color="white",t.append(o),t},w=document.createElement("h1");w.classList.add("menu-title"),w.innerText="Prodigy Hacks",w.style.textAlign="center",f.append(w);var b=document.createElement("h2");b.style.fontSize="25px",b.style.color="white",b.innerHTML="
Press SHIFT to show/hide the menu. Scroll down in the menu for more hacks.",f.append(b);var v=document.createElement("h3");v.style.fontSize="20px",v.innerHTML="\n
\n",v.style.color="white",f.append(v);class _{constructor(e,t,o){this.parent=e,this.name="",this.description="",this.element=document.createElement("button"),this.element.classList.add("menu-hack"),this.parent.append(this.element),t&&this.setName(t),o&&this.setDesc(o)}setName(e){return this.element.innerText=e,this.name=e,this}setClick(e){var t=this;return this.element.onclick=s((function*(){yield e(),(0,n.saveCharacter)(),console.log("Triggered ".concat(t.name,"."))})),this}setDesc(e){return this.element.title=e,this.description=e,this}}t.Hack=_,t.Toggler=class extends _{constructor(e,t,o){var n;super(e,t,o),n=this,this.parent=e,this.element.setAttribute("status","false"),this.setClick(s((function*(){var e,t;n.status=!n.status,n.status?(localStorage.setItem(n.name,"true"),yield null===(e=n.enabled)||void 0===e?void 0:e.call(n)):(localStorage.setItem(n.name,"false"),yield null===(t=n.disabled)||void 0===t?void 0:t.call(n))})))}get status(){return JSON.parse(this.element.getAttribute("status"))}set status(e){this.element.setAttribute("status",e.toString())}setEnabled(e){return this.enabled=e,"true"===localStorage.getItem(this.name)&&this.element.click(),this}setDisabled(e){return this.disabled=e,this}},t.category={player:y("Player Hacks"),inventory:y("Inventory Hacks"),location:y("Location Hacks"),pets:y("Pet Hacks"),battle:y("Battle Hacks"),minigames:y("Minigame Hacks"),misc:y("Miscellaneous Hacks"),utility:y("Utility Hacks"),beta:y("Beta Testing | Beta Hacks may damage your account"),patched:y("Patched Hacks")},localStorage.hasTip?(0,l.IndexInfo)("Player already has tip."):(s((function*(){yield r.default.fire({title:"Welcome!",html:"To get started with the hacks, click this dropdown!",icon:"info",backdrop:'\n\t\t url("https://i.imgur.com/CdV9piu.png")\n\t\t left top\n\t\t no-repeat\n\t\t '})}))(),localStorage.hasTip=!0,(0,l.IndexInfo)("Player was shown the tip.")),localStorage.getItem("level")&&(n._.player.getLevel=()=>localStorage.getItem("level"),(0,l.IndexInfo)("Loaded menu from localStorage."));var k=!0;document.addEventListener("keydown",(function(e){"Shift"==e.key&&((0,l.IndexInfo)("Shift key was pressed."),1==k?((0,l.IndexInfo)("Hiding cheat menu..."),document.getElementById("cheat-menu").style.display="none",document.getElementById("menu-toggler").style.display="none",k=!1,(0,l.IndexInfo)("Hidden cheat menu.")):((0,l.IndexInfo)("Showing cheat menu..."),document.getElementById("cheat-menu").style.display="block",document.getElementById("menu-toggler").style.display="block",k=!0,(0,l.IndexInfo)("Shown cheat menu.")))})),s((function*(){var e,t;(yield c.License.fire("ProdigyPNP",'\n
".concat(e,"
. ".concat(e,"
. ".concat(e,"
".concat(e,"
".concat(e,"
"),icon:"error"})}return swal_1.Toast.fire("Evaluated!","Code was evaluated.","success")}})))}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},9820:function(e,t,o){var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(7046),o(2852),o(3526),o(6455),o(4759),o(4719),o(158)],a=function(e,t,o,n,a,r,c,l){"use strict";var u,d,p,h;Object.defineProperty(t,"__esModule",{value:!0}),t.category=t.Toggler=t.Hack=t.toggler=t.wrapper=t.menu=void 0,r=i(r),t.menu=document.createElement("div"),t.wrapper=document.getElementById("game-wrapper"),null===(u=document.getElementById("cheat-menu"))||void 0===u||u.remove(),null===(d=document.getElementById("menu-toggler"))||void 0===d||d.remove(),t.menu.id="cheat-menu",t.menu.style="position: fixed;top: -10%;left: 10%;right: 10%;width: 80%;height: 80%;z-index: 2;background-color: rgba(0, 0, 0, 0.5);backdrop-filter: blur(5px);",null===(p=t.wrapper)||void 0===p||p.prepend(t.menu),t.toggler=document.createElement("button"),t.toggler.id="menu-toggler";var m=!1;null===(h=t.wrapper)||void 0===h||h.prepend(t.toggler),t.toggler.onclick=()=>{(m=!m)?(t.toggler.innerText="▼",t.menu.style.top="-100vh"):(t.toggler.innerText="▲",t.menu.style.top="10%")},t.toggler.onclick({});var f=document.createElement("DIV");f.classList.add("menu-left"),t.menu.append(f);var g=!0,y=e=>{var t=document.createElement("div");0==g?(t.append(document.createElement("br")),t.append(document.createElement("br"))):g=!1,t.classList.add("menu-area"),t.style.textAlign="center",f.append(t);var o=document.createElement("h1");return o.innerText=e,o.style.textAlign="center",o.style.color="white",t.append(o),t},w=document.createElement("h1");w.classList.add("menu-title"),w.innerText="Prodigy Hacks",w.style.textAlign="center",f.append(w);var b=document.createElement("h2");b.style.fontSize="25px",b.style.color="white",b.innerHTML="Join our Discord https://dsc.gg/ProdigyPNP!
\n\n\n This is free and open-source software.\n If you paid for this or accessed this behind a paywall/AdFly link, demand a refund. If you sell this software, or otherwise make a commercial advantage from it, you are violating\n our license.\n
\n ')).value?yield(0,a.statusMessage)():(yield c.NoLicense.fire("ProdigyPNP License","\n\n You need to agree to our license to use our hacks. If you changed your mind and now agree to our license, reload Prodigy.\n
\n ")).value?document.location="":(null===(e=document.getElementById("cheat-menu"))||void 0===e||e.remove(),null===(t=document.getElementById("menu-toggler"))||void 0===t||t.remove())}))()}.apply(t,n),void 0===a||(e.exports=a)},8238:(e,t,o)=>{var n,a;n=[o,t,o(9820)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stopFps=t.startFps=void 0;var n=document.createElement("button"),a=!1;t.startFps=function(){var e;a=!0,n.id="fps-counter",null===(e=o.wrapper)||void 0===e||e.prepend(n),setInterval((()=>{var e=_.player.game.fps._framerate;a?n.innerText=e.toFixed(2)+" FPS":n.remove()}),300)},t.stopFps=function(){var e;a=!1,null===(e=document.getElementById("fps-counter"))||void 0===e||e.remove()}}.apply(t,n),void 0===a||(e.exports=a)},112:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],a=function(e,t,o,n){"use strict";function a(e){o._.instance.prodigy.loading(!0);var t=t=>{var a=null!=t?t[e]:null;if(null!==a&&void 0!==a.house&&null!==a.house){o._.instance.prodigy.loading(!1);var r=o._.cloneDeep(o._.player.house);return r.setItems(a.house),void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors?o._.instance.prodigy.world._("house",null,null,{house:r,getAllowsHouseVisitors:()=>void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors,setAllowsHouseVisitors:e=>{a.data.allowsHouseVisitors=e}}):n.Swal.fire("Teleporting to ".concat(e," is not allowed."),"Try another user.","error")}};return o._.network.getCharData(e.toString(),["house","data"],t,t),n.Toast.fire("Teleported to house","You have been teleported to the house!","success")}Object.defineProperty(t,"__esModule",{value:!0}),t.getPet=t.teleportToHouse=t.toHouse=t.getMemberModule=t.runeify=t.itemify=t.ids=t.names=void 0,t.names=["Boots","Buddies","Fossils","Hats","Items","Key Items","Tower Town Frames","Tower Town Interiors","Mounts","Outfits","Relics","Weapons","Currencies"],t.ids=["boots","follow","fossil","hat","item","key","mathTownFrame","mathTownInterior","mount","outfit","spellRelic","weapon","currency"],t.itemify=(e,t)=>e.map((e=>({ID:e.ID,N:t}))).filter((e=>void 0!==e)),t.runeify=(e,t)=>e.map((e=>({ID:e.ID,quantity:t}))).filter((e=>void 0!==e)),t.getMemberModule=function(){return o._.player.hasMembership.toString().split('"')[1]},t.toHouse=function(e){if(o._.player.userID!==e){var t=o._.instance.prodigy.friendsListNetworkHandler.friendsList.length,r=o._.instance.prodigy.friendsListNetworkHandler.classList.length;o._.instance.prodigy.gameContainer.get("2e1-e659").create("house-visit","click","hub",t,r,null,null,e).broadcast()}var s=o._.instance.prodigy.world.getZone(o._.instance.prodigy.world.getCurrentZone());return s?s.handleLeaving(2,(()=>a(e))):n.Swal.fire({title:"Error",text:"You are not in a zone!",icon:"error"})},t.teleportToHouse=a;var s=function(){var e,t=(e=function*(e){return(yield n.Swal.fire({input:"select",inputOptions:new Map(o._.player.kennel.data.map(((e,t)=>{var n,a,r;return[t.toString(),"Level ".concat(e.level," - ").concat(null!==(n=null!==(a=e.nickname)&&void 0!==a?a:null===(r=o._.gameData.pet.find((t=>+t.ID==+e.ID)))||void 0===r?void 0:r.data.name)&&void 0!==n?n:"Unknown")]}))),title:"Choose Pet",text:e})).value},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}();t.getPet=s}.apply(t,n),void 0===a||(e.exports=a)},2868:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],void 0===(a=function(e,t,o,n){"use strict";window.addEventListener("keydown",(e=>{switch(e.which){case 192:o._.instance.prodigy.open.menuCloseAll();break;case 220:var t=function(){var e,t=(e=function*(){if(!(yield n.Confirm.fire("Kit","Would you like to equip Celestial Gear?")).value)return console.log("Cancelled");o._.player.equipment.setHat(200),o._.player.equipment.setBoots(93),o._.player.equipment.setOutfit(161),o._.player.equipment.setWeapon(196),o._.player.appearanceChanged=!0,n.Toast.fire("Success!","You are now wearing Celestial Armor and wielding a Dual Blade.","success")},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();t()}}))}.apply(t,n))||(e.exports=a)},4719:(e,t,o)=>{var n;n=function(e,t){"use strict";function o(e,o){return""==e||null==e?console.log("["+t.LogPrefix+":unknown] "+o):console.log("["+t.LogPrefix+":"+e+"] "+o)}function n(e,t,n){return o(t,"*"+e.toUpperCase()+"* "+n)}Object.defineProperty(t,"__esModule",{value:!0}),t.UtilityError=t.UtilitySuccess=t.UtilityInfo=t.PlayerError=t.PlayerSuccess=t.PlayerInfo=t.PetsError=t.PetsSuccess=t.PetsInfo=t.PatchedError=t.PatchedSuccess=t.PatchedInfo=t.MiscError=t.MiscSuccess=t.MiscInfo=t.MinigameError=t.MinigameSuccess=t.MinigameInfo=t.LocationError=t.LocationSuccess=t.LocationInfo=t.InventoryError=t.InventorySuccess=t.InventoryInfo=t.BetaError=t.BetaSuccess=t.BetaInfo=t.BattleError=t.BattleSuccess=t.BattleInfo=t.IndexError=t.IndexSuccess=t.IndexInfo=t.StatusLog=t.ConsoleLog=t.LogPrefix=void 0,t.LogPrefix="CheatGUI",t.ConsoleLog=o,t.StatusLog=n,t.IndexInfo=function(e){return n("info","index.ts",e)},t.IndexSuccess=function(e){return n("success","index.ts",e)},t.IndexError=function(e){return n("error","index.ts",e)},t.BattleInfo=function(e){return n("info","battle.ts",e)},t.BattleSuccess=function(e){return n("success","battle.ts",e)},t.BattleError=function(e){return n("error","battle.ts",e)},t.BetaInfo=function(e){return n("info","beta.ts",e)},t.BetaSuccess=function(e){return n("success","beta.ts",e)},t.BetaError=function(e){return n("error","beta.ts",e)},t.InventoryInfo=function(e){return n("info","inventory.ts",e)},t.InventorySuccess=function(e){return n("success","inventory.ts",e)},t.InventoryError=function(e){return n("error","inventory.ts",e)},t.LocationInfo=function(e){return n("info","location.ts",e)},t.LocationSuccess=function(e){return n("success","location.ts",e)},t.LocationError=function(e){return n("error","location.ts",e)},t.MinigameInfo=function(e){return n("info","minigame.ts",e)},t.MinigameSuccess=function(e){return n("success","minigame.ts",e)},t.MinigameError=function(e){return n("error","minigame.ts",e)},t.MiscInfo=function(e){return n("info","misc.ts",e)},t.MiscSuccess=function(e){return n("success","misc.ts",e)},t.MiscError=function(e){return n("error","misc.ts",e)},t.PatchedInfo=function(e){return n("info","patched.ts",e)},t.PatchedSuccess=function(e){return n("success","patched.ts",e)},t.PatchedError=function(e){return n("error","patched.ts",e)},t.PetsInfo=function(e){return n("info","pets.ts",e)},t.PetsSuccess=function(e){return n("success","pets.ts",e)},t.PetsError=function(e){return n("error","pets.ts",e)},t.PlayerInfo=function(e){return n("info","player.ts",e)},t.PlayerSuccess=function(e){return n("success","player.ts",e)},t.PlayerError=function(e){return n("error","player.ts",e)},t.UtilityInfo=function(e){return n("info","utility.ts",e)},t.UtilitySuccess=function(e){return n("success","utility.ts",e)},t.UtilityError=function(e){return n("error","utility.ts",e)}}.apply(t,[o,t]),void 0===n||(e.exports=n)},3131:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(2852)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopupInterval=void 0;var n=!1;t.PopupInterval=function(e){n=e},s((function*(){setInterval(s((function*(){n&&o._.instance.prodigy.open.menuCloseAll()})),200)}))()}.apply(t,n),void 0===a||(e.exports=a)},3526:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(4759)],a=function(e,t,o){"use strict";function n(){return(n=s((function*(){var e=o.Swal.mixin({title:"PHEx 3.0.0",icon:"info",showCancelButton:!0,showConfirmButton:!0,confirmButtonText:"Update to 3.0.0",cancelButtonText:"I've already updated.",html:"WE DID IT!! PHEx 3.0.0 IS NOW RELESED!!!
We've released a new version of PHEx! We strongly reccomend updating to PHEx 3.0.0."});(yield(yield e.fire()).value)&&(window.location.href="https://github.com/ProdigyPNP/ProdigyMathGameHacking/releases/latest")}))).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.statusMessage=void 0,t.statusMessage=function(){return n.apply(this,arguments)}}.apply(t,n),void 0===a||(e.exports=a)},4759:function(e,t,o){var n,a,r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(6455)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoLicense=t.License=t.Info=t.Confirm=t.Toast=t.NumberInput=t.Input=t.Swal=void 0,o=r(o),t.Swal=o.default,t.Input=t.Swal.mixin({input:"text",showCancelButton:!0,showConfirmButton:!0,toast:!1}),t.NumberInput=t.Input.mixin({toast:!1,input:"number"}),t.Toast=t.Swal.mixin({toast:!0,position:"bottom"}),t.Confirm=t.Swal.mixin({icon:"warning",showCancelButton:!0,toast:!1,confirmButtonText:"Confirm",cancelButtonText:"Cancel"}),t.Info=t.Swal.mixin({icon:"info",showCancelButton:!1,toast:!1}),t.License=t.Swal.mixin({icon:"info",showCancelButton:!0,toast:!1,confirmButtonText:"Agree",cancelButtonText:"Disagree"}),t.NoLicense=t.Swal.mixin({icon:"error",showCancelButton:!0,toast:!1,confirmButtonText:"Reload",cancelButtonText:"Play without hacks"})}.apply(t,n),void 0===a||(e.exports=a)},2852:(e,t,o)=>{var n;n=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pickRandom=t.locations=t.joinAsset=t.assetURL=t.saveCharacter=t.states=t.VERY_LARGE_NUMBER=t.getItem=t.gameData=t.prodigy=t.game=t._=void 0,t._=window._;var o=t._.instance;t.game=o.game,t.prodigy=o.prodigy,t.gameData=t._.instance.game.state.states.get("Boot").gameData,t.getItem=(e,o)=>{var n;return null!==(n=t._.gameData[e].find((e=>e.ID===o)))&&void 0!==n?n:null},t.VERY_LARGE_NUMBER=9e9,t.states=Object.fromEntries(t._.instance.game.state.states),t.saveCharacter=()=>{t._.network.processPlayer=!0,t._.player.forceSaveCharacter()},t.assetURL="https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/src/assets/",t.joinAsset=e=>"".concat(t.assetURL).concat(e),t.locations={academy:(0,t.joinAsset)("academy.png"),bonfire_spire:(0,t.joinAsset)("bonfire_spire.png"),forest:(0,t.joinAsset)("forest.png"),shipwreck_shore:(0,t.joinAsset)("shipwreck_shore.png"),shiverchill:(0,t.joinAsset)("shiverchill.png"),skywatch:(0,t.joinAsset)("skywatch.png"),dyno:(0,t.joinAsset)("dyno.png"),elemental_guardian:(0,t.joinAsset)("elemental_guardian.png"),darktower:(0,t.joinAsset)("darktower.png"),earthtower:(0,t.joinAsset)("earthtower.png"),crystal_caverns:(0,t.joinAsset)("crystal_caverns.png"),archives:(0,t.joinAsset)("archives.png"),house:(0,t.joinAsset)("house.png"),toyzone:(0,t.joinAsset)("toyzone.png"),tower_town:(0,t.joinAsset)("tower_town.png"),lamplight:(0,t.joinAsset)("lamplight.png")},t.pickRandom=e=>e[Math.floor(Math.random()*e.length)]}.apply(t,[o,t]),void 0===n||(e.exports=n)},450:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(8081),a=o.n(n),r=o(3645),s=o.n(r)()(a());s.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Arvo:400,700|Sen:400,700,800&display=swap&subset=latin-ext);"]),s.push([e.id,'#game-wrapper{font-family:"Sen",sans-serif}#game-wrapper #cheat-menu{height:465px;background-color:rgba(238,238,238,.7333333333);padding:2px;position:absolute;top:0px;left:0px;transition:top .35s;padding:10px;border:10px solid rgba(0,0,0,.1);border-radius:15px;overflow-y:scroll;resize:none;overflow:auto}#game-wrapper .menu-left{width:100%;height:100%;float:center}#game-wrapper #menu-toggler{z-index:1;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;font-size:23px;height:26px;width:50px;border:1px solid rgba(0,0,0,.1)}#game-wrapper #menu-toggler:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #menu-toggler:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper #fps-counter{z-index:2;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;width:130px;height:26px;font-size:23px;border:1px solid rgba(0,0,0,.1);margin-left:83%}#game-wrapper #fps-counter:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #fps-counter:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper .menu-area h1{font-family:"Sen",sans-serif;font-size:30px;font-weight:700;color:#111;margin:10px}#game-wrapper .menu-area button{background-color:rgba(0,0,0,.55);color:#fff;border-radius:5px;border:1px solid #eee;padding:1%;transition:all .15s;margin:5px 5px;transition-property:border-color,background-color}#game-wrapper .menu-area button:hover{border-color:rgba(119,119,119,.8666666667);background-color:#ddd}#game-wrapper .menu-area button:active{border-color:#555;background-color:#bbb}#game-wrapper .menu-area button[status=true]{border-color:rgba(85,170,85,.8666666667);background-color:#9bee9b}#game-wrapper .menu-area button[status=true]:hover{border-color:rgba(179,187,176,.8666666667);background-color:#bffebf}#game-wrapper .menu-area button[status=true]:active{border-color:#4e5c50;background-color:#24be6a}#game-wrapper .menu-area button[status=false]{border-color:rgba(119,102,102,.8666666667);background-color:#9b9b9b}#game-wrapper .menu-area button[status=false]:hover{border-color:rgba(133,133,133,.8666666667);background-color:#bfbfbf}#game-wrapper .menu-area button[status=false]:active{border-color:#4c3e40;background-color:#be246a}#game-wrapper .menu-title{font-family:"Verdana",sans-serif;font-size:40px;font-weight:900;color:#fff}.radioDiv{width:125px;height:125px;display:inline-block;margin:7px;background-color:#5a7e3f;color:#000;background-size:cover;outline:#000 5px solid;vertical-align:top;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none;cursor:pointer}.radioDiv:hover{background-blend-mode:overlay;color:#d3d3d3}.radioDiv:active{background-blend-mode:multiply;color:#fff}.radioDiv[checked]{background-blend-mode:color-dodge;color:#ffebcd}.radioDiv[checked]:active{background-blend-mode:color-burn;color:aqua}.radioSwal{width:-webkit-fit-content !important;width:-moz-fit-content !important;width:fit-content !important;min-width:32em !important;max-width:46em !important}.centeredMenu{position:fixed;top:-10%;left:10%;right:10%;width:80%;height:80%;z-index:2;background-color:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}',""]);const i=s},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,a,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var i=0;i ".concat(e,"
. ".concat(e,"
. ".concat(e,"
".concat(e,"
".concat(e,"
"),icon:"error"})}return swal_1.Toast.fire("Evaluated!","Code was evaluated.","success")}})))}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},9820:function(e,t,o){var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(7046),o(2852),o(3526),o(6455),o(4759),o(4719),o(158)],a=function(e,t,o,n,a,r,c,l){"use strict";var u,d,p,h;Object.defineProperty(t,"__esModule",{value:!0}),t.category=t.Toggler=t.Hack=t.toggler=t.wrapper=t.menu=void 0,r=i(r),t.menu=document.createElement("div"),t.wrapper=document.getElementById("game-wrapper"),null===(u=document.getElementById("cheat-menu"))||void 0===u||u.remove(),null===(d=document.getElementById("menu-toggler"))||void 0===d||d.remove(),t.menu.id="cheat-menu",t.menu.style="position: fixed;top: -10%;left: 10%;right: 10%;width: 80%;height: 80%;z-index: 2;background-color: rgba(0, 0, 0, 0.5);backdrop-filter: blur(5px);",null===(p=t.wrapper)||void 0===p||p.prepend(t.menu),t.toggler=document.createElement("button"),t.toggler.id="menu-toggler";var m=!1;null===(h=t.wrapper)||void 0===h||h.prepend(t.toggler),t.toggler.onclick=()=>{(m=!m)?(t.toggler.innerText="▼",t.menu.style.top="-100vh"):(t.toggler.innerText="▲",t.menu.style.top="10%")},t.toggler.onclick({});var f=document.createElement("DIV");f.classList.add("menu-left"),t.menu.append(f);var g=!0,y=e=>{var t=document.createElement("div");0==g?(t.append(document.createElement("br")),t.append(document.createElement("br"))):g=!1,t.classList.add("menu-area"),t.style.textAlign="center",f.append(t);var o=document.createElement("h1");return o.innerText=e,o.style.textAlign="center",o.style.color="white",t.append(o),t},w=document.createElement("h1");w.classList.add("menu-title"),w.innerText="Prodigy Hacks",w.style.textAlign="center",f.append(w);var b=document.createElement("h2");b.style.fontSize="25px",b.style.color="white",b.innerHTML="Join our Discord https://dsc.gg/ProdigyPNP!
\n\n\n This is free and open-source software.\n If you paid for this or accessed this behind a paywall/AdFly link, demand a refund. If you sell this software, or otherwise make a commercial advantage from it, you are violating\n our license.\n
\n ')).value?yield(0,a.statusMessage)():(yield c.NoLicense.fire("ProdigyPNP License","\n\n You need to agree to our license to use our hacks. If you changed your mind and now agree to our license, reload Prodigy.\n
\n ")).value?document.location="":(null===(e=document.getElementById("cheat-menu"))||void 0===e||e.remove(),null===(t=document.getElementById("menu-toggler"))||void 0===t||t.remove())}))()}.apply(t,n),void 0===a||(e.exports=a)},8238:(e,t,o)=>{var n,a;n=[o,t,o(9820)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stopFps=t.startFps=void 0;var n=document.createElement("button"),a=!1;t.startFps=function(){var e;a=!0,n.id="fps-counter",null===(e=o.wrapper)||void 0===e||e.prepend(n),setInterval((()=>{var e=_.player.game.fps._framerate;a?n.innerText=e.toFixed(2)+" FPS":n.remove()}),300)},t.stopFps=function(){var e;a=!1,null===(e=document.getElementById("fps-counter"))||void 0===e||e.remove()}}.apply(t,n),void 0===a||(e.exports=a)},112:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],a=function(e,t,o,n){"use strict";function a(e){o._.instance.prodigy.loading(!0);var t=t=>{var a=null!=t?t[e]:null;if(null!==a&&void 0!==a.house&&null!==a.house){o._.instance.prodigy.loading(!1);var r=o._.cloneDeep(o._.player.house);return r.setItems(a.house),void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors?o._.instance.prodigy.world._("house",null,null,{house:r,getAllowsHouseVisitors:()=>void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors,setAllowsHouseVisitors:e=>{a.data.allowsHouseVisitors=e}}):n.Swal.fire("Teleporting to ".concat(e," is not allowed."),"Try another user.","error")}};return o._.network.getCharData(e.toString(),["house","data"],t,t),n.Toast.fire("Teleported to house","You have been teleported to the house!","success")}Object.defineProperty(t,"__esModule",{value:!0}),t.getPet=t.teleportToHouse=t.toHouse=t.getMemberModule=t.runeify=t.itemify=t.ids=t.names=void 0,t.names=["Boots","Buddies","Fossils","Hats","Items","Key Items","Tower Town Frames","Tower Town Interiors","Mounts","Outfits","Relics","Weapons","Currencies"],t.ids=["boots","follow","fossil","hat","item","key","mathTownFrame","mathTownInterior","mount","outfit","spellRelic","weapon","currency"],t.itemify=(e,t)=>e.map((e=>({ID:e.ID,N:t}))).filter((e=>void 0!==e)),t.runeify=(e,t)=>e.map((e=>({ID:e.ID,quantity:t}))).filter((e=>void 0!==e)),t.getMemberModule=function(){return o._.player.hasMembership.toString().split('"')[1]},t.toHouse=function(e){if(o._.player.userID!==e){var t=o._.instance.prodigy.friendsListNetworkHandler.friendsList.length,r=o._.instance.prodigy.friendsListNetworkHandler.classList.length;o._.instance.prodigy.gameContainer.get("2e1-e659").create("house-visit","click","hub",t,r,null,null,e).broadcast()}var s=o._.instance.prodigy.world.getZone(o._.instance.prodigy.world.getCurrentZone());return s?s.handleLeaving(2,(()=>a(e))):n.Swal.fire({title:"Error",text:"You are not in a zone!",icon:"error"})},t.teleportToHouse=a;var s=function(){var e,t=(e=function*(e){return(yield n.Swal.fire({input:"select",inputOptions:new Map(o._.player.kennel.data.map(((e,t)=>{var n,a,r;return[t.toString(),"Level ".concat(e.level," - ").concat(null!==(n=null!==(a=e.nickname)&&void 0!==a?a:null===(r=o._.gameData.pet.find((t=>+t.ID==+e.ID)))||void 0===r?void 0:r.data.name)&&void 0!==n?n:"Unknown")]}))),title:"Choose Pet",text:e})).value},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}();t.getPet=s}.apply(t,n),void 0===a||(e.exports=a)},2868:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],void 0===(a=function(e,t,o,n){"use strict";window.addEventListener("keydown",(e=>{switch(e.which){case 192:o._.instance.prodigy.open.menuCloseAll();break;case 220:var t=function(){var e,t=(e=function*(){if(!(yield n.Confirm.fire("Kit","Would you like to equip Celestial Gear?")).value)return console.log("Cancelled");o._.player.equipment.setHat(200),o._.player.equipment.setBoots(93),o._.player.equipment.setOutfit(161),o._.player.equipment.setWeapon(196),o._.player.appearanceChanged=!0,n.Toast.fire("Success!","You are now wearing Celestial Armor and wielding a Dual Blade.","success")},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();t()}}))}.apply(t,n))||(e.exports=a)},4719:(e,t,o)=>{var n;n=function(e,t){"use strict";function o(e,o){return""==e||null==e?console.log("["+t.LogPrefix+":unknown] "+o):console.log("["+t.LogPrefix+":"+e+"] "+o)}function n(e,t,n){return o(t,"*"+e.toUpperCase()+"* "+n)}Object.defineProperty(t,"__esModule",{value:!0}),t.UtilityError=t.UtilitySuccess=t.UtilityInfo=t.PlayerError=t.PlayerSuccess=t.PlayerInfo=t.PetsError=t.PetsSuccess=t.PetsInfo=t.PatchedError=t.PatchedSuccess=t.PatchedInfo=t.MiscError=t.MiscSuccess=t.MiscInfo=t.MinigameError=t.MinigameSuccess=t.MinigameInfo=t.LocationError=t.LocationSuccess=t.LocationInfo=t.InventoryError=t.InventorySuccess=t.InventoryInfo=t.BetaError=t.BetaSuccess=t.BetaInfo=t.BattleError=t.BattleSuccess=t.BattleInfo=t.IndexError=t.IndexSuccess=t.IndexInfo=t.StatusLog=t.ConsoleLog=t.LogPrefix=void 0,t.LogPrefix="CheatGUI",t.ConsoleLog=o,t.StatusLog=n,t.IndexInfo=function(e){return n("info","index.ts",e)},t.IndexSuccess=function(e){return n("success","index.ts",e)},t.IndexError=function(e){return n("error","index.ts",e)},t.BattleInfo=function(e){return n("info","battle.ts",e)},t.BattleSuccess=function(e){return n("success","battle.ts",e)},t.BattleError=function(e){return n("error","battle.ts",e)},t.BetaInfo=function(e){return n("info","beta.ts",e)},t.BetaSuccess=function(e){return n("success","beta.ts",e)},t.BetaError=function(e){return n("error","beta.ts",e)},t.InventoryInfo=function(e){return n("info","inventory.ts",e)},t.InventorySuccess=function(e){return n("success","inventory.ts",e)},t.InventoryError=function(e){return n("error","inventory.ts",e)},t.LocationInfo=function(e){return n("info","location.ts",e)},t.LocationSuccess=function(e){return n("success","location.ts",e)},t.LocationError=function(e){return n("error","location.ts",e)},t.MinigameInfo=function(e){return n("info","minigame.ts",e)},t.MinigameSuccess=function(e){return n("success","minigame.ts",e)},t.MinigameError=function(e){return n("error","minigame.ts",e)},t.MiscInfo=function(e){return n("info","misc.ts",e)},t.MiscSuccess=function(e){return n("success","misc.ts",e)},t.MiscError=function(e){return n("error","misc.ts",e)},t.PatchedInfo=function(e){return n("info","patched.ts",e)},t.PatchedSuccess=function(e){return n("success","patched.ts",e)},t.PatchedError=function(e){return n("error","patched.ts",e)},t.PetsInfo=function(e){return n("info","pets.ts",e)},t.PetsSuccess=function(e){return n("success","pets.ts",e)},t.PetsError=function(e){return n("error","pets.ts",e)},t.PlayerInfo=function(e){return n("info","player.ts",e)},t.PlayerSuccess=function(e){return n("success","player.ts",e)},t.PlayerError=function(e){return n("error","player.ts",e)},t.UtilityInfo=function(e){return n("info","utility.ts",e)},t.UtilitySuccess=function(e){return n("success","utility.ts",e)},t.UtilityError=function(e){return n("error","utility.ts",e)}}.apply(t,[o,t]),void 0===n||(e.exports=n)},3131:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(2852)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopupInterval=void 0;var n=!1;t.PopupInterval=function(e){n=e},s((function*(){setInterval(s((function*(){n&&o._.instance.prodigy.open.menuCloseAll()})),200)}))()}.apply(t,n),void 0===a||(e.exports=a)},3526:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(4759)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statusMessage=void 0,t.statusMessage=function(){fetch("https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/statusmessage.json?updated=".concat(Date.now())).then((e=>e.json())).then(function(){var e,t=(e=function*(e){if(!1===e.enabled.value)return console.log("Status message is disabled.");yield o.Swal.fire({title:e.get("title"),html:e.get("html"),icon:e.get("icon")})},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}())}}.apply(t,n),void 0===a||(e.exports=a)},4759:function(e,t,o){var n,a,r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(6455)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoLicense=t.License=t.Info=t.Confirm=t.Toast=t.NumberInput=t.Input=t.Swal=void 0,o=r(o),t.Swal=o.default,t.Input=t.Swal.mixin({input:"text",showCancelButton:!0,showConfirmButton:!0,toast:!1}),t.NumberInput=t.Input.mixin({toast:!1,input:"number"}),t.Toast=t.Swal.mixin({toast:!0,position:"bottom"}),t.Confirm=t.Swal.mixin({icon:"warning",showCancelButton:!0,toast:!1,confirmButtonText:"Confirm",cancelButtonText:"Cancel"}),t.Info=t.Swal.mixin({icon:"info",showCancelButton:!1,toast:!1}),t.License=t.Swal.mixin({icon:"info",showCancelButton:!0,toast:!1,confirmButtonText:"Agree",cancelButtonText:"Disagree"}),t.NoLicense=t.Swal.mixin({icon:"error",showCancelButton:!0,toast:!1,confirmButtonText:"Reload",cancelButtonText:"Play without hacks"})}.apply(t,n),void 0===a||(e.exports=a)},2852:(e,t,o)=>{var n;n=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pickRandom=t.locations=t.joinAsset=t.assetURL=t.saveCharacter=t.states=t.VERY_LARGE_NUMBER=t.getItem=t.gameData=t.prodigy=t.game=t.current=t.player=t._=void 0,t._=window._,t.player=t._.player,t.current=window.Boot.prototype.game._state._current;var o=t._.instance;t.game=o.game,t.prodigy=o.prodigy,t.gameData=t._.instance.game.state.states.get("Boot").gameData,t.getItem=(e,o)=>{var n;return null!==(n=t._.gameData[e].find((e=>e.ID===o)))&&void 0!==n?n:null},t.VERY_LARGE_NUMBER=9e9,t.states=Object.fromEntries(t._.instance.game.state.states),t.saveCharacter=()=>{t._.network.processPlayer=!0,t._.player.forceSaveCharacter()},t.assetURL="https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/src/assets/",t.joinAsset=e=>"".concat(t.assetURL).concat(e),t.locations={academy:(0,t.joinAsset)("academy.png"),bonfire_spire:(0,t.joinAsset)("bonfire_spire.png"),forest:(0,t.joinAsset)("forest.png"),shipwreck_shore:(0,t.joinAsset)("shipwreck_shore.png"),shiverchill:(0,t.joinAsset)("shiverchill.png"),skywatch:(0,t.joinAsset)("skywatch.png"),dyno:(0,t.joinAsset)("dyno.png"),elemental_guardian:(0,t.joinAsset)("elemental_guardian.png"),darktower:(0,t.joinAsset)("darktower.png"),earthtower:(0,t.joinAsset)("earthtower.png"),crystal_caverns:(0,t.joinAsset)("crystal_caverns.png"),archives:(0,t.joinAsset)("archives.png"),house:(0,t.joinAsset)("house.png"),toyzone:(0,t.joinAsset)("toyzone.png"),tower_town:(0,t.joinAsset)("tower_town.png"),lamplight:(0,t.joinAsset)("lamplight.png")},t.pickRandom=e=>e[Math.floor(Math.random()*e.length)]}.apply(t,[o,t]),void 0===n||(e.exports=n)},450:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(8081),a=o.n(n),r=o(3645),s=o.n(r)()(a());s.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Arvo:400,700|Sen:400,700,800&display=swap&subset=latin-ext);"]),s.push([e.id,'#game-wrapper{font-family:"Sen",sans-serif}#game-wrapper #cheat-menu{height:465px;background-color:rgba(238,238,238,.7333333333);padding:2px;position:absolute;top:0px;left:0px;transition:top .35s;padding:10px;border:10px solid rgba(0,0,0,.1);border-radius:15px;overflow-y:scroll;resize:none;overflow:auto}#game-wrapper .menu-left{width:100%;height:100%;float:center}#game-wrapper #menu-toggler{z-index:1;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;font-size:23px;height:26px;width:50px;border:1px solid rgba(0,0,0,.1)}#game-wrapper #menu-toggler:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #menu-toggler:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper #fps-counter{z-index:2;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;width:130px;height:26px;font-size:23px;border:1px solid rgba(0,0,0,.1);margin-left:83%}#game-wrapper #fps-counter:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #fps-counter:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper .menu-area h1{font-family:"Sen",sans-serif;font-size:30px;font-weight:700;color:#111;margin:10px}#game-wrapper .menu-area button{background-color:rgba(0,0,0,.55);color:#fff;border-radius:5px;border:1px solid #eee;padding:1%;transition:all .15s;margin:5px 5px;transition-property:border-color,background-color}#game-wrapper .menu-area button:hover{border-color:rgba(119,119,119,.8666666667);background-color:#ddd}#game-wrapper .menu-area button:active{border-color:#555;background-color:#bbb}#game-wrapper .menu-area button[status=true]{border-color:rgba(85,170,85,.8666666667);background-color:#9bee9b}#game-wrapper .menu-area button[status=true]:hover{border-color:rgba(179,187,176,.8666666667);background-color:#bffebf}#game-wrapper .menu-area button[status=true]:active{border-color:#4e5c50;background-color:#24be6a}#game-wrapper .menu-area button[status=false]{border-color:rgba(119,102,102,.8666666667);background-color:#9b9b9b}#game-wrapper .menu-area button[status=false]:hover{border-color:rgba(133,133,133,.8666666667);background-color:#bfbfbf}#game-wrapper .menu-area button[status=false]:active{border-color:#4c3e40;background-color:#be246a}#game-wrapper .menu-title{font-family:"Verdana",sans-serif;font-size:40px;font-weight:900;color:#fff}.radioDiv{width:125px;height:125px;display:inline-block;margin:7px;background-color:#5a7e3f;color:#000;background-size:cover;outline:#000 5px solid;vertical-align:top;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none;cursor:pointer}.radioDiv:hover{background-blend-mode:overlay;color:#d3d3d3}.radioDiv:active{background-blend-mode:multiply;color:#fff}.radioDiv[checked]{background-blend-mode:color-dodge;color:#ffebcd}.radioDiv[checked]:active{background-blend-mode:color-burn;color:aqua}.radioSwal{width:-webkit-fit-content !important;width:-moz-fit-content !important;width:fit-content !important;min-width:32em !important;max-width:46em !important}.centeredMenu{position:fixed;top:-10%;left:10%;right:10%;width:80%;height:80%;z-index:2;background-color:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}',""]);const i=s},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,a,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var i=0;i ".concat(e,"
. ".concat(e,"
. ".concat(e,"
".concat(e,"
".concat(e,"
"),icon:"error"})}return swal_1.Toast.fire("Evaluated!","Code was evaluated.","success")}})))}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},9820:function(e,t,o){var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(7046),o(2852),o(3526),o(6455),o(4759),o(4719),o(158)],a=function(e,t,o,n,a,r,c,l){"use strict";var u,d,p,h;Object.defineProperty(t,"__esModule",{value:!0}),t.category=t.Toggler=t.Hack=t.toggler=t.wrapper=t.menu=void 0,r=i(r),t.menu=document.createElement("div"),t.wrapper=document.getElementById("game-wrapper"),null===(u=document.getElementById("cheat-menu"))||void 0===u||u.remove(),null===(d=document.getElementById("menu-toggler"))||void 0===d||d.remove(),t.menu.id="cheat-menu",t.menu.style="position: fixed;top: -10%;left: 10%;right: 10%;width: 80%;height: 80%;z-index: 2;background-color: rgba(0, 0, 0, 0.5);backdrop-filter: blur(5px);",null===(p=t.wrapper)||void 0===p||p.prepend(t.menu),t.toggler=document.createElement("button"),t.toggler.id="menu-toggler";var m=!1;null===(h=t.wrapper)||void 0===h||h.prepend(t.toggler),t.toggler.onclick=()=>{(m=!m)?(t.toggler.innerText="▼",t.menu.style.top="-100vh"):(t.toggler.innerText="▲",t.menu.style.top="10%")},t.toggler.onclick({});var f=document.createElement("DIV");f.classList.add("menu-left"),t.menu.append(f);var g=!0,y=e=>{var t=document.createElement("div");0==g?(t.append(document.createElement("br")),t.append(document.createElement("br"))):g=!1,t.classList.add("menu-area"),t.style.textAlign="center",f.append(t);var o=document.createElement("h1");return o.innerText=e,o.style.textAlign="center",o.style.color="white",t.append(o),t},w=document.createElement("h1");w.classList.add("menu-title"),w.innerText="Prodigy Hacks",w.style.textAlign="center",f.append(w);var b=document.createElement("h2");b.style.fontSize="25px",b.style.color="white",b.innerHTML="Join our Discord https://dsc.gg/ProdigyPNP!
\n\n\n This is free and open-source software.\n If you paid for this or accessed this behind a paywall/AdFly link, demand a refund. If you sell this software, or otherwise make a commercial advantage from it, you are violating\n our license.\n
\n ')).value?yield(0,a.statusMessage)():(yield c.NoLicense.fire("ProdigyPNP License","\n\n You need to agree to our license to use our hacks. If you changed your mind and now agree to our license, reload Prodigy.\n
\n ")).value?document.location="":(null===(e=document.getElementById("cheat-menu"))||void 0===e||e.remove(),null===(t=document.getElementById("menu-toggler"))||void 0===t||t.remove())}))()}.apply(t,n),void 0===a||(e.exports=a)},8238:(e,t,o)=>{var n,a;n=[o,t,o(9820)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stopFps=t.startFps=void 0;var n=document.createElement("button"),a=!1;t.startFps=function(){var e;a=!0,n.id="fps-counter",null===(e=o.wrapper)||void 0===e||e.prepend(n),setInterval((()=>{var e=_.player.game.fps._framerate;a?n.innerText=e.toFixed(2)+" FPS":n.remove()}),300)},t.stopFps=function(){var e;a=!1,null===(e=document.getElementById("fps-counter"))||void 0===e||e.remove()}}.apply(t,n),void 0===a||(e.exports=a)},112:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],a=function(e,t,o,n){"use strict";function a(e){o._.instance.prodigy.loading(!0);var t=t=>{var a=null!=t?t[e]:null;if(null!==a&&void 0!==a.house&&null!==a.house){o._.instance.prodigy.loading(!1);var r=o._.cloneDeep(o._.player.house);return r.setItems(a.house),void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors?o._.instance.prodigy.world._("house",null,null,{house:r,getAllowsHouseVisitors:()=>void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors,setAllowsHouseVisitors:e=>{a.data.allowsHouseVisitors=e}}):n.Swal.fire("Teleporting to ".concat(e," is not allowed."),"Try another user.","error")}};return o._.network.getCharData(e.toString(),["house","data"],t,t),n.Toast.fire("Teleported to house","You have been teleported to the house!","success")}Object.defineProperty(t,"__esModule",{value:!0}),t.getPet=t.teleportToHouse=t.toHouse=t.getMemberModule=t.runeify=t.itemify=t.ids=t.names=void 0,t.names=["Boots","Buddies","Fossils","Hats","Items","Key Items","Tower Town Frames","Tower Town Interiors","Mounts","Outfits","Relics","Weapons","Currencies"],t.ids=["boots","follow","fossil","hat","item","key","mathTownFrame","mathTownInterior","mount","outfit","spellRelic","weapon","currency"],t.itemify=(e,t)=>e.map((e=>({ID:e.ID,N:t}))).filter((e=>void 0!==e)),t.runeify=(e,t)=>e.map((e=>({ID:e.ID,quantity:t}))).filter((e=>void 0!==e)),t.getMemberModule=function(){return o._.player.hasMembership.toString().split('"')[1]},t.toHouse=function(e){if(o._.player.userID!==e){var t=o._.instance.prodigy.friendsListNetworkHandler.friendsList.length,r=o._.instance.prodigy.friendsListNetworkHandler.classList.length;o._.instance.prodigy.gameContainer.get("2e1-e659").create("house-visit","click","hub",t,r,null,null,e).broadcast()}var s=o._.instance.prodigy.world.getZone(o._.instance.prodigy.world.getCurrentZone());return s?s.handleLeaving(2,(()=>a(e))):n.Swal.fire({title:"Error",text:"You are not in a zone!",icon:"error"})},t.teleportToHouse=a;var s=function(){var e,t=(e=function*(e){return(yield n.Swal.fire({input:"select",inputOptions:new Map(o._.player.kennel.data.map(((e,t)=>{var n,a,r;return[t.toString(),"Level ".concat(e.level," - ").concat(null!==(n=null!==(a=e.nickname)&&void 0!==a?a:null===(r=o._.gameData.pet.find((t=>+t.ID==+e.ID)))||void 0===r?void 0:r.data.name)&&void 0!==n?n:"Unknown")]}))),title:"Choose Pet",text:e})).value},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}();t.getPet=s}.apply(t,n),void 0===a||(e.exports=a)},2868:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],void 0===(a=function(e,t,o,n){"use strict";window.addEventListener("keydown",(e=>{switch(e.which){case 192:o._.instance.prodigy.open.menuCloseAll();break;case 220:var t=function(){var e,t=(e=function*(){if(!(yield n.Confirm.fire("Kit","Would you like to equip Celestial Gear?")).value)return console.log("Cancelled");o._.player.equipment.setHat(200),o._.player.equipment.setBoots(93),o._.player.equipment.setOutfit(161),o._.player.equipment.setWeapon(196),o._.player.appearanceChanged=!0,n.Toast.fire("Success!","You are now wearing Celestial Armor and wielding a Dual Blade.","success")},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();t()}}))}.apply(t,n))||(e.exports=a)},4719:(e,t,o)=>{var n;n=function(e,t){"use strict";function o(e,o){return""==e||null==e?console.log("["+t.LogPrefix+":unknown] "+o):console.log("["+t.LogPrefix+":"+e+"] "+o)}function n(e,t,n){return o(t,"*"+e.toUpperCase()+"* "+n)}Object.defineProperty(t,"__esModule",{value:!0}),t.UtilityError=t.UtilitySuccess=t.UtilityInfo=t.PlayerError=t.PlayerSuccess=t.PlayerInfo=t.PetsError=t.PetsSuccess=t.PetsInfo=t.PatchedError=t.PatchedSuccess=t.PatchedInfo=t.MiscError=t.MiscSuccess=t.MiscInfo=t.MinigameError=t.MinigameSuccess=t.MinigameInfo=t.LocationError=t.LocationSuccess=t.LocationInfo=t.InventoryError=t.InventorySuccess=t.InventoryInfo=t.BetaError=t.BetaSuccess=t.BetaInfo=t.BattleError=t.BattleSuccess=t.BattleInfo=t.IndexError=t.IndexSuccess=t.IndexInfo=t.StatusLog=t.ConsoleLog=t.LogPrefix=void 0,t.LogPrefix="CheatGUI",t.ConsoleLog=o,t.StatusLog=n,t.IndexInfo=function(e){return n("info","index.ts",e)},t.IndexSuccess=function(e){return n("success","index.ts",e)},t.IndexError=function(e){return n("error","index.ts",e)},t.BattleInfo=function(e){return n("info","battle.ts",e)},t.BattleSuccess=function(e){return n("success","battle.ts",e)},t.BattleError=function(e){return n("error","battle.ts",e)},t.BetaInfo=function(e){return n("info","beta.ts",e)},t.BetaSuccess=function(e){return n("success","beta.ts",e)},t.BetaError=function(e){return n("error","beta.ts",e)},t.InventoryInfo=function(e){return n("info","inventory.ts",e)},t.InventorySuccess=function(e){return n("success","inventory.ts",e)},t.InventoryError=function(e){return n("error","inventory.ts",e)},t.LocationInfo=function(e){return n("info","location.ts",e)},t.LocationSuccess=function(e){return n("success","location.ts",e)},t.LocationError=function(e){return n("error","location.ts",e)},t.MinigameInfo=function(e){return n("info","minigame.ts",e)},t.MinigameSuccess=function(e){return n("success","minigame.ts",e)},t.MinigameError=function(e){return n("error","minigame.ts",e)},t.MiscInfo=function(e){return n("info","misc.ts",e)},t.MiscSuccess=function(e){return n("success","misc.ts",e)},t.MiscError=function(e){return n("error","misc.ts",e)},t.PatchedInfo=function(e){return n("info","patched.ts",e)},t.PatchedSuccess=function(e){return n("success","patched.ts",e)},t.PatchedError=function(e){return n("error","patched.ts",e)},t.PetsInfo=function(e){return n("info","pets.ts",e)},t.PetsSuccess=function(e){return n("success","pets.ts",e)},t.PetsError=function(e){return n("error","pets.ts",e)},t.PlayerInfo=function(e){return n("info","player.ts",e)},t.PlayerSuccess=function(e){return n("success","player.ts",e)},t.PlayerError=function(e){return n("error","player.ts",e)},t.UtilityInfo=function(e){return n("info","utility.ts",e)},t.UtilitySuccess=function(e){return n("success","utility.ts",e)},t.UtilityError=function(e){return n("error","utility.ts",e)}}.apply(t,[o,t]),void 0===n||(e.exports=n)},3131:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(2852)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopupInterval=void 0;var n=!1;t.PopupInterval=function(e){n=e},s((function*(){setInterval(s((function*(){n&&o._.instance.prodigy.open.menuCloseAll()})),200)}))()}.apply(t,n),void 0===a||(e.exports=a)},3526:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(4759)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statusMessage=void 0,t.statusMessage=function(){fetch("https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/statusmessage.json?updated=".concat(Date.now())).then((e=>e.json())).then(function(){var e,t=(e=function*(e){if(!1===e.enabled.value)return console.log("Status message is disabled.");yield o.Swal.fire({title:e.get("title"),html:e.get("html"),icon:e.get("icon")})},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}())}}.apply(t,n),void 0===a||(e.exports=a)},4759:function(e,t,o){var n,a,r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(6455)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoLicense=t.License=t.Info=t.Confirm=t.Toast=t.NumberInput=t.Input=t.Swal=void 0,o=r(o),t.Swal=o.default,t.Input=t.Swal.mixin({input:"text",showCancelButton:!0,showConfirmButton:!0,toast:!1}),t.NumberInput=t.Input.mixin({toast:!1,input:"number"}),t.Toast=t.Swal.mixin({toast:!0,position:"bottom"}),t.Confirm=t.Swal.mixin({icon:"warning",showCancelButton:!0,toast:!1,confirmButtonText:"Confirm",cancelButtonText:"Cancel"}),t.Info=t.Swal.mixin({icon:"info",showCancelButton:!1,toast:!1}),t.License=t.Swal.mixin({icon:"info",showCancelButton:!0,toast:!1,confirmButtonText:"Agree",cancelButtonText:"Disagree"}),t.NoLicense=t.Swal.mixin({icon:"error",showCancelButton:!0,toast:!1,confirmButtonText:"Reload",cancelButtonText:"Play without hacks"})}.apply(t,n),void 0===a||(e.exports=a)},2852:(e,t,o)=>{var n;n=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pickRandom=t.locations=t.joinAsset=t.assetURL=t.saveCharacter=t.states=t.VERY_LARGE_NUMBER=t.getItem=t.gameData=t.prodigy=t.game=t.current=t.player=t._=void 0,t._=window._,t.player=t._.player,t.current=window.Boot.prototype.game._state._current;var o=t._.instance;t.game=o.game,t.prodigy=o.prodigy,t.gameData=t._.instance.game.state.states.get("Boot").gameData,t.getItem=(e,o)=>{var n;return null!==(n=t._.gameData[e].find((e=>e.ID===o)))&&void 0!==n?n:null},t.VERY_LARGE_NUMBER=9e9,t.states=Object.fromEntries(t._.instance.game.state.states),t.saveCharacter=()=>{t._.network.processPlayer=!0,t._.player.forceSaveCharacter()},t.assetURL="https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/src/assets/",t.joinAsset=e=>"".concat(t.assetURL).concat(e),t.locations={academy:(0,t.joinAsset)("academy.png"),bonfire_spire:(0,t.joinAsset)("bonfire_spire.png"),forest:(0,t.joinAsset)("forest.png"),shipwreck_shore:(0,t.joinAsset)("shipwreck_shore.png"),shiverchill:(0,t.joinAsset)("shiverchill.png"),skywatch:(0,t.joinAsset)("skywatch.png"),dyno:(0,t.joinAsset)("dyno.png"),elemental_guardian:(0,t.joinAsset)("elemental_guardian.png"),darktower:(0,t.joinAsset)("darktower.png"),earthtower:(0,t.joinAsset)("earthtower.png"),crystal_caverns:(0,t.joinAsset)("crystal_caverns.png"),archives:(0,t.joinAsset)("archives.png"),house:(0,t.joinAsset)("house.png"),toyzone:(0,t.joinAsset)("toyzone.png"),tower_town:(0,t.joinAsset)("tower_town.png"),lamplight:(0,t.joinAsset)("lamplight.png")},t.pickRandom=e=>e[Math.floor(Math.random()*e.length)]}.apply(t,[o,t]),void 0===n||(e.exports=n)},450:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(8081),a=o.n(n),r=o(3645),s=o.n(r)()(a());s.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Arvo:400,700|Sen:400,700,800&display=swap&subset=latin-ext);"]),s.push([e.id,'#game-wrapper{font-family:"Sen",sans-serif}#game-wrapper #cheat-menu{height:465px;background-color:rgba(238,238,238,.7333333333);padding:2px;position:absolute;top:0px;left:0px;transition:top .35s;padding:10px;border:10px solid rgba(0,0,0,.1);border-radius:15px;overflow-y:scroll;resize:none;overflow:auto}#game-wrapper .menu-left{width:100%;height:100%;float:center}#game-wrapper #menu-toggler{z-index:1;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;font-size:23px;height:26px;width:50px;border:1px solid rgba(0,0,0,.1)}#game-wrapper #menu-toggler:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #menu-toggler:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper #fps-counter{z-index:2;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;width:130px;height:26px;font-size:23px;border:1px solid rgba(0,0,0,.1);margin-left:83%}#game-wrapper #fps-counter:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #fps-counter:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper .menu-area h1{font-family:"Sen",sans-serif;font-size:30px;font-weight:700;color:#111;margin:10px}#game-wrapper .menu-area button{background-color:rgba(0,0,0,.55);color:#fff;border-radius:5px;border:1px solid #eee;padding:1%;transition:all .15s;margin:5px 5px;transition-property:border-color,background-color}#game-wrapper .menu-area button:hover{border-color:rgba(119,119,119,.8666666667);background-color:#ddd}#game-wrapper .menu-area button:active{border-color:#555;background-color:#bbb}#game-wrapper .menu-area button[status=true]{border-color:rgba(85,170,85,.8666666667);background-color:#9bee9b}#game-wrapper .menu-area button[status=true]:hover{border-color:rgba(179,187,176,.8666666667);background-color:#bffebf}#game-wrapper .menu-area button[status=true]:active{border-color:#4e5c50;background-color:#24be6a}#game-wrapper .menu-area button[status=false]{border-color:rgba(119,102,102,.8666666667);background-color:#9b9b9b}#game-wrapper .menu-area button[status=false]:hover{border-color:rgba(133,133,133,.8666666667);background-color:#bfbfbf}#game-wrapper .menu-area button[status=false]:active{border-color:#4c3e40;background-color:#be246a}#game-wrapper .menu-title{font-family:"Verdana",sans-serif;font-size:40px;font-weight:900;color:#fff}.radioDiv{width:125px;height:125px;display:inline-block;margin:7px;background-color:#5a7e3f;color:#000;background-size:cover;outline:#000 5px solid;vertical-align:top;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none;cursor:pointer}.radioDiv:hover{background-blend-mode:overlay;color:#d3d3d3}.radioDiv:active{background-blend-mode:multiply;color:#fff}.radioDiv[checked]{background-blend-mode:color-dodge;color:#ffebcd}.radioDiv[checked]:active{background-blend-mode:color-burn;color:aqua}.radioSwal{width:-webkit-fit-content !important;width:-moz-fit-content !important;width:fit-content !important;min-width:32em !important;max-width:46em !important}.centeredMenu{position:fixed;top:-10%;left:10%;right:10%;width:80%;height:80%;z-index:2;background-color:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}',""]);const i=s},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,a,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var i=0;i ".concat(e,"
. ".concat(e,"
. ".concat(e,"
".concat(e,"
".concat(e,"
"),icon:"error"})}return swal_1.Toast.fire("Evaluated!","Code was evaluated.","success")}})))}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},9820:function(e,t,o){var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(7046),o(2852),o(3526),o(6455),o(4759),o(4719),o(158)],a=function(e,t,o,n,a,r,c,l){"use strict";var u,d,p,h;Object.defineProperty(t,"__esModule",{value:!0}),t.category=t.Toggler=t.Hack=t.toggler=t.wrapper=t.menu=void 0,r=i(r),t.menu=document.createElement("div"),t.wrapper=document.getElementById("game-wrapper"),null===(u=document.getElementById("cheat-menu"))||void 0===u||u.remove(),null===(d=document.getElementById("menu-toggler"))||void 0===d||d.remove(),t.menu.id="cheat-menu",t.menu.style="position: fixed;top: -10%;left: 10%;right: 10%;width: 80%;height: 80%;z-index: 2;background-color: rgba(0, 0, 0, 0.5);backdrop-filter: blur(5px);",null===(p=t.wrapper)||void 0===p||p.prepend(t.menu),t.toggler=document.createElement("button"),t.toggler.id="menu-toggler";var m=!1;null===(h=t.wrapper)||void 0===h||h.prepend(t.toggler),t.toggler.onclick=()=>{(m=!m)?(t.toggler.innerText="▼",t.menu.style.top="-100vh"):(t.toggler.innerText="▲",t.menu.style.top="10%")},t.toggler.onclick({});var f=document.createElement("DIV");f.classList.add("menu-left"),t.menu.append(f);var g=!0,y=e=>{var t=document.createElement("div");0==g?(t.append(document.createElement("br")),t.append(document.createElement("br"))):g=!1,t.classList.add("menu-area"),t.style.textAlign="center",f.append(t);var o=document.createElement("h1");return o.innerText=e,o.style.textAlign="center",o.style.color="white",t.append(o),t},w=document.createElement("h1");w.classList.add("menu-title"),w.innerText="Prodigy Hacks",w.style.textAlign="center",f.append(w);var b=document.createElement("h2");b.style.fontSize="25px",b.style.color="white",b.innerHTML="Join our Discord https://dsc.gg/ProdigyPNP!
\n\n\n This is free and open-source software.\n If you paid for this or accessed this behind a paywall/AdFly link, demand a refund. If you sell this software, or otherwise make a commercial advantage from it, you are violating\n our license.\n
\n ')).value?yield(0,a.statusMessage)():(yield c.NoLicense.fire("ProdigyPNP License","\n\n You need to agree to our license to use our hacks. If you changed your mind and now agree to our license, reload Prodigy.\n
\n ")).value?document.location="":(null===(e=document.getElementById("cheat-menu"))||void 0===e||e.remove(),null===(t=document.getElementById("menu-toggler"))||void 0===t||t.remove())}))()}.apply(t,n),void 0===a||(e.exports=a)},8238:(e,t,o)=>{var n,a;n=[o,t,o(9820)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stopFps=t.startFps=void 0;var n=document.createElement("button"),a=!1;t.startFps=function(){var e;a=!0,n.id="fps-counter",null===(e=o.wrapper)||void 0===e||e.prepend(n),setInterval((()=>{var e=_.player.game.fps._framerate;a?n.innerText=e.toFixed(2)+" FPS":n.remove()}),300)},t.stopFps=function(){var e;a=!1,null===(e=document.getElementById("fps-counter"))||void 0===e||e.remove()}}.apply(t,n),void 0===a||(e.exports=a)},112:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],a=function(e,t,o,n){"use strict";function a(e){o._.instance.prodigy.loading(!0);var t=t=>{var a=null!=t?t[e]:null;if(null!==a&&void 0!==a.house&&null!==a.house){o._.instance.prodigy.loading(!1);var r=o._.cloneDeep(o._.player.house);return r.setItems(a.house),void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors?o._.instance.prodigy.world._("house",null,null,{house:r,getAllowsHouseVisitors:()=>void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors,setAllowsHouseVisitors:e=>{a.data.allowsHouseVisitors=e}}):n.Swal.fire("Teleporting to ".concat(e," is not allowed."),"Try another user.","error")}};return o._.network.getCharData(e.toString(),["house","data"],t,t),n.Toast.fire("Teleported to house","You have been teleported to the house!","success")}Object.defineProperty(t,"__esModule",{value:!0}),t.getPet=t.teleportToHouse=t.toHouse=t.getMemberModule=t.runeify=t.itemify=t.ids=t.names=void 0,t.names=["Boots","Buddies","Fossils","Hats","Items","Key Items","Tower Town Frames","Tower Town Interiors","Mounts","Outfits","Relics","Weapons","Currencies"],t.ids=["boots","follow","fossil","hat","item","key","mathTownFrame","mathTownInterior","mount","outfit","spellRelic","weapon","currency"],t.itemify=(e,t)=>e.map((e=>({ID:e.ID,N:t}))).filter((e=>void 0!==e)),t.runeify=(e,t)=>e.map((e=>({ID:e.ID,quantity:t}))).filter((e=>void 0!==e)),t.getMemberModule=function(){return o._.player.hasMembership.toString().split('"')[1]},t.toHouse=function(e){if(o._.player.userID!==e){var t=o._.instance.prodigy.friendsListNetworkHandler.friendsList.length,r=o._.instance.prodigy.friendsListNetworkHandler.classList.length;o._.instance.prodigy.gameContainer.get("2e1-e659").create("house-visit","click","hub",t,r,null,null,e).broadcast()}var s=o._.instance.prodigy.world.getZone(o._.instance.prodigy.world.getCurrentZone());return s?s.handleLeaving(2,(()=>a(e))):n.Swal.fire({title:"Error",text:"You are not in a zone!",icon:"error"})},t.teleportToHouse=a;var s=function(){var e,t=(e=function*(e){return(yield n.Swal.fire({input:"select",inputOptions:new Map(o._.player.kennel.data.map(((e,t)=>{var n,a,r;return[t.toString(),"Level ".concat(e.level," - ").concat(null!==(n=null!==(a=e.nickname)&&void 0!==a?a:null===(r=o._.gameData.pet.find((t=>+t.ID==+e.ID)))||void 0===r?void 0:r.data.name)&&void 0!==n?n:"Unknown")]}))),title:"Choose Pet",text:e})).value},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}();t.getPet=s}.apply(t,n),void 0===a||(e.exports=a)},3336:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(4759)],a=function(e,t,o){"use strict";function n(){return(n=s((function*(){var e=new Map;e.set("Copy","Copy a slot to another slot"),e.set("Remove","Completley empty one slot"),e.set("Restore","");var t=yield o.Swal.fire({input:"select",inputOptions:e,title:"Select Action",text:"Select an action to perform on the Kennel"});return t.value?t.value:null}))).apply(this,arguments)}function a(){return(a=s((function*(){var e=new Map,t=e=>_.player.kennel._petTeam[e]?_.player.kennel._petTeam[e].source?_.player.kennel._petTeam[e].source.name:_.player.kennel._petTeam[e]._userDataPlatform?"Player":"null":"null";e.set("0","[0] Center - ".concat(t(0))),e.set("1","[1] Top - ".concat(t(1))),e.set("2","[2] Bottom - ".concat(t(2)));var n=yield o.Swal.fire({input:"select",inputOptions:e,title:"Select Slot",text:"Select a slot to edit"});return n.value?parseInt(n.value):null}))).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.SelectSlot=t.GetAction=void 0,t.GetAction=function(){return n.apply(this,arguments)},t.SelectSlot=function(){return a.apply(this,arguments)}}.apply(t,n),void 0===a||(e.exports=a)},2868:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],void 0===(a=function(e,t,o,n){"use strict";window.addEventListener("keydown",(e=>{switch(e.which){case 192:o._.instance.prodigy.open.menuCloseAll();break;case 220:var t=function(){var e,t=(e=function*(){if(!(yield n.Confirm.fire("Kit","Would you like to equip Celestial Gear?")).value)return console.log("Cancelled");o._.player.equipment.setHat(200),o._.player.equipment.setBoots(93),o._.player.equipment.setOutfit(161),o._.player.equipment.setWeapon(196),o._.player.appearanceChanged=!0,n.Toast.fire("Success!","You are now wearing Celestial Armor and wielding a Dual Blade.","success")},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();t()}}))}.apply(t,n))||(e.exports=a)},4719:(e,t,o)=>{var n;n=function(e,t){"use strict";function o(e,o){return""==e||null==e?console.log("["+t.LogPrefix+":unknown] "+o):console.log("["+t.LogPrefix+":"+e+"] "+o)}function n(e,t,n){return o(t,"*"+e.toUpperCase()+"* "+n)}Object.defineProperty(t,"__esModule",{value:!0}),t.UtilityError=t.UtilitySuccess=t.UtilityInfo=t.PlayerError=t.PlayerSuccess=t.PlayerInfo=t.PetsError=t.PetsSuccess=t.PetsInfo=t.PatchedError=t.PatchedSuccess=t.PatchedInfo=t.MiscError=t.MiscSuccess=t.MiscInfo=t.MinigameError=t.MinigameSuccess=t.MinigameInfo=t.LocationError=t.LocationSuccess=t.LocationInfo=t.InventoryError=t.InventorySuccess=t.InventoryInfo=t.BetaError=t.BetaSuccess=t.BetaInfo=t.BattleError=t.BattleSuccess=t.BattleInfo=t.IndexError=t.IndexSuccess=t.IndexInfo=t.StatusLog=t.ConsoleLog=t.LogPrefix=void 0,t.LogPrefix="CheatGUI",t.ConsoleLog=o,t.StatusLog=n,t.IndexInfo=function(e){return n("info","index.ts",e)},t.IndexSuccess=function(e){return n("success","index.ts",e)},t.IndexError=function(e){return n("error","index.ts",e)},t.BattleInfo=function(e){return n("info","battle.ts",e)},t.BattleSuccess=function(e){return n("success","battle.ts",e)},t.BattleError=function(e){return n("error","battle.ts",e)},t.BetaInfo=function(e){return n("info","beta.ts",e)},t.BetaSuccess=function(e){return n("success","beta.ts",e)},t.BetaError=function(e){return n("error","beta.ts",e)},t.InventoryInfo=function(e){return n("info","inventory.ts",e)},t.InventorySuccess=function(e){return n("success","inventory.ts",e)},t.InventoryError=function(e){return n("error","inventory.ts",e)},t.LocationInfo=function(e){return n("info","location.ts",e)},t.LocationSuccess=function(e){return n("success","location.ts",e)},t.LocationError=function(e){return n("error","location.ts",e)},t.MinigameInfo=function(e){return n("info","minigame.ts",e)},t.MinigameSuccess=function(e){return n("success","minigame.ts",e)},t.MinigameError=function(e){return n("error","minigame.ts",e)},t.MiscInfo=function(e){return n("info","misc.ts",e)},t.MiscSuccess=function(e){return n("success","misc.ts",e)},t.MiscError=function(e){return n("error","misc.ts",e)},t.PatchedInfo=function(e){return n("info","patched.ts",e)},t.PatchedSuccess=function(e){return n("success","patched.ts",e)},t.PatchedError=function(e){return n("error","patched.ts",e)},t.PetsInfo=function(e){return n("info","pets.ts",e)},t.PetsSuccess=function(e){return n("success","pets.ts",e)},t.PetsError=function(e){return n("error","pets.ts",e)},t.PlayerInfo=function(e){return n("info","player.ts",e)},t.PlayerSuccess=function(e){return n("success","player.ts",e)},t.PlayerError=function(e){return n("error","player.ts",e)},t.UtilityInfo=function(e){return n("info","utility.ts",e)},t.UtilitySuccess=function(e){return n("success","utility.ts",e)},t.UtilityError=function(e){return n("error","utility.ts",e)}}.apply(t,[o,t]),void 0===n||(e.exports=n)},3131:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(2852)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopupInterval=void 0;var n=!1;t.PopupInterval=function(e){n=e},s((function*(){setInterval(s((function*(){n&&o._.instance.prodigy.open.menuCloseAll()})),200)}))()}.apply(t,n),void 0===a||(e.exports=a)},3526:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(4759)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statusMessage=void 0,t.statusMessage=function(){fetch("https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/statusmessage.json?updated=".concat(Date.now())).then((e=>e.json())).then(function(){var e,t=(e=function*(e){if(!1===e.enabled.value)return console.log("Status message is disabled.");yield o.Swal.fire({title:e.get("title"),html:e.get("html"),icon:e.get("icon")})},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}())}}.apply(t,n),void 0===a||(e.exports=a)},4759:function(e,t,o){var n,a,r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(6455)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoLicense=t.License=t.Info=t.Confirm=t.Toast=t.NumberInput=t.Input=t.Swal=void 0,o=r(o),t.Swal=o.default,t.Input=t.Swal.mixin({input:"text",showCancelButton:!0,showConfirmButton:!0,toast:!1}),t.NumberInput=t.Input.mixin({toast:!1,input:"number"}),t.Toast=t.Swal.mixin({toast:!0,position:"bottom"}),t.Confirm=t.Swal.mixin({icon:"warning",showCancelButton:!0,toast:!1,confirmButtonText:"Confirm",cancelButtonText:"Cancel"}),t.Info=t.Swal.mixin({icon:"info",showCancelButton:!1,toast:!1}),t.License=t.Swal.mixin({icon:"info",showCancelButton:!0,toast:!1,confirmButtonText:"Agree",cancelButtonText:"Disagree"}),t.NoLicense=t.Swal.mixin({icon:"error",showCancelButton:!0,toast:!1,confirmButtonText:"Reload",cancelButtonText:"Play without hacks"})}.apply(t,n),void 0===a||(e.exports=a)},2852:(e,t,o)=>{var n;n=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pickRandom=t.locations=t.joinAsset=t.assetURL=t.saveCharacter=t.states=t.VERY_LARGE_NUMBER=t.getItem=t.gameData=t.prodigy=t.game=t.current=t.player=t._=void 0,t._=window._,t.player=t._.player,t.current=window.Boot.prototype.game._state._current;var o=t._.instance;t.game=o.game,t.prodigy=o.prodigy,t.gameData=t._.instance.game.state.states.get("Boot").gameData,t.getItem=(e,o)=>{var n;return null!==(n=t._.gameData[e].find((e=>e.ID===o)))&&void 0!==n?n:null},t.VERY_LARGE_NUMBER=9e9,t.states=Object.fromEntries(t._.instance.game.state.states),t.saveCharacter=()=>{t._.network.processPlayer=!0,t._.player.forceSaveCharacter()},t.assetURL="https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/src/assets/",t.joinAsset=e=>"".concat(t.assetURL).concat(e),t.locations={academy:(0,t.joinAsset)("academy.png"),bonfire_spire:(0,t.joinAsset)("bonfire_spire.png"),forest:(0,t.joinAsset)("forest.png"),shipwreck_shore:(0,t.joinAsset)("shipwreck_shore.png"),shiverchill:(0,t.joinAsset)("shiverchill.png"),skywatch:(0,t.joinAsset)("skywatch.png"),dyno:(0,t.joinAsset)("dyno.png"),elemental_guardian:(0,t.joinAsset)("elemental_guardian.png"),darktower:(0,t.joinAsset)("darktower.png"),earthtower:(0,t.joinAsset)("earthtower.png"),crystal_caverns:(0,t.joinAsset)("crystal_caverns.png"),archives:(0,t.joinAsset)("archives.png"),house:(0,t.joinAsset)("house.png"),toyzone:(0,t.joinAsset)("toyzone.png"),tower_town:(0,t.joinAsset)("tower_town.png"),lamplight:(0,t.joinAsset)("lamplight.png")},t.pickRandom=e=>e[Math.floor(Math.random()*e.length)]}.apply(t,[o,t]),void 0===n||(e.exports=n)},450:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(8081),a=o.n(n),r=o(3645),s=o.n(r)()(a());s.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Arvo:400,700|Sen:400,700,800&display=swap&subset=latin-ext);"]),s.push([e.id,'#game-wrapper{font-family:"Sen",sans-serif}#game-wrapper #cheat-menu{height:465px;background-color:rgba(238,238,238,.7333333333);padding:2px;position:absolute;top:0px;left:0px;transition:top .35s;padding:10px;border:10px solid rgba(0,0,0,.1);border-radius:15px;overflow-y:scroll;resize:none;overflow:auto}#game-wrapper .menu-left{width:100%;height:100%;float:center}#game-wrapper #menu-toggler{z-index:1;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;font-size:23px;height:26px;width:50px;border:1px solid rgba(0,0,0,.1)}#game-wrapper #menu-toggler:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #menu-toggler:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper #fps-counter{z-index:2;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;width:130px;height:26px;font-size:23px;border:1px solid rgba(0,0,0,.1);margin-left:83%}#game-wrapper #fps-counter:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #fps-counter:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper .menu-area h1{font-family:"Sen",sans-serif;font-size:30px;font-weight:700;color:#111;margin:10px}#game-wrapper .menu-area button{background-color:rgba(0,0,0,.55);color:#fff;border-radius:5px;border:1px solid #eee;padding:1%;transition:all .15s;margin:5px 5px;transition-property:border-color,background-color}#game-wrapper .menu-area button:hover{border-color:rgba(119,119,119,.8666666667);background-color:#ddd}#game-wrapper .menu-area button:active{border-color:#555;background-color:#bbb}#game-wrapper .menu-area button[status=true]{border-color:rgba(85,170,85,.8666666667);background-color:#9bee9b}#game-wrapper .menu-area button[status=true]:hover{border-color:rgba(179,187,176,.8666666667);background-color:#bffebf}#game-wrapper .menu-area button[status=true]:active{border-color:#4e5c50;background-color:#24be6a}#game-wrapper .menu-area button[status=false]{border-color:rgba(119,102,102,.8666666667);background-color:#9b9b9b}#game-wrapper .menu-area button[status=false]:hover{border-color:rgba(133,133,133,.8666666667);background-color:#bfbfbf}#game-wrapper .menu-area button[status=false]:active{border-color:#4c3e40;background-color:#be246a}#game-wrapper .menu-title{font-family:"Verdana",sans-serif;font-size:40px;font-weight:900;color:#fff}.radioDiv{width:125px;height:125px;display:inline-block;margin:7px;background-color:#5a7e3f;color:#000;background-size:cover;outline:#000 5px solid;vertical-align:top;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none;cursor:pointer}.radioDiv:hover{background-blend-mode:overlay;color:#d3d3d3}.radioDiv:active{background-blend-mode:multiply;color:#fff}.radioDiv[checked]{background-blend-mode:color-dodge;color:#ffebcd}.radioDiv[checked]:active{background-blend-mode:color-burn;color:aqua}.radioSwal{width:-webkit-fit-content !important;width:-moz-fit-content !important;width:fit-content !important;min-width:32em !important;max-width:46em !important}.centeredMenu{position:fixed;top:-10%;left:10%;right:10%;width:80%;height:80%;z-index:2;background-color:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}',""]);const i=s},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,a,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var i=0;i ".concat(e,"
. ".concat(e,"
. ".concat(e,"
".concat(e,"
".concat(e,"
"),icon:"error"})}return swal_1.Toast.fire("Evaluated!","Code was evaluated.","success")}})))}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},9820:function(e,t,o){var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(7046),o(2852),o(3526),o(6455),o(4759),o(4719),o(158)],a=function(e,t,o,n,a,r,c,l){"use strict";var u,d,p,h;Object.defineProperty(t,"__esModule",{value:!0}),t.category=t.Toggler=t.Hack=t.toggler=t.wrapper=t.menu=void 0,r=i(r),t.menu=document.createElement("div"),t.wrapper=document.getElementById("game-wrapper"),null===(u=document.getElementById("cheat-menu"))||void 0===u||u.remove(),null===(d=document.getElementById("menu-toggler"))||void 0===d||d.remove(),t.menu.id="cheat-menu",t.menu.style="position: fixed;top: -10%;left: 10%;right: 10%;width: 80%;height: 80%;z-index: 2;background-color: rgba(0, 0, 0, 0.5);backdrop-filter: blur(5px);",null===(p=t.wrapper)||void 0===p||p.prepend(t.menu),t.toggler=document.createElement("button"),t.toggler.id="menu-toggler";var m=!1;null===(h=t.wrapper)||void 0===h||h.prepend(t.toggler),t.toggler.onclick=()=>{(m=!m)?(t.toggler.innerText="▼",t.menu.style.top="-100vh"):(t.toggler.innerText="▲",t.menu.style.top="10%")},t.toggler.onclick({});var f=document.createElement("DIV");f.classList.add("menu-left"),t.menu.append(f);var g=!0,y=e=>{var t=document.createElement("div");0==g?(t.append(document.createElement("br")),t.append(document.createElement("br"))):g=!1,t.classList.add("menu-area"),t.style.textAlign="center",f.append(t);var o=document.createElement("h1");return o.innerText=e,o.style.textAlign="center",o.style.color="white",t.append(o),t},w=document.createElement("h1");w.classList.add("menu-title"),w.innerText="Prodigy Hacks",w.style.textAlign="center",f.append(w);var b=document.createElement("h2");b.style.fontSize="25px",b.style.color="white",b.innerHTML="Join our Discord https://dsc.gg/ProdigyPNP!
\n\n\n This is free and open-source software.\n If you paid for this or accessed this behind a paywall/AdFly link, demand a refund. If you sell this software, or otherwise make a commercial advantage from it, you are violating\n our license.\n
\n ')).value?yield(0,a.statusMessage)():(yield c.NoLicense.fire("ProdigyPNP License","\n\n You need to agree to our license to use our hacks. If you changed your mind and now agree to our license, reload Prodigy.\n
\n ")).value?document.location="":(null===(e=document.getElementById("cheat-menu"))||void 0===e||e.remove(),null===(t=document.getElementById("menu-toggler"))||void 0===t||t.remove())}))()}.apply(t,n),void 0===a||(e.exports=a)},8238:(e,t,o)=>{var n,a;n=[o,t,o(9820)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stopFps=t.startFps=void 0;var n=document.createElement("button"),a=!1;t.startFps=function(){var e;a=!0,n.id="fps-counter",null===(e=o.wrapper)||void 0===e||e.prepend(n),setInterval((()=>{var e=_.player.game.fps._framerate;a?n.innerText=e.toFixed(2)+" FPS":n.remove()}),300)},t.stopFps=function(){var e;a=!1,null===(e=document.getElementById("fps-counter"))||void 0===e||e.remove()}}.apply(t,n),void 0===a||(e.exports=a)},112:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],a=function(e,t,o,n){"use strict";function a(e){o._.instance.prodigy.loading(!0);var t=t=>{var a=null!=t?t[e]:null;if(null!==a&&void 0!==a.house&&null!==a.house){o._.instance.prodigy.loading(!1);var r=o._.cloneDeep(o._.player.house);return r.setItems(a.house),void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors?o._.instance.prodigy.world._("house",null,null,{house:r,getAllowsHouseVisitors:()=>void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors,setAllowsHouseVisitors:e=>{a.data.allowsHouseVisitors=e}}):n.Swal.fire("Teleporting to ".concat(e," is not allowed."),"Try another user.","error")}};return o._.network.getCharData(e.toString(),["house","data"],t,t),n.Toast.fire("Teleported to house","You have been teleported to the house!","success")}Object.defineProperty(t,"__esModule",{value:!0}),t.getPet=t.teleportToHouse=t.toHouse=t.getMemberModule=t.runeify=t.itemify=t.ids=t.names=void 0,t.names=["Boots","Buddies","Fossils","Hats","Items","Key Items","Tower Town Frames","Tower Town Interiors","Mounts","Outfits","Relics","Weapons","Currencies"],t.ids=["boots","follow","fossil","hat","item","key","mathTownFrame","mathTownInterior","mount","outfit","spellRelic","weapon","currency"],t.itemify=(e,t)=>e.map((e=>({ID:e.ID,N:t}))).filter((e=>void 0!==e)),t.runeify=(e,t)=>e.map((e=>({ID:e.ID,quantity:t}))).filter((e=>void 0!==e)),t.getMemberModule=function(){return o._.player.hasMembership.toString().split('"')[1]},t.toHouse=function(e){if(o._.player.userID!==e){var t=o._.instance.prodigy.friendsListNetworkHandler.friendsList.length,r=o._.instance.prodigy.friendsListNetworkHandler.classList.length;o._.instance.prodigy.gameContainer.get("2e1-e659").create("house-visit","click","hub",t,r,null,null,e).broadcast()}var s=o._.instance.prodigy.world.getZone(o._.instance.prodigy.world.getCurrentZone());return s?s.handleLeaving(2,(()=>a(e))):n.Swal.fire({title:"Error",text:"You are not in a zone!",icon:"error"})},t.teleportToHouse=a;var s=function(){var e,t=(e=function*(e){return(yield n.Swal.fire({input:"select",inputOptions:new Map(o._.player.kennel.data.map(((e,t)=>{var n,a,r;return[t.toString(),"Level ".concat(e.level," - ").concat(null!==(n=null!==(a=e.nickname)&&void 0!==a?a:null===(r=o._.gameData.pet.find((t=>+t.ID==+e.ID)))||void 0===r?void 0:r.data.name)&&void 0!==n?n:"Unknown")]}))),title:"Choose Pet",text:e})).value},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}();t.getPet=s}.apply(t,n),void 0===a||(e.exports=a)},3336:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(4759)],a=function(e,t,o){"use strict";function n(){return(n=s((function*(){var e=new Map;e.set("Copy","Copy a slot to another slot"),e.set("Remove","Completley empty one slot"),e.set("Restore","");var t=yield o.Swal.fire({input:"select",inputOptions:e,title:"Select Action",text:"Select an action to perform on the Kennel"});return t.value?t.value:null}))).apply(this,arguments)}function a(){return(a=s((function*(){var e=new Map,t=e=>_.player.kennel._petTeam[e]?_.player.kennel._petTeam[e].source?_.player.kennel._petTeam[e].source.name:_.player.kennel._petTeam[e]._userDataPlatform?"Player":"null":"null";e.set("0","[0] Center - ".concat(t(0))),e.set("1","[1] Top - ".concat(t(1))),e.set("2","[2] Bottom - ".concat(t(2)));var n=yield o.Swal.fire({input:"select",inputOptions:e,title:"Select Slot",text:"Select a slot to edit"});return n.value?parseInt(n.value):null}))).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.SelectSlot=t.GetAction=void 0,t.GetAction=function(){return n.apply(this,arguments)},t.SelectSlot=function(){return a.apply(this,arguments)}}.apply(t,n),void 0===a||(e.exports=a)},2868:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],void 0===(a=function(e,t,o,n){"use strict";window.addEventListener("keydown",(e=>{switch(e.which){case 192:o._.instance.prodigy.open.menuCloseAll();break;case 220:var t=function(){var e,t=(e=function*(){if(!(yield n.Confirm.fire("Kit","Would you like to equip Celestial Gear?")).value)return console.log("Cancelled");o._.player.equipment.setHat(200),o._.player.equipment.setBoots(93),o._.player.equipment.setOutfit(161),o._.player.equipment.setWeapon(196),o._.player.appearanceChanged=!0,n.Toast.fire("Success!","You are now wearing Celestial Armor and wielding a Dual Blade.","success")},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();t()}}))}.apply(t,n))||(e.exports=a)},4719:(e,t,o)=>{var n;n=function(e,t){"use strict";function o(e,o){return""==e||null==e?console.log("["+t.LogPrefix+":unknown] "+o):console.log("["+t.LogPrefix+":"+e+"] "+o)}function n(e,t,n){return o(t,"*"+e.toUpperCase()+"* "+n)}Object.defineProperty(t,"__esModule",{value:!0}),t.UtilityError=t.UtilitySuccess=t.UtilityInfo=t.PlayerError=t.PlayerSuccess=t.PlayerInfo=t.PetsError=t.PetsSuccess=t.PetsInfo=t.PatchedError=t.PatchedSuccess=t.PatchedInfo=t.MiscError=t.MiscSuccess=t.MiscInfo=t.MinigameError=t.MinigameSuccess=t.MinigameInfo=t.LocationError=t.LocationSuccess=t.LocationInfo=t.InventoryError=t.InventorySuccess=t.InventoryInfo=t.BetaError=t.BetaSuccess=t.BetaInfo=t.BattleError=t.BattleSuccess=t.BattleInfo=t.IndexError=t.IndexSuccess=t.IndexInfo=t.StatusLog=t.ConsoleLog=t.LogPrefix=void 0,t.LogPrefix="CheatGUI",t.ConsoleLog=o,t.StatusLog=n,t.IndexInfo=function(e){return n("info","index.ts",e)},t.IndexSuccess=function(e){return n("success","index.ts",e)},t.IndexError=function(e){return n("error","index.ts",e)},t.BattleInfo=function(e){return n("info","battle.ts",e)},t.BattleSuccess=function(e){return n("success","battle.ts",e)},t.BattleError=function(e){return n("error","battle.ts",e)},t.BetaInfo=function(e){return n("info","beta.ts",e)},t.BetaSuccess=function(e){return n("success","beta.ts",e)},t.BetaError=function(e){return n("error","beta.ts",e)},t.InventoryInfo=function(e){return n("info","inventory.ts",e)},t.InventorySuccess=function(e){return n("success","inventory.ts",e)},t.InventoryError=function(e){return n("error","inventory.ts",e)},t.LocationInfo=function(e){return n("info","location.ts",e)},t.LocationSuccess=function(e){return n("success","location.ts",e)},t.LocationError=function(e){return n("error","location.ts",e)},t.MinigameInfo=function(e){return n("info","minigame.ts",e)},t.MinigameSuccess=function(e){return n("success","minigame.ts",e)},t.MinigameError=function(e){return n("error","minigame.ts",e)},t.MiscInfo=function(e){return n("info","misc.ts",e)},t.MiscSuccess=function(e){return n("success","misc.ts",e)},t.MiscError=function(e){return n("error","misc.ts",e)},t.PatchedInfo=function(e){return n("info","patched.ts",e)},t.PatchedSuccess=function(e){return n("success","patched.ts",e)},t.PatchedError=function(e){return n("error","patched.ts",e)},t.PetsInfo=function(e){return n("info","pets.ts",e)},t.PetsSuccess=function(e){return n("success","pets.ts",e)},t.PetsError=function(e){return n("error","pets.ts",e)},t.PlayerInfo=function(e){return n("info","player.ts",e)},t.PlayerSuccess=function(e){return n("success","player.ts",e)},t.PlayerError=function(e){return n("error","player.ts",e)},t.UtilityInfo=function(e){return n("info","utility.ts",e)},t.UtilitySuccess=function(e){return n("success","utility.ts",e)},t.UtilityError=function(e){return n("error","utility.ts",e)}}.apply(t,[o,t]),void 0===n||(e.exports=n)},3131:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(2852)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopupInterval=void 0;var n=!1;t.PopupInterval=function(e){n=e},s((function*(){setInterval(s((function*(){n&&o._.instance.prodigy.open.menuCloseAll()})),200)}))()}.apply(t,n),void 0===a||(e.exports=a)},3526:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(4759)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statusMessage=void 0,t.statusMessage=function(){fetch("https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/statusmessage.json?updated=".concat(Date.now())).then((e=>e.json())).then(function(){var e,t=(e=function*(e){if(!1===e.enabled.value)return console.log("Status message is disabled.");yield o.Swal.fire({title:e.get("title"),html:e.get("html"),icon:e.get("icon")})},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}())}}.apply(t,n),void 0===a||(e.exports=a)},4759:function(e,t,o){var n,a,r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(6455)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoLicense=t.License=t.Info=t.Confirm=t.Toast=t.NumberInput=t.Input=t.Swal=void 0,o=r(o),t.Swal=o.default,t.Input=t.Swal.mixin({input:"text",showCancelButton:!0,showConfirmButton:!0,toast:!1}),t.NumberInput=t.Input.mixin({toast:!1,input:"number"}),t.Toast=t.Swal.mixin({toast:!0,position:"bottom"}),t.Confirm=t.Swal.mixin({icon:"warning",showCancelButton:!0,toast:!1,confirmButtonText:"Confirm",cancelButtonText:"Cancel"}),t.Info=t.Swal.mixin({icon:"info",showCancelButton:!1,toast:!1}),t.License=t.Swal.mixin({icon:"info",showCancelButton:!0,toast:!1,confirmButtonText:"Agree",cancelButtonText:"Disagree"}),t.NoLicense=t.Swal.mixin({icon:"error",showCancelButton:!0,toast:!1,confirmButtonText:"Reload",cancelButtonText:"Play without hacks"})}.apply(t,n),void 0===a||(e.exports=a)},2852:(e,t,o)=>{var n;n=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pickRandom=t.locations=t.joinAsset=t.assetURL=t.saveCharacter=t.states=t.VERY_LARGE_NUMBER=t.getItem=t.gameData=t.prodigy=t.game=t.current=t.player=t._=void 0,t._=window._,t.player=t._.player,t.current=window.Boot.prototype.game._state._current;var o=t._.instance;t.game=o.game,t.prodigy=o.prodigy,t.gameData=t._.instance.game.state.states.get("Boot").gameData,t.getItem=(e,o)=>{var n;return null!==(n=t._.gameData[e].find((e=>e.ID===o)))&&void 0!==n?n:null},t.VERY_LARGE_NUMBER=9e9,t.states=Object.fromEntries(t._.instance.game.state.states),t.saveCharacter=()=>{t._.network.processPlayer=!0,t._.player.forceSaveCharacter()},t.assetURL="https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/src/assets/",t.joinAsset=e=>"".concat(t.assetURL).concat(e),t.locations={academy:(0,t.joinAsset)("academy.png"),bonfire_spire:(0,t.joinAsset)("bonfire_spire.png"),forest:(0,t.joinAsset)("forest.png"),shipwreck_shore:(0,t.joinAsset)("shipwreck_shore.png"),shiverchill:(0,t.joinAsset)("shiverchill.png"),skywatch:(0,t.joinAsset)("skywatch.png"),dyno:(0,t.joinAsset)("dyno.png"),elemental_guardian:(0,t.joinAsset)("elemental_guardian.png"),darktower:(0,t.joinAsset)("darktower.png"),earthtower:(0,t.joinAsset)("earthtower.png"),crystal_caverns:(0,t.joinAsset)("crystal_caverns.png"),archives:(0,t.joinAsset)("archives.png"),house:(0,t.joinAsset)("house.png"),toyzone:(0,t.joinAsset)("toyzone.png"),tower_town:(0,t.joinAsset)("tower_town.png"),lamplight:(0,t.joinAsset)("lamplight.png")},t.pickRandom=e=>e[Math.floor(Math.random()*e.length)]}.apply(t,[o,t]),void 0===n||(e.exports=n)},450:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(8081),a=o.n(n),r=o(3645),s=o.n(r)()(a());s.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Arvo:400,700|Sen:400,700,800&display=swap&subset=latin-ext);"]),s.push([e.id,'#game-wrapper{font-family:"Sen",sans-serif}#game-wrapper #cheat-menu{height:465px;background-color:rgba(238,238,238,.7333333333);padding:2px;position:absolute;top:0px;left:0px;transition:top .35s;padding:10px;border:10px solid rgba(0,0,0,.1);border-radius:15px;overflow-y:scroll;resize:none;overflow:auto}#game-wrapper .menu-left{width:100%;height:100%;float:center}#game-wrapper #menu-toggler{z-index:1;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;font-size:23px;height:26px;width:50px;border:1px solid rgba(0,0,0,.1)}#game-wrapper #menu-toggler:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #menu-toggler:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper #fps-counter{z-index:2;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;width:130px;height:26px;font-size:23px;border:1px solid rgba(0,0,0,.1);margin-left:83%}#game-wrapper #fps-counter:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #fps-counter:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper .menu-area h1{font-family:"Sen",sans-serif;font-size:30px;font-weight:700;color:#111;margin:10px}#game-wrapper .menu-area button{background-color:rgba(0,0,0,.55);color:#fff;border-radius:5px;border:1px solid #eee;padding:1%;transition:all .15s;margin:5px 5px;transition-property:border-color,background-color}#game-wrapper .menu-area button:hover{border-color:rgba(119,119,119,.8666666667);background-color:#ddd}#game-wrapper .menu-area button:active{border-color:#555;background-color:#bbb}#game-wrapper .menu-area button[status=true]{border-color:rgba(85,170,85,.8666666667);background-color:#9bee9b}#game-wrapper .menu-area button[status=true]:hover{border-color:rgba(179,187,176,.8666666667);background-color:#bffebf}#game-wrapper .menu-area button[status=true]:active{border-color:#4e5c50;background-color:#24be6a}#game-wrapper .menu-area button[status=false]{border-color:rgba(119,102,102,.8666666667);background-color:#9b9b9b}#game-wrapper .menu-area button[status=false]:hover{border-color:rgba(133,133,133,.8666666667);background-color:#bfbfbf}#game-wrapper .menu-area button[status=false]:active{border-color:#4c3e40;background-color:#be246a}#game-wrapper .menu-title{font-family:"Verdana",sans-serif;font-size:40px;font-weight:900;color:#fff}.radioDiv{width:125px;height:125px;display:inline-block;margin:7px;background-color:#5a7e3f;color:#000;background-size:cover;outline:#000 5px solid;vertical-align:top;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none;cursor:pointer}.radioDiv:hover{background-blend-mode:overlay;color:#d3d3d3}.radioDiv:active{background-blend-mode:multiply;color:#fff}.radioDiv[checked]{background-blend-mode:color-dodge;color:#ffebcd}.radioDiv[checked]:active{background-blend-mode:color-burn;color:aqua}.radioSwal{width:-webkit-fit-content !important;width:-moz-fit-content !important;width:fit-content !important;min-width:32em !important;max-width:46em !important}.centeredMenu{position:fixed;top:-10%;left:10%;right:10%;width:80%;height:80%;z-index:2;background-color:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}',""]);const i=s},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,a,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var i=0;i ".concat(e,"
. ".concat(e,"
. ".concat(e,"
".concat(e,"
".concat(e,"
"),icon:"error"})}return swal_1.Toast.fire("Evaluated!","Code was evaluated.","success")}})))}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},9820:function(e,t,o){var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(7046),o(2852),o(3526),o(6455),o(4759),o(4719),o(158)],a=function(e,t,o,n,a,r,c,l){"use strict";var u,d,p,h;Object.defineProperty(t,"__esModule",{value:!0}),t.category=t.Toggler=t.Hack=t.toggler=t.wrapper=t.menu=void 0,r=i(r),t.menu=document.createElement("div"),t.wrapper=document.getElementById("game-wrapper"),null===(u=document.getElementById("cheat-menu"))||void 0===u||u.remove(),null===(d=document.getElementById("menu-toggler"))||void 0===d||d.remove(),t.menu.id="cheat-menu",t.menu.style="position: fixed;top: -10%;left: 10%;right: 10%;width: 80%;height: 80%;z-index: 2;background-color: rgba(0, 0, 0, 0.5);backdrop-filter: blur(5px);",null===(p=t.wrapper)||void 0===p||p.prepend(t.menu),t.toggler=document.createElement("button"),t.toggler.id="menu-toggler";var m=!1;null===(h=t.wrapper)||void 0===h||h.prepend(t.toggler),t.toggler.onclick=()=>{(m=!m)?(t.toggler.innerText="▼",t.menu.style.top="-100vh"):(t.toggler.innerText="▲",t.menu.style.top="10%")},t.toggler.onclick({});var f=document.createElement("DIV");f.classList.add("menu-left"),t.menu.append(f);var g=!0,y=e=>{var t=document.createElement("div");0==g?(t.append(document.createElement("br")),t.append(document.createElement("br"))):g=!1,t.classList.add("menu-area"),t.style.textAlign="center",f.append(t);var o=document.createElement("h1");return o.innerText=e,o.style.textAlign="center",o.style.color="white",t.append(o),t},w=document.createElement("h1");w.classList.add("menu-title"),w.innerText="Prodigy Hacks",w.style.textAlign="center",f.append(w);var b=document.createElement("h2");b.style.fontSize="25px",b.style.color="white",b.innerHTML="Join our Discord https://dsc.gg/ProdigyPNP!
\n\n\n This is free and open-source software.\n If you paid for this or accessed this behind a paywall/AdFly link, demand a refund. If you sell this software, or otherwise make a commercial advantage from it, you are violating\n our license.\n
\n ')).value?yield(0,a.statusMessage)():(yield c.NoLicense.fire("ProdigyPNP License","\n\n You need to agree to our license to use our hacks. If you changed your mind and now agree to our license, reload Prodigy.\n
\n ")).value?document.location="":(null===(e=document.getElementById("cheat-menu"))||void 0===e||e.remove(),null===(t=document.getElementById("menu-toggler"))||void 0===t||t.remove())}))()}.apply(t,n),void 0===a||(e.exports=a)},8238:(e,t,o)=>{var n,a;n=[o,t,o(9820)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stopFps=t.startFps=void 0;var n=document.createElement("button"),a=!1;t.startFps=function(){var e;a=!0,n.id="fps-counter",null===(e=o.wrapper)||void 0===e||e.prepend(n),setInterval((()=>{var e=_.player.game.fps._framerate;a?n.innerText=e.toFixed(2)+" FPS":n.remove()}),300)},t.stopFps=function(){var e;a=!1,null===(e=document.getElementById("fps-counter"))||void 0===e||e.remove()}}.apply(t,n),void 0===a||(e.exports=a)},112:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],a=function(e,t,o,n){"use strict";function a(e){o._.instance.prodigy.loading(!0);var t=t=>{var a=null!=t?t[e]:null;if(null!==a&&void 0!==a.house&&null!==a.house){o._.instance.prodigy.loading(!1);var r=o._.cloneDeep(o._.player.house);return r.setItems(a.house),void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors?o._.instance.prodigy.world._("house",null,null,{house:r,getAllowsHouseVisitors:()=>void 0!==a.data.allowsHouseVisitors&&null!==a.data.allowsHouseVisitors&&a.data.allowsHouseVisitors,setAllowsHouseVisitors:e=>{a.data.allowsHouseVisitors=e}}):n.Swal.fire("Teleporting to ".concat(e," is not allowed."),"Try another user.","error")}};return o._.network.getCharData(e.toString(),["house","data"],t,t),n.Toast.fire("Teleported to house","You have been teleported to the house!","success")}Object.defineProperty(t,"__esModule",{value:!0}),t.getPet=t.teleportToHouse=t.toHouse=t.getMemberModule=t.runeify=t.itemify=t.ids=t.names=void 0,t.names=["Boots","Buddies","Fossils","Hats","Items","Key Items","Tower Town Frames","Tower Town Interiors","Mounts","Outfits","Relics","Weapons","Currencies"],t.ids=["boots","follow","fossil","hat","item","key","mathTownFrame","mathTownInterior","mount","outfit","spellRelic","weapon","currency"],t.itemify=(e,t)=>e.map((e=>({ID:e.ID,N:t}))).filter((e=>void 0!==e)),t.runeify=(e,t)=>e.map((e=>({ID:e.ID,quantity:t}))).filter((e=>void 0!==e)),t.getMemberModule=function(){return o._.player.hasMembership.toString().split('"')[1]},t.toHouse=function(e){if(o._.player.userID!==e){var t=o._.instance.prodigy.friendsListNetworkHandler.friendsList.length,r=o._.instance.prodigy.friendsListNetworkHandler.classList.length;o._.instance.prodigy.gameContainer.get("2e1-e659").create("house-visit","click","hub",t,r,null,null,e).broadcast()}var s=o._.instance.prodigy.world.getZone(o._.instance.prodigy.world.getCurrentZone());return s?s.handleLeaving(2,(()=>a(e))):n.Swal.fire({title:"Error",text:"You are not in a zone!",icon:"error"})},t.teleportToHouse=a;var s=function(){var e,t=(e=function*(e){return(yield n.Swal.fire({input:"select",inputOptions:new Map(o._.player.kennel.data.map(((e,t)=>{var n,a,r;return[t.toString(),"Level ".concat(e.level," - ").concat(null!==(n=null!==(a=e.nickname)&&void 0!==a?a:null===(r=o._.gameData.pet.find((t=>+t.ID==+e.ID)))||void 0===r?void 0:r.data.name)&&void 0!==n?n:"Unknown")]}))),title:"Choose Pet",text:e})).value},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}();t.getPet=s}.apply(t,n),void 0===a||(e.exports=a)},3336:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(4759)],a=function(e,t,o){"use strict";function n(){return(n=s((function*(){var e=new Map;e.set("Copy","Copy a slot to another slot"),e.set("Remove","Completley empty one slot");var t=yield o.Swal.fire({input:"select",inputOptions:e,title:"Select Action",text:"Select an action to perform on the Kennel"});return t.value?t.value:null}))).apply(this,arguments)}function a(){return(a=s((function*(){var e=new Map,t=e=>_.player.kennel._petTeam[e]?_.player.kennel._petTeam[e].source?_.player.kennel._petTeam[e].source.name:_.player.kennel._petTeam[e]._userDataPlatform?"Player":"null":"null";e.set("0","[0] Center - ".concat(t(0))),e.set("1","[1] Top - ".concat(t(1))),e.set("2","[2] Bottom - ".concat(t(2)));var n=yield o.Swal.fire({input:"select",inputOptions:e,title:"Select Slot",text:"Select a slot to edit"});return n.value?parseInt(n.value):null}))).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.SelectSlot=t.GetAction=void 0,t.GetAction=function(){return n.apply(this,arguments)},t.SelectSlot=function(){return a.apply(this,arguments)}}.apply(t,n),void 0===a||(e.exports=a)},2868:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(2852),o(4759)],void 0===(a=function(e,t,o,n){"use strict";window.addEventListener("keydown",(e=>{switch(e.which){case 192:o._.instance.prodigy.open.menuCloseAll();break;case 220:var t=function(){var e,t=(e=function*(){if(!(yield n.Confirm.fire("Kit","Would you like to equip Celestial Gear?")).value)return console.log("Cancelled");o._.player.equipment.setHat(200),o._.player.equipment.setBoots(93),o._.player.equipment.setOutfit(161),o._.player.equipment.setWeapon(196),o._.player.appearanceChanged=!0,n.Toast.fire("Success!","You are now wearing Celestial Armor and wielding a Dual Blade.","success")},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();t()}}))}.apply(t,n))||(e.exports=a)},4719:(e,t,o)=>{var n;n=function(e,t){"use strict";function o(e,o){return""==e||null==e?console.log("["+t.LogPrefix+":unknown] "+o):console.log("["+t.LogPrefix+":"+e+"] "+o)}function n(e,t,n){return o(t,"*"+e.toUpperCase()+"* "+n)}Object.defineProperty(t,"__esModule",{value:!0}),t.UtilityError=t.UtilitySuccess=t.UtilityInfo=t.PlayerError=t.PlayerSuccess=t.PlayerInfo=t.PetsError=t.PetsSuccess=t.PetsInfo=t.PatchedError=t.PatchedSuccess=t.PatchedInfo=t.MiscError=t.MiscSuccess=t.MiscInfo=t.MinigameError=t.MinigameSuccess=t.MinigameInfo=t.LocationError=t.LocationSuccess=t.LocationInfo=t.InventoryError=t.InventorySuccess=t.InventoryInfo=t.BetaError=t.BetaSuccess=t.BetaInfo=t.BattleError=t.BattleSuccess=t.BattleInfo=t.IndexError=t.IndexSuccess=t.IndexInfo=t.StatusLog=t.ConsoleLog=t.LogPrefix=void 0,t.LogPrefix="CheatGUI",t.ConsoleLog=o,t.StatusLog=n,t.IndexInfo=function(e){return n("info","index.ts",e)},t.IndexSuccess=function(e){return n("success","index.ts",e)},t.IndexError=function(e){return n("error","index.ts",e)},t.BattleInfo=function(e){return n("info","battle.ts",e)},t.BattleSuccess=function(e){return n("success","battle.ts",e)},t.BattleError=function(e){return n("error","battle.ts",e)},t.BetaInfo=function(e){return n("info","beta.ts",e)},t.BetaSuccess=function(e){return n("success","beta.ts",e)},t.BetaError=function(e){return n("error","beta.ts",e)},t.InventoryInfo=function(e){return n("info","inventory.ts",e)},t.InventorySuccess=function(e){return n("success","inventory.ts",e)},t.InventoryError=function(e){return n("error","inventory.ts",e)},t.LocationInfo=function(e){return n("info","location.ts",e)},t.LocationSuccess=function(e){return n("success","location.ts",e)},t.LocationError=function(e){return n("error","location.ts",e)},t.MinigameInfo=function(e){return n("info","minigame.ts",e)},t.MinigameSuccess=function(e){return n("success","minigame.ts",e)},t.MinigameError=function(e){return n("error","minigame.ts",e)},t.MiscInfo=function(e){return n("info","misc.ts",e)},t.MiscSuccess=function(e){return n("success","misc.ts",e)},t.MiscError=function(e){return n("error","misc.ts",e)},t.PatchedInfo=function(e){return n("info","patched.ts",e)},t.PatchedSuccess=function(e){return n("success","patched.ts",e)},t.PatchedError=function(e){return n("error","patched.ts",e)},t.PetsInfo=function(e){return n("info","pets.ts",e)},t.PetsSuccess=function(e){return n("success","pets.ts",e)},t.PetsError=function(e){return n("error","pets.ts",e)},t.PlayerInfo=function(e){return n("info","player.ts",e)},t.PlayerSuccess=function(e){return n("success","player.ts",e)},t.PlayerError=function(e){return n("error","player.ts",e)},t.UtilityInfo=function(e){return n("info","utility.ts",e)},t.UtilitySuccess=function(e){return n("success","utility.ts",e)},t.UtilityError=function(e){return n("error","utility.ts",e)}}.apply(t,[o,t]),void 0===n||(e.exports=n)},3131:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))}}n=[o,t,o(2852)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PopupInterval=void 0;var n=!1;t.PopupInterval=function(e){n=e},s((function*(){setInterval(s((function*(){n&&o._.instance.prodigy.open.menuCloseAll()})),200)}))()}.apply(t,n),void 0===a||(e.exports=a)},3526:(e,t,o)=>{var n,a;function r(e,t,o,n,a,r,s){try{var i=e[r](s),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(n,a)}n=[o,t,o(4759)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statusMessage=void 0,t.statusMessage=function(){fetch("https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/statusmessage.json?updated=".concat(Date.now())).then((e=>e.json())).then(function(){var e,t=(e=function*(e){if(!1===e.enabled.value)return console.log("Status message is disabled.");yield o.Swal.fire({title:e.get("title"),html:e.get("html"),icon:e.get("icon")})},function(){var t=this,o=arguments;return new Promise((function(n,a){var s=e.apply(t,o);function i(e){r(s,n,a,i,c,"next",e)}function c(e){r(s,n,a,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}())}}.apply(t,n),void 0===a||(e.exports=a)},4759:function(e,t,o){var n,a,r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n=[o,t,o(6455)],a=function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoLicense=t.License=t.Info=t.Confirm=t.Toast=t.NumberInput=t.Input=t.Swal=void 0,o=r(o),t.Swal=o.default,t.Input=t.Swal.mixin({input:"text",showCancelButton:!0,showConfirmButton:!0,toast:!1}),t.NumberInput=t.Input.mixin({toast:!1,input:"number"}),t.Toast=t.Swal.mixin({toast:!0,position:"bottom"}),t.Confirm=t.Swal.mixin({icon:"warning",showCancelButton:!0,toast:!1,confirmButtonText:"Confirm",cancelButtonText:"Cancel"}),t.Info=t.Swal.mixin({icon:"info",showCancelButton:!1,toast:!1}),t.License=t.Swal.mixin({icon:"info",showCancelButton:!0,toast:!1,confirmButtonText:"Agree",cancelButtonText:"Disagree"}),t.NoLicense=t.Swal.mixin({icon:"error",showCancelButton:!0,toast:!1,confirmButtonText:"Reload",cancelButtonText:"Play without hacks"})}.apply(t,n),void 0===a||(e.exports=a)},2852:(e,t,o)=>{var n;n=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pickRandom=t.locations=t.joinAsset=t.assetURL=t.saveCharacter=t.states=t.VERY_LARGE_NUMBER=t.getItem=t.gameData=t.prodigy=t.game=t.current=t.player=t._=void 0,t._=window._,t.player=t._.player,t.current=window.Boot.prototype.game._state._current;var o=t._.instance;t.game=o.game,t.prodigy=o.prodigy,t.gameData=t._.instance.game.state.states.get("Boot").gameData,t.getItem=(e,o)=>{var n;return null!==(n=t._.gameData[e].find((e=>e.ID===o)))&&void 0!==n?n:null},t.VERY_LARGE_NUMBER=9e9,t.states=Object.fromEntries(t._.instance.game.state.states),t.saveCharacter=()=>{t._.network.processPlayer=!0,t._.player.forceSaveCharacter()},t.assetURL="https://raw.githubusercontent.com/ProdigyPNP/ProdigyMathGameHacking/master/cheatGUI/src/assets/",t.joinAsset=e=>"".concat(t.assetURL).concat(e),t.locations={academy:(0,t.joinAsset)("academy.png"),bonfire_spire:(0,t.joinAsset)("bonfire_spire.png"),forest:(0,t.joinAsset)("forest.png"),shipwreck_shore:(0,t.joinAsset)("shipwreck_shore.png"),shiverchill:(0,t.joinAsset)("shiverchill.png"),skywatch:(0,t.joinAsset)("skywatch.png"),dyno:(0,t.joinAsset)("dyno.png"),elemental_guardian:(0,t.joinAsset)("elemental_guardian.png"),darktower:(0,t.joinAsset)("darktower.png"),earthtower:(0,t.joinAsset)("earthtower.png"),crystal_caverns:(0,t.joinAsset)("crystal_caverns.png"),archives:(0,t.joinAsset)("archives.png"),house:(0,t.joinAsset)("house.png"),toyzone:(0,t.joinAsset)("toyzone.png"),tower_town:(0,t.joinAsset)("tower_town.png"),lamplight:(0,t.joinAsset)("lamplight.png")},t.pickRandom=e=>e[Math.floor(Math.random()*e.length)]}.apply(t,[o,t]),void 0===n||(e.exports=n)},450:(e,t,o)=>{"use strict";o.d(t,{Z:()=>i});var n=o(8081),a=o.n(n),r=o(3645),s=o.n(r)()(a());s.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Arvo:400,700|Sen:400,700,800&display=swap&subset=latin-ext);"]),s.push([e.id,'#game-wrapper{font-family:"Sen",sans-serif}#game-wrapper #cheat-menu{height:465px;background-color:rgba(238,238,238,.7333333333);padding:2px;position:absolute;top:0px;left:0px;transition:top .35s;padding:10px;border:10px solid rgba(0,0,0,.1);border-radius:15px;overflow-y:scroll;resize:none;overflow:auto}#game-wrapper .menu-left{width:100%;height:100%;float:center}#game-wrapper #menu-toggler{z-index:1;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;font-size:23px;height:26px;width:50px;border:1px solid rgba(0,0,0,.1)}#game-wrapper #menu-toggler:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #menu-toggler:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper #fps-counter{z-index:2;position:absolute;border-radius:3px;background-color:rgba(255,255,255,.7333333333);transition:background-color .15s;width:130px;height:26px;font-size:23px;border:1px solid rgba(0,0,0,.1);margin-left:83%}#game-wrapper #fps-counter:hover{background-color:rgba(221,221,221,.7333333333)}#game-wrapper #fps-counter:active{background-color:rgba(187,187,187,.7333333333)}#game-wrapper .menu-area h1{font-family:"Sen",sans-serif;font-size:30px;font-weight:700;color:#111;margin:10px}#game-wrapper .menu-area button{background-color:rgba(0,0,0,.55);color:#fff;border-radius:5px;border:1px solid #eee;padding:1%;transition:all .15s;margin:5px 5px;transition-property:border-color,background-color}#game-wrapper .menu-area button:hover{border-color:rgba(119,119,119,.8666666667);background-color:#ddd}#game-wrapper .menu-area button:active{border-color:#555;background-color:#bbb}#game-wrapper .menu-area button[status=true]{border-color:rgba(85,170,85,.8666666667);background-color:#9bee9b}#game-wrapper .menu-area button[status=true]:hover{border-color:rgba(179,187,176,.8666666667);background-color:#bffebf}#game-wrapper .menu-area button[status=true]:active{border-color:#4e5c50;background-color:#24be6a}#game-wrapper .menu-area button[status=false]{border-color:rgba(119,102,102,.8666666667);background-color:#9b9b9b}#game-wrapper .menu-area button[status=false]:hover{border-color:rgba(133,133,133,.8666666667);background-color:#bfbfbf}#game-wrapper .menu-area button[status=false]:active{border-color:#4c3e40;background-color:#be246a}#game-wrapper .menu-title{font-family:"Verdana",sans-serif;font-size:40px;font-weight:900;color:#fff}.radioDiv{width:125px;height:125px;display:inline-block;margin:7px;background-color:#5a7e3f;color:#000;background-size:cover;outline:#000 5px solid;vertical-align:top;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none;cursor:pointer}.radioDiv:hover{background-blend-mode:overlay;color:#d3d3d3}.radioDiv:active{background-blend-mode:multiply;color:#fff}.radioDiv[checked]{background-blend-mode:color-dodge;color:#ffebcd}.radioDiv[checked]:active{background-blend-mode:color-burn;color:aqua}.radioSwal{width:-webkit-fit-content !important;width:-moz-fit-content !important;width:fit-content !important;min-width:32em !important;max-width:46em !important}.centeredMenu{position:fixed;top:-10%;left:10%;right:10%;width:80%;height:80%;z-index:2;background-color:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}',""]);const i=s},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o="",n=void 0!==t[5];return t[4]&&(o+="@supports (".concat(t[4],") {")),t[2]&&(o+="@media ".concat(t[2]," {")),n&&(o+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),o+=e(t),n&&(o+="}"),t[2]&&(o+="}"),t[4]&&(o+="}"),o})).join("")},t.i=function(e,o,n,a,r){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var i=0;i