D3.js vs Vue.js examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
423 KiB

8 years ago
webpackJsonp([0,2],[function(t,n){t.exports=function(t,n,e,r){var i,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(i=t,o=t.default);var u="function"==typeof o?o.options:o;if(n&&(u.render=n.render,u.staticRenderFns=n.staticRenderFns),e&&(u._scopeId=e),r){var c=u.computed||(u.computed={});Object.keys(r).forEach(function(t){var n=r[t];c[t]=function(){return n}})}return{esModule:i,exports:o,options:u}}},function(t,n,e){!function(t,e){e(n)}(this,function(t){"use strict";function n(t){return function(n,e){return Cs(t(n),e)}}function e(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Bs?i*=10:o>=Hs?i*=5:o>=Ws&&(i*=2),n<t?-i:i}function r(t){return t.length}function i(t,n,e){var r=t(e);return"translate("+(isFinite(r)?r:n(e))+",0)"}function o(t,n,e){var r=t(e);return"translate(0,"+(isFinite(r)?r:n(e))+")"}function a(t){var n=t.bandwidth()/2;return t.round()&&(n=Math.round(n)),function(e){return t(e)+n}}function u(){return!this.__axis}function c(t,n){function e(e){var p,d=null==c?n.ticks?n.ticks.apply(n,r):n.domain():c,v=null==s?n.tickFormat?n.tickFormat.apply(n,r):hf:s,g=Math.max(f,0)+h,y=t===pf||t===vf?i:o,_=n.range(),m=_[0]+.5,b=_[_.length-1]+.5,x=(n.bandwidth?a:hf)(n.copy()),w=e.selection?e.selection():e,M=w.selectAll(".domain").data([null]),k=w.selectAll(".tick").data(d,n).order(),A=k.exit(),E=k.enter().append("g").attr("class","tick"),C=k.select("line"),S=k.select("text"),T=t===pf||t===gf?-1:1,O=t===gf||t===df?(p="x","y"):(p="y","x");M=M.merge(M.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),k=k.merge(E),C=C.merge(E.append("line").attr("stroke","#000").attr(p+"2",T*f).attr(O+"1",.5).attr(O+"2",.5)),S=S.merge(E.append("text").attr("fill","#000").attr(p,T*g).attr(O,.5).attr("dy",t===pf?"0em":t===vf?"0.71em":"0.32em")),e!==w&&(M=M.transition(e),k=k.transition(e),C=C.transition(e),S=S.transition(e),A=A.transition(e).attr("opacity",yf).attr("transform",function(t){return y(x,this.parentNode.__axis||x,t)}),E.attr("opacity",yf).attr("transform",function(t){return y(this.parentNode.__axis||x,x,t)})),A.remove(),M.attr("d",t===gf||t==df?"M"+T*l+","+m+"H0.5V"+b+"H"+T*l:"M"+m+","+T*l+"V0.5H"+b+"V"+T*l),k.attr("opacity",1).attr("transform",function(t){return y(x,x,t)}),C.attr(p+"2",T*f),S.attr(p,T*g).text(v),w.filter(u).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===df?"start":t===gf?"end":"middle"),w.each(function(){this.__axis=x})}var r=[],c=null,s=null,f=6,l=6,h=3;return e.scale=function(t){return arguments.length?(n=t,e):n},e.ticks=function(){return r=lf.call(arguments),e},e.tickArguments=function(t){return arguments.length?(r=null==t?[]:lf.call(t),e):r.slice()},e.tickValues=function(t){return arguments.length?(c=null==t?null:lf.call(t),e):c&&c.slice()},e.tickFormat=function(t){return arguments.length?(s=t,e):s},e.tickSize=function(t){return arguments.length?(f=l=+t,e):f},e.tickSizeInner=function(t){return arguments.length?(f=+t,e):f},e.tickSizeOuter=function(t){return arguments.length?(l=+t,e):l},e.tickPadding=function(t){return arguments.length?(h=+t,e):h},e}function s(t){return c(pf,t)}function f(t){return c(df,t)}function l(t){return c(vf,t)}function h(t){return c(gf,t)}function p(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new d(r)}function d(t){this._=t}function v(t,n){return t.trim().split(/^|\s+/).map(function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})}function g(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function y(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=_f,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}function _(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===mf&&n.documentElement.namespaceURI===mf?n.createElement(t):n.createElementNS(e,t)}}function m(t){return fu
"n"===f?(c=!0,f="g"):Nv[f]||(f=""),(a||"0"===e&&"="===r)&&(a=!0,e="0",r="="),this.fill=e,this.align=r,this.sign=i,this.symbol=o,this.zero=a,this.width=u,this.comma=c,this.precision=s,this.type=f}function lr(t){return t}function hr(n){return $v=Lv(n),t.format=$v.format,t.formatPrefix=$v.formatPrefix,$v}function pr(){this.reset()}function dr(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}function vr(t){return t>1?0:t<-1?xg:Math.acos(t)}function gr(t){return t>1?wg:t<-1?-wg:Math.asin(t)}function yr(t){return(t=Rg(t/2))*t}function _r(){}function mr(t,n){t&&Dg.hasOwnProperty(t.type)&&Dg[t.type](t,n)}function br(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function xr(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)br(t[e],n,1);n.polygonEnd()}function wr(){Hg.point=kr}function Mr(){Ar(qv,Fv)}function kr(t,n){Hg.point=Ar,qv=t,Fv=n,t*=Eg,n*=Eg,Bv=t,Hv=Og(n=n/2+Mg),Wv=Rg(n)}function Ar(t,n){t*=Eg,n*=Eg,n=n/2+Mg;var e=t-Bv,r=e>=0?1:-1,i=r*e,o=Og(n),a=Rg(n),u=Wv*a,c=Hv*o+u*Og(i),s=u*r*Rg(i);Fg.add(Tg(s,c)),Bv=t,Hv=o,Wv=a}function Er(t){return[Tg(t[1],t[0]),gr(t[2])]}function Cr(t){var n=t[0],e=t[1],r=Og(e);return[r*Og(n),r*Rg(n),Rg(e)]}function Sr(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Tr(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Or(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function Nr(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function jr(t){var n=Ig(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}function Pr(t,n){tg.push(ng=[Yv=t,Xv=t]),n<Vv&&(Vv=n),n>Gv&&(Gv=n)}function $r(t,n){var e=Cr([t*Eg,n*Eg]);if(Qv){var r=Tr(Qv,e),i=[r[1],-r[0],0],o=Tr(i,r);jr(o),o=Er(o);var a,u=t-Jv,c=u>0?1:-1,s=o[0]*Ag*c,f=Cg(u)>180;f^(c*Jv<s&&s<c*t)?(a=o[1]*Ag,a>Gv&&(Gv=a)):(s=(s+360)%360-180,f^(c*Jv<s&&s<c*t)?(a=-o[1]*Ag,a<Vv&&(Vv=a)):(n<Vv&&(Vv=n),n>Gv&&(Gv=n))),f?t<Jv?Dr(Yv,t)>Dr(Yv,Xv)&&(Xv=t):Dr(t,Xv)>Dr(Yv,Xv)&&(Yv=t):Xv>=Yv?(t<Yv&&(Yv=t),t>Xv&&(Xv=t)):t>Jv?Dr(Yv,t)>Dr(Yv,Xv)&&(Xv=t):Dr(t,Xv)>Dr(Yv,Xv)&&(Yv=t)}else tg.push(ng=[Yv=t,Xv=t]);n<Vv&&(Vv=n),n>Gv&&(Gv=n),Qv=e,Jv=t}function Rr(){Vg.point=$r}function Lr(){ng[0]=Yv,ng[1]=Xv,Vg.point=Pr,Qv=null}function Ir(t,n){if(Qv){var e=t-Jv;Yg.add(Cg(e)>180?e+(e>0?360:-360):e)}else Kv=t,Zv=n;Hg.point(t,n),$r(t,n)}function zr(){Hg.lineStart()}function Ur(){Ir(Kv,Zv),Hg.lineEnd(),Cg(Yg)>mg&&(Yv=-(Xv=180)),ng[0]=Yv,ng[1]=Xv,Qv=null}function Dr(t,n){return(n-=t)<0?n+360:n}function qr(t,n){return t[0]-n[0]}function Fr(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n<t[0]||t[1]<n}function Br(t,n){t*=Eg,n*=Eg;var e=Og(n);Hr(e*Og(t),e*Rg(t),Rg(n))}function Hr(t,n,e){++eg,ig+=(t-ig)/eg,og+=(n-og)/eg,ag+=(e-ag)/eg}function Wr(){Gg.point=Yr}function Yr(t,n){t*=Eg,n*=Eg;var e=Og(n);vg=e*Og(t),gg=e*Rg(t),yg=Rg(n),Gg.point=Vr,Hr(vg,gg,yg)}function Vr(t,n){t*=Eg,n*=Eg;var e=Og(n),r=e*Og(t),i=e*Rg(t),o=Rg(n),a=Tg(Ig((a=gg*o-yg*i)*a+(a=yg*r-vg*o)*a+(a=vg*i-gg*r)*a),vg*r+gg*i+yg*o);rg+=a,ug+=a*(vg+(vg=r)),cg+=a*(gg+(gg=i)),sg+=a*(yg+(yg=o)),Hr(vg,gg,yg)}function Xr(){Gg.point=Br}function Gr(){Gg.point=Kr}function Jr(){Zr(pg,dg),Gg.point=Br}function Kr(t,n){pg=t,dg=n,t*=Eg,n*=Eg,Gg.point=Zr;var e=Og(n);vg=e*Og(t),gg=e*Rg(t),yg=Rg(n),Hr(vg,gg,yg)}function Zr(t,n){t*=Eg,n*=Eg;var e=Og(n),r=e*Og(t),i=e*Rg(t),o=Rg(n),a=gg*o-yg*i,u=yg*r-vg*o,c=vg*i-gg*r,s=Ig(a*a+u*u+c*c),f=vg*r+gg*i+yg*o,l=s&&-gr(s)/s,h=Tg(s,f);fg+=l*a,lg+=l*u,hg+=l*c,rg+=h,ug+=h*(vg+(vg=r)),cg+=h*(gg+(gg=i)),sg+=h*(yg+(yg=o)),Hr(vg,gg,yg)}function Qr(t,n){return[t>xg?t-kg:t<-xg?t+kg:t,n]}function ti(t,n,e){return(t%=kg)?n||e?Zg(ei(t),ri(n,e)):ei(t):n||e?ri(n,e):Qr}function ni(t){return function(n,e){return n+=t,[n>xg?n-kg:n<-xg?n+kg:n,e]}}function ei(t){var n=ni(t);return n.invert=ni(-t),n}function ri(t,n){function e(t,n){var e=Og(n),u=Og(t)*e,c=Rg(t)*e,s=Rg(n),f=s*r+u*i;return[Tg(c*o-f*a,u*r-s*i),gr(f*o+c*a)]}var r=Og(t),i=Rg(t),o=Og(n),a=Rg(n);return e.invert=function(t,n){var e=Og(n),u=Og(t)*e,c=Rg(t)*e,s=Rg(n),f=s*o-c*a;return[Tg(c*o+s*a,u*r+f*i),gr(f*r-u*i)]},e}function ii(t,n,e,r,i,o){if(e){var a=Og(n),u=Rg(n),c=r*e;null==i?(i=n+r*kg,o=n-c/2):(i=oi(a,i),o
if(i=n.charCodeAt(a++),37===i){if(i=n.charAt(a++),o=F[i in qb?n.charAt(a++):i],!o||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function i(t,n,e){var r=O.exec(n.slice(e));return r?(t.p=N[r[0].toLowerCase()],e+r[0].length):-1}function o(t,n,e){var r=$.exec(n.slice(e));return r?(t.w=R[r[0].toLowerCase()],e+r[0].length):-1}function a(t,n,e){var r=j.exec(n.slice(e));return r?(t.w=P[r[0].toLowerCase()],e+r[0].length):-1}function u(t,n,e){var r=z.exec(n.slice(e));return r?(t.m=U[r[0].toLowerCase()],e+r[0].length):-1}function c(t,n,e){var r=L.exec(n.slice(e));return r?(t.m=I[r[0].toLowerCase()],e+r[0].length):-1}function s(t,n,e){return r(t,w,n,e)}function f(t,n,e){return r(t,M,n,e)}function l(t,n,e){return r(t,k,n,e)}function h(t){return C[t.getDay()]}function p(t){return E[t.getDay()]}function d(t){return T[t.getMonth()]}function v(t){return S[t.getMonth()]}function g(t){return A[+(t.getHours()>=12)]}function y(t){return C[t.getUTCDay()]}function _(t){return E[t.getUTCDay()]}function m(t){return T[t.getUTCMonth()]}function b(t){return S[t.getUTCMonth()]}function x(t){return A[+(t.getUTCHours()>=12)]}var w=t.dateTime,M=t.date,k=t.time,A=t.periods,E=t.days,C=t.shortDays,S=t.months,T=t.shortMonths,O=Za(A),N=Qa(A),j=Za(E),P=Qa(E),$=Za(C),R=Qa(C),L=Za(S),I=Qa(S),z=Za(T),U=Qa(T),D={a:h,A:p,b:d,B:v,c:null,d:du,e:du,H:vu,I:gu,j:yu,L:_u,m:mu,M:bu,p:g,S:xu,U:wu,w:Mu,W:ku,x:null,X:null,y:Au,Y:Eu,Z:Cu,"%":Fu},q={a:y,A:_,b:m,B:b,c:null,d:Su,e:Su,H:Tu,I:Ou,j:Nu,L:ju,m:Pu,M:$u,p:x,S:Ru,U:Lu,w:Iu,W:zu,x:null,X:null,y:Uu,Y:Du,Z:qu,"%":Fu},F={a:o,A:a,b:u,B:c,c:s,d:uu,e:uu,H:su,I:su,j:cu,L:hu,m:au,M:fu,p:i,S:lu,U:nu,w:tu,W:eu,x:f,X:l,y:iu,Y:ru,Z:ou,"%":pu};return D.x=n(M,D),D.X=n(k,D),D.c=n(w,D),q.x=n(M,q),q.X=n(k,q),q.c=n(w,q),{format:function(t){var e=n(t+="",D);return e.toString=function(){return t},e},parse:function(t){var n=e(t+="",Ya);return n.toString=function(){return t},n},utcFormat:function(t){var e=n(t+="",q);return e.toString=function(){return t},e},utcParse:function(t){var n=e(t,Va);return n.toString=function(){return t},n}}}function Ja(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function Ka(t){return t.replace(Hb,"\\$&")}function Za(t){return new RegExp("^(?:"+t.map(Ka).join("|")+")","i")}function Qa(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function tu(t,n,e){var r=Fb.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function nu(t,n,e){var r=Fb.exec(n.slice(e));return r?(t.U=+r[0],e+r[0].length):-1}function eu(t,n,e){var r=Fb.exec(n.slice(e));return r?(t.W=+r[0],e+r[0].length):-1}function ru(t,n,e){var r=Fb.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function iu(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function ou(t,n,e){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function au(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function uu(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function cu(t,n,e){var r=Fb.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function su(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function fu(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function lu(t,n,e){var r=Fb.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function hu(t,n,e){var r=Fb.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function pu(t,n,e){var r=Bb.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function du(t,n){return Ja(t.getDate(),n,2)}function vu(t,n){return Ja(t.getHours(),n,2)}function gu(t,n){return Ja(t.getHours()%12||12,n,2)}function yu(t,n){return Ja(1+Jm.count(db(t),t),n,3)}function _u(t,n){return Ja(t.getMilliseconds(),n,3)}function mu(t,n){return Ja(t.getMonth()+1,n,2)}function bu(t,n){return Ja(t.getMinutes(),n,2)}function xu(t,n){return Ja(t.getSeconds(),n,2)}function wu(t,n){return Ja(Zm.count(db(t),t),n,2)}functi
var p,d=f;switch(h){case"start":v[e]=t,p=y++;break;case"end":delete v[e],--y;case"drag":f=i(r,e),p=y}C(new yt(n,h,u,e,p,f[0]+c,f[1]+s,f[0]-d[0],f[1]-d[1],l),l.apply,l,[h,o,a])}}var s,f,l=_t,h=mt,d=bt,v={},g=p("start","drag","end"),y=0;return n.filter=function(t){return arguments.length?(l="function"==typeof t?t:xl(!!t),n):l},n.container=function(t){return arguments.length?(h="function"==typeof t?t:xl(t),n):h},n.subject=function(t){return arguments.length?(d="function"==typeof t?t:xl(t),n):d},n.on=function(){var t=g.on.apply(g,arguments);return t===g?n:t},n},Ml=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t},kl=.7,Al=1/kl,El="\\s*([+-]?\\d+)\\s*",Cl="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Sl="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Tl=/^#([0-9a-f]{3})$/,Ol=/^#([0-9a-f]{6})$/,Nl=new RegExp("^rgb\\("+[El,El,El]+"\\)$"),jl=new RegExp("^rgb\\("+[Sl,Sl,Sl]+"\\)$"),Pl=new RegExp("^rgba\\("+[El,El,El,Cl]+"\\)$"),$l=new RegExp("^rgba\\("+[Sl,Sl,Sl,Cl]+"\\)$"),Rl=new RegExp("^hsl\\("+[Cl,Sl,Sl]+"\\)$"),Ll=new RegExp("^hsla\\("+[Cl,Sl,Sl,Cl]+"\\)$"),Il={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Ml(wt,Mt,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Ml(St,Ct,xt(wt,{brighter:function(t){return t=null==t?Al:Math.pow(Al,t),new St(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?kl:Math.pow(kl,t),new St(this.r*t,this.g*t,thi
n}var o,a=1,u=.001,c=1-Math.pow(u,1/300),s=0,f=.6,l=De(),h=gn(n),d=p("tick","end");return null==t&&(t=[]),r(),o={tick:e,restart:function(){return h.restart(n),o},stop:function(){return h.stop(),o},nodes:function(n){return arguments.length?(t=n,r(),l.each(i),o):t},alpha:function(t){return arguments.length?(a=+t,o):a},alphaMin:function(t){return arguments.length?(u=+t,o):u},alphaDecay:function(t){return arguments.length?(c=+t,o):+c},alphaTarget:function(t){return arguments.length?(s=+t,o):s},velocityDecay:function(t){return arguments.length?(f=1-t,o):1-f},force:function(t,n){return arguments.length>1?(null==n?l.remove(t):l.set(t,i(n)),o):l.get(t)},find:function(n,e,r){var i,o,a,u,c,s=0,f=t.length;for(null==r?r=1/0:r*=r,s=0;s<f;++s)u=t[s],i=n-u.x,o=e-u.y,a=i*i+o*o,a<r&&(c=u,r=a);return c},on:function(t,n){return arguments.length>1?(d.on(t,n),o):d.on(t)}}},wv=function(){function t(t){var n,u=i.length,c=nr(i,cr,sr).visitAfter(e);for(a=t,n=0;n<u;++n)o=i[n],c.visit(r)}function n(){if(i){var t,n,e=i.length;for(u=new Array(e),t=0;t<e;++t)n=i[t],u[n.index]=+c(n,t,i)}}function e(t){var n,e,r,i,o,a=0;if(t.length){for(r=i=o=0;o<4;++o)(n=t[o])&&(e=n.value)&&(a+=e,r+=e*n.x,i+=e*n.y);t.x=r/a,t.y=i/a}else{n=t,n.x=n.data.x,n.y=n.data.y;do a+=u[n.data.index];while(n=n.next)}t.value=a}function r(t,n,e,r){if(!t.value)return!0;var i=t.x-o.x,c=t.y-o.y,h=r-n,p=i*i+c*c;if(h*h/l<p)return p<f&&(0===i&&(i=nv(),p+=i*i),0===c&&(c=nv(),p+=c*c),p<s&&(p=Math.sqrt(s*p)),o.vx+=i*t.value*a/p,o.vy+=c*t.value*a/p),!0;if(!(t.length||p>=f)){(t.data!==o||t.next)&&(0===i&&(i=nv(),p+=i*i),0===c&&(c=nv(),p+=c*c),p<s&&(p=Math.sqrt(s*p)));do t.data!==o&&(h=u[t.data.index]*a/p,o.vx+=i*h,o.vy+=c*h);while(t=t.next)}}var i,o,a,u,c=tv(-30),s=1,f=1/0,l=.81;return t.initialize=function(t){i=t,n()},t.strength=function(e){return arguments.length?(c="function"==typeof e?e:tv(+e),n(),t):c},t.distanceMin=function(n){return arguments.length?(s=n*n,t):Math.sqrt(s)},t.distanceMax=function(n){return arguments.length?(f=n*n,t):Math.sqrt(f)},t.theta=function(n){return arguments.length?(l=n*n,t):Math.sqrt(l)},t},Mv=function(t){function n(t){for(var n,e=0,a=r.length;e<a;++e)n=r[e],n.vx+=(o[e]-n.x)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+a(r[n],n,r)}}var r,i,o,a=tv(.1);return"function"!=typeof t&&(t=tv(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(a="function"==typeof t?t:tv(+t),e(),n):a},n.x=function(r){return arguments.length?(t="function"==typeof r?r:tv(+r),e(),n):t},n},kv=function(t){function n(t){for(var n,e=0,a=r.length;e<a;++e)n=r[e],n.vy+=(o[e]-n.y)*i[e]*t}function e(){if(r){var n,e=r.length;for(i=new Array(e),o=new Array(e),n=0;n<e;++n)i[n]=isNaN(o[n]=+t(r[n],n,r))?0:+a(r[n],n,r)}}var r,i,o,a=tv(.1);return"function"!=typeof t&&(t=tv(null==t?0:+t)),n.initialize=function(t){r=t,e()},n.strength=function(t){return arguments.length?(a="function"==typeof t?t:tv(+t),e(),n):a},n.y=function(r){return arguments.length?(t="function"==typeof r?r:tv(+r),e(),n):t},n},Av=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]},Ev=function(t){return t=Av(Math.abs(t)),t?t[1]:NaN},Cv=function(t,n){return function(e,r){for(var i=e.length,o=[],a=0,u=t[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),o.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=t[a=(a+1)%t.length];return o.reverse().join(n)}},Sv=function(t,n){t=t.toPrecision(n);t:for(var e,r=t.length,i=1,o=-1;i<r;++i)switch(t[i]){case".":o=e=i;break;case"0":0===o&&(o=i),e=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},Tv=function(t,n){var e=Av(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(gv=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Av(t,Math.max(0,n+o-1))[0]},Ov=function(t,n){var e=Av(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array
this},await:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=function(n,e){t.apply(null,[n].concat(e))},la(this),this},awaitAll:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=t,la(this),this}};var lm=function(t,n){return t=null==t?0:+t,n=null==n?1:+n,1===arguments.length?(n=t,t=0):n-=t,function(){return Math.random()*n+t}},hm=function(t,n){var e,r;return t=null==t?0:+t,n=null==n?1:+n,function(){var i;if(null!=e)i=e,e=null;else do e=2*Math.random()-1,i=2*Math.random()-1,r=e*e+i*i;while(!r||r>1);return t+n*i*Math.sqrt(-2*Math.log(r)/r)}},pm=function(){var t=hm.apply(this,arguments);return function(){return Math.exp(t())}},dm=function(t){return function(){for(var n=0,e=0;e<t;++e)n+=Math.random();return n}},vm=function(t){var n=dm(t);return function(){return n()/t}},gm=function(t){return function(){return-Math.log(1-Math.random())/t}},ym=function(t,n){function e(t){var n,e=s.status;if(!e&&da(s)||e>=200&&e<300||304===e){if(o)try{n=o.call(r,s)}catch(t){return void u.call("error",r,t)}else n=s;u.call("load",r,n)}else u.call("error",r,t)}var r,i,o,a,u=p("beforesend","progress","load","error"),c=De(),s=new XMLHttpRequest,f=null,l=null,h=0;if("undefined"==typeof XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=s.ontimeout=e:s.onreadystatechange=function(t){s.readyState>3&&e(t)},s.onprogress=function(t){u.call("progress",r,t)},r={header:function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?c.get(t):(null==n?c.remove(t):c.set(t,n+""),r)},mimeType:function(t){return arguments.length?(i=null==t?null:t+"",r):i},responseType:function(t){return arguments.length?(a=t,r):a},timeout:function(t){return arguments.length?(h=+t,r):h},user:function(t){return arguments.length<1?f:(f=null==t?null:t+"",r)},password:function(t){return arguments.length<1?l:(l=null==t?null:t+"",r)},response:function(t){return o=t,r},get:function(t,n){return r.send("GET",t,n)},post:function(t,n){return r.send("POST",t,n)},send:function(n,e,o){return s.open(n,t,!0,f,l),null==i||c.has("accept")||c.set("accept",i+",*/*"),s.setRequestHeader&&c.each(function(t,n){s.setRequestHeader(n,t)}),null!=i&&s.overrideMimeType&&s.overrideMimeType(i),null!=a&&(s.responseType=a),h>0&&(s.timeout=h),null==o&&"function"==typeof e&&(o=e,e=null),null!=o&&1===o.length&&(o=pa(o)),null!=o&&r.on("error",o).on("load",function(t){o(null,t)}),u.call("beforesend",r,s),s.send(null==e?null:e),r},abort:function(){return s.abort(),r},on:function(){var t=u.on.apply(u,arguments);return t===u?r:t}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return r.get(n)}return r},_m=function(t,n){return function(e,r){var i=ym(e).mimeType(t).response(n);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return i.get(r)}return i}},mm=_m("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)}),bm=_m("application/json",function(t){return JSON.parse(t.responseText)}),xm=_m("text/plain",function(t){return t.responseText}),wm=_m("application/xml",function(t){var n=t.responseXML;if(!n)throw new Error("parse error");return n}),Mm=function(t,n){return function(e,r,i){arguments.length<3&&(i=r,r=null);var o=ym(e).mimeType(t);return o.row=function(t){return arguments.length?o.response(va(n,r=t)):r},o.row(r),i?o.get(i):o}},km=Mm("text/csv",Hd),Am=Mm("text/tab-separated-values",Gd),Em=Array.prototype,Cm=Em.map,Sm=Em.slice,Tm={name:"implicit"},Om=function(t){return function(){return t}},Nm=function(t){return+t},jm=[0,1],Pm=function(n,r,i){var o,a=n[0],u=n[n.length-1],c=e(a,u,null==r?10:r);switch(i=Pv(null==i?",f":i),i.type){case"s":var s=Math.max(Math.abs(a),Math.abs(u));return null!=i.precision||isNaN(o=zv(c,s))||(i.precision=o),t.formatPrefix(i,s);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=Uv(c,Math.max(Math.abs(a),Math.abs(u))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=Iv(c))||(i.precision=o-2*("%"===i.type))}return t.format(i)
case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:bc(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var uw=function t(n){function e(t){return n?new wc(t,n):new _c(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);Mc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:bc(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var cw=function t(n){function e(t){return n?new Mc(t,n):new mc(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);kc.prototype={areaStart:Zx,areaEnd:Zx,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}};var sw=function(t){return new kc(t)};Tc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Sc(this,this._t0,Cc(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(t=+t,n=+n,t!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Sc(this,Cc(this,e=Ec(this,t,n)),e);break;default:Sc(this,this._t0,e=Ec(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(Oc.prototype=Object.create(Tc.prototype)).point=function(t,n){Tc.prototype.point.call(this,n,t)},Nc.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},$c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=Rc(t),i=Rc(n),o=0,a=1;a<e;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],n[a]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var fw=function(t){return new $c(t)};Lc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break
"ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},tr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},nr={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},er={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rr=parseFloat,ir=parseInt,or="object"==typeof t&&t&&t.Object===Object&&t,ar="object"==typeof self&&self&&self.Object===Object&&self,ur=or||ar||Function("return this")(),cr="object"==typeof n&&n&&!n.nodeType&&n,sr=cr&&"object"==typeof r&&r&&!r.nodeType&&r,fr=sr&&sr.exports===cr,lr=fr&&or.process,hr=function(){try{return lr&&lr.binding&&lr.binding("util")}catch(t){}}(),pr=hr&&hr.isArrayBuffer,dr=hr&&hr.isDate,vr=hr&&hr.isMap,gr=hr&&hr.isRegExp,yr=hr&&hr.isSet,_r=hr&&hr.isTypedArray,mr=S("length"),br=T(Qe),xr=T(tr),wr=T(nr),Mr=function t(n){function e(t){if(sc(t)&&!xh(t)&&!(t instanceof b)){if(t instanceof i)return t;if(xf.call(t,"__wrapped__"))return aa(t)}return new i(t)}function r(){}function i(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=it}function b(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=zt,this.__views__=[]}function T(){var t=new b(this.__wrapped__);return t.__actions__=Di(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Di(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Di(this.__views__),t}function K(){if(this.__filtered__){var t=new b(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function nt(){var t=this.__wrapped__.value(),n=this.__dir__,e=xh(t),r=n<0,i=e?t.length:0,o=Oo(0,i,this.__views__),a=o.start,u=o.end,c=u-a,s=r?u:a-1,f=this.__iteratees__,l=f.length,h=0,p=Kf(c,this.__takeCount__);if(!e||!r&&i==c&&p==c)return xi(t,this.__actions__);var d=[];t:for(;c--&&h<p;){s+=n;for(var v=-1,g=t[s];++v<l;){var y=f[v],_=y.iteratee,m=y.type,b=_(g);if(m==jt)g=b;else if(!b){if(m==Nt)continue t;break t}}d[h++]=g}return d}function et(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Hn(){this.__data__=ul?ul(null):{},this.size=0}function ee(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}function re(t){var n=this.__data__;if(ul){var e=n[t];return e===st?it:e}return xf.call(n,t)?n[t]:it}function ie(t){var n=this.__data__;return ul?n[t]!==it:xf.call(n,t)}function oe(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=ul&&n===it?st:n,this}function ae(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function ue(){this.__data__=[],this.size=0}function ce(t){var n=this.__data__,e=Pe(n,t);if(e<0)return!1;var r=n.length-1;return e==r?n.pop():Rf.call(n,e,1),--this.size,!0}function se(t){var n=this.__data__,e=Pe(n,t);return e<0?it:n[e][1]}function fe(t){return Pe(this.__data__,t)>-1}function le(t,n){var e=this.__data__,r=Pe(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this}function he(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function pe(){this.size=0,this.__data__={hash:new et,map:new(rl||ae),string:new et}}function de(t){var n=Eo(this,t).delete(t);return this.size-=n?1:0,n}function ve(t){return Eo(this,t).get(t)}function ge(t){return Eo(this,t).has(t)}function ye(t,n){var e=Eo(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this}function _e(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new he;++n<e;)this.add(t[n])}function me(t){return this._
8 years ago
value:n}}function au(){return this}function uu(t){for(var n,e=this;e instanceof r;){var i=aa(e);i.__index__=0,i.__values__=it,n?o.__wrapped__=i:n=i;var o=i;e=e.__wrapped__}return o.__wrapped__=t,n}function cu(){var t=this.__wrapped__;if(t instanceof b){var n=t;return this.__actions__.length&&(n=new b(this)),n=n.reverse(),n.__actions__.push({func:eu,args:[ja],thisArg:it}),new i(n,this.__chain__)}return this.thru(ja)}function su(){return xi(this.__wrapped__,this.__actions__)}function fu(t,n,e){var r=xh(t)?l:Ve;return e&&Uo(t,n,e)&&(n=it),r(t,Ao(n,3))}function lu(t,n){var e=xh(t)?h:tr;return e(t,Ao(n,3))}function hu(t,n){return nr(_u(t,n),1)}function pu(t,n){return nr(_u(t,n),$t)}function du(t,n,e){return e=e===it?1:Ec(e),nr(_u(t,n),e)}function vu(t,n){var e=xh(t)?s:ml;return e(t,Ao(n,3))}function gu(t,n){var e=xh(t)?f:bl;return e(t,Ao(n,3))}function yu(t,n,e,r){t=Ju(t)?t:rs(t),e=e&&!r?Ec(e):0;var i=t.length;return e<0&&(e=Jf(i+e,0)),mc(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&k(t,n,e)>-1}function _u(t,n){var e=xh(t)?v:Hr;return e(t,Ao(n,3))}function mu(t,n,e,r){return null==t?[]:(xh(n)||(n=null==n?[]:[n]),e=r?it:e,xh(e)||(e=null==e?[]:[e]),Jr(t,n,e))}function bu(t,n,e){var r=xh(t)?y:O,i=arguments.length<3;return r(t,Ao(n,4),e,i,ml)}function xu(t,n,e){var r=xh(t)?_:O,i=arguments.length<3;return r(t,Ao(n,4),e,i,bl)}function wu(t,n){var e=xh(t)?h:tr;return e(t,Lu(Ao(n,3)))}function Mu(t){var n=xh(t)?Se:ai;return n(t)}function ku(t,n,e){n=(e?Uo(t,n,e):n===it)?1:Ec(n);var r=xh(t)?Te:ui;return r(t,n)}function Au(t){var n=xh(t)?Oe:si;return n(t)}function Eu(t){if(null==t)return 0;if(Ju(t))return mc(t)?Q(t):t.length;var n=Nl(t);return n==Kt||n==on?t.size:qr(t).length}function Cu(t,n,e){var r=xh(t)?m:li;return e&&Uo(t,n,e)&&(n=it),r(t,Ao(n,3))}function Su(t,n){if("function"!=typeof n)throw new vf(ct);return t=Ec(t),function(){if(--t<1)return n.apply(this,arguments)}}function Tu(t,n,e){return n=e?it:n,n=t&&null==n?t.length:n,ho(t,kt,it,it,it,it,n)}function Ou(t,n){var e;if("function"!=typeof n)throw new vf(ct);return t=Ec(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=it),e}}function Nu(t,n,e){n=e?it:n;var r=ho(t,bt,it,it,it,it,it,n);return r.placeholder=Nu.placeholder,r}function ju(t,n,e){n=e?it:n;var r=ho(t,xt,it,it,it,it,it,n);return r.placeholder=ju.placeholder,r}function Pu(t,n,e){function r(n){var e=h,r=p;return h=p=it,_=n,v=t.apply(r,e)}function i(t){return _=t,g=$l(u,n),m?r(t):v}function o(t){var e=t-y,r=t-_,i=n-e;return b?Kf(i,d-r):i}function a(t){var e=t-y,r=t-_;return y===it||e>=n||e<0||b&&r>=d}function u(){var t=sh();return a(t)?c(t):void(g=$l(u,o(t)))}function c(t){return g=it,x&&h?r(t):(h=p=it,v)}function s(){g!==it&&El(g),_=0,h=y=p=g=it}function f(){return g===it?v:c(sh())}function l(){var t=sh(),e=a(t);if(h=arguments,p=this,y=t,e){if(g===it)return i(y);if(b)return g=$l(u,n),r(y)}return g===it&&(g=$l(u,n)),v}var h,p,d,v,g,y,_=0,m=!1,b=!1,x=!0;if("function"!=typeof t)throw new vf(ct);return n=Sc(n)||0,cc(e)&&(m=!!e.leading,b="maxWait"in e,d=b?Jf(Sc(e.maxWait)||0,n):d,x="trailing"in e?!!e.trailing:x),l.cancel=s,l.flush=f,l}function $u(t){return ho(t,Et)}function Ru(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new vf(ct);var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return e.cache=o.set(i,a)||o,a};return e.cache=new(Ru.Cache||he),e}function Lu(t){if("function"!=typeof t)throw new vf(ct);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}function Iu(t){return Ou(2,t)}function zu(t,n){if("function"!=typeof t)throw new vf(ct);return n=n===it?n:Ec(n),oi(t,n)}function Uu(t,n){if("function"!=typeof t)throw new vf(ct);return n=null==n?0:Jf(Ec(n),0),oi(function(e){var r=e[n],i=Ci(e,0,n);return r&&g(i,r),u(t,this,i)})}function Du(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new vf(ct);return cc(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Pu(
8 years ago
p&&(e=n);for(s in e)f=!h&&b&&void 0!==b[s],f&&s in _||(l=f?b[s]:e[s],_[s]=p&&"function"!=typeof b[s]?e[s]:g&&f?o(l,r):y&&b[s]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n[u]=t[u],n}(l):v&&"function"==typeof l?o(Function.call,l):l,v&&((_.virtual||(_.virtual={}))[s]=l,t&c.R&&m&&!m[s]&&a(m,s,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports={}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(29)("keys"),i=e(33);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){"use strict";function r(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}function i(t,n){var e=r(t);return function(r,i){return n(e(r),i,t)}}function o(t){var n=Object.create(null),e=[];return t.forEach(function(t){for(var r in t)r in n||e.push(n[r]=r)}),e}n.a=function(t){function n(t,n){var o,a,u=e(t,function(t,e){return o?o(t,e-1):(a=t,void(o=n?i(t,n):r(t)))});return u.columns=a,u}function e(t,n){function e(){if(s>=c)return a;if(i)return i=!1,o;var n,e=s;if(34===t.charCodeAt(e)){for(var r=e;r++<c;)if(34===t.charCodeAt(r)){if(34!==t.charCodeAt(r+1))break;++r}return s=r+2,n=t.charCodeAt(r+1),13===n?(i=!0,10===t.charCodeAt(r+2)&&++s):10===n&&(i=!0),t.slice(e+1,r).replace(/""/g,'"')}for(;s<c;){var u=1;if(n=t.charCodeAt(s++),10===n)i=!0;else if(13===n)i=!0,10===t.charCodeAt(s)&&(++s,++u);else if(n!==l)continue;return t.slice(e,s-u)}return t.slice(e)}for(var r,i,o={},a={},u=[],c=t.length,s=0,f=0;(r=e())!==a;){for(var h=[];r!==o&&r!==a;)h.push(r),r=e();n&&null==(h=n(h,f++))||u.push(h)}return u}function a(n,e){return null==e&&(e=o(n)),[e.map(s).join(t)].concat(n.map(function(n){return e.map(function(t){return s(n[t])}).join(t)})).join("\n")}function u(t){return t.map(c).join("\n")}function c(n){return n.map(s).join(t)}function s(t){return null==t?"":f.test(t+="")?'"'+t.replace(/\"/g,'""')+'"':t}var f=new RegExp('["'+t+"\n]"),l=t.charCodeAt(0);return{parse:n,parseRows:e,format:a,formatRows:u}}},function(t,n,e){"use strict";(function(n){/*!
* Vue.js v2.1.10
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
function e(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function r(t){var n=parseFloat(t);return isNaN(n)?t:n}function i(t,n){for(var e=Object.create(null),r=t.split(","),i=0;i<r.length;i++)e[r[i]]=!0;return n?function(t){return e[t.toLowerCase()]}:function(t){return e[t]}}function o(t,n){if(t.length){var e=t.indexOf(n);if(e>-1)return t.splice(e,1)}}function a(t,n){return ai.call(t,n)}function u(t){return"string"==typeof t||"number"==typeof t}function c(t){var n=Object.create(null);return function(e){var r=n[e];return r||(n[e]=t(e))}}function s(t,n){function e(e){var r=arguments.length;return r?r>1?t.apply(n,arguments):t.call(n,e):t.call(n)}return e._length=t.length,e}function f(t,n){n=n||0;for(var e=t.length-n,r=new Array(e);e--;)r[e]=t[e+n];return r}function l(t,n){for(var e in n)t[e]=n[e];return t}function h(t){return null!==t&&"object"==typeof t}function p(t){return hi.call(t)===pi}function d(t){for(var n={},e=0;e<t.length;e++)t[e]&&l(n,t[e]);return n}function v(){}function g(t){return t.reduce(function(t,n){return t.concat(n.staticKeys||[])},[]).join(",")}function y(t,n){var e=h(t),r=h(n);return e&&r?JSON.stringify(t)===JSON.stringify(n):!e&&!r&&String(t)===String(n)}function _(t,n){for(var e=0;e<t.length;e++)if(y(t[e],n))return e;return-1}function m(t){var n=(t+"").charCodeAt(0);return 36===n||95===n}function b(t,n,e,r){Object.defineProperty(t,n,{value:e,enumerable:!!r,writable:!0,configurable:!0})}function x(t){if(!yi.test(t)){var n=t.split(".");return function(t){for(var e=0;e<n.length;e++){if(!t)return;t=t[n[e]]}return t}}}function w(t){return/native code/.test(t.toString())}function M(t){ji.target&&Pi.push(ji.target),ji.target=t}function k(){ji.target=Pi.pop()}function A(t,n){t.__proto__=n}function E(t,n,e){for(var r=0,i=e.length;r<i;r++){var o=e[r];b(t,o,n[o])}}function C(t,n){if(h(t)){var e;return a(t,"__ob__")&&t.__ob__ instanceof zi?e=t.__ob__:Ii.shouldConvert&&!Ei()&&(Array.isArray(t)||p(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new zi(t)),n&&e&&e.vmCount++,e}}function S(t,n,e,r){var i=new ji,o=Object.getOwnPropertyDescriptor(t,n);if(!o||o.configurable!==!1){var a=o&&o.get,u=o&&o.set,c=C(e);Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var n=a?a.call(t):e;return ji.target&&(i.depend(),c&&c.dep.depend(),Array.isArray(n)&&N(n)),n},set:function(n){var r=a?a.call(t):e;n===r||n!==n&&r!==r||(u?u.call(t,n):e=n,c=C(n),i.notify())}})}}function T(t,n,e){if(Array.isArray(t))return t.length=Math.max(t.length,n),t.splice(n,1,e),e;if(a(t,n))return void(t[n]=e);var r=t.__ob__;if(!(t._isVue||r&&r.vmCount))return r?(S(r.value,n,e),r.dep.notify(),e):void(t[n]=e)}function O(t,n){var e=t.__ob__;t._isVue||e&&e.vmCount||a(t,n)&&(delete t[n],e&&e.dep.notify())}function N(t){for(var n=void 0,e=0,r=t.length;e<r;e++)n=t[e],n&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&N(n)}function j(t,n){if(!n)return t;for(var e,r,i,o=Object.keys(n),u=0;u<o.length;u++)e=o[u],r=t[e],i=n[e],a(t,e)?p(r)&&p(i)&&j(r,i):T(t,e,i);return t}function P(t,n){return n?t?t.concat(n):Array.isArray(n)?n:[n]:t}function $(t,n){var e=Object.create(t||null);return n?l(e,n):e}function R(t){var n=t.props;if(n){var e,r,i,o={};if(Array.isArray(n))for(e=n.length;e--;)r=n[e],"string"==typeof r&&(i=ci(r),o[i]={type:null});else if(p(n))for(var a in n)r=n[a],i=ci(a),o[i]=p(r)?r:{type:r};t.props=o}}function L(t){var n=t.directives;if(n)for(var e in n){var r=n[e];"function"==typeof r&&(n[e]={bind:r,update:r})}}function I(t,n,e){function r(r){var i=Ui[r]||Di;f[r]=i(t[r],n[r],e,r)}R(n),L(n);var i=n.extends;if(i&&(t="function"==typeof i?I(t,i.options,e):I(t,i,e)),n.mixins)for(var o=0,u=n.mixins.length;o<u;o++){var c=n.mixins[o];c.prototype instanceof Bt&&(c=c.options),t=I(t,c,e)}var s,f={};for(s in t)r(s);for(s in n)a(t,s)||r(s);return f}function z(t,n,e,r){if("string"==typeof e){var i=t[n];if(a(i,e))return i[e];var o=ci(e);if(a(i,o))return i[o];var u=si(o);if(a(i,u))return i[u];var c=i[e]||i[o]||i[u];return c}}function U(t,n,e,r){var i=n[t],o=!a(e,t),u=e[t];if(F(Boolean,i.type)&&(o&&!a(i,"default")?u=!1:F(String,i.
e._leaveCb());var r=ee(t.data.transition);if(r&&!e._enterCb&&1===e.nodeType){for(var i=r.css,o=r.type,a=r.enterClass,u=r.enterToClass,c=r.enterActiveClass,s=r.appearClass,f=r.appearToClass,l=r.appearActiveClass,h=r.beforeEnter,p=r.enter,d=r.afterEnter,v=r.enterCancelled,g=r.beforeAppear,y=r.appear,_=r.afterAppear,m=r.appearCancelled,b=Ki,x=Ki.$vnode;x&&x.parent;)x=x.parent,b=x.context;var w=!b._isMounted||!t.isRootInsert;if(!w||y||""===y){var M=w?s:a,k=w?l:c,A=w?f:u,E=w?g||h:h,C=w&&"function"==typeof y?y:p,S=w?_||d:d,T=w?m||v:v,O=i!==!1&&!wi,N=C&&(C._length||C.length)>1,j=e._enterCb=re(function(){O&&(Gn(e,A),Gn(e,k)),j.cancelled?(O&&Gn(e,M),T&&T(e)):S&&S(e),e._enterCb=null});t.data.show||it(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),C&&C(e,j)},"transition-insert"),E&&E(e),O&&(Xn(e,M),Xn(e,k),Vn(function(){Xn(e,A),Gn(e,M),j.cancelled||N||Jn(e,o,j)})),t.data.show&&(n&&n(),C&&C(e,j)),O||N||j()}}}function ne(t,n){function e(){y.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),v&&(Xn(r,u),Xn(r,s),Vn(function(){Xn(r,c),Gn(r,u),y.cancelled||g||Jn(r,a,y)})),l&&l(r,y),v||g||y())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=ee(t.data.transition);if(!i)return n();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,u=i.leaveClass,c=i.leaveToClass,s=i.leaveActiveClass,f=i.beforeLeave,l=i.leave,h=i.afterLeave,p=i.leaveCancelled,d=i.delayLeave,v=o!==!1&&!wi,g=l&&(l._length||l.length)>1,y=r._leaveCb=re(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&(Gn(r,c),Gn(r,s)),y.cancelled?(v&&Gn(r,u),p&&p(r)):(n(),h&&h(r)),r._leaveCb=null});d?d(e):e()}}function ee(t){if(t){if("object"==typeof t){var n={};return t.css!==!1&&l(n,na(t.name||"v")),l(n,t),n}return"string"==typeof t?na(t):void 0}}function re(t){var n=!1;return function(){n||(n=!0,t())}}function ie(t,n){n.data.show||te(n)}function oe(t,n,e){var r=n.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,u=0,c=t.options.length;u<c;u++)if(a=t.options[u],i)o=_(r,ue(a))>-1,a.selected!==o&&(a.selected=o);else if(y(ue(a),r))return void(t.selectedIndex!==u&&(t.selectedIndex=u));i||(t.selectedIndex=-1)}}function ae(t,n){for(var e=0,r=n.length;e<r;e++)if(y(ue(n[e]),t))return!1;return!0}function ue(t){return"_value"in t?t._value:t.value}function ce(t){t.target.composing=!0}function se(t){t.target.composing=!1,fe(t.target,"input")}function fe(t,n){var e=document.createEvent("HTMLEvents");e.initEvent(n,!0,!0),t.dispatchEvent(e)}function le(t){return!t.componentInstance||t.data&&t.data.transition?t:le(t.componentInstance._vnode)}function he(t){var n=t&&t.componentOptions;return n&&n.Ctor.options.abstract?he(ft(n.children)):t}function pe(t){var n={},e=t.$options;for(var r in e.propsData)n[r]=t[r];var i=e._parentListeners;for(var o in i)n[ci(o)]=i[o].fn;return n}function de(t,n){return/\d-keep-alive$/.test(n.tag)?t("keep-alive"):null}function ve(t){for(;t=t.parent;)if(t.data.transition)return!0}function ge(t,n){return n.key===t.key&&n.tag===t.tag}function ye(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function _e(t){t.data.newPos=t.elm.getBoundingClientRect()}function me(t){var n=t.data.pos,e=t.data.newPos,r=n.left-e.left,i=n.top-e.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function be(t,n){var e=document.createElement("div");return e.innerHTML='<div a="'+t+'">',e.innerHTML.indexOf(n)>0}function xe(t){return da=da||document.createElement("div"),da.innerHTML=t,da.textContent}function we(t,n){return n&&(t=t.replace(uu,"\n")),t.replace(ou,"<").replace(au,">").replace(cu,"&").replace(su,'"')}function Me(t,n){function e(n){l+=n,t=t.substring(n)}function r(){var n=t.match(Aa);if(n){var r={tagName:n[1],attrs:[],start:l};e(n[0].length);for(var i,o;!(i=t.match(Ea))&&(o=t.match(wa));)e(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],e(i[0].length),r.end=l,r}}function i(
8 years ago
update:Pn},Io={create:Ln,update:Ln},zo={create:In,update:In},Uo=c(function(t){var n={},e=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(e).forEach(function(t){if(t){var e=t.split(r);e.length>1&&(n[e[0].trim()]=e[1].trim())}}),n}),Do=/^--/,qo=/\s*!important$/,Fo=function(t,n,e){Do.test(n)?t.style.setProperty(n,e):qo.test(e)?t.style.setProperty(n,e.replace(qo,""),"important"):t.style[Ho(n)]=e},Bo=["Webkit","Moz","ms"],Ho=c(function(t){if(ho=ho||document.createElement("div"),t=ci(t),"filter"!==t&&t in ho.style)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),e=0;e<Bo.length;e++){var r=Bo[e]+n;if(r in ho.style)return r}}),Wo={create:Hn,update:Hn},Yo=mi&&!wi,Vo="transition",Xo="animation",Go="transition",Jo="transitionend",Ko="animation",Zo="animationend";Yo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Go="WebkitTransition",Jo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ko="WebkitAnimation",Zo="webkitAnimationEnd"));var Qo=mi&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,ta=/\b(transform|all)(,|$)/,na=c(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",appearClass:t+"-enter",enterToClass:t+"-enter-to",leaveToClass:t+"-leave-to",appearToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active",appearActiveClass:t+"-enter-active"}}),ea=mi?{create:ie,activate:ie,remove:function(t,n){t.data.show?n():ne(t,n)}}:{},ra=[Ro,Lo,Io,zo,Wo,ea],ia=ra.concat($o),oa=An({nodeOps:So,modules:ia});wi&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&fe(t,"input")});var aa={inserted:function(t,n,e){if("select"===e.tag){var r=function(){oe(t,n,e.context)};r(),(xi||Mi)&&setTimeout(r,0)}else"textarea"!==e.tag&&"text"!==t.type||(t._vModifiers=n.modifiers,n.modifiers.lazy||(ki||(t.addEventListener("compositionstart",ce),t.addEventListener("compositionend",se)),wi&&(t.vmodel=!0)))},componentUpdated:function(t,n,e){if("select"===e.tag){oe(t,n,e.context);var r=t.multiple?n.value.some(function(n){return ae(n,t.options)}):n.value!==n.oldValue&&ae(n.value,t.options);r&&fe(t,"change")}}},ua={bind:function(t,n,e){var r=n.value;e=le(e);var i=e.data&&e.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i&&!wi?(e.data.show=!0,te(e,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,n,e){var r=n.value,i=n.oldValue;if(r!==i){e=le(e);var o=e.data&&e.data.transition;o&&!wi?(e.data.show=!0,r?te(e,function(){t.style.display=t.__vOriginalDisplay}):ne(e,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,n,e,r,i){i||(t.style.display=t.__vOriginalDisplay)}},ca={model:aa,show:ua},sa={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String},fa={name:"transition",props:sa,abstract:!0,render:function(t){var n=this,e=this.$slots.default;if(e&&(e=e.filter(function(t){return t.tag}),e.length)){var r=this.mode,i=e[0];if(ve(this.$vnode))return i;var o=he(i);if(!o)return i;if(this._leaving)return de(t,i);var a="__transition-"+this._uid+"-",c=o.key=null==o.key?a+o.tag:u(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key,s=(o.data||(o.data={})).transition=pe(this),f=this._vnode,h=he(f);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),h&&h.data&&!ge(o,h)){var p=h&&(h.data.transition=l({},s));if("out-in"===r)return this._leaving=!0,it(p,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()},c),de(t,i);if("in-out"===r){var d,v=function(){d()};it(s,"afterEnter",v,c),it(s,"enterCancelled",v,c),it(p,"delayLeave",function(t){d=t},c)}}return i}}},la=l({tag:String,moveClass:String},sa);delete la.mode;var ha={props:la,render:function(t){for(var n=this.tag||this.$vnode.data.tag||"span",e=Object.create(null),r=this.prevChildren=t
8 years ago
* vue-resource v1.2.1
* https://github.com/pagekit/vue-resource
* Released under the MIT License.
*/
8 years ago
var H=0,W=1,Y=2;r.reject=function(t){return new r(function(n,e){e(t)})},r.resolve=function(t){return new r(function(n,e){n(t)})},r.all=function(t){return new r(function(n,e){function i(e){return function(r){a[e]=r,o+=1,o===t.length&&n(a)}}var o=0,a=[];0===t.length&&n(a);for(var u=0;u<t.length;u+=1)r.resolve(t[u]).then(i(u),e)})},r.race=function(t){return new r(function(n,e){for(var i=0;i<t.length;i+=1)r.resolve(t[i]).then(n,e)})};var V=r.prototype;V.resolve=function(t){var n=this;if(n.state===Y){if(t===n)throw new TypeError("Promise settled with itself.");var e=!1;try{var r=t&&t.then;if(null!==t&&"object"==typeof t&&"function"==typeof r)return void r.call(t,function(t){e||n.resolve(t),e=!0},function(t){e||n.reject(t),e=!0})}catch(t){return void(e||n.reject(t))}n.state=H,n.value=t,n.notify()}},V.reject=function(t){var n=this;if(n.state===Y){if(t===n)throw new TypeError("Promise settled with itself.");n.state=W,n.value=t,n.notify()}},V.notify=function(){var t=this;u(function(){if(t.state!==Y)for(;t.deferred.length;){var n=t.deferred.shift(),e=n[0],r=n[1],i=n[2],o=n[3];try{t.state===H?i("function"==typeof e?e.call(void 0,t.value):t.value):t.state===W&&("function"==typeof r?i(r.call(void 0,t.value)):o(t.value))}catch(t){o(t)}}})},V.then=function(t,n){var e=this;return new r(function(r,i){e.deferred.push([t,n,r,i]),e.notify()})},V.catch=function(t){return this.then(void 0,t)},"undefined"==typeof Promise&&(window.Promise=r),i.all=function(t,n){return new i(Promise.all(t),n)},i.resolve=function(t,n){return new i(Promise.resolve(t),n)},i.reject=function(t,n){return new i(Promise.reject(t),n)},i.race=function(t,n){return new i(Promise.race(t),n)};var X=i.prototype;X.bind=function(t){return this.context=t,this},X.then=function(t,n){return t&&t.bind&&this.context&&(t=t.bind(this.context)),n&&n.bind&&this.context&&(n=n.bind(this.context)),new i(this.promise.then(t,n),this.context)},X.catch=function(t){return t&&t.bind&&this.context&&(t=t.bind(this.context)),new i(this.promise.catch(t),this.context)},X.finally=function(t){return this.then(function(n){return t.call(this),n},function(n){return t.call(this),Promise.reject(n)})};var G,J={},K=J.hasOwnProperty,Z=[],Q=Z.slice,tt=!1,nt="undefined"!=typeof window,et=function(t){var n=t.config,e=t.nextTick;G=e,tt=n.debug||!n.silent},rt=Array.isArray,it=Object.assign||w,ot=function(t,n){var e=n(t);return l(t.root)&&!e.match(/^(https?:)?\//)&&(e=t.root+"/"+e),e},at=function(t,n){var e=Object.keys(N.options.params),r={},i=n(t);return m(t.params,function(t,n){e.indexOf(n)===-1&&(r[n]=t)}),r=N.params(r),r&&(i+=(i.indexOf("?")==-1?"?":"&")+r),i},ut=function(t){var n=[],e=k(t.url,t.params,n);return n.forEach(function(n){delete t.params[n]}),e};N.options={url:"",root:null,params:{}},N.transforms=[ut,at,ot],N.params=function(t){var n=[],e=encodeURIComponent;return n.add=function(t,n){h(n)&&(n=n()),null===n&&(n=""),this.push(e(t)+"="+e(n))},P(n,t),n.join("&").replace(/%20/g,"+")},N.parse=function(t){var n=document.createElement("a");return document.documentMode&&(n.href=t,t=n.href),n.href=t,{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",port:n.port,host:n.host,hostname:n.hostname,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):""}};var ct=function(t){return new i(function(n){var e=new XDomainRequest,r=function(r){var i=r.type,o=0;"load"===i?o=200:"error"===i&&(o=500),n(t.respondWith(e.responseText,{status:o}))};t.abort=function(){return e.abort()},e.open(t.method,t.getUrl()),t.timeout&&(e.timeout=t.timeout),e.onload=r,e.onabort=r,e.onerror=r,e.ontimeout=r,e.onprogress=function(){},e.send(t.getBody())})},st=nt&&"withCredentials"in new XMLHttpRequest,ft=function(t,n){if(nt){var e=N.parse(location.href),r=N.parse(t.getUrl());r.protocol===e.protocol&&r.host===e.host||(t.crossOrigin=!0,t.emulateHTTP=!1,st||(t.client=ct))}n()},lt=function(t,n){g(t.body)?t.headers.delete("Content-Type"):(p(t.body)||rt(t.body))&&(t.emulateJSON?(t.body=N.params(t.body),t.headers.set("Content-Type","application/x-www-
type:"FeatureCollection",features:n.geometries.map(function(n){return l(t,n)})}:l(t,n)},K=function(t,n){function e(n){var e,r=t.arcs[n<0?~n:n],i=r[0];return t.transform?(e=[0,0],r.forEach(function(t){e[0]+=t[0],e[1]+=t[1]})):e=r[r.length-1],n<0?[e,i]:[i,e]}function r(t,n){for(var e in t){var r=t[e];delete n[r.start],delete r.start,delete r.end,r.forEach(function(t){i[t<0?~t:t]=1}),u.push(r)}}var i={},o={},a={},u=[],c=-1;return n.forEach(function(e,r){var i,o=t.arcs[e<0?~e:e];o.length<3&&!o[1][0]&&!o[1][1]&&(i=n[++c],n[c]=e,n[r]=i)}),n.forEach(function(t){var n,r,i=e(t),u=i[0],c=i[1];if(n=a[u])if(delete a[n.end],n.push(t),n.end=c,r=o[c]){delete o[r.start];var s=r===n?n:n.concat(r);o[s.start=n.start]=a[s.end=r.end]=s}else o[n.start]=a[n.end]=n;else if(n=o[c])if(delete o[n.start],n.unshift(t),n.start=u,r=a[u]){delete a[r.end];var f=r===n?n:r.concat(n);o[f.start=r.start]=a[f.end=n.end]=f}else o[n.start]=a[n.end]=n;else n=[t],o[n.start=u]=a[n.end=c]=n}),r(a,o),r(o,a),n.forEach(function(t){i[t<0?~t:t]||u.push([t])}),u},Z=function(t){return h(t,p.apply(this,arguments))},Q=function(t){return h(t,g.apply(this,arguments))},tt=function(t,n){for(var e=0,r=t.length;e<r;){var i=e+r>>>1;t[i]<n?e=i+1:r=i}return e},nt=function(t){function n(t,n){t.forEach(function(t){t<0&&(t=~t);var e=i[t];e?e.push(n):i[t]=[n]})}function e(t,e){t.forEach(function(t){n(t,e)})}function r(t,n){"GeometryCollection"===t.type?t.geometries.forEach(function(t){r(t,n)}):t.type in a&&a[t.type](t.arcs,n)}var i={},o=t.map(function(){return[]}),a={LineString:n,MultiLineString:e,Polygon:e,MultiPolygon:function(t,n){t.forEach(function(t){e(t,n)})}};t.forEach(r);for(var u in i)for(var c=i[u],s=c.length,f=0;f<s;++f)for(var l=f+1;l<s;++l){var h,p=c[f],d=c[l];(h=o[p])[u=tt(h,d)]!==d&&h.splice(u,0,d),(h=o[d])[u=tt(h,p)]!==p&&h.splice(u,0,p)}return o},et=function(t,n){function e(t){t[0]=Math.round((t[0]-a)/u),t[1]=Math.round((t[1]-c)/s)}function r(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(r);break;case"Point":e(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(e)}}if(!((n=Math.floor(n))>=2))throw new Error("n must be ≥2");if(t.transform)throw new Error("already quantized");var i,o=X(t),a=o[0],u=(o[2]-a)/(n-1)||1,c=o[1],s=(o[3]-c)/(n-1)||1;t.arcs.forEach(function(t){for(var n,e,r,i=1,o=1,f=t.length,l=t[0],h=l[0]=Math.round((l[0]-a)/u),p=l[1]=Math.round((l[1]-c)/s);i<f;++i)l=t[i],e=Math.round((l[0]-a)/u),r=Math.round((l[1]-c)/s),e===h&&r===p||(n=t[o++],n[0]=e-h,h=e,n[1]=r-p,p=r);o<2&&(n=t[o++],n[0]=0,n[1]=0),t.length=o});for(i in t.objects)r(t.objects[i]);return t.transform={scale:[u,s],translate:[a,c]},t},rt=function(t){if(null==(n=t.transform))return Y;var n,e,r,i=n.scale[0],o=n.scale[1],a=n.translate[0],u=n.translate[1];return function(t,n){n||(e=r=0);var c=Math.round((t[0]-a)/i),s=Math.round((t[1]-u)/o);return t[0]=c-e,e=c,t[1]=s-r,r=s,t}},it=function(t,n,e){return n=null==n?Number.MIN_VALUE:+n,null==e&&(e=_),function(r,i){return e(J(t,{type:"Polygon",arcs:[r]}).geometry.coordinates[0],i)>=n}},ot=function(){function t(t,n){for(;n>0;){var e=(n+1>>1)-1,i=r[e];if(m(t,i)>=0)break;r[i._=n]=i,r[t._=n=e]=t}}function n(t,n){for(;;){var e=n+1<<1,o=e-1,a=n,u=r[a];if(o<i&&m(r[o],u)<0&&(u=r[a=o]),e<i&&m(r[e],u)<0&&(u=r[a=e]),a===n)break;r[u._=n]=u,r[t._=n=a]=t}}var e={},r=[],i=0;return e.push=function(n){return t(r[n._=i]=n,i++),i},e.pop=function(){if(!(i<=0)){var t,e=r[0];return--i>0&&(t=r[i],n(r[t._=0]=t,0)),e}},e.remove=function(e){var o,a=e._;if(r[a]===e)return a!==--i&&(o=r[i],(m(o,e)<0?t:n)(r[o._=a]=o,a)),a},e},at=function(t,n){function e(t){o.remove(t),t[1][2]=n(t),o.push(t)}var r=V(t),i=rt(t),o=ot();return null==n&&(n=y),t.arcs.forEach(function(t){var a,u,c,s=[],f=0;for(t.forEach(r),u=1,c=t.length-1;u<c;++u)a=t.slice(u-1,u+2),a[1][2]=n(a),s.push(a),o.push(a);for(t[0][2]=t[c][2]=1/0,u=0,c=s.length;u<c;++u)a=s[u],a.previous=s[u-1],a.next=s[u+1];for(;a=o.pop();){var l=a.previous,h=a.next;a[1][2]<f?a[1][2]=f:f=a[1][2],l&&(l.next=h,l[2]=a[2],e(l)),h&&(h.previous=l,h[0]=a[0],e(h))}t.forEach(i)}),t},ut=function(t,n){var e=[];return t.arcs.forEach(fu
//# sourceMappingURL=vendor.03b56a03b17565331709.js.map