'use strict';function o(n,i=false){if(!n||typeof n!="string")return "";let t=n.trim();if(t==="")return "";let s=t.split("/").pop()||t.split("\\").pop()||t,e=s.lastIndexOf(".");if(e<=0||e===s.length-1)return "";let r=s.substring(e);return i?r.substring(1):r}exports.getFileExtension=o;