diff --git a/README.md b/README.md index b978f94..d58a0f9 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@

- Website + WebsiteDiscord • diff --git a/cheatGUI/dist/bundle.js b/cheatGUI/dist/bundle.js index b2dcc56..3b13ce5 100644 --- a/cheatGUI/dist/bundle.js +++ b/cheatGUI/dist/bundle.js @@ -1 +1 @@ -(()=>{var __webpack_modules__={8844:(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),o(4719)],void 0===(a=function(e,t,o,n,a,r){"use strict";new n.Toggler(n.category.battle,"Disable math [PvP, PvE]","Disable math in PvP, PvE, anywhere! This doesn't work in the Floatling town.").setEnabled(s((function*(){return a._.constants.constants["GameConstants.Debug.EDUCATION_ENABLED"]=!1,o.Toast.fire("Enabled!","You will no longer do Math!","success")}))).setDisabled(s((function*(){return a._.constants.constants["GameConstants.Debug.EDUCATION_ENABLED"]=!0,o.Toast.fire("Disabled!","You will now do Math!","success")}))),new n.Toggler(n.category.battle,"Instant Kill [PvE]","Makes your spells do insane damage in PvE!").setEnabled(s((function*(){return a.player.modifiers.damage=a.VERY_LARGE_NUMBER,o.Toast.fire("Enabled!","You will now do insane damage in PvE!","success")}))).setDisabled((()=>(a.player.modifiers.damage=1,o.Toast.fire("Disabled!","You will no longer do insane damage in PvE!","success")))),new n.Hack(n.category.battle,"PvP Health [PvP]","Increases your HP in PvP by a hell ton.").setClick(s((function*(){return a.player.pvpHP=a.VERY_LARGE_NUMBER,a.player.getMaxHearts=()=>a.VERY_LARGE_NUMBER,o.Toast.fire("Success!","You now have lots of health!","success")}))),new n.Hack(n.category.battle,"Escape Battle [PvP, PvE]","Escape any battle, PvP or PvE!").setClick(s((function*(){var e=a.game.state.current;return"PVP"===e?(Object.fromEntries(a._.instance.game.state.states).PVP.endPVP(),o.Toast.fire("Escaped!","You have successfully escaped from the PvP battle.","success")):"CoOp"===e?(a.prodigy.world.$(a.player.data.zone),o.Toast.fire("Escaped!","You have successfully escaped from the battle.","success")):["Battle","SecureBattle"].includes(e)?(Object.fromEntries(a._.instance.game.state.states)[e].runAwayCallback(),o.Toast.fire("Escaped!","You have successfully escaped from the PvE battle.","success")):o.Toast.fire("Invalid State.","You are currently not in a battle.","error")}))),new n.Hack(n.category.battle,"Win Battle [PvE]","Instantly win a battle in PvE.").setClick(s((function*(){var e=a.game.state.current;switch((0,r.BattleInfo)("Current State: "+e),e){case"PVP":case"CoOp":return o.Toast.fire("Invalid State.","PvP is not supported for this hack.","error");case"Battle":return Object.fromEntries(a._.instance.game.state.states).Battle.startVictory(),o.Toast.fire("Victory!","You have successfully won the battle.","success");case"SecureBattle":return Object.fromEntries(a._.instance.game.state.states).SecureBattle.battleVictory(),o.Toast.fire("Victory!","You have successfully won the battle.","success");default:return o.Toast.fire("Invalid State.","You are currently not in a battle.","error")}}))),new n.Hack(n.category.battle,"Set Battle Hearts [PvP, PvE]","Sets your hearts in battle, automatically raise your max hearts in PvP or PvE.").setClick(s((function*(){var e=yield o.NumberInput.fire("Health Amount","How much HP do you want?","question");if(void 0!==e.value)return a.player.getMaxHearts=()=>+e.value,a.player.pvpHP=+e.value,a.player.data.hp=+e.value,o.Toast.fire("Success!","Your hearts have been set.","success")}))),new n.Hack(n.category.battle,"Fill Battle Energy [PvP, PvE]","Fills up your battle energy, if you are in PvP or PvE.").setClick(s((function*(){var e=a.game.state.getCurrentState();return"teams"in e?(e.teams[0].setEnergy(99),o.Toast.fire("Success!","Your battle energy has been filled.","success")):o.Toast.fire("Error","You are currently not in a battle.","error")}))),new n.Hack(n.category.battle,"Heal Team [PvE]","Instantly heals you and your pets, if you are in PvE.").setClick(s((function*(){var e=a.game.state.current;return"PVP"===e||"CoOp"===e?o.Toast.fire("Invalid State.","PvP is not supported for this hack.","error"):["Battle","SecureBattle"].includes(e)?(a.player.heal(),o.Toast.fire("Success!","Your team has been healed successfully!","success")):o.Toast.fire("Invalid State.","Your are currently not in a battle.","error")})))}.apply(t,n))||(e.exports=a)},9155:(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),o(112),o(3131)],void 0===(a=function(e,t,o,n,a,r,i){"use strict";new n.Hack(n.category.beta,"Get all Runes [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,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(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 will damage your account with various bugs, for example you may be unable to do Rune Run/Arena, amd you will recieve 418s and inavtivity kicks.

Proceed?",icon:"warning"})).value){a.player.data.gold=99e5,console.log("Set player gold to 9900000.");var e=100..value-2;a.player.data.stars=Math.round((1-Math.pow(1.042,e))/(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 t=0;ta.VERY_LARGE_NUMBER,console.log("PvP health obtained.");for(var n=0;n<100;n++)a.player.achievements.data.progress[n]=10;console.log("Obtained all achievements."),a.player.data.tower=100,console.log("Set tower floor to 100."),a.player.getMaxHearts=()=>a.VERY_LARGE_NUMBER,a.player.pvpHP=a.VERY_LARGE_NUMBER,a.player.data.hp=a.VERY_LARGE_NUMBER,console.log("Maxed out PvE health.");var s,i=99e4;r.ids.forEach((e=>{a.player.backpack.data[e]=(0,r.itemify)(a._.gameData[e].filter((t=>"follow"===e?![125,126,127,128,129,134,135,136,137].includes(t.ID):t)),i.value)})),a._.gameData.dorm.forEach((e=>a.player.house.data.items[e.ID]={A:[],N:i.value}));for(var c=()=>a.player.backpack.data.item.findIndex((e=>84===e.ID||85===e.ID||86===e.ID));c()>-1;)a.player.backpack.data.item.splice(c(),1);return o.Toast.fire("Success!","All items added!","success"),console.log("All items added!"),a.player.backpack.data.mount=(0,r.itemify)(a._.gameData.mount,1),console.log("Added all mounts."),a._.gameData.dorm.forEach((e=>a.player.house.data.items[e.ID]={A:[],N:99e4.value})),console.log("Added 990000 of all furniture."),a._.gameData.pet.forEach((e=>{a.player.kennel.addPet(e.ID.toString(),a.VERY_LARGE_NUMBER,26376,100)})),a.player.kennel._encounterInfo._data.pets=[],a._.gameData.pet.map((e=>{a.player.kennel._encounterInfo._data.pets.push({firstSeenDate:Date.now(),ID:e.ID,timesBattled:1,timesRescued:1})})),a.player.kennel.petTeam.forEach((e=>{e&&e.assignRandomSpells&&e.assignRandomSpells()})),console.log("Added all pets."),a._.gameData.pet.filter((e=>[158,166,168].includes(e.ID))).forEach((e=>{a.player.kennel.addPet(e.ID.toString(),a.VERY_LARGE_NUMBER,26376,100)})),a.player.kennel.petTeam.forEach((e=>{e&&e.assignRandomSpells&&e.assignRandomSpells()})),console.log("Added Mythical Epics."),a._.gameData.pet.filter((e=>[125,126,127,128,129,130,131,132,133].includes(e.ID))).forEach((e=>{a.player.kennel.addPet(e.ID.toString(),a.VERY_LARGE_NUMBER,26376,100)})),a.player.kennel.petTeam.forEach((e=>{e&&e.assignRandomSpells&&e.assignRandomSpells()})),console.log("Added Legacy Epics."),a._.constants.constants["GameConstants.Inactivity.LOG_OUT_TIMER_SECONDS"]=0,console.log("Inactivity Kick Disabled."),a.player._playerContainer.walkSpeed=20,console.log("Player walkspeed set to 20."),Array.from(a._.instance.prodigy.gameContainer._inversifyContainer._bindingDictionary._map).forEach((e=>{try{a._.instance.prodigy.gameContainer.get(e[0]).battleData&&(s=e[0])}catch(t){console.log("Error for ".concat(e[0]))}})),a._.instance.prodigy.gameContainer.get(s).battleData._secureCharacterState._data.inventory.orb=(0,r.runeify)(a._.gameData.orb,100),a.player.equipment.setHat(200),a.player.equipment.setBoots(93),a.player.equipment.setOutfit(161),a.player.equipment.setWeapon(196),(0,a.saveCharacter)(),console.log("Character Saved."),a.player.appearanceChanged=!0,console.log("Appearance Refreshed."),a._.instance.prodigy.open.menuCloseAll(),console.log("Popups closed."),(0,a.saveCharacter)(),console.log("Character Saved."),console.log("Max Account Successful."),o.Toast.fire("Maxed!","Check your backpack!","success")}})))}.apply(t,n))||(e.exports=a)},8130:(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(4759),o(2852),o(112)],void 0===(a=function(e,t,o,n,a,r){"use strict";new o.Hack(o.category.inventory,"Item stacker").setClick(s((function*(){var e=yield n.NumberInput.fire("Amount","How many of every item would you like?","question");if(e.value&&(yield n.Confirm.fire("Are you sure you want to get all items in the game?")).value){r.ids.forEach((t=>{a.player.backpack.data[t]=(0,r.itemify)(a._.gameData[t].filter((e=>"follow"===t?![125,126,127,128,129,134,135,136,137].includes(e.ID):e)),e.value)})),a._.gameData.dorm.forEach((t=>a.player.house.data.items[t.ID]={A:[],N:e.value}));for(var t=()=>a.player.backpack.data.item.findIndex((e=>84===e.ID||85===e.ID||86===e.ID));t()>-1;)a.player.backpack.data.item.splice(t(),1);return n.Toast.fire("Success!","All items added!","success")}}))),new o.Hack(o.category.inventory,"Clear inventory").setClick(s((function*(){(yield n.Confirm.fire("Are you sure you want to clear your inventory?")).value&&(Object.keys(a.player.backpack.data).forEach((e=>a.player.backpack.data[e]=[])),n.Toast.fire("Success!","Inventory cleared.","success"))}))),new o.Hack(o.category.inventory,"Selector (Basic)").setClick(s((function*(){yield n.Swal.fire({title:"What would you like to obtain?",input:"select",inputOptions:r.names,inputPlaceholder:"Select...",inputValidator:e=>e?"":"Please select which you'd like to obtain.",showCancelButton:!0}).then(function(){var e=s((function*(e){var t=parseInt(e.value),o=r.names[t],s=r.ids[t];if(o){var i=yield n.NumberInput.fire("Amount","How many each object would you like?","question");i.value&&(yield n.Confirm.fire("Are you sure you want to get all ".concat(o.toLowerCase(),"?"))).value&&(a.player.backpack.data[s]=(0,r.itemify)(a._.gameData[s].filter((e=>"follow"===s?![125,126,127,128,129,134,135,136,137].includes(e.ID):e)),i.value),n.Toast.fire("".concat(o," Added!"),"All ".concat(o.toLowerCase()," have been added to your inventory!"),"success"),(0,a.saveCharacter)())}}));return function(t){return e.apply(this,arguments)}}())}))),new o.Hack(o.category.inventory,"Selector (Advanced)","Choose a specific object and quantity to obtain.").setClick(s((function*(){yield n.Swal.fire({title:"What would you like to obtain?",input:"select",inputOptions:r.names,inputPlaceholder:"Select...",inputValidator:e=>e?"":"Please select which you'd like to obtain.",showCancelButton:!0}).then(function(){var e=s((function*(e){if(a._.gameData[r.ids[e.value]]){var t=[];a._.gameData[r.ids[e.value]].forEach((e=>{t.push(e.data.name)})),yield n.Swal.fire({title:"What specific object categorized as ".concat(r.names[e.value].toLowerCase()," would you like to get?"),input:"select",inputOptions:t,inputPlaceholder:"Select...",inputValidator:e=>e?"":"Please select which you'd like to get.",showCancelButton:!0}).then(function(){var t=s((function*(t){var o=parseInt(t.value);if(a._.gameData[r.ids[e.value]][o]){var s=yield n.NumberInput.fire("Amount","How many of the object would you like?","question");if(s.value)return-1===a.player.backpack.data[r.ids[e.value]].findIndex((t=>t.ID===a._.gameData[r.ids[e.value]][o].ID))?a.player.backpack.data[r.ids[e.value]].push({ID:a._.gameData[r.ids[e.value]][o].ID,N:s.value}):a.player.backpack.data[r.ids[e.value]].findIndex((t=>t.ID===a._.gameData[r.ids[e.value]][o].ID)),console.log(a._.gameData[r.ids[e.value]][o].ID),(0,a.saveCharacter)(),n.Toast.fire("".concat(r.names[e.value]," Added!"),"Your selected ".concat(r.names[e.value].toLowerCase()," have been added."),"success")}}));return function(e){return t.apply(this,arguments)}}())}}));return function(t){return e.apply(this,arguments)}}())}))),new o.Hack(o.category.inventory,"Obtain All Furniture").setClick(s((function*(){var e=yield n.NumberInput.fire("Amount","How many of each piece of furniture would you like?","question");if(e.value&&(yield n.Confirm.fire("Are you sure you want to get all furniture?")).value)return a._.gameData.dorm.forEach((t=>a.player.house.data.items[t.ID]={A:[],N:e.value})),n.Toast.fire("Furniture Added!","All furniture has been added to your inventory!","success")}))),new o.Hack(o.category.inventory,"Obtain All Mounts","This gives you all of the mounts in the game.").setClick(s((function*(){return a.player.backpack.data.mount=(0,r.itemify)(a._.gameData.mount,1),n.Toast.fire("Mounts Added!","All mounts have been added to your inventory!")}))),new o.Hack(o.category.inventory,"Remove item").setClick(s((function*(){var e=yield n.Swal.fire({title:"What category would you like to remove an item from?",input:"select",inputOptions:r.names,inputPlaceholder:"Select...",inputValidator:e=>e?"":"Please select which you'd like to obtain.",showCancelButton:!0});if(a._.gameData[r.ids[e.value]]){var t=a._.gameData[r.ids[e.value]].map((e=>e.data.name)),o=yield n.Swal.fire({title:"What specific object categorized as ".concat(r.names[e.value].toLowerCase()," would you like to remove?"),input:"select",inputOptions:t,inputPlaceholder:"Select...",inputValidator:e=>e?"":"Please select which you'd like to get.",showCancelButton:!0});if(o=parseInt(o.value),a._.gameData[r.ids[e.value]][o]){var s=yield n.NumberInput.fire("Amount","How many of the object would you like to remove?","question");if(s.value){if(-1!==a.player.backpack.data[r.ids[e.value]].findIndex((t=>t.ID===a._.gameData[r.ids[e.value]][o].ID))){var i=a.player.backpack.data[r.ids[e.value]].findIndex((t=>t.ID===a._.gameData[r.ids[e.value]][o].ID));return a.player.backpack.data[r.ids[e.value]][i].N-=parseInt(s.value),a.player.backpack.data[r.ids[e.value]][i].N<=0&&a.player.backpack.data[r.ids[e.value]].splice(i,1),(0,a.saveCharacter)(),n.Toast.fire("Removed!","Successfully removed ".concat(s.value," ").concat(a._.gameData[r.ids[e.value]][o].name,"!"),"success")}yield n.Swal.fire("Item Does Not Exist","You do not have any ".concat(a._.gameData[r.ids[e.value]][o].name,"."),"error")}}}}))),new o.Hack(o.category.inventory,"Obtain All Furniture").setClick(s((function*(){return(yield n.Confirm.fire("Are you sure you want to get all furniture?")).value?(a._.gameData.dorm.forEach((e=>a.player.house.data.items[e.ID]={A:[],N:a.VERY_LARGE_NUMBER})),n.Toast.fire("Furniture Added!","All furniture have been added to your inventory!","success")):console.log("Cancelled.")})))}.apply(t,n))||(e.exports=a)},8346:(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(4759),o(2852),o(112)],void 0===(a=function(e,t,o,n,a,r){"use strict";new o.Hack(o.category.location,"Teleport To Map (interactive)").setClick(s((function*(){var e=n.Swal.mixin({focusConfirm:!1,showCancelButton:!0,preConfirm:()=>{var e;return null===(e=document.querySelector(".radioDiv[checked]"))||void 0===e?void 0:e.getAttribute("zone")}}),t=document.createElement("div");t.classList.add("radioContainer");var o=function(e){var o=document.createElement("DIV");o.classList.add("radioDiv"),o.setAttribute("zone",e);var n=a.locations[e];n?o.style.backgroundImage="url(".concat(n,")"):o.innerText=e,o.onclick=()=>{document.querySelectorAll(".radioDiv[checked]").forEach((e=>e.removeAttribute("checked"))),o.setAttribute("checked","")},t.append(o)};for(var r of Object.keys(a.prodigy.world.zones))o(r);var s=yield e.fire({title:"Teleport Zone",html:t,customClass:{popup:"radioSwal"}});if(s.value){var i=Object.keys(a.prodigy.world.zones[s.value].maps),c=yield n.Swal.fire({input:"select",inputOptions:new Map(i.map((e=>[e,e]))),title:"Map",text:"Which map in the zone do you want to teleport to?"});if(c.value){var l=(yield n.NumberInput.fire("Please enter the x to teleport to. (Try 500?)")).value||500,u=(yield n.NumberInput.fire("Please enter the y to teleport to. (Try 500?)")).value||500;return a.prodigy.world.zones[s.value].teleport(c.value,l,u,{},{}),n.Toast.fire("Teleported","You have been teleported!","success")}}}))),new o.Hack(o.category.location,"Teleport to house by userID").setClick(s((function*(){var e=(yield n.NumberInput.fire("Please enter the userID.")).value;if(e)return(0,r.toHouse)(e),n.Toast.fire("Teleported!","You have been teleported!","success")}))),new o.Hack(o.category.location,"Get Map Location").setClick(s((function*(){var e=a.player.data.zone;navigator.clipboard.writeText(e).then(s((function*(){return console.log("Async: Copying to clipboard was successful!"),n.Swal.fire({title:"Map Location",html:"You are at
".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),o(8238)],void 0===(a=function(e,t,o,n,a,r){"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.Toggler(n.category.beta,"FPS Counter [BETA]","Shows you a framerate counter").setEnabled(s((function*(){(0,r.startFps)()}))).setDisabled(s((function*(){(0,r.stopFps)()})));try{var i=a.current.user.source.canSpin;new n.Toggler(n.category.misc,"Unlimited Spins","Lets you spin the wheel as many times as you want!").setEnabled(s((function*(){return a.player.canSpin=()=>{},o.Toast.fire("Enabled!","You can now spin the wheel as many times as you want!","success")}))).setDisabled(s((function*(){return a.player.canSpin=i,o.Toast.fire("Disabled!","You can now spin the wheel only when allowed.","success")})))}catch(e){console.error("Unlimited Spins ERROR: "+e)}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 c=null,l=0;new n.Hack(n.category.misc,"Chat Spammer","Cycles through chat messages pretty fast!").setClick(s((function*(){return c?o.Swal.fire("Already Enabled","Chat Spammer is already enabled. To disable chat spammer, reload Prodigy.","error"):(c=setInterval(s((function*(){a.player.chatID=l,++l>1164&&(l=0)})),90),o.Toast.fire("Spamming!","You're now sending a chat message every 90 milliseconds!","success"))})));var u=null,d=0;new n.Hack(n.category.misc,"High Chat Spammer","Cycles through chat messages hella fast!").setClick(s((function*(){return u?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?(u=setInterval(s((function*(){a.player.chatID=d,++d>1164&&(d=0)})),30),o.Toast.fire("Spamming!","You're now sending a chat message every 30 milliseconds!","success")):console.log("Cancelled")})));var p=null,h=0;new n.Hack(n.category.misc,"Chat Spammer on Meth","Cycles through chat messages FAST ASF!").setClick(s((function*(){return p?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?(p=setInterval(s((function*(){a.player.chatID=h,++h>1164&&(h=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+(nt+(n0&&void 0!==arguments[0]?arguments[0]:",";return"string"==typeof e?this.reduce(((t,o,n)=>t+(n?e+o:o)),""):e instanceof Function?this.reduce(((t,o,n,a)=>t+(n?e(a[n],n,a)+o:o)),""):void 0},String.UWUFX=e=>{var t=Object.chance({"owo :3":20,"✧w✧":20,UwU:20,OwO:10,rawr:10,"uwu :3":5,":3 meow":15,":3":15,X3:15,"*purrs*":15,owo:15,uwu:15,"^w^":15,"x3 rawr":15,owowowowo:15});return e.split(" ").leftJoin(((e,t)=>0===Math.floor(6*Math.random())&&/[A-Za-z]/.test(e[0])?" ".concat(e[0],"-"):" ")).split(" ").join(((e,o)=>0===Math.floor(5*Math.random())?" ".concat(Object.random(t)," "):" "))},String.UWUTable={y:"wy",l:"w",r:"w",ss:"zs",n:"nw",ove:"uv",ome:"um",x:"ks",com:"cum",stu:"stew",au:"aw"},Math.randint=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Math.floor(Math.random()*e-t)+t},String.prototype.escapeRegex=function(){return this.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},String.prototype.replaceAll=function(e,t){return this.replace(new RegExp(e.toString().escapeRegex(),"gi"),(e=>t))},Object.fromArrays=(e,t)=>{var o={};return e.forEach(((e,n)=>{o[e]=t[n]})),o},Object.reverse=e=>Object.fromArrays(Object.values(e),Object.keys(e)),String.prototype.bulkReplace=function(e){var t=this;for(var o in e)t=t.replaceAll(o,e[o]);return t},String.UWU=e=>String(e).bulkReplace(String.UWUTable),Object.keys(a._.localizer.dataSource._languageData).map((e=>a._.localizer.dataSource._languageData[e]=String.UWUFX(String.UWU(a._.localizer.dataSource._languageData[e])))),Object.values(a._.gameData).map((e=>e.map((e=>[e.data.name&&(e.data.name=String.UWUFX(String.UWU(e.data.name))),e.name&&(e.name=String.UWUFX(String.UWU(e.name))),e.data.flavorText&&(e.data.flavorText=String.UWUFX(String.UWU(e.data.flavorText)))])))),o.Toast.fire("uwu","Reload Prodigy to fix uwu.","success")):console.log("uwu cancelled")})))}.apply(t,n))||(e.exports=a)},8603:(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";var r=null;new n.Hack(n.category.patched,"Arena Point Increaser [Patched]").setClick(s((function*(){return r?o.Swal.fire("Already Enabled","Arena Point Increaser is already enabled.","error"):(yield o.Confirm.fire("This hack is patched.","Running it will probably do nothing.")).value?(r=setInterval(s((function*(){var e=yield(yield fetch("https://api.prodigygame.com/leaderboard-api/season/".concat(a.prodigy.pvpNetworkHandler.seasonID,"/user/").concat(a.player.userID,"/pvp?userID=").concat(a.player.userID),{headers:{authorization:"Bearer ".concat(a.prodigy.network.jwtAuthProvider.getToken()),"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},body:"seasonID=".concat(a.prodigy.pvpNetworkHandler.seasonID,"&action=win"),method:"POST",mode:"cors"})).text();if(""!==e){var t=JSON.parse(e);console.log("[API] ".concat(t.points," Points (+100)"))}else console.log("[API] Failed to add points.")})),60500),o.Swal.fire("Enabled","Arena Point Increaser has been enabled.","success")):console.log("Cancelled")}))),new n.Hack(n.category.patched,"Disable Timeout Dialog [Patched]").setClick(s((function*(){return(yield o.Confirm.fire("This hack is patched.","Running it will probably do nothing.")).value?(a.prodigy.debugMisc.disableTimeoutDialogue(),o.Toast.fire("Enabled","Timeout Dialog has been disabled.","success")):console.log("Cancelled")})))}.apply(t,n))||(e.exports=a)},7736:(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_require__(112),__webpack_require__(3336)],__WEBPACK_AMD_DEFINE_RESULT__=function(require,exports,swal_1,index_1,util_1,hackify_1,kennel_1){"use strict";__webpack_unused_export__={value:!0},new index_1.Hack(index_1.category.pets,"Get All Pets").setClick(_asyncToGenerator((function*(){return(yield swal_1.Confirm.fire("Would you like to add all pets to your pets?")).value?(util_1._.gameData.pet.forEach((e=>{util_1.player.kennel.addPet(e.ID.toString(),util_1.VERY_LARGE_NUMBER,26376,100)})),util_1.player.kennel._encounterInfo._data.pets=[],util_1._.gameData.pet.map((e=>{util_1.player.kennel._encounterInfo._data.pets.push({firstSeenDate:Date.now(),ID:e.ID,timesBattled:1,timesRescued:1})})),util_1.player.kennel.petTeam.forEach((e=>{e&&e.assignRandomSpells&&e.assignRandomSpells()})),swal_1.Toast.fire("Success!","All pets have been added!","success")):console.log("Cancelled")}))),new index_1.Hack(index_1.category.pets,"Get All Legacy Epics").setClick(_asyncToGenerator((function*(){return(yield swal_1.Confirm.fire("This may damage your account.","Attempting to add legacy epics may damage your account. Would you still like to add all legacy epics to your team?","warning")).value?(util_1._.gameData.pet.filter((e=>[125,126,127,128,129,130,131,132,133].includes(e.ID))).forEach((e=>{util_1.player.kennel.addPet(e.ID.toString(),util_1.VERY_LARGE_NUMBER,26376,100)})),util_1.player.kennel.petTeam.forEach((e=>{e&&e.assignRandomSpells&&e.assignRandomSpells()})),swal_1.Toast.fire("Success!","All legacy epics have been added!","success")):console.log("Cancelled")}))),new index_1.Hack(index_1.category.pets,"Get All Mythical Epics").setClick(_asyncToGenerator((function*(){return(yield swal_1.Confirm.fire("Would you like to add all mythical epics to your pets?")).value?(util_1._.gameData.pet.filter((e=>[158,164,165,166,167,168,169,170,171,189].includes(e.ID))).forEach((e=>{util_1.player.kennel.addPet(e.ID.toString(),util_1.VERY_LARGE_NUMBER,26376,100)})),util_1.player.kennel.petTeam.forEach((e=>{e&&e.assignRandomSpells&&e.assignRandomSpells()})),swal_1.Toast.fire("Success!","All mythical epics have been added!","success")):console.log("Cancelled")}))),new index_1.Hack(index_1.category.pets,"Clear Pets").setClick(_asyncToGenerator((function*(){return(yield swal_1.Confirm.fire("Would you like to delete all of your pets?")).value?(util_1.player.kennel.data.length=0,swal_1.Toast.fire("Success!","Your pets have been cleared!","success")):console.log("Cancelled")}))),new index_1.Hack(index_1.category.pets,"Add Pet","Adds a pet from a list.").setClick(_asyncToGenerator((function*(){var e=yield swal_1.Swal.fire({input:"select",inputOptions:new Map(util_1._.gameData.pet.map((e=>[e.ID.toString(),"".concat(e.ID,": ").concat(e.data.name)]))),title:"Choose Pet",text:"Which pet do you want to obtain?"});if(void 0!==e.value)return util_1.player.kennel.addPet(e.value),util_1.player.kennel._encounterInfo._data.pets.push({firstSeenDate:Date.now(),ID:e.value,timesBattled:1,timesRescued:1}),swal_1.Toast.fire("Success!","Your chosen pet has been added to your pets!","success")}))),new index_1.Hack(index_1.category.pets,"Uncap pet level [Client Side]","Change your pet's level to anything, even over 100. This hack won't save when you reload Prodigy.").setClick(_asyncToGenerator((function*(){var petTeam=util_1.player.kennel.petTeam.slice(0);petTeam.shift();var names=petTeam.map((e=>e.getName())),pet=yield swal_1.Swal.fire({title:"Which pet would you like to edit?",input:"select",inputOptions:names,inputPlaceholder:"Select...",inputValidator:e=>e?"":"Please select which you'd like to obtain.",showCancelButton:!0}),amt=yield swal_1.NumberInput.fire("Level","What would you like to set your pet's level to? (Can be set over 100)","question");if(amt.value){var num=amt.value;return eval("player.kennel.petTeam[parseInt(".concat(pet.value,")+1].getLevel = () => {return ").concat(num,"}")),swal_1.Toast.fire("Updated!","The level of your pet was successfully updated. Note: this hack is client-side.","success")}}))),new index_1.Hack(index_1.category.pets,"Delete Pet","Delete a pet.").setClick(_asyncToGenerator((function*(){var e=yield(0,hackify_1.getPet)("Which pet do you wish to delete?");if(void 0!==e)return util_1.player.kennel.data.splice(e,1),swal_1.Toast.fire("Successfully deleted!","The selected pet was deleted successfully.","success")}))),new index_1.Hack(index_1.category.pets,"Edit Kennel","Allows you to directly edit your pets.").setClick(_asyncToGenerator((function*(){null!==(yield(0,kennel_1.GetAction)())&&null!==(yield(0,kennel_1.SelectSlot)())&&console.log(s(parseInt(KennelSlot.value)))})));var TEMP_BACKUP=null;new index_1.Hack(index_1.category.pets,"Backup Kennel [No save on reload]","Makes a backup of your kennel to a variable that doesn't save on reload.").setClick(_asyncToGenerator((function*(){return TEMP_BACKUP=util_1._.player.kennel._petTeam,swal_1.Toast.fire("Backed up!","Your kennel is now backed up to the local storage.","success")}))),new index_1.Hack(index_1.category.pets,"Restore Kennel","Restores a backup of your kennel from a variable... if you have one.").setClick(_asyncToGenerator((function*(){return null===TEMP_BACKUP?swal_1.Swal.fire({title:"No backup found",html:"There is no backup of your kennel currently. Make sure to back up your kennel before trying to load it.",icon:"error"}):(util_1._.player.kennel._petTeam=TEMP_BACKUP,swal_1.Toast.fire("Restored!","Your kennel backup should be restored","success"))})))}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},7939:(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_require__(112)],__WEBPACK_AMD_DEFINE_RESULT__=function(require,exports,swal_1,index_1,util_1,hackify_1){"use strict";__webpack_unused_export__={value:!0},new index_1.Hack(index_1.category.player,"Max Account").setClick(_asyncToGenerator((function*(){if(!(yield swal_1.Confirm.fire("Are you sure that you want to max your account?","We recommend doing this on an alt.")).value)return console.log("Cancelled");util_1.player.data.gold=99e5,console.log("Set player gold to 9900000.");var e=100..value-2;util_1.player.data.stars=Math.round((1-Math.pow(1.042,e))/(1-1.042)*20+10),util_1.player.data.level=100,util_1.player.getLevel=()=>util_1.player.data.level,console.log("Set player level to 100"),util_1.player.data.bountyScore=100,console.log("Set player's bounty points to 100.");for(var t=0;t{util_1.player.backpack.data[e]=(0,hackify_1.itemify)(util_1._.gameData[e].filter((t=>"follow"===e?![125,126,127,128,129,134,135,136,137].includes(t.ID):t)),1..value)})),util_1._.gameData.dorm.forEach((e=>util_1.player.house.data.items[e.ID]={A:[],N:1..value}));for(var n=()=>util_1.player.backpack.data.item.findIndex((e=>84===e.ID||85===e.ID||86===e.ID));n()>-1;)util_1.player.backpack.data.item.splice(n(),1);swal_1.Toast.fire("Success!","All items added!","success"),console.log("All items added!"),util_1.player.backpack.data.mount=(0,hackify_1.itemify)(util_1._.gameData.mount,1),console.log("Added all mounts.");var a="currency";return util_1.player.backpack.data[a]=(0,hackify_1.itemify)(util_1._.gameData[a].filter((e=>e)),6969420),util_1._.gameData.pet.forEach((e=>{util_1.player.kennel.addPet(e.ID.toString(),util_1.VERY_LARGE_NUMBER,26376,100)})),util_1.player.kennel._encounterInfo._data.pets=[],util_1._.gameData.pet.map((e=>{util_1.player.kennel._encounterInfo._data.pets.push({firstSeenDate:Date.now(),ID:e.ID,timesBattled:1,timesRescued:1})})),util_1.player.kennel.petTeam.forEach((e=>{e&&e.assignRandomSpells&&e.assignRandomSpells()})),console.log("Added all pets."),util_1.player.equipment.setHat(200),util_1.player.equipment.setBoots(93),util_1.player.equipment.setOutfit(161),util_1.player.equipment.setWeapon(196),util_1.player.appearanceChanged=!0,console.log("Appearance Refreshed."),(0,util_1.saveCharacter)(),console.log("Character Saved."),console.log("Max Account Successful."),swal_1.Toast.fire("Maxed!","Check your backpack!","success")}))),new index_1.Hack(index_1.category.player,"Set Gold").setClick(_asyncToGenerator((function*(){var e=yield swal_1.NumberInput.fire("Gold Amount","What number do you want to set your gold to?","question");if(void 0!==e.value)return e.value>1e7?swal_1.Toast.fire("Error","Cannot have more than 10,000,000 gold.","error"):(util_1.player.data.gold=+e.value,swal_1.Toast.fire("Success!","You now have ".concat(e.value," gold."),"success"))}))),new index_1.Hack(index_1.category.player,"Set Level").setClick(_asyncToGenerator((function*(){var e=yield swal_1.NumberInput.fire("Level","What number do you want to set your level to?","question");if(void 0!==e.value){if(1===e.value)return 0;var t=e.value-2;return util_1.player.data.stars=Math.round((1-Math.pow(1.042,t))/(1-1.042)*20+10),util_1.player.data.level=+e.value,util_1.player.getLevel=()=>util_1.player.data.level,swal_1.Toast.fire("Success!","You are now level ".concat(e.value,"."),"success")}}))),new index_1.Hack(index_1.category.player,"Get member stars").setClick(_asyncToGenerator((function*(){var e=yield swal_1.NumberInput.fire("Stars","How many member stars do you want?","question");if(void 0!==e.value)return util_1.player.data.storedMemberStars=e.value,swal_1.Toast.fire("Success!","You have set your member stars to ".concat(e.value,"."),"success")}))),new index_1.Hack(index_1.category.player,"Set Bounty Points").setClick(_asyncToGenerator((function*(){var e=yield swal_1.NumberInput.fire("Bounty Points","What number do you want to set your bounty points to? (Max is 100)","question");if(void 0!==e.value)return util_1.player.data.bountyScore=Math.min(+e.value,100),swal_1.Toast.fire("Success!","You now have ".concat(util_1.player.data.bountyScore," bounty point").concat(1!=util_1.player.data.bountyScore?"s":"","."),"success")}))),new index_1.Hack(index_1.category.player,"Obtain Conjure Cubes").setClick(_asyncToGenerator((function*(){var e=yield swal_1.NumberInput.fire("Conjure Cubes","How many conjure cubes do you want to get? (Max 99)","question");if(void 0!==e.value){for(var t=0;t(util_1._.instance.prodigy.gameContainer.get((0,hackify_1.getMemberModule)()).data.membership.active=!1,util_1.player.appearanceChanged=!0,swal_1.Toast.fire("Success!","You no longer have Prodigy membership!","success")))),new index_1.Hack(index_1.category.player,"Set name (Client side only)").setClick(_asyncToGenerator((function*(){var e=yield swal_1.Input.fire("What would you like to set your name to?");if(e.value)return util_1.player.getName=()=>e.value,util_1.player.appearanceChanged=!0,swal_1.Toast.fire("Changed!","Your name was changed.")}))),new index_1.Hack(index_1.category.player,"Change Name","Change the name of your wizard.").setClick(_asyncToGenerator((function*(){var e=util_1._.gameData.name,t=document.createElement("div"),o=(e,t)=>{var o=document.createElement("select");for(var n of(o.classList.add("selectName"),e.entries())){var a=document.createElement("option");[a.value,a.innerText]=n,t(a.value)&&(a.selected=!0),o.options.add(a)}return o},n=(t,n)=>o(new Map(e.filter((e=>e.data.type===t)).map((e=>[e.ID.toString(),e.name]))),(e=>n(+e)));t.append(n(0,(e=>e===util_1.player.name.data.firstName))),t.append(n(1,(e=>e===util_1.player.name.data.middleName))),t.append(n(2,(e=>e===util_1.player.name.data.lastName))),t.append(o(new Map([["null","[none]"]].concat(util_1._.gameData.nickname.map((e=>[e.ID.toString(),e.name])))),(e=>+e===util_1.player.name.data.nickname||String(util_1.player.name.data.nickname)===e)));var a=yield swal_1.Swal.fire({title:"Set Player Name",focusConfirm:!1,showCancelButton:!0,html:t,preConfirm:()=>Array.prototype.slice.call(document.querySelectorAll(".selectName")).map((e=>e.options[e.selectedIndex].value))});if(void 0!==a.value)return"null"===a.value[3]&&(a.value[3]=null),[util_1.player.name.data.firstName,util_1.player.name.data.middleName,util_1.player.name.data.lastName,util_1.player.name.data.nickname]=a.value.map((e=>e&&+e)),util_1.player.appearanceChanged=!0,swal_1.Toast.fire("Name Changed!","Your name was successfully changed.","success")}))),new index_1.Hack(index_1.category.player,"Uncap player level (client side only)").setClick(_asyncToGenerator((function*(){var level=yield swal_1.NumberInput.fire("Level","What would you like to set your level to? (Can be >100)","question");if(level.value)return localStorage.setItem("level",level.value),eval("player.getLevel = () => {return ".concat(level.value,"}")),swal_1.Toast.fire("Updated!","Your level has been successfully updated","success")}))),new index_1.Hack(index_1.category.player,"Get all achievements").setClick(_asyncToGenerator((function*(){for(var e=0;e<100;e++)util_1.player.achievements.data.progress[e]=10;return swal_1.Toast.fire("Success!","Obtained all achievements!","success")}))),new index_1.Hack(index_1.category.player,"Fix Morph Crash").setClick(_asyncToGenerator((function*(){return util_1.player.getPlayerData().playerTransformation=void 0,util_1.player.appearanceChanged=!0,swal_1.Toast.fire("Success!","Fixed morph crash bug.","success")}))),new index_1.Hack(index_1.category.player,"Permanent Morph","Makes Your Current Morph Last Forever.").setClick(_asyncToGenerator((function*(){return util_1.player.data.playerTransformation?(util_1.player.data.playerTransformation.maxTime=1/0,util_1.player.data.playerTransformation.timeRemaining=1/0,swal_1.Toast.fire("Success!","You're morph will last forever!","success")):swal_1.Swal.fire("No Morph Active","Please use a Morph Marble and try again.","error")}))),new index_1.Hack(index_1.category.player,"Complete Current Task In Quest","Completes current task in quest. (Use this button a lot to complete a quest.)").setClick(_asyncToGenerator((function*(){var e={};Object.keys(util_1._.instance.prodigy.world.zones).forEach((t=>{e[t]=util_1._.instance.prodigy.world.zones[t].name}));var t=(yield swal_1.Input.fire({title:"What Quest Do You Want To Complete?",input:"select",inputOptions:e})).value;if(t){var o=util_1._.instance.prodigy.world.zones[t].getCurrentQuestID();return util_1._.instance.prodigy.world.zones[t].completeQuest(o)?(util_1._.instance.prodigy.world.goToZoneHub(t),swal_1.Toast.fire("Success!","Completed current task in the ".concat(util_1._.instance.prodigy.world.zones[t].name," quest successfully!"),"success")):swal_1.Toast.fire("Could Not Complete Current Task In Quest.","There was an error completing the quest. Did you already complete it?","error")}}))),new index_1.Hack(index_1.category.player,"Set Dark Tower Floor").setClick(_asyncToGenerator((function*(){var e=yield swal_1.NumberInput.fire({title:"What floor do you want to be on, in the dark tower.",icon:"question",inputValidator:e=>(e>100||e<1)&&"You can only be on floors from 1-100 not ".concat(e)});if(e.value)return util_1.player.data.tower=parseInt(e.value),swal_1.Toast.fire("Success!","Successfully set dark tower floor to ".concat(e,"!"),"success")}))),new index_1.Hack(index_1.category.player,"Get UserID").setClick(_asyncToGenerator((function*(){var e=util_1.player.userID;navigator.clipboard.writeText(e.toString()).then((function(){return console.log("Async: Copying to clipboard was successful!"),swal_1.Swal.fire({title:"User ID",html:"Here is your User ID:
".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,"Grab UserID of all players on screen","Shows you the UserID and name of every player currently shown on the screen.").setClick(_asyncToGenerator((function*(){var e=util_1.current.playerList;if(0===Object.keys(e).length)return swal_1.Toast.fire("No players found.","There are no other players on the screen.","error");var t="",o=0;return yield Object.keys(e).map((n=>{var a=Object.entries(e)[o][1].nameText.textSource.source;t+="

  • uID: ".concat(n," - ").concat(a,"
  • "),o++})),swal_1.Swal.fire({title:"All players on the screen:",html:t,icon:"info"})}))),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

    Join our Discord https://dsc.gg/ProdigyPNP!

    \n\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

    \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)},3314:(e,t,o)=>{var n;void 0===(n=function(e,t){}.apply(t,[o,t]))||(e.exports=n)},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;i0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=r),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),t.push(u))}},t}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},1227:(e,t,o)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;t.splice(1,0,o,"color: inherit");let n=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(a=n))})),t.splice(a,0,o)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=o(2447)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2447:(e,t,o)=>{e.exports=function(e){function t(e){let o,a,r,s=null;function i(...e){if(!i.enabled)return;const n=i,a=Number(new Date),r=a-(o||a);n.diff=r,n.prev=o,n.curr=a,o=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,a)=>{if("%%"===o)return"%";s++;const r=t.formatters[a];if("function"==typeof r){const t=e[s];o=r.call(n,t),e.splice(s,1),s--}return o})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=n,i.destroy=t.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(a!==t.namespaces&&(a=t.namespaces,r=t.enabled(e)),r),set:e=>{s=e}}),"function"==typeof t.init&&t.init(i),i}function n(e,o){const n=t(this.namespace+(void 0===o?":":o)+e);return n.log=this.log,n}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let o;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),a=n.length;for(o=0;o{t[o]=e[o]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let o=0;for(let t=0;t{var t=1e3,o=60*t,n=60*o,a=24*n;function r(e,t,o,n){var a=t>=1.5*o;return Math.round(e/o)+" "+n+(a?"s":"")}e.exports=function(e,s){s=s||{};var i,c,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(r){var s=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*n;case"minutes":case"minute":case"mins":case"min":case"m":return s*o;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===l&&isFinite(e))return s.long?(i=e,(c=Math.abs(i))>=a?r(i,c,a,"day"):c>=n?r(i,c,n,"hour"):c>=o?r(i,c,o,"minute"):c>=t?r(i,c,t,"second"):i+" ms"):function(e){var r=Math.abs(e);return r>=a?Math.round(e/a)+"d":r>=n?Math.round(e/n)+"h":r>=o?Math.round(e/o)+"m":r>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},158:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>y});var n=o(3379),a=o.n(n),r=o(7795),s=o.n(r),i=o(569),c=o.n(i),l=o(3565),u=o.n(l),d=o(9216),p=o.n(d),h=o(4589),m=o.n(h),f=o(450),g={};g.styleTagTransform=m(),g.setAttributes=u(),g.insert=c().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=p(),a()(f.Z,g);const y=f.Z&&f.Z.locals?f.Z.locals:void 0},3379:e=>{"use strict";var t=[];function o(e){for(var o=-1,n=0;n{"use strict";var t={};e.exports=function(e,o){var n=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(o)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,o)=>{"use strict";e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(o){!function(e,t,o){var n="";o.supports&&(n+="@supports (".concat(o.supports,") {")),o.media&&(n+="@media ".concat(o.media," {"));var a=void 0!==o.layer;a&&(n+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),n+=o.css,a&&(n+="}"),o.media&&(n+="}"),o.supports&&(n+="}");var r=o.sourceMap;r&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,o)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},6455:function(e){e.exports=function(){"use strict";const e="SweetAlert2:",t=e=>e.charAt(0).toUpperCase()+e.slice(1),o=t=>{console.warn("".concat(e," ").concat("object"==typeof t?t.join(" "):t))},n=t=>{console.error("".concat(e," ").concat(t))},a=[],r=(e,t)=>{var n;n='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),a.includes(n)||(a.push(n),o(n))},s=e=>"function"==typeof e?e():e,i=e=>e&&"function"==typeof e.toPromise,c=e=>i(e)?e.toPromise():Promise.resolve(e),l=e=>e&&Promise.resolve(e)===e,u={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},d=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],p={},h=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],m=e=>Object.prototype.hasOwnProperty.call(u,e),f=e=>-1!==d.indexOf(e),g=e=>p[e],y=e=>{m(e)||o('Unknown parameter "'.concat(e,'"'))},w=e=>{h.includes(e)&&o('The parameter "'.concat(e,'" is incompatible with toasts'))},b=e=>{g(e)&&r(e,g(e))},v=e=>{const t={};for(const o in e)t[e[o]]="swal2-"+e[o];return t},_=v(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","no-war"]),k=v(["success","warning","info","question","error"]),C=()=>document.body.querySelector(".".concat(_.container)),x=e=>{const t=C();return t?t.querySelector(e):null},E=e=>x(".".concat(e)),T=()=>E(_.popup),S=()=>E(_.icon),P=()=>E(_.title),A=()=>E(_["html-container"]),I=()=>E(_.image),B=()=>E(_["progress-steps"]),D=()=>E(_["validation-message"]),O=()=>x(".".concat(_.actions," .").concat(_.confirm)),M=()=>x(".".concat(_.actions," .").concat(_.deny)),R=()=>x(".".concat(_.loader)),L=()=>x(".".concat(_.actions," .").concat(_.cancel)),N=()=>E(_.actions),j=()=>E(_.footer),H=()=>E(_["timer-progress-bar"]),F=()=>E(_.close),q=()=>{const e=Array.from(T().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(((e,t)=>{const o=parseInt(e.getAttribute("tabindex")),n=parseInt(t.getAttribute("tabindex"));return o>n?1:o"-1"!==e.getAttribute("tabindex")));return(e=>{const t=[];for(let o=0;ore(e)))},U=()=>G(document.body,_.shown)&&!G(document.body,_["toast-shown"])&&!G(document.body,_["no-backdrop"]),Y=()=>T()&&G(T(),_.toast),z={previousBodyPadding:null},W=(e,t)=>{if(e.textContent="",t){const o=(new DOMParser).parseFromString(t,"text/html");Array.from(o.querySelector("head").childNodes).forEach((t=>{e.appendChild(t)})),Array.from(o.querySelector("body").childNodes).forEach((t=>{e.appendChild(t)}))}},G=(e,t)=>{if(!t)return!1;const o=t.split(/\s+/);for(let t=0;t{if(((e,t)=>{Array.from(e.classList).forEach((o=>{Object.values(_).includes(o)||Object.values(k).includes(o)||Object.values(t.showClass).includes(o)||e.classList.remove(o)}))})(e,t),t.customClass&&t.customClass[n]){if("string"!=typeof t.customClass[n]&&!t.customClass[n].forEach)return o("Invalid type of customClass.".concat(n,'! Expected string or iterable object, got "').concat(typeof t.customClass[n],'"'));J(e,t.customClass[n])}},K=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(".".concat(_.popup," > .").concat(_[t]));case"checkbox":return e.querySelector(".".concat(_.popup," > .").concat(_.checkbox," input"));case"radio":return e.querySelector(".".concat(_.popup," > .").concat(_.radio," input:checked"))||e.querySelector(".".concat(_.popup," > .").concat(_.radio," input:first-child"));case"range":return e.querySelector(".".concat(_.popup," > .").concat(_.range," input"));default:return e.querySelector(".".concat(_.popup," > .").concat(_.input))}},$=e=>{if(e.focus(),"file"!==e.type){const t=e.value;e.value="",e.value=t}},Z=(e,t,o)=>{e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((t=>{Array.isArray(e)?e.forEach((e=>{o?e.classList.add(t):e.classList.remove(t)})):o?e.classList.add(t):e.classList.remove(t)})))},J=(e,t)=>{Z(e,t,!0)},X=(e,t)=>{Z(e,t,!1)},Q=(e,t)=>{const o=Array.from(e.children);for(let e=0;e{o==="".concat(parseInt(o))&&(o=parseInt(o)),o||0===parseInt(o)?e.style[t]="number"==typeof o?"".concat(o,"px"):o:e.style.removeProperty(t)},te=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e.style.display=t},oe=e=>{e.style.display="none"},ne=(e,t,o,n)=>{const a=e.querySelector(t);a&&(a.style[o]=n)},ae=function(e,t){t?te(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flex"):oe(e)},re=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),se=e=>!!(e.scrollHeight>e.clientHeight),ie=e=>{const t=window.getComputedStyle(e),o=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return o>0||n>0},ce=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=H();re(o)&&(t&&(o.style.transition="none",o.style.width="100%"),setTimeout((()=>{o.style.transition="width ".concat(e/1e3,"s linear"),o.style.width="0%"}),10))},le=()=>"undefined"==typeof window||"undefined"==typeof document,ue={},de=e=>new Promise((t=>{if(!e)return t();const o=window.scrollX,n=window.scrollY;ue.restoreFocusTimeout=setTimeout((()=>{ue.previousActiveElement instanceof HTMLElement?(ue.previousActiveElement.focus(),ue.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),window.scrollTo(o,n)})),pe='\n
    \n \n
      \n
      \n \n

      \n
      \n \n \n
      \n \n \n
      \n \n
      \n \n \n
      \n
      \n
      \n \n \n \n
      \n
      \n
      \n
      \n
      \n
      \n').replace(/(^|\n)\s*/g,""),he=()=>{ue.currentInstance.resetValidationMessage()},me=e=>{const t=(()=>{const e=C();return!!e&&(e.remove(),X([document.documentElement,document.body],[_["no-backdrop"],_["toast-shown"],_["has-column"]]),!0)})();if(le())return void n("SweetAlert2 requires document to initialize");const o=document.createElement("div");o.className=_.container,t&&J(o,_["no-transition"]),W(o,pe);const a="string"==typeof(r=e.target)?document.querySelector(r):r;var r;a.appendChild(o),(e=>{const t=T();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")})(e),(e=>{"rtl"===window.getComputedStyle(e).direction&&J(C(),_.rtl)})(a),(()=>{const e=T(),t=Q(e,_.input),o=Q(e,_.file),n=e.querySelector(".".concat(_.range," input")),a=e.querySelector(".".concat(_.range," output")),r=Q(e,_.select),s=e.querySelector(".".concat(_.checkbox," input")),i=Q(e,_.textarea);t.oninput=he,o.onchange=he,r.onchange=he,s.onchange=he,i.oninput=he,n.oninput=()=>{he(),a.value=n.value},n.onchange=()=>{he(),a.value=n.value}})()},fe=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?ge(e,t):e&&W(t,e)},ge=(e,t)=>{e.jquery?ye(t,e):W(t,e.toString())},ye=(e,t)=>{if(e.textContent="",0 in t)for(let o=0;o in t;o++)e.appendChild(t[o].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},we=(()=>{if(le())return!1;const e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&void 0!==e.style[o])return t[o];return!1})(),be=(e,t)=>{const o=N(),n=R();t.showConfirmButton||t.showDenyButton||t.showCancelButton?te(o):oe(o),V(o,t,"actions"),function(e,t,o){const n=O(),a=M(),r=L();ve(n,"confirm",o),ve(a,"deny",o),ve(r,"cancel",o),function(e,t,o,n){if(!n.buttonsStyling)return X([e,t,o],_.styled);J([e,t,o],_.styled),n.confirmButtonColor&&(e.style.backgroundColor=n.confirmButtonColor,J(e,_["default-outline"])),n.denyButtonColor&&(t.style.backgroundColor=n.denyButtonColor,J(t,_["default-outline"])),n.cancelButtonColor&&(o.style.backgroundColor=n.cancelButtonColor,J(o,_["default-outline"]))}(n,a,r,o),o.reverseButtons&&(o.toast?(e.insertBefore(r,n),e.insertBefore(a,n)):(e.insertBefore(r,t),e.insertBefore(a,t),e.insertBefore(n,t)))}(o,n,t),W(n,t.loaderHtml),V(n,t,"loader")};function ve(e,o,n){ae(e,n["show".concat(t(o),"Button")],"inline-block"),W(e,n["".concat(o,"ButtonText")]),e.setAttribute("aria-label",n["".concat(o,"ButtonAriaLabel")]),e.className=_[o],V(e,n,"".concat(o,"Button")),J(e,n["".concat(o,"ButtonClass")])}const _e=(e,t)=>{const n=C();n&&(function(e,t){"string"==typeof t?e.style.background=t:t||J([document.documentElement,document.body],_["no-backdrop"])}(n,t.backdrop),function(e,t){t in _?J(e,_[t]):(o('The "position" parameter is not valid, defaulting to "center"'),J(e,_.center))}(n,t.position),function(e,t){if(t&&"string"==typeof t){const o="grow-".concat(t);o in _&&J(e,_[o])}}(n,t.grow),V(n,t,"container"))};var ke={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const Ce=["input","file","range","select","radio","checkbox","textarea"],xe=e=>{if(!Be[e.input])return n('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));const t=Ae(e.input),o=Be[e.input](t,e);te(t),setTimeout((()=>{$(o)}))},Ee=(e,t)=>{const o=K(T(),e);if(o){(e=>{for(let t=0;t{const t=Ae(e.input);"object"==typeof e.customClass&&J(t,e.customClass.input)},Se=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},Pe=(e,t,o)=>{if(o.inputLabel){e.id=_.input;const n=document.createElement("label"),a=_["input-label"];n.setAttribute("for",e.id),n.className=a,"object"==typeof o.customClass&&J(n,o.customClass.inputLabel),n.innerText=o.inputLabel,t.insertAdjacentElement("beforebegin",n)}},Ae=e=>Q(T(),_[e]||_.input),Ie=(e,t)=>{["string","number"].includes(typeof t)?e.value="".concat(t):l(t)||o('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof t,'"'))},Be={};Be.text=Be.email=Be.password=Be.number=Be.tel=Be.url=(e,t)=>(Ie(e,t.inputValue),Pe(e,e,t),Se(e,t),e.type=t.input,e),Be.file=(e,t)=>(Pe(e,e,t),Se(e,t),e),Be.range=(e,t)=>{const o=e.querySelector("input"),n=e.querySelector("output");return Ie(o,t.inputValue),o.type=t.input,Ie(n,t.inputValue),Pe(o,e,t),e},Be.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const o=document.createElement("option");W(o,t.inputPlaceholder),o.value="",o.disabled=!0,o.selected=!0,e.appendChild(o)}return Pe(e,e,t),e},Be.radio=e=>(e.textContent="",e),Be.checkbox=(e,t)=>{const o=K(T(),"checkbox");o.value="1",o.id=_.checkbox,o.checked=Boolean(t.inputValue);const n=e.querySelector("span");return W(n,t.inputPlaceholder),o},Be.textarea=(e,t)=>{Ie(e,t.inputValue),Se(e,t),Pe(e,e,t);return setTimeout((()=>{if("MutationObserver"in window){const t=parseInt(window.getComputedStyle(T()).width);new MutationObserver((()=>{const o=e.offsetWidth+(n=e,parseInt(window.getComputedStyle(n).marginLeft)+parseInt(window.getComputedStyle(n).marginRight));var n;T().style.width=o>t?"".concat(o,"px"):null})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e};const De=(e,t)=>{const o=A();V(o,t,"htmlContainer"),t.html?(fe(t.html,o),te(o,"block")):t.text?(o.textContent=t.text,te(o,"block")):oe(o),((e,t)=>{const o=T(),n=ke.innerParams.get(e),a=!n||t.input!==n.input;Ce.forEach((e=>{const n=Q(o,_[e]);Ee(e,t.inputAttributes),n.className=_[e],a&&oe(n)})),t.input&&(a&&xe(t),Te(t))})(e,t)},Oe=(e,t)=>{for(const o in k)t.icon!==o&&X(e,k[o]);J(e,k[t.icon]),Le(e,t),Me(),V(e,t,"icon")},Me=()=>{const e=T(),t=window.getComputedStyle(e).getPropertyValue("background-color"),o=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e{let o,n=e.innerHTML;t.iconHtml?o=Ne(t.iconHtml):"success"===t.icon?(o='\n
      \n \n
      \n
      \n',n=n.replace(/ style=".*?"/g,"")):o="error"===t.icon?'\n \n \n \n \n':Ne({question:"?",warning:"!",info:"i"}[t.icon]),n.trim()!==o.trim()&&W(e,o)},Le=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const o of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])ne(e,o,"backgroundColor",t.iconColor);ne(e,".swal2-success-ring","borderColor",t.iconColor)}},Ne=e=>'
      ').concat(e,"
      "),je=e=>{const t=document.createElement("li");return J(t,_["progress-step"]),W(t,e),t},He=e=>{const t=document.createElement("li");return J(t,_["progress-step-line"]),e.progressStepsDistance&&ee(t,"width",e.progressStepsDistance),t},Fe=(e,t)=>{e.className="".concat(_.popup," ").concat(re(e)?t.showClass.popup:""),t.toast?(J([document.documentElement,document.body],_["toast-shown"]),J(e,_.toast)):J(e,_.modal),V(e,t,"popup"),"string"==typeof t.customClass&&J(e,t.customClass),t.icon&&J(e,_["icon-".concat(t.icon)])},qe=(e,t)=>{((e,t)=>{const o=C(),n=T();t.toast?(ee(o,"width",t.width),n.style.width="100%",n.insertBefore(R(),S())):ee(n,"width",t.width),ee(n,"padding",t.padding),t.color&&(n.style.color=t.color),t.background&&(n.style.background=t.background),oe(D()),Fe(n,t)})(0,t),_e(0,t),((e,t)=>{const n=B();if(!t.progressSteps||0===t.progressSteps.length)return oe(n);te(n),n.textContent="",t.currentProgressStep>=t.progressSteps.length&&o("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach(((e,o)=>{const a=je(e);if(n.appendChild(a),o===t.currentProgressStep&&J(a,_["active-progress-step"]),o!==t.progressSteps.length-1){const e=He(t);n.appendChild(e)}}))})(0,t),((e,t)=>{const o=ke.innerParams.get(e),a=S();if(o&&t.icon===o.icon)return Re(a,t),void Oe(a,t);if(t.icon||t.iconHtml){if(t.icon&&-1===Object.keys(k).indexOf(t.icon))return n('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),void oe(a);te(a),Re(a,t),Oe(a,t),J(a,t.showClass.icon)}else oe(a)})(e,t),((e,t)=>{const o=I();if(!t.imageUrl)return oe(o);te(o,""),o.setAttribute("src",t.imageUrl),o.setAttribute("alt",t.imageAlt),ee(o,"width",t.imageWidth),ee(o,"height",t.imageHeight),o.className=_.image,V(o,t,"image")})(0,t),((e,t)=>{const o=P();ae(o,t.title||t.titleText,"block"),t.title&&fe(t.title,o),t.titleText&&(o.innerText=t.titleText),V(o,t,"title")})(0,t),((e,t)=>{const o=F();W(o,t.closeButtonHtml),V(o,t,"closeButton"),ae(o,t.showCloseButton),o.setAttribute("aria-label",t.closeButtonAriaLabel)})(0,t),De(e,t),be(0,t),((e,t)=>{const o=j();ae(o,t.footer),t.footer&&fe(t.footer,o),V(o,t,"footer")})(0,t),"function"==typeof t.didRender&&t.didRender(T())},Ue=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Ye=()=>{Array.from(document.body.children).forEach((e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},ze=["swal-title","swal-html","swal-footer"],We=e=>{const t={};return Array.from(e.querySelectorAll("swal-param")).forEach((e=>{Xe(e,["name","value"]);const o=e.getAttribute("name"),n=e.getAttribute("value");"boolean"==typeof u[o]&&"false"===n&&(t[o]=!1),"object"==typeof u[o]&&(t[o]=JSON.parse(n))})),t},Ge=e=>{const o={};return Array.from(e.querySelectorAll("swal-button")).forEach((e=>{Xe(e,["type","color","aria-label"]);const n=e.getAttribute("type");o["".concat(n,"ButtonText")]=e.innerHTML,o["show".concat(t(n),"Button")]=!0,e.hasAttribute("color")&&(o["".concat(n,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(o["".concat(n,"ButtonAriaLabel")]=e.getAttribute("aria-label"))})),o},Ve=e=>{const t={},o=e.querySelector("swal-image");return o&&(Xe(o,["src","width","height","alt"]),o.hasAttribute("src")&&(t.imageUrl=o.getAttribute("src")),o.hasAttribute("width")&&(t.imageWidth=o.getAttribute("width")),o.hasAttribute("height")&&(t.imageHeight=o.getAttribute("height")),o.hasAttribute("alt")&&(t.imageAlt=o.getAttribute("alt"))),t},Ke=e=>{const t={},o=e.querySelector("swal-icon");return o&&(Xe(o,["type","color"]),o.hasAttribute("type")&&(t.icon=o.getAttribute("type")),o.hasAttribute("color")&&(t.iconColor=o.getAttribute("color")),t.iconHtml=o.innerHTML),t},$e=e=>{const t={},o=e.querySelector("swal-input");o&&(Xe(o,["type","label","placeholder","value"]),t.input=o.getAttribute("type")||"text",o.hasAttribute("label")&&(t.inputLabel=o.getAttribute("label")),o.hasAttribute("placeholder")&&(t.inputPlaceholder=o.getAttribute("placeholder")),o.hasAttribute("value")&&(t.inputValue=o.getAttribute("value")));const n=Array.from(e.querySelectorAll("swal-input-option"));return n.length&&(t.inputOptions={},n.forEach((e=>{Xe(e,["value"]);const o=e.getAttribute("value"),n=e.innerHTML;t.inputOptions[o]=n}))),t},Ze=(e,t)=>{const o={};for(const n in t){const a=t[n],r=e.querySelector(a);r&&(Xe(r,[]),o[a.replace(/^swal-/,"")]=r.innerHTML.trim())}return o},Je=e=>{const t=ze.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach((e=>{const n=e.tagName.toLowerCase();-1===t.indexOf(n)&&o("Unrecognized element <".concat(n,">"))}))},Xe=(e,t)=>{Array.from(e.attributes).forEach((n=>{-1===t.indexOf(n.name)&&o(['Unrecognized attribute "'.concat(n.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(t.length?"Allowed attributes are: ".concat(t.join(", ")):"To set the value, use HTML within the element.")])}))};var Qe={email:(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function et(e){(function(e){e.inputValidator||Object.keys(Qe).forEach((t=>{e.input===t&&(e.inputValidator=Qe[t])}))})(e),e.showLoaderOnConfirm&&!e.preConfirm&&o("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(o('Target parameter is not valid, defaulting to "body"'),e.target="body")}(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("
      ")),me(e)}class tt{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){const t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const ot=()=>{null===z.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(z.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(z.previousBodyPadding+(()=>{const e=document.createElement("div");e.className=_["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})(),"px"))},nt=()=>{const e=navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),o=!!e.match(/WebKit/i);if(t&&o&&!e.match(/CriOS/i)){const e=44;T().scrollHeight>window.innerHeight-e&&(C().style.paddingBottom="".concat(e,"px"))}},at=()=>{const e=C();let t;e.ontouchstart=e=>{t=rt(e)},e.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}},rt=e=>{const t=e.target,o=C();return!(st(e)||it(e)||t!==o&&(se(o)||!(t instanceof HTMLElement)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||se(A())&&A().contains(t)))},st=e=>e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType,it=e=>e.touches&&e.touches.length>1,ct=e=>{const t=C(),o=T();"function"==typeof e.willOpen&&e.willOpen(o);const n=window.getComputedStyle(document.body).overflowY;pt(t,o,e),setTimeout((()=>{ut(t,o)}),10),U()&&(dt(t,e.scrollbarPadding,n),Array.from(document.body.children).forEach((e=>{e===C()||e.contains(C())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}))),Y()||ue.previousActiveElement||(ue.previousActiveElement=document.activeElement),"function"==typeof e.didOpen&&setTimeout((()=>e.didOpen(o))),X(t,_["no-transition"])},lt=e=>{const t=T();if(e.target!==t)return;const o=C();t.removeEventListener(we,lt),o.style.overflowY="auto"},ut=(e,t)=>{we&&ie(t)?(e.style.overflowY="hidden",t.addEventListener(we,lt)):e.style.overflowY="auto"},dt=(e,t,o)=>{(()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!G(document.body,_.iosfix)){const e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),J(document.body,_.iosfix),at(),nt()}})(),t&&"hidden"!==o&&ot(),setTimeout((()=>{e.scrollTop=0}))},pt=(e,t,o)=>{J(e,o.showClass.backdrop),t.style.setProperty("opacity","0","important"),te(t,"grid"),setTimeout((()=>{J(t,o.showClass.popup),t.style.removeProperty("opacity")}),10),J([document.documentElement,document.body],_.shown),o.heightAuto&&o.backdrop&&!o.toast&&J([document.documentElement,document.body],_["height-auto"])},ht=e=>{let t=T();t||new So,t=T();const o=R();Y()?oe(S()):mt(t,e),te(o),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},mt=(e,t)=>{const o=N(),n=R();!t&&re(O())&&(t=O()),te(o),t&&(oe(t),n.setAttribute("data-button-to-replace",t.className)),n.parentNode.insertBefore(n,t),J([e,o],_.loading)},ft=e=>e.checked?1:0,gt=e=>e.checked?e.value:null,yt=e=>e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null,wt=(e,t)=>{const o=T(),a=e=>vt[t.input](o,_t(e),t);i(t.inputOptions)||l(t.inputOptions)?(ht(O()),c(t.inputOptions).then((t=>{e.hideLoading(),a(t)}))):"object"==typeof t.inputOptions?a(t.inputOptions):n("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof t.inputOptions))},bt=(e,t)=>{const o=e.getInput();oe(o),c(t.inputValue).then((n=>{o.value="number"===t.input?parseFloat(n)||0:"".concat(n),te(o),o.focus(),e.hideLoading()})).catch((t=>{n("Error in inputValue promise: ".concat(t)),o.value="",te(o),o.focus(),e.hideLoading()}))},vt={select:(e,t,o)=>{const n=Q(e,_.select),a=(e,t,n)=>{const a=document.createElement("option");a.value=n,W(a,t),a.selected=kt(n,o.inputValue),e.appendChild(a)};t.forEach((e=>{const t=e[0],o=e[1];if(Array.isArray(o)){const e=document.createElement("optgroup");e.label=t,e.disabled=!1,n.appendChild(e),o.forEach((t=>a(e,t[1],t[0])))}else a(n,o,t)})),n.focus()},radio:(e,t,o)=>{const n=Q(e,_.radio);t.forEach((e=>{const t=e[0],a=e[1],r=document.createElement("input"),s=document.createElement("label");r.type="radio",r.name=_.radio,r.value=t,kt(t,o.inputValue)&&(r.checked=!0);const i=document.createElement("span");W(i,a),i.className=_.label,s.appendChild(r),s.appendChild(i),n.appendChild(s)}));const a=n.querySelectorAll("input");a.length&&a[0].focus()}},_t=e=>{const t=[];return"undefined"!=typeof Map&&e instanceof Map?e.forEach(((e,o)=>{let n=e;"object"==typeof n&&(n=_t(n)),t.push([o,n])})):Object.keys(e).forEach((o=>{let n=e[o];"object"==typeof n&&(n=_t(n)),t.push([o,n])})),t},kt=(e,t)=>t&&t.toString()===e.toString();function Ct(){const e=ke.innerParams.get(this);if(!e)return;const t=ke.domCache.get(this);oe(t.loader),Y()?e.icon&&te(S()):xt(t),X([t.popup,t.actions],_.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}const xt=e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?te(t[0],"inline-block"):!re(O())&&!re(M())&&!re(L())&&oe(e.actions)};var Et={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const Tt=()=>O()&&O().click(),St=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},Pt=(e,t,o)=>{const n=q();if(n.length)return(t+=o)===n.length?t=0:-1===t&&(t=n.length-1),n[t].focus();T().focus()},At=["ArrowRight","ArrowDown"],It=["ArrowLeft","ArrowUp"],Bt=(e,t,o)=>{const n=ke.innerParams.get(e);n&&(t.isComposing||229===t.keyCode||(n.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?Dt(e,t,n):"Tab"===t.key?Ot(t,n):[...At,...It].includes(t.key)?Mt(t.key):"Escape"===t.key&&Rt(t,n,o)))},Dt=(e,t,o)=>{if(s(o.allowEnterKey)&&t.target&&e.getInput()&&t.target instanceof HTMLElement&&t.target.outerHTML===e.getInput().outerHTML){if(["textarea","file"].includes(o.input))return;Tt(),t.preventDefault()}},Ot=(e,t)=>{const o=e.target,n=q();let a=-1;for(let e=0;e{const t=O(),o=M(),n=L();if(document.activeElement instanceof HTMLElement&&![t,o,n].includes(document.activeElement))return;const a=At.includes(e)?"nextElementSibling":"previousElementSibling";let r=document.activeElement;for(let e=0;e{s(t.allowEscapeKey)&&(e.preventDefault(),o(Ue.esc))};function Lt(e,t,o,n){Y()?Yt(e,n):(de(o).then((()=>Yt(e,n))),St(ue)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),U()&&(null!==z.previousBodyPadding&&(document.body.style.paddingRight="".concat(z.previousBodyPadding,"px"),z.previousBodyPadding=null),(()=>{if(G(document.body,_.iosfix)){const e=parseInt(document.body.style.top,10);X(document.body,_.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}})(),Ye()),X([document.documentElement,document.body],[_.shown,_["height-auto"],_["no-backdrop"],_["toast-shown"]])}function Nt(e){e=Ft(e);const t=Et.swalPromiseResolve.get(this),o=jt(this);this.isAwaitingPromise()?e.isDismissed||(Ht(this),t(e)):o&&t(e)}const jt=e=>{const t=T();if(!t)return!1;const o=ke.innerParams.get(e);if(!o||G(t,o.hideClass.popup))return!1;X(t,o.showClass.popup),J(t,o.hideClass.popup);const n=C();return X(n,o.showClass.backdrop),J(n,o.hideClass.backdrop),qt(e,t,o),!0};const Ht=e=>{e.isAwaitingPromise()&&(ke.awaitingPromise.delete(e),ke.innerParams.get(e)||e._destroy())},Ft=e=>void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),qt=(e,t,o)=>{const n=C(),a=we&&ie(t);"function"==typeof o.willClose&&o.willClose(t),a?Ut(e,t,n,o.returnFocus,o.didClose):Lt(e,n,o.returnFocus,o.didClose)},Ut=(e,t,o,n,a)=>{ue.swalCloseEventFinishedCallback=Lt.bind(null,e,o,n,a),t.addEventListener(we,(function(e){e.target===t&&(ue.swalCloseEventFinishedCallback(),delete ue.swalCloseEventFinishedCallback)}))},Yt=(e,t)=>{setTimeout((()=>{"function"==typeof t&&t.bind(e.params)(),e._destroy()}))};function zt(e,t,o){const n=ke.domCache.get(e);t.forEach((e=>{n[e].disabled=o}))}function Wt(e,t){if(!e)return!1;if("radio"===e.type){const o=e.parentNode.parentNode.querySelectorAll("input");for(let e=0;e{const t={};return Object.keys(e).forEach((n=>{f(n)?t[n]=e[n]:o("Invalid parameter to update: ".concat(n))})),t};const Vt=e=>{Kt(e),delete e.params,delete ue.keydownHandler,delete ue.keydownTarget,delete ue.currentInstance},Kt=e=>{e.isAwaitingPromise()?($t(ke,e),ke.awaitingPromise.set(e,!0)):($t(Et,e),$t(ke,e))},$t=(e,t)=>{for(const o in e)e[o].delete(t)};var Zt=Object.freeze({hideLoading:Ct,disableLoading:Ct,getInput:function(e){const t=ke.innerParams.get(e||this),o=ke.domCache.get(e||this);return o?K(o.popup,t.input):null},close:Nt,isAwaitingPromise:function(){return!!ke.awaitingPromise.get(this)},rejectPromise:function(e){const t=Et.swalPromiseReject.get(this);Ht(this),t&&t(e)},handleAwaitingPromise:Ht,closePopup:Nt,closeModal:Nt,closeToast:Nt,enableButtons:function(){zt(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){zt(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return Wt(this.getInput(),!1)},disableInput:function(){return Wt(this.getInput(),!0)},showValidationMessage:function(e){const t=ke.domCache.get(this),o=ke.innerParams.get(this);W(t.validationMessage,e),t.validationMessage.className=_["validation-message"],o.customClass&&o.customClass.validationMessage&&J(t.validationMessage,o.customClass.validationMessage),te(t.validationMessage);const n=this.getInput();n&&(n.setAttribute("aria-invalid",!0),n.setAttribute("aria-describedby",_["validation-message"]),$(n),J(n,_.inputerror))},resetValidationMessage:function(){const e=ke.domCache.get(this);e.validationMessage&&oe(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),X(t,_.inputerror))},getProgressSteps:function(){return ke.domCache.get(this).progressSteps},update:function(e){const t=T(),n=ke.innerParams.get(this);if(!t||G(t,n.hideClass.popup))return o("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const a=Gt(e),r=Object.assign({},n,a);qe(this,r),ke.innerParams.set(this,r),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})},_destroy:function(){const e=ke.domCache.get(this),t=ke.innerParams.get(this);t?(e.popup&&ue.swalCloseEventFinishedCallback&&(ue.swalCloseEventFinishedCallback(),delete ue.swalCloseEventFinishedCallback),"function"==typeof t.didDestroy&&t.didDestroy(),Vt(this)):Kt(this)}});const Jt=(e,o)=>{const a=ke.innerParams.get(e);if(!a.input)return void n('The "input" parameter is needed to be set when using returnInputValueOn'.concat(t(o)));const r=((e,t)=>{const o=e.getInput();if(!o)return null;switch(t.input){case"checkbox":return ft(o);case"radio":return gt(o);case"file":return yt(o);default:return t.inputAutoTrim?o.value.trim():o.value}})(e,a);a.inputValidator?Xt(e,r,o):e.getInput().checkValidity()?"deny"===o?Qt(e,r):oo(e,r):(e.enableButtons(),e.showValidationMessage(a.validationMessage))},Xt=(e,t,o)=>{const n=ke.innerParams.get(e);e.disableInput(),Promise.resolve().then((()=>c(n.inputValidator(t,n.validationMessage)))).then((n=>{e.enableButtons(),e.enableInput(),n?e.showValidationMessage(n):"deny"===o?Qt(e,t):oo(e,t)}))},Qt=(e,t)=>{const o=ke.innerParams.get(e||void 0);o.showLoaderOnDeny&&ht(M()),o.preDeny?(ke.awaitingPromise.set(e||void 0,!0),Promise.resolve().then((()=>c(o.preDeny(t,o.validationMessage)))).then((o=>{!1===o?(e.hideLoading(),Ht(e)):e.close({isDenied:!0,value:void 0===o?t:o})})).catch((t=>to(e||void 0,t)))):e.close({isDenied:!0,value:t})},eo=(e,t)=>{e.close({isConfirmed:!0,value:t})},to=(e,t)=>{e.rejectPromise(t)},oo=(e,t)=>{const o=ke.innerParams.get(e||void 0);o.showLoaderOnConfirm&&ht(),o.preConfirm?(e.resetValidationMessage(),ke.awaitingPromise.set(e||void 0,!0),Promise.resolve().then((()=>c(o.preConfirm(t,o.validationMessage)))).then((o=>{re(D())||!1===o?(e.hideLoading(),Ht(e)):eo(e,void 0===o?t:o)})).catch((t=>to(e||void 0,t)))):eo(e,t)},no=(e,t,o)=>{t.popup.onclick=()=>{const t=ke.innerParams.get(e);t&&(ao(t)||t.timer||t.input)||o(Ue.close)}},ao=e=>e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton;let ro=!1;const so=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(ro=!0)}}},io=e=>{e.container.onmousedown=()=>{e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||e.popup.contains(t.target))&&(ro=!0)}}},co=(e,t,o)=>{t.container.onclick=n=>{const a=ke.innerParams.get(e);ro?ro=!1:n.target===t.container&&s(a.allowOutsideClick)&&o(Ue.backdrop)}},lo=e=>e instanceof Element||(e=>"object"==typeof e&&e.jquery)(e);const uo=()=>{if(ue.timeout)return(()=>{const e=H(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const o=t/parseInt(window.getComputedStyle(e).width)*100;e.style.removeProperty("transition"),e.style.width="".concat(o,"%")})(),ue.timeout.stop()},po=()=>{if(ue.timeout){const e=ue.timeout.start();return ce(e),e}};let ho=!1;const mo={};const fo=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const e in mo){const o=t.getAttribute(e);if(o)return void mo[e].fire({template:o})}};var go=Object.freeze({isValidParameter:m,isUpdatableParameter:f,isDeprecatedParameter:g,argsToParams:e=>{const t={};return"object"!=typeof e[0]||lo(e[0])?["title","html","icon"].forEach(((o,a)=>{const r=e[a];"string"==typeof r||lo(r)?t[o]=r:void 0!==r&&n("Unexpected type of ".concat(o,'! Expected "string" or "Element", got ').concat(typeof r))})):Object.assign(t,e[0]),t},isVisible:()=>re(T()),clickConfirm:Tt,clickDeny:()=>M()&&M().click(),clickCancel:()=>L()&&L().click(),getContainer:C,getPopup:T,getTitle:P,getHtmlContainer:A,getImage:I,getIcon:S,getInputLabel:()=>E(_["input-label"]),getCloseButton:F,getActions:N,getConfirmButton:O,getDenyButton:M,getCancelButton:L,getLoader:R,getFooter:j,getTimerProgressBar:H,getFocusableElements:q,getValidationMessage:D,isLoading:()=>T().hasAttribute("data-loading"),fire:function(){const e=this;for(var t=arguments.length,o=new Array(t),n=0;nue.timeout&&ue.timeout.getTimerLeft(),stopTimer:uo,resumeTimer:po,toggleTimer:()=>{const e=ue.timeout;return e&&(e.running?uo():po())},increaseTimer:e=>{if(ue.timeout){const t=ue.timeout.increase(e);return ce(t,!0),t}},isTimerRunning:()=>ue.timeout&&ue.timeout.isRunning(),bindClickHandler:function(){mo[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,ho||(document.body.addEventListener("click",fo),ho=!0)}});let yo;class wo{constructor(){if("undefined"==typeof window)return;yo=this;for(var e=arguments.length,t=new Array(e),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};(e=>{!e.backdrop&&e.allowOutsideClick&&o('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const t in e)y(t),e.toast&&w(t),b(t)})(Object.assign({},t,e)),ue.currentInstance&&(ue.currentInstance._destroy(),U()&&Ye()),ue.currentInstance=yo;const n=vo(e,t);et(n),Object.freeze(n),ue.timeout&&(ue.timeout.stop(),delete ue.timeout),clearTimeout(ue.restoreFocusTimeout);const a=_o(yo);return qe(yo,n),ke.innerParams.set(yo,n),bo(yo,a,n)}then(e){return ke.promise.get(this).then(e)}finally(e){return ke.promise.get(this).finally(e)}}const bo=(e,t,o)=>new Promise(((n,a)=>{const r=t=>{e.closePopup({isDismissed:!0,dismiss:t})};Et.swalPromiseResolve.set(e,n),Et.swalPromiseReject.set(e,a),t.confirmButton.onclick=()=>(e=>{const t=ke.innerParams.get(e);e.disableButtons(),t.input?Jt(e,"confirm"):oo(e,!0)})(e),t.denyButton.onclick=()=>(e=>{const t=ke.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?Jt(e,"deny"):Qt(e,!1)})(e),t.cancelButton.onclick=()=>((e,t)=>{e.disableButtons(),t(Ue.cancel)})(e,r),t.closeButton.onclick=()=>r(Ue.close),((e,t,o)=>{ke.innerParams.get(e).toast?no(e,t,o):(so(t),io(t),co(e,t,o))})(e,t,r),((e,t,o,n)=>{St(t),o.toast||(t.keydownHandler=t=>Bt(e,t,n),t.keydownTarget=o.keydownListenerCapture?window:T(),t.keydownListenerCapture=o.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)})(e,ue,o,r),((e,t)=>{"select"===t.input||"radio"===t.input?wt(e,t):["text","email","number","tel","textarea"].includes(t.input)&&(i(t.inputValue)||l(t.inputValue))&&(ht(O()),bt(e,t))})(e,o),ct(o),ko(ue,o,r),Co(t,o),setTimeout((()=>{t.container.scrollTop=0}))})),vo=(e,t)=>{const o=(e=>{const t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};const o=t.content;return Je(o),Object.assign(We(o),Ge(o),Ve(o),Ke(o),$e(o),Ze(o,ze))})(e),n=Object.assign({},u,t,o,e);return n.showClass=Object.assign({},u.showClass,n.showClass),n.hideClass=Object.assign({},u.hideClass,n.hideClass),n},_o=e=>{const t={popup:T(),container:C(),actions:N(),confirmButton:O(),denyButton:M(),cancelButton:L(),loader:R(),closeButton:F(),validationMessage:D(),progressSteps:B()};return ke.domCache.set(e,t),t},ko=(e,t,o)=>{const n=H();oe(n),t.timer&&(e.timeout=new tt((()=>{o("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(te(n),V(n,t,"timerProgressBar"),setTimeout((()=>{e.timeout&&e.timeout.running&&ce(t.timer)}))))},Co=(e,t)=>{if(!t.toast)return s(t.allowEnterKey)?void(xo(e,t)||Pt(0,-1,1)):Eo()},xo=(e,t)=>t.focusDeny&&re(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&re(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!re(e.confirmButton)||(e.confirmButton.focus(),0)),Eo=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};if("undefined"!=typeof window&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|xn--p1ai)$/)&&Math.random()<.1){const e=document.createElement("div");e.className="leave-russia-now-and-apply-your-skills-to-the-world";const t=(To=[{text:"В нижеприведённом видео объясняется как каждый из нас может помочь в том,\n чтобы эта бессмысленная и бесчеловечная война остановилась:",id:"4CfDhaRkw7I"},{text:"Эмпатия - главное человеческое чувство. Способность сопереживать. Способность поставить себя на место другого.",id:"s-GLAIY4DXA"}])[Math.floor(Math.random()*To.length)];W(e,"\n
      \n Если мы не остановим войну, она придет в дом каждого из нас и её последствия будут ужасающими.\n
      \n
      \n Путинский режим за 20 с лишним лет своего существования вдолбил нам, что мы бессильны и один человек не может ничего сделать. Это не так!\n
      \n
      \n ".concat(t.text,'\n
      \n \n
      \n Нет войне!\n
      \n '));const o=document.createElement("button");o.innerHTML="×",o.onclick=()=>e.remove(),e.appendChild(o),window.addEventListener("load",(()=>{setTimeout((()=>{document.body.appendChild(e)}),1e3)}))}var To;Object.assign(wo.prototype,Zt),Object.assign(wo,go),Object.keys(Zt).forEach((e=>{wo[e]=function(){if(yo)return yo[e](...arguments)}})),wo.DismissReason=Ue,wo.version="11.4.29";const So=wo;return So.default=So,So}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var o=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(o),o.styleSheet)o.styleSheet.disabled||(o.styleSheet.cssText=t);else try{o.innerHTML=t}catch(e){o.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4!important;grid-row:1/4!important;grid-template-columns:1fr 99fr 1fr;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px hsla(0deg,0%,0%,.075),0 1px 2px hsla(0deg,0%,0%,.075),1px 2px 4px hsla(0deg,0%,0%,.075),1px 3px 8px hsla(0deg,0%,0%,.075),2px 4px 16px hsla(0deg,0%,0%,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto);grid-template-rows:minmax(min-content,auto) minmax(min-content,auto) minmax(min-content,auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-bottom-start,.swal2-container.swal2-center-start,.swal2-container.swal2-top-start{grid-template-columns:minmax(0,1fr) auto auto}.swal2-container.swal2-bottom,.swal2-container.swal2-center,.swal2-container.swal2-top{grid-template-columns:auto minmax(0,1fr) auto}.swal2-container.swal2-bottom-end,.swal2-container.swal2-center-end,.swal2-container.swal2-top-end{grid-template-columns:auto auto minmax(0,1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-left>.swal2-popup,.swal2-container.swal2-center-start>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-left>.swal2-popup,.swal2-container.swal2-bottom-start>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-fullscreen>.swal2-popup,.swal2-container.swal2-grow-row>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none!important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0,100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px transparent;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto!important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em 2em 3px}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:0 0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px transparent;color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:0 0;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:0 0;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .5s;animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .8s;animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-question-mark .8s;animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:0 0;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.leave-russia-now-and-apply-your-skills-to-the-world{display:flex;position:fixed;z-index:1939;top:0;right:0;bottom:0;left:0;flex-direction:column;align-items:center;justify-content:center;padding:25px 0 20px;background:#20232a;color:#fff;text-align:center}.leave-russia-now-and-apply-your-skills-to-the-world div{max-width:560px;margin:10px;line-height:146%}.leave-russia-now-and-apply-your-skills-to-the-world iframe{max-width:100%;max-height:55.5555555556vmin;margin:16px auto}.leave-russia-now-and-apply-your-skills-to-the-world strong{border-bottom:2px dashed #fff}.leave-russia-now-and-apply-your-skills-to-the-world button{display:flex;position:fixed;z-index:1940;top:0;right:0;align-items:center;justify-content:center;width:48px;height:48px;margin-right:10px;margin-bottom:-10px;border:none;background:0 0;color:#aaa;font-size:48px;font-weight:700;cursor:pointer}.leave-russia-now-and-apply-your-skills-to-the-world button:hover{color:#fff}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@-webkit-keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{background-color:transparent!important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:transparent;pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')},8419:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasCORS=void 0;let o=!1;try{o="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){}t.hasCORS=o},5754:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=t.encode=void 0,t.encode=function(e){let t="";for(let o in e)e.hasOwnProperty(o)&&(t.length&&(t+="&"),t+=encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return t},t.decode=function(e){let t={},o=e.split("&");for(let e=0,n=o.length;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;const o=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.parse=function(e){const t=e,a=e.indexOf("["),r=e.indexOf("]");-1!=a&&-1!=r&&(e=e.substring(0,a)+e.substring(a,r).replace(/:/g,";")+e.substring(r,e.length));let s=o.exec(e||""),i={},c=14;for(;c--;)i[n[c]]=s[c]||"";return-1!=a&&-1!=r&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=function(e,t){const o=t.replace(/\/{2,9}/g,"/").split("/");return"/"!=t.substr(0,1)&&0!==t.length||o.splice(0,1),"/"==t.substr(t.length-1,1)&&o.splice(o.length-1,1),o}(0,i.path),i.queryKey=function(e,t){const o={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,n){t&&(o[t]=n)})),o}(0,i.query),i}},8726:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.yeast=t.decode=t.encode=void 0;const o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),n={};let a,r=0,s=0;function i(e){let t="";do{t=o[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}for(t.encode=i,t.decode=function(e){let t=0;for(s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.globalThisShim=void 0,t.globalThisShim="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")()},4679:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=t.installTimerFunctions=t.transports=t.Transport=t.protocol=t.Socket=void 0;const n=o(3481);Object.defineProperty(t,"Socket",{enumerable:!0,get:function(){return n.Socket}}),t.protocol=n.Socket.protocol;var a=o(9870);Object.defineProperty(t,"Transport",{enumerable:!0,get:function(){return a.Transport}});var r=o(7385);Object.defineProperty(t,"transports",{enumerable:!0,get:function(){return r.transports}});var s=o(9622);Object.defineProperty(t,"installTimerFunctions",{enumerable:!0,get:function(){return s.installTimerFunctions}});var i=o(5222);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return i.parse}})},3481:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Socket=void 0;const a=o(7385),r=o(9622),s=o(5754),i=o(5222),c=n(o(1227)),l=o(5260),u=o(1373),d=(0,c.default)("engine.io-client:socket");class p extends l.Emitter{constructor(e,t={}){super(),e&&"object"==typeof e&&(t=e,e=null),e?(e=(0,i.parse)(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=(0,i.parse)(t.host).host),(0,r.installTimerFunctions)(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},t),this.opts.path=this.opts.path.replace(/\/$/,"")+"/","string"==typeof this.opts.query&&(this.opts.query=(0,s.decode)(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&addEventListener("beforeunload",(()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())}),!1),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){d('creating transport "%s"',e);const t=Object.assign({},this.opts.query);t.EIO=u.protocol,t.transport=e,this.id&&(t.sid=this.id);const o=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return d("options: %j",o),new a.transports[e](o)}open(){let e;if(this.opts.rememberUpgrade&&p.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return d("error while creating transport: %s",e),this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){d("setting transport %s",e.name),this.transport&&(d("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(e){d('probing transport "%s"',e);let t=this.createTransport(e),o=!1;p.priorWebsocketSuccess=!1;const n=()=>{o||(d('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(n=>{if(!o)if("pong"===n.type&&"probe"===n.data){if(d('probe transport "%s" pong',e),this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;p.priorWebsocketSuccess="websocket"===t.name,d('pausing current transport "%s"',this.transport.name),this.transport.pause((()=>{o||"closed"!==this.readyState&&(d("changing transport and sending upgrade packet"),l(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{d('probe transport "%s" failed',e);const o=new Error("probe error");o.transport=t.name,this.emitReserved("upgradeError",o)}})))};function a(){o||(o=!0,l(),t.close(),t=null)}const r=o=>{const n=new Error("probe error: "+o);n.transport=t.name,a(),d('probe transport "%s" failed because of error: %s',e,o),this.emitReserved("upgradeError",n)};function s(){r("transport closed")}function i(){r("socket closed")}function c(e){t&&e.name!==t.name&&(d('"%s" works - aborting "%s"',e.name,t.name),a())}const l=()=>{t.removeListener("open",n),t.removeListener("error",r),t.removeListener("close",s),this.off("close",i),this.off("upgrading",c)};t.once("open",n),t.once("error",r),t.once("close",s),this.once("close",i),this.once("upgrading",c),t.open()}onOpen(){if(d("socket open"),this.readyState="open",p.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){d("starting upgrade probes");let e=0;const t=this.upgrades.length;for(;e{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();d("flushing %d packets in socket",e.length),this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t0&&e>this.maxPayload)return d("only send %d out of %d packets",t,this.writeBuffer.length),this.writeBuffer.slice(0,t);e+=2}return d("payload size is %d (max: %d)",e,this.maxPayload),this.writeBuffer}write(e,t,o){return this.sendPacket("message",e,t,o),this}send(e,t,o){return this.sendPacket("message",e,t,o),this}sendPacket(e,t,o,n){if("function"==typeof t&&(n=t,t=void 0),"function"==typeof o&&(n=o,o=null),"closing"===this.readyState||"closed"===this.readyState)return;(o=o||{}).compress=!1!==o.compress;const a={type:e,data:t,options:o};this.emitReserved("packetCreate",a),this.writeBuffer.push(a),n&&this.once("flush",n),this.flush()}close(){const e=()=>{this.onClose("forced close"),d("socket closing - telling transport to close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},o=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?o():e()})):this.upgrading?o():e()),this}onError(e){d("socket error %j",e),p.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(d('socket close with reason: "%s"',e),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&removeEventListener("offline",this.offlineEventListener,!1),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let o=0;const n=e.length;for(;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transports=void 0;const n=o(484),a=o(1308);t.transports={websocket:a.WS,polling:n.Polling}},484:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Request=t.Polling=void 0;const a=o(9870),r=n(o(1227)),s=o(8726),i=o(5754),c=o(1373),l=o(6666),u=o(5260),d=o(9622),p=o(6242),h=(0,r.default)("engine.io-client:polling");function m(){}const f=null!=new l.XHR({xdomain:!1}).responseType;class g extends a.Transport{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const t="https:"===location.protocol;let o=location.port;o||(o=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||o!==e.port,this.xs=e.secure!==t}const t=e&&e.forceBase64;this.supportsBinary=f&&!t}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{h("paused"),this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(h("we are currently polling - waiting to pause"),e++,this.once("pollComplete",(function(){h("pre-pause polling complete"),--e||t()}))),this.writable||(h("we are currently writing - waiting to pause"),e++,this.once("drain",(function(){h("pre-pause writing complete"),--e||t()})))}else t()}poll(){h("polling"),this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){h("polling got data %s",e),(0,c.decodePayload)(e,this.socket.binaryType).forEach((e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState?this.poll():h('ignoring poll - transport state "%s"',this.readyState))}doClose(){const e=()=>{h("writing close packet"),this.write([{type:"close"}])};"open"===this.readyState?(h("transport open - closing"),e()):(h("transport not open - deferring close"),this.once("open",e))}write(e){this.writable=!1,(0,c.encodePayload)(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){let e=this.query||{};const t=this.opts.secure?"https":"http";let o="";!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=(0,s.yeast)()),this.supportsBinary||e.sid||(e.b64=1),this.opts.port&&("https"===t&&443!==Number(this.opts.port)||"http"===t&&80!==Number(this.opts.port))&&(o=":"+this.opts.port);const n=(0,i.encode)(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+o+this.opts.path+(n.length?"?"+n:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new y(this.uri(),e)}doWrite(e,t){const o=this.request({method:"POST",data:e});o.on("success",t),o.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){h("xhr poll");const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}t.Polling=g;class y extends u.Emitter{constructor(e,t){super(),(0,d.installTimerFunctions)(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.create()}create(){const e=(0,d.pick)(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const t=this.xhr=new l.XHR(e);try{h("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&t.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(e){}if("POST"===this.method)try{t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(t.timeout=this.opts.requestTimeout),t.onreadystatechange=()=>{4===t.readyState&&(200===t.status||1223===t.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof t.status?t.status:0)}),0))},h("xhr data %s",this.data),t.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=y.requestsCount++,y.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=m,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete y.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(t.Request=y,y.requestsCount=0,y.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",w);else if("function"==typeof addEventListener){const e="onpagehide"in p.globalThisShim?"pagehide":"unload";addEventListener(e,w,!1)}function w(){for(let e in y.requests)y.requests.hasOwnProperty(e)&&y.requests[e].abort()}},5552:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultBinaryType=t.usingBrowserWebSocket=t.WebSocket=t.nextTick=void 0;const n=o(6242);t.nextTick="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),t.WebSocket=n.globalThisShim.WebSocket||n.globalThisShim.MozWebSocket,t.usingBrowserWebSocket=!0,t.defaultBinaryType="arraybuffer"},1308:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WS=void 0;const a=o(9870),r=o(5754),s=o(8726),i=o(9622),c=o(5552),l=n(o(1227)),u=o(1373),d=(0,l.default)("engine.io-client:websocket"),p="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class h extends a.Transport{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,o=p?{}:(0,i.pick)(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(o.headers=this.opts.extraHeaders);try{this.ws=c.usingBrowserWebSocket&&!p?t?new c.WebSocket(e,t):new c.WebSocket(e):new c.WebSocket(e,t,o)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType||c.defaultBinaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t{const t={};!c.usingBrowserWebSocket&&(o.options&&(t.compress=o.options.compress),this.opts.perMessageDeflate)&&("string"==typeof e?Buffer.byteLength(e):e.length){this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const t=this.opts.secure?"wss":"ws";let o="";this.opts.port&&("wss"===t&&443!==Number(this.opts.port)||"ws"===t&&80!==Number(this.opts.port))&&(o=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=(0,s.yeast)()),this.supportsBinary||(e.b64=1);const n=(0,r.encode)(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+o+this.opts.path+(n.length?"?"+n:"")}check(){return!!c.WebSocket}}t.WS=h},6666:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XHR=void 0;const n=o(8419),a=o(6242);t.XHR=function(e){const t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||n.hasCORS))return new XMLHttpRequest}catch(e){}if(!t)try{return new(a.globalThisShim[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}},9622:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.byteLength=t.installTimerFunctions=t.pick=void 0;const n=o(6242);t.pick=function(e,...t){return t.reduce(((t,o)=>(e.hasOwnProperty(o)&&(t[o]=e[o]),t)),{})};const a=setTimeout,r=clearTimeout;t.installTimerFunctions=function(e,t){t.useNativeTimers?(e.setTimeoutFn=a.bind(n.globalThisShim),e.clearTimeoutFn=r.bind(n.globalThisShim)):(e.setTimeoutFn=setTimeout.bind(n.globalThisShim),e.clearTimeoutFn=clearTimeout.bind(n.globalThisShim))},t.byteLength=function(e){return"string"==typeof e?function(e){let t=0,o=0;for(let n=0,a=e.length;n=57344?o+=3:(n++,o+=4);return o}(e):Math.ceil(1.33*(e.byteLength||e.size))}},3087:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERROR_PACKET=t.PACKET_TYPES_REVERSE=t.PACKET_TYPES=void 0;const o=Object.create(null);t.PACKET_TYPES=o,o.open="0",o.close="1",o.ping="2",o.pong="3",o.message="4",o.upgrade="5",o.noop="6";const n=Object.create(null);t.PACKET_TYPES_REVERSE=n,Object.keys(o).forEach((e=>{n[o[e]]=e})),t.ERROR_PACKET={type:"error",data:"parser error"}},2469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=t.encode=void 0;const o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let e=0;e{let t,n=new Uint8Array(e),a=n.length,r="";for(t=0;t>2],r+=o[(3&n[t])<<4|n[t+1]>>4],r+=o[(15&n[t+1])<<2|n[t+2]>>6],r+=o[63&n[t+2]];return a%3==2?r=r.substring(0,r.length-1)+"=":a%3==1&&(r=r.substring(0,r.length-2)+"=="),r},t.decode=e=>{let t,o,a,r,s,i=.75*e.length,c=e.length,l=0;"="===e[e.length-1]&&(i--,"="===e[e.length-2]&&i--);const u=new ArrayBuffer(i),d=new Uint8Array(u);for(t=0;t>4,d[l++]=(15&a)<<4|r>>2,d[l++]=(3&r)<<6|63&s;return u}},7572:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(3087),a=o(2469),r="function"==typeof ArrayBuffer,s=(e,t)=>{if(r){const o=(0,a.decode)(e);return i(o,t)}return{base64:!0,data:e}},i=(e,t)=>"blob"===t&&e instanceof ArrayBuffer?new Blob([e]):e;t.default=(e,t)=>{if("string"!=typeof e)return{type:"message",data:i(e,t)};const o=e.charAt(0);return"b"===o?{type:"message",data:s(e.substring(1),t)}:n.PACKET_TYPES_REVERSE[o]?e.length>1?{type:n.PACKET_TYPES_REVERSE[o],data:e.substring(1)}:{type:n.PACKET_TYPES_REVERSE[o]}:n.ERROR_PACKET}},3908:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=o(3087),a="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),r="function"==typeof ArrayBuffer,s=(e,t)=>{const o=new FileReader;return o.onload=function(){const e=o.result.split(",")[1];t("b"+e)},o.readAsDataURL(e)};t.default=({type:e,data:t},o,i)=>{return a&&t instanceof Blob?o?i(t):s(t,i):r&&(t instanceof ArrayBuffer||(c=t,"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(c):c&&c.buffer instanceof ArrayBuffer))?o?i(t):s(new Blob([t]),i):i(n.PACKET_TYPES[e]+(t||""));var c}},1373:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodePayload=t.decodePacket=t.encodePayload=t.encodePacket=t.protocol=void 0;const n=o(3908);t.encodePacket=n.default;const a=o(7572);t.decodePacket=a.default;const r=String.fromCharCode(30);t.encodePayload=(e,t)=>{const o=e.length,a=new Array(o);let s=0;e.forEach(((e,i)=>{(0,n.default)(e,!1,(e=>{a[i]=e,++s===o&&t(a.join(r))}))}))},t.decodePayload=(e,t)=>{const o=e.split(r),n=[];for(let e=0;e{"use strict";function o(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Object.defineProperty(t,"__esModule",{value:!0}),t.Backoff=void 0,t.Backoff=o,o.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),o=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-o:e+o}return 0|Math.min(e,this.max)},o.prototype.reset=function(){this.attempts=0},o.prototype.setMin=function(e){this.ms=e},o.prototype.setMax=function(e){this.max=e},o.prototype.setJitter=function(e){this.jitter=e}},7046:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.connect=t.io=t.Socket=t.Manager=t.protocol=void 0;const a=o(3084),r=o(4168);Object.defineProperty(t,"Manager",{enumerable:!0,get:function(){return r.Manager}});const s=o(8312);Object.defineProperty(t,"Socket",{enumerable:!0,get:function(){return s.Socket}});const i=n(o(1227)).default("socket.io-client"),c={};function l(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};const o=a.url(e,t.path||"/socket.io"),n=o.source,s=o.id,l=o.path,u=c[s]&&l in c[s].nsps;let d;return t.forceNew||t["force new connection"]||!1===t.multiplex||u?(i("ignoring socket cache for %s",n),d=new r.Manager(n,t)):(c[s]||(i("new io instance for %s",n),c[s]=new r.Manager(n,t)),d=c[s]),o.query&&!t.query&&(t.query=o.queryKey),d.socket(o.path,t)}t.io=l,t.connect=l,t.default=l,Object.assign(l,{Manager:r.Manager,Socket:s.Socket,io:l,connect:l});var u=o(7116);Object.defineProperty(t,"protocol",{enumerable:!0,get:function(){return u.protocol}}),e.exports=l},4168:function(e,t,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,o,n){void 0===n&&(n=o),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[o]}})}:function(e,t,o,n){void 0===n&&(n=o),e[n]=t[o]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&n(t,e,o);return a(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Manager=void 0;const i=o(4679),c=o(8312),l=r(o(7116)),u=o(7149),d=o(5159),p=o(5260),h=s(o(1227)).default("socket.io-client:manager");class m extends p.Emitter{constructor(e,t){var o;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,i.installTimerFunctions(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(o=t.randomizationFactor)&&void 0!==o?o:.5),this.backoff=new d.Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const n=t.parser||l;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(h("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;h("opening %s",this.uri),this.engine=new i.Socket(this.uri,this.opts);const t=this.engine,o=this;this._readyState="opening",this.skipReconnect=!1;const n=u.on(t,"open",(function(){o.onopen(),e&&e()})),a=u.on(t,"error",(t=>{h("error"),o.cleanup(),o._readyState="closed",this.emitReserved("error",t),e?e(t):o.maybeReconnectOnOpen()}));if(!1!==this._timeout){const e=this._timeout;h("connect attempt will timeout after %d",e),0===e&&n();const o=this.setTimeoutFn((()=>{h("connect attempt timed out after %d",e),n(),t.close(),t.emit("error",new Error("timeout"))}),e);this.opts.autoUnref&&o.unref(),this.subs.push((function(){clearTimeout(o)}))}return this.subs.push(n),this.subs.push(a),this}connect(e){return this.open(e)}onopen(){h("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(u.on(e,"ping",this.onping.bind(this)),u.on(e,"data",this.ondata.bind(this)),u.on(e,"error",this.onerror.bind(this)),u.on(e,"close",this.onclose.bind(this)),u.on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){this.decoder.add(e)}ondecoded(e){this.emitReserved("packet",e)}onerror(e){h("error",e),this.emitReserved("error",e)}socket(e,t){let o=this.nsps[e];return o||(o=new c.Socket(this,e,t),this.nsps[e]=o),o}_destroy(e){const t=Object.keys(this.nsps);for(const e of t)if(this.nsps[e].active)return void h("socket %s is still active, skipping close",e);this._close()}_packet(e){h("writing packet %j",e);const t=this.encoder.encode(e);for(let o=0;oe())),this.subs.length=0,this.decoder.destroy()}_close(){h("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){h("closed due to %s",e),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)h("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();h("will wait %dms before reconnect attempt",t),this._reconnecting=!0;const o=this.setTimeoutFn((()=>{e.skipReconnect||(h("attempting reconnect"),this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(h("reconnect attempt error"),e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):(h("reconnect success"),e.onreconnect())})))}),t);this.opts.autoUnref&&o.unref(),this.subs.push((function(){clearTimeout(o)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}t.Manager=m},7149:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=void 0,t.on=function(e,t,o){return e.on(t,o),function(){e.off(t,o)}}},8312:function(e,t,o){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Socket=void 0;const a=o(7116),r=o(7149),s=o(5260),i=n(o(1227)).default("socket.io-client:socket"),c=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class l extends s.Emitter{constructor(e,t,o){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,o&&o.auth&&(this.auth=o.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[r.on(e,"open",this.onopen.bind(this)),r.on(e,"packet",this.onpacket.bind(this)),r.on(e,"error",this.onerror.bind(this)),r.on(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(c.hasOwnProperty(e))throw new Error('"'+e+'" is a reserved event name');t.unshift(e);const o={type:a.PacketType.EVENT,data:t,options:{}};if(o.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++;i("emitting packet with ack id %d",e);const n=t.pop();this._registerAckCallback(e,n),o.id=e}const n=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return!this.flags.volatile||n&&this.connected?this.connected?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o):i("discard packet as the transport is not currently writable"),this.flags={},this}_registerAckCallback(e,t){const o=this.flags.timeout;if(void 0===o)return void(this.acks[e]=t);const n=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t{this.io.clearTimeoutFn(n),t.apply(this,[null,...e])}}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){i("transport is open - connecting"),"function"==typeof this.auth?this.auth((e=>{this.packet({type:a.PacketType.CONNECT,data:e})})):this.packet({type:a.PacketType.CONNECT,data:this.auth})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){i("close (%s)",e),this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case a.PacketType.CONNECT:if(e.data&&e.data.sid){const t=e.data.sid;this.onconnect(t)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case a.PacketType.EVENT:case a.PacketType.BINARY_EVENT:this.onevent(e);break;case a.PacketType.ACK:case a.PacketType.BINARY_ACK:this.onack(e);break;case a.PacketType.DISCONNECT:this.ondisconnect();break;case a.PacketType.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];i("emitting event %j",t),null!=e.id&&(i("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const o of t)o.apply(this,e)}super.emit.apply(this,e)}ack(e){const t=this;let o=!1;return function(...n){o||(o=!0,i("sending ack %j",n),t.packet({type:a.PacketType.ACK,id:e,data:n}))}}onack(e){const t=this.acks[e.id];"function"==typeof t?(i("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):i("bad ack %s",e.id)}onconnect(e){i("socket connected with id %s",e),this.id=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){i("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(i("performing disconnect (%s)",this.nsp),this.packet({type:a.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reconstructPacket=t.deconstructPacket=void 0;const n=o(790);function a(e,t){if(!e)return e;if(n.isBinary(e)){const o={_placeholder:!0,num:t.length};return t.push(e),o}if(Array.isArray(e)){const o=new Array(e.length);for(let n=0;n=0&&e.num{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Decoder=t.Encoder=t.PacketType=t.protocol=void 0;const n=o(5260),a=o(3155),r=o(790),s=o(1227).default("socket.io-parser");var i;t.protocol=5,function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(i=t.PacketType||(t.PacketType={})),t.Encoder=class{constructor(e){this.replacer=e}encode(e){return s("encoding packet %j",e),e.type!==i.EVENT&&e.type!==i.ACK||!r.hasBinary(e)?[this.encodeAsString(e)]:(e.type=e.type===i.EVENT?i.BINARY_EVENT:i.BINARY_ACK,this.encodeAsBinary(e))}encodeAsString(e){let t=""+e.type;return e.type!==i.BINARY_EVENT&&e.type!==i.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),s("encoded %j as %s",e,t),t}encodeAsBinary(e){const t=a.deconstructPacket(e),o=this.encodeAsString(t.packet),n=t.buffers;return n.unshift(o),n}};class c extends n.Emitter{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e),t.type===i.BINARY_EVENT||t.type===i.BINARY_ACK?(this.reconstructor=new l(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!r.isBinary(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const o={type:Number(e.charAt(0))};if(void 0===i[o.type])throw new Error("unknown packet type "+o.type);if(o.type===i.BINARY_EVENT||o.type===i.BINARY_ACK){const n=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const a=e.substring(n,t);if(a!=Number(a)||"-"!==e.charAt(t))throw new Error("Illegal attachments");o.attachments=Number(a)}if("/"===e.charAt(t+1)){const n=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);o.nsp=e.substring(n,t)}else o.nsp="/";const n=e.charAt(t+1);if(""!==n&&Number(n)==n){const n=t+1;for(;++t;){const o=e.charAt(t);if(null==o||Number(o)!=o){--t;break}if(t===e.length)break}o.id=Number(e.substring(n,t+1))}if(e.charAt(++t)){const n=this.tryParse(e.substr(t));if(!c.isPayloadValid(o.type,n))throw new Error("invalid payload");o.data=n}return s("decoded %s as %j",e,o),o}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case i.CONNECT:return"object"==typeof t;case i.DISCONNECT:return void 0===t;case i.CONNECT_ERROR:return"string"==typeof t||"object"==typeof t;case i.EVENT:case i.BINARY_EVENT:return Array.isArray(t)&&t.length>0;case i.ACK:case i.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}t.Decoder=c;class l{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=a.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}},790:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBinary=t.isBinary=void 0;const o="function"==typeof ArrayBuffer,n=Object.prototype.toString,a="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===n.call(Blob),r="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===n.call(File);function s(e){return o&&(e instanceof ArrayBuffer||(e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer)(e))||a&&e instanceof Blob||r&&e instanceof File}t.isBinary=s,t.hasBinary=function e(t,o){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t)){for(let o=0,n=t.length;o{"use strict";function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}o.r(t),o.d(t,{Emitter:()=>n}),n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function o(){this.off(e,o),t.apply(this,arguments)}return o.fn=t,this.on(e,o),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var o,n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var a=0;a{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var o in t)__webpack_require__.o(t,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nc=void 0,__webpack_require__(9820),__webpack_require__(8844),__webpack_require__(9155),__webpack_require__(8130),__webpack_require__(8346),__webpack_require__(3344),__webpack_require__(465),__webpack_require__(8603),__webpack_require__(7736),__webpack_require__(7939),__webpack_require__(4474),__webpack_require__(3314),__webpack_require__(8238),__webpack_require__(112),__webpack_require__(3336),__webpack_require__(2868),__webpack_require__(4719),__webpack_require__(3131),__webpack_require__(3526),__webpack_require__(4759);var __webpack_exports__=__webpack_require__(2852)})(); \ No newline at end of file +// gotta build the bundle \ No newline at end of file diff --git a/cheatGUI/package-lock.json b/cheatGUI/package-lock.json index 17e53cc..e3e4788 100644 --- a/cheatGUI/package-lock.json +++ b/cheatGUI/package-lock.json @@ -62,28 +62,28 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.13.tgz", - "integrity": "sha512-5yUzC5LqyTFp2HLmDoxGQelcdYgSpP9xsnMWBphAscOdFrHSAVbLNzWiy32sVNDqJRDiJK6klfDnAgu6PAGSHw==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.0.tgz", + "integrity": "sha512-y5rqgTTPTmaF5e2nVhOxw+Ur9HDJLsWb6U/KpgUzRZEdPfE6VOubXBKLdbcUTijzRptednSBDQbYZBOSqJxpJw==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.13.tgz", - "integrity": "sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.19.0.tgz", + "integrity": "sha512-reM4+U7B9ss148rh2n1Qs9ASS+w94irYXga7c2jaQv9RVzpS7Mv1a9rnYYwuDa45G+DkORt9g6An2k/V4d9LbQ==", "dependencies": { "@ampproject/remapping": "^2.1.0", "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.18.13", - "@babel/helper-compilation-targets": "^7.18.9", - "@babel/helper-module-transforms": "^7.18.9", - "@babel/helpers": "^7.18.9", - "@babel/parser": "^7.18.13", + "@babel/generator": "^7.19.0", + "@babel/helper-compilation-targets": "^7.19.0", + "@babel/helper-module-transforms": "^7.19.0", + "@babel/helpers": "^7.19.0", + "@babel/parser": "^7.19.0", "@babel/template": "^7.18.10", - "@babel/traverse": "^7.18.13", - "@babel/types": "^7.18.13", + "@babel/traverse": "^7.19.0", + "@babel/types": "^7.19.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -99,11 +99,11 @@ } }, "node_modules/@babel/generator": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz", - "integrity": "sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.19.0.tgz", + "integrity": "sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg==", "dependencies": { - "@babel/types": "^7.18.13", + "@babel/types": "^7.19.0", "@jridgewell/gen-mapping": "^0.3.2", "jsesc": "^2.5.1" }, @@ -148,11 +148,11 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.9.tgz", - "integrity": "sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.0.tgz", + "integrity": "sha512-Ai5bNWXIvwDvWM7njqsG3feMlL9hCVQsPYXodsZyLwshYkZVJt59Gftau4VrE8S9IT9asd2uSP1hG6wCNw+sXA==", "dependencies": { - "@babel/compat-data": "^7.18.8", + "@babel/compat-data": "^7.19.0", "@babel/helper-validator-option": "^7.18.6", "browserslist": "^4.20.2", "semver": "^6.3.0" @@ -165,13 +165,13 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.13.tgz", - "integrity": "sha512-hDvXp+QYxSRL+23mpAlSGxHMDyIGChm0/AwTfTAAK5Ufe40nCsyNdaYCGuK91phn/fVu9kqayImRDkvNAgdrsA==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz", + "integrity": "sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw==", "dependencies": { "@babel/helper-annotate-as-pure": "^7.18.6", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.18.9", + "@babel/helper-function-name": "^7.19.0", "@babel/helper-member-expression-to-functions": "^7.18.9", "@babel/helper-optimise-call-expression": "^7.18.6", "@babel/helper-replace-supers": "^7.18.9", @@ -185,9 +185,9 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.18.6.tgz", - "integrity": "sha512-7LcpH1wnQLGrI+4v+nPp+zUvIkF9x0ddv1Hkdue10tg3gmRnLy97DXh4STiOf1qeIInyD69Qv5kKSZzKD8B/7A==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz", + "integrity": "sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==", "dependencies": { "@babel/helper-annotate-as-pure": "^7.18.6", "regexpu-core": "^5.1.0" @@ -235,12 +235,12 @@ } }, "node_modules/@babel/helper-function-name": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.18.9.tgz", - "integrity": "sha512-fJgWlZt7nxGksJS9a0XdSaI4XvpExnNIgRP+rVefWh5U7BL8pPuir6SJUmFKRfjWQ51OtWSzwOxhaH/EBWWc0A==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz", + "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==", "dependencies": { - "@babel/template": "^7.18.6", - "@babel/types": "^7.18.9" + "@babel/template": "^7.18.10", + "@babel/types": "^7.19.0" }, "engines": { "node": ">=6.9.0" @@ -280,18 +280,18 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.9.tgz", - "integrity": "sha512-KYNqY0ICwfv19b31XzvmI/mfcylOzbLtowkw+mfvGPAQ3kfCnMLYbED3YecL5tPd8nAYFQFAd6JHp2LxZk/J1g==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz", + "integrity": "sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ==", "dependencies": { "@babel/helper-environment-visitor": "^7.18.9", "@babel/helper-module-imports": "^7.18.6", "@babel/helper-simple-access": "^7.18.6", "@babel/helper-split-export-declaration": "^7.18.6", "@babel/helper-validator-identifier": "^7.18.6", - "@babel/template": "^7.18.6", - "@babel/traverse": "^7.18.9", - "@babel/types": "^7.18.9" + "@babel/template": "^7.18.10", + "@babel/traverse": "^7.19.0", + "@babel/types": "^7.19.0" }, "engines": { "node": ">=6.9.0" @@ -309,9 +309,9 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz", - "integrity": "sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz", + "integrity": "sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw==", "engines": { "node": ">=6.9.0" } @@ -406,27 +406,27 @@ } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.18.11", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.18.11.tgz", - "integrity": "sha512-oBUlbv+rjZLh2Ks9SKi4aL7eKaAXBWleHzU89mP0G6BMUlRxSckk9tSIkgDGydhgFxHuGSlBQZfnaD47oBEB7w==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz", + "integrity": "sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg==", "dependencies": { - "@babel/helper-function-name": "^7.18.9", + "@babel/helper-function-name": "^7.19.0", "@babel/template": "^7.18.10", - "@babel/traverse": "^7.18.11", - "@babel/types": "^7.18.10" + "@babel/traverse": "^7.19.0", + "@babel/types": "^7.19.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.9.tgz", - "integrity": "sha512-Jf5a+rbrLoR4eNdUmnFu8cN5eNJT6qdTdOg5IHIzq87WwyRw9PwguLFOWYgktN/60IP4fgDUawJvs7PjQIzELQ==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.0.tgz", + "integrity": "sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg==", "dependencies": { - "@babel/template": "^7.18.6", - "@babel/traverse": "^7.18.9", - "@babel/types": "^7.18.9" + "@babel/template": "^7.18.10", + "@babel/traverse": "^7.19.0", + "@babel/types": "^7.19.0" }, "engines": { "node": ">=6.9.0" @@ -446,9 +446,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.13.tgz", - "integrity": "sha512-dgXcIfMuQ0kgzLB2b9tRZs7TTFFaGM2AbtA4fJgUUYukzGH4jwsS7hzQHEGs67jdehpm22vkgKwvbU+aEflgwg==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.0.tgz", + "integrity": "sha512-74bEXKX2h+8rrfQUfsBfuZZHzsEs6Eql4pqy/T4Nn6Y9wNPggQOqD6z6pn5Bl8ZfysKouFZT/UXEH94ummEeQw==", "bin": { "parser": "bin/babel-parser.js" }, @@ -487,12 +487,12 @@ } }, "node_modules/@babel/plugin-proposal-async-generator-functions": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.18.10.tgz", - "integrity": "sha512-1mFuY2TOsR1hxbjCo4QL+qlIjV07p4H4EUYw2J/WCqsvFV6V9X9z9YhXbWndc/4fw+hYGlDT7egYxliMp5O6Ew==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.0.tgz", + "integrity": "sha512-nhEByMUTx3uZueJ/QkJuSlCfN4FGg+xy+vRsfGQGzSauq5ks2Deid2+05Q3KhfaUjvec1IGhw/Zm3cFm8JigTQ==", "dependencies": { "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-plugin-utils": "^7.19.0", "@babel/helper-remap-async-to-generator": "^7.18.9", "@babel/plugin-syntax-async-generators": "^7.8.4" }, @@ -956,15 +956,16 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.18.9.tgz", - "integrity": "sha512-EkRQxsxoytpTlKJmSPYrsOMjCILacAjtSVkd4gChEe2kXjFCun3yohhW5I7plXJhCemM0gKsaGMcO8tinvCA5g==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz", + "integrity": "sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A==", "dependencies": { "@babel/helper-annotate-as-pure": "^7.18.6", + "@babel/helper-compilation-targets": "^7.19.0", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.18.9", + "@babel/helper-function-name": "^7.19.0", "@babel/helper-optimise-call-expression": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-plugin-utils": "^7.19.0", "@babel/helper-replace-supers": "^7.18.9", "@babel/helper-split-export-declaration": "^7.18.6", "globals": "^11.1.0" @@ -1140,13 +1141,13 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.9.tgz", - "integrity": "sha512-zY/VSIbbqtoRoJKo2cDTewL364jSlZGvn0LKOf9ntbfxOvjfmyrdtEEOAdswOswhZEb8UH3jDkCKHd1sPgsS0A==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.0.tgz", + "integrity": "sha512-x9aiR0WXAWmOWsqcsnrzGR+ieaTMVyGyffPVA7F8cXAGt/UxefYv6uSHZLkAFChN5M5Iy1+wjE+xJuPt22H39A==", "dependencies": { "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-module-transforms": "^7.18.9", - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-module-transforms": "^7.19.0", + "@babel/helper-plugin-utils": "^7.19.0", "@babel/helper-validator-identifier": "^7.18.6", "babel-plugin-dynamic-import-node": "^2.3.3" }, @@ -1173,12 +1174,12 @@ } }, "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.18.6.tgz", - "integrity": "sha512-UmEOGF8XgaIqD74bC8g7iV3RYj8lMf0Bw7NJzvnS9qQhM4mg+1WHKotUIdjxgD2RGrgFLZZPCFPFj3P/kVDYhg==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.0.tgz", + "integrity": "sha512-HDSuqOQzkU//kfGdiHBt71/hkDTApw4U/cMVgKgX7PqfB3LOaK+2GtCEsBu1dL9CkswDm0Gwehht1dCr421ULQ==", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-create-regexp-features-plugin": "^7.19.0", + "@babel/helper-plugin-utils": "^7.19.0" }, "engines": { "node": ">=6.9.0" @@ -1288,11 +1289,11 @@ } }, "node_modules/@babel/plugin-transform-spread": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.18.9.tgz", - "integrity": "sha512-39Q814wyoOPtIB/qGopNIL9xDChOE1pNU0ZY5dO0owhiVt/5kFm4li+/bBtwc7QotG0u5EPzqhZdjMtmqBqyQA==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz", + "integrity": "sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w==", "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-plugin-utils": "^7.19.0", "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9" }, "engines": { @@ -1374,17 +1375,17 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz", - "integrity": "sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.19.0.tgz", + "integrity": "sha512-1YUju1TAFuzjIQqNM9WsF4U6VbD/8t3wEAlw3LFYuuEr+ywqLRcSXxFKz4DCEj+sN94l/XTDiUXYRrsvMpz9WQ==", "dependencies": { - "@babel/compat-data": "^7.18.8", - "@babel/helper-compilation-targets": "^7.18.9", - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/compat-data": "^7.19.0", + "@babel/helper-compilation-targets": "^7.19.0", + "@babel/helper-plugin-utils": "^7.19.0", "@babel/helper-validator-option": "^7.18.6", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9", - "@babel/plugin-proposal-async-generator-functions": "^7.18.10", + "@babel/plugin-proposal-async-generator-functions": "^7.19.0", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-class-static-block": "^7.18.6", "@babel/plugin-proposal-dynamic-import": "^7.18.6", @@ -1418,9 +1419,9 @@ "@babel/plugin-transform-async-to-generator": "^7.18.6", "@babel/plugin-transform-block-scoped-functions": "^7.18.6", "@babel/plugin-transform-block-scoping": "^7.18.9", - "@babel/plugin-transform-classes": "^7.18.9", + "@babel/plugin-transform-classes": "^7.19.0", "@babel/plugin-transform-computed-properties": "^7.18.9", - "@babel/plugin-transform-destructuring": "^7.18.9", + "@babel/plugin-transform-destructuring": "^7.18.13", "@babel/plugin-transform-dotall-regex": "^7.18.6", "@babel/plugin-transform-duplicate-keys": "^7.18.9", "@babel/plugin-transform-exponentiation-operator": "^7.18.6", @@ -1430,9 +1431,9 @@ "@babel/plugin-transform-member-expression-literals": "^7.18.6", "@babel/plugin-transform-modules-amd": "^7.18.6", "@babel/plugin-transform-modules-commonjs": "^7.18.6", - "@babel/plugin-transform-modules-systemjs": "^7.18.9", + "@babel/plugin-transform-modules-systemjs": "^7.19.0", "@babel/plugin-transform-modules-umd": "^7.18.6", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.18.6", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.19.0", "@babel/plugin-transform-new-target": "^7.18.6", "@babel/plugin-transform-object-super": "^7.18.6", "@babel/plugin-transform-parameters": "^7.18.8", @@ -1440,14 +1441,14 @@ "@babel/plugin-transform-regenerator": "^7.18.6", "@babel/plugin-transform-reserved-words": "^7.18.6", "@babel/plugin-transform-shorthand-properties": "^7.18.6", - "@babel/plugin-transform-spread": "^7.18.9", + "@babel/plugin-transform-spread": "^7.19.0", "@babel/plugin-transform-sticky-regex": "^7.18.6", "@babel/plugin-transform-template-literals": "^7.18.9", "@babel/plugin-transform-typeof-symbol": "^7.18.9", "@babel/plugin-transform-unicode-escapes": "^7.18.10", "@babel/plugin-transform-unicode-regex": "^7.18.6", "@babel/preset-modules": "^0.1.5", - "@babel/types": "^7.18.10", + "@babel/types": "^7.19.0", "babel-plugin-polyfill-corejs2": "^0.3.2", "babel-plugin-polyfill-corejs3": "^0.5.3", "babel-plugin-polyfill-regenerator": "^0.4.0", @@ -1477,9 +1478,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz", - "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz", + "integrity": "sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA==", "dependencies": { "regenerator-runtime": "^0.13.4" }, @@ -1501,18 +1502,18 @@ } }, "node_modules/@babel/traverse": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz", - "integrity": "sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.0.tgz", + "integrity": "sha512-4pKpFRDh+utd2mbRC8JLnlsMUii3PMHjpL6a0SZ4NMZy7YFP9aXORxEhdMVOc9CpWtDF09IkciQLEhK7Ml7gRA==", "dependencies": { "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.18.13", + "@babel/generator": "^7.19.0", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.18.9", + "@babel/helper-function-name": "^7.19.0", "@babel/helper-hoist-variables": "^7.18.6", "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.18.13", - "@babel/types": "^7.18.13", + "@babel/parser": "^7.19.0", + "@babel/types": "^7.19.0", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -1521,9 +1522,9 @@ } }, "node_modules/@babel/types": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz", - "integrity": "sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz", + "integrity": "sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA==", "dependencies": { "@babel/helper-string-parser": "^7.18.10", "@babel/helper-validator-identifier": "^7.18.6", @@ -1709,11 +1710,6 @@ "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==" }, - "node_modules/@types/component-emitter": { - "version": "1.2.11", - "resolved": "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.11.tgz", - "integrity": "sha512-SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV2oux4jDZQ==" - }, "node_modules/@types/cookie": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.4.1.tgz", @@ -1766,9 +1762,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.7.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.14.tgz", - "integrity": "sha512-6bbDaETVi8oyIARulOE9qF1/Qdi/23z6emrUh0fNJRUmjznqrixD4MpGDdgOFk5Xb0m2H6Xu42JGdvAxaJR/wA==" + "version": "18.7.15", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.15.tgz", + "integrity": "sha512-XnjpaI8Bgc3eBag2Aw4t2Uj/49lLBSStHWfqKvIuXD7FIrZyMLWp8KuAFHAqxMZYTF9l08N1ctUn9YNybZJVmQ==" }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -2513,9 +2509,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001384", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001384.tgz", - "integrity": "sha512-BBWt57kqWbc0GYZXb47wTXpmAgqr5LSibPzNjk/AWMdmJMQhLqOl3c/Kd4OAU/tu4NLfYkMx8Tlq3RVBkOBolQ==", + "version": "1.0.30001390", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001390.tgz", + "integrity": "sha512-sS4CaUM+/+vqQUlCvCJ2WtDlV81aWtHhqeEVkLokVJJa3ViN4zDxAGfq9R8i1m90uGHxo99cy10Od+lvn3hf0g==", "funding": [ { "type": "opencollective", @@ -2615,11 +2611,6 @@ "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==" }, - "node_modules/component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" - }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -2815,9 +2806,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.234", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.234.tgz", - "integrity": "sha512-VqlJ4Ihd9F7eQIfwEtf7C0eZZDl6bQtpez8vx8VHN9iCZEzePZjr7n9OGFHSav4WN9zfLa2CFLowj0siBoc0hQ==" + "version": "1.4.242", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.242.tgz", + "integrity": "sha512-nPdgMWtjjWGCtreW/2adkrB2jyHjClo9PtVhR6rW+oxa4E4Wom642Tn+5LslHP3XPL5MCpkn5/UEY60EXylNeQ==" }, "node_modules/emoji-regex": { "version": "8.0.0", @@ -2917,9 +2908,9 @@ } }, "node_modules/es-abstract": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.1.tgz", - "integrity": "sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.2.tgz", + "integrity": "sha512-XxXQuVNrySBNlEkTYJoDNFe5+s2yIOpzq80sUHEdPdQr0S5nTLz4ZPPPswNIpKseDDUS5yghX1gfLIHQZ1iNuQ==", "dev": true, "peer": true, "dependencies": { @@ -2927,7 +2918,7 @@ "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.1.1", + "get-intrinsic": "^1.1.2", "get-symbol-description": "^1.0.0", "has": "^1.0.3", "has-property-descriptors": "^1.0.0", @@ -2939,9 +2930,9 @@ "is-shared-array-buffer": "^1.0.2", "is-string": "^1.0.7", "is-weakref": "^1.0.2", - "object-inspect": "^1.12.0", + "object-inspect": "^1.12.2", "object-keys": "^1.1.1", - "object.assign": "^4.1.2", + "object.assign": "^4.1.4", "regexp.prototype.flags": "^1.4.3", "string.prototype.trimend": "^1.0.5", "string.prototype.trimstart": "^1.0.5", @@ -5271,9 +5262,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/sass": { - "version": "1.54.6", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.6.tgz", - "integrity": "sha512-DUqJjR2WxXBcZjRSZX5gCVyU+9fuC2qDfFzoKX9rV4rCOcec5mPtEafTcfsyL3YJuLONjWylBne+uXVh5rrmFw==", + "version": "1.54.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.8.tgz", + "integrity": "sha512-ib4JhLRRgbg6QVy6bsv5uJxnJMTS2soVcCp9Y88Extyy13A8vV0G1fAwujOzmNkFQbR3LvedudAMbtuNRPbQww==", "dependencies": { "chokidar": ">=3.0.0 <4.0.0", "immutable": "^4.0.0", @@ -5461,16 +5452,16 @@ "dev": true }, "node_modules/socket.io": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.5.1.tgz", - "integrity": "sha512-0y9pnIso5a9i+lJmsCdtmTTgJFFSvNQKDnPQRz28mGNnxbmqYg2QPtJTLFxhymFZhAIn50eHAKzJeiNaKr+yUQ==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.5.2.tgz", + "integrity": "sha512-6fCnk4ARMPZN448+SQcnn1u8OHUC72puJcNtSgg2xS34Cu7br1gQ09YKkO1PFfDn/wyUE9ZgMAwosJed003+NQ==", "dependencies": { "accepts": "~1.3.4", "base64id": "~2.0.0", "debug": "~4.3.2", "engine.io": "~6.2.0", "socket.io-adapter": "~2.4.0", - "socket.io-parser": "~4.0.4" + "socket.io-parser": "~4.2.0" }, "engines": { "node": ">=10.0.0" @@ -5482,9 +5473,9 @@ "integrity": "sha512-W4N+o69rkMEGVuk2D/cvca3uYsvGlMwsySWV447y99gUPghxq42BxqLNMndb+a1mm/5/7NeXVQS7RLa2XyXvYg==" }, "node_modules/socket.io-client": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.5.1.tgz", - "integrity": "sha512-e6nLVgiRYatS+AHXnOnGi4ocOpubvOUCGhyWw8v+/FxW8saHkinG6Dfhi9TU0Kt/8mwJIAASxvw6eujQmjdZVA==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.5.2.tgz", + "integrity": "sha512-naqYfFu7CLDiQ1B7AlLhRXKX3gdeaIMfgigwavDzgJoIUYulc1qHH5+2XflTsXTPY7BlPH5rppJyUjhjrKQKLg==", "dependencies": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.2", @@ -5495,7 +5486,7 @@ "node": ">=10.0.0" } }, - "node_modules/socket.io-client/node_modules/socket.io-parser": { + "node_modules/socket.io-parser": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.1.tgz", "integrity": "sha512-V4GrkLy+HeF1F/en3SpUaM+7XxYXpuMUWLGde1kSSh5nQMN4hLrbPIkD+otwh6q9R6NOQBN4AMaOZ2zVjui82g==", @@ -5507,19 +5498,6 @@ "node": ">=10.0.0" } }, - "node_modules/socket.io-parser": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.5.tgz", - "integrity": "sha512-sNjbT9dX63nqUFIOv95tTVm6elyIU4RvB1m8dOeZt+IgWwcWklFDOdmGcfo3zSiRsnR/3pJkjY5lfoGqEe4Eig==", - "dependencies": { - "@types/component-emitter": "^1.2.10", - "component-emitter": "~1.3.0", - "debug": "~4.3.1" - }, - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -5687,9 +5665,9 @@ } }, "node_modules/sweetalert2": { - "version": "11.4.29", - "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.4.29.tgz", - "integrity": "sha512-UMCZgyEk0m+KizxspB8Bsm5ZQRdguba2t2+Rf0r8XBmq5YqhXq7ItV2C15A3VLfRlxHnEJBTYg6hkSk/x+5Ofw==", + "version": "11.4.30", + "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.4.30.tgz", + "integrity": "sha512-rrFEglT7oqbZCSVSuK2q9+JDwYXbwVeRavJrbdECASFyq0o4kp5ImduVQAzwq42HfdSq+lvQJu0YpSwT9sLF/A==", "funding": { "type": "individual", "url": "https://sweetalert2.github.io/#donations" @@ -6076,9 +6054,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz", - "integrity": "sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.7.tgz", + "integrity": "sha512-iN/XYesmZ2RmmWAiI4Z5rq0YqSiv0brj9Ce9CfhNE4xIW2h+MFxcgkxIzZ+ShkFPUkjU3gQ+3oypadD3RAMtrg==", "funding": [ { "type": "opencollective", @@ -6407,25 +6385,25 @@ } }, "@babel/compat-data": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.13.tgz", - "integrity": "sha512-5yUzC5LqyTFp2HLmDoxGQelcdYgSpP9xsnMWBphAscOdFrHSAVbLNzWiy32sVNDqJRDiJK6klfDnAgu6PAGSHw==" + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.0.tgz", + "integrity": "sha512-y5rqgTTPTmaF5e2nVhOxw+Ur9HDJLsWb6U/KpgUzRZEdPfE6VOubXBKLdbcUTijzRptednSBDQbYZBOSqJxpJw==" }, "@babel/core": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.13.tgz", - "integrity": "sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.19.0.tgz", + "integrity": "sha512-reM4+U7B9ss148rh2n1Qs9ASS+w94irYXga7c2jaQv9RVzpS7Mv1a9rnYYwuDa45G+DkORt9g6An2k/V4d9LbQ==", "requires": { "@ampproject/remapping": "^2.1.0", "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.18.13", - "@babel/helper-compilation-targets": "^7.18.9", - "@babel/helper-module-transforms": "^7.18.9", - "@babel/helpers": "^7.18.9", - "@babel/parser": "^7.18.13", + "@babel/generator": "^7.19.0", + "@babel/helper-compilation-targets": "^7.19.0", + "@babel/helper-module-transforms": "^7.19.0", + "@babel/helpers": "^7.19.0", + "@babel/parser": "^7.19.0", "@babel/template": "^7.18.10", - "@babel/traverse": "^7.18.13", - "@babel/types": "^7.18.13", + "@babel/traverse": "^7.19.0", + "@babel/types": "^7.19.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -6434,11 +6412,11 @@ } }, "@babel/generator": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.13.tgz", - "integrity": "sha512-CkPg8ySSPuHTYPJYo7IRALdqyjM9HCbt/3uOBEFbzyGVP6Mn8bwFPB0jX6982JVNBlYzM1nnPkfjuXSOPtQeEQ==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.19.0.tgz", + "integrity": "sha512-S1ahxf1gZ2dpoiFgA+ohK9DIpz50bJ0CWs7Zlzb54Z4sG8qmdIrGrVqmy1sAtTVRb+9CU6U8VqT9L0Zj7hxHVg==", "requires": { - "@babel/types": "^7.18.13", + "@babel/types": "^7.19.0", "@jridgewell/gen-mapping": "^0.3.2", "jsesc": "^2.5.1" }, @@ -6473,24 +6451,24 @@ } }, "@babel/helper-compilation-targets": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.9.tgz", - "integrity": "sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.0.tgz", + "integrity": "sha512-Ai5bNWXIvwDvWM7njqsG3feMlL9hCVQsPYXodsZyLwshYkZVJt59Gftau4VrE8S9IT9asd2uSP1hG6wCNw+sXA==", "requires": { - "@babel/compat-data": "^7.18.8", + "@babel/compat-data": "^7.19.0", "@babel/helper-validator-option": "^7.18.6", "browserslist": "^4.20.2", "semver": "^6.3.0" } }, "@babel/helper-create-class-features-plugin": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.13.tgz", - "integrity": "sha512-hDvXp+QYxSRL+23mpAlSGxHMDyIGChm0/AwTfTAAK5Ufe40nCsyNdaYCGuK91phn/fVu9kqayImRDkvNAgdrsA==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz", + "integrity": "sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw==", "requires": { "@babel/helper-annotate-as-pure": "^7.18.6", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.18.9", + "@babel/helper-function-name": "^7.19.0", "@babel/helper-member-expression-to-functions": "^7.18.9", "@babel/helper-optimise-call-expression": "^7.18.6", "@babel/helper-replace-supers": "^7.18.9", @@ -6498,9 +6476,9 @@ } }, "@babel/helper-create-regexp-features-plugin": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.18.6.tgz", - "integrity": "sha512-7LcpH1wnQLGrI+4v+nPp+zUvIkF9x0ddv1Hkdue10tg3gmRnLy97DXh4STiOf1qeIInyD69Qv5kKSZzKD8B/7A==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz", + "integrity": "sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==", "requires": { "@babel/helper-annotate-as-pure": "^7.18.6", "regexpu-core": "^5.1.0" @@ -6533,12 +6511,12 @@ } }, "@babel/helper-function-name": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.18.9.tgz", - "integrity": "sha512-fJgWlZt7nxGksJS9a0XdSaI4XvpExnNIgRP+rVefWh5U7BL8pPuir6SJUmFKRfjWQ51OtWSzwOxhaH/EBWWc0A==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz", + "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==", "requires": { - "@babel/template": "^7.18.6", - "@babel/types": "^7.18.9" + "@babel/template": "^7.18.10", + "@babel/types": "^7.19.0" } }, "@babel/helper-hoist-variables": { @@ -6566,18 +6544,18 @@ } }, "@babel/helper-module-transforms": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.9.tgz", - "integrity": "sha512-KYNqY0ICwfv19b31XzvmI/mfcylOzbLtowkw+mfvGPAQ3kfCnMLYbED3YecL5tPd8nAYFQFAd6JHp2LxZk/J1g==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz", + "integrity": "sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ==", "requires": { "@babel/helper-environment-visitor": "^7.18.9", "@babel/helper-module-imports": "^7.18.6", "@babel/helper-simple-access": "^7.18.6", "@babel/helper-split-export-declaration": "^7.18.6", "@babel/helper-validator-identifier": "^7.18.6", - "@babel/template": "^7.18.6", - "@babel/traverse": "^7.18.9", - "@babel/types": "^7.18.9" + "@babel/template": "^7.18.10", + "@babel/traverse": "^7.19.0", + "@babel/types": "^7.19.0" } }, "@babel/helper-optimise-call-expression": { @@ -6589,9 +6567,9 @@ } }, "@babel/helper-plugin-utils": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz", - "integrity": "sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w==" + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz", + "integrity": "sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw==" }, "@babel/helper-remap-async-to-generator": { "version": "7.18.9", @@ -6656,24 +6634,24 @@ "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==" }, "@babel/helper-wrap-function": { - "version": "7.18.11", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.18.11.tgz", - "integrity": "sha512-oBUlbv+rjZLh2Ks9SKi4aL7eKaAXBWleHzU89mP0G6BMUlRxSckk9tSIkgDGydhgFxHuGSlBQZfnaD47oBEB7w==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz", + "integrity": "sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg==", "requires": { - "@babel/helper-function-name": "^7.18.9", + "@babel/helper-function-name": "^7.19.0", "@babel/template": "^7.18.10", - "@babel/traverse": "^7.18.11", - "@babel/types": "^7.18.10" + "@babel/traverse": "^7.19.0", + "@babel/types": "^7.19.0" } }, "@babel/helpers": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.9.tgz", - "integrity": "sha512-Jf5a+rbrLoR4eNdUmnFu8cN5eNJT6qdTdOg5IHIzq87WwyRw9PwguLFOWYgktN/60IP4fgDUawJvs7PjQIzELQ==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.0.tgz", + "integrity": "sha512-DRBCKGwIEdqY3+rPJgG/dKfQy9+08rHIAJx8q2p+HSWP87s2HCrQmaAMMyMll2kIXKCW0cO1RdQskx15Xakftg==", "requires": { - "@babel/template": "^7.18.6", - "@babel/traverse": "^7.18.9", - "@babel/types": "^7.18.9" + "@babel/template": "^7.18.10", + "@babel/traverse": "^7.19.0", + "@babel/types": "^7.19.0" } }, "@babel/highlight": { @@ -6687,9 +6665,9 @@ } }, "@babel/parser": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.13.tgz", - "integrity": "sha512-dgXcIfMuQ0kgzLB2b9tRZs7TTFFaGM2AbtA4fJgUUYukzGH4jwsS7hzQHEGs67jdehpm22vkgKwvbU+aEflgwg==" + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.0.tgz", + "integrity": "sha512-74bEXKX2h+8rrfQUfsBfuZZHzsEs6Eql4pqy/T4Nn6Y9wNPggQOqD6z6pn5Bl8ZfysKouFZT/UXEH94ummEeQw==" }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { "version": "7.18.6", @@ -6710,12 +6688,12 @@ } }, "@babel/plugin-proposal-async-generator-functions": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.18.10.tgz", - "integrity": "sha512-1mFuY2TOsR1hxbjCo4QL+qlIjV07p4H4EUYw2J/WCqsvFV6V9X9z9YhXbWndc/4fw+hYGlDT7egYxliMp5O6Ew==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.0.tgz", + "integrity": "sha512-nhEByMUTx3uZueJ/QkJuSlCfN4FGg+xy+vRsfGQGzSauq5ks2Deid2+05Q3KhfaUjvec1IGhw/Zm3cFm8JigTQ==", "requires": { "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-plugin-utils": "^7.19.0", "@babel/helper-remap-async-to-generator": "^7.18.9", "@babel/plugin-syntax-async-generators": "^7.8.4" } @@ -7008,15 +6986,16 @@ } }, "@babel/plugin-transform-classes": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.18.9.tgz", - "integrity": "sha512-EkRQxsxoytpTlKJmSPYrsOMjCILacAjtSVkd4gChEe2kXjFCun3yohhW5I7plXJhCemM0gKsaGMcO8tinvCA5g==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz", + "integrity": "sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A==", "requires": { "@babel/helper-annotate-as-pure": "^7.18.6", + "@babel/helper-compilation-targets": "^7.19.0", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.18.9", + "@babel/helper-function-name": "^7.19.0", "@babel/helper-optimise-call-expression": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-plugin-utils": "^7.19.0", "@babel/helper-replace-supers": "^7.18.9", "@babel/helper-split-export-declaration": "^7.18.6", "globals": "^11.1.0" @@ -7120,13 +7099,13 @@ } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.9.tgz", - "integrity": "sha512-zY/VSIbbqtoRoJKo2cDTewL364jSlZGvn0LKOf9ntbfxOvjfmyrdtEEOAdswOswhZEb8UH3jDkCKHd1sPgsS0A==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.0.tgz", + "integrity": "sha512-x9aiR0WXAWmOWsqcsnrzGR+ieaTMVyGyffPVA7F8cXAGt/UxefYv6uSHZLkAFChN5M5Iy1+wjE+xJuPt22H39A==", "requires": { "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-module-transforms": "^7.18.9", - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-module-transforms": "^7.19.0", + "@babel/helper-plugin-utils": "^7.19.0", "@babel/helper-validator-identifier": "^7.18.6", "babel-plugin-dynamic-import-node": "^2.3.3" } @@ -7141,12 +7120,12 @@ } }, "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.18.6.tgz", - "integrity": "sha512-UmEOGF8XgaIqD74bC8g7iV3RYj8lMf0Bw7NJzvnS9qQhM4mg+1WHKotUIdjxgD2RGrgFLZZPCFPFj3P/kVDYhg==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.0.tgz", + "integrity": "sha512-HDSuqOQzkU//kfGdiHBt71/hkDTApw4U/cMVgKgX7PqfB3LOaK+2GtCEsBu1dL9CkswDm0Gwehht1dCr421ULQ==", "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-create-regexp-features-plugin": "^7.19.0", + "@babel/helper-plugin-utils": "^7.19.0" } }, "@babel/plugin-transform-new-target": { @@ -7208,11 +7187,11 @@ } }, "@babel/plugin-transform-spread": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.18.9.tgz", - "integrity": "sha512-39Q814wyoOPtIB/qGopNIL9xDChOE1pNU0ZY5dO0owhiVt/5kFm4li+/bBtwc7QotG0u5EPzqhZdjMtmqBqyQA==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz", + "integrity": "sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w==", "requires": { - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-plugin-utils": "^7.19.0", "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9" } }, @@ -7258,17 +7237,17 @@ } }, "@babel/preset-env": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz", - "integrity": "sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.19.0.tgz", + "integrity": "sha512-1YUju1TAFuzjIQqNM9WsF4U6VbD/8t3wEAlw3LFYuuEr+ywqLRcSXxFKz4DCEj+sN94l/XTDiUXYRrsvMpz9WQ==", "requires": { - "@babel/compat-data": "^7.18.8", - "@babel/helper-compilation-targets": "^7.18.9", - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/compat-data": "^7.19.0", + "@babel/helper-compilation-targets": "^7.19.0", + "@babel/helper-plugin-utils": "^7.19.0", "@babel/helper-validator-option": "^7.18.6", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9", - "@babel/plugin-proposal-async-generator-functions": "^7.18.10", + "@babel/plugin-proposal-async-generator-functions": "^7.19.0", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-class-static-block": "^7.18.6", "@babel/plugin-proposal-dynamic-import": "^7.18.6", @@ -7302,9 +7281,9 @@ "@babel/plugin-transform-async-to-generator": "^7.18.6", "@babel/plugin-transform-block-scoped-functions": "^7.18.6", "@babel/plugin-transform-block-scoping": "^7.18.9", - "@babel/plugin-transform-classes": "^7.18.9", + "@babel/plugin-transform-classes": "^7.19.0", "@babel/plugin-transform-computed-properties": "^7.18.9", - "@babel/plugin-transform-destructuring": "^7.18.9", + "@babel/plugin-transform-destructuring": "^7.18.13", "@babel/plugin-transform-dotall-regex": "^7.18.6", "@babel/plugin-transform-duplicate-keys": "^7.18.9", "@babel/plugin-transform-exponentiation-operator": "^7.18.6", @@ -7314,9 +7293,9 @@ "@babel/plugin-transform-member-expression-literals": "^7.18.6", "@babel/plugin-transform-modules-amd": "^7.18.6", "@babel/plugin-transform-modules-commonjs": "^7.18.6", - "@babel/plugin-transform-modules-systemjs": "^7.18.9", + "@babel/plugin-transform-modules-systemjs": "^7.19.0", "@babel/plugin-transform-modules-umd": "^7.18.6", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.18.6", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.19.0", "@babel/plugin-transform-new-target": "^7.18.6", "@babel/plugin-transform-object-super": "^7.18.6", "@babel/plugin-transform-parameters": "^7.18.8", @@ -7324,14 +7303,14 @@ "@babel/plugin-transform-regenerator": "^7.18.6", "@babel/plugin-transform-reserved-words": "^7.18.6", "@babel/plugin-transform-shorthand-properties": "^7.18.6", - "@babel/plugin-transform-spread": "^7.18.9", + "@babel/plugin-transform-spread": "^7.19.0", "@babel/plugin-transform-sticky-regex": "^7.18.6", "@babel/plugin-transform-template-literals": "^7.18.9", "@babel/plugin-transform-typeof-symbol": "^7.18.9", "@babel/plugin-transform-unicode-escapes": "^7.18.10", "@babel/plugin-transform-unicode-regex": "^7.18.6", "@babel/preset-modules": "^0.1.5", - "@babel/types": "^7.18.10", + "@babel/types": "^7.19.0", "babel-plugin-polyfill-corejs2": "^0.3.2", "babel-plugin-polyfill-corejs3": "^0.5.3", "babel-plugin-polyfill-regenerator": "^0.4.0", @@ -7352,9 +7331,9 @@ } }, "@babel/runtime": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz", - "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz", + "integrity": "sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA==", "requires": { "regenerator-runtime": "^0.13.4" } @@ -7370,26 +7349,26 @@ } }, "@babel/traverse": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.13.tgz", - "integrity": "sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.0.tgz", + "integrity": "sha512-4pKpFRDh+utd2mbRC8JLnlsMUii3PMHjpL6a0SZ4NMZy7YFP9aXORxEhdMVOc9CpWtDF09IkciQLEhK7Ml7gRA==", "requires": { "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.18.13", + "@babel/generator": "^7.19.0", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.18.9", + "@babel/helper-function-name": "^7.19.0", "@babel/helper-hoist-variables": "^7.18.6", "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.18.13", - "@babel/types": "^7.18.13", + "@babel/parser": "^7.19.0", + "@babel/types": "^7.19.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.18.13", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.13.tgz", - "integrity": "sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz", + "integrity": "sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA==", "requires": { "@babel/helper-string-parser": "^7.18.10", "@babel/helper-validator-identifier": "^7.18.6", @@ -7537,11 +7516,6 @@ "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==" }, - "@types/component-emitter": { - "version": "1.2.11", - "resolved": "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.11.tgz", - "integrity": "sha512-SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV2oux4jDZQ==" - }, "@types/cookie": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.4.1.tgz", @@ -7594,9 +7568,9 @@ "dev": true }, "@types/node": { - "version": "18.7.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.14.tgz", - "integrity": "sha512-6bbDaETVi8oyIARulOE9qF1/Qdi/23z6emrUh0fNJRUmjznqrixD4MpGDdgOFk5Xb0m2H6Xu42JGdvAxaJR/wA==" + "version": "18.7.15", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.15.tgz", + "integrity": "sha512-XnjpaI8Bgc3eBag2Aw4t2Uj/49lLBSStHWfqKvIuXD7FIrZyMLWp8KuAFHAqxMZYTF9l08N1ctUn9YNybZJVmQ==" }, "@types/parse-json": { "version": "4.0.0", @@ -8124,9 +8098,9 @@ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" }, "caniuse-lite": { - "version": "1.0.30001384", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001384.tgz", - "integrity": "sha512-BBWt57kqWbc0GYZXb47wTXpmAgqr5LSibPzNjk/AWMdmJMQhLqOl3c/Kd4OAU/tu4NLfYkMx8Tlq3RVBkOBolQ==" + "version": "1.0.30001390", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001390.tgz", + "integrity": "sha512-sS4CaUM+/+vqQUlCvCJ2WtDlV81aWtHhqeEVkLokVJJa3ViN4zDxAGfq9R8i1m90uGHxo99cy10Od+lvn3hf0g==" }, "chalk": { "version": "2.4.2", @@ -8196,11 +8170,6 @@ "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==" }, - "component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -8339,9 +8308,9 @@ } }, "electron-to-chromium": { - "version": "1.4.234", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.234.tgz", - "integrity": "sha512-VqlJ4Ihd9F7eQIfwEtf7C0eZZDl6bQtpez8vx8VHN9iCZEzePZjr7n9OGFHSav4WN9zfLa2CFLowj0siBoc0hQ==" + "version": "1.4.242", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.242.tgz", + "integrity": "sha512-nPdgMWtjjWGCtreW/2adkrB2jyHjClo9PtVhR6rW+oxa4E4Wom642Tn+5LslHP3XPL5MCpkn5/UEY60EXylNeQ==" }, "emoji-regex": { "version": "8.0.0", @@ -8420,9 +8389,9 @@ } }, "es-abstract": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.1.tgz", - "integrity": "sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.2.tgz", + "integrity": "sha512-XxXQuVNrySBNlEkTYJoDNFe5+s2yIOpzq80sUHEdPdQr0S5nTLz4ZPPPswNIpKseDDUS5yghX1gfLIHQZ1iNuQ==", "dev": true, "peer": true, "requires": { @@ -8430,7 +8399,7 @@ "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.1.1", + "get-intrinsic": "^1.1.2", "get-symbol-description": "^1.0.0", "has": "^1.0.3", "has-property-descriptors": "^1.0.0", @@ -8442,9 +8411,9 @@ "is-shared-array-buffer": "^1.0.2", "is-string": "^1.0.7", "is-weakref": "^1.0.2", - "object-inspect": "^1.12.0", + "object-inspect": "^1.12.2", "object-keys": "^1.1.1", - "object.assign": "^4.1.2", + "object.assign": "^4.1.4", "regexp.prototype.flags": "^1.4.3", "string.prototype.trimend": "^1.0.5", "string.prototype.trimstart": "^1.0.5", @@ -10083,9 +10052,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "sass": { - "version": "1.54.6", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.6.tgz", - "integrity": "sha512-DUqJjR2WxXBcZjRSZX5gCVyU+9fuC2qDfFzoKX9rV4rCOcec5mPtEafTcfsyL3YJuLONjWylBne+uXVh5rrmFw==", + "version": "1.54.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.8.tgz", + "integrity": "sha512-ib4JhLRRgbg6QVy6bsv5uJxnJMTS2soVcCp9Y88Extyy13A8vV0G1fAwujOzmNkFQbR3LvedudAMbtuNRPbQww==", "requires": { "chokidar": ">=3.0.0 <4.0.0", "immutable": "^4.0.0", @@ -10201,16 +10170,16 @@ } }, "socket.io": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.5.1.tgz", - "integrity": "sha512-0y9pnIso5a9i+lJmsCdtmTTgJFFSvNQKDnPQRz28mGNnxbmqYg2QPtJTLFxhymFZhAIn50eHAKzJeiNaKr+yUQ==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.5.2.tgz", + "integrity": "sha512-6fCnk4ARMPZN448+SQcnn1u8OHUC72puJcNtSgg2xS34Cu7br1gQ09YKkO1PFfDn/wyUE9ZgMAwosJed003+NQ==", "requires": { "accepts": "~1.3.4", "base64id": "~2.0.0", "debug": "~4.3.2", "engine.io": "~6.2.0", "socket.io-adapter": "~2.4.0", - "socket.io-parser": "~4.0.4" + "socket.io-parser": "~4.2.0" } }, "socket.io-adapter": { @@ -10219,34 +10188,22 @@ "integrity": "sha512-W4N+o69rkMEGVuk2D/cvca3uYsvGlMwsySWV447y99gUPghxq42BxqLNMndb+a1mm/5/7NeXVQS7RLa2XyXvYg==" }, "socket.io-client": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.5.1.tgz", - "integrity": "sha512-e6nLVgiRYatS+AHXnOnGi4ocOpubvOUCGhyWw8v+/FxW8saHkinG6Dfhi9TU0Kt/8mwJIAASxvw6eujQmjdZVA==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.5.2.tgz", + "integrity": "sha512-naqYfFu7CLDiQ1B7AlLhRXKX3gdeaIMfgigwavDzgJoIUYulc1qHH5+2XflTsXTPY7BlPH5rppJyUjhjrKQKLg==", "requires": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.2", "engine.io-client": "~6.2.1", "socket.io-parser": "~4.2.0" - }, - "dependencies": { - "socket.io-parser": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.1.tgz", - "integrity": "sha512-V4GrkLy+HeF1F/en3SpUaM+7XxYXpuMUWLGde1kSSh5nQMN4hLrbPIkD+otwh6q9R6NOQBN4AMaOZ2zVjui82g==", - "requires": { - "@socket.io/component-emitter": "~3.1.0", - "debug": "~4.3.1" - } - } } }, "socket.io-parser": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.0.5.tgz", - "integrity": "sha512-sNjbT9dX63nqUFIOv95tTVm6elyIU4RvB1m8dOeZt+IgWwcWklFDOdmGcfo3zSiRsnR/3pJkjY5lfoGqEe4Eig==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.1.tgz", + "integrity": "sha512-V4GrkLy+HeF1F/en3SpUaM+7XxYXpuMUWLGde1kSSh5nQMN4hLrbPIkD+otwh6q9R6NOQBN4AMaOZ2zVjui82g==", "requires": { - "@types/component-emitter": "^1.2.10", - "component-emitter": "~1.3.0", + "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.1" } }, @@ -10362,9 +10319,9 @@ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" }, "sweetalert2": { - "version": "11.4.29", - "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.4.29.tgz", - "integrity": "sha512-UMCZgyEk0m+KizxspB8Bsm5ZQRdguba2t2+Rf0r8XBmq5YqhXq7ItV2C15A3VLfRlxHnEJBTYg6hkSk/x+5Ofw==" + "version": "11.4.30", + "resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.4.30.tgz", + "integrity": "sha512-rrFEglT7oqbZCSVSuK2q9+JDwYXbwVeRavJrbdECASFyq0o4kp5ImduVQAzwq42HfdSq+lvQJu0YpSwT9sLF/A==" }, "table": { "version": "6.8.0", @@ -10627,9 +10584,9 @@ "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==" }, "update-browserslist-db": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz", - "integrity": "sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.7.tgz", + "integrity": "sha512-iN/XYesmZ2RmmWAiI4Z5rq0YqSiv0brj9Ce9CfhNE4xIW2h+MFxcgkxIzZ+ShkFPUkjU3gQ+3oypadD3RAMtrg==", "requires": { "escalade": "^3.1.1", "picocolors": "^1.0.0" diff --git a/cheatGUI/src/hacks/beta.ts b/cheatGUI/src/hacks/beta.ts index 07a43c7..94125bb 100644 --- a/cheatGUI/src/hacks/beta.ts +++ b/cheatGUI/src/hacks/beta.ts @@ -6,7 +6,7 @@ // BEGIN IMPORTS import { Swal, Toast, NumberInput, Input, Confirm } from "../utils/swal"; // Import Swal, Toast, NumberInput, Input, and Confirm from swal import { Hack, category, Toggler } from "../index"; // Import the Cheat GUI bases. -import { _, getItem, VERY_LARGE_NUMBER, prodigy, saveCharacter, player} from "../utils/util"; // Import prodigy typings, and VERY_LARGE_NUMBER +import { _, getItem, VERY_LARGE_NUMBER, prodigy, saveCharacter, player, current} from "../utils/util"; // Import prodigy typings, and VERY_LARGE_NUMBER import { ids, itemify, runeify, getPet } from "../utils/hackify"; // Import runeify and some arrays import { PopupInterval } from "../utils/popupCloser"; // END IMPORTS @@ -186,7 +186,12 @@ new Hack(category.beta, "Morph Player [BETA]", "Morph into a pet, furnishing, or - +new Toggler(category.beta, "(client side) Toggle Invisibility [BETA]", "Lets you appear invisible on your own screen.").setEnabled(async () => { + // current.user.alpha = 0; + current.user.visible = false; +}).setDisabled(async() => { + current.user.visible = true; +}); // Begin Toggle Close Popups diff --git a/cheatGUI/src/hacks/location.ts b/cheatGUI/src/hacks/location.ts index 91af45a..bb27a5c 100644 --- a/cheatGUI/src/hacks/location.ts +++ b/cheatGUI/src/hacks/location.ts @@ -1,16 +1,25 @@ // Location Hacks // BEGIN IMPORTS -import { Hack, category } from "../index"; // Import the Cheat GUI bases. +import { Hack, category, Toggler } from "../index"; // Import the Cheat GUI bases. import { NumberInput, Swal, Toast } from "../utils/swal"; // Import Swal, Toast, and NumberInput from swal import { _, locations, prodigy, player } from "../utils/util"; // Import Prodigy typings import { toHouse } from "../utils/hackify"; // Import toHouse // END IMPORTS +export var useWASD : boolean = true; +// BEGIN LOCATION HACKS -// BEGIN LOCATION HACKS +// WASD Phasing +new Toggler(category.location, "WASD Movement", "Allows you to walk through walls or on air with WASD movement in Prodigy.").setEnabled(async () => { + useWASD = true; + return Toast.fire("Enabled!", "WASD Movement is now enabled.", "success"); +}).setDisabled(async () => { + useWASD = false; + return Toast.fire("Disabled!", "WASD Movement is now disabled.", "success"); +}).status = true; diff --git a/cheatGUI/src/index.ts b/cheatGUI/src/index.ts index d4fe162..5bfddd4 100644 --- a/cheatGUI/src/index.ts +++ b/cheatGUI/src/index.ts @@ -45,7 +45,9 @@ menuleft.classList.add("menu-left"); menu.append(menuleft); let firstCategory = true; -const addArea = (title: string) : HTMLDivElement => { + +function addArea (title: string) { + const area = document.createElement("div"); if (firstCategory == false) { diff --git a/cheatGUI/src/utils/keybinds.ts b/cheatGUI/src/utils/keybinds.ts index 75c9eff..65f9235 100644 --- a/cheatGUI/src/utils/keybinds.ts +++ b/cheatGUI/src/utils/keybinds.ts @@ -3,19 +3,21 @@ import { Confirm, Toast } from "../utils/swal"; // Import Swal, Toast, Confirm, + + window.addEventListener("keydown", event => { - switch (event.which) { + switch (event.key) { - case 192: // --- 192 = ` -- Grave Accent + case "`": // Close All Popups _.instance.prodigy.open.menuCloseAll(); break; - case 220: // --- 220 = \ -- Backslash + case "\\": // Gets you kitted up in Celestial Gear const k = async () => { @@ -38,6 +40,7 @@ window.addEventListener("keydown", event => { }; k(); break; + } diff --git a/cheatGUI/src/utils/wasd.ts b/cheatGUI/src/utils/wasd.ts new file mode 100644 index 0000000..fc6af00 --- /dev/null +++ b/cheatGUI/src/utils/wasd.ts @@ -0,0 +1,43 @@ +import { useWASD } from "../hacks/location"; +import { player } from "./util"; + + + +async function ChangeX (x : number) { + for (let i = 0; i < 100; i++) { + await new Promise(r => setTimeout(r, 2)); + player._playerContainer.x -= x/100;; + } +} + +async function ChangeY (y : number) { + for (let i = 0; i < 100; i++) { + await new Promise(r => setTimeout(r, 2)); + player._playerContainer.y -= y/100;; + } +} + + + + + +window.addEventListener("keydown", event => { + + if (useWASD) { + switch (event.key) { + case "w": + ChangeY(40); + break; + case "s": + ChangeY(-40); + break; + case "a": + ChangeX(40); + break; + case "d": + ChangeX(-40); + break; + } + } + +}); \ No newline at end of file diff --git a/meta/YOUTUBE_ATTRIBUTION.md b/meta/YOUTUBE_ATTRIBUTION.md index 5d464ff..1aeef7b 100644 --- a/meta/YOUTUBE_ATTRIBUTION.md +++ b/meta/YOUTUBE_ATTRIBUTION.md @@ -5,7 +5,7 @@ If you're posting a video with our hacks, please make sure to add this to your v ```tx Hacks are by ProdigyPNP - https://github.com/ProdigyPNP ProdigyPNP Discord - https://dsc.gg/ProdigyPNP -ProdigyPNP Website - https://ProdigyPNP.github.io +ProdigyPNP Website - https://ProdigyPNP.com ``` *If you'd like an exception, please contact us on [our Discord server](https://dsc.gg/ProdigyPNP). We're friendly, we promise!* diff --git a/meta/hacks/battle/Disable math.md b/meta/hacks/battle/Disable math.md index e69de29..0038d13 100644 --- a/meta/hacks/battle/Disable math.md +++ b/meta/hacks/battle/Disable math.md @@ -0,0 +1,10 @@ +--- +name: "Disable Math" +--- + +This hack disables math in PvP, PvE, some boss battles, mostly everywhere. However, it doesn't work in some new places like the Floatling Town. + + +```typescript +_.constants.constants["GameConstants.Debug.EDUCATION_ENABLED"] = true; +``` \ No newline at end of file diff --git a/meta/hacks/battle/Escape Battle.md b/meta/hacks/battle/Escape Battle.md index e69de29..d880e23 100644 --- a/meta/hacks/battle/Escape Battle.md +++ b/meta/hacks/battle/Escape Battle.md @@ -0,0 +1,9 @@ +--- +name: "Escape Battle" +--- + +Instantly teleports you out of a battle that you're in. + +```typescript +Object.fromEntries(_.instance.game.state.states)[currentState].runAwayCallback(); +``` \ No newline at end of file diff --git a/meta/hacks/battle/Fill Battle Energy.md b/meta/hacks/battle/Fill Battle Energy.md index e69de29..42fb859 100644 --- a/meta/hacks/battle/Fill Battle Energy.md +++ b/meta/hacks/battle/Fill Battle Energy.md @@ -0,0 +1,10 @@ +--- +name: "Fill Battle Energy" +--- + +Fills your battle energy (used for All Out Attack, Relic Spells, Wand Spells, etc.), if you're in PvP, PvE, most battles. + + +```typescript +_.instance.state.getCurrentState().teams[0].setEnergy(99); +``` \ No newline at end of file