1(function(d){var G=0,k,l;l=function(b){this.notify;this.curPageStyle;this.cssPrefix;this.mode;this.pagerArea;this.pages;this.vPages;this.first;this.last;this.next;this.prev;this.nextStep;this.prevStep;this.dir;this.eventNamespace;d.extend(this,b);this.pageNum={org:1,cur:1,first:1};this.f;this.l;this.n;this.p;this.ns;this.ps;this.ln};l.prototype={SetUp:function(){this._buildPager()},SetOption:function(b,d){this[b]=d},UnBind:function(){this.f.unbind();this.l.unbind();this.n.unbind();this.p.unbind(); 2this.ns.unbind();this.ps.unbind();this.ln.unbind();d(this.pagerArea).empty()},GoTo:function(b){this.ln.trigger("pagergoto"+this.eventNamespace,[b])},GoFirst:function(){this.f.trigger("click"+this.eventNamespace)},GoLast:function(){this.l.trigger("click"+this.eventNamespace)},GoNext:function(){this.n.trigger("click"+this.eventNamespace)},GoPrev:function(){this.p.trigger("click"+this.eventNamespace)},GoNextStep:function(){this.ns.trigger("click"+this.eventNamespace)},GoPrevStep:function(){this.ps.trigger("click"+ 3this.eventNamespace)},GetCurrentNum:function(){return this.pageNum.cur},_buildPager:function(){function b(){for(var b=a.pages<a.vPages?a.pages:a.vPages,e=0;e<b;e++)c[e].data("num",0),"numbers"==a.mode?c[e].html(0):c[e].html("      "),c[e].css("display","none");for(e=0;e<b&&a.pageNum.first+e<=a.pages;e++)c[e].data("num",a.pageNum.first+e),"numbers"==a.mode?c[e].html(a.pageNum.first+e):c[e].html("      "),c[e].css("display","inline")}function B(){f(a.pageNum.first+ 4a.vPages)&&(a.pageNum.first+=a.vPages)}function C(){f(a.pageNum.first-a.vPages)&&(a.pageNum.first-=a.vPages)}function f(b){return 1<=b&&b<=a.pages?!0:!1}function n(){0==a.pageNum.cur%a.vPages?c[a.vPages-1].addClass(a.curPageStyle):c[a.pageNum.cur%a.vPages-1].addClass(a.curPageStyle)}function j(){0==a.pageNum.cur%a.vPages?c[a.vPages-1].removeClass(a.curPageStyle):a.pageNum.cur<a.vPages?c[a.pageNum.cur-1].removeClass(a.curPageStyle):c[a.pageNum.cur%a.vPages-1].removeClass(a.curPageStyle)}function k(){var b= 5Math.floor(a.pageNum.org/a.vPages);return Math.ceil(a.pageNum.org/a.vPages)==Math.floor(a.pageNum.org/a.vPages)?a.pageNum.org-a.vPages+1:b*a.vPages+1}function i(){1!=a.pageNum.cur?o.css("display","inline"):o.css("display","none");a.pageNum.cur>a.vPages?p.css("display","inline"):p.css("display","none");a.pageNum.first+a.vPages<=a.pages?q.css("display","inline"):q.css("display","none");a.pageNum.cur!=a.pages?r.css("display","inline"):r.css("display","none")}var a=this,g=d("<div></div>"),l=d("<ul></ul>"), 6D=d("<li></li>"),m=d("<a></a>"),s=d("<span></span>").clone().addClass(a.cssPrefix),A=g.clone().addClass("pager"),t=g.clone().addClass("pagerLinks"),E=g.clone().addClass("first"),F=g.clone().addClass("last"),r=g.clone().addClass("next"),o=g.clone().addClass("prev"),q=g.clone().addClass("nextStep"),p=g.clone().addClass("prevStep"),g=m.clone(),u=m.clone(),v=m.clone(),w=m.clone(),x=m.clone(),y=m.clone();g.html(a.first);u.html(a.last);v.html(a.next);w.html(a.prev);x.html(a.nextStep);y.html(a.prevStep); 7var c=[];t.append(l);var z;z=k();for(var h=0;h<a.vPages&&a.pageNum.first+h<=a.pages;h++)c[h]=m.clone().data("num",z+h),"numbers"==a.mode?c[h].html(z+h):c[h].html("      "),c[h].bind("click"+a.eventNamespace,function(b){b.preventDefault();j();a.pageNum.cur=d(this).data("num");n();i();a.notify(a.pageNum.cur)}),"ltr"==a.dir?l.append(D.clone().append(c[h])):l.prepend(D.clone().append(c[h]));0<c.length&&c[z-1].addClass(a.curPageStyle);g.bind("click"+a.eventNamespace,function(c){c.preventDefault(); 8j();a.pageNum.cur=1;1==a.pageNum.first?a.pageNum.org=1:(a.pageNum.org=a.pageNum.first=1,b());n();i();a.notify(a.pageNum.cur)});u.bind("click"+a.eventNamespace,function(c){c.preventDefault();j();a.pageNum.cur=a.pageNum.org=a.pages;a.pageNum.first=k();b();n();i();a.notify(a.pageNum.cur)});v.bind("click"+a.eventNamespace,function(c){c.preventDefault();j();f(a.pageNum.cur+1)&&a.pageNum.cur++;a.pageNum.org=a.pageNum.cur;a.pageNum.cur>=a.pageNum.first+a.vPages&&(B(),b());n();i();a.notify(a.pageNum.cur)}); 9x.bind("click"+a.eventNamespace,function(d){d.preventDefault();j();B();a.pageNum.org=a.pageNum.cur=a.pageNum.first;b();c[0].addClass(a.curPageStyle);i();a.notify(a.pageNum.cur)});w.bind("click"+a.eventNamespace,function(c){c.preventDefault();j();f(a.pageNum.cur-1)&&a.pageNum.cur--;a.pageNum.org=a.pageNum.cur;a.pageNum.cur<a.pageNum.first&&(C(),b());n();i();a.notify(a.pageNum.cur)});y.bind("click"+a.eventNamespace,function(d){d.preventDefault();j();C();a.pageNum.org=a.pageNum.cur=a.pageNum.first;b(); 10c[0].addClass(a.curPageStyle);i();a.notify(a.pageNum.cur)});t.bind("pagergoto"+a.eventNamespace,function(c,d){j();a.pageNum.org=a.pageNum.cur=d;a.pageNum.first=k();b();n();i()});E.append(g);F.append(u);r.append(v);o.append(w);
10q.append(x);p.append(y);A.attr("onselectstart","return false;");A.append(E).append(" ").append(p).append(" ").append(o).append(" ").append(t).append(" ").append(r).append(" ").append(q).append(" ").append(F);i();s.append(A);d(a.pagerArea).append(s); 110==a.pages||1==a.pages?s.css("display","none"):s.css("display","inline");a.f=g;a.l=u;a.n=v;a.p=w;a.ns=x;a.ps=y;a.ln=t}};var f={init:function(b){var b=b||{},f;f=b.hasOwnProperty("eventNamespace")?b:d.extend({eventNamespace:".clientPager"+ ++G},b);return this.each(function(){var b=d(this);b.children().is(".pager")||(f=d.extend(f,{pagerArea:b}),k=new l(f),k.SetUp(),b.data("pager",k),b.data("opts",f))})},destroy:function(){this.data("pager").UnBind()},first:function(){this.data("pager").GoFirst()},last:function(){this.data("pager").GoLast()}, 12next:function(){this.data("pager").GoNext()},prev:function(){this.data("pager").GoPrev()},nextStep:function(){this.data("pager").GoNextStep()},prevStep:function(){this.data("pager").GoPrevStep()},current:function(){return this.data("pager").GetCurrentNum()},goTo:function(b){this.data("pager").GoTo(b)},option:function(b,d){this.data("pager").SetOption(b,d)},rebuild:function(b){f.destroy.call(this);f.init.call(this,d.extend(this.data("opts"),b))}};d.fn.clientPager=function(b){if(f[b])return f[b].apply(this, 13Array.prototype.slice.call(arguments,1));if("object"===typeof b||!b)return f.init.apply(this,arguments);d.error("Method "+b+" does not exist on jQuery.clientPager")}})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.