diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 261eeb9..0000000 --- a/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/README.md b/README.md deleted file mode 100644 index f1e778b..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# topola-viewer -Topola Viewer – Genealogy interactive visualization diff --git a/asset-manifest.json b/asset-manifest.json index b280bcb..fce6cae 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,8 +1,8 @@ { "main.css": "static/css/main.9eaae163.css", "main.css.map": "static/css/main.9eaae163.css.map", - "main.js": "static/js/main.d76edb90.js", - "main.js.map": "static/js/main.d76edb90.js.map", + "main.js": "static/js/main.a2d6e72d.js", + "main.js.map": "static/js/main.a2d6e72d.js.map", "static/media/brand-icons.eot": "static/media/brand-icons.13db00b7.eot", "static/media/brand-icons.svg": "static/media/brand-icons.a1a749e8.svg", "static/media/brand-icons.ttf": "static/media/brand-icons.c5ebe0b3.ttf", diff --git a/index.html b/index.html index 9f68e70..46662f0 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
=s){var b=e?null:c(t);if(b)return u(b);p=!1,f=o,v=new r}else v=e?[]:h;t:for(;++l 1e-6)if(Math.abs(f*u-s*l)>1e-6&&a){var p=n-o,h=i-c,v=u*u+s*s,b=p*p+h*h,m=Math.sqrt(v),g=Math.sqrt(d),y=a*Math.tan((r-Math.acos((v+d-b)/(2*m*g)))/2),O=y/g,x=y/m;Math.abs(O-1)>1e-6&&(this._+="L"+(t+O*l)+","+(e+O*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>l*h)+","+(this._x1=t+x*u)+","+(this._y1=e+x*s)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,o,c,u){t=+t,e=+e;var s=(n=+n)*Math.cos(o),l=n*Math.sin(o),f=t+s,d=e+l,p=1^u,h=u?o-c:c-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+d:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-d)>1e-6)&&(this._+="L"+f+","+d),n&&(h<0&&(h=h%i+i),h>a?this._+="A"+n+","+n+",0,1,"+p+","+(t-s)+","+(e-l)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=d):h>1e-6&&(this._+="A"+n+","+n+",0,"+ +(h>=r)+","+p+","+(this._x1=t+n*Math.cos(c))+","+(this._y1=e+n*Math.sin(c))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.a=c},function(t,e,n){"use strict";var r=n(188);function i(){return{}}function a(t,e,n){t[e]=n}function o(){return Object(r.a)()}function c(t,e,n){t.set(e,n)}e.a=function(){var t,e,n,u=[],s=[];function l(n,i,a,o){if(i>=u.length)return null!=t&&n.sort(t),null!=e?e(n):n;for(var c,s,f,d=-1,p=n.length,h=u[i++],v=Object(r.a)(),b=a();++d u.length)return n;var i,a=s[r-1];return null!=e&&r>=u.length?i=n.entries():(i=[],n.each(function(e,n){i.push({key:n,values:t(e,r)})})),null!=a?i.sort(function(t,e){return a(t.key,e.key)}):i}(l(t,0,o,c),0)},key:function(t){return u.push(t),n},sortKeys:function(t){return s[u.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}}},function(t,e,n){"use strict";var r=n(188);function i(){}var a=r.a.prototype;function o(t,e){var n=new i;if(t instanceof i)t.each(function(t){n.add(t)});else if(t){var r=-1,a=t.length;if(null==e)for(;++rr!==h>r&&n<(p-l)*(r-f)/(h-f)+l&&(a=-a)}return a}function i(t,e,n){var r;return function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])===(n[0]-t[0])*(e[1]-t[1])}(t,e,n)&&function(t,e,n){return t<=e&&e<=n||n<=e&&e<=t}(t[r=+(t[0]===e[0])],n[r],e[r])}e.a=function(t,e){for(var n,i=-1,a=e.length;++i>h,m=d+2*v>>h,g=Object(o.a)(20);function y(i){var o=new Float32Array(b*m),u=new Float32Array(b*m);i.forEach(function(r,i,a){var c=+t(r,i,a)+v>>h,u=+e(r,i,a)+v>>h,s=+n(r,i,a);c>=0&&c=0&&u c)break;b.push(f)}}else for(;d =1;--s)if(!((f=u*s) 0?d*l:0)+O,b[a]={data:r[a],index:i,value:d,startAngle:m,endAngle:f,padAngle:y};return b}return l.value=function(e){return arguments.length?(t="function"===typeof e?e:Object(r.a)(+e),l):t},l.sortValues=function(t){return arguments.length?(e=t,n=null,l):e},l.sort=function(t){return arguments.length?(n=t,e=null,l):n},l.startAngle=function(t){return arguments.length?(c="function"===typeof t?t:Object(r.a)(+t),l):c},l.endAngle=function(t){return arguments.length?(u="function"===typeof t?t:Object(r.a)(+t),l):u},l.padAngle=function(t){return arguments.length?(s="function"===typeof t?t:Object(r.a)(+t),l):s},l}},function(t,e,n){"use strict";e.a=function(t,e){return ed?Math.pow(t,1/3):t/f+s}function m(t){return t>l?t*t*t:f*(t-s)}function g(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function y(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function O(t){if(t instanceof j)return new j(t.h,t.c,t.l,t.opacity);if(t instanceof v||(t=p(t)),0===t.a&&0===t.b)return new j(NaN,0,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*a.b;return new j(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function x(t,e,n,r){return 1===arguments.length?O(t):new j(t,e,n,null==r?1:r)}function j(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}Object(r.a)(v,h,Object(r.b)(i.a,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=o*m(e),t=c*m(t),n=u*m(n),new i.b(g(3.1338561*e-1.6168667*t-.4906146*n),g(-.9787684*e+1.9161415*t+.033454*n),g(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),Object(r.a)(j,x,Object(r.b)(i.a,{brighter:function(t){return new j(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new j(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return p(this).rgb()}}))},function(t,e,n){"use strict";e.a=h;var r=n(184),i=n(183),a=n(302),o=-.14861,c=1.78277,u=-.29227,s=-.90649,l=1.97294,f=l*s,d=l*c,p=c*u-s*o;function h(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var e=t.r/255,n=t.g/255,r=t.b/255,o=(p*r+f*e-d*n)/(p+f-d),c=r-o,h=(l*(n-o)-u*c)/s,b=Math.sqrt(h*h+c*c)/(l*o*(1-o)),m=b?Math.atan2(h,c)*a.b-120:NaN;return new v(m<0?m+360:m,b,o,t.opacity)}(t):new v(t,e,n,null==r?1:r)}function v(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}Object(r.a)(v,h,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*a.a,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),f=Math.sin(t);return new i.b(255*(e+n*(o*r+c*f)),255*(e+n*(u*r+s*f)),255*(e+n*(l*r)),this.opacity)}}))},function(t,e,n){"use strict";e.a=function(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}},function(t,e,n){"use strict";var r=n(70);e.a=function(t,e){var n=Object(r.c)(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}}},function(t,e,n){"use strict";e.a=function(t,e){return e-=t=+t,function(n){return Math.round(t+e*n)}}},function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return c});var r=n(107),i=n(649);function a(t,e,n,i){function a(t){return t.length?t.pop()+" ":""}return function(o,c){var u=[],s=[];return o=t(o),c=t(c),function(t,i,a,o,c,u){if(t!==a||i!==o){var s=c.push("translate(",null,e,null,n);u.push({i:s-4,x:Object(r.a)(t,a)},{i:s-2,x:Object(r.a)(i,o)})}else(a||o)&&c.push("translate("+a+e+o+n)}(o.translateX,o.translateY,c.translateX,c.translateY,u,s),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(a(n)+"rotate(",null,i)-2,x:Object(r.a)(t,e)})):e&&n.push(a(n)+"rotate("+e+i)}(o.rotate,c.rotate,u,s),function(t,e,n,o){t!==e?o.push({i:n.push(a(n)+"skewX(",null,i)-2,x:Object(r.a)(t,e)}):e&&n.push(a(n)+"skewX("+e+i)}(o.skewX,c.skewX,u,s),function(t,e,n,i,o,c){if(t!==n||e!==i){var u=o.push(a(o)+"scale(",null,",",null,")");c.push({i:u-4,x:Object(r.a)(t,n)},{i:u-2,x:Object(r.a)(e,i)})}else 1===n&&1===i||o.push(a(o)+"scale("+n+","+i+")")}(o.scaleX,o.scaleY,c.scaleX,c.scaleY,u,s),o=c=null,function(t){for(var e,n=-1,r=s.length;++nt.r&&(t.r=t[e].r)}function d(){if(e){var r,i,a=e.length;for(n=new Array(a),r=0;r=(a=(v+m)/2))?v=a:m=a,(l=n>=(o=(b+g)/2))?b=o:g=o,i=p,!(p=p[f=l<<1|s]))return i[f]=h,t;if(c=+t._x.call(null,p.data),u=+t._y.call(null,p.data),e===c&&n===u)return h.next=p,i?i[f]=h:t._root=h,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(s=e>=(a=(v+m)/2))?v=a:m=a,(l=n>=(o=(b+g)/2))?b=o:g=o}while((f=l<<1|s)===(d=(u>=o)<<1|c>=a));return i[d]=p,i[f]=h,t}e.a=function(t){var e,n,i,a,o=t.length,c=new Array(o),u=new Array(o),s=1/0,l=1/0,f=-1/0,d=-1/0;for(n=0;nt||t>i||r>e||e>a))return this;var o,c,u=i-n,s=this._root;switch(c=(e<(r+a)/2)<<1|t<(n+i)/2){case 0:do{(o=new Array(4))[c]=s,s=o}while(a=r+(u*=2),t>(i=n+u)||e>a);break;case 1:do{(o=new Array(4))[c]=s,s=o}while(a=r+(u*=2),(n=i-u)>t||e>a);break;case 2:do{(o=new Array(4))[c]=s,s=o}while(r=a-(u*=2),t>(i=n+u)||r>e);break;case 3:do{(o=new Array(4))[c]=s,s=o}while(r=a-(u*=2),(n=i-u)>t||r>e)}this._root&&this._root.length&&(this._root=s)}return this._x0=n,this._y0=r,this._x1=i,this._y1=a,this}},function(t,e,n){"use strict";e.a=function(){var t=[];return this.visit(function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)}),t}},function(t,e,n){"use strict";e.a=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}},function(t,e,n){"use strict";var r=n(193);e.a=function(t,e,n){var i,a,o,c,u,s,l,f=this._x0,d=this._y0,p=this._x1,h=this._y1,v=[],b=this._root;for(b&&v.push(new r.a(b,f,d,p,h)),null==n?n=1/0:(f=t-n,d=e-n,p=t+n,h=e+n,n*=n);s=v.pop();)if(!(!(b=s.node)||(a=s.x0)>p||(o=s.y0)>h||(c=s.x1)0&&c>0&&(u+c+1>r&&(c=Math.max(1,r-u)),a.push(n.substring(i-=c,i+c)),!((u+=c+1)>r));)c=t[o=(o+1)%t.length];return a.reverse().join(e)}}},function(t,e,n){"use strict";e.a=function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}},function(t,e,n){"use strict";e.a=function(t){t:for(var e,n=t.length,r=1,i=-1;r0){if(o>l)return;o>s&&(s=o)}if(o=i-c,f||!(o<0)){if(o/=f,f<0){if(o>l)return;o>s&&(s=o)}else if(f>0){if(o0)){if(o/=d,d<0){if(o0){if(o>l)return;o>s&&(s=o)}if(o=a-u,d||!(o<0)){if(o/=d,d<0){if(o>l)return;o>s&&(s=o)}else if(d>0){if(o0&&(t[0]=c+s*f,t[1]=u+s*d),l<1&&(e[0]=c+l*f,e[1]=u+l*d),!0}}}}}},function(t,e,n){"use strict";var r=n(330),i=n(332),a=n(12),o={Feature:function(t,e){return u(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++ri.i}).map(d)).concat(Object(r.s)(Object(i.f)(s/m)*m,u,m).filter(function(t){return Object(i.a)(t%y)>i.i}).map(p))}return x.lines=function(){return j().map(function(t){return{type:"LineString",coordinates:t}})},x.outline=function(){return{type:"Polygon",coordinates:[h(c).concat(v(l).slice(1),h(n).reverse().slice(1),v(f).reverse().slice(1))]}},x.extent=function(t){return arguments.length?x.extentMajor(t).extentMinor(t):x.extentMinor()},x.extentMajor=function(t){return arguments.length?(c=+t[0][0],n=+t[1][0],f=+t[0][1],l=+t[1][1],c>n&&(t=c,c=n,n=t),f>l&&(t=f,f=l,l=t),x.precision(O)):[[c,f],[n,l]]},x.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],s=+n[0][1],u=+n[1][1],e>t&&(n=e,e=t,t=n),s>u&&(n=s,s=u,u=n),x.precision(O)):[[e,s],[t,u]]},x.step=function(t){return arguments.length?x.stepMajor(t).stepMinor(t):x.stepMinor()},x.stepMajor=function(t){return arguments.length?(g=+t[0],y=+t[1],x):[g,y]},x.stepMinor=function(t){return arguments.length?(b=+t[0],m=+t[1],x):[b,m]},x.precision=function(r){return arguments.length?(O=+r,d=a(s,u,90),p=o(e,t,O),h=a(f,l,90),v=o(c,n,O),x):O},x.extentMajor([[-180,-90+i.i],[180,90-i.i]]).extentMinor([[-180,-80-i.i],[180,80+i.i]])}},function(t,e,n){"use strict";var r=n(12);e.a=function(t,e){var n=t[0]*r.r,i=t[1]*r.r,a=e[0]*r.r,o=e[1]*r.r,c=Object(r.g)(i),u=Object(r.t)(i),s=Object(r.g)(o),l=Object(r.t)(o),f=c*Object(r.g)(n),d=c*Object(r.t)(n),p=s*Object(r.g)(a),h=s*Object(r.t)(a),v=2*Object(r.c)(Object(r.u)(Object(r.m)(o-i)+c*s*Object(r.m)(a-n))),b=Object(r.t)(v),m=v?function(t){var e=Object(r.t)(t*=v)/b,n=Object(r.t)(v-t)/b,i=n*f+e*p,a=n*d+e*h,o=n*u+e*l;return[Object(r.e)(a,i)*r.h,Object(r.e)(o,Object(r.u)(i*i+a*a))*r.h]}:function(){return[n*r.h,i*r.h]};return m.distance=v,m}},function(t,e,n){"use strict";var r=n(196),i=n(58),a=n(762),o=n(334),c=n(763),u=n(764),s=n(765),l=n(766);e.a=function(t,e){var n,f,d=4.5;function p(t){return t&&("function"===typeof d&&f.pointRadius(+d.apply(this,arguments)),Object(i.a)(t,n(f))),f.result()}return p.area=function(t){return Object(i.a)(t,n(a.a)),a.a.result()},p.measure=function(t){return Object(i.a)(t,n(s.a)),s.a.result()},p.bounds=function(t){return Object(i.a)(t,n(o.a)),o.a.result()},p.centroid=function(t){return Object(i.a)(t,n(c.a)),c.a.result()},p.projection=function(e){return arguments.length?(n=null==e?(t=null,r.a):(t=e).stream,p):t},p.context=function(t){return arguments.length?(f=null==t?(e=null,new l.a):new u.a(e=t),"function"!==typeof d&&f.pointRadius(d),p):e},p.pointRadius=function(t){return arguments.length?(d="function"===typeof t?t:(f.pointRadius(+t),+t),p):d},p.projection(t).context(e)}},function(t,e,n){"use strict";var r,i,a,o,c=n(72),u=n(12),s=n(51),l=Object(c.a)(),f=Object(c.a)(),d={point:s.a,lineStart:s.a,lineEnd:s.a,polygonStart:function(){d.lineStart=p,d.lineEnd=b},polygonEnd:function(){d.lineStart=d.lineEnd=d.point=s.a,l.add(Object(u.a)(f)),f.reset()},result:function(){var t=l/2;return l.reset(),t}};function p(){d.point=h}function h(t,e){d.point=v,r=a=t,i=o=e}function v(t,e){f.add(o*t-a*e),a=t,o=e}function b(){v(r,i)}e.a=d},function(t,e,n){"use strict";var r,i,a,o,c=n(12),u=0,s=0,l=0,f=0,d=0,p=0,h=0,v=0,b=0,m={point:g,lineStart:y,lineEnd:j,polygonStart:function(){m.lineStart=w,m.lineEnd=_},polygonEnd:function(){m.point=g,m.lineStart=y,m.lineEnd=j},result:function(){var t=b?[h/b,v/b]:p?[f/p,d/p]:l?[u/l,s/l]:[NaN,NaN];return u=s=l=f=d=p=h=v=b=0,t}};function g(t,e){u+=t,s+=e,++l}function y(){m.point=O}function O(t,e){m.point=x,g(a=t,o=e)}function x(t,e){var n=t-a,r=e-o,i=Object(c.u)(n*n+r*r);f+=i*(a+t)/2,d+=i*(o+e)/2,p+=i,g(a=t,o=e)}function j(){m.point=g}function w(){m.point=k}function _(){E(r,i)}function k(t,e){m.point=E,g(r=a=t,i=o=e)}function E(t,e){var n=t-a,r=e-o,i=Object(c.u)(n*n+r*r);f+=i*(a+t)/2,d+=i*(o+e)/2,p+=i,h+=(i=o*t-a*e)*(a+t),v+=i*(o+e),b+=3*i,g(a=t,o=e)}e.a=m},function(t,e,n){"use strict";e.a=a;var r=n(12),i=n(51);function a(t){this._context=t}a.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,r.w)}},result:i.a}},function(t,e,n){"use strict";var r,i,a,o,c,u=n(72),s=n(12),l=n(51),f=Object(u.a)(),d={point:l.a,lineStart:function(){d.point=p},lineEnd:function(){r&&h(i,a),d.point=l.a},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+f;return f.reset(),t}};function p(t,e){d.point=h,i=o=t,a=c=e}function h(t,e){o-=t,c-=e,f.add(Object(s.u)(o*o+c*c)),o=t,c=e}e.a=d},function(t,e,n){"use strict";function r(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}e.a=r,r.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},function(t,e,n){"use strict";var r=n(83),i=n(12),a=n(114),o=16,c=Object(i.g)(30*i.r);e.a=function(t,e){return+e?function(t,e){function n(r,a,o,u,s,l,f,d,p,h,v,b,m,g){var y=f-r,O=d-a,x=y*y+O*O;if(x>4*e&&m--){var j=u+h,w=s+v,_=l+b,k=Object(i.u)(j*j+w*w+_*_),E=Object(i.c)(_/=k),C=Object(i.a)(Object(i.a)(_)-1)0){for(var n,i,a,o=0,c=t[0].length;o=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a}},function(t,e,n){"use strict";var r=n(87);e.a=function(t,e){if((n=t.length)>0){for(var n,i=0,a=t[e[0]],o=a.length;i