javascript:(function(){"use strict";if(!("https://pupilpath.skedula.com"===window.location.origin))alert("This Only Works On PupilPath");else if(null!==document.getElementById("progress-card")){setTimeout(console.warn.bind(console,"%c \n %c You Are Using PupilPath Plus %c \n %c Follow %c@DeathHackz%con GitHub ","","background: #383b3e; color: #bada55; padding: 3.8px; padding-right: 2px; border-top-left-radius: 2px; border-top-right-radius: 2px;","","background: #383b3e; color: #bada55; padding: 4px; padding-left: 0px; border-bottom-left-radius: 2px;","background: #383b3e; color: #C8FF19; padding-top: 4px; padding-bottom: 4px;","background: #383b3e; color: #bada55; padding: 4px; padding-right: 0px; padding-left: 8px; border-bottom-right-radius: 2px;","\nDeathHackz: https://github.com/DeathHackz","\nHomepage: https://deathhackz.github.io/PupilPathPlus","\nGitHub: https://github.com/DeathHackz/PupilPathPlus","\nSupport: https://github.com/DeathHackz/PupilPathPlus/issues\n ")),document.getElementsByClassName("notification information")[0].insertAdjacentHTML("afterbegin",`Total Average: `);const a=document.querySelectorAll("table#progress-card > tbody > tr > td > span"),b=[];a.forEach(a=>{b.push(parseFloat(a.innerText))});const c=b.reduce((c,a)=>c+a),d=b.length,e=Math.round(100*(c/d))/100;let f,g,h;90<=e?(f="/img/ico/star.png",g="#0087FF",h="Honors"):80<=e?(f="/img/ico/tick.png",g="#1FBA24",h="Passing"):65<=e?(f="/img/ico/error.png",g="#AA9901",h="Borderline"):64>=e&&(f="/img/ico/exclamation.png",g="#CF1920",h="Failing"),document.getElementById("totalAverage").style.color=g,document.getElementById("averageIcon").src=f,document.getElementById("totalAverage").dataset.gtype=h,document.getElementById("totalAverage").innerText=`${e}%`}})();