2 lines
9.1 KiB
JavaScript
2 lines
9.1 KiB
JavaScript
|
$wnd.webSimple.runAsyncCallback10("function rqc(){}\nfunction P1b(){ic.call(this)}\nfunction YDd(a){lDd.call(this,a)}\nfunction Bnc(a){Cnc.call(this,a,1.0E-11)}\nfunction jnc(a){this.g=I9b(a,a.length)}\nfunction DOf(){this.g=new vec}\nfunction Zac(a){Yac();return a==Vac?null:a}\nfunction w$h(){var a;return plc((a=this.g,Ncc(),a))}\nfunction x6d(a,b){return new z7d(a.s,a,(dag(),i9f),b)}\nfunction b5d(a){return new z7d(a.s,a,(dag(),e8f),null)}\nfunction Qkc(a,b){P1b.call(this);this.g=new qlc;olc(this.g,a,b)}\nfunction zCd(a,b){xwc.call(this,a);this.g=b;this.j=new P$e(a);yCd(this);xCd(this)}\nfunction COf(a,b){var c;if(ff(b)){c=Ldg((Bhc(b),b));qqc(a,c);return}qqc(a,b)}\nfunction nqc(a,b){var c;c=pqc(a);if(Ypb(c,0)==0){return NaN}return qqb(mqc(a,b))/qqb(c)}\nfunction oqc(a,b){var c;c=pqc(a);if(Ypb(c,0)==0){return NaN}return qqb(lqc(a,b))/qqb(c)}\nfunction uef(a,b){var c,d;d=new y9b;for(c=0;c<b.s.q.length;c++){h9b(d,l9b(b.s,c))}tef(a,d)}\nfunction yac(a,b){xac();var c,d,e,f,g;g=false;for(d=b,e=0,f=d.length;e<f;++e){c=d[e];g=g|a.add(c)}return g}\nfunction G1e(a,b,c){cIc();var d,e;d=Pmf(a.Az(),b.Az());e=Pmf(a.Az(),c.Az());return !fmf(d,e)}\nfunction V2d(a,b){var c;return c=VDb(a.i,w3b(b)),!c||c.get(w3b(6))==null?-1:c.get(w3b(6)).g}\nfunction W2d(a,b){var c;return c=VDb(a.i,w3b(b)),!c||c.get(w3b(5))==null?-1:c.get(w3b(5)).g}\nfunction S2d(a,b){var c;c=VDb(a.i,w3b(b));if(!!c&&c.get(w3b(1))!=null){return a3b(c.get(w3b(1)))}return -1}\nfunction U2d(a,b,c){var d;d=VDb(a.i,w3b(b));if(d){if(d.get(w3b(2))==null){return c}return d.get(w3b(2))}return c}\nfunction lqc(a,b){var c,d;if(cf(b,286)){return lqc(a,D3b(b.g))}d=0;c=F8b(a.g,b);!!c&&(d=c.g);return d}\nfunction qqc(a,b){var c,d;d=b;cf(b,286)&&(d=D3b(b.g));c=F8b(a.g,d);!c?mec(a.g,d,D3b(1)):mec(a.g,d,D3b(Wpb(c.g,1)))}\nfunction yCd(a){G$e(a.j,a.g.S);a.ab=je($X,Eoh,14,1,0,1);a.ab[0]=a.g;mwc(a,a.j);iwc(a)}\nfunction Kqe(b,c,d){try{return Iqe(b,c,d,new CWf)}catch(a){a=Upb(a);if(cf(a,39)){return null}else throw Vpb(a)}}\nfunction wCd(a,b){var c,d;c=false;for(d=0;d<a.s.q.length;d++){if(b.Sm(l9b(a.s,d))==(beg(),_dg)){c=true;break}}c||nZe(a,b.Mk(a.Qc))}\nfunction pqc(a){var b,c,d,e;e=0;c=(d=(new x8b(a.g)).g.ee().yd(),new y8b(d));while(c.g.Ef()){e=Wpb(e,(b=c.g.Ff(),b.nf()).g)}return e}\nfunction R1e(a,b,c,d,e,f,g,h){cIc();var i,j,k,l;i=a.Az();j=b.Az();k=c.Az();l=Jlf(Jlf(jmf(Olf(i),d/g),j,e/g),k,f/g);a1e(h,l,false)}\nfunction Rmc(a,b,c){var d,e;Hnc(a,b);e=a.i==null?0:a.i.length;if(c.length!=e){throw Vpb(new Gnc(c.length,1,e,1))}for(d=0;d<e;++d){$mc(a,d,b,c[d])}}\nfunction Smc(a,b,c){var d,e;Jnc(a,b);e=a.i==null||a.i[0]==null?0:a.i[0].length;if(c.length!=e){throw Vpb(new Gnc(1,c.length,1,e))}for(d=0;d<e;++d){$mc(a,b,d,c[d])}}\nfunction gvc(a,b,c){Vuc();var d,e,f;f=mf((a.i>>16&255)*(1-c)+(b.i>>16&255)*c);e=mf((a.i>>8&255)*(1-c)+(b.i>>8&255)*c);d=mf((a.i&255)*(1-c)+(b.i&255)*c);return hvc(f,e,d,255)}\nfunction _sc(a,b){var c,d,e,f;if(a==0){return b}else if(b==0){return a}c=v3b(a);a>>=c;d=v3b(b);b>>=d;f=$wnd.Math.min(c,d);while(a!=b){e=a-b;b=$wnd.Math.min(a,b);a=$wnd.Math.abs(e);a>>=v3b(a)}return a<<f}\nfunction T2d(a,b){var c,d,e,f,g;f=VDb(a.i,w3b(b));d=null;!!f&&(d=f.get(w3b(0)));if(d){return d}if(a.g!=null){e=a.g[(b-1)%a.g.length];c=kvc(e);g=(b-1)/a.g.length|0;return gvc((Vuc(),Suc),c,$wnd.Math.pow(0.6,g))}return null}\nfunction Enc(a,b){var c,d,e,f,g,h,i;h=a.i.length;if(b.g.length!=h){throw Vpb(new Nkc(b.g.length,h))}if(a.j){throw Vpb(new Xnc)}c=je(pf,nah,5,h,15,1);for(i=0;i<h;i++){c[i]=hnc(b,a.i[i])}for(f=0;f<h;f++){d=c[f];for(g=f+1;g<h;g++){c[g]-=d*a.g[g][f]}}for(e=h-1;e>=0;e--){c[e]/=a.g[e][e];d=c[e];for(g=0;g<e;g++){c[g]-=d*a.g[g][e]}}return new knc(c)}\nfunction mqc(a,b){var c,d,e,f,g,h,i;if(_pb(pqc(a),0)){return 0}if(cf(b,286)){return mqc(a,D3b(b.g))}c=Zac(a.g.g);!c&&(c=new rqc);g=0;h=F8b(a.g,b);!!h&&(g=h.g);if(c.jf(b,H8b(dec(a.g)))<0){return 0}if(c.jf(b,H8b(eec(a.g)))>=0){return pqc(a)}i=(e=(new K8b(a.g)).g.ee().i.cg(),new L8b(e));while(i.g.Ef()){f=(d=i.g.Ff(),d.mf());if(c.jf(b,f)>0){g=Wpb(g,lqc(a,f))}else{return g}}return g}\nfunction $sc(a,b){var c,d,e,f,g,h;c=a;e=b;if(c==0||e==0){if
|