Skip to content

Instantly share code, notes, and snippets.

@clschnei
Last active March 10, 2017 16:56
Show Gist options
  • Select an option

  • Save clschnei/0251ebb9d5791654d00f0b6fd65c748b to your computer and use it in GitHub Desktop.

Select an option

Save clschnei/0251ebb9d5791654d00f0b6fd65c748b to your computer and use it in GitHub Desktop.
Circle Wave (react)

Circle Wave (react)

From the original example, I leveraged React to do the rendering as an example of how d3 and React can work together to achieve the same results without explicitly mutating the DOM.

This file has been truncated, but you can view the full file.
!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=166)}([function(t,e,n){"use strict";function r(t,e,n,r,o,a,u,s){if(i(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,u,s],f=0;c=new Error(e.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var i=function(t){};t.exports=r},function(t,e,n){"use strict";var r=n(6),i=r;t.exports=i},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var i=new Error(n);throw i.name="Invariant Violation",i.framesToPop=1,i}t.exports=r},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function i(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=i()?Object.assign:function(t,e){for(var n,i,s=r(t),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var l in n)a.call(n,l)&&(s[l]=n[l]);if(o){i=o(n);for(var f=0;f<i.length;f++)u.call(n,i[f])&&(s[i[f]]=n[i[f]])}}return s}},function(t,e,n){"use strict";function r(t,e){return 1===t.nodeType&&t.getAttribute(d)===String(e)||8===t.nodeType&&t.nodeValue===" react-text: "+e+" "||8===t.nodeType&&t.nodeValue===" react-empty: "+e+" "}function i(t){for(var e;e=t._renderedComponent;)t=e;return t}function o(t,e){var n=i(t);n._hostNode=e,e[g]=n}function a(t){var e=t._hostNode;e&&(delete e[g],t._hostNode=null)}function u(t,e){if(!(t._flags&v.hasCachedChildNodes)){var n=t._renderedChildren,a=e.firstChild;t:for(var u in n)if(n.hasOwnProperty(u)){var s=n[u],c=i(s)._domID;if(0!==c){for(;null!==a;a=a.nextSibling)if(r(a,c)){o(s,a);continue t}f("32",c)}}t._flags|=v.hasCachedChildNodes}}function s(t){if(t[g])return t[g];for(var e=[];!t[g];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}for(var n,r;t&&(r=t[g]);t=e.pop())n=r,e.length&&u(r,t);return n}function c(t){var e=s(t);return null!=e&&e._hostNode===t?e:null}function l(t){if(void 0===t._hostNode&&f("33"),t._hostNode)return t._hostNode;for(var e=[];!t._hostNode;)e.push(t),t._hostParent||f("34"),t=t._hostParent;for(;e.length;t=e.pop())u(t,t._hostNode);return t._hostNode}var f=n(2),h=n(13),p=n(54),d=(n(0),h.ID_ATTRIBUTE_NAME),v=p,g="__reactInternalInstance$"+Math.random().toString(36).slice(2),m={getClosestInstanceFromNode:s,getInstanceFromNode:c,getNodeFromInstance:l,precacheChildNodes:u,precacheNode:o,uncacheNode:a};t.exports=m},function(t,e,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=i},function(t,e,n){"use strict";function r(t){return function(){return t}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,n){"use strict";var r=null;t.exports={debugTool:r}},function(t,e,n){"use strict";function r(){k.ReactReconcileTransaction&&b||l("123")}function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=h.getPooled(),this.reconcileTransaction=k.ReactReconcileTransaction.getPooled(!0)}function o(t,e,n,i,o,a){return r(),b.batchedUpdates(t,e,n,i,o,a)}function a(t,e){return t._mountOrder-e._mountOrder}function u(t){var e=t.dirtyComponentsLength;e!==m.length&&l("124",e,m.length),m.sort(a),y++;for(var n=0;n<e;n++){var r=m[n],i=r._pendingCallbacks;r._pendingCallbacks=null;var o;if(d.logTopLevelRenders){var u=r;r._currentElement.type.isReactTopLevelWrapper&&(u=r._renderedComponent),o="React update: "+u.getName(),console.time(o)}if(v.performUpdateIfNecessary(r,t.reconcileTransaction,y),o&&console.timeEnd(o),i)for(var s=0;s<i.length;s++)t.callbackQueue.enqueue(i[s],r.getPublicInstance())}}function s(t){if(r(),!b.isBatchingUpdates)return void b.batchedUpdates(s,t);m.push(t),null==t._updateBatchNumber&&(t._updateBatchNumber=y+1)}function c(t,e){b.isBatchingUpdates||l("125"),_.enqueue(t,e),x=!0}var l=n(2),f=n(3),h=n(52),p=n(11),d=n(57),v=n(14),g=n(25),m=(n(0),[]),y=0,_=h.getPooled(),x=!1,b=null,w={initialize:function(){this.dirtyComponentsLength=m.length},close:function(){this.dirtyComponentsLength!==m.length?(m.splice(0,this.dirtyComponentsLength),E()):m.length=0}},C={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},M=[w,C];f(i.prototype,g,{getTransactionWrappers:function(){return M},destructor:function(){this.dirtyComponentsLength=null,h.release(this.callbackQueue),this.callbackQueue=null,k.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(t,e,n){return g.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,t,e,n)}}),p.addPoolingTo(i);var E=function(){for(;m.length||x;){if(m.length){var t=i.getPooled();t.perform(u,null,t),i.release(t)}if(x){x=!1;var e=_;_=h.getPooled(),e.notifyAll(),h.release(e)}}},T={injectReconcileTransaction:function(t){t||l("126"),k.ReactReconcileTransaction=t},injectBatchingStrategy:function(t){t||l("127"),"function"!=typeof t.batchedUpdates&&l("128"),"boolean"!=typeof t.isBatchingUpdates&&l("129"),b=t}},k={ReactReconcileTransaction:null,batchedUpdates:o,enqueueUpdate:s,flushBatchedUpdates:E,injection:T,asap:c};t.exports=k},function(t,e,n){"use strict";function r(t,e,n,r){this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n;var i=this.constructor.Interface;for(var o in i)if(i.hasOwnProperty(o)){var u=i[o];u?this[o]=u(n):"target"===o?this.target=r:this[o]=n[o]}var s=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return this.isDefaultPrevented=s?a.thatReturnsTrue:a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse,this}var i=n(3),o=n(11),a=n(6),u=(n(1),["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),s={type:null,target:null,currentTarget:a.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};i(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=a.thatReturnsTrue)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=a.thatReturnsTrue)},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var t=this.constructor.Interface;for(var e in t)this[e]=null;for(var n=0;n<u.length;n++)this[u[n]]=null}}),r.Interface=s,r.augmentClass=function(t,e){var n=this,r=function(){};r.prototype=n.prototype;var a=new r;i(a,t.prototype),t.prototype=a,t.prototype.constructor=t,t.Interface=i({},n.Interface,e),t.augmentClass=n.augmentClass,o.addPoolingTo(t,o.fourArgumentPooler)},o.addPoolingTo(r,o.fourArgumentPooler),t.exports=r},function(t,e,n){"use strict";var r={current:null};t.exports=r},function(t,e,n){"use strict";var r=n(2),i=(n(0),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),o=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},a=function(t,e,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,t,e,n),i}return new r(t,e,n)},u=function(t,e,n,r){var i=this;if(i.instancePool.length){var o=i.instancePool.pop();return i.call(o,t,e,n,r),o}return new i(t,e,n,r)},s=function(t){var e=this;t instanceof e||r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},c=10,l=i,f=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||l,n.poolSize||(n.poolSize=c),n.release=s,n},h={addPoolingTo:f,oneArgumentPooler:i,twoArgumentPooler:o,threeArgumentPooler:a,fourArgumentPooler:u};t.exports=h},function(t,e,n){"use strict";function r(t){if(g){var e=t.node,n=t.children;if(n.length)for(var r=0;r<n.length;r++)m(e,n[r],null);else null!=t.html?f(e,t.html):null!=t.text&&p(e,t.text)}}function i(t,e){t.parentNode.replaceChild(e.node,t),r(e)}function o(t,e){g?t.children.push(e):t.node.appendChild(e.node)}function a(t,e){g?t.html=e:f(t.node,e)}function u(t,e){g?t.text=e:p(t.node,e)}function s(){return this.node.nodeName}function c(t){return{node:t,children:[],html:null,text:null,toString:s}}var l=n(30),f=n(27),h=n(38),p=n(69),d=1,v=11,g="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),m=h(function(t,e,n){e.node.nodeType===v||e.node.nodeType===d&&"object"===e.node.nodeName.toLowerCase()&&(null==e.node.namespaceURI||e.node.namespaceURI===l.html)?(r(e),t.insertBefore(e.node,n)):(t.insertBefore(e.node,n),r(e))});c.insertTreeBefore=m,c.replaceChildWithTree=i,c.queueChild=o,c.queueHTML=a,c.queueText=u,t.exports=c},function(t,e,n){"use strict";function r(t,e){return(t&e)===e}var i=n(2),o=(n(0),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(t){var e=o,n=t.Properties||{},a=t.DOMAttributeNamespaces||{},s=t.DOMAttributeNames||{},c=t.DOMPropertyNames||{},l=t.DOMMutationMethods||{};t.isCustomAttribute&&u._isCustomAttributeFunctions.push(t.isCustomAttribute);for(var f in n){u.properties.hasOwnProperty(f)&&i("48",f);var h=f.toLowerCase(),p=n[f],d={attributeName:h,attributeNamespace:null,propertyName:f,mutationMethod:null,mustUseProperty:r(p,e.MUST_USE_PROPERTY),hasBooleanValue:r(p,e.HAS_BOOLEAN_VALUE),hasNumericValue:r(p,e.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(p,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(p,e.HAS_OVERLOADED_BOOLEAN_VALUE)};if(d.hasBooleanValue+d.hasNumericValue+d.hasOverloadedBooleanValue<=1||i("50",f),s.hasOwnProperty(f)){var v=s[f];d.attributeName=v}a.hasOwnProperty(f)&&(d.attributeNamespace=a[f]),c.hasOwnProperty(f)&&(d.propertyName=c[f]),l.hasOwnProperty(f)&&(d.mutationMethod=l[f]),u.properties[f]=d}}}),a=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",u={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:a,ATTRIBUTE_NAME_CHAR:a+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(t){for(var e=0;e<u._isCustomAttributeFunctions.length;e++){if((0,u._isCustomAttributeFunctions[e])(t))return!0}return!1},injection:o};t.exports=u},function(t,e,n){"use strict";function r(){i.attachRefs(this,this._currentElement)}var i=n(127),o=(n(7),n(1),{mountComponent:function(t,e,n,i,o,a){var u=t.mountComponent(e,n,i,o,a);return t._currentElement&&null!=t._currentElement.ref&&e.getReactMountReady().enqueue(r,t),u},getHostNode:function(t){return t.getHostNode()},unmountComponent:function(t,e){i.detachRefs(t,t._currentElement),t.unmountComponent(e)},receiveComponent:function(t,e,n,o){var a=t._currentElement;if(e!==a||o!==t._context){var u=i.shouldUpdateRefs(a,e);u&&i.detachRefs(t,a),t.receiveComponent(e,n,o),u&&t._currentElement&&null!=t._currentElement.ref&&n.getReactMountReady().enqueue(r,t)}},performUpdateIfNecessary:function(t,e,n){t._updateBatchNumber===n&&t.performUpdateIfNecessary(e)}});t.exports=o},function(t,e,n){"use strict";var r=n(3),i=n(157),o=n(45),a=n(162),u=n(158),s=n(159),c=n(16),l=n(160),f=n(163),h=n(164),p=(n(1),c.createElement),d=c.createFactory,v=c.cloneElement,g=r,m={Children:{map:i.map,forEach:i.forEach,count:i.count,toArray:i.toArray,only:h},Component:o,PureComponent:a,createElement:p,cloneElement:v,isValidElement:c.isValidElement,PropTypes:l,createClass:u.createClass,createFactory:d,createMixin:function(t){return t},DOM:s,version:f,__spread:g};t.exports=m},function(t,e,n){"use strict";function r(t){return void 0!==t.ref}function i(t){return void 0!==t.key}var o=n(3),a=n(10),u=(n(1),n(74),Object.prototype.hasOwnProperty),s=n(72),c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,r,i,o,a){var u={$$typeof:s,type:t,key:e,ref:n,props:a,_owner:o};return u};l.createElement=function(t,e,n){var o,s={},f=null,h=null,p=null,d=null;if(null!=e){r(e)&&(h=e.ref),i(e)&&(f=""+e.key),p=void 0===e.__self?null:e.__self,d=void 0===e.__source?null:e.__source;for(o in e)u.call(e,o)&&!c.hasOwnProperty(o)&&(s[o]=e[o])}var v=arguments.length-2;if(1===v)s.children=n;else if(v>1){for(var g=Array(v),m=0;m<v;m++)g[m]=arguments[m+2];s.children=g}if(t&&t.defaultProps){var y=t.defaultProps;for(o in y)void 0===s[o]&&(s[o]=y[o])}return l(t,f,h,p,d,a.current,s)},l.createFactory=function(t){var e=l.createElement.bind(null,t);return e.type=t,e},l.cloneAndReplaceKey=function(t,e){return l(t.type,e,t.ref,t._self,t._source,t._owner,t.props)},l.cloneElement=function(t,e,n){var s,f=o({},t.props),h=t.key,p=t.ref,d=t._self,v=t._source,g=t._owner;if(null!=e){r(e)&&(p=e.ref,g=a.current),i(e)&&(h=""+e.key);var m;t.type&&t.type.defaultProps&&(m=t.type.defaultProps);for(s in e)u.call(e,s)&&!c.hasOwnProperty(s)&&(void 0===e[s]&&void 0!==m?f[s]=m[s]:f[s]=e[s])}var y=arguments.length-2;if(1===y)f.children=n;else if(y>1){for(var _=Array(y),x=0;x<y;x++)_[x]=arguments[x+2];f.children=_}return l(t.type,h,p,d,v,g,f)},l.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===s},t.exports=l},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var i=new Error(n);throw i.name="Invariant Violation",i.framesToPop=1,i}t.exports=r},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";function r(t){return"button"===t||"input"===t||"select"===t||"textarea"===t}function i(t,e,n){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(e));default:return!1}}var o=n(2),a=n(31),u=n(32),s=n(36),c=n(63),l=n(64),f=(n(0),{}),h=null,p=function(t,e){t&&(u.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))},d=function(t){return p(t,!0)},v=function(t){return p(t,!1)},g=function(t){return"."+t._rootNodeID},m={injection:{injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},putListener:function(t,e,n){"function"!=typeof n&&o("94",e,typeof n);var r=g(t);(f[e]||(f[e]={}))[r]=n;var i=a.registrationNameModules[e];i&&i.didPutListener&&i.didPutListener(t,e,n)},getListener:function(t,e){var n=f[e];if(i(e,t._currentElement.type,t._currentElement.props))return null;var r=g(t);return n&&n[r]},deleteListener:function(t,e){var n=a.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e);var r=f[e];if(r){delete r[g(t)]}},deleteAllListeners:function(t){var e=g(t);for(var n in f)if(f.hasOwnProperty(n)&&f[n][e]){var r=a.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(t,n),delete f[n][e]}},extractEvents:function(t,e,n,r){for(var i,o=a.plugins,u=0;u<o.length;u++){var s=o[u];if(s){var l=s.extractEvents(t,e,n,r);l&&(i=c(i,l))}}return i},enqueueEvents:function(t){t&&(h=c(h,t))},processEventQueue:function(t){var e=h;h=null,t?l(e,d):l(e,v),h&&o("95"),s.rethrowCaughtError()},__purge:function(){f={}},__getListenerBank:function(){return f}};t.exports=m},function(t,e,n){"use strict";function r(t,e,n){return m(t,e.dispatchConfig.phasedRegistrationNames[n])}function i(t,e,n){var i=r(t,n,e);i&&(n._dispatchListeners=v(n._dispatchListeners,i),n._dispatchInstances=v(n._dispatchInstances,t))}function o(t){t&&t.dispatchConfig.phasedRegistrationNames&&d.traverseTwoPhase(t._targetInst,i,t)}function a(t){if(t&&t.dispatchConfig.phasedRegistrationNames){var e=t._targetInst,n=e?d.getParentInstance(e):null;d.traverseTwoPhase(n,i,t)}}function u(t,e,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,i=m(t,r);i&&(n._dispatchListeners=v(n._dispatchListeners,i),n._dispatchInstances=v(n._dispatchInstances,t))}}function s(t){t&&t.dispatchConfig.registrationName&&u(t._targetInst,null,t)}function c(t){g(t,o)}function l(t){g(t,a)}function f(t,e,n,r){d.traverseEnterLeave(n,r,u,t,e)}function h(t){g(t,s)}var p=n(19),d=n(32),v=n(63),g=n(64),m=(n(1),p.getListener),y={accumulateTwoPhaseDispatches:c,accumulateTwoPhaseDispatchesSkipTarget:l,accumulateDirectDispatches:h,accumulateEnterLeaveDispatches:f};t.exports=y},function(t,e,n){"use strict";var r={remove:function(t){t._reactInternalInstance=void 0},get:function(t){return t._reactInternalInstance},has:function(t){return void 0!==t._reactInternalInstance},set:function(t,e){t._reactInternalInstance=e}};t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(9),o=n(41),a={view:function(t){if(t.view)return t.view;var e=o(t);if(e.window===e)return e;var n=e.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(t){return t.detail||0}};i.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t){return Object.prototype.hasOwnProperty.call(t,v)||(t[v]=p++,f[t[v]]={}),f[t[v]]}var i,o=n(3),a=n(31),u=n(119),s=n(62),c=n(152),l=n(42),f={},h=!1,p=0,d={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),g=o({},u,{ReactEventListener:null,injection:{injectReactEventListener:function(t){t.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=t}},setEnabled:function(t){g.ReactEventListener&&g.ReactEventListener.setEnabled(t)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(t,e){for(var n=e,i=r(n),o=a.registrationNameDependencies[t],u=0;u<o.length;u++){var s=o[u];i.hasOwnProperty(s)&&i[s]||("topWheel"===s?l("wheel")?g.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):l("mousewheel")?g.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):g.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===s?l("scroll",!0)?g.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):g.ReactEventListener.trapBubbledEvent("topScroll","scroll",g.ReactEventListener.WINDOW_HANDLE):"topFocus"===s||"topBlur"===s?(l("focus",!0)?(g.ReactEventListener.trapCapturedEvent("topFocus","focus",n),g.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):l("focusin")&&(g.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),g.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),i.topBlur=!0,i.topFocus=!0):d.hasOwnProperty(s)&&g.ReactEventListener.trapBubbledEvent(s,d[s],n),i[s]=!0)}},trapBubbledEvent:function(t,e,n){return g.ReactEventListener.trapBubbledEvent(t,e,n)},trapCapturedEvent:function(t,e,n){return g.ReactEventListener.trapCapturedEvent(t,e,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var t=document.createEvent("MouseEvent");return null!=t&&"pageX"in t},ensureScrollValueMonitoring:function(){if(void 0===i&&(i=g.supportsEventPageXY()),!i&&!h){var t=s.refreshScrollValues;g.ReactEventListener.monitorScrollValue(t),h=!0}}});t.exports=g},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(22),o=n(62),a=n(40),u={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:a,button:function(t){var e=t.button;return"which"in t?e:2===e?2:4===e?1:0},buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},pageX:function(t){return"pageX"in t?t.pageX:t.clientX+o.currentScrollLeft},pageY:function(t){return"pageY"in t?t.pageY:t.clientY+o.currentScrollTop}};i.augmentClass(r,u),t.exports=r},function(t,e,n){"use strict";var r=n(2),i=(n(0),{}),o={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(t,e,n,i,o,a,u,s){this.isInTransaction()&&r("27");var c,l;try{this._isInTransaction=!0,c=!0,this.initializeAll(0),l=t.call(e,n,i,o,a,u,s),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(t){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return l},initializeAll:function(t){for(var e=this.transactionWrappers,n=t;n<e.length;n++){var r=e[n];try{this.wrapperInitData[n]=i,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===i)try{this.initializeAll(n+1)}catch(t){}}}},closeAll:function(t){this.isInTransaction()||r("28");for(var e=this.transactionWrappers,n=t;n<e.length;n++){var o,a=e[n],u=this.wrapperInitData[n];try{o=!0,u!==i&&a.close&&a.close.call(this,u),o=!1}finally{if(o)try{this.closeAll(n+1)}catch(t){}}}this.wrapperInitData.length=0}};t.exports=o},function(t,e,n){"use strict";function r(t){var e=""+t,n=o.exec(e);if(!n)return e;var r,i="",a=0,u=0;for(a=n.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}u!==a&&(i+=e.substring(u,a)),u=a+1,i+=r}return u!==a?i+e.substring(u,a):i}function i(t){return"boolean"==typeof t||"number"==typeof t?""+t:r(t)}var o=/["'&<>]/;t.exports=i},function(t,e,n){"use strict";var r,i=n(5),o=n(30),a=/^[ \r\n\t\f]/,u=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=n(38),c=s(function(t,e){if(t.namespaceURI!==o.svg||"innerHTML"in t)t.innerHTML=e;else{r=r||document.createElement("div"),r.innerHTML="<svg>"+e+"</svg>";for(var n=r.firstChild;n.firstChild;)t.appendChild(n.firstChild)}});if(i.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(t,e){if(t.parentNode&&t.parentNode.replaceChild(t,t),a.test(e)||"<"===e[0]&&u.test(e)){t.innerHTML=String.fromCharCode(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,1)}else t.innerHTML=e}),l=null}t.exports=c},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!==t&&e!==e}function i(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!o.call(e,n[a])||!r(t[n[a]],e[n[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;t.exports=i},function(t,e,n){"use strict";function r(t,e){return Array.isArray(e)&&(e=e[1]),e?e.nextSibling:t.firstChild}function i(t,e,n){l.insertTreeBefore(t,e,n)}function o(t,e,n){Array.isArray(e)?u(t,e[0],e[1],n):v(t,e,n)}function a(t,e){if(Array.isArray(e)){var n=e[1];e=e[0],s(t,e,n),t.removeChild(n)}t.removeChild(e)}function u(t,e,n,r){for(var i=e;;){var o=i.nextSibling;if(v(t,i,r),i===n)break;i=o}}function s(t,e,n){for(;;){var r=e.nextSibling;if(r===n)break;t.removeChild(r)}}function c(t,e,n){var r=t.parentNode,i=t.nextSibling;i===e?n&&v(r,document.createTextNode(n),i):n?(d(i,n),s(r,i,e)):s(r,t,e)}var l=n(12),f=n(96),h=(n(4),n(7),n(38)),p=n(27),d=n(69),v=h(function(t,e,n){t.insertBefore(e,n)}),g=f.dangerouslyReplaceNodeWithMarkup,m={dangerouslyReplaceNodeWithMarkup:g,replaceDelimitedText:c,processUpdates:function(t,e){for(var n=0;n<e.length;n++){var u=e[n];switch(u.type){case"INSERT_MARKUP":i(t,u.content,r(t,u.afterNode));break;case"MOVE_EXISTING":o(t,u.fromNode,r(t,u.afterNode));break;case"SET_MARKUP":p(t,u.content);break;case"TEXT_CONTENT":d(t,u.content);break;case"REMOVE_NODE":a(t,u.fromNode)}}}};t.exports=m},function(t,e,n){"use strict";var r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};t.exports=r},function(t,e,n){"use strict";function r(){if(u)for(var t in s){var e=s[t],n=u.indexOf(t);if(n>-1||a("96",t),!c.plugins[n]){e.extractEvents||a("97",t),c.plugins[n]=e;var r=e.eventTypes;for(var o in r)i(r[o],e,o)||a("98",o,t)}}}function i(t,e,n){c.eventNameDispatchConfigs.hasOwnProperty(n)&&a("99",n),c.eventNameDispatchConfigs[n]=t;var r=t.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var u=r[i];o(u,e,n)}return!0}return!!t.registrationName&&(o(t.registrationName,e,n),!0)}function o(t,e,n){c.registrationNameModules[t]&&a("100",t),c.registrationNameModules[t]=e,c.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var a=n(2),u=(n(0),null),s={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(t){u&&a("101"),u=Array.prototype.slice.call(t),r()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];s.hasOwnProperty(n)&&s[n]===i||(s[n]&&a("102",n),s[n]=i,e=!0)}e&&r()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return c.registrationNameModules[e.registrationName]||null;if(void 0!==e.phasedRegistrationNames){var n=e.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var i=c.registrationNameModules[n[r]];if(i)return i}}return null},_resetEventPlugins:function(){u=null;for(var t in s)s.hasOwnProperty(t)&&delete s[t];c.plugins.length=0;var e=c.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var r=c.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};t.exports=c},function(t,e,n){"use strict";function r(t){return"topMouseUp"===t||"topTouchEnd"===t||"topTouchCancel"===t}function i(t){return"topMouseMove"===t||"topTouchMove"===t}function o(t){return"topMouseDown"===t||"topTouchStart"===t}function a(t,e,n,r){var i=t.type||"unknown-event";t.currentTarget=m.getNodeFromInstance(r),e?v.invokeGuardedCallbackWithCatch(i,n,t):v.invokeGuardedCallback(i,n,t),t.currentTarget=null}function u(t,e){var n=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(n))for(var i=0;i<n.length&&!t.isPropagationStopped();i++)a(t,e,n[i],r[i]);else n&&a(t,e,n,r);t._dispatchListeners=null,t._dispatchInstances=null}function s(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e)){for(var r=0;r<e.length&&!t.isPropagationStopped();r++)if(e[r](t,n[r]))return n[r]}else if(e&&e(t,n))return n;return null}function c(t){var e=s(t);return t._dispatchInstances=null,t._dispatchListeners=null,e}function l(t){var e=t._dispatchListeners,n=t._dispatchInstances;Array.isArray(e)&&d("103"),t.currentTarget=e?m.getNodeFromInstance(n):null;var r=e?e(t):null;return t.currentTarget=null,t._dispatchListeners=null,t._dispatchInstances=null,r}function f(t){return!!t._dispatchListeners}var h,p,d=n(2),v=n(36),g=(n(0),n(1),{injectComponentTree:function(t){h=t},injectTreeTraversal:function(t){p=t}}),m={isEndish:r,isMoveish:i,isStartish:o,executeDirectDispatch:l,executeDispatchesInOrder:u,executeDispatchesInOrderStopAtTrue:c,hasDispatches:f,getInstanceFromNode:function(t){return h.getInstanceFromNode(t)},getNodeFromInstance:function(t){return h.getNodeFromInstance(t)},isAncestor:function(t,e){return p.isAncestor(t,e)},getLowestCommonAncestor:function(t,e){return p.getLowestCommonAncestor(t,e)},getParentInstance:function(t){return p.getParentInstance(t)},traverseTwoPhase:function(t,e,n){return p.traverseTwoPhase(t,e,n)},traverseEnterLeave:function(t,e,n,r,i){return p.traverseEnterLeave(t,e,n,r,i)},injection:g};t.exports=m},function(t,e,n){"use strict";function r(t){var e=/[=:]/g,n={"=":"=0",":":"=2"};return"$"+(""+t).replace(e,function(t){return n[t]})}function i(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1))).replace(e,function(t){return n[t]})}var o={escape:r,unescape:i};t.exports=o},function(t,e,n){"use strict";function r(t){null!=t.checkedLink&&null!=t.valueLink&&u("87")}function i(t){r(t),(null!=t.value||null!=t.onChange)&&u("88")}function o(t){r(t),(null!=t.checked||null!=t.onChange)&&u("89")}function a(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}var u=n(2),s=n(15),c=n(125),l=(n(0),n(1),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),f={value:function(t,e,n){return!t[e]||l[t.type]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(t,e,n){return!t[e]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:s.PropTypes.func},h={},p={checkPropTypes:function(t,e,n){for(var r in f){if(f.hasOwnProperty(r))var i=f[r](e,r,t,"prop",null,c);if(i instanceof Error&&!(i.message in h)){h[i.message]=!0;a(n)}}},getValue:function(t){return t.valueLink?(i(t),t.valueLink.value):t.value},getChecked:function(t){return t.checkedLink?(o(t),t.checkedLink.value):t.checked},executeOnChange:function(t,e){return t.valueLink?(i(t),t.valueLink.requestChange(e.target.value)):t.checkedLink?(o(t),t.checkedLink.requestChange(e.target.checked)):t.onChange?t.onChange.call(void 0,e):void 0}};t.exports=p},function(t,e,n){"use strict";var r=n(2),i=(n(0),!1),o={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(t){i&&r("104"),o.replaceNodeWithMarkup=t.replaceNodeWithMarkup,o.processChildrenUpdates=t.processChildrenUpdates,i=!0}}};t.exports=o},function(t,e,n){"use strict";function r(t,e,n){try{e(n)}catch(t){null===i&&(i=t)}}var i=null,o={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(i){var t=i;throw i=null,t}}};t.exports=o},function(t,e,n){"use strict";function r(t){s.enqueueUpdate(t)}function i(t){var e=typeof t;if("object"!==e)return e;var n=t.constructor&&t.constructor.name||e,r=Object.keys(t);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function o(t,e){var n=u.get(t);if(!n){return null}return n}var a=n(2),u=(n(10),n(21)),s=(n(7),n(8)),c=(n(0),n(1),{isMounted:function(t){var e=u.get(t);return!!e&&!!e._renderedComponent},enqueueCallback:function(t,e,n){c.validateCallback(e,n);var i=o(t);if(!i)return null;i._pendingCallbacks?i._pendingCallbacks.push(e):i._pendingCallbacks=[e],r(i)},enqueueCallbackInternal:function(t,e){t._pendingCallbacks?t._pendingCallbacks.push(e):t._pendingCallbacks=[e],r(t)},enqueueForceUpdate:function(t){var e=o(t,"forceUpdate");e&&(e._pendingForceUpdate=!0,r(e))},enqueueReplaceState:function(t,e){var n=o(t,"replaceState");n&&(n._pendingStateQueue=[e],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(t,e){var n=o(t,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(e),r(n)}},enqueueElementInternal:function(t,e,n){t._pendingElement=e,t._context=n,r(t)},validateCallback:function(t,e){t&&"function"!=typeof t&&a("122",e,i(t))}});t.exports=c},function(t,e,n){"use strict";var r=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,i){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,i)})}:t};t.exports=r},function(t,e,n){"use strict";function r(t){var e,n=t.keyCode;return"charCode"in t?0===(e=t.charCode)&&13===n&&(e=13):e=n,e>=32||13===e?e:0}t.exports=r},function(t,e,n){"use strict";function r(t){var e=this,n=e.nativeEvent;if(n.getModifierState)return n.getModifierState(t);var r=o[t];return!!r&&!!n[r]}function i(t){return r}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=i},function(t,e,n){"use strict";function r(t){var e=t.target||t.srcElement||window;return e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}t.exports=r},function(t,e,n){"use strict";/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/
function r(t,e){if(!o.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&i&&"wheel"===t&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var i,o=n(5);o.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=null===t||t===!1,r=null===e||e===!1;if(n||r)return n===r;var i=typeof t,o=typeof e;return"string"===i||"number"===i?"string"===o||"number"===o:"object"===o&&t.type===e.type&&t.key===e.key}t.exports=r},function(t,e,n){"use strict";var r=(n(3),n(6)),i=(n(1),r);t.exports=i},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=a,this.updater=n||o}var i=n(17),o=n(46),a=(n(74),n(18));n(0),n(1);r.prototype.isReactComponent={},r.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t&&i("85"),this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},r.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")};t.exports=r},function(t,e,n){"use strict";function r(t,e){}var i=(n(1),{isMounted:function(t){return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){r(t,"forceUpdate")},enqueueReplaceState:function(t,e){r(t,"replaceState")},enqueueSetState:function(t,e){r(t,"setState")}});t.exports=i},function(t,e,n){"use strict";var r=n(6),i={listen:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}):void 0},capture:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!0),{remove:function(){t.removeEventListener(e,n,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=i},function(t,e,n){"use strict";function r(t){try{t.focus()}catch(t){}}t.exports=r},function(t,e,n){"use strict";function r(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(t){return document.body}}t.exports=r},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){v&&p&&(v=!1,p.length?d=p.concat(d):g=-1,d.length&&u())}function u(){if(!v){var t=i(a);v=!0;for(var e=d.length;e;){for(p=d,d=[];++g<e;)p&&p[g].run();g=-1,e=d.length}p=null,v=!1,o(t)}}function s(t,e){this.fun=t,this.array=e}function c(){}var l,f,h=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var p,d=[],v=!1,g=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new s(t,e)),1!==d.length||v||i(u)},s.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(t,e,n){"use strict";function r(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}var i={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(i).forEach(function(t){o.forEach(function(e){i[r(e,t)]=i[t]})});var a={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},u={isUnitlessNumber:i,shorthandPropertyExpansions:a};t.exports=u},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(2),o=n(11),a=(n(0),function(){function t(e){r(this,t),this._callbacks=null,this._contexts=null,this._arg=e}return t.prototype.enqueue=function(t,e){this._callbacks=this._callbacks||[],this._callbacks.push(t),this._contexts=this._contexts||[],this._contexts.push(e)},t.prototype.notifyAll=function(){var t=this._callbacks,e=this._contexts,n=this._arg;if(t&&e){t.length!==e.length&&i("24"),this._callbacks=null,this._contexts=null;for(var r=0;r<t.length;r++)t[r].call(e[r],n);t.length=0,e.length=0}},t.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},t.prototype.rollback=function(t){this._callbacks&&this._contexts&&(this._callbacks.length=t,this._contexts.length=t)},t.prototype.reset=function(){this._callbacks=null,this._contexts=null},t.prototype.destructor=function(){this.reset()},t}());t.exports=o.addPoolingTo(a)},function(t,e,n){"use strict";function r(t){return!!c.hasOwnProperty(t)||!s.hasOwnProperty(t)&&(u.test(t)?(c[t]=!0,!0):(s[t]=!0,!1))}function i(t,e){return null==e||t.hasBooleanValue&&!e||t.hasNumericValue&&isNaN(e)||t.hasPositiveNumericValue&&e<1||t.hasOverloadedBooleanValue&&e===!1}var o=n(13),a=(n(4),n(7),n(153)),u=(n(1),new RegExp("^["+o.ATTRIBUTE_NAME_START_CHAR+"]["+o.ATTRIBUTE_NAME_CHAR+"]*$")),s={},c={},l={createMarkupForID:function(t){return o.ID_ATTRIBUTE_NAME+"="+a(t)},setAttributeForID:function(t,e){t.setAttribute(o.ID_ATTRIBUTE_NAME,e)},createMarkupForRoot:function(){return o.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(t){t.setAttribute(o.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(t,e){var n=o.properties.hasOwnProperty(t)?o.properties[t]:null;if(n){if(i(n,e))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&e===!0?r+'=""':r+"="+a(e)}return o.isCustomAttribute(t)?null==e?"":t+"="+a(e):null},createMarkupForCustomAttribute:function(t,e){return r(t)&&null!=e?t+"="+a(e):""},setValueForProperty:function(t,e,n){var r=o.properties.hasOwnProperty(e)?o.properties[e]:null;if(r){var a=r.mutationMethod;if(a)a(t,n);else{if(i(r,n))return void this.deleteValueForProperty(t,e);if(r.mustUseProperty)t[r.propertyName]=n;else{var u=r.attributeName,s=r.attributeNamespace;s?t.setAttributeNS(s,u,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?t.setAttribute(u,""):t.setAttribute(u,""+n)}}}else if(o.isCustomAttribute(e))return void l.setValueForAttribute(t,e,n)},setValueForAttribute:function(t,e,n){if(r(e)){null==n?t.removeAttribute(e):t.setAttribute(e,""+n)}},deleteValueForAttribute:function(t,e){t.removeAttribute(e)},deleteValueForProperty:function(t,e){var n=o.properties.hasOwnProperty(e)?o.properties[e]:null;if(n){var r=n.mutationMethod;if(r)r(t,void 0);else if(n.mustUseProperty){var i=n.propertyName;n.hasBooleanValue?t[i]=!1:t[i]=""}else t.removeAttribute(n.attributeName)}else o.isCustomAttribute(e)&&t.removeAttribute(e)}};t.exports=l},function(t,e,n){"use strict";var r={hasCachedChildNodes:1};t.exports=r},function(t,e,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var t=this._currentElement.props,e=u.getValue(t);null!=e&&i(this,Boolean(t.multiple),e)}}function i(t,e,n){var r,i,o=s.getNodeFromInstance(t).options;if(e){for(r={},i=0;i<n.length;i++)r[""+n[i]]=!0;for(i=0;i<o.length;i++){var a=r.hasOwnProperty(o[i].value);o[i].selected!==a&&(o[i].selected=a)}}else{for(r=""+n,i=0;i<o.length;i++)if(o[i].value===r)return void(o[i].selected=!0);o.length&&(o[0].selected=!0)}}function o(t){var e=this._currentElement.props,n=u.executeOnChange(e,t);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),c.asap(r,this),n}var a=n(3),u=n(34),s=n(4),c=n(8),l=(n(1),!1),f={getHostProps:function(t,e){return a({},e,{onChange:t._wrapperState.onChange,value:void 0})},mountWrapper:function(t,e){var n=u.getValue(e);t._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:e.defaultValue,listeners:null,onChange:o.bind(t),wasMultiple:Boolean(e.multiple)},void 0===e.value||void 0===e.defaultValue||l||(l=!0)},getSelectValueContext:function(t){return t._wrapperState.initialValue},postUpdateWrapper:function(t){var e=t._currentElement.props;t._wrapperState.initialValue=void 0;var n=t._wrapperState.wasMultiple;t._wrapperState.wasMultiple=Boolean(e.multiple);var r=u.getValue(e);null!=r?(t._wrapperState.pendingUpdate=!1,i(t,Boolean(e.multiple),r)):n!==Boolean(e.multiple)&&(null!=e.defaultValue?i(t,Boolean(e.multiple),e.defaultValue):i(t,Boolean(e.multiple),e.multiple?[]:""))}};t.exports=f},function(t,e,n){"use strict";var r,i={injectEmptyComponentFactory:function(t){r=t}},o={create:function(t){return r(t)}};o.injection=i,t.exports=o},function(t,e,n){"use strict";var r={logTopLevelRenders:!1};t.exports=r},function(t,e,n){"use strict";function r(t){return u||a("111",t.type),new u(t)}function i(t){return new s(t)}function o(t){return t instanceof s}var a=n(2),u=(n(0),null),s=null,c={injectGenericComponentClass:function(t){u=t},injectTextComponentClass:function(t){s=t}},l={createInternalComponent:r,createInstanceForText:i,isTextComponent:o,injection:c};t.exports=l},function(t,e,n){"use strict";function r(t){return o(document.documentElement,t)}var i=n(112),o=n(81),a=n(48),u=n(49),s={hasSelectionCapabilities:function(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&"text"===t.type||"textarea"===e||"true"===t.contentEditable)},getSelectionInformation:function(){var t=u();return{focusedElem:t,selectionRange:s.hasSelectionCapabilities(t)?s.getSelection(t):null}},restoreSelection:function(t){var e=u(),n=t.focusedElem,i=t.selectionRange;e!==n&&r(n)&&(s.hasSelectionCapabilities(n)&&s.setSelection(n,i),a(n))},getSelection:function(t){var e;if("selectionStart"in t)e={start:t.selectionStart,end:t.selectionEnd};else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===t&&(e={start:-n.moveStart("character",-t.value.length),end:-n.moveEnd("character",-t.value.length)})}else e=i.getOffsets(t);return e||{start:0,end:0}},setSelection:function(t,e){var n=e.start,r=e.end;if(void 0===r&&(r=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(r,t.value.length);else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var o=t.createTextRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",r-n),o.select()}else i.setOffsets(t,e)}};t.exports=s},function(t,e,n){"use strict";function r(t,e){for(var n=Math.min(t.length,e.length),r=0;r<n;r++)if(t.charAt(r)!==e.charAt(r))return r;return t.length===e.length?-1:n}function i(t){return t?t.nodeType===O?t.documentElement:t.firstChild:null}function o(t){return t.getAttribute&&t.getAttribute(P)||""}function a(t,e,n,r,i){var o;if(b.logTopLevelRenders){var a=t._currentElement.props.child,u=a.type;o="React mount: "+("string"==typeof u?u:u.displayName||u.name),console.time(o)}var s=M.mountComponent(t,n,null,_(t,e),i,0);o&&console.timeEnd(o),t._renderedComponent._topLevelWrapper=t,j._mountImageIntoNode(s,e,t,r,n)}function u(t,e,n,r){var i=T.ReactReconcileTransaction.getPooled(!n&&x.useCreateElement);i.perform(a,null,t,e,i,n,r),T.ReactReconcileTransaction.release(i)}function s(t,e,n){for(M.unmountComponent(t,n),e.nodeType===O&&(e=e.documentElement);e.lastChild;)e.removeChild(e.lastChild)}function c(t){var e=i(t);if(e){var n=y.getInstanceFromNode(e);return!(!n||!n._hostParent)}}function l(t){return!(!t||t.nodeType!==R&&t.nodeType!==O&&t.nodeType!==D)}function f(t){var e=i(t),n=e&&y.getInstanceFromNode(e);return n&&!n._hostParent?n:null}function h(t){var e=f(t);return e?e._hostContainerInfo._topLevelWrapper:null}var p=n(2),d=n(12),v=n(13),g=n(15),m=n(23),y=(n(10),n(4)),_=n(106),x=n(108),b=n(57),w=n(21),C=(n(7),n(122)),M=n(14),E=n(37),T=n(8),k=n(18),N=n(67),S=(n(0),n(27)),A=n(43),P=(n(1),v.ID_ATTRIBUTE_NAME),I=v.ROOT_ATTRIBUTE_NAME,R=1,O=9,D=11,L={},U=1,F=function(){this.rootID=U++};F.prototype.isReactComponent={},F.prototype.render=function(){return this.props.child},F.isReactTopLevelWrapper=!0;var j={TopLevelWrapper:F,_instancesByReactRootID:L,scrollMonitor:function(t,e){e()},_updateRootComponent:function(t,e,n,r,i){return j.scrollMonitor(r,function(){E.enqueueElementInternal(t,e,n),i&&E.enqueueCallbackInternal(t,i)}),t},_renderNewRootComponent:function(t,e,n,r){l(e)||p("37"),m.ensureScrollValueMonitoring();var i=N(t,!1);return T.batchedUpdates(u,i,e,n,r),L[i._instance.rootID]=i,i},renderSubtreeIntoContainer:function(t,e,n,r){return null!=t&&w.has(t)||p("38"),j._renderSubtreeIntoContainer(t,e,n,r)},_renderSubtreeIntoContainer:function(t,e,n,r){E.validateCallback(r,"ReactDOM.render"),g.isValidElement(e)||p("39","string"==typeof e?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof e?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,u=g.createElement(F,{child:e});if(t){var s=w.get(t);a=s._processChildContext(s._context)}else a=k;var l=h(n);if(l){if(A(l._currentElement.props.child,e)){var f=l._renderedComponent.getPublicInstance(),d=r&&function(){r.call(f)};return j._updateRootComponent(l,u,a,n,d),f}j.unmountComponentAtNode(n)}var v=i(n),m=v&&!!o(v),y=c(n),_=m&&!l&&!y,x=j._renderNewRootComponent(u,n,_,a)._renderedComponent.getPublicInstance();return r&&r.call(x),x},render:function(t,e,n){return j._renderSubtreeIntoContainer(null,t,e,n)},unmountComponentAtNode:function(t){l(t)||p("40");var e=h(t);if(!e){c(t),1===t.nodeType&&t.hasAttribute(I);return!1}return delete L[e._instance.rootID],T.batchedUpdates(s,e,t,!1),!0},_mountImageIntoNode:function(t,e,n,o,a){if(l(e)||p("41"),o){var u=i(e);if(C.canReuseMarkup(t,u))return void y.precacheNode(n,u);var s=u.getAttribute(C.CHECKSUM_ATTR_NAME);u.removeAttribute(C.CHECKSUM_ATTR_NAME);var c=u.outerHTML;u.setAttribute(C.CHECKSUM_ATTR_NAME,s);var f=t,h=r(f,c),v=" (client) "+f.substring(h-20,h+20)+"\n (server) "+c.substring(h-20,h+20);e.nodeType===O&&p("42",v)}if(e.nodeType===O&&p("43"),a.useCreateElement){for(;e.lastChild;)e.removeChild(e.lastChild);d.insertTreeBefore(e,t,null)}else S(e,t),y.precacheNode(n,e.firstChild)}};t.exports=j},function(t,e,n){"use strict";var r=n(2),i=n(15),o=(n(0),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(t){return null===t||t===!1?o.EMPTY:i.isValidElement(t)?"function"==typeof t.type?o.COMPOSITE:o.HOST:void r("26",t)}});t.exports=o},function(t,e,n){"use strict";var r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(t){r.currentScrollLeft=t.x,r.currentScrollTop=t.y}};t.exports=r},function(t,e,n){"use strict";function r(t,e){return null==e&&i("30"),null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}var i=n(2);n(0);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}t.exports=r},function(t,e,n){"use strict";function r(t){for(var e;(e=t._renderedNodeType)===i.COMPOSITE;)t=t._renderedComponent;return e===i.HOST?t._renderedComponent:e===i.EMPTY?null:void 0}var i=n(61);t.exports=r},function(t,e,n){"use strict";function r(){return!o&&i.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var i=n(5),o=null;t.exports=r},function(t,e,n){"use strict";function r(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}function i(t){return"function"==typeof t&&void 0!==t.prototype&&"function"==typeof t.prototype.mountComponent&&"function"==typeof t.prototype.receiveComponent}function o(t,e){var n;if(null===t||t===!1)n=c.create(o);else if("object"==typeof t){var u=t,s=u.type;if("function"!=typeof s&&"string"!=typeof s){var h="";h+=r(u._owner),a("130",null==s?s:typeof s,h)}"string"==typeof u.type?n=l.createInternalComponent(u):i(u.type)?(n=new u.type(u),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new f(u)}else"string"==typeof t||"number"==typeof t?n=l.createInstanceForText(t):a("131",typeof t);return n._mountIndex=0,n._mountImage=null,n}var a=n(2),u=n(3),s=n(103),c=n(56),l=n(58),f=(n(150),n(0),n(1),function(t){this.construct(t)});u(f.prototype,s,{_instantiateReactComponent:o}),t.exports=o},function(t,e,n){"use strict";function r(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!i[t.type]:"textarea"===e}var i={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=r},function(t,e,n){"use strict";var r=n(5),i=n(26),o=n(27),a=function(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e};r.canUseDOM&&("textContent"in document.documentElement||(a=function(t,e){if(3===t.nodeType)return void(t.nodeValue=e);o(t,i(e))})),t.exports=a},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function i(t,e,n,o){var h=typeof t;if("undefined"!==h&&"boolean"!==h||(t=null),null===t||"string"===h||"number"===h||"object"===h&&t.$$typeof===u)return n(o,t,""===e?l+r(t,0):e),1;var p,d,v=0,g=""===e?l:e+f;if(Array.isArray(t))for(var m=0;m<t.length;m++)p=t[m],d=g+r(p,m),v+=i(p,d,n,o);else{var y=s(t);if(y){var _,x=y.call(t);if(y!==t.entries)for(var b=0;!(_=x.next()).done;)p=_.value,d=g+r(p,b++),v+=i(p,d,n,o);else for(;!(_=x.next()).done;){var w=_.value;w&&(p=w[1],d=g+c.escape(w[0])+f+r(p,0),v+=i(p,d,n,o))}}else if("object"===h){var C="",M=String(t);a("31","[object Object]"===M?"object with keys {"+Object.keys(t).join(", ")+"}":M,C)}}return v}function o(t,e,n){return null==t?0:i(t,"",e,n)}var a=n(2),u=(n(10),n(118)),s=n(149),c=(n(0),n(33)),l=(n(1),"."),f=":";t.exports=o},function(t,e,n){"use strict";function r(t){var e=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+e.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var i=e.call(t);return r.test(i)}catch(t){return!1}}function i(t){var e=c(t);if(e){var n=e.childIDs;l(t),n.forEach(i)}}function o(t,e,n){return"\n in "+(t||"Unknown")+(e?" (at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+")":n?" (created by "+n+")":"")}function a(t){return null==t?"#empty":"string"==typeof t||"number"==typeof t?"#text":"string"==typeof t.type?t.type:t.type.displayName||t.type.name||"Unknown"}function u(t){var e,n=E.getDisplayName(t),r=E.getElement(t),i=E.getOwnerID(t);return i&&(e=E.getDisplayName(i)),o(n,r&&r._source,e)}var s,c,l,f,h,p,d,v=n(17),g=n(10),m=(n(0),n(1),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));if(m){var y=new Map,_=new Set;s=function(t,e){y.set(t,e)},c=function(t){return y.get(t)},l=function(t){y.delete(t)},f=function(){return Array.from(y.keys())},h=function(t){_.add(t)},p=function(t){_.delete(t)},d=function(){return Array.from(_.keys())}}else{var x={},b={},w=function(t){return"."+t},C=function(t){return parseInt(t.substr(1),10)};s=function(t,e){x[w(t)]=e},c=function(t){return x[w(t)]},l=function(t){delete x[w(t)]},f=function(){return Object.keys(x).map(C)},h=function(t){b[w(t)]=!0},p=function(t){delete b[w(t)]},d=function(){return Object.keys(b).map(C)}}var M=[],E={onSetChildren:function(t,e){var n=c(t);n||v("144"),n.childIDs=e;for(var r=0;r<e.length;r++){var i=e[r],o=c(i);o||v("140"),null==o.childIDs&&"object"==typeof o.element&&null!=o.element&&v("141"),o.isMounted||v("71"),null==o.parentID&&(o.parentID=t),o.parentID!==t&&v("142",i,o.parentID,t)}},onBeforeMountComponent:function(t,e,n){s(t,{element:e,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0})},onBeforeUpdateComponent:function(t,e){var n=c(t);n&&n.isMounted&&(n.element=e)},onMountComponent:function(t){var e=c(t);e||v("144"),e.isMounted=!0,0===e.parentID&&h(t)},onUpdateComponent:function(t){var e=c(t);e&&e.isMounted&&e.updateCount++},onUnmountComponent:function(t){var e=c(t);if(e){e.isMounted=!1;0===e.parentID&&p(t)}M.push(t)},purgeUnmountedComponents:function(){if(!E._preventPurging){for(var t=0;t<M.length;t++){i(M[t])}M.length=0}},isMounted:function(t){var e=c(t);return!!e&&e.isMounted},getCurrentStackAddendum:function(t){var e="";if(t){var n=a(t),r=t._owner;e+=o(n,t._source,r&&r.getName())}var i=g.current,u=i&&i._debugID;return e+=E.getStackAddendumByID(u)},getStackAddendumByID:function(t){for(var e="";t;)e+=u(t),t=E.getParentID(t);return e},getChildIDs:function(t){var e=c(t);return e?e.childIDs:[]},getDisplayName:function(t){var e=E.getElement(t);return e?a(e):null},getElement:function(t){var e=c(t);return e?e.element:null},getOwnerID:function(t){var e=E.getElement(t);return e&&e._owner?e._owner._debugID:null},getParentID:function(t){var e=c(t);return e?e.parentID:null},getSource:function(t){var e=c(t),n=e?e.element:null;return null!=n?n._source:null},getText:function(t){var e=E.getElement(t);return"string"==typeof e?e:"number"==typeof e?""+e:null},getUpdateCount:function(t){var e=c(t);return e?e.updateCount:0},getRootIDs:d,getRegisteredIDs:f};t.exports=E},function(t,e,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=r},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";var r=!1;t.exports=r},function(t,e,n){"use strict";function r(t){var e=t&&(i&&t[i]||t[o]);if("function"==typeof e)return e}var i="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";t.exports=r},function(t,e,n){!function(t,n){n(e)}(this,function(t){"use strict";function e(t){return function(e,n){return Dc(t(e),n)}}function n(t,e){return[t,e]}function r(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Jc?i*=10:o>=tl?i*=5:o>=el&&(i*=2),e<t?-i:i}function i(t){return t.length}function o(t){return"translate("+t+",0)"}function a(t){return"translate(0,"+t+")"}function u(t){var e=t.bandwidth()/2;return t.round()&&(e=Math.round(e)),function(n){return t(n)+e}}function s(){return!this.__axis}function c(t,e){function n(n){var o=null==c?e.ticks?e.ticks.apply(e,i):e.domain():c,a=null==l?e.tickFormat?e.tickFormat.apply(e,i):xl:l,m=Math.max(f,0)+p,y=e.range(),_=y[0]+.5,x=y[y.length-1]+.5,b=(e.bandwidth?u:xl)(e.copy()),w=n.selection?n.selection():n,C=w.selectAll(".domain").data([null]),M=w.selectAll(".tick").data(o,e).order(),E=M.exit(),T=M.enter().append("g").attr("class","tick"),k=M.select("line"),N=M.select("text");C=C.merge(C.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),M=M.merge(T),k=k.merge(T.append("line").attr("stroke","#000").attr(r+"2",d*f).attr(v+"1",.5).attr(v+"2",.5)),N=N.merge(T.append("text").attr("fill","#000").attr(r,d*m).attr(v,.5).attr("dy",t===bl?"0em":t===Cl?"0.71em":"0.32em")),n!==w&&(C=C.transition(n),M=M.transition(n),k=k.transition(n),N=N.transition(n),E=E.transition(n).attr("opacity",El).attr("transform",function(t){return isFinite(t=b(t))?g(t):this.getAttribute("transform")}),T.attr("opacity",El).attr("transform",function(t){var e=this.parentNode.__axis;return g(e&&isFinite(e=e(t))?e:b(t))})),E.remove(),C.attr("d",t===Ml||t==wl?"M"+d*h+","+_+"H0.5V"+x+"H"+d*h:"M"+_+","+d*h+"V0.5H"+x+"V"+d*h),M.attr("opacity",1).attr("transform",function(t){return g(b(t))}),k.attr(r+"2",d*f),N.attr(r,d*m).text(a),w.filter(s).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===wl?"start":t===Ml?"end":"middle"),w.each(function(){this.__axis=b})}var r,i=[],c=null,l=null,f=6,h=6,p=3,d=t===bl||t===Ml?-1:1,v=t===Ml||t===wl?(r="x","y"):(r="y","x"),g=t===bl||t===Cl?o:a;return n.scale=function(t){return arguments.length?(e=t,n):e},n.ticks=function(){return i=_l.call(arguments),n},n.tickArguments=function(t){return arguments.length?(i=null==t?[]:_l.call(t),n):i.slice()},n.tickValues=function(t){return arguments.length?(c=null==t?null:_l.call(t),n):c&&c.slice()},n.tickFormat=function(t){return arguments.length?(l=t,n):l},n.tickSize=function(t){return arguments.length?(f=h=+t,n):f},n.tickSizeInner=function(t){return arguments.length?(f=+t,n):f},n.tickSizeOuter=function(t){return arguments.length?(h=+t,n):h},n.tickPadding=function(t){return arguments.length?(p=+t,n):p},n}function l(t){return c(bl,t)}function f(t){return c(wl,t)}function h(t){return c(Cl,t)}function p(t){return c(Ml,t)}function d(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new v(r)}function v(t){this._=t}function g(t,e){return t.trim().split(/^|\s+/).map(function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}function m(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function y(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=Tl,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}function _(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===kl&&e.documentElement.namespaceURI===kl?e.createElement(t):e.createElementNS(n,t)}}function x(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function b(){return new w}function w(){this._="@"+(++Pl).toString(36)}function C(t,e,n){return t=M(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function M(e,n,r){return function(i){var o=t.event;t.event=i;try{e.call(this,this.__data__,n,r)}finally{t.event=o}}}function E(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}function T(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function k(t,e,n){var r=Ll.hasOwnProperty(t.type)?C:M;return function(i,o,a){var u,s=this.__on,c=r(e,o,a);if(s)for(var l=0,f=s.length;l<f;++l)if((u=s[l]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=c,u.capture=n),void(u.value=e);this.addEventListener(t.type,c,n),u={type:t.type,name:t.name,value:e,listener:c,capture:n},s?s.push(u):this.__on=[u]}}function N(e,n,r,i){var o=t.event;e.sourceEvent=t.event,t.event=e;try{return n.apply(r,i)}finally{t.event=o}}function S(){}function A(){return[]}function P(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function I(t,e,n,r,i,o){for(var a,u=0,s=e.length,c=o.length;u<c;++u)(a=e[u])?(a.__data__=o[u],r[u]=a):n[u]=new P(t,o[u]);for(;u<s;++u)(a=e[u])&&(i[u]=a)}function R(t,e,n,r,i,o,a){var u,s,c,l={},f=e.length,h=o.length,p=new Array(f);for(u=0;u<f;++u)(s=e[u])&&(p[u]=c=Gl+a.call(s,s.__data__,u,e),c in l?i[u]=s:l[c]=s);for(u=0;u<h;++u)c=Gl+a.call(t,o[u],u,o),(s=l[c])?(r[u]=s,s.__data__=o[u],l[c]=null):n[u]=new P(t,o[u]);for(u=0;u<f;++u)(s=e[u])&&l[p[u]]===s&&(i[u]=s)}function O(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function D(t){return function(){this.removeAttribute(t)}}function L(t){return function(){this.removeAttributeNS(t.space,t.local)}}function U(t,e){return function(){this.setAttribute(t,e)}}function F(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function j(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function B(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function q(t){return function(){this.style.removeProperty(t)}}function z(t,e,n){return function(){this.style.setProperty(t,e,n)}}function V(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function H(t){return function(){delete this[t]}}function W(t,e){return function(){this[t]=e}}function Y(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function X(t){return t.trim().split(/^|\s+/)}function K(t){return t.classList||new G(t)}function G(t){this._node=t,this._names=X(t.getAttribute("class")||"")}function $(t,e){for(var n=K(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function Q(t,e){for(var n=K(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function Z(t){return function(){$(this,t)}}function J(t){return function(){Q(this,t)}}function tt(t,e){return function(){(e.apply(this,arguments)?$:Q)(this,t)}}function et(){this.textContent=""}function nt(t){return function(){this.textContent=t}}function rt(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function it(){this.innerHTML=""}function ot(t){return function(){this.innerHTML=t}}function at(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function ut(){this.nextSibling&&this.parentNode.appendChild(this)}function st(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ct(){return null}function lt(){var t=this.parentNode;t&&t.removeChild(this)}function ft(t,e,n){var r=cf(t),i=r.CustomEvent;i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function ht(t,e){return function(){return ft(this,t,e)}}function pt(t,e){return function(){return ft(this,t,e.apply(this,arguments))}}function dt(t,e){this._groups=t,this._parents=e}function vt(){return new dt([[document.documentElement]],wf)}function gt(){t.event.stopImmediatePropagation()}function mt(t,e){var n=t.document.documentElement,r=Cf(t).on("dragstart.drag",null);e&&(r.on("click.drag",kf,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function yt(t,e,n,r,i,o,a,u,s,c){this.target=t,this.type=e,this.subject=n,this.identifier=r,this.active=i,this.x=o,this.y=a,this.dx=u,this.dy=s,this._=c}function _t(){return!t.event.button}function xt(){return this.parentNode}function bt(e){return null==e?{x:t.event.x,y:t.event.y}:e}function wt(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Ct(){}function Mt(t){var e;return t=(t+"").trim().toLowerCase(),(e=Uf.exec(t))?(e=parseInt(e[1],16),new St(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1)):(e=Ff.exec(t))?Et(parseInt(e[1],16)):(e=jf.exec(t))?new St(e[1],e[2],e[3],1):(e=Bf.exec(t))?new St(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=qf.exec(t))?Tt(e[1],e[2],e[3],e[4]):(e=zf.exec(t))?Tt(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Vf.exec(t))?At(e[1],e[2]/100,e[3]/100,1):(e=Hf.exec(t))?At(e[1],e[2]/100,e[3]/100,e[4]):Wf.hasOwnProperty(t)?Et(Wf[t]):"transparent"===t?new St(NaN,NaN,NaN,0):null}function Et(t){return new St(t>>16&255,t>>8&255,255&t,1)}function Tt(t,e,n,r){return r<=0&&(t=e=n=NaN),new St(t,e,n,r)}function kt(t){return t instanceof Ct||(t=Mt(t)),t?(t=t.rgb(),new St(t.r,t.g,t.b,t.opacity)):new St}function Nt(t,e,n,r){return 1===arguments.length?kt(t):new St(t,e,n,null==r?1:r)}function St(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function At(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Rt(t,e,n,r)}function Pt(t){if(t instanceof Rt)return new Rt(t.h,t.s,t.l,t.opacity);if(t instanceof Ct||(t=Mt(t)),!t)return new Rt;if(t instanceof Rt)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,u=o-i,s=(o+i)/2;return u?(a=e===o?(n-r)/u+6*(n<r):n===o?(r-e)/u+2:(e-n)/u+4,u/=s<.5?o+i:2-o-i,a*=60):u=s>0&&s<1?0:a,new Rt(a,u,s,t.opacity)}function It(t,e,n,r){return 1===arguments.length?Pt(t):new Rt(t,e,n,null==r?1:r)}function Rt(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Ot(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Dt(t){if(t instanceof Ut)return new Ut(t.l,t.a,t.b,t.opacity);if(t instanceof Ht){var e=t.h*Yf;return new Ut(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof St||(t=kt(t));var n=qt(t.r),r=qt(t.g),i=qt(t.b),o=Ft((.4124564*n+.3575761*r+.1804375*i)/Gf),a=Ft((.2126729*n+.7151522*r+.072175*i)/$f);return new Ut(116*a-16,500*(o-a),200*(a-Ft((.0193339*n+.119192*r+.9503041*i)/Qf)),t.opacity)}function Lt(t,e,n,r){return 1===arguments.length?Dt(t):new Ut(t,e,n,null==r?1:r)}function Ut(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function Ft(t){return t>eh?Math.pow(t,1/3):t/th+Zf}function jt(t){return t>Jf?t*t*t:th*(t-Zf)}function Bt(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function qt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function zt(t){if(t instanceof Ht)return new Ht(t.h,t.c,t.l,t.opacity);t instanceof Ut||(t=Dt(t));var e=Math.atan2(t.b,t.a)*Xf;return new Ht(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Vt(t,e,n,r){return 1===arguments.length?zt(t):new Ht(t,e,n,null==r?1:r)}function Ht(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function Wt(t){if(t instanceof Xt)return new Xt(t.h,t.s,t.l,t.opacity);t instanceof St||(t=kt(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(ch*r+uh*e-sh*n)/(ch+uh-sh),o=r-i,a=(ah*(n-i)-ih*o)/oh,u=Math.sqrt(a*a+o*o)/(ah*i*(1-i)),s=u?Math.atan2(a,o)*Xf-120:NaN;return new Xt(s<0?s+360:s,u,i,t.opacity)}function Yt(t,e,n,r){return 1===arguments.length?Wt(t):new Xt(t,e,n,null==r?1:r)}function Xt(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Kt(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}function Gt(t,e){return function(n){return t+n*e}}function $t(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function Qt(t,e){var n=e-t;return n?Gt(t,n>180||n<-180?n-360*Math.round(n/360):n):yh(isNaN(t)?e:t)}function Zt(t){return 1==(t=+t)?Jt:function(e,n){return n-e?$t(e,n,t):yh(isNaN(e)?n:e)}}function Jt(t,e){var n=e-t;return n?Gt(t,n):yh(isNaN(t)?e:t)}function te(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),u=new Array(i);for(n=0;n<i;++n)r=Nt(e[n]),o[n]=r.r||0,a[n]=r.g||0,u[n]=r.b||0;return o=t(o),a=t(a),u=t(u),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=u(t),r+""}}}function ee(t){return function(){return t}}function ne(t){return function(e){return t(e)+""}}function re(t){return"none"===t?Ih:(lh||(lh=document.createElement("DIV"),fh=document.documentElement,hh=document.defaultView),lh.style.transform=t,t=hh.getComputedStyle(fh.appendChild(lh),null).getPropertyValue("transform"),fh.removeChild(lh),t=t.slice(7,-1).split(","),Rh(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function ie(t){return null==t?Ih:(ph||(ph=document.createElementNS("http://www.w3.org/2000/svg","g")),ph.setAttribute("transform",t),(t=ph.transform.baseVal.consolidate())?(t=t.matrix,Rh(t.a,t.b,t.c,t.d,t.e,t.f)):Ih)}function oe(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}function o(t,r,i,o,a,u){if(t!==i||r!==o){var s=a.push("translate(",null,e,null,n);u.push({i:s-4,x:Mh(t,i)},{i:s-2,x:Mh(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}function a(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Mh(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}function u(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Mh(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}function s(t,e,n,r,o,a){if(t!==n||e!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:Mh(t,n)},{i:u-2,x:Mh(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}return function(e,n){var r=[],i=[];return e=t(e),n=t(n),o(e.translateX,e.translateY,n.translateX,n.translateY,r,i),a(e.rotate,n.rotate,r,i),u(e.skewX,n.skewX,r,i),s(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,i),e=n=null,function(t){for(var e,n=-1,o=i.length;++n<o;)r[(e=i[n]).i]=e.x(t);return r.join("")}}}function ae(t){return((t=Math.exp(t))+1/t)/2}function ue(t){return((t=Math.exp(t))-1/t)/2}function se(t){return((t=Math.exp(2*t))-1)/(t+1)}function ce(t){return function(e,n){var r=t((e=It(e)).h,(n=It(n)).h),i=Jt(e.s,n.s),o=Jt(e.l,n.l),a=Jt(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}function le(t,e){var n=Jt((t=Lt(t)).l,(e=Lt(e)).l),r=Jt(t.a,e.a),i=Jt(t.b,e.b),o=Jt(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=o(e),t+""}}function fe(t){return function(e,n){var r=t((e=Vt(e)).h,(n=Vt(n)).h),i=Jt(e.c,n.c),o=Jt(e.l,n.l),a=Jt(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=o(t),e.opacity=a(t),e+""}}}function he(t){return function e(n){function r(e,r){var i=t((e=Yt(e)).h,(r=Yt(r)).h),o=Jt(e.s,r.s),a=Jt(e.l,r.l),u=Jt(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=o(t),e.l=a(Math.pow(t,n)),e.opacity=u(t),e+""}}return n=+n,r.gamma=e,r}(1)}function pe(){return Jh||(np(de),Jh=ep.now()+tp)}function de(){Jh=0}function ve(){this._call=this._time=this._next=null}function ge(t,e,n){var r=new ve;return r.restart(t,e,n),r}function me(){pe(),++Kh;for(var t,e=dh;e;)(t=Jh-e._time)>=0&&e._call.call(null,t),e=e._next;--Kh}function ye(){Jh=(Zh=ep.now())+tp,Kh=Gh=0;try{me()}finally{Kh=0,xe(),Jh=0}}function _e(){var t=ep.now(),e=t-Zh;e>Qh&&(tp-=e,Zh=t)}function xe(){for(var t,e,n=dh,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:dh=e);vh=t,be(r)}function be(t){if(!Kh){Gh&&(Gh=clearTimeout(Gh));var e=t-Jh;e>24?(t<1/0&&(Gh=setTimeout(ye,e)),$h&&($h=clearInterval($h))):($h||(Zh=Jh,$h=setInterval(_e,Qh)),Kh=1,np(ye))}}function we(t,e){var n=t.__transition;if(!n||!(n=n[e])||n.state>up)throw new Error("too late");return n}function Ce(t,e){var n=t.__transition;if(!n||!(n=n[e])||n.state>cp)throw new Error("too late");return n}function Me(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("too late");return n}function Ee(t,e,n){function r(t){n.state=sp,n.timer.restart(i,n.delay,n.time),n.delay<=t&&i(t-n.delay)}function i(r){var c,l,f,h;if(n.state!==sp)return a();for(c in s)if(h=s[c],h.name===n.name){if(h.state===lp)return rp(i);h.state===fp?(h.state=pp,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete s[c]):+c<e&&(h.state=pp,h.timer.stop(),delete s[c])}if(rp(function(){n.state===lp&&(n.state=fp,n.timer.restart(o,n.delay,n.time),o(r))}),n.state=cp,n.on.call("start",t,t.__data__,n.index,n.group),n.state===cp){for(n.state=lp,u=new Array(f=n.tween.length),c=0,l=-1;c<f;++c)(h=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(u[++l]=h);u.length=l+1}}function o(e){for(var r=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(a),n.state=hp,1),i=-1,o=u.length;++i<o;)u[i].call(null,r);n.state===hp&&(n.on.call("end",t,t.__data__,n.index,n.group),a())}function a(){n.state=pp,n.timer.stop(),delete s[e];for(var r in s)return;delete t.__transition}var u,s=t.__transition;s[e]=n,n.timer=ge(r,0,n.time)}function Te(t,e){var n,r;return function(){var i=Ce(this,t),o=i.tween;if(o!==n){r=n=o;for(var a=0,u=r.length;a<u;++a)if(r[a].name===e){r=r.slice(),r.splice(a,1);break}}i.tween=r}}function ke(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=Ce(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:e,value:n},s=0,c=i.length;s<c;++s)if(i[s].name===e){i[s]=u;break}s===c&&i.push(u)}o.tween=i}}function Ne(t,e,n){var r=t._id;return t.each(function(){var t=Ce(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return Me(t,r).value[e]}}function Se(t){return function(){this.removeAttribute(t)}}function Ae(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Pe(t,e,n){var r,i;return function(){var o=this.getAttribute(t);return o===n?null:o===r?i:i=e(r=o,n)}}function Ie(t,e,n){var r,i;return function(){var o=this.getAttributeNS(t.space,t.local);return o===n?null:o===r?i:i=e(r=o,n)}}function Re(t,e,n){var r,i,o;return function(){var a,u=n(this);return null==u?void this.removeAttribute(t):(a=this.getAttribute(t),a===u?null:a===r&&u===i?o:o=e(r=a,i=u))}}function Oe(t,e,n){var r,i,o;return function(){var a,u=n(this);return null==u?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local),a===u?null:a===r&&u===i?o:o=e(r=a,i=u))}}function De(t,e){function n(){var n=this,r=e.apply(n,arguments);return r&&function(e){n.setAttributeNS(t.space,t.local,r(e))}}return n._value=e,n}function Le(t,e){function n(){var n=this,r=e.apply(n,arguments);return r&&function(e){n.setAttribute(t,r(e))}}return n._value=e,n}function Ue(t,e){return function(){we(this,t).delay=+e.apply(this,arguments)}}function Fe(t,e){return e=+e,function(){we(this,t).delay=e}}function je(t,e){return function(){Ce(this,t).duration=+e.apply(this,arguments)}}function Be(t,e){return e=+e,function(){Ce(this,t).duration=e}}function qe(t,e){if("function"!=typeof e)throw new Error;return function(){Ce(this,t).ease=e}}function ze(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}function Ve(t,e,n){var r,i,o=ze(e)?we:Ce;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(e,n),a.on=i}}function He(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function We(t,e){var n,r,i;return function(){var o=cf(this).getComputedStyle(this,null),a=o.getPropertyValue(t),u=(this.style.removeProperty(t),o.getPropertyValue(t));return a===u?null:a===n&&u===r?i:i=e(n=a,r=u)}}function Ye(t){return function(){this.style.removeProperty(t)}}function Xe(t,e,n){var r,i;return function(){var o=cf(this).getComputedStyle(this,null).getPropertyValue(t);return o===n?null:o===r?i:i=e(r=o,n)}}function Ke(t,e,n){var r,i,o;return function(){var a=cf(this).getComputedStyle(this,null),u=a.getPropertyValue(t),s=n(this);return null==s&&(this.style.removeProperty(t),s=a.getPropertyValue(t)),u===s?null:u===r&&s===i?o:o=e(r=u,i=s)}}function Ge(t,e,n){function r(){var r=this,i=e.apply(r,arguments);return i&&function(e){r.style.setProperty(t,i(e),n)}}return r._value=e,r}function $e(t){return function(){this.textContent=t}}function Qe(t){return function(){var e=t(this);this.textContent=null==e?"":e}}function Ze(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Je(t){return vt().transition(t)}function tn(){return++Lp}function en(t){return+t}function nn(t){return t*t}function rn(t){return t*(2-t)}function on(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function an(t){return t*t*t}function un(t){return--t*t*t+1}function sn(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function cn(t){return 1-Math.cos(t*Vp)}function ln(t){return Math.sin(t*Vp)}function fn(t){return(1-Math.cos(zp*t))/2}function hn(t){return Math.pow(2,10*t-10)}function pn(t){return 1-Math.pow(2,-10*t)}function dn(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function vn(t){return 1-Math.sqrt(1-t*t)}function gn(t){return Math.sqrt(1- --t*t)}function mn(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function yn(t){return 1-_n(1-t)}function _n(t){return(t=+t)<Hp?Jp*t*t:t<Yp?Jp*(t-=Wp)*t+Xp:t<Gp?Jp*(t-=Kp)*t+$p:Jp*(t-=Qp)*t+Zp}function xn(t){return((t*=2)<=1?1-_n(1-t):_n(t-1)+1)/2}function bn(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return ld.time=pe(),ld;return n}function wn(){t.event.stopImmediatePropagation()}function Cn(t){return{type:t}}function Mn(){return!t.event.button}function En(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Tn(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function kn(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function Nn(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function Sn(){return Pn(bd)}function An(){return Pn(wd)}function Pn(e){function n(t){var n=t.property("__brush",u).selectAll(".overlay").data([Cn("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Md.overlay).merge(n).each(function(){var t=Tn(this).extent;Cf(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),t.selectAll(".selection").data([Cn("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Md.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var i=t.selectAll(".handle").data(e.handles,function(t){return t.type});i.exit().remove(),i.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return Md[t.type]}),t.each(r).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",a)}function r(){var t=Cf(this),e=Tn(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?e[1][0]-h/2:e[0][0]-h/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-h/2:e[0][1]-h/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+h:h}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+h:h})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function i(t,e){return t.__brush.emitter||new o(t,e)}function o(t,e){this.that=t,this.args=e,this.state=t.__brush,this.active=0}function a(){function n(){var t=Bl(M);!L||w||C||(Math.abs(t[0]-F[0])>Math.abs(t[1]-F[1])?C=!0:w=!0),F=t,b=!0,gd(),o()}function o(){var t;switch(_=F[0]-U[0],x=F[1]-U[1],T){case yd:case md:k&&(_=Math.max(I-f,Math.min(O-v,_)),h=f+_,g=v+_),N&&(x=Math.max(R-p,Math.min(D-m,x)),d=p+x,y=m+x);break;case _d:k<0?(_=Math.max(I-f,Math.min(O-f,_)),h=f+_,g=v):k>0&&(_=Math.max(I-v,Math.min(O-v,_)),h=f,g=v+_),N<0?(x=Math.max(R-p,Math.min(D-p,x)),d=p+x,y=m):N>0&&(x=Math.max(R-m,Math.min(D-m,x)),d=p,y=m+x);break;case xd:k&&(h=Math.max(I,Math.min(O,f-_*k)),g=Math.max(I,Math.min(O,v+_*k))),N&&(d=Math.max(R,Math.min(D,p-x*N)),y=Math.max(R,Math.min(D,m+x*N)))}g<h&&(k*=-1,t=f,f=v,v=t,t=h,h=g,g=t,E in Ed&&q.attr("cursor",Md[E=Ed[E]])),y<d&&(N*=-1,t=p,p=m,m=t,t=d,d=y,y=t,E in Td&&q.attr("cursor",Md[E=Td[E]])),S.selection&&(P=S.selection),w&&(h=P[0][0],g=P[1][0]),C&&(d=P[0][1],y=P[1][1]),P[0][0]===h&&P[0][1]===d&&P[1][0]===g&&P[1][1]===y||(S.selection=[[h,d],[g,y]],r.call(M),j.brush())}function a(){if(wn(),t.event.touches){if(t.event.touches.length)return;s&&clearTimeout(s),s=setTimeout(function(){s=null},500),B.on("touchmove.brush touchend.brush touchcancel.brush",null)}else mt(t.event.view,b),z.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);B.attr("pointer-events","all"),q.attr("cursor",Md.overlay),S.selection&&(P=S.selection),kn(P)&&(S.selection=null,r.call(M)),j.end()}function u(){switch(t.event.keyCode){case 16:L=k&&N;break;case 18:T===_d&&(k&&(v=g-_*k,f=h+_*k),N&&(m=y-x*N,p=d+x*N),T=xd,o());break;case 32:T!==_d&&T!==xd||(k<0?v=g-_:k>0&&(f=h-_),N<0?m=y-x:N>0&&(p=d-x),T=yd,q.attr("cursor",Md.selection),o());break;default:return}gd()}function c(){switch(t.event.keyCode){case 16:L&&(w=C=L=!1,o());break;case 18:T===xd&&(k<0?v=g:k>0&&(f=h),N<0?m=y:N>0&&(p=d),T=_d,o());break;case 32:T===yd&&(t.event.altKey?(k&&(v=g-_*k,f=h+_*k),N&&(m=y-x*N,p=d+x*N),T=xd):(k<0?v=g:k>0&&(f=h),N<0?m=y:N>0&&(p=d),T=_d),q.attr("cursor",Md[E]),o());break;default:return}gd()}if(t.event.touches){if(t.event.changedTouches.length<t.event.touches.length)return gd()}else if(s)return;if(l.apply(this,arguments)){var f,h,p,d,v,g,m,y,_,x,b,w,C,M=this,E=t.event.target.__data__.type,T="selection"===(t.event.metaKey?E="overlay":E)?md:t.event.altKey?xd:_d,k=e===wd?null:kd[E],N=e===bd?null:Nd[E],S=Tn(M),A=S.extent,P=S.selection,I=A[0][0],R=A[0][1],O=A[1][0],D=A[1][1],L=k&&N&&t.event.shiftKey,U=Bl(M),F=U,j=i(M,arguments).beforestart();"overlay"===E?S.selection=P=[[f=e===wd?I:U[0],p=e===bd?R:U[1]],[v=e===wd?O:f,m=e===bd?D:p]]:(f=P[0][0],p=P[0][1],v=P[1][0],m=P[1][1]),h=f,d=p,g=v,y=m;var B=Cf(M).attr("pointer-events","none"),q=B.selectAll(".overlay").attr("cursor",Md[E]);if(t.event.touches)B.on("touchmove.brush",n,!0).on("touchend.brush touchcancel.brush",a,!0);else{var z=Cf(t.event.view).on("keydown.brush",u,!0).on("keyup.brush",c,!0).on("mousemove.brush",n,!0).on("mouseup.brush",a,!0);Nf(t.event.view)}wn(),vp(M),r.call(M),j.start()}}function u(){var t=this.__brush||{selection:null};return t.extent=c.apply(this,arguments),t.dim=e,t}var s,c=En,l=Mn,f=d(n,"start","brush","end"),h=6;return n.move=function(t,n){t.selection?t.on("start.brush",function(){i(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){i(this,arguments).end()}).tween("brush",function(){function t(t){a.selection=1===t&&kn(c)?null:l(t),r.call(o),u.brush()}var o=this,a=o.__brush,u=i(o,arguments),s=a.selection,c=e.input("function"==typeof n?n.apply(this,arguments):n,a.extent),l=Sh(s,c);return s&&c?t:t(1)}):t.each(function(){var t=this,o=arguments,a=t.__brush,u=e.input("function"==typeof n?n.apply(t,o):n,a.extent),s=i(t,o).beforestart();vp(t),a.selection=null==u||kn(u)?null:u,r.call(t),s.start().brush().end()})},o.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(t){N(new vd(n,t,e.output(this.state.selection)),f.apply,f,[t,this.that,this.args])}},n.extent=function(t){return arguments.length?(c="function"==typeof t?t:dd([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),n):c},n.filter=function(t){return arguments.length?(l="function"==typeof t?t:dd(!!t),n):l},n.handleSize=function(t){return arguments.length?(h=+t,n):h},n.on=function(){var t=f.on.apply(f,arguments);return t===f?n:t},n}function In(t){return function(e,n){return t(e.source.value+e.target.value,n.source.value+n.target.value)}}function Rn(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function On(){return new Rn}function Dn(t){return t.source}function Ln(t){return t.target}function Un(t){return t.radius}function Fn(t){return t.startAngle}function jn(t){return t.endAngle}function Bn(){}function qn(t,e){var n=new Bn;if(t instanceof Bn)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==e)for(;++i<o;)n.set(i,t[i]);else for(;++i<o;)n.set(e(r=t[i],i,t),r)}else if(t)for(var a in t)n.set(a,t[a]);return n}function zn(){return{}}function Vn(t,e,n){t[e]=n}function Hn(){return qn()}function Wn(t,e,n){t.set(e,n)}function Yn(){}function Xn(t,e){var n=new Yn;if(t instanceof Yn)t.each(function(t){n.add(t)});else if(t){var r=-1,i=t.length;if(null==e)for(;++r<i;)n.add(t[r]);else for(;++r<i;)n.add(e(t[r],r,t))}return n}function Kn(t){return new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}")}function Gn(t,e){var n=Kn(t);return function(r,i){return e(n(r),i,t)}}function $n(t){var e=Object.create(null),n=[];return t.forEach(function(t){for(var r in t)r in e||n.push(e[r]=r)}),n}function Qn(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,o,a,u,s,c,l,f,h,p=t._root,d={data:r},v=t._x0,g=t._y0,m=t._x1,y=t._y1;if(!p)return t._root=d,t;for(;p.length;)if((c=e>=(o=(v+m)/2))?v=o:m=o,(l=n>=(a=(g+y)/2))?g=a:y=a,i=p,!(p=p[f=l<<1|c]))return i[f]=d,t;if(u=+t._x.call(null,p.data),s=+t._y.call(null,p.data),e===u&&n===s)return d.next=p,i?i[f]=d:t._root=d,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(c=e>=(o=(v+m)/2))?v=o:m=o,(l=n>=(a=(g+y)/2))?g=a:y=a}while((f=l<<1|c)==(h=(s>=a)<<1|u>=o));return i[h]=p,i[f]=d,t}function Zn(t){var e,n,r,i,o=t.length,a=new Array(o),u=new Array(o),s=1/0,c=1/0,l=-(1/0),f=-(1/0);for(n=0;n<o;++n)isNaN(r=+this._x.call(null,e=t[n]))||isNaN(i=+this._y.call(null,e))||(a[n]=r,u[n]=i,r<s&&(s=r),r>l&&(l=r),i<c&&(c=i),i>f&&(f=i));for(l<s&&(s=this._x0,l=this._x1),f<c&&(c=this._y0,f=this._y1),this.cover(s,c).cover(l,f),n=0;n<o;++n)Qn(this,a[n],u[n],t[n]);return this}function Jn(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this}function tr(t){return t[0]}function er(t){return t[1]}function nr(t,e,n){var r=new rr(null==e?tr:e,null==n?er:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function rr(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function ir(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}function or(t){return t.x+t.vx}function ar(t){return t.y+t.vy}function ur(t){return t.index}function sr(t,e){var n=t.get(e);if(!n)throw new Error("missing: "+e);return n}function cr(t){return t.x}function lr(t){return t.y}function fr(t){return new hr(t)}function hr(t){if(!(e=qv.exec(t)))throw new Error("invalid format: "+t);var e,n=e[1]||" ",r=e[2]||">",i=e[3]||"-",o=e[4]||"",a=!!e[5],u=e[6]&&+e[6],s=!!e[7],c=e[8]&&+e[8].slice(1),l=e[9]||"";"n"===l?(s=!0,l="g"):Bv[l]||(l=""),(a||"0"===n&&"="===r)&&(a=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=i,this.symbol=o,this.zero=a,this.width=u,this.comma=s,this.precision=c,this.type=l}function pr(e){return zv=Wv(e),t.format=zv.format,t.formatPrefix=zv.formatPrefix,zv}function dr(){this.reset()}function vr(t,e,n){var r=t.s=e+n,i=r-e,o=r-i;t.t=e-o+(n-i)}function gr(t){return t>1?0:t<-1?Ag:Math.acos(t)}function mr(t){return t>1?Pg:t<-1?-Pg:Math.asin(t)}function yr(t){return(t=Hg(t/2))*t}function _r(){}function xr(t,e){t&&Gg.hasOwnProperty(t.type)&&Gg[t.type](t,e)}function br(t,e,n){var r,i=-1,o=t.length-n;for(e.lineStart();++i<o;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function wr(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)br(t[n],e,1);e.polygonEnd()}function Cr(){Jg.point=Er}function Mr(){Tr($v,Qv)}function Er(t,e){Jg.point=Tr,$v=t,Qv=e,t*=Dg,e*=Dg,Zv=t,Jv=jg(e=e/2+Ig),tg=Hg(e)}function Tr(t,e){t*=Dg,e*=Dg,e=e/2+Ig;var n=t-Zv,r=n>=0?1:-1,i=r*n,o=jg(e),a=Hg(e),u=tg*a,s=Jv*o+u*jg(i),c=u*r*Hg(i);Qg.add(Fg(c,s)),Zv=t,Jv=o,tg=a}function kr(t){return[Fg(t[1],t[0]),mr(t[2])]}function Nr(t){var e=t[0],n=t[1],r=jg(n);return[r*jg(e),r*Hg(e),Hg(n)]}function Sr(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Ar(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Pr(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Ir(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Rr(t){var e=Yg(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function Or(t,e){cg.push(lg=[eg=t,rg=t]),e<ng&&(ng=e),e>ig&&(ig=e)}function Dr(t,e){var n=Nr([t*Dg,e*Dg]);if(sg){var r=Ar(sg,n),i=[r[1],-r[0],0],o=Ar(i,r);Rr(o),o=kr(o);var a,u=t-og,s=u>0?1:-1,c=o[0]*Og*s,l=Lg(u)>180;l^(s*og<c&&c<s*t)?(a=o[1]*Og)>ig&&(ig=a):(c=(c+360)%360-180,l^(s*og<c&&c<s*t)?(a=-o[1]*Og)<ng&&(ng=a):(e<ng&&(ng=e),e>ig&&(ig=e))),l?t<og?qr(eg,t)>qr(eg,rg)&&(rg=t):qr(t,rg)>qr(eg,rg)&&(eg=t):rg>=eg?(t<eg&&(eg=t),t>rg&&(rg=t)):t>og?qr(eg,t)>qr(eg,rg)&&(rg=t):qr(t,rg)>qr(eg,rg)&&(eg=t)}else cg.push(lg=[eg=t,rg=t]);e<ng&&(ng=e),e>ig&&(ig=e),sg=n,og=t}function Lr(){nm.point=Dr}function Ur(){lg[0]=eg,lg[1]=rg,nm.point=Or,sg=null}function Fr(t,e){if(sg){var n=t-og;em.add(Lg(n)>180?n+(n>0?360:-360):n)}else ag=t,ug=e;Jg.point(t,e),Dr(t,e)}function jr(){Jg.lineStart()}function Br(){Fr(ag,ug),Jg.lineEnd(),Lg(em)>Ng&&(eg=-(rg=180)),lg[0]=eg,lg[1]=rg,sg=null}function qr(t,e){return(e-=t)<0?e+360:e}function zr(t,e){return t[0]-e[0]}function Vr(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}function Hr(t,e){t*=Dg,e*=Dg;var n=jg(e);Wr(n*jg(t),n*Hg(t),Hg(e))}function Wr(t,e,n){++fg,pg+=(t-pg)/fg,dg+=(e-dg)/fg,vg+=(n-vg)/fg}function Yr(){im.point=Xr}function Xr(t,e){t*=Dg,e*=Dg;var n=jg(e);Mg=n*jg(t),Eg=n*Hg(t),Tg=Hg(e),im.point=Kr,Wr(Mg,Eg,Tg)}function Kr(t,e){t*=Dg,e*=Dg;var n=jg(e),r=n*jg(t),i=n*Hg(t),o=Hg(e),a=Fg(Yg((a=Eg*o-Tg*i)*a+(a=Tg*r-Mg*o)*a+(a=Mg*i-Eg*r)*a),Mg*r+Eg*i+Tg*o);hg+=a,gg+=a*(Mg+(Mg=r)),mg+=a*(Eg+(Eg=i)),yg+=a*(Tg+(Tg=o)),Wr(Mg,Eg,Tg)}function Gr(){im.point=Hr}function $r(){im.point=Zr}function Qr(){Jr(wg,Cg),im.point=Hr}function Zr(t,e){wg=t,Cg=e,t*=Dg,e*=Dg,im.point=Jr;var n=jg(e);Mg=n*jg(t),Eg=n*Hg(t),Tg=Hg(e),Wr(Mg,Eg,Tg)}function Jr(t,e){t*=Dg,e*=Dg;var n=jg(e),r=n*jg(t),i=n*Hg(t),o=Hg(e),a=Eg*o-Tg*i,u=Tg*r-Mg*o,s=Mg*i-Eg*r,c=Yg(a*a+u*u+s*s),l=mr(c),f=c&&-l/c;_g+=f*a,xg+=f*u,bg+=f*s,hg+=l,gg+=l*(Mg+(Mg=r)),mg+=l*(Eg+(Eg=i)),yg+=l*(Tg+(Tg=o)),Wr(Mg,Eg,Tg)}function ti(t,e){return[t>Ag?t-Rg:t<-Ag?t+Rg:t,e]}function ei(t,e,n){return(t%=Rg)?e||n?um(ri(t),ii(e,n)):ri(t):e||n?ii(e,n):ti}function ni(t){return function(e,n){return e+=t,[e>Ag?e-Rg:e<-Ag?e+Rg:e,n]}}function ri(t){var e=ni(t);return e.invert=ni(-t),e}function ii(t,e){function n(t,e){var n=jg(e),u=jg(t)*n,s=Hg(t)*n,c=Hg(e),l=c*r+u*i;return[Fg(s*o-l*a,u*r-c*i),mr(l*o+s*a)]}var r=jg(t),i=Hg(t),o=jg(e),a=Hg(e);return n.invert=function(t,e){var n=jg(e),u=jg(t)*n,s=Hg(t)*n,c=Hg(e),l=c*o-s*a;return[Fg(s*o+c*a,u*r+l*i),mr(l*r-u*i)]},n}function oi(t,e,n,r,i,o){if(n){var a=jg(e),u=Hg(e),s=r*n;null==i?(i=e+r*Rg,o=e-s/2):(i=ai(a,i),o=ai(a,o),(r>0?i<o:i>o)&&(i+=r*Rg));for(var c,l=i;r>0?l>o:l<o;l-=s)c=kr([a,-u*jg(l),-u*Hg(l)]),t.point(c[0],c[1])}}function ai(t,e){e=Nr(e),e[0]-=t,Rr(e);var n=gr(-e[1]);return((-e[2]<0?-n:n)+Rg-Ng)%Rg}function ui(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function si(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}function ci(t,e,n,r){function i(i,o){return t<=i&&i<=n&&e<=o&&o<=r}function o(i,o,u,c){var l=0,f=0;if(null==i||(l=a(i,u))!==(f=a(o,u))||s(i,o)<0^u>0)do{c.point(0===l||3===l?t:n,l>1?r:e)}while((l=(l+u+4)%4)!==f);else c.point(o[0],o[1])}function a(r,i){return Lg(r[0]-t)<Ng?i>0?0:3:Lg(r[0]-n)<Ng?i>0?2:1:Lg(r[1]-e)<Ng?i>0?1:0:i>0?3:2}function u(t,e){return s(t.x,e.x)}function s(t,e){var n=a(t,1),r=a(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){function s(t,e){i(t,e)&&T.point(t,e)}function c(){for(var e=0,n=0,i=g.length;n<i;++n)for(var o,a,u=g[n],s=1,c=u.length,l=u[0],f=l[0],h=l[1];s<c;++s)o=f,a=h,l=u[s],f=l[0],h=l[1],a<=r?h>r&&(f-o)*(r-a)>(h-a)*(t-o)&&++e:h<=r&&(f-o)*(r-a)<(h-a)*(t-o)&&--e;return e}function l(){T=k,v=[],g=[],E=!0}function f(){var t=c(),e=E&&t,n=(v=fl(v)).length;(e||n)&&(a.polygonStart(),e&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),n&&Mm(v,u,t,o,a),a.polygonEnd()),T=a,v=g=m=null}function h(){N.point=d,g&&g.push(m=[]),M=!0,C=!1,b=w=NaN}function p(){v&&(d(y,_),x&&C&&k.rejoin(),v.push(k.result())),N.point=s,C&&T.lineEnd()}function d(o,a){var u=i(o,a);if(g&&m.push([o,a]),M)y=o,_=a,x=u,M=!1,u&&(T.lineStart(),T.point(o,a));else if(u&&C)T.point(o,a);else{var s=[b=Math.max(Tm,Math.min(Em,b)),w=Math.max(Tm,Math.min(Em,w))],c=[o=Math.max(Tm,Math.min(Em,o)),a=Math.max(Tm,Math.min(Em,a))];wm(s,c,t,e,n,r)?(C||(T.lineStart(),T.point(s[0],s[1])),T.point(c[0],c[1]),u||T.lineEnd(),E=!1):u&&(T.lineStart(),T.point(o,a),E=!1)}b=o,w=a,C=u}var v,g,m,y,_,x,b,w,C,M,E,T=a,k=bm(),N={point:s,lineStart:h,lineEnd:p,polygonStart:l,polygonEnd:f};return N}}function li(){Pm.point=hi,Pm.lineEnd=fi}function fi(){Pm.point=Pm.lineEnd=_r}function hi(t,e){t*=Dg,e*=Dg,sm=t,cm=Hg(e),lm=jg(e),Pm.point=pi}function pi(t,e){t*=Dg,e*=Dg;var n=Hg(e),r=jg(e),i=Lg(t-sm),o=jg(i),a=Hg(i),u=r*a,s=lm*n-cm*r*o,c=cm*n+lm*r*o;Am.add(Fg(Yg(u*u+s*s),c)),sm=t,cm=n,lm=r}function di(t,e){return!(!t||!Um.hasOwnProperty(t.type))&&Um[t.type](t,e)}function vi(t,e){return 0===Dm(t,e)}function gi(t,e){var n=Dm(t[0],t[1]);return Dm(t[0],e)+Dm(e,t[1])<=n+Ng}function mi(t,e){return!!Sm(t.map(yi),_i(e))}function yi(t){return t=t.map(_i),t.pop(),t}function _i(t){return[t[0]*Dg,t[1]*Dg]}function xi(t,e,n){var r=Zc(t,e-Ng,n).concat(e);return function(t){return r.map(function(e){return[t,e]})}}function bi(t,e,n){var r=Zc(t,e-Ng,n).concat(e);return function(t){return r.map(function(e){return[e,t]})}}function wi(){function t(){return{type:"MultiLineString",coordinates:e()}}function e(){return Zc(Bg(o/g)*g,i,g).map(h).concat(Zc(Bg(c/m)*m,s,m).map(p)).concat(Zc(Bg(r/d)*d,n,d).filter(function(t){return Lg(t%g)>Ng}).map(l)).concat(Zc(Bg(u/v)*v,a,v).filter(function(t){return Lg(t%m)>Ng}).map(f))}var n,r,i,o,a,u,s,c,l,f,h,p,d=10,v=d,g=90,m=360,y=2.5;return t.lines=function(){return e().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[h(o).concat(p(s).slice(1),h(i).reverse().slice(1),p(c).reverse().slice(1))]}},t.extent=function(e){return arguments.length?t.extentMajor(e).extentMinor(e):t.extentMinor()},t.extentMajor=function(e){return arguments.length?(o=+e[0][0],i=+e[1][0],c=+e[0][1],s=+e[1][1],o>i&&(e=o,o=i,i=e),c>s&&(e=c,c=s,s=e),t.precision(y)):[[o,c],[i,s]]},t.extentMinor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],u=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),u>a&&(e=u,u=a,a=e),t.precision(y)):[[r,u],[n,a]]},t.step=function(e){return arguments.length?t.stepMajor(e).stepMinor(e):t.stepMinor()},t.stepMajor=function(e){return arguments.length?(g=+e[0],m=+e[1],t):[g,m]},t.stepMinor=function(e){return arguments.length?(d=+e[0],v=+e[1],t):[d,v]},t.precision=function(e){return arguments.length?(y=+e,l=xi(u,a,90),f=bi(r,n,y),h=xi(c,s,90),p=bi(o,i,y),t):y},t.extentMajor([[-180,-90+Ng],[180,90-Ng]]).extentMinor([[-180,-80-Ng],[180,80+Ng]])}function Ci(){return wi()()}function Mi(){Vm.point=Ei}function Ei(t,e){Vm.point=Ti,fm=pm=t,hm=dm=e}function Ti(t,e){zm.add(dm*t-pm*e),pm=t,dm=e}function ki(){Ti(fm,hm)}function Ni(t,e){t<Hm&&(Hm=t),t>Ym&&(Ym=t),e<Wm&&(Wm=e),e>Xm&&(Xm=e)}function Si(t,e){Gm+=t,$m+=e,++Qm}function Ai(){iy.point=Pi}function Pi(t,e){iy.point=Ii,Si(mm=t,ym=e)}function Ii(t,e){var n=t-mm,r=e-ym,i=Yg(n*n+r*r);Zm+=i*(mm+t)/2,Jm+=i*(ym+e)/2,ty+=i,Si(mm=t,ym=e)}function Ri(){iy.point=Si}function Oi(){iy.point=Li}function Di(){Ui(vm,gm)}function Li(t,e){iy.point=Ui,Si(vm=mm=t,gm=ym=e)}function Ui(t,e){var n=t-mm,r=e-ym,i=Yg(n*n+r*r);Zm+=i*(mm+t)/2,Jm+=i*(ym+e)/2,ty+=i,i=ym*t-mm*e,ey+=i*(mm+t),ny+=i*(ym+e),ry+=3*i,Si(mm=t,ym=e)}function Fi(t){this._context=t}function ji(t,e){fy.point=Bi,ay=sy=t,uy=cy=e}function Bi(t,e){sy-=t,cy-=e,ly.add(Yg(sy*sy+cy*cy)),sy=t,cy=e}function qi(){this._string=[]}function zi(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Vi(t){return t.length>1}function Hi(t,e){return((t=t.x)[0]<0?t[1]-Pg-Ng:Pg-t[1])-((e=e.x)[0]<0?e[1]-Pg-Ng:Pg-e[1])}function Wi(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var u=o>0?Ag:-Ag,s=Lg(o-n);Lg(s-Ag)<Ng?(t.point(n,r=(r+a)/2>0?Pg:-Pg),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(o,r),e=0):i!==u&&s>=Ag&&(Lg(n-i)<Ng&&(n-=i*Ng),Lg(o-u)<Ng&&(o-=u*Ng),r=Yi(n,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),e=0),t.point(n=o,r=a),i=u},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}function Yi(t,e,n,r){var i,o,a=Hg(t-n);return Lg(a)>Ng?Ug((Hg(e)*(o=jg(r))*Hg(n)-Hg(r)*(i=jg(e))*Hg(t))/(i*o*a)):(e+r)/2}function Xi(t,e,n,r){var i;if(null==t)i=n*Pg,r.point(-Ag,i),r.point(0,i),r.point(Ag,i),r.point(Ag,0),r.point(Ag,-i),r.point(0,-i),r.point(-Ag,-i),r.point(-Ag,0),r.point(-Ag,i);else if(Lg(t[0]-e[0])>Ng){var o=t[0]<e[0]?Ag:-Ag;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(e[0],e[1])}function Ki(t){return function(e){var n=new Gi;for(var r in t)n[r]=t[r];return n.stream=e,n}}function Gi(){}function $i(t,e,n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=o&&t.clipExtent(null),$g(n,t.stream(Km));var a=Km.result(),u=Math.min(r/(a[1][0]-a[0][0]),i/(a[1][1]-a[0][1])),s=+e[0][0]+(r-u*(a[1][0]+a[0][0]))/2,c=+e[0][1]+(i-u*(a[1][1]+a[0][1]))/2;return null!=o&&t.clipExtent(o),t.scale(150*u).translate([s,c])}function Qi(t,e,n){return $i(t,[[0,0],e],n)}function Zi(t){return Ki({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}function Ji(t,e){function n(r,i,o,a,u,s,c,l,f,h,p,d,v,g){var m=c-r,y=l-i,_=m*m+y*y;if(_>4*e&&v--){var x=a+h,b=u+p,w=s+d,C=Yg(x*x+b*b+w*w),M=mr(w/=C),E=Lg(Lg(w)-1)<Ng||Lg(o-f)<Ng?(o+f)/2:Fg(b,x),T=t(E,M),k=T[0],N=T[1],S=k-r,A=N-i,P=y*S-m*A;(P*P/_>e||Lg((m*S+y*A)/_-.5)>.3||a*h+u*p+s*d<yy)&&(n(r,i,o,a,u,s,k,N,E,x/=C,b/=C,w,v,g),g.point(k,N),n(k,N,E,x,b,w,c,l,f,h,p,d,v,g))}}return function(e){function r(n,r){n=t(n,r),e.point(n[0],n[1])}function i(){m=NaN,w.point=o,e.lineStart()}function o(r,i){var o=Nr([r,i]),a=t(r,i);n(m,y,g,_,x,b,m=a[0],y=a[1],g=r,_=o[0],x=o[1],b=o[2],my,e),e.point(m,y)}function a(){w.point=r,e.lineEnd()}function u(){i(),w.point=s,w.lineEnd=c}function s(t,e){o(l=t,e),f=m,h=y,p=_,d=x,v=b,w.point=o}function c(){n(m,y,g,_,x,b,f,h,l,p,d,v,my,e),w.lineEnd=a,a()}var l,f,h,p,d,v,g,m,y,_,x,b,w={point:r,lineStart:i,lineEnd:a,polygonStart:function(){e.polygonStart(),w.lineStart=u},polygonEnd:function(){e.polygonEnd(),w.lineStart=i}};return w}}function to(t){return eo(function(){return t})()}function eo(t){function e(t){return t=l(t[0]*Dg,t[1]*Dg),[t[0]*g+u,s-t[1]*g]}function n(t){return(t=l.invert((t[0]-u)/g,(s-t[1])/g))&&[t[0]*Og,t[1]*Og]}function r(t,e){return t=a(t,e),[t[0]*g+u,s-t[1]*g]}function i(){l=um(c=ei(b,w,C),a);var t=a(_,x);return u=m-t[0]*g,s=y+t[1]*g,o()}function o(){return d=v=null,e}var a,u,s,c,l,f,h,p,d,v,g=150,m=480,y=250,_=0,x=0,b=0,w=0,C=0,M=null,E=dy,T=null,k=Bm,N=.5,S=_y(r,N);return e.stream=function(t){return d&&v===t?d:d=xy(E(c,S(k(v=t))))},e.clipAngle=function(t){return arguments.length?(E=+t?vy(M=t*Dg,6*Dg):(M=null,dy),o()):M*Og},e.clipExtent=function(t){return arguments.length?(k=null==t?(T=f=h=p=null,Bm):ci(T=+t[0][0],f=+t[0][1],h=+t[1][0],p=+t[1][1]),o()):null==T?null:[[T,f],[h,p]]},e.scale=function(t){return arguments.length?(g=+t,i()):g},e.translate=function(t){return arguments.length?(m=+t[0],y=+t[1],i()):[m,y]},e.center=function(t){return arguments.length?(_=t[0]%360*Dg,x=t[1]%360*Dg,i()):[_*Og,x*Og]},e.rotate=function(t){return arguments.length?(b=t[0]%360*Dg,w=t[1]%360*Dg,C=t.length>2?t[2]%360*Dg:0,i()):[b*Og,w*Og,C*Og]},e.precision=function(t){return arguments.length?(S=_y(r,N=t*t),o()):Yg(N)},e.fitExtent=function(t,n){return $i(e,t,n)},e.fitSize=function(t,n){return Qi(e,t,n)},function(){return a=t.apply(this,arguments),e.invert=a.invert&&n,i()}}function no(t){var e=0,n=Ag/3,r=eo(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*Dg,n=t[1]*Dg):[e*Og,n*Og]},i}function ro(t){function e(t,e){return[t*n,Hg(e)/n]}var n=jg(t);return e.invert=function(t,e){return[t/n,mr(e*n)]},e}function io(t,e){function n(t,e){var n=Yg(o-2*i*Hg(e))/i;return[n*Hg(t*=i),a-n*jg(t)]}var r=Hg(t),i=(r+Hg(e))/2;if(Lg(i)<Ng)return ro(t);var o=1+r*(2*i-r),a=Yg(o)/i;return n.invert=function(t,e){var n=a-e;return[Fg(t,Lg(n))/i*Wg(n),mr((o-(t*t+n*n)*i*i)/(2*i))]},n}function oo(t){var e=t.length;return{point:function(n,r){for(var i=-1;++i<e;)t[i].point(n,r)},sphere:function(){for(var n=-1;++n<e;)t[n].sphere()},lineStart:function(){for(var n=-1;++n<e;)t[n].lineStart()},lineEnd:function(){for(var n=-1;++n<e;)t[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<e;)t[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<e;)t[n].polygonEnd()}}}function ao(t){return function(e,n){var r=jg(e),i=jg(n),o=t(r*i);return[o*i*Hg(e),o*Hg(n)]}}function uo(t){return function(e,n){var r=Yg(e*e+n*n),i=t(r),o=Hg(i);return[Fg(e*o,r*jg(i)),mr(r&&n*o/r)]}}function so(t,e){return[t,zg(Xg((Pg+e)/2))]}function co(t){function e(){var t=Ag*u(),e=o([0,0]);return c(null==l?[[e[0]-t,e[1]-t],[e[0]+t,e[1]+t]]:[[Math.max(e[0]-t,l),n],[Math.min(e[0]+t,r),i]])}var n,r,i,o=to(t),a=o.center,u=o.scale,s=o.translate,c=o.clipExtent,l=null;return o.center=function(t){return arguments.length?(a(t),e()):a()},o.scale=function(t){return arguments.length?(u(t),e()):u()},o.translate=function(t){return arguments.length?(s(t),e()):s()},o.clipExtent=function(t){return arguments.length?(null==t?l=n=r=i=null:(l=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),e()):null==l?null:[[l,n],[r,i]]},e()}function lo(t){return Xg((Pg+t)/2)}function fo(t,e){function n(t,e){o>0?e<-Pg+Ng&&(e=-Pg+Ng):e>Pg-Ng&&(e=Pg-Ng);var n=o/Vg(lo(e),i);return[n*Hg(i*t),o-n*jg(i*t)]}var r=jg(t),i=t===e?Hg(t):zg(r/jg(e))/zg(lo(e)/lo(t)),o=r*Vg(lo(t),i)/i;return i?(n.invert=function(t,e){var n=o-e,r=Wg(i)*Yg(t*t+n*n);return[Fg(t,Lg(n))/i*Wg(n),2*Ug(Vg(o/r,1/i))-Pg]},n):so}function ho(t,e){return[t,e]}function po(t,e){function n(t,e){var n=o-e,r=i*t;return[n*Hg(r),o-n*jg(r)]}var r=jg(t),i=t===e?Hg(t):(r-jg(e))/(e-t),o=r/i+t;return Lg(i)<Ng?ho:(n.invert=function(t,e){var n=o-e;return[Fg(t,Lg(n))/i*Wg(n),o-Wg(i)*Yg(t*t+n*n)]},n)}function vo(t,e){var n=jg(e),r=jg(t)*n;return[n*Hg(t)/r,Hg(e)/r]}function go(t,e,n,r){return 1===t&&1===e&&0===n&&0===r?Bm:Ki({point:function(i,o){this.stream.point(i*t+n,o*e+r)}})}function mo(t,e){return[jg(e)*Hg(t),Hg(e)]}function yo(t,e){var n=jg(e),r=1+jg(t)*n;return[n*Hg(t)/r,Hg(e)/r]}function _o(t,e){return[zg(Xg((Pg+e)/2)),-t]}function xo(t,e){return t.parent===e.parent?1:2}function bo(t){return t.reduce(wo,0)/t.length}function wo(t,e){return t+e.x}function Co(t){return 1+t.reduce(Mo,0)}function Mo(t,e){return Math.max(t,e.y)}function Eo(t){for(var e;e=t.children;)t=e[0];return t}function To(t){for(var e;e=t.children;)t=e[e.length-1];return t}function ko(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function No(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}function So(t,e){var n,r,i,o,a,u=new Oo(t),s=+t.value&&(u.value=t.value),c=[u];for(null==e&&(e=Po);n=c.pop();)if(s&&(n.value=+n.data.value),(i=e(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)c.push(r=n.children[o]=new Oo(i[o])),r.parent=n,r.depth=n.depth+1;return u.eachBefore(Ro)}function Ao(){return So(this).eachBefore(Io)}function Po(t){return t.children}function Io(t){t.data=t.data.data}function Ro(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function Oo(t){this.data=t,this.depth=this.height=0,this.parent=null}function Do(t){this._=t,this.next=null}function Lo(t,e){var n=e.x-t.x,r=e.y-t.y,i=t.r-e.r;return i*i+1e-6>n*n+r*r}function Uo(t,e){var n,r,i,o=null,a=t.head;switch(e.length){case 1:n=Fo(e[0]);break;case 2:n=jo(e[0],e[1]);break;case 3:n=Bo(e[0],e[1],e[2])}for(;a;)i=a._,r=a.next,n&&Lo(n,i)?o=a:(o?(t.tail=o,o.next=null):t.head=t.tail=null,e.push(i),n=Uo(t,e),e.pop(),t.head?(a.next=t.head,t.head=a):(a.next=null,t.head=t.tail=a),o=t.tail,o.next=r),a=r;return t.tail=o,n}function Fo(t){return{x:t.x,y:t.y,r:t.r}}function jo(t,e){var n=t.x,r=t.y,i=t.r,o=e.x,a=e.y,u=e.r,s=o-n,c=a-r,l=u-i,f=Math.sqrt(s*s+c*c);return{x:(n+o+s/f*l)/2,y:(r+a+c/f*l)/2,r:(f+i+u)/2}}function Bo(t,e,n){var r=t.x,i=t.y,o=t.r,a=e.x,u=e.y,s=e.r,c=n.x,l=n.y,f=n.r,h=2*(r-a),p=2*(i-u),d=2*(s-o),v=r*r+i*i-o*o-a*a-u*u+s*s,g=2*(r-c),m=2*(i-l),y=2*(f-o),_=r*r+i*i-o*o-c*c-l*l+f*f,x=g*p-h*m,b=(p*_-m*v)/x-r,w=(m*d-p*y)/x,C=(g*v-h*_)/x-i,M=(h*y-g*d)/x,E=w*w+M*M-1,T=2*(b*w+C*M+o),k=b*b+C*C-o*o,N=(-T-Math.sqrt(T*T-4*E*k))/(2*E);return{x:b+w*N+r,y:C+M*N+i,r:N}}function qo(t,e,n){var r=t.x,i=t.y,o=e.r+n.r,a=t.r+n.r,u=e.x-r,s=e.y-i,c=u*u+s*s;if(c){var l=.5+((a*=a)-(o*=o))/(2*c),f=Math.sqrt(Math.max(0,2*o*(a+c)-(a-=c)*a-o*o))/(2*c);n.x=r+l*u+f*s,n.y=i+l*s-f*u}else n.x=r+a,n.y=i}function zo(t,e){var n=e.x-t.x,r=e.y-t.y,i=t.r+e.r;return i*i-1e-6>n*n+r*r}function Vo(t,e){for(var n=t._.r;t!==e;)n+=2*(t=t.next)._.r;return n-e._.r}function Ho(t,e,n){var r=t._,i=t.next._,o=r.r+i.r,a=(r.x*i.r+i.x*r.r)/o-e,u=(r.y*i.r+i.y*r.r)/o-n;return a*a+u*u}function Wo(t){this._=t,this.next=null,this.previous=null}function Yo(t){if(!(i=t.length))return 0;var e,n,r,i;if(e=t[0],e.x=0,e.y=0,!(i>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(i>2))return e.r+n.r;qo(n,e,r=t[2]);var o,a,u,s,c,l,f,h=e.r*e.r,p=n.r*n.r,d=r.r*r.r,v=h+p+d,g=h*e.x+p*n.x+d*r.x,m=h*e.y+p*n.y+d*r.y;e=new Wo(e),n=new Wo(n),r=new Wo(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(u=3;u<i;++u){qo(e._,n._,r=t[u]),r=new Wo(r),s=n.next,c=e.previous,l=n._.r,f=e._.r;do{if(l<=f){if(zo(s._,r._)){l+e._.r+n._.r>Vo(s,n)?e=s:n=s,e.next=n,n.previous=e,--u;continue t}l+=s._.r,s=s.next}else{if(zo(c._,r._)){Vo(e,c)>f+e._.r+n._.r?e=c:n=c,e.next=n,n.previous=e,--u;continue t}f+=c._.r,c=c.previous}}while(s!==c.next);for(r.previous=e,r.next=n,e.next=n.previous=n=r,v+=d=r._.r*r._.r,g+=d*r._.x,m+=d*r._.y,h=Ho(e,o=g/v,a=m/v);(r=r.next)!==n;)(d=Ho(r,o,a))<h&&(e=r,h=d);n=e.next}for(e=[n._],r=n;(r=r.next)!==n;)e.push(r._);for(r=$y(e),u=0;u<i;++u)e=t[u],e.x-=r.x,e.y-=r.y;return r.r}function Xo(t){return null==t?null:Ko(t)}function Ko(t){if("function"!=typeof t)throw new Error;return t}function Go(){return 0}function $o(t){return Math.sqrt(t.value)}function Qo(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function Zo(t,e){return function(n){if(r=n.children){var r,i,o,a=r.length,u=t(n)*e||0;if(u)for(i=0;i<a;++i)r[i].r+=u;if(o=Yo(r),u)for(i=0;i<a;++i)r[i].r-=u;n.r=o+u}}}function Jo(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}function ta(t){return t.id}function ea(t){return t.parentId}function na(t,e){return t.parent===e.parent?1:2}function ra(t){var e=t.children;return e?e[0]:t.t}function ia(t){var e=t.children;return e?e[e.length-1]:t.t}function oa(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function aa(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)e=i[o],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}function ua(t,e,n){return t.a.parent===e.parent?t.a:n}function sa(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function ca(t){for(var e,n,r,i,o,a=new sa(t,0),u=[a];e=u.pop();)if(r=e._.children)for(e.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(n=e.children[i]=new sa(r[i],i)),n.parent=e;return(a.parent=new sa(null,0)).children=[a],a}function la(t,e,n,r,i,o){for(var a,u,s,c,l,f,h,p,d,v,g,m=[],y=e.children,_=0,x=0,b=y.length,w=e.value;_<b;){s=i-n,c=o-r;do{l=y[x++].value}while(!l&&x<b);for(f=h=l,v=Math.max(c/s,s/c)/(w*t),g=l*l*v,d=Math.max(h/g,g/f);x<b;++x){if(l+=u=y[x].value,u<f&&(f=u),u>h&&(h=u),g=l*l*v,(p=Math.max(h/g,g/f))>d){l-=u;break}d=p}m.push(a={value:l,dice:s<c,children:y.slice(_,x)}),a.dice?e_(a,n,r,i,w?r+=c*l/w:o):s_(a,n,r,w?n+=s*l/w:i,o),w-=l,_=x}return m}function fa(t,e){return t[0]-e[0]||t[1]-e[1]}function ha(t){for(var e=t.length,n=[0,1],r=2,i=2;i<e;++i){for(;r>1&&m_(t[n[r-2]],t[n[r-1]],t[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}function pa(t){if(!(t>=1))throw new Error;this._size=t,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function da(t){if(!t._start)try{va(t)}catch(e){if(t._tasks[t._ended+t._active-1])ma(t,e);else if(!t._data)throw e}}function va(t){for(;t._start=t._waiting&&t._active<t._size;){var e=t._ended+t._active,n=t._tasks[e],r=n.length-1,i=n[r];n[r]=ga(t,e),--t._waiting,++t._active,n=i.apply(null,n),t._tasks[e]&&(t._tasks[e]=n||w_)}}function ga(t,e){return function(n,r){t._tasks[e]&&(--t._active,++t._ended,t._tasks[e]=null,null==t._error&&(null!=n?ma(t,n):(t._data[e]=r,t._waiting?da(t):ya(t))))}}function ma(t,e){var n,r=t._tasks.length;for(t._error=e,t._data=void 0,t._waiting=NaN;--r>=0;)if((n=t._tasks[r])&&(t._tasks[r]=null,n.abort))try{n.abort()}catch(t){}t._active=NaN,ya(t)}function ya(t){if(!t._active&&t._call){var e=t._data;t._data=void 0,t._call(t._error,e)}}function _a(t){return new pa(arguments.length?+t:1/0)}function xa(t){return function(e,n){t(null==e?n:null)}}function ba(t){var e=t.responseType;return e&&"text"!==e?t.response:t.responseText}function wa(t,e){return function(n){return t(n.responseText,e)}}function Ca(t){function e(e){var o=e+"",a=n.get(o);if(!a){if(i!==q_)return i;n.set(o,a=r.push(e))}return t[(a-1)%t.length]}var n=qn(),r=[],i=q_;return t=null==t?[]:B_.call(t),e.domain=function(t){if(!arguments.length)return r.slice();r=[],n=qn();for(var i,o,a=-1,u=t.length;++a<u;)n.has(o=(i=t[a])+"")||n.set(o,r.push(i));return e},e.range=function(n){return arguments.length?(t=B_.call(n),e):t.slice()},e.unknown=function(t){return arguments.length?(i=t,e):i},e.copy=function(){return Ca().domain(r).range(t).unknown(i)},e}function Ma(){function t(){var t=i().length,r=a[1]<a[0],f=a[r-0],h=a[1-r];e=(h-f)/Math.max(1,t-s+2*c),u&&(e=Math.floor(e)),f+=(h-f-e*(t-s))*l,n=e*(1-s),u&&(f=Math.round(f),n=Math.round(n));var p=Zc(t).map(function(t){return f+e*t});return o(r?p.reverse():p)}var e,n,r=Ca().unknown(void 0),i=r.domain,o=r.range,a=[0,1],u=!1,s=0,c=0,l=.5;return delete r.unknown,r.domain=function(e){return arguments.length?(i(e),t()):i()},r.range=function(e){return arguments.length?(a=[+e[0],+e[1]],t()):a.slice()},r.rangeRound=function(e){return a=[+e[0],+e[1]],u=!0,t()},r.bandwidth=function(){return n},r.step=function(){return e},r.round=function(e){return arguments.length?(u=!!e,t()):u},r.padding=function(e){return arguments.length?(s=c=Math.max(0,Math.min(1,e)),t()):s},r.paddingInner=function(e){return arguments.length?(s=Math.max(0,Math.min(1,e)),t()):s},r.paddingOuter=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),t()):c},r.align=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),t()):l},r.copy=function(){return Ma().domain(i()).range(a).round(u).paddingInner(s).paddingOuter(c).align(l)},t()}function Ea(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return Ea(e())},t}function Ta(){return Ea(Ma().paddingInner(1))}function ka(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:z_(e)}function Na(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:r(t)}}}function Sa(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:r(t)}}}function Aa(t,e,n,r){var i=t[0],o=t[1],a=e[0],u=e[1];return o<i?(i=n(o,i),a=r(u,a)):(i=n(i,o),a=r(a,u)),function(t){return a(i(t))}}function Pa(t,e,n,r){var i=Math.min(t.length,e.length)-1,o=new Array(i),a=new Array(i),u=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++u<i;)o[u]=n(t[u],t[u+1]),a[u]=r(e[u],e[u+1]);return function(e){var n=Fc(t,e,1,i)-1;return a[n](o[n](e))}}function Ia(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function Ra(t,e){function n(){return i=Math.min(u.length,s.length)>2?Pa:Aa,o=a=null,r}function r(e){return(o||(o=i(u,s,l?Na(t):t,c)))(+e)}var i,o,a,u=H_,s=H_,c=Sh,l=!1;return r.invert=function(t){return(a||(a=i(s,u,ka,l?Sa(e):e)))(+t)},r.domain=function(t){return arguments.length?(u=j_.call(t,V_),n()):u.slice()},r.range=function(t){return arguments.length?(s=B_.call(t),n()):s.slice()},r.rangeRound=function(t){return s=B_.call(t),c=Ah,n()},r.clamp=function(t){return arguments.length?(l=!!t,n()):l},r.interpolate=function(t){return arguments.length?(c=t,n()):c},n()}function Oa(t){var e=t.domain;return t.ticks=function(t){var n=e();return nl(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return W_(e(),t,n)},t.nice=function(n){var i=e(),o=i.length-1,a=null==n?10:n,u=i[0],s=i[o],c=r(u,s,a);return c&&(c=r(Math.floor(u/c)*c,Math.ceil(s/c)*c,a),i[0]=Math.floor(u/c)*c,i[o]=Math.ceil(s/c)*c,e(i)),t},t}function Da(){var t=Ra(ka,Mh);return t.copy=function(){return Ia(t,Da())},Oa(t)}function La(){function t(t){return+t}var e=[0,1];return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=j_.call(n,V_),t):e.slice()},t.copy=function(){return La().domain(e)},Oa(t)}function Ua(t,e){return(e=Math.log(e/t))?function(n){return Math.log(n/t)/e}:z_(e)}function Fa(t,e){return t<0?function(n){return-Math.pow(-e,n)*Math.pow(-t,1-n)}:function(n){return Math.pow(e,n)*Math.pow(t,1-n)}}function ja(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Ba(t){return 10===t?ja:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}function qa(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}function za(t){return function(e){return-t(-e)}}function Va(){function e(){return o=qa(i),a=Ba(i),r()[0]<0&&(o=za(o),a=za(a)),n}var n=Ra(Ua,Fa).domain([1,10]),r=n.domain,i=10,o=qa(10),a=Ba(10);return n.base=function(t){return arguments.length?(i=+t,e()):i},n.domain=function(t){return arguments.length?(r(t),e()):r()},n.ticks=function(t){var e,n=r(),u=n[0],s=n[n.length-1];(e=s<u)&&(h=u,u=s,s=h);var c,l,f,h=o(u),p=o(s),d=null==t?10:+t,v=[];if(!(i%1)&&p-h<d){if(h=Math.round(h)-1,p=Math.round(p)+1,u>0){for(;h<p;++h)for(l=1,c=a(h);l<i;++l)if(!((f=c*l)<u)){if(f>s)break;v.push(f)}}else for(;h<p;++h)for(l=i-1,c=a(h);l>=1;--l)if(!((f=c*l)<u)){if(f>s)break;v.push(f)}}else v=nl(h,p,Math.min(p-h,d)).map(a);return e?v.reverse():v},n.tickFormat=function(e,r){if(null==r&&(r=10===i?".0e":","),"function"!=typeof r&&(r=t.format(r)),e===1/0)return r;null==e&&(e=10);var u=Math.max(1,i*e/n.ticks().length);return function(t){var e=t/a(Math.round(o(t)));return e*i<i-.5&&(e*=i),e<=u?r(t):""}},n.nice=function(){return r(Y_(r(),{floor:function(t){return a(Math.floor(o(t)))},ceil:function(t){return a(Math.ceil(o(t)))}}))},n.copy=function(){return Ia(n,Va().base(i))},n}function Ha(t,e){return t<0?-Math.pow(-t,e):Math.pow(t,e)}function Wa(){function t(t,e){return(e=Ha(e,n)-(t=Ha(t,n)))?function(r){return(Ha(r,n)-t)/e}:z_(e)}function e(t,e){return e=Ha(e,n)-(t=Ha(t,n)),function(r){return Ha(t+e*r,1/n)}}var n=1,r=Ra(t,e),i=r.domain;return r.exponent=function(t){return arguments.length?(n=+t,i(i())):n},r.copy=function(){return Ia(r,Wa().exponent(n))},Oa(r)}function Ya(){return Wa().exponent(.5)}function Xa(){function t(){var t=0,o=Math.max(1,r.length);for(i=new Array(o-1);++t<o;)i[t-1]=ol(n,t/o);return e}function e(t){if(!isNaN(t=+t))return r[Fc(i,t)]}var n=[],r=[],i=[];return e.invertExtent=function(t){var e=r.indexOf(t);return e<0?[NaN,NaN]:[e>0?i[e-1]:n[0],e<i.length?i[e]:n[n.length-1]]},e.domain=function(e){if(!arguments.length)return n.slice();n=[];for(var r,i=0,o=e.length;i<o;++i)null==(r=e[i])||isNaN(r=+r)||n.push(r);return n.sort(Dc),t()},e.range=function(e){return arguments.length?(r=B_.call(e),t()):r.slice()},e.quantiles=function(){return i.slice()},e.copy=function(){return Xa().domain(n).range(r)},e}function Ka(){function t(t){if(t<=t)return a[Fc(o,t,0,i)]}function e(){var e=-1;for(o=new Array(i);++e<i;)o[e]=((e+1)*r-(e-i)*n)/(i+1);return t}var n=0,r=1,i=1,o=[.5],a=[0,1];return t.domain=function(t){return arguments.length?(n=+t[0],r=+t[1],e()):[n,r]},t.range=function(t){return arguments.length?(i=(a=B_.call(t)).length-1,e()):a.slice()},t.invertExtent=function(t){var e=a.indexOf(t);return e<0?[NaN,NaN]:e<1?[n,o[0]]:e>=i?[o[i-1],r]:[o[e-1],o[e]]},t.copy=function(){return Ka().domain([n,r]).range(a)},Oa(t)}function Ga(){function t(t){if(t<=t)return n[Fc(e,t,0,r)]}var e=[.5],n=[0,1],r=1;return t.domain=function(i){return arguments.length?(e=B_.call(i),r=Math.min(e.length,n.length-1),t):e.slice()},t.range=function(i){return arguments.length?(n=B_.call(i),r=Math.min(e.length,n.length-1),t):n.slice()},t.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},t.copy=function(){return Ga().domain(e).range(n)},t}function $a(t,e,n,r){function i(e){return t(e=new Date(+e)),e}return i.floor=i,i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;do{a.push(new Date(+n))}while(e(n,o),t(n),n<r);return a},i.filter=function(n){return $a(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return X_.setTime(+e),K_.setTime(+r),t(X_),t(K_),Math.floor(n(X_,K_))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}function Qa(t){return $a(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Z_)/ex})}function Za(t){return $a(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/ex})}function Ja(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function tu(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function eu(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function nu(t){function e(t,e){return function(n){var r,i,o,a=[],u=-1,s=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(i=Jx[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function n(t,e){return function(n){var i=eu(1900);if(r(i,t,n+="",0)!=n.length)return null;if("p"in i&&(i.H=i.H%12+12*i.p),"W"in i||"U"in i){"w"in i||(i.w="W"in i?1:0);var o="Z"in i?tu(eu(i.y)).getUTCDay():e(eu(i.y)).getDay();i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7}return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,tu(i)):e(i)}}function r(t,e,n,r){for(var i,o,a=0,u=e.length,s=n.length;a<u;){if(r>=s)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=z[i in Jx?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}function i(t,e,n){var r=A.exec(e.slice(n));return r?(t.p=P[r[0].toLowerCase()],n+r[0].length):-1}function o(t,e,n){var r=O.exec(e.slice(n));return r?(t.w=D[r[0].toLowerCase()],n+r[0].length):-1}function a(t,e,n){var r=I.exec(e.slice(n));return r?(t.w=R[r[0].toLowerCase()],n+r[0].length):-1}function u(t,e,n){var r=F.exec(e.slice(n));return r?(t.m=j[r[0].toLowerCase()],n+r[0].length):-1}function s(t,e,n){var r=L.exec(e.slice(n));return r?(t.m=U[r[0].toLowerCase()],n+r[0].length):-1}function c(t,e,n){return r(t,w,e,n)}function l(t,e,n){return r(t,C,e,n)}function f(t,e,n){return r(t,M,e,n)}function h(t){return k[t.getDay()]}function p(t){return T[t.getDay()]}function d(t){return S[t.getMonth()]}function v(t){return N[t.getMonth()]}function g(t){return E[+(t.getHours()>=12)]}function m(t){return k[t.getUTCDay()]}function y(t){return T[t.getUTCDay()]}function _(t){return S[t.getUTCMonth()]}function x(t){return N[t.getUTCMonth()]}function b(t){return E[+(t.getUTCHours()>=12)]}var w=t.dateTime,C=t.date,M=t.time,E=t.periods,T=t.days,k=t.shortDays,N=t.months,S=t.shortMonths,A=ou(E),P=au(E),I=ou(T),R=au(T),O=ou(k),D=au(k),L=ou(N),U=au(N),F=ou(S),j=au(S),B={a:h,A:p,b:d,B:v,c:null,d:bu,e:bu,H:wu,I:Cu,j:Mu,L:Eu,m:Tu,M:ku,p:g,S:Nu,U:Su,w:Au,W:Pu,x:null,X:null,y:Iu,Y:Ru,Z:Ou,"%":Gu},q={a:m,A:y,b:_,B:x,c:null,d:Du,e:Du,H:Lu,I:Uu,j:Fu,L:ju,m:Bu,M:qu,p:b,S:zu,U:Vu,w:Hu,W:Wu,x:null,X:null,y:Yu,Y:Xu,Z:Ku,"%":Gu},z={a:o,A:a,b:u,B:s,c:c,d:du,e:du,H:gu,I:gu,j:vu,L:_u,m:pu,M:mu,p:i,S:yu,U:su,w:uu,W:cu,x:l,X:f,y:fu,Y:lu,Z:hu,"%":xu};return B.x=e(C,B),B.X=e(M,B),B.c=e(w,B),q.x=e(C,q),q.X=e(M,q),q.c=e(w,q),{format:function(t){var n=e(t+="",B);return n.toString=function(){return t},n},parse:function(t){var e=n(t+="",Ja);return e.toString=function(){return t},e},utcFormat:function(t){var n=e(t+="",q);return n.toString=function(){return t},n},utcParse:function(t){var e=n(t,tu);return e.toString=function(){return t},e}}}function ru(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function iu(t){return t.replace(nb,"\\$&")}function ou(t){return new RegExp("^(?:"+t.map(iu).join("|")+")","i")}function au(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function uu(t,e,n){var r=tb.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function su(t,e,n){var r=tb.exec(e.slice(n));return r?(t.U=+r[0],n+r[0].length):-1}function cu(t,e,n){var r=tb.exec(e.slice(n));return r?(t.W=+r[0],n+r[0].length):-1}function lu(t,e,n){var r=tb.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function fu(t,e,n){var r=tb.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function hu(t,e,n){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function pu(t,e,n){var r=tb.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function du(t,e,n){var r=tb.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function vu(t,e,n){var r=tb.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function gu(t,e,n){var r=tb.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function mu(t,e,n){var r=tb.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function yu(t,e,n){var r=tb.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function _u(t,e,n){var r=tb.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function xu(t,e,n){var r=eb.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function bu(t,e){return ru(t.getDate(),e,2)}function wu(t,e){return ru(t.getHours(),e,2)}function Cu(t,e){return ru(t.getHours()%12||12,e,2)}function Mu(t,e){return ru(1+sx.count(Tx(t),t),e,3)}function Eu(t,e){return ru(t.getMilliseconds(),e,3)}function Tu(t,e){return ru(t.getMonth()+1,e,2)}function ku(t,e){return ru(t.getMinutes(),e,2)}function Nu(t,e){return ru(t.getSeconds(),e,2)}function Su(t,e){return ru(lx.count(Tx(t),t),e,2)}function Au(t){return t.getDay()}function Pu(t,e){return ru(fx.count(Tx(t),t),e,2)}function Iu(t,e){return ru(t.getFullYear()%100,e,2)}function Ru(t,e){return ru(t.getFullYear()%1e4,e,4)}function Ou(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ru(e/60|0,"0",2)+ru(e%60,"0",2)}function Du(t,e){return ru(t.getUTCDate(),e,2)}function Lu(t,e){return ru(t.getUTCHours(),e,2)}function Uu(t,e){return ru(t.getUTCHours()%12||12,e,2)}function Fu(t,e){return ru(1+Ix.count($x(t),t),e,3)}function ju(t,e){return ru(t.getUTCMilliseconds(),e,3)}function Bu(t,e){return ru(t.getUTCMonth()+1,e,2)}function qu(t,e){return ru(t.getUTCMinutes(),e,2)}function zu(t,e){return ru(t.getUTCSeconds(),e,2)}function Vu(t,e){return ru(Ox.count($x(t),t),e,2)}function Hu(t){return t.getUTCDay()}function Wu(t,e){return ru(Dx.count($x(t),t),e,2)}function Yu(t,e){return ru(t.getUTCFullYear()%100,e,2)}function Xu(t,e){return ru(t.getUTCFullYear()%1e4,e,4)}function Ku(){return"+0000"}function Gu(){return"%"}function $u(e){return Qx=nu(e),t.timeFormat=Qx.format,t.timeParse=Qx.parse,t.utcFormat=Qx.utcFormat,t.utcParse=Qx.utcParse,Qx}function Qu(t){return t.toISOString()}function Zu(t){var e=new Date(t);return isNaN(e)?null:e}function Ju(t){return new Date(t)}function ts(t){return t instanceof Date?+t:+new Date(+t)}function es(t,e,n,i,o,a,u,s,c){function l(r){return(u(r)<r?v:a(r)<r?g:o(r)<r?m:i(r)<r?y:e(r)<r?n(r)<r?_:x:t(r)<r?b:w)(r)}function f(e,n,i,o){if(null==e&&(e=10),"number"==typeof e){var a=Math.abs(i-n)/e,u=Lc(function(t){return t[2]}).right(C,a);u===C.length?(o=r(n/hb,i/hb,e),e=t):u?(u=C[a/C[u-1][2]<C[u][2]/a?u-1:u],o=u[1],e=u[0]):(o=r(n,i,e),e=s)}return null==o?e:e.every(o)}var h=Ra(ka,Mh),p=h.invert,d=h.domain,v=c(".%L"),g=c(":%S"),m=c("%I:%M"),y=c("%I %p"),_=c("%a %d"),x=c("%b %d"),b=c("%B"),w=c("%Y"),C=[[u,1,ab],[u,5,5*ab],[u,15,15*ab],[u,30,30*ab],[a,1,ub],[a,5,5*ub],[a,15,15*ub],[a,30,30*ub],[o,1,sb],[o,3,3*sb],[o,6,6*sb],[o,12,12*sb],[i,1,cb],[i,2,2*cb],[n,1,lb],[e,1,fb],[e,3,3*fb],[t,1,hb]];return h.invert=function(t){return new Date(p(t))},h.domain=function(t){return arguments.length?d(j_.call(t,ts)):d().map(Ju)},h.ticks=function(t,e){var n,r=d(),i=r[0],o=r[r.length-1],a=o<i;return a&&(n=i,i=o,o=n),n=f(t,i,o,e),n=n?n.range(i,o+1):[],a?n.reverse():n},h.tickFormat=function(t,e){return null==e?l:c(e)},h.nice=function(t,e){var n=d();return(t=f(t,n[0],n[n.length-1],e))?d(Y_(n,t)):h},h.copy=function(){return Ia(h,es(t,e,n,i,o,a,u,s,c))},h}function ns(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}function rs(t){function e(e){var o=(e-n)/(r-n);return t(i?Math.max(0,Math.min(1,o)):o)}var n=0,r=1,i=!1;return e.domain=function(t){return arguments.length?(n=+t[0],r=+t[1],e):[n,r]},e.clamp=function(t){return arguments.length?(i=!!t,e):i},e.interpolator=function(n){return arguments.length?(t=n,e):t},e.copy=function(){return rs(t).domain([n,r]).clamp(i)},Oa(e)}function is(t){return t>1?0:t<-1?Fb:Math.acos(t)}function os(t){return t>=1?jb:t<=-1?-jb:Math.asin(t)}function as(t){return t.innerRadius}function us(t){return t.outerRadius}function ss(t){return t.startAngle}function cs(t){return t.endAngle}function ls(t){return t&&t.padAngle}function fs(t,e,n,r,i,o,a,u){var s=n-t,c=r-e,l=a-i,f=u-o,h=(l*(e-o)-f*(t-i))/(f*s-l*c);return[t+h*s,e+h*c]}function hs(t,e,n,r,i,o,a){var u=t-n,s=e-r,c=(a?o:-o)/Lb(u*u+s*s),l=c*s,f=-c*u,h=t+l,p=e+f,d=n+l,v=r+f,g=(h+d)/2,m=(p+v)/2,y=d-h,_=v-p,x=y*y+_*_,b=i-o,w=h*v-d*p,C=(_<0?-1:1)*Lb(Rb(0,b*b*x-w*w)),M=(w*_-y*C)/x,E=(-w*y-_*C)/x,T=(w*_+y*C)/x,k=(-w*y+_*C)/x,N=M-g,S=E-m,A=T-g,P=k-m;return N*N+S*S>A*A+P*P&&(M=T,E=k),{cx:M,cy:E,x01:-l,y01:-f,x11:M*(i/b-1),y11:E*(i/b-1)}}function ps(t){this._context=t}function ds(t){return t[0]}function vs(t){return t[1]}function gs(t){this._curve=t}function ms(t){function e(e){return new gs(t(e))}return e._curve=t,e}function ys(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(ms(t)):e()._curve},t}function _s(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function xs(t){this._context=t}function bs(t){this._context=t}function ws(t){this._context=t}function Cs(t,e){this._basis=new xs(t),this._beta=e}function Ms(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Es(t,e){this._context=t,this._k=(1-e)/6}function Ts(t,e){this._context=t,this._k=(1-e)/6}function ks(t,e){this._context=t,this._k=(1-e)/6}function Ns(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>Ub){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>Ub){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/l,a=(a*c+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Ss(t,e){this._context=t,this._alpha=e}function As(t,e){this._context=t,this._alpha=e}function Ps(t,e){this._context=t,this._alpha=e}function Is(t){this._context=t}function Rs(t){return t<0?-1:1}function Os(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(Rs(o)+Rs(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function Ds(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Ls(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*e,o-u,a-u*n,o,a)}function Us(t){this._context=t}function Fs(t){this._context=new js(t)}function js(t){this._context=t}function Bs(t){return new Us(t)}function qs(t){return new Fs(t)}function zs(t){this._context=t}function Vs(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function Hs(t,e){this._context=t,this._t=e}function Ws(t){return new Hs(t,0)}function Ys(t){return new Hs(t,1)}function Xs(t,e){return t[e]}function Ks(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e);return n}function Gs(t){return t[0]}function $s(t){return t[1]}function Qs(){this._=null}function Zs(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Js(t,e){var n=e,r=e.R,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function tc(t,e){var n=e,r=e.L,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function ec(t){for(;t.L;)t=t.L;return t}function nc(t,e,n,r){var i=[null,null],o=Xw.push(i)-1;return i.left=t,i.right=e,n&&ic(i,t,e,n),r&&ic(i,e,t,r),Ww[t.index].halfedges.push(o),Ww[e.index].halfedges.push(o),i}function rc(t,e,n){var r=[e,n];return r.left=t,r}function ic(t,e,n,r){t[0]||t[1]?t.left===n?t[1]=r:t[0]=r:(t[0]=r,t.left=e,t.right=n)}function oc(t,e,n,r,i){var o,a=t[0],u=t[1],s=a[0],c=a[1],l=u[0],f=u[1],h=0,p=1,d=l-s,v=f-c;if(o=e-s,d||!(o>0)){if(o/=d,d<0){if(o<h)return;o<p&&(p=o)}else if(d>0){if(o>p)return;o>h&&(h=o)}if(o=r-s,d||!(o<0)){if(o/=d,d<0){if(o>p)return;o>h&&(h=o)}else if(d>0){if(o<h)return;o<p&&(p=o)}if(o=n-c,v||!(o>0)){if(o/=v,v<0){if(o<h)return;o<p&&(p=o)}else if(v>0){if(o>p)return;o>h&&(h=o)}if(o=i-c,v||!(o<0)){if(o/=v,v<0){if(o>p)return;o>h&&(h=o)}else if(v>0){if(o<h)return;o<p&&(p=o)}return!(h>0||p<1)||(h>0&&(t[0]=[s+h*d,c+h*v]),p<1&&(t[1]=[s+p*d,c+p*v]),!0)}}}}}function ac(t,e,n,r,i){var o=t[1];if(o)return!0;var a,u,s=t[0],c=t.left,l=t.right,f=c[0],h=c[1],p=l[0],d=l[1],v=(f+p)/2,g=(h+d)/2;if(d===h){if(v<e||v>=r)return;if(f>p){if(s){if(s[1]>=i)return}else s=[v,n];o=[v,i]}else{if(s){if(s[1]<n)return}else s=[v,i];o=[v,n]}}else if(a=(f-p)/(d-h),u=g-a*v,a<-1||a>1)if(f>p){if(s){if(s[1]>=i)return}else s=[(n-u)/a,n];o=[(i-u)/a,i]}else{if(s){if(s[1]<n)return}else s=[(i-u)/a,i];o=[(n-u)/a,n]}else if(h<d){if(s){if(s[0]>=r)return}else s=[e,a*e+u];o=[r,a*r+u]}else{if(s){if(s[0]<e)return}else s=[r,a*r+u];o=[e,a*e+u]}return t[0]=s,t[1]=o,!0}function uc(t,e,n,r){for(var i,o=Xw.length;o--;)ac(i=Xw[o],t,e,n,r)&&oc(i,t,e,n,r)&&(Math.abs(i[0][0]-i[1][0])>$w||Math.abs(i[0][1]-i[1][1])>$w)||delete Xw[o]}function sc(t){return Ww[t.index]={site:t,halfedges:[]}}function cc(t,e){var n=t.site,r=e.left,i=e.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=e[1],i=e[0]):(r=e[0],i=e[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function lc(t,e){return e[+(e.left!==t.site)]}function fc(t,e){return e[+(e.left===t.site)]}function hc(){for(var t,e,n,r,i=0,o=Ww.length;i<o;++i)if((t=Ww[i])&&(r=(e=t.halfedges).length)){var a=new Array(r),u=new Array(r);for(n=0;n<r;++n)a[n]=n,u[n]=cc(t,Xw[e[n]]);for(a.sort(function(t,e){return u[e]-u[t]}),n=0;n<r;++n)u[n]=e[a[n]];for(n=0;n<r;++n)e[n]=u[n]}}function pc(t,e,n,r){var i,o,a,u,s,c,l,f,h,p,d,v,g=Ww.length,m=!0;for(i=0;i<g;++i)if(o=Ww[i]){for(a=o.site,s=o.halfedges,u=s.length;u--;)Xw[s[u]]||s.splice(u,1);for(u=0,c=s.length;u<c;)p=fc(o,Xw[s[u]]),d=p[0],v=p[1],l=lc(o,Xw[s[++u%c]]),f=l[0],h=l[1],(Math.abs(d-f)>$w||Math.abs(v-h)>$w)&&(s.splice(u,0,Xw.push(rc(a,p,Math.abs(d-t)<$w&&r-v>$w?[t,Math.abs(f-t)<$w?h:r]:Math.abs(v-r)<$w&&n-d>$w?[Math.abs(h-r)<$w?f:n,r]:Math.abs(d-n)<$w&&v-e>$w?[n,Math.abs(f-n)<$w?h:e]:Math.abs(v-e)<$w&&d-t>$w?[Math.abs(h-e)<$w?f:t,e]:null))-1),++c);c&&(m=!1)}if(m){var y,_,x,b=1/0;for(i=0,m=null;i<g;++i)(o=Ww[i])&&(a=o.site,y=a[0]-t,_=a[1]-e,(x=y*y+_*_)<b&&(b=x,m=o));if(m){var w=[t,e],C=[t,r],M=[n,r],E=[n,e];m.halfedges.push(Xw.push(rc(a=m.site,w,C))-1,Xw.push(rc(a,C,M))-1,Xw.push(rc(a,M,E))-1,Xw.push(rc(a,E,w))-1)}}for(i=0;i<g;++i)(o=Ww[i])&&(o.halfedges.length||delete Ww[i])}function dc(){Zs(this),this.x=this.y=this.arc=this.site=this.cy=null}function vc(t){var e=t.P,n=t.N;if(e&&n){var r=e.site,i=t.site,o=n.site;if(r!==o){var a=i[0],u=i[1],s=r[0]-a,c=r[1]-u,l=o[0]-a,f=o[1]-u,h=2*(s*f-c*l);if(!(h>=-Qw)){var p=s*s+c*c,d=l*l+f*f,v=(f*p-c*d)/h,g=(s*d-l*p)/h,m=Kw.pop()||new dc;m.arc=t,m.site=i,m.x=v+a,m.y=(m.cy=g+u)+Math.sqrt(v*v+g*g),t.circle=m;for(var y=null,_=Yw._;_;)if(m.y<_.y||m.y===_.y&&m.x<=_.x){if(!_.L){y=_.P;break}_=_.L}else{if(!_.R){y=_;break}_=_.R}Yw.insert(y,m),y||(Vw=m)}}}}function gc(t){var e=t.circle;e&&(e.P||(Vw=e.N),Yw.remove(e),Kw.push(e),Zs(e),t.circle=null)}function mc(){Zs(this),this.edge=this.site=this.circle=null}function yc(t){var e=Gw.pop()||new mc;return e.site=t,e}function _c(t){gc(t),Hw.remove(t),Gw.push(t),Zs(t)}function xc(t){var e=t.circle,n=e.x,r=e.cy,i=[n,r],o=t.P,a=t.N,u=[t];_c(t);for(var s=o;s.circle&&Math.abs(n-s.circle.x)<$w&&Math.abs(r-s.circle.cy)<$w;)o=s.P,u.unshift(s),_c(s),s=o;u.unshift(s),gc(s);for(var c=a;c.circle&&Math.abs(n-c.circle.x)<$w&&Math.abs(r-c.circle.cy)<$w;)a=c.N,u.push(c),_c(c),c=a;u.push(c),gc(c);var l,f=u.length;for(l=1;l<f;++l)c=u[l],s=u[l-1],ic(c.edge,s.site,c.site,i);s=u[0],c=u[f-1],c.edge=nc(s.site,c.site,null,i),vc(s),vc(c)}function bc(t){for(var e,n,r,i,o=t[0],a=t[1],u=Hw._;u;)if((r=wc(u,a)-o)>$w)u=u.L;else{if(!((i=o-Cc(u,a))>$w)){r>-$w?(e=u.P,n=u):i>-$w?(e=u,n=u.N):e=n=u;break}if(!u.R){e=u;break}u=u.R}sc(t);var s=yc(t);if(Hw.insert(e,s),e||n){if(e===n)return gc(e),n=yc(e.site),Hw.insert(s,n),s.edge=n.edge=nc(e.site,s.site),vc(e),void vc(n);if(!n)return void(s.edge=nc(e.site,s.site));gc(e),gc(n);var c=e.site,l=c[0],f=c[1],h=t[0]-l,p=t[1]-f,d=n.site,v=d[0]-l,g=d[1]-f,m=2*(h*g-p*v),y=h*h+p*p,_=v*v+g*g,x=[(g*y-p*_)/m+l,(h*_-v*y)/m+f];ic(n.edge,c,d,x),s.edge=nc(c,t,null,x),n.edge=nc(t,d,null,x),vc(e),vc(n)}}function wc(t,e){var n=t.site,r=n[0],i=n[1],o=i-e;if(!o)return r;var a=t.P;if(!a)return-(1/0);n=a.site;var u=n[0],s=n[1],c=s-e;if(!c)return u;var l=u-r,f=1/o-1/c,h=l/c;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*c)-s+c/2+i-o/2)))/f+r:(r+u)/2}function Cc(t,e){var n=t.N;if(n)return wc(n,e);var r=t.site;return r[1]===e?r[0]:1/0}function Mc(t,e,n){return(t[0]-n[0])*(e[1]-t[1])-(t[0]-e[0])*(n[1]-t[1])}function Ec(t,e){return e[1]-t[1]||e[0]-t[0]}function Tc(t,e){var n,r,i,o=t.sort(Ec).pop();for(Xw=[],Ww=new Array(t.length),Hw=new Qs,Yw=new Qs;;)if(i=Vw,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===n&&o[1]===r||(bc(o),n=o[0],r=o[1]),o=t.pop();else{if(!i)break;xc(i.arc)}if(hc(),e){var a=+e[0][0],u=+e[0][1],s=+e[1][0],c=+e[1][1];uc(a,u,s,c),pc(a,u,s,c)}this.edges=Xw,this.cells=Ww,Hw=Yw=Xw=Ww=null}function kc(t,e,n){this.target=t,this.type=e,this.transform=n}function Nc(t,e,n){this.k=t,this.x=e,this.y=n}function Sc(t){return t.__zoom||tC}function Ac(){t.event.stopImmediatePropagation()}function Pc(){return!t.event.button}function Ic(){var t,e,n=this;return n instanceof SVGElement?(n=n.ownerSVGElement||n,t=n.width.baseVal.value,e=n.height.baseVal.value):(t=n.clientWidth,e=n.clientHeight),[[0,0],[t,e]]}function Rc(){return this.__zoom||tC}var Oc="4.7.1",Dc=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},Lc=function(t){return 1===t.length&&(t=e(t)),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)>0?i=o:r=o+1}return r}}},Uc=Lc(Dc),Fc=Uc.right,jc=Uc.left,Bc=function(t,e){null==e&&(e=n);for(var r=0,i=t.length-1,o=t[0],a=new Array(i<0?0:i);r<i;)a[r]=e(o,o=t[++r]);return a},qc=function(t,e,r){var i,o,a,u,s=t.length,c=e.length,l=new Array(s*c);for(null==r&&(r=n),i=a=0;i<s;++i)for(u=t[i],o=0;o<c;++o,++a)l[a]=r(u,e[o]);return l},zc=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},Vc=function(t){return null===t?NaN:+t},Hc=function(t,e){var n,r,i=t.length,o=0,a=0,u=-1,s=0;if(null==e)for(;++u<i;)isNaN(n=Vc(t[u]))||(r=n-o,o+=r/++s,a+=r*(n-o));else for(;++u<i;)isNaN(n=Vc(e(t[u],u,t)))||(r=n-o,o+=r/++s,a+=r*(n-o));if(s>1)return a/(s-1)},Wc=function(t,e){var n=Hc(t,e);return n?Math.sqrt(n):n},Yc=function(t,e){var n,r,i,o=-1,a=t.length;if(null==e){for(;++o<a;)if(null!=(r=t[o])&&r>=r){n=i=r;break}for(;++o<a;)null!=(r=t[o])&&(n>r&&(n=r),i<r&&(i=r))}else{for(;++o<a;)if(null!=(r=e(t[o],o,t))&&r>=r){n=i=r;break}for(;++o<a;)null!=(r=e(t[o],o,t))&&(n>r&&(n=r),i<r&&(i=r))}return[n,i]},Xc=Array.prototype,Kc=Xc.slice,Gc=Xc.map,$c=function(t){return function(){return t}},Qc=function(t){return t},Zc=function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o},Jc=Math.sqrt(50),tl=Math.sqrt(10),el=Math.sqrt(2),nl=function(t,e,n){var i=r(t,e,n);return Zc(Math.ceil(t/i)*i,Math.floor(e/i)*i+i/2,i)},rl=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1},il=function(){function t(t){var i,o,a=t.length,u=new Array(a);for(i=0;i<a;++i)u[i]=e(t[i],i,t);var s=n(u),c=s[0],l=s[1],f=r(u,c,l);Array.isArray(f)||(f=nl(c,l,f));for(var h=f.length;f[0]<=c;)f.shift(),--h;for(;f[h-1]>=l;)f.pop(),--h;var p,d=new Array(h+1);for(i=0;i<=h;++i)p=d[i]=[],p.x0=i>0?f[i-1]:c,p.x1=i<h?f[i]:l;for(i=0;i<a;++i)o=u[i],c<=o&&o<=l&&d[Fc(f,o,0,h)].push(t[i]);return d}var e=Qc,n=Yc,r=rl;return t.value=function(n){return arguments.length?(e="function"==typeof n?n:$c(n),t):e},t.domain=function(e){return arguments.length?(n="function"==typeof e?e:$c([e[0],e[1]]),t):n},t.thresholds=function(e){return arguments.length?(r="function"==typeof e?e:$c(Array.isArray(e)?Kc.call(e):e),t):r},t},ol=function(t,e,n){if(null==n&&(n=Vc),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}},al=function(t,e,n){return t=Gc.call(t,Vc).sort(Dc),Math.ceil((n-e)/(2*(ol(t,.75)-ol(t,.25))*Math.pow(t.length,-1/3)))},ul=function(t,e,n){return Math.ceil((n-e)/(3.5*Wc(t)*Math.pow(t.length,-1/3)))},sl=function(t,e){var n,r,i=-1,o=t.length;if(null==e){for(;++i<o;)if(null!=(r=t[i])&&r>=r){n=r;break}for(;++i<o;)null!=(r=t[i])&&r>n&&(n=r)}else{for(;++i<o;)if(null!=(r=e(t[i],i,t))&&r>=r){n=r;break}for(;++i<o;)null!=(r=e(t[i],i,t))&&r>n&&(n=r)}return n},cl=function(t,e){var n,r=0,i=t.length,o=-1,a=i;if(null==e)for(;++o<i;)isNaN(n=Vc(t[o]))?--a:r+=n;else for(;++o<i;)isNaN(n=Vc(e(t[o],o,t)))?--a:r+=n;if(a)return r/a},ll=function(t,e){var n,r=[],i=t.length,o=-1;if(null==e)for(;++o<i;)isNaN(n=Vc(t[o]))||r.push(n);else for(;++o<i;)isNaN(n=Vc(e(t[o],o,t)))||r.push(n);return ol(r.sort(Dc),.5)},fl=function(t){for(var e,n,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(n=new Array(a);--i>=0;)for(r=t[i],e=r.length;--e>=0;)n[--a]=r[e];return n},hl=function(t,e){var n,r,i=-1,o=t.length;if(null==e){for(;++i<o;)if(null!=(r=t[i])&&r>=r){n=r;break}for(;++i<o;)null!=(r=t[i])&&n>r&&(n=r)}else{for(;++i<o;)if(null!=(r=e(t[i],i,t))&&r>=r){n=r;break}for(;++i<o;)null!=(r=e(t[i],i,t))&&n>r&&(n=r)}return n},pl=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},dl=function(t,e){if(n=t.length){var n,r,i=0,o=0,a=t[o];for(e||(e=Dc);++i<n;)(e(r=t[i],a)<0||0!==e(a,a))&&(a=r,o=i);return 0===e(a,a)?o:void 0}},vl=function(t,e,n){for(var r,i,o=(null==n?t.length:n)-(e=null==e?0:+e);o;)i=Math.random()*o--|0,r=t[o+e],t[o+e]=t[i+e],t[i+e]=r;return t},gl=function(t,e){var n,r=0,i=t.length,o=-1;if(null==e)for(;++o<i;)(n=+t[o])&&(r+=n);else for(;++o<i;)(n=+e(t[o],o,t))&&(r+=n);return r},ml=function(t){if(!(o=t.length))return[];for(var e=-1,n=hl(t,i),r=new Array(n);++e<n;)for(var o,a=-1,u=r[e]=new Array(o);++a<o;)u[a]=t[a][e];return r},yl=function(){return ml(arguments)},_l=Array.prototype.slice,xl=function(t){return t},bl=1,wl=2,Cl=3,Ml=4,El=1e-6,Tl={value:function(){}};v.prototype=d.prototype={constructor:v,on:function(t,e){var n,r=this._,i=g(t+"",r),o=-1,a=i.length;{if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++o<a;)if(n=(t=i[o]).type)r[n]=y(r[n],t.name,e);else if(null==e)for(n in r)r[n]=y(r[n],t.name,null);return this}for(;++o<a;)if((n=(t=i[o]).type)&&(n=m(r[n],t.name)))return n}},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new v(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(r=this._[t],o=0,n=r.length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var kl="http://www.w3.org/1999/xhtml",Nl={svg:"http://www.w3.org/2000/svg",xhtml:kl,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Sl=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),Nl.hasOwnProperty(e)?{space:Nl[e],local:t}:t},Al=function(t){var e=Sl(t);return(e.local?x:_)(e)},Pl=0;w.prototype=b.prototype={constructor:w,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var Il=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var Rl=document.documentElement;if(!Rl.matches){var Ol=Rl.webkitMatchesSelector||Rl.msMatchesSelector||Rl.mozMatchesSelector||Rl.oMatchesSelector;Il=function(t){return function(){return Ol.call(this,t)}}}}var Dl=Il,Ll={};if(t.event=null,"undefined"!=typeof document){"onmouseenter"in document.documentElement||(Ll={mouseenter:"mouseover",mouseleave:"mouseout"})}var Ul=function(t,e,n){var r,i,o=E(t+""),a=o.length;{if(!(arguments.length<2)){for(u=e?k:T,null==n&&(n=!1),r=0;r<a;++r)this.each(u(o[r],e,n));return this}var u=this.node().__on;if(u)for(var s,c=0,l=u.length;c<l;++c)for(r=0,s=u[c];r<a;++r)if((i=o[r]).type===s.type&&i.name===s.name)return s.value}},Fl=function(){for(var e,n=t.event;e=n.sourceEvent;)n=e;return n},jl=function(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]},Bl=function(t){var e=Fl();return e.changedTouches&&(e=e.changedTouches[0]),jl(t,e)},ql=function(t){return null==t?S:function(){return this.querySelector(t)}},zl=function(t){"function"!=typeof t&&(t=ql(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,u=e[i],s=u.length,c=r[i]=new Array(s),l=0;l<s;++l)(o=u[l])&&(a=t.call(o,o.__data__,l,u))&&("__data__"in o&&(a.__data__=o.__data__),c[l]=a);return new dt(r,this._parents)},Vl=function(t){return null==t?A:function(){return this.querySelectorAll(t)}},Hl=function(t){"function"!=typeof t&&(t=Vl(t));for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,u=e[o],s=u.length,c=0;c<s;++c)(a=u[c])&&(r.push(t.call(a,a.__data__,c,u)),i.push(a));return new dt(r,i)},Wl=function(t){"function"!=typeof t&&(t=Dl(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],u=a.length,s=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&s.push(o);return new dt(r,this._parents)},Yl=function(t){return new Array(t.length)},Xl=function(){return new dt(this._enter||this._groups.map(Yl),this._parents)};P.prototype={constructor:P,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var Kl=function(t){return function(){return t}},Gl="$",$l=function(t,e){if(!t)return p=new Array(this.size()),c=-1,this.each(function(t){p[++c]=t}),p;var n=e?R:I,r=this._parents,i=this._groups;"function"!=typeof t&&(t=Kl(t));for(var o=i.length,a=new Array(o),u=new Array(o),s=new Array(o),c=0;c<o;++c){var l=r[c],f=i[c],h=f.length,p=t.call(l,l&&l.__data__,c,r),d=p.length,v=u[c]=new Array(d),g=a[c]=new Array(d);n(l,f,v,g,s[c]=new Array(h),p,e);for(var m,y,_=0,x=0;_<d;++_)if(m=v[_]){for(_>=x&&(x=_+1);!(y=g[x])&&++x<d;);m._next=y||null}}return a=new dt(a,r),a._enter=u,a._exit=s,a},Ql=function(){return new dt(this._exit||this._groups.map(Yl),this._parents)},Zl=function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=e[u],l=n[u],f=c.length,h=a[u]=new Array(f),p=0;p<f;++p)(s=c[p]||l[p])&&(h[p]=s);for(;u<r;++u)a[u]=e[u];return new dt(a,this._parents)},Jl=function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},tf=function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=O);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,u=n[o],s=u.length,c=i[o]=new Array(s),l=0;l<s;++l)(a=u[l])&&(c[l]=a);c.sort(e)}return new dt(i,this._parents).order()},ef=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nf=function(){var t=new Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t},rf=function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},of=function(){var t=0;return this.each(function(){++t}),t},af=function(){return!this.node()},uf=function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},sf=function(t,e){var n=Sl(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?L:D:"function"==typeof e?n.local?B:j:n.local?F:U)(n,e))},cf=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView},lf=function(t,e,n){var r;return arguments.length>1?this.each((null==e?q:"function"==typeof e?V:z)(t,e,null==n?"":n)):cf(r=this.node()).getComputedStyle(r,null).getPropertyValue(t)},ff=function(t,e){return arguments.length>1?this.each((null==e?H:"function"==typeof e?Y:W)(t,e)):this.node()[t]};G.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var hf=function(t,e){var n=X(t+"");if(arguments.length<2){for(var r=K(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?tt:e?Z:J)(n,e))},pf=function(t){return arguments.length?this.each(null==t?et:("function"==typeof t?rt:nt)(t)):this.node().textContent},df=function(t){return arguments.length?this.each(null==t?it:("function"==typeof t?at:ot)(t)):this.node().innerHTML},vf=function(){return this.each(ut)},gf=function(){return this.each(st)},mf=function(t){var e="function"==typeof t?t:Al(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},yf=function(t,e){var n="function"==typeof t?t:Al(t),r=null==e?ct:"function"==typeof e?e:ql(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},_f=function(){return this.each(lt)},xf=function(t){return arguments.length?this.property("__data__",t):this.node().__data__},bf=function(t,e){return this.each(("function"==typeof e?pt:ht)(t,e))},wf=[null];dt.prototype=vt.prototype={constructor:dt,select:zl,selectAll:Hl,filter:Wl,data:$l,enter:Xl,exit:Ql,merge:Zl,order:Jl,sort:tf,call:ef,nodes:nf,node:rf,size:of,empty:af,each:uf,attr:sf,style:lf,property:ff,classed:hf,text:pf,html:df,raise:vf,lower:gf,append:mf,insert:yf,remove:_f,datum:xf,on:Ul,dispatch:bf};var Cf=function(t){return"string"==typeof t?new dt([[document.querySelector(t)]],[document.documentElement]):new dt([[t]],wf)},Mf=function(t){return"string"==typeof t?new dt([document.querySelectorAll(t)],[document.documentElement]):new dt([null==t?[]:t],wf)},Ef=function(t,e,n){arguments.length<3&&(n=e,e=Fl().changedTouches);for(var r,i=0,o=e?e.length:0;i<o;++i)if((r=e[i]).identifier===n)return jl(t,r);return null},Tf=function(t,e){null==e&&(e=Fl().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n<r;++n)i[n]=jl(t,e[n]);return i},kf=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},Nf=function(t){var e=t.document.documentElement,n=Cf(t).on("dragstart.drag",kf,!0);"onselectstart"in e?n.on("selectstart.drag",kf,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")},Sf=function(t){return function(){return t}};yt.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Af=function(){function e(t){t.on("mousedown.drag",n).on("touchstart.drag",o).on("touchmove.drag",a).on("touchend.drag touchcancel.drag",u).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function n(){if(!l&&f.apply(this,arguments)){var e=s("mouse",h.apply(this,arguments),Bl,this,arguments);e&&(Cf(t.event.view).on("mousemove.drag",r,!0).on("mouseup.drag",i,!0),Nf(t.event.view),gt(),c=!1,e("start"))}}function r(){kf(),c=!0,v.mouse("drag")}function i(){Cf(t.event.view).on("mousemove.drag mouseup.drag",null),mt(t.event.view,c),kf(),v.mouse("end")}function o(){if(f.apply(this,arguments)){var e,n,r=t.event.changedTouches,i=h.apply(this,arguments),o=r.length;for(e=0;e<o;++e)(n=s(r[e].identifier,i,Ef,this,arguments))&&(gt(),n("start"))}}function a(){var e,n,r=t.event.changedTouches,i=r.length;for(e=0;e<i;++e)(n=v[r[e].identifier])&&(kf(),n("drag"))}function u(){var e,n,r=t.event.changedTouches,i=r.length;for(l&&clearTimeout(l),l=setTimeout(function(){l=null},500),e=0;e<i;++e)(n=v[r[e].identifier])&&(gt(),n("end"))}function s(n,r,i,o,a){var u,s,c,l=i(r,n),f=g.copy();if(N(new yt(e,"beforestart",u,n,m,l[0],l[1],0,0,f),function(){return null!=(t.event.subject=u=p.apply(o,a))&&(s=u.x-l[0]||0,c=u.y-l[1]||0,!0)}))return function t(h){var p,d=l;switch(h){case"start":v[n]=t,p=m++;break;case"end":delete v[n],--m;case"drag":l=i(r,n),p=m}N(new yt(e,h,u,n,p,l[0]+s,l[1]+c,l[0]-d[0],l[1]-d[1],f),f.apply,f,[h,o,a])}}var c,l,f=_t,h=xt,p=bt,v={},g=d("start","drag","end"),m=0;return e.filter=function(t){return arguments.length?(f="function"==typeof t?t:Sf(!!t),e):f},e.container=function(t){return arguments.length?(h="function"==typeof t?t:Sf(t),e):h},e.subject=function(t){return arguments.length?(p="function"==typeof t?t:Sf(t),e):p},e.on=function(){var t=g.on.apply(g,arguments);return t===g?e:t},e},Pf=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t},If=.7,Rf=1/If,Of="\\s*([+-]?\\d+)\\s*",Df="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Lf="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Uf=/^#([0-9a-f]{3})$/,Ff=/^#([0-9a-f]{6})$/,jf=new RegExp("^rgb\\("+[Of,Of,Of]+"\\)$"),Bf=new RegExp("^rgb\\("+[Lf,Lf,Lf]+"\\)$"),qf=new RegExp("^rgba\\("+[Of,Of,Of,Df]+"\\)$"),zf=new RegExp("^rgba\\("+[Lf,Lf,Lf,Df]+"\\)$"),Vf=new RegExp("^hsl\\("+[Df,Lf,Lf]+"\\)$"),Hf=new RegExp("^hsla\\("+[Df,Lf,Lf,Df]+"\\)$"),Wf={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Pf(Ct,Mt,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Pf(St,Nt,wt(Ct,{brighter:function(t){return t=null==t?Rf:Math.pow(Rf,t),new St(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?If:Math.pow(If,t),new St(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Pf(Rt,It,wt(Ct,{brighter:function(t){return t=null==t?Rf:Math.pow(Rf,t),new Rt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?If:Math.pow(If,t),new Rt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new St(Ot(t>=240?t-240:t+120,i,r),Ot(t,i,r),Ot(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var Yf=Math.PI/180,Xf=180/Math.PI,Kf=18,Gf=.95047,$f=1,Qf=1.08883,Zf=4/29,Jf=6/29,th=3*Jf*Jf,eh=Jf*Jf*Jf;Pf(Ut,Lt,wt(Ct,{brighter:function(t){return new Ut(this.l+Kf*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Ut(this.l-Kf*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return t=$f*jt(t),e=Gf*jt(e),n=Qf*jt(n),new St(Bt(3.2404542*e-1.5371385*t-.4985314*n),Bt(-.969266*e+1.8760108*t+.041556*n),Bt(.0556434*e-.2040259*t+1.0572252*n),this.opacity)}})),Pf(Ht,Vt,wt(Ct,{brighter:function(t){return new Ht(this.h,this.c,this.l+Kf*(null==t?1:t),this.opacity)},darker:function(t){return new Ht(this.h,this.c,this.l-Kf*(null==t?1:t),this.opacity)},rgb:function(){return Dt(this).rgb()}}));var nh=-.14861,rh=1.78277,ih=-.29227,oh=-.90649,ah=1.97294,uh=ah*oh,sh=ah*rh,ch=rh*ih-oh*nh;Pf(Xt,Yt,wt(Ct,{brighter:function(t){return t=null==t?Rf:Math.pow(Rf,t),new Xt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?If:Math.pow(If,t),new Xt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Yf,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new St(255*(e+n*(nh*r+rh*i)),255*(e+n*(ih*r+oh*i)),255*(e+n*(ah*r)),this.opacity)}}));var lh,fh,hh,ph,dh,vh,gh=function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1];return Kt((n-r/e)*e,r>0?t[r-1]:2*i-o,i,o,r<e-1?t[r+2]:2*o-i)}},mh=function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e);return Kt((n-r/e)*e,t[(r+e-1)%e],t[r%e],t[(r+1)%e],t[(r+2)%e])}},yh=function(t){return function(){return t}},_h=function t(e){function n(t,e){var n=r((t=Nt(t)).r,(e=Nt(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),a=Jt(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}var r=Zt(e);return n.gamma=t,n}(1),xh=te(gh),bh=te(mh),wh=function(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(r),a=new Array(r);for(n=0;n<i;++n)o[n]=Sh(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}},Ch=function(t,e){var n=new Date;return t=+t,e-=t,function(r){return n.setTime(t+e*r),n}},Mh=function(t,e){return t=+t,e-=t,function(n){return t+e*n}},Eh=function(t,e){var n,r={},i={};null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={});for(n in e)n in t?r[n]=Sh(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}},Th=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,kh=new RegExp(Th.source,"g"),Nh=function(t,e){var n,r,i,o=Th.lastIndex=kh.lastIndex=0,a=-1,u=[],s=[];for(t+="",e+="";(n=Th.exec(t))&&(r=kh.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:Mh(n,r)})),o=kh.lastIndex;return o<e.length&&(i=e.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?s[0]?ne(s[0].x):ee(e):(e=s.length,function(t){for(var n,r=0;r<e;++r)u[(n=s[r]).i]=n.x(t);return u.join("")})},Sh=function(t,e){var n,r=typeof e;return null==e||"boolean"===r?yh(e):("number"===r?Mh:"string"===r?(n=Mt(e))?(e=n,_h):Nh:e instanceof Mt?_h:e instanceof Date?Ch:Array.isArray(e)?wh:isNaN(e)?Eh:Mh)(t,e)},Ah=function(t,e){return t=+t,e-=t,function(n){return Math.round(t+e*n)}},Ph=180/Math.PI,Ih={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Rh=function(t,e,n,r,i,o){var a,u,s;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(s=t*n+e*r)&&(n-=t*s,r-=e*s),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,s/=u),t*r<e*n&&(t=-t,e=-e,s=-s,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*Ph,skewX:Math.atan(s)*Ph,scaleX:a,scaleY:u}},Oh=oe(re,"px, ","px)","deg)"),Dh=oe(ie,", ",")",")"),Lh=Math.SQRT2,Uh=2,Fh=4,jh=1e-12,Bh=function(t,e){var n,r,i=t[0],o=t[1],a=t[2],u=e[0],s=e[1],c=e[2],l=u-i,f=s-o,h=l*l+f*f;if(h<jh)r=Math.log(c/a)/Lh,n=function(t){return[i+t*l,o+t*f,a*Math.exp(Lh*t*r)]};else{var p=Math.sqrt(h),d=(c*c-a*a+Fh*h)/(2*a*Uh*p),v=(c*c-a*a-Fh*h)/(2*c*Uh*p),g=Math.log(Math.sqrt(d*d+1)-d);r=(Math.log(Math.sqrt(v*v+1)-v)-g)/Lh,n=function(t){var e=t*r,n=ae(g),u=a/(Uh*p)*(n*se(Lh*e+g)-ue(g));return[i+u*l,o+u*f,a*n/ae(Lh*e+g)]}}return n.duration=1e3*r,n},qh=ce(Qt),zh=ce(Jt),Vh=fe(Qt),Hh=fe(Jt),Wh=he(Qt),Yh=he(Jt),Xh=function(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t(r/(e-1));return n},Kh=0,Gh=0,$h=0,Qh=1e3,Zh=0,Jh=0,tp=0,ep="object"==typeof performance&&performance.now?performance:Date,np="function"==typeof requestAnimationFrame?requestAnimationFrame:function(t){setTimeout(t,17)};ve.prototype=ge.prototype={constructor:ve,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?pe():+n)+(null==e?0:+e),this._next||vh===this||(vh?vh._next=this:dh=this,vh=this),this._call=t,this._time=n,be()},stop:function(){this._call&&(this._call=null,this._time=1/0,be())}};var rp=function(t,e,n){var r=new ve;return e=null==e?0:+e,r.restart(function(n){r.stop(),t(n+e)},e,n),r},ip=function(t,e,n){var r=new ve,i=e;return null==e?(r.restart(t,e,n),r):(e=+e,n=null==n?pe():+n,r.restart(function o(a){a+=i,r.restart(o,i+=e,n),t(a)},e,n),r)},op=d("start","end","interrupt"),ap=[],up=0,sp=1,cp=2,lp=3,fp=4,hp=5,pp=6,dp=function(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};Ee(t,n,{name:e,index:r,group:i,on:op,tween:ap,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:up})},vp=function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){e=null==e?null:e+"";for(i in o)(n=o[i]).name===e?(r=n.state>cp&&n.state<hp,n.state=pp,n.timer.stop(),r&&n.on.call("interrupt",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}},gp=function(t){return this.each(function(){vp(this,t)})},mp=function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=Me(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?Te:ke)(n,t,e))},yp=function(t,e){var n;return("number"==typeof e?Mh:e instanceof Mt?_h:(n=Mt(e))?(e=n,_h):Nh)(t,e)},_p=function(t,e){var n=Sl(t),r="transform"===n?Dh:yp;return this.attrTween(t,"function"==typeof e?(n.local?Oe:Re)(n,r,Ne(this,"attr."+t,e)):null==e?(n.local?Ae:Se)(n):(n.local?Ie:Pe)(n,r,e))},xp=function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=Sl(t);return this.tween(n,(r.local?De:Le)(r,e))},bp=function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?Ue:Fe)(e,t)):Me(this.node(),e).delay},wp=function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?je:Be)(e,t)):Me(this.node(),e).duration},Cp=function(t){var e=this._id;return arguments.length?this.each(qe(e,t)):Me(this.node(),e).ease},Mp=function(t){"function"!=typeof t&&(t=Dl(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],u=a.length,s=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&s.push(o);return new Ze(r,this._parents,this._name,this._id)},Ep=function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=e[u],l=n[u],f=c.length,h=a[u]=new Array(f),p=0;p<f;++p)(s=c[p]||l[p])&&(h[p]=s);for(;u<r;++u)a[u]=e[u];return new Ze(a,this._parents,this._name,this._id)},Tp=function(t,e){var n=this._id;return arguments.length<2?Me(this.node(),n).on.on(t):this.each(Ve(n,t,e))},kp=function(){return this.on("end.remove",He(this._id))},Np=function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=ql(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var u,s,c=r[a],l=c.length,f=o[a]=new Array(l),h=0;h<l;++h)(u=c[h])&&(s=t.call(u,u.__data__,h,c))&&("__data__"in u&&(s.__data__=u.__data__),f[h]=s,dp(f[h],e,n,h,f,Me(u,n)));return new Ze(o,this._parents,e,n)},Sp=function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=Vl(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var s,c=r[u],l=c.length,f=0;f<l;++f)if(s=c[f]){for(var h,p=t.call(s,s.__data__,f,c),d=Me(s,n),v=0,g=p.length;v<g;++v)(h=p[v])&&dp(h,e,n,v,p,d);o.push(p),a.push(s)}return new Ze(o,a,e,n)},Ap=vt.prototype.constructor,Pp=function(){return new Ap(this._groups,this._parents)},Ip=function(t,e,n){var r="transform"==(t+="")?Oh:yp;return null==e?this.styleTween(t,We(t,r)).on("end.style."+t,Ye(t)):this.styleTween(t,"function"==typeof e?Ke(t,r,Ne(this,"style."+t,e)):Xe(t,r,e),n)},Rp=function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,Ge(t,e,null==n?"":n))},Op=function(t){return this.tween("text","function"==typeof t?Qe(Ne(this,"text",t)):$e(null==t?"":t+""))},Dp=function(){for(var t=this._name,e=this._id,n=tn(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)if(a=u[c]){var l=Me(a,e);dp(a,t,n,c,u,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new Ze(r,this._parents,t,n)},Lp=0,Up=vt.prototype;Ze.prototype=Je.prototype={constructor:Ze,select:Np,selectAll:Sp,filter:Mp,merge:Ep,selection:Pp,transition:Dp,call:Up.call,nodes:Up.nodes,node:Up.node,size:Up.size,empty:Up.empty,each:Up.each,on:Tp,attr:_p,attrTween:xp,style:Ip,styleTween:Rp,text:Op,remove:kp,tween:mp,delay:bp,duration:wp,ease:Cp};var Fp=3,jp=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(Fp),Bp=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(Fp),qp=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(Fp),zp=Math.PI,Vp=zp/2,Hp=4/11,Wp=6/11,Yp=8/11,Xp=.75,Kp=9/11,Gp=10/11,$p=.9375,Qp=21/22,Zp=63/64,Jp=1/Hp/Hp,td=1.70158,ed=function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(td),nd=function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(td),rd=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(td),id=2*Math.PI,od=1,ad=.3,ud=function t(e,n){function r(t){return e*Math.pow(2,10*--t)*Math.sin((i-t)/n)}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=id);return r.amplitude=function(e){return t(e,n*id)},r.period=function(n){return t(e,n)},r}(od,ad),sd=function t(e,n){function r(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/n)}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=id);return r.amplitude=function(e){return t(e,n*id)},r.period=function(n){return t(e,n)},r}(od,ad),cd=function t(e,n){function r(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((i-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((i+t)/n))/2}var i=Math.asin(1/(e=Math.max(1,e)))*(n/=id);return r.amplitude=function(e){return t(e,n*id)},r.period=function(n){return t(e,n)},r}(od,ad),ld={time:null,delay:0,duration:250,ease:sn},fd=function(t){var e,n;t instanceof Ze?(e=t._id,t=t._name):(e=tn(),(n=ld).time=pe(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)(a=u[c])&&dp(a,t,e,c,u,n||bn(a,e));return new Ze(r,this._parents,t,e)};vt.prototype.interrupt=gp,vt.prototype.transition=fd;var hd=[null],pd=function(t,e){var n,r,i=t.__transition;if(i){e=null==e?null:e+"";for(r in i)if((n=i[r]).state>sp&&n.name===e)return new Ze([[t]],hd,e,+r)}return null},dd=function(t){return function(){return t}},vd=function(t,e,n){this.target=t,this.type=e,this.selection=n},gd=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},md={name:"drag"},yd={name:"space"},_d={name:"handle"},xd={name:"center"},bd={name:"x",handles:["e","w"].map(Cn),input:function(t,e){return t&&[[t[0],e[0][1]],[t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},wd={name:"y",handles:["n","s"].map(Cn),input:function(t,e){return t&&[[e[0][0],t[0]],[e[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Cd={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(Cn),input:function(t){return t},output:function(t){return t}},Md={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Ed={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Td={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},kd={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Nd={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1},Sd=function(){return Pn(Cd)},Ad=Math.cos,Pd=Math.sin,Id=Math.PI,Rd=Id/2,Od=2*Id,Dd=Math.max,Ld=function(){function t(t){var o,a,u,s,c,l,f=t.length,h=[],p=Zc(f),d=[],v=[],g=v.groups=new Array(f),m=new Array(f*f);for(o=0,c=-1;++c<f;){for(a=0,l=-1;++l<f;)a+=t[c][l];h.push(a),d.push(Zc(f)),o+=a}for(n&&p.sort(function(t,e){return n(h[t],h[e])}),r&&d.forEach(function(e,n){e.sort(function(e,i){return r(t[n][e],t[n][i])})}),o=Dd(0,Od-e*f)/o,s=o?e:Od/f,a=0,c=-1;++c<f;){for(u=a,l=-1;++l<f;){var y=p[c],_=d[y][l],x=t[y][_],b=a,w=a+=x*o;m[_*f+y]={index:y,subindex:_,startAngle:b,endAngle:w,value:x}}g[y]={index:y,startAngle:u,endAngle:a,value:h[y]},a+=s}for(c=-1;++c<f;)for(l=c-1;++l<f;){var C=m[l*f+c],M=m[c*f+l];(C.value||M.value)&&v.push(C.value<M.value?{source:M,target:C}:{source:C,target:M})}return i?v.sort(i):v}var e=0,n=null,r=null,i=null;return t.padAngle=function(n){return arguments.length?(e=Dd(0,n),t):e},t.sortGroups=function(e){return arguments.length?(n=e,t):n},t.sortSubgroups=function(e){return arguments.length?(r=e,t):r},t.sortChords=function(e){return arguments.length?(null==e?i=null:(i=In(e))._=e,t):i&&i._},t},Ud=Array.prototype.slice,Fd=function(t){return function(){return t}},jd=Math.PI,Bd=2*jd,qd=1e-6,zd=Bd-qd;Rn.prototype=On.prototype={constructor:Rn,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,u=n-t,s=r-e,c=o-t,l=a-e,f=c*c+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>qd)if(Math.abs(l*u-s*c)>qd&&i){var h=n-o,p=r-a,d=u*u+s*s,v=h*h+p*p,g=Math.sqrt(d),m=Math.sqrt(f),y=i*Math.tan((jd-Math.acos((d+f-v)/(2*g*m)))/2),_=y/m,x=y/g;Math.abs(_-1)>qd&&(this._+="L"+(t+_*c)+","+(e+_*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>c*p)+","+(this._x1=t+x*u)+","+(this._y1=e+x*s)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,o){t=+t,e=+e,n=+n;var a=n*Math.cos(r),u=n*Math.sin(r),s=t+a,c=e+u,l=1^o,f=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+s+","+c:(Math.abs(this._x1-s)>qd||Math.abs(this._y1-c)>qd)&&(this._+="L"+s+","+c),n&&(f<0&&(f=f%Bd+Bd),f>zd?this._+="A"+n+","+n+",0,1,"+l+","+(t-a)+","+(e-u)+"A"+n+","+n+",0,1,"+l+","+(this._x1=s)+","+(this._y1=c):f>qd&&(this._+="A"+n+","+n+",0,"+ +(f>=jd)+","+l+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Vd=function(){function t(){var t,u=Ud.call(arguments),s=e.apply(this,u),c=n.apply(this,u),l=+r.apply(this,(u[0]=s,u)),f=i.apply(this,u)-Rd,h=o.apply(this,u)-Rd,p=l*Ad(f),d=l*Pd(f),v=+r.apply(this,(u[0]=c,u)),g=i.apply(this,u)-Rd,m=o.apply(this,u)-Rd;if(a||(a=t=On()),a.moveTo(p,d),a.arc(0,0,l,f,h),f===g&&h===m||(a.quadraticCurveTo(0,0,v*Ad(g),v*Pd(g)),a.arc(0,0,v,g,m)),a.quadraticCurveTo(0,0,p,d),a.closePath(),t)return a=null,t+""||null}var e=Dn,n=Ln,r=Un,i=Fn,o=jn,a=null;return t.radius=function(e){return arguments.length?(r="function"==typeof e?e:Fd(+e),t):r},t.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:Fd(+e),t):i},t.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:Fd(+e),t):o},t.source=function(n){return arguments.length?(e=n,t):e},t.target=function(e){return arguments.length?(n=e,t):n},t.context=function(e){return arguments.length?(a=null==e?null:e,t):a},t},Hd="$";Bn.prototype=qn.prototype={constructor:Bn,has:function(t){return Hd+t in this},get:function(t){return this[Hd+t]},set:function(t,e){return this[Hd+t]=e,this},remove:function(t){var e=Hd+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===Hd&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===Hd&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===Hd&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===Hd&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===Hd&&++t;return t},empty:function(){for(var t in this)if(t[0]===Hd)return!1;return!0},each:function(t){for(var e in this)e[0]===Hd&&t(this[e],e.slice(1),this)}};var Wd=function(){function t(e,i,a,u){if(i>=o.length)return null!=r?r(e):null!=n?e.sort(n):e;for(var s,c,l,f=-1,h=e.length,p=o[i++],d=qn(),v=a();++f<h;)(l=d.get(s=p(c=e[f])+""))?l.push(c):d.set(s,[c]);return d.each(function(e,n){u(v,n,t(e,i,a,u))}),v}function e(t,n){if(++n>o.length)return t;var i,u=a[n-1];return null!=r&&n>=o.length?i=t.entries():(i=[],t.each(function(t,r){i.push({key:r,values:e(t,n)})})),null!=u?i.sort(function(t,e){return u(t.key,e.key)}):i}var n,r,i,o=[],a=[];return i={object:function(e){return t(e,0,zn,Vn)},map:function(e){return t(e,0,Hn,Wn)},entries:function(n){return e(t(n,0,Hn,Wn),0)},key:function(t){return o.push(t),i},sortKeys:function(t){return a[o.length-1]=t,i},sortValues:function(t){return n=t,i},rollup:function(t){return r=t,i}}},Yd=qn.prototype;Yn.prototype=Xn.prototype={constructor:Yn,has:Yd.has,add:function(t){return t+="",this[Hd+t]=t,this},remove:Yd.remove,clear:Yd.clear,values:Yd.keys,size:Yd.size,empty:Yd.empty,each:Yd.each};var Xd=function(t){var e=[];for(var n in t)e.push(n);return e},Kd=function(t){var e=[];for(var n in t)e.push(t[n]);return e},Gd=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},$d=function(t){function e(t,e){var r,i,o=n(t,function(t,n){if(r)return r(t,n-1);i=t,r=e?Gn(t,e):Kn(t)});return o.columns=i,o}function n(t,e){function n(){if(l>=c)return a;if(i)return i=!1,o;var e,n=l;if(34===t.charCodeAt(n)){for(var r=n;r++<c;)if(34===t.charCodeAt(r)){if(34!==t.charCodeAt(r+1))break;++r}return l=r+2,e=t.charCodeAt(r+1),13===e?(i=!0,10===t.charCodeAt(r+2)&&++l):10===e&&(i=!0),t.slice(n+1,r).replace(/""/g,'"')}for(;l<c;){var u=1;if(10===(e=t.charCodeAt(l++)))i=!0;else if(13===e)i=!0,10===t.charCodeAt(l)&&(++l,++u);else if(e!==s)continue;return t.slice(n,l-u)}return t.slice(n)}for(var r,i,o={},a={},u=[],c=t.length,l=0,f=0;(r=n())!==a;){for(var h=[];r!==o&&r!==a;)h.push(r),r=n();e&&null==(h=e(h,f++))||u.push(h)}return u}function r(e,n){return null==n&&(n=$n(e)),[n.map(a).join(t)].concat(e.map(function(e){return n.map(function(t){return a(e[t])}).join(t)})).join("\n")}function i(t){return t.map(o).join("\n")}function o(e){return e.map(a).join(t)}function a(t){return null==t?"":u.test(t+="")?'"'+t.replace(/\"/g,'""')+'"':t}var u=new RegExp('["'+t+"\n\r]"),s=t.charCodeAt(0);return{parse:e,parseRows:n,format:r,formatRows:i}},Qd=$d(","),Zd=Qd.parse,Jd=Qd.parseRows,tv=Qd.format,ev=Qd.formatRows,nv=$d("\t"),rv=nv.parse,iv=nv.parseRows,ov=nv.format,av=nv.formatRows,uv=function(t,e){function n(){var n,i,o=r.length,a=0,u=0;for(n=0;n<o;++n)i=r[n],a+=i.x,u+=i.y;for(a=a/o-t,u=u/o-e,n=0;n<o;++n)i=r[n],i.x-=a,i.y-=u}var r;return null==t&&(t=0),null==e&&(e=0),n.initialize=function(t){r=t},n.x=function(e){return arguments.length?(t=+e,n):t},n.y=function(t){return arguments.length?(e=+t,n):e},n},sv=function(t){return function(){return t}},cv=function(){return 1e-6*(Math.random()-.5)},lv=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return Qn(this.cover(e,n),e,n,t)},fv=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,o=(r=Math.floor(e))+1;else{if(!(n>t||t>i||r>e||e>o))return this;var a,u,s=i-n,c=this._root;switch(u=(e<(r+o)/2)<<1|t<(n+i)/2){case 0:do{a=new Array(4),a[u]=c,c=a}while(s*=2,i=n+s,o=r+s,t>i||e>o);break;case 1:do{a=new Array(4),a[u]=c,c=a}while(s*=2,n=i-s,o=r+s,n>t||e>o);break;case 2:do{a=new Array(4),a[u]=c,c=a}while(s*=2,i=n+s,r=o-s,t>i||r>e);break;case 3:do{a=new Array(4),a[u]=c,c=a}while(s*=2,n=i-s,r=o-s,n>t||r>e)}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this},hv=function(){var t=[];return this.visit(function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)}),t},pv=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},dv=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i},vv=function(t,e,n){var r,i,o,a,u,s,c,l=this._x0,f=this._y0,h=this._x1,p=this._y1,d=[],v=this._root;for(v&&d.push(new dv(v,l,f,h,p)),null==n?n=1/0:(l=t-n,f=e-n,h=t+n,p=e+n,n*=n);s=d.pop();)if(!(!(v=s.node)||(i=s.x0)>h||(o=s.y0)>p||(a=s.x1)<l||(u=s.y1)<f))if(v.length){var g=(i+a)/2,m=(o+u)/2;d.push(new dv(v[3],g,m,a,u),new dv(v[2],i,m,g,u),new dv(v[1],g,o,a,m),new dv(v[0],i,o,g,m)),(c=(e>=m)<<1|t>=g)&&(s=d[d.length-1],d[d.length-1]=d[d.length-1-c],d[d.length-1-c]=s)}else{var y=t-+this._x.call(null,v.data),_=e-+this._y.call(null,v.data),x=y*y+_*_;if(x<n){var b=Math.sqrt(n=x);l=t-b,f=e-b,h=t+b,p=e+b,r=v.data}}return r},gv=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var e,n,r,i,o,a,u,s,c,l,f,h,p=this._root,d=this._x0,v=this._y0,g=this._x1,m=this._y1;if(!p)return this;if(p.length)for(;;){if((c=o>=(u=(d+g)/2))?d=u:g=u,(l=a>=(s=(v+m)/2))?v=s:m=s,e=p,!(p=p[f=l<<1|c]))return this;if(!p.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(n=e,h=f)}for(;p.data!==t;)if(r=p,!(p=p.next))return this;return(i=p.next)&&delete p.next,r?(i?r.next=i:delete r.next,this):e?(i?e[f]=i:delete e[f],(p=e[0]||e[1]||e[2]||e[3])&&p===(e[3]||e[2]||e[1]||e[0])&&!p.length&&(n?n[h]=p:this._root=p),this):(this._root=i,this)},mv=function(){return this._root},yv=function(){var t=0;return this.visit(function(e){if(!e.length)do{++t}while(e=e.next)}),t},_v=function(t){var e,n,r,i,o,a,u=[],s=this._root;for(s&&u.push(new dv(s,this._x0,this._y0,this._x1,this._y1));e=u.pop();)if(!t(s=e.node,r=e.x0,i=e.y0,o=e.x1,a=e.y1)&&s.length){var c=(r+o)/2,l=(i+a)/2;(n=s[3])&&u.push(new dv(n,c,l,o,a)),(n=s[2])&&u.push(new dv(n,r,l,c,a)),(n=s[1])&&u.push(new dv(n,c,i,o,l)),(n=s[0])&&u.push(new dv(n,r,i,c,l))}return this},xv=function(t){var e,n=[],r=[];for(this._root&&n.push(new dv(this._root,this._x0,this._y0,this._x1,this._y1));e=n.pop();){var i=e.node;if(i.length){var o,a=e.x0,u=e.y0,s=e.x1,c=e.y1,l=(a+s)/2,f=(u+c)/2;(o=i[0])&&n.push(new dv(o,a,u,l,f)),(o=i[1])&&n.push(new dv(o,l,u,s,f)),(o=i[2])&&n.push(new dv(o,a,f,l,c)),(o=i[3])&&n.push(new dv(o,l,f,s,c))}r.push(e)}for(;e=r.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},bv=function(t){return arguments.length?(this._x=t,this):this._x},wv=function(t){return arguments.length?(this._y=t,this):this._y},Cv=nr.prototype=rr.prototype;Cv.copy=function(){var t,e,n=new rr(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=ir(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=ir(e));return n},Cv.add=lv,Cv.addAll=Zn,Cv.cover=fv,Cv.data=hv,Cv.extent=pv,Cv.find=vv,Cv.remove=gv,Cv.removeAll=Jn,Cv.root=mv,Cv.size=yv,Cv.visit=_v,Cv.visitAfter=xv,Cv.x=bv,Cv.y=wv;var Mv,Ev=function(t){function e(){function t(t,e,n,r,i){var o=t.data,u=t.r,p=f+u;{if(!o)return e>c+p||r<c-p||n>l+p||i<l-p;if(o.index>s.index){var d=c-o.x-o.vx,v=l-o.y-o.vy,g=d*d+v*v;g<p*p&&(0===d&&(d=cv(),g+=d*d),0===v&&(v=cv(),g+=v*v),g=(p-(g=Math.sqrt(g)))/g*a,s.vx+=(d*=g)*(p=(u*=u)/(h+u)),s.vy+=(v*=g)*p,o.vx-=d*(p=1-p),o.vy-=v*p)}}}for(var e,r,s,c,l,f,h,p=i.length,d=0;d<u;++d)for(r=nr(i,or,ar).visitAfter(n),e=0;e<p;++e)s=i[e],f=o[s.index],h=f*f,c=s.x+s.vx,l=s.y+s.vy,r.visit(t)}function n(t){if(t.data)return t.r=o[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function r(){if(i){var e,n,r=i.length;for(o=new Array(r),e=0;e<r;++e)n=i[e],o[n.index]=+t(n,e,i)}}var i,o,a=1,u=1;return"function"!=typeof t&&(t=sv(null==t?1:+t)),e.initialize=function(t){i=t,r()},e.iterations=function(t){return arguments.length?(u=+t,e):u},e.strength=function(t){return arguments.length?(a=+t,e):a},e.radius=function(n){return arguments.length?(t="function"==typeof n?n:sv(+n),r(),e):t},e},Tv=function(t){function e(t){return 1/Math.min(c[t.source.index],c[t.target.index])}function n(e){for(var n=0,r=t.length;n<d;++n)for(var i,o,s,c,f,h,p,v=0;v<r;++v)i=t[v],o=i.source,s=i.target,c=s.x+s.vx-o.x-o.vx||cv(),f=s.y+s.vy-o.y-o.vy||cv(),h=Math.sqrt(c*c+f*f),h=(h-u[v])/h*e*a[v],c*=h,f*=h,s.vx-=c*(p=l[v]),s.vy-=f*p,o.vx+=c*(p=1-p),o.vy+=f*p}function r(){if(s){var e,n,r=s.length,h=t.length,p=qn(s,f);for(e=0,c=new Array(r);e<h;++e)n=t[e],n.index=e,"object"!=typeof n.source&&(n.source=sr(p,n.source)),"object"!=typeof n.target&&(n.target=sr(p,n.target)),c[n.source.index]=(c[n.source.index]||0)+1,c[n.target.index]=(c[n.target.index]||0)+1;for(e=0,l=new Array(h);e<h;++e)n=t[e],l[e]=c[n.source.index]/(c[n.source.index]+c[n.target.index]);a=new Array(h),i(),u=new Array(h),o()}}function i(){if(s)for(var e=0,n=t.length;e<n;++e)a[e]=+h(t[e],e,t)}function o(){if(s)for(var e=0,n=t.length;e<n;++e)u[e]=+p(t[e],e,t)}var a,u,s,c,l,f=ur,h=e,p=sv(30),d=1;return null==t&&(t=[]),n.initialize=function(t){s=t,r()},n.links=function(e){return arguments.length?(t=e,r(),n):t},n.id=function(t){return arguments.length?(f=t,n):f},n.iterations=function(t){return arguments.length?(d=+t,n):d},n.strength=function(t){return arguments.length?(h="function"==typeof t?t:sv(+t),i(),n):h},n.distance=function(t){return arguments.length?(p="function"==typeof t?t:sv(+t),o(),n):p},n},kv=10,Nv=Math.PI*(3-Math.sqrt(5)),Sv=function(t){function e(){n(),p.call("tick",o),a<u&&(h.stop(),p.call("end",o))}function n(){var e,n,r=t.length;for(a+=(c-a)*s,f.each(function(t){t(a)}),e=0;e<r;++e)n=t[e],null==n.fx?n.x+=n.vx*=l:(n.x=n.fx,n.vx=0),null==n.fy?n.y+=n.vy*=l:(n.y=n.fy,n.vy=0)}function r(){for(var e,n=0,r=t.length;n<r;++n){if(e=t[n],e.index=n,isNaN(e.x)||isNaN(e.y)){var i=kv*Math.sqrt(n),o=n*Nv;e.x=i*Math.cos(o),e.y=i*Math.sin(o)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function i(e){return e.initialize&&e.initialize(t),e}var o,a=1,u=.001,s=1-Math.pow(u,1/300),c=0,l=.6,f=qn(),h=ge(e),p=d("tick","end");return null==t&&(t=[]),r(),o={tick:n,restart:function(){return h.restart(e),o},stop:function(){return h.stop(),o},nodes:function(e){return arguments.length?(t=e,r(),f.each(i),o):t},alpha:function(t){return arguments.length?(a=+t,o):a},alphaMin:function(t){return arguments.length?(u=+t,o):u},alphaDecay:function(t){return arguments.length?(s=+t,o):+s},alphaTarget:function(t){return arguments.length?(c=+t,o):c},velocityDecay:function(t){return arguments.length?(l=1-t,o):1-l},force:function(t,e){return arguments.length>1?(null==e?f.remove(t):f.set(t,i(e)),o):f.get(t)},find:function(e,n,r){var i,o,a,u,s,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c<l;++c)u=t[c],i=e-u.x,o=n-u.y,(a=i*i+o*o)<r&&(s=u,r=a);return s},on:function(t,e){return arguments.length>1?(p.on(t,e),o):p.on(t)}}},Av=function(){function t(t){var e,u=i.length,s=nr(i,cr,lr).visitAfter(n);for(a=t,e=0;e<u;++e)o=i[e],s.visit(r)}function e(){if(i){var t,e,n=i.length;for(u=new Array(n),t=0;t<n;++t)e=i[t],u[e.index]=+s(e,t,i)}}function n(t){var e,n,r,i,o,a=0;if(t.length){for(r=i=o=0;o<4;++o)(e=t[o])&&(n=e.value)&&(a+=n,r+=n*e.x,i+=n*e.y);t.x=r/a,t.y=i/a}else{e=t,e.x=e.data.x,e.y=e.data.y;do{a+=u[e.data.index]}while(e=e.next)}t.value=a}function r(t,e,n,r){if(!t.value)return!0;var i=t.x-o.x,s=t.y-o.y,h=r-e,p=i*i+s*s;if(h*h/f<p)return p<l&&(0===i&&(i=cv(),p+=i*i),0===s&&(s=cv(),p+=s*s),p<c&&(p=Math.sqrt(c*p)),o.vx+=i*t.value*a/p,o.vy+=s*t.value*a/p),!0;if(!(t.length||p>=l)){(t.data!==o||t.next)&&(0===i&&(i=cv(),p+=i*i),0===s&&(s=cv(),p+=s*s),p<c&&(p=Math.sqrt(c*p)));do{t.data!==o&&(h=u[t.data.index]*a/p,o.vx+=i*h,o.vy+=s*h)}while(t=t.next)}}var i,o,a,u,s=sv(-30),c=1,l=1/0,f=.81;return t.initialize=function(t){i=t,e()},t.strength=function(n){return arguments.length?(s="function"==typeof n?n:sv(+n),e(),t):s},t.distanceMin=function(e){return arguments.length?(c=e*e,t):Math.sqrt(c)},t.distanceMax=function(e){return arguments.length?(l=e*e,t):Math.sqrt(l)},t.theta=function(e){return arguments.length?(f=e*e,t):Math.sqrt(f)},t},Pv=function(t){function e(t){for(var e,n=0,a=r.length;n<a;++n)e=r[n],e.vx+=(o[n]-e.x)*i[n]*t}function n(){if(r){var e,n=r.length;for(i=new Array(n),o=new Array(n),e=0;e<n;++e)i[e]=isNaN(o[e]=+t(r[e],e,r))?0:+a(r[e],e,r)}}var r,i,o,a=sv(.1);return"function"!=typeof t&&(t=sv(null==t?0:+t)),e.initialize=function(t){r=t,n()},e.strength=function(t){return arguments.length?(a="function"==typeof t?t:sv(+t),n(),e):a},e.x=function(r){return arguments.length?(t="function"==typeof r?r:sv(+r),n(),e):t},e},Iv=function(t){function e(t){for(var e,n=0,a=r.length;n<a;++n)e=r[n],e.vy+=(o[n]-e.y)*i[n]*t}function n(){if(r){var e,n=r.length;for(i=new Array(n),o=new Array(n),e=0;e<n;++e)i[e]=isNaN(o[e]=+t(r[e],e,r))?0:+a(r[e],e,r)}}var r,i,o,a=sv(.1);return"function"!=typeof t&&(t=sv(null==t?0:+t)),e.initialize=function(t){r=t,n()},e.strength=function(t){return arguments.length?(a="function"==typeof t?t:sv(+t),n(),e):a},e.y=function(r){return arguments.length?(t="function"==typeof r?r:sv(+r),n(),e):t},e},Rv=function(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]},Ov=function(t){return t=Rv(Math.abs(t)),t?t[1]:NaN},Dv=function(t,e){return function(n,r){for(var i=n.length,o=[],a=0,u=t[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),o.push(n.substring(i-=u,i+u)),!((s+=u+1)>r));)u=t[a=(a+1)%t.length];return o.reverse().join(e)}},Lv=function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}},Uv=function(t,e){t=t.toPrecision(e);t:for(var n,r=t.length,i=1,o=-1;i<r;++i)switch(t[i]){case".":o=n=i;break;case"0":0===o&&(o=i),n=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t},Fv=function(t,e){var n=Rv(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Mv=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Rv(t,Math.max(0,e+o-1))[0]},jv=function(t,e){var n=Rv(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Bv={"":Uv,"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return jv(100*t,e)},r:jv,s:Fv,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},qv=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;fr.prototype=hr.prototype,hr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var zv,Vv=function(t){return t},Hv=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Wv=function(t){function e(t){function e(t){var e,i,c,_=v,x=g;if("c"===d)x=m(t)+x,t="";else{t=+t;var b=t<0;if(t=m(Math.abs(t),p),b&&0==+t&&(b=!1),_=(b?"("===s?s:"-":"-"===s||"("===s?"":s)+_,x=x+("s"===d?Hv[8+Mv/3]:"")+(b&&"("===s?")":""),y)for(e=-1,i=t.length;++e<i;)if(48>(c=t.charCodeAt(e))||c>57){x=(46===c?o+t.slice(e+1):t.slice(e))+x,t=t.slice(0,e);break}}h&&!l&&(t=r(t,1/0));var w=_.length+t.length+x.length,C=w<f?new Array(f-w+1).join(n):"";switch(h&&l&&(t=r(C+t,C.length?f-x.length:1/0),C=""),u){case"<":t=_+t+x+C;break;case"=":t=_+C+t+x;break;case"^":t=C.slice(0,w=C.length>>1)+_+t+x+C.slice(w);break;default:t=C+_+t+x}return a(t)}t=fr(t);var n=t.fill,u=t.align,s=t.sign,c=t.symbol,l=t.zero,f=t.width,h=t.comma,p=t.precision,d=t.type,v="$"===c?i[0]:"#"===c&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",g="$"===c?i[1]:/[%p]/.test(d)?"%":"",m=Bv[d],y=!d||/[defgprs%]/.test(d);return p=null==p?d?6:12:/[gprs]/.test(d)?Math.max(1,Math.min(21,p)):Math.max(0,Math.min(20,p)),e.toString=function(){return t+""},e}function n(t,n){var r=e((t=fr(t),t.type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Ov(n)/3))),o=Math.pow(10,-i),a=Hv[8+i/3];return function(t){return r(o*t)+a}}var r=t.grouping&&t.thousands?Dv(t.grouping,t.thousands):Vv,i=t.currency,o=t.decimal,a=t.numerals?Lv(t.numerals):Vv;return{format:e,formatPrefix:n}};pr({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Yv=function(t){return Math.max(0,-Ov(Math.abs(t)))},Xv=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ov(e)/3)))-Ov(Math.abs(t)))},Kv=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Ov(e)-Ov(t))+1},Gv=function(){return new dr};dr.prototype={constructor:dr,reset:function(){this.s=this.t=0},add:function(t){vr(kg,t,this.t),vr(this,kg.s,this.s),this.s?this.t+=kg.t:this.s=kg.t},valueOf:function(){return this.s}};var $v,Qv,Zv,Jv,tg,eg,ng,rg,ig,og,ag,ug,sg,cg,lg,fg,hg,pg,dg,vg,gg,mg,yg,_g,xg,bg,wg,Cg,Mg,Eg,Tg,kg=new dr,Ng=1e-6,Sg=1e-12,Ag=Math.PI,Pg=Ag/2,Ig=Ag/4,Rg=2*Ag,Og=180/Ag,Dg=Ag/180,Lg=Math.abs,Ug=Math.atan,Fg=Math.atan2,jg=Math.cos,Bg=Math.ceil,qg=Math.exp,zg=Math.log,Vg=Math.pow,Hg=Math.sin,Wg=Math.sign||function(t){return t>0?1:t<0?-1:0},Yg=Math.sqrt,Xg=Math.tan,Kg={Feature:function(t,e){xr(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)xr(n[r].geometry,e)}},Gg={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){br(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)br(n[r],e,0)},Polygon:function(t,e){wr(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)wr(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)xr(n[r],e)}},$g=function(t,e){t&&Kg.hasOwnProperty(t.type)?Kg[t.type](t,e):xr(t,e)},Qg=Gv(),Zg=Gv(),Jg={point:_r,lineStart:_r,lineEnd:_r,polygonStart:function(){Qg.reset(),Jg.lineStart=Cr,Jg.lineEnd=Mr},polygonEnd:function(){var t=+Qg;Zg.add(t<0?Rg+t:t),this.lineStart=this.lineEnd=this.point=_r},sphere:function(){Zg.add(Rg)}},tm=function(t){return Zg.reset(),$g(t,Jg),2*Zg},em=Gv(),nm={point:Or,lineStart:Lr,lineEnd:Ur,polygonStart:function(){nm.point=Fr,nm.lineStart=jr,nm.lineEnd=Br,em.reset(),Jg.polygonStart()},polygonEnd:function(){Jg.polygonEnd(),nm.point=Or,nm.lineStart=Lr,nm.lineEnd=Ur,Qg<0?(eg=-(rg=180),ng=-(ig=90)):em>Ng?ig=90:em<-Ng&&(ng=-90),lg[0]=eg,lg[1]=rg}},rm=function(t){var e,n,r,i,o,a,u;if(ig=rg=-(eg=ng=1/0),cg=[],$g(t,nm),n=cg.length){for(cg.sort(zr),e=1,r=cg[0],o=[r];e<n;++e)i=cg[e],Vr(r,i[0])||Vr(r,i[1])?(qr(r[0],i[1])>qr(r[0],r[1])&&(r[1]=i[1]),qr(i[0],r[1])>qr(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-(1/0),n=o.length-1,e=0,r=o[n];e<=n;r=i,++e)i=o[e],(u=qr(r[1],i[0]))>a&&(a=u,eg=i[0],rg=r[1])}return cg=lg=null,eg===1/0||ng===1/0?[[NaN,NaN],[NaN,NaN]]:[[eg,ng],[rg,ig]]},im={sphere:_r,point:Hr,lineStart:Yr,lineEnd:Gr,polygonStart:function(){im.lineStart=$r,im.lineEnd=Qr},polygonEnd:function(){im.lineStart=Yr,im.lineEnd=Gr}},om=function(t){fg=hg=pg=dg=vg=gg=mg=yg=_g=xg=bg=0,$g(t,im);var e=_g,n=xg,r=bg,i=e*e+n*n+r*r;return i<Sg&&(e=gg,n=mg,r=yg,hg<Ng&&(e=pg,n=dg,r=vg),(i=e*e+n*n+r*r)<Sg)?[NaN,NaN]:[Fg(n,e)*Og,mr(r/Yg(i))*Og]},am=function(t){return function(){return t}},um=function(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n};ti.invert=ti;var sm,cm,lm,fm,hm,pm,dm,vm,gm,mm,ym,_m=function(t){function e(e){return e=t(e[0]*Dg,e[1]*Dg),e[0]*=Og,e[1]*=Og,e}return t=ei(t[0]*Dg,t[1]*Dg,t.length>2?t[2]*Dg:0),e.invert=function(e){return e=t.invert(e[0]*Dg,e[1]*Dg),e[0]*=Og,e[1]*=Og,e},e},xm=function(){function t(t,e){n.push(t=r(t,e)),t[0]*=Og,t[1]*=Og}function e(){var t=i.apply(this,arguments),e=o.apply(this,arguments)*Dg,s=a.apply(this,arguments)*Dg;return n=[],r=ei(-t[0]*Dg,-t[1]*Dg,0).invert,oi(u,e,s,1),t={type:"Polygon",coordinates:[n]},n=r=null,t}var n,r,i=am([0,0]),o=am(90),a=am(6),u={point:t};return e.center=function(t){return arguments.length?(i="function"==typeof t?t:am([+t[0],+t[1]]),e):i},e.radius=function(t){return arguments.length?(o="function"==typeof t?t:am(+t),e):o},e.precision=function(t){return arguments.length?(a="function"==typeof t?t:am(+t),e):a},e},bm=function(){var t,e=[];return{point:function(e,n){t.push([e,n])},lineStart:function(){e.push(t=[])},lineEnd:_r,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},wm=function(t,e,n,r,i,o){var a,u=t[0],s=t[1],c=e[0],l=e[1],f=0,h=1,p=c-u,d=l-s;if(a=n-u,p||!(a>0)){if(a/=p,p<0){if(a<f)return;a<h&&(h=a)}else if(p>0){if(a>h)return;a>f&&(f=a)}if(a=i-u,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>f&&(f=a)}else if(p>0){if(a<f)return;a<h&&(h=a)}if(a=r-s,d||!(a>0)){if(a/=d,d<0){if(a<f)return;a<h&&(h=a)}else if(d>0){if(a>h)return;a>f&&(f=a)}if(a=o-s,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>f&&(f=a)}else if(d>0){if(a<f)return;a<h&&(h=a)}return f>0&&(t[0]=u+f*p,t[1]=s+f*d),h<1&&(e[0]=u+h*p,e[1]=s+h*d),!0}}}}},Cm=function(t,e){return Lg(t[0]-e[0])<Ng&&Lg(t[1]-e[1])<Ng},Mm=function(t,e,n,r,i){var o,a,u=[],s=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],a=t[e];if(Cm(r,a)){for(i.lineStart(),o=0;o<e;++o)i.point((r=t[o])[0],r[1]);return void i.lineEnd()}u.push(n=new ui(r,t,null,!0)),s.push(n.o=new ui(r,null,n,!1)),u.push(n=new ui(a,t,null,!1)),s.push(n.o=new ui(a,null,n,!0))}}),u.length){for(s.sort(e),si(u),si(s),o=0,a=s.length;o<a;++o)s[o].e=n=!n;for(var c,l,f=u[0];;){for(var h=f,p=!0;h.v;)if((h=h.n)===f)return;c=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(o=0,a=c.length;o<a;++o)i.point((l=c[o])[0],l[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(p)for(c=h.p.z,o=c.length-1;o>=0;--o)i.point((l=c[o])[0],l[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,c=h.z,p=!p}while(!h.v);i.lineEnd()}}},Em=1e9,Tm=-Em,km=function(){var t,e,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return t&&e===n?t:t=ci(r,i,o,a)(e=n)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=e=null,n):[[r,i],[o,a]]}}},Nm=Gv(),Sm=function(t,e){var n=e[0],r=e[1],i=[Hg(n),-jg(n),0],o=0,a=0;Nm.reset();for(var u=0,s=t.length;u<s;++u)if(l=(c=t[u]).length)for(var c,l,f=c[l-1],h=f[0],p=f[1]/2+Ig,d=Hg(p),v=jg(p),g=0;g<l;++g,h=y,d=x,v=b,f=m){var m=c[g],y=m[0],_=m[1]/2+Ig,x=Hg(_),b=jg(_),w=y-h,C=w>=0?1:-1,M=C*w,E=M>Ag,T=d*x;if(Nm.add(Fg(T*C*Hg(M),v*b+T*jg(M))),o+=E?w+C*Rg:w,E^h>=n^y>=n){var k=Ar(Nr(f),Nr(m));Rr(k);var N=Ar(i,k);Rr(N);var S=(E^w>=0?-1:1)*mr(N[2]);(r>S||r===S&&(k[0]||k[1]))&&(a+=E^w>=0?1:-1)}}return(o<-Ng||o<Ng&&Nm<-Ng)^1&a},Am=Gv(),Pm={sphere:_r,point:_r,lineStart:li,lineEnd:_r,polygonStart:_r,polygonEnd:_r},Im=function(t){return Am.reset(),$g(t,Pm),+Am},Rm=[null,null],Om={type:"LineString",coordinates:Rm},Dm=function(t,e){return Rm[0]=t,Rm[1]=e,Im(Om)},Lm={Feature:function(t,e){return di(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)if(di(n[r].geometry,e))return!0;return!1}},Um={Sphere:function(){return!0},Point:function(t,e){return vi(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(vi(n[r],e))return!0;return!1},LineString:function(t,e){return gi(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(gi(n[r],e))return!0;return!1},Polygon:function(t,e){return mi(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(mi(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)if(di(n[r],e))return!0;return!1}},Fm=function(t,e){return(t&&Lm.hasOwnProperty(t.type)?Lm[t.type]:di)(t,e)},jm=function(t,e){var n=t[0]*Dg,r=t[1]*Dg,i=e[0]*Dg,o=e[1]*Dg,a=jg(r),u=Hg(r),s=jg(o),c=Hg(o),l=a*jg(n),f=a*Hg(n),h=s*jg(i),p=s*Hg(i),d=2*mr(Yg(yr(o-r)+a*s*yr(i-n))),v=Hg(d),g=d?function(t){var e=Hg(t*=d)/v,n=Hg(d-t)/v,r=n*l+e*h,i=n*f+e*p,o=n*u+e*c;return[Fg(i,r)*Og,Fg(o,Yg(r*r+i*i))*Og]}:function(){return[n*Og,r*Og]};return g.distance=d,g},Bm=function(t){return t},qm=Gv(),zm=Gv(),Vm={point:_r,lineStart:_r,lineEnd:_r,polygonStart:function(){Vm.lineStart=Mi,Vm.lineEnd=ki},polygonEnd:function(){Vm.lineStart=Vm.lineEnd=Vm.point=_r,qm.add(Lg(zm)),zm.reset()},result:function(){var t=qm/2;return qm.reset(),t}},Hm=1/0,Wm=Hm,Ym=-Hm,Xm=Ym,Km={point:Ni,lineStart:_r,lineEnd:_r,polygonStart:_r,polygonEnd:_r,result:function(){var t=[[Hm,Wm],[Ym,Xm]];return Ym=Xm=-(Wm=Hm=1/0),t}},Gm=0,$m=0,Qm=0,Zm=0,Jm=0,ty=0,ey=0,ny=0,ry=0,iy={point:Si,lineStart:Ai,lineEnd:Ri,polygonStart:function(){iy.lineStart=Oi,iy.lineEnd=Di},polygonEnd:function(){iy.point=Si,iy.lineStart=Ai,iy.lineEnd=Ri},result:function(){var t=ry?[ey/ry,ny/ry]:ty?[Zm/ty,Jm/ty]:Qm?[Gm/Qm,$m/Qm]:[NaN,NaN];return Gm=$m=Qm=Zm=Jm=ty=ey=ny=ry=0,t}};Fi.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,Rg)}},result:_r};var oy,ay,uy,sy,cy,ly=Gv(),fy={point:_r,lineStart:function(){fy.point=ji},lineEnd:function(){oy&&Bi(ay,uy),fy.point=_r},polygonStart:function(){oy=!0},polygonEnd:function(){oy=null},result:function(){var t=+ly;return ly.reset(),t}};qi.prototype={_circle:zi(4.5),pointRadius:function(t){return this._circle=zi(t),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}}};var hy=function(t,e){function n(t){return t&&("function"==typeof o&&i.pointRadius(+o.apply(this,arguments)),$g(t,r(i))),i.result()}var r,i,o=4.5;return n.area=function(t){return $g(t,r(Vm)),Vm.result()},n.measure=function(t){return $g(t,r(fy)),fy.result()},n.bounds=function(t){return $g(t,r(Km)),Km.result()},n.centroid=function(t){return $g(t,r(iy)),iy.result()},n.projection=function(e){return arguments.length?(r=null==e?(t=null,Bm):(t=e).stream,n):t},n.context=function(t){return arguments.length?(i=null==t?(e=null,new qi):new Fi(e=t),"function"!=typeof o&&i.pointRadius(o),n):e},n.pointRadius=function(t){return arguments.length?(o="function"==typeof t?t:(i.pointRadius(+t),+t),n):o},n.projection(t).context(e)},py=function(t,e,n,r){return function(i,o){function a(e,n){var r=i(e,n);t(e=r[0],n=r[1])&&o.point(e,n)}function u(t,e){var n=i(t,e);g.point(n[0],n[1])}function s(){b.point=u,g.lineStart()}function c(){b.point=a,g.lineEnd()}function l(t,e){v.push([t,e]);var n=i(t,e);_.point(n[0],n[1])}function f(){_.lineStart(),v=[]}function h(){l(v[0][0],v[0][1]),_.lineEnd();var t,e,n,r,i=_.clean(),a=y.result(),u=a.length;if(v.pop(),p.push(v),v=null,u)if(1&i){if(n=a[0],(e=n.length-1)>0){for(x||(o.polygonStart(),x=!0),o.lineStart(),t=0;t<e;++t)o.point((r=n[t])[0],r[1]);o.lineEnd()}}else u>1&&2&i&&a.push(a.pop().concat(a.shift())),d.push(a.filter(Vi))}var p,d,v,g=e(o),m=i.invert(r[0],r[1]),y=bm(),_=e(y),x=!1,b={point:a,lineStart:s,lineEnd:c,polygonStart:function(){b.point=l,b.lineStart=f,b.lineEnd=h,d=[],p=[]},polygonEnd:function(){b.point=a,b.lineStart=s,b.lineEnd=c,d=fl(d);var t=Sm(p,m);d.length?(x||(o.polygonStart(),x=!0),Mm(d,Hi,t,n,o)):t&&(x||(o.polygonStart(),x=!0),o.lineStart(),n(null,null,1,o),o.lineEnd()),x&&(o.polygonEnd(),x=!1),d=p=null},sphere:function(){o.polygonStart(),o.lineStart(),n(null,null,1,o),o.lineEnd(),o.polygonEnd()}};return b}},dy=py(function(){return!0},Wi,Xi,[-Ag,-Pg]),vy=function(t,e){function n(n,r,i,o){oi(o,t,e,i,n,r)}function r(t,e){return jg(t)*jg(e)>u}function i(t){var e,n,i,u,l;return{lineStart:function(){u=i=!1,l=1},point:function(f,h){var p,d=[f,h],v=r(f,h),g=s?v?0:a(f,h):v?a(f+(f<0?Ag:-Ag),h):0;if(!e&&(u=i=v)&&t.lineStart(),v!==i&&(p=o(e,d),(Cm(e,p)||Cm(d,p))&&(d[0]+=Ng,d[1]+=Ng,v=r(d[0],d[1]))),v!==i)l=0,v?(t.lineStart(),p=o(d,e),t.point(p[0],p[1])):(p=o(e,d),t.point(p[0],p[1]),t.lineEnd()),e=p;else if(c&&e&&s^v){var m;g&n||!(m=o(d,e,!0))||(l=0,s?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1])))}!v||e&&Cm(e,d)||t.point(d[0],d[1]),e=d,i=v,n=g},lineEnd:function(){i&&t.lineEnd(),e=null},clean:function(){return l|(u&&i)<<1}}}function o(t,e,n){var r=Nr(t),i=Nr(e),o=[1,0,0],a=Ar(r,i),s=Sr(a,a),c=a[0],l=s-c*c;if(!l)return!n&&t;var f=u*s/l,h=-u*c/l,p=Ar(o,a),d=Ir(o,f);Pr(d,Ir(a,h));var v=p,g=Sr(d,v),m=Sr(v,v),y=g*g-m*(Sr(d,d)-1);if(!(y<0)){var _=Yg(y),x=Ir(v,(-g-_)/m);if(Pr(x,d),x=kr(x),!n)return x;var b,w=t[0],C=e[0],M=t[1],E=e[1];C<w&&(b=w,w=C,C=b);var T=C-w,k=Lg(T-Ag)<Ng,N=k||T<Ng;if(!k&&E<M&&(b=M,M=E,E=b),N?k?M+E>0^x[1]<(Lg(x[0]-w)<Ng?M:E):M<=x[1]&&x[1]<=E:T>Ag^(w<=x[0]&&x[0]<=C)){var S=Ir(v,(-g+_)/m);return Pr(S,d),[x,kr(S)]}}}function a(e,n){var r=s?t:Ag-t,i=0;return e<-r?i|=1:e>r&&(i|=2),n<-r?i|=4:n>r&&(i|=8),i}var u=jg(t),s=u>0,c=Lg(u)>Ng;return py(r,i,n,s?[0,-t]:[-Ag,t-Ag])},gy=function(t){return{stream:Ki(t)}};Gi.prototype={constructor:Gi,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var my=16,yy=jg(30*Dg),_y=function(t,e){return+e?Ji(t,e):Zi(t)},xy=Ki({point:function(t,e){this.stream.point(t*Dg,e*Dg)}}),by=function(){return no(io).scale(155.424).center([0,33.6442])},wy=function(){return by().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},Cy=function(){function t(t){var e=t[0],n=t[1];return u=null,i.point(e,n),u||(o.point(e,n),u)||(a.point(e,n),u)}function e(){return n=r=null,t}var n,r,i,o,a,u,s=wy(),c=by().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=by().rotate([157,0]).center([-3,19.9]).parallels([8,18]),f={point:function(t,e){u=[t,e]}};return t.invert=function(t){var e=s.scale(),n=s.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?c:i>=.166&&i<.234&&r>=-.214&&r<-.115?l:s).invert(t)},t.stream=function(t){return n&&r===t?n:n=oo([s.stream(r=t),c.stream(t),l.stream(t)])},t.precision=function(t){return arguments.length?(s.precision(t),c.precision(t),l.precision(t),e()):s.precision()},t.scale=function(e){return arguments.length?(s.scale(e),c.scale(.35*e),l.scale(e),t.translate(s.translate())):s.scale()},t.translate=function(t){if(!arguments.length)return s.translate();var n=s.scale(),r=+t[0],u=+t[1];return i=s.translate(t).clipExtent([[r-.455*n,u-.238*n],[r+.455*n,u+.238*n]]).stream(f),o=c.translate([r-.307*n,u+.201*n]).clipExtent([[r-.425*n+Ng,u+.12*n+Ng],[r-.214*n-Ng,u+.234*n-Ng]]).stream(f),a=l.translate([r-.205*n,u+.212*n]).clipExtent([[r-.214*n+Ng,u+.166*n+Ng],[r-.115*n-Ng,u+.234*n-Ng]]).stream(f),e()},t.fitExtent=function(e,n){return $i(t,e,n)},t.fitSize=function(e,n){return Qi(t,e,n)},t.scale(1070)},My=ao(function(t){return Yg(2/(1+t))});My.invert=uo(function(t){return 2*mr(t/2)});var Ey=function(){return to(My).scale(124.75).clipAngle(179.999)},Ty=ao(function(t){return(t=gr(t))&&t/Hg(t)});Ty.invert=uo(function(t){return t});var ky=function(){return to(Ty).scale(79.4188).clipAngle(179.999)};so.invert=function(t,e){return[t,2*Ug(qg(e))-Pg]};var Ny=function(){return co(so).scale(961/Rg)},Sy=function(){return no(fo).scale(109.5).parallels([30,30])};ho.invert=ho;var Ay=function(){return to(ho).scale(152.63)},Py=function(){return no(po).scale(131.154).center([0,13.9389])};vo.invert=uo(Ug);var Iy=function(){return to(vo).scale(144.049).clipAngle(60)},Ry=function(){function t(){return i=o=null,a}var e,n,r,i,o,a,u=1,s=0,c=0,l=1,f=1,h=Bm,p=null,d=Bm;return a={stream:function(t){return i&&o===t?i:i=h(d(o=t))},clipExtent:function(i){return arguments.length?(d=null==i?(p=e=n=r=null,Bm):ci(p=+i[0][0],e=+i[0][1],n=+i[1][0],r=+i[1][1]),t()):null==p?null:[[p,e],[n,r]]},scale:function(e){return arguments.length?(h=go((u=+e)*l,u*f,s,c),t()):u},translate:function(e){return arguments.length?(h=go(u*l,u*f,s=+e[0],c=+e[1]),t()):[s,c]},reflectX:function(e){return arguments.length?(h=go(u*(l=e?-1:1),u*f,s,c),t()):l<0},reflectY:function(e){return arguments.length?(h=go(u*l,u*(f=e?-1:1),s,c),t()):f<0},fitExtent:function(t,e){return $i(a,t,e)},fitSize:function(t,e){return Qi(a,t,e)}}};mo.invert=uo(mr);var Oy=function(){return to(mo).scale(249.5).clipAngle(90+Ng)};yo.invert=uo(function(t){return 2*Ug(t)});var Dy=function(){return to(yo).scale(250).clipAngle(142)};_o.invert=function(t,e){return[-e,2*Ug(qg(t))-Pg]};var Ly=function(){var t=co(_o),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):(t=e(),[t[1],-t[0]])},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):(t=n(),[t[0],t[1],t[2]-90])},n([0,0,90]).scale(159.155)},Uy=function(){function t(t){var o,a=0;t.eachAfter(function(t){var n=t.children;n?(t.x=bo(n),t.y=Co(n)):(t.x=o?a+=e(t,o):0,t.y=0,o=t)});var u=Eo(t),s=To(t),c=u.x-e(u,s)/2,l=s.x+e(s,u)/2;return t.eachAfter(i?function(e){e.x=(e.x-t.x)*n,e.y=(t.y-e.y)*r}:function(e){e.x=(e.x-c)/(l-c)*n,e.y=(1-(t.y?e.y/t.y:1))*r})}var e=xo,n=1,r=1,i=!1;return t.separation=function(n){return arguments.length?(e=n,t):e},t.size=function(e){return arguments.length?(i=!1,n=+e[0],r=+e[1],t):i?null:[n,r]},t.nodeSize=function(e){return arguments.length?(i=!0,n=+e[0],r=+e[1],t):i?[n,r]:null},t},Fy=function(){return this.eachAfter(ko)},jy=function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r])}while(a.length);return this},By=function(t){for(var e,n,r=this,i=[r];r=i.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},qy=function(t){for(var e,n,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),e=i.children)for(n=0,r=e.length;n<r;++n)o.push(e[n]);for(;i=a.pop();)t(i);return this},zy=function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},Vy=function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},Hy=function(t){for(var e=this,n=No(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},Wy=function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},Yy=function(){var t=[];return this.each(function(e){t.push(e)}),t},Xy=function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},Ky=function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e};Oo.prototype=So.prototype={constructor:Oo,count:Fy,each:jy,eachAfter:qy,eachBefore:By,sum:zy,sort:Vy,path:Hy,ancestors:Wy,descendants:Yy,leaves:Xy,links:Ky,copy:Ao};var Gy=function(t){for(var e,n=(t=t.slice()).length,r=null,i=r;n;){var o=new Do(t[n-1]);i=i?i.next=o:r=o,t[e]=t[--n]}return{head:r,tail:i}},$y=function(t){return Uo(Gy(t),[])},Qy=function(t){return Yo(t),t},Zy=function(t){return function(){return t}},Jy=function(){function t(t){return t.x=n/2,t.y=r/2,e?t.eachBefore(Qo(e)).eachAfter(Zo(i,.5)).eachBefore(Jo(1)):t.eachBefore(Qo($o)).eachAfter(Zo(Go,1)).eachAfter(Zo(i,t.r/Math.min(n,r))).eachBefore(Jo(Math.min(n,r)/(2*t.r))),t}var e=null,n=1,r=1,i=Go;return t.radius=function(n){return arguments.length?(e=Xo(n),t):e},t.size=function(e){return arguments.length?(n=+e[0],r=+e[1],t):[n,r]},t.padding=function(e){return arguments.length?(i="function"==typeof e?e:Zy(+e),t):i},t},t_=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},e_=function(t,e,n,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(r-e)/t.value;++u<s;)o=a[u],o.y0=n,o.y1=i,o.x0=e,o.x1=e+=o.value*c},n_=function(){function t(t){var a=t.height+1;return t.x0=t.y0=i,t.x1=n,t.y1=r/a,t.eachBefore(e(r,a)),o&&t.eachBefore(t_),t}function e(t,e){return function(n){n.children&&e_(n,n.x0,t*(n.depth+1)/e,n.x1,t*(n.depth+2)/e);var r=n.x0,o=n.y0,a=n.x1-i,u=n.y1-i;a<r&&(r=a=(r+a)/2),u<o&&(o=u=(o+u)/2),n.x0=r,n.y0=o,n.x1=a,n.y1=u}}var n=1,r=1,i=0,o=!1;return t.round=function(e){return arguments.length?(o=!!e,t):o},t.size=function(e){return arguments.length?(n=+e[0],r=+e[1],t):[n,r]},t.padding=function(e){return arguments.length?(i=+e,t):i},t},r_="$",i_={depth:-1},o_={},a_=function(){function t(t){var r,i,o,a,u,s,c,l=t.length,f=new Array(l),h={};for(i=0;i<l;++i)r=t[i],u=f[i]=new Oo(r),null!=(s=e(r,i,t))&&(s+="")&&(c=r_+(u.id=s),h[c]=c in h?o_:u);for(i=0;i<l;++i)if(u=f[i],null!=(s=n(t[i],i,t))&&(s+="")){if(!(a=h[r_+s]))throw new Error("missing: "+s);if(a===o_)throw new Error("ambiguous: "+s);a.children?a.children.push(u):a.children=[u],u.parent=a}else{if(o)throw new Error("multiple roots");o=u}if(!o)throw new Error("no root");if(o.parent=i_,o.eachBefore(function(t){t.depth=t.parent.depth+1,--l}).eachBefore(Ro),o.parent=null,l>0)throw new Error("cycle");return o}var e=ta,n=ea;return t.id=function(n){return arguments.length?(e=Ko(n),t):e},t.parentId=function(e){return arguments.length?(n=Ko(e),t):n},t};sa.prototype=Object.create(Oo.prototype);var u_=function(){function t(t){var r=ca(t);if(r.eachAfter(e),r.parent.m=-r.z,r.eachBefore(n),s)t.eachBefore(i);else{var c=t,l=t,f=t;t.eachBefore(function(t){t.x<c.x&&(c=t),t.x>l.x&&(l=t),t.depth>f.depth&&(f=t)});var h=c===l?1:o(c,l)/2,p=h-c.x,d=a/(l.x+h+p),v=u/(f.depth||1);t.eachBefore(function(t){t.x=(t.x+p)*d,t.y=t.depth*v})}return t}function e(t){var e=t.children,n=t.parent.children,i=t.i?n[t.i-1]:null;if(e){aa(t);var a=(e[0].z+e[e.length-1].z)/2;i?(t.z=i.z+o(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+o(t._,i._));t.parent.A=r(t,i,t.parent.A||n[0])}function n(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function r(t,e,n){if(e){for(var r,i=t,a=t,u=e,s=i.parent.children[0],c=i.m,l=a.m,f=u.m,h=s.m;u=ia(u),i=ra(i),u&&i;)s=ra(s),a=ia(a),a.a=t,r=u.z+f-i.z-c+o(u._,i._),r>0&&(oa(ua(u,t,n),t,r),c+=r,l+=r),f+=u.m,c+=i.m,h+=s.m,l+=a.m;u&&!ia(a)&&(a.t=u,a.m+=f-l),i&&!ra(s)&&(s.t=i,s.m+=c-h,n=t)}return n}function i(t){t.x*=a,t.y=t.depth*u}var o=na,a=1,u=1,s=null;return t.separation=function(e){return arguments.length?(o=e,t):o},t.size=function(e){return arguments.length?(s=!1,a=+e[0],u=+e[1],t):s?null:[a,u]},t.nodeSize=function(e){return arguments.length?(s=!0,a=+e[0],u=+e[1],t):s?[a,u]:null},t},s_=function(t,e,n,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(i-n)/t.value;++u<s;)o=a[u],o.x0=e,o.x1=r,o.y0=n,o.y1=n+=o.value*c},c_=(1+Math.sqrt(5))/2,l_=function t(e){function n(t,n,r,i,o){la(e,t,n,r,i,o)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(c_),f_=function(){function t(t){return t.x0=t.y0=0,t.x1=i,t.y1=o,t.eachBefore(e),a=[0],r&&t.eachBefore(t_),t}function e(t){var e=a[t.depth],r=t.x0+e,i=t.y0+e,o=t.x1-e,h=t.y1-e;o<r&&(r=o=(r+o)/2),h<i&&(i=h=(i+h)/2),t.x0=r,t.y0=i,t.x1=o,t.y1=h,t.children&&(e=a[t.depth+1]=u(t)/2,r+=f(t)-e,i+=s(t)-e,o-=c(t)-e,h-=l(t)-e,o<r&&(r=o=(r+o)/2),h<i&&(i=h=(i+h)/2),n(t,r,i,o,h))}var n=l_,r=!1,i=1,o=1,a=[0],u=Go,s=Go,c=Go,l=Go,f=Go;return t.round=function(e){return arguments.length?(r=!!e,t):r},t.size=function(e){return arguments.length?(i=+e[0],o=+e[1],t):[i,o]},t.tile=function(e){return arguments.length?(n=Ko(e),t):n},t.padding=function(e){return arguments.length?t.paddingInner(e).paddingOuter(e):t.paddingInner()},t.paddingInner=function(e){return arguments.length?(u="function"==typeof e?e:Zy(+e),t):u},t.paddingOuter=function(e){return arguments.length?t.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):t.paddingTop()},t.paddingTop=function(e){return arguments.length?(s="function"==typeof e?e:Zy(+e),t):s},t.paddingRight=function(e){return arguments.length?(c="function"==typeof e?e:Zy(+e),t):c},t.paddingBottom=function(e){return arguments.length?(l="function"==typeof e?e:Zy(+e),t):l},t.paddingLeft=function(e){return arguments.length?(f="function"==typeof e?e:Zy(+e),t):f},t},h_=function(t,e,n,r,i){function o(t,e,n,r,i,a,u){if(t>=e-1){var c=s[t];return c.x0=r,c.y0=i,c.x1=a,c.y1=u,void 0}for(var f=l[t],h=n/2+f,p=t+1,d=e-1;p<d;){var v=p+d>>>1;l[v]<h?p=v+1:d=v}var g=l[p]-f,m=n-g;if(u-i>a-r){var y=(i*m+u*g)/n;o(t,p,g,r,i,a,y),o(p,e,m,r,y,a,u)}else{var _=(r*m+a*g)/n;o(t,p,g,r,i,_,u),o(p,e,m,_,i,a,u)}}var a,u,s=t.children,c=s.length,l=new Array(c+1);for(l[0]=u=a=0;a<c;++a)l[a+1]=u+=s[a].value;o(0,c,t.value,e,n,r,i)},p_=function(t,e,n,r,i){(1&t.depth?s_:e_)(t,e,n,r,i)},d_=function t(e){function n(t,n,r,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,u,s,c,l,f=-1,h=a.length,p=t.value;++f<h;){for(u=a[f],s=u.children,c=u.value=0,l=s.length;c<l;++c)u.value+=s[c].value;u.dice?e_(u,n,r,i,r+=(o-r)*u.value/p):s_(u,n,r,n+=(i-n)*u.value/p,o),p-=u.value}else t._squarify=a=la(e,t,n,r,i,o),a.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(c_),v_=function(t){for(var e,n=-1,r=t.length,i=t[r-1],o=0;++n<r;)e=i,i=t[n],o+=e[1]*i[0]-e[0]*i[1];return o/2},g_=function(t){for(var e,n,r=-1,i=t.length,o=0,a=0,u=t[i-1],s=0;++r<i;)e=u,u=t[r],s+=n=e[0]*u[1]-u[0]*e[1],o+=(e[0]+u[0])*n,a+=(e[1]+u[1])*n;return s*=3,[o/s,a/s]},m_=function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])},y_=function(t){if((n=t.length)<3)return null;var e,n,r=new Array(n),i=new Array(n);for(e=0;e<n;++e)r[e]=[+t[e][0],+t[e][1],e];for(r.sort(fa),e=0;e<n;++e)i[e]=[r[e][0],-r[e][1]];var o=ha(r),a=ha(i),u=a[0]===o[0],s=a[a.length-1]===o[o.length-1],c=[];for(e=o.length-1;e>=0;--e)c.push(t[r[o[e]][2]]);for(e=+u;e<a.length-s;++e)c.push(t[r[a[e]][2]]);return c},__=function(t,e){for(var n,r,i=t.length,o=t[i-1],a=e[0],u=e[1],s=o[0],c=o[1],l=!1,f=0;f<i;++f)o=t[f],n=o[0],r=o[1],r>u!=c>u&&a<(s-n)*(u-r)/(c-r)+n&&(l=!l),s=n,c=r;return l},x_=function(t){for(var e,n,r=-1,i=t.length,o=t[i-1],a=o[0],u=o[1],s=0;++r<i;)e=a,n=u,o=t[r],a=o[0],u=o[1],e-=a,n-=u,s+=Math.sqrt(e*e+n*n);return s},b_=[].slice,w_={};pa.prototype=_a.prototype={constructor:pa,defer:function(t){if("function"!=typeof t||this._call)throw new Error;if(null!=this._error)return this;var e=b_.call(arguments,1);return e.push(t),++this._waiting,this._tasks.push(e),da(this),this},abort:function(){return null==this._error&&ma(this,new Error("abort")),this},await:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=function(e,n){t.apply(null,[e].concat(n))},ya(this),this},awaitAll:function(t){if("function"!=typeof t||this._call)throw new Error;return this._call=t,ya(this),this}};var C_=function(t,e){return t=null==t?0:+t,e=null==e?1:+e,1===arguments.length?(e=t,t=0):e-=t,function(){return Math.random()*e+t}},M_=function(t,e){var n,r;return t=null==t?0:+t,e=null==e?1:+e,function(){var i;if(null!=n)i=n,n=null;else do{n=2*Math.random()-1,i=2*Math.random()-1,r=n*n+i*i}while(!r||r>1);return t+e*i*Math.sqrt(-2*Math.log(r)/r)}},E_=function(){var t=M_.apply(this,arguments);return function(){return Math.exp(t())}},T_=function(t){return function(){for(var e=0,n=0;n<t;++n)e+=Math.random();return e}},k_=function(t){var e=T_(t);return function(){return e()/t}},N_=function(t){return function(){return-Math.log(1-Math.random())/t}},S_=function(t,e){function n(t){var e,n=c.status;if(!n&&ba(c)||n>=200&&n<300||304===n){if(o)try{e=o.call(r,c)}catch(t){return void u.call("error",r,t)}else e=c;u.call("load",r,e)}else u.call("error",r,t)}var r,i,o,a,u=d("beforesend","progress","load","error"),s=qn(),c=new XMLHttpRequest,l=null,f=null,h=0;if("undefined"==typeof XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(t)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=c.ontimeout=n:c.onreadystatechange=function(t){c.readyState>3&&n(t)},c.onprogress=function(t){u.call("progress",r,t)},r={header:function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?s.get(t):(null==e?s.remove(t):s.set(t,e+""),r)},mimeType:function(t){return arguments.length?(i=null==t?null:t+"",r):i},responseType:function(t){return arguments.length?(a=t,r):a},timeout:function(t){return arguments.length?(h=+t,r):h},user:function(t){return arguments.length<1?l:(l=null==t?null:t+"",r)},password:function(t){return arguments.length<1?f:(f=null==t?null:t+"",r)},response:function(t){return o=t,r},get:function(t,e){return r.send("GET",t,e)},post:function(t,e){return r.send("POST",t,e)},send:function(e,n,o){return c.open(e,t,!0,l,f),null==i||s.has("accept")||s.set("accept",i+",*/*"),c.setRequestHeader&&s.each(function(t,e){c.setRequestHeader(e,t)}),null!=i&&c.overrideMimeType&&c.overrideMimeType(i),null!=a&&(c.responseType=a),h>0&&(c.timeout=h),null==o&&"function"==typeof n&&(o=n,n=null),null!=o&&1===o.length&&(o=xa(o)),null!=o&&r.on("error",o).on("load",function(t){o(null,t)}),u.call("beforesend",r,c),c.send(null==n?null:n),r},abort:function(){return c.abort(),r},on:function(){var t=u.on.apply(u,arguments);return t===u?r:t}},null!=e){if("function"!=typeof e)throw new Error("invalid callback: "+e);return r.get(e)}return r},A_=function(t,e){return function(n,r){var i=S_(n).mimeType(t).response(e);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return i.get(r)}return i}},P_=A_("text/html",function(t){return document.createRange().createContextualFragment(t.responseText)}),I_=A_("application/json",function(t){return JSON.parse(t.responseText)}),R_=A_("text/plain",function(t){return t.responseText}),O_=A_("application/xml",function(t){var e=t.responseXML;if(!e)throw new Error("parse error");return e}),D_=function(t,e){return function(n,r,i){arguments.length<3&&(i=r,r=null);var o=S_(n).mimeType(t);return o.row=function(t){return arguments.length?o.response(wa(e,r=t)):r},o.row(r),i?o.get(i):o}},L_=D_("text/csv",Zd),U_=D_("text/tab-separated-values",rv),F_=Array.prototype,j_=F_.map,B_=F_.slice,q_={name:"implicit"},z_=function(t){return function(){return t}},V_=function(t){return+t},H_=[0,1],W_=function(e,n,i){var o,a=e[0],u=e[e.length-1],s=r(a,u,null==n?10:n);switch(i=fr(null==i?",f":i),i.type){case"s":var c=Math.max(Math.abs(a),Math.abs(u));return null!=i.precision||isNaN(o=Xv(s,c))||(i.precision=o),t.formatPrefix(i,c);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=Kv(s,Math.max(Math.abs(a),Math.abs(u))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=Yv(s))||(i.precision=o-2*("%"===i.type))}return t.format(i)},Y_=function(t,e){t=t.slice();var n,r=0,i=t.length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t},X_=new Date,K_=new Date,G_=$a(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});G_.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?$a(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):G_:null};var $_=G_.range,Q_=1e3,Z_=6e4,J_=36e5,tx=864e5,ex=6048e5,nx=$a(function(t){t.setTime(Math.floor(t/Q_)*Q_)},function(t,e){t.setTime(+t+e*Q_)},function(t,e){return(e-t)/Q_},function(t){return t.getUTCSeconds()}),rx=nx.range,ix=$a(function(t){t.setTime(Math.floor(t/Z_)*Z_)},function(t,e){t.setTime(+t+e*Z_)},function(t,e){return(e-t)/Z_},function(t){return t.getMinutes()}),ox=ix.range,ax=$a(function(t){var e=t.getTimezoneOffset()*Z_%J_;e<0&&(e+=J_),t.setTime(Math.floor((+t-e)/J_)*J_+e)},function(t,e){t.setTime(+t+e*J_)},function(t,e){return(e-t)/J_},function(t){return t.getHours()}),ux=ax.range,sx=$a(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Z_)/tx},function(t){return t.getDate()-1}),cx=sx.range,lx=Qa(0),fx=Qa(1),hx=Qa(2),px=Qa(3),dx=Qa(4),vx=Qa(5),gx=Qa(6),mx=lx.range,yx=fx.range,_x=hx.range,xx=px.range,bx=dx.range,wx=vx.range,Cx=gx.range,Mx=$a(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),Ex=Mx.range,Tx=$a(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Tx.every=function(t){return isFinite(t=Math.floor(t))&&t>0?$a(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var kx=Tx.range,Nx=$a(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*Z_)},function(t,e){return(e-t)/Z_},function(t){return t.getUTCMinutes()}),Sx=Nx.range,Ax=$a(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*J_)},function(t,e){return(e-t)/J_},function(t){return t.getUTCHours()}),Px=Ax.range,Ix=$a(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/tx},function(t){return t.getUTCDate()-1}),Rx=Ix.range,Ox=Za(0),Dx=Za(1),Lx=Za(2),Ux=Za(3),Fx=Za(4),jx=Za(5),Bx=Za(6),qx=Ox.range,zx=Dx.range,Vx=Lx.range,Hx=Ux.range,Wx=Fx.range,Yx=jx.range,Xx=Bx.range,Kx=$a(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),Gx=Kx.range,$x=$a(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});$x.every=function(t){return isFinite(t=Math.floor(t))&&t>0?$a(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var Qx,Zx=$x.range,Jx={"-":"",_:" ",0:"0"},tb=/^\s*\d+/,eb=/^%/,nb=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;$u({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var rb="%Y-%m-%dT%H:%M:%S.%LZ",ib=Date.prototype.toISOString?Qu:t.utcFormat(rb),ob=+new Date("2000-01-01T00:00:00.000Z")?Zu:t.utcParse(rb),ab=1e3,ub=60*ab,sb=60*ub,cb=24*sb,lb=7*cb,fb=30*cb,hb=365*cb,pb=function(){return es(Tx,Mx,lx,sx,ax,ix,nx,G_,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},db=function(){return es($x,Kx,Ox,Ix,Ax,Nx,nx,G_,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},vb=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})},gb=vb("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),mb=vb("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),yb=vb("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),_b=vb("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),xb=Yh(Yt(300,.5,0),Yt(-240,.5,1)),bb=Yh(Yt(-100,.75,.35),Yt(80,1.5,.8)),wb=Yh(Yt(260,.75,.35),Yt(80,1.5,.8)),Cb=Yt(),Mb=function(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return Cb.h=360*t-100,Cb.s=1.5-1.5*e,Cb.l=.8-.9*e,Cb+""},Eb=ns(vb("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Tb=ns(vb("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),kb=ns(vb("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Nb=ns(vb("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),Sb=function(t){return function(){return t}},Ab=Math.abs,Pb=Math.atan2,Ib=Math.cos,Rb=Math.max,Ob=Math.min,Db=Math.sin,Lb=Math.sqrt,Ub=1e-12,Fb=Math.PI,jb=Fb/2,Bb=2*Fb,qb=function(){function t(){var t,c,l=+e.apply(this,arguments),f=+n.apply(this,arguments),h=o.apply(this,arguments)-jb,p=a.apply(this,arguments)-jb,d=Ab(p-h),v=p>h;if(s||(s=t=On()),f<l&&(c=f,f=l,l=c),f>Ub)if(d>Bb-Ub)s.moveTo(f*Ib(h),f*Db(h)),s.arc(0,0,f,h,p,!v),l>Ub&&(s.moveTo(l*Ib(p),l*Db(p)),s.arc(0,0,l,p,h,v));else{var g,m,y=h,_=p,x=h,b=p,w=d,C=d,M=u.apply(this,arguments)/2,E=M>Ub&&(i?+i.apply(this,arguments):Lb(l*l+f*f)),T=Ob(Ab(f-l)/2,+r.apply(this,arguments)),k=T,N=T;if(E>Ub){var S=os(E/l*Db(M)),A=os(E/f*Db(M));(w-=2*S)>Ub?(S*=v?1:-1,x+=S,b-=S):(w=0,x=b=(h+p)/2),(C-=2*A)>Ub?(A*=v?1:-1,y+=A,_-=A):(C=0,y=_=(h+p)/2)}var P=f*Ib(y),I=f*Db(y),R=l*Ib(b),O=l*Db(b);if(T>Ub){var D=f*Ib(_),L=f*Db(_),U=l*Ib(x),F=l*Db(x);if(d<Fb){var j=w>Ub?fs(P,I,U,F,D,L,R,O):[R,O],B=P-j[0],q=I-j[1],z=D-j[0],V=L-j[1],H=1/Db(is((B*z+q*V)/(Lb(B*B+q*q)*Lb(z*z+V*V)))/2),W=Lb(j[0]*j[0]+j[1]*j[1]);k=Ob(T,(l-W)/(H-1)),N=Ob(T,(f-W)/(H+1))}}C>Ub?N>Ub?(g=hs(U,F,P,I,f,N,v),m=hs(D,L,R,O,f,N,v),s.moveTo(g.cx+g.x01,g.cy+g.y01),N<T?s.arc(g.cx,g.cy,N,Pb(g.y01,g.x01),Pb(m.y01,m.x01),!v):(s.arc(g.cx,g.cy,N,Pb(g.y01,g.x01),Pb(g.y11,g.x11),!v),s.arc(0,0,f,Pb(g.cy+g.y11,g.cx+g.x11),Pb(m.cy+m.y11,m.cx+m.x11),!v),s.arc(m.cx,m.cy,N,Pb(m.y11,m.x11),Pb(m.y01,m.x01),!v))):(s.moveTo(P,I),s.arc(0,0,f,y,_,!v)):s.moveTo(P,I),l>Ub&&w>Ub?k>Ub?(g=hs(R,O,D,L,l,-k,v),m=hs(P,I,U,F,l,-k,v),s.lineTo(g.cx+g.x01,g.cy+g.y01),k<T?s.arc(g.cx,g.cy,k,Pb(g.y01,g.x01),Pb(m.y01,m.x01),!v):(s.arc(g.cx,g.cy,k,Pb(g.y01,g.x01),Pb(g.y11,g.x11),!v),s.arc(0,0,l,Pb(g.cy+g.y11,g.cx+g.x11),Pb(m.cy+m.y11,m.cx+m.x11),v),s.arc(m.cx,m.cy,k,Pb(m.y11,m.x11),Pb(m.y01,m.x01),!v))):s.arc(0,0,l,b,x,v):s.lineTo(R,O)}else s.moveTo(0,0);if(s.closePath(),t)return s=null,t+""||null}var e=as,n=us,r=Sb(0),i=null,o=ss,a=cs,u=ls,s=null;return t.centroid=function(){var t=(+e.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +a.apply(this,arguments))/2-Fb/2;return[Ib(r)*t,Db(r)*t]},t.innerRadius=function(n){return arguments.length?(e="function"==typeof n?n:Sb(+n),t):e},t.outerRadius=function(e){return arguments.length?(n="function"==typeof e?e:Sb(+e),t):n},t.cornerRadius=function(e){return arguments.length?(r="function"==typeof e?e:Sb(+e),t):r},t.padRadius=function(e){return arguments.length?(i=null==e?null:"function"==typeof e?e:Sb(+e),t):i},t.startAngle=function(e){return arguments.length?(o="function"==typeof e?e:Sb(+e),t):o},t.endAngle=function(e){return arguments.length?(a="function"==typeof e?e:Sb(+e),t):a},t.padAngle=function(e){return arguments.length?(u="function"==typeof e?e:Sb(+e),t):u},t.context=function(e){return arguments.length?(s=null==e?null:e,t):s},t};ps.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var zb=function(t){return new ps(t)},Vb=function(){function t(t){var u,s,c,l=t.length,f=!1;for(null==i&&(a=o(c=On())),u=0;u<=l;++u)!(u<l&&r(s=t[u],u,t))===f&&((f=!f)?a.lineStart():a.lineEnd()),f&&a.point(+e(s,u,t),+n(s,u,t));if(c)return a=null,c+""||null}var e=ds,n=vs,r=Sb(!0),i=null,o=zb,a=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:Sb(+n),t):e},t.y=function(e){return arguments.length?(n="function"==typeof e?e:Sb(+e),t):n},t.defined=function(e){return arguments.length?(r="function"==typeof e?e:Sb(!!e),t):r},t.curve=function(e){return arguments.length?(o=e,null!=i&&(a=o(i)),t):o},t.context=function(e){return arguments.length?(null==e?i=a=null:a=o(i=e),t):i},t},Hb=function(){function t(t){var e,l,f,h,p,d=t.length,v=!1,g=new Array(d),m=new Array(d);for(null==u&&(c=s(p=On())),e=0;e<=d;++e){if(!(e<d&&a(h=t[e],e,t))===v)if(v=!v)l=e,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),f=e-1;f>=l;--f)c.point(g[f],m[f]);c.lineEnd(),c.areaEnd()}v&&(g[e]=+n(h,e,t),m[e]=+i(h,e,t),c.point(r?+r(h,e,t):g[e],o?+o(h,e,t):m[e]))}if(p)return c=null,p+""||null}function e(){return Vb().defined(a).curve(s).context(u)}var n=ds,r=null,i=Sb(0),o=vs,a=Sb(!0),u=null,s=zb,c=null;return t.x=function(e){return arguments.length?(n="function"==typeof e?e:Sb(+e),r=null,t):n},t.x0=function(e){return arguments.length?(n="function"==typeof e?e:Sb(+e),t):n},t.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Sb(+e),t):r},t.y=function(e){return arguments.length?(i="function"==typeof e?e:Sb(+e),o=null,t):i},t.y0=function(e){return arguments.length?(i="function"==typeof e?e:Sb(+e),t):i},t.y1=function(e){return arguments.length?(o=null==e?null:"function"==typeof e?e:Sb(+e),t):o},t.lineX0=t.lineY0=function(){return e().x(n).y(i)},t.lineY1=function(){return e().x(n).y(o)},t.lineX1=function(){return e().x(r).y(i)},t.defined=function(e){return arguments.length?(a="function"==typeof e?e:Sb(!!e),t):a},t.curve=function(e){return arguments.length?(s=e,null!=u&&(c=s(u)),t):s},t.context=function(e){return arguments.length?(null==e?u=c=null:c=s(u=e),t):u},t},Wb=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},Yb=function(t){return t},Xb=function(){function t(t){var u,s,c,l,f,h=t.length,p=0,d=new Array(h),v=new Array(h),g=+i.apply(this,arguments),m=Math.min(Bb,Math.max(-Bb,o.apply(this,arguments)-g)),y=Math.min(Math.abs(m)/h,a.apply(this,arguments)),_=y*(m<0?-1:1);for(u=0;u<h;++u)(f=v[d[u]=u]=+e(t[u],u,t))>0&&(p+=f);for(null!=n?d.sort(function(t,e){return n(v[t],v[e])}):null!=r&&d.sort(function(e,n){return r(t[e],t[n])}),u=0,c=p?(m-h*_)/p:0;u<h;++u,g=l)s=d[u],f=v[s],l=g+(f>0?f*c:0)+_,v[s]={data:t[s],index:u,value:f,startAngle:g,endAngle:l,padAngle:y};return v}var e=Yb,n=Wb,r=null,i=Sb(0),o=Sb(Bb),a=Sb(0);return t.value=function(n){return arguments.length?(e="function"==typeof n?n:Sb(+n),t):e},t.sortValues=function(e){return arguments.length?(n=e,r=null,t):n},t.sort=function(e){return arguments.length?(r=e,n=null,t):r},t.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:Sb(+e),t):i},t.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:Sb(+e),t):o},t.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:Sb(+e),t):a},t},Kb=ms(zb);gs.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var Gb=function(){return ys(Vb().curve(Kb))},$b=function(){var t=Hb().curve(Kb),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return ys(n())},delete t.lineX0,t.lineEndAngle=function(){return ys(r())},delete t.lineX1,t.lineInnerRadius=function(){return ys(i())},delete t.lineY0,t.lineOuterRadius=function(){return ys(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(ms(t)):e()._curve},t},Qb={draw:function(t,e){var n=Math.sqrt(e/Fb);t.moveTo(n,0),t.arc(0,0,n,0,Bb)}},Zb={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},Jb=Math.sqrt(1/3),tw=2*Jb,ew={draw:function(t,e){var n=Math.sqrt(e/tw),r=n*Jb;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},nw=.8908130915292852,rw=Math.sin(Fb/10)/Math.sin(7*Fb/10),iw=Math.sin(Bb/10)*rw,ow=-Math.cos(Bb/10)*rw,aw={draw:function(t,e){var n=Math.sqrt(e*nw),r=iw*n,i=ow*n;t.moveTo(0,-n),t.lineTo(r,i);for(var o=1;o<5;++o){var a=Bb*o/5,u=Math.cos(a),s=Math.sin(a);t.lineTo(s*n,-u*n),t.lineTo(u*r-s*i,s*r+u*i)}t.closePath()}},uw={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},sw=Math.sqrt(3),cw={draw:function(t,e){var n=-Math.sqrt(e/(3*sw));t.moveTo(0,2*n),t.lineTo(-sw*n,-n),t.lineTo(sw*n,-n),t.closePath()}},lw=-.5,fw=Math.sqrt(3)/2,hw=1/Math.sqrt(12),pw=3*(hw/2+1),dw={draw:function(t,e){var n=Math.sqrt(e/pw),r=n/2,i=n*hw,o=r,a=n*hw+n,u=-o,s=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,s),t.lineTo(lw*r-fw*i,fw*r+lw*i),t.lineTo(lw*o-fw*a,fw*o+lw*a),t.lineTo(lw*u-fw*s,fw*u+lw*s),t.lineTo(lw*r+fw*i,lw*i-fw*r),t.lineTo(lw*o+fw*a,lw*a-fw*o),t.lineTo(lw*u+fw*s,lw*s-fw*u),t.closePath()}},vw=[Qb,Zb,ew,uw,aw,cw,dw],gw=function(){function t(){var t;if(r||(r=t=On()),e.apply(this,arguments).draw(r,+n.apply(this,arguments)),t)return r=null,t+""||null}var e=Sb(Qb),n=Sb(64),r=null;return t.type=function(n){return arguments.length?(e="function"==typeof n?n:Sb(n),t):e},t.size=function(e){return arguments.length?(n="function"==typeof e?e:Sb(+e),t):n},t.context=function(e){return arguments.length?(r=null==e?null:e,t):r},t},mw=function(){};xs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:_s(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:_s(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var yw=function(t){return new xs(t)};bs.prototype={areaStart:mw,areaEnd:mw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:_s(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var _w=function(t){return new bs(t)};ws.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:_s(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var xw=function(t){return new ws(t)};Cs.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,u=e[n]-o,s=-1;++s<=n;)r=s/n,this._basis.point(this._beta*t[s]+(1-this._beta)*(i+r*a),this._beta*e[s]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var bw=function t(e){function n(t){return 1===e?new xs(t):new Cs(t,e)}return n.beta=function(e){return t(+e)},n}(.85);Es.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ms(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Ms(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ww=function t(e){function n(t){return new Es(t,e)}return n.tension=function(e){return t(+e)},n}(0);Ts.prototype={areaStart:mw,areaEnd:mw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ms(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Cw=function t(e){function n(t){return new Ts(t,e)}return n.tension=function(e){return t(+e)},n}(0);ks.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ms(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Mw=function t(e){function n(t){return new ks(t,e)}return n.tension=function(e){return t(+e)},n}(0);Ss.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Ns(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ew=function t(e){function n(t){return e?new Ss(t,e):new Es(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);As.prototype={areaStart:mw,areaEnd:mw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ns(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Tw=function t(e){function n(t){return e?new As(t,e):new Ts(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);Ps.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ns(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var kw=function t(e){function n(t){return e?new Ps(t,e):new ks(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);Is.prototype={areaStart:mw,areaEnd:mw,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};var Nw=function(t){return new Is(t)};Us.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ls(this,this._t0,Ds(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,t!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Ls(this,Ds(this,n=Os(this,t,e)),n);break;default:Ls(this,this._t0,n=Os(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Fs.prototype=Object.create(Us.prototype)).point=function(t,e){Us.prototype.point.call(this,e,t)},js.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},zs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=Vs(t),i=Vs(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var Sw=function(t){return new zs(t)};Hs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var Aw=function(t){return new Hs(t,.5)},Pw=Array.prototype.slice,Iw=function(t,e){if((r=t.length)>1)for(var n,r,i=1,o=t[e[0]],a=o.length;i<r;++i){n=o,o=t[e[i]];for(var u=0;u<a;++u)o[u][1]+=o[u][0]=isNaN(n[u][1])?n[u][0]:n[u][1]}},Rw=function(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n},Ow=function(){function t(t){var o,a,u=e.apply(this,arguments),s=t.length,c=u.length,l=new Array(c);for(o=0;o<c;++o){for(var f,h=u[o],p=l[o]=new Array(s),d=0;d<s;++d)p[d]=f=[0,+i(t[d],h,d,t)],f.data=t[d];p.key=h}for(o=0,a=n(l);o<c;++o)l[a[o]].index=o;return r(l,a),l}var e=Sb([]),n=Rw,r=Iw,i=Xs;return t.keys=function(n){return arguments.length?(e="function"==typeof n?n:Sb(Pw.call(n)),t):e},t.value=function(e){return arguments.length?(i="function"==typeof e?e:Sb(+e),t):i},t.order=function(e){return arguments.length?(n=null==e?Rw:"function"==typeof e?e:Sb(Pw.call(e)),t):n},t.offset=function(e){return arguments.length?(r=null==e?Iw:e,t):r},t},Dw=function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}Iw(t,e)}},Lw=function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,u=0;a<n;++a)u+=t[a][r][1]||0;i[r][1]+=i[r][0]=-u/2}Iw(t,e)}},Uw=function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var u=0,s=0,c=0;u<i;++u){for(var l=t[e[u]],f=l[a][1]||0,h=l[a-1][1]||0,p=(f-h)/2,d=0;d<u;++d){var v=t[e[d]];p+=(v[a][1]||0)-(v[a-1][1]||0)}s+=f,c+=p*f}n[a-1][1]+=n[a-1][0]=o,s&&(o-=c/s)}n[a-1][1]+=n[a-1][0]=o,Iw(t,e)}},Fw=function(t){var e=t.map(Ks);return Rw(t).sort(function(t,n){return e[t]-e[n]})},jw=function(t){return Fw(t).reverse()},Bw=function(t){var e,n,r=t.length,i=t.map(Ks),o=Rw(t).sort(function(t,e){return i[e]-i[t]}),a=0,u=0,s=[],c=[];for(e=0;e<r;++e)n=o[e],a<u?(a+=i[n],s.push(n)):(u+=i[n],c.push(n));return c.reverse().concat(s)},qw=function(t){return Rw(t).reverse()},zw=function(t){return function(){return t}};Qs.prototype={constructor:Qs,insert:function(t,e){var n,r,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=ec(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)r=n.U,n===r.L?(i=r.R,i&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.R&&(Js(this,n),t=n,n=t.U),n.C=!1,r.C=!0,tc(this,r))):(i=r.L,i&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.L&&(tc(this,n),t=n,n=t.U),n.C=!1,r.C=!0,Js(this,r))),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,i=t.U,o=t.L,a=t.R;if(n=o?a?ec(a):o:a,i?i.L===t?i.L=n:i.R=n:this._=n,o&&a?(r=n.C,n.C=t.C,n.L=o,o.U=n,n!==a?(i=n.U,n.U=t.U,t=n.R,i.L=t,n.R=a,a.U=n):(n.U=i,i=n,t=n.R)):(r=t.C,t=n),t&&(t.U=i),!r){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===i.L){if(e=i.R,e.C&&(e.C=!1,i.C=!0,Js(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,tc(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,Js(this,i),t=this._;break}}else if(e=i.L,e.C&&(e.C=!1,i.C=!0,tc(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Js(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,tc(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var Vw,Hw,Ww,Yw,Xw,Kw=[],Gw=[],$w=1e-6,Qw=1e-12;Tc.prototype={constructor:Tc,polygons:function(){var t=this.edges;return this.cells.map(function(e){var n=e.halfedges.map(function(n){return lc(e,t[n])});return n.data=e.site.data,n})},triangles:function(){var t=[],e=this.edges;return this.cells.forEach(function(n,r){if(o=(i=n.halfedges).length)for(var i,o,a,u=n.site,s=-1,c=e[i[o-1]],l=c.left===u?c.right:c.left;++s<o;)a=l,c=e[i[s]],l=c.left===u?c.right:c.left,a&&l&&r<a.index&&r<l.index&&Mc(u,a,l)<0&&t.push([u.data,a.data,l.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,e,n){for(var r,i,o=this,a=o._found||0,u=o.cells.length;!(i=o.cells[a]);)if(++a>=u)return null;var s=t-i.site[0],c=e-i.site[1],l=s*s+c*c;do{i=o.cells[r=a],a=null,i.halfedges.forEach(function(n){var r=o.edges[n],u=r.left;if(u!==i.site&&u||(u=r.right)){var s=t-u[0],c=e-u[1],f=s*s+c*c;f<l&&(l=f,a=u.index)}})}while(null!==a);return o._found=r,null==n||l<=n*n?i.site:null}};var Zw=function(){function t(t){return new Tc(t.map(function(r,i){var o=[Math.round(e(r,i,t)/$w)*$w,Math.round(n(r,i,t)/$w)*$w];return o.index=i,o.data=r,o}),r)}var e=Gs,n=$s,r=null;return t.polygons=function(e){return t(e).polygons()},t.links=function(e){return t(e).links()},t.triangles=function(e){return t(e).triangles()},t.x=function(n){return arguments.length?(e="function"==typeof n?n:zw(+n),t):e},t.y=function(e){return arguments.length?(n="function"==typeof e?e:zw(+e),t):n},t.extent=function(e){return arguments.length?(r=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],t):r&&[[r[0][0],r[0][1]],[r[1][0],r[1][1]]]},t.size=function(e){return arguments.length?(r=null==e?null:[[0,0],[+e[0],+e[1]]],t):r&&[r[1][0]-r[0][0],r[1][1]-r[0][1]]},t},Jw=function(t){return function(){return t}};Nc.prototype={constructor:Nc,scale:function(t){return 1===t?this:new Nc(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Nc(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var tC=new Nc(1,0,0);Sc.prototype=Nc.prototype;var eC=function(){t.event.preventDefault(),t.event.stopImmediatePropagation()},nC=function(){function e(t){t.on("wheel.zoom",c).on("mousedown.zoom",l).on("dblclick.zoom",f).on("touchstart.zoom",h).on("touchmove.zoom",p).on("touchend.zoom touchcancel.zoom",v).style("-webkit-tap-highlight-color","rgba(0,0,0,0)").property("__zoom",Rc)}function n(t,e){return e=Math.max(x,Math.min(b,e)),e===t.k?t:new Nc(e,t.x,t.y)}function r(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new Nc(t.k,r,i)}function i(t,e){var n=t.invertX(e[0][0])-w,r=t.invertX(e[1][0])-C,i=t.invertY(e[0][1])-M,o=t.invertY(e[1][1])-E;return t.translate(r>n?(n+r)/2:Math.min(0,n)||Math.max(0,r),o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o))}function o(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function a(t,e,n){t.on("start.zoom",function(){u(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){u(this,arguments).end()}).tween("zoom",function(){var t=this,r=arguments,i=u(t,r),a=_.apply(t,r),s=n||o(a),c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),l=t.__zoom,f="function"==typeof e?e.apply(t,r):e,h=k(l.invert(s).concat(c/l.k),f.invert(s).concat(c/f.k));return function(t){if(1===t)t=f;else{var e=h(t),n=c/e[2];t=new Nc(n,s[0]-e[0]*n,s[1]-e[1]*n)}i.zoom(null,t)}})}function u(t,e){for(var n,r=0,i=S.length;r<i;++r)if((n=S[r]).that===t)return n;return new s(t,e)}function s(t,e){this.that=t,this.args=e,this.index=-1,this.active=0,this.extent=_.apply(t,e)}function c(){function e(){o.wheel=null,o.end()}if(y.apply(this,arguments)){var o=u(this,arguments),a=this.__zoom,s=Math.max(x,Math.min(b,a.k*Math.pow(2,-t.event.deltaY*(t.event.deltaMode?120:1)/500))),c=Bl(this);if(o.wheel)o.mouse[0][0]===c[0]&&o.mouse[0][1]===c[1]||(o.mouse[1]=a.invert(o.mouse[0]=c)),clearTimeout(o.wheel);else{if(a.k===s)return;o.mouse=[c,a.invert(c)],vp(this),o.start()}eC(),o.wheel=setTimeout(e,I),o.zoom("mouse",i(r(n(a,s),o.mouse[0],o.mouse[1]),o.extent))}}function l(){function e(){eC(),o.moved=!0,o.zoom("mouse",i(r(o.that.__zoom,o.mouse[0]=Bl(o.that),o.mouse[1]),o.extent))}function n(){a.on("mousemove.zoom mouseup.zoom",null),mt(t.event.view,o.moved),eC(),o.end()}if(!m&&y.apply(this,arguments)){var o=u(this,arguments),a=Cf(t.event.view).on("mousemove.zoom",e,!0).on("mouseup.zoom",n,!0),s=Bl(this);Nf(t.event.view),Ac(),o.mouse=[s,this.__zoom.invert(s)],vp(this),o.start()}}function f(){if(y.apply(this,arguments)){var o=this.__zoom,u=Bl(this),s=o.invert(u),c=o.k*(t.event.shiftKey?.5:2),l=i(r(n(o,c),u,s),_.apply(this,arguments));eC(),T>0?Cf(this).transition().duration(T).call(a,l,u):Cf(this).call(e.transform,l)}}function h(){if(y.apply(this,arguments)){var e,n,r,i,o=u(this,arguments),a=t.event.changedTouches,s=a.length;for(Ac(),n=0;n<s;++n)r=a[n],i=Ef(this,a,r.identifier),i=[i,this.__zoom.invert(i),r.identifier],o.touch0?o.touch1||(o.touch1=i):(o.touch0=i,e=!0);if(g&&(g=clearTimeout(g),!o.touch1))return o.end(),void((i=Cf(this).on("dblclick.zoom"))&&i.apply(this,arguments));e&&(g=setTimeout(function(){g=null},P),vp(this),o.start())}}function p(){var e,o,a,s,c=u(this,arguments),l=t.event.changedTouches,f=l.length;for(eC(),g&&(g=clearTimeout(g)),e=0;e<f;++e)o=l[e],a=Ef(this,l,o.identifier),c.touch0&&c.touch0[2]===o.identifier?c.touch0[0]=a:c.touch1&&c.touch1[2]===o.identifier&&(c.touch1[0]=a);if(o=c.that.__zoom,c.touch1){var h=c.touch0[0],p=c.touch0[1],d=c.touch1[0],v=c.touch1[1],m=(m=d[0]-h[0])*m+(m=d[1]-h[1])*m,y=(y=v[0]-p[0])*y+(y=v[1]-p[1])*y;o=n(o,Math.sqrt(m/y)),a=[(h[0]+d[0])/2,(h[1]+d[1])/2],s=[(p[0]+v[0])/2,(p[1]+v[1])/2]}else{if(!c.touch0)return;a=c.touch0[0],s=c.touch0[1]}c.zoom("touch",i(r(o,a,s),c.extent))}function v(){var e,n,r=u(this,arguments),i=t.event.changedTouches,o=i.length;for(Ac(),m&&clearTimeout(m),m=setTimeout(function(){m=null},P),e=0;e<o;++e)n=i[e],r.touch0&&r.touch0[2]===n.identifier?delete r.touch0:r.touch1&&r.touch1[2]===n.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0||r.end()}var g,m,y=Pc,_=Ic,x=0,b=1/0,w=-b,C=b,M=w,E=C,T=250,k=Bh,S=[],A=d("start","zoom","end"),P=500,I=150;return e.transform=function(t,e){var n=t.selection?t.selection():t;n.property("__zoom",Rc),t!==n?a(t,e):n.interrupt().each(function(){u(this,arguments).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},e.scaleBy=function(t,n){e.scaleTo(t,function(){return this.__zoom.k*("function"==typeof n?n.apply(this,arguments):n)})},e.scaleTo=function(t,a){e.transform(t,function(){var t=_.apply(this,arguments),e=this.__zoom,u=o(t),s=e.invert(u);return i(r(n(e,"function"==typeof a?a.apply(this,arguments):a),u,s),t)})},e.translateBy=function(t,n,r){e.transform(t,function(){return i(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof r?r.apply(this,arguments):r),_.apply(this,arguments))})},s.prototype={start:function(){return 1==++this.active&&(this.index=S.push(this)-1,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(S.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(t){N(new kc(e,t,this.that.__zoom),A.apply,A,[t,this.that,this.args])}},e.filter=function(t){return arguments.length?(y="function"==typeof t?t:Jw(!!t),e):y},e.extent=function(t){return arguments.length?(_="function"==typeof t?t:Jw([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),e):_},e.scaleExtent=function(t){return arguments.length?(x=+t[0],b=+t[1],e):[x,b]},e.translateExtent=function(t){return arguments.length?(w=+t[0][0],C=+t[1][0],M=+t[0][1],E=+t[1][1],e):[[w,M],[C,E]]},e.duration=function(t){return arguments.length?(T=+t,e):T},e.interpolate=function(t){return arguments.length?(k=t,e):k},e.on=function(){var t=A.on.apply(A,arguments);return t===A?e:t},e};t.version=Oc,t.bisect=Fc,t.bisectRight=Fc,t.bisectLeft=jc,t.ascending=Dc,t.bisector=Lc,t.cross=qc,t.descending=zc,t.deviation=Wc,t.extent=Yc,t.histogram=il,t.thresholdFreedmanDiaconis=al,t.thresholdScott=ul,t.thresholdSturges=rl,t.max=sl,t.mean=cl,t.median=ll,t.merge=fl,t.min=hl,t.pairs=Bc,t.permute=pl,t.quantile=ol,t.range=Zc,t.scan=dl,t.shuffle=vl,t.sum=gl,t.ticks=nl,t.tickStep=r,t.transpose=ml,t.variance=Hc,t.zip=yl,t.axisTop=l,t.axisRight=f,t.axisBottom=h,t.axisLeft=p,t.brush=Sd,t.brushX=Sn,t.brushY=An,t.brushSelection=Nn,t.chord=Ld,t.ribbon=Vd,t.nest=Wd,t.set=Xn,t.map=qn,t.keys=Xd,t.values=Kd,t.entries=Gd,t.color=Mt,t.rgb=Nt,t.hsl=It,t.lab=Lt,t.hcl=Vt,t.cubehelix=Yt,t.dispatch=d,t.drag=Af,t.dragDisable=Nf,t.dragEnable=mt,t.dsvFormat=$d,t.csvParse=Zd,t.csvParseRows=Jd,t.csvFormat=tv,t.csvFormatRows=ev,t.tsvParse=rv,t.tsvParseRows=iv,t.tsvFormat=ov,t.tsvFormatRows=av,t.easeLinear=en,t.easeQuad=on,t.easeQuadIn=nn,t.easeQuadOut=rn,t.easeQuadInOut=on,t.easeCubic=sn,t.easeCubicIn=an,t.easeCubicOut=un,t.easeCubicInOut=sn,t.easePoly=qp,t.easePolyIn=jp,t.easePolyOut=Bp,t.easePolyInOut=qp,t.easeSin=fn,t.easeSinIn=cn,t.easeSinOut=ln,t.easeSinInOut=fn,t.easeExp=dn,t.easeExpIn=hn,t.easeExpOut=pn,t.easeExpInOut=dn,t.easeCircle=mn,t.easeCircleIn=vn,t.easeCircleOut=gn,t.easeCircleInOut=mn,t.easeBounce=_n,t.easeBounceIn=yn,t.easeBounceOut=_n,t.easeBounceInOut=xn,t.easeBack=rd,t.easeBackIn=ed,t.easeBackOut=nd,t.easeBackInOut=rd,t.easeElastic=sd,t.easeElasticIn=ud,t.easeElasticOut=sd,t.easeElasticInOut=cd,t.forceCenter=uv,t.forceCollide=Ev,t.forceLink=Tv,t.forceManyBody=Av,t.forceSimulation=Sv,t.forceX=Pv,t.forceY=Iv,t.formatDefaultLocale=pr,t.formatLocale=Wv,t.formatSpecifier=fr,t.precisionFixed=Yv,t.precisionPrefix=Xv,t.precisionRound=Kv,t.geoArea=tm,t.geoBounds=rm,t.geoCentroid=om,t.geoCircle=xm,t.geoClipExtent=km,t.geoContains=Fm,t.geoDistance=Dm,t.geoGraticule=wi,t.geoGraticule10=Ci,t.geoInterpolate=jm,t.geoLength=Im,t.geoPath=hy,t.geoAlbers=wy,t.geoAlbersUsa=Cy,t.geoAzimuthalEqualArea=Ey,t.geoAzimuthalEqualAreaRaw=My,t.geoAzimuthalEquidistant=ky,t.geoAzimuthalEquidistantRaw=Ty,t.geoConicConformal=Sy,t.geoConicConformalRaw=fo,t.geoConicEqualArea=by,t.geoConicEqualAreaRaw=io,t.geoConicEquidistant=Py,t.geoConicEquidistantRaw=po,t.geoEquirectangular=Ay,t.geoEquirectangularRaw=ho,t.geoGnomonic=Iy,t.geoGnomonicRaw=vo,t.geoIdentity=Ry,t.geoProjection=to,t.geoProjectionMutator=eo,t.geoMercator=Ny,t.geoMercatorRaw=so,t.geoOrthographic=Oy,t.geoOrthographicRaw=mo,t.geoStereographic=Dy,t.geoStereographicRaw=yo,t.geoTransverseMercator=Ly,t.geoTransverseMercatorRaw=_o,t.geoRotation=_m,t.geoStream=$g,t.geoTransform=gy,t.cluster=Uy,t.hierarchy=So,t.pack=Jy,t.packSiblings=Qy,t.packEnclose=$y,t.partition=n_,t.stratify=a_,t.tree=u_,t.treemap=f_,t.treemapBinary=h_,t.treemapDice=e_,t.treemapSlice=s_,t.treemapSliceDice=p_,t.treemapSquarify=l_,t.treemapResquarify=d_,t.interpolate=Sh,t.interpolateArray=wh,t.interpolateBasis=gh,t.interpolateBasisClosed=mh,t.interpolateDate=Ch,t.interpolateNumber=Mh,t.interpolateObject=Eh,t.interpolateRound=Ah,t.interpolateString=Nh,t.interpolateTransformCss=Oh,t.interpolateTransformSvg=Dh,t.interpolateZoom=Bh,t.interpolateRgb=_h,t.interpolateRgbBasis=xh,t.interpolateRgbBasisClosed=bh,t.interpolateHsl=qh,t.interpolateHslLong=zh,t.interpolateLab=le,t.interpolateHcl=Vh,t.interpolateHclLong=Hh,t.interpolateCubehelix=Wh,t.interpolateCubehelixLong=Yh,t.quantize=Xh,t.path=On,t.polygonArea=v_,t.polygonCentroid=g_,t.polygonHull=y_;t.polygonContains=__,t.polygonLength=x_,t.quadtree=nr,t.queue=_a,t.randomUniform=C_,t.randomNormal=M_,t.randomLogNormal=E_,t.randomBates=k_,t.randomIrwinHall=T_,t.randomExponential=N_,t.request=S_,t.html=P_,t.json=I_,t.text=R_,t.xml=O_,t.csv=L_,t.tsv=U_,t.scaleBand=Ma,t.scalePoint=Ta,t.scaleIdentity=La,t.scaleLinear=Da,t.scaleLog=Va,t.scaleOrdinal=Ca,t.scaleImplicit=q_,t.scalePow=Wa,t.scaleSqrt=Ya,t.scaleQuantile=Xa,t.scaleQuantize=Ka,t.scaleThreshold=Ga,t.scaleTime=pb,t.scaleUtc=db,t.schemeCategory10=gb,t.schemeCategory20b=mb,t.schemeCategory20c=yb,t.schemeCategory20=_b,t.interpolateCubehelixDefault=xb,t.interpolateRainbow=Mb,t.interpolateWarm=bb,t.interpolateCool=wb,t.interpolateViridis=Eb,t.interpolateMagma=Tb,t.interpolateInferno=kb,t.interpolatePlasma=Nb,t.scaleSequential=rs,t.creator=Al,t.local=b,t.matcher=Dl,t.mouse=Bl,t.namespace=Sl,t.namespaces=Nl,t.select=Cf,t.selectAll=Mf,t.selection=vt,t.selector=ql,t.selectorAll=Vl,t.touch=Ef,t.touches=Tf,t.window=cf,t.customEvent=N,t.arc=qb,t.area=Hb,t.line=Vb,t.pie=Xb,t.radialArea=$b,t.radialLine=Gb,t.symbol=gw,t.symbols=vw,t.symbolCircle=Qb,t.symbolCross=Zb,t.symbolDiamond=ew,t.symbolSquare=uw,t.symbolStar=aw,t.symbolTriangle=cw,t.symbolWye=dw,t.curveBasisClosed=_w,t.curveBasisOpen=xw,t.curveBasis=yw,t.curveBundle=bw,t.curveCardinalClosed=Cw,t.curveCardinalOpen=Mw,t.curveCardinal=ww,t.curveCatmullRomClosed=Tw,t.curveCatmullRomOpen=kw,t.curveCatmullRom=Ew,t.curveLinearClosed=Nw,t.curveLinear=zb,t.curveMonotoneX=Bs,t.curveMonotoneY=qs,t.curveNatural=Sw,t.curveStep=Aw,t.curveStepAfter=Ys,t.curveStepBefore=Ws,t.stack=Ow,t.stackOffsetExpand=Dw,t.stackOffsetNone=Iw,t.stackOffsetSilhouette=Lw,t.stackOffsetWiggle=Uw,t.stackOrderAscending=Fw,t.stackOrderDescending=jw,t.stackOrderInsideOut=Bw,t.stackOrderNone=Rw,t.stackOrderReverse=qw,t.timeInterval=$a,t.timeMillisecond=G_,t.timeMilliseconds=$_,t.utcMillisecond=G_,t.utcMilliseconds=$_,t.timeSecond=nx,t.timeSeconds=rx,t.utcSecond=nx,t.utcSeconds=rx,t.timeMinute=ix,t.timeMinutes=ox,t.timeHour=ax,t.timeHours=ux,t.timeDay=sx,t.timeDays=cx,t.timeWeek=lx,t.timeWeeks=mx,t.timeSunday=lx,t.timeSundays=mx,t.timeMonday=fx,t.timeMondays=yx,t.timeTuesday=hx,t.timeTuesdays=_x,t.timeWednesday=px,t.timeWednesdays=xx,t.timeThursday=dx,t.timeThursdays=bx,t.timeFriday=vx,t.timeFridays=wx,t.timeSaturday=gx,t.timeSaturdays=Cx,t.timeMonth=Mx,t.timeMonths=Ex,t.timeYear=Tx,t.timeYears=kx,t.utcMinute=Nx,t.utcMinutes=Sx,t.utcHour=Ax,t.utcHours=Px,t.utcDay=Ix,t.utcDays=Rx,t.utcWeek=Ox,t.utcWeeks=qx,t.utcSunday=Ox,t.utcSundays=qx,t.utcMonday=Dx,t.utcMondays=zx,t.utcTuesday=Lx,t.utcTuesdays=Vx,t.utcWednesday=Ux,t.utcWednesdays=Hx,t.utcThursday=Fx,t.utcThursdays=Wx,t.utcFriday=jx,t.utcFridays=Yx,t.utcSaturday=Bx,t.utcSaturdays=Xx,t.utcMonth=Kx,t.utcMonths=Gx,t.utcYear=$x,t.utcYears=Zx,t.timeFormatDefaultLocale=$u,t.timeFormatLocale=nu,t.isoFormat=ib,t.isoParse=ob,t.now=pe,t.timer=ge,t.timerFlush=me,t.timeout=rp,t.interval=ip,t.transition=Je,t.active=pd,t.interrupt=vp,t.voronoi=Zw,t.zoom=nC,t.zoomTransform=Sc,t.zoomIdentity=tC,Object.defineProperty(t,"__esModule",{value:!0})})},function(t,e,n){"use strict";t.exports=n(104)},function(t,e,n){"use strict";t.exports=n(15)},function(t,e,n){"use strict";function r(t){return t.replace(i,function(t,e){return e.toUpperCase()})}var i=/-(.)/g;t.exports=r},function(t,e,n){"use strict";function r(t){return i(t.replace(o,"ms-"))}var i=n(79),o=/^-ms-/;t.exports=r},function(t,e,n){"use strict";function r(t,e){return!(!t||!e)&&(t===e||!i(t)&&(i(e)?r(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}var i=n(89);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&a(!1),"number"!=typeof e&&a(!1),0===e||e-1 in t||a(!1),"function"==typeof t.callee&&a(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),r=0;r<e;r++)n[r]=t[r];return n}function i(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}function o(t){return i(t)?Array.isArray(t)?t.slice():r(t):[t]}var a=n(0);t.exports=o},function(t,e,n){"use strict";function r(t){var e=t.match(l);return e&&e[1].toLowerCase()}function i(t,e){var n=c;c||s(!1);var i=r(t),o=i&&u(i);if(o){n.innerHTML=o[1]+t+o[2];for(var l=o[0];l--;)n=n.lastChild}else n.innerHTML=t;var f=n.getElementsByTagName("script");f.length&&(e||s(!1),a(f).forEach(e));for(var h=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return h}var o=n(5),a=n(82),u=n(84),s=n(0),c=o.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;t.exports=i},function(t,e,n){"use strict";function r(t){return a||o(!1),h.hasOwnProperty(t)||(t="*"),u.hasOwnProperty(t)||(a.innerHTML="*"===t?"<link />":"<"+t+"></"+t+">",u[t]=!a.firstChild),u[t]?h[t]:null}var i=n(5),o=n(0),a=i.canUseDOM?document.createElement("div"):null,u={},s=[1,'<select multiple="true">',"</select>"],c=[1,"<table>","</table>"],l=[3,"<table><tbody><tr>","</tr></tbody></table>"],f=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],h={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:s,option:s,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(t){h[t]=f,u[t]=!0}),t.exports=r},function(t,e,n){"use strict";function r(t){return t===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(i,"-$1").toLowerCase()}var i=/([A-Z])/g;t.exports=r},function(t,e,n){"use strict";function r(t){return i(t).replace(o,"-ms-")}var i=n(86),o=/^ms-/;t.exports=r},function(t,e,n){"use strict";function r(t){return!(!t||!("function"==typeof Node?t instanceof Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}t.exports=r},function(t,e,n){"use strict";function r(t){return i(t)&&3==t.nodeType}var i=n(88);t.exports=r},function(t,e,n){"use strict";function r(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}t.exports=r},function(t,e,n){"use strict";var r={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};t.exports=r},function(t,e,n){"use strict";var r=n(4),i=n(48),o={focusDOMComponent:function(){i(r.getNodeFromInstance(this))}};t.exports=o},function(t,e,n){"use strict";function r(){var t=window.opera;return"object"==typeof t&&"function"==typeof t.version&&parseInt(t.version(),10)<=12}function i(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function o(t){switch(t){case"topCompositionStart":return T.compositionStart;case"topCompositionEnd":return T.compositionEnd;case"topCompositionUpdate":return T.compositionUpdate}}function a(t,e){return"topKeyDown"===t&&e.keyCode===_}function u(t,e){switch(t){case"topKeyUp":return y.indexOf(e.keyCode)!==-1;case"topKeyDown":return e.keyCode!==_;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function s(t){var e=t.detail;return"object"==typeof e&&"data"in e?e.data:null}function c(t,e,n,r){var i,c;if(x?i=o(t):N?u(t,n)&&(i=T.compositionEnd):a(t,n)&&(i=T.compositionStart),!i)return null;C&&(N||i!==T.compositionStart?i===T.compositionEnd&&N&&(c=N.getData()):N=v.getPooled(r));var l=g.getPooled(i,e,n,r);if(c)l.data=c;else{var f=s(n);null!==f&&(l.data=f)}return p.accumulateTwoPhaseDispatches(l),l}function l(t,e){switch(t){case"topCompositionEnd":return s(e);case"topKeyPress":return e.which!==M?null:(k=!0,E);case"topTextInput":var n=e.data;return n===E&&k?null:n;default:return null}}function f(t,e){if(N){if("topCompositionEnd"===t||!x&&u(t,e)){var n=N.getData();return v.release(N),N=null,n}return null}switch(t){case"topPaste":return null;case"topKeyPress":return e.which&&!i(e)?String.fromCharCode(e.which):null;case"topCompositionEnd":return C?null:e.data;default:return null}}function h(t,e,n,r){var i;if(!(i=w?l(t,n):f(t,n)))return null;var o=m.getPooled(T.beforeInput,e,n,r);return o.data=i,p.accumulateTwoPhaseDispatches(o),o}var p=n(20),d=n(5),v=n(99),g=n(136),m=n(139),y=[9,13,27,32],_=229,x=d.canUseDOM&&"CompositionEvent"in window,b=null;d.canUseDOM&&"documentMode"in document&&(b=document.documentMode);var w=d.canUseDOM&&"TextEvent"in window&&!b&&!r(),C=d.canUseDOM&&(!x||b&&b>8&&b<=11),M=32,E=String.fromCharCode(M),T={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},k=!1,N=null,S={eventTypes:T,extractEvents:function(t,e,n,r){return[c(t,e,n,r),h(t,e,n,r)]}};t.exports=S},function(t,e,n){"use strict";var r=n(51),i=n(5),o=(n(7),n(80),n(145)),a=n(87),u=n(90),s=(n(1),u(function(t){return a(t)})),c=!1,l="cssFloat";if(i.canUseDOM){var f=document.createElement("div").style;try{f.font=""}catch(t){c=!0}void 0===document.documentElement.style.cssFloat&&(l="styleFloat")}var h={createMarkupForStyles:function(t,e){var n="";for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];null!=i&&(n+=s(r)+":",n+=o(r,i,e)+";")}return n||null},setValueForStyles:function(t,e,n){var i=t.style;for(var a in e)if(e.hasOwnProperty(a)){var u=o(a,e[a],n);if("float"!==a&&"cssFloat"!==a||(a=l),u)i[a]=u;else{var s=c&&r.shorthandPropertyExpansions[a];if(s)for(var f in s)i[f]="";else i[a]=""}}}};t.exports=h},function(t,e,n){"use strict";function r(t){var e=t.nodeName&&t.nodeName.toLowerCase();return"select"===e||"input"===e&&"file"===t.type}function i(t){var e=C.getPooled(k.change,S,t,M(t));_.accumulateTwoPhaseDispatches(e),w.batchedUpdates(o,e)}function o(t){y.enqueueEvents(t),y.processEventQueue(!1)}function a(t,e){N=t,S=e,N.attachEvent("onchange",i)}function u(){N&&(N.detachEvent("onchange",i),N=null,S=null)}function s(t,e){if("topChange"===t)return e}function c(t,e,n){"topFocus"===t?(u(),a(e,n)):"topBlur"===t&&u()}function l(t,e){N=t,S=e,A=t.value,P=Object.getOwnPropertyDescriptor(t.constructor.prototype,"value"),Object.defineProperty(N,"value",O),N.attachEvent?N.attachEvent("onpropertychange",h):N.addEventListener("propertychange",h,!1)}function f(){N&&(delete N.value,N.detachEvent?N.detachEvent("onpropertychange",h):N.removeEventListener("propertychange",h,!1),N=null,S=null,A=null,P=null)}function h(t){if("value"===t.propertyName){var e=t.srcElement.value;e!==A&&(A=e,i(t))}}function p(t,e){if("topInput"===t)return e}function d(t,e,n){"topFocus"===t?(f(),l(e,n)):"topBlur"===t&&f()}function v(t,e){if(("topSelectionChange"===t||"topKeyUp"===t||"topKeyDown"===t)&&N&&N.value!==A)return A=N.value,S}function g(t){return t.nodeName&&"input"===t.nodeName.toLowerCase()&&("checkbox"===t.type||"radio"===t.type)}function m(t,e){if("topClick"===t)return e}var y=n(19),_=n(20),x=n(5),b=n(4),w=n(8),C=n(9),M=n(41),E=n(42),T=n(68),k={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},N=null,S=null,A=null,P=null,I=!1;x.canUseDOM&&(I=E("change")&&(!document.documentMode||document.documentMode>8));var R=!1;x.canUseDOM&&(R=E("input")&&(!document.documentMode||document.documentMode>11));var O={get:function(){return P.get.call(this)},set:function(t){A=""+t,P.set.call(this,t)}},D={eventTypes:k,extractEvents:function(t,e,n,i){var o,a,u=e?b.getNodeFromInstance(e):window;if(r(u)?I?o=s:a=c:T(u)?R?o=p:(o=v,a=d):g(u)&&(o=m),o){var l=o(t,e);if(l){var f=C.getPooled(k.change,l,n,i);return f.type="change",_.accumulateTwoPhaseDispatches(f),f}}a&&a(t,u,e)}};t.exports=D},function(t,e,n){"use strict";var r=n(2),i=n(12),o=n(5),a=n(83),u=n(6),s=(n(0),{dangerouslyReplaceNodeWithMarkup:function(t,e){if(o.canUseDOM||r("56"),e||r("57"),"HTML"===t.nodeName&&r("58"),"string"==typeof e){var n=a(e,u)[0];t.parentNode.replaceChild(n,t)}else i.replaceChildWithTree(t,e)}});t.exports=s},function(t,e,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];t.exports=r},function(t,e,n){"use strict";var r=n(20),i=n(4),o=n(24),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},u={eventTypes:a,extractEvents:function(t,e,n,u){if("topMouseOver"===t&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==t&&"topMouseOver"!==t)return null;var s;if(u.window===u)s=u;else{var c=u.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var l,f;if("topMouseOut"===t){l=e;var h=n.relatedTarget||n.toElement;f=h?i.getClosestInstanceFromNode(h):null}else l=null,f=e;if(l===f)return null;var p=null==l?s:i.getNodeFromInstance(l),d=null==f?s:i.getNodeFromInstance(f),v=o.getPooled(a.mouseLeave,l,n,u);v.type="mouseleave",v.target=p,v.relatedTarget=d;var g=o.getPooled(a.mouseEnter,f,n,u);return g.type="mouseenter",g.target=d,g.relatedTarget=p,r.accumulateEnterLeaveDispatches(v,g,l,f),[v,g]}};t.exports=u},function(t,e,n){"use strict";function r(t){this._root=t,this._startText=this.getText(),this._fallbackText=null}var i=n(3),o=n(11),a=n(66);i(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var t,e,n=this._startText,r=n.length,i=this.getText(),o=i.length;for(t=0;t<r&&n[t]===i[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===i[o-e];e++);var u=e>1?1-e:void 0;return this._fallbackText=i.slice(t,u),this._fallbackText}}),o.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";var r=n(13),i=r.injection.MUST_USE_PROPERTY,o=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,u=r.injection.HAS_POSITIVE_NUMERIC_VALUE,s=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:o,allowTransparency:0,alt:0,as:0,async:o,autoComplete:0,autoPlay:o,capture:o,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:i|o,cite:0,classID:0,className:0,cols:u,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:o,coords:0,crossOrigin:0,data:0,dateTime:0,default:o,defer:o,dir:0,disabled:o,download:s,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:o,formTarget:0,frameBorder:0,headers:0,height:0,hidden:o,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:o,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:i|o,muted:i|o,name:0,nonce:0,noValidate:o,open:o,optimum:0,pattern:0,placeholder:0,playsInline:o,poster:0,preload:0,profile:0,radioGroup:0,readOnly:o,referrerPolicy:0,rel:0,required:o,reversed:o,role:0,rows:u,rowSpan:a,sandbox:0,scope:0,scoped:o,scrolling:0,seamless:o,selected:i|o,shape:0,size:u,sizes:0,span:u,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:o,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};t.exports=c},function(t,e,n){"use strict";(function(e){function r(t,e,n,r){var i=void 0===t[n];null!=e&&i&&(t[n]=o(e,!0))}var i=n(14),o=n(67),a=(n(33),n(43)),u=n(70);n(1);void 0!==e&&e.env;var s={instantiateChildren:function(t,e,n,i){if(null==t)return null;var o={};return u(t,r,o),o},updateChildren:function(t,e,n,r,u,s,c,l,f){if(e||t){var h,p;for(h in e)if(e.hasOwnProperty(h)){p=t&&t[h];var d=p&&p._currentElement,v=e[h];if(null!=p&&a(d,v))i.receiveComponent(p,v,u,l),e[h]=p;else{p&&(r[h]=i.getHostNode(p),i.unmountComponent(p,!1));var g=o(v,!0);e[h]=g;var m=i.mountComponent(g,u,s,c,l,f);n.push(m)}}for(h in t)!t.hasOwnProperty(h)||e&&e.hasOwnProperty(h)||(p=t[h],r[h]=i.getHostNode(p),i.unmountComponent(p,!1))}},unmountChildren:function(t,e){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];i.unmountComponent(r,e)}}};t.exports=s}).call(e,n(50))},function(t,e,n){"use strict";var r=n(29),i=n(109),o={processChildrenUpdates:i.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};t.exports=o},function(t,e,n){"use strict";function r(t){}function i(t,e){}function o(t){return!(!t.prototype||!t.prototype.isReactComponent)}function a(t){return!(!t.prototype||!t.prototype.isPureReactComponent)}var u=n(2),s=n(3),c=n(15),l=n(35),f=n(10),h=n(36),p=n(21),d=(n(7),n(61)),v=n(14),g=n(18),m=(n(0),n(28)),y=n(43),_=(n(1),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var t=p.get(this)._currentElement.type,e=t(this.props,this.context,this.updater);return i(t,e),e};var x=1,b={construct:function(t){this._currentElement=t,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(t,e,n,s){this._context=s,this._mountOrder=x++,this._hostParent=e,this._hostContainerInfo=n;var l,f=this._currentElement.props,h=this._processContext(s),d=this._currentElement.type,v=t.getUpdateQueue(),m=o(d),y=this._constructComponent(m,f,h,v);m||null!=y&&null!=y.render?a(d)?this._compositeType=_.PureClass:this._compositeType=_.ImpureClass:(l=y,i(d,l),null===y||y===!1||c.isValidElement(y)||u("105",d.displayName||d.name||"Component"),y=new r(d),this._compositeType=_.StatelessFunctional);y.props=f,y.context=h,y.refs=g,y.updater=v,this._instance=y,p.set(y,this);var b=y.state;void 0===b&&(y.state=b=null),("object"!=typeof b||Array.isArray(b))&&u("106",this.getName()||"ReactCompositeComponent"),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var w;return w=y.unstable_handleError?this.performInitialMountWithErrorHandling(l,e,n,t,s):this.performInitialMount(l,e,n,t,s),y.componentDidMount&&t.getReactMountReady().enqueue(y.componentDidMount,y),w},_constructComponent:function(t,e,n,r){return this._constructComponentWithoutOwner(t,e,n,r)},_constructComponentWithoutOwner:function(t,e,n,r){var i=this._currentElement.type;return t?new i(e,n,r):i(e,n,r)},performInitialMountWithErrorHandling:function(t,e,n,r,i){var o,a=r.checkpoint();try{o=this.performInitialMount(t,e,n,r,i)}catch(u){r.rollback(a),this._instance.unstable_handleError(u),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),o=this.performInitialMount(t,e,n,r,i)}return o},performInitialMount:function(t,e,n,r,i){var o=this._instance,a=0;o.componentWillMount&&(o.componentWillMount(),this._pendingStateQueue&&(o.state=this._processPendingState(o.props,o.context))),void 0===t&&(t=this._renderValidatedComponent());var u=d.getType(t);this._renderedNodeType=u;var s=this._instantiateReactComponent(t,u!==d.EMPTY);this._renderedComponent=s;var c=v.mountComponent(s,r,e,n,this._processChildContext(i),a);return c},getHostNode:function(){return v.getHostNode(this._renderedComponent)},unmountComponent:function(t){if(this._renderedComponent){var e=this._instance;if(e.componentWillUnmount&&!e._calledComponentWillUnmount)if(e._calledComponentWillUnmount=!0,t){var n=this.getName()+".componentWillUnmount()";h.invokeGuardedCallback(n,e.componentWillUnmount.bind(e))}else e.componentWillUnmount();this._renderedComponent&&(v.unmountComponent(this._renderedComponent,t),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,p.remove(e)}},_maskContext:function(t){var e=this._currentElement.type,n=e.contextTypes;if(!n)return g;var r={};for(var i in n)r[i]=t[i];return r},_processContext:function(t){var e=this._maskContext(t);return e},_processChildContext:function(t){var e,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(e=r.getChildContext()),e){"object"!=typeof n.childContextTypes&&u("107",this.getName()||"ReactCompositeComponent");for(var i in e)i in n.childContextTypes||u("108",this.getName()||"ReactCompositeComponent",i);return s({},t,e)}return t},_checkContextTypes:function(t,e,n){},receiveComponent:function(t,e,n){var r=this._currentElement,i=this._context;this._pendingElement=null,this.updateComponent(e,r,t,i,n)},performUpdateIfNecessary:function(t){null!=this._pendingElement?v.receiveComponent(this,this._pendingElement,t,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(t,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(t,e,n,r,i){var o=this._instance;null==o&&u("136",this.getName()||"ReactCompositeComponent");var a,s=!1;this._context===i?a=o.context:(a=this._processContext(i),s=!0);var c=e.props,l=n.props;e!==n&&(s=!0),s&&o.componentWillReceiveProps&&o.componentWillReceiveProps(l,a);var f=this._processPendingState(l,a),h=!0;this._pendingForceUpdate||(o.shouldComponentUpdate?h=o.shouldComponentUpdate(l,f,a):this._compositeType===_.PureClass&&(h=!m(c,l)||!m(o.state,f))),this._updateBatchNumber=null,h?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,l,f,a,t,i)):(this._currentElement=n,this._context=i,o.props=l,o.state=f,o.context=a)},_processPendingState:function(t,e){var n=this._instance,r=this._pendingStateQueue,i=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(i&&1===r.length)return r[0];for(var o=s({},i?r[0]:n.state),a=i?1:0;a<r.length;a++){var u=r[a];s(o,"function"==typeof u?u.call(n,o,t,e):u)}return o},_performComponentUpdate:function(t,e,n,r,i,o){var a,u,s,c=this._instance,l=Boolean(c.componentDidUpdate);l&&(a=c.props,u=c.state,s=c.context),c.componentWillUpdate&&c.componentWillUpdate(e,n,r),this._currentElement=t,this._context=o,c.props=e,c.state=n,c.context=r,this._updateRenderedComponent(i,o),l&&i.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,a,u,s),c)},_updateRenderedComponent:function(t,e){var n=this._renderedComponent,r=n._currentElement,i=this._renderValidatedComponent(),o=0;if(y(r,i))v.receiveComponent(n,i,t,this._processChildContext(e));else{var a=v.getHostNode(n);v.unmountComponent(n,!1);var u=d.getType(i);this._renderedNodeType=u;var s=this._instantiateReactComponent(i,u!==d.EMPTY);this._renderedComponent=s;var c=v.mountComponent(s,t,this._hostParent,this._hostContainerInfo,this._processChildContext(e),o);this._replaceNodeWithMarkup(a,c,n)}},_replaceNodeWithMarkup:function(t,e,n){l.replaceNodeWithMarkup(t,e,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var t=this._instance;return t.render()},_renderValidatedComponent:function(){var t;if(this._compositeType!==_.StatelessFunctional){f.current=this;try{t=this._renderValidatedComponentWithoutOwnerOrContext()}finally{f.current=null}}else t=this._renderValidatedComponentWithoutOwnerOrContext();return null===t||t===!1||c.isValidElement(t)||u("109",this.getName()||"ReactCompositeComponent"),t},attachRef:function(t,e){var n=this.getPublicInstance();null==n&&u("110");var r=e.getPublicInstance();(n.refs===g?n.refs={}:n.refs)[t]=r},detachRef:function(t){delete this.getPublicInstance().refs[t]},getName:function(){var t=this._currentElement.type,e=this._instance&&this._instance.constructor;return t.displayName||e&&e.displayName||t.name||e&&e.name||null},getPublicInstance:function(){var t=this._instance;return this._compositeType===_.StatelessFunctional?null:t},_instantiateReactComponent:null};t.exports=b},function(t,e,n){"use strict";var r=n(4),i=n(117),o=n(60),a=n(14),u=n(8),s=n(130),c=n(146),l=n(65),f=n(154);n(1);i.inject();var h={findDOMNode:c,render:o.render,unmountComponentAtNode:o.unmountComponentAtNode,version:s,unstable_batchedUpdates:u.batchedUpdates,unstable_renderSubtreeIntoContainer:f};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(t){return t._renderedComponent&&(t=l(t)),t?r.getNodeFromInstance(t):null}},Mount:o,Reconciler:a});t.exports=h},function(t,e,n){"use strict";function r(t){if(t){var e=t._currentElement._owner||null;if(e){var n=e.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function i(t,e){e&&(K[t._tag]&&(null!=e.children||null!=e.dangerouslySetInnerHTML)&&v("137",t._tag,t._currentElement._owner?" Check the render method of "+t._currentElement._owner.getName()+".":""),null!=e.dangerouslySetInnerHTML&&(null!=e.children&&v("60"),"object"==typeof e.dangerouslySetInnerHTML&&z in e.dangerouslySetInnerHTML||v("61")),null!=e.style&&"object"!=typeof e.style&&v("62",r(t)))}function o(t,e,n,r){if(!(r instanceof R)){var i=t._hostContainerInfo;F(e,i._node&&i._node.nodeType===H?i._node:i._ownerDocument),r.getReactMountReady().enqueue(a,{inst:t,registrationName:e,listener:n})}}function a(){var t=this;C.putListener(t.inst,t.registrationName,t.listener)}function u(){var t=this;N.postMountWrapper(t)}function s(){var t=this;P.postMountWrapper(t)}function c(){var t=this;S.postMountWrapper(t)}function l(){var t=this;t._rootNodeID||v("63");var e=U(t);switch(e||v("64"),t._tag){case"iframe":case"object":t._wrapperState.listeners=[E.trapBubbledEvent("topLoad","load",e)];break;case"video":case"audio":t._wrapperState.listeners=[];for(var n in W)W.hasOwnProperty(n)&&t._wrapperState.listeners.push(E.trapBubbledEvent(n,W[n],e));break;case"source":t._wrapperState.listeners=[E.trapBubbledEvent("topError","error",e)];break;case"img":t._wrapperState.listeners=[E.trapBubbledEvent("topError","error",e),E.trapBubbledEvent("topLoad","load",e)];break;case"form":t._wrapperState.listeners=[E.trapBubbledEvent("topReset","reset",e),E.trapBubbledEvent("topSubmit","submit",e)];break;case"input":case"select":case"textarea":t._wrapperState.listeners=[E.trapBubbledEvent("topInvalid","invalid",e)]}}function f(){A.postUpdateWrapper(this)}function h(t){Q.call($,t)||(G.test(t)||v("65",t),$[t]=!0)}function p(t,e){return t.indexOf("-")>=0||null!=e.is}function d(t){var e=t.type;h(e),this._currentElement=t,this._tag=e.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var v=n(2),g=n(3),m=n(92),y=n(94),_=n(12),x=n(30),b=n(13),w=n(53),C=n(19),M=n(31),E=n(23),T=n(54),k=n(4),N=n(110),S=n(111),A=n(55),P=n(114),I=(n(7),n(123)),R=n(128),O=(n(6),n(26)),D=(n(0),n(42),n(28),n(44),n(1),T),L=C.deleteListener,U=k.getNodeFromInstance,F=E.listenTo,j=M.registrationNameModules,B={string:!0,number:!0},q="style",z="__html",V={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},H=11,W={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},Y={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},X={listing:!0,pre:!0,textarea:!0},K=g({menuitem:!0},Y),G=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,$={},Q={}.hasOwnProperty,Z=1;d.displayName="ReactDOMComponent",d.Mixin={mountComponent:function(t,e,n,r){this._rootNodeID=Z++,this._domID=n._idCounter++,this._hostParent=e,this._hostContainerInfo=n;var o=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(l,this);break;case"input":N.mountWrapper(this,o,e),o=N.getHostProps(this,o),t.getReactMountReady().enqueue(l,this);break;case"option":S.mountWrapper(this,o,e),o=S.getHostProps(this,o);break;case"select":A.mountWrapper(this,o,e),o=A.getHostProps(this,o),t.getReactMountReady().enqueue(l,this);break;case"textarea":P.mountWrapper(this,o,e),o=P.getHostProps(this,o),t.getReactMountReady().enqueue(l,this)}i(this,o);var a,f;null!=e?(a=e._namespaceURI,f=e._tag):n._tag&&(a=n._namespaceURI,f=n._tag),(null==a||a===x.svg&&"foreignobject"===f)&&(a=x.html),a===x.html&&("svg"===this._tag?a=x.svg:"math"===this._tag&&(a=x.mathml)),this._namespaceURI=a;var h;if(t.useCreateElement){var p,d=n._ownerDocument;if(a===x.html)if("script"===this._tag){var v=d.createElement("div"),g=this._currentElement.type;v.innerHTML="<"+g+"></"+g+">",p=v.removeChild(v.firstChild)}else p=o.is?d.createElement(this._currentElement.type,o.is):d.createElement(this._currentElement.type);else p=d.createElementNS(a,this._currentElement.type);k.precacheNode(this,p),this._flags|=D.hasCachedChildNodes,this._hostParent||w.setAttributeForRoot(p),this._updateDOMProperties(null,o,t);var y=_(p);this._createInitialChildren(t,o,r,y),h=y}else{var b=this._createOpenTagMarkupAndPutListeners(t,o),C=this._createContentMarkup(t,o,r);h=!C&&Y[this._tag]?b+"/>":b+">"+C+"</"+this._currentElement.type+">"}switch(this._tag){case"input":t.getReactMountReady().enqueue(u,this),o.autoFocus&&t.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"textarea":t.getReactMountReady().enqueue(s,this),o.autoFocus&&t.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"select":o.autoFocus&&t.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"button":o.autoFocus&&t.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"option":t.getReactMountReady().enqueue(c,this)}return h},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this._currentElement.type;for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];if(null!=i)if(j.hasOwnProperty(r))i&&o(this,r,i,t);else{r===q&&(i&&(i=this._previousStyleCopy=g({},e.style)),i=y.createMarkupForStyles(i,this));var a=null;null!=this._tag&&p(this._tag,e)?V.hasOwnProperty(r)||(a=w.createMarkupForCustomAttribute(r,i)):a=w.createMarkupForProperty(r,i),a&&(n+=" "+a)}}return t.renderToStaticMarkup?n:(this._hostParent||(n+=" "+w.createMarkupForRoot()),n+=" "+w.createMarkupForID(this._domID))},_createContentMarkup:function(t,e,n){var r="",i=e.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&(r=i.__html);else{var o=B[typeof e.children]?e.children:null,a=null!=o?null:e.children;if(null!=o)r=O(o);else if(null!=a){var u=this.mountChildren(a,t,n);r=u.join("")}}return X[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(t,e,n,r){var i=e.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&_.queueHTML(r,i.__html);else{var o=B[typeof e.children]?e.children:null,a=null!=o?null:e.children;if(null!=o)""!==o&&_.queueText(r,o);else if(null!=a)for(var u=this.mountChildren(a,t,n),s=0;s<u.length;s++)_.queueChild(r,u[s])}},receiveComponent:function(t,e,n){var r=this._currentElement;this._currentElement=t,this.updateComponent(e,r,t,n)},updateComponent:function(t,e,n,r){var o=e.props,a=this._currentElement.props;switch(this._tag){case"input":o=N.getHostProps(this,o),a=N.getHostProps(this,a);break;case"option":o=S.getHostProps(this,o),a=S.getHostProps(this,a);break;case"select":o=A.getHostProps(this,o),a=A.getHostProps(this,a);break;case"textarea":o=P.getHostProps(this,o),a=P.getHostProps(this,a)}switch(i(this,a),this._updateDOMProperties(o,a,t),this._updateDOMChildren(o,a,t,r),this._tag){case"input":N.updateWrapper(this);break;case"textarea":P.updateWrapper(this);break;case"select":t.getReactMountReady().enqueue(f,this)}},_updateDOMProperties:function(t,e,n){var r,i,a;for(r in t)if(!e.hasOwnProperty(r)&&t.hasOwnProperty(r)&&null!=t[r])if(r===q){var u=this._previousStyleCopy;for(i in u)u.hasOwnProperty(i)&&(a=a||{},a[i]="");this._previousStyleCopy=null}else j.hasOwnProperty(r)?t[r]&&L(this,r):p(this._tag,t)?V.hasOwnProperty(r)||w.deleteValueForAttribute(U(this),r):(b.properties[r]||b.isCustomAttribute(r))&&w.deleteValueForProperty(U(this),r);for(r in e){var s=e[r],c=r===q?this._previousStyleCopy:null!=t?t[r]:void 0;if(e.hasOwnProperty(r)&&s!==c&&(null!=s||null!=c))if(r===q)if(s?s=this._previousStyleCopy=g({},s):this._previousStyleCopy=null,c){for(i in c)!c.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(a=a||{},a[i]="");for(i in s)s.hasOwnProperty(i)&&c[i]!==s[i]&&(a=a||{},a[i]=s[i])}else a=s;else if(j.hasOwnProperty(r))s?o(this,r,s,n):c&&L(this,r);else if(p(this._tag,e))V.hasOwnProperty(r)||w.setValueForAttribute(U(this),r,s);else if(b.properties[r]||b.isCustomAttribute(r)){var l=U(this);null!=s?w.setValueForProperty(l,r,s):w.deleteValueForProperty(l,r)}}a&&y.setValueForStyles(U(this),a,this)},_updateDOMChildren:function(t,e,n,r){var i=B[typeof t.children]?t.children:null,o=B[typeof e.children]?e.children:null,a=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,u=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=null!=i?null:t.children,c=null!=o?null:e.children,l=null!=i||null!=a,f=null!=o||null!=u;null!=s&&null==c?this.updateChildren(null,n,r):l&&!f&&this.updateTextContent(""),null!=o?i!==o&&this.updateTextContent(""+o):null!=u?a!==u&&this.updateMarkup(""+u):null!=c&&this.updateChildren(c,n,r)},getHostNode:function(){return U(this)},unmountComponent:function(t){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var e=this._wrapperState.listeners;if(e)for(var n=0;n<e.length;n++)e[n].remove();break;case"html":case"head":case"body":v("66",this._tag)}this.unmountChildren(t),k.uncacheNode(this),C.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return U(this)}},g(d.prototype,d.Mixin,I.Mixin),t.exports=d},function(t,e,n){"use strict";function r(t,e){var n={_topLevelWrapper:t,_idCounter:1,_ownerDocument:e?e.nodeType===i?e:e.ownerDocument:null,_node:e,_tag:e?e.nodeName.toLowerCase():null,_namespaceURI:e?e.namespaceURI:null};return n}var i=(n(44),9);t.exports=r},function(t,e,n){"use strict";var r=n(3),i=n(12),o=n(4),a=function(t){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(a.prototype,{mountComponent:function(t,e,n,r){var a=n._idCounter++;this._domID=a,this._hostParent=e,this._hostContainerInfo=n;var u=" react-empty: "+this._domID+" ";if(t.useCreateElement){var s=n._ownerDocument,c=s.createComment(u);return o.precacheNode(this,c),i(c)}return t.renderToStaticMarkup?"":"<!--"+u+"-->"},receiveComponent:function(){},getHostNode:function(){return o.getNodeFromInstance(this)},unmountComponent:function(){o.uncacheNode(this)}}),t.exports=a},function(t,e,n){"use strict";var r={useCreateElement:!0,useFiber:!1};t.exports=r},function(t,e,n){"use strict";var r=n(29),i=n(4),o={dangerouslyProcessChildrenUpdates:function(t,e){var n=i.getNodeFromInstance(t);r.processUpdates(n,e)}};t.exports=o},function(t,e,n){"use strict";function r(){this._rootNodeID&&f.updateWrapper(this)}function i(t){var e=this._currentElement.props,n=s.executeOnChange(e,t);l.asap(r,this);var i=e.name;if("radio"===e.type&&null!=i){for(var a=c.getNodeFromInstance(this),u=a;u.parentNode;)u=u.parentNode;for(var f=u.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),h=0;h<f.length;h++){var p=f[h];if(p!==a&&p.form===a.form){var d=c.getInstanceFromNode(p);d||o("90"),l.asap(r,d)}}}return n}var o=n(2),a=n(3),u=n(53),s=n(34),c=n(4),l=n(8),f=(n(0),n(1),{getHostProps:function(t,e){var n=s.getValue(e),r=s.getChecked(e);return a({type:void 0,step:void 0,min:void 0,max:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:t._wrapperState.initialValue,checked:null!=r?r:t._wrapperState.initialChecked,onChange:t._wrapperState.onChange})},mountWrapper:function(t,e){var n=e.defaultValue;t._wrapperState={initialChecked:null!=e.checked?e.checked:e.defaultChecked,initialValue:null!=e.value?e.value:n,listeners:null,onChange:i.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=e.checked;null!=n&&u.setValueForProperty(c.getNodeFromInstance(t),"checked",n||!1);var r=c.getNodeFromInstance(t),i=s.getValue(e);if(null!=i){var o=""+i;o!==r.value&&(r.value=o)}else null==e.value&&null!=e.defaultValue&&r.defaultValue!==""+e.defaultValue&&(r.defaultValue=""+e.defaultValue),null==e.checked&&null!=e.defaultChecked&&(r.defaultChecked=!!e.defaultChecked)},postMountWrapper:function(t){var e=t._currentElement.props,n=c.getNodeFromInstance(t);switch(e.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});t.exports=f},function(t,e,n){"use strict";function r(t){var e="";return o.Children.forEach(t,function(t){null!=t&&("string"==typeof t||"number"==typeof t?e+=t:s||(s=!0))}),e}var i=n(3),o=n(15),a=n(4),u=n(55),s=(n(1),!1),c={mountWrapper:function(t,e,n){var i=null;if(null!=n){var o=n;"optgroup"===o._tag&&(o=o._hostParent),null!=o&&"select"===o._tag&&(i=u.getSelectValueContext(o))}var a=null;if(null!=i){var s;if(s=null!=e.value?e.value+"":r(e.children),a=!1,Array.isArray(i)){for(var c=0;c<i.length;c++)if(""+i[c]===s){a=!0;break}}else a=""+i===s}t._wrapperState={selected:a}},postMountWrapper:function(t){var e=t._currentElement.props;if(null!=e.value){a.getNodeFromInstance(t).setAttribute("value",e.value)}},getHostProps:function(t,e){var n=i({selected:void 0,children:void 0},e);null!=t._wrapperState.selected&&(n.selected=t._wrapperState.selected);var o=r(e.children);return o&&(n.children=o),n}};t.exports=c},function(t,e,n){"use strict";function r(t,e,n,r){return t===n&&e===r}function i(t){var e=document.selection,n=e.createRange(),r=n.text.length,i=n.duplicate();i.moveToElementText(t),i.setEndPoint("EndToStart",n);var o=i.text.length;return{start:o,end:o+r}}function o(t){var e=window.getSelection&&window.getSelection();if(!e||0===e.rangeCount)return null;var n=e.anchorNode,i=e.anchorOffset,o=e.focusNode,a=e.focusOffset,u=e.getRangeAt(0);try{u.startContainer.nodeType,u.endContainer.nodeType}catch(t){return null}var s=r(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset),c=s?0:u.toString().length,l=u.cloneRange();l.selectNodeContents(t),l.setEnd(u.startContainer,u.startOffset);var f=r(l.startContainer,l.startOffset,l.endContainer,l.endOffset),h=f?0:l.toString().length,p=h+c,d=document.createRange();d.setStart(n,i),d.setEnd(o,a);var v=d.collapsed;return{start:v?p:h,end:v?h:p}}function a(t,e){var n,r,i=document.selection.createRange().duplicate();void 0===e.end?(n=e.start,r=n):e.start>e.end?(n=e.end,r=e.start):(n=e.start,r=e.end),i.moveToElementText(t),i.moveStart("character",n),i.setEndPoint("EndToStart",i),i.moveEnd("character",r-n),i.select()}function u(t,e){if(window.getSelection){var n=window.getSelection(),r=t[l()].length,i=Math.min(e.start,r),o=void 0===e.end?i:Math.min(e.end,r);if(!n.extend&&i>o){var a=o;o=i,i=a}var u=c(t,i),s=c(t,o);if(u&&s){var f=document.createRange();f.setStart(u.node,u.offset),n.removeAllRanges(),i>o?(n.addRange(f),n.extend(s.node,s.offset)):(f.setEnd(s.node,s.offset),n.addRange(f))}}}var s=n(5),c=n(151),l=n(66),f=s.canUseDOM&&"selection"in document&&!("getSelection"in window),h={getOffsets:f?i:o,setOffsets:f?a:u};t.exports=h},function(t,e,n){"use strict";var r=n(2),i=n(3),o=n(29),a=n(12),u=n(4),s=n(26),c=(n(0),n(44),function(t){this._currentElement=t,this._stringText=""+t,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});i(c.prototype,{mountComponent:function(t,e,n,r){var i=n._idCounter++,o=" react-text: "+i+" ",c=" /react-text ";if(this._domID=i,this._hostParent=e,t.useCreateElement){var l=n._ownerDocument,f=l.createComment(o),h=l.createComment(c),p=a(l.createDocumentFragment());return a.queueChild(p,a(f)),this._stringText&&a.queueChild(p,a(l.createTextNode(this._stringText))),a.queueChild(p,a(h)),u.precacheNode(this,f),this._closingComment=h,p}var d=s(this._stringText);return t.renderToStaticMarkup?d:"<!--"+o+"-->"+d+"<!--"+c+"-->"},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();o.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var t=this._commentNodes;if(t)return t;if(!this._closingComment)for(var e=u.getNodeFromInstance(this),n=e.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return t=[this._hostNode,this._closingComment],this._commentNodes=t,t},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,u.uncacheNode(this)}}),t.exports=c},function(t,e,n){"use strict";function r(){this._rootNodeID&&l.updateWrapper(this)}function i(t){var e=this._currentElement.props,n=u.executeOnChange(e,t);return c.asap(r,this),n}var o=n(2),a=n(3),u=n(34),s=n(4),c=n(8),l=(n(0),n(1),{getHostProps:function(t,e){return null!=e.dangerouslySetInnerHTML&&o("91"),a({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue,onChange:t._wrapperState.onChange})},mountWrapper:function(t,e){var n=u.getValue(e),r=n;if(null==n){var a=e.defaultValue,s=e.children;null!=s&&(null!=a&&o("92"),Array.isArray(s)&&(s.length<=1||o("93"),s=s[0]),a=""+s),null==a&&(a=""),r=a}t._wrapperState={initialValue:""+r,listeners:null,onChange:i.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=s.getNodeFromInstance(t),r=u.getValue(e);if(null!=r){var i=""+r;i!==n.value&&(n.value=i),null==e.defaultValue&&(n.defaultValue=i)}null!=e.defaultValue&&(n.defaultValue=e.defaultValue)},postMountWrapper:function(t){var e=s.getNodeFromInstance(t),n=e.textContent;n===t._wrapperState.initialValue&&(e.value=n)}});t.exports=l},function(t,e,n){"use strict";function r(t,e){"_hostNode"in t||s("33"),"_hostNode"in e||s("33");for(var n=0,r=t;r;r=r._hostParent)n++;for(var i=0,o=e;o;o=o._hostParent)i++;for(;n-i>0;)t=t._hostParent,n--;for(;i-n>0;)e=e._hostParent,i--;for(var a=n;a--;){if(t===e)return t;t=t._hostParent,e=e._hostParent}return null}function i(t,e){"_hostNode"in t||s("35"),"_hostNode"in e||s("35");for(;e;){if(e===t)return!0;e=e._hostParent}return!1}function o(t){return"_hostNode"in t||s("36"),t._hostParent}function a(t,e,n){for(var r=[];t;)r.push(t),t=t._hostParent;var i;for(i=r.length;i-- >0;)e(r[i],"captured",n);for(i=0;i<r.length;i++)e(r[i],"bubbled",n)}function u(t,e,n,i,o){for(var a=t&&e?r(t,e):null,u=[];t&&t!==a;)u.push(t),t=t._hostParent;for(var s=[];e&&e!==a;)s.push(e),e=e._hostParent;var c;for(c=0;c<u.length;c++)n(u[c],"bubbled",i);for(c=s.length;c-- >0;)n(s[c],"captured",o)}var s=n(2);n(0);t.exports={isAncestor:i,getLowestCommonAncestor:r,getParentInstance:o,traverseTwoPhase:a,traverseEnterLeave:u}},function(t,e,n){"use strict";function r(){this.reinitializeTransaction()}var i=n(3),o=n(8),a=n(25),u=n(6),s={initialize:u,close:function(){h.isBatchingUpdates=!1}},c={initialize:u,close:o.flushBatchedUpdates.bind(o)},l=[c,s];i(r.prototype,a,{getTransactionWrappers:function(){return l}});var f=new r,h={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,r,i,o){var a=h.isBatchingUpdates;return h.isBatchingUpdates=!0,a?t(e,n,r,i,o):f.perform(t,null,e,n,r,i,o)}};t.exports=h},function(t,e,n){"use strict";function r(){C||(C=!0,y.EventEmitter.injectReactEventListener(m),y.EventPluginHub.injectEventPluginOrder(u),y.EventPluginUtils.injectComponentTree(h),y.EventPluginUtils.injectTreeTraversal(d),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:w,EnterLeaveEventPlugin:s,ChangeEventPlugin:a,SelectEventPlugin:b,BeforeInputEventPlugin:o}),y.HostComponent.injectGenericComponentClass(f),y.HostComponent.injectTextComponentClass(v),y.DOMProperty.injectDOMPropertyConfig(i),y.DOMProperty.injectDOMPropertyConfig(c),y.DOMProperty.injectDOMPropertyConfig(x),y.EmptyComponent.injectEmptyComponentFactory(function(t){return new p(t)}),y.Updates.injectReconcileTransaction(_),y.Updates.injectBatchingStrategy(g),y.Component.injectEnvironment(l))}var i=n(91),o=n(93),a=n(95),u=n(97),s=n(98),c=n(100),l=n(102),f=n(105),h=n(4),p=n(107),d=n(115),v=n(113),g=n(116),m=n(120),y=n(121),_=n(126),x=n(131),b=n(132),w=n(133),C=!1;t.exports={inject:r}},function(t,e,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=r},function(t,e,n){"use strict";function r(t){i.enqueueEvents(t),i.processEventQueue(!1)}var i=n(19),o={handleTopLevel:function(t,e,n,o){r(i.extractEvents(t,e,n,o))}};t.exports=o},function(t,e,n){"use strict";function r(t){for(;t._hostParent;)t=t._hostParent;var e=f.getNodeFromInstance(t),n=e.parentNode;return f.getClosestInstanceFromNode(n)}function i(t,e){this.topLevelType=t,this.nativeEvent=e,this.ancestors=[]}function o(t){var e=p(t.nativeEvent),n=f.getClosestInstanceFromNode(e),i=n;do{t.ancestors.push(i),i=i&&r(i)}while(i);for(var o=0;o<t.ancestors.length;o++)n=t.ancestors[o],v._handleTopLevel(t.topLevelType,n,t.nativeEvent,p(t.nativeEvent))}function a(t){t(d(window))}var u=n(3),s=n(47),c=n(5),l=n(11),f=n(4),h=n(8),p=n(41),d=n(85);u(i.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),l.addPoolingTo(i,l.twoArgumentPooler);var v={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:c.canUseDOM?window:null,setHandleTopLevel:function(t){v._handleTopLevel=t},setEnabled:function(t){v._enabled=!!t},isEnabled:function(){return v._enabled},trapBubbledEvent:function(t,e,n){return n?s.listen(n,e,v.dispatchEvent.bind(null,t)):null},trapCapturedEvent:function(t,e,n){return n?s.capture(n,e,v.dispatchEvent.bind(null,t)):null},monitorScrollValue:function(t){var e=a.bind(null,t);s.listen(window,"scroll",e)},dispatchEvent:function(t,e){if(v._enabled){var n=i.getPooled(t,e);try{h.batchedUpdates(o,n)}finally{i.release(n)}}}};t.exports=v},function(t,e,n){"use strict";var r=n(13),i=n(19),o=n(32),a=n(35),u=n(56),s=n(23),c=n(58),l=n(8),f={Component:a.injection,DOMProperty:r.injection,EmptyComponent:u.injection,EventPluginHub:i.injection,EventPluginUtils:o.injection,EventEmitter:s.injection,HostComponent:c.injection,Updates:l.injection};t.exports=f},function(t,e,n){"use strict";var r=n(144),i=/\/?>/,o=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=r(t);return o.test(t)?t:t.replace(i," "+a.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(t)===n}};t.exports=a},function(t,e,n){"use strict";function r(t,e,n){return{type:"INSERT_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:n,afterNode:e}}function i(t,e,n){return{type:"MOVE_EXISTING",content:null,fromIndex:t._mountIndex,fromNode:h.getHostNode(t),toIndex:n,afterNode:e}}function o(t,e){return{type:"REMOVE_NODE",content:null,fromIndex:t._mountIndex,fromNode:e,toIndex:null,afterNode:null}}function a(t){return{type:"SET_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(t){return{type:"TEXT_CONTENT",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(t,e){return e&&(t=t||[],t.push(e)),t}function c(t,e){f.processChildrenUpdates(t,e)}var l=n(2),f=n(35),h=(n(21),n(7),n(10),n(14)),p=n(101),d=(n(6),n(147)),v=(n(0),{Mixin:{_reconcilerInstantiateChildren:function(t,e,n){return p.instantiateChildren(t,e,n)},_reconcilerUpdateChildren:function(t,e,n,r,i,o){var a,u=0;return a=d(e,u),p.updateChildren(t,a,n,r,i,this,this._hostContainerInfo,o,u),a},mountChildren:function(t,e,n){var r=this._reconcilerInstantiateChildren(t,e,n);this._renderedChildren=r;var i=[],o=0;for(var a in r)if(r.hasOwnProperty(a)){var u=r[a],s=0,c=h.mountComponent(u,e,this,this._hostContainerInfo,n,s);u._mountIndex=o++,i.push(c)}return i},updateTextContent:function(t){var e=this._renderedChildren;p.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");c(this,[u(t)])},updateMarkup:function(t){var e=this._renderedChildren;p.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");c(this,[a(t)])},updateChildren:function(t,e,n){this._updateChildren(t,e,n)},_updateChildren:function(t,e,n){var r=this._renderedChildren,i={},o=[],a=this._reconcilerUpdateChildren(r,t,o,i,e,n);if(a||r){var u,l=null,f=0,p=0,d=0,v=null;for(u in a)if(a.hasOwnProperty(u)){var g=r&&r[u],m=a[u];g===m?(l=s(l,this.moveChild(g,v,f,p)),p=Math.max(g._mountIndex,p),g._mountIndex=f):(g&&(p=Math.max(g._mountIndex,p)),l=s(l,this._mountChildAtIndex(m,o[d],v,f,e,n)),d++),f++,v=h.getHostNode(m)}for(u in i)i.hasOwnProperty(u)&&(l=s(l,this._unmountChild(r[u],i[u])));l&&c(this,l),this._renderedChildren=a}},unmountChildren:function(t){var e=this._renderedChildren;p.unmountChildren(e,t),this._renderedChildren=null},moveChild:function(t,e,n,r){if(t._mountIndex<r)return i(t,e,n)},createChild:function(t,e,n){return r(n,e,t._mountIndex)},removeChild:function(t,e){return o(t,e)},_mountChildAtIndex:function(t,e,n,r,i,o){return t._mountIndex=r,this.createChild(t,n,e)},_unmountChild:function(t,e){var n=this.removeChild(t,e);return t._mountIndex=null,n}}});t.exports=v},function(t,e,n){"use strict";function r(t){return!(!t||"function"!=typeof t.attachRef||"function"!=typeof t.detachRef)}var i=n(2),o=(n(0),{addComponentAsRefTo:function(t,e,n){r(n)||i("119"),n.attachRef(e,t)},removeComponentAsRefFrom:function(t,e,n){r(n)||i("120");var o=n.getPublicInstance();o&&o.refs[e]===t.getPublicInstance()&&n.detachRef(e)}});t.exports=o},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";function r(t){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=o.getPooled(null),this.useCreateElement=t}var i=n(3),o=n(52),a=n(11),u=n(23),s=n(59),c=(n(7),n(25)),l=n(37),f={initialize:s.getSelectionInformation,close:s.restoreSelection},h={initialize:function(){var t=u.isEnabled();return u.setEnabled(!1),t},close:function(t){u.setEnabled(t)}},p={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},d=[f,h,p],v={getTransactionWrappers:function(){return d},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return l},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(t){this.reactMountReady.rollback(t)},destructor:function(){o.release(this.reactMountReady),this.reactMountReady=null}};i(r.prototype,c,v),a.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";function r(t,e,n){"function"==typeof t?t(e.getPublicInstance()):o.addComponentAsRefTo(e,t,n)}function i(t,e,n){"function"==typeof t?t(null):o.removeComponentAsRefFrom(e,t,n)}var o=n(124),a={};a.attachRefs=function(t,e){if(null!==e&&"object"==typeof e){var n=e.ref;null!=n&&r(n,t,e._owner)}},a.shouldUpdateRefs=function(t,e){var n=null,r=null;null!==t&&"object"==typeof t&&(n=t.ref,r=t._owner);var i=null,o=null;return null!==e&&"object"==typeof e&&(i=e.ref,o=e._owner),n!==i||"string"==typeof i&&o!==r},a.detachRefs=function(t,e){if(null!==e&&"object"==typeof e){var n=e.ref;null!=n&&i(n,t,e._owner)}},t.exports=a},function(t,e,n){"use strict";function r(t){this.reinitializeTransaction(),this.renderToStaticMarkup=t,this.useCreateElement=!1,this.updateQueue=new u(this)}var i=n(3),o=n(11),a=n(25),u=(n(7),n(129)),s=[],c={enqueue:function(){}},l={getTransactionWrappers:function(){return s},getReactMountReady:function(){return c},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};i(r.prototype,a,l),o.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){}var o=n(37),a=(n(1),function(){function t(e){r(this,t),this.transaction=e}return t.prototype.isMounted=function(t){return!1},t.prototype.enqueueCallback=function(t,e,n){this.transaction.isInTransaction()&&o.enqueueCallback(t,e,n)},t.prototype.enqueueForceUpdate=function(t){this.transaction.isInTransaction()?o.enqueueForceUpdate(t):i(t,"forceUpdate")},t.prototype.enqueueReplaceState=function(t,e){this.transaction.isInTransaction()?o.enqueueReplaceState(t,e):i(t,"replaceState")},t.prototype.enqueueSetState=function(t,e){this.transaction.isInTransaction()?o.enqueueSetState(t,e):i(t,"setState")},t}());t.exports=a},function(t,e,n){"use strict";t.exports="15.4.2"},function(t,e,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},i={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(i).forEach(function(t){o.Properties[t]=0,i[t]&&(o.DOMAttributeNames[t]=i[t])}),t.exports=o},function(t,e,n){"use strict";function r(t){if("selectionStart"in t&&s.hasSelectionCapabilities(t))return{start:t.selectionStart,end:t.selectionEnd};if(window.getSelection){var e=window.getSelection();return{anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function i(t,e){if(y||null==v||v!==l())return null;var n=r(v);if(!m||!h(m,n)){m=n;var i=c.getPooled(d.select,g,t,e);return i.type="select",i.target=v,o.accumulateTwoPhaseDispatches(i),i}return null}var o=n(20),a=n(5),u=n(4),s=n(59),c=n(9),l=n(49),f=n(68),h=n(28),p=a.canUseDOM&&"documentMode"in document&&document.documentMode<=11,d={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},v=null,g=null,m=null,y=!1,_=!1,x={eventTypes:d,extractEvents:function(t,e,n,r){if(!_)return null;var o=e?u.getNodeFromInstance(e):window;switch(t){case"topFocus":(f(o)||"true"===o.contentEditable)&&(v=o,g=e,m=null);break;case"topBlur":v=null,g=null,m=null;break;case"topMouseDown":y=!0;break;case"topContextMenu":case"topMouseUp":return y=!1,i(n,r);case"topSelectionChange":if(p)break;case"topKeyDown":case"topKeyUp":return i(n,r)}return null},didPutListener:function(t,e,n){"onSelect"===e&&(_=!0)}};t.exports=x},function(t,e,n){"use strict";function r(t){return"."+t._rootNodeID}function i(t){return"button"===t||"input"===t||"select"===t||"textarea"===t}var o=n(2),a=n(47),u=n(20),s=n(4),c=n(134),l=n(135),f=n(9),h=n(138),p=n(140),d=n(24),v=n(137),g=n(141),m=n(142),y=n(22),_=n(143),x=n(6),b=n(39),w=(n(0),{}),C={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(t){var e=t[0].toUpperCase()+t.slice(1),n="on"+e,r="top"+e,i={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};w[t]=i,C[r]=i});var M={},E={eventTypes:w,extractEvents:function(t,e,n,r){var i=C[t];if(!i)return null;var a;switch(t){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=f;break;case"topKeyPress":if(0===b(n))return null;case"topKeyDown":case"topKeyUp":a=p;break;case"topBlur":case"topFocus":a=h;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=d;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=v;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=g;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=c;break;case"topTransitionEnd":a=m;break;case"topScroll":a=y;break;case"topWheel":a=_;break;case"topCopy":case"topCut":case"topPaste":a=l}a||o("86",t);var s=a.getPooled(i,e,n,r);return u.accumulateTwoPhaseDispatches(s),s},didPutListener:function(t,e,n){if("onClick"===e&&!i(t._tag)){var o=r(t),u=s.getNodeFromInstance(t);M[o]||(M[o]=a.listen(u,"click",x))}},willDeleteListener:function(t,e){if("onClick"===e&&!i(t._tag)){var n=r(t);M[n].remove(),delete M[n]}}};t.exports=E},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(9),o={animationName:null,elapsedTime:null,pseudoElement:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(9),o={clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(9),o={data:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(24),o={dataTransfer:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(22),o={relatedTarget:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(9),o={data:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(22),o=n(39),a=n(148),u=n(40),s={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:u,charCode:function(t){return"keypress"===t.type?o(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?o(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}};i.augmentClass(r,s),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(22),o=n(40),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:o};i.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(9),o={propertyName:null,elapsedTime:null,pseudoElement:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return i.call(this,t,e,n,r)}var i=n(24),o={deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null};i.augmentClass(r,o),t.exports=r},function(t,e,n){"use strict";function r(t){for(var e=1,n=0,r=0,o=t.length,a=o&-4;r<a;){for(var u=Math.min(r+4096,a);r<u;r+=4)n+=(e+=t.charCodeAt(r))+(e+=t.charCodeAt(r+1))+(e+=t.charCodeAt(r+2))+(e+=t.charCodeAt(r+3));e%=i,n%=i}for(;r<o;r++)n+=e+=t.charCodeAt(r);return e%=i,n%=i,e|n<<16}var i=65521;t.exports=r},function(t,e,n){"use strict";function r(t,e,n){if(null==e||"boolean"==typeof e||""===e)return"";if(isNaN(e)||0===e||o.hasOwnProperty(t)&&o[t])return""+e;if("string"==typeof e){e=e.trim()}return e+"px"}var i=n(51),o=(n(1),i.isUnitlessNumber);t.exports=r},function(t,e,n){"use strict";function r(t){if(null==t)return null;if(1===t.nodeType)return t;var e=a.get(t);if(e)return e=u(e),e?o.getNodeFromInstance(e):null;"function"==typeof t.render?i("44"):i("45",Object.keys(t))}var i=n(2),o=(n(10),n(4)),a=n(21),u=n(65);n(0),n(1);t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e,n,r){if(t&&"object"==typeof t){var i=t,o=void 0===i[n];o&&null!=e&&(i[n]=e)}}function i(t,e){if(null==t)return t;var n={};return o(t,r,n),n}var o=(n(33),n(70));n(1);void 0!==e&&e.env,t.exports=i}).call(e,n(50))},function(t,e,n){"use strict";function r(t){if(t.key){var e=o[t.key]||t.key;if("Unidentified"!==e)return e}if("keypress"===t.type){var n=i(t);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===t.type||"keyup"===t.type?a[t.keyCode]||"Unidentified":""}var i=n(39),o={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=r},function(t,e,n){"use strict";function r(t){var e=t&&(i&&t[i]||t[o]);if("function"==typeof e)return e}var i="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";t.exports=r},function(t,e,n){"use strict";function r(){return i++}var i=1;t.exports=r},function(t,e,n){"use strict";function r(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function i(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function o(t,e){for(var n=r(t),o=0,a=0;n;){if(3===n.nodeType){if(a=o+n.textContent.length,o<=e&&a>=e)return{node:n,offset:e-o};o=a}n=r(i(n))}}t.exports=o},function(t,e,n){"use strict";function r(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n["ms"+t]="MS"+e,n["O"+t]="o"+e.toLowerCase(),n}function i(t){if(u[t])return u[t];if(!a[t])return t;var e=a[t];for(var n in e)if(e.hasOwnProperty(n)&&n in s)return u[t]=e[n];return""}var o=n(5),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},u={},s={};o.canUseDOM&&(s=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),t.exports=i},function(t,e,n){"use strict";function r(t){return'"'+i(t)+'"'}var i=n(26);t.exports=r},function(t,e,n){"use strict";var r=n(60);t.exports=r.renderSubtreeIntoContainer},function(t,e,n){"use strict";function r(t){var e=/[=:]/g,n={"=":"=0",":":"=2"};return"$"+(""+t).replace(e,function(t){return n[t]})}function i(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1))).replace(e,function(t){return n[t]})}var o={escape:r,unescape:i};t.exports=o},function(t,e,n){"use strict";var r=n(17),i=(n(0),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),o=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},a=function(t,e,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,t,e,n),i}return new r(t,e,n)},u=function(t,e,n,r){var i=this;if(i.instancePool.length){var o=i.instancePool.pop();return i.call(o,t,e,n,r),o}return new i(t,e,n,r)},s=function(t){var e=this;t instanceof e||r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},c=10,l=i,f=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||l,n.poolSize||(n.poolSize=c),n.release=s,n},h={addPoolingTo:f,oneArgumentPooler:i,twoArgumentPooler:o,threeArgumentPooler:a,fourArgumentPooler:u};t.exports=h},function(t,e,n){"use strict";function r(t){return(""+t).replace(x,"$&/")}function i(t,e){this.func=t,this.context=e,this.count=0}function o(t,e,n){var r=t.func,i=t.context;r.call(i,e,t.count++)}function a(t,e,n){if(null==t)return t;var r=i.getPooled(e,n);m(t,o,r),i.release(r)}function u(t,e,n,r){this.result=t,this.keyPrefix=e,this.func=n,this.context=r,this.count=0}function s(t,e,n){var i=t.result,o=t.keyPrefix,a=t.func,u=t.context,s=a.call(u,e,t.count++);Array.isArray(s)?c(s,i,n,g.thatReturnsArgument):null!=s&&(v.isValidElement(s)&&(s=v.cloneAndReplaceKey(s,o+(!s.key||e&&e.key===s.key?"":r(s.key)+"/")+n)),i.push(s))}function c(t,e,n,i,o){var a="";null!=n&&(a=r(n)+"/");var c=u.getPooled(e,a,i,o);m(t,s,c),u.release(c)}function l(t,e,n){if(null==t)return t;var r=[];return c(t,r,null,e,n),r}function f(t,e,n){return null}function h(t,e){return m(t,f,null)}function p(t){var e=[];return c(t,e,null,g.thatReturnsArgument),e}var d=n(156),v=n(16),g=n(6),m=n(165),y=d.twoArgumentPooler,_=d.fourArgumentPooler,x=/\/+/g;i.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},d.addPoolingTo(i,y),u.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d.addPoolingTo(u,_);var b={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:h,toArray:p};t.exports=b},function(t,e,n){"use strict";function r(t){return t}function i(t,e){var n=x.hasOwnProperty(e)?x[e]:null;w.hasOwnProperty(e)&&"OVERRIDE_BASE"!==n&&h("73",e),t&&"DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n&&h("74",e)}function o(t,e){if(e){"function"==typeof e&&h("75"),v.isValidElement(e)&&h("76");var n=t.prototype,r=n.__reactAutoBindPairs;e.hasOwnProperty(y)&&b.mixins(t,e.mixins);for(var o in e)if(e.hasOwnProperty(o)&&o!==y){var a=e[o],u=n.hasOwnProperty(o);if(i(u,o),b.hasOwnProperty(o))b[o](t,a);else{var l=x.hasOwnProperty(o),f="function"==typeof a,p=f&&!l&&!u&&e.autobind!==!1;if(p)r.push(o,a),n[o]=a;else if(u){var d=x[o];(!l||"DEFINE_MANY_MERGED"!==d&&"DEFINE_MANY"!==d)&&h("77",d,o),"DEFINE_MANY_MERGED"===d?n[o]=s(n[o],a):"DEFINE_MANY"===d&&(n[o]=c(n[o],a))}else n[o]=a}}}else;}function a(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var i=n in b;i&&h("78",n);var o=n in t;o&&h("79",n),t[n]=r}}}function u(t,e){t&&e&&"object"==typeof t&&"object"==typeof e||h("80");for(var n in e)e.hasOwnProperty(n)&&(void 0!==t[n]&&h("81",n),t[n]=e[n]);return t}function s(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return u(i,n),u(i,r),i}}function c(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function l(t,e){var n=e.bind(t);return n}function f(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];t[r]=l(t,i)}}var h=n(17),p=n(3),d=n(45),v=n(16),g=(n(73),n(46)),m=n(18),y=(n(0),n(1),"mixins"),_=[],x={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},b={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)o(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=p({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=p({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=s(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=p({},t.propTypes,e)},statics:function(t,e){a(t,e)},autobind:function(){}},w={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e&&this.updater.enqueueCallback(this,e,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},C=function(){};p(C.prototype,d.prototype,w);var M={createClass:function(t){var e=r(function(t,n,r){this.__reactAutoBindPairs.length&&f(this),this.props=t,this.context=n,this.refs=m,this.updater=r||g,this.state=null;var i=this.getInitialState?this.getInitialState():null;("object"!=typeof i||Array.isArray(i))&&h("82",e.displayName||"ReactCompositeComponent"),this.state=i});e.prototype=new C,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],_.forEach(o.bind(null,e)),o(e,t),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),e.prototype.render||h("83");for(var n in x)e.prototype[n]||(e.prototype[n]=null);return e},injection:{injectMixin:function(t){_.push(t)}}};t.exports=M},function(t,e,n){"use strict";var r=n(16),i=r.createFactory,o={a:i("a"),abbr:i("abbr"),address:i("address"),area:i("area"),article:i("article"),aside:i("aside"),audio:i("audio"),b:i("b"),base:i("base"),bdi:i("bdi"),bdo:i("bdo"),big:i("big"),blockquote:i("blockquote"),body:i("body"),br:i("br"),button:i("button"),canvas:i("canvas"),caption:i("caption"),cite:i("cite"),code:i("code"),col:i("col"),colgroup:i("colgroup"),data:i("data"),datalist:i("datalist"),dd:i("dd"),del:i("del"),details:i("details"),dfn:i("dfn"),dialog:i("dialog"),div:i("div"),dl:i("dl"),dt:i("dt"),em:i("em"),embed:i("embed"),fieldset:i("fieldset"),figcaption:i("figcaption"),figure:i("figure"),footer:i("footer"),form:i("form"),h1:i("h1"),h2:i("h2"),h3:i("h3"),h4:i("h4"),h5:i("h5"),h6:i("h6"),head:i("head"),header:i("header"),hgroup:i("hgroup"),hr:i("hr"),html:i("html"),i:i("i"),iframe:i("iframe"),img:i("img"),input:i("input"),ins:i("ins"),kbd:i("kbd"),keygen:i("keygen"),label:i("label"),legend:i("legend"),li:i("li"),link:i("link"),main:i("main"),map:i("map"),mark:i("mark"),menu:i("menu"),menuitem:i("menuitem"),meta:i("meta"),meter:i("meter"),nav:i("nav"),noscript:i("noscript"),object:i("object"),ol:i("ol"),optgroup:i("optgroup"),option:i("option"),output:i("output"),p:i("p"),param:i("param"),picture:i("picture"),pre:i("pre"),progress:i("progress"),q:i("q"),rp:i("rp"),rt:i("rt"),ruby:i("ruby"),s:i("s"),samp:i("samp"),script:i("script"),section:i("section"),select:i("select"),small:i("small"),source:i("source"),span:i("span"),strong:i("strong"),style:i("style"),sub:i("sub"),summary:i("summary"),sup:i("sup"),table:i("table"),tbody:i("tbody"),td:i("td"),textarea:i("textarea"),tfoot:i("tfoot"),th:i("th"),thead:i("thead"),time:i("time"),title:i("title"),tr:i("tr"),track:i("track"),u:i("u"),ul:i("ul"),var:i("var"),video:i("video"),wbr:i("wbr"),circle:i("circle"),clipPath:i("clipPath"),defs:i("defs"),ellipse:i("ellipse"),g:i("g"),image:i("image"),line:i("line"),linearGradient:i("linearGradient"),mask:i("mask"),path:i("path"),pattern:i("pattern"),polygon:i("polygon"),polyline:i("polyline"),radialGradient:i("radialGradient"),rect:i("rect"),stop:i("stop"),svg:i("svg"),text:i("text"),tspan:i("tspan")};t.exports=o},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||1/t==1/e:t!==t&&e!==e}function i(t){this.message=t,this.stack=""}function o(t){function e(e,n,r,o,a,u,s){o=o||T,u=u||r;if(null==n[r]){var c=w[a];return e?new i(null===n[r]?"The "+c+" `"+u+"` is marked as required in `"+o+"`, but its value is `null`.":"The "+c+" `"+u+"` is marked as required in `"+o+"`, but its value is `undefined`."):null}return t(n,r,o,a,u)}var n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}function a(t){function e(e,n,r,o,a,u){var s=e[n];if(y(s)!==t)return new i("Invalid "+w[o]+" `"+a+"` of type `"+_(s)+"` supplied to `"+r+"`, expected `"+t+"`.");return null}return o(e)}function u(){return o(M.thatReturns(null))}function s(t){function e(e,n,r,o,a){if("function"!=typeof t)return new i("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=e[n];if(!Array.isArray(u)){return new i("Invalid "+w[o]+" `"+a+"` of type `"+y(u)+"` supplied to `"+r+"`, expected an array.")}for(var s=0;s<u.length;s++){var c=t(u,s,r,o,a+"["+s+"]",C);if(c instanceof Error)return c}return null}return o(e)}function c(){function t(t,e,n,r,o){var a=t[e];if(!b.isValidElement(a)){return new i("Invalid "+w[r]+" `"+o+"` of type `"+y(a)+"` supplied to `"+n+"`, expected a single ReactElement.")}return null}return o(t)}function l(t){function e(e,n,r,o,a){if(!(e[n]instanceof t)){var u=w[o],s=t.name||T;return new i("Invalid "+u+" `"+a+"` of type `"+x(e[n])+"` supplied to `"+r+"`, expected instance of `"+s+"`.")}return null}return o(e)}function f(t){function e(e,n,o,a,u){for(var s=e[n],c=0;c<t.length;c++)if(r(s,t[c]))return null;return new i("Invalid "+w[a]+" `"+u+"` of value `"+s+"` supplied to `"+o+"`, expected one of "+JSON.stringify(t)+".")}return Array.isArray(t)?o(e):M.thatReturnsNull}function h(t){function e(e,n,r,o,a){if("function"!=typeof t)return new i("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=e[n],s=y(u);if("object"!==s){return new i("Invalid "+w[o]+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected an object.")}for(var c in u)if(u.hasOwnProperty(c)){var l=t(u,c,r,o,a+"."+c,C);if(l instanceof Error)return l}return null}return o(e)}function p(t){function e(e,n,r,o,a){for(var u=0;u<t.length;u++){if(null==(0,t[u])(e,n,r,o,a,C))return null}return new i("Invalid "+w[o]+" `"+a+"` supplied to `"+r+"`.")}return Array.isArray(t)?o(e):M.thatReturnsNull}function d(){function t(t,e,n,r,o){if(!g(t[e])){return new i("Invalid "+w[r]+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return null}return o(t)}function v(t){function e(e,n,r,o,a){var u=e[n],s=y(u);if("object"!==s){return new i("Invalid "+w[o]+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.")}for(var c in t){var l=t[c];if(l){var f=l(u,c,r,o,a+"."+c,C);if(f)return f}}return null}return o(e)}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||b.isValidElement(t))return!0;var e=E(t);if(!e)return!1;var n,r=e.call(t);if(e!==t.entries){for(;!(n=r.next()).done;)if(!g(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!g(i[1]))return!1}return!0;default:return!1}}function m(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function y(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":m(e,t)?"symbol":e}function _(t){var e=y(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function x(t){return t.constructor&&t.constructor.name?t.constructor.name:T}var b=n(16),w=n(73),C=n(161),M=n(6),E=n(75),T=(n(1),"<<anonymous>>"),k={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:u(),arrayOf:s,element:c(),instanceOf:l,node:d(),objectOf:h,oneOf:f,oneOfType:p,shape:v};i.prototype=Error.prototype,t.exports=k},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=s,this.updater=n||u}function i(){}var o=n(3),a=n(45),u=n(46),s=n(18);i.prototype=a.prototype,r.prototype=new i,r.prototype.constructor=r,o(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,t.exports=r},function(t,e,n){"use strict";t.exports="15.4.2"},function(t,e,n){"use strict";function r(t){return o.isValidElement(t)||i("143"),t}var i=n(17),o=n(16);n(0);t.exports=r},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function i(t,e,n,o){var h=typeof t;if("undefined"!==h&&"boolean"!==h||(t=null),null===t||"string"===h||"number"===h||"object"===h&&t.$$typeof===u)return n(o,t,""===e?l+r(t,0):e),1;var p,d,v=0,g=""===e?l:e+f;if(Array.isArray(t))for(var m=0;m<t.length;m++)p=t[m],d=g+r(p,m),v+=i(p,d,n,o);else{var y=s(t);if(y){var _,x=y.call(t);if(y!==t.entries)for(var b=0;!(_=x.next()).done;)p=_.value,d=g+r(p,b++),v+=i(p,d,n,o);else for(;!(_=x.next()).done;){var w=_.value;w&&(p=w[1],d=g+c.escape(w[0])+f+r(p,0),v+=i(p,d,n,o))}}else if("object"===h){var C="",M=String(t);a("31","[object Object]"===M?"object with keys {"+Object.keys(t).join(", ")+"}":M,C)}}return v}function o(t,e,n){return null==t?0:i(t,"",e,n)}var a=n(17),u=(n(10),n(72)),s=n(75),c=(n(0),n(155)),l=(n(1),"."),f=":";t.exports=o},function(t,e,n){"use strict";var r=n(78),i=n(77),o=i.render,a=n(76),u=a.range,s=a.now,c=a.radialLine,l=a.curveLinearClosed,f=a.timer,h=["cyan","magenta","yellow"],p=u(0,2*Math.PI,Math.PI/200),d=function(t){return t},v=function(t,e){var n=s()/1e3;return 200+Math.cos(8*t-2*e*Math.PI/3+n)*Math.pow((1+Math.cos(t-n))/2,3)*32},g=function(t){return function(e){return v(e,t)}},m=function(t){return t(p)},y=r.createClass({displayName:"CircleWave",getInitialState:function(){return{height:500,width:960,data:h.map(function(t,e){return{style:{stroke:t,mixBlendMode:"darken"},getLine:c().curve(l).angle(d).radius(g(e))}})}},componentDidMount:function(){f(this.setData)},setData:function(){var t=this.state.data.map(function(t){return Object.assign({},t,{d:m(t.getLine)})});this.setState({data:t})},render:function(){var t=this.state,e=t.height,n=t.width;return r.createElement("svg",{height:e,width:n},r.createElement("g",{transform:"translate("+n/2+","+e/2+")",fill:"none",strokeWidth:"10",strokeLinejoin:"round"},this.state.data.map(function(t){var e=t.style,n=t.d;return r.createElement("path",{key:e.stroke,style:e,d:n})})))}});o(r.createElement(y,null),document.getElementById("circle-wave"))}]);
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment