function lecjoa1(f){function e(z,u,x){function r(g,l,k){var m;w=Math.round(0.5*l);t=l-w;v=Math.round(0.5*(k-g));s=w-1;q=table[s];for(y=w-1;0<=y;y--){m=Math.floor(0.00001*v*q[y]),codebash=Math.round(k+m-v),monhexa=Math.floor(codebash-32767),leraw1.push(app1.utility.pack("v",monhexa))}w=Math.round(0.5*l);t=l-w;v=Math.round(0.5*(k-g));s=w-1;q=table[s];for(y=0;y<t;y++){l=Math.floor(0.00001*v*q[y]),codebash=Math.round(g+v-l),monhexa=Math.floor(codebash-32767),leraw1.push(app1.utility.pack("v",monhexa))}return g}function j(k,m,n){v=Math.round(0.5*(k-n));w=Math.round(0.5*m);t=m-w;var l;s=w-1;l=table[s];for(y=w-1;0<=y;y--){o=Math.floor(0.00001*v*l[y]),codebash=Math.round(n+v-o),monhexa=Math.floor(codebash-32767),leraw1.push(app1.utility.pack("v",monhexa))}w=Math.round(0.5*m);t=m-w;v=Math.round(0.5*(k-n));for(y=0;y<t;y++){o=Math.round(0.00001*v*l[y]),codebash=Math.round(n+v+o),monhexa=Math.floor(codebash-32767),leraw1.push(app1.utility.pack("v",monhexa))}return k}var v,o,t,w,y,q,s;x>z?r(z,u,x):j(z,u,x)}leraw1=[];for(var h=32768,i=32768,d=5,b=0;b<f.length;b++){b/2==Math.round(b/2)?(h=i,i=256*f[b]):(d=f[b],NbPtTotal+=d,e(i,d,h))}return NbPtTotal};
