From f860b5f03b2a40d10e626b6e1df504b62a0d8607 Mon Sep 17 00:00:00 2001 From: Serhat Seyren Date: Sat, 13 Feb 2021 20:13:43 +0300 Subject: [PATCH] Updates --- asset-manifest.json | 22 ++++++++++ favicon.ico | Bin 0 -> 3870 bytes index.html | 1 + manifest.json | 15 +++++++ ...nifest.5c2433b6e3affa0652115d26838f2e19.js | 26 +++++++++++ service-worker.js | 39 +++++++++++++++++ static/css/main.6aafbd27.chunk.css | 2 + static/css/main.6aafbd27.chunk.css.map | 1 + static/js/2.94514647.chunk.js | 3 ++ static/js/2.94514647.chunk.js.LICENSE.txt | 41 ++++++++++++++++++ static/js/2.94514647.chunk.js.map | 1 + static/js/main.610dc7ec.chunk.js | 2 + static/js/main.610dc7ec.chunk.js.map | 1 + static/js/runtime-main.2d1b3d35.js | 2 + static/js/runtime-main.2d1b3d35.js.map | 1 + 15 files changed, 157 insertions(+) create mode 100644 asset-manifest.json create mode 100644 favicon.ico create mode 100644 index.html create mode 100644 manifest.json create mode 100644 precache-manifest.5c2433b6e3affa0652115d26838f2e19.js create mode 100644 service-worker.js create mode 100644 static/css/main.6aafbd27.chunk.css create mode 100644 static/css/main.6aafbd27.chunk.css.map create mode 100644 static/js/2.94514647.chunk.js create mode 100644 static/js/2.94514647.chunk.js.LICENSE.txt create mode 100644 static/js/2.94514647.chunk.js.map create mode 100644 static/js/main.610dc7ec.chunk.js create mode 100644 static/js/main.610dc7ec.chunk.js.map create mode 100644 static/js/runtime-main.2d1b3d35.js create mode 100644 static/js/runtime-main.2d1b3d35.js.map diff --git a/asset-manifest.json b/asset-manifest.json new file mode 100644 index 0000000..1cf7a34 --- /dev/null +++ b/asset-manifest.json @@ -0,0 +1,22 @@ +{ + "files": { + "main.css": "./static/css/main.6aafbd27.chunk.css", + "main.js": "./static/js/main.610dc7ec.chunk.js", + "main.js.map": "./static/js/main.610dc7ec.chunk.js.map", + "runtime-main.js": "./static/js/runtime-main.2d1b3d35.js", + "runtime-main.js.map": "./static/js/runtime-main.2d1b3d35.js.map", + "static/js/2.94514647.chunk.js": "./static/js/2.94514647.chunk.js", + "static/js/2.94514647.chunk.js.map": "./static/js/2.94514647.chunk.js.map", + "index.html": "./index.html", + "precache-manifest.5c2433b6e3affa0652115d26838f2e19.js": "./precache-manifest.5c2433b6e3affa0652115d26838f2e19.js", + "service-worker.js": "./service-worker.js", + "static/css/main.6aafbd27.chunk.css.map": "./static/css/main.6aafbd27.chunk.css.map", + "static/js/2.94514647.chunk.js.LICENSE.txt": "./static/js/2.94514647.chunk.js.LICENSE.txt" + }, + "entrypoints": [ + "static/js/runtime-main.2d1b3d35.js", + "static/js/2.94514647.chunk.js", + "static/css/main.6aafbd27.chunk.css", + "static/js/main.610dc7ec.chunk.js" + ] +} \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..a11777cc471a4344702741ab1c8a588998b1311a GIT binary patch literal 3870 zcma);c{J4h9>;%nil|2-o+rCuEF-(I%-F}ijC~o(k~HKAkr0)!FCj~d>`RtpD?8b; zXOC1OD!V*IsqUwzbMF1)-gEDD=A573Z-&G7^LoAC9|WO7Xc0Cx1g^Zu0u_SjAPB3vGa^W|sj)80f#V0@M_CAZTIO(t--xg= z!sii`1giyH7EKL_+Wi0ab<)&E_0KD!3Rp2^HNB*K2@PHCs4PWSA32*-^7d{9nH2_E zmC{C*N*)(vEF1_aMamw2A{ZH5aIDqiabnFdJ|y0%aS|64E$`s2ccV~3lR!u<){eS` z#^Mx6o(iP1Ix%4dv`t@!&Za-K@mTm#vadc{0aWDV*_%EiGK7qMC_(`exc>-$Gb9~W!w_^{*pYRm~G zBN{nA;cm^w$VWg1O^^<6vY`1XCD|s_zv*g*5&V#wv&s#h$xlUilPe4U@I&UXZbL z0)%9Uj&@yd03n;!7do+bfixH^FeZ-Ema}s;DQX2gY+7g0s(9;`8GyvPY1*vxiF&|w z>!vA~GA<~JUqH}d;DfBSi^IT*#lrzXl$fNpq0_T1tA+`A$1?(gLb?e#0>UELvljtQ zK+*74m0jn&)5yk8mLBv;=@}c{t0ztT<v;Avck$S6D`Z)^c0(jiwKhQsn|LDRY&w(Fmi91I7H6S;b0XM{e zXp0~(T@k_r-!jkLwd1_Vre^v$G4|kh4}=Gi?$AaJ)3I+^m|Zyj#*?Kp@w(lQdJZf4 z#|IJW5z+S^e9@(6hW6N~{pj8|NO*>1)E=%?nNUAkmv~OY&ZV;m-%?pQ_11)hAr0oAwILrlsGawpxx4D43J&K=n+p3WLnlDsQ$b(9+4 z?mO^hmV^F8MV{4Lx>(Q=aHhQ1){0d*(e&s%G=i5rq3;t{JC zmgbn5Nkl)t@fPH$v;af26lyhH!k+#}_&aBK4baYPbZy$5aFx4}ka&qxl z$=Rh$W;U)>-=S-0=?7FH9dUAd2(q#4TCAHky!$^~;Dz^j|8_wuKc*YzfdAht@Q&ror?91Dm!N03=4=O!a)I*0q~p0g$Fm$pmr$ zb;wD;STDIi$@M%y1>p&_>%?UP($15gou_ue1u0!4(%81;qcIW8NyxFEvXpiJ|H4wz z*mFT(qVx1FKufG11hByuX%lPk4t#WZ{>8ka2efjY`~;AL6vWyQKpJun2nRiZYDij$ zP>4jQXPaP$UC$yIVgGa)jDV;F0l^n(V=HMRB5)20V7&r$jmk{UUIe zVjKroK}JAbD>B`2cwNQ&GDLx8{pg`7hbA~grk|W6LgiZ`8y`{Iq0i>t!3p2}MS6S+ zO_ruKyAElt)rdS>CtF7j{&6rP-#c=7evGMt7B6`7HG|-(WL`bDUAjyn+k$mx$CH;q2Dz4x;cPP$hW=`pFfLO)!jaCL@V2+F)So3}vg|%O*^T1j>C2lx zsURO-zIJC$^$g2byVbRIo^w>UxK}74^TqUiRR#7s_X$e)$6iYG1(PcW7un-va-S&u zHk9-6Zn&>T==A)lM^D~bk{&rFzCi35>UR!ZjQkdSiNX*-;l4z9j*7|q`TBl~Au`5& z+c)*8?#-tgUR$Zd%Q3bs96w6k7q@#tUn`5rj+r@_sAVVLqco|6O{ILX&U-&-cbVa3 zY?ngHR@%l{;`ri%H*0EhBWrGjv!LE4db?HEWb5mu*t@{kv|XwK8?npOshmzf=vZA@ zVSN9sL~!sn?r(AK)Q7Jk2(|M67Uy3I{eRy z_l&Y@A>;vjkWN5I2xvFFTLX0i+`{qz7C_@bo`ZUzDugfq4+>a3?1v%)O+YTd6@Ul7 zAfLfm=nhZ`)P~&v90$&UcF+yXm9sq!qCx3^9gzIcO|Y(js^Fj)Rvq>nQAHI92ap=P z10A4@prk+AGWCb`2)dQYFuR$|H6iDE8p}9a?#nV2}LBCoCf(Xi2@szia7#gY>b|l!-U`c}@ zLdhvQjc!BdLJvYvzzzngnw51yRYCqh4}$oRCy-z|v3Hc*d|?^Wj=l~18*E~*cR_kU z{XsxM1i{V*4GujHQ3DBpl2w4FgFR48Nma@HPgnyKoIEY-MqmMeY=I<%oG~l!f<+FN z1ZY^;10j4M4#HYXP zw5eJpA_y(>uLQ~OucgxDLuf}fVs272FaMxhn4xnDGIyLXnw>Xsd^J8XhcWIwIoQ9} z%FoSJTAGW(SRGwJwb=@pY7r$uQRK3Zd~XbxU)ts!4XsJrCycrWSI?e!IqwqIR8+Jh zlRjZ`UO1I!BtJR_2~7AbkbSm%XQqxEPkz6BTGWx8e}nQ=w7bZ|eVP4?*Tb!$(R)iC z9)&%bS*u(lXqzitAN)Oo=&Ytn>%Hzjc<5liuPi>zC_nw;Z0AE3Y$Jao_Q90R-gl~5 z_xAb2J%eArrC1CN4G$}-zVvCqF1;H;abAu6G*+PDHSYFx@Tdbfox*uEd3}BUyYY-l zTfEsOqsi#f9^FoLO;ChK<554qkri&Av~SIM*{fEYRE?vH7pTAOmu2pz3X?Wn*!ROX ztd54huAk&mFBemMooL33RV-*1f0Q3_(7hl$<#*|WF9P!;r;4_+X~k~uKEqdzZ$5Al zV63XN@)j$FN#cCD;ek1R#l zv%pGrhB~KWgoCj%GT?%{@@o(AJGt*PG#l3i>lhmb_twKH^EYvacVY-6bsCl5*^~L0 zonm@lk2UvvTKr2RS%}T>^~EYqdL1q4nD%0n&Xqr^cK^`J5W;lRRB^R-O8b&HENO||mo0xaD+S=I8RTlIfVgqN@SXDr2&-)we--K7w= zJVU8?Z+7k9dy;s;^gDkQa`0nz6N{T?(A&Iz)2!DEecLyRa&FI!id#5Z7B*O2=PsR0 zEvc|8{NS^)!d)MDX(97Xw}m&kEO@5jqRaDZ!+%`wYOI<23q|&js`&o4xvjP7D_xv@ z5hEwpsp{HezI9!~6O{~)lLR@oF7?J7i>1|5a~UuoN=q&6N}EJPV_GD`&M*v8Y`^2j zKII*d_@Fi$+i*YEW+Hbzn{iQk~yP z>7N{S4)r*!NwQ`(qcN#8SRQsNK6>{)X12nbF`*7#ecO7I)Q$uZsV+xS4E7aUn+U(K baj7?x%VD!5Cxk2YbYLNVeiXvvpMCWYo=by@ literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 0000000..c17b269 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +react-ldavis
\ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..6ad305d --- /dev/null +++ b/manifest.json @@ -0,0 +1,15 @@ +{ + "short_name": "react-ldavis", + "name": "react-ldavis", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/precache-manifest.5c2433b6e3affa0652115d26838f2e19.js b/precache-manifest.5c2433b6e3affa0652115d26838f2e19.js new file mode 100644 index 0000000..4617173 --- /dev/null +++ b/precache-manifest.5c2433b6e3affa0652115d26838f2e19.js @@ -0,0 +1,26 @@ +self.__precacheManifest = (self.__precacheManifest || []).concat([ + { + "revision": "434429ea53c03631a3697a7ffa35f155", + "url": "./index.html" + }, + { + "revision": "40fe39eb1cfbd6e35dc8", + "url": "./static/css/main.6aafbd27.chunk.css" + }, + { + "revision": "b359b26a7aa99229034b", + "url": "./static/js/2.94514647.chunk.js" + }, + { + "revision": "e5067c2807f8c6eeca3663552efd09fb", + "url": "./static/js/2.94514647.chunk.js.LICENSE.txt" + }, + { + "revision": "40fe39eb1cfbd6e35dc8", + "url": "./static/js/main.610dc7ec.chunk.js" + }, + { + "revision": "5a612039faf4d8a7dbca", + "url": "./static/js/runtime-main.2d1b3d35.js" + } +]); \ No newline at end of file diff --git a/service-worker.js b/service-worker.js new file mode 100644 index 0000000..a65e2b8 --- /dev/null +++ b/service-worker.js @@ -0,0 +1,39 @@ +/** + * Welcome to your Workbox-powered service worker! + * + * You'll need to register this file in your web app and you should + * disable HTTP caching for this file too. + * See https://goo.gl/nhQhGp + * + * The rest of the code is auto-generated. Please don't update this file + * directly; instead, make changes to your Workbox build configuration + * and re-run your build process. + * See https://goo.gl/2aRDsh + */ + +importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); + +importScripts( + "./precache-manifest.5c2433b6e3affa0652115d26838f2e19.js" +); + +self.addEventListener('message', (event) => { + if (event.data && event.data.type === 'SKIP_WAITING') { + self.skipWaiting(); + } +}); + +workbox.core.clientsClaim(); + +/** + * The workboxSW.precacheAndRoute() method efficiently caches and responds to + * requests for URLs in the manifest. + * See https://goo.gl/S9QRab + */ +self.__precacheManifest = [].concat(self.__precacheManifest || []); +workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); + +workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("./index.html"), { + + blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/], +}); diff --git a/static/css/main.6aafbd27.chunk.css b/static/css/main.6aafbd27.chunk.css new file mode 100644 index 0000000..74c2a22 --- /dev/null +++ b/static/css/main.6aafbd27.chunk.css @@ -0,0 +1,2 @@ +body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}._3tCtX path{fill:none;stroke:none}._3tCtX ._3Ss8w ._kyNxW._2vDpI{fill:#000;stroke:#000;stroke-width:.1;opacity:.7}._3tCtX ._1NaSE{fill:#000;stroke:#000;stroke-width:.4;opacity:1}._3tCtX text{font-family:sans-serif;font-size:11px} +/*# sourceMappingURL=main.6aafbd27.chunk.css.map */ \ No newline at end of file diff --git a/static/css/main.6aafbd27.chunk.css.map b/static/css/main.6aafbd27.chunk.css.map new file mode 100644 index 0000000..358639b --- /dev/null +++ b/static/css/main.6aafbd27.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["index.css"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,SAAU,CACV,mJAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF,CATA,aACE,SAAU,CACV,WACF,CAEA,+BACE,SAAW,CACX,WAAa,CACb,eAAiB,CACjB,UACF,CAEA,gBACE,SAAW,CACX,WAAa,CACb,eAAiB,CACjB,SACF,CAEA,aACE,sBAAuB,CACvB,cACF","file":"main.6aafbd27.chunk.css","sourcesContent":["/* Taken from https://github.com/cpsievert/LDAvis */\n/* Copyright 2013, AT&T Intellectual Property */\n/* MIT Licence */\n\n._3tCtX path {\n fill: none;\n stroke: none;\n}\n\n._3tCtX ._3Ss8w ._kyNxW._2vDpI {\n fill: black;\n stroke: black;\n stroke-width: 0.1;\n opacity: 0.7;\n}\n\n._3tCtX ._1NaSE {\n fill: black;\n stroke: black;\n stroke-width: 0.4;\n opacity: 1;\n}\n\n._3tCtX text {\n font-family: sans-serif;\n font-size: 11px;\n}"]} \ No newline at end of file diff --git a/static/js/2.94514647.chunk.js b/static/js/2.94514647.chunk.js new file mode 100644 index 0000000..d382bd9 --- /dev/null +++ b/static/js/2.94514647.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 2.94514647.chunk.js.LICENSE.txt */ +(this["webpackJsonpreact-ldavis-example"]=this["webpackJsonpreact-ldavis-example"]||[]).push([[2],[function(n,t,e){var r,i;!function(){var u={version:"3.5.17"},o=[].slice,a=function(n){return o.call(n)},l=this.document;function c(n){return n&&(n.ownerDocument||n.document||n).documentElement}function f(n){return n&&(n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView)}if(l)try{a(l.documentElement.childNodes)[0].nodeType}catch(Ga){a=function(n){for(var t=n.length,e=new Array(t);t--;)e[t]=n[t];return e}}if(Date.now||(Date.now=function(){return+new Date}),l)try{l.createElement("DIV").style.setProperty("opacity",0,"")}catch(Ja){var s=this.Element.prototype,h=s.setAttribute,p=s.setAttributeNS,d=this.CSSStyleDeclaration.prototype,v=d.setProperty;s.setAttribute=function(n,t){h.call(this,n,t+"")},s.setAttributeNS=function(n,t,e){p.call(this,n,t,e+"")},d.setProperty=function(n,t,e){v.call(this,n,t+"",e)}}function g(n,t){return nt?1:n>=t?0:NaN}function y(n){return null===n?NaN:+n}function m(n){return!isNaN(n)}function b(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);r>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);r>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}u.ascending=g,u.descending=function(n,t){return tn?1:t>=n?0:NaN},u.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},u.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},u.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),i=r){e=i=r;break}for(;++ur&&(e=r),i1)return o/(l-1)},u.deviation=function(){var n=u.variance.apply(this,arguments);return n?Math.sqrt(n):n};var _=b(g);function x(n){return n.length}u.bisectLeft=_.left,u.bisect=u.bisectRight=_.right,u.bisector=function(n){return b(1===n.length?function(t,e){return g(n(t),e)}:n)},u.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,u<2&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},u.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},u.pairs=function(n){for(var t=0,e=n.length-1,r=n[0],i=new Array(e<0?0:e);t=0;)for(t=(r=n[i]).length;--t>=0;)e[--o]=r[t];return e};var w=Math.abs;function k(n){for(var t=1;n*t%1;)t*=10;return t}function E(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function M(){this._=Object.create(null)}u.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e===1/0)throw new Error("infinite range");var r,i=[],u=k(w(e)),o=-1;if(n*=u,t*=u,(e*=u)<0)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=r.length)return t?t.call(e,u):n?u.sort(n):u;for(var l,c,f,s,h=-1,p=u.length,d=r[a++],v=new M;++h=r.length)return t;var u=[],o=i[e++];return t.forEach((function(t,r){u.push({key:t,values:n(r,e)})})),o?u.sort((function(n,t){return o(n.key,t.key)})):u}(o(u.map,n,0),0)},e.key=function(n){return r.push(n),e},e.sortKeys=function(n){return i[r.length-1]=n,e},e.sortValues=function(t){return n=t,e},e.rollup=function(n){return t=n,e},e},u.set=function(n){var t=new O;if(n)for(var e=0,r=n.length;e=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},u.event=null,u.requote=function(n){return n.replace(H,"\\$&")};var H=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,V={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]};function B(n){return V(n,Z),n}var Q=function(n,t){return t.querySelector(n)},Y=function(n,t){return t.querySelectorAll(n)},K=function(n,t){var e=n.matches||n[j(n,"matchesSelector")];return(K=function(n,t){return e.call(n,t)})(n,t)};"function"===typeof Sizzle&&(Q=function(n,t){return Sizzle(n,t)[0]||null},Y=Sizzle,K=Sizzle.matchesSelector),u.selection=function(){return u.select(l.documentElement)};var Z=u.selection.prototype=[];function X(n){return"function"===typeof n?n:function(){return Q(n,this)}}function G(n){return"function"===typeof n?n:function(){return Y(n,this)}}Z.select=function(n){var t,e,r,i,u=[];n=X(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),nn.hasOwnProperty(e)?{space:nn[e],local:n}:n}},Z.attr=function(n,t){if(arguments.length<2){if("string"===typeof n){var e=this.node();return(n=u.ns.qualify(n)).local?e.getAttributeNS(n.space,n.local):e.getAttribute(n)}for(t in n)this.each(tn(t,n[t]));return this}return this.each(tn(n,t))},Z.classed=function(n,t){if(arguments.length<2){if("string"===typeof n){var e=this.node(),r=(n=un(n)).length,i=-1;if(t=e.classList){for(;++i=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},Z.sort=function(n){n=dn.apply(this,arguments);for(var t=-1,e=this.length;++t=t&&(t=i+1);!(o=a[t])&&++t0&&(n=n.slice(0,i));var l=_n.get(n);function c(){var t=this[r];t&&(this.removeEventListener(n,t,t.$),delete this[r])}return l&&(n=l,o=wn),i?t?function(){var i=o(t,a(arguments));c.call(this),this.addEventListener(n,this[r]=i,i.$=e),i._=t}:c:t?D:function(){var t,e=new RegExp("^__on([^.]+)"+u.requote(n)+"$");for(var r in this)if(t=r.match(e)){var i=this[r];this.removeEventListener(t[1],i,i.$),delete this[r]}}}u.selection.enter=gn,u.selection.enter.prototype=yn,yn.append=Z.append,yn.empty=Z.empty,yn.node=Z.node,yn.call=Z.call,yn.size=Z.size,yn.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++a0?1:n<0?-1:0}function Dn(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function Fn(n){return n>1?0:n<-1?zn:Math.acos(n)}function Un(n){return n>1?Rn:n<-1?-Rn:Math.asin(n)}function qn(n){return((n=Math.exp(n))+1/n)/2}function Wn(n){return(n=Math.sin(n/2))*n}var $n=Math.SQRT2;u.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(h0&&(n=n.transition().duration(v)),n.call(w.event)}function T(){a&&a.domain(o.range().map((function(n){return(n-h.x)/h.k})).map(o.invert)),s&&s.domain(c.range().map((function(n){return(n-h.y)/h.k})).map(c.invert))}function C(n){g++||n({type:"zoomstart"})}function N(n){T(),n({type:"zoom",scale:h.k,translate:[h.x,h.y]})}function P(n){--g||(n({type:"zoomend"}),t=null)}function z(){var n=this,t=x.of(n,arguments),e=0,r=u.select(f(n)).on(m,a).on(b,l),i=k(u.mouse(n)),o=Mn(n);function a(){e=1,M(u.mouse(n),i),N(t)}function l(){r.on(m,null).on(b,null),o(e),P(t)}xa.call(n),C(t)}function A(){var n,t=this,e=x.of(t,arguments),r={},o=0,a=".zoom-"+u.event.changedTouches[0].identifier,l="touchmove"+a,c="touchend"+a,f=[],s=u.select(t),p=Mn(t);function d(){var e=u.touches(t);return n=h.k,e.forEach((function(n){n.identifier in r&&(r[n.identifier]=k(n))})),e}function v(){var n=u.event.target;u.select(n).on(l,g).on(c,m),f.push(n);for(var e=u.event.changedTouches,a=0,s=e.length;a1){y=p[0];var b=p[1],_=y[0]-b[0],x=y[1]-b[1];o=_*_+x*x}}function g(){var a,l,c,f,s=u.touches(t);xa.call(t);for(var h=0,p=s.length;h360?n-=360:n<0&&(n+=360),n<60?r+(i-r)*n/60:n<180?i:n<240?r+(i-r)*(240-n)/60:r}(n))}return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)||t<0?0:t>1?1:t,r=2*(e=e<0?0:e>1?1:e)-(i=e<=.5?e*(1+t):e+t-e*t),new lt(u(n+120),u(n),u(n-120))}function Xn(n,t,e){return this instanceof Xn?(this.h=+n,this.c=+t,void(this.l=+e)):arguments.length<2?n instanceof Xn?new Xn(n.h,n.c,n.l):it(n instanceof nt?n.l:(n=vt((n=u.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new Xn(n,t,e)}Kn.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new Yn(this.h,this.s,this.l/n)},Kn.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new Yn(this.h,this.s,n*this.l)},Kn.rgb=function(){return Zn(this.h,this.s,this.l)},u.hcl=Xn;var Gn=Xn.prototype=new Qn;function Jn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new nt(e,Math.cos(n*=Ln)*t,Math.sin(n)*t)}function nt(n,t,e){return this instanceof nt?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof nt?new nt(n.l,n.a,n.b):n instanceof Xn?Jn(n.h,n.c,n.l):vt((n=lt(n)).r,n.g,n.b):new nt(n,t,e)}Gn.brighter=function(n){return new Xn(this.h,this.c,Math.min(100,this.l+tt*(arguments.length?n:1)))},Gn.darker=function(n){return new Xn(this.h,this.c,Math.max(0,this.l-tt*(arguments.length?n:1)))},Gn.rgb=function(){return Jn(this.h,this.c,this.l).rgb()},u.lab=nt;var tt=18,et=nt.prototype=new Qn;function rt(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return new lt(at(3.2404542*(i=.95047*ut(i))-1.5371385*(r=1*ut(r))-.4985314*(u=1.08883*ut(u))),at(-.969266*i+1.8760108*r+.041556*u),at(.0556434*i-.2040259*r+1.0572252*u))}function it(n,t,e){return n>0?new Xn(Math.atan2(e,t)*jn,Math.sqrt(t*t+e*e),n):new Xn(NaN,NaN,n)}function ut(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function ot(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function at(n){return Math.round(255*(n<=.00304?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function lt(n,t,e){return this instanceof lt?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof lt?new lt(n.r,n.g,n.b):pt(""+n,lt,Zn):new lt(n,t,e)}function ct(n){return new lt(n>>16,n>>8&255,255&n)}function ft(n){return ct(n)+""}et.brighter=function(n){return new nt(Math.min(100,this.l+tt*(arguments.length?n:1)),this.a,this.b)},et.darker=function(n){return new nt(Math.max(0,this.l-tt*(arguments.length?n:1)),this.a,this.b)},et.rgb=function(){return rt(this.l,this.a,this.b)},u.rgb=lt;var st=lt.prototype=new Qn;function ht(n){return n<16?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function pt(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(yt(i[0]),yt(i[1]),yt(i[2]))}return(u=mt.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o|=o>>4,a=240&u,a|=a>>4,l=15&u,l|=l<<4):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function dt(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=l<.5?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(t0&&l<1?0:r),new Yn(r,i,l)}function vt(n,t,e){var r=ot((.4124564*(n=gt(n))+.3575761*(t=gt(t))+.1804375*(e=gt(e)))/.95047),i=ot((.2126729*n+.7151522*t+.072175*e)/1);return nt(116*i-16,500*(r-i),200*(i-ot((.0193339*n+.119192*t+.9503041*e)/1.08883)))}function gt(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function yt(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}st.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&t=200&&t<300||304===t){try{n=e.call(i,c)}catch(Ga){return void o.error.call(i,Ga)}o.load.call(i,n)}else o.error.call(i,c)}return this.XDomainRequest&&!("withCredentials"in c)&&/^(http(s)?:)?\/\//.test(n)&&(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=s:c.onreadystatechange=function(){c.readyState>3&&s()},c.onprogress=function(n){var t=u.event;u.event=n;try{o.progress.call(i,c)}finally{u.event=t}},i.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?l[n]:(null==t?delete l[n]:l[n]=t+"",i)},i.mimeType=function(n){return arguments.length?(t=null==n?null:n+"",i):t},i.responseType=function(n){return arguments.length?(f=n,i):f},i.response=function(n){return e=n,i},["get","post"].forEach((function(n){i[n]=function(){return i.send.apply(i,[n].concat(a(arguments)))}})),i.send=function(e,r,u){if(2===arguments.length&&"function"===typeof r&&(u=r,r=null),c.open(e,n,!0),null==t||"accept"in l||(l.accept=t+",*/*"),c.setRequestHeader)for(var a in l)c.setRequestHeader(a,l[a]);return null!=t&&c.overrideMimeType&&c.overrideMimeType(t),null!=f&&(c.responseType=f),null!=u&&i.on("error",u).on("load",(function(n){u(null,n)})),o.beforesend.call(i,c),c.send(null==r?null:r),i},i.abort=function(){return c.abort(),i},u.rebind(i,o,"on"),null==r?i:i.get(function(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}(r))}mt.forEach((function(n,t){mt.set(n,ct(t))})),u.functor=bt,u.xhr=_t(R),u.dsv=function(n,t){var e=new RegExp('["'+n+"\n]"),r=n.charCodeAt(0);function i(n,e,r){arguments.length<3&&(r=e,e=null);var i=xt(n,t,null==e?u:o(e),r);return i.row=function(n){return arguments.length?i.response(null==(e=n)?u:o(n)):e},i}function u(n){return i.parse(n.responseText)}function o(n){return function(t){return i.parse(t.responseText,n)}}function a(t){return t.map(l).join(n)}function l(n){return e.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}return i.parse=function(n,t){var e;return i.parseRows(n,(function(n,r){if(e)return e(n,r-1);var i=new Function("d","return {"+n.map((function(n,t){return JSON.stringify(n)+": d["+t+"]"})).join(",")+"}");e=t?function(n,e){return t(i(n),e)}:i}))},i.parseRows=function(n,t){var e,i,u={},o={},a=[],l=n.length,c=0,f=0;function s(){if(c>=l)return o;if(i)return i=!1,u;var t=c;if(34===n.charCodeAt(t)){for(var e=t;e++24?(isFinite(t)&&(clearTimeout(Mt),Mt=setTimeout(Ct,t)),Et=0):(Et=1,St(Ct))}function Nt(){for(var n=Date.now(),t=wt;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function Pt(){for(var n,t=wt,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}}));function Ot(n){var t=n.decimal,e=n.thousands,r=n.grouping,i=n.currency,o=r&&e?function(n,t){for(var i=n.length,u=[],o=0,a=r[0],l=0;i>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(i-=a,i+a)),!((l+=a+1)>t));)a=r[o=(o+1)%r.length];return u.reverse().join(e)}:R;return function(n){var e=Rt.exec(n),r=e[1]||" ",a=e[2]||">",l=e[3]||"-",c=e[4]||"",f=e[5],s=+e[6],h=e[7],p=e[8],d=e[9],v=1,g="",y="",m=!1,b=!0;switch(p&&(p=+p.substring(1)),(f||"0"===r&&"="===a)&&(f=r="0",a="="),d){case"n":h=!0,d="g";break;case"%":v=100,y="%",d="f";break;case"p":v=100,y="%",d="r";break;case"b":case"o":case"x":case"X":"#"===c&&(g="0"+d.toLowerCase());case"c":b=!1;case"d":m=!0,p=0;break;case"s":v=-1,d="r"}"$"===c&&(g=i[0],y=i[1]),"r"!=d||p||(d="g"),null!=p&&("g"==d?p=Math.max(1,Math.min(21,p)):"e"!=d&&"f"!=d||(p=Math.max(0,Math.min(20,p)))),d=Lt.get(d)||jt;var _=f&&h;return function(n){var e=y;if(m&&n%1)return"";var i=n<0||0===n&&1/n<0?(n=-n,"-"):"-"===l?"":l;if(v<0){var c=u.formatPrefix(n,p);n=c.scale(n),e=c.symbol+y}else n*=v;var x,w,k=(n=d(n,p)).lastIndexOf(".");if(k<0){var E=b?n.lastIndexOf("e"):-1;E<0?(x=n,w=""):(x=n.substring(0,E),w=n.substring(E))}else x=n.substring(0,k),w=t+n.substring(k+1);!f&&h&&(x=o(x,1/0));var M=g.length+x.length+w.length+(_?0:i.length),S=M"===a?S+i+n:"^"===a?S.substring(0,M>>=1)+i+n+S.substring(M):i+(_?n:S+n))+e}}}u.formatPrefix=function(n,t){var e=0;return(n=+n)&&(n<0&&(n*=-1),t&&(n=u.round(n,zt(n,t))),e=1+Math.floor(1e-12+Math.log(n)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),At[8+e/3]};var Rt=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Lt=u.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,t){return(n=u.round(n,zt(n,t))).toFixed(Math.max(0,Math.min(20,zt(n*(1+1e-15),t))))}});function jt(n){return n+""}var It=u.time={},Dt=Date;function Ft(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}Ft.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Ut.setUTCDate.apply(this._,arguments)},setDay:function(){Ut.setUTCDay.apply(this._,arguments)},setFullYear:function(){Ut.setUTCFullYear.apply(this._,arguments)},setHours:function(){Ut.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Ut.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Ut.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Ut.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Ut.setUTCSeconds.apply(this._,arguments)},setTime:function(){Ut.setTime.apply(this._,arguments)}};var Ut=Date.prototype;function qt(n,t,e){function r(t){var e=n(t),r=u(e,1);return t-e1)for(;o=c)return-1;if(37===(i=t.charCodeAt(a++))){if(o=t.charAt(a++),!(u=w[o in Ht?t.charAt(a++):o])||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}f.utc=function(n){var t=f(n);function e(n){try{var e=new(Dt=Ft);return e._=n,t(e)}finally{Dt=Date}}return e.parse=function(n){try{Dt=Ft;var e=t.parse(n);return e&&e._}finally{Dt=Date}},e.toString=t.toString,e},f.multi=f.utc.multi=se;var h=u.map(),p=Yt(o),d=Kt(o),v=Yt(a),g=Kt(a),y=Yt(l),m=Kt(l),b=Yt(c),_=Kt(c);i.forEach((function(n,t){h.set(n.toLowerCase(),t)}));var x={a:function(n){return a[n.getDay()]},A:function(n){return o[n.getDay()]},b:function(n){return c[n.getMonth()]},B:function(n){return l[n.getMonth()]},c:f(t),d:function(n,t){return Qt(n.getDate(),t,2)},e:function(n,t){return Qt(n.getDate(),t,2)},H:function(n,t){return Qt(n.getHours(),t,2)},I:function(n,t){return Qt(n.getHours()%12||12,t,2)},j:function(n,t){return Qt(1+It.dayOfYear(n),t,3)},L:function(n,t){return Qt(n.getMilliseconds(),t,3)},m:function(n,t){return Qt(n.getMonth()+1,t,2)},M:function(n,t){return Qt(n.getMinutes(),t,2)},p:function(n){return i[+(n.getHours()>=12)]},S:function(n,t){return Qt(n.getSeconds(),t,2)},U:function(n,t){return Qt(It.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Qt(It.mondayOfYear(n),t,2)},x:f(e),X:f(r),y:function(n,t){return Qt(n.getFullYear()%100,t,2)},Y:function(n,t){return Qt(n.getFullYear()%1e4,t,4)},Z:ce,"%":function(){return"%"}},w={a:function(n,t,e){v.lastIndex=0;var r=v.exec(t.slice(e));return r?(n.w=g.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(n,t,e){p.lastIndex=0;var r=p.exec(t.slice(e));return r?(n.w=d.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(n,t,e){b.lastIndex=0;var r=b.exec(t.slice(e));return r?(n.m=_.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(n,t,e){y.lastIndex=0;var r=y.exec(t.slice(e));return r?(n.m=m.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(n,t,e){return s(n,x.c.toString(),t,e)},d:re,e:re,H:ue,I:ue,j:ie,L:le,m:ee,M:oe,p:function(n,t,e){var r=h.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)},S:ae,U:Xt,w:Zt,W:Gt,x:function(n,t,e){return s(n,x.x.toString(),t,e)},X:function(n,t,e){return s(n,x.X.toString(),t,e)},y:ne,Y:Jt,Z:te,"%":fe};return f}It.year=qt((function(n){return(n=It.day(n)).setMonth(0,1),n}),(function(n,t){n.setFullYear(n.getFullYear()+t)}),(function(n){return n.getFullYear()})),It.years=It.year.range,It.years.utc=It.year.utc.range,It.day=qt((function(n){var t=new Dt(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t}),(function(n,t){n.setDate(n.getDate()+t)}),(function(n){return n.getDate()-1})),It.days=It.day.range,It.days.utc=It.day.utc.range,It.dayOfYear=function(n){var t=It.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(n,t){t=7-t;var e=It[n]=qt((function(n){return(n=It.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n}),(function(n,t){n.setDate(n.getDate()+7*Math.floor(t))}),(function(n){var e=It.year(n).getDay();return Math.floor((It.dayOfYear(n)+(e+t)%7)/7)-(e!==t)}));It[n+"s"]=e.range,It[n+"s"].utc=e.utc.range,It[n+"OfYear"]=function(n){var e=It.year(n).getDay();return Math.floor((It.dayOfYear(n)+(e+t)%7)/7)}})),It.week=It.sunday,It.weeks=It.sunday.range,It.weeks.utc=It.sunday.utc.range,It.weekOfYear=It.sundayOfYear;var Ht={"-":"",_:" ",0:"0"},Vt=/^\s*\d+/,Bt=/^%/;function Qt(n,t,e){var r=n<0?"-":"",i=(r?-n:n)+"",u=i.length;return r+(u68?1900:2e3),e+i[0].length):-1}function te(n,t,e){return/^[+-]\d{4}$/.test(t=t.slice(e,e+5))?(n.Z=-t,e+5):-1}function ee(n,t,e){Vt.lastIndex=0;var r=Vt.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function re(n,t,e){Vt.lastIndex=0;var r=Vt.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function ie(n,t,e){Vt.lastIndex=0;var r=Vt.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function ue(n,t,e){Vt.lastIndex=0;var r=Vt.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function oe(n,t,e){Vt.lastIndex=0;var r=Vt.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ae(n,t,e){Vt.lastIndex=0;var r=Vt.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function le(n,t,e){Vt.lastIndex=0;var r=Vt.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function ce(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=w(t)/60|0,i=w(t)%60;return e+Qt(r,"0",2)+Qt(i,"0",2)}function fe(n,t,e){Bt.lastIndex=0;var r=Bt.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function se(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*u,l=Math.cos(t),c=Math.sin(t),f=i*c,s=r*l+f*Math.cos(a),h=f*o*Math.sin(a);Oe.add(Math.atan2(h,s)),e=n,r=l,i=c}Re.point=function(o,a){Re.point=u,e=(n=o)*Ln,r=Math.cos(a=(t=a)*Ln/2+zn/4),i=Math.sin(a)},Re.lineEnd=function(){u(n,t)}}function je(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function Ie(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function De(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Fe(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function Ue(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function qe(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function We(n){return[Math.atan2(n[1],n[0]),Un(n[2])]}function $e(n,t){return w(n[0]-t[0])Nn?r=90:c<-Nn&&(t=-90),s[0]=n,s[1]=e}};function p(i,u){f.push(s=[n=i,e=i]),ur&&(r=u)}function d(u,o){var a=je([u*Ln,o*Ln]);if(l){var c=De(l,a),f=De([c[1],-c[0],0],c);qe(f),f=We(f);var s=u-i,h=s>0?1:-1,d=f[0]*jn*h,v=w(s)>180;if(v^(h*ir&&(r=g);else if(v^(h*i<(d=(d+360)%360-180)&&dr&&(r=o);v?u_(n,e)&&(e=u):_(u,e)>_(n,e)&&(n=u):e>=n?(ue&&(e=u)):u>i?_(n,u)>_(n,e)&&(e=u):_(u,e)>_(n,e)&&(n=u)}else p(u,o);l=a,i=u}function v(){h.point=d}function g(){s[0]=n,s[1]=e,h.point=p,l=null}function y(n,t){if(l){var e=n-i;c+=w(e)>180?e+(e>0?360:-360):e}else o=n,a=t;Re.point(n,t),d(n,t)}function m(){Re.lineStart()}function b(){y(o,a),Re.lineEnd(),w(c)>Nn&&(n=-(e=180)),s[0]=n,s[1]=e,l=null}function _(n,t){return(t-=n)<0?t+360:t}function x(n,t){return n[0]-t[0]}function k(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:n_(v[0],v[1])&&(v[1]=p[1]),_(p[0],v[1])>_(v[0],v[1])&&(v[0]=p[0])):a.push(v=p);for(var l,c,p,d=-1/0,v=(o=0,a[c=a.length-1]);o<=c;v=p,++o)p=a[o],(l=_(v[1],p[0]))>d&&(d=l,n=p[0],e=v[1])}return f=s=null,n===1/0||t===1/0?[[NaN,NaN],[NaN,NaN]]:[[n,t],[e,r]]}}(),u.geo.centroid=function(n){we=ke=Ee=Me=Se=Te=Ce=Ne=Pe=ze=Ae=0,u.geo.stream(n,He);var t=Pe,e=ze,r=Ae,i=t*t+e*e+r*r;return i=0;--a)i.point((s=f[a])[0],s[1]);else r(p.x,p.p.x,-1,i);p=p.p}f=(p=p.o).z,d=!d}while(!p.v);i.lineEnd()}}}function Je(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r=0?1:-1,k=w*x,E=k>zn,M=d*b;if(Oe.add(Math.atan2(M*w*Math.sin(k),v*_+M*Math.cos(k))),u+=E?x+w*An:x,E^h>=e^y>=e){var S=De(je(s),je(n));qe(S);var T=De(i,S);qe(T);var C=(E^x>=0?-1:1)*Un(T[2]);(r>C||r===C&&(S[0]||S[1]))&&(o+=E^x>=0?1:-1)}if(!g++)break;h=y,d=b,v=_,s=n}}return(u<-Nn||u0){for(b||(o.polygonStart(),b=!0),o.lineStart();++u1&&2&t&&e.push(e.pop().concat(e.shift())),a.push(e.filter(er))}return f}}function er(n){return n.length>1}function rr(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:D,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function ir(n,t){return((n=n.x)[0]<0?n[1]-Rn-Nn:Rn-n[1])-((t=t.x)[0]<0?t[1]-Rn-Nn:Rn-t[1])}var ur=tr(Xe,(function(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?zn:-zn,l=w(u-e);w(l-zn)0?Rn:-Rn),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=zn&&(w(e-i)Nn?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}(e,r,u,o),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),t=0),n.point(e=u,r=o),i=a},lineEnd:function(){n.lineEnd(),e=r=NaN},clean:function(){return 2-t}}}),(function(n,t,e,r){var i;if(null==n)i=e*Rn,r.point(-zn,i),r.point(0,i),r.point(zn,i),r.point(zn,0),r.point(zn,-i),r.point(0,-i),r.point(-zn,-i),r.point(-zn,0),r.point(-zn,i);else if(w(n[0]-t[0])>Nn){var u=n[0]0,r=w(t)>Nn;return tr(i,(function(n){var t,a,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,d=[s,h],v=i(s,h),g=e?v?0:o(s,h):v?o(s+(s<0?zn:-zn),h):0;if(!t&&(c=l=v)&&n.lineStart(),v!==l&&(p=u(t,d),($e(t,p)||$e(d,p))&&(d[0]+=Nn,d[1]+=Nn,v=i(d[0],d[1]))),v!==l)f=0,v?(n.lineStart(),p=u(d,t),n.point(p[0],p[1])):(p=u(t,d),n.point(p[0],p[1]),n.lineEnd()),t=p;else if(r&&t&&e^v){var y;g&a||!(y=u(d,t,!0))||(f=0,e?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||t&&$e(t,d)||n.point(d[0],d[1]),t=d,l=v,a=g},lineEnd:function(){l&&n.lineEnd(),t=null},clean:function(){return f|(c&&l)<<1}}}),Wr(n,6*Ln),e?[0,-n]:[-zn,n-zn]);function i(n,e){return Math.cos(n)*Math.cos(e)>t}function u(n,e,r){var i=[1,0,0],u=De(je(n),je(e)),o=Ie(u,u),a=u[0],l=o-a*a;if(!l)return!r&&n;var c=t*o/l,f=-t*a/l,s=De(i,u),h=Ue(i,c);Fe(h,Ue(u,f));var p=s,d=Ie(h,p),v=Ie(p,p),g=d*d-v*(Ie(h,h)-1);if(!(g<0)){var y=Math.sqrt(g),m=Ue(p,(-d-y)/v);if(Fe(m,h),m=We(m),!r)return m;var b,_=n[0],x=e[0],k=n[1],E=e[1];x<_&&(b=_,_=x,x=b);var M=x-_,S=w(M-zn)0^m[1]<(w(m[0]-_)zn^(_<=m[0]&&m[0]<=x)){var T=Ue(p,(-d+y)/v);return Fe(T,h),[m,We(T)]}}}function o(t,r){var i=e?n:zn-n,u=0;return t<-i?u|=1:t>i&&(u|=2),r<-i?u|=4:r>i&&(u|=8),u}}function ar(n,t,e,r){return function(i){var u,o=i.a,a=i.b,l=o.x,c=o.y,f=0,s=1,h=a.x-l,p=a.y-c;if(u=n-l,h||!(u>0)){if(u/=h,h<0){if(u0){if(u>s)return;u>f&&(f=u)}if(u=e-l,h||!(u<0)){if(u/=h,h<0){if(u>s)return;u>f&&(f=u)}else if(h>0){if(u0)){if(u/=p,p<0){if(u0){if(u>s)return;u>f&&(f=u)}if(u=r-c,p||!(u<0)){if(u/=p,p<0){if(u>s)return;u>f&&(f=u)}else if(p>0){if(u0&&(i.a={x:l+f*h,y:c+f*p}),s<1&&(i.b={x:l+s*h,y:c+s*p}),i}}}}}}function lr(n,t,e,r){return function(l){var c,f,s,h,p,d,v,g,y,m,b,_=l,x=rr(),w=ar(n,t,e,r),k={point:S,lineStart:function(){k.point=T,f&&f.push(s=[]);m=!0,y=!1,v=g=NaN},lineEnd:function(){c&&(T(h,p),d&&y&&x.rejoin(),c.push(x.buffer()));k.point=S,y&&l.lineEnd()},polygonStart:function(){l=x,c=[],f=[],b=!0},polygonEnd:function(){l=_,c=u.merge(c);var t=function(n){for(var t=0,e=f.length,r=n[1],i=0;ir&&Dn(c,u,n)>0&&++t:u[1]<=r&&Dn(c,u,n)<0&&--t,c=u;return 0!==t}([n,r]),e=b&&t,i=c.length;(e||i)&&(l.polygonStart(),e&&(l.lineStart(),E(null,null,1,l),l.lineEnd()),i&&Ge(c,o,t,E,l),l.polygonEnd()),c=f=s=null}};function E(u,o,l,c){var f=0,s=0;if(null==u||(f=i(u,l))!==(s=i(o,l))||a(u,o)<0^l>0)do{c.point(0===f||3===f?n:e,f>1?r:t)}while((f=(f+l+4)%4)!==s);else c.point(o[0],o[1])}function M(i,u){return n<=i&&i<=e&&t<=u&&u<=r}function S(n,t){M(n,t)&&l.point(n,t)}function T(n,t){var e=M(n=Math.max(-1e9,Math.min(1e9,n)),t=Math.max(-1e9,Math.min(1e9,t)));if(f&&s.push([n,t]),m)h=n,p=t,d=e,m=!1,e&&(l.lineStart(),l.point(n,t));else if(e&&y)l.point(n,t);else{var r={a:{x:v,y:g},b:{x:n,y:t}};w(r)?(y||(l.lineStart(),l.point(r.a.x,r.a.y)),l.point(r.b.x,r.b.y),e||l.lineEnd(),b=!1):e&&(l.lineStart(),l.point(n,t),b=!1)}v=n,g=t,y=e}return k};function i(r,i){return w(r[0]-n)0?0:3:w(r[0]-e)0?2:1:w(r[1]-t)0?1:0:i>0?3:2}function o(n,t){return a(n.x,t.x)}function a(n,t){var e=i(n,1),r=i(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}}function cr(n){var t=0,e=zn/3,r=Rr(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*zn/180,e=n[1]*zn/180):[t/zn*180,e/zn*180]},i}function fr(n,t){var e=Math.sin(n),r=(e+Math.sin(t))/2,i=1+e*(2*r-e),u=Math.sqrt(i)/r;function o(n,t){var e=Math.sqrt(i-2*r*Math.sin(t))/r;return[e*Math.sin(n*=r),u-e*Math.cos(n)]}return o.invert=function(n,t){var e=u-t;return[Math.atan2(n,e)/r,Un((i-(n*n+e*e)*r*r)/(2*r))]},o}u.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),(i=u(n)).valid=!0,i},extent:function(a){return arguments.length?(u=lr(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(u.geo.conicEqualArea=function(){return cr(fr)}).raw=fr,u.geo.albers=function(){return u.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},u.geo.albersUsa=function(){var n,t,e,r,i=u.geo.albers(),o=u.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=u.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,e){n=[t,e]}};function c(i){var u=i[0],o=i[1];return n=null,t(u,o),n||(e(u,o),n)||r(u,o),n}return c.invert=function(n){var t=i.scale(),e=i.translate(),r=(n[0]-e[0])/t,u=(n[1]-e[1])/t;return(u>=.12&&u<.234&&r>=-.425&&r<-.214?o:u>=.166&&u<.234&&r>=-.214&&r<-.115?a:i).invert(n)},c.stream=function(n){var t=i.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},c.precision=function(n){return arguments.length?(i.precision(n),o.precision(n),a.precision(n),c):i.precision()},c.scale=function(n){return arguments.length?(i.scale(n),o.scale(.35*n),a.scale(n),c.translate(i.translate())):i.scale()},c.translate=function(n){if(!arguments.length)return i.translate();var u=i.scale(),f=+n[0],s=+n[1];return t=i.translate(n).clipExtent([[f-.455*u,s-.238*u],[f+.455*u,s+.238*u]]).stream(l).point,e=o.translate([f-.307*u,s+.201*u]).clipExtent([[f-.425*u+Nn,s+.12*u+Nn],[f-.214*u-Nn,s+.234*u-Nn]]).stream(l).point,r=a.translate([f-.205*u,s+.212*u]).clipExtent([[f-.214*u+Nn,s+.166*u+Nn],[f-.115*u-Nn,s+.234*u-Nn]]).stream(l).point,c},c.scale(1070)};var sr,hr,pr,dr,vr,gr,yr={point:D,lineStart:D,lineEnd:D,polygonStart:function(){hr=0,yr.lineStart=mr},polygonEnd:function(){yr.lineStart=yr.lineEnd=yr.point=D,sr+=w(hr/2)}};function mr(){var n,t,e,r;function i(n,t){hr+=r*n-e*t,e=n,r=t}yr.point=function(u,o){yr.point=i,n=e=u,t=r=o},yr.lineEnd=function(){i(n,t)}}var br={point:function(n,t){nvr&&(vr=n);tgr&&(gr=t)},lineStart:D,lineEnd:D,polygonStart:D,polygonEnd:D};function _r(){var n=xr(4.5),t=[],e={point:r,lineStart:function(){e.point=i},lineEnd:o,polygonStart:function(){e.lineEnd=a},polygonEnd:function(){e.lineEnd=o,e.point=r},pointRadius:function(t){return n=xr(t),e},result:function(){if(t.length){var n=t.join("");return t=[],n}}};function r(e,r){t.push("M",e,",",r,n)}function i(n,r){t.push("M",n,",",r),e.point=u}function u(n,e){t.push("L",n,",",e)}function o(){e.point=r}function a(){t.push("Z")}return e}function xr(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}var wr,kr={point:Er,lineStart:Mr,lineEnd:Sr,polygonStart:function(){kr.lineStart=Tr},polygonEnd:function(){kr.point=Er,kr.lineStart=Mr,kr.lineEnd=Sr}};function Er(n,t){Ee+=n,Me+=t,++Se}function Mr(){var n,t;function e(e,r){var i=e-n,u=r-t,o=Math.sqrt(i*i+u*u);Te+=o*(n+e)/2,Ce+=o*(t+r)/2,Ne+=o,Er(n=e,t=r)}kr.point=function(r,i){kr.point=e,Er(n=r,t=i)}}function Sr(){kr.point=Er}function Tr(){var n,t,e,r;function i(n,t){var i=n-e,u=t-r,o=Math.sqrt(i*i+u*u);Te+=o*(e+n)/2,Ce+=o*(r+t)/2,Ne+=o,Pe+=(o=r*n-e*t)*(e+n),ze+=o*(r+t),Ae+=3*o,Er(e=n,r=t)}kr.point=function(u,o){kr.point=i,Er(n=e=u,t=r=o)},kr.lineEnd=function(){i(n,t)}}function Cr(n){var t=4.5,e={point:r,lineStart:function(){e.point=i},lineEnd:o,polygonStart:function(){e.lineEnd=a},polygonEnd:function(){e.lineEnd=o,e.point=r},pointRadius:function(n){return t=n,e},result:D};function r(e,r){n.moveTo(e+t,r),n.arc(e,r,t,0,An)}function i(t,r){n.moveTo(t,r),e.point=u}function u(t,e){n.lineTo(t,e)}function o(){e.point=r}function a(){n.closePath()}return e}function Nr(n){var t=.5,e=Math.cos(30*Ln),r=16;function i(n){return(r?o:u)(n)}function u(t){return Ar(t,(function(e,r){e=n(e,r),t.point(e[0],e[1])}))}function o(t){var e,i,u,o,l,c,f,s,h,p,d,v,g={point:y,lineStart:m,lineEnd:_,polygonStart:function(){t.polygonStart(),g.lineStart=x},polygonEnd:function(){t.polygonEnd(),g.lineStart=m}};function y(e,r){e=n(e,r),t.point(e[0],e[1])}function m(){s=NaN,g.point=b,t.lineStart()}function b(e,i){var u=je([e,i]),o=n(e,i);a(s,h,f,p,d,v,s=o[0],h=o[1],f=e,p=u[0],d=u[1],v=u[2],r,t),t.point(s,h)}function _(){g.point=y,t.lineEnd()}function x(){m(),g.point=w,g.lineEnd=k}function w(n,t){b(e=n,t),i=s,u=h,o=p,l=d,c=v,g.point=b}function k(){a(s,h,f,p,d,v,i,u,e,o,l,c,r,t),g.lineEnd=_,_()}return g}function a(r,i,u,o,l,c,f,s,h,p,d,v,g,y){var m=f-r,b=s-i,_=m*m+b*b;if(_>4*t&&g--){var x=o+p,k=l+d,E=c+v,M=Math.sqrt(x*x+k*k+E*E),S=Math.asin(E/=M),T=w(w(E)-1)t||w((m*z+b*A)/_-.5)>.3||o*p+l*d+c*v0&&16,i):Math.sqrt(t)},i}function Pr(n){var t=Nr((function(t,e){return n([t*jn,e*jn])}));return function(n){return Lr(t(n))}}function zr(n){this.stream=n}function Ar(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function Or(n){return Rr((function(){return n}))()}function Rr(n){var t,e,r,i,o,a,l=Nr((function(n,e){return[(n=t(n,e))[0]*c+i,o-n[1]*c]})),c=150,f=480,s=250,h=0,p=0,d=0,v=0,g=0,y=ur,m=R,b=null,_=null;function x(n){return[(n=r(n[0]*Ln,n[1]*Ln))[0]*c+i,o-n[1]*c]}function w(n){return(n=r.invert((n[0]-i)/c,(o-n[1])/c))&&[n[0]*jn,n[1]*jn]}function k(){r=Ze(e=Dr(d,v,g),t);var n=t(h,p);return i=f-n[0]*c,o=s+n[1]*c,E()}function E(){return a&&(a.valid=!1,a=null),x}return x.stream=function(n){return a&&(a.valid=!1),(a=Lr(y(e,l(m(n))))).valid=!0,a},x.clipAngle=function(n){return arguments.length?(y=null==n?(b=n,ur):or((b=+n)*Ln),E()):b},x.clipExtent=function(n){return arguments.length?(_=n,m=n?lr(n[0][0],n[0][1],n[1][0],n[1][1]):R,E()):_},x.scale=function(n){return arguments.length?(c=+n,k()):c},x.translate=function(n){return arguments.length?(f=+n[0],s=+n[1],k()):[f,s]},x.center=function(n){return arguments.length?(h=n[0]%360*Ln,p=n[1]%360*Ln,k()):[h*jn,p*jn]},x.rotate=function(n){return arguments.length?(d=n[0]%360*Ln,v=n[1]%360*Ln,g=n.length>2?n[2]%360*Ln:0,k()):[d*jn,v*jn,g*jn]},u.rebind(x,l,"precision"),function(){return t=n.apply(this,arguments),x.invert=t.invert&&w,k()}}function Lr(n){return Ar(n,(function(t,e){n.point(t*Ln,e*Ln)}))}function jr(n,t){return[n,t]}function Ir(n,t){return[n>zn?n-An:n<-zn?n+An:n,t]}function Dr(n,t,e){return n?t||e?Ze(Ur(n),qr(t,e)):Ur(n):t||e?qr(t,e):Ir}function Fr(n){return function(t,e){return[(t+=n)>zn?t-An:t<-zn?t+An:t,e]}}function Ur(n){var t=Fr(n);return t.invert=Fr(-n),t}function qr(n,t){var e=Math.cos(n),r=Math.sin(n),i=Math.cos(t),u=Math.sin(t);function o(n,t){var o=Math.cos(t),a=Math.cos(n)*o,l=Math.sin(n)*o,c=Math.sin(t),f=c*e+a*r;return[Math.atan2(l*i-f*u,a*e-c*r),Un(f*i+l*u)]}return o.invert=function(n,t){var o=Math.cos(t),a=Math.cos(n)*o,l=Math.sin(n)*o,c=Math.sin(t),f=c*i-l*u;return[Math.atan2(l*i+c*u,a*e+f*r),Un(f*e-a*r)]},o}function Wr(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=$r(e,i),u=$r(e,u),(o>0?iu)&&(i+=o*An)):(i=n+o*An,u=n-.5*l);for(var c,f=i;o>0?f>u:f2?n[2]*Ln:0),t.invert=function(t){return(t=n.invert(t[0]*Ln,t[1]*Ln))[0]*=jn,t[1]*=jn,t},t},Ir.invert=jr,u.geo.circle=function(){var n,t,e=[0,0],r=6;function i(){var n="function"===typeof e?e.apply(this,arguments):e,r=Dr(-n[0]*Ln,-n[1]*Ln,0).invert,i=[];return t(null,null,1,{point:function(n,t){i.push(n=r(n,t)),n[0]*=jn,n[1]*=jn}}),{type:"Polygon",coordinates:[i]}}return i.origin=function(n){return arguments.length?(e=n,i):e},i.angle=function(e){return arguments.length?(t=Wr((n=+e)*Ln,r*Ln),i):n},i.precision=function(e){return arguments.length?(t=Wr(n*Ln,(r=+e)*Ln),i):r},i.angle(90)},u.geo.distance=function(n,t){var e,r=(t[0]-n[0])*Ln,i=n[1]*Ln,u=t[1]*Ln,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},u.geo.graticule=function(){var n,t,e,r,i,o,a,l,c,f,s,h,p=10,d=p,v=90,g=360,y=2.5;function m(){return{type:"MultiLineString",coordinates:b()}}function b(){return u.range(Math.ceil(r/v)*v,e,v).map(s).concat(u.range(Math.ceil(l/g)*g,a,g).map(h)).concat(u.range(Math.ceil(t/p)*p,n,p).filter((function(n){return w(n%v)>Nn})).map(c)).concat(u.range(Math.ceil(o/d)*d,i,d).filter((function(n){return w(n%g)>Nn})).map(f))}return m.lines=function(){return b().map((function(n){return{type:"LineString",coordinates:n}}))},m.outline=function(){return{type:"Polygon",coordinates:[s(r).concat(h(a).slice(1),s(e).reverse().slice(1),h(l).reverse().slice(1))]}},m.extent=function(n){return arguments.length?m.majorExtent(n).minorExtent(n):m.minorExtent()},m.majorExtent=function(n){return arguments.length?(r=+n[0][0],e=+n[1][0],l=+n[0][1],a=+n[1][1],r>e&&(n=r,r=e,e=n),l>a&&(n=l,l=a,a=n),m.precision(y)):[[r,l],[e,a]]},m.minorExtent=function(e){return arguments.length?(t=+e[0][0],n=+e[1][0],o=+e[0][1],i=+e[1][1],t>n&&(e=t,t=n,n=e),o>i&&(e=o,o=i,i=e),m.precision(y)):[[t,o],[n,i]]},m.step=function(n){return arguments.length?m.majorStep(n).minorStep(n):m.minorStep()},m.majorStep=function(n){return arguments.length?(v=+n[0],g=+n[1],m):[v,g]},m.minorStep=function(n){return arguments.length?(p=+n[0],d=+n[1],m):[p,d]},m.precision=function(u){return arguments.length?(y=+u,c=Hr(o,i,90),f=Vr(t,n,y),s=Hr(l,a,90),h=Vr(r,e,y),m):y},m.majorExtent([[-180,-90+Nn],[180,90-Nn]]).minorExtent([[-180,-80-Nn],[180,80+Nn]])},u.geo.greatArc=function(){var n,t,e=Br,r=Qr;function i(){return{type:"LineString",coordinates:[n||e.apply(this,arguments),t||r.apply(this,arguments)]}}return i.distance=function(){return u.geo.distance(n||e.apply(this,arguments),t||r.apply(this,arguments))},i.source=function(t){return arguments.length?(e=t,n="function"===typeof t?null:t,i):e},i.target=function(n){return arguments.length?(r=n,t="function"===typeof n?null:n,i):r},i.precision=function(){return arguments.length?i:0},i},u.geo.interpolate=function(n,t){return function(n,t,e,r){var i=Math.cos(t),u=Math.sin(t),o=Math.cos(r),a=Math.sin(r),l=i*Math.cos(n),c=i*Math.sin(n),f=o*Math.cos(e),s=o*Math.sin(e),h=2*Math.asin(Math.sqrt(Wn(r-t)+i*o*Wn(e-n))),p=1/Math.sin(h),d=h?function(n){var t=Math.sin(n*=h)*p,e=Math.sin(h-n)*p,r=e*l+t*f,i=e*c+t*s,o=e*u+t*a;return[Math.atan2(i,r)*jn,Math.atan2(o,Math.sqrt(r*r+i*i))*jn]}:function(){return[n*jn,t*jn]};return d.distance=h,d}(n[0]*Ln,n[1]*Ln,t[0]*Ln,t[1]*Ln)},u.geo.length=function(n){return wr=0,u.geo.stream(n,Yr),wr};var Yr={sphere:D,point:D,lineStart:function(){var n,t,e;function r(r,i){var u=Math.sin(i*=Ln),o=Math.cos(i),a=w((r*=Ln)-n),l=Math.cos(a);wr+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=e*u-t*o*l)*a),t*u+e*o*l),n=r,t=u,e=o}Yr.point=function(i,u){n=i*Ln,t=Math.sin(u*=Ln),e=Math.cos(u),Yr.point=r},Yr.lineEnd=function(){Yr.point=Yr.lineEnd=D}},lineEnd:D,polygonStart:D,polygonEnd:D};function Kr(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}var Zr=Kr((function(n){return Math.sqrt(2/(1+n))}),(function(n){return 2*Math.asin(n/2)}));(u.geo.azimuthalEqualArea=function(){return Or(Zr)}).raw=Zr;var Xr=Kr((function(n){var t=Math.acos(n);return t&&t/Math.sin(t)}),R);function Gr(n,t){var e=Math.cos(n),r=function(n){return Math.tan(zn/4+n/2)},i=n===t?Math.sin(n):Math.log(e/Math.cos(t))/Math.log(r(t)/r(n)),u=e*Math.pow(r(n),i)/i;if(!i)return ti;function o(n,t){u>0?t<-Rn+Nn&&(t=-Rn+Nn):t>Rn-Nn&&(t=Rn-Nn);var e=u/Math.pow(r(t),i);return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}return o.invert=function(n,t){var e=u-t,r=In(i)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/i,2*Math.atan(Math.pow(u/r,1/i))-Rn]},o}function Jr(n,t){var e=Math.cos(n),r=n===t?Math.sin(n):(e-Math.cos(t))/(t-n),i=e/r+n;if(w(r)1&&Dn(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function ci(n,t){return n[0]-t[0]||n[1]-t[1]}(u.geo.stereographic=function(){return Or(ii)}).raw=ii,ui.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Rn]},(u.geo.transverseMercator=function(){var n=ei(ui),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):[(n=t())[1],-n[0]]},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):[(n=e())[0],n[1],n[2]-90]},e([0,0,90])}).raw=ui,u.geom={},u.geom.hull=function(n){var t=oi,e=ai;if(arguments.length)return r(n);function r(n){if(n.length<3)return[];var r,i=bt(t),u=bt(e),o=n.length,a=[],l=[];for(r=0;r=0;--r)p.push(n[a[c[r]][2]]);for(r=+s;rNn)a=a.L;else{if(!((i=u-Ti(a,o))>Nn)){r>-Nn?(t=a.P,e=a):i>-Nn?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=wi(n);if(gi.insert(t,l),t||e){if(t===e)return Ai(t),e=wi(t.site),gi.insert(l,e),l.edge=e.edge=Li(t.site,l.site),zi(t),void zi(e);if(e){Ai(t),Ai(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,d=e.site,v=d.x-f,g=d.y-s,y=2*(h*g-p*v),m=h*h+p*p,b=v*v+g*g,_={x:(g*m-p*b)/y+f,y:(h*b-v*m)/y+s};Ii(e.edge,c,d,_),l.edge=Li(c,n,null,_),e.edge=Li(n,d,null,_),zi(t),zi(e)}else l.edge=Li(t.site,l.site)}}function Si(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-1/0;var a=(e=o.site).x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Ti(n,t){var e=n.N;if(e)return Si(e,t);var r=n.site;return r.y===t?r.x:1/0}function Ci(n){this.site=n,this.edges=[]}function Ni(n,t){return t.angle-n.angle}function Pi(){Ui(this),this.x=this.y=this.arc=this.site=this.cy=null}function zi(n){var t=n.P,e=n.N;if(t&&e){var r=t.site,i=n.site,u=e.site;if(r!==u){var o=i.x,a=i.y,l=r.x-o,c=r.y-a,f=u.x-o,s=2*(l*(g=u.y-a)-c*f);if(!(s>=-Pn)){var h=l*l+c*c,p=f*f+g*g,d=(g*h-c*p)/s,v=(l*p-f*h)/s,g=v+a,y=_i.pop()||new Pi;y.arc=n,y.site=i,y.x=d+o,y.y=g+Math.sqrt(d*d+v*v),y.cy=g,n.circle=y;for(var m=null,b=mi._;b;)if(y.y=a)return;if(h>d){if(u){if(u.y>=c)return}else u={x:g,y:l};e={x:g,y:c}}else{if(u){if(u.y1)if(h>d){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.y=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xNn||w(i-e)>Nn)&&(a.splice(o,0,new Di(ji(u.site,f,w(r-s)Nn?{x:s,y:w(t-s)Nn?{x:w(e-d)Nn?{x:h,y:w(t-h)Nn?{x:w(e-p)=e&&c.x<=i&&c.y>=r&&c.y<=o?[[e,o],[i,o],[i,r],[e,r]]:[]).point=n[a]})),t}function a(n){return n.map((function(n,t){return{x:Math.round(r(n,t)/Nn)*Nn,y:Math.round(i(n,t)/Nn)*Nn,i:t}}))}return o.links=function(n){return Hi(a(n)).edges.filter((function(n){return n.l&&n.r})).map((function(t){return{source:n[t.l.i],target:n[t.r.i]}}))},o.triangles=function(n){var t=[];return Hi(a(n)).cells.forEach((function(e,r){for(var i,u,o,a,l=e.site,c=e.edges.sort(Ni),f=-1,s=c.length,h=c[s-1].edge,p=h.l===l?h.r:h.l;++fu||s>o||h=x)<<1|t>=_,k=w+4;wu&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:Ji(e,r)})),u=eu.lastIndex;return uv&&(v=l.x),l.y>g&&(g=l.y),c.push(l.x),f.push(l.y);else for(s=0;sv&&(v=b),_>g&&(g=_),c.push(b),f.push(_)}var x=v-p,k=g-d;function E(n,t,e,r,i,u,o,a){if(!isNaN(e)&&!isNaN(r))if(n.leaf){var l=n.x,c=n.y;if(null!=l)if(w(l-e)+w(c-r)<.01)M(n,t,e,r,i,u,o,a);else{var f=n.point;n.x=n.y=n.point=null,M(n,f,l,c,i,u,o,a),M(n,t,e,r,i,u,o,a)}else n.x=e,n.y=r,n.point=t}else M(n,t,e,r,i,u,o,a)}function M(n,t,e,r,i,u,o,a){var l=.5*(i+o),c=.5*(u+a),f=e>=l,s=r>=c,h=s<<1|f;n.leaf=!1,f?i=l:o=l,s?u=c:a=c,E(n=n.nodes[h]||(n.nodes[h]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,e,r,i,u,o,a)}x>k?g=d+x:v=p+k;var S={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(n){E(S,n,+y(n,++s),+m(n,s),p,d,v,g)},visit:function(n){Ki(n,S,p,d,v,g)},find:function(n){return Zi(S,n[0],n[1],p,d,v,g)}};if(s=-1,null==t){for(;++s=0&&!(e=u.interpolators[r](n,t)););return e}function iu(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;e=1?1:n(t)}}function cu(n){return function(t){return 1-n(1-t)}}function fu(n){return function(t){return.5*(t<.5?n(2*t):2-n(2-2*t))}}function su(n){return n*n}function hu(n){return n*n*n}function pu(n){if(n<=0)return 0;if(n>=1)return 1;var t=n*n,e=t*n;return 4*(n<.5?e:3*(n-t)+e-.75)}function du(n){return 1-Math.cos(n*Rn)}function vu(n){return Math.pow(2,10*(n-1))}function gu(n){return 1-Math.sqrt(1-n*n)}function yu(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function mu(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function bu(n){var t,e,r,i=[n.a,n.b],u=[n.c,n.d],o=xu(i),a=_u(i,u),l=xu(((t=u)[0]+=(r=-a)*(e=i)[0],t[1]+=r*e[1],t))||0;i[0]*u[1]=0?n.slice(0,t):n,r=t>=0?n.slice(t+1):"in";return e=ou.get(e)||uu,lu((r=au.get(r)||R)(e.apply(null,o.call(arguments,1))))},u.interpolateHcl=function(n,t){n=u.hcl(n),t=u.hcl(t);var e=n.h,r=n.c,i=n.l,o=t.h-e,a=t.c-r,l=t.l-i;isNaN(a)&&(a=0,r=isNaN(r)?t.c:r);isNaN(o)?(o=0,e=isNaN(e)?t.h:e):o>180?o-=360:o<-180&&(o+=360);return function(n){return Jn(e+o*n,r+a*n,i+l*n)+""}},u.interpolateHsl=function(n,t){n=u.hsl(n),t=u.hsl(t);var e=n.h,r=n.s,i=n.l,o=t.h-e,a=t.s-r,l=t.l-i;isNaN(a)&&(a=0,r=isNaN(r)?t.s:r);isNaN(o)?(o=0,e=isNaN(e)?t.h:e):o>180?o-=360:o<-180&&(o+=360);return function(n){return Zn(e+o*n,r+a*n,i+l*n)+""}},u.interpolateLab=function(n,t){n=u.lab(n),t=u.lab(t);var e=n.l,r=n.a,i=n.b,o=t.l-e,a=t.a-r,l=t.b-i;return function(n){return rt(e+o*n,r+a*n,i+l*n)+""}},u.interpolateRound=mu,u.transform=function(n){var t=l.createElementNS(u.ns.prefix.svg,"g");return(u.transform=function(n){if(null!=n){t.setAttribute("transform",n);var e=t.transform.baseVal.consolidate()}return new bu(e?e.matrix:wu)})(n)},bu.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var wu={a:1,b:0,c:0,d:1,e:0,f:0};function ku(n){return n.length?n.pop()+",":""}function Eu(n,t){var e=[],r=[];return n=u.transform(n),t=u.transform(t),function(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push("translate(",null,",",null,")");r.push({i:i-4,x:Ji(n[0],t[0])},{i:i-2,x:Ji(n[1],t[1])})}else(t[0]||t[1])&&e.push("translate("+t+")")}(n.translate,t.translate,e,r),function(n,t,e,r){n!==t?(n-t>180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(ku(e)+"rotate(",null,")")-2,x:Ji(n,t)})):t&&e.push(ku(e)+"rotate("+t+")")}(n.rotate,t.rotate,e,r),function(n,t,e,r){n!==t?r.push({i:e.push(ku(e)+"skewX(",null,")")-2,x:Ji(n,t)}):t&&e.push(ku(e)+"skewX("+t+")")}(n.skew,t.skew,e,r),function(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(ku(e)+"scale(",null,",",null,")");r.push({i:i-4,x:Ji(n[0],t[0])},{i:i-2,x:Ji(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(ku(e)+"scale("+t+")")}(n.scale,t.scale,e,r),n=t=null,function(n){for(var t,i=-1,u=r.length;++i0?e=t:(n.c=null,n.t=NaN,n=null,l.end({type:"end",alpha:e=0})):t>0&&(l.start({type:"start",alpha:e=t}),n=Tt(a.tick)),a):e},a.start=function(){var n,t,e,u=y.length,l=m.length,f=c[0],d=c[1];for(n=0;n=0;)e.push(i[r])}function Du(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++o=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;e&&(u.value=0),u.children=c}else e&&(u.value=+e.call(r,u,u.depth)||0),delete u.children;return Du(i,(function(t){var r,i;n&&(r=t.children)&&r.sort(n),e&&(i=t.parent)&&(i.value+=t.value)})),a}return r.sort=function(t){return arguments.length?(n=t,r):n},r.children=function(n){return arguments.length?(t=n,r):t},r.value=function(n){return arguments.length?(e=n,r):e},r.revalue=function(n){return e&&(Iu(n,(function(n){n.children&&(n.value=0)})),Du(n,(function(n){var t;n.children||(n.value=+e.call(r,n,n.depth)||0),(t=n.parent)&&(t.value+=n.value)}))),n},r},u.layout.partition=function(){var n=u.layout.hierarchy(),t=[1,1];function e(e,r){var i=n.call(this,e,r);return function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++ca&&(a=r),o.push(r)}for(e=0;ei&&(r=e,i=t);return r}function Gu(n){return n.reduce(Ju,0)}function Ju(n,t){return n+t[1]}function no(n,t){return to(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function to(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function eo(n){return[u.min(n),u.max(n)]}function ro(n,t){return n.value-t.value}function io(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function uo(n,t){n._pack_next=t,t._pack_prev=n}function oo(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function ao(n){if((t=n.children)&&(l=t.length)){var t,e,r,i,u,o,a,l,c=1/0,f=-1/0,s=1/0,h=-1/0;if(t.forEach(lo),(e=t[0]).x=-e.r,e.y=0,b(e),l>1&&((r=t[1]).x=r.r,r.y=0,b(r),l>2))for(fo(e,r,i=t[2]),b(i),io(e,i),e._pack_prev=i,io(i,r),r=e._pack_next,u=3;u0)for(o=-1;++o=s[0]&&l<=s[1]&&((a=c[u.bisect(h,l,1,d)-1]).y+=v,a.push(i[o]));return c}return i.value=function(n){return arguments.length?(t=n,i):t},i.range=function(n){return arguments.length?(e=bt(n),i):e},i.bins=function(n){return arguments.length?(r="number"===typeof n?function(t){return to(t,n)}:bt(n),i):r},i.frequency=function(t){return arguments.length?(n=!!t,i):n},i},u.layout.pack=function(){var n,t=u.layout.hierarchy().sort(ro),e=0,r=[1,1];function i(i,u){var o=t.call(this,i,u),a=o[0],l=r[0],c=r[1],f=null==n?Math.sqrt:"function"===typeof n?n:function(){return n};if(a.x=a.y=0,Du(a,(function(n){n.r=+f(n.value)})),Du(a,ao),e){var s=e*(n?1:Math.max(2*a.r/l,2*a.r/c))/2;Du(a,(function(n){n.r+=s})),Du(a,ao),Du(a,(function(n){n.r-=s}))}return function n(t,e,r,i){var u=t.children;if(t.x=e+=i*t.x,t.y=r+=i*t.y,t.r*=i,u)for(var o=-1,a=u.length;++op.x&&(p=n),n.depth>d.depth&&(d=n)}));var v=t(h,p)/2-h.x,g=e[0]/(p.x+t(p,h)/2+v),y=e[1]/(d.depth||1);Iu(f,(function(n){n.x=(n.x+v)*g,n.y=n.depth*y}))}return c}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e.length){!function(n){var t,e=0,r=0,i=n.children,u=i.length;for(;--u>=0;)(t=i[u]).z+=e,t.m+=e,e+=t.s+(r+=t.c)}(n);var u=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-u):n.z=u}else i&&(n.z=i.z+t(n._,i._));n.parent.A=function(n,e,r){if(e){for(var i,u=n,o=n,a=e,l=u.parent.children[0],c=u.m,f=o.m,s=a.m,h=l.m;a=po(a),u=ho(u),a&&u;)l=ho(l),(o=po(o)).a=n,(i=a.z+s-u.z-c+t(a._,u._))>0&&(vo(go(a,n,r),n,i),c+=i,f+=i),s+=a.m,c+=u.m,h+=l.m,f+=o.m;a&&!po(o)&&(o.t=a,o.m+=s-f),u&&!ho(l)&&(l.t=u,l.m+=c-h,r=n)}return r}(n,i,n.parent.A||r[0])}function a(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function l(n){n.x*=e[0],n.y=n.depth*e[1]}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(n){return arguments.length?(r=null==(e=n)?l:null,i):r?null:e},i.nodeSize=function(n){return arguments.length?(r=null==(e=n)?null:l,i):r?e:null},ju(i,n)},u.layout.cluster=function(){var n=u.layout.hierarchy().sort(null).value(null),t=so,e=[1,1],r=!1;function i(i,o){var a,l=n.call(this,i,o),c=l[0],f=0;Du(c,(function(n){var e=n.children;e&&e.length?(n.x=function(n){return n.reduce((function(n,t){return n+t.x}),0)/n.length}(e),n.y=function(n){return 1+u.max(n,(function(n){return n.y}))}(e)):(n.x=a?f+=t(n,a):0,n.y=0,a=n)}));var s=function n(t){var e=t.children;return e&&e.length?n(e[0]):t}(c),h=function n(t){var e,r=t.children;return r&&(e=r.length)?n(r[e-1]):t}(c),p=s.x-t(s,h)/2,d=h.x+t(h,s)/2;return Du(c,r?function(n){n.x=(n.x-c.x)*e[0],n.y=(c.y-n.y)*e[1]}:function(n){n.x=(n.x-p)/(d-p)*e[0],n.y=(1-(c.y?n.y/c.y:1))*e[1]}),l}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(n){return arguments.length?(r=null==(e=n),i):r?null:e},i.nodeSize=function(n){return arguments.length?(r=null!=(e=n),i):r?e:null},ju(i,n)},u.layout.treemap=function(){var n,t=u.layout.hierarchy(),e=Math.round,r=[1,1],i=null,o=yo,a=!1,l="squarify",c=.5*(1+Math.sqrt(5));function f(n,t){for(var e,r,i=-1,u=n.length;++i0;)a.push(e=c[i-1]),a.area+=e.area,"squarify"!==l||(r=p(a,v))<=h?(c.pop(),h=r):(a.area-=a.pop().area,d(a,v,u,!1),v=Math.min(u.dx,u.dy),a.length=a.area=0,h=1/0);a.length&&(d(a,v,u,!0),a.length=a.area=0),t.forEach(s)}}function h(n){var t=n.children;if(t&&t.length){var e,r=o(n),i=t.slice(),u=[];for(f(i,r.dx*r.dy/n.value),u.area=0;e=i.pop();)u.push(e),u.area+=e.area,null!=e.z&&(d(u,e.z?r.dx:r.dy,r,!i.length),u.length=u.area=0);t.forEach(h)}}function p(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oi&&(i=e));return t*=t,(r*=r)?Math.max(t*i*c/r,r/(t*u*c)):1/0}function d(n,t,r,i){var u,o=-1,a=n.length,l=r.x,c=r.y,f=t?e(n.area/t):0;if(t==r.dx){for((i||f>r.dy)&&(f=r.dy);++or.dx)&&(f=r.dx);++o1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=u.random.normal.apply(u,arguments);return function(){return Math.exp(n())}},bates:function(n){var t=u.random.irwinHall(n);return function(){return t()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;e2?Mo:xo,a=i?Su:Mu;return u=n(t,e,a,r),o=n(e,t,a,ru),l}function l(n){return u(n)}return l.invert=function(n){return o(n)},l.domain=function(n){return arguments.length?(t=n.map(Number),a()):t},l.range=function(n){return arguments.length?(e=n,a()):e},l.rangeRound=function(n){return l.range(n).interpolate(mu)},l.clamp=function(n){return arguments.length?(i=n,a()):i},l.interpolate=function(n){return arguments.length?(r=n,a()):r},l.ticks=function(n){return No(t,n)},l.tickFormat=function(n,e){return Po(t,n,e)},l.nice=function(n){return To(t,n),a()},l.copy=function(){return n(t,e,r,i)},a()}([0,1],[0,1],ru,!1)};var zo={s:1,g:1,p:1,r:1,e:1};function Ao(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}u.scale.log=function(){return function n(t,e,r,i){function o(n){return(r?Math.log(n<0?0:n):-Math.log(n>0?0:-n))/Math.log(e)}function a(n){return r?Math.pow(e,n):-Math.pow(e,-n)}function l(n){return t(o(n))}return l.invert=function(n){return a(t.invert(n))},l.domain=function(n){return arguments.length?(r=n[0]>=0,t.domain((i=n.map(Number)).map(o)),l):i},l.base=function(n){return arguments.length?(e=+n,t.domain(i.map(o)),l):e},l.nice=function(){var n=wo(i.map(o),r?Math:Ro);return t.domain(n),i=n.map(a),l},l.ticks=function(){var n=bo(i),t=[],u=n[0],l=n[1],c=Math.floor(o(u)),f=Math.ceil(o(l)),s=e%1?2:e;if(isFinite(f-c)){if(r){for(;c0;h--)t.push(a(c)*h);for(c=0;t[c]l;f--);t=t.slice(c,f)}return t},l.tickFormat=function(n,t){if(!arguments.length)return Oo;arguments.length<2?t=Oo:"function"!==typeof t&&(t=u.format(t));var r=Math.max(1,e*n/l.ticks().length);return function(n){var i=n/a(Math.round(o(n)));return i*e0?r[n-1]:t[0],ns?0:1;if(c=On)return l(c,p)+(a?l(a,1-p):"")+"Z";var d,v,g,y,m,b,_,x,w,k,E,M,S=0,T=0,C=[];if((y=(+o.apply(this,arguments)||0)/2)&&(g=r===qo?Math.sqrt(a*a+c*c):+r.apply(this,arguments),p||(T*=-1),c&&(T=Un(g/c*Math.sin(y))),a&&(S=Un(g/a*Math.sin(y)))),c){m=c*Math.cos(f+T),b=c*Math.sin(f+T),_=c*Math.cos(s-T),x=c*Math.sin(s-T);var N=Math.abs(s-f-2*T)<=zn?0:1;if(T&&Qo(m,b,_,x)===p^N){var P=(f+s)/2;m=c*Math.cos(P),b=c*Math.sin(P),_=x=null}}else m=b=0;if(a){w=a*Math.cos(s-S),k=a*Math.sin(s-S),E=a*Math.cos(f+S),M=a*Math.sin(f+S);var z=Math.abs(f-s+2*S)<=zn?0:1;if(S&&Qo(w,k,E,M)===1-p^z){var A=(f+s)/2;w=a*Math.cos(A),k=a*Math.sin(A),E=M=null}}else w=k=0;if(h>Nn&&(d=Math.min(Math.abs(c-a)/2,+e.apply(this,arguments)))>.001){v=a0?0:1}function Yo(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,d=(f+h)/2,v=(s+p)/2,g=h-f,y=p-s,m=g*g+y*y,b=e-r,_=f*p-h*s,x=(y<0?-1:1)*Math.sqrt(Math.max(0,b*b*m-_*_)),w=(_*y-g*x)/m,k=(-_*g-y*x)/m,E=(_*y+g*x)/m,M=(-_*g+y*x)/m,S=w-d,T=k-v,C=E-d,N=M-v;return S*S+T*T>C*C+N*N&&(w=E,k=M),[[w-l,k-c],[w*e/b,k*e/b]]}function Ko(n){var t=oi,e=ai,r=Xe,i=Xo,u=i.key,o=.7;function a(u){var a,l=[],c=[],f=-1,s=u.length,h=bt(t),p=bt(e);function d(){l.push("M",i(n(c),o))}for(;++f1&&i.push("H",r[0]);return i.join("")},"step-before":Jo,"step-after":na,basis:ra,"basis-open":function(n){if(n.length<4)return Xo(n);var t,e=[],r=-1,i=n.length,u=[0],o=[0];for(;++r<3;)t=n[r],u.push(t[0]),o.push(t[1]);e.push(ia(aa,u)+","+ia(aa,o)),--r;for(;++r9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));a=-1;for(;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}(n))}});function Xo(n){return n.length>1?n.join("L"):n+"Z"}function Go(n){return n.join("L")+"Z"}function Jo(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;czn)+",1 "+t}function l(n,t,e,r){return"Q 0,0 "+r}return u.radius=function(n){return arguments.length?(e=bt(n),u):e},u.source=function(t){return arguments.length?(n=bt(t),u):n},u.target=function(n){return arguments.length?(t=bt(n),u):t},u.startAngle=function(n){return arguments.length?(r=bt(n),u):r},u.endAngle=function(n){return arguments.length?(i=bt(n),u):i},u},u.svg.diagonal=function(){var n=Br,t=Qr,e=pa;function r(r,i){var u=n.call(this,r,i),o=t.call(this,r,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return"M"+(l=l.map(e))[0]+"C"+l[1]+" "+l[2]+" "+l[3]}return r.source=function(t){return arguments.length?(n=bt(t),r):n},r.target=function(n){return arguments.length?(t=bt(n),r):t},r.projection=function(n){return arguments.length?(e=n,r):e},r},u.svg.diagonal.radial=function(){var n=u.svg.diagonal(),t=pa,e=n.projection;return n.projection=function(n){return arguments.length?e(da(t=n)):t},n},u.svg.symbol=function(){var n=ga,t=va;function e(e,r){return(ma.get(n.call(this,e,r))||ya)(t.call(this,e,r))}return e.type=function(t){return arguments.length?(n=bt(t),e):n},e.size=function(n){return arguments.length?(t=bt(n),e):t},e};var ma=u.map({circle:ya,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*_a)),e=t*_a;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/ba),e=t*ba/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/ba),e=t*ba/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});u.svg.symbolTypes=ma.keys();var ba=Math.sqrt(3),_a=Math.tan(30*Ln);Z.transition=function(n){for(var t,e,r=Ea||++Ta,i=Pa(n),u=[],o=Ma||{time:Date.now(),ease:pu,delay:0,duration:250},a=-1,l=this.length;++a0;)c[--h].call(n,o);if(u>=1)return s.event&&s.event.end.call(n,n.__data__,t),--f.count?delete f[r]:delete n[e],1}s||(u=i.time,o=Tt((function(n){var t=s.delay;if(o.t=t+u,t<=n)return h(n-t);o.c=h}),0,u),s=f[r]={tween:new M,time:u,timer:o,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++f.count)}Sa.call=Z.call,Sa.empty=Z.empty,Sa.node=Z.node,Sa.size=Z.size,u.transition=function(n,t){return n&&n.transition?Ea?n.transition(t):n:u.selection().transition(n)},u.transition.prototype=Sa,Sa.select=function(n){var t,e,r,i=this.id,u=this.namespace,o=[];n=X(n);for(var a=-1,l=this.length;++arect,.s>rect").attr("width",o[1]-o[0])}function v(n){n.select(".extent").attr("y",a[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",a[1]-a[0])}function g(){var s,g,y=this,m=u.select(u.event.target),b=e.of(y,arguments),_=u.select(y),x=m.datum(),w=!/^(n|s)$/.test(x)&&r,k=!/^(e|w)$/.test(x)&&i,E=m.classed("extent"),M=Mn(y),S=u.mouse(y),T=u.select(f(y)).on("keydown.brush",P).on("keyup.brush",z);if(u.event.changedTouches?T.on("touchmove.brush",A).on("touchend.brush",R):T.on("mousemove.brush",A).on("mouseup.brush",R),_.interrupt().selectAll("*").interrupt(),E)S[0]=o[0]-S[0],S[1]=a[0]-S[1];else if(x){var C=+/w$/.test(x),N=+/^n/.test(x);g=[o[1-C]-S[0],a[1-N]-S[1]],S[0]=o[C],S[1]=a[N]}else u.event.altKey&&(s=S.slice());function P(){32==u.event.keyCode&&(E||(s=null,S[0]-=o[1],S[1]-=a[1],E=2),q())}function z(){32==u.event.keyCode&&2==E&&(S[0]+=o[1],S[1]+=a[1],E=0,q())}function A(){var n=u.mouse(y),t=!1;g&&(n[0]+=g[0],n[1]+=g[1]),E||(u.event.altKey?(s||(s=[(o[0]+o[1])/2,(a[0]+a[1])/2]),S[0]=o[+(n[0]1?{floor:function(t){for(;a(t=n.floor(t));)t=$a(t-1);return t},ceil:function(t){for(;a(t=n.ceil(t));)t=$a(+t+1);return t}}:n))},r.ticks=function(n,t){var e=bo(r.domain()),u=null==n?i(e,10):"number"===typeof n?i(e,n):!n.range&&[{range:n},t];return u&&(n=u[0],t=u[1]),n.range(e[0],$a(+e[1]+1),t<1?1:t)},r.tickFormat=function(){return e},r.copy=function(){return Wa(n.copy(),t,e)},So(r,n)}function $a(n){return new Date(n)}Da.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?qa:Ua,qa.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},qa.toString=Ua.toString,It.second=qt((function(n){return new Dt(1e3*Math.floor(n/1e3))}),(function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))}),(function(n){return n.getSeconds()})),It.seconds=It.second.range,It.seconds.utc=It.second.utc.range,It.minute=qt((function(n){return new Dt(6e4*Math.floor(n/6e4))}),(function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))}),(function(n){return n.getMinutes()})),It.minutes=It.minute.range,It.minutes.utc=It.minute.utc.range,It.hour=qt((function(n){var t=n.getTimezoneOffset()/60;return new Dt(36e5*(Math.floor(n/36e5-t)+t))}),(function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))}),(function(n){return n.getHours()})),It.hours=It.hour.range,It.hours.utc=It.hour.utc.range,It.month=qt((function(n){return(n=It.day(n)).setDate(1),n}),(function(n,t){n.setMonth(n.getMonth()+t)}),(function(n){return n.getMonth()})),It.months=It.month.range,It.months.utc=It.month.utc.range;var Ha=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Va=[[It.second,1],[It.second,5],[It.second,15],[It.second,30],[It.minute,1],[It.minute,5],[It.minute,15],[It.minute,30],[It.hour,1],[It.hour,3],[It.hour,6],[It.hour,12],[It.day,1],[It.day,2],[It.week,1],[It.month,1],[It.month,3],[It.year,1]],Ba=Da.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",Xe]]),Qa={range:function(n,t,e){return u.range(Math.ceil(n/e)*e,+t,e).map($a)},floor:R,ceil:R};Va.year=It.year,It.scale=function(){return Wa(u.scale.linear(),Va,Ba)};var Ya=Va.map((function(n){return[n[0].utc,n[1]]})),Ka=Fa.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",Xe]]);function Za(n){return JSON.parse(n.responseText)}function Xa(n){var t=l.createRange();return t.selectNode(l.body),t.createContextualFragment(n.responseText)}Ya.year=It.year.utc,It.scale.utc=function(){return Wa(u.scale.linear(),Ya,Ka)},u.text=_t((function(n){return n.responseText})),u.json=function(n,t){return xt(n,"application/json",Za,t)},u.html=function(n,t){return xt(n,"text/html",Xa,t)},u.xml=_t((function(n){return n.responseXML})),this.d3=u,void 0===(i="function"===typeof(r=u)?r.call(t,e,t,n):r)||(n.exports=i)}()},function(n,t,e){"use strict";n.exports=e(7)},function(n,t,e){(function(n,r){var i;(function(){var u="Expected a function",o="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],l="[object Arguments]",c="[object Array]",f="[object Boolean]",s="[object Date]",h="[object Error]",p="[object Function]",d="[object GeneratorFunction]",v="[object Map]",g="[object Number]",y="[object Object]",m="[object RegExp]",b="[object Set]",_="[object String]",x="[object Symbol]",w="[object WeakMap]",k="[object ArrayBuffer]",E="[object DataView]",M="[object Float32Array]",S="[object Float64Array]",T="[object Int8Array]",C="[object Int16Array]",N="[object Int32Array]",P="[object Uint8Array]",z="[object Uint16Array]",A="[object Uint32Array]",O=/\b__p \+= '';/g,R=/\b(__p \+=) '' \+/g,L=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/&(?:amp|lt|gt|quot|#39);/g,I=/[&<>"']/g,D=RegExp(j.source),F=RegExp(I.source),U=/<%-([\s\S]+?)%>/g,q=/<%([\s\S]+?)%>/g,W=/<%=([\s\S]+?)%>/g,$=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/,V=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,B=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(B.source),Y=/^\s+|\s+$/g,K=/^\s+/,Z=/\s+$/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,G=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,nn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tn=/\\(\\)?/g,en=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rn=/\w*$/,un=/^[-+]0x[0-9a-f]+$/i,on=/^0b[01]+$/i,an=/^\[object .+?Constructor\]$/,ln=/^0o[0-7]+$/i,cn=/^(?:0|[1-9]\d*)$/,fn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,sn=/($^)/,hn=/['\n\r\u2028\u2029\\]/g,pn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",dn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",vn="[\\ud800-\\udfff]",gn="["+dn+"]",yn="["+pn+"]",mn="\\d+",bn="[\\u2700-\\u27bf]",_n="[a-z\\xdf-\\xf6\\xf8-\\xff]",xn="[^\\ud800-\\udfff"+dn+mn+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",wn="\\ud83c[\\udffb-\\udfff]",kn="[^\\ud800-\\udfff]",En="(?:\\ud83c[\\udde6-\\uddff]){2}",Mn="[\\ud800-\\udbff][\\udc00-\\udfff]",Sn="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Tn="(?:"+_n+"|"+xn+")",Cn="(?:"+Sn+"|"+xn+")",Nn="(?:"+yn+"|"+wn+")"+"?",Pn="[\\ufe0e\\ufe0f]?"+Nn+("(?:\\u200d(?:"+[kn,En,Mn].join("|")+")[\\ufe0e\\ufe0f]?"+Nn+")*"),zn="(?:"+[bn,En,Mn].join("|")+")"+Pn,An="(?:"+[kn+yn+"?",yn,En,Mn,vn].join("|")+")",On=RegExp("['\u2019]","g"),Rn=RegExp(yn,"g"),Ln=RegExp(wn+"(?="+wn+")|"+An+Pn,"g"),jn=RegExp([Sn+"?"+_n+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[gn,Sn,"$"].join("|")+")",Cn+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[gn,Sn+Tn,"$"].join("|")+")",Sn+"?"+Tn+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Sn+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",mn,zn].join("|"),"g"),In=RegExp("[\\u200d\\ud800-\\udfff"+pn+"\\ufe0e\\ufe0f]"),Dn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Fn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Un=-1,qn={};qn[M]=qn[S]=qn[T]=qn[C]=qn[N]=qn[P]=qn["[object Uint8ClampedArray]"]=qn[z]=qn[A]=!0,qn[l]=qn[c]=qn[k]=qn[f]=qn[E]=qn[s]=qn[h]=qn[p]=qn[v]=qn[g]=qn[y]=qn[m]=qn[b]=qn[_]=qn[w]=!1;var Wn={};Wn[l]=Wn[c]=Wn[k]=Wn[E]=Wn[f]=Wn[s]=Wn[M]=Wn[S]=Wn[T]=Wn[C]=Wn[N]=Wn[v]=Wn[g]=Wn[y]=Wn[m]=Wn[b]=Wn[_]=Wn[x]=Wn[P]=Wn["[object Uint8ClampedArray]"]=Wn[z]=Wn[A]=!0,Wn[h]=Wn[p]=Wn[w]=!1;var $n={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Hn=parseFloat,Vn=parseInt,Bn="object"==typeof n&&n&&n.Object===Object&&n,Qn="object"==typeof self&&self&&self.Object===Object&&self,Yn=Bn||Qn||Function("return this")(),Kn=t&&!t.nodeType&&t,Zn=Kn&&"object"==typeof r&&r&&!r.nodeType&&r,Xn=Zn&&Zn.exports===Kn,Gn=Xn&&Bn.process,Jn=function(){try{var n=Zn&&Zn.require&&Zn.require("util").types;return n||Gn&&Gn.binding&&Gn.binding("util")}catch(t){}}(),nt=Jn&&Jn.isArrayBuffer,tt=Jn&&Jn.isDate,et=Jn&&Jn.isMap,rt=Jn&&Jn.isRegExp,it=Jn&&Jn.isSet,ut=Jn&&Jn.isTypedArray;function ot(n,t,e){switch(e.length){case 0:return n.call(t);case 1:return n.call(t,e[0]);case 2:return n.call(t,e[0],e[1]);case 3:return n.call(t,e[0],e[1],e[2])}return n.apply(t,e)}function at(n,t,e,r){for(var i=-1,u=null==n?0:n.length;++i-1}function pt(n,t,e){for(var r=-1,i=null==n?0:n.length;++r-1;);return e}function Lt(n,t){for(var e=n.length;e--&&wt(t,n[e],0)>-1;);return e}function jt(n,t){for(var e=n.length,r=0;e--;)n[e]===t&&++r;return r}var It=Tt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Dt=Tt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Ft(n){return"\\"+$n[n]}function Ut(n){return In.test(n)}function qt(n){var t=-1,e=Array(n.size);return n.forEach((function(n,r){e[++t]=[r,n]})),e}function Wt(n,t){return function(e){return n(t(e))}}function $t(n,t){for(var e=-1,r=n.length,i=0,u=[];++e",""":'"',"'":"'"});var Kt=function n(t){var e=(t=null==t?Yn:Kt.defaults(Yn.Object(),t,Kt.pick(Yn,Fn))).Array,r=t.Date,i=t.Error,pn=t.Function,dn=t.Math,vn=t.Object,gn=t.RegExp,yn=t.String,mn=t.TypeError,bn=e.prototype,_n=pn.prototype,xn=vn.prototype,wn=t["__core-js_shared__"],kn=_n.toString,En=xn.hasOwnProperty,Mn=0,Sn=function(){var n=/[^.]+$/.exec(wn&&wn.keys&&wn.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}(),Tn=xn.toString,Cn=kn.call(vn),Nn=Yn._,Pn=gn("^"+kn.call(En).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zn=Xn?t.Buffer:void 0,An=t.Symbol,Ln=t.Uint8Array,In=zn?zn.allocUnsafe:void 0,$n=Wt(vn.getPrototypeOf,vn),Bn=vn.create,Qn=xn.propertyIsEnumerable,Kn=bn.splice,Zn=An?An.isConcatSpreadable:void 0,Gn=An?An.iterator:void 0,Jn=An?An.toStringTag:void 0,bt=function(){try{var n=Gi(vn,"defineProperty");return n({},"",{}),n}catch(t){}}(),Tt=t.clearTimeout!==Yn.clearTimeout&&t.clearTimeout,Zt=r&&r.now!==Yn.Date.now&&r.now,Xt=t.setTimeout!==Yn.setTimeout&&t.setTimeout,Gt=dn.ceil,Jt=dn.floor,ne=vn.getOwnPropertySymbols,te=zn?zn.isBuffer:void 0,ee=t.isFinite,re=bn.join,ie=Wt(vn.keys,vn),ue=dn.max,oe=dn.min,ae=r.now,le=t.parseInt,ce=dn.random,fe=bn.reverse,se=Gi(t,"DataView"),he=Gi(t,"Map"),pe=Gi(t,"Promise"),de=Gi(t,"Set"),ve=Gi(t,"WeakMap"),ge=Gi(vn,"create"),ye=ve&&new ve,me={},be=Mu(se),_e=Mu(he),xe=Mu(pe),we=Mu(de),ke=Mu(ve),Ee=An?An.prototype:void 0,Me=Ee?Ee.valueOf:void 0,Se=Ee?Ee.toString:void 0;function Te(n){if($o(n)&&!Ao(n)&&!(n instanceof ze)){if(n instanceof Pe)return n;if(En.call(n,"__wrapped__"))return Su(n)}return new Pe(n)}var Ce=function(){function n(){}return function(t){if(!Wo(t))return{};if(Bn)return Bn(t);n.prototype=t;var e=new n;return n.prototype=void 0,e}}();function Ne(){}function Pe(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function ze(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Ae(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t=t?n:t)),n}function Ke(n,t,e,r,i,u){var o,a=1&t,c=2&t,h=4&t;if(e&&(o=i?e(n,r,i,u):e(n)),void 0!==o)return o;if(!Wo(n))return n;var w=Ao(n);if(w){if(o=function(n){var t=n.length,e=new n.constructor(t);t&&"string"==typeof n[0]&&En.call(n,"index")&&(e.index=n.index,e.input=n.input);return e}(n),!a)return gi(n,o)}else{var O=tu(n),R=O==p||O==d;if(jo(n))return fi(n,a);if(O==y||O==l||R&&!i){if(o=c||R?{}:ru(n),!a)return c?function(n,t){return yi(n,nu(n),t)}(n,function(n,t){return n&&yi(t,_a(t),n)}(o,n)):function(n,t){return yi(n,Ji(n),t)}(n,Ve(o,n))}else{if(!Wn[O])return i?n:{};o=function(n,t,e){var r=n.constructor;switch(t){case k:return si(n);case f:case s:return new r(+n);case E:return function(n,t){var e=t?si(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.byteLength)}(n,e);case M:case S:case T:case C:case N:case P:case"[object Uint8ClampedArray]":case z:case A:return hi(n,e);case v:return new r;case g:case _:return new r(n);case m:return function(n){var t=new n.constructor(n.source,rn.exec(n));return t.lastIndex=n.lastIndex,t}(n);case b:return new r;case x:return i=n,Me?vn(Me.call(i)):{}}var i}(n,O,a)}}u||(u=new je);var L=u.get(n);if(L)return L;u.set(n,o),Yo(n)?n.forEach((function(r){o.add(Ke(r,t,e,r,n,u))})):Ho(n)&&n.forEach((function(r,i){o.set(i,Ke(r,t,e,i,n,u))}));var j=w?void 0:(h?c?Vi:Hi:c?_a:ba)(n);return lt(j||n,(function(r,i){j&&(r=n[i=r]),We(o,i,Ke(r,t,e,i,n,u))})),o}function Ze(n,t,e){var r=e.length;if(null==n)return!r;for(n=vn(n);r--;){var i=e[r],u=t[i],o=n[i];if(void 0===o&&!(i in n)||!u(o))return!1}return!0}function Xe(n,t,e){if("function"!=typeof n)throw new mn(u);return mu((function(){n.apply(void 0,e)}),t)}function Ge(n,t,e,r){var i=-1,u=ht,o=!0,a=n.length,l=[],c=t.length;if(!a)return l;e&&(t=dt(t,zt(e))),r?(u=pt,o=!1):t.length>=200&&(u=Ot,o=!1,t=new Le(t));n:for(;++i-1},Oe.prototype.set=function(n,t){var e=this.__data__,r=$e(e,n);return r<0?(++this.size,e.push([n,t])):e[r][1]=t,this},Re.prototype.clear=function(){this.size=0,this.__data__={hash:new Ae,map:new(he||Oe),string:new Ae}},Re.prototype.delete=function(n){var t=Zi(this,n).delete(n);return this.size-=t?1:0,t},Re.prototype.get=function(n){return Zi(this,n).get(n)},Re.prototype.has=function(n){return Zi(this,n).has(n)},Re.prototype.set=function(n,t){var e=Zi(this,n),r=e.size;return e.set(n,t),this.size+=e.size==r?0:1,this},Le.prototype.add=Le.prototype.push=function(n){return this.__data__.set(n,"__lodash_hash_undefined__"),this},Le.prototype.has=function(n){return this.__data__.has(n)},je.prototype.clear=function(){this.__data__=new Oe,this.size=0},je.prototype.delete=function(n){var t=this.__data__,e=t.delete(n);return this.size=t.size,e},je.prototype.get=function(n){return this.__data__.get(n)},je.prototype.has=function(n){return this.__data__.has(n)},je.prototype.set=function(n,t){var e=this.__data__;if(e instanceof Oe){var r=e.__data__;if(!he||r.length<199)return r.push([n,t]),this.size=++e.size,this;e=this.__data__=new Re(r)}return e.set(n,t),this.size=e.size,this};var Je=_i(ar),nr=_i(lr,!0);function tr(n,t){var e=!0;return Je(n,(function(n,r,i){return e=!!t(n,r,i)})),e}function er(n,t,e){for(var r=-1,i=n.length;++r0&&e(a)?t>1?ir(a,t-1,e,r,i):vt(i,a):r||(i[i.length]=a)}return i}var ur=xi(),or=xi(!0);function ar(n,t){return n&&ur(n,t,ba)}function lr(n,t){return n&&or(n,t,ba)}function cr(n,t){return st(t,(function(t){return Fo(n[t])}))}function fr(n,t){for(var e=0,r=(t=oi(t,n)).length;null!=n&&et}function dr(n,t){return null!=n&&En.call(n,t)}function vr(n,t){return null!=n&&t in vn(n)}function gr(n,t,r){for(var i=r?pt:ht,u=n[0].length,o=n.length,a=o,l=e(o),c=1/0,f=[];a--;){var s=n[a];a&&t&&(s=dt(s,zt(t))),c=oe(s.length,c),l[a]=!r&&(t||u>=120&&s.length>=120)?new Le(a&&s):void 0}s=n[0];var h=-1,p=l[0];n:for(;++h=a)return l;var c=e[r];return l*("desc"==c?-1:1)}}return n.index-t.index}(n,t,e)}))}function Ar(n,t,e){for(var r=-1,i=t.length,u={};++r-1;)a!==n&&Kn.call(a,l,1),Kn.call(n,l,1);return n}function Rr(n,t){for(var e=n?t.length:0,r=e-1;e--;){var i=t[e];if(e==r||i!==u){var u=i;uu(i)?Kn.call(n,i,1):Gr(n,i)}}return n}function Lr(n,t){return n+Jt(ce()*(t-n+1))}function jr(n,t){var e="";if(!n||t<1||t>9007199254740991)return e;do{t%2&&(e+=n),(t=Jt(t/2))&&(n+=n)}while(t);return e}function Ir(n,t){return bu(pu(n,t,Va),n+"")}function Dr(n){return De(Ca(n))}function Fr(n,t){var e=Ca(n);return wu(e,Ye(t,0,e.length))}function Ur(n,t,e,r){if(!Wo(n))return n;for(var i=-1,u=(t=oi(t,n)).length,o=u-1,a=n;null!=a&&++iu?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var o=e(u);++i>>1,o=n[u];null!==o&&!Zo(o)&&(e?o<=t:o=200){var c=t?null:ji(n);if(c)return Ht(c);o=!1,i=Ot,l=new Le}else l=t?[]:a;n:for(;++r=r?n:Hr(n,t,e)}var ci=Tt||function(n){return Yn.clearTimeout(n)};function fi(n,t){if(t)return n.slice();var e=n.length,r=In?In(e):new n.constructor(e);return n.copy(r),r}function si(n){var t=new n.constructor(n.byteLength);return new Ln(t).set(new Ln(n)),t}function hi(n,t){var e=t?si(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)}function pi(n,t){if(n!==t){var e=void 0!==n,r=null===n,i=n===n,u=Zo(n),o=void 0!==t,a=null===t,l=t===t,c=Zo(t);if(!a&&!c&&!u&&n>t||u&&o&&l&&!a&&!c||r&&o&&l||!e&&l||!i)return 1;if(!r&&!u&&!c&&n1?e[i-1]:void 0,o=i>2?e[2]:void 0;for(u=n.length>3&&"function"==typeof u?(i--,u):void 0,o&&ou(e[0],e[1],o)&&(u=i<3?void 0:u,i=1),t=vn(t);++r-1?i[u?t[o]:o]:void 0}}function Si(n){return $i((function(t){var e=t.length,r=e,i=Pe.prototype.thru;for(n&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new mn(u);if(i&&!a&&"wrapper"==Qi(o))var a=new Pe([],!0)}for(r=a?r:e;++r1&&b.reverse(),s&&ca))return!1;var c=u.get(n),f=u.get(t);if(c&&f)return c==t&&f==n;var s=-1,h=!0,p=2&e?new Le:void 0;for(u.set(n,t),u.set(t,n);++s-1&&n%1==0&&n1?"& ":"")+t[r],t=t.join(e>2?", ":" "),n.replace(X,"{\n/* [wrapped with "+t+"] */\n")}(r,function(n,t){return lt(a,(function(e){var r="_."+e[0];t&e[1]&&!ht(n,r)&&n.push(r)})),n.sort()}(function(n){var t=n.match(G);return t?t[1].split(J):[]}(r),e)))}function xu(n){var t=0,e=0;return function(){var r=ae(),i=16-(r-e);if(e=r,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}function wu(n,t){var e=-1,r=n.length,i=r-1;for(t=void 0===t?r:t;++e1?n[t-1]:void 0;return e="function"==typeof e?(n.pop(),e):void 0,Bu(n,e)}));function Ju(n){var t=Te(n);return t.__chain__=!0,t}function no(n,t){return t(n)}var to=$i((function(n){var t=n.length,e=t?n[0]:0,r=this.__wrapped__,i=function(t){return Qe(t,n)};return!(t>1||this.__actions__.length)&&r instanceof ze&&uu(e)?((r=r.slice(e,+e+(t?1:0))).__actions__.push({func:no,args:[i],thisArg:void 0}),new Pe(r,this.__chain__).thru((function(n){return t&&!n.length&&n.push(void 0),n}))):this.thru(i)}));var eo=mi((function(n,t,e){En.call(n,e)?++n[e]:Be(n,e,1)}));var ro=Mi(Pu),io=Mi(zu);function uo(n,t){return(Ao(n)?lt:Je)(n,Ki(t,3))}function oo(n,t){return(Ao(n)?ct:nr)(n,Ki(t,3))}var ao=mi((function(n,t,e){En.call(n,e)?n[e].push(t):Be(n,e,[t])}));var lo=Ir((function(n,t,r){var i=-1,u="function"==typeof t,o=Ro(n)?e(n.length):[];return Je(n,(function(n){o[++i]=u?ot(t,n,r):yr(n,t,r)})),o})),co=mi((function(n,t,e){Be(n,e,t)}));function fo(n,t){return(Ao(n)?dt:Sr)(n,Ki(t,3))}var so=mi((function(n,t,e){n[e?0:1].push(t)}),(function(){return[[],[]]}));var ho=Ir((function(n,t){if(null==n)return[];var e=t.length;return e>1&&ou(n,t[0],t[1])?t=[]:e>2&&ou(t[0],t[1],t[2])&&(t=[t[0]]),zr(n,ir(t,1),[])})),po=Zt||function(){return Yn.Date.now()};function vo(n,t,e){return t=e?void 0:t,Di(n,128,void 0,void 0,void 0,void 0,t=n&&null==t?n.length:t)}function go(n,t){var e;if("function"!=typeof t)throw new mn(u);return n=ea(n),function(){return--n>0&&(e=t.apply(this,arguments)),n<=1&&(t=void 0),e}}var yo=Ir((function(n,t,e){var r=1;if(e.length){var i=$t(e,Yi(yo));r|=32}return Di(n,r,t,e,i)})),mo=Ir((function(n,t,e){var r=3;if(e.length){var i=$t(e,Yi(mo));r|=32}return Di(t,r,n,e,i)}));function bo(n,t,e){var r,i,o,a,l,c,f=0,s=!1,h=!1,p=!0;if("function"!=typeof n)throw new mn(u);function d(t){var e=r,u=i;return r=i=void 0,f=t,a=n.apply(u,e)}function v(n){return f=n,l=mu(y,t),s?d(n):a}function g(n){var e=n-c;return void 0===c||e>=t||e<0||h&&n-f>=o}function y(){var n=po();if(g(n))return m(n);l=mu(y,function(n){var e=t-(n-c);return h?oe(e,o-(n-f)):e}(n))}function m(n){return l=void 0,p&&r?d(n):(r=i=void 0,a)}function b(){var n=po(),e=g(n);if(r=arguments,i=this,c=n,e){if(void 0===l)return v(c);if(h)return ci(l),l=mu(y,t),d(c)}return void 0===l&&(l=mu(y,t)),a}return t=ia(t)||0,Wo(e)&&(s=!!e.leading,o=(h="maxWait"in e)?ue(ia(e.maxWait)||0,t):o,p="trailing"in e?!!e.trailing:p),b.cancel=function(){void 0!==l&&ci(l),f=0,r=c=i=l=void 0},b.flush=function(){return void 0===l?a:m(po())},b}var _o=Ir((function(n,t){return Xe(n,1,t)})),xo=Ir((function(n,t,e){return Xe(n,ia(t)||0,e)}));function wo(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new mn(u);var e=function e(){var r=arguments,i=t?t.apply(this,r):r[0],u=e.cache;if(u.has(i))return u.get(i);var o=n.apply(this,r);return e.cache=u.set(i,o)||u,o};return e.cache=new(wo.Cache||Re),e}function ko(n){if("function"!=typeof n)throw new mn(u);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}wo.Cache=Re;var Eo=ai((function(n,t){var e=(t=1==t.length&&Ao(t[0])?dt(t[0],zt(Ki())):dt(ir(t,1),zt(Ki()))).length;return Ir((function(r){for(var i=-1,u=oe(r.length,e);++i=t})),zo=mr(function(){return arguments}())?mr:function(n){return $o(n)&&En.call(n,"callee")&&!Qn.call(n,"callee")},Ao=e.isArray,Oo=nt?zt(nt):function(n){return $o(n)&&hr(n)==k};function Ro(n){return null!=n&&qo(n.length)&&!Fo(n)}function Lo(n){return $o(n)&&Ro(n)}var jo=te||il,Io=tt?zt(tt):function(n){return $o(n)&&hr(n)==s};function Do(n){if(!$o(n))return!1;var t=hr(n);return t==h||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!Bo(n)}function Fo(n){if(!Wo(n))return!1;var t=hr(n);return t==p||t==d||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Uo(n){return"number"==typeof n&&n==ea(n)}function qo(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991}function Wo(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function $o(n){return null!=n&&"object"==typeof n}var Ho=et?zt(et):function(n){return $o(n)&&tu(n)==v};function Vo(n){return"number"==typeof n||$o(n)&&hr(n)==g}function Bo(n){if(!$o(n)||hr(n)!=y)return!1;var t=$n(n);if(null===t)return!0;var e=En.call(t,"constructor")&&t.constructor;return"function"==typeof e&&e instanceof e&&kn.call(e)==Cn}var Qo=rt?zt(rt):function(n){return $o(n)&&hr(n)==m};var Yo=it?zt(it):function(n){return $o(n)&&tu(n)==b};function Ko(n){return"string"==typeof n||!Ao(n)&&$o(n)&&hr(n)==_}function Zo(n){return"symbol"==typeof n||$o(n)&&hr(n)==x}var Xo=ut?zt(ut):function(n){return $o(n)&&qo(n.length)&&!!qn[hr(n)]};var Go=Oi(Mr),Jo=Oi((function(n,t){return n<=t}));function na(n){if(!n)return[];if(Ro(n))return Ko(n)?Qt(n):gi(n);if(Gn&&n[Gn])return function(n){for(var t,e=[];!(t=n.next()).done;)e.push(t.value);return e}(n[Gn]());var t=tu(n);return(t==v?qt:t==b?Ht:Ca)(n)}function ta(n){return n?(n=ia(n))===1/0||n===-1/0?17976931348623157e292*(n<0?-1:1):n===n?n:0:0===n?n:0}function ea(n){var t=ta(n),e=t%1;return t===t?e?t-e:t:0}function ra(n){return n?Ye(ea(n),0,4294967295):0}function ia(n){if("number"==typeof n)return n;if(Zo(n))return NaN;if(Wo(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=Wo(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=n.replace(Y,"");var e=on.test(n);return e||ln.test(n)?Vn(n.slice(2),e?2:8):un.test(n)?NaN:+n}function ua(n){return yi(n,_a(n))}function oa(n){return null==n?"":Zr(n)}var aa=bi((function(n,t){if(fu(t)||Ro(t))yi(t,ba(t),n);else for(var e in t)En.call(t,e)&&We(n,e,t[e])})),la=bi((function(n,t){yi(t,_a(t),n)})),ca=bi((function(n,t,e,r){yi(t,_a(t),n,r)})),fa=bi((function(n,t,e,r){yi(t,ba(t),n,r)})),sa=$i(Qe);var ha=Ir((function(n,t){n=vn(n);var e=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&ou(t[0],t[1],i)&&(r=1);++e1),t})),yi(n,Vi(n),e),r&&(e=Ke(e,7,qi));for(var i=t.length;i--;)Gr(e,t[i]);return e}));var Ea=$i((function(n,t){return null==n?{}:function(n,t){return Ar(n,t,(function(t,e){return va(n,e)}))}(n,t)}));function Ma(n,t){if(null==n)return{};var e=dt(Vi(n),(function(n){return[n]}));return t=Ki(t),Ar(n,e,(function(n,e){return t(n,e[0])}))}var Sa=Ii(ba),Ta=Ii(_a);function Ca(n){return null==n?[]:At(n,ba(n))}var Na=ki((function(n,t,e){return t=t.toLowerCase(),n+(e?Pa(t):t)}));function Pa(n){return Da(oa(n).toLowerCase())}function za(n){return(n=oa(n))&&n.replace(fn,It).replace(Rn,"")}var Aa=ki((function(n,t,e){return n+(e?"-":"")+t.toLowerCase()})),Oa=ki((function(n,t,e){return n+(e?" ":"")+t.toLowerCase()})),Ra=wi("toLowerCase");var La=ki((function(n,t,e){return n+(e?"_":"")+t.toLowerCase()}));var ja=ki((function(n,t,e){return n+(e?" ":"")+Da(t)}));var Ia=ki((function(n,t,e){return n+(e?" ":"")+t.toUpperCase()})),Da=wi("toUpperCase");function Fa(n,t,e){return n=oa(n),void 0===(t=e?void 0:t)?function(n){return Dn.test(n)}(n)?function(n){return n.match(jn)||[]}(n):function(n){return n.match(nn)||[]}(n):n.match(t)||[]}var Ua=Ir((function(n,t){try{return ot(n,void 0,t)}catch(e){return Do(e)?e:new i(e)}})),qa=$i((function(n,t){return lt(t,(function(t){t=Eu(t),Be(n,t,yo(n[t],n))})),n}));function Wa(n){return function(){return n}}var $a=Si(),Ha=Si(!0);function Va(n){return n}function Ba(n){return wr("function"==typeof n?n:Ke(n,1))}var Qa=Ir((function(n,t){return function(e){return yr(e,n,t)}})),Ya=Ir((function(n,t){return function(e){return yr(n,e,t)}}));function Ka(n,t,e){var r=ba(t),i=cr(t,r);null!=e||Wo(t)&&(i.length||!r.length)||(e=t,t=n,n=this,i=cr(t,ba(t)));var u=!(Wo(e)&&"chain"in e)||!!e.chain,o=Fo(n);return lt(i,(function(e){var r=t[e];n[e]=r,o&&(n.prototype[e]=function(){var t=this.__chain__;if(u||t){var e=n(this.__wrapped__),i=e.__actions__=gi(this.__actions__);return i.push({func:r,args:arguments,thisArg:n}),e.__chain__=t,e}return r.apply(n,vt([this.value()],arguments))})})),n}function Za(){}var Xa=Pi(dt),Ga=Pi(ft),Ja=Pi(mt);function nl(n){return au(n)?St(Eu(n)):function(n){return function(t){return fr(t,n)}}(n)}var tl=Ai(),el=Ai(!0);function rl(){return[]}function il(){return!1}var ul=Ni((function(n,t){return n+t}),0),ol=Li("ceil"),al=Ni((function(n,t){return n/t}),1),ll=Li("floor");var cl=Ni((function(n,t){return n*t}),1),fl=Li("round"),sl=Ni((function(n,t){return n-t}),0);return Te.after=function(n,t){if("function"!=typeof t)throw new mn(u);return n=ea(n),function(){if(--n<1)return t.apply(this,arguments)}},Te.ary=vo,Te.assign=aa,Te.assignIn=la,Te.assignInWith=ca,Te.assignWith=fa,Te.at=sa,Te.before=go,Te.bind=yo,Te.bindAll=qa,Te.bindKey=mo,Te.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return Ao(n)?n:[n]},Te.chain=Ju,Te.chunk=function(n,t,r){t=(r?ou(n,t,r):void 0===t)?1:ue(ea(t),0);var i=null==n?0:n.length;if(!i||t<1)return[];for(var u=0,o=0,a=e(Gt(i/t));ui?0:i+e),(r=void 0===r||r>i?i:ea(r))<0&&(r+=i),r=e>r?0:ra(r);e>>0)?(n=oa(n))&&("string"==typeof t||null!=t&&!Qo(t))&&!(t=Zr(t))&&Ut(n)?li(Qt(n),0,e):n.split(t,e):[]},Te.spread=function(n,t){if("function"!=typeof n)throw new mn(u);return t=null==t?0:ue(ea(t),0),Ir((function(e){var r=e[t],i=li(e,0,t);return r&&vt(i,r),ot(n,this,i)}))},Te.tail=function(n){var t=null==n?0:n.length;return t?Hr(n,1,t):[]},Te.take=function(n,t,e){return n&&n.length?Hr(n,0,(t=e||void 0===t?1:ea(t))<0?0:t):[]},Te.takeRight=function(n,t,e){var r=null==n?0:n.length;return r?Hr(n,(t=r-(t=e||void 0===t?1:ea(t)))<0?0:t,r):[]},Te.takeRightWhile=function(n,t){return n&&n.length?ni(n,Ki(t,3),!1,!0):[]},Te.takeWhile=function(n,t){return n&&n.length?ni(n,Ki(t,3)):[]},Te.tap=function(n,t){return t(n),n},Te.throttle=function(n,t,e){var r=!0,i=!0;if("function"!=typeof n)throw new mn(u);return Wo(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),bo(n,t,{leading:r,maxWait:t,trailing:i})},Te.thru=no,Te.toArray=na,Te.toPairs=Sa,Te.toPairsIn=Ta,Te.toPath=function(n){return Ao(n)?dt(n,Eu):Zo(n)?[n]:gi(ku(oa(n)))},Te.toPlainObject=ua,Te.transform=function(n,t,e){var r=Ao(n),i=r||jo(n)||Xo(n);if(t=Ki(t,4),null==e){var u=n&&n.constructor;e=i?r?new u:[]:Wo(n)&&Fo(u)?Ce($n(n)):{}}return(i?lt:ar)(n,(function(n,r,i){return t(e,n,r,i)})),e},Te.unary=function(n){return vo(n,1)},Te.union=Wu,Te.unionBy=$u,Te.unionWith=Hu,Te.uniq=function(n){return n&&n.length?Xr(n):[]},Te.uniqBy=function(n,t){return n&&n.length?Xr(n,Ki(t,2)):[]},Te.uniqWith=function(n,t){return t="function"==typeof t?t:void 0,n&&n.length?Xr(n,void 0,t):[]},Te.unset=function(n,t){return null==n||Gr(n,t)},Te.unzip=Vu,Te.unzipWith=Bu,Te.update=function(n,t,e){return null==n?n:Jr(n,t,ui(e))},Te.updateWith=function(n,t,e,r){return r="function"==typeof r?r:void 0,null==n?n:Jr(n,t,ui(e),r)},Te.values=Ca,Te.valuesIn=function(n){return null==n?[]:At(n,_a(n))},Te.without=Qu,Te.words=Fa,Te.wrap=function(n,t){return Mo(ui(t),n)},Te.xor=Yu,Te.xorBy=Ku,Te.xorWith=Zu,Te.zip=Xu,Te.zipObject=function(n,t){return ri(n||[],t||[],We)},Te.zipObjectDeep=function(n,t){return ri(n||[],t||[],Ur)},Te.zipWith=Gu,Te.entries=Sa,Te.entriesIn=Ta,Te.extend=la,Te.extendWith=ca,Ka(Te,Te),Te.add=ul,Te.attempt=Ua,Te.camelCase=Na,Te.capitalize=Pa,Te.ceil=ol,Te.clamp=function(n,t,e){return void 0===e&&(e=t,t=void 0),void 0!==e&&(e=(e=ia(e))===e?e:0),void 0!==t&&(t=(t=ia(t))===t?t:0),Ye(ia(n),t,e)},Te.clone=function(n){return Ke(n,4)},Te.cloneDeep=function(n){return Ke(n,5)},Te.cloneDeepWith=function(n,t){return Ke(n,5,t="function"==typeof t?t:void 0)},Te.cloneWith=function(n,t){return Ke(n,4,t="function"==typeof t?t:void 0)},Te.conformsTo=function(n,t){return null==t||Ze(n,t,ba(t))},Te.deburr=za,Te.defaultTo=function(n,t){return null==n||n!==n?t:n},Te.divide=al,Te.endsWith=function(n,t,e){n=oa(n),t=Zr(t);var r=n.length,i=e=void 0===e?r:Ye(ea(e),0,r);return(e-=t.length)>=0&&n.slice(e,i)==t},Te.eq=Co,Te.escape=function(n){return(n=oa(n))&&F.test(n)?n.replace(I,Dt):n},Te.escapeRegExp=function(n){return(n=oa(n))&&Q.test(n)?n.replace(B,"\\$&"):n},Te.every=function(n,t,e){var r=Ao(n)?ft:tr;return e&&ou(n,t,e)&&(t=void 0),r(n,Ki(t,3))},Te.find=ro,Te.findIndex=Pu,Te.findKey=function(n,t){return _t(n,Ki(t,3),ar)},Te.findLast=io,Te.findLastIndex=zu,Te.findLastKey=function(n,t){return _t(n,Ki(t,3),lr)},Te.floor=ll,Te.forEach=uo,Te.forEachRight=oo,Te.forIn=function(n,t){return null==n?n:ur(n,Ki(t,3),_a)},Te.forInRight=function(n,t){return null==n?n:or(n,Ki(t,3),_a)},Te.forOwn=function(n,t){return n&&ar(n,Ki(t,3))},Te.forOwnRight=function(n,t){return n&&lr(n,Ki(t,3))},Te.get=da,Te.gt=No,Te.gte=Po,Te.has=function(n,t){return null!=n&&eu(n,t,dr)},Te.hasIn=va,Te.head=Ou,Te.identity=Va,Te.includes=function(n,t,e,r){n=Ro(n)?n:Ca(n),e=e&&!r?ea(e):0;var i=n.length;return e<0&&(e=ue(i+e,0)),Ko(n)?e<=i&&n.indexOf(t,e)>-1:!!i&&wt(n,t,e)>-1},Te.indexOf=function(n,t,e){var r=null==n?0:n.length;if(!r)return-1;var i=null==e?0:ea(e);return i<0&&(i=ue(r+i,0)),wt(n,t,i)},Te.inRange=function(n,t,e){return t=ta(t),void 0===e?(e=t,t=0):e=ta(e),function(n,t,e){return n>=oe(t,e)&&n=-9007199254740991&&n<=9007199254740991},Te.isSet=Yo,Te.isString=Ko,Te.isSymbol=Zo,Te.isTypedArray=Xo,Te.isUndefined=function(n){return void 0===n},Te.isWeakMap=function(n){return $o(n)&&tu(n)==w},Te.isWeakSet=function(n){return $o(n)&&"[object WeakSet]"==hr(n)},Te.join=function(n,t){return null==n?"":re.call(n,t)},Te.kebabCase=Aa,Te.last=Iu,Te.lastIndexOf=function(n,t,e){var r=null==n?0:n.length;if(!r)return-1;var i=r;return void 0!==e&&(i=(i=ea(e))<0?ue(r+i,0):oe(i,r-1)),t===t?function(n,t,e){for(var r=e+1;r--;)if(n[r]===t)return r;return r}(n,t,i):xt(n,Et,i,!0)},Te.lowerCase=Oa,Te.lowerFirst=Ra,Te.lt=Go,Te.lte=Jo,Te.max=function(n){return n&&n.length?er(n,Va,pr):void 0},Te.maxBy=function(n,t){return n&&n.length?er(n,Ki(t,2),pr):void 0},Te.mean=function(n){return Mt(n,Va)},Te.meanBy=function(n,t){return Mt(n,Ki(t,2))},Te.min=function(n){return n&&n.length?er(n,Va,Mr):void 0},Te.minBy=function(n,t){return n&&n.length?er(n,Ki(t,2),Mr):void 0},Te.stubArray=rl,Te.stubFalse=il,Te.stubObject=function(){return{}},Te.stubString=function(){return""},Te.stubTrue=function(){return!0},Te.multiply=cl,Te.nth=function(n,t){return n&&n.length?Pr(n,ea(t)):void 0},Te.noConflict=function(){return Yn._===this&&(Yn._=Nn),this},Te.noop=Za,Te.now=po,Te.pad=function(n,t,e){n=oa(n);var r=(t=ea(t))?Bt(n):0;if(!t||r>=t)return n;var i=(t-r)/2;return zi(Jt(i),e)+n+zi(Gt(i),e)},Te.padEnd=function(n,t,e){n=oa(n);var r=(t=ea(t))?Bt(n):0;return t&&rt){var r=n;n=t,t=r}if(e||n%1||t%1){var i=ce();return oe(n+i*(t-n+Hn("1e-"+((i+"").length-1))),t)}return Lr(n,t)},Te.reduce=function(n,t,e){var r=Ao(n)?gt:Ct,i=arguments.length<3;return r(n,Ki(t,4),e,i,Je)},Te.reduceRight=function(n,t,e){var r=Ao(n)?yt:Ct,i=arguments.length<3;return r(n,Ki(t,4),e,i,nr)},Te.repeat=function(n,t,e){return t=(e?ou(n,t,e):void 0===t)?1:ea(t),jr(oa(n),t)},Te.replace=function(){var n=arguments,t=oa(n[0]);return n.length<3?t:t.replace(n[1],n[2])},Te.result=function(n,t,e){var r=-1,i=(t=oi(t,n)).length;for(i||(i=1,n=void 0);++r9007199254740991)return[];var e=4294967295,r=oe(n,4294967295);n-=4294967295;for(var i=Pt(r,t=Ki(t));++e=u)return n;var a=e-Bt(r);if(a<1)return r;var l=o?li(o,0,a).join(""):n.slice(0,a);if(void 0===i)return l+r;if(o&&(a+=l.length-a),Qo(i)){if(n.slice(a).search(i)){var c,f=l;for(i.global||(i=gn(i.source,oa(rn.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var s=c.index;l=l.slice(0,void 0===s?a:s)}}else if(n.indexOf(Zr(i),a)!=a){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r},Te.unescape=function(n){return(n=oa(n))&&D.test(n)?n.replace(j,Yt):n},Te.uniqueId=function(n){var t=++Mn;return oa(n)+t},Te.upperCase=Ia,Te.upperFirst=Da,Te.each=uo,Te.eachRight=oo,Te.first=Ou,Ka(Te,function(){var n={};return ar(Te,(function(t,e){En.call(Te.prototype,e)||(n[e]=t)})),n}(),{chain:!1}),Te.VERSION="4.17.20",lt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(n){Te[n].placeholder=Te})),lt(["drop","take"],(function(n,t){ze.prototype[n]=function(e){e=void 0===e?1:ue(ea(e),0);var r=this.__filtered__&&!t?new ze(this):this.clone();return r.__filtered__?r.__takeCount__=oe(e,r.__takeCount__):r.__views__.push({size:oe(e,4294967295),type:n+(r.__dir__<0?"Right":"")}),r},ze.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}})),lt(["filter","map","takeWhile"],(function(n,t){var e=t+1,r=1==e||3==e;ze.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:Ki(n,3),type:e}),t.__filtered__=t.__filtered__||r,t}})),lt(["head","last"],(function(n,t){var e="take"+(t?"Right":"");ze.prototype[n]=function(){return this[e](1).value()[0]}})),lt(["initial","tail"],(function(n,t){var e="drop"+(t?"":"Right");ze.prototype[n]=function(){return this.__filtered__?new ze(this):this[e](1)}})),ze.prototype.compact=function(){return this.filter(Va)},ze.prototype.find=function(n){return this.filter(n).head()},ze.prototype.findLast=function(n){return this.reverse().find(n)},ze.prototype.invokeMap=Ir((function(n,t){return"function"==typeof n?new ze(this):this.map((function(e){return yr(e,n,t)}))})),ze.prototype.reject=function(n){return this.filter(ko(Ki(n)))},ze.prototype.slice=function(n,t){n=ea(n);var e=this;return e.__filtered__&&(n>0||t<0)?new ze(e):(n<0?e=e.takeRight(-n):n&&(e=e.drop(n)),void 0!==t&&(e=(t=ea(t))<0?e.dropRight(-t):e.take(t-n)),e)},ze.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},ze.prototype.toArray=function(){return this.take(4294967295)},ar(ze.prototype,(function(n,t){var e=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Te[r?"take"+("last"==t?"Right":""):t],u=r||/^find/.test(t);i&&(Te.prototype[t]=function(){var t=this.__wrapped__,o=r?[1]:arguments,a=t instanceof ze,l=o[0],c=a||Ao(t),f=function(n){var t=i.apply(Te,vt([n],o));return r&&s?t[0]:t};c&&e&&"function"==typeof l&&1!=l.length&&(a=c=!1);var s=this.__chain__,h=!!this.__actions__.length,p=u&&!s,d=a&&!h;if(!u&&c){t=d?t:new ze(this);var v=n.apply(t,o);return v.__actions__.push({func:no,args:[f],thisArg:void 0}),new Pe(v,s)}return p&&d?n.apply(this,o):(v=this.thru(f),p?r?v.value()[0]:v.value():v)})})),lt(["pop","push","shift","sort","splice","unshift"],(function(n){var t=bn[n],e=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",r=/^(?:pop|shift)$/.test(n);Te.prototype[n]=function(){var n=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ao(i)?i:[],n)}return this[e]((function(e){return t.apply(Ao(e)?e:[],n)}))}})),ar(ze.prototype,(function(n,t){var e=Te[t];if(e){var r=e.name+"";En.call(me,r)||(me[r]=[]),me[r].push({name:t,func:e})}})),me[Ti(void 0,2).name]=[{name:"wrapper",func:void 0}],ze.prototype.clone=function(){var n=new ze(this.__wrapped__);return n.__actions__=gi(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=gi(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=gi(this.__views__),n},ze.prototype.reverse=function(){if(this.__filtered__){var n=new ze(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},ze.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,e=Ao(n),r=t<0,i=e?n.length:0,u=function(n,t,e){var r=-1,i=e.length;for(;++r=this.__values__.length;return{done:n,value:n?void 0:this.__values__[this.__index__++]}},Te.prototype.plant=function(n){for(var t,e=this;e instanceof Ne;){var r=Su(e);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;e=e.__wrapped__}return i.__wrapped__=n,t},Te.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof ze){var t=n;return this.__actions__.length&&(t=new ze(this)),(t=t.reverse()).__actions__.push({func:no,args:[qu],thisArg:void 0}),new Pe(t,this.__chain__)}return this.thru(qu)},Te.prototype.toJSON=Te.prototype.valueOf=Te.prototype.value=function(){return ti(this.__wrapped__,this.__actions__)},Te.prototype.first=Te.prototype.head,Gn&&(Te.prototype[Gn]=function(){return this}),Te}();Yn._=Kt,void 0===(i=function(){return Kt}.call(t,e,t,r))||(r.exports=i)}).call(this)}).call(this,e(13),e(14)(n))},function(n,t,e){"use strict";function r(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);eP.length&&P.push(n)}function O(n,t,e){return null==n?0:function n(t,e,r,i){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var l=!1;if(null===t)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case u:case o:l=!0}}if(l)return r(i,t,""===e?"."+R(t,0):e),1;if(l=0,e=""===e?".":e+":",Array.isArray(t))for(var c=0;c