// Function ported from /includes/header.php (line 18)// Ported function has matched behavior.functiongetMiniName(name){letparts=name.split(" ");if(parts[0].length>3&&!parts[0].endsWith("e")&&parts[0]!=="Filly"){if(parts[0].includes("/")){returnparts[0].split("/")[0];}else{returnparts[0];}}else{returnname;}}