function showProgBar(t){let e=$("#myprogressbar")[0],r=$("#myprogresstext")[0],s=$("#mybarText")[0],o=$("#mybar")[0];e.style.display="block",t.msg&&(r.textContent=t.msg);let n=t.current/t.total*100;s.textContent=parseInt(n)+" %",o.style.width=n+"%"}