Home | History | Annotate | Download | only in js

Lines Matching defs:xr

201 function Xr(a){var b;b=ti(qr(a.b.b),37).hb();return b}
212 function xr(a,b){if(a.d==-1){throw new lp}a.b.mb(a.d,b)}
487 function Ps(a){var b,c,d,e,f,g,h;if(a){for(e=0,d=a.b.length-1;e<d;++e,--d){h=(hr(e,a.b.length),a.b[e]);Hs(a,e,(hr(d,a.b.length),a.b[d]));Hs(a,d,h)}}else{b=new yr(null,0);f=new yr(null,null.b.length);while(b.c<f.c-1){c=qr(b);g=wr(f);xr(b,g);xr(f,c)}}}
532 function zd(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,q,r,s,t,u,v,w,x,y,z,A,B;Ub();Tb>=3&&ao(vd);d=yd();A=Ye($wnd.location.href,Xv,$u);c=b.getElementsByTagName(av);w=new yo;for(f=0;f<c.length;++f){h=c[f];z=h.offsetWidth||0;e=h.offsetHeight||0;if(z==0||e==0){xd(h,'ignored: sz='+z+Yv+e);continue}if(!jb(h)){xd(h,'ignored: invisible');continue}j=Ye(Ye(h.href,'#.*$',$u),Xv,$u);if(!j.length||!af(j,'^https?://')||Dp(j,A)||Dp(j,d)){xd(h,'ignored: empty or same as current or base url'+d);continue}y=(Xe(),Lp(j,'\\/+',0));if(y.length<3||!Dp($wnd.location.host,y[1])){xd(h,'ignored: different domain');continue}m=hb(h);if(af(m,Zv)||m.length>25){xd(h,'ignored: one of extra');continue}k=Ye(j,d,$u);if(!af(k,'\\d')){xd(h,'ignored: no number beyond base url '+d);continue}l=null;if(j==null?w.d:j!=null?Gv+j in w.f:jo(w,null,~~_p(null))){l=ti(j==null?w.c:j!=null?w.f[Gv+j]:ho(w,null,~~_p(null)),9);l.d+=' | '+m}else{l=new Dd(f,m,j);j==null?no(w,l):j!=null?oo(w,j,l):mo(w,null,l,~~_p(null))}if(j.indexOf(d)!=0){l.e-=25;xd(h,$v+l.e+': not part of base url '+d)}i=m+qv+h.className+qv+h.id;xd(h,'txt+class+id='+i);if(af(i,_v)){l.e+=50;xd(h,$v+l.e+': has next')}if(af(i,aw)){l.e+=25;xd(h,$v+l.e+': has pag* word')}if(af(i,'(first|last)')){if(!af(l.d,_v)){l.e-=65;xd(h,$v+l.e+': has first|last but no next regex')}}if(af(i,bw)||af(i,Zv)){l.e-=50;xd(h,$v+l.e+': has neg or extra regex')}if(af(i,'(prev|early|old|new|<|\xAB)')){l.e-=200;xd(h,$v+l.e+': has opp of next regex')}u=false;o=false;s=ci(h);while(!!s&&(!u||!o)){t=s.className+qv+s.id;if(!u&&af(t,aw)){l.e+=25;u=true;xd(h,$v+l.e+': posParent - '+t)}if(!o&&af(t,bw)){if(!af(t,'article|body|content|entry|hentry|main|page|pagination|post|text|blog|story')){l.e-=25;o=true;xd(h,$v+l.e+': negParent - '+t)}}s=ci(s)}if(af(j,'p(a|g|ag)?(e|ing|ination)?(=|\\/)[0-9]{1,2}')||af(j,'(page|paging)')){l.e+=25;xd(h,$v+l.e+': has paging info')}if(af(j,Zv)){l.e-=15;xd(h,$v+l.e+': has extra regex')}n=0;try{n=gp(m)}catch(a){a=_k(a);if(!vi(a,29))throw a}if(n>0){n==1?(l.e-=10):(l.e+=0>10-n?0:10-n);xd(h,$v+l.e+': linktxt is a num')}}x=null;if(w.e!=0){v=(B=new Jq(w),new Sr(w,B));g=Rr(v);while(pr(g.b.b)){q=ti(Xr(g),9);q.e>=50&&(!x||x.e<q.e)&&(x=q)}}r=null;if(x){r=Ye(x.b,Xv,$u);xd(c[x.c],'found: score='+x.e+cw+x.d+'], '+r)}Tb>=3&&Ad(r,c);return r}
534 ull?c==null:Vf(b,c))){return false}}return true};_.hC=function jr(){var a,b,c;b=1;a=this.bb();while(a.eb()){c=a.fb();b=31*b+(c==null?0:Wf(c));b=~~b}return b};_.bb=function lr(){return new sr(this)};_.lb=function mr(a){throw new tq('Remove not supported on this list')};_.mb=function nr(a,b){throw new tq('Set not supported on this list')};cl(172,1,{},sr);_.eb=function tr(){return pr(this)};_.fb=function ur(){return qr(this)};_.c=0;_.d=-1;_.e=null;cl(173,172,{},yr);_.b=null;cl(174,171,Wu,Ar);_.jb=function Br(a,b){hr(a,this.c+1);++this.c;is(this.d,this.b+a,b)};_.kb=function Cr(a){hr(a,this.c);return ls(this.d,this.b+a)};_.lb=function Dr(a){var b;hr(a,this.c);b=ns(this.d,this.b+a);--this.c;return b};_.mb=function Er(a,b){hr(a,this.c);return os(this.d,this.b+a,b)};_.W=function Fr(){return this.c};_.b=0;_.c=0;_.d=null;cl(175,166,Uu,Ir);_.ab=function Jr(a){return co(this.b,a)};_.bb=function Kr(){return Hr(this)};_.W=function Lr(){return this.c.b.e};_.b=null;_.c=null;cl(176,1,{},Nr);_.eb=function Or(){return pr(this.b.b)};_.fb=function Pr(){var a;a=ti(qr(this.b.b),37);return a.gb()};_.b=null;cl(177,164,{},Sr);_.ab=function Tr(a){return fo(this.b,a)};_.bb=function Ur(){return Rr(this)};_.W=function Vr(){return this.c.b.e};_.b=null;_.c=null;cl(178,1,{},Yr);_.eb=function Zr(){return pr(this.b.b)};_.fb=function $r(){return Xr(this)};_.b=null;cl(179,171,Wu);_.jb=function bs(a,b){var c;c=Tt(this,a);Qt(c.e,b,c.c);++c.b;c.d=null};_.kb=function cs(a){return as(this,a)};_.bb=function ds(){return Tt(this,0)};_.lb=function es(b){var c,d;c=Tt(this,b);try{d=_t(c)}catch(a){a=_k(a);if(vi(a,38)){throw new np("Can't remove element "+b)}else throw a}au(c);c.c==c.d?(c.c=c.d.b):--c.b;fu(c.d);c.d=null;--c.e.c;return d};_.mb=function fs(b,c){var d,e;d=Tt(this,b);try{e=_t(d);au(d);d.d.d=c;return e}catch(a){a=_k(a);if(vi(a,38)){throw new np("Can't set element "+b)}else throw a}};cl(180,171,Xu,qs,rs);_.jb=function ss(a,b){is(this,a,b)};_.$=function ts(a){return js(this,a)};_._=function us(a){return ks(this,a)};_.ab=function vs(a){return ms(this,a,0)!=-1};_.kb=function ws(a){return ls(this,a)};_.lb=function xs(a){return ns(this,a)};_.mb=function ys(a,b){return os(this,a,b)};_.W=function As(){return this.c};_.cb=function Es(){return gi(this.b,this.c)};_.db=function Fs(a){return ps(this,a)};_.c=0;cl(181,171,Xu,Is);_.ab=function Js(a){return er(this,a)!=-1};_.kb=function Ks(a){return hr(a,this.b.length),this.b[a]};_.mb=function Ls(a,b){return Hs(this,a,b)};_.W=function Ms(){return this.b.length};_.cb=function Ns(){return fi(this.b)};_.db=function Os(a){var b,c;c=this.b.length;a.length<c&&(a=hi(a,c));for(b=0;b<c;++b){li(a,b,this.b[b])}a.length>c&&li(a,c,null);return a};_.b=null;cl(183,141,Su,Vs);_.T=function Ws(a){return qt(this.b,a)};_.U=function Xs(){return new at(this)};_.V=function Ys(a){return Ss(this,a)};_.W=function Zs(){return this.b.d};_.b=null;_.c=null;cl(184,166,Uu,at);_.ab=function bt(a){return _s(this,a)};_.bb=function ct(){return new ft(this.b)};_.W=function dt(){return this.b.b.d};_.b=null;cl(185,1,{},ft);_.eb=function gt(){return yt(this.b)};_.fb=function ht(){return this.c=zt(this.b),new jt(this.d,this.c)};_.c=null;_.d=null;cl(186,169,Vu,jt);_.gb=function kt(){return this.b};_.hb=function lt(){return this.c.c[this.b.c]};_.ib=function mt(a){var b;b=this.c.c[this.b.c];li(this.c.c,this.b.c,a);return b};_.b=null;_.c=null;cl(187,166,Uu);cl(188,187,Uu,rt);_.$=function st(a){return pt(this,ti(a,26))};_.ab=function tt(a){return qt(this,a)};_.bb=function ut(){return new At(this)};_.W=function vt(){return this.d};_.b=null;_.c=null;_.d=0;cl(189,1,{},At);_.eb=function Bt(){return yt(this)};_.fb=function Ct(){return zt(this)};_.b=-1;_.c=-1;_.d=null;cl(190,166,{22:1,39:1},Gt,Ht,It);_.$=function Jt(a){return Et(this,a)};_.ab=function Kt(a){return co(this.b,a)};_.bb=function Lt(){return Hr(Tn(this.b))};_.W=function Mt(){return this.b.e};_.tS=function Nt(){return xq(Tn(this.b))};_.b=null;cl(191,179,{22:1,34:1,35:1},Wt,Xt);_.$=function Yt(a){return Pt(this,a)};_.W=function Zt(){return this.c};_.b=null;_.c=0;cl(192,1,{},bu);_.eb=function cu(){return this.c!=this.e.b};_.fb=function du(){return _t(this)};_.b=0;_.c=null;_.d=null;_.e=null;cl(193,1,{},gu,hu);_.b=null;_.c=null;_.d=null;cl(194,169,Vu,ju);_.gb=function ku(){return this.b};_.hb=function lu(){return this.c};_.ib=function mu(a){var b;b=this.c;this.c=a;return b};_.b=null;_.c=null;cl(195,60,{22:1,28:1,33:1,38:1},ou);cl(197,1,{},uu);_.b=null;_.c=null;_.d=null;cl(198,1,{},xu,yu);_.b=null;_.c=null;cl(200,1,{});cl(199,200,{},Du);var Eu;var Yu=ch;