Glen Whitney
58469f793e
Since third-party code may not be loaded from the web in an extension, requires bundling many GeoGebra app files into the extension. Still to come: control panel for the extension.
2 lines
9.1 KiB
JavaScript
2 lines
9.1 KiB
JavaScript
$wnd.webSimple.runAsyncCallback10("function dqc(){}\nfunction Q1b(){lc.call(this)}\nfunction MDd(a){_Cd.call(this,a)}\nfunction nnc(a){onc.call(this,a,1.0E-11)}\nfunction Xmc(a){this.a=x9b(a,a.length)}\nfunction zNf(){this.a=new iec}\nfunction Oac(a){Nac();return a==Kac?null:a}\nfunction kZh(){var a;return blc((a=this.a,Acc(),a))}\nfunction s7d(a,b){return new u8d(a.k,a,(_8f(),e8f),b)}\nfunction Y5d(a){return new u8d(a.k,a,(_8f(),a7f),null)}\nfunction Ckc(a,b){Q1b.call(this);this.a=new clc;alc(this.a,a,b)}\nfunction oCd(a,b){kwc.call(this,a);this.a=b;this.c=new j$e(a);nCd(this);mCd(this)}\nfunction yNf(a,b){var c;if(jf(b)){c=Fcg((nhc(b),b));cqc(a,c);return}cqc(a,b)}\nfunction _pc(a,b){var c;c=bqc(a);if(Tpb(c,0)==0){return NaN}return lqb($pc(a,b))/lqb(c)}\nfunction aqc(a,b){var c;c=bqc(a);if(Tpb(c,0)==0){return NaN}return lqb(Zpc(a,b))/lqb(c)}\nfunction Fdf(a,b){var c,d;d=new n9b;for(c=0;c<b.k.i.length;c++){Z8b(d,b9b(b.k,c))}Edf(a,d)}\nfunction nac(a,b){mac();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 _0e(a,b,c){NHc();var d,e;d=Ylf(a.pz(),b.pz());e=Ylf(a.pz(),c.pz());return !olf(d,e)}\nfunction T3d(a,b){var c;return c=VDb(a.b,w3b(b)),!c||c.get(w3b(6))==null?-1:c.get(w3b(6)).a}\nfunction U3d(a,b){var c;return c=VDb(a.b,w3b(b)),!c||c.get(w3b(5))==null?-1:c.get(w3b(5)).a}\nfunction Q3d(a,b){var c;c=VDb(a.b,w3b(b));if(!!c&&c.get(w3b(1))!=null){return b3b(c.get(w3b(1)))}return -1}\nfunction S3d(a,b,c){var d;d=VDb(a.b,w3b(b));if(d){if(d.get(w3b(2))==null){return c}return d.get(w3b(2))}return c}\nfunction Zpc(a,b){var c,d;if(ff(b,285)){return Zpc(a,D3b(b.a))}d=0;c=v8b(a.a,b);!!c&&(d=c.a);return d}\nfunction cqc(a,b){var c,d;d=b;ff(b,285)&&(d=D3b(b.a));c=v8b(a.a,d);!c?_dc(a.a,d,D3b(1)):_dc(a.a,d,D3b(Rpb(c.a,1)))}\nfunction nCd(a){a$e(a.c,a.a.L);a.V=me(fY,qnh,13,1,0,1);a.V[0]=a.a;a.Y=me(fY,qnh,13,1,0,1);awc(a,0,a.c);Xvc(a)}\nfunction Ere(b,c,d){try{return Cre(b,c,d,new AVf)}catch(a){a=Ppb(a);if(ff(a,38)){return null}else throw Qpb(a)}}\nfunction k1e(a,b,c,d,e,f,g,h){NHc();var i,j,k,l;i=a.pz();j=b.pz();k=c.pz();l=Skf(Skf(slf(Xkf(i),d/g),j,e/g),k,f/g);v0e(h,l,false)}\nfunction lCd(a,b){var c,d;c=false;for(d=0;d<a.k.i.length;d++){if(b.Jm(b9b(a.k,d))==(Xcg(),Vcg)){c=true;break}}c||MYe(a,b.Dk(a.Kc))}\nfunction bqc(a){var b,c,d,e;e=0;c=(d=(new n8b(a.a)).a.Zd().rd(),new o8b(d));while(c.a.xf()){e=Rpb(e,(b=c.a.yf(),b.ff()).a)}return e}\nfunction Dmc(a,b,c){var d,e;tnc(a,b);e=a.b==null?0:a.b.length;if(c.length!=e){throw Qpb(new snc(c.length,1,e,1))}for(d=0;d<e;++d){Mmc(a,d,b,c[d])}}\nfunction Emc(a,b,c){var d,e;vnc(a,b);e=a.b==null||a.b[0]==null?0:a.b[0].length;if(c.length!=e){throw Qpb(new snc(1,c.length,1,e))}for(d=0;d<e;++d){Mmc(a,b,d,c[d])}}\nfunction Uuc(a,b,c){Huc();var d,e,f;f=pf((a.b>>16&255)*(1-c)+(b.b>>16&255)*c);e=pf((a.b>>8&255)*(1-c)+(b.b>>8&255)*c);d=pf((a.b&255)*(1-c)+(b.b&255)*c);return Vuc(f,e,d,255)}\nfunction Nsc(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 R3d(a,b){var c,d,e,f,g;f=VDb(a.b,w3b(b));d=null;!!f&&(d=f.get(w3b(0)));if(d){return d}if(a.a!=null){e=a.a[(b-1)%a.a.length];c=Yuc(e);g=(b-1)/a.a.length|0;return Uuc((Huc(),Euc),c,$wnd.Math.pow(0.6,g))}return null}\nfunction qnc(a,b){var c,d,e,f,g,h,i;h=a.b.length;if(b.a.length!=h){throw Qpb(new zkc(b.a.length,h))}if(a.c){throw Qpb(new Jnc)}c=me(sf,g9g,5,h,15,1);for(i=0;i<h;i++){c[i]=Vmc(b,a.b[i])}for(f=0;f<h;f++){d=c[f];for(g=f+1;g<h;g++){c[g]-=d*a.a[g][f]}}for(e=h-1;e>=0;e--){c[e]/=a.a[e][e];d=c[e];for(g=0;g<e;g++){c[g]-=d*a.a[g][e]}}return new Ymc(c)}\nfunction $pc(a,b){var c,d,e,f,g,h,i;if(Wpb(bqc(a),0)){return 0}if(ff(b,285)){return $pc(a,D3b(b.a))}c=Oac(a.a.a);!c&&(c=new dqc);g=0;h=v8b(a.a,b);!!h&&(g=h.a);if(c.bf(b,x8b(Sdc(a.a)))<0){return 0}if(c.bf(b,x8b(Tdc(a.a)))>=0){return bqc(a)}i=(e=(new A8b(a.a)).a.Zd().b.Xf(),new B8b(e));while(i.a.xf()){f=(d=i.a.yf(),d.ef());if(c.bf(b,f)>0){g=Rpb(g,Zpc(a,f))}else{return g}}return g}\nfunction Msc(a,b){var c,d,e,f,g,h;c=a;e=b;if(c==0||e==0){if(c==V4g||e==V4g){throw Qpb(new Ckc((qmc(),vlc),pe(ie(gu,1),Z4g,1,5,[w3b(a),w3b(b)])))}return $wnd.Math.abs(c+e)}d=c;f=e;h=false;if(c<0){V4g==c?(h=true):(c=-c);d=dqb(d)}if(e<0){V4g==e?(h=true):(e=-e);f=dqb(f)}if(h){if(Tpb(d,f)==0){throw Qpb(new Ckc((qmc(),vlc),pe(ie(gu,1),Z4g,1,5,[w3b(a),w3b(b)])))}g=f;f=d;d=bqb(g,d);if(Tpb(d,0)==0){if(Tpb(f,R4g)>0){throw Qpb(new Ckc((qmc(),vlc),pe(ie(gu,1),Z4g,1,5,[w3b(a),w3b(b)])))}return mqb(f)}g=f;e=mqb(d);c=mqb(bqb(g,d))}return Nsc(c,e)}\nfunction mCd(a){var b,c,d,e,f,g,h,i;if(!a.a.q||a.a.k.i.length==0){NZe(a.c,false);return}NZe(a.c,true);WYe(a.c);if(!(a.a.j==(i3f(),c3f)||a.a.j==H2f)){for(e=0;e<a.a.k.i.length;e++){lCd(a.c,cZe(a.a,e))}return}!a.b&&(a.b=new zNf);Qdc(a.b.a);for(d=0;d<a.a.k.i.length;d++){a.a.j==c3f&&yNf(a.b,H4e(cZe(a.a,d),(Sud(),oud)));a.a.j==H2f&&yNf(a.b,new cde(a.Mc,cZe(a.a,d).H))}if(a.a.j==c3f){f=(c=(new A8b(a.b.a)).a.Zd().b.Xf(),new B8b(c));while(f.a.xf()){h=(b=f.a.yf(),b.ef());i=new N4e(a.Kc);C4e(i,h);MYe(a.c,i)}}else{f=(c=(new A8b(a.b.a)).a.Zd().b.Xf(),new B8b(c));while(f.a.xf()){g=(b=f.a.yf(),b.ef());PYe(a.c,g.k,a)}}}\nfunction Edf(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F,G,H;if(pf($wnd.Math.sqrt(9+8*b.i.length))!=$wnd.Math.sqrt(9+8*b.i.length)){a.d=false;sdf(a);return}d=pf(0.5*$wnd.Math.sqrt(8*(1+b.i.length)))-1;A=d;e=new Qmc(b.i.length,b.i.length+1);t=new Qmc(b.i.length,b.i.length);c=ke(sf,[nih,g9g],[17,5],15,[d+1,d+1],2);u=me(sf,g9g,5,b.i.length+1,15,1);for(g=0;g<b.i.length;g++){G=(mhc(g,b.i.length),b.i[g]).qz();H=(mhc(g,b.i.length),b.i[g]).rz();for(n=0,s=0;n<d+1;n++){for(r=0;n+r!=d+1;r++){u[s++]=$wnd.Math.pow(G,n)*$wnd.Math.pow(H,r)}}Emc(e,g,u)}D=0;v=b.i.length;do{if(D>v){v=v-A-1;if(v<2){a.d=false;sdf(a);return}e=new Qmc(v,v+1);A-=1;u=me(sf,g9g,5,v+1,15,1);for(h=0;h<v;h++){G=(mhc(h,b.i.length),b.i[h]).yz();H=(mhc(h,b.i.length),b.i[h]).zz();for(n=0,s=0;n<A+1;n++){for(r=0;n+r!=A+1;r++){u[s++]=$wnd.Math.pow(G,n)*$wnd.Math.pow(H,r)}}Emc(e,h,u)}t=new Qmc(v,v);D=0}B=Cmc(e,D);for(i=0,o=0;i<v+1;i++){if(i==D){continue}Dmc(t,o++,Cmc(e,i))}++D;F=mnc(new nnc(t))}while(F.c);for(j=0;j<B.length;j++){B[j]*=-1}w=qnc(F,new Xmc(B)).a;C=me(sf,g9g,5,w.length+1,15,1);for(k=0,p=0;k<C.length;k++){if(k==D-1){C[k]=1}else{C[k]=Scg(w[p])?0:w[p];++p}}for(l=0,q=0;l<A+1;l++){for(m=0;l+m<A+1;m++){c[l][m]=C[q++]}}udf(a,c);a.d=true;for(f=0;f<b.i.length;f++){if(!pdf(a,(mhc(f,b.i.length),b.i[f]))){a.d=false;sdf(a);return}}}\nvar bLh={15:1,627:1,113:1,21:1,86:1,13:1,115:1},NLh={3:1,14:1,4:1,8:1,1012:1,125:1,7:1},PLh={3:1,4:1,8:1,7:1,73:1},TLh={3:1,4:1,8:1,7:1,57:1},ULh=4240,YLh=0.3183098861837907,bMh=' and ',aNh={3:1,985:1};wqb(642,320,wlh,Ckc);_.$c=kZh;_._c=kZh;var Sx=J2b(642);wqb(915,4209,omh);_.Vg=function(){var a,b,c,d;a=ke(sf,[nih,g9g],[17,5],15,[this.Xg(),this.Tg()],2);for(c=0;c<a.length;++c){b=a[c];for(d=0;d<b.length;++d){b[d]=this.Wg(c,d)}}return a};wqb(258,915,pmh);_.Vg=function(){return Kmc(this)};wqb(501,1583,qmh,Xmc);wqb(635,915,pmh);_.Vg=function(){var a,b,c,d,e,f,g,h,i,j,k,l;b=ke(sf,[nih,g9g],[17,5],15,[this.e,this.d],2);g=this.d-(this.a-1)*52;for(e=0;e<this.b;++e){k=e*52;j=$wnd.Math.min(k+52,this.e);l=0;h=0;for(i=k;i<j;++i){c=b[i];a=e*this.a;d=0;for(f=0;f<this.a-1;++f){n5b(this.c[a++],l,c,d,52);d+=52}n5b(this.c[a],h,c,d,g);l+=52;h+=g}}return b};wqb(626,1,{},nnc);wqb(985,1,aNh);_.Sc=function(a){var b;if(this===a){return true}if(!ff(a,985)){return false}b=a;if(!this.a){if(b.a){return false}}else if(!LDb(this.a,b.a)){return false}return true};_.Tc=function(){var a;a=1;a=31*a+(!this.a?0:oac(new pec(this.a)));return a};_.Uc=function(){var a,b,c,d,e;d=new h5b;d.a+='Value \\t Freq. \\t Pct. \\t Cum Pct. \\n';c=(b=(new A8b(this.a)).a.Zd().b.Xf(),new B8b(b));while(c.a.xf()){e=(a=c.a.yf(),a.ef());d.a+=''+e;d.a+='\\t';V4b(d,Zpc(this,e));d.a+='\\t';T4b(d,aqc(this,e));d.a+='\\t';T4b(d,_pc(this,e));d.a+=y6g}return d.a};var rz=J2b(985);wqb(4057,1,j7g,dqc);_.bf=function(a,b){return c2b(a,b)};_.Sc=function(a){return this===a};_.cf=function(){return new Sac(this)};var qz=J2b(4057);wqb(627,13,bLh);var PE=J2b(627);wqb(1505,16,rnh,oCd);_.Mi=function(){return EIe(),ZHe};_.Ii=function(){mCd(this)};_.hj=function(){nCd(this)};var oI=J2b(1505);wqb(963,20,Gxh);_.Du=function(a,b){var c;c=SCd(this,a,new fJe(false));if(c.length!=1){throw Qpb(ICd(this,a,a.c.i.length))}if(!ff(c[0],36)){throw Qpb(FCd(this,a.i,c[0]))}return pe(ie(fY,1),qnh,13,0,[this.Ku(c[0],Vad(a))])};var BV=J2b(963);wqb(34,13,Txh);_.dv=function(a,b){return this.H};wqb(100,130,xAh);_.dv=function(a,b){return eae(this,a,b)};wqb(56,13,hCh);_.dv=function(a,b){if(g4b(xVe(this,(Sud(),oud)),'y')){return oWe(this,b)}return !this.d?NaN:this.d.Cg(a)};wqb(124,13,kCh);_.dv=function(a,b){return MWe(this,a,b)};wqb(ULh,1,{});var V1=J2b(ULh);wqb(3927,16,DDh);_.a=0;_.e=0;var b4=J2b(3927);wqb(3924,16,DDh);var S3=J2b(3924);wqb(3930,16,DDh);var T3=J2b(3930);wqb(3925,16,DDh);var X3=J2b(3925);wqb(3932,16,DDh);_.a=0;_.b=false;_.c=false;_.d=0;_.e=0;_.f=0;_.g=0;_.i=0;_.j=false;_.o=0;_.p=0;_.q=0;_.r=0;_.t=0;_.u=0;_.w=0;_.A=0;var Y3=J2b(3932);wqb(3928,16,DDh);_.c=0;var Z3=J2b(3928);wqb(3926,16,DDh);var _3=J2b(3926);wqb(3931,16,DDh);_.a=0;_.b=0;_.c=0;_.d=0;_.e=false;_.i=0;_.j=0;var a4=J2b(3931);wqb(1566,985,aNh,zNf);var A8=J2b(1566);K4g(Tc)(10);\n//# sourceURL=webSimple-10.js\n")
|