Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 075EC200CFA for ; Tue, 5 Sep 2017 19:53:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 05E3B160BDC; Tue, 5 Sep 2017 17:53:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F324C160BD7 for ; Tue, 5 Sep 2017 19:53:52 +0200 (CEST) Received: (qmail 75030 invoked by uid 500); 5 Sep 2017 17:53:52 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 75021 invoked by uid 99); 5 Sep 2017 17:53:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2017 17:53:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 814A8CA756 for ; Tue, 5 Sep 2017 17:53:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.019 X-Spam-Level: X-Spam-Status: No, score=-4.019 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001, WEIRD_QUOTING=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id fBuvrUYi4acX for ; Tue, 5 Sep 2017 17:53:42 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 03FB55FACE for ; Tue, 5 Sep 2017 17:53:40 +0000 (UTC) Received: (qmail 74783 invoked by uid 99); 5 Sep 2017 17:53:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2017 17:53:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 13C5AF5563; Tue, 5 Sep 2017 17:53:39 +0000 (UTC) From: zentol To: issues@flink.incubator.apache.org Reply-To: issues@flink.incubator.apache.org References: In-Reply-To: Subject: [GitHub] flink pull request #4647: [FLINK-7575] [WEB-DASHBOARD] Display "Fetching..."... Content-Type: text/plain Message-Id: <20170905175339.13C5AF5563@git1-us-west.apache.org> Date: Tue, 5 Sep 2017 17:53:39 +0000 (UTC) archived-at: Tue, 05 Sep 2017 17:53:55 -0000 Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/4647#discussion_r137067050 --- Diff: flink-runtime-web/web-dashboard/web/js/vendor.js --- @@ -15,11 +15,11 @@ ua.range=function(t,e,n){if(arguments.length<3&&(n=1,arguments.length<2&&(e=t,t= return n(null,null,1,{point:function(t,n){i.push(t=e(t,n)),t[0]*=Ba,t[1]*=Ba}}),{type:"Polygon",coordinates:[i]}}var e,n,r=[0,0],i=6;return t.origin=function(e){return arguments.length?(r=e,t):r},t.angle=function(r){return arguments.length?(n=gn((e=+r)*Ra,i*Ra),t):e},t.precision=function(r){return arguments.length?(n=gn(e*Ra,(i=+r)*Ra),t):i},t.angle(90)},ua.geo.distance=function(t,e){var n,r=(e[0]-t[0])*Ra,i=t[1]*Ra,o=e[1]*Ra,a=Math.sin(r),s=Math.cos(r),u=Math.sin(i),l=Math.cos(i),c=Math.sin(o),f=Math.cos(o);return Math.atan2(Math.sqrt((n=f*a)*n+(n=l*c-u*f*s)*n),u*c+l*f*s)},ua.geo.graticule=function(){function t(){return{type:"MultiLineString",coordinates:e()}}function e(){return ua.range(Math.ceil(o/v)*v,i,v).map(d).concat(ua.range(Math.ceil(l/m)*m,u,m).map(h)).concat(ua.range(Math.ceil(r/p)*p,n,p).filter(function(t){return xa(t%v)>La}).map(c)).concat(ua.range(Math.ceil(s/g)*g,a,g).filter(function(t){return xa(t%m)>La}).map(f))}var n,r,i,o,a,s,u,l,c,f,d,h,p=10,g=p,v=90,m=360,y= 2.5;return t.lines=function(){return e().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[d(o).concat(h(u).slice(1),d(i).reverse().slice(1),h(l).reverse().slice(1))]}},t.extent=function(e){return arguments.length?t.majorExtent(e).minorExtent(e):t.minorExtent()},t.majorExtent=function(e){return arguments.length?(o=+e[0][0],i=+e[1][0],l=+e[0][1],u=+e[1][1],o>i&&(e=o,o=i,i=e),l>u&&(e=l,l=u,u=e),t.precision(y)):[[o,l],[i,u]]},t.minorExtent=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),s>a&&(e=s,s=a,a=e),t.precision(y)):[[r,s],[n,a]]},t.step=function(e){return arguments.length?t.majorStep(e).minorStep(e):t.minorStep()},t.majorStep=function(e){return arguments.length?(v=+e[0],m=+e[1],t):[v,m]},t.minorStep=function(e){return arguments.length?(p=+e[0],g=+e[1],t):[p,g]},t.precision=function(e){return arguments.length?(y=+e,c=mn(s,a,90),f=yn(r,n,y),d=mn(l,u,90),h=yn(o,i,y),t ):y},t.majorExtent([[-180,-90+La],[180,90-La]]).minorExtent([[-180,-80-La],[180,80+La]])},ua.geo.greatArc=function(){function t(){return{type:"LineString",coordinates:[e||r.apply(this,arguments),n||i.apply(this,arguments)]}}var e,n,r=bn,i=xn;return t.distance=function(){return ua.geo.distance(e||r.apply(this,arguments),n||i.apply(this,arguments))},t.source=function(n){return arguments.length?(r=n,e="function"==typeof n?null:n,t):r},t.target=function(e){return arguments.length?(i=e,n="function"==typeof e?null:e,t):i},t.precision=function(){return arguments.length?t:0},t},ua.geo.interpolate=function(t,e){return wn(t[0]*Ra,t[1]*Ra,e[0]*Ra,e[1]*Ra)},ua.geo.length=function(t){return Xs=0,ua.geo.stream(t,Zs),Xs};var Xs,Zs={sphere:w,point:w,lineStart:$n,lineEnd:w,polygonStart:w,polygonEnd:w},Qs=kn(function(t){return Math.sqrt(2/(1+t))},function(t){return 2*Math.asin(t/2)});(ua.geo.azimuthalEqualArea=function(){return an(Qs)}).raw=Qs;var Ks=kn(function(t){var e=Math.acos(t);return e&&e/Math .sin(e)},y);(ua.geo.azimuthalEquidistant=function(){return an(Ks)}).raw=Ks,(ua.geo.conicConformal=function(){return Ve(_n)}).raw=_n,(ua.geo.conicEquidistant=function(){return Ve(Mn)}).raw=Mn;var Js=kn(function(t){return 1/t},Math.atan);(ua.geo.gnomonic=function(){return an(Js)}).raw=Js,Cn.invert=function(t,e){return[t,2*Math.atan(Math.exp(e))-Wa]},(ua.geo.mercator=function(){return Sn(Cn)}).raw=Cn;var tu=kn(function(){return 1},Math.asin);(ua.geo.orthographic=function(){return an(tu)}).raw=tu;var eu=kn(function(t){return 1/(1+t)},function(t){return 2*Math.atan(t)});(ua.geo.stereographic=function(){return an(eu)}).raw=eu,En.invert=function(t,e){return[-e,2*Math.atan(Math.exp(t))-Wa]},(ua.geo.transverseMercator=function(){var t=Sn(En),e=t.center,n=t.rotate;return t.center=function(t){return t?e([-t[1],t[0]]):(t=e(),[t[1],-t[0]])},t.rotate=function(t){return t?n([t[0],t[1],t.length>2?t[2]+90:90]):(t=n(),[t[0],t[1],t[2]-90])},n([0,0,90])}).raw=En,ua.geom={},ua.geom.hull=function(t){func tion e(t){if(t.length<3)return[];var e,i=Ct(n),o=Ct(r),a=t.length,s=[],u=[];for(e=0;e=0;--e)h.push(t[s[l[e]][2]]);for(e=+f;e=r&&l.x<=o&&l.y>=i&&l.y<=a?[[r,a],[o,a],[o,i],[r,i]]:[];c.point=t[s]}),e}function n(t){return t.map(function(t,e){return{x:Math.round(o(t,e)/La)*La,y:Math.round(a(t,e)/La)*La,i:e}})}var r=An,i=Tn,o=r,a=i,s=cu;return t?e(t):(e.links=function(t){return sr(n(t)).edges.filter(function(t){return t.l&&t.r}).map(function(e){return{source:t[e.l.i],target:t[e.r.i]}})},e.triangles=function(t){var e=[];return sr(n(t)).cells.forEach(function(n,r){for(var i,o,a=n.site,s=n.edges.sort(Hn),u=-1,l=s.length,c=s[l-1].edge,f=c.l===a?c.r:c.l;++u=l,d=r>=c,h=d<<1|f;t.leaf=!1,t=t.nodes[h]||(t.nodes[h]=dr()),f?i=l:s=l,d?a=c:u=c,o(t,e,n,r,i,a,s,u)}var c,f,d,h,p,g,v,m,y,b=Ct(s),x=Ct(u);if(null!=e)g=e,v=n,m=r,y=i;else if(m=y=-(g=v=1/0),f=[],d=[],p=t.length,a)for(h=0;hm&&(m=c.x),c.y>y&&(y=c.y),f.push(c.x),d.push(c.y);else for(h=0;hm&&(m=w),$>y&&(y=$),f.push(w),d.push($)}var k=m-g,_=y-v;k>_?y=v+k:m=g+_;var M=dr();if(M.add=function(t){o(M,t,+b(t,++h),+x(t,h),g,v,m,y)},M.visit=function(t){hr(t,M,g,v,m,y)},M.find=func tion(t){return pr(M,t[0],t[1],g,v,m,y)},h=-1,null==e){for(;++h=0?t.slice(0,e):t,r=e>=0?t.slice(e+1):"in";return n=pu.get(n)||hu,r=gu.get(r)||y,wr(r(n.apply(null,la.call(arguments,1))))},ua.interpolateHcl=jr,ua.interpolateHsl=Ir,ua.interpolateLab=Lr,ua.interpolateRound=Pr,ua.transform=function(t){var e=fa.createElementNS(ua.ns.prefix.svg,"g");return(ua.transform=function(t){if(null!=t){e.setAttribute("transform",t);var n=e.transform.baseVal.consolidate()}return new Fr(n?n.matrix:vu)})(t)},Fr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var vu={a:1,b:0,c:0,d:1,e:0,f:0};ua.interpolateTran sform=Yr,ua.layout={},ua.layout.bundle=function(){return function(t){for(var e=[],n=-1,r=t.length;++n0?i=t:(n.c=null,n.t=NaN,n=null,l.end({type:"end",alpha:i=0})):t>0&&(l.start({type:"start",alpha:i=t}),n=Nt(u.tick)),u):i},u.start=function(){function t(t,r){if(!n){for(n=new Array(i),u=0;u=0;)a.push(c=l[u]),c.parent=o,c.depth=o.depth+1;r&&(o.value=0),o.children=l}else r&&(o.value=+r.call(t,o,o.depth)||0),delete o.children;return ai(i,function(t){var n, i;e&&(n=t.children)&&n.sort(e),r&&(i=t.parent)&&(i.value+=t.value)}),s}var e=li,n=si,r=ui;return t.sort=function(n){return arguments.length?(e=n,t):e},t.children=function(e){return arguments.length?(n=e,t):n},t.value=function(e){return arguments.length?(r=e,t):r},t.revalue=function(e){return r&&(oi(e,function(t){t.children&&(t.value=0)}),ai(e,function(e){var n;e.children||(e.value=+r.call(t,e,e.depth)||0),(n=e.parent)&&(n.value+=e.value)})),e},t},ua.layout.partition=function(){function t(e,n,r,i){var o=e.children;if(e.x=n,e.y=e.depth*i,e.dx=r,e.dy=i,o&&(a=o.length)){var a,s,u,l=-1;for(r=e.value?r/e.value:0;++ls&&(s=r),a.push(r)}for(n=0;n0)for(o=-1;++o=c[0]&&s<=c[1]&&(a=u[ua.bisect(f,s,1,h)-1],a.y+=p,a.push(t[o]));return u}var e=!0,n=Number,r=wi,i=bi;return t.value=function(e){return arguments.length?(n=e,t):n},t.range=function(e){return arguments.length?(r=Ct(e),t):r},t.bins=function(e){return arguments.length?(i="number"==typeof e?function(t){return xi(t,e)}:Ct(e),t):i},t.frequency=function(n){return arguments.length?(e=!!n,t):e},t},ua.layout.pack=function(){function t(t,o){var a=n.call(this,t,o),s=a[0],u=i[0],l=i[1],c=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(s.x=s.y=0,ai(s,function(t){t.r=+c(t.value)}),ai(s,Ci),r){var f=r*(e?1:Math.max(2*s.r/u,2*s.r/l))/2;ai(s,function(t){t.r+=f}),ai(s,Ci),ai(s,function(t){t.r-=f})}return Ai(s,u/2,l/2,e?1:1/Math.max(2*s.r/u,2*s.r/l)),a}var e,n=ua.layout.hierarchy().sort($i),r=0,i=[1,1];return t.size=function(e){return arguments.length?(i=e,t):i},t.radius=function(n){return arguments.length?(e=null==n||"function"==typeof n?n:+n,t):e},t.padding=function(e){retur n arguments.length?(r=+e,t):r},ii(t,n)},ua.layout.tree=function(){function t(t,i){var c=a.call(this,t,i),f=c[0],d=e(f);if(ai(d,n),d.parent.m=-d.z,oi(d,r),l)oi(f,o);else{var h=f,p=f,g=f;oi(f,function(t){t.xp.x&&(p=t),t.depth>g.depth&&(g=t)});var v=s(h,p)/2-h.x,m=u[0]/(p.x+s(p,h)/2+v),y=u[1]/(g.depth||1);oi(f,function(t){t.x=(t.x+v)*m,t.y=t.depth*y})}return c}function e(t){for(var e,n={A:null,children:[t]},r=[n];null!=(e=r.pop());)for(var i,o=e.children,a=0,s=o.length;a0&&(ji(Li(a,t,n),t,r),l+=r,c+=r),f+=a.m,l+=i.m,d+=u.m,c+=o.m;a&&!Oi(o)&&(o.t=a,o.m+=f-c),i&&!Di(u)&&(u.t=i,u.m+=l-d,n=t)}return n}function o(t){t.x*=u[0],t.y=t.depth*u[1]}var a=ua.layout.hierarchy().sort(null).value(null),s=Ni,u=[1,1],l=null;return t.separation=function(e){return arguments.length?(s=e,t):s},t.size=function(e){return arguments.length?(l=null==(u=e)?o:null,t):l?null:u},t.nodeSize=function(e){return arguments.length?(l=null==(u=e)?null:o,t):l?u:null},ii(t,a)},ua.layout.cluster=function(){function t(t,o){var a,s=e.call(this,t,o),u=s[0],l=0;ai(u,function(t){var e=t.children;e&&e.length?(t.x=Fi(e),t.y=Pi(e)):(t.x=a?l+=n(t,a):0,t.y=0,a=t)});var c=qi(u),f=zi(u),d=c.x-n(c,f)/2,h=f.x+n(f,c)/2;return ai(u,i?function(t){t.x=(t.x-u.x)*r[0],t.y=(u.y-t.y)*r[1]}:function(t){t.x=(t.x-d)/(h-d)*r[0],t.y=(1-(u.y?t.y/u.y:1))*r[1]}),s}var e=ua.layout.hierarchy().sort(null).value(null),n=Ni,r=[1,1],i=!1;retu rn t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(e){return arguments.length?(i=null==(r=e),t):i?null:r},t.nodeSize=function(e){return arguments.length?(i=null!=(r=e),t):i?r:null},ii(t,e)},ua.layout.treemap=function(){function t(t,e){for(var n,r,i=-1,o=t.length;++i0;)c.push(a=d[u-1]),c.area+=a.area,"squarify"!==h||(s=r(c,g))<=p?(d.pop(),p=s):(c.area-=c.pop().area,i(c,g,l,!1),g=Math.min(l.dx,l.dy),c.length=c.area=0,p=1/0);c.length&&(i(c,g,l,!0),c.length=c.area=0),o.forEach(e)}}function n(e){var r=e.children;if(r&&r.length){var o,a=f(e),s=r.slice(),u=[];for(t(s,a.dx*a.dy/e.value),u.area=0;o=s.pop();)u.push(o),u.area+=o.area,null!=o.z&&(i(u,o.z?a.dx:a.dy,a,!s.length),u.length=u .area=0);r.forEach(n)}}function r(t,e){for(var n,r=t.area,i=0,o=1/0,a=-1,s=t.length;++ai&&(i=n));return r*=r,e*=e,r?Math.max(e*i*p/r,r/(e*o*p)):1/0}function i(t,e,n,r){var i,o=-1,a=t.length,s=n.x,l=n.y,c=e?u(t.area/e):0;if(e==n.dx){for((r||c>n.dy)&&(c=n.dy);++on.dx)&&(c=n.dx);++o1);return t+e*n*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var t=ua.random.normal.apply(ua,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=ua.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(t){return function(){for(var e=0,n=0;nf?0:1;if(l=za)return e(l,h)+(t?e(t,1-h):"")+"Z";var p,g,v,m,y,b,x,w,$,k,_,M,C=0,S=0,E=[];if((m=(+u.apply(this,arguments)||0)/2)&&(v=o===Nu?Math.sqrt(t*t+l*l):+o.apply(this,arguments),h||(S*=-1),l&&(S=et(v/l*Math.sin(m))),t&&(C=e t(v/t*Math.sin(m)))),l){y=l*Math.cos(c+S),b=l*Math.sin(c+S),x=l*Math.cos(f-S),w=l*Math.sin(f-S);var A=Math.abs(f-c-2*S)<=Fa?0:1;if(S&&yo(y,b,x,w)===h^A){var T=(c+f)/2;y=l*Math.cos(T),b=l*Math.sin(T),x=w=null}}else y=b=0;if(t){$=t*Math.cos(f-C),k=t*Math.sin(f-C),_=t*Math.cos(c+C),M=t*Math.sin(c+C);var N=Math.abs(c-f+2*C)<=Fa?0:1;if(C&&yo($,k,_,M)===1-h^N){var D=(c+f)/2;$=t*Math.cos(D),k=t*Math.sin(D),_=M=null}}else $=k=0;if(d>La&&(p=Math.min(Math.abs(l-t)/2,+i.apply(this,arguments)))>.001){g=tFa)+",1 "+e}function i(t,e,n,r){return"Q 0,0 "+r}var o=bn,a=xn,s=Bo,u=go,l=vo;return t.radius=function(e){return arguments.length?(s=Ct(e),t):s},t.source=function(e){return arguments.length?(o=Ct(e),t):o},t.target=function(e){return arguments.length?(a=Ct(e),t):a},t.startAngle=function(e){return arguments.length?(u=Ct(e),t):u},t.endAngle=function(e){return arguments.len gth?(l=Ct(e),t):l},t},ua.svg.diagonal=function(){function t(t,i){var o=e.call(this,t,i),a=n.call(this,t,i),s=(o.y+a.y)/2,u=[o,{ x:o.x,y:s},{x:a.x,y:s},a];return u=u.map(r),"M"+u[0]+"C"+u[1]+" "+u[2]+" "+u[3]}var e=bn,n=xn,r=Vo;return t.source=function(n){return arguments.length?(e=Ct(n),t):e},t.target=function(e){return arguments.length?(n=Ct(e),t):n},t.projection=function(e){return arguments.length?(r=e,t):r},t},ua.svg.diagonal.radial=function(){var t=ua.svg.diagonal(),e=Vo,n=t.projection;return t.projection=function(t){return arguments.length?n(Ho(e=t)):e},t},ua.svg.symbol=function(){function t(t,r){return(Lu.get(e.call(this,t,r))||Go)(n.call(this,t,r))}var e=Yo,n=Uo;return t.type=function(n){return arguments.length?(e=Ct(n),t):e},t.size=function(e){return arguments.length?(n=Ct(e),t):n},t};var Lu=ua.map({circle:Go,cross:function(t){var e=Math.sqrt(t/5)/2;return"M"+-3*e+","+-e+"H"+-e+"V"+-3*e+"H"+e+"V"+-e+"H"+3*e+"V"+e+"H"+e+"V"+3*e+"H"+-e+"V"+e+"H"+-3*e+"Z"},diamond:function(t){var e=Math.sqrt(t/(2*Fu)),n=e*Fu;return"M0,"+-e+"L"+n+",0 0,"+e+" "+-n+",0Z"},square:function(t){var e=Math.sqrt(t)/2;return" M"+-e+","+-e+"L"+e+","+-e+" "+e+","+e+" "+-e+","+e+"Z"},"triangle-down":function(t){var e=Math.sqrt(t/Pu),n=e*Pu/2;return"M0,"+n+"L"+e+","+-n+" "+-e+","+-n+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/Pu),n=e*Pu/2;return"M0,"+-n+"L"+e+","+n+" "+-e+","+n+"Z"}});ua.svg.symbolTypes=Lu.keys();var Pu=Math.sqrt(3),Fu=Math.tan(30*Ra);Aa.transition=function(t){for(var e,n,r=qu||++Bu,i=Jo(t),o=[],a=zu||{time:Date.now(),ease:Cr,delay:0,duration:250},s=-1,u=this.length;++srect,.s>rect").attr("width",f[1]-f[0])}function i(t){t.select(".extent").attr("y",d[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",d[1]-d[0])}function o(){function o(){32==ua.event.keyCode&&(A||(b=null,N[0]-=f[1],N[1]-=d[1],A=2),_())}function g(){32==ua.event.keyCode&&2==A&&(N[0]+=f[1],N[1]+=d[1],A=0,_())}function v(){var t=ua.mouse(w),e=!1;x&&(t[0]+=x[0],t[1]+=x[1]),A||(ua.event.altKey?(b||(b=[(f[0]+f[1])/2,(d[0]+d[1])/2]),N[0]=f[+(t[0]e&&!o||!i||n&&!a&&s||r&&s)return 1;if(t-1;);return n}function a(t,e){for(var n=t.length;n--&&e.indexOf(t.charAt(n))>-1;);return n}function s(e,n){return t(e.criteria,n.criteria)||e.index-n.index}function u(e,n,r){for(var i=-1,o=e.criteria,a=n.criteria,s=o.length,u=r.length;++i=u)return l;var c=r[i];return l*("asc"===c||c===!0?1:-1)}}return e.index-n.index}function l(t){return Wt[t]}function c(t){return Rt[t]}function f(t,e,n){return e?t=Ht[t]:n&&(t=Ut[t]),"\\"+t}function d(t){return"\\"+Ut[t]}function h(t,e,n){for(var r=t.length,i=e+(n?0:-1);n?i--:++i=9&&t<=13||32==t||160==t||5760==t||6158==t||t>=81 92&&(t<=8202||8232==t||8233==t||8239==t||8287==t||12288==t||65279==t)}function v(t,e){for(var n=-1,r=t.length,i=-1,o=[];++n=P?gn(e):null,l=e.length;u&&(a=Qt,s=!1,e=u);t:for(;++oi?0:i+n),r=r===$||r>i?i:+r||0,r<0&&(r+=i),i=n>r?0:r>>>0,n>>>=0;ni?0:i+e),n=n===$||n>i?i:+n||0,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Wo(i);++r=P,u=s?gn():null,l=[];u?(i=Qt,a=!1):(s=!1,u=e?[]:l);t:for(;++r>>1,a=t[o];(n?a<=e:a2?n[i-2]:$,a=i>2?n[2]:$,s=i>1?n[i-1]:$;for("function"==typeof o?(o=an(o,s,5),i-=2):(o="function"==typeof s?s:$,i-=o?1:0),a&&Jn(n[0],n[1],a) &&(o=i<3?$:o,i=1);++r-1?r[a]:$}return Ee(r,i,t)}}function $n(t){return function(n,r,i){return n&&n.length?(r=Wn(r,i,3),e(n,r,t)):-1}}function kn(t){return function(e,n,r){return n=Wn(n,r,3),Ee(e,n,t,!0)}}function _n(t){return function(){for(var e,n=arguments.length,r=t?n:-1,i=0,o=Wo(n);t?r--:++r=P)return e.plant(r).value();for(var i=0,a=n?o[i].apply(this,t):r;++i=e||!xa(e))return"";var i=e-r;return n=null==n?" ":n+"",mo(n,va(i/n.length)).slice(0,i)}function jn(t,e,n,r){function i(){for(var e=-1,s=arguments.length,u=-1,l=r.length,c=Wo(l+s);++uu))return!1;for(;++s