Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <html>
<head>
	<meta charset="utf-8">
</head>
<body>
	<div id="content"></div>
</body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                !function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}var e={};return n.m=t,n.c=e,n.p="/_assets/",n(0)}([function(t,n,e){var r=e(1),i=e(152);r.createFactory(i);r.render(r.createElement(i,null),document.getElementById("content"))},function(t,n,e){t.exports=e(2)},function(t,n,e){"use strict";var r=e(3),i=e(7),o=e(21),u=e(36),a=e(13),s=e(16),l=e(10),c=(e(31),e(39)),f=e(41),h=e(90),p=e(18),d=e(66),g=e(27),v=e(121),m=e(28),y=e(149),_=e(14),x=e(94),b=e(151);h.inject();var M=l.createElement,w=l.createFactory,C=l.cloneElement,E=g.measure("React","render",d.render),N={Children:{map:i.map,forEach:i.forEach,count:i.count,only:b},Component:o,DOM:c,PropTypes:v,initializeTouchEvents:function(t){r.useTouchEvents=t},createClass:u.createClass,createElement:M,cloneElement:C,createFactory:w,createMixin:function(t){return t},constructAndRenderComponent:d.constructAndRenderComponent,constructAndRenderComponentByID:d.constructAndRenderComponentByID,findDOMNode:x,render:E,renderToString:y.renderToString,renderToStaticMarkup:y.renderToStaticMarkup,unmountComponentAtNode:d.unmountComponentAtNode,isValidElement:l.isValidElement,withContext:a.withContext,__spread:_};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:s,InstanceHandles:p,Mount:d,Reconciler:m,TextComponent:f});N.version="0.13.3",t.exports=N},function(t,n,e){"use strict";function r(t){return t===v.topMouseUp||t===v.topTouchEnd||t===v.topTouchCancel}function i(t){return t===v.topMouseMove||t===v.topTouchMove}function o(t){return t===v.topMouseDown||t===v.topTouchStart}function u(t,n){var e=t._dispatchListeners,r=t._dispatchIDs;if(Array.isArray(e))for(var i=0;i<e.length&&!t.isPropagationStopped();i++)n(t,e[i],r[i]);else e&&n(t,e,r)}function a(t,n,e){t.currentTarget=g.Mount.getNode(e);var r=n(t,e);return t.currentTarget=null,r}function s(t,n){u(t,n),t._dispatchListeners=null,t._dispatchIDs=null}function l(t){var n=t._dispatchListeners,e=t._dispatchIDs;if(Array.isArray(n)){for(var r=0;r<n.length&&!t.isPropagationStopped();r++)if(n[r](t,e[r]))return e[r]}else if(n&&n(t,e))return e;return null}function c(t){var n=l(t);return t._dispatchIDs=null,t._dispatchListeners=null,n}function f(t){var n=t._dispatchListeners,e=t._dispatchIDs;d(!Array.isArray(n));var r=n?n(t,e):null;return t._dispatchListeners=null,t._dispatchIDs=null,r}function h(t){return!!t._dispatchListeners}var p=e(4),d=e(6),g={Mount:null,injectMount:function(t){g.Mount=t}},v=p.topLevelTypes,m={isEndish:r,isMoveish:i,isStartish:o,executeDirectDispatch:f,executeDispatch:a,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:c,hasDispatches:h,injection:g,useTouchEvents:!1};t.exports=m},function(t,n,e){"use strict";var r=e(5),i=r({bubbled:null,captured:null}),o=r({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),u={topLevelTypes:o,PropagationPhases:i};t.exports=u},function(t,n,e){"use strict";var r=e(6),i=function(t){var n,e={};r(t instanceof Object&&!Array.isArray(t));for(n in t)t.hasOwnProperty(n)&&(e[n]=n);return e};t.exports=i},function(t,n,e){"use strict";var r=function(t,n,e,r,i,o,u,a){if(!t){var s;if(void 0===n)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[e,r,i,o,u,a],c=0;s=new Error("Invariant Violation: "+n.replace(/%s/g,function(){return l[c++]}))}throw s.framesToPop=1,s}};t.exports=r},function(t,n,e){"use strict";function r(t,n){this.forEachFunction=t,this.forEachContext=n}function i(t,n,e,r){var i=t;i.forEachFunction.call(i.forEachContext,n,r)}function o(t,n,e){if(null==t)return t;var o=r.getPooled(n,e);p(t,i,o),r.release(o)}function u(t,n,e){this.mapResult=t,this.mapFunction=n,this.mapContext=e}function a(t,n,e,r){var i=t,o=i.mapResult,u=!o.hasOwnProperty(e);if(u){var a=i.mapFunction.call(i.mapContext,n,r);o[e]=a}}function s(t,n,e){if(null==t)return t;var r={},i=u.getPooled(r,n,e);return p(t,a,i),u.release(i),h.create(r)}function l(t,n,e,r){return null}function c(t,n){return p(t,l,null)}var f=e(8),h=e(9),p=e(17),d=(e(11),f.twoArgumentPooler),g=f.threeArgumentPooler;f.addPoolingTo(r,d),f.addPoolingTo(u,g);var v={forEach:o,map:s,count:c};t.exports=v},function(t,n,e){"use strict";var r=e(6),i=function(t){var n=this;if(n.instancePool.length){var e=n.instancePool.pop();return n.call(e,t),e}return new n(t)},o=function(t,n){var e=this;if(e.instancePool.length){var r=e.instancePool.pop();return e.call(r,t,n),r}return new e(t,n)},u=function(t,n,e){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,t,n,e),i}return new r(t,n,e)},a=function(t,n,e,r,i){var o=this;if(o.instancePool.length){var u=o.instancePool.pop();return o.call(u,t,n,e,r,i),u}return new o(t,n,e,r,i)},s=function(t){var n=this;r(t instanceof n),t.destructor&&t.destructor(),n.instancePool.length<n.poolSize&&n.instancePool.push(t)},l=10,c=i,f=function(t,n){var e=t;return e.instancePool=[],e.getPooled=n||c,e.poolSize||(e.poolSize=l),e.release=s,e},h={addPoolingTo:f,oneArgumentPooler:i,twoArgumentPooler:o,threeArgumentPooler:u,fiveArgumentPooler:a};t.exports=h},function(t,n,e){"use strict";var r=(e(10),e(11),{create:function(t){return t},extract:function(t){return t},extractIfFragment:function(t){return t}});t.exports=r},function(t,n,e){"use strict";var r=e(13),i=e(16),o=e(14),u=(e(11),{key:!0,ref:!0}),a=function(t,n,e,r,i,o){this.type=t,this.key=n,this.ref=e,this._owner=r,this._context=i,this.props=o};a.prototype={_isReactElement:!0},a.createElement=function(t,n,e){var o,s={},l=null,c=null;if(null!=n){c=void 0===n.ref?null:n.ref,l=void 0===n.key?null:""+n.key;for(o in n)n.hasOwnProperty(o)&&!u.hasOwnProperty(o)&&(s[o]=n[o])}var f=arguments.length-2;if(1===f)s.children=e;else if(f>1){for(var h=Array(f),p=0;f>p;p++)h[p]=arguments[p+2];s.children=h}if(t&&t.defaultProps){var d=t.defaultProps;for(o in d)"undefined"==typeof s[o]&&(s[o]=d[o])}return new a(t,l,c,i.current,r.current,s)},a.createFactory=function(t){var n=a.createElement.bind(null,t);return n.type=t,n},a.cloneAndReplaceProps=function(t,n){var e=new a(t.type,t.key,t.ref,t._owner,t._context,n);return e},a.cloneElement=function(t,n,e){var r,s=o({},t.props),l=t.key,c=t.ref,f=t._owner;if(null!=n){void 0!==n.ref&&(c=n.ref,f=i.current),void 0!==n.key&&(l=""+n.key);for(r in n)n.hasOwnProperty(r)&&!u.hasOwnProperty(r)&&(s[r]=n[r])}var h=arguments.length-2;if(1===h)s.children=e;else if(h>1){for(var p=Array(h),d=0;h>d;d++)p[d]=arguments[d+2];s.children=p}return new a(t.type,l,c,f,t._context,s)},a.isValidElement=function(t){var n=!(!t||!t._isReactElement);return n},t.exports=a},function(t,n,e){"use strict";var r=e(12),i=r;t.exports=i},function(t,n,e){function r(t){return function(){return t}}function i(){}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,n,e){"use strict";var r=e(14),i=e(15),o=(e(11),{current:i,withContext:function(t,n){var e,i=o.current;o.current=r({},i,t);try{e=n()}finally{o.current=i}return e}});t.exports=o},function(t,n,e){"use strict";function r(t,n){if(null==t)throw new TypeError("Object.assign target cannot be null or undefined");for(var e=Object(t),r=Object.prototype.hasOwnProperty,i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o){var u=Object(o);for(var a in u)r.call(u,a)&&(e[a]=u[a])}}return e}t.exports=r},function(t,n,e){"use strict";var r={};t.exports=r},function(t,n,e){"use strict";var r={current:null};t.exports=r},function(t,n,e){"use strict";function r(t){return v[t]}function i(t,n){return t&&null!=t.key?u(t.key):n.toString(36)}function o(t){return(""+t).replace(m,r)}function u(t){return"$"+o(t)}function a(t,n,e,r,o){var s=typeof t;if(("undefined"===s||"boolean"===s)&&(t=null),null===t||"string"===s||"number"===s||l.isValidElement(t))return r(o,t,""===n?d+i(t,0):n,e),1;var f,v,m,y=0;if(Array.isArray(t))for(var _=0;_<t.length;_++)f=t[_],v=(""!==n?n+g:d)+i(f,_),m=e+y,y+=a(f,v,m,r,o);else{var x=h(t);if(x){var b,M=x.call(t);if(x!==t.entries)for(var w=0;!(b=M.next()).done;)f=b.value,v=(""!==n?n+g:d)+i(f,w++),m=e+y,y+=a(f,v,m,r,o);else for(;!(b=M.next()).done;){var C=b.value;C&&(f=C[1],v=(""!==n?n+g:d)+u(C[0])+g+i(f,0),m=e+y,y+=a(f,v,m,r,o))}}else if("object"===s){p(1!==t.nodeType);var E=c.extract(t);for(var N in E)E.hasOwnProperty(N)&&(f=E[N],v=(""!==n?n+g:d)+u(N)+g+i(f,0),m=e+y,y+=a(f,v,m,r,o))}}return y}function s(t,n,e){return null==t?0:a(t,"",0,n,e)}var l=e(10),c=e(9),f=e(18),h=e(20),p=e(6),d=(e(11),f.SEPARATOR),g=":",v={"=":"=0",".":"=1",":":"=2"},m=/[=.:]/g;t.exports=s},function(t,n,e){"use strict";function r(t){return p+t.toString(36)}function i(t,n){return t.charAt(n)===p||n===t.length}function o(t){return""===t||t.charAt(0)===p&&t.charAt(t.length-1)!==p}function u(t,n){return 0===n.indexOf(t)&&i(n,t.length)}function a(t){return t?t.substr(0,t.lastIndexOf(p)):""}function s(t,n){if(h(o(t)&&o(n)),h(u(t,n)),t===n)return t;var e,r=t.length+d;for(e=r;e<n.length&&!i(n,e);e++);return n.substr(0,e)}function l(t,n){var e=Math.min(t.length,n.length);if(0===e)return"";for(var r=0,u=0;e>=u;u++)if(i(t,u)&&i(n,u))r=u;else if(t.charAt(u)!==n.charAt(u))break;var a=t.substr(0,r);return h(o(a)),a}function c(t,n,e,r,i,o){t=t||"",n=n||"",h(t!==n);var l=u(n,t);h(l||u(t,n));for(var c=0,f=l?a:s,p=t;;p=f(p,n)){var d;if(i&&p===t||o&&p===n||(d=e(p,l,r)),d===!1||p===n)break;h(c++<g)}}var f=e(19),h=e(6),p=".",d=p.length,g=100,v={createReactRootID:function(){return r(f.createReactRootIndex())},createReactID:function(t,n){return t+n},getReactRootIDFromNodeID:function(t){if(t&&t.charAt(0)===p&&t.length>1){var n=t.indexOf(p,1);return n>-1?t.substr(0,n):t}return null},traverseEnterLeave:function(t,n,e,r,i){var o=l(t,n);o!==t&&c(t,o,e,r,!1,!0),o!==n&&c(o,n,e,i,!0,!1)},traverseTwoPhase:function(t,n,e){t&&(c("",t,n,e,!0,!1),c(t,"",n,e,!1,!0))},traverseAncestors:function(t,n,e){c("",t,n,e,!0,!1)},_getFirstCommonAncestorID:l,_getNextDescendantID:s,isAncestorIDOf:u,SEPARATOR:p};t.exports=v},function(t,n,e){"use strict";var r={injectCreateReactRootIndex:function(t){i.createReactRootIndex=t}},i={createReactRootIndex:null,injection:r};t.exports=i},function(t,n,e){"use strict";function r(t){var n=t&&(i&&t[i]||t[o]);return"function"==typeof n?n:void 0}var i="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";t.exports=r},function(t,n,e){"use strict";function r(t,n){this.props=t,this.context=n}var i=e(22),o=e(6);e(11);r.prototype.setState=function(t,n){o("object"==typeof t||"function"==typeof t||null==t),i.enqueueSetState(this,t),n&&i.enqueueCallback(this,n)},r.prototype.forceUpdate=function(t){i.enqueueForceUpdate(this),t&&i.enqueueCallback(this,t)};t.exports=r},function(t,n,e){"use strict";function r(t){t!==o.currentlyMountingInstance&&l.enqueueUpdate(t)}function i(t,n){f(null==u.current);var e=s.get(t);return e?e===o.currentlyUnmountingInstance?null:e:null}var o=e(23),u=e(16),a=e(10),s=e(24),l=e(25),c=e(14),f=e(6),h=(e(11),{enqueueCallback:function(t,n){f("function"==typeof n);var e=i(t);return e&&e!==o.currentlyMountingInstance?(e._pendingCallbacks?e._pendingCallbacks.push(n):e._pendingCallbacks=[n],void r(e)):null},enqueueCallbackInternal:function(t,n){f("function"==typeof n),t._pendingCallbacks?t._pendingCallbacks.push(n):t._pendingCallbacks=[n],r(t)},enqueueForceUpdate:function(t){var n=i(t,"forceUpdate");n&&(n._pendingForceUpdate=!0,r(n))},enqueueReplaceState:function(t,n){var e=i(t,"replaceState");e&&(e._pendingStateQueue=[n],e._pendingReplaceState=!0,r(e))},enqueueSetState:function(t,n){var e=i(t,"setState");if(e){var o=e._pendingStateQueue||(e._pendingStateQueue=[]);o.push(n),r(e)}},enqueueSetProps:function(t,n){var e=i(t,"setProps");if(e){f(e._isTopLevel);var o=e._pendingElement||e._currentElement,u=c({},o.props,n);e._pendingElement=a.cloneAndReplaceProps(o,u),r(e)}},enqueueReplaceProps:function(t,n){var e=i(t,"replaceProps");if(e){f(e._isTopLevel);var o=e._pendingElement||e._currentElement;e._pendingElement=a.cloneAndReplaceProps(o,n),r(e)}},enqueueElementInternal:function(t,n){t._pendingElement=n,r(t)}});t.exports=h},function(t,n,e){"use strict";var r={currentlyMountingInstance:null,currentlyUnmountingInstance:null};t.exports=r},function(t,n,e){"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,n){t._reactInternalInstance=n}};t.exports=r},function(t,n,e){"use strict";function r(){v(N.ReactReconcileTransaction&&x)}function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=c.getPooled(),this.reconcileTransaction=N.ReactReconcileTransaction.getPooled()}function o(t,n,e,i,o){r(),x.batchedUpdates(t,n,e,i,o)}function u(t,n){return t._mountOrder-n._mountOrder}function a(t){var n=t.dirtyComponentsLength;v(n===m.length),m.sort(u);for(var e=0;n>e;e++){var r=m[e],i=r._pendingCallbacks;if(r._pendingCallbacks=null,p.performUpdateIfNecessary(r,t.reconcileTransaction),i)for(var o=0;o<i.length;o++)t.callbackQueue.enqueue(i[o],r.getPublicInstance())}}function s(t){return r(),x.isBatchingUpdates?void m.push(t):void x.batchedUpdates(s,t)}function l(t,n){v(x.isBatchingUpdates),y.enqueue(t,n),_=!0}var c=e(26),f=e(8),h=(e(16),e(27)),p=e(28),d=e(35),g=e(14),v=e(6),m=(e(11),[]),y=c.getPooled(),_=!1,x=null,b={initialize:function(){this.dirtyComponentsLength=m.length},close:function(){this.dirtyComponentsLength!==m.length?(m.splice(0,this.dirtyComponentsLength),C()):m.length=0}},M={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},w=[b,M];g(i.prototype,d.Mixin,{getTransactionWrappers:function(){return w},destructor:function(){this.dirtyComponentsLength=null,c.release(this.callbackQueue),this.callbackQueue=null,N.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(t,n,e){return d.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,t,n,e)}}),f.addPoolingTo(i);var C=function(){for(;m.length||_;){if(m.length){var t=i.getPooled();t.perform(a,null,t),i.release(t)}if(_){_=!1;var n=y;y=c.getPooled(),n.notifyAll(),c.release(n)}}};C=h.measure("ReactUpdates","flushBatchedUpdates",C);var E={injectReconcileTransaction:function(t){v(t),N.ReactReconcileTransaction=t},injectBatchingStrategy:function(t){v(t),v("function"==typeof t.batchedUpdates),v("boolean"==typeof t.isBatchingUpdates),x=t}},N={ReactReconcileTransaction:null,batchedUpdates:o,enqueueUpdate:s,flushBatchedUpdates:C,injection:E,asap:l};t.exports=N},function(t,n,e){"use strict";function r(){this._callbacks=null,this._contexts=null}var i=e(8),o=e(14),u=e(6);o(r.prototype,{enqueue:function(t,n){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(t),this._contexts.push(n)},notifyAll:function(){var t=this._callbacks,n=this._contexts;if(t){u(t.length===n.length),this._callbacks=null,this._contexts=null;for(var e=0,r=t.length;r>e;e++)t[e].call(n[e]);t.length=0,n.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),i.addPoolingTo(r),t.exports=r},function(t,n,e){"use strict";function r(t,n,e){return e}var i={enableMeasure:!1,storedMeasure:r,measureMethods:function(t,n,e){},measure:function(t,n,e){return e},injection:{injectMeasure:function(t){i.storedMeasure=t}}};t.exports=i},function(t,n,e){"use strict";function r(){i.attachRefs(this,this._currentElement)}var i=e(29),o=(e(31),{mountComponent:function(t,n,e,i){var o=t.mountComponent(n,e,i);return e.getReactMountReady().enqueue(r,t),o},unmountComponent:function(t){i.detachRefs(t,t._currentElement),t.unmountComponent()},receiveComponent:function(t,n,e,o){var u=t._currentElement;if(n!==u||null==n._owner){var a=i.shouldUpdateRefs(u,n);a&&i.detachRefs(t,u),t.receiveComponent(n,e,o),a&&e.getReactMountReady().enqueue(r,t)}},performUpdateIfNecessary:function(t,n){t.performUpdateIfNecessary(n)}});t.exports=o},function(t,n,e){"use strict";function r(t,n,e){"function"==typeof t?t(n.getPublicInstance()):o.addComponentAsRefTo(n,t,e)}function i(t,n,e){"function"==typeof t?t(null):o.removeComponentAsRefFrom(n,t,e)}var o=e(30),u={};u.attachRefs=function(t,n){var e=n.ref;null!=e&&r(e,t,n._owner)},u.shouldUpdateRefs=function(t,n){return n._owner!==t._owner||n.ref!==t.ref},u.detachRefs=function(t,n){var e=n.ref;null!=e&&i(e,t,n._owner)},t.exports=u},function(t,n,e){"use strict";var r=e(6),i={isValidOwner:function(t){return!(!t||"function"!=typeof t.attachRef||"function"!=typeof t.detachRef)},addComponentAsRefTo:function(t,n,e){r(i.isValidOwner(e)),e.attachRef(n,t)},removeComponentAsRefFrom:function(t,n,e){r(i.isValidOwner(e)),e.getPublicInstance().refs[n]===t.getPublicInstance()&&e.detachRef(n)}};t.exports=i},function(t,n,e){"use strict";function r(){if(y.current){var t=y.current.getName();if(t)return" Check the render method of `"+t+"`."}return""}function i(t){var n=t&&t.getPublicInstance();if(!n)return void 0;var e=n.constructor;return e?e.displayName||e.name||void 0:void 0}function o(){var t=y.current;return t&&i(t)||void 0}function u(t,n){t._store.validated||null!=t.key||(t._store.validated=!0,s('Each child in an array or iterator should have a unique "key" prop.',t,n))}function a(t,n,e){C.test(t)&&s("Child objects should have non-numeric keys so ordering is preserved.",n,e)}function s(t,n,e){var r=o(),u="string"==typeof e?e:e.displayName||e.name,a=r||u,s=M[t]||(M[t]={});if(!s.hasOwnProperty(a)){s[a]=!0;var l="";if(n&&n._owner&&n._owner!==y.current){var c=i(n._owner);l=" It was passed a child from "+c+"."}}}function l(t,n){if(Array.isArray(t))for(var e=0;e<t.length;e++){var r=t[e];g.isValidElement(r)&&u(r,n)}else if(g.isValidElement(t))t._store.validated=!0;else if(t){var i=x(t);if(i){if(i!==t.entries)for(var o,s=i.call(t);!(o=s.next()).done;)g.isValidElement(o.value)&&u(o.value,n)}else if("object"==typeof t){var l=v.extractIfFragment(t);for(var c in l)l.hasOwnProperty(c)&&a(c,l[c],n)}}}function c(t,n,e,i){for(var o in n)if(n.hasOwnProperty(o)){var u;try{b("function"==typeof n[o]),u=n[o](e,o,t,i)}catch(a){u=a}if(u instanceof Error&&!(u.message in w)){w[u.message]=!0;r(this)}}}function f(t,n){var e=n.type,r="string"==typeof e?e:e.displayName,i=n._owner?n._owner.getPublicInstance().constructor.displayName:null,o=t+"|"+r+"|"+i;if(!E.hasOwnProperty(o)){E[o]=!0;var u="";r&&(u=" <"+r+" />");var a="";i&&(a=" The element was created by "+i+".")}}function h(t,n){return t!==t?n!==n:0===t&&0===n?1/t===1/n:t===n}function p(t){if(t._store){var n=t._store.originalProps,e=t.props;for(var r in e)e.hasOwnProperty(r)&&(n.hasOwnProperty(r)&&h(n[r],e[r])||(f(r,t),n[r]=e[r]))}}function d(t){if(null!=t.type){var n=_.getComponentClassForElement(t),e=n.displayName||n.name;n.propTypes&&c(e,n.propTypes,t.props,m.prop),"function"==typeof n.getDefaultProps}}var g=e(10),v=e(9),m=e(32),y=(e(33),e(16)),_=e(34),x=e(20),b=e(6),M=(e(11),{}),w={},C=/^\d+$/,E={},N={checkAndWarnForMutatedProps:p,createElement:function(t,n,e){var r=g.createElement.apply(this,arguments);if(null==r)return r;for(var i=2;i<arguments.length;i++)l(arguments[i],t);return d(r),r},createFactory:function(t){var n=N.createElement.bind(null,t);return n.type=t,n},cloneElement:function(t,n,e){for(var r=g.cloneElement.apply(this,arguments),i=2;i<arguments.length;i++)l(arguments[i],r.type);return d(r),r}};t.exports=N},function(t,n,e){"use strict";var r=e(5),i=r({prop:null,context:null,childContext:null});t.exports=i},function(t,n,e){"use strict";var r={};t.exports=r},function(t,n,e){"use strict";function r(t){if("function"==typeof t.type)return t.type;var n=t.type,e=f[n];return null==e&&(f[n]=e=l(n)),e}function i(t){return s(c),new c(t.type,t.props)}function o(t){return new h(t)}function u(t){return t instanceof h}var a=e(14),s=e(6),l=null,c=null,f={},h=null,p={injectGenericComponentClass:function(t){c=t},injectTextComponentClass:function(t){h=t},injectComponentClasses:function(t){a(f,t)},injectAutoWrapper:function(t){l=t}},d={getComponentClassForElement:r,createInternalComponent:i,createInstanceForText:o,isTextComponent:u,injection:p};t.exports=d},function(t,n,e){"use strict";var r=e(6),i={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,n,e,i,o,u,a,s){r(!this.isInTransaction());var l,c;try{this._isInTransaction=!0,l=!0,this.initializeAll(0),c=t.call(n,e,i,o,u,a,s),l=!1}finally{try{if(l)try{this.closeAll(0)}catch(f){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(t){for(var n=this.transactionWrappers,e=t;e<n.length;e++){var r=n[e];try{this.wrapperInitData[e]=o.OBSERVED_ERROR,this.wrapperInitData[e]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[e]===o.OBSERVED_ERROR)try{this.initializeAll(e+1)}catch(i){}}}},closeAll:function(t){r(this.isInTransaction());for(var n=this.transactionWrappers,e=t;e<n.length;e++){var i,u=n[e],a=this.wrapperInitData[e];try{i=!0,a!==o.OBSERVED_ERROR&&u.close&&u.close.call(this,a),i=!1}finally{if(i)try{this.closeAll(e+1)}catch(s){}}}this.wrapperInitData.length=0}},o={Mixin:i,OBSERVED_ERROR:{}};t.exports=o},function(t,n,e){"use strict";function r(t,n){var e=C.hasOwnProperty(n)?C[n]:null;N.hasOwnProperty(n)&&y(e===M.OVERRIDE_BASE),t.hasOwnProperty(n)&&y(e===M.DEFINE_MANY||e===M.DEFINE_MANY_MERGED)}function i(t,n){if(n){y("function"!=typeof n),y(!h.isValidElement(n));var e=t.prototype;n.hasOwnProperty(b)&&E.mixins(t,n.mixins);for(var i in n)if(n.hasOwnProperty(i)&&i!==b){var o=n[i];if(r(e,i),E.hasOwnProperty(i))E[i](t,o);else{var u=C.hasOwnProperty(i),l=e.hasOwnProperty(i),c=o&&o.__reactDontBind,f="function"==typeof o,p=f&&!u&&!l&&!c;if(p)e.__reactAutoBindMap||(e.__reactAutoBindMap={}),e.__reactAutoBindMap[i]=o,e[i]=o;else if(l){var d=C[i];y(u&&(d===M.DEFINE_MANY_MERGED||d===M.DEFINE_MANY)),d===M.DEFINE_MANY_MERGED?e[i]=a(e[i],o):d===M.DEFINE_MANY&&(e[i]=s(e[i],o))}else e[i]=o}}}}function o(t,n){if(n)for(var e in n){var r=n[e];if(n.hasOwnProperty(e)){var i=e in E;y(!i);var o=e in t;y(!o),t[e]=r}}}function u(t,n){y(t&&n&&"object"==typeof t&&"object"==typeof n);for(var e in n)n.hasOwnProperty(e)&&(y(void 0===t[e]),t[e]=n[e]);return t}function a(t,n){return function(){var e=t.apply(this,arguments),r=n.apply(this,arguments);if(null==e)return r;if(null==r)return e;var i={};return u(i,e),u(i,r),i}}function s(t,n){return function(){t.apply(this,arguments),n.apply(this,arguments)}}function l(t,n){var e=n.bind(t);return e}function c(t){for(var n in t.__reactAutoBindMap)if(t.__reactAutoBindMap.hasOwnProperty(n)){var e=t.__reactAutoBindMap[n];t[n]=l(t,p.guard(e,t.constructor.displayName+"."+n))}}var f=e(21),h=(e(16),e(10)),p=e(37),d=e(24),g=e(23),v=(e(32),e(33),e(22)),m=e(14),y=e(6),_=e(5),x=e(38),b=(e(11),x({mixins:null})),M=_({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),w=[],C={mixins:M.DEFINE_MANY,statics:M.DEFINE_MANY,propTypes:M.DEFINE_MANY,contextTypes:M.DEFINE_MANY,childContextTypes:M.DEFINE_MANY,getDefaultProps:M.DEFINE_MANY_MERGED,getInitialState:M.DEFINE_MANY_MERGED,getChildContext:M.DEFINE_MANY_MERGED,render:M.DEFINE_ONCE,componentWillMount:M.DEFINE_MANY,componentDidMount:M.DEFINE_MANY,componentWillReceiveProps:M.DEFINE_MANY,shouldComponentUpdate:M.DEFINE_ONCE,componentWillUpdate:M.DEFINE_MANY,componentDidUpdate:M.DEFINE_MANY,componentWillUnmount:M.DEFINE_MANY,updateComponent:M.OVERRIDE_BASE},E={displayName:function(t,n){t.displayName=n},mixins:function(t,n){if(n)for(var e=0;e<n.length;e++)i(t,n[e])},childContextTypes:function(t,n){t.childContextTypes=m({},t.childContextTypes,n)},contextTypes:function(t,n){t.contextTypes=m({},t.contextTypes,n)},getDefaultProps:function(t,n){t.getDefaultProps?t.getDefaultProps=a(t.getDefaultProps,n):t.getDefaultProps=n},propTypes:function(t,n){t.propTypes=m({},t.propTypes,n)},statics:function(t,n){o(t,n)}},N={replaceState:function(t,n){v.enqueueReplaceState(this,t),n&&v.enqueueCallback(this,n)},isMounted:function(){var t=d.get(this);return t&&t!==g.currentlyMountingInstance},setProps:function(t,n){v.enqueueSetProps(this,t),n&&v.enqueueCallback(this,n)},replaceProps:function(t,n){v.enqueueReplaceProps(this,t),n&&v.enqueueCallback(this,n)}},S=function(){};m(S.prototype,f.prototype,N);var D={createClass:function(t){var n=function(t,n){this.__reactAutoBindMap&&c(this),this.props=t,this.context=n,this.state=null;var e=this.getInitialState?this.getInitialState():null;y("object"==typeof e&&!Array.isArray(e)),this.state=e};n.prototype=new S,n.prototype.constructor=n,w.forEach(i.bind(null,n)),i(n,t),n.getDefaultProps&&(n.defaultProps=n.getDefaultProps()),y(n.prototype.render);for(var e in C)n.prototype[e]||(n.prototype[e]=null);return n.type=n,n},injection:{injectMixin:function(t){w.push(t)}}};t.exports=D},function(t,n,e){"use strict";var r={guard:function(t,n){return t}};t.exports=r},function(t,n,e){var r=function(t){var n;for(n in t)if(t.hasOwnProperty(n))return n;return null};t.exports=r},function(t,n,e){"use strict";function r(t){return i.createFactory(t)}var i=e(10),o=(e(31),e(40)),u=o({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},r);t.exports=u},function(t,n,e){"use strict";function r(t,n,e){if(!t)return null;var r={};for(var o in t)i.call(t,o)&&(r[o]=n.call(e,t[o],o,t));return r}var i=Object.prototype.hasOwnProperty;t.exports=r},function(t,n,e){"use strict";var r=e(42),i=e(46),o=e(86),u=e(14),a=e(45),s=function(t){};u(s.prototype,{construct:function(t){this._currentElement=t,this._stringText=""+t,this._rootNodeID=null,this._mountIndex=0},mountComponent:function(t,n,e){this._rootNodeID=t;var i=a(this._stringText);return n.renderToStaticMarkup?i:"<span "+r.createMarkupForID(t)+">"+i+"</span>"},receiveComponent:function(t,n){if(t!==this._currentElement){this._currentElement=t;var e=""+t;e!==this._stringText&&(this._stringText=e,o.BackendIDOperations.updateTextContentByID(this._rootNodeID,e))}},unmountComponent:function(){i.unmountIDFromEnvironment(this._rootNodeID)}}),t.exports=s},function(t,n,e){"use strict";function r(t,n){return null==n||i.hasBooleanValue[t]&&!n||i.hasNumericValue[t]&&isNaN(n)||i.hasPositiveNumericValue[t]&&1>n||i.hasOverloadedBooleanValue[t]&&n===!1}var i=e(43),o=e(44),u=(e(11),{createMarkupForID:function(t){return i.ID_ATTRIBUTE_NAME+"="+o(t)},createMarkupForProperty:function(t,n){if(i.isStandardName.hasOwnProperty(t)&&i.isStandardName[t]){if(r(t,n))return"";var e=i.getAttributeName[t];return i.hasBooleanValue[t]||i.hasOverloadedBooleanValue[t]&&n===!0?e:e+"="+o(n)}return i.isCustomAttribute(t)?null==n?"":t+"="+o(n):null},setValueForProperty:function(t,n,e){if(i.isStandardName.hasOwnProperty(n)&&i.isStandardName[n]){var o=i.getMutationMethod[n];if(o)o(t,e);else if(r(n,e))this.deleteValueForProperty(t,n);else if(i.mustUseAttribute[n])t.setAttribute(i.getAttributeName[n],""+e);else{var u=i.getPropertyName[n];i.hasSideEffects[n]&&""+t[u]==""+e||(t[u]=e)}}else i.isCustomAttribute(n)&&(null==e?t.removeAttribute(n):t.setAttribute(n,""+e))},deleteValueForProperty:function(t,n){if(i.isStandardName.hasOwnProperty(n)&&i.isStandardName[n]){var e=i.getMutationMethod[n];if(e)e(t,void 0);else if(i.mustUseAttribute[n])t.removeAttribute(i.getAttributeName[n]);else{var r=i.getPropertyName[n],o=i.getDefaultValueForProperty(t.nodeName,r);i.hasSideEffects[n]&&""+t[r]===o||(t[r]=o)}}else i.isCustomAttribute(n)&&t.removeAttribute(n)}});t.exports=u},function(t,n,e){"use strict";function r(t,n){return(t&n)===n}var i=e(6),o={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(t){var n=t.Properties||{},e=t.DOMAttributeNames||{},u=t.DOMPropertyNames||{},s=t.DOMMutationMethods||{};t.isCustomAttribute&&a._isCustomAttributeFunctions.push(t.isCustomAttribute);for(var l in n){i(!a.isStandardName.hasOwnProperty(l)),a.isStandardName[l]=!0;var c=l.toLowerCase();if(a.getPossibleStandardName[c]=l,e.hasOwnProperty(l)){var f=e[l];a.getPossibleStandardName[f]=l,a.getAttributeName[l]=f}else a.getAttributeName[l]=c;a.getPropertyName[l]=u.hasOwnProperty(l)?u[l]:l,s.hasOwnProperty(l)?a.getMutationMethod[l]=s[l]:a.getMutationMethod[l]=null;var h=n[l];a.mustUseAttribute[l]=r(h,o.MUST_USE_ATTRIBUTE),a.mustUseProperty[l]=r(h,o.MUST_USE_PROPERTY),a.hasSideEffects[l]=r(h,o.HAS_SIDE_EFFECTS),a.hasBooleanValue[l]=r(h,o.HAS_BOOLEAN_VALUE),a.hasNumericValue[l]=r(h,o.HAS_NUMERIC_VALUE),a.hasPositiveNumericValue[l]=r(h,o.HAS_POSITIVE_NUMERIC_VALUE),a.hasOverloadedBooleanValue[l]=r(h,o.HAS_OVERLOADED_BOOLEAN_VALUE),i(!a.mustUseAttribute[l]||!a.mustUseProperty[l]),i(a.mustUseProperty[l]||!a.hasSideEffects[l]),i(!!a.hasBooleanValue[l]+!!a.hasNumericValue[l]+!!a.hasOverloadedBooleanValue[l]<=1)}}},u={},a={ID_ATTRIBUTE_NAME:"data-reactid",isStandardName:{},getPossibleStandardName:{},getAttributeName:{},getPropertyName:{},getMutationMethod:{},mustUseAttribute:{},mustUseProperty:{},hasSideEffects:{},hasBooleanValue:{},hasNumericValue:{},hasPositiveNumericValue:{},hasOverloadedBooleanValue:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(t){for(var n=0;n<a._isCustomAttributeFunctions.length;n++){var e=a._isCustomAttributeFunctions[n];if(e(t))return!0}return!1},getDefaultValueForProperty:function(t,n){
var e,r=u[t];return r||(u[t]=r={}),n in r||(e=document.createElement(t),r[n]=e[n]),r[n]},injection:o};t.exports=a},function(t,n,e){"use strict";function r(t){return'"'+i(t)+'"'}var i=e(45);t.exports=r},function(t,n,e){"use strict";function r(t){return o[t]}function i(t){return(""+t).replace(u,r)}var o={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},u=/[&><"']/g;t.exports=i},function(t,n,e){"use strict";var r=e(47),i=e(66),o={processChildrenUpdates:r.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:r.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(t){i.purgeID(t)}};t.exports=o},function(t,n,e){"use strict";var r=e(48),i=e(57),o=e(42),u=e(66),a=e(27),s=e(6),l=e(65),c={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},f={updatePropertyByID:function(t,n,e){var r=u.getNode(t);s(!c.hasOwnProperty(n)),null!=e?o.setValueForProperty(r,n,e):o.deleteValueForProperty(r,n)},deletePropertyByID:function(t,n,e){var r=u.getNode(t);s(!c.hasOwnProperty(n)),o.deleteValueForProperty(r,n,e)},updateStylesByID:function(t,n){var e=u.getNode(t);r.setValueForStyles(e,n)},updateInnerHTMLByID:function(t,n){var e=u.getNode(t);l(e,n)},updateTextContentByID:function(t,n){var e=u.getNode(t);i.updateTextContent(e,n)},dangerouslyReplaceNodeWithMarkupByID:function(t,n){var e=u.getNode(t);i.dangerouslyReplaceNodeWithMarkup(e,n)},dangerouslyProcessChildrenUpdates:function(t,n){for(var e=0;e<t.length;e++)t[e].parentNode=u.getNode(t[e].parentID);i.processUpdates(t,n)}};a.measureMethods(f,"ReactDOMIDOperations",{updatePropertyByID:"updatePropertyByID",deletePropertyByID:"deletePropertyByID",updateStylesByID:"updateStylesByID",updateInnerHTMLByID:"updateInnerHTMLByID",updateTextContentByID:"updateTextContentByID",dangerouslyReplaceNodeWithMarkupByID:"dangerouslyReplaceNodeWithMarkupByID",dangerouslyProcessChildrenUpdates:"dangerouslyProcessChildrenUpdates"}),t.exports=f},function(t,n,e){"use strict";var r=e(51),i=e(52),o=(e(53),e(55)),u=e(49),a=e(56),s=(e(11),a(function(t){return u(t)})),l="cssFloat";i.canUseDOM&&void 0===document.documentElement.style.cssFloat&&(l="styleFloat");var c={createMarkupForStyles:function(t){var n="";for(var e in t)if(t.hasOwnProperty(e)){var r=t[e];null!=r&&(n+=s(e)+":",n+=o(e,r)+";")}return n||null},setValueForStyles:function(t,n){var e=t.style;for(var i in n)if(n.hasOwnProperty(i)){var u=o(i,n[i]);if("float"===i&&(i=l),u)e[i]=u;else{var a=r.shorthandPropertyExpansions[i];if(a)for(var s in a)e[s]="";else e[i]=""}}}};t.exports=c},function(t,n,e){"use strict";function r(t){return i(t).replace(o,"-ms-")}var i=e(50),o=/^ms-/;t.exports=r},function(t,n,e){function r(t){return t.replace(i,"-$1").toLowerCase()}var i=/([A-Z])/g;t.exports=r},function(t,n,e){"use strict";function r(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}var i={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(i).forEach(function(t){o.forEach(function(n){i[r(n,t)]=i[t]})});var u={background:{backgroundImage:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundColor:!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}},a={isUnitlessNumber:i,shorthandPropertyExpansions:u};t.exports=a},function(t,n,e){"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,n,e){"use strict";function r(t){return i(t.replace(o,"ms-"))}var i=e(54),o=/^-ms-/;t.exports=r},function(t,n,e){function r(t){return t.replace(i,function(t,n){return n.toUpperCase()})}var i=/-(.)/g;t.exports=r},function(t,n,e){"use strict";function r(t,n){var e=null==n||"boolean"==typeof n||""===n;if(e)return"";var r=isNaN(n);return r||0===n||o.hasOwnProperty(t)&&o[t]?""+n:("string"==typeof n&&(n=n.trim()),n+"px")}var i=e(51),o=i.isUnitlessNumber;t.exports=r},function(t,n,e){"use strict";function r(t){var n={};return function(e){return n.hasOwnProperty(e)||(n[e]=t.call(this,e)),n[e]}}t.exports=r},function(t,n,e){"use strict";function r(t,n,e){t.insertBefore(n,t.childNodes[e]||null)}var i=e(58),o=e(63),u=e(64),a=e(6),s={dangerouslyReplaceNodeWithMarkup:i.dangerouslyReplaceNodeWithMarkup,updateTextContent:u,processUpdates:function(t,n){for(var e,s=null,l=null,c=0;c<t.length;c++)if(e=t[c],e.type===o.MOVE_EXISTING||e.type===o.REMOVE_NODE){var f=e.fromIndex,h=e.parentNode.childNodes[f],p=e.parentID;a(h),s=s||{},s[p]=s[p]||[],s[p][f]=h,l=l||[],l.push(h)}var d=i.dangerouslyRenderMarkup(n);if(l)for(var g=0;g<l.length;g++)l[g].parentNode.removeChild(l[g]);for(var v=0;v<t.length;v++)switch(e=t[v],e.type){case o.INSERT_MARKUP:r(e.parentNode,d[e.markupIndex],e.toIndex);break;case o.MOVE_EXISTING:r(e.parentNode,s[e.parentID][e.fromIndex],e.toIndex);break;case o.TEXT_CONTENT:u(e.parentNode,e.textContent);break;case o.REMOVE_NODE:}}};t.exports=s},function(t,n,e){"use strict";function r(t){return t.substring(1,t.indexOf(" "))}var i=e(52),o=e(59),u=e(12),a=e(62),s=e(6),l=/^(<[^ \/>]+)/,c="data-danger-index",f={dangerouslyRenderMarkup:function(t){s(i.canUseDOM);for(var n,e={},f=0;f<t.length;f++)s(t[f]),n=r(t[f]),n=a(n)?n:"*",e[n]=e[n]||[],e[n][f]=t[f];var h=[],p=0;for(n in e)if(e.hasOwnProperty(n)){var d,g=e[n];for(d in g)if(g.hasOwnProperty(d)){var v=g[d];g[d]=v.replace(l,"$1 "+c+'="'+d+'" ')}for(var m=o(g.join(""),u),y=0;y<m.length;++y){var _=m[y];_.hasAttribute&&_.hasAttribute(c)&&(d=+_.getAttribute(c),_.removeAttribute(c),s(!h.hasOwnProperty(d)),h[d]=_,p+=1)}}return s(p===h.length),s(h.length===t.length),h},dangerouslyReplaceNodeWithMarkup:function(t,n){s(i.canUseDOM),s(n),s("html"!==t.tagName.toLowerCase());var e=o(n,u)[0];t.parentNode.replaceChild(e,t)}};t.exports=f},function(t,n,e){function r(t){var n=t.match(c);return n&&n[1].toLowerCase()}function i(t,n){var e=l;s(!!l);var i=r(t),o=i&&a(i);if(o){e.innerHTML=o[1]+t+o[2];for(var c=o[0];c--;)e=e.lastChild}else e.innerHTML=t;var f=e.getElementsByTagName("script");f.length&&(s(n),u(f).forEach(n));for(var h=u(e.childNodes);e.lastChild;)e.removeChild(e.lastChild);return h}var o=e(52),u=e(60),a=e(62),s=e(6),l=o.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;t.exports=i},function(t,n,e){function r(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 i(t){return r(t)?Array.isArray(t)?t.slice():o(t):[t]}var o=e(61);t.exports=i},function(t,n,e){function r(t){var n=t.length;if(i(!Array.isArray(t)&&("object"==typeof t||"function"==typeof t)),i("number"==typeof n),i(0===n||n-1 in t),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(e){}for(var r=Array(n),o=0;n>o;o++)r[o]=t[o];return r}var i=e(6);t.exports=r},function(t,n,e){function r(t){return o(!!u),h.hasOwnProperty(t)||(t="*"),a.hasOwnProperty(t)||("*"===t?u.innerHTML="<link />":u.innerHTML="<"+t+"></"+t+">",a[t]=!u.firstChild),a[t]?h[t]:null}var i=e(52),o=e(6),u=i.canUseDOM?document.createElement("div"):null,a={circle:!0,clipPath:!0,defs:!0,ellipse:!0,g:!0,line:!0,linearGradient:!0,path:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,text:!0},s=[1,'<select multiple="true">',"</select>"],l=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],f=[1,"<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:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c,circle:f,clipPath:f,defs:f,ellipse:f,g:f,line:f,linearGradient:f,path:f,polygon:f,polyline:f,radialGradient:f,rect:f,stop:f,text:f};t.exports=r},function(t,n,e){"use strict";var r=e(5),i=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,TEXT_CONTENT:null});t.exports=i},function(t,n,e){"use strict";var r=e(52),i=e(45),o=e(65),u=function(t,n){t.textContent=n};r.canUseDOM&&("textContent"in document.documentElement||(u=function(t,n){o(t,i(n))})),t.exports=u},function(t,n,e){"use strict";var r=e(52),i=/^[ \r\n\t\f]/,o=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=function(t,n){t.innerHTML=n};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(u=function(t,n){MSApp.execUnsafeLocalFunction(function(){t.innerHTML=n})}),r.canUseDOM){var a=document.createElement("div");a.innerHTML=" ",""===a.innerHTML&&(u=function(t,n){if(t.parentNode&&t.parentNode.replaceChild(t,t),i.test(n)||"<"===n[0]&&o.test(n)){t.innerHTML="\ufeff"+n;var e=t.firstChild;1===e.data.length?t.removeChild(e):e.deleteData(0,1)}else t.innerHTML=n})}t.exports=u},function(t,n,e){"use strict";function r(t,n){for(var e=Math.min(t.length,n.length),r=0;e>r;r++)if(t.charAt(r)!==n.charAt(r))return r;return t.length===n.length?-1:e}function i(t){var n=T(t);return n&&V.getID(n)}function o(t){var n=u(t);if(n)if(L.hasOwnProperty(n)){var e=L[n];e!==t&&(k(!c(e,n)),L[n]=t)}else L[n]=t;return n}function u(t){return t&&t.getAttribute&&t.getAttribute(O)||""}function a(t,n){var e=u(t);e!==n&&delete L[e],t.setAttribute(O,n),L[n]=t}function s(t){return L.hasOwnProperty(t)&&c(L[t],t)||(L[t]=V.findReactNodeByID(t)),L[t]}function l(t){var n=b.get(t)._rootNodeID;return _.isNullComponentID(n)?null:(L.hasOwnProperty(n)&&c(L[n],n)||(L[n]=V.findReactNodeByID(n)),L[n])}function c(t,n){if(t){k(u(t)===n);var e=V.findReactContainerForID(n);if(e&&D(e,t))return!0}return!1}function f(t){delete L[t]}function h(t){var n=L[t];return n&&c(n,t)?void(q=n):!1}function p(t){q=null,x.traverseAncestors(t,h);var n=q;return q=null,n}function d(t,n,e,r,i){var o=C.mountComponent(t,n,r,S);t._isTopLevel=!0,V._mountImageIntoNode(o,e,i)}function g(t,n,e,r){var i=N.ReactReconcileTransaction.getPooled();i.perform(d,null,t,n,e,i,r),N.ReactReconcileTransaction.release(i)}var v=e(43),m=e(67),y=(e(16),e(10)),_=(e(31),e(75)),x=e(18),b=e(24),M=e(76),w=e(27),C=e(28),E=e(22),N=e(25),S=e(15),D=e(78),T=e(81),A=e(82),k=e(6),R=e(65),P=e(85),I=(e(11),x.SEPARATOR),O=v.ID_ATTRIBUTE_NAME,L={},U=1,j=9,F={},B={},z=[],q=null,V={_instancesByReactRootID:F,scrollMonitor:function(t,n){n()},_updateRootComponent:function(t,n,e,r){return V.scrollMonitor(e,function(){E.enqueueElementInternal(t,n),r&&E.enqueueCallbackInternal(t,r)}),t},_registerComponent:function(t,n){k(n&&(n.nodeType===U||n.nodeType===j)),m.ensureScrollValueMonitoring();var e=V.registerContainer(n);return F[e]=t,e},_renderNewRootComponent:function(t,n,e){var r=A(t,null),i=V._registerComponent(r,n);return N.batchedUpdates(g,r,i,n,e),r},render:function(t,n,e){k(y.isValidElement(t));var r=F[i(n)];if(r){var o=r._currentElement;if(P(o,t))return V._updateRootComponent(r,t,n,e).getPublicInstance();V.unmountComponentAtNode(n)}var u=T(n),a=u&&V.isRenderedByReact(u),s=a&&!r,l=V._renderNewRootComponent(t,n,s).getPublicInstance();return e&&e.call(l),l},constructAndRenderComponent:function(t,n,e){var r=y.createElement(t,n);return V.render(r,e)},constructAndRenderComponentByID:function(t,n,e){var r=document.getElementById(e);return k(r),V.constructAndRenderComponent(t,n,r)},registerContainer:function(t){var n=i(t);return n&&(n=x.getReactRootIDFromNodeID(n)),n||(n=x.createReactRootID()),B[n]=t,n},unmountComponentAtNode:function(t){k(t&&(t.nodeType===U||t.nodeType===j));var n=i(t),e=F[n];return e?(V.unmountComponentFromNode(e,t),delete F[n],delete B[n],!0):!1},unmountComponentFromNode:function(t,n){for(C.unmountComponent(t),n.nodeType===j&&(n=n.documentElement);n.lastChild;)n.removeChild(n.lastChild)},findReactContainerForID:function(t){var n=x.getReactRootIDFromNodeID(t),e=B[n];return e},findReactNodeByID:function(t){var n=V.findReactContainerForID(t);return V.findComponentRoot(n,t)},isRenderedByReact:function(t){if(1!==t.nodeType)return!1;var n=V.getID(t);return n?n.charAt(0)===I:!1},getFirstReactDOM:function(t){for(var n=t;n&&n.parentNode!==n;){if(V.isRenderedByReact(n))return n;n=n.parentNode}return null},findComponentRoot:function(t,n){var e=z,r=0,i=p(n)||t;for(e[0]=i.firstChild,e.length=1;r<e.length;){for(var o,u=e[r++];u;){var a=V.getID(u);a?n===a?o=u:x.isAncestorIDOf(a,n)&&(e.length=r=0,e.push(u.firstChild)):e.push(u.firstChild),u=u.nextSibling}if(o)return e.length=0,o}e.length=0,k(!1)},_mountImageIntoNode:function(t,n,e){if(k(n&&(n.nodeType===U||n.nodeType===j)),e){var i=T(n);if(M.canReuseMarkup(t,i))return;var o=i.getAttribute(M.CHECKSUM_ATTR_NAME);i.removeAttribute(M.CHECKSUM_ATTR_NAME);var u=i.outerHTML;i.setAttribute(M.CHECKSUM_ATTR_NAME,o);var a=r(t,u);" (client) "+t.substring(a-20,a+20)+"\n (server) "+u.substring(a-20,a+20);k(n.nodeType!==j)}k(n.nodeType!==j),R(n,t)},getReactRootID:i,getID:o,setID:a,getNode:s,getNodeFromInstance:l,purgeID:f};w.measureMethods(V,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),t.exports=V},function(t,n,e){"use strict";function r(t){return Object.prototype.hasOwnProperty.call(t,g)||(t[g]=p++,f[t[g]]={}),f[t[g]]}var i=e(4),o=e(68),u=e(69),a=e(72),s=e(73),l=e(14),c=e(74),f={},h=!1,p=0,d={topBlur:"blur",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",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topScroll:"scroll",topSelectionChange:"selectionchange",topTextInput:"textInput",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topWheel:"wheel"},g="_reactListenersID"+String(Math.random()).slice(2),v=l({},a,{ReactEventListener:null,injection:{injectReactEventListener:function(t){t.setHandleTopLevel(v.handleTopLevel),v.ReactEventListener=t}},setEnabled:function(t){v.ReactEventListener&&v.ReactEventListener.setEnabled(t)},isEnabled:function(){return!(!v.ReactEventListener||!v.ReactEventListener.isEnabled())},listenTo:function(t,n){for(var e=n,o=r(e),a=u.registrationNameDependencies[t],s=i.topLevelTypes,l=0,f=a.length;f>l;l++){var h=a[l];o.hasOwnProperty(h)&&o[h]||(h===s.topWheel?c("wheel")?v.ReactEventListener.trapBubbledEvent(s.topWheel,"wheel",e):c("mousewheel")?v.ReactEventListener.trapBubbledEvent(s.topWheel,"mousewheel",e):v.ReactEventListener.trapBubbledEvent(s.topWheel,"DOMMouseScroll",e):h===s.topScroll?c("scroll",!0)?v.ReactEventListener.trapCapturedEvent(s.topScroll,"scroll",e):v.ReactEventListener.trapBubbledEvent(s.topScroll,"scroll",v.ReactEventListener.WINDOW_HANDLE):h===s.topFocus||h===s.topBlur?(c("focus",!0)?(v.ReactEventListener.trapCapturedEvent(s.topFocus,"focus",e),v.ReactEventListener.trapCapturedEvent(s.topBlur,"blur",e)):c("focusin")&&(v.ReactEventListener.trapBubbledEvent(s.topFocus,"focusin",e),v.ReactEventListener.trapBubbledEvent(s.topBlur,"focusout",e)),o[s.topBlur]=!0,o[s.topFocus]=!0):d.hasOwnProperty(h)&&v.ReactEventListener.trapBubbledEvent(h,d[h],e),o[h]=!0)}},trapBubbledEvent:function(t,n,e){return v.ReactEventListener.trapBubbledEvent(t,n,e)},trapCapturedEvent:function(t,n,e){return v.ReactEventListener.trapCapturedEvent(t,n,e)},ensureScrollValueMonitoring:function(){if(!h){var t=s.refreshScrollValues;v.ReactEventListener.monitorScrollValue(t),h=!0}},eventNameDispatchConfigs:o.eventNameDispatchConfigs,registrationNameModules:o.registrationNameModules,putListener:o.putListener,getListener:o.getListener,deleteListener:o.deleteListener,deleteAllListeners:o.deleteAllListeners});t.exports=v},function(t,n,e){"use strict";var r=e(69),i=e(3),o=e(70),u=e(71),a=e(6),s={},l=null,c=function(t){if(t){var n=i.executeDispatch,e=r.getPluginModuleForEvent(t);e&&e.executeDispatch&&(n=e.executeDispatch),i.executeDispatchesInOrder(t,n),t.isPersistent()||t.constructor.release(t)}},f=null,h={injection:{injectMount:i.injection.injectMount,injectInstanceHandle:function(t){f=t},getInstanceHandle:function(){return f},injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:function(t,n,e){a(!e||"function"==typeof e);var r=s[n]||(s[n]={});r[t]=e},getListener:function(t,n){var e=s[n];return e&&e[t]},deleteListener:function(t,n){var e=s[n];e&&delete e[t]},deleteAllListeners:function(t){for(var n in s)delete s[n][t]},extractEvents:function(t,n,e,i){for(var u,a=r.plugins,s=0,l=a.length;l>s;s++){var c=a[s];if(c){var f=c.extractEvents(t,n,e,i);f&&(u=o(u,f))}}return u},enqueueEvents:function(t){t&&(l=o(l,t))},processEventQueue:function(){var t=l;l=null,u(t,c),a(!l)},__purge:function(){s={}},__getListenerBank:function(){return s}};t.exports=h},function(t,n,e){"use strict";function r(){if(a)for(var t in s){var n=s[t],e=a.indexOf(t);if(u(e>-1),!l.plugins[e]){u(n.extractEvents),l.plugins[e]=n;var r=n.eventTypes;for(var o in r)u(i(r[o],n,o))}}}function i(t,n,e){u(!l.eventNameDispatchConfigs.hasOwnProperty(e)),l.eventNameDispatchConfigs[e]=t;var r=t.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];o(a,n,e)}return!0}return t.registrationName?(o(t.registrationName,n,e),!0):!1}function o(t,n,e){u(!l.registrationNameModules[t]),l.registrationNameModules[t]=n,l.registrationNameDependencies[t]=n.eventTypes[e].dependencies}var u=e(6),a=null,s={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(t){u(!a),a=Array.prototype.slice.call(t),r()},injectEventPluginsByName:function(t){var n=!1;for(var e in t)if(t.hasOwnProperty(e)){var i=t[e];s.hasOwnProperty(e)&&s[e]===i||(u(!s[e]),s[e]=i,n=!0)}n&&r()},getPluginModuleForEvent:function(t){var n=t.dispatchConfig;if(n.registrationName)return l.registrationNameModules[n.registrationName]||null;for(var e in n.phasedRegistrationNames)if(n.phasedRegistrationNames.hasOwnProperty(e)){var r=l.registrationNameModules[n.phasedRegistrationNames[e]];if(r)return r}return null},_resetEventPlugins:function(){a=null;for(var t in s)s.hasOwnProperty(t)&&delete s[t];l.plugins.length=0;var n=l.eventNameDispatchConfigs;for(var e in n)n.hasOwnProperty(e)&&delete n[e];var r=l.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};t.exports=l},function(t,n,e){"use strict";function r(t,n){if(i(null!=n),null==t)return n;var e=Array.isArray(t),r=Array.isArray(n);return e&&r?(t.push.apply(t,n),t):e?(t.push(n),t):r?[t].concat(n):[t,n]}var i=e(6);t.exports=r},function(t,n,e){"use strict";var r=function(t,n,e){Array.isArray(t)?t.forEach(n,e):t&&n.call(e,t)};t.exports=r},function(t,n,e){"use strict";function r(t){i.enqueueEvents(t),i.processEventQueue()}var i=e(68),o={handleTopLevel:function(t,n,e,o){var u=i.extractEvents(t,n,e,o);r(u)}};t.exports=o},function(t,n,e){"use strict";var r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(t){r.currentScrollLeft=t.x,r.currentScrollTop=t.y}};t.exports=r},function(t,n,e){"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,n){if(!o.canUseDOM||n&&!("addEventListener"in document))return!1;var e="on"+t,r=e in document;if(!r){var u=document.createElement("div");u.setAttribute(e,"return;"),r="function"==typeof u[e]}return!r&&i&&"wheel"===t&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var i,o=e(52);o.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=r},function(t,n,e){"use strict";function r(t){c[t]=!0}function i(t){delete c[t]}function o(t){return!!c[t]}var u,a=e(10),s=e(24),l=e(6),c={},f={injectEmptyComponent:function(t){u=a.createFactory(t)}},h=function(){};h.prototype.componentDidMount=function(){var t=s.get(this);t&&r(t._rootNodeID)},h.prototype.componentWillUnmount=function(){var t=s.get(this);t&&i(t._rootNodeID)},h.prototype.render=function(){return l(u),u()};var p=a.createElement(h),d={emptyElement:p,injection:f,isNullComponentID:o};t.exports=d},function(t,n,e){"use strict";var r=e(77),i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var n=r(t);return t.replace(">"," "+i.CHECKSUM_ATTR_NAME+'="'+n+'">')},canReuseMarkup:function(t,n){var e=n.getAttribute(i.CHECKSUM_ATTR_NAME);e=e&&parseInt(e,10);var o=r(t);return o===e}};t.exports=i},function(t,n,e){"use strict";function r(t){for(var n=1,e=0,r=0;r<t.length;r++)n=(n+t.charCodeAt(r))%i,e=(e+n)%i;return n|e<<16}var i=65521;t.exports=r},function(t,n,e){function r(t,n){return t&&n?t===n?!0:i(t)?!1:i(n)?r(t,n.parentNode):t.contains?t.contains(n):t.compareDocumentPosition?!!(16&t.compareDocumentPosition(n)):!1:!1}var i=e(79);t.exports=r},function(t,n,e){function r(t){return i(t)&&3==t.nodeType}var i=e(80);t.exports=r},function(t,n,e){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,n,e){"use strict";function r(t){return t?t.nodeType===i?t.documentElement:t.firstChild:null}var i=9;t.exports=r},function(t,n,e){"use strict";function r(t){return"function"==typeof t&&"undefined"!=typeof t.prototype&&"function"==typeof t.prototype.mountComponent&&"function"==typeof t.prototype.receiveComponent}function i(t,n){var e;if((null===t||t===!1)&&(t=u.emptyElement),"object"==typeof t){var i=t;e=n===i.type&&"string"==typeof i.type?a.createInternalComponent(i):r(i.type)?new i.type(i):new c}else"string"==typeof t||"number"==typeof t?e=a.createInstanceForText(t):l(!1);return e.construct(t),e._mountIndex=0,e._mountImage=null,e}var o=e(83),u=e(75),a=e(34),s=e(14),l=e(6),c=(e(11),function(){});s(c.prototype,o.Mixin,{_instantiateReactComponent:i}),t.exports=i},function(t,n,e){"use strict";function r(t){var n=t._currentElement._owner||null;if(n){var e=n.getName();if(e)return" Check the render method of `"+e+"`."}return""}var i=e(84),o=e(13),u=e(16),a=e(10),s=(e(31),e(24)),l=e(23),c=e(34),f=e(27),h=e(32),p=(e(33),e(28)),d=e(25),g=e(14),v=e(15),m=e(6),y=e(85),_=(e(11),1),x={construct:function(t){this._currentElement=t,this._rootNodeID=null,this._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._isTopLevel=!1,this._pendingCallbacks=null},mountComponent:function(t,n,e){this._context=e,this._mountOrder=_++,this._rootNodeID=t;var r=this._processProps(this._currentElement.props),i=this._processContext(this._currentElement._context),o=c.getComponentClassForElement(this._currentElement),u=new o(r,i);u.props=r,u.context=i,u.refs=v,this._instance=u,s.set(u,this);var a=u.state;void 0===a&&(u.state=a=null),m("object"==typeof a&&!Array.isArray(a)),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var f,h,d=l.currentlyMountingInstance;l.currentlyMountingInstance=this;try{u.componentWillMount&&(u.componentWillMount(),this._pendingStateQueue&&(u.state=this._processPendingState(u.props,u.context))),f=this._getValidatedChildContext(e),h=this._renderValidatedComponent(f)}finally{l.currentlyMountingInstance=d}this._renderedComponent=this._instantiateReactComponent(h,this._currentElement.type);var g=p.mountComponent(this._renderedComponent,t,n,this._mergeChildContext(e,f));return u.componentDidMount&&n.getReactMountReady().enqueue(u.componentDidMount,u),g},unmountComponent:function(){var t=this._instance;if(t.componentWillUnmount){var n=l.currentlyUnmountingInstance;l.currentlyUnmountingInstance=this;try{t.componentWillUnmount()}finally{l.currentlyUnmountingInstance=n}}p.unmountComponent(this._renderedComponent),this._renderedComponent=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=null,s.remove(t)},_setPropsInternal:function(t,n){var e=this._pendingElement||this._currentElement;this._pendingElement=a.cloneAndReplaceProps(e,g({},e.props,t)),d.enqueueUpdate(this,n)},_maskContext:function(t){var n=null;if("string"==typeof this._currentElement.type)return v;var e=this._currentElement.type.contextTypes;if(!e)return v;n={};for(var r in e)n[r]=t[r];return n},_processContext:function(t){var n=this._maskContext(t);return n},_getValidatedChildContext:function(t){var n=this._instance,e=n.getChildContext&&n.getChildContext();if(e){m("object"==typeof n.constructor.childContextTypes);for(var r in e)m(r in n.constructor.childContextTypes);return e}return null},_mergeChildContext:function(t,n){return n?g({},t,n):t},_processProps:function(t){return t},_checkPropTypes:function(t,n,e){var i=this.getName();for(var o in t)if(t.hasOwnProperty(o)){var u;try{m("function"==typeof t[o]),u=t[o](n,o,i,e)}catch(a){u=a}if(u instanceof Error){r(this);e===h.prop}}},receiveComponent:function(t,n,e){var r=this._currentElement,i=this._context;this._pendingElement=null,this.updateComponent(n,r,t,i,e)},performUpdateIfNecessary:function(t){null!=this._pendingElement&&p.receiveComponent(this,this._pendingElement||this._currentElement,t,this._context),(null!==this._pendingStateQueue||this._pendingForceUpdate)&&this.updateComponent(t,this._currentElement,this._currentElement,this._context,this._context)},_warnIfContextsDiffer:function(t,n){t=this._maskContext(t),n=this._maskContext(n);for(var e=Object.keys(n).sort(),r=(this.getName()||"ReactCompositeComponent",0);r<e.length;r++){e[r]}},updateComponent:function(t,n,e,r,i){var o=this._instance,u=o.context,a=o.props;n!==e&&(u=this._processContext(e._context),a=this._processProps(e.props),o.componentWillReceiveProps&&o.componentWillReceiveProps(a,u));var s=this._processPendingState(a,u),l=this._pendingForceUpdate||!o.shouldComponentUpdate||o.shouldComponentUpdate(a,s,u);l?(this._pendingForceUpdate=!1,this._performComponentUpdate(e,a,s,u,t,i)):(this._currentElement=e,this._context=i,o.props=a,o.state=s,o.context=u)},_processPendingState:function(t,n){var e=this._instance,r=this._pendingStateQueue,i=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return e.state;if(i&&1===r.length)return r[0];for(var o=g({},i?r[0]:e.state),u=i?1:0;u<r.length;u++){var a=r[u];g(o,"function"==typeof a?a.call(e,o,t,n):a)}return o},_performComponentUpdate:function(t,n,e,r,i,o){var u=this._instance,a=u.props,s=u.state,l=u.context;u.componentWillUpdate&&u.componentWillUpdate(n,e,r),this._currentElement=t,this._context=o,u.props=n,u.state=e,u.context=r,this._updateRenderedComponent(i,o),u.componentDidUpdate&&i.getReactMountReady().enqueue(u.componentDidUpdate.bind(u,a,s,l),u)},_updateRenderedComponent:function(t,n){var e=this._renderedComponent,r=e._currentElement,i=this._getValidatedChildContext(),o=this._renderValidatedComponent(i);if(y(r,o))p.receiveComponent(e,o,t,this._mergeChildContext(n,i));else{var u=this._rootNodeID,a=e._rootNodeID;p.unmountComponent(e),this._renderedComponent=this._instantiateReactComponent(o,this._currentElement.type);var s=p.mountComponent(this._renderedComponent,u,t,this._mergeChildContext(n,i));this._replaceNodeWithMarkupByID(a,s)}},_replaceNodeWithMarkupByID:function(t,n){i.replaceNodeWithMarkupByID(t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var t=this._instance,n=t.render();return n},_renderValidatedComponent:function(t){var n,e=o.current;o.current=this._mergeChildContext(this._currentElement._context,t),u.current=this;try{n=this._renderValidatedComponentWithoutOwnerOrContext()}finally{o.current=e,u.current=null}return m(null===n||n===!1||a.isValidElement(n)),n},attachRef:function(t,n){var e=this.getPublicInstance(),r=e.refs===v?e.refs={}:e.refs;r[t]=n.getPublicInstance()},detachRef:function(t){var n=this.getPublicInstance().refs;delete n[t]},getName:function(){var t=this._currentElement.type,n=this._instance&&this._instance.constructor;return t.displayName||n&&n.displayName||t.name||n&&n.name||null},getPublicInstance:function(){return this._instance},_instantiateReactComponent:null};f.measureMethods(x,"ReactCompositeComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedComponent"});var b={Mixin:x};t.exports=b},function(t,n,e){"use strict";var r=e(6),i=!1,o={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(t){r(!i),o.unmountIDFromEnvironment=t.unmountIDFromEnvironment,o.replaceNodeWithMarkupByID=t.replaceNodeWithMarkupByID,o.processChildrenUpdates=t.processChildrenUpdates,i=!0}}};t.exports=o},function(t,n,e){"use strict";function r(t,n){if(null!=t&&null!=n){var e=typeof t,r=typeof n;if("string"===e||"number"===e)return"string"===r||"number"===r;if("object"===r&&t.type===n.type&&t.key===n.key){var i=t._owner===n._owner;return i}}return!1}e(11);t.exports=r},function(t,n,e){"use strict";function r(t){t&&(null!=t.dangerouslySetInnerHTML&&(m(null==t.children),m("object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML)),m(null==t.style||"object"==typeof t.style))}function i(t,n,e,r){var i=h.findReactContainerForID(t);if(i){var o=i.nodeType===C?i.ownerDocument:i;x(n,o)}r.getPutListenerQueue().enqueuePutListener(t,n,e)}function o(t){T.call(D,t)||(m(S.test(t)),D[t]=!0)}function u(t){o(t),this._tag=t,this._renderedChildren=null,this._previousStyleCopy=null,this._rootNodeID=null}var a=e(48),s=e(43),l=e(42),c=e(67),f=e(46),h=e(66),p=e(87),d=e(27),g=e(14),v=e(45),m=e(6),y=(e(74),e(38)),_=(e(11),c.deleteListener),x=c.listenTo,b=c.registrationNameModules,M={string:!0,number:!0},w=y({style:null}),C=1,E=null,N={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},S=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,D={},T={}.hasOwnProperty;u.displayName="ReactDOMComponent",u.Mixin={construct:function(t){this._currentElement=t},mountComponent:function(t,n,e){this._rootNodeID=t,r(this._currentElement.props);var i=N[this._tag]?"":"</"+this._tag+">";return this._createOpenTagMarkupAndPutListeners(n)+this._createContentMarkup(n,e)+i},_createOpenTagMarkupAndPutListeners:function(t){var n=this._currentElement.props,e="<"+this._tag;for(var r in n)if(n.hasOwnProperty(r)){var o=n[r];if(null!=o)if(b.hasOwnProperty(r))i(this._rootNodeID,r,o,t);else{r===w&&(o&&(o=this._previousStyleCopy=g({},n.style)),o=a.createMarkupForStyles(o));var u=l.createMarkupForProperty(r,o);u&&(e+=" "+u)}}if(t.renderToStaticMarkup)return e+">";var s=l.createMarkupForID(this._rootNodeID);return e+" "+s+">"},_createContentMarkup:function(t,n){var e="";("listing"===this._tag||"pre"===this._tag||"textarea"===this._tag)&&(e="\n");var r=this._currentElement.props,i=r.dangerouslySetInnerHTML;if(null!=i){if(null!=i.__html)return e+i.__html}else{var o=M[typeof r.children]?r.children:null,u=null!=o?null:r.children;if(null!=o)return e+v(o);if(null!=u){var a=this.mountChildren(u,t,n);return e+a.join("")}}return e},receiveComponent:function(t,n,e){var r=this._currentElement;this._currentElement=t,this.updateComponent(n,r,t,e)},updateComponent:function(t,n,e,i){r(this._currentElement.props),this._updateDOMProperties(n.props,t),this._updateDOMChildren(n.props,t,i)},_updateDOMProperties:function(t,n){var e,r,o,u=this._currentElement.props;for(e in t)if(!u.hasOwnProperty(e)&&t.hasOwnProperty(e))if(e===w){var a=this._previousStyleCopy;for(r in a)a.hasOwnProperty(r)&&(o=o||{},o[r]="");this._previousStyleCopy=null}else b.hasOwnProperty(e)?_(this._rootNodeID,e):(s.isStandardName[e]||s.isCustomAttribute(e))&&E.deletePropertyByID(this._rootNodeID,e);for(e in u){var l=u[e],c=e===w?this._previousStyleCopy:t[e];if(u.hasOwnProperty(e)&&l!==c)if(e===w)if(l?l=this._previousStyleCopy=g({},l):this._previousStyleCopy=null,c){for(r in c)!c.hasOwnProperty(r)||l&&l.hasOwnProperty(r)||(o=o||{},o[r]="");for(r in l)l.hasOwnProperty(r)&&c[r]!==l[r]&&(o=o||{},o[r]=l[r])}else o=l;else b.hasOwnProperty(e)?i(this._rootNodeID,e,l,n):(s.isStandardName[e]||s.isCustomAttribute(e))&&E.updatePropertyByID(this._rootNodeID,e,l)}o&&E.updateStylesByID(this._rootNodeID,o)},_updateDOMChildren:function(t,n,e){var r=this._currentElement.props,i=M[typeof t.children]?t.children:null,o=M[typeof r.children]?r.children:null,u=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,a=r.dangerouslySetInnerHTML&&r.dangerouslySetInnerHTML.__html,s=null!=i?null:t.children,l=null!=o?null:r.children,c=null!=i||null!=u,f=null!=o||null!=a;null!=s&&null==l?this.updateChildren(null,n,e):c&&!f&&this.updateTextContent(""),null!=o?i!==o&&this.updateTextContent(""+o):null!=a?u!==a&&E.updateInnerHTMLByID(this._rootNodeID,a):null!=l&&this.updateChildren(l,n,e)},unmountComponent:function(){this.unmountChildren(),c.deleteAllListeners(this._rootNodeID),f.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null}},d.measureMethods(u,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),g(u.prototype,u.Mixin,p.Mixin),u.injection={injectIDOperations:function(t){u.BackendIDOperations=E=t}},t.exports=u},function(t,n,e){"use strict";function r(t,n,e){d.push({parentID:t,parentNode:null,type:c.INSERT_MARKUP,markupIndex:g.push(n)-1,textContent:null,fromIndex:null,toIndex:e})}function i(t,n,e){d.push({parentID:t,parentNode:null,type:c.MOVE_EXISTING,markupIndex:null,textContent:null,fromIndex:n,toIndex:e})}function o(t,n){d.push({parentID:t,parentNode:null,type:c.REMOVE_NODE,markupIndex:null,textContent:null,fromIndex:n,toIndex:null})}function u(t,n){d.push({parentID:t,parentNode:null,type:c.TEXT_CONTENT,markupIndex:null,textContent:n,fromIndex:null,toIndex:null})}function a(){d.length&&(l.processChildrenUpdates(d,g),s())}function s(){d.length=0,g.length=0}var l=e(84),c=e(63),f=e(28),h=e(88),p=0,d=[],g=[],v={Mixin:{mountChildren:function(t,n,e){var r=h.instantiateChildren(t,n,e);this._renderedChildren=r;var i=[],o=0;for(var u in r)if(r.hasOwnProperty(u)){var a=r[u],s=this._rootNodeID+u,l=f.mountComponent(a,s,n,e);a._mountIndex=o,i.push(l),o++}return i},updateTextContent:function(t){p++;var n=!0;try{var e=this._renderedChildren;h.unmountChildren(e);for(var r in e)e.hasOwnProperty(r)&&this._unmountChildByName(e[r],r);this.setTextContent(t),n=!1}finally{p--,p||(n?s():a())}},updateChildren:function(t,n,e){p++;var r=!0;try{this._updateChildren(t,n,e),r=!1}finally{p--,p||(r?s():a())}},_updateChildren:function(t,n,e){var r=this._renderedChildren,i=h.updateChildren(r,t,n,e);if(this._renderedChildren=i,i||r){var o,u=0,a=0;for(o in i)if(i.hasOwnProperty(o)){var s=r&&r[o],l=i[o];s===l?(this.moveChild(s,a,u),u=Math.max(s._mountIndex,u),s._mountIndex=a):(s&&(u=Math.max(s._mountIndex,u),this._unmountChildByName(s,o)),this._mountChildByNameAtIndex(l,o,a,n,e)),a++}for(o in r)!r.hasOwnProperty(o)||i&&i.hasOwnProperty(o)||this._unmountChildByName(r[o],o)}},unmountChildren:function(){var t=this._renderedChildren;h.unmountChildren(t),this._renderedChildren=null},moveChild:function(t,n,e){t._mountIndex<e&&i(this._rootNodeID,t._mountIndex,n)},createChild:function(t,n){r(this._rootNodeID,n,t._mountIndex)},removeChild:function(t){o(this._rootNodeID,t._mountIndex)},setTextContent:function(t){u(this._rootNodeID,t)},_mountChildByNameAtIndex:function(t,n,e,r,i){var o=this._rootNodeID+n,u=f.mountComponent(t,o,r,i);t._mountIndex=e,this.createChild(t,u)},_unmountChildByName:function(t,n){this.removeChild(t),t._mountIndex=null}}};t.exports=v},function(t,n,e){"use strict";var r=e(28),i=e(89),o=e(82),u=e(85),a={instantiateChildren:function(t,n,e){var r=i(t);for(var u in r)if(r.hasOwnProperty(u)){var a=r[u],s=o(a,null);r[u]=s}return r},updateChildren:function(t,n,e,a){var s=i(n);if(!s&&!t)return null;var l;for(l in s)if(s.hasOwnProperty(l)){var c=t&&t[l],f=c&&c._currentElement,h=s[l];if(u(f,h))r.receiveComponent(c,h,e,a),s[l]=c;else{c&&r.unmountComponent(c,l);var p=o(h,null);s[l]=p}}for(l in t)!t.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||r.unmountComponent(t[l]);return s},unmountChildren:function(t){for(var n in t){var e=t[n];r.unmountComponent(e)}}};t.exports=a},function(t,n,e){"use strict";function r(t,n,e){var r=t,i=!r.hasOwnProperty(e);i&&null!=n&&(r[e]=n)}function i(t){if(null==t)return t;var n={};return o(t,r,n),n}var o=e(17);e(11);t.exports=i},function(t,n,e){"use strict";function r(t){return d.createClass({tagName:t.toUpperCase(),render:function(){return new D(t,null,null,null,null,this.props)}})}function i(){A.EventEmitter.injectReactEventListener(T),A.EventPluginHub.injectEventPluginOrder(s),A.EventPluginHub.injectInstanceHandle(k),A.EventPluginHub.injectMount(R),A.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:L,EnterLeaveEventPlugin:l,ChangeEventPlugin:u,MobileSafariClickEventPlugin:h,SelectEventPlugin:I,BeforeInputEventPlugin:o}),A.NativeComponent.injectGenericComponentClass(m),A.NativeComponent.injectTextComponentClass(S),A.NativeComponent.injectAutoWrapper(r),A.Class.injectMixin(p),A.NativeComponent.injectComponentClasses({button:y,form:_,iframe:M,img:x,input:w,option:C,select:E,textarea:N,html:j("html"),head:j("head"),body:j("body")}),A.DOMProperty.injectDOMPropertyConfig(f),A.DOMProperty.injectDOMPropertyConfig(U),A.EmptyComponent.injectEmptyComponent("noscript"),A.Updates.injectReconcileTransaction(P),A.Updates.injectBatchingStrategy(v),A.RootIndex.injectCreateReactRootIndex(c.canUseDOM?a.createReactRootIndex:O.createReactRootIndex),A.Component.injectEnvironment(g),A.DOMComponent.injectIDOperations(b)}var o=e(95),u=e(103),a=e(105),s=e(106),l=e(107),c=e(52),f=e(111),h=e(112),p=e(93),d=e(36),g=e(46),v=e(113),m=e(86),y=e(114),_=e(117),x=e(118),b=e(47),M=e(91),w=e(119),C=e(122),E=e(123),N=e(124),S=e(41),D=e(10),T=e(125),A=e(128),k=e(18),R=e(66),P=e(129),I=e(135),O=e(137),L=e(138),U=e(147),j=e(148);t.exports={inject:i}},function(t,n,e){"use strict";var r=e(4),i=e(92),o=e(93),u=e(36),a=e(10),s=a.createFactory("iframe"),l=u.createClass({displayName:"ReactDOMIframe",tagName:"IFRAME",mixins:[o,i],render:function(){return s(this.props)},componentDidMount:function(){this.trapBubbledEvent(r.topLevelTypes.topLoad,"load")}});t.exports=l},function(t,n,e){"use strict";function r(t){t.remove()}var i=e(67),o=e(70),u=e(71),a=e(6),s={trapBubbledEvent:function(t,n){a(this.isMounted());var e=this.getDOMNode();a(e);var r=i.trapBubbledEvent(t,n,e);this._localEventListeners=o(this._localEventListeners,r)},componentWillUnmount:function(){this._localEventListeners&&u(this._localEventListeners,r)}};t.exports=s},function(t,n,e){"use strict";var r=e(94),i={getDOMNode:function(){return r(this)}};t.exports=i},function(t,n,e){"use strict";function r(t){return null==t?null:a(t)?t:i.has(t)?o.getNodeFromInstance(t):(u(null==t.render||"function"!=typeof t.render),void u(!1))}var i=(e(16),e(24)),o=e(66),u=e(6),a=e(80);e(11);t.exports=r},function(t,n,e){"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 D.topCompositionStart:return T.compositionStart;case D.topCompositionEnd:return T.compositionEnd;case D.topCompositionUpdate:return T.compositionUpdate}}function u(t,n){return t===D.topKeyDown&&n.keyCode===b}function a(t,n){switch(t){case D.topKeyUp:return-1!==x.indexOf(n.keyCode);case D.topKeyDown:return n.keyCode!==b;case D.topKeyPress:case D.topMouseDown:case D.topBlur:return!0;default:return!1}}function s(t){var n=t.detail;return"object"==typeof n&&"data"in n?n.data:null}function l(t,n,e,r){var i,l;if(M?i=o(t):k?a(t,r)&&(i=T.compositionEnd):u(t,r)&&(i=T.compositionStart),!i)return null;E&&(k||i!==T.compositionStart?i===T.compositionEnd&&k&&(l=k.getData()):k=v.getPooled(n));var c=m.getPooled(i,e,r);if(l)c.data=l;else{var f=s(r);null!==f&&(c.data=f)}return d.accumulateTwoPhaseDispatches(c),c}function c(t,n){switch(t){case D.topCompositionEnd:return s(n);case D.topKeyPress:var e=n.which;return e!==N?null:(A=!0,S);case D.topTextInput:var r=n.data;return r===S&&A?null:r;default:return null}}function f(t,n){if(k){if(t===D.topCompositionEnd||a(t,n)){var e=k.getData();return v.release(k),k=null,e}return null}switch(t){case D.topPaste:return null;case D.topKeyPress:return n.which&&!i(n)?String.fromCharCode(n.which):null;case D.topCompositionEnd:return E?null:n.data;default:return null}}function h(t,n,e,r){var i;if(i=C?c(t,r):f(t,r),!i)return null;var o=y.getPooled(T.beforeInput,e,r);return o.data=i,d.accumulateTwoPhaseDispatches(o),o}var p=e(4),d=e(96),g=e(52),v=e(97),m=e(99),y=e(102),_=e(38),x=[9,13,27,32],b=229,M=g.canUseDOM&&"CompositionEvent"in window,w=null;g.canUseDOM&&"documentMode"in document&&(w=document.documentMode);var C=g.canUseDOM&&"TextEvent"in window&&!w&&!r(),E=g.canUseDOM&&(!M||w&&w>8&&11>=w),N=32,S=String.fromCharCode(N),D=p.topLevelTypes,T={beforeInput:{phasedRegistrationNames:{bubbled:_({onBeforeInput:null}),captured:_({onBeforeInputCapture:null})},dependencies:[D.topCompositionEnd,D.topKeyPress,D.topTextInput,D.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:_({onCompositionEnd:null}),captured:_({onCompositionEndCapture:null})},dependencies:[D.topBlur,D.topCompositionEnd,D.topKeyDown,D.topKeyPress,D.topKeyUp,D.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:_({onCompositionStart:null}),captured:_({onCompositionStartCapture:null})},dependencies:[D.topBlur,D.topCompositionStart,D.topKeyDown,D.topKeyPress,D.topKeyUp,D.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:_({onCompositionUpdate:null}),captured:_({onCompositionUpdateCapture:null})},dependencies:[D.topBlur,D.topCompositionUpdate,D.topKeyDown,D.topKeyPress,D.topKeyUp,D.topMouseDown]}},A=!1,k=null,R={eventTypes:T,extractEvents:function(t,n,e,r){return[l(t,n,e,r),h(t,n,e,r)]}};t.exports=R},function(t,n,e){"use strict";function r(t,n,e){var r=n.dispatchConfig.phasedRegistrationNames[e];return v(t,r)}function i(t,n,e){var i=n?g.bubbled:g.captured,o=r(t,e,i);o&&(e._dispatchListeners=p(e._dispatchListeners,o),e._dispatchIDs=p(e._dispatchIDs,t))}function o(t){t&&t.dispatchConfig.phasedRegistrationNames&&h.injection.getInstanceHandle().traverseTwoPhase(t.dispatchMarker,i,t)}function u(t,n,e){if(e&&e.dispatchConfig.registrationName){var r=e.dispatchConfig.registrationName,i=v(t,r);i&&(e._dispatchListeners=p(e._dispatchListeners,i),e._dispatchIDs=p(e._dispatchIDs,t))}}function a(t){t&&t.dispatchConfig.registrationName&&u(t.dispatchMarker,null,t)}function s(t){d(t,o)}function l(t,n,e,r){h.injection.getInstanceHandle().traverseEnterLeave(e,r,u,t,n)}function c(t){d(t,a)}var f=e(4),h=e(68),p=e(70),d=e(71),g=f.PropagationPhases,v=h.getListener,m={accumulateTwoPhaseDispatches:s,accumulateDirectDispatches:c,accumulateEnterLeaveDispatches:l};t.exports=m},function(t,n,e){"use strict";function r(t){this._root=t,this._startText=this.getText(),this._fallbackText=null}var i=e(8),o=e(14),u=e(98);o(r.prototype,{getText:function(){return"value"in this._root?this._root.value:this._root[u()]},getData:function(){if(this._fallbackText)return this._fallbackText;var t,n,e=this._startText,r=e.length,i=this.getText(),o=i.length;for(t=0;r>t&&e[t]===i[t];t++);var u=r-t;for(n=1;u>=n&&e[r-n]===i[o-n];n++);var a=n>1?1-n:void 0;return this._fallbackText=i.slice(t,a),this._fallbackText}}),i.addPoolingTo(r),t.exports=r},function(t,n,e){"use strict";function r(){return!o&&i.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var i=e(52),o=null;t.exports=r},function(t,n,e){"use strict";function r(t,n,e){i.call(this,t,n,e)}var i=e(100),o={data:null};i.augmentClass(r,o),t.exports=r},function(t,n,e){"use strict";function r(t,n,e){this.dispatchConfig=t,this.dispatchMarker=n,this.nativeEvent=e;var r=this.constructor.Interface;for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];o?this[i]=o(e):this[i]=e[i]}var a=null!=e.defaultPrevented?e.defaultPrevented:e.returnValue===!1;a?this.isDefaultPrevented=u.thatReturnsTrue:this.isDefaultPrevented=u.thatReturnsFalse,this.isPropagationStopped=u.thatReturnsFalse}var i=e(8),o=e(14),u=e(12),a=e(101),s={type:null,target:a,currentTarget:u.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t.preventDefault?t.preventDefault():t.returnValue=!1,this.isDefaultPrevented=u.thatReturnsTrue},stopPropagation:function(){var t=this.nativeEvent;t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,this.isPropagationStopped=u.thatReturnsTrue},persist:function(){this.isPersistent=u.thatReturnsTrue},isPersistent:u.thatReturnsFalse,destructor:function(){var t=this.constructor.Interface;for(var n in t)this[n]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),r.Interface=s,r.augmentClass=function(t,n){var e=this,r=Object.create(e.prototype);o(r,t.prototype),t.prototype=r,t.prototype.constructor=t,t.Interface=o({},e.Interface,n),t.augmentClass=e.augmentClass,i.addPoolingTo(t,i.threeArgumentPooler)},i.addPoolingTo(r,i.threeArgumentPooler),t.exports=r},function(t,n,e){"use strict";function r(t){var n=t.target||t.srcElement||window;return 3===n.nodeType?n.parentNode:n}t.exports=r},function(t,n,e){"use strict";function r(t,n,e){i.call(this,t,n,e)}var i=e(100),o={data:null};i.augmentClass(r,o),t.exports=r},function(t,n,e){"use strict";function r(t){return"SELECT"===t.nodeName||"INPUT"===t.nodeName&&"file"===t.type}function i(t){var n=w.getPooled(D.change,A,t);x.accumulateTwoPhaseDispatches(n),M.batchedUpdates(o,n)}function o(t){_.enqueueEvents(t),_.processEventQueue()}function u(t,n){T=t,A=n,T.attachEvent("onchange",i)}function a(){T&&(T.detachEvent("onchange",i),T=null,A=null)}function s(t,n,e){return t===S.topChange?e:void 0}function l(t,n,e){t===S.topFocus?(a(),u(n,e)):t===S.topBlur&&a()}function c(t,n){T=t,A=n,k=t.value,R=Object.getOwnPropertyDescriptor(t.constructor.prototype,"value"),Object.defineProperty(T,"value",O),T.attachEvent("onpropertychange",h)}function f(){T&&(delete T.value,T.detachEvent("onpropertychange",h),T=null,A=null,k=null,R=null)}function h(t){if("value"===t.propertyName){var n=t.srcElement.value;n!==k&&(k=n,i(t))}}function p(t,n,e){return t===S.topInput?e:void 0}function d(t,n,e){t===S.topFocus?(f(),c(n,e)):t===S.topBlur&&f()}function g(t,n,e){return t!==S.topSelectionChange&&t!==S.topKeyUp&&t!==S.topKeyDown||!T||T.value===k?void 0:(k=T.value,A)}function v(t){return"INPUT"===t.nodeName&&("checkbox"===t.type||"radio"===t.type)}function m(t,n,e){return t===S.topClick?e:void 0}var y=e(4),_=e(68),x=e(96),b=e(52),M=e(25),w=e(100),C=e(74),E=e(104),N=e(38),S=y.topLevelTypes,D={change:{phasedRegistrationNames:{bubbled:N({onChange:null}),captured:N({onChangeCapture:null})},dependencies:[S.topBlur,S.topChange,S.topClick,S.topFocus,S.topInput,S.topKeyDown,S.topKeyUp,S.topSelectionChange]}},T=null,A=null,k=null,R=null,P=!1;b.canUseDOM&&(P=C("change")&&(!("documentMode"in document)||document.documentMode>8));var I=!1;b.canUseDOM&&(I=C("input")&&(!("documentMode"in document)||document.documentMode>9));var O={get:function(){return R.get.call(this)},set:function(t){k=""+t,R.set.call(this,t)}},L={eventTypes:D,extractEvents:function(t,n,e,i){var o,u;if(r(n)?P?o=s:u=l:E(n)?I?o=p:(o=g,u=d):v(n)&&(o=m),o){var a=o(t,n,e);if(a){var c=w.getPooled(D.change,a,i);return x.accumulateTwoPhaseDispatches(c),c}}u&&u(t,n,e)}};t.exports=L},function(t,n,e){"use strict";function r(t){return t&&("INPUT"===t.nodeName&&i[t.type]||"TEXTAREA"===t.nodeName)}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,n,e){"use strict";var r=0,i={createReactRootIndex:function(){return r++}};t.exports=i},function(t,n,e){"use strict";var r=e(38),i=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null}),r({AnalyticsEventPlugin:null}),r({MobileSafariClickEventPlugin:null})];t.exports=i},function(t,n,e){"use strict";var r=e(4),i=e(96),o=e(108),u=e(66),a=e(38),s=r.topLevelTypes,l=u.getFirstReactDOM,c={mouseEnter:{registrationName:a({onMouseEnter:null}),dependencies:[s.topMouseOut,s.topMouseOver]},mouseLeave:{registrationName:a({onMouseLeave:null}),dependencies:[s.topMouseOut,s.topMouseOver]}},f=[null,null],h={eventTypes:c,extractEvents:function(t,n,e,r){if(t===s.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(t!==s.topMouseOut&&t!==s.topMouseOver)return null;var a;if(n.window===n)a=n;else{var h=n.ownerDocument;a=h?h.defaultView||h.parentWindow:window}var p,d;if(t===s.topMouseOut?(p=n,d=l(r.relatedTarget||r.toElement)||a):(p=a,d=n),p===d)return null;var g=p?u.getID(p):"",v=d?u.getID(d):"",m=o.getPooled(c.mouseLeave,g,r);m.type="mouseleave",m.target=p,m.relatedTarget=d;var y=o.getPooled(c.mouseEnter,v,r);return y.type="mouseenter",y.target=d,y.relatedTarget=p,i.accumulateEnterLeaveDispatches(m,y,g,v),f[0]=m,f[1]=y,f}};t.exports=h},function(t,n,e){"use strict";function r(t,n,e){i.call(this,t,n,e)}var i=e(109),o=e(73),u=e(110),a={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:u,button:function(t){var n=t.button;return"which"in t?n:2===n?2:4===n?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,a),t.exports=r},function(t,n,e){"use strict";function r(t,n,e){i.call(this,t,n,e)}var i=e(100),o=e(101),u={view:function(t){if(t.view)return t.view;var n=o(t);if(null!=n&&n.window===n)return n;var e=n.ownerDocument;return e?e.defaultView||e.parentWindow:window},detail:function(t){return t.detail||0}};i.augmentClass(r,u),t.exports=r},function(t,n,e){"use strict";function r(t){var n=this,e=n.nativeEvent;if(e.getModifierState)return e.getModifierState(t);var r=o[t];return r?!!e[r]:!1}function i(t){return r}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=i},function(t,n,e){"use strict";var r,i=e(43),o=e(52),u=i.injection.MUST_USE_ATTRIBUTE,a=i.injection.MUST_USE_PROPERTY,s=i.injection.HAS_BOOLEAN_VALUE,l=i.injection.HAS_SIDE_EFFECTS,c=i.injection.HAS_NUMERIC_VALUE,f=i.injection.HAS_POSITIVE_NUMERIC_VALUE,h=i.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(o.canUseDOM){var p=document.implementation;r=p&&p.hasFeature&&p.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var d={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:u|s,allowTransparency:u,alt:null,async:s,autoComplete:null,autoPlay:s,cellPadding:null,cellSpacing:null,charSet:u,checked:a|s,classID:u,className:r?u:a,
cols:u|f,colSpan:null,content:null,contentEditable:null,contextMenu:u,controls:a|s,coords:null,crossOrigin:null,data:null,dateTime:u,defer:s,dir:null,disabled:u|s,download:h,draggable:null,encType:null,form:u,formAction:u,formEncType:u,formMethod:u,formNoValidate:s,formTarget:u,frameBorder:u,headers:null,height:u,hidden:u|s,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:a,label:null,lang:null,list:u,loop:a|s,low:null,manifest:u,marginHeight:null,marginWidth:null,max:null,maxLength:u,media:u,mediaGroup:null,method:null,min:null,multiple:a|s,muted:a|s,name:null,noValidate:s,open:s,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:a|s,rel:null,required:s,role:u,rows:u|f,rowSpan:null,sandbox:null,scope:null,scoped:s,scrolling:null,seamless:u|s,selected:a|s,shape:null,size:u|f,sizes:u,span:f,spellCheck:null,src:null,srcDoc:a,srcSet:u,start:c,step:null,style:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:a|l,width:u,wmode:u,autoCapitalize:null,autoCorrect:null,itemProp:u,itemScope:u|s,itemType:u,itemID:u,itemRef:u,property:null,unselectable:u},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoCapitalize:"autocapitalize",autoComplete:"autocomplete",autoCorrect:"autocorrect",autoFocus:"autofocus",autoPlay:"autoplay",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};t.exports=d},function(t,n,e){"use strict";var r=e(4),i=e(12),o=r.topLevelTypes,u={eventTypes:null,extractEvents:function(t,n,e,r){if(t===o.topTouchStart){var u=r.target;u&&!u.onclick&&(u.onclick=i)}}};t.exports=u},function(t,n,e){"use strict";function r(){this.reinitializeTransaction()}var i=e(25),o=e(35),u=e(14),a=e(12),s={initialize:a,close:function(){h.isBatchingUpdates=!1}},l={initialize:a,close:i.flushBatchedUpdates.bind(i)},c=[l,s];u(r.prototype,o.Mixin,{getTransactionWrappers:function(){return c}});var f=new r,h={isBatchingUpdates:!1,batchedUpdates:function(t,n,e,r,i){var o=h.isBatchingUpdates;h.isBatchingUpdates=!0,o?t(n,e,r,i):f.perform(t,null,n,e,r,i)}};t.exports=h},function(t,n,e){"use strict";var r=e(115),i=e(93),o=e(36),u=e(10),a=e(5),s=u.createFactory("button"),l=a({onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0}),c=o.createClass({displayName:"ReactDOMButton",tagName:"BUTTON",mixins:[r,i],render:function(){var t={};for(var n in this.props)!this.props.hasOwnProperty(n)||this.props.disabled&&l[n]||(t[n]=this.props[n]);return s(t,this.props.children)}});t.exports=c},function(t,n,e){"use strict";var r=e(116),i={componentDidMount:function(){this.props.autoFocus&&r(this.getDOMNode())}};t.exports=i},function(t,n,e){"use strict";function r(t){try{t.focus()}catch(n){}}t.exports=r},function(t,n,e){"use strict";var r=e(4),i=e(92),o=e(93),u=e(36),a=e(10),s=a.createFactory("form"),l=u.createClass({displayName:"ReactDOMForm",tagName:"FORM",mixins:[o,i],render:function(){return s(this.props)},componentDidMount:function(){this.trapBubbledEvent(r.topLevelTypes.topReset,"reset"),this.trapBubbledEvent(r.topLevelTypes.topSubmit,"submit")}});t.exports=l},function(t,n,e){"use strict";var r=e(4),i=e(92),o=e(93),u=e(36),a=e(10),s=a.createFactory("img"),l=u.createClass({displayName:"ReactDOMImg",tagName:"IMG",mixins:[o,i],render:function(){return s(this.props)},componentDidMount:function(){this.trapBubbledEvent(r.topLevelTypes.topLoad,"load"),this.trapBubbledEvent(r.topLevelTypes.topError,"error")}});t.exports=l},function(t,n,e){"use strict";function r(){this.isMounted()&&this.forceUpdate()}var i=e(115),o=e(42),u=e(120),a=e(93),s=e(36),l=e(10),c=e(66),f=e(25),h=e(14),p=e(6),d=l.createFactory("input"),g={},v=s.createClass({displayName:"ReactDOMInput",tagName:"INPUT",mixins:[i,u.Mixin,a],getInitialState:function(){var t=this.props.defaultValue;return{initialChecked:this.props.defaultChecked||!1,initialValue:null!=t?t:null}},render:function(){var t=h({},this.props);t.defaultChecked=null,t.defaultValue=null;var n=u.getValue(this);t.value=null!=n?n:this.state.initialValue;var e=u.getChecked(this);return t.checked=null!=e?e:this.state.initialChecked,t.onChange=this._handleChange,d(t,this.props.children)},componentDidMount:function(){var t=c.getID(this.getDOMNode());g[t]=this},componentWillUnmount:function(){var t=this.getDOMNode(),n=c.getID(t);delete g[n]},componentDidUpdate:function(t,n,e){var r=this.getDOMNode();null!=this.props.checked&&o.setValueForProperty(r,"checked",this.props.checked||!1);var i=u.getValue(this);null!=i&&o.setValueForProperty(r,"value",""+i)},_handleChange:function(t){var n,e=u.getOnChange(this);e&&(n=e.call(this,t)),f.asap(r,this);var i=this.props.name;if("radio"===this.props.type&&null!=i){for(var o=this.getDOMNode(),a=o;a.parentNode;)a=a.parentNode;for(var s=a.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),l=0,h=s.length;h>l;l++){var d=s[l];if(d!==o&&d.form===o.form){var v=c.getID(d);p(v);var m=g[v];p(m),f.asap(r,m)}}}return n}});t.exports=v},function(t,n,e){"use strict";function r(t){l(null==t.props.checkedLink||null==t.props.valueLink)}function i(t){r(t),l(null==t.props.value&&null==t.props.onChange)}function o(t){r(t),l(null==t.props.checked&&null==t.props.onChange)}function u(t){this.props.valueLink.requestChange(t.target.value)}function a(t){this.props.checkedLink.requestChange(t.target.checked)}var s=e(121),l=e(6),c={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},f={Mixin:{propTypes:{value:function(t,n,e){return!t[n]||c[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,n,e){return!t[n]||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.func}},getValue:function(t){return t.props.valueLink?(i(t),t.props.valueLink.value):t.props.value},getChecked:function(t){return t.props.checkedLink?(o(t),t.props.checkedLink.value):t.props.checked},getOnChange:function(t){return t.props.valueLink?(i(t),u):t.props.checkedLink?(o(t),a):t.props.onChange}};t.exports=f},function(t,n,e){"use strict";function r(t){function n(n,e,r,i,o){if(i=i||b,null==e[r]){var u=_[o];return n?new Error("Required "+u+" `"+r+"` was not specified in "+("`"+i+"`.")):null}return t(e,r,i,o)}var e=n.bind(null,!1);return e.isRequired=n.bind(null,!0),e}function i(t){function n(n,e,r,i){var o=n[e],u=g(o);if(u!==t){var a=_[i],s=v(o);return new Error("Invalid "+a+" `"+e+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `"+t+"`."))}return null}return r(n)}function o(){return r(x.thatReturns(null))}function u(t){function n(n,e,r,i){var o=n[e];if(!Array.isArray(o)){var u=_[i],a=g(o);return new Error("Invalid "+u+" `"+e+"` of type "+("`"+a+"` supplied to `"+r+"`, expected an array."))}for(var s=0;s<o.length;s++){var l=t(o,s,r,i);if(l instanceof Error)return l}return null}return r(n)}function a(){function t(t,n,e,r){if(!m.isValidElement(t[n])){var i=_[r];return new Error("Invalid "+i+" `"+n+"` supplied to "+("`"+e+"`, expected a ReactElement."))}return null}return r(t)}function s(t){function n(n,e,r,i){if(!(n[e]instanceof t)){var o=_[i],u=t.name||b;return new Error("Invalid "+o+" `"+e+"` supplied to "+("`"+r+"`, expected instance of `"+u+"`."))}return null}return r(n)}function l(t){function n(n,e,r,i){for(var o=n[e],u=0;u<t.length;u++)if(o===t[u])return null;var a=_[i],s=JSON.stringify(t);return new Error("Invalid "+a+" `"+e+"` of value `"+o+"` "+("supplied to `"+r+"`, expected one of "+s+"."))}return r(n)}function c(t){function n(n,e,r,i){var o=n[e],u=g(o);if("object"!==u){var a=_[i];return new Error("Invalid "+a+" `"+e+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var s in o)if(o.hasOwnProperty(s)){var l=t(o,s,r,i);if(l instanceof Error)return l}return null}return r(n)}function f(t){function n(n,e,r,i){for(var o=0;o<t.length;o++){var u=t[o];if(null==u(n,e,r,i))return null}var a=_[i];return new Error("Invalid "+a+" `"+e+"` supplied to "+("`"+r+"`."))}return r(n)}function h(){function t(t,n,e,r){if(!d(t[n])){var i=_[r];return new Error("Invalid "+i+" `"+n+"` supplied to "+("`"+e+"`, expected a ReactNode."))}return null}return r(t)}function p(t){function n(n,e,r,i){var o=n[e],u=g(o);if("object"!==u){var a=_[i];return new Error("Invalid "+a+" `"+e+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var s in t){var l=t[s];if(l){var c=l(o,s,r,i);if(c)return c}}return null}return r(n)}function d(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(d);if(null===t||m.isValidElement(t))return!0;t=y.extractIfFragment(t);for(var n in t)if(!d(t[n]))return!1;return!0;default:return!1}}function g(t){var n=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":n}function v(t){var n=g(t);if("object"===n){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return n}var m=e(10),y=e(9),_=e(33),x=e(12),b="<<anonymous>>",M=a(),w=h(),C={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),any:o(),arrayOf:u,element:M,instanceOf:s,node:w,objectOf:c,oneOf:l,oneOfType:f,shape:p};t.exports=C},function(t,n,e){"use strict";var r=e(93),i=e(36),o=e(10),u=(e(11),o.createFactory("option")),a=i.createClass({displayName:"ReactDOMOption",tagName:"OPTION",mixins:[r],componentWillMount:function(){},render:function(){return u(this.props,this.props.children)}});t.exports=a},function(t,n,e){"use strict";function r(){if(this._pendingUpdate){this._pendingUpdate=!1;var t=a.getValue(this);null!=t&&this.isMounted()&&o(this,t)}}function i(t,n,e){if(null==t[n])return null;if(t.multiple){if(!Array.isArray(t[n]))return new Error("The `"+n+"` prop supplied to <select> must be an array if `multiple` is true.")}else if(Array.isArray(t[n]))return new Error("The `"+n+"` prop supplied to <select> must be a scalar value if `multiple` is false.")}function o(t,n){var e,r,i,o=t.getDOMNode().options;if(t.props.multiple){for(e={},r=0,i=n.length;i>r;r++)e[""+n[r]]=!0;for(r=0,i=o.length;i>r;r++){var u=e.hasOwnProperty(o[r].value);o[r].selected!==u&&(o[r].selected=u)}}else{for(e=""+n,r=0,i=o.length;i>r;r++)if(o[r].value===e)return void(o[r].selected=!0);o.length&&(o[0].selected=!0)}}var u=e(115),a=e(120),s=e(93),l=e(36),c=e(10),f=e(25),h=e(14),p=c.createFactory("select"),d=l.createClass({displayName:"ReactDOMSelect",tagName:"SELECT",mixins:[u,a.Mixin,s],propTypes:{defaultValue:i,value:i},render:function(){var t=h({},this.props);return t.onChange=this._handleChange,t.value=null,p(t,this.props.children)},componentWillMount:function(){this._pendingUpdate=!1},componentDidMount:function(){var t=a.getValue(this);null!=t?o(this,t):null!=this.props.defaultValue&&o(this,this.props.defaultValue)},componentDidUpdate:function(t){var n=a.getValue(this);null!=n?(this._pendingUpdate=!1,o(this,n)):!t.multiple!=!this.props.multiple&&(null!=this.props.defaultValue?o(this,this.props.defaultValue):o(this,this.props.multiple?[]:""))},_handleChange:function(t){var n,e=a.getOnChange(this);return e&&(n=e.call(this,t)),this._pendingUpdate=!0,f.asap(r,this),n}});t.exports=d},function(t,n,e){"use strict";function r(){this.isMounted()&&this.forceUpdate()}var i=e(115),o=e(42),u=e(120),a=e(93),s=e(36),l=e(10),c=e(25),f=e(14),h=e(6),p=(e(11),l.createFactory("textarea")),d=s.createClass({displayName:"ReactDOMTextarea",tagName:"TEXTAREA",mixins:[i,u.Mixin,a],getInitialState:function(){var t=this.props.defaultValue,n=this.props.children;null!=n&&(h(null==t),Array.isArray(n)&&(h(n.length<=1),n=n[0]),t=""+n),null==t&&(t="");var e=u.getValue(this);return{initialValue:""+(null!=e?e:t)}},render:function(){var t=f({},this.props);return h(null==t.dangerouslySetInnerHTML),t.defaultValue=null,t.value=null,t.onChange=this._handleChange,p(t,this.state.initialValue)},componentDidUpdate:function(t,n,e){var r=u.getValue(this);if(null!=r){var i=this.getDOMNode();o.setValueForProperty(i,"value",""+r)}},_handleChange:function(t){var n,e=u.getOnChange(this);return e&&(n=e.call(this,t)),c.asap(r,this),n}});t.exports=d},function(t,n,e){"use strict";function r(t){var n=f.getID(t),e=c.getReactRootIDFromNodeID(n),r=f.findReactContainerForID(e),i=f.getFirstReactDOM(r);return i}function i(t,n){this.topLevelType=t,this.nativeEvent=n,this.ancestors=[]}function o(t){for(var n=f.getFirstReactDOM(d(t.nativeEvent))||window,e=n;e;)t.ancestors.push(e),e=r(e);for(var i=0,o=t.ancestors.length;o>i;i++){n=t.ancestors[i];var u=f.getID(n)||"";v._handleTopLevel(t.topLevelType,n,u,t.nativeEvent)}}function u(t){var n=g(window);t(n)}var a=e(126),s=e(52),l=e(8),c=e(18),f=e(66),h=e(25),p=e(14),d=e(101),g=e(127);p(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:s.canUseDOM?window:null,setHandleTopLevel:function(t){v._handleTopLevel=t},setEnabled:function(t){v._enabled=!!t},isEnabled:function(){return v._enabled},trapBubbledEvent:function(t,n,e){var r=e;return r?a.listen(r,n,v.dispatchEvent.bind(null,t)):null},trapCapturedEvent:function(t,n,e){var r=e;return r?a.capture(r,n,v.dispatchEvent.bind(null,t)):null},monitorScrollValue:function(t){var n=u.bind(null,t);a.listen(window,"scroll",n)},dispatchEvent:function(t,n){if(v._enabled){var e=i.getPooled(t,n);try{h.batchedUpdates(o,e)}finally{i.release(e)}}}};t.exports=v},function(t,n,e){var r=e(12),i={listen:function(t,n,e){return t.addEventListener?(t.addEventListener(n,e,!1),{remove:function(){t.removeEventListener(n,e,!1)}}):t.attachEvent?(t.attachEvent("on"+n,e),{remove:function(){t.detachEvent("on"+n,e)}}):void 0},capture:function(t,n,e){return t.addEventListener?(t.addEventListener(n,e,!0),{remove:function(){t.removeEventListener(n,e,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=i},function(t,n,e){"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,n,e){"use strict";var r=e(43),i=e(68),o=e(84),u=e(36),a=e(75),s=e(67),l=e(34),c=e(86),f=e(27),h=e(19),p=e(25),d={Component:o.injection,Class:u.injection,DOMComponent:c.injection,DOMProperty:r.injection,EmptyComponent:a.injection,EventPluginHub:i.injection,EventEmitter:s.injection,NativeComponent:l.injection,Perf:f.injection,RootIndex:h.injection,Updates:p.injection};t.exports=d},function(t,n,e){"use strict";function r(){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.putListenerQueue=s.getPooled()}var i=e(26),o=e(8),u=e(67),a=e(130),s=e(134),l=e(35),c=e(14),f={initialize:a.getSelectionInformation,close:a.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={initialize:function(){this.putListenerQueue.reset()},close:function(){this.putListenerQueue.putListeners()}},g=[d,f,h,p],v={getTransactionWrappers:function(){return g},getReactMountReady:function(){return this.reactMountReady},getPutListenerQueue:function(){return this.putListenerQueue},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null,s.release(this.putListenerQueue),this.putListenerQueue=null}};c(r.prototype,l.Mixin,v),o.addPoolingTo(r),t.exports=r},function(t,n,e){"use strict";function r(t){return o(document.documentElement,t)}var i=e(131),o=e(78),u=e(116),a=e(133),s={hasSelectionCapabilities:function(t){return t&&("INPUT"===t.nodeName&&"text"===t.type||"TEXTAREA"===t.nodeName||"true"===t.contentEditable)},getSelectionInformation:function(){var t=a();return{focusedElem:t,selectionRange:s.hasSelectionCapabilities(t)?s.getSelection(t):null}},restoreSelection:function(t){var n=a(),e=t.focusedElem,i=t.selectionRange;n!==e&&r(e)&&(s.hasSelectionCapabilities(e)&&s.setSelection(e,i),u(e))},getSelection:function(t){var n;if("selectionStart"in t)n={start:t.selectionStart,end:t.selectionEnd};else if(document.selection&&"INPUT"===t.nodeName){var e=document.selection.createRange();e.parentElement()===t&&(n={start:-e.moveStart("character",-t.value.length),end:-e.moveEnd("character",-t.value.length)})}else n=i.getOffsets(t);return n||{start:0,end:0}},setSelection:function(t,n){var e=n.start,r=n.end;if("undefined"==typeof r&&(r=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(r,t.value.length);else if(document.selection&&"INPUT"===t.nodeName){var o=t.createTextRange();o.collapse(!0),o.moveStart("character",e),o.moveEnd("character",r-e),o.select()}else i.setOffsets(t,n)}};t.exports=s},function(t,n,e){"use strict";function r(t,n,e,r){return t===e&&n===r}function i(t){var n=document.selection,e=n.createRange(),r=e.text.length,i=e.duplicate();i.moveToElementText(t),i.setEndPoint("EndToStart",e);var o=i.text.length,u=o+r;return{start:o,end:u}}function o(t){var n=window.getSelection&&window.getSelection();if(!n||0===n.rangeCount)return null;var e=n.anchorNode,i=n.anchorOffset,o=n.focusNode,u=n.focusOffset,a=n.getRangeAt(0),s=r(n.anchorNode,n.anchorOffset,n.focusNode,n.focusOffset),l=s?0:a.toString().length,c=a.cloneRange();c.selectNodeContents(t),c.setEnd(a.startContainer,a.startOffset);var f=r(c.startContainer,c.startOffset,c.endContainer,c.endOffset),h=f?0:c.toString().length,p=h+l,d=document.createRange();d.setStart(e,i),d.setEnd(o,u);var g=d.collapsed;return{start:g?p:h,end:g?h:p}}function u(t,n){var e,r,i=document.selection.createRange().duplicate();"undefined"==typeof n.end?(e=n.start,r=e):n.start>n.end?(e=n.end,r=n.start):(e=n.start,r=n.end),i.moveToElementText(t),i.moveStart("character",e),i.setEndPoint("EndToStart",i),i.moveEnd("character",r-e),i.select()}function a(t,n){if(window.getSelection){var e=window.getSelection(),r=t[c()].length,i=Math.min(n.start,r),o="undefined"==typeof n.end?i:Math.min(n.end,r);if(!e.extend&&i>o){var u=o;o=i,i=u}var a=l(t,i),s=l(t,o);if(a&&s){var f=document.createRange();f.setStart(a.node,a.offset),e.removeAllRanges(),i>o?(e.addRange(f),e.extend(s.node,s.offset)):(f.setEnd(s.node,s.offset),e.addRange(f))}}}var s=e(52),l=e(132),c=e(98),f=s.canUseDOM&&"selection"in document&&!("getSelection"in window),h={getOffsets:f?i:o,setOffsets:f?u:a};t.exports=h},function(t,n,e){"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,n){for(var e=r(t),o=0,u=0;e;){if(3===e.nodeType){if(u=o+e.textContent.length,n>=o&&u>=n)return{node:e,offset:n-o};o=u}e=r(i(e))}}t.exports=o},function(t,n,e){function r(){try{return document.activeElement||document.body}catch(t){return document.body}}t.exports=r},function(t,n,e){"use strict";function r(){this.listenersToPut=[]}var i=e(8),o=e(67),u=e(14);u(r.prototype,{enqueuePutListener:function(t,n,e){this.listenersToPut.push({rootNodeID:t,propKey:n,propValue:e})},putListeners:function(){for(var t=0;t<this.listenersToPut.length;t++){var n=this.listenersToPut[t];o.putListener(n.rootNodeID,n.propKey,n.propValue)}},reset:function(){this.listenersToPut.length=0},destructor:function(){this.reset()}}),i.addPoolingTo(r),t.exports=r},function(t,n,e){"use strict";function r(t){if("selectionStart"in t&&a.hasSelectionCapabilities(t))return{start:t.selectionStart,end:t.selectionEnd};if(window.getSelection){var n=window.getSelection();return{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}}if(document.selection){var e=document.selection.createRange();return{parentElement:e.parentElement(),text:e.text,top:e.boundingTop,left:e.boundingLeft}}}function i(t){if(y||null==g||g!==l())return null;var n=r(g);if(!m||!h(m,n)){m=n;var e=s.getPooled(d.select,v,t);return e.type="select",e.target=g,u.accumulateTwoPhaseDispatches(e),e}}var o=e(4),u=e(96),a=e(130),s=e(100),l=e(133),c=e(104),f=e(38),h=e(136),p=o.topLevelTypes,d={select:{phasedRegistrationNames:{bubbled:f({onSelect:null}),captured:f({onSelectCapture:null})},dependencies:[p.topBlur,p.topContextMenu,p.topFocus,p.topKeyDown,p.topMouseDown,p.topMouseUp,p.topSelectionChange]}},g=null,v=null,m=null,y=!1,_={eventTypes:d,extractEvents:function(t,n,e,r){switch(t){case p.topFocus:(c(n)||"true"===n.contentEditable)&&(g=n,v=e,m=null);break;case p.topBlur:g=null,v=null,m=null;break;case p.topMouseDown:y=!0;break;case p.topContextMenu:case p.topMouseUp:return y=!1,i(r);case p.topSelectionChange:case p.topKeyDown:case p.topKeyUp:return i(r)}}};t.exports=_},function(t,n,e){"use strict";function r(t,n){if(t===n)return!0;var e;for(e in t)if(t.hasOwnProperty(e)&&(!n.hasOwnProperty(e)||t[e]!==n[e]))return!1;for(e in n)if(n.hasOwnProperty(e)&&!t.hasOwnProperty(e))return!1;return!0}t.exports=r},function(t,n,e){"use strict";var r=Math.pow(2,53),i={createReactRootIndex:function(){return Math.ceil(Math.random()*r)}};t.exports=i},function(t,n,e){"use strict";var r=e(4),i=e(3),o=e(96),u=e(139),a=e(100),s=e(140),l=e(141),c=e(108),f=e(144),h=e(145),p=e(109),d=e(146),g=e(142),v=e(6),m=e(38),y=(e(11),r.topLevelTypes),_={blur:{phasedRegistrationNames:{bubbled:m({onBlur:!0}),captured:m({onBlurCapture:!0})}},click:{phasedRegistrationNames:{bubbled:m({onClick:!0}),captured:m({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:m({onContextMenu:!0}),captured:m({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:m({onCopy:!0}),captured:m({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:m({onCut:!0}),captured:m({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:m({onDoubleClick:!0}),captured:m({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:m({onDrag:!0}),captured:m({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:m({onDragEnd:!0}),captured:m({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:m({onDragEnter:!0}),captured:m({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:m({onDragExit:!0}),captured:m({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:m({onDragLeave:!0}),captured:m({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:m({onDragOver:!0}),captured:m({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:m({onDragStart:!0}),captured:m({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:m({onDrop:!0}),captured:m({onDropCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:m({onFocus:!0}),captured:m({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:m({onInput:!0}),captured:m({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:m({onKeyDown:!0}),captured:m({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:m({onKeyPress:!0}),captured:m({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:m({onKeyUp:!0}),captured:m({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:m({onLoad:!0}),captured:m({onLoadCapture:!0})}},error:{phasedRegistrationNames:{bubbled:m({onError:!0}),captured:m({onErrorCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:m({onMouseDown:!0}),captured:m({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:m({onMouseMove:!0}),captured:m({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:m({onMouseOut:!0}),captured:m({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:m({onMouseOver:!0}),captured:m({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:m({onMouseUp:!0}),captured:m({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:m({onPaste:!0}),captured:m({onPasteCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:m({onReset:!0}),captured:m({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:m({onScroll:!0}),captured:m({onScrollCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:m({onSubmit:!0}),captured:m({onSubmitCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:m({onTouchCancel:!0}),captured:m({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:m({onTouchEnd:!0}),captured:m({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:m({onTouchMove:!0}),captured:m({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:m({onTouchStart:!0}),captured:m({onTouchStartCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:m({onWheel:!0}),captured:m({onWheelCapture:!0})}}},x={topBlur:_.blur,topClick:_.click,topContextMenu:_.contextMenu,topCopy:_.copy,topCut:_.cut,topDoubleClick:_.doubleClick,topDrag:_.drag,topDragEnd:_.dragEnd,topDragEnter:_.dragEnter,topDragExit:_.dragExit,topDragLeave:_.dragLeave,topDragOver:_.dragOver,topDragStart:_.dragStart,topDrop:_.drop,topError:_.error,topFocus:_.focus,topInput:_.input,topKeyDown:_.keyDown,topKeyPress:_.keyPress,topKeyUp:_.keyUp,topLoad:_.load,topMouseDown:_.mouseDown,topMouseMove:_.mouseMove,topMouseOut:_.mouseOut,topMouseOver:_.mouseOver,topMouseUp:_.mouseUp,topPaste:_.paste,topReset:_.reset,topScroll:_.scroll,topSubmit:_.submit,topTouchCancel:_.touchCancel,topTouchEnd:_.touchEnd,topTouchMove:_.touchMove,topTouchStart:_.touchStart,topWheel:_.wheel};for(var b in x)x[b].dependencies=[b];var M={eventTypes:_,executeDispatch:function(t,n,e){var r=i.executeDispatch(t,n,e);r===!1&&(t.stopPropagation(),t.preventDefault())},extractEvents:function(t,n,e,r){var i=x[t];if(!i)return null;var m;switch(t){case y.topInput:case y.topLoad:case y.topError:case y.topReset:case y.topSubmit:m=a;break;case y.topKeyPress:if(0===g(r))return null;case y.topKeyDown:case y.topKeyUp:m=l;break;case y.topBlur:case y.topFocus:m=s;break;case y.topClick:if(2===r.button)return null;case y.topContextMenu:case y.topDoubleClick:case y.topMouseDown:case y.topMouseMove:case y.topMouseOut:case y.topMouseOver:case y.topMouseUp:m=c;break;case y.topDrag:case y.topDragEnd:case y.topDragEnter:case y.topDragExit:case y.topDragLeave:case y.topDragOver:case y.topDragStart:case y.topDrop:m=f;break;case y.topTouchCancel:case y.topTouchEnd:case y.topTouchMove:case y.topTouchStart:m=h;break;case y.topScroll:m=p;break;case y.topWheel:m=d;break;case y.topCopy:case y.topCut:case y.topPaste:m=u}v(m);var _=m.getPooled(i,e,r);return o.accumulateTwoPhaseDispatches(_),_}};t.exports=M},function(t,n,e){"use strict";function r(t,n,e){i.call(this,t,n,e)}var i=e(100),o={clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}};i.augmentClass(r,o),t.exports=r},function(t,n,e){"use strict";function r(t,n,e){i.call(this,t,n,e)}var i=e(109),o={relatedTarget:null};i.augmentClass(r,o),t.exports=r},function(t,n,e){"use strict";function r(t,n,e){i.call(this,t,n,e)}var i=e(109),o=e(142),u=e(143),a=e(110),s={key:u,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:a,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,n,e){"use strict";function r(t){var n,e=t.keyCode;return"charCode"in t?(n=t.charCode,0===n&&13===e&&(n=13)):n=e,n>=32||13===n?n:0}t.exports=r},function(t,n,e){"use strict";function r(t){if(t.key){var n=o[t.key]||t.key;if("Unidentified"!==n)return n}if("keypress"===t.type){var e=i(t);return 13===e?"Enter":String.fromCharCode(e)}return"keydown"===t.type||"keyup"===t.type?u[t.keyCode]||"Unidentified":""}var i=e(142),o={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},u={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,n,e){"use strict";function r(t,n,e){i.call(this,t,n,e)}var i=e(108),o={dataTransfer:null};i.augmentClass(r,o),t.exports=r},function(t,n,e){"use strict";function r(t,n,e){i.call(this,t,n,e)}var i=e(109),o=e(110),u={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:o};i.augmentClass(r,u),t.exports=r},function(t,n,e){"use strict";function r(t,n,e){i.call(this,t,n,e)}var i=e(108),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,n,e){"use strict";var r=e(43),i=r.injection.MUST_USE_ATTRIBUTE,o={Properties:{clipPath:i,cx:i,cy:i,d:i,dx:i,dy:i,fill:i,fillOpacity:i,fontFamily:i,fontSize:i,fx:i,fy:i,gradientTransform:i,gradientUnits:i,markerEnd:i,markerMid:i,markerStart:i,offset:i,opacity:i,patternContentUnits:i,patternUnits:i,points:i,preserveAspectRatio:i,r:i,rx:i,ry:i,spreadMethod:i,stopColor:i,stopOpacity:i,stroke:i,strokeDasharray:i,strokeLinecap:i,strokeOpacity:i,strokeWidth:i,textAnchor:i,transform:i,version:i,viewBox:i,x1:i,x2:i,x:i,y1:i,y2:i,y:i},DOMAttributeNames:{clipPath:"clip-path",fillOpacity:"fill-opacity",fontFamily:"font-family",fontSize:"font-size",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",patternContentUnits:"patternContentUnits",patternUnits:"patternUnits",preserveAspectRatio:"preserveAspectRatio",spreadMethod:"spreadMethod",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeLinecap:"stroke-linecap",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",viewBox:"viewBox"}};t.exports=o},function(t,n,e){"use strict";function r(t){var n=o.createFactory(t),e=i.createClass({tagName:t.toUpperCase(),displayName:"ReactFullPageComponent"+t,componentWillUnmount:function(){u(!1)},render:function(){return n(this.props)}});return e}var i=e(36),o=e(10),u=e(6);t.exports=r},function(t,n,e){"use strict";function r(t){f(o.isValidElement(t));var n;try{var e=u.createReactRootID();return n=s.getPooled(!1),n.perform(function(){var r=c(t,null),i=r.mountComponent(e,n,l);return a.addChecksumToMarkup(i)},null)}finally{s.release(n)}}function i(t){f(o.isValidElement(t));var n;try{var e=u.createReactRootID();return n=s.getPooled(!0),n.perform(function(){var r=c(t,null);return r.mountComponent(e,n,l)},null)}finally{s.release(n)}}var o=e(10),u=e(18),a=e(76),s=e(150),l=e(15),c=e(82),f=e(6);t.exports={renderToString:r,renderToStaticMarkup:i}},function(t,n,e){"use strict";function r(t){this.reinitializeTransaction(),this.renderToStaticMarkup=t,this.reactMountReady=o.getPooled(null),this.putListenerQueue=u.getPooled()}var i=e(8),o=e(26),u=e(134),a=e(35),s=e(14),l=e(12),c={initialize:function(){this.reactMountReady.reset()},close:l},f={initialize:function(){this.putListenerQueue.reset()},close:l},h=[f,c],p={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady;
},getPutListenerQueue:function(){return this.putListenerQueue},destructor:function(){o.release(this.reactMountReady),this.reactMountReady=null,u.release(this.putListenerQueue),this.putListenerQueue=null}};s(r.prototype,a.Mixin,p),i.addPoolingTo(r),t.exports=r},function(t,n,e){"use strict";function r(t){return o(i.isValidElement(t)),t}var i=e(10),o=e(6);t.exports=r},function(t,n,e){var r=e(1),i=e(153),o=e(183),u=(e(185),e(186),e(188),e(189),i.Group),a=(i.Shape,i.Text,i.Surface),s=Math.max(document.documentElement.clientWidth,window.innerWidth||0),l=Math.max(document.body.clientHeight,window.innerHeight||0),c=r.createClass({displayName:"TraceView",getInitialState:function(){return{x:s/2,y:200,scale:1}},getDefaultProps:function(){return{}},componentDidMount:function(){document.addEventListener("mousemove",this.handleMouseMove,!1)},componentWillUnmount:function(){document.removeEventListener("mousemove",this.handleMouseMove,!1)},handleMouseDown:function(t){this.dragging=!0,this.coords={x:t.pageX,y:t.pageY}},handleMouseUp:function(){this.dragging=!1,this.coords={}},handleMouseMove:function(t){if(this.dragging){t.preventDefault();var n=this.coords.x-t.pageX,e=this.coords.y-t.pageY;this.coords.x=t.pageX,this.coords.y=t.pageY,this.state.x=this.state.x-n,this.state.y=this.state.y-e,this.setState(this.state)}},isNegative:function(t){return((t=+t)||1/t)<0},handleMouseWheel:function(t){var n=.03;if(t.shiftKey){t.preventDefault();var e=this.isNegative(t.deltaX)&&this.isNegative(t.deltaY)?"down":"up";"up"==e?this.state.scale+=n:this.state.scale-=n,this.state.scale=this.state.scale<0?0:this.state.scale,this.setState(this.state)}},render:function(){return r.createElement("div",{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onWheel:this.handleMouseWheel},r.createElement(a,{width:s,height:l},r.createElement(u,{x:this.state.x,y:this.state.y,scaleX:this.state.scale,scaleY:this.state.scale},r.createElement(o,{x:10,y:10,radius:5,fill:"#000"}))))}});t.exports=c},function(t,n,e){"use strict";function r(t){return t?"string"==typeof t?t:t.length?t.join("\n"):"":""}function i(t){var n=function(t){this.node=null,this.subscriptions=null,this.listeners=null,this._mountImage=null,this._renderedChildren=null,this._mostRecentlyPlacedChild=null};n.displayName=t;for(var e=1,r=arguments.length;r>e;e++)p(n.prototype,arguments[e]);return n}function o(t,n,e,r,i){this.args=E.call(arguments)}function u(t,n,e,r,i,o,u){this.args=E.call(arguments)}function a(t,n,e,r,i){this.args=E.call(arguments)}e(154);var s=e(166),l=e(171),c=e(1),f=e(87),h=e(25),p=e(14),d=e(15),g=new s,v=p({},f.Mixin,{moveChild:function(t,n){var e=t._mountImage,r=this._mostRecentlyPlacedChild;null==r?e.previousSibling&&(this.node.firstChild?e.injectBefore(this.node.firstChild):e.inject(this.node)):r.nextSibling!==e&&(r.nextSibling?e.injectBefore(r.nextSibling):e.inject(this.node)),this._mostRecentlyPlacedChild=e},createChild:function(t,n){t._mountImage=n;var e=this._mostRecentlyPlacedChild;null==e?this.node.firstChild?n.injectBefore(this.node.firstChild):n.inject(this.node):e.nextSibling?n.injectBefore(e.nextSibling):n.inject(this.node),this._mostRecentlyPlacedChild=n},removeChild:function(t){t._mountImage.eject(),t._mountImage=null},updateChildrenAtRoot:function(t,n){this.updateChildren(t,n,d)},mountAndInjectChildrenAtRoot:function(t,n){this.mountAndInjectChildren(t,n,d)},updateChildren:function(t,n,e){this._mostRecentlyPlacedChild=null,this._updateChildren(t,n,e)},mountAndInjectChildren:function(t,n,e){var r=this.mountChildren(t,n,e),i=0;for(var o in this._renderedChildren)if(this._renderedChildren.hasOwnProperty(o)){var u=this._renderedChildren[o];u._mountImage=r[i],r[i].inject(this.node),i++}}}),m=c.createClass({displayName:"Surface",mixins:[v],componentDidMount:function(){var t=this.getDOMNode();this.node=l.Surface(+this.props.width,+this.props.height,t);var n=h.ReactReconcileTransaction.getPooled();n.perform(this.mountAndInjectChildrenAtRoot,this,this.props.children,n),h.ReactReconcileTransaction.release(n)},componentDidUpdate:function(t){var n=this.node;(this.props.width!=t.width||this.props.height!=t.height)&&n.resize(+this.props.width,+this.props.height);var e=h.ReactReconcileTransaction.getPooled();e.perform(this.updateChildrenAtRoot,this,this.props.children,e),h.ReactReconcileTransaction.release(e),n.render&&n.render()},componentWillUnmount:function(){this.unmountChildren()},render:function(){var t=this.props;return c.createElement(l.Surface.tagName,{accesskey:t.accesskey,className:t.className,draggable:t.draggable,role:t.role,style:t.style,tabindex:t.tabindex,title:t.title})}}),y={onMouseMove:"mousemove",onMouseOver:"mouseover",onMouseOut:"mouseout",onMouseUp:"mouseup",onMouseDown:"mousedown",onClick:"click"},_={construct:function(t){this._currentElement=t},getPublicInstance:function(){return this.node},putEventListener:function(t,n){var e=this.subscriptions||(this.subscriptions={}),r=this.listeners||(this.listeners={});r[t]=n,n?e[t]||(e[t]=this.node.subscribe(t,n,this)):e[t]&&(e[t](),delete e[t])},handleEvent:function(t){var n=this.listeners[t.type];n&&("function"==typeof n?n.call(this,t):n.handleEvent&&n.handleEvent(t))},destroyEventListeners:function(){var t=this.subscriptions;if(t)for(var n in t)t[n]();this.subscriptions=null,this.listeners=null},applyNodeProps:function(t,n){var e=this.node,r=null!=n.scaleX?n.scaleX:null!=n.scale?n.scale:1,i=null!=n.scaleY?n.scaleY:null!=n.scale?n.scale:1;g.transformTo(1,0,0,1,0,0).move(n.x||0,n.y||0).rotate(n.rotation||0,n.originX,n.originY).scale(r,i,n.originX,n.originY),null!=n.transform&&g.transform(n.transform),(e.xx!==g.xx||e.yx!==g.yx||e.xy!==g.xy||e.yy!==g.yy||e.x!==g.x||e.y!==g.y)&&e.transformTo(g),(n.cursor!==t.cursor||n.title!==t.title)&&e.indicate(n.cursor,n.title),e.blend&&n.opacity!==t.opacity&&e.blend(null==n.opacity?1:n.opacity),n.visible!==t.visible&&(null==n.visible||n.visible?e.show():e.hide());for(var o in y)this.putEventListener(y[o],n[o])},mountComponentIntoNode:function(t,n){throw new Error("You cannot render an ART component standalone. You need to wrap it in a Surface.")}},x=i("Group",_,v,{mountComponent:function(t,n,e){this.node=l.Group();var r=this._currentElement.props;return this.applyGroupProps(d,r),this.mountAndInjectChildren(r.children,n,e),this.node},receiveComponent:function(t,n,e){var r=t.props,i=this._currentElement.props;this.applyGroupProps(i,r),this.updateChildren(r.children,n,e),this._currentElement=t},applyGroupProps:function(t,n){this.node.width=n.width,this.node.height=n.height,this.applyNodeProps(t,n)},unmountComponent:function(){this.destroyEventListeners(),this.unmountChildren()}}),b=i("ClippingRectangle",_,v,{mountComponent:function(t,n,e){this.node=l.ClippingRectangle();var r=this._currentElement.props;return this.applyClippingProps(d,r),this.mountAndInjectChildren(r.children,n,e),this.node},receiveComponent:function(t,n,e){var r=t.props,i=this._currentElement.props;this.applyClippingProps(i,r),this.updateChildren(r.children,n,e),this._currentElement=t},applyClippingProps:function(t,n){this.node.width=n.width,this.node.height=n.height,this.node.x=n.x,this.node.y=n.y,this.applyNodeProps(t,n)},unmountComponent:function(){this.destroyEventListeners(),this.unmountChildren()}}),M=p({},_,{applyRenderableProps:function(t,n){t.fill!==n.fill&&(n.fill&&n.fill.applyFill?n.fill.applyFill(this.node):this.node.fill(n.fill)),(t.stroke!==n.stroke||t.strokeWidth!==n.strokeWidth||t.strokeCap!==n.strokeCap||t.strokeJoin!==n.strokeJoin||t.strokeDash!==n.strokeDash)&&this.node.stroke(n.stroke,n.strokeWidth,n.strokeCap,n.strokeJoin,n.strokeDash),this.applyNodeProps(t,n)},unmountComponent:function(){this.destroyEventListeners()}}),w=i("Shape",M,{construct:function(t){this._currentElement=t,this._oldPath=null},mountComponent:function(t,n,e){this.node=l.Shape();var r=this._currentElement.props;return this.applyShapeProps(d,r),this.node},receiveComponent:function(t,n,e){var r=t.props,i=this._currentElement.props;this.applyShapeProps(i,r),this._currentElement=t},applyShapeProps:function(t,n){var e=this._oldPath,i=n.d||r(n.children);(i!==e||t.width!==n.width||t.height!==n.height)&&(this.node.draw(i,n.width,n.height),this._oldPath=i),this.applyRenderableProps(t,n)}}),C=i("Text",M,{construct:function(t){this._currentElement=t,this._oldString=null},mountComponent:function(t,n,e){var i=this._currentElement.props,o=r(i.children);return this.node=l.Text(o,i.font,i.alignment,i.path),this._oldString=o,this.applyRenderableProps(d,i),this.node},isSameFont:function(t,n){return t===n?!0:"string"==typeof n||"string"==typeof t?!1:n.fontSize===t.fontSize&&n.fontStyle===t.fontStyle&&n.fontVariant===t.fontVariant&&n.fontWeight===t.fontWeight&&n.fontFamily===t.fontFamily},receiveComponent:function(t,n,e){var i=t.props,o=this._currentElement.props,u=this._oldString,a=r(i.children);u===a&&this.isSameFont(o.font,i.font)&&o.alignment===i.alignment&&o.path===i.path||(this.node.draw(a,i.font,i.alignment,i.path),this._oldString=a),this.applyRenderableProps(o,i),this._currentElement=t}}),E=Array.prototype.slice;o.prototype.applyFill=function(t){t.fillLinear.apply(t,this.args)},u.prototype.applyFill=function(t){t.fillRadial.apply(t,this.args)},a.prototype.applyFill=function(t){t.fillImage.apply(t,this.args)};var N={LinearGradient:o,RadialGradient:u,Pattern:a,Transform:s,Path:l.Path,Surface:m,Group:x,ClippingRectangle:b,Shape:w,Text:C};t.exports=N},function(t,n,e){var r=e(155),i=e(172),o=function(){var t="undefined"!=typeof document&&document.implementation;return t&&t.hasFeature&&t.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")},u=function(){return"undefined"!=typeof document&&document.namespaces},a=o()?r:u()?i:{};n.Surface=a.Surface,n.Path=a.Path,n.Shape=a.Shape,n.Group=a.Group,n.ClippingRectangle=a.ClippingRectangle,n.Text=a.Text,e(171).setCurrent(n)},function(t,n,e){n.Surface=e(156),n.Path=e(161),n.Shape=e(162),n.Group=e(169),n.ClippingRectangle=e(169),n.Text=e(170),e(171).setCurrent(n)},function(t,n,e){var r=e(157),i=e(158),o=e(159),u=e(160),a=r(o,i,{initialize:function(t,n,e){var r=this.element=e||u.createElement("svg");r.setAttribute("xmlns",u.NS),r.setAttribute("version",1.1);var i=this.defs=u.createElement("defs");r.appendChild(i),null!=t&&null!=n&&this.resize(t,n)},resize:function(t,n){var e=this.element;return e.setAttribute("width",t),e.setAttribute("height",n),this.width=t,this.height=n,this}});a.tagName="svg",t.exports=a},function(t,n,e){t.exports=function(t){for(var n={},e=0,r=arguments.length;r>e;e++){var i=arguments[e];"function"==typeof i&&(i=i.prototype);for(var o in i)n[o]=i[o]}return n.initialize||(n.initialize=function(){}),n.constructor=function(t,e,r,i,o,u,a,s){return new n.initialize(t,e,r,i,o,u,a,s)},n.constructor.prototype=n.initialize.prototype=n,n.constructor}},function(t,n,e){var r=e(157);t.exports=r({grab:function(){for(var t=0;t<arguments.length;t++)arguments[t].inject(this);return this},empty:function(){for(var t;t=this.firstChild;)t.eject();return this}})},function(t,n,e){function r(t){return t.toElement?t.toElement():t.getDOMNode?t.getDOMNode():t.getNode?t.getNode():t}var i=e(157);t.exports=i({toElement:function(){return this.element},getDOMNode:function(){return this.toElement()},getNode:function(){return this.toElement()},inject:function(t){return(t.containerElement||r(t)).appendChild(this.element),this},injectBefore:function(t){var n=r(t);return n.parentNode.insertBefore(this.element,n),this},eject:function(){var t=this.element,n=t.parentNode;return n&&n.removeChild(t),this},subscribe:function(t,n,e){if("string"!=typeof t){var r=[];for(var i in t)r.push(this.subscribe(i,t[i]));return function(){for(var t=0,n=r.length;n>t;t++)r[t]();return this}}e||(e=this);var o;o="function"==typeof n?n.bind?n.bind(e):function(){return n.apply(e,arguments)}:n;var u=this.element;return u.addEventListener?(u.addEventListener(t,o,!1),function(){return u.removeEventListener(t,o,!1),this}):(u.attachEvent("on"+t,o),function(){return u.detachEvent("on"+t,o),this})}})},function(t,n,e){var r=+new Date;n.uniqueID=function(){return(r++).toString(36)};var i="http://www.w3.org/2000/svg",o="http://www.w3.org/1999/xlink",u="http://www.w3.org/XML/1998/namespace";n.NS=i,n.createElement=function(t){return document.createElementNS(i,t)},n.link=function(t,n){t.setAttributeNS(o,"href",n)},n.preserveSpace=function(t){t.setAttributeNS(u,"space","preserve")},n.createTextNode=function(t){return document.createTextNode(t)}},function(t,n,e){var r=e(157),i=function(t){return function(n,e){return this.push(t,n,e)}},o=function(t,n){return function(e,r,i,o,u){return this.push(t,Math.abs(i||e),Math.abs(o||i||r),0,u?1:0,n,e,r)}},u=function(t,n,e,r){return function(n,i,o,u,a,s){var l=arguments.length,c=4>l?t:6>l?e:r;return this.push(c,n,i,o,u,a,s)}},a=r({initialize:function(t){t instanceof a?this.path=[Array.prototype.join.call(t.path," ")]:t&&t.applyToPath?t.applyToPath(this):this.path=[t||"m0 0"]},push:function(){return this.path.push(Array.prototype.join.call(arguments," ")),this},reset:function(){return this.path=[],this},move:i("m"),moveTo:i("M"),line:i("l"),lineTo:i("L"),curve:u("t","s","q","c"),curveTo:u("T","S","Q","C"),arc:o("a",1),arcTo:o("A",1),counterArc:o("a",0),counterArcTo:o("A",0),close:function(){return this.push("z")},toSVG:function(){return this.path.join(" ")}});a.prototype.toString=a.prototype.toSVG,t.exports=a},function(t,n,e){var r=e(157),i=e(161),o=e(163);t.exports=r(o,{base_initialize:o.prototype.initialize,initialize:function(t,n,e){this.base_initialize("path"),this.element.setAttribute("fill-rule","evenodd"),this.width=n,this.height=e,null!=t&&this.draw(t)},draw:function(t,n,e){return t instanceof i||(t=new i(t)),this.element.setAttribute("d",t.toSVG()),null!=n&&(this.width=n),null!=e&&(this.height=e),this}})},function(t,n,e){var r=e(157),i=e(164),o=e(165),u=e(160),a=u.createElement;t.exports=r(o,{element_initialize:o.prototype.initialize,initialize:function(t){this.element_initialize(t),this.brushes={},this.fill(),this.stroke()},_place:function(){return this.parentNode?(this._injectBrush("fill"),this._injectBrush("stroke")):(this._ejectBrush("fill"),this._ejectBrush("stroke")),this},_injectBrush:function(t){if(this.parentNode){var n="fill"==t?this.fillBrush:this.strokeBrush;n&&this.parentNode.defs.appendChild(n)}},_ejectBrush:function(t){var n=this[t+"Brush"];n&&n.parentNode&&n.parentNode.removeChild(n)},_createBrush:function(t,n){this._ejectBrush(t);var e=a(n);"fill"==t?this.fillBrush=e:this.strokeBrush=e;var r=t+"-brush-e"+u.uniqueID();return e.setAttribute("id",r),this._injectBrush(t),this.element.setAttribute(t,"url(#"+r+")"),e},_createGradient:function(t,n,e){var r=this._createBrush(t,n),o=function(t,n){n=i.detach(n);var e=a("stop");e.setAttribute("offset",t),e.setAttribute("stop-color",n[0]),e.setAttribute("stop-opacity",n[1]),r.appendChild(e)};if("length"in e)for(var u=0,s=e.length-1;s>=u;u++)o(u/s,e[u]);else for(var l in e)o(l,e[l]);return r.setAttribute("spreadMethod","reflect"),this.element.removeAttribute("fill-opacity"),r},_setColor:function(t,n){this._ejectBrush(t),this[t+"Brush"]=null;var e=this.element;null==n?(e.setAttribute(t,"none"),e.removeAttribute(t+"-opacity")):(n=i.detach(n),e.setAttribute(t,n[0]),e.setAttribute(t+"-opacity",n[1]))},fill:function(t){return arguments.length>1?this.fillLinear(arguments):this._setColor("fill",t),this},fillRadial:function(t,n,e,r,i,o,u){var a=this._createGradient("fill","radialGradient",t);a.setAttribute("gradientUnits","userSpaceOnUse"),null==n&&(n=(this.left||0)+.5*(this.width||0)),null==e&&(e=(this.top||0)+.5*(this.height||0)),null==i&&(i=r||.5*this.height||0),null==r&&(r=.5*(this.width||0)),null==o&&(o=n),null==u&&(u=e);var s=i/r;return a.setAttribute("fx",n),a.setAttribute("fy",e/s),a.setAttribute("r",r),1!=s&&a.setAttribute("gradientTransform","scale(1,"+s+")"),a.setAttribute("cx",o),a.setAttribute("cy",u/s),this},fillLinear:function(t,n,e,r,i){var o=this._createGradient("fill","linearGradient",t);if(5==arguments.length)o.setAttribute("gradientUnits","userSpaceOnUse");else{var u=(null==n?270:n)*Math.PI/180,a=Math.cos(u),s=-Math.sin(u),l=(Math.abs(a)+Math.abs(s))/2;a*=l,s*=l,n=.5-a,r=.5+a,e=.5-s,i=.5+s}return o.setAttribute("x1",n),o.setAttribute("y1",e),o.setAttribute("x2",r),o.setAttribute("y2",i),this},fillImage:function(t,n,e,r,o,s,l){var c=this._createBrush("fill","pattern"),f=a("image");if(u.link(f,t),f.setAttribute("width",n),f.setAttribute("height",e),f.setAttribute("preserveAspectRatio","none"),null!=s){s=new i(s),null==l?(l=new i(s),l.alpha=0):l=new i(l);var h=(s.red-l.red)/765,p=(s.green-l.green)/765,d=(s.blue-l.blue)/765,g=(s.alpha-l.alpha)/3,v=[h,h,h,0,l.red/255,p,p,p,0,l.green/255,d,d,d,0,l.blue/255,g,g,g,0,l.alpha],m=a("filter");m.setAttribute("id","testfilter"+this.uid);var y=a("feColorMatrix");y.setAttribute("type","matrix"),y.setAttribute("values",v.join(" ")),f.setAttribute("fill","#000"),f.setAttribute("filter","url(#testfilter"+this.uid+")"),m.appendChild(y),c.appendChild(m)}return c.appendChild(f),c.setAttribute("patternUnits","userSpaceOnUse"),c.setAttribute("patternContentsUnits","userSpaceOnUse"),c.setAttribute("x",r||0),c.setAttribute("y",o||0),c.setAttribute("width",n),c.setAttribute("height",e),this},stroke:function(t,n,e,r,i){var o=this.element;return o.setAttribute("stroke-width",null!=n?n:1),o.setAttribute("stroke-linecap",null!=e?e:"round"),o.setAttribute("stroke-linejoin",null!=r?r:"round"),i&&o.setAttribute("stroke-dasharray",i.join(",")),this._setColor("stroke",t),this}})},function(t,n,e){var r={maroon:"#800000",red:"#ff0000",orange:"#ffA500",yellow:"#ffff00",olive:"#808000",purple:"#800080",fuchsia:"#ff00ff",white:"#ffffff",lime:"#00ff00",green:"#008000",navy:"#000080",blue:"#0000ff",aqua:"#00ffff",teal:"#008080",black:"#000000",silver:"#c0c0c0",gray:"#808080"},i=function(t,n){for(var e=[],r=0,i=t.length;i>r;r++)e[r]=n(t[r],r);return e},o=function(t,n){if(t.isColor)this.red=t.red,this.green=t.green,this.blue=t.blue,this.alpha=t.alpha;else{var e=r[t];switch(e&&(t=e,n="hex"),typeof t){case"string":n||(n=(n=t.match(/^rgb|^hsb|^hsl/))?n[0]:"hex");break;case"object":n=n||"rgb",t=t.toString();break;case"number":n="hex",t=t.toString(16)}t=o["parse"+n.toUpperCase()](t),this.red=t[0],this.green=t[1],this.blue=t[2],this.alpha=t[3]}this.isColor=!0},u=function(t,n,e){return Math.min(e,Math.max(n,t))},a=/([-.\d]+\%?)\s*,\s*([-.\d]+\%?)\s*,\s*([-.\d]+\%?)\s*,?\s*([-.\d]*\%?)/,s=/^#?([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{0,2})$/i;o.parseRGB=function(t){return i(t.match(a).slice(1),function(t,n){return t&&(t=parseFloat(t)*("%"==t[t.length-1]?2.55:1)),3>n?Math.round((t%=256)<0?t+256:t):u(""===t?1:Number(t),0,1)})},o.parseHEX=function(t){return 1==t.length&&(t=t+t+t),i(t.match(s).slice(1),function(t,n){return 3==n?t?parseInt(t,16)/255:1:parseInt(1==t.length?t+t:t,16)})},o.parseHSB=function(t){var n=i(t.match(a).slice(1),function(t,n){return t&&(t=parseFloat(t)),0===n?Math.round((t%=360)<0?t+360:t):3>n?u(Math.round(t),0,100):u(""===t?1:Number(t),0,1)}),e=n[3],r=Math.round(n[2]/100*255);if(0==n[1])return[r,r,r,e];var o=n[0],s=o%60,l=Math.round(n[2]*(100-n[1])/1e4*255),c=Math.round(n[2]*(6e3-n[1]*s)/6e5*255),f=Math.round(n[2]*(6e3-n[1]*(60-s))/6e5*255);switch(Math.floor(o/60)){case 0:return[r,f,l,e];case 1:return[c,r,l,e];case 2:return[l,r,f,e];case 3:return[l,c,r,e];case 4:return[f,l,r,e];default:return[r,l,c,e]}},o.parseHSL=function(t){var n=i(t.match(a).slice(1),function(t,n){return t&&(t=parseFloat(t)),0===n?Math.round((t%=360)<0?t+360:t):3>n?u(Math.round(t),0,100):u(""===t?1:Number(t),0,1)}),e=n[0]/60,r=n[1]/100,o=n[2]/100,s=n[3],l=(1-Math.abs(2*o-1))*r,c=l*(1-Math.abs(e%2-1)),f=o-l/2,h=Math.round(255*(l+f)),p=Math.round(255*(c+f)),d=Math.round(255*f);switch(Math.floor(e)){case 0:return[h,p,d,s];case 1:return[p,h,d,s];case 2:return[d,h,p,s];case 3:return[d,p,h,s];case 4:return[p,d,h,s];default:return[h,d,p,s]}};var l=function(t,n){return 1!=n[3]?t+="a":n.pop(),t+"("+n.join(", ")+")"};o.prototype={toHSB:function(t){var n=this.red,e=this.green,r=this.blue,i=this.alpha,o=Math.max(n,e,r),u=Math.min(n,e,r),a=o-u,s=0,c=0!=a?a/o:0,f=o/255;if(c){var h=(o-n)/a,p=(o-e)/a,d=(o-r)/a;s=n==o?d-p:e==o?2+h-d:4+p-h,(s/=6)<0&&s++}var g=[Math.round(360*s),Math.round(100*c),Math.round(100*f),i];return t?g:l("hsb",g)},toHSL:function(t){var n=this.red,e=this.green,r=this.blue,i=this.alpha,o=Math.max(n,e,r),u=Math.min(n,e,r),a=o-u,s=0,c=0!=a?a/(255-Math.abs(o+u-255)):0,f=(o+u)/512;if(c){var h=(o-n)/a,p=(o-e)/a,d=(o-r)/a;s=n==o?d-p:e==o?2+h-d:4+p-h,(s/=6)<0&&s++}var g=[Math.round(360*s),Math.round(100*c),Math.round(100*f),i];return t?g:l("hsl",g)},toHEX:function(t){var n=this.alpha,e=1==(n=Math.round(255*n).toString(16)).length?n+n:n,r=i([this.red,this.green,this.blue],function(t){return t=t.toString(16),1==t.length?"0"+t:t});return t?r.concat(e):"#"+r.join("")+("ff"==e?"":e)},toRGB:function(t){var n=[this.red,this.green,this.blue,this.alpha];return t?n:l("rgb",n)}},o.prototype.toString=o.prototype.toRGB,o.hex=function(t){return new o(t,"hex")},null==this.hex&&(this.hex=o.hex),o.hsb=function(t,n,e,r){return new o([t||0,n||0,e||0,null==r?1:r],"hsb")},null==this.hsb&&(this.hsb=o.hsb),o.hsl=function(t,n,e,r){return new o([t||0,n||0,e||0,null==r?1:r],"hsl")},null==this.hsl&&(this.hsl=o.hsl),o.rgb=function(t,n,e,r){return new o([t||0,n||0,e||0,null==r?1:r],"rgb")},null==this.rgb&&(this.rgb=o.rgb),o.detach=function(t){return t=new o(t),[o.rgb(t.red,t.green,t.blue).toString(),t.alpha]},t.exports=o},function(t,n,e){var r=e(157),i=e(166),o=e(167),u=e(160);t.exports=r(o,i,{initialize:function(t){this.uid=u.uniqueID();var n=this.element=u.createElement(t);n.setAttribute("id","e"+this.uid)},_transform:function(){var t=this;this.element.setAttribute("transform","matrix("+[t.xx,t.yx,t.xy,t.yy,t.x,t.y]+")")},blend:function(t){return this.element.setAttribute("opacity",t),this},hide:function(){return this.element.setAttribute("display","none"),this},show:function(){return this.element.setAttribute("display",""),this},indicate:function(t,n){var e=this.element;if(t&&(this.element.style.cursor=t),n){var r=this.titleElement;r?r.firstChild.nodeValue=n:(this.titleElement=r=u.createElement("title"),r.appendChild(u.createTextNode(n)),e.insertBefore(r,e.firstChild))}return this}})},function(t,n,e){function r(t,n,e,r,i,o){return t&&"object"==typeof t&&(n=t.yx,r=t.yy,o=t.y,e=t.xy,i=t.x,t=t.xx),this.xx=null==t?1:t,this.yx=n||0,this.xy=e||0,this.yy=null==r?1:r,this.x=(null==i?this.x:i)||0,this.y=(null==o?this.y:o)||0,this._transform(),this}var i=e(157);t.exports=i({initialize:r,_transform:function(){},xx:1,yx:0,x:0,xy:0,yy:1,y:0,transform:function(t,n,e,r,i,o){var u=this;return t&&"object"==typeof t&&(n=t.yx,r=t.yy,o=t.y,e=t.xy,i=t.x,t=t.xx),i||(i=0),o||(o=0),this.transformTo(u.xx*t+u.xy*n,u.yx*t+u.yy*n,u.xx*e+u.xy*r,u.yx*e+u.yy*r,u.xx*i+u.xy*o+u.x,u.yx*i+u.yy*o+u.y)},transformTo:r,translate:function(t,n){return this.transform(1,0,0,1,t,n)},move:function(t,n){return this.x+=t||0,this.y+=n||0,this._transform(),this},scale:function(t,n){return null==n&&(n=t),this.transform(t,0,0,n,0,0)},rotate:function(t,n,e){(null==n||null==e)&&(n=(this.left||0)+(this.width||0)/2,e=(this.top||0)+(this.height||0)/2);var r=t*Math.PI/180,i=Math.sin(r),o=Math.cos(r);this.transform(1,0,0,1,n,e);var u=this;return this.transformTo(o*u.xx-i*u.yx,i*u.xx+o*u.yx,o*u.xy-i*u.yy,i*u.xy+o*u.yy,u.x,u.y).transform(1,0,0,1,-n,-e)},moveTo:function(t,n){var e=this;return this.transformTo(e.xx,e.yx,e.xy,e.yy,t,n)},rotateTo:function(t,n,e){var r=this,i=r.yx/r.xx>r.yy/r.xy?-1:1;return(r.xx<0?r.xy>=0:r.xy<0)&&(i=-i),this.rotate(t-180*Math.atan2(i*r.yx,i*r.xx)/Math.PI,n,e)},scaleTo:function(t,n){var e=this,r=Math.sqrt(e.xx*e.xx+e.yx*e.yx);return e.xx/=r,e.yx/=r,r=Math.sqrt(e.yy*e.yy+e.xy*e.xy),e.yy/=r,e.xy/=r,this.scale(t,n)},resizeTo:function(t,n){var e=this.width,r=this.height;return e&&r?this.scaleTo(t/e,n/r):this},inversePoint:function(t,n){var e=this.xx,r=this.yx,i=this.xy,o=this.yy,u=this.x,a=this.y,s=r*i-e*o;return 0==s?null:{x:(o*(u-t)+i*(n-a))/s,y:(e*(a-n)+r*(t-u))/s}},point:function(t,n){var e=this;return{x:e.xx*t+e.xy*n+e.x,y:e.yx*t+e.yy*n+e.y}}})},function(t,n,e){var r=e(157),i=e(168),o=e(159);t.exports=r(i,o,{dummy_inject:i.prototype.inject,dummy_injectBefore:i.prototype.injectBefore,dummy_eject:i.prototype.eject,native_inject:o.prototype.inject,native_injectBefore:o.prototype.injectBefore,native_eject:o.prototype.eject,inject:function(t){return this.dummy_inject(t),this.native_inject(t),this},injectBefore:function(t){return this.dummy_injectBefore(t),this.native_injectBefore(t),this},eject:function(){return this.dummy_eject(),this.native_eject(),this}})},function(t,n,e){var r=e(157);t.exports=r({_resetPlacement:function(){var t=this.parentNode;if(t){var n=this.previousSibling,e=this.nextSibling;n?n.nextSibling=e:t.firstChild=e,e?e.previousSibling=n:t.lastChild=this.previousSibling}return this.previousSibling=null,this.nextSibling=null,this.parentNode=null,this},inject:function(t){this._resetPlacement();var n=t.lastChild;return n?(n.nextSibling=this,this.previousSibling=n):t.firstChild=this,t.lastChild=this,this.parentNode=t,this._place(),this},injectBefore:function(t){this._resetPlacement();var n=t.parentNode;if(!n)return this;var e=t.previousSibling;return e?(e.nextSibling=this,this.previousSibling=e):n.firstChild=this,t.previousSibling=this,this.nextSibling=t,this.parentNode=n,this._place(),this},eject:function(){return this._resetPlacement(),this._place(),this},_place:function(){},dispatch:function(t){var n=this._events,e=n&&n[t.type];if(e){e=e.slice(0);for(var r=0,i=e.length;i>r;r++){var o,u=e[r];o="function"==typeof u?u.call(this,t):u.handleEvent(t),o===!1&&t.preventDefault()}}this.parentNode&&this.parentNode.dispatch&&this.parentNode.dispatch(t)},subscribe:function(t,n,e){if("string"!=typeof t){var r=[];for(var i in t)r.push(this.subscribe(i,t[i]));return function(){for(var t=0,n=r.length;n>t;t++)r[t]();return this}}var o="function"==typeof n?n.bind(e||this):n,u=this._events||(this._events={}),a=u[t]||(u[t]=[]);return a.push(o),function(){for(var t=0,n=a.length;n>t;t++)if(a[t]===o){a.splice(t,1);break}}}})},function(t,n,e){var r=e(157),i=e(158),o=e(165),u=e(160);t.exports=r(o,i,{element_initialize:o.prototype.initialize,initialize:function(t,n){this.element_initialize("g"),this.width=t,this.height=n,this.defs=u.createElement("defs"),this.element.appendChild(this.defs)}})},function(t,n,e){var r=e(157),i=e(161),o=e(163),u=e(156),a=e(160),s=a.createElement,l="undefined"!=typeof navigator&&navigator&&navigator.userAgent,c=!/opera|safari|ie/i.test(l)||/chrome/i.test(l),f={left:"start",center:"middle",right:"end"},h={middle:"50%",end:"100%"};t.exports=r(o,{base_initialize:o.prototype.initialize,initialize:function(t,n,e,r){this.base_initialize("text"),this.draw.apply(this,arguments)},draw:function(t,n,e,r){var o=this.element;if(n)if("string"==typeof n)o.style.font=n;else{for(var u in n){var l=u.camelCase?u.camelCase():u;o.style[l]=n[u]}o.style.lineHeight="0.5em"}e&&o.setAttribute("text-anchor",this.textAnchor=f[e]||e),r&&"number"!=typeof r?this._createPaths(new i(r)):r===!1&&(this._ejectPaths(),this.pathElements=null);for(var p,d=this.pathElements;p=o.firstChild;)o.removeChild(p);var g=String(t).split(/\r?\n/),v=g.length,m="central";d&&v>d.length&&(v=d.length),c&&o.setAttribute("dominant-baseline",m),a.preserveSpace(o);for(var y=0;v>y;y++){var _,x,b=g[y];d?(_=s("textPath"),a.link(_,"#"+d[y].getAttribute("id")),_.setAttribute("startOffset",h[this.textAnchor]||0)):(_=s("tspan"),_.setAttribute("x",0),_.setAttribute("y",1.1*y+.5+"em")),c?(_.setAttribute("dominant-baseline",m),x=_):d?(x=s("tspan"),x.setAttribute("dy","0.35em"),_.appendChild(x)):(x=_,_.setAttribute("y",1.1*y+.85+"em")),a.preserveSpace(x),x.appendChild(a.createTextNode(b)),o.appendChild(_)}var M;try{M=o.getBBox()}catch(w){}return M&&M.width||(M=this._whileInDocument(o.getBBox,o)),this.left=M.x,this.top=M.y,this.width=M.width,this.height=M.height,this.right=M.x+M.width,this.bottom=M.y+M.height,this},base_place:o.prototype._place,_place:function(){return this.parentNode?this._injectPaths():this._ejectPaths(),this.base_place()},_injectPaths:function(){var t=this.pathElements;if(this.parentNode&&t)for(var n=this.parentNode.defs,e=0,r=t.length;r>e;e++)n.appendChild(t[e])},_ejectPaths:function(){var t=this.pathElements;if(t)for(var n=0,e=t;e>n;n++){var r=t[n];r.parentNode&&r.parentNode.removeChild(t[n])}},_createPaths:function(t){this._ejectPaths();for(var n="p"+a.uniqueID()+"-",e=[t.path],r=[],i=0,o=e.length;o>i;i++){var u=s("path");u.setAttribute("d",e[i].join(" ")),u.setAttribute("id",n+i),r.push(u)}this.pathElements=r,this._injectPaths()},_whileInDocument:function(t,n){var e=this.element,r=this.parentNode,i=e.parentNode,o=e.nextSibling,a=e.ownerDocument.body,s=new u(1,1).inject(a);this.inject(s);var l=t.call(n);return s.eject(),r&&this.inject(r),i&&i.insertBefore(e,o),l}})},function(t,n,e){function r(){throw new Error("You must require a mode before requiring anything else.")}n.Surface=r,n.Path=r,n.Shape=r,n.Group=r,n.ClippingRectangle=r,n.Text=r,n.setCurrent=function(t){for(var e in t)n[e]=t[e]}},function(t,n,e){n.Surface=e(176),n.Path=e(177),n.Shape=e(179),n.Group=e(181),n.ClippingRectangle=e(173),n.Text=e(182);var r=e(175);"undefined"!=typeof document&&r.init(document),e(171).setCurrent(n)},function(t,n,e){var r=e(157),i=e(166),o=e(158),u=e(174);t.exports=r(u,o,{element_initialize:u.prototype.initialize,initialize:function(t,n){this.element_initialize("clippingrectangle"),this.width=t,this.height=n},_transform:function(){var t=this.element;t.clip=!0,t.coordorigin=-this.x+","+-1*this.y,t.coordsize=this.width+","+this.height,t.style.clipLeft=this.x,t.style.clipRight=this.width+this.x,t.style.clipTop=this.y,t.style.left=-this.x,t.style.top=-this.y,t.style.width=this.width+this.x,t.style.height=this.height+this.y,t.style.rotation=0;var n=this.parentNode;this._activeTransform=n?new i(n._activeTransform).transform(this):this;for(var e=this.firstChild;e;)e._transform(),e=e.nextSibling}})},function(t,n,e){var r=e(157),i=e(166),o=e(167),u=e(175);t.exports=r(o,i,{initialize:function(t){this.element=u.createElement(t)},_place:function(){this.parentNode&&this._transform()},hide:function(){return this.element.style.display="none",this},show:function(){return this.element.style.display="",this},indicate:function(t,n){return t&&(this.element.style.cursor=t),n&&(this.element.title=n),this}})},function(t,n,e){var r,i="behavior:url(#default#VML);display:inline-block;position:absolute;left:0px;top:0px;",o={},u=function(t){r&&(o[t]=r.addRule("av\\:"+t,i))};n.init=function(t){var n;try{n=t.namespaces}catch(e){}return n?(n.add("av","urn:schemas-microsoft-com:vml"),n.add("ao","urn:schemas-microsoft-com:office:office"),r=t.createStyleSheet(),r.addRule("vml","display:inline-block;position:relative;overflow:hidden;"),u("vml"),!0):!1},n.createElement=function(t){return t in o||u(t),document.createElement("av:"+t)}},function(t,n,e){var r=e(157),i=e(158),o=e(159),u=e(175),a=100,s=r(o,i,{initialize:function(t,n,e){this.element=e||document.createElement("vml"),this.containerElement=u.createElement("group"),this.element.appendChild(this.containerElement),null!=t&&null!=n&&this.resize(t,n)},resize:function(t,n){this.width=t,this.height=n;var e=this.element.style;e.pixelWidth=t,e.pixelHeight=n,e=this.containerElement.style,e.width=t,e.height=n;var r=.5*a;return this.containerElement.coordorigin=r+","+r,this.containerElement.coordsize=t*a+","+n*a,this}});s.tagName="av:vml",t.exports=s},function(t,n,e){var r=e(157),i=e(178),o=100,u=Math.round,a=r(i,{initialize:function(t){this.reset(),t instanceof a?this.path=[Array.prototype.join.call(t.path," ")]:t&&(t.applyToPath?t.applyToPath(this):this.push(t))},onReset:function(){this.path=[]},onMove:function(t,n,e,r){this.path.push("m",u(e*o),u(r*o))},onLine:function(t,n,e,r){this.path.push("l",u(e*o),u(r*o))},onBezierCurve:function(t,n,e,r,i,a,s,l){this.path.push("c",u(e*o),u(r*o),u(i*o),u(a*o),u(s*o),u(l*o));
},_arcToBezier:i.prototype.onArc,onArc:function(t,n,e,r,i,a,s,l,c,f,h,p){return s!=l||p?this._arcToBezier(t,n,e,r,i,a,s,l,c,f,h,p):(i*=o,a*=o,s*=o,void this.path.push(h?"at":"wa",u(i-s),u(a-s),u(i+s),u(a+s),u(t*o),u(n*o),u(e*o),u(r*o)))},onClose:function(){this.path.push("x")},toVML:function(){return this.path.join(" ")}});a.prototype.toString=a.prototype.toVML,t.exports=a},function(t,n,e){var r=e(157);t.exports=r({initialize:function(t){this.reset().push(t)},push:function(){var t=Array.prototype.join.call(arguments," ").match(/[a-df-z]|[\-+]?(?:[\d\.]e[\-+]?|[^\s\-+,a-z])+/gi);if(!t)return this;for(var n,e=t[0],r=1;e;){switch(e){case"m":this.move(t[r++],t[r++]);break;case"l":this.line(t[r++],t[r++]);break;case"c":this.curve(t[r++],t[r++],t[r++],t[r++],t[r++],t[r++]);break;case"s":this.curve(t[r++],t[r++],null,null,t[r++],t[r++]);break;case"q":this.curve(t[r++],t[r++],t[r++],t[r++]);break;case"t":this.curve(t[r++],t[r++]);break;case"a":this.arc(t[r+5],t[r+6],t[r],t[r+1],t[r+3],!+t[r+4],t[r+2]),r+=7;break;case"h":this.line(t[r++],0);break;case"v":this.line(0,t[r++]);break;case"M":this.moveTo(t[r++],t[r++]);break;case"L":this.lineTo(t[r++],t[r++]);break;case"C":this.curveTo(t[r++],t[r++],t[r++],t[r++],t[r++],t[r++]);break;case"S":this.curveTo(t[r++],t[r++],null,null,t[r++],t[r++]);break;case"Q":this.curveTo(t[r++],t[r++],t[r++],t[r++]);break;case"T":this.curveTo(t[r++],t[r++]);break;case"A":this.arcTo(t[r+5],t[r+6],t[r],t[r+1],t[r+3],!+t[r+4],t[r+2]),r+=7;break;case"H":this.lineTo(t[r++],this.penY);break;case"V":this.lineTo(this.penX,t[r++]);break;case"Z":case"z":this.close();break;default:e=n,r--;continue}n=e,"m"==n?n="l":"M"==n&&(n="L"),e=t[r++]}return this},reset:function(){return this.penX=this.penY=0,this.penDownX=this.penDownY=null,this._pivotX=this._pivotY=0,this.onReset(),this},move:function(t,n){return this.onMove(this.penX,this.penY,this._pivotX=this.penX+=+t,this._pivotY=this.penY+=+n),this},moveTo:function(t,n){return this.onMove(this.penX,this.penY,this._pivotX=this.penX=+t,this._pivotY=this.penY=+n),this},line:function(t,n){return this.lineTo(this.penX+ +t,this.penY+ +n)},lineTo:function(t,n){return null==this.penDownX&&(this.penDownX=this.penX,this.penDownY=this.penY),this.onLine(this.penX,this.penY,this._pivotX=this.penX=+t,this._pivotY=this.penY=+n),this},curve:function(t,n,e,r,i,o){var u=this.penX,a=this.penY;return this.curveTo(u+ +t,a+ +n,null==e?null:u+ +e,null==r?null:a+ +r,null==i?null:u+ +i,null==o?null:a+ +o)},curveTo:function(t,n,e,r,i,o){var u=this.penX,a=this.penY;return null==e&&(e=+t,r=+n,t=2*u-(this._pivotX||0),n=2*a-(this._pivotY||0)),null==i?(this._pivotX=+t,this._pivotY=+n,i=+e,o=+r,e=(i+2*+t)/3,r=(o+2*+n)/3,t=(u+2*+t)/3,n=(a+2*+n)/3):(this._pivotX=+e,this._pivotY=+r),null==this.penDownX&&(this.penDownX=u,this.penDownY=a),this.onBezierCurve(u,a,+t,+n,+e,+r,this.penX=+i,this.penY=+o),this},arc:function(t,n,e,r,i,o,u){return this.arcTo(this.penX+ +t,this.penY+ +n,e,r,i,o,u)},arcTo:function(t,n,e,r,i,o,u){if(r=Math.abs(+r||+e||+n-this.penY),e=Math.abs(+e||+t-this.penX),!e||!r||t==this.penX&&n==this.penY)return this.lineTo(t,n);var a=this.penX,s=this.penY,l=!+o,c=!!+i,f=u?u*Math.PI/180:0,h=Math.cos(f),p=Math.sin(f);t-=a,n-=s;var d=h*t/2+p*n/2,g=-p*t/2+h*n/2,v=e*e*r*r,m=r*r*d*d,y=e*e*g*g,_=v-y-m;if(0>_)_=Math.sqrt(1-_/v),e*=_,r*=_,d=t/2,g=n/2;else{_=Math.sqrt(_/(y+m)),c==l&&(_=-_);var x=-_*g*e/r,b=_*d*r/e;d=h*x-p*b+t/2,g=p*x+h*b+n/2}var M=h/e,w=p/e,C=-p/r,E=h/r,N=Math.atan2(C*-d+E*-g,M*-d+w*-g),S=Math.atan2(C*(t-d)+E*(n-g),M*(t-d)+w*(n-g));return d+=a,g+=s,t+=a,n+=s,null==this.penDownX&&(this.penDownX=this.penX,this.penDownY=this.penY),this.onArc(a,s,this._pivotX=this.penX=t,this._pivotY=this.penY=n,d,g,e,r,N,S,!l,u),this},counterArc:function(t,n,e,r,i){return this.arc(t,n,e,r,i,!0)},counterArcTo:function(t,n,e,r,i){return this.arcTo(t,n,e,r,i,!0)},close:function(){return null!=this.penDownX&&(this.onClose(this.penX,this.penY,this.penX=this.penDownX,this.penY=this.penDownY),this.penDownX=null),this},onReset:function(){},onMove:function(t,n,e,r){},onLine:function(t,n,e,r){this.onBezierCurve(t,n,t,n,e,r,e,r)},onBezierCurve:function(t,n,e,r,i,o,u,a){var s,l,c,f,h,p=u-t,d=a-n,g=p*p+d*d;if(c=e-t,f=r-n,h=c*p+f*d,h>g?(c-=p,f-=d):h>0&&0!=g&&(c-=h/g*p,f-=h/g*d),s=c*c+f*f,c=i-t,f=o-n,h=c*p+f*d,h>g?(c-=p,f-=d):h>0&&0!=g&&(c-=h/g*p,f-=h/g*d),l=c*c+f*f,.01>s&&.01>l)return void this.onLine(t,n,u,a);if(isNaN(s)||isNaN(l))throw new Error("Bad input");var v=.5*(e+i),m=.5*(r+o),y=.5*(e+t),_=.5*(r+n),x=.5*(y+v),b=.5*(_+m),M=.5*(u+i),w=.5*(a+o),C=.5*(M+v),E=.5*(w+m),N=.5*(x+C),S=.5*(b+E);this.onBezierCurve(t,n,y,_,x,b,N,S),this.onBezierCurve(N,S,C,E,M,w,u,a)},onArc:function(t,n,e,r,i,o,u,a,s,l,c,f){var h=f?f*Math.PI/180:0,p=Math.cos(h),d=Math.sin(h),g=p*u,v=-d*a,m=d*u,y=p*a,_=l-s;0>_&&!c?_+=2*Math.PI:_>0&&c&&(_-=2*Math.PI);for(var x=Math.ceil(Math.abs(_/(Math.PI/2))),b=_/x,M=4/3*Math.tan(b/4),w=Math.cos(s),C=Math.sin(s),E=0;x>E;E++){var N=w-M*C,S=C+M*w;s+=b,w=Math.cos(s),C=Math.sin(s);var D=w+M*C,T=C-M*w;this.onBezierCurve(t,n,i+g*N+v*S,o+m*N+y*S,i+g*D+v*T,o+m*D+y*T,t=i+g*w+v*C,n=o+m*w+y*C)}},onClose:function(t,n,e,r){this.onLine(t,n,e,r)}})},function(t,n,e){var r=e(157),i=e(180),o=e(177),u=e(175),a=100;t.exports=r(i,{base_initialize:i.prototype.initialize,initialize:function(t,n,e){this.base_initialize("shape");var r=this.pathElement=u.createElement("path");r.gradientshapeok=!0,this.element.appendChild(r),this.width=n,this.height=e,null!=t&&this.draw(t)},draw:function(t,n,e){return t instanceof o||(t=new o(t)),this._vml=t.toVML(),null!=n&&(this.width=n),null!=e&&(this.height=e),this._boxCoords||this._transform(),this._redraw(this._prefix,this._suffix),this},_redraw:function(t,n){var e=this._vml||"";this._prefix=t,this._suffix=n,t&&(e=[t,e,n,"ns e",e,"nf"].join(" ")),this.element.path=e+"e"},fillRadial:function(t,n,e,r,i,o,u){var s=this._createGradient("gradientradial",t);null==n&&(n=(this.left||0)+.5*(this.width||0)),null==e&&(e=(this.top||0)+.5*(this.height||0)),null==i&&(i=r||.5*this.height||0),null==r&&(r=.5*(this.width||0)),null==o&&(o=n),null==u&&(u=e),o+=o-n,u+=u-e;var l=Math.round(o*a),c=Math.round(u*a),f=Math.round(2*r*a),h=Math.round(2*i*a),p=["wa",l-f,c-h,l+f,c+h].join(" ");return this._redraw(["m",l,c-h,"l",l,c-h].join(" "),["m",l,c-h,p,l,c-h,l,c+h,p,l,c+h,l,c-h,p,l,c-h,l,c+h,p,l,c+h,l,c-h].join(" ")),this._boxCoords={left:n-2,top:e-2,width:4,height:4},s.focusposition="0.5,0.5",s.focussize="0 0",s.focus="50%",this._transform(),this}})},function(t,n,e){var r=e(157),i=e(166),o=e(164),u=e(174),a=e(175),s=100,l={left:0,top:0,width:500,height:500};t.exports=r(u,{element_initialize:u.prototype.initialize,initialize:function(t){this.element_initialize(t);var n=this.element,e=this.skewElement=a.createElement("skew");e.on=!0,n.appendChild(e);var r=this.fillElement=a.createElement("fill");r.on=!1,n.appendChild(r);var i=this.strokeElement=a.createElement("stroke");i.on=!1,n.appendChild(i)},_transform:function(){var t=this.parentNode,n=t?new i(t._activeTransform).transform(this):this,e=this._boxCoords||this._size||l,r=e.left||0,o=e.top||0,u=e.width||1,a=e.height||1,c=n.yx/n.xx>n.yy/n.xy;(n.xx<0?n.xy>=0:n.xy<0)&&(c=!c),c=c?-1:1,n=(new i).scale(c,1).transform(n);var f=180*Math.atan2(-n.xy,n.yy)/Math.PI,h=f*Math.PI/180,p=Math.sin(h),d=Math.cos(h),g=new i(n.xx*d-n.xy*p,(n.yx*d-n.yy*p)*c,(n.xy*d+n.xx*p)*c,n.yy*d+n.yx*p),v=(new i).rotate(f,0,0),m=(new i).rotate(-f,0,0).transform(n).moveTo(0,0);u*=Math.abs(m.xx),a*=Math.abs(m.yy);var y=n.x,_=n.y,x=-u/2,b=-a/2,M=v.point(x,b);y-=M.x-x,_-=M.y-b;var w=new i(n).moveTo(0,0);M=w.point(r,o),y+=M.x,_+=M.y,0>c&&(y=-y-u);var C=w.point(-r,-o),E=v.point(u,a),N=v.point(u,0),S=v.point(0,a),D=Math.min(0,E.x,N.x,S.x),T=Math.max(0,E.x,N.x,S.x),A=Math.min(0,E.y,N.y,S.y),k=Math.max(0,E.y,N.y,S.y),R=(C.x-E.x/2)/(T-D)*c,P=(C.y-E.y/2)/(k-A);M=m.point(r,o),r=M.x,o=M.y;var I=this._strokeWidth;if(I){var x=n.xx+n.xy,b=n.yy+n.yx;I*=Math.sqrt(x*x+b*b)/Math.sqrt(2)}r*=s,o*=s,y*=s,_*=s,u*=s,a*=s;var O=this.element;O.coordorigin=r+","+o,O.coordsize=u+","+a,O.style.left=y+"px",O.style.top=_+"px",O.style.width=u,O.style.height=a,O.style.rotation=f.toFixed(8),O.style.flip=0>c?"x":"";var L=this.skewElement;L.matrix=[g.xx.toFixed(4),g.xy.toFixed(4),g.yx.toFixed(4),g.yy.toFixed(4),0,0],L.origin=R+","+P,this.strokeElement.weight=I+"px"},_createGradient:function(t,n){var e=this.fillElement;this.element.removeChild(e),e.type=t,e.method="none",e.rotate=!0;var r,i,u=[],a=function(t,n){n=o.detach(n),null==r?r=i=n:i=n,u.push(t+" "+n[0])};if("length"in n)for(var s=0,l=n.length-1;l>=s;s++)a(s/l,n[s]);else for(var c in n)a(c,n[c]);return e.color=r[0],e.color2=i[0],e.colors=u,e.opacity=i[1],e["ao:opacity2"]=r[1],e.on=!0,this.element.appendChild(e),e},_setColor:function(t,n){var e="fill"==t?this.fillElement:this.strokeElement;null==n?e.on=!1:(n=o.detach(n),e.color=n[0],e.opacity=n[1],e.on=!0)},fill:function(t){if(arguments.length>1)this.fillLinear(arguments);else{this._boxCoords=l;var n=this.fillElement;n.type="solid",n.color2="",n["ao:opacity2"]="",n.colors&&(n.colors.value=""),this._setColor("fill",t)}return this},fillRadial:function(t,n,e,r,i,o,u){var a=this._createGradient("gradientradial",t);null==n&&(n=this.left+.5*this.width),null==e&&(e=this.top+.5*this.height),null==i&&(i=r||.5*this.height),null==r&&(r=.5*this.width),null==o&&(o=n),null==u&&(u=e),o+=o-n,u+=u-e;var s=this._boxCoords={left:o-2*r,top:u-2*i,width:4*r,height:4*i};return n-=s.left,e-=s.top,n/=s.width,e/=s.height,a.focussize="0 0",a.focusposition=n+","+e,a.focus="50%",this._transform(),this},fillLinear:function(t,n,e,r,i){var o=this._createGradient("gradient",t);if(o.focus="100%",5==arguments.length){var u=Math.abs(r-n),a=Math.abs(i-e);this._boxCoords={left:Math.min(n,r),top:Math.min(e,i),width:1>u?a:u,height:1>a?u:a},o.angle=(360+180*Math.atan2((r-n)/a,(i-e)/u)/Math.PI)%360}else this._boxCoords=null,o.angle=null==n?0:(90+n)%360;return this._transform(),this},fillImage:function(t,n,e,r,i,u,a){var s=this.fillElement;return null!=u?(u=o.detach(u),null!=a&&(a=o.detach(a)),s.type="pattern",s.color=u[0],s.color2=null==a?u[0]:a[0],s.opacity=null==a?0:a[1],s["ao:opacity2"]=u[1]):(s.type="tile",s.color="",s.color2="",s.opacity=1,s["ao:opacity2"]=1),s.colors&&(s.colors.value=""),s.rotate=!0,s.src=t,s.size="1,1",s.position="0,0",s.origin="0,0",s.aspect="ignore",s.on=!0,r||(r=0),i||(i=0),this._boxCoords=n?{left:r+.5,top:i+.5,width:n,height:e}:null,this._transform(),this},stroke:function(t,n,e,r){var i=this.strokeElement;return this._strokeWidth=null!=n?n:1,i.weight=null!=n?n+"px":1,i.endcap=null!=e?"butt"==e?"flat":e:"round",i.joinstyle=null!=r?r:"round",this._setColor("stroke",t),this}})},function(t,n,e){var r=e(157),i=e(166),o=e(158),u=e(174);t.exports=r(u,o,{element_initialize:u.prototype.initialize,initialize:function(t,n){this.element_initialize("group"),this.width=t,this.height=n},_transform:function(){var t=this.element;t.coordorigin="0,0",t.coordsize="1000,1000",t.style.left=0,t.style.top=0,t.style.width=1e3,t.style.height=1e3,t.style.rotation=0;var n=this.parentNode;this._activeTransform=n?new i(n._activeTransform).transform(this):this;for(var e=this.firstChild;e;)e._transform(),e=e.nextSibling}})},function(t,n,e){var r=e(157),i=e(180),o=e(177),u=e(176),a=e(181),s=e(175),l={start:"left",middle:"center",end:"right"};t.exports=r(i,{base_initialize:i.prototype.initialize,initialize:function(t,n,e,r){this.base_initialize("shape");var i=this.pathElement=s.createElement("path");i.textpathok=!0,this.element.appendChild(i),i=this.textPathElement=s.createElement("textpath"),i.on=!0,i.style["v-text-align"]="left",this.element.appendChild(i),this.draw.apply(this,arguments)},draw:function(t,n,e,r){var i=this.element,s=this.textPathElement,c=s.style;if(s.string=t,n)if("string"==typeof n)c.font=n;else for(var f in n){var h=f.camelCase?f.camelCase():f;"fontFamily"==h?c[h]="'"+n[f]+"'":c[h]=n[f]}if(e&&(c["v-text-align"]=l[e]||e),r)this.currentPath=r=new o(r),this.element.path=r.toVML();else if(!this.currentPath){for(var p=-1,d="\n";(p=t.indexOf("\n",p+1))>-1;)d+="\n";s.string=d+s.string,this.element.path="m0,0l1,0"}i=i.cloneNode(!0),c=i.style,i.coordorigin="0,0",i.coordsize="10000,10000",c.left="0px",c.top="0px",c.width="10000px",c.height="10000px",c.rotation=0,i.removeChild(i.firstChild);var g=new u(1,1),v=new a,m=i.ownerDocument.body;g.inject(m),v.element.appendChild(i),v.inject(g);var y=i.getBoundingClientRect(),_=g.toElement().getBoundingClientRect();return g.eject(),this.left=y.left-_.left,this.top=y.top-_.top,this.width=y.right-y.left,this.height=y.bottom-y.top,this.right=y.right-_.left,this.bottom=y.bottom-_.top,this._transform(),this}})},function(t,n,e){t.exports=e(184)},function(t,n,e){var r=e(1),i=e(153),o=r.PropTypes,u=i.Shape,a=i.Path,s=r.createClass({displayName:"Circle",propTypes:{radius:o.number.isRequired},render:function(){var t=this.props.radius,n=a().moveTo(0,-t).arc(0,2*t,t).arc(0,-2*t,t).close();return r.createElement(u,r.__spread({},this.props,{d:n}))}});t.exports=s},function(t,n,e){var r,i;!function(){function o(t){return t&&(t.ownerDocument||t.document||t).documentElement}function u(t){return t&&(t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView)}function a(t,n){return n>t?-1:t>n?1:t>=n?0:NaN}function s(t){return null===t?NaN:+t}function l(t){return!isNaN(t)}function c(t){return{left:function(n,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=n.length);i>r;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=n.length);i>r;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}function f(t){return t.length}function h(t){for(var n=1;t*n%1;)n*=10;return n}function p(t,n){for(var e in n)Object.defineProperty(t.prototype,e,{value:n[e],enumerable:!1})}function d(){this._=Object.create(null)}function g(t){return(t+="")===xu||t[0]===bu?bu+t:t}function v(t){return(t+="")[0]===bu?t.slice(1):t}function m(t){return g(t)in this._}function y(t){return(t=g(t))in this._&&delete this._[t]}function _(){var t=[];for(var n in this._)t.push(v(n));return t}function x(){var t=0;for(var n in this._)++t;return t}function b(){for(var t in this._)return!1;return!0}function M(){this._=Object.create(null)}function w(t){return t}function C(t,n,e){return function(){var r=e.apply(n,arguments);return r===n?t:r}}function E(t,n){if(n in t)return n;n=n.charAt(0).toUpperCase()+n.slice(1);for(var e=0,r=Mu.length;r>e;++e){var i=Mu[e]+n;if(i in t)return i}}function N(){}function S(){}function D(t){function n(){for(var n,r=e,i=-1,o=r.length;++i<o;)(n=r[i].on)&&n.apply(this,arguments);return t}var e=[],r=new d;return n.on=function(n,i){var o,u=r.get(n);return arguments.length<2?u&&u.on:(u&&(u.on=null,e=e.slice(0,o=e.indexOf(u)).concat(e.slice(o+1)),r.remove(n)),i&&e.push(r.set(n,{on:i})),t)},n}function T(){au.event.preventDefault()}function A(){for(var t,n=au.event;t=n.sourceEvent;)n=t;return n}function k(t){for(var n=new S,e=0,r=arguments.length;++e<r;)n[arguments[e]]=D(n);return n.of=function(e,r){return function(i){try{var o=i.sourceEvent=au.event;i.target=t,au.event=i,n[i.type].apply(e,r)}finally{au.event=o}}},n}function R(t){return Cu(t,Du),t}function P(t){return"function"==typeof t?t:function(){return Eu(t,this)}}function I(t){return"function"==typeof t?t:function(){return Nu(t,this)}}function O(t,n){function e(){this.removeAttribute(t)}function r(){this.removeAttributeNS(t.space,t.local)}function i(){this.setAttribute(t,n)}function o(){this.setAttributeNS(t.space,t.local,n)}function u(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}function a(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}return t=au.ns.qualify(t),null==n?t.local?r:e:"function"==typeof n?t.local?a:u:t.local?o:i}function L(t){return t.trim().replace(/\s+/g," ")}function U(t){return new RegExp("(?:^|\\s+)"+au.requote(t)+"(?:\\s+|$)","g")}function j(t){return(t+"").trim().split(/^|\s+/)}function F(t,n){function e(){for(var e=-1;++e<i;)t[e](this,n)}function r(){for(var e=-1,r=n.apply(this,arguments);++e<i;)t[e](this,r)}t=j(t).map(B);var i=t.length;return"function"==typeof n?r:e}function B(t){var n=U(t);return function(e,r){if(i=e.classList)return r?i.add(t):i.remove(t);var i=e.getAttribute("class")||"";r?(n.lastIndex=0,n.test(i)||e.setAttribute("class",L(i+" "+t))):e.setAttribute("class",L(i.replace(n," ")))}}function z(t,n,e){function r(){this.style.removeProperty(t)}function i(){this.style.setProperty(t,n,e)}function o(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}return null==n?r:"function"==typeof n?o:i}function q(t,n){function e(){delete this[t]}function r(){this[t]=n}function i(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}return null==n?e:"function"==typeof n?i:r}function V(t){function n(){var n=this.ownerDocument,e=this.namespaceURI;return e?n.createElementNS(e,t):n.createElement(t)}function e(){return this.ownerDocument.createElementNS(t.space,t.local)}return"function"==typeof t?t:(t=au.ns.qualify(t)).local?e:n}function H(){var t=this.parentNode;t&&t.removeChild(this)}function W(t){return{__data__:t}}function Y(t){return function(){return Su(this,t)}}function X(t){return arguments.length||(t=a),function(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}}function K(t,n){for(var e=0,r=t.length;r>e;e++)for(var i,o=t[e],u=0,a=o.length;a>u;u++)(i=o[u])&&n(i,u,e);return t}function G(t){return Cu(t,Au),t}function $(t){var n,e;return function(r,i,o){var u,a=t[o].update,s=a.length;for(o!=e&&(e=o,n=0),i>=n&&(n=i+1);!(u=a[n])&&++n<s;);return u}}function Q(t,n,e){function r(){var n=this[u];n&&(this.removeEventListener(t,n,n.$),delete this[u])}function i(){var i=s(n,lu(arguments));r.call(this),this.addEventListener(t,this[u]=i,i.$=e),i._=n}function o(){var n,e=new RegExp("^__on([^.]+)"+au.requote(t)+"$");for(var r in this)if(n=r.match(e)){var i=this[r];this.removeEventListener(n[1],i,i.$),delete this[r]}}var u="__on"+t,a=t.indexOf("."),s=Z;a>0&&(t=t.slice(0,a));var l=ku.get(t);return l&&(t=l,s=J),a?n?i:r:n?N:o}function Z(t,n){return function(e){var r=au.event;au.event=e,n[0]=this.__data__;try{t.apply(this,n)}finally{au.event=r}}}function J(t,n){var e=Z(t,n);return function(t){var n=this,r=t.relatedTarget;r&&(r===n||8&r.compareDocumentPosition(n))||e.call(n,t)}}function tt(t){var n=".dragsuppress-"+ ++Pu,e="click"+n,r=au.select(u(t)).on("touchmove"+n,T).on("dragstart"+n,T).on("selectstart"+n,T);if(null==Ru&&(Ru="onselectstart"in t?!1:E(t.style,"userSelect")),Ru){var i=o(t).style,a=i[Ru];i[Ru]="none"}return function(t){if(r.on(n,null),Ru&&(i[Ru]=a),t){var o=function(){r.on(e,null)};r.on(e,function(){T(),o()},!0),setTimeout(o,0)}}}function nt(t,n){n.changedTouches&&(n=n.changedTouches[0]);var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();if(0>Iu){var i=u(t);if(i.scrollX||i.scrollY){e=au.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var o=e[0][0].getScreenCTM();Iu=!(o.f||o.e),e.remove()}}return Iu?(r.x=n.pageX,r.y=n.pageY):(r.x=n.clientX,r.y=n.clientY),r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}var a=t.getBoundingClientRect();return[n.clientX-a.left-t.clientLeft,n.clientY-a.top-t.clientTop]}function et(){return au.event.changedTouches[0].identifier}function rt(t){return t>0?1:0>t?-1:0}function it(t,n,e){return(n[0]-t[0])*(e[1]-t[1])-(n[1]-t[1])*(e[0]-t[0])}function ot(t){return t>1?0:-1>t?Uu:Math.acos(t)}function ut(t){return t>1?Bu:-1>t?-Bu:Math.asin(t)}function at(t){return((t=Math.exp(t))-1/t)/2}function st(t){return((t=Math.exp(t))+1/t)/2}function lt(t){return((t=Math.exp(2*t))-1)/(t+1)}function ct(t){return(t=Math.sin(t/2))*t}function ft(){}function ht(t,n,e){return this instanceof ht?(this.h=+t,this.s=+n,void(this.l=+e)):arguments.length<2?t instanceof ht?new ht(t.h,t.s,t.l):Nt(""+t,St,ht):new ht(t,n,e)}function pt(t,n,e){function r(t){return t>360?t-=360:0>t&&(t+=360),60>t?o+(u-o)*t/60:180>t?u:240>t?o+(u-o)*(240-t)/60:o}function i(t){return Math.round(255*r(t))}var o,u;return t=isNaN(t)?0:(t%=360)<0?t+360:t,n=isNaN(n)?0:0>n?0:n>1?1:n,e=0>e?0:e>1?1:e,u=.5>=e?e*(1+n):e+n-e*n,o=2*e-u,new Mt(i(t+120),i(t),i(t-120))}function dt(t,n,e){return this instanceof dt?(this.h=+t,this.c=+n,void(this.l=+e)):arguments.length<2?t instanceof dt?new dt(t.h,t.c,t.l):t instanceof vt?yt(t.l,t.a,t.b):yt((t=Dt((t=au.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new dt(t,n,e)}function gt(t,n,e){return isNaN(t)&&(t=0),isNaN(n)&&(n=0),new vt(e,Math.cos(t*=zu)*n,Math.sin(t)*n)}function vt(t,n,e){return this instanceof vt?(this.l=+t,this.a=+n,void(this.b=+e)):arguments.length<2?t instanceof vt?new vt(t.l,t.a,t.b):t instanceof dt?gt(t.h,t.c,t.l):Dt((t=Mt(t)).r,t.g,t.b):new vt(t,n,e)}function mt(t,n,e){var r=(t+16)/116,i=r+n/500,o=r-e/200;return i=_t(i)*Zu,r=_t(r)*Ju,o=_t(o)*ta,new Mt(bt(3.2404542*i-1.5371385*r-.4985314*o),bt(-.969266*i+1.8760108*r+.041556*o),bt(.0556434*i-.2040259*r+1.0572252*o))}function yt(t,n,e){return t>0?new dt(Math.atan2(e,n)*qu,Math.sqrt(n*n+e*e),t):new dt(NaN,NaN,t)}function _t(t){return t>.206893034?t*t*t:(t-4/29)/7.787037}function xt(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29}function bt(t){return Math.round(255*(.00304>=t?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function Mt(t,n,e){return this instanceof Mt?(this.r=~~t,this.g=~~n,void(this.b=~~e)):arguments.length<2?t instanceof Mt?new Mt(t.r,t.g,t.b):Nt(""+t,Mt,pt):new Mt(t,n,e)}function wt(t){return new Mt(t>>16,t>>8&255,255&t)}function Ct(t){return wt(t)+""}function Et(t){return 16>t?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function Nt(t,n,e){var r,i,o,u=0,a=0,s=0;if(r=/([a-z]+)\((.*)\)/i.exec(t))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return n(At(i[0]),At(i[1]),At(i[2]))}return(o=ra.get(t.toLowerCase()))?n(o.r,o.g,o.b):(null==t||"#"!==t.charAt(0)||isNaN(o=parseInt(t.slice(1),16))||(4===t.length?(u=(3840&o)>>4,u=u>>4|u,a=240&o,a=a>>4|a,s=15&o,s=s<<4|s):7===t.length&&(u=(16711680&o)>>16,a=(65280&o)>>8,s=255&o)),n(u,a,s))}function St(t,n,e){var r,i,o=Math.min(t/=255,n/=255,e/=255),u=Math.max(t,n,e),a=u-o,s=(u+o)/2;return a?(i=.5>s?a/(u+o):a/(2-u-o),r=t==u?(n-e)/a+(e>n?6:0):n==u?(e-t)/a+2:(t-n)/a+4,r*=60):(r=NaN,i=s>0&&1>s?0:r),new ht(r,i,s)}function Dt(t,n,e){t=Tt(t),n=Tt(n),e=Tt(e);var r=xt((.4124564*t+.3575761*n+.1804375*e)/Zu),i=xt((.2126729*t+.7151522*n+.072175*e)/Ju),o=xt((.0193339*t+.119192*n+.9503041*e)/ta);return vt(116*i-16,500*(r-i),200*(i-o))}function Tt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function At(t){var n=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*n):n}function kt(t){return"function"==typeof t?t:function(){return t}}function Rt(t){return function(n,e,r){return 2===arguments.length&&"function"==typeof e&&(r=e,e=null),Pt(n,e,t,r)}}function Pt(t,n,e,r){function i(){var t,n=s.status;if(!n&&Ot(s)||n>=200&&300>n||304===n){try{t=e.call(o,s)}catch(r){return void u.error.call(o,r)}u.load.call(o,t)}else u.error.call(o,s)}var o={},u=au.dispatch("beforesend","progress","load","error"),a={},s=new XMLHttpRequest,l=null;return!this.XDomainRequest||"withCredentials"in s||!/^(http(s)?:)?\/\//.test(t)||(s=new XDomainRequest),"onload"in s?s.onload=s.onerror=i:s.onreadystatechange=function(){s.readyState>3&&i()},s.onprogress=function(t){var n=au.event;au.event=t;try{u.progress.call(o,s)}finally{au.event=n}},o.header=function(t,n){return t=(t+"").toLowerCase(),arguments.length<2?a[t]:(null==n?delete a[t]:a[t]=n+"",o)},o.mimeType=function(t){return arguments.length?(n=null==t?null:t+"",o):n},o.responseType=function(t){return arguments.length?(l=t,o):l},o.response=function(t){return e=t,o},["get","post"].forEach(function(t){o[t]=function(){return o.send.apply(o,[t].concat(lu(arguments)))}}),o.send=function(e,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),s.open(e,t,!0),null==n||"accept"in a||(a.accept=n+",*/*"),s.setRequestHeader)for(var c in a)s.setRequestHeader(c,a[c]);return null!=n&&s.overrideMimeType&&s.overrideMimeType(n),null!=l&&(s.responseType=l),null!=i&&o.on("error",i).on("load",function(t){i(null,t)}),u.beforesend.call(o,s),s.send(null==r?null:r),o},o.abort=function(){return s.abort(),o},au.rebind(o,u,"on"),null==r?o:o.get(It(r))}function It(t){return 1===t.length?function(n,e){t(null==n?e:null)}:t}function Ot(t){var n=t.responseType;return n&&"text"!==n?t.response:t.responseText}function Lt(){var t=Ut(),n=jt()-t;n>24?(isFinite(n)&&(clearTimeout(aa),aa=setTimeout(Lt,n)),ua=0):(ua=1,la(Lt))}function Ut(){var t=Date.now();for(sa=ia;sa;)t>=sa.t&&(sa.f=sa.c(t-sa.t)),sa=sa.n;return t}function jt(){for(var t,n=ia,e=1/0;n;)n.f?n=t?t.n=n.n:ia=n.n:(n.t<e&&(e=n.t),n=(t=n).n);return oa=t,e}function Ft(t,n){return n-(t?Math.ceil(Math.log(t)/Math.LN10):1)}function Bt(t,n){var e=Math.pow(10,3*_u(8-n));return{scale:n>8?function(t){return t/e}:function(t){return t*e},symbol:t}}function zt(t){var n=t.decimal,e=t.thousands,r=t.grouping,i=t.currency,o=r&&e?function(t,n){for(var i=t.length,o=[],u=0,a=r[0],s=0;i>0&&a>0&&(s+a+1>n&&(a=Math.max(1,n-s)),o.push(t.substring(i-=a,i+a)),!((s+=a+1)>n));)a=r[u=(u+1)%r.length];return o.reverse().join(e)}:w;return function(t){var e=fa.exec(t),r=e[1]||" ",u=e[2]||">",a=e[3]||"-",s=e[4]||"",l=e[5],c=+e[6],f=e[7],h=e[8],p=e[9],d=1,g="",v="",m=!1,y=!0;switch(h&&(h=+h.substring(1)),(l||"0"===r&&"="===u)&&(l=r="0",u="="),p){case"n":f=!0,p="g";break;case"%":d=100,v="%",p="f";break;case"p":d=100,v="%",p="r";break;case"b":case"o":case"x":case"X":"#"===s&&(g="0"+p.toLowerCase());case"c":y=!1;case"d":m=!0,h=0;break;case"s":d=-1,p="r"}"$"===s&&(g=i[0],v=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):("e"==p||"f"==p)&&(h=Math.max(0,Math.min(20,h)))),p=ha.get(p)||qt;var _=l&&f;return function(t){var e=v;if(m&&t%1)return"";var i=0>t||0===t&&0>1/t?(t=-t,"-"):"-"===a?"":a;if(0>d){var s=au.formatPrefix(t,h);t=s.scale(t),e=s.symbol+v}else t*=d;t=p(t,h);var x,b,M=t.lastIndexOf(".");if(0>M){var w=y?t.lastIndexOf("e"):-1;0>w?(x=t,b=""):(x=t.substring(0,w),b=t.substring(w))}else x=t.substring(0,M),b=n+t.substring(M+1);!l&&f&&(x=o(x,1/0));var C=g.length+x.length+b.length+(_?0:i.length),E=c>C?new Array(C=c-C+1).join(r):"";return _&&(x=o(E+x,E.length?c-b.length:1/0)),i+=g,t=x+b,("<"===u?i+t+E:">"===u?E+i+t:"^"===u?E.substring(0,C>>=1)+i+t+E.substring(C):i+(_?t:E+t))+e}}}function qt(t){return t+""}function Vt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function Ht(t,n,e){function r(n){var e=t(n),r=o(e,1);return r-n>n-e?e:r}function i(e){return n(e=t(new da(e-1)),1),e}function o(t,e){return n(t=new da(+t),e),t}function u(t,r,o){var u=i(t),a=[];if(o>1)for(;r>u;)e(u)%o||a.push(new Date(+u)),n(u,1);else for(;r>u;)a.push(new Date(+u)),n(u,1);return a}function a(t,n,e){try{da=Vt;var r=new Vt;return r._=t,u(r,n,e)}finally{da=Date}}t.floor=t,t.round=r,t.ceil=i,t.offset=o,t.range=u;var s=t.utc=Wt(t);return s.floor=s,s.round=Wt(r),s.ceil=Wt(i),s.offset=Wt(o),s.range=a,t}function Wt(t){return function(n,e){try{da=Vt;var r=new Vt;return r._=n,t(r,e)._}finally{da=Date}}}function Yt(t){function n(t){function n(n){for(var e,i,o,u=[],a=-1,s=0;++a<r;)37===t.charCodeAt(a)&&(u.push(t.slice(s,a)),null!=(i=va[e=t.charAt(++a)])&&(e=t.charAt(++a)),(o=D[e])&&(e=o(n,null==i?"e"===e?" ":"0":i)),u.push(e),s=a+1);return u.push(t.slice(s,a)),u.join("")}var r=t.length;return n.parse=function(n){var r={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null},i=e(r,t,n,0);if(i!=n.length)return null;"p"in r&&(r.H=r.H%12+12*r.p);var o=null!=r.Z&&da!==Vt,u=new(o?Vt:da);return"j"in r?u.setFullYear(r.y,0,r.j):"w"in r&&("W"in r||"U"in r)?(u.setFullYear(r.y,0,1),u.setFullYear(r.y,0,"W"in r?(r.w+6)%7+7*r.W-(u.getDay()+5)%7:r.w+7*r.U-(u.getDay()+6)%7)):u.setFullYear(r.y,r.m,r.d),u.setHours(r.H+(r.Z/100|0),r.M+r.Z%100,r.S,r.L),o?u._:u},n.toString=function(){return t},n}function e(t,n,e,r){for(var i,o,u,a=0,s=n.length,l=e.length;s>a;){if(r>=l)return-1;if(i=n.charCodeAt(a++),37===i){if(u=n.charAt(a++),o=T[u in va?n.charAt(a++):u],!o||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}function r(t,n,e){M.lastIndex=0;var r=M.exec(n.slice(e));return r?(t.w=w.get(r[0].toLowerCase()),e+r[0].length):-1}function i(t,n,e){x.lastIndex=0;var r=x.exec(n.slice(e));return r?(t.w=b.get(r[0].toLowerCase()),e+r[0].length):-1}function o(t,n,e){N.lastIndex=0;var r=N.exec(n.slice(e));return r?(t.m=S.get(r[0].toLowerCase()),e+r[0].length):-1}function u(t,n,e){C.lastIndex=0;var r=C.exec(n.slice(e));return r?(t.m=E.get(r[0].toLowerCase()),e+r[0].length):-1}function a(t,n,r){return e(t,D.c.toString(),n,r)}function s(t,n,r){return e(t,D.x.toString(),n,r)}function l(t,n,r){return e(t,D.X.toString(),n,r)}function c(t,n,e){var r=_.get(n.slice(e,e+=2).toLowerCase());return null==r?-1:(t.p=r,e)}var f=t.dateTime,h=t.date,p=t.time,d=t.periods,g=t.days,v=t.shortDays,m=t.months,y=t.shortMonths;n.utc=function(t){function e(t){try{da=Vt;var n=new da;return n._=t,r(n)}finally{da=Date}}var r=n(t);return e.parse=function(t){try{da=Vt;var n=r.parse(t);return n&&n._}finally{da=Date}},e.toString=r.toString,e},n.multi=n.utc.multi=pn;var _=au.map(),x=Kt(g),b=Gt(g),M=Kt(v),w=Gt(v),C=Kt(m),E=Gt(m),N=Kt(y),S=Gt(y);d.forEach(function(t,n){_.set(t.toLowerCase(),n)});var D={a:function(t){return v[t.getDay()]},A:function(t){return g[t.getDay()]},b:function(t){return y[t.getMonth()]},B:function(t){return m[t.getMonth()]},c:n(f),d:function(t,n){return Xt(t.getDate(),n,2)},e:function(t,n){return Xt(t.getDate(),n,2)},H:function(t,n){return Xt(t.getHours(),n,2)},I:function(t,n){return Xt(t.getHours()%12||12,n,2)},j:function(t,n){return Xt(1+pa.dayOfYear(t),n,3)},L:function(t,n){return Xt(t.getMilliseconds(),n,3)},m:function(t,n){return Xt(t.getMonth()+1,n,2)},M:function(t,n){return Xt(t.getMinutes(),n,2)},p:function(t){return d[+(t.getHours()>=12)]},S:function(t,n){return Xt(t.getSeconds(),n,2)},U:function(t,n){return Xt(pa.sundayOfYear(t),n,2)},w:function(t){return t.getDay()},W:function(t,n){return Xt(pa.mondayOfYear(t),n,2)},x:n(h),X:n(p),y:function(t,n){return Xt(t.getFullYear()%100,n,2)},Y:function(t,n){return Xt(t.getFullYear()%1e4,n,4)},Z:fn,"%":function(){return"%"}},T={a:r,A:i,b:o,B:u,c:a,d:on,e:on,H:an,I:an,j:un,L:cn,m:rn,M:sn,p:c,S:ln,U:Qt,w:$t,W:Zt,x:s,X:l,y:tn,Y:Jt,Z:nn,"%":hn};return n}function Xt(t,n,e){var r=0>t?"-":"",i=(r?-t:t)+"",o=i.length;return r+(e>o?new Array(e-o+1).join(n)+i:i)}function Kt(t){return new RegExp("^(?:"+t.map(au.requote).join("|")+")","i")}function Gt(t){for(var n=new d,e=-1,r=t.length;++e<r;)n.set(t[e].toLowerCase(),e);return n}function $t(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Qt(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e));return r?(t.U=+r[0],e+r[0].length):-1}function Zt(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e));return r?(t.W=+r[0],e+r[0].length):-1}function Jt(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function tn(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e,e+2));return r?(t.y=en(+r[0]),e+r[0].length):-1}function nn(t,n,e){return/^[+-]\d{4}$/.test(n=n.slice(e,e+5))?(t.Z=-n,e+5):-1}function en(t){return t+(t>68?1900:2e3)}function rn(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function on(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function un(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e,e+3));return r?(t.j=+r[0],e+r[0].length):-1}function an(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function sn(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function ln(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function cn(t,n,e){ma.lastIndex=0;var r=ma.exec(n.slice(e,e+3));
return r?(t.L=+r[0],e+r[0].length):-1}function fn(t){var n=t.getTimezoneOffset(),e=n>0?"-":"+",r=_u(n)/60|0,i=_u(n)%60;return e+Xt(r,"0",2)+Xt(i,"0",2)}function hn(t,n,e){ya.lastIndex=0;var r=ya.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function pn(t){for(var n=t.length,e=-1;++e<n;)t[e][0]=this(t[e][0]);return function(n){for(var e=0,r=t[e];!r[1](n);)r=t[++e];return r[0](n)}}function dn(){}function gn(t,n,e){var r=e.s=t+n,i=r-t,o=r-i;e.t=t-o+(n-i)}function vn(t,n){t&&Ma.hasOwnProperty(t.type)&&Ma[t.type](t,n)}function mn(t,n,e){var r,i=-1,o=t.length-e;for(n.lineStart();++i<o;)r=t[i],n.point(r[0],r[1],r[2]);n.lineEnd()}function yn(t,n){var e=-1,r=t.length;for(n.polygonStart();++e<r;)mn(t[e],n,1);n.polygonEnd()}function _n(){function t(t,n){t*=zu,n=n*zu/2+Uu/4;var e=t-r,u=e>=0?1:-1,a=u*e,s=Math.cos(n),l=Math.sin(n),c=o*l,f=i*s+c*Math.cos(a),h=c*u*Math.sin(a);Ca.add(Math.atan2(h,f)),r=t,i=s,o=l}var n,e,r,i,o;Ea.point=function(u,a){Ea.point=t,r=(n=u)*zu,i=Math.cos(a=(e=a)*zu/2+Uu/4),o=Math.sin(a)},Ea.lineEnd=function(){t(n,e)}}function xn(t){var n=t[0],e=t[1],r=Math.cos(e);return[r*Math.cos(n),r*Math.sin(n),Math.sin(e)]}function bn(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Mn(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function wn(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function Cn(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function En(t){var n=Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}function Nn(t){return[Math.atan2(t[1],t[0]),ut(t[2])]}function Sn(t,n){return _u(t[0]-n[0])<Ou&&_u(t[1]-n[1])<Ou}function Dn(t,n){t*=zu;var e=Math.cos(n*=zu);Tn(e*Math.cos(t),e*Math.sin(t),Math.sin(n))}function Tn(t,n,e){++Na,Da+=(t-Da)/Na,Ta+=(n-Ta)/Na,Aa+=(e-Aa)/Na}function An(){function t(t,i){t*=zu;var o=Math.cos(i*=zu),u=o*Math.cos(t),a=o*Math.sin(t),s=Math.sin(i),l=Math.atan2(Math.sqrt((l=e*s-r*a)*l+(l=r*u-n*s)*l+(l=n*a-e*u)*l),n*u+e*a+r*s);Sa+=l,ka+=l*(n+(n=u)),Ra+=l*(e+(e=a)),Pa+=l*(r+(r=s)),Tn(n,e,r)}var n,e,r;Ua.point=function(i,o){i*=zu;var u=Math.cos(o*=zu);n=u*Math.cos(i),e=u*Math.sin(i),r=Math.sin(o),Ua.point=t,Tn(n,e,r)}}function kn(){Ua.point=Dn}function Rn(){function t(t,n){t*=zu;var e=Math.cos(n*=zu),u=e*Math.cos(t),a=e*Math.sin(t),s=Math.sin(n),l=i*s-o*a,c=o*u-r*s,f=r*a-i*u,h=Math.sqrt(l*l+c*c+f*f),p=r*u+i*a+o*s,d=h&&-ot(p)/h,g=Math.atan2(h,p);Ia+=d*l,Oa+=d*c,La+=d*f,Sa+=g,ka+=g*(r+(r=u)),Ra+=g*(i+(i=a)),Pa+=g*(o+(o=s)),Tn(r,i,o)}var n,e,r,i,o;Ua.point=function(u,a){n=u,e=a,Ua.point=t,u*=zu;var s=Math.cos(a*=zu);r=s*Math.cos(u),i=s*Math.sin(u),o=Math.sin(a),Tn(r,i,o)},Ua.lineEnd=function(){t(n,e),Ua.lineEnd=kn,Ua.point=Dn}}function Pn(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return e=n.invert(e,r),e&&t.invert(e[0],e[1])}),e}function In(){return!0}function On(t,n,e,r,i){var o=[],u=[];if(t.forEach(function(t){if(!((n=t.length-1)<=0)){var n,e=t[0],r=t[n];if(Sn(e,r)){i.lineStart();for(var a=0;n>a;++a)i.point((e=t[a])[0],e[1]);return void i.lineEnd()}var s=new Un(e,t,null,!0),l=new Un(e,null,s,!1);s.o=l,o.push(s),u.push(l),s=new Un(r,t,null,!1),l=new Un(r,null,s,!0),s.o=l,o.push(s),u.push(l)}}),u.sort(n),Ln(o),Ln(u),o.length){for(var a=0,s=e,l=u.length;l>a;++a)u[a].e=s=!s;for(var c,f,h=o[0];;){for(var p=h,d=!0;p.v;)if((p=p.n)===h)return;c=p.z,i.lineStart();do{if(p.v=p.o.v=!0,p.e){if(d)for(var a=0,l=c.length;l>a;++a)i.point((f=c[a])[0],f[1]);else r(p.x,p.n.x,1,i);p=p.n}else{if(d){c=p.p.z;for(var a=c.length-1;a>=0;--a)i.point((f=c[a])[0],f[1])}else r(p.x,p.p.x,-1,i);p=p.p}p=p.o,c=p.z,d=!d}while(!p.v);i.lineEnd()}}}function Ln(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r<n;)i.n=e=t[r],e.p=i,i=e;i.n=e=t[0],e.p=i}}function Un(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function jn(t,n,e,r){return function(i,o){function u(n,e){var r=i(n,e);t(n=r[0],e=r[1])&&o.point(n,e)}function a(t,n){var e=i(t,n);v.point(e[0],e[1])}function s(){y.point=a,v.lineStart()}function l(){y.point=u,v.lineEnd()}function c(t,n){g.push([t,n]);var e=i(t,n);x.point(e[0],e[1])}function f(){x.lineStart(),g=[]}function h(){c(g[0][0],g[0][1]),x.lineEnd();var t,n=x.clean(),e=_.buffer(),r=e.length;if(g.pop(),d.push(g),g=null,r)if(1&n){t=e[0];var i,r=t.length-1,u=-1;if(r>0){for(b||(o.polygonStart(),b=!0),o.lineStart();++u<r;)o.point((i=t[u])[0],i[1]);o.lineEnd()}}else r>1&&2&n&&e.push(e.pop().concat(e.shift())),p.push(e.filter(Fn))}var p,d,g,v=n(o),m=i.invert(r[0],r[1]),y={point:u,lineStart:s,lineEnd:l,polygonStart:function(){y.point=c,y.lineStart=f,y.lineEnd=h,p=[],d=[]},polygonEnd:function(){y.point=u,y.lineStart=s,y.lineEnd=l,p=au.merge(p);var t=Wn(m,d);p.length?(b||(o.polygonStart(),b=!0),On(p,zn,t,e,o)):t&&(b||(o.polygonStart(),b=!0),o.lineStart(),e(null,null,1,o),o.lineEnd()),b&&(o.polygonEnd(),b=!1),p=d=null},sphere:function(){o.polygonStart(),o.lineStart(),e(null,null,1,o),o.lineEnd(),o.polygonEnd()}},_=Bn(),x=n(_),b=!1;return y}}function Fn(t){return t.length>1}function Bn(){var t,n=[];return{lineStart:function(){n.push(t=[])},point:function(n,e){t.push([n,e])},lineEnd:N,buffer:function(){var e=n;return n=[],t=null,e},rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))}}}function zn(t,n){return((t=t.x)[0]<0?t[1]-Bu-Ou:Bu-t[1])-((n=n.x)[0]<0?n[1]-Bu-Ou:Bu-n[1])}function qn(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,u){var a=o>0?Uu:-Uu,s=_u(o-e);_u(s-Uu)<Ou?(t.point(e,r=(r+u)/2>0?Bu:-Bu),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(o,r),n=0):i!==a&&s>=Uu&&(_u(e-i)<Ou&&(e-=i*Ou),_u(o-a)<Ou&&(o-=a*Ou),r=Vn(e,r,o,u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=o,r=u),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}function Vn(t,n,e,r){var i,o,u=Math.sin(t-e);return _u(u)>Ou?Math.atan((Math.sin(n)*(o=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(n))*Math.sin(t))/(i*o*u)):(n+r)/2}function Hn(t,n,e,r){var i;if(null==t)i=e*Bu,r.point(-Uu,i),r.point(0,i),r.point(Uu,i),r.point(Uu,0),r.point(Uu,-i),r.point(0,-i),r.point(-Uu,-i),r.point(-Uu,0),r.point(-Uu,i);else if(_u(t[0]-n[0])>Ou){var o=t[0]<n[0]?Uu:-Uu;i=e*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(n[0],n[1])}function Wn(t,n){var e=t[0],r=t[1],i=[Math.sin(e),-Math.cos(e),0],o=0,u=0;Ca.reset();for(var a=0,s=n.length;s>a;++a){var l=n[a],c=l.length;if(c)for(var f=l[0],h=f[0],p=f[1]/2+Uu/4,d=Math.sin(p),g=Math.cos(p),v=1;;){v===c&&(v=0),t=l[v];var m=t[0],y=t[1]/2+Uu/4,_=Math.sin(y),x=Math.cos(y),b=m-h,M=b>=0?1:-1,w=M*b,C=w>Uu,E=d*_;if(Ca.add(Math.atan2(E*M*Math.sin(w),g*x+E*Math.cos(w))),o+=C?b+M*ju:b,C^h>=e^m>=e){var N=Mn(xn(f),xn(t));En(N);var S=Mn(i,N);En(S);var D=(C^b>=0?-1:1)*ut(S[2]);(r>D||r===D&&(N[0]||N[1]))&&(u+=C^b>=0?1:-1)}if(!v++)break;h=m,d=_,g=x,f=t}}return(-Ou>o||Ou>o&&0>Ca)^1&u}function Yn(t){function n(t,n){return Math.cos(t)*Math.cos(n)>o}function e(t){var e,o,s,l,c;return{lineStart:function(){l=s=!1,c=1},point:function(f,h){var p,d=[f,h],g=n(f,h),v=u?g?0:i(f,h):g?i(f+(0>f?Uu:-Uu),h):0;if(!e&&(l=s=g)&&t.lineStart(),g!==s&&(p=r(e,d),(Sn(e,p)||Sn(d,p))&&(d[0]+=Ou,d[1]+=Ou,g=n(d[0],d[1]))),g!==s)c=0,g?(t.lineStart(),p=r(d,e),t.point(p[0],p[1])):(p=r(e,d),t.point(p[0],p[1]),t.lineEnd()),e=p;else if(a&&e&&u^g){var m;v&o||!(m=r(d,e,!0))||(c=0,u?(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])))}!g||e&&Sn(e,d)||t.point(d[0],d[1]),e=d,s=g,o=v},lineEnd:function(){s&&t.lineEnd(),e=null},clean:function(){return c|(l&&s)<<1}}}function r(t,n,e){var r=xn(t),i=xn(n),u=[1,0,0],a=Mn(r,i),s=bn(a,a),l=a[0],c=s-l*l;if(!c)return!e&&t;var f=o*s/c,h=-o*l/c,p=Mn(u,a),d=Cn(u,f),g=Cn(a,h);wn(d,g);var v=p,m=bn(d,v),y=bn(v,v),_=m*m-y*(bn(d,d)-1);if(!(0>_)){var x=Math.sqrt(_),b=Cn(v,(-m-x)/y);if(wn(b,d),b=Nn(b),!e)return b;var M,w=t[0],C=n[0],E=t[1],N=n[1];w>C&&(M=w,w=C,C=M);var S=C-w,D=_u(S-Uu)<Ou,T=D||Ou>S;if(!D&&E>N&&(M=E,E=N,N=M),T?D?E+N>0^b[1]<(_u(b[0]-w)<Ou?E:N):E<=b[1]&&b[1]<=N:S>Uu^(w<=b[0]&&b[0]<=C)){var A=Cn(v,(-m+x)/y);return wn(A,d),[b,Nn(A)]}}}function i(n,e){var r=u?t:Uu-t,i=0;return-r>n?i|=1:n>r&&(i|=2),-r>e?i|=4:e>r&&(i|=8),i}var o=Math.cos(t),u=o>0,a=_u(o)>Ou,s=_e(t,6*zu);return jn(n,e,s,u?[0,-t]:[-Uu,t-Uu])}function Xn(t,n,e,r){return function(i){var o,u=i.a,a=i.b,s=u.x,l=u.y,c=a.x,f=a.y,h=0,p=1,d=c-s,g=f-l;if(o=t-s,d||!(o>0)){if(o/=d,0>d){if(h>o)return;p>o&&(p=o)}else if(d>0){if(o>p)return;o>h&&(h=o)}if(o=e-s,d||!(0>o)){if(o/=d,0>d){if(o>p)return;o>h&&(h=o)}else if(d>0){if(h>o)return;p>o&&(p=o)}if(o=n-l,g||!(o>0)){if(o/=g,0>g){if(h>o)return;p>o&&(p=o)}else if(g>0){if(o>p)return;o>h&&(h=o)}if(o=r-l,g||!(0>o)){if(o/=g,0>g){if(o>p)return;o>h&&(h=o)}else if(g>0){if(h>o)return;p>o&&(p=o)}return h>0&&(i.a={x:s+h*d,y:l+h*g}),1>p&&(i.b={x:s+p*d,y:l+p*g}),i}}}}}}function Kn(t,n,e,r){function i(r,i){return _u(r[0]-t)<Ou?i>0?0:3:_u(r[0]-e)<Ou?i>0?2:1:_u(r[1]-n)<Ou?i>0?1:0:i>0?3:2}function o(t,n){return u(t.x,n.x)}function u(t,n){var e=i(t,1),r=i(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){function s(t){for(var n=0,e=v.length,r=t[1],i=0;e>i;++i)for(var o,u=1,a=v[i],s=a.length,l=a[0];s>u;++u)o=a[u],l[1]<=r?o[1]>r&&it(l,o,t)>0&&++n:o[1]<=r&&it(l,o,t)<0&&--n,l=o;return 0!==n}function l(o,a,s,l){var c=0,f=0;if(null==o||(c=i(o,s))!==(f=i(a,s))||u(o,a)<0^s>0){do l.point(0===c||3===c?t:e,c>1?r:n);while((c=(c+s+4)%4)!==f)}else l.point(a[0],a[1])}function c(i,o){return i>=t&&e>=i&&o>=n&&r>=o}function f(t,n){c(t,n)&&a.point(t,n)}function h(){T.point=d,v&&v.push(m=[]),C=!0,w=!1,b=M=NaN}function p(){g&&(d(y,_),x&&w&&S.rejoin(),g.push(S.buffer())),T.point=f,w&&a.lineEnd()}function d(t,n){t=Math.max(-Fa,Math.min(Fa,t)),n=Math.max(-Fa,Math.min(Fa,n));var e=c(t,n);if(v&&m.push([t,n]),C)y=t,_=n,x=e,C=!1,e&&(a.lineStart(),a.point(t,n));else if(e&&w)a.point(t,n);else{var r={a:{x:b,y:M},b:{x:t,y:n}};D(r)?(w||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),e||a.lineEnd(),E=!1):e&&(a.lineStart(),a.point(t,n),E=!1)}b=t,M=n,w=e}var g,v,m,y,_,x,b,M,w,C,E,N=a,S=Bn(),D=Xn(t,n,e,r),T={point:f,lineStart:h,lineEnd:p,polygonStart:function(){a=S,g=[],v=[],E=!0},polygonEnd:function(){a=N,g=au.merge(g);var n=s([t,r]),e=E&&n,i=g.length;(e||i)&&(a.polygonStart(),e&&(a.lineStart(),l(null,null,1,a),a.lineEnd()),i&&On(g,o,n,l,a),a.polygonEnd()),g=v=m=null}};return T}}function Gn(t){var n=0,e=Uu/3,r=fe(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*Uu/180,e=t[1]*Uu/180):[n/Uu*180,e/Uu*180]},i}function $n(t,n){function e(t,n){var e=Math.sqrt(o-2*i*Math.sin(n))/i;return[e*Math.sin(t*=i),u-e*Math.cos(t)]}var r=Math.sin(t),i=(r+Math.sin(n))/2,o=1+r*(2*i-r),u=Math.sqrt(o)/i;return e.invert=function(t,n){var e=u-n;return[Math.atan2(t,e)/i,ut((o-(t*t+e*e)*i*i)/(2*i))]},e}function Qn(){function t(t,n){za+=i*t-r*n,r=t,i=n}var n,e,r,i;Ya.point=function(o,u){Ya.point=t,n=r=o,e=i=u},Ya.lineEnd=function(){t(n,e)}}function Zn(t,n){qa>t&&(qa=t),t>Ha&&(Ha=t),Va>n&&(Va=n),n>Wa&&(Wa=n)}function Jn(){function t(t,n){u.push("M",t,",",n,o)}function n(t,n){u.push("M",t,",",n),a.point=e}function e(t,n){u.push("L",t,",",n)}function r(){a.point=t}function i(){u.push("Z")}var o=te(4.5),u=[],a={point:t,lineStart:function(){a.point=n},lineEnd:r,polygonStart:function(){a.lineEnd=i},polygonEnd:function(){a.lineEnd=r,a.point=t},pointRadius:function(t){return o=te(t),a},result:function(){if(u.length){var t=u.join("");return u=[],t}}};return a}function te(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function ne(t,n){Da+=t,Ta+=n,++Aa}function ee(){function t(t,r){var i=t-n,o=r-e,u=Math.sqrt(i*i+o*o);ka+=u*(n+t)/2,Ra+=u*(e+r)/2,Pa+=u,ne(n=t,e=r)}var n,e;Ka.point=function(r,i){Ka.point=t,ne(n=r,e=i)}}function re(){Ka.point=ne}function ie(){function t(t,n){var e=t-r,o=n-i,u=Math.sqrt(e*e+o*o);ka+=u*(r+t)/2,Ra+=u*(i+n)/2,Pa+=u,u=i*t-r*n,Ia+=u*(r+t),Oa+=u*(i+n),La+=3*u,ne(r=t,i=n)}var n,e,r,i;Ka.point=function(o,u){Ka.point=t,ne(n=r=o,e=i=u)},Ka.lineEnd=function(){t(n,e)}}function oe(t){function n(n,e){t.moveTo(n+u,e),t.arc(n,e,u,0,ju)}function e(n,e){t.moveTo(n,e),a.point=r}function r(n,e){t.lineTo(n,e)}function i(){a.point=n}function o(){t.closePath()}var u=4.5,a={point:n,lineStart:function(){a.point=e},lineEnd:i,polygonStart:function(){a.lineEnd=o},polygonEnd:function(){a.lineEnd=i,a.point=n},pointRadius:function(t){return u=t,a},result:N};return a}function ue(t){function n(t){return(a?r:e)(t)}function e(n){return le(n,function(e,r){e=t(e,r),n.point(e[0],e[1])})}function r(n){function e(e,r){e=t(e,r),n.point(e[0],e[1])}function r(){_=NaN,C.point=o,n.lineStart()}function o(e,r){var o=xn([e,r]),u=t(e,r);i(_,x,y,b,M,w,_=u[0],x=u[1],y=e,b=o[0],M=o[1],w=o[2],a,n),n.point(_,x)}function u(){C.point=e,n.lineEnd()}function s(){r(),C.point=l,C.lineEnd=c}function l(t,n){o(f=t,h=n),p=_,d=x,g=b,v=M,m=w,C.point=o}function c(){i(_,x,y,b,M,w,p,d,f,g,v,m,a,n),C.lineEnd=u,u()}var f,h,p,d,g,v,m,y,_,x,b,M,w,C={point:e,lineStart:r,lineEnd:u,polygonStart:function(){n.polygonStart(),C.lineStart=s},polygonEnd:function(){n.polygonEnd(),C.lineStart=r}};return C}function i(n,e,r,a,s,l,c,f,h,p,d,g,v,m){var y=c-n,_=f-e,x=y*y+_*_;if(x>4*o&&v--){var b=a+p,M=s+d,w=l+g,C=Math.sqrt(b*b+M*M+w*w),E=Math.asin(w/=C),N=_u(_u(w)-1)<Ou||_u(r-h)<Ou?(r+h)/2:Math.atan2(M,b),S=t(N,E),D=S[0],T=S[1],A=D-n,k=T-e,R=_*A-y*k;(R*R/x>o||_u((y*A+_*k)/x-.5)>.3||u>a*p+s*d+l*g)&&(i(n,e,r,a,s,l,D,T,N,b/=C,M/=C,w,v,m),m.point(D,T),i(D,T,N,b,M,w,c,f,h,p,d,g,v,m))}}var o=.5,u=Math.cos(30*zu),a=16;return n.precision=function(t){return arguments.length?(a=(o=t*t)>0&&16,n):Math.sqrt(o)},n}function ae(t){var n=ue(function(n,e){return t([n*qu,e*qu])});return function(t){return he(n(t))}}function se(t){this.stream=t}function le(t,n){return{point:n,sphere:function(){t.sphere()},lineStart:function(){t.lineStart()},lineEnd:function(){t.lineEnd()},polygonStart:function(){t.polygonStart()},polygonEnd:function(){t.polygonEnd()}}}function ce(t){return fe(function(){return t})()}function fe(t){function n(t){return t=a(t[0]*zu,t[1]*zu),[t[0]*h+s,l-t[1]*h]}function e(t){return t=a.invert((t[0]-s)/h,(l-t[1])/h),t&&[t[0]*qu,t[1]*qu]}function r(){a=Pn(u=ge(m,y,_),o);var t=o(g,v);return s=p-t[0]*h,l=d+t[1]*h,i()}function i(){return c&&(c.valid=!1,c=null),n}var o,u,a,s,l,c,f=ue(function(t,n){return t=o(t,n),[t[0]*h+s,l-t[1]*h]}),h=150,p=480,d=250,g=0,v=0,m=0,y=0,_=0,x=ja,b=w,M=null,C=null;return n.stream=function(t){return c&&(c.valid=!1),c=he(x(u,f(b(t)))),c.valid=!0,c},n.clipAngle=function(t){return arguments.length?(x=null==t?(M=t,ja):Yn((M=+t)*zu),i()):M},n.clipExtent=function(t){return arguments.length?(C=t,b=t?Kn(t[0][0],t[0][1],t[1][0],t[1][1]):w,i()):C},n.scale=function(t){return arguments.length?(h=+t,r()):h},n.translate=function(t){return arguments.length?(p=+t[0],d=+t[1],r()):[p,d]},n.center=function(t){return arguments.length?(g=t[0]%360*zu,v=t[1]%360*zu,r()):[g*qu,v*qu]},n.rotate=function(t){return arguments.length?(m=t[0]%360*zu,y=t[1]%360*zu,_=t.length>2?t[2]%360*zu:0,r()):[m*qu,y*qu,_*qu]},au.rebind(n,f,"precision"),function(){return o=t.apply(this,arguments),n.invert=o.invert&&e,r()}}function he(t){return le(t,function(n,e){t.point(n*zu,e*zu)})}function pe(t,n){return[t,n]}function de(t,n){return[t>Uu?t-ju:-Uu>t?t+ju:t,n]}function ge(t,n,e){return t?n||e?Pn(me(t),ye(n,e)):me(t):n||e?ye(n,e):de}function ve(t){return function(n,e){return n+=t,[n>Uu?n-ju:-Uu>n?n+ju:n,e]}}function me(t){var n=ve(t);return n.invert=ve(-t),n}function ye(t,n){function e(t,n){var e=Math.cos(n),a=Math.cos(t)*e,s=Math.sin(t)*e,l=Math.sin(n),c=l*r+a*i;return[Math.atan2(s*o-c*u,a*r-l*i),ut(c*o+s*u)]}var r=Math.cos(t),i=Math.sin(t),o=Math.cos(n),u=Math.sin(n);return e.invert=function(t,n){var e=Math.cos(n),a=Math.cos(t)*e,s=Math.sin(t)*e,l=Math.sin(n),c=l*o-s*u;return[Math.atan2(s*o+l*u,a*r+c*i),ut(c*r-a*i)]},e}function _e(t,n){var e=Math.cos(t),r=Math.sin(t);return function(i,o,u,a){var s=u*n;null!=i?(i=xe(e,i),o=xe(e,o),(u>0?o>i:i>o)&&(i+=u*ju)):(i=t+u*ju,o=t-.5*s);for(var l,c=i;u>0?c>o:o>c;c-=s)a.point((l=Nn([e,-r*Math.cos(c),-r*Math.sin(c)]))[0],l[1])}}function xe(t,n){var e=xn(n);e[0]-=t,En(e);var r=ot(-e[1]);return((-e[2]<0?-r:r)+2*Math.PI-Ou)%(2*Math.PI)}function be(t,n,e){var r=au.range(t,n-Ou,e).concat(n);return function(t){return r.map(function(n){return[t,n]})}}function Me(t,n,e){var r=au.range(t,n-Ou,e).concat(n);return function(t){return r.map(function(n){return[n,t]})}}function we(t){return t.source}function Ce(t){return t.target}function Ee(t,n,e,r){var i=Math.cos(n),o=Math.sin(n),u=Math.cos(r),a=Math.sin(r),s=i*Math.cos(t),l=i*Math.sin(t),c=u*Math.cos(e),f=u*Math.sin(e),h=2*Math.asin(Math.sqrt(ct(r-n)+i*u*ct(e-t))),p=1/Math.sin(h),d=h?function(t){var n=Math.sin(t*=h)*p,e=Math.sin(h-t)*p,r=e*s+n*c,i=e*l+n*f,u=e*o+n*a;return[Math.atan2(i,r)*qu,Math.atan2(u,Math.sqrt(r*r+i*i))*qu]}:function(){return[t*qu,n*qu]};return d.distance=h,d}function Ne(){function t(t,i){var o=Math.sin(i*=zu),u=Math.cos(i),a=_u((t*=zu)-n),s=Math.cos(a);Ga+=Math.atan2(Math.sqrt((a=u*Math.sin(a))*a+(a=r*o-e*u*s)*a),e*o+r*u*s),n=t,e=o,r=u}var n,e,r;$a.point=function(i,o){n=i*zu,e=Math.sin(o*=zu),r=Math.cos(o),$a.point=t},$a.lineEnd=function(){$a.point=$a.lineEnd=N}}function Se(t,n){function e(n,e){var r=Math.cos(n),i=Math.cos(e),o=t(r*i);return[o*i*Math.sin(n),o*Math.sin(e)]}return e.invert=function(t,e){var r=Math.sqrt(t*t+e*e),i=n(r),o=Math.sin(i),u=Math.cos(i);return[Math.atan2(t*o,r*u),Math.asin(r&&e*o/r)]},e}function De(t,n){function e(t,n){u>0?-Bu+Ou>n&&(n=-Bu+Ou):n>Bu-Ou&&(n=Bu-Ou);var e=u/Math.pow(i(n),o);return[e*Math.sin(o*t),u-e*Math.cos(o*t)]}var r=Math.cos(t),i=function(t){return Math.tan(Uu/4+t/2)},o=t===n?Math.sin(t):Math.log(r/Math.cos(n))/Math.log(i(n)/i(t)),u=r*Math.pow(i(t),o)/o;return o?(e.invert=function(t,n){var e=u-n,r=rt(o)*Math.sqrt(t*t+e*e);return[Math.atan2(t,e)/o,2*Math.atan(Math.pow(u/r,1/o))-Bu]},e):Ae}function Te(t,n){function e(t,n){var e=o-n;return[e*Math.sin(i*t),o-e*Math.cos(i*t)]}var r=Math.cos(t),i=t===n?Math.sin(t):(r-Math.cos(n))/(n-t),o=r/i+t;return _u(i)<Ou?pe:(e.invert=function(t,n){var e=o-n;return[Math.atan2(t,e)/i,o-rt(i)*Math.sqrt(t*t+e*e)]},e)}function Ae(t,n){return[t,Math.log(Math.tan(Uu/4+n/2))]}function ke(t){var n,e=ce(t),r=e.scale,i=e.translate,o=e.clipExtent;return e.scale=function(){var t=r.apply(e,arguments);return t===e?n?e.clipExtent(null):e:t},e.translate=function(){var t=i.apply(e,arguments);return t===e?n?e.clipExtent(null):e:t},e.clipExtent=function(t){var u=o.apply(e,arguments);if(u===e){if(n=null==t){var a=Uu*r(),s=i();o([[s[0]-a,s[1]-a],[s[0]+a,s[1]+a]])}}else n&&(u=null);return u},e.clipExtent(null)}function Re(t,n){return[Math.log(Math.tan(Uu/4+n/2)),-t]}function Pe(t){return t[0]}function Ie(t){return t[1]}function Oe(t){for(var n=t.length,e=[0,1],r=2,i=2;n>i;i++){for(;r>1&&it(t[e[r-2]],t[e[r-1]],t[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function Le(t,n){return t[0]-n[0]||t[1]-n[1]}function Ue(t,n,e){return(e[0]-n[0])*(t[1]-n[1])<(e[1]-n[1])*(t[0]-n[0])}function je(t,n,e,r){var i=t[0],o=e[0],u=n[0]-i,a=r[0]-o,s=t[1],l=e[1],c=n[1]-s,f=r[1]-l,h=(a*(s-l)-f*(i-o))/(f*u-a*c);return[i+h*u,s+h*c]}function Fe(t){var n=t[0],e=t[t.length-1];return!(n[0]-e[0]||n[1]-e[1])}function Be(){ar(this),this.edge=this.site=this.circle=null}function ze(t){var n=ss.pop()||new Be;return n.site=t,n}function qe(t){Ze(t),os.remove(t),ss.push(t),ar(t)}function Ve(t){var n=t.circle,e=n.x,r=n.cy,i={x:e,y:r},o=t.P,u=t.N,a=[t];qe(t);for(var s=o;s.circle&&_u(e-s.circle.x)<Ou&&_u(r-s.circle.cy)<Ou;)o=s.P,a.unshift(s),qe(s),s=o;a.unshift(s),Ze(s);for(var l=u;l.circle&&_u(e-l.circle.x)<Ou&&_u(r-l.circle.cy)<Ou;)u=l.N,a.push(l),qe(l),l=u;a.push(l),Ze(l);var c,f=a.length;for(c=1;f>c;++c)l=a[c],s=a[c-1],ir(l.edge,s.site,l.site,i);s=a[0],l=a[f-1],l.edge=er(s.site,l.site,null,i),Qe(s),Qe(l)}function He(t){for(var n,e,r,i,o=t.x,u=t.y,a=os._;a;)if(r=We(a,u)-o,r>Ou)a=a.L;else{if(i=o-Ye(a,u),!(i>Ou)){r>-Ou?(n=a.P,e=a):i>-Ou?(n=a,e=a.N):n=e=a;break}if(!a.R){n=a;break}a=a.R}var s=ze(t);if(os.insert(n,s),n||e){if(n===e)return Ze(n),e=ze(n.site),os.insert(s,e),s.edge=e.edge=er(n.site,s.site),Qe(n),void Qe(e);if(!e)return void(s.edge=er(n.site,s.site));Ze(n),Ze(e);var l=n.site,c=l.x,f=l.y,h=t.x-c,p=t.y-f,d=e.site,g=d.x-c,v=d.y-f,m=2*(h*v-p*g),y=h*h+p*p,_=g*g+v*v,x={x:(v*y-p*_)/m+c,y:(h*_-g*y)/m+f};ir(e.edge,l,d,x),s.edge=er(l,t,null,x),e.edge=er(t,d,null,x),Qe(n),Qe(e)}}function We(t,n){var e=t.site,r=e.x,i=e.y,o=i-n;if(!o)return r;var u=t.P;if(!u)return-(1/0);e=u.site;var a=e.x,s=e.y,l=s-n;if(!l)return a;var c=a-r,f=1/o-1/l,h=c/l;return f?(-h+Math.sqrt(h*h-2*f*(c*c/(-2*l)-s+l/2+i-o/2)))/f+r:(r+a)/2}function Ye(t,n){var e=t.N;if(e)return We(e,n);var r=t.site;return r.y===n?r.x:1/0}function Xe(t){this.site=t,this.edges=[]}function Ke(t){for(var n,e,r,i,o,u,a,s,l,c,f=t[0][0],h=t[1][0],p=t[0][1],d=t[1][1],g=is,v=g.length;v--;)if(o=g[v],o&&o.prepare())for(a=o.edges,s=a.length,u=0;s>u;)c=a[u].end(),r=c.x,i=c.y,l=a[++u%s].start(),n=l.x,e=l.y,(_u(r-n)>Ou||_u(i-e)>Ou)&&(a.splice(u,0,new or(rr(o.site,c,_u(r-f)<Ou&&d-i>Ou?{x:f,y:_u(n-f)<Ou?e:d}:_u(i-d)<Ou&&h-r>Ou?{x:_u(e-d)<Ou?n:h,y:d}:_u(r-h)<Ou&&i-p>Ou?{x:h,y:_u(n-h)<Ou?e:p}:_u(i-p)<Ou&&r-f>Ou?{x:_u(e-p)<Ou?n:f,y:p}:null),o.site,null)),++s)}function Ge(t,n){return n.angle-t.angle}function $e(){ar(this),this.x=this.y=this.arc=this.site=this.cy=null}function Qe(t){var n=t.P,e=t.N;if(n&&e){var r=n.site,i=t.site,o=e.site;if(r!==o){var u=i.x,a=i.y,s=r.x-u,l=r.y-a,c=o.x-u,f=o.y-a,h=2*(s*f-l*c);if(!(h>=-Lu)){var p=s*s+l*l,d=c*c+f*f,g=(f*p-l*d)/h,v=(s*d-c*p)/h,f=v+a,m=ls.pop()||new $e;m.arc=t,m.site=i,m.x=g+u,m.y=f+Math.sqrt(g*g+v*v),m.cy=f,t.circle=m;for(var y=null,_=as._;_;)if(m.y<_.y||m.y===_.y&&m.x<=_.x){if(!_.L){y=_.P;break}_=_.L}else{if(!_.R){y=_;break}_=_.R}as.insert(y,m),y||(us=m)}}}}function Ze(t){var n=t.circle;n&&(n.P||(us=n.N),as.remove(n),ls.push(n),ar(n),t.circle=null)}function Je(t){for(var n,e=rs,r=Xn(t[0][0],t[0][1],t[1][0],t[1][1]),i=e.length;i--;)n=e[i],(!tr(n,t)||!r(n)||_u(n.a.x-n.b.x)<Ou&&_u(n.a.y-n.b.y)<Ou)&&(n.a=n.b=null,e.splice(i,1))}function tr(t,n){var e=t.b;if(e)return!0;var r,i,o=t.a,u=n[0][0],a=n[1][0],s=n[0][1],l=n[1][1],c=t.l,f=t.r,h=c.x,p=c.y,d=f.x,g=f.y,v=(h+d)/2,m=(p+g)/2;if(g===p){if(u>v||v>=a)return;if(h>d){if(o){if(o.y>=l)return}else o={x:v,y:s};e={x:v,y:l}}else{if(o){if(o.y<s)return}else o={x:v,y:l};e={x:v,y:s}}}else if(r=(h-d)/(g-p),i=m-r*v,-1>r||r>1)if(h>d){if(o){if(o.y>=l)return}else o={x:(s-i)/r,y:s};e={x:(l-i)/r,y:l}}else{if(o){if(o.y<s)return}else o={x:(l-i)/r,y:l};e={x:(s-i)/r,y:s}}else if(g>p){if(o){if(o.x>=a)return}else o={x:u,y:r*u+i};e={x:a,y:r*a+i}}else{if(o){if(o.x<u)return}else o={x:a,y:r*a+i};e={x:u,y:r*u+i}}return t.a=o,t.b=e,!0}function nr(t,n){this.l=t,this.r=n,this.a=this.b=null}function er(t,n,e,r){var i=new nr(t,n);return rs.push(i),e&&ir(i,t,n,e),r&&ir(i,n,t,r),is[t.i].edges.push(new or(i,t,n)),is[n.i].edges.push(new or(i,n,t)),i}function rr(t,n,e){var r=new nr(t,null);return r.a=n,r.b=e,rs.push(r),r}function ir(t,n,e,r){t.a||t.b?t.l===e?t.b=r:t.a=r:(t.a=r,t.l=n,t.r=e)}function or(t,n,e){var r=t.a,i=t.b;this.edge=t,this.site=n,this.angle=e?Math.atan2(e.y-n.y,e.x-n.x):t.l===n?Math.atan2(i.x-r.x,r.y-i.y):Math.atan2(r.x-i.x,i.y-r.y)}function ur(){this._=null}function ar(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function sr(t,n){var e=n,r=n.R,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function lr(t,n){var e=n,r=n.L,i=e.U;i?i.L===e?i.L=r:i.R=r:t._=r,r.U=i,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function cr(t){for(;t.L;)t=t.L;return t}function fr(t,n){var e,r,i,o=t.sort(hr).pop();for(rs=[],is=new Array(t.length),os=new ur,as=new ur;;)if(i=us,o&&(!i||o.y<i.y||o.y===i.y&&o.x<i.x))(o.x!==e||o.y!==r)&&(is[o.i]=new Xe(o),He(o),e=o.x,r=o.y),o=t.pop();else{if(!i)break;Ve(i.arc)}n&&(Je(n),Ke(n));var u={cells:is,edges:rs};return os=as=rs=is=null,u}function hr(t,n){return n.y-t.y||n.x-t.x}function pr(t,n,e){return(t.x-e.x)*(n.y-t.y)-(t.x-n.x)*(e.y-t.y)}function dr(t){return t.x}function gr(t){return t.y}function vr(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function mr(t,n,e,r,i,o){if(!t(n,e,r,i,o)){var u=.5*(e+i),a=.5*(r+o),s=n.nodes;s[0]&&mr(t,s[0],e,r,u,a),s[1]&&mr(t,s[1],u,r,i,a),s[2]&&mr(t,s[2],e,a,u,o),s[3]&&mr(t,s[3],u,a,i,o)}}function yr(t,n,e,r,i,o,u){var a,s=1/0;return function l(t,c,f,h,p){if(!(c>o||f>u||r>h||i>p)){if(d=t.point){var d,g=n-t.x,v=e-t.y,m=g*g+v*v;if(s>m){var y=Math.sqrt(s=m);r=n-y,i=e-y,o=n+y,u=e+y,a=d}}for(var _=t.nodes,x=.5*(c+h),b=.5*(f+p),M=n>=x,w=e>=b,C=w<<1|M,E=C+4;E>C;++C)if(t=_[3&C])switch(3&C){case 0:l(t,c,f,x,b);break;case 1:l(t,x,f,h,b);break;case 2:l(t,c,b,x,p);break;case 3:l(t,x,b,h,p)}}}(t,r,i,o,u),a}function _r(t,n){t=au.rgb(t),n=au.rgb(n);var e=t.r,r=t.g,i=t.b,o=n.r-e,u=n.g-r,a=n.b-i;return function(t){return"#"+Et(Math.round(e+o*t))+Et(Math.round(r+u*t))+Et(Math.round(i+a*t))}}function xr(t,n){var e,r={},i={};for(e in t)e in n?r[e]=wr(t[e],n[e]):i[e]=t[e];for(e in n)e in t||(i[e]=n[e]);return function(t){for(e in r)i[e]=r[e](t);return i}}function br(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}function Mr(t,n){var e,r,i,o=fs.lastIndex=hs.lastIndex=0,u=-1,a=[],s=[];for(t+="",n+="";(e=fs.exec(t))&&(r=hs.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),a[u]?a[u]+=i:a[++u]=i),(e=e[0])===(r=r[0])?a[u]?a[u]+=r:a[++u]=r:(a[++u]=null,s.push({i:u,x:br(e,r)})),o=hs.lastIndex;return o<n.length&&(i=n.slice(o),a[u]?a[u]+=i:a[++u]=i),a.length<2?s[0]?(n=s[0].x,function(t){return n(t)+""}):function(){return n}:(n=s.length,function(t){for(var e,r=0;n>r;++r)a[(e=s[r]).i]=e.x(t);return a.join("")})}function wr(t,n){for(var e,r=au.interpolators.length;--r>=0&&!(e=au.interpolators[r](t,n)););return e}function Cr(t,n){var e,r=[],i=[],o=t.length,u=n.length,a=Math.min(t.length,n.length);for(e=0;a>e;++e)r.push(wr(t[e],n[e]));for(;o>e;++e)i[e]=t[e];for(;u>e;++e)i[e]=n[e];return function(t){for(e=0;a>e;++e)i[e]=r[e](t);return i}}function Er(t){return function(n){return 0>=n?0:n>=1?1:t(n)}}function Nr(t){return function(n){return 1-t(1-n)}}function Sr(t){return function(n){return.5*(.5>n?t(2*n):2-t(2-2*n))}}function Dr(t){return t*t}function Tr(t){return t*t*t}function Ar(t){if(0>=t)return 0;if(t>=1)return 1;var n=t*t,e=n*t;return 4*(.5>t?e:3*(t-n)+e-.75)}function kr(t){return function(n){return Math.pow(n,t)}}function Rr(t){return 1-Math.cos(t*Bu)}function Pr(t){return Math.pow(2,10*(t-1))}function Ir(t){return 1-Math.sqrt(1-t*t)}function Or(t,n){var e;return arguments.length<2&&(n=.45),arguments.length?e=n/ju*Math.asin(1/t):(t=1,e=n/4),function(r){return 1+t*Math.pow(2,-10*r)*Math.sin((r-e)*ju/n)}}function Lr(t){return t||(t=1.70158),function(n){return n*n*((t+1)*n-t)}}function Ur(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}function jr(t,n){t=au.hcl(t),n=au.hcl(n);var e=t.h,r=t.c,i=t.l,o=n.h-e,u=n.c-r,a=n.l-i;return isNaN(u)&&(u=0,r=isNaN(r)?n.c:r),isNaN(o)?(o=0,e=isNaN(e)?n.h:e):o>180?o-=360:-180>o&&(o+=360),function(t){return gt(e+o*t,r+u*t,i+a*t)+""}}function Fr(t,n){t=au.hsl(t),n=au.hsl(n);var e=t.h,r=t.s,i=t.l,o=n.h-e,u=n.s-r,a=n.l-i;return isNaN(u)&&(u=0,r=isNaN(r)?n.s:r),isNaN(o)?(o=0,e=isNaN(e)?n.h:e):o>180?o-=360:-180>o&&(o+=360),function(t){return pt(e+o*t,r+u*t,i+a*t)+""}}function Br(t,n){t=au.lab(t),n=au.lab(n);var e=t.l,r=t.a,i=t.b,o=n.l-e,u=n.a-r,a=n.b-i;return function(t){return mt(e+o*t,r+u*t,i+a*t)+""}}function zr(t,n){return n-=t,function(e){return Math.round(t+n*e)}}function qr(t){var n=[t.a,t.b],e=[t.c,t.d],r=Hr(n),i=Vr(n,e),o=Hr(Wr(e,n,-i))||0;n[0]*e[1]<e[0]*n[1]&&(n[0]*=-1,n[1]*=-1,r*=-1,i*=-1),this.rotate=(r?Math.atan2(n[1],n[0]):Math.atan2(-e[0],e[1]))*qu,this.translate=[t.e,t.f],this.scale=[r,o],this.skew=o?Math.atan2(i,o)*qu:0}function Vr(t,n){return t[0]*n[0]+t[1]*n[1]}function Hr(t){var n=Math.sqrt(Vr(t,t));return n&&(t[0]/=n,t[1]/=n),n}function Wr(t,n,e){return t[0]+=e*n[0],t[1]+=e*n[1],t}function Yr(t,n){var e,r=[],i=[],o=au.transform(t),u=au.transform(n),a=o.translate,s=u.translate,l=o.rotate,c=u.rotate,f=o.skew,h=u.skew,p=o.scale,d=u.scale;return a[0]!=s[0]||a[1]!=s[1]?(r.push("translate(",null,",",null,")"),i.push({i:1,x:br(a[0],s[0])},{i:3,x:br(a[1],s[1])})):s[0]||s[1]?r.push("translate("+s+")"):r.push(""),l!=c?(l-c>180?c+=360:c-l>180&&(l+=360),i.push({i:r.push(r.pop()+"rotate(",null,")")-2,x:br(l,c)})):c&&r.push(r.pop()+"rotate("+c+")"),f!=h?i.push({i:r.push(r.pop()+"skewX(",null,")")-2,x:br(f,h)}):h&&r.push(r.pop()+"skewX("+h+")"),p[0]!=d[0]||p[1]!=d[1]?(e=r.push(r.pop()+"scale(",null,",",null,")"),i.push({i:e-4,x:br(p[0],d[0])},{i:e-2,x:br(p[1],d[1])})):(1!=d[0]||1!=d[1])&&r.push(r.pop()+"scale("+d+")"),e=i.length,function(t){for(var n,o=-1;++o<e;)r[(n=i[o]).i]=n.x(t);return r.join("")}}function Xr(t,n){return n=(n-=t=+t)||1/n,function(e){return(e-t)/n}}function Kr(t,n){return n=(n-=t=+t)||1/n,function(e){return Math.max(0,Math.min(1,(e-t)/n))}}function Gr(t){for(var n=t.source,e=t.target,r=Qr(n,e),i=[n];n!==r;)n=n.parent,i.push(n);for(var o=i.length;e!==r;)i.splice(o,0,e),e=e.parent;return i}function $r(t){for(var n=[],e=t.parent;null!=e;)n.push(t),t=e,e=e.parent;return n.push(t),n}function Qr(t,n){if(t===n)return t;for(var e=$r(t),r=$r(n),i=e.pop(),o=r.pop(),u=null;i===o;)u=i,i=e.pop(),o=r.pop();return u}function Zr(t){t.fixed|=2}function Jr(t){t.fixed&=-7}function ti(t){t.fixed|=4,t.px=t.x,t.py=t.y}function ni(t){t.fixed&=-5}function ei(t,n,e){var r=0,i=0;if(t.charge=0,!t.leaf)for(var o,u=t.nodes,a=u.length,s=-1;++s<a;)o=u[s],null!=o&&(ei(o,n,e),t.charge+=o.charge,r+=o.charge*o.cx,i+=o.charge*o.cy);if(t.point){t.leaf||(t.point.x+=Math.random()-.5,t.point.y+=Math.random()-.5);var l=n*e[t.point.index];t.charge+=t.pointCharge=l,r+=l*t.point.x,i+=l*t.point.y}t.cx=r/t.charge,t.cy=i/t.charge}function ri(t,n){return au.rebind(t,n,"sort","children","value"),t.nodes=t,t.links=li,t}function ii(t,n){for(var e=[t];null!=(t=e.pop());)if(n(t),(i=t.children)&&(r=i.length))for(var r,i;--r>=0;)e.push(i[r])}function oi(t,n){for(var e=[t],r=[];null!=(t=e.pop());)if(r.push(t),(o=t.children)&&(i=o.length))for(var i,o,u=-1;++u<i;)e.push(o[u]);for(;null!=(t=r.pop());)n(t)}function ui(t){return t.children}function ai(t){return t.value}function si(t,n){return n.value-t.value}function li(t){return au.merge(t.map(function(t){return(t.children||[]).map(function(n){return{source:t,target:n}})}))}function ci(t){return t.x}function fi(t){return t.y}function hi(t,n,e){t.y0=n,t.y=e}function pi(t){return au.range(t.length)}function di(t){for(var n=-1,e=t[0].length,r=[];++n<e;)r[n]=0;return r}function gi(t){for(var n,e=1,r=0,i=t[0][1],o=t.length;o>e;++e)(n=t[e][1])>i&&(r=e,i=n);return r}function vi(t){return t.reduce(mi,0)}function mi(t,n){return t+n[1]}function yi(t,n){return _i(t,Math.ceil(Math.log(n.length)/Math.LN2+1))}function _i(t,n){for(var e=-1,r=+t[0],i=(t[1]-r)/n,o=[];++e<=n;)o[e]=i*e+r;return o}function xi(t){return[au.min(t),au.max(t)]}function bi(t,n){return t.value-n.value}function Mi(t,n){var e=t._pack_next;t._pack_next=n,n._pack_prev=t,n._pack_next=e,e._pack_prev=n}function wi(t,n){t._pack_next=n,n._pack_prev=t}function Ci(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return.999*i*i>e*e+r*r}function Ei(t){function n(t){c=Math.min(t.x-t.r,c),f=Math.max(t.x+t.r,f),h=Math.min(t.y-t.r,h),p=Math.max(t.y+t.r,p)}if((e=t.children)&&(l=e.length)){var e,r,i,o,u,a,s,l,c=1/0,f=-(1/0),h=1/0,p=-(1/0);if(e.forEach(Ni),r=e[0],r.x=-r.r,r.y=0,n(r),l>1&&(i=e[1],i.x=i.r,i.y=0,n(i),l>2))for(o=e[2],Ti(r,i,o),n(o),Mi(r,o),r._pack_prev=o,Mi(o,i),i=r._pack_next,u=3;l>u;u++){Ti(r,i,o=e[u]);var d=0,g=1,v=1;for(a=i._pack_next;a!==i;a=a._pack_next,g++)if(Ci(a,o)){d=1;break}if(1==d)for(s=r._pack_prev;s!==a._pack_prev&&!Ci(s,o);s=s._pack_prev,v++);d?(v>g||g==v&&i.r<r.r?wi(r,i=a):wi(r=s,i),u--):(Mi(r,o),i=o,n(o))}var m=(c+f)/2,y=(h+p)/2,_=0;for(u=0;l>u;u++)o=e[u],o.x-=m,o.y-=y,_=Math.max(_,o.r+Math.sqrt(o.x*o.x+o.y*o.y));t.r=_,e.forEach(Si)}}function Ni(t){t._pack_next=t._pack_prev=t}function Si(t){delete t._pack_next,delete t._pack_prev}function Di(t,n,e,r){
var i=t.children;if(t.x=n+=r*t.x,t.y=e+=r*t.y,t.r*=r,i)for(var o=-1,u=i.length;++o<u;)Di(i[o],n,e,r)}function Ti(t,n,e){var r=t.r+e.r,i=n.x-t.x,o=n.y-t.y;if(r&&(i||o)){var u=n.r+e.r,a=i*i+o*o;u*=u,r*=r;var s=.5+(r-u)/(2*a),l=Math.sqrt(Math.max(0,2*u*(r+a)-(r-=a)*r-u*u))/(2*a);e.x=t.x+s*i+l*o,e.y=t.y+s*o-l*i}else e.x=t.x+r,e.y=t.y}function Ai(t,n){return t.parent==n.parent?1:2}function ki(t){var n=t.children;return n.length?n[0]:t.t}function Ri(t){var n,e=t.children;return(n=e.length)?e[n-1]:t.t}function Pi(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function Ii(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)n=i[o],n.z+=e,n.m+=e,e+=n.s+(r+=n.c)}function Oi(t,n,e){return t.a.parent===n.parent?t.a:e}function Li(t){return 1+au.max(t,function(t){return t.y})}function Ui(t){return t.reduce(function(t,n){return t+n.x},0)/t.length}function ji(t){var n=t.children;return n&&n.length?ji(n[0]):t}function Fi(t){var n,e=t.children;return e&&(n=e.length)?Fi(e[n-1]):t}function Bi(t){return{x:t.x,y:t.y,dx:t.dx,dy:t.dy}}function zi(t,n){var e=t.x+n[3],r=t.y+n[0],i=t.dx-n[1]-n[3],o=t.dy-n[0]-n[2];return 0>i&&(e+=i/2,i=0),0>o&&(r+=o/2,o=0),{x:e,y:r,dx:i,dy:o}}function qi(t){var n=t[0],e=t[t.length-1];return e>n?[n,e]:[e,n]}function Vi(t){return t.rangeExtent?t.rangeExtent():qi(t.range())}function Hi(t,n,e,r){var i=e(t[0],t[1]),o=r(n[0],n[1]);return function(t){return o(i(t))}}function Wi(t,n){var e,r=0,i=t.length-1,o=t[r],u=t[i];return o>u&&(e=r,r=i,i=e,e=o,o=u,u=e),t[r]=n.floor(o),t[i]=n.ceil(u),t}function Yi(t){return t?{floor:function(n){return Math.floor(n/t)*t},ceil:function(n){return Math.ceil(n/t)*t}}:ws}function Xi(t,n,e,r){var i=[],o=[],u=0,a=Math.min(t.length,n.length)-1;for(t[a]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++u<=a;)i.push(e(t[u-1],t[u])),o.push(r(n[u-1],n[u]));return function(n){var e=au.bisect(t,n,1,a)-1;return o[e](i[e](n))}}function Ki(t,n,e,r){function i(){var i=Math.min(t.length,n.length)>2?Xi:Hi,s=r?Kr:Xr;return u=i(t,n,s,e),a=i(n,t,s,wr),o}function o(t){return u(t)}var u,a;return o.invert=function(t){return a(t)},o.domain=function(n){return arguments.length?(t=n.map(Number),i()):t},o.range=function(t){return arguments.length?(n=t,i()):n},o.rangeRound=function(t){return o.range(t).interpolate(zr)},o.clamp=function(t){return arguments.length?(r=t,i()):r},o.interpolate=function(t){return arguments.length?(e=t,i()):e},o.ticks=function(n){return Zi(t,n)},o.tickFormat=function(n,e){return Ji(t,n,e)},o.nice=function(n){return $i(t,n),i()},o.copy=function(){return Ki(t,n,e,r)},i()}function Gi(t,n){return au.rebind(t,n,"range","rangeRound","interpolate","clamp")}function $i(t,n){return Wi(t,Yi(Qi(t,n)[2]))}function Qi(t,n){null==n&&(n=10);var e=qi(t),r=e[1]-e[0],i=Math.pow(10,Math.floor(Math.log(r/n)/Math.LN10)),o=n/r*i;return.15>=o?i*=10:.35>=o?i*=5:.75>=o&&(i*=2),e[0]=Math.ceil(e[0]/i)*i,e[1]=Math.floor(e[1]/i)*i+.5*i,e[2]=i,e}function Zi(t,n){return au.range.apply(au,Qi(t,n))}function Ji(t,n,e){var r=Qi(t,n);if(e){var i=fa.exec(e);if(i.shift(),"s"===i[8]){var o=au.formatPrefix(Math.max(_u(r[0]),_u(r[1])));return i[7]||(i[7]="."+to(o.scale(r[2]))),i[8]="f",e=au.format(i.join("")),function(t){return e(o.scale(t))+o.symbol}}i[7]||(i[7]="."+no(i[8],r)),e=i.join("")}else e=",."+to(r[2])+"f";return au.format(e)}function to(t){return-Math.floor(Math.log(t)/Math.LN10+.01)}function no(t,n){var e=to(n[2]);return t in Cs?Math.abs(e-to(Math.max(_u(n[0]),_u(n[1]))))+ +("e"!==t):e-2*("%"===t)}function eo(t,n,e,r){function i(t){return(e?Math.log(0>t?0:t):-Math.log(t>0?0:-t))/Math.log(n)}function o(t){return e?Math.pow(n,t):-Math.pow(n,-t)}function u(n){return t(i(n))}return u.invert=function(n){return o(t.invert(n))},u.domain=function(n){return arguments.length?(e=n[0]>=0,t.domain((r=n.map(Number)).map(i)),u):r},u.base=function(e){return arguments.length?(n=+e,t.domain(r.map(i)),u):n},u.nice=function(){var n=Wi(r.map(i),e?Math:Ns);return t.domain(n),r=n.map(o),u},u.ticks=function(){var t=qi(r),u=[],a=t[0],s=t[1],l=Math.floor(i(a)),c=Math.ceil(i(s)),f=n%1?2:n;if(isFinite(c-l)){if(e){for(;c>l;l++)for(var h=1;f>h;h++)u.push(o(l)*h);u.push(o(l))}else for(u.push(o(l));l++<c;)for(var h=f-1;h>0;h--)u.push(o(l)*h);for(l=0;u[l]<a;l++);for(c=u.length;u[c-1]>s;c--);u=u.slice(l,c)}return u},u.tickFormat=function(t,n){if(!arguments.length)return Es;arguments.length<2?n=Es:"function"!=typeof n&&(n=au.format(n));var r,a=Math.max(.1,t/u.ticks().length),s=e?(r=1e-12,Math.ceil):(r=-1e-12,Math.floor);return function(t){return t/o(s(i(t)+r))<=a?n(t):""}},u.copy=function(){return eo(t.copy(),n,e,r)},Gi(u,t)}function ro(t,n,e){function r(n){return t(i(n))}var i=io(n),o=io(1/n);return r.invert=function(n){return o(t.invert(n))},r.domain=function(n){return arguments.length?(t.domain((e=n.map(Number)).map(i)),r):e},r.ticks=function(t){return Zi(e,t)},r.tickFormat=function(t,n){return Ji(e,t,n)},r.nice=function(t){return r.domain($i(e,t))},r.exponent=function(u){return arguments.length?(i=io(n=u),o=io(1/n),t.domain(e.map(i)),r):n},r.copy=function(){return ro(t.copy(),n,e)},Gi(r,t)}function io(t){return function(n){return 0>n?-Math.pow(-n,t):Math.pow(n,t)}}function oo(t,n){function e(e){return o[((i.get(e)||("range"===n.t?i.set(e,t.push(e)):NaN))-1)%o.length]}function r(n,e){return au.range(t.length).map(function(t){return n+e*t})}var i,o,u;return e.domain=function(r){if(!arguments.length)return t;t=[],i=new d;for(var o,u=-1,a=r.length;++u<a;)i.has(o=r[u])||i.set(o,t.push(o));return e[n.t].apply(e,n.a)},e.range=function(t){return arguments.length?(o=t,u=0,n={t:"range",a:arguments},e):o},e.rangePoints=function(i,a){arguments.length<2&&(a=0);var s=i[0],l=i[1],c=t.length<2?(s=(s+l)/2,0):(l-s)/(t.length-1+a);return o=r(s+c*a/2,c),u=0,n={t:"rangePoints",a:arguments},e},e.rangeRoundPoints=function(i,a){arguments.length<2&&(a=0);var s=i[0],l=i[1],c=t.length<2?(s=l=Math.round((s+l)/2),0):(l-s)/(t.length-1+a)|0;return o=r(s+Math.round(c*a/2+(l-s-(t.length-1+a)*c)/2),c),u=0,n={t:"rangeRoundPoints",a:arguments},e},e.rangeBands=function(i,a,s){arguments.length<2&&(a=0),arguments.length<3&&(s=a);var l=i[1]<i[0],c=i[l-0],f=i[1-l],h=(f-c)/(t.length-a+2*s);return o=r(c+h*s,h),l&&o.reverse(),u=h*(1-a),n={t:"rangeBands",a:arguments},e},e.rangeRoundBands=function(i,a,s){arguments.length<2&&(a=0),arguments.length<3&&(s=a);var l=i[1]<i[0],c=i[l-0],f=i[1-l],h=Math.floor((f-c)/(t.length-a+2*s));return o=r(c+Math.round((f-c-(t.length-a)*h)/2),h),l&&o.reverse(),u=Math.round(h*(1-a)),n={t:"rangeRoundBands",a:arguments},e},e.rangeBand=function(){return u},e.rangeExtent=function(){return qi(n.a[0])},e.copy=function(){return oo(t,n)},e.domain(t)}function uo(t,n){function e(){var e=0,o=n.length;for(i=[];++e<o;)i[e-1]=au.quantile(t,e/o);return r}function r(t){return isNaN(t=+t)?void 0:n[au.bisect(i,t)]}var i;return r.domain=function(n){return arguments.length?(t=n.map(s).filter(l).sort(a),e()):t},r.range=function(t){return arguments.length?(n=t,e()):n},r.quantiles=function(){return i},r.invertExtent=function(e){return e=n.indexOf(e),0>e?[NaN,NaN]:[e>0?i[e-1]:t[0],e<i.length?i[e]:t[t.length-1]]},r.copy=function(){return uo(t,n)},e()}function ao(t,n,e){function r(n){return e[Math.max(0,Math.min(u,Math.floor(o*(n-t))))]}function i(){return o=e.length/(n-t),u=e.length-1,r}var o,u;return r.domain=function(e){return arguments.length?(t=+e[0],n=+e[e.length-1],i()):[t,n]},r.range=function(t){return arguments.length?(e=t,i()):e},r.invertExtent=function(n){return n=e.indexOf(n),n=0>n?NaN:n/o+t,[n,n+1/o]},r.copy=function(){return ao(t,n,e)},i()}function so(t,n){function e(e){return e>=e?n[au.bisect(t,e)]:void 0}return e.domain=function(n){return arguments.length?(t=n,e):t},e.range=function(t){return arguments.length?(n=t,e):n},e.invertExtent=function(e){return e=n.indexOf(e),[t[e-1],t[e]]},e.copy=function(){return so(t,n)},e}function lo(t){function n(t){return+t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=e.map(n),n):t},n.ticks=function(n){return Zi(t,n)},n.tickFormat=function(n,e){return Ji(t,n,e)},n.copy=function(){return lo(t)},n}function co(){return 0}function fo(t){return t.innerRadius}function ho(t){return t.outerRadius}function po(t){return t.startAngle}function go(t){return t.endAngle}function vo(t){return t&&t.padAngle}function mo(t,n,e,r){return(t-e)*n-(n-r)*t>0?0:1}function yo(t,n,e,r,i){var o=t[0]-n[0],u=t[1]-n[1],a=(i?r:-r)/Math.sqrt(o*o+u*u),s=a*u,l=-a*o,c=t[0]+s,f=t[1]+l,h=n[0]+s,p=n[1]+l,d=(c+h)/2,g=(f+p)/2,v=h-c,m=p-f,y=v*v+m*m,_=e-r,x=c*p-h*f,b=(0>m?-1:1)*Math.sqrt(_*_*y-x*x),M=(x*m-v*b)/y,w=(-x*v-m*b)/y,C=(x*m+v*b)/y,E=(-x*v+m*b)/y,N=M-d,S=w-g,D=C-d,T=E-g;return N*N+S*S>D*D+T*T&&(M=C,w=E),[[M-s,w-l],[M*e/_,w*e/_]]}function _o(t){function n(n){function u(){l.push("M",o(t(c),a))}for(var s,l=[],c=[],f=-1,h=n.length,p=kt(e),d=kt(r);++f<h;)i.call(this,s=n[f],f)?c.push([+p.call(this,s,f),+d.call(this,s,f)]):c.length&&(u(),c=[]);return c.length&&u(),l.length?l.join(""):null}var e=Pe,r=Ie,i=In,o=xo,u=o.key,a=.7;return n.x=function(t){return arguments.length?(e=t,n):e},n.y=function(t){return arguments.length?(r=t,n):r},n.defined=function(t){return arguments.length?(i=t,n):i},n.interpolate=function(t){return arguments.length?(u="function"==typeof t?o=t:(o=Rs.get(t)||xo).key,n):u},n.tension=function(t){return arguments.length?(a=t,n):a},n}function xo(t){return t.join("L")}function bo(t){return xo(t)+"Z"}function Mo(t){for(var n=0,e=t.length,r=t[0],i=[r[0],",",r[1]];++n<e;)i.push("H",(r[0]+(r=t[n])[0])/2,"V",r[1]);return e>1&&i.push("H",r[0]),i.join("")}function wo(t){for(var n=0,e=t.length,r=t[0],i=[r[0],",",r[1]];++n<e;)i.push("V",(r=t[n])[1],"H",r[0]);return i.join("")}function Co(t){for(var n=0,e=t.length,r=t[0],i=[r[0],",",r[1]];++n<e;)i.push("H",(r=t[n])[0],"V",r[1]);return i.join("")}function Eo(t,n){return t.length<4?xo(t):t[1]+Do(t.slice(1,-1),To(t,n))}function No(t,n){return t.length<3?xo(t):t[0]+Do((t.push(t[0]),t),To([t[t.length-2]].concat(t,[t[1]]),n))}function So(t,n){return t.length<3?xo(t):t[0]+Do(t,To(t,n))}function Do(t,n){if(n.length<1||t.length!=n.length&&t.length!=n.length+2)return xo(t);var e=t.length!=n.length,r="",i=t[0],o=t[1],u=n[0],a=u,s=1;if(e&&(r+="Q"+(o[0]-2*u[0]/3)+","+(o[1]-2*u[1]/3)+","+o[0]+","+o[1],i=t[1],s=2),n.length>1){a=n[1],o=t[s],s++,r+="C"+(i[0]+u[0])+","+(i[1]+u[1])+","+(o[0]-a[0])+","+(o[1]-a[1])+","+o[0]+","+o[1];for(var l=2;l<n.length;l++,s++)o=t[s],a=n[l],r+="S"+(o[0]-a[0])+","+(o[1]-a[1])+","+o[0]+","+o[1]}if(e){var c=t[s];r+="Q"+(o[0]+2*a[0]/3)+","+(o[1]+2*a[1]/3)+","+c[0]+","+c[1]}return r}function To(t,n){for(var e,r=[],i=(1-n)/2,o=t[0],u=t[1],a=1,s=t.length;++a<s;)e=o,o=u,u=t[a],r.push([i*(u[0]-e[0]),i*(u[1]-e[1])]);return r}function Ao(t){if(t.length<3)return xo(t);var n=1,e=t.length,r=t[0],i=r[0],o=r[1],u=[i,i,i,(r=t[1])[0]],a=[o,o,o,r[1]],s=[i,",",o,"L",Io(Os,u),",",Io(Os,a)];for(t.push(t[e-1]);++n<=e;)r=t[n],u.shift(),u.push(r[0]),a.shift(),a.push(r[1]),Oo(s,u,a);return t.pop(),s.push("L",r),s.join("")}function ko(t){if(t.length<4)return xo(t);for(var n,e=[],r=-1,i=t.length,o=[0],u=[0];++r<3;)n=t[r],o.push(n[0]),u.push(n[1]);for(e.push(Io(Os,o)+","+Io(Os,u)),--r;++r<i;)n=t[r],o.shift(),o.push(n[0]),u.shift(),u.push(n[1]),Oo(e,o,u);return e.join("")}function Ro(t){for(var n,e,r=-1,i=t.length,o=i+4,u=[],a=[];++r<4;)e=t[r%i],u.push(e[0]),a.push(e[1]);for(n=[Io(Os,u),",",Io(Os,a)],--r;++r<o;)e=t[r%i],u.shift(),u.push(e[0]),a.shift(),a.push(e[1]),Oo(n,u,a);return n.join("")}function Po(t,n){var e=t.length-1;if(e)for(var r,i,o=t[0][0],u=t[0][1],a=t[e][0]-o,s=t[e][1]-u,l=-1;++l<=e;)r=t[l],i=l/e,r[0]=n*r[0]+(1-n)*(o+i*a),r[1]=n*r[1]+(1-n)*(u+i*s);return Ao(t)}function Io(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]+t[3]*n[3]}function Oo(t,n,e){t.push("C",Io(Ps,n),",",Io(Ps,e),",",Io(Is,n),",",Io(Is,e),",",Io(Os,n),",",Io(Os,e))}function Lo(t,n){return(n[1]-t[1])/(n[0]-t[0])}function Uo(t){for(var n=0,e=t.length-1,r=[],i=t[0],o=t[1],u=r[0]=Lo(i,o);++n<e;)r[n]=(u+(u=Lo(i=o,o=t[n+1])))/2;return r[n]=u,r}function jo(t){for(var n,e,r,i,o=[],u=Uo(t),a=-1,s=t.length-1;++a<s;)n=Lo(t[a],t[a+1]),_u(n)<Ou?u[a]=u[a+1]=0:(e=u[a]/n,r=u[a+1]/n,i=e*e+r*r,i>9&&(i=3*n/Math.sqrt(i),u[a]=i*e,u[a+1]=i*r));for(a=-1;++a<=s;)i=(t[Math.min(s,a+1)][0]-t[Math.max(0,a-1)][0])/(6*(1+u[a]*u[a])),o.push([i||0,u[a]*i||0]);return o}function Fo(t){return t.length<3?xo(t):t[0]+Do(t,jo(t))}function Bo(t){for(var n,e,r,i=-1,o=t.length;++i<o;)n=t[i],e=n[0],r=n[1]-Bu,n[0]=e*Math.cos(r),n[1]=e*Math.sin(r);return t}function zo(t){function n(n){function s(){g.push("M",a(t(m),f),c,l(t(v.reverse()),f),"Z")}for(var h,p,d,g=[],v=[],m=[],y=-1,_=n.length,x=kt(e),b=kt(i),M=e===r?function(){return p}:kt(r),w=i===o?function(){return d}:kt(o);++y<_;)u.call(this,h=n[y],y)?(v.push([p=+x.call(this,h,y),d=+b.call(this,h,y)]),m.push([+M.call(this,h,y),+w.call(this,h,y)])):v.length&&(s(),v=[],m=[]);return v.length&&s(),g.length?g.join(""):null}var e=Pe,r=Pe,i=0,o=Ie,u=In,a=xo,s=a.key,l=a,c="L",f=.7;return n.x=function(t){return arguments.length?(e=r=t,n):r},n.x0=function(t){return arguments.length?(e=t,n):e},n.x1=function(t){return arguments.length?(r=t,n):r},n.y=function(t){return arguments.length?(i=o=t,n):o},n.y0=function(t){return arguments.length?(i=t,n):i},n.y1=function(t){return arguments.length?(o=t,n):o},n.defined=function(t){return arguments.length?(u=t,n):u},n.interpolate=function(t){return arguments.length?(s="function"==typeof t?a=t:(a=Rs.get(t)||xo).key,l=a.reverse||a,c=a.closed?"M":"L",n):s},n.tension=function(t){return arguments.length?(f=t,n):f},n}function qo(t){return t.radius}function Vo(t){return[t.x,t.y]}function Ho(t){return function(){var n=t.apply(this,arguments),e=n[0],r=n[1]-Bu;return[e*Math.cos(r),e*Math.sin(r)]}}function Wo(){return 64}function Yo(){return"circle"}function Xo(t){var n=Math.sqrt(t/Uu);return"M0,"+n+"A"+n+","+n+" 0 1,1 0,"+-n+"A"+n+","+n+" 0 1,1 0,"+n+"Z"}function Ko(t){return function(){var n,e;(n=this[t])&&(e=n[n.active])&&(--n.count?delete n[n.active]:delete this[t],n.active+=.5,e.event&&e.event.interrupt.call(this,this.__data__,e.index))}}function Go(t,n,e){return Cu(t,qs),t.namespace=n,t.id=e,t}function $o(t,n,e,r){var i=t.id,o=t.namespace;return K(t,"function"==typeof e?function(t,u,a){t[o][i].tween.set(n,r(e.call(t,t.__data__,u,a)))}:(e=r(e),function(t){t[o][i].tween.set(n,e)}))}function Qo(t){return null==t&&(t=""),function(){this.textContent=t}}function Zo(t){return null==t?"__transition__":"__transition_"+t+"__"}function Jo(t,n,e,r,i){var o=t[e]||(t[e]={active:0,count:0}),u=o[r];if(!u){var a=i.time;u=o[r]={tween:new d,time:a,delay:i.delay,duration:i.duration,ease:i.ease,index:n},i=null,++o.count,au.timer(function(i){function s(e){if(o.active>r)return c();var i=o[o.active];i&&(--o.count,delete o[o.active],i.event&&i.event.interrupt.call(t,t.__data__,i.index)),o.active=r,u.event&&u.event.start.call(t,t.__data__,n),u.tween.forEach(function(e,r){(r=r.call(t,t.__data__,n))&&g.push(r)}),h=u.ease,f=u.duration,au.timer(function(){return d.c=l(e||1)?In:l,1},0,a)}function l(e){if(o.active!==r)return 1;for(var i=e/f,a=h(i),s=g.length;s>0;)g[--s].call(t,a);return i>=1?(u.event&&u.event.end.call(t,t.__data__,n),c()):void 0}function c(){return--o.count?delete o[r]:delete t[e],1}var f,h,p=u.delay,d=sa,g=[];return d.t=p+a,i>=p?s(i-p):void(d.c=s)},0,a)}}function tu(t,n,e){t.attr("transform",function(t){var r=n(t);return"translate("+(isFinite(r)?r:e(t))+",0)"})}function nu(t,n,e){t.attr("transform",function(t){var r=n(t);return"translate(0,"+(isFinite(r)?r:e(t))+")"})}function eu(t){return t.toISOString()}function ru(t,n,e){function r(n){return t(n)}function i(t,e){var r=t[1]-t[0],i=r/e,o=au.bisect(Qs,i);return o==Qs.length?[n.year,Qi(t.map(function(t){return t/31536e6}),e)[2]]:o?n[i/Qs[o-1]<Qs[o]/i?o-1:o]:[tl,Qi(t,e)[2]]}return r.invert=function(n){return iu(t.invert(n))},r.domain=function(n){return arguments.length?(t.domain(n),r):t.domain().map(iu)},r.nice=function(t,n){function e(e){return!isNaN(e)&&!t.range(e,iu(+e+1),n).length}var o=r.domain(),u=qi(o),a=null==t?i(u,10):"number"==typeof t&&i(u,t);return a&&(t=a[0],n=a[1]),r.domain(Wi(o,n>1?{floor:function(n){for(;e(n=t.floor(n));)n=iu(n-1);return n},ceil:function(n){for(;e(n=t.ceil(n));)n=iu(+n+1);return n}}:t))},r.ticks=function(t,n){var e=qi(r.domain()),o=null==t?i(e,10):"number"==typeof t?i(e,t):!t.range&&[{range:t},n];return o&&(t=o[0],n=o[1]),t.range(e[0],iu(+e[1]+1),1>n?1:n)},r.tickFormat=function(){return e},r.copy=function(){return ru(t.copy(),n,e)},Gi(r,t)}function iu(t){return new Date(t)}function ou(t){return JSON.parse(t.responseText)}function uu(t){var n=cu.createRange();return n.selectNode(cu.body),n.createContextualFragment(t.responseText)}var au={version:"3.5.5"},su=[].slice,lu=function(t){return su.call(t)},cu=this.document;if(cu)try{lu(cu.documentElement.childNodes)[0].nodeType}catch(fu){lu=function(t){for(var n=t.length,e=new Array(n);n--;)e[n]=t[n];return e}}if(Date.now||(Date.now=function(){return+new Date}),cu)try{cu.createElement("DIV").style.setProperty("opacity",0,"")}catch(hu){var pu=this.Element.prototype,du=pu.setAttribute,gu=pu.setAttributeNS,vu=this.CSSStyleDeclaration.prototype,mu=vu.setProperty;pu.setAttribute=function(t,n){du.call(this,t,n+"")},pu.setAttributeNS=function(t,n,e){gu.call(this,t,n,e+"")},vu.setProperty=function(t,n,e){mu.call(this,t,n+"",e)}}au.ascending=a,au.descending=function(t,n){return t>n?-1:n>t?1:n>=t?0:NaN},au.min=function(t,n){var e,r,i=-1,o=t.length;if(1===arguments.length){for(;++i<o;)if(null!=(r=t[i])&&r>=r){e=r;break}for(;++i<o;)null!=(r=t[i])&&e>r&&(e=r)}else{for(;++i<o;)if(null!=(r=n.call(t,t[i],i))&&r>=r){e=r;break}for(;++i<o;)null!=(r=n.call(t,t[i],i))&&e>r&&(e=r)}return e},au.max=function(t,n){var e,r,i=-1,o=t.length;if(1===arguments.length){for(;++i<o;)if(null!=(r=t[i])&&r>=r){e=r;break}for(;++i<o;)null!=(r=t[i])&&r>e&&(e=r)}else{for(;++i<o;)if(null!=(r=n.call(t,t[i],i))&&r>=r){e=r;break}for(;++i<o;)null!=(r=n.call(t,t[i],i))&&r>e&&(e=r)}return e},au.extent=function(t,n){var e,r,i,o=-1,u=t.length;if(1===arguments.length){for(;++o<u;)if(null!=(r=t[o])&&r>=r){e=i=r;break}for(;++o<u;)null!=(r=t[o])&&(e>r&&(e=r),r>i&&(i=r))}else{for(;++o<u;)if(null!=(r=n.call(t,t[o],o))&&r>=r){e=i=r;break}for(;++o<u;)null!=(r=n.call(t,t[o],o))&&(e>r&&(e=r),r>i&&(i=r))}return[e,i]},au.sum=function(t,n){var e,r=0,i=t.length,o=-1;if(1===arguments.length)for(;++o<i;)l(e=+t[o])&&(r+=e);else for(;++o<i;)l(e=+n.call(t,t[o],o))&&(r+=e);return r},au.mean=function(t,n){var e,r=0,i=t.length,o=-1,u=i;if(1===arguments.length)for(;++o<i;)l(e=s(t[o]))?r+=e:--u;else for(;++o<i;)l(e=s(n.call(t,t[o],o)))?r+=e:--u;return u?r/u:void 0},au.quantile=function(t,n){var e=(t.length-1)*n+1,r=Math.floor(e),i=+t[r-1],o=e-r;return o?i+o*(t[r]-i):i},au.median=function(t,n){var e,r=[],i=t.length,o=-1;if(1===arguments.length)for(;++o<i;)l(e=s(t[o]))&&r.push(e);else for(;++o<i;)l(e=s(n.call(t,t[o],o)))&&r.push(e);return r.length?au.quantile(r.sort(a),.5):void 0},au.variance=function(t,n){var e,r,i=t.length,o=0,u=0,a=-1,c=0;if(1===arguments.length)for(;++a<i;)l(e=s(t[a]))&&(r=e-o,o+=r/++c,u+=r*(e-o));else for(;++a<i;)l(e=s(n.call(t,t[a],a)))&&(r=e-o,o+=r/++c,u+=r*(e-o));return c>1?u/(c-1):void 0},au.deviation=function(){var t=au.variance.apply(this,arguments);return t?Math.sqrt(t):t};var yu=c(a);au.bisectLeft=yu.left,au.bisect=au.bisectRight=yu.right,au.bisector=function(t){return c(1===t.length?function(n,e){return a(t(n),e)}:t)},au.shuffle=function(t,n,e){(o=arguments.length)<3&&(e=t.length,2>o&&(n=0));for(var r,i,o=e-n;o;)i=Math.random()*o--|0,r=t[o+n],t[o+n]=t[i+n],t[i+n]=r;return t},au.permute=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r},au.pairs=function(t){for(var n,e=0,r=t.length-1,i=t[0],o=new Array(0>r?0:r);r>e;)o[e]=[n=i,i=t[++e]];return o},au.zip=function(){if(!(r=arguments.length))return[];for(var t=-1,n=au.min(arguments,f),e=new Array(n);++t<n;)for(var r,i=-1,o=e[t]=new Array(r);++i<r;)o[i]=arguments[i][t];return e},au.transpose=function(t){return au.zip.apply(au,t)},au.keys=function(t){var n=[];for(var e in t)n.push(e);return n},au.values=function(t){var n=[];for(var e in t)n.push(t[e]);return n},au.entries=function(t){var n=[];for(var e in t)n.push({key:e,value:t[e]});return n},au.merge=function(t){for(var n,e,r,i=t.length,o=-1,u=0;++o<i;)u+=t[o].length;for(e=new Array(u);--i>=0;)for(r=t[i],n=r.length;--n>=0;)e[--u]=r[n];return e};var _u=Math.abs;au.range=function(t,n,e){if(arguments.length<3&&(e=1,arguments.length<2&&(n=t,t=0)),(n-t)/e===1/0)throw new Error("infinite range");var r,i=[],o=h(_u(e)),u=-1;if(t*=o,n*=o,e*=o,0>e)for(;(r=t+e*++u)>n;)i.push(r/o);else for(;(r=t+e*++u)<n;)i.push(r/o);return i},au.map=function(t,n){var e=new d;if(t instanceof d)t.forEach(function(t,n){e.set(t,n)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(1===arguments.length)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n.call(t,r=t[i],i),r)}else for(var u in t)e.set(u,t[u]);return e};var xu="__proto__",bu="\x00";p(d,{has:m,get:function(t){return this._[g(t)]},set:function(t,n){return this._[g(t)]=n},remove:y,keys:_,values:function(){var t=[];for(var n in this._)t.push(this._[n]);return t},entries:function(){var t=[];for(var n in this._)t.push({key:v(n),value:this._[n]});return t},size:x,empty:b,forEach:function(t){for(var n in this._)t.call(this,v(n),this._[n])}}),au.nest=function(){function t(n,u,a){if(a>=o.length)return r?r.call(i,u):e?u.sort(e):u;for(var s,l,c,f,h=-1,p=u.length,g=o[a++],v=new d;++h<p;)(f=v.get(s=g(l=u[h])))?f.push(l):v.set(s,[l]);return n?(l=n(),c=function(e,r){l.set(e,t(n,r,a))}):(l={},c=function(e,r){l[e]=t(n,r,a)}),v.forEach(c),l}function n(t,e){if(e>=o.length)return t;var r=[],i=u[e++];return t.forEach(function(t,i){r.push({key:t,values:n(i,e)})}),i?r.sort(function(t,n){return i(t.key,n.key)}):r}var e,r,i={},o=[],u=[];return i.map=function(n,e){return t(e,n,0)},i.entries=function(e){return n(t(au.map,e,0),0)},i.key=function(t){return o.push(t),i},i.sortKeys=function(t){return u[o.length-1]=t,i},i.sortValues=function(t){return e=t,i},i.rollup=function(t){return r=t,i},i},au.set=function(t){var n=new M;if(t)for(var e=0,r=t.length;r>e;++e)n.add(t[e]);return n},p(M,{has:m,add:function(t){return this._[g(t+="")]=!0,t},remove:y,values:_,size:x,empty:b,forEach:function(t){for(var n in this._)t.call(this,v(n))}}),au.behavior={},au.rebind=function(t,n){for(var e,r=1,i=arguments.length;++r<i;)t[e=arguments[r]]=C(t,n,n[e]);return t};var Mu=["webkit","ms","moz","Moz","o","O"];au.dispatch=function(){for(var t=new S,n=-1,e=arguments.length;++n<e;)t[arguments[n]]=D(t);return t},S.prototype.on=function(t,n){var e=t.indexOf("."),r="";if(e>=0&&(r=t.slice(e+1),t=t.slice(0,e)),t)return arguments.length<2?this[t].on(r):this[t].on(r,n);if(2===arguments.length){if(null==n)for(t in this)this.hasOwnProperty(t)&&this[t].on(r,null);return this}},au.event=null,au.requote=function(t){return t.replace(wu,"\\$&")};var wu=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Cu={}.__proto__?function(t,n){t.__proto__=n}:function(t,n){for(var e in n)t[e]=n[e]},Eu=function(t,n){return n.querySelector(t)},Nu=function(t,n){return n.querySelectorAll(t)},Su=function(t,n){var e=t.matches||t[E(t,"matchesSelector")];return(Su=function(t,n){return e.call(t,n)})(t,n)};"function"==typeof Sizzle&&(Eu=function(t,n){return Sizzle(t,n)[0]||null},Nu=Sizzle,Su=Sizzle.matchesSelector),au.selection=function(){return au.select(cu.documentElement)};var Du=au.selection.prototype=[];Du.select=function(t){var n,e,r,i,o=[];t=P(t);for(var u=-1,a=this.length;++u<a;){o.push(n=[]),n.parentNode=(r=this[u]).parentNode;for(var s=-1,l=r.length;++s<l;)(i=r[s])?(n.push(e=t.call(i,i.__data__,s,u)),e&&"__data__"in i&&(e.__data__=i.__data__)):n.push(null)}return R(o)},Du.selectAll=function(t){var n,e,r=[];t=I(t);for(var i=-1,o=this.length;++i<o;)for(var u=this[i],a=-1,s=u.length;++a<s;)(e=u[a])&&(r.push(n=lu(t.call(e,e.__data__,a,i))),n.parentNode=e);return R(r)};var Tu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};au.ns={prefix:Tu,qualify:function(t){var n=t.indexOf(":"),e=t;return n>=0&&(e=t.slice(0,n),t=t.slice(n+1)),Tu.hasOwnProperty(e)?{space:Tu[e],local:t}:t}},Du.attr=function(t,n){if(arguments.length<2){if("string"==typeof t){var e=this.node();return t=au.ns.qualify(t),t.local?e.getAttributeNS(t.space,t.local):e.getAttribute(t)}for(n in t)this.each(O(n,t[n]));return this}return this.each(O(t,n))},Du.classed=function(t,n){if(arguments.length<2){if("string"==typeof t){var e=this.node(),r=(t=j(t)).length,i=-1;if(n=e.classList){for(;++i<r;)if(!n.contains(t[i]))return!1}else for(n=e.getAttribute("class");++i<r;)if(!U(t[i]).test(n))return!1;return!0}for(n in t)this.each(F(n,t[n]));return this}return this.each(F(t,n))},Du.style=function(t,n,e){var r=arguments.length;if(3>r){if("string"!=typeof t){2>r&&(n="");for(e in t)this.each(z(e,t[e],n));return this}if(2>r){var i=this.node();return u(i).getComputedStyle(i,null).getPropertyValue(t)}e=""}return this.each(z(t,n,e))},Du.property=function(t,n){if(arguments.length<2){if("string"==typeof t)return this.node()[t];for(n in t)this.each(q(n,t[n]));return this}return this.each(q(t,n))},Du.text=function(t){return arguments.length?this.each("function"==typeof t?function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}:null==t?function(){this.textContent=""}:function(){this.textContent=t}):this.node().textContent},Du.html=function(t){return arguments.length?this.each("function"==typeof t?function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}:null==t?function(){this.innerHTML=""}:function(){this.innerHTML=t}):this.node().innerHTML},Du.append=function(t){return t=V(t),this.select(function(){return this.appendChild(t.apply(this,arguments))})},Du.insert=function(t,n){return t=V(t),n=P(n),this.select(function(){return this.insertBefore(t.apply(this,arguments),n.apply(this,arguments)||null)})},Du.remove=function(){return this.each(H)},Du.data=function(t,n){function e(t,e){var r,i,o,u=t.length,c=e.length,f=Math.min(u,c),h=new Array(c),p=new Array(c),g=new Array(u);if(n){var v,m=new d,y=new Array(u);for(r=-1;++r<u;)m.has(v=n.call(i=t[r],i.__data__,r))?g[r]=i:m.set(v,i),y[r]=v;for(r=-1;++r<c;)(i=m.get(v=n.call(e,o=e[r],r)))?i!==!0&&(h[r]=i,i.__data__=o):p[r]=W(o),m.set(v,!0);for(r=-1;++r<u;)m.get(y[r])!==!0&&(g[r]=t[r])}else{for(r=-1;++r<f;)i=t[r],o=e[r],i?(i.__data__=o,h[r]=i):p[r]=W(o);for(;c>r;++r)p[r]=W(e[r]);for(;u>r;++r)g[r]=t[r]}p.update=h,p.parentNode=h.parentNode=g.parentNode=t.parentNode,a.push(p),s.push(h),l.push(g)}var r,i,o=-1,u=this.length;if(!arguments.length){for(t=new Array(u=(r=this[0]).length);++o<u;)(i=r[o])&&(t[o]=i.__data__);return t}var a=G([]),s=R([]),l=R([]);if("function"==typeof t)for(;++o<u;)e(r=this[o],t.call(r,r.parentNode.__data__,o));else for(;++o<u;)e(r=this[o],t);return s.enter=function(){return a},s.exit=function(){return l},s},Du.datum=function(t){return arguments.length?this.property("__data__",t):this.property("__data__")},Du.filter=function(t){var n,e,r,i=[];"function"!=typeof t&&(t=Y(t));for(var o=0,u=this.length;u>o;o++){i.push(n=[]),n.parentNode=(e=this[o]).parentNode;for(var a=0,s=e.length;s>a;a++)(r=e[a])&&t.call(r,r.__data__,a,o)&&n.push(r)}return R(i)},Du.order=function(){for(var t=-1,n=this.length;++t<n;)for(var e,r=this[t],i=r.length-1,o=r[i];--i>=0;)(e=r[i])&&(o&&o!==e.nextSibling&&o.parentNode.insertBefore(e,o),o=e);return this},Du.sort=function(t){t=X.apply(this,arguments);for(var n=-1,e=this.length;++n<e;)this[n].sort(t);return this.order()},Du.each=function(t){return K(this,function(n,e,r){t.call(n,n.__data__,e,r)})},Du.call=function(t){var n=lu(arguments);return t.apply(n[0]=this,n),this},Du.empty=function(){return!this.node()},Du.node=function(){for(var t=0,n=this.length;n>t;t++)for(var e=this[t],r=0,i=e.length;i>r;r++){var o=e[r];if(o)return o}return null},Du.size=function(){var t=0;return K(this,function(){++t}),t};var Au=[];au.selection.enter=G,au.selection.enter.prototype=Au,Au.append=Du.append,Au.empty=Du.empty,Au.node=Du.node,Au.call=Du.call,Au.size=Du.size,Au.select=function(t){for(var n,e,r,i,o,u=[],a=-1,s=this.length;++a<s;){r=(i=this[a]).update,u.push(n=[]),n.parentNode=i.parentNode;for(var l=-1,c=i.length;++l<c;)(o=i[l])?(n.push(r[l]=e=t.call(i.parentNode,o.__data__,l,a)),e.__data__=o.__data__):n.push(null)}return R(u)},Au.insert=function(t,n){return arguments.length<2&&(n=$(this)),Du.insert.call(this,t,n)},au.select=function(t){var n;return"string"==typeof t?(n=[Eu(t,cu)],n.parentNode=cu.documentElement):(n=[t],n.parentNode=o(t)),R([n])},au.selectAll=function(t){var n;return"string"==typeof t?(n=lu(Nu(t,cu)),n.parentNode=cu.documentElement):(n=t,n.parentNode=null),R([n])},Du.on=function(t,n,e){var r=arguments.length;if(3>r){if("string"!=typeof t){2>r&&(n=!1);for(e in t)this.each(Q(e,t[e],n));return this}if(2>r)return(r=this.node()["__on"+t])&&r._;e=!1}return this.each(Q(t,n,e))};var ku=au.map({mouseenter:"mouseover",mouseleave:"mouseout"});cu&&ku.forEach(function(t){"on"+t in cu&&ku.remove(t)});var Ru,Pu=0;au.mouse=function(t){return nt(t,A())};var Iu=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;au.touch=function(t,n,e){if(arguments.length<3&&(e=n,n=A().changedTouches),n)for(var r,i=0,o=n.length;o>i;++i)if((r=n[i]).identifier===e)return nt(t,r)},au.behavior.drag=function(){function t(){this.on("mousedown.drag",i).on("touchstart.drag",o)}function n(t,n,i,o,u){return function(){function a(){var t,e,r=n(h,g);r&&(t=r[0]-_[0],e=r[1]-_[1],d|=t|e,_=r,p({type:"drag",x:r[0]+l[0],y:r[1]+l[1],dx:t,dy:e}))}function s(){n(h,g)&&(m.on(o+v,null).on(u+v,null),y(d&&au.event.target===f),p({type:"dragend"}))}var l,c=this,f=au.event.target,h=c.parentNode,p=e.of(c,arguments),d=0,g=t(),v=".drag"+(null==g?"":"-"+g),m=au.select(i(f)).on(o+v,a).on(u+v,s),y=tt(f),_=n(h,g);r?(l=r.apply(c,arguments),l=[l.x-_[0],l.y-_[1]]):l=[0,0],p({type:"dragstart"})}}var e=k(t,"drag","dragstart","dragend"),r=null,i=n(N,au.mouse,u,"mousemove","mouseup"),o=n(et,au.touch,w,"touchmove","touchend");return t.origin=function(n){return arguments.length?(r=n,t):r},au.rebind(t,e,"on")},au.touches=function(t,n){return arguments.length<2&&(n=A().touches),n?lu(n).map(function(n){var e=nt(t,n);return e.identifier=n.identifier,e}):[]};var Ou=1e-6,Lu=Ou*Ou,Uu=Math.PI,ju=2*Uu,Fu=ju-Ou,Bu=Uu/2,zu=Uu/180,qu=180/Uu,Vu=Math.SQRT2,Hu=2,Wu=4;au.interpolateZoom=function(t,n){function e(t){var n=t*y;if(m){var e=st(g),u=o/(Hu*h)*(e*lt(Vu*n+g)-at(g));return[r+u*l,i+u*c,o*e/st(Vu*n+g)]}return[r+t*l,i+t*c,o*Math.exp(Vu*n)]}var r=t[0],i=t[1],o=t[2],u=n[0],a=n[1],s=n[2],l=u-r,c=a-i,f=l*l+c*c,h=Math.sqrt(f),p=(s*s-o*o+Wu*f)/(2*o*Hu*h),d=(s*s-o*o-Wu*f)/(2*s*Hu*h),g=Math.log(Math.sqrt(p*p+1)-p),v=Math.log(Math.sqrt(d*d+1)-d),m=v-g,y=(m||Math.log(s/o))/Vu;return e.duration=1e3*y,e},au.behavior.zoom=function(){function t(t){t.on(A,f).on(Xu+".zoom",p).on("dblclick.zoom",d).on(I,h)}function n(t){return[(t[0]-C.x)/C.k,(t[1]-C.y)/C.k]}function e(t){return[t[0]*C.k+C.x,t[1]*C.k+C.y]}function r(t){C.k=Math.max(N[0],Math.min(N[1],t))}function i(t,n){n=e(n),C.x+=t[0]-n[0],C.y+=t[1]-n[1]}function o(n,e,o,u){n.__chart__={x:C.x,y:C.y,k:C.k},r(Math.pow(2,u)),i(v=e,o),n=au.select(n),S>0&&(n=n.transition().duration(S)),n.call(t.event)}function a(){b&&b.domain(x.range().map(function(t){return(t-C.x)/C.k}).map(x.invert)),w&&w.domain(M.range().map(function(t){return(t-C.y)/C.k}).map(M.invert))}function s(t){D++||t({type:"zoomstart"})}function l(t){a(),t({type:"zoom",scale:C.k,translate:[C.x,C.y]})}function c(t){--D||t({type:"zoomend"}),v=null}function f(){function t(){f=1,i(au.mouse(r),p),l(a)}function e(){h.on(R,null).on(P,null),d(f&&au.event.target===o),c(a)}var r=this,o=au.event.target,a=O.of(r,arguments),f=0,h=au.select(u(r)).on(R,t).on(P,e),p=n(au.mouse(r)),d=tt(r);zs.call(r),s(a)}function h(){function t(){var t=au.touches(d);return p=C.k,t.forEach(function(t){t.identifier in v&&(v[t.identifier]=n(t))}),t}function e(){var n=au.event.target;au.select(n).on(x,u).on(b,a),
M.push(n);for(var e=au.event.changedTouches,r=0,i=e.length;i>r;++r)v[e[r].identifier]=null;var s=t(),l=Date.now();if(1===s.length){if(500>l-_){var c=s[0];o(d,c,v[c.identifier],Math.floor(Math.log(C.k)/Math.LN2)+1),T()}_=l}else if(s.length>1){var c=s[0],f=s[1],h=c[0]-f[0],p=c[1]-f[1];m=h*h+p*p}}function u(){var t,n,e,o,u=au.touches(d);zs.call(d);for(var a=0,s=u.length;s>a;++a,o=null)if(e=u[a],o=v[e.identifier]){if(n)break;t=e,n=o}if(o){var c=(c=e[0]-t[0])*c+(c=e[1]-t[1])*c,f=m&&Math.sqrt(c/m);t=[(t[0]+e[0])/2,(t[1]+e[1])/2],n=[(n[0]+o[0])/2,(n[1]+o[1])/2],r(f*p)}_=null,i(t,n),l(g)}function a(){if(au.event.touches.length){for(var n=au.event.changedTouches,e=0,r=n.length;r>e;++e)delete v[n[e].identifier];for(var i in v)return void t()}au.selectAll(M).on(y,null),w.on(A,f).on(I,h),E(),c(g)}var p,d=this,g=O.of(d,arguments),v={},m=0,y=".zoom-"+au.event.changedTouches[0].identifier,x="touchmove"+y,b="touchend"+y,M=[],w=au.select(d),E=tt(d);e(),s(g),w.on(A,null).on(I,e)}function p(){var t=O.of(this,arguments);y?clearTimeout(y):(g=n(v=m||au.mouse(this)),zs.call(this),s(t)),y=setTimeout(function(){y=null,c(t)},50),T(),r(Math.pow(2,.002*Yu())*C.k),i(v,g),l(t)}function d(){var t=au.mouse(this),e=Math.log(C.k)/Math.LN2;o(this,t,n(t),au.event.shiftKey?Math.ceil(e)-1:Math.floor(e)+1)}var g,v,m,y,_,x,b,M,w,C={x:0,y:0,k:1},E=[960,500],N=Ku,S=250,D=0,A="mousedown.zoom",R="mousemove.zoom",P="mouseup.zoom",I="touchstart.zoom",O=k(t,"zoomstart","zoom","zoomend");return Xu||(Xu="onwheel"in cu?(Yu=function(){return-au.event.deltaY*(au.event.deltaMode?120:1)},"wheel"):"onmousewheel"in cu?(Yu=function(){return au.event.wheelDelta},"mousewheel"):(Yu=function(){return-au.event.detail},"MozMousePixelScroll")),t.event=function(t){t.each(function(){var t=O.of(this,arguments),n=C;Fs?au.select(this).transition().each("start.zoom",function(){C=this.__chart__||{x:0,y:0,k:1},s(t)}).tween("zoom:zoom",function(){var e=E[0],r=E[1],i=v?v[0]:e/2,o=v?v[1]:r/2,u=au.interpolateZoom([(i-C.x)/C.k,(o-C.y)/C.k,e/C.k],[(i-n.x)/n.k,(o-n.y)/n.k,e/n.k]);return function(n){var r=u(n),a=e/r[2];this.__chart__=C={x:i-r[0]*a,y:o-r[1]*a,k:a},l(t)}}).each("interrupt.zoom",function(){c(t)}).each("end.zoom",function(){c(t)}):(this.__chart__=C,s(t),l(t),c(t))})},t.translate=function(n){return arguments.length?(C={x:+n[0],y:+n[1],k:C.k},a(),t):[C.x,C.y]},t.scale=function(n){return arguments.length?(C={x:C.x,y:C.y,k:+n},a(),t):C.k},t.scaleExtent=function(n){return arguments.length?(N=null==n?Ku:[+n[0],+n[1]],t):N},t.center=function(n){return arguments.length?(m=n&&[+n[0],+n[1]],t):m},t.size=function(n){return arguments.length?(E=n&&[+n[0],+n[1]],t):E},t.duration=function(n){return arguments.length?(S=+n,t):S},t.x=function(n){return arguments.length?(b=n,x=n.copy(),C={x:0,y:0,k:1},t):b},t.y=function(n){return arguments.length?(w=n,M=n.copy(),C={x:0,y:0,k:1},t):w},au.rebind(t,O,"on")};var Yu,Xu,Ku=[0,1/0];au.color=ft,ft.prototype.toString=function(){return this.rgb()+""},au.hsl=ht;var Gu=ht.prototype=new ft;Gu.brighter=function(t){return t=Math.pow(.7,arguments.length?t:1),new ht(this.h,this.s,this.l/t)},Gu.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),new ht(this.h,this.s,t*this.l)},Gu.rgb=function(){return pt(this.h,this.s,this.l)},au.hcl=dt;var $u=dt.prototype=new ft;$u.brighter=function(t){return new dt(this.h,this.c,Math.min(100,this.l+Qu*(arguments.length?t:1)))},$u.darker=function(t){return new dt(this.h,this.c,Math.max(0,this.l-Qu*(arguments.length?t:1)))},$u.rgb=function(){return gt(this.h,this.c,this.l).rgb()},au.lab=vt;var Qu=18,Zu=.95047,Ju=1,ta=1.08883,na=vt.prototype=new ft;na.brighter=function(t){return new vt(Math.min(100,this.l+Qu*(arguments.length?t:1)),this.a,this.b)},na.darker=function(t){return new vt(Math.max(0,this.l-Qu*(arguments.length?t:1)),this.a,this.b)},na.rgb=function(){return mt(this.l,this.a,this.b)},au.rgb=Mt;var ea=Mt.prototype=new ft;ea.brighter=function(t){t=Math.pow(.7,arguments.length?t:1);var n=this.r,e=this.g,r=this.b,i=30;return n||e||r?(n&&i>n&&(n=i),e&&i>e&&(e=i),r&&i>r&&(r=i),new Mt(Math.min(255,n/t),Math.min(255,e/t),Math.min(255,r/t))):new Mt(i,i,i)},ea.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),new Mt(t*this.r,t*this.g,t*this.b)},ea.hsl=function(){return St(this.r,this.g,this.b)},ea.toString=function(){return"#"+Et(this.r)+Et(this.g)+Et(this.b)};var ra=au.map({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});ra.forEach(function(t,n){ra.set(t,wt(n))}),au.functor=kt,au.xhr=Rt(w),au.dsv=function(t,n){function e(t,e,o){arguments.length<3&&(o=e,e=null);var u=Pt(t,n,null==e?r:i(e),o);return u.row=function(t){return arguments.length?u.response(null==(e=t)?r:i(t)):e},u}function r(t){return e.parse(t.responseText)}function i(t){return function(n){return e.parse(n.responseText,t)}}function o(n){return n.map(u).join(t)}function u(t){return a.test(t)?'"'+t.replace(/\"/g,'""')+'"':t}var a=new RegExp('["'+t+"\n]"),s=t.charCodeAt(0);return e.parse=function(t,n){var r;return e.parseRows(t,function(t,e){if(r)return r(t,e-1);var i=new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}");r=n?function(t,e){return n(i(t),e)}:i})},e.parseRows=function(t,n){function e(){if(c>=l)return u;if(i)return i=!1,o;var n=c;if(34===t.charCodeAt(n)){for(var e=n;e++<l;)if(34===t.charCodeAt(e)){if(34!==t.charCodeAt(e+1))break;++e}c=e+2;var r=t.charCodeAt(e+1);return 13===r?(i=!0,10===t.charCodeAt(e+2)&&++c):10===r&&(i=!0),t.slice(n+1,e).replace(/""/g,'"')}for(;l>c;){var r=t.charCodeAt(c++),a=1;if(10===r)i=!0;else if(13===r)i=!0,10===t.charCodeAt(c)&&(++c,++a);else if(r!==s)continue;return t.slice(n,c-a)}return t.slice(n)}for(var r,i,o={},u={},a=[],l=t.length,c=0,f=0;(r=e())!==u;){for(var h=[];r!==o&&r!==u;)h.push(r),r=e();n&&null==(h=n(h,f++))||a.push(h)}return a},e.format=function(n){if(Array.isArray(n[0]))return e.formatRows(n);var r=new M,i=[];return n.forEach(function(t){for(var n in t)r.has(n)||i.push(r.add(n))}),[i.map(u).join(t)].concat(n.map(function(n){return i.map(function(t){return u(n[t])}).join(t)})).join("\n")},e.formatRows=function(t){return t.map(o).join("\n")},e},au.csv=au.dsv(",","text/csv"),au.tsv=au.dsv("	","text/tab-separated-values");var ia,oa,ua,aa,sa,la=this[E(this,"requestAnimationFrame")]||function(t){setTimeout(t,17)};au.timer=function(t,n,e){var r=arguments.length;2>r&&(n=0),3>r&&(e=Date.now());var i=e+n,o={c:t,t:i,f:!1,n:null};oa?oa.n=o:ia=o,oa=o,ua||(aa=clearTimeout(aa),ua=1,la(Lt))},au.timer.flush=function(){Ut(),jt()},au.round=function(t,n){return n?Math.round(t*(n=Math.pow(10,n)))/n:Math.round(t)};var ca=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map(Bt);au.formatPrefix=function(t,n){var e=0;return t&&(0>t&&(t*=-1),n&&(t=au.round(t,Ft(t,n))),e=1+Math.floor(1e-12+Math.log(t)/Math.LN10),e=Math.max(-24,Math.min(24,3*Math.floor((e-1)/3)))),ca[8+e/3]};var fa=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,ha=au.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t)},o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,n){return t.toPrecision(n)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},r:function(t,n){return(t=au.round(t,Ft(t,n))).toFixed(Math.max(0,Math.min(20,Ft(t*(1+1e-15),n))))}}),pa=au.time={},da=Date;Vt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){ga.setUTCDate.apply(this._,arguments)},setDay:function(){ga.setUTCDay.apply(this._,arguments)},setFullYear:function(){ga.setUTCFullYear.apply(this._,arguments)},setHours:function(){ga.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){ga.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){ga.setUTCMinutes.apply(this._,arguments)},setMonth:function(){ga.setUTCMonth.apply(this._,arguments)},setSeconds:function(){ga.setUTCSeconds.apply(this._,arguments)},setTime:function(){ga.setTime.apply(this._,arguments)}};var ga=Date.prototype;pa.year=Ht(function(t){return t=pa.day(t),t.setMonth(0,1),t},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t){return t.getFullYear()}),pa.years=pa.year.range,pa.years.utc=pa.year.utc.range,pa.day=Ht(function(t){var n=new da(2e3,0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n},function(t,n){t.setDate(t.getDate()+n)},function(t){return t.getDate()-1}),pa.days=pa.day.range,pa.days.utc=pa.day.utc.range,pa.dayOfYear=function(t){var n=pa.year(t);return Math.floor((t-n-6e4*(t.getTimezoneOffset()-n.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(t,n){n=7-n;var e=pa[t]=Ht(function(t){return(t=pa.day(t)).setDate(t.getDate()-(t.getDay()+n)%7),t},function(t,n){t.setDate(t.getDate()+7*Math.floor(n))},function(t){var e=pa.year(t).getDay();return Math.floor((pa.dayOfYear(t)+(e+n)%7)/7)-(e!==n)});pa[t+"s"]=e.range,pa[t+"s"].utc=e.utc.range,pa[t+"OfYear"]=function(t){var e=pa.year(t).getDay();return Math.floor((pa.dayOfYear(t)+(e+n)%7)/7)}}),pa.week=pa.sunday,pa.weeks=pa.sunday.range,pa.weeks.utc=pa.sunday.utc.range,pa.weekOfYear=pa.sundayOfYear;var va={"-":"",_:" ",0:"0"},ma=/^\s*\d+/,ya=/^%/;au.locale=function(t){return{numberFormat:zt(t),timeFormat:Yt(t)}};var _a=au.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",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"]});au.format=_a.numberFormat,au.geo={},dn.prototype={s:0,t:0,add:function(t){gn(t,this.t,xa),gn(xa.s,this.s,this),this.s?this.t+=xa.t:this.s=xa.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var xa=new dn;au.geo.stream=function(t,n){t&&ba.hasOwnProperty(t.type)?ba[t.type](t,n):vn(t,n)};var ba={Feature:function(t,n){vn(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r<i;)vn(e[r].geometry,n)}},Ma={Sphere:function(t,n){n.sphere()},Point:function(t,n){t=t.coordinates,n.point(t[0],t[1],t[2])},MultiPoint:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)t=e[r],n.point(t[0],t[1],t[2])},LineString:function(t,n){mn(t.coordinates,n,0)},MultiLineString:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)mn(e[r],n,0)},Polygon:function(t,n){yn(t.coordinates,n)},MultiPolygon:function(t,n){for(var e=t.coordinates,r=-1,i=e.length;++r<i;)yn(e[r],n)},GeometryCollection:function(t,n){for(var e=t.geometries,r=-1,i=e.length;++r<i;)vn(e[r],n)}};au.geo.area=function(t){return wa=0,au.geo.stream(t,Ea),wa};var wa,Ca=new dn,Ea={sphere:function(){wa+=4*Uu},point:N,lineStart:N,lineEnd:N,polygonStart:function(){Ca.reset(),Ea.lineStart=_n},polygonEnd:function(){var t=2*Ca;wa+=0>t?4*Uu+t:t,Ea.lineStart=Ea.lineEnd=Ea.point=N}};au.geo.bounds=function(){function t(t,n){_.push(x=[c=t,h=t]),f>n&&(f=n),n>p&&(p=n)}function n(n,e){var r=xn([n*zu,e*zu]);if(m){var i=Mn(m,r),o=[i[1],-i[0],0],u=Mn(o,i);En(u),u=Nn(u);var s=n-d,l=s>0?1:-1,g=u[0]*qu*l,v=_u(s)>180;if(v^(g>l*d&&l*n>g)){var y=u[1]*qu;y>p&&(p=y)}else if(g=(g+360)%360-180,v^(g>l*d&&l*n>g)){var y=-u[1]*qu;f>y&&(f=y)}else f>e&&(f=e),e>p&&(p=e);v?d>n?a(c,n)>a(c,h)&&(h=n):a(n,h)>a(c,h)&&(c=n):h>=c?(c>n&&(c=n),n>h&&(h=n)):n>d?a(c,n)>a(c,h)&&(h=n):a(n,h)>a(c,h)&&(c=n)}else t(n,e);m=r,d=n}function e(){b.point=n}function r(){x[0]=c,x[1]=h,b.point=t,m=null}function i(t,e){if(m){var r=t-d;y+=_u(r)>180?r+(r>0?360:-360):r}else g=t,v=e;Ea.point(t,e),n(t,e)}function o(){Ea.lineStart()}function u(){i(g,v),Ea.lineEnd(),_u(y)>Ou&&(c=-(h=180)),x[0]=c,x[1]=h,m=null}function a(t,n){return(n-=t)<0?n+360:n}function s(t,n){return t[0]-n[0]}function l(t,n){return n[0]<=n[1]?n[0]<=t&&t<=n[1]:t<n[0]||n[1]<t}var c,f,h,p,d,g,v,m,y,_,x,b={point:t,lineStart:e,lineEnd:r,polygonStart:function(){b.point=i,b.lineStart=o,b.lineEnd=u,y=0,Ea.polygonStart()},polygonEnd:function(){Ea.polygonEnd(),b.point=t,b.lineStart=e,b.lineEnd=r,0>Ca?(c=-(h=180),f=-(p=90)):y>Ou?p=90:-Ou>y&&(f=-90),x[0]=c,x[1]=h}};return function(t){p=h=-(c=f=1/0),_=[],au.geo.stream(t,b);var n=_.length;if(n){_.sort(s);for(var e,r=1,i=_[0],o=[i];n>r;++r)e=_[r],l(e[0],i)||l(e[1],i)?(a(i[0],e[1])>a(i[0],i[1])&&(i[1]=e[1]),a(e[0],i[1])>a(i[0],i[1])&&(i[0]=e[0])):o.push(i=e);for(var u,e,d=-(1/0),n=o.length-1,r=0,i=o[n];n>=r;i=e,++r)e=o[r],(u=a(i[1],e[0]))>d&&(d=u,c=e[0],h=i[1])}return _=x=null,c===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[c,f],[h,p]]}}(),au.geo.centroid=function(t){Na=Sa=Da=Ta=Aa=ka=Ra=Pa=Ia=Oa=La=0,au.geo.stream(t,Ua);var n=Ia,e=Oa,r=La,i=n*n+e*e+r*r;return Lu>i&&(n=ka,e=Ra,r=Pa,Ou>Sa&&(n=Da,e=Ta,r=Aa),i=n*n+e*e+r*r,Lu>i)?[NaN,NaN]:[Math.atan2(e,n)*qu,ut(r/Math.sqrt(i))*qu]};var Na,Sa,Da,Ta,Aa,ka,Ra,Pa,Ia,Oa,La,Ua={sphere:N,point:Dn,lineStart:An,lineEnd:kn,polygonStart:function(){Ua.lineStart=Rn},polygonEnd:function(){Ua.lineStart=An}},ja=jn(In,qn,Hn,[-Uu,-Uu/2]),Fa=1e9;au.geo.clipExtent=function(){var t,n,e,r,i,o,u={stream:function(t){return i&&(i.valid=!1),i=o(t),i.valid=!0,i},extent:function(a){return arguments.length?(o=Kn(t=+a[0][0],n=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),u):[[t,n],[e,r]]}};return u.extent([[0,0],[960,500]])},(au.geo.conicEqualArea=function(){return Gn($n)}).raw=$n,au.geo.albers=function(){return au.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},au.geo.albersUsa=function(){function t(t){var o=t[0],u=t[1];return n=null,e(o,u),n||(r(o,u),n)||i(o,u),n}var n,e,r,i,o=au.geo.albers(),u=au.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=au.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(t,e){n=[t,e]}};return t.invert=function(t){var n=o.scale(),e=o.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&.234>i&&r>=-.425&&-.214>r?u:i>=.166&&.234>i&&r>=-.214&&-.115>r?a:o).invert(t)},t.stream=function(t){var n=o.stream(t),e=u.stream(t),r=a.stream(t);return{point:function(t,i){n.point(t,i),e.point(t,i),r.point(t,i)},sphere:function(){n.sphere(),e.sphere(),r.sphere()},lineStart:function(){n.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){n.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){n.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){n.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},t.precision=function(n){return arguments.length?(o.precision(n),u.precision(n),a.precision(n),t):o.precision()},t.scale=function(n){return arguments.length?(o.scale(n),u.scale(.35*n),a.scale(n),t.translate(o.translate())):o.scale()},t.translate=function(n){if(!arguments.length)return o.translate();var l=o.scale(),c=+n[0],f=+n[1];return e=o.translate(n).clipExtent([[c-.455*l,f-.238*l],[c+.455*l,f+.238*l]]).stream(s).point,r=u.translate([c-.307*l,f+.201*l]).clipExtent([[c-.425*l+Ou,f+.12*l+Ou],[c-.214*l-Ou,f+.234*l-Ou]]).stream(s).point,i=a.translate([c-.205*l,f+.212*l]).clipExtent([[c-.214*l+Ou,f+.166*l+Ou],[c-.115*l-Ou,f+.234*l-Ou]]).stream(s).point,t},t.scale(1070)};var Ba,za,qa,Va,Ha,Wa,Ya={point:N,lineStart:N,lineEnd:N,polygonStart:function(){za=0,Ya.lineStart=Qn},polygonEnd:function(){Ya.lineStart=Ya.lineEnd=Ya.point=N,Ba+=_u(za/2)}},Xa={point:Zn,lineStart:N,lineEnd:N,polygonStart:N,polygonEnd:N},Ka={point:ne,lineStart:ee,lineEnd:re,polygonStart:function(){Ka.lineStart=ie},polygonEnd:function(){Ka.point=ne,Ka.lineStart=ee,Ka.lineEnd=re}};au.geo.path=function(){function t(t){return t&&("function"==typeof a&&o.pointRadius(+a.apply(this,arguments)),u&&u.valid||(u=i(o)),au.geo.stream(t,u)),o.result()}function n(){return u=null,t}var e,r,i,o,u,a=4.5;return t.area=function(t){return Ba=0,au.geo.stream(t,i(Ya)),Ba},t.centroid=function(t){return Da=Ta=Aa=ka=Ra=Pa=Ia=Oa=La=0,au.geo.stream(t,i(Ka)),La?[Ia/La,Oa/La]:Pa?[ka/Pa,Ra/Pa]:Aa?[Da/Aa,Ta/Aa]:[NaN,NaN]},t.bounds=function(t){return Ha=Wa=-(qa=Va=1/0),au.geo.stream(t,i(Xa)),[[qa,Va],[Ha,Wa]]},t.projection=function(t){return arguments.length?(i=(e=t)?t.stream||ae(t):w,n()):e},t.context=function(t){return arguments.length?(o=null==(r=t)?new Jn:new oe(t),"function"!=typeof a&&o.pointRadius(a),n()):r},t.pointRadius=function(n){return arguments.length?(a="function"==typeof n?n:(o.pointRadius(+n),+n),t):a},t.projection(au.geo.albersUsa()).context(null)},au.geo.transform=function(t){return{stream:function(n){var e=new se(n);for(var r in t)e[r]=t[r];return e}}},se.prototype={point:function(t,n){this.stream.point(t,n)},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()}},au.geo.projection=ce,au.geo.projectionMutator=fe,(au.geo.equirectangular=function(){return ce(pe)}).raw=pe.invert=pe,au.geo.rotation=function(t){function n(n){return n=t(n[0]*zu,n[1]*zu),n[0]*=qu,n[1]*=qu,n}return t=ge(t[0]%360*zu,t[1]*zu,t.length>2?t[2]*zu:0),n.invert=function(n){return n=t.invert(n[0]*zu,n[1]*zu),n[0]*=qu,n[1]*=qu,n},n},de.invert=pe,au.geo.circle=function(){function t(){var t="function"==typeof r?r.apply(this,arguments):r,n=ge(-t[0]*zu,-t[1]*zu,0).invert,i=[];return e(null,null,1,{point:function(t,e){i.push(t=n(t,e)),t[0]*=qu,t[1]*=qu}}),{type:"Polygon",coordinates:[i]}}var n,e,r=[0,0],i=6;return t.origin=function(n){return arguments.length?(r=n,t):r},t.angle=function(r){return arguments.length?(e=_e((n=+r)*zu,i*zu),t):n},t.precision=function(r){return arguments.length?(e=_e(n*zu,(i=+r)*zu),t):i},t.angle(90)},au.geo.distance=function(t,n){var e,r=(n[0]-t[0])*zu,i=t[1]*zu,o=n[1]*zu,u=Math.sin(r),a=Math.cos(r),s=Math.sin(i),l=Math.cos(i),c=Math.sin(o),f=Math.cos(o);return Math.atan2(Math.sqrt((e=f*u)*e+(e=l*c-s*f*a)*e),s*c+l*f*a)},au.geo.graticule=function(){function t(){return{type:"MultiLineString",coordinates:n()}}function n(){return au.range(Math.ceil(o/v)*v,i,v).map(h).concat(au.range(Math.ceil(l/m)*m,s,m).map(p)).concat(au.range(Math.ceil(r/d)*d,e,d).filter(function(t){return _u(t%v)>Ou}).map(c)).concat(au.range(Math.ceil(a/g)*g,u,g).filter(function(t){return _u(t%m)>Ou}).map(f))}var e,r,i,o,u,a,s,l,c,f,h,p,d=10,g=d,v=90,m=360,y=2.5;return t.lines=function(){return n().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(l).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.majorExtent(n).minorExtent(n):t.minorExtent()},t.majorExtent=function(n){return arguments.length?(o=+n[0][0],i=+n[1][0],l=+n[0][1],s=+n[1][1],o>i&&(n=o,o=i,i=n),l>s&&(n=l,l=s,s=n),t.precision(y)):[[o,l],[i,s]]},t.minorExtent=function(n){return arguments.length?(r=+n[0][0],e=+n[1][0],a=+n[0][1],u=+n[1][1],r>e&&(n=r,r=e,e=n),a>u&&(n=a,a=u,u=n),t.precision(y)):[[r,a],[e,u]]},t.step=function(n){return arguments.length?t.majorStep(n).minorStep(n):t.minorStep()},t.majorStep=function(n){return arguments.length?(v=+n[0],m=+n[1],t):[v,m]},t.minorStep=function(n){return arguments.length?(d=+n[0],g=+n[1],t):[d,g]},t.precision=function(n){return arguments.length?(y=+n,c=be(a,u,90),f=Me(r,e,y),h=be(l,s,90),p=Me(o,i,y),t):y},t.majorExtent([[-180,-90+Ou],[180,90-Ou]]).minorExtent([[-180,-80-Ou],[180,80+Ou]])},au.geo.greatArc=function(){function t(){return{type:"LineString",coordinates:[n||r.apply(this,arguments),e||i.apply(this,arguments)]}}var n,e,r=we,i=Ce;return t.distance=function(){return au.geo.distance(n||r.apply(this,arguments),e||i.apply(this,arguments))},t.source=function(e){return arguments.length?(r=e,n="function"==typeof e?null:e,t):r},t.target=function(n){return arguments.length?(i=n,e="function"==typeof n?null:n,t):i},t.precision=function(){return arguments.length?t:0},t},au.geo.interpolate=function(t,n){return Ee(t[0]*zu,t[1]*zu,n[0]*zu,n[1]*zu)},au.geo.length=function(t){return Ga=0,au.geo.stream(t,$a),Ga};var Ga,$a={sphere:N,point:N,lineStart:Ne,lineEnd:N,polygonStart:N,polygonEnd:N},Qa=Se(function(t){return Math.sqrt(2/(1+t))},function(t){return 2*Math.asin(t/2)});(au.geo.azimuthalEqualArea=function(){return ce(Qa)}).raw=Qa;var Za=Se(function(t){var n=Math.acos(t);return n&&n/Math.sin(n)},w);(au.geo.azimuthalEquidistant=function(){return ce(Za)}).raw=Za,(au.geo.conicConformal=function(){return Gn(De)}).raw=De,(au.geo.conicEquidistant=function(){return Gn(Te)}).raw=Te;var Ja=Se(function(t){return 1/t},Math.atan);(au.geo.gnomonic=function(){return ce(Ja)}).raw=Ja,Ae.invert=function(t,n){return[t,2*Math.atan(Math.exp(n))-Bu]},(au.geo.mercator=function(){return ke(Ae)}).raw=Ae;var ts=Se(function(){return 1},Math.asin);(au.geo.orthographic=function(){return ce(ts)}).raw=ts;var ns=Se(function(t){return 1/(1+t)},function(t){return 2*Math.atan(t)});(au.geo.stereographic=function(){return ce(ns)}).raw=ns,Re.invert=function(t,n){return[-n,2*Math.atan(Math.exp(t))-Bu]},(au.geo.transverseMercator=function(){var t=ke(Re),n=t.center,e=t.rotate;return t.center=function(t){return t?n([-t[1],t[0]]):(t=n(),[t[1],-t[0]])},t.rotate=function(t){return t?e([t[0],t[1],t.length>2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90])}).raw=Re,au.geom={},au.geom.hull=function(t){function n(t){if(t.length<3)return[];var n,i=kt(e),o=kt(r),u=t.length,a=[],s=[];for(n=0;u>n;n++)a.push([+i.call(this,t[n],n),+o.call(this,t[n],n),n]);for(a.sort(Le),n=0;u>n;n++)s.push([a[n][0],-a[n][1]]);var l=Oe(a),c=Oe(s),f=c[0]===l[0],h=c[c.length-1]===l[l.length-1],p=[];for(n=l.length-1;n>=0;--n)p.push(t[a[l[n]][2]]);for(n=+f;n<c.length-h;++n)p.push(t[a[c[n]][2]]);return p}var e=Pe,r=Ie;return arguments.length?n(t):(n.x=function(t){return arguments.length?(e=t,n):e},n.y=function(t){return arguments.length?(r=t,n):r},n)},au.geom.polygon=function(t){return Cu(t,es),t};var es=au.geom.polygon.prototype=[];es.area=function(){for(var t,n=-1,e=this.length,r=this[e-1],i=0;++n<e;)t=r,r=this[n],i+=t[1]*r[0]-t[0]*r[1];return.5*i},es.centroid=function(t){var n,e,r=-1,i=this.length,o=0,u=0,a=this[i-1];for(arguments.length||(t=-1/(6*this.area()));++r<i;)n=a,a=this[r],e=n[0]*a[1]-a[0]*n[1],o+=(n[0]+a[0])*e,u+=(n[1]+a[1])*e;return[o*t,u*t]},es.clip=function(t){for(var n,e,r,i,o,u,a=Fe(t),s=-1,l=this.length-Fe(this),c=this[l-1];++s<l;){for(n=t.slice(),t.length=0,i=this[s],o=n[(r=n.length-a)-1],e=-1;++e<r;)u=n[e],Ue(u,c,i)?(Ue(o,c,i)||t.push(je(o,u,c,i)),t.push(u)):Ue(o,c,i)&&t.push(je(o,u,c,i)),o=u;a&&t.push(t[0]),c=i}return t};var rs,is,os,us,as,ss=[],ls=[];Xe.prototype.prepare=function(){for(var t,n=this.edges,e=n.length;e--;)t=n[e].edge,t.b&&t.a||n.splice(e,1);return n.sort(Ge),n.length},or.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},ur.prototype={insert:function(t,n){var e,r,i;if(t){if(n.P=t,n.N=t.N,t.N&&(t.N.P=n),t.N=n,t.R){for(t=t.R;t.L;)t=t.L;t.L=n}else t.R=n;e=t}else this._?(t=cr(this._),n.P=null,n.N=t,t.P=t.L=n,e=t):(n.P=n.N=null,this._=n,e=null);for(n.L=n.R=null,n.U=e,n.C=!0,t=n;e&&e.C;)r=e.U,e===r.L?(i=r.R,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.R&&(sr(this,e),t=e,e=t.U),e.C=!1,r.C=!0,lr(this,r))):(i=r.L,i&&i.C?(e.C=i.C=!1,r.C=!0,t=r):(t===e.L&&(lr(this,e),t=e,e=t.U),e.C=!1,r.C=!0,sr(this,r))),e=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 n,e,r,i=t.U,o=t.L,u=t.R;if(e=o?u?cr(u):o:u,i?i.L===t?i.L=e:i.R=e:this._=e,o&&u?(r=e.C,e.C=t.C,e.L=o,o.U=e,e!==u?(i=e.U,e.U=t.U,t=e.R,i.L=t,e.R=u,u.U=e):(e.U=i,i=e,t=e.R)):(r=t.C,t=e),t&&(t.U=i),!r){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===i.L){if(n=i.R,n.C&&(n.C=!1,i.C=!0,sr(this,i),n=i.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,lr(this,n),n=i.R),n.C=i.C,i.C=n.R.C=!1,sr(this,i),t=this._;break}}else if(n=i.L,n.C&&(n.C=!1,i.C=!0,lr(this,i),n=i.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,sr(this,n),n=i.L),n.C=i.C,i.C=n.L.C=!1,lr(this,i),t=this._;break}n.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}},au.geom.voronoi=function(t){function n(t){var n=new Array(t.length),r=a[0][0],i=a[0][1],o=a[1][0],u=a[1][1];return fr(e(t),a).cells.forEach(function(e,a){var s=e.edges,l=e.site,c=n[a]=s.length?s.map(function(t){var n=t.start();return[n.x,n.y]}):l.x>=r&&l.x<=o&&l.y>=i&&l.y<=u?[[r,u],[o,u],[o,i],[r,i]]:[];c.point=t[a]}),n}function e(t){return t.map(function(t,n){return{x:Math.round(o(t,n)/Ou)*Ou,y:Math.round(u(t,n)/Ou)*Ou,i:n}})}var r=Pe,i=Ie,o=r,u=i,a=cs;return t?n(t):(n.links=function(t){return fr(e(t)).edges.filter(function(t){return t.l&&t.r}).map(function(n){return{source:t[n.l.i],target:t[n.r.i]}})},n.triangles=function(t){var n=[];return fr(e(t)).cells.forEach(function(e,r){for(var i,o,u=e.site,a=e.edges.sort(Ge),s=-1,l=a.length,c=a[l-1].edge,f=c.l===u?c.r:c.l;++s<l;)i=c,o=f,c=a[s].edge,f=c.l===u?c.r:c.l,r<o.i&&r<f.i&&pr(u,o,f)<0&&n.push([t[r],t[o.i],t[f.i]])}),n},n.x=function(t){return arguments.length?(o=kt(r=t),n):r},n.y=function(t){return arguments.length?(u=kt(i=t),n):i},n.clipExtent=function(t){return arguments.length?(a=null==t?cs:t,n):a===cs?null:a},n.size=function(t){return arguments.length?n.clipExtent(t&&[[0,0],t]):a===cs?null:a&&a[1]},n)};var cs=[[-1e6,-1e6],[1e6,1e6]];au.geom.delaunay=function(t){return au.geom.voronoi().triangles(t)},au.geom.quadtree=function(t,n,e,r,i){function o(t){function o(t,n,e,r,i,o,u,a){if(!isNaN(e)&&!isNaN(r))if(t.leaf){var s=t.x,c=t.y;if(null!=s)if(_u(s-e)+_u(c-r)<.01)l(t,n,e,r,i,o,u,a);else{var f=t.point;t.x=t.y=t.point=null,l(t,f,s,c,i,o,u,a),l(t,n,e,r,i,o,u,a)}else t.x=e,t.y=r,t.point=n}else l(t,n,e,r,i,o,u,a)}function l(t,n,e,r,i,u,a,s){var l=.5*(i+a),c=.5*(u+s),f=e>=l,h=r>=c,p=h<<1|f;t.leaf=!1,t=t.nodes[p]||(t.nodes[p]=vr()),f?i=l:a=l,h?u=c:s=c,o(t,n,e,r,i,u,a,s)}var c,f,h,p,d,g,v,m,y,_=kt(a),x=kt(s);if(null!=n)g=n,v=e,m=r,y=i;else if(m=y=-(g=v=1/0),f=[],h=[],d=t.length,u)for(p=0;d>p;++p)c=t[p],c.x<g&&(g=c.x),c.y<v&&(v=c.y),c.x>m&&(m=c.x),c.y>y&&(y=c.y),f.push(c.x),h.push(c.y);else for(p=0;d>p;++p){var b=+_(c=t[p],p),M=+x(c,p);g>b&&(g=b),v>M&&(v=M),b>m&&(m=b),M>y&&(y=M),f.push(b),h.push(M)}var w=m-g,C=y-v;w>C?y=v+w:m=g+C;var E=vr();if(E.add=function(t){o(E,t,+_(t,++p),+x(t,p),g,v,m,y)},E.visit=function(t){mr(t,E,g,v,m,y)},E.find=function(t){return yr(E,t[0],t[1],g,v,m,y)},p=-1,null==n){for(;++p<d;)o(E,t[p],f[p],h[p],g,v,m,y);--p}else t.forEach(E.add);return f=h=t=c=null,E}var u,a=Pe,s=Ie;return(u=arguments.length)?(a=dr,s=gr,3===u&&(i=e,r=n,e=n=0),o(t)):(o.x=function(t){return arguments.length?(a=t,o):a},o.y=function(t){return arguments.length?(s=t,o):s},o.extent=function(t){return arguments.length?(null==t?n=e=r=i=null:(n=+t[0][0],e=+t[0][1],r=+t[1][0],i=+t[1][1]),o):null==n?null:[[n,e],[r,i]]},o.size=function(t){return arguments.length?(null==t?n=e=r=i=null:(n=e=0,r=+t[0],i=+t[1]),o):null==n?null:[r-n,i-e]},o)},au.interpolateRgb=_r,au.interpolateObject=xr,au.interpolateNumber=br,au.interpolateString=Mr;var fs=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,hs=new RegExp(fs.source,"g");au.interpolate=wr,au.interpolators=[function(t,n){var e=typeof n;return("string"===e?ra.has(n)||/^(#|rgb\(|hsl\()/.test(n)?_r:Mr:n instanceof ft?_r:Array.isArray(n)?Cr:"object"===e&&isNaN(n)?xr:br)(t,n)}],au.interpolateArray=Cr;var ps=function(){return w},ds=au.map({linear:ps,poly:kr,quad:function(){return Dr},cubic:function(){return Tr},sin:function(){return Rr},exp:function(){return Pr},circle:function(){return Ir},elastic:Or,back:Lr,bounce:function(){return Ur}}),gs=au.map({"in":w,out:Nr,"in-out":Sr,"out-in":function(t){return Sr(Nr(t))}});au.ease=function(t){var n=t.indexOf("-"),e=n>=0?t.slice(0,n):t,r=n>=0?t.slice(n+1):"in";return e=ds.get(e)||ps,r=gs.get(r)||w,Er(r(e.apply(null,su.call(arguments,1))))},au.interpolateHcl=jr,au.interpolateHsl=Fr,au.interpolateLab=Br,au.interpolateRound=zr,au.transform=function(t){var n=cu.createElementNS(au.ns.prefix.svg,"g");return(au.transform=function(t){if(null!=t){n.setAttribute("transform",t);var e=n.transform.baseVal.consolidate()}return new qr(e?e.matrix:vs)})(t)},qr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var vs={a:1,b:0,c:0,d:1,e:0,f:0};au.interpolateTransform=Yr,au.layout={},au.layout.bundle=function(){return function(t){for(var n=[],e=-1,r=t.length;++e<r;)n.push(Gr(t[e]));return n}},au.layout.chord=function(){function t(){var t,l,f,h,p,d={},g=[],v=au.range(o),m=[];for(e=[],r=[],t=0,h=-1;++h<o;){for(l=0,p=-1;++p<o;)l+=i[h][p];g.push(l),m.push(au.range(o)),t+=l}for(u&&v.sort(function(t,n){return u(g[t],g[n])}),a&&m.forEach(function(t,n){t.sort(function(t,e){return a(i[n][t],i[n][e])})}),t=(ju-c*o)/t,l=0,h=-1;++h<o;){for(f=l,p=-1;++p<o;){var y=v[h],_=m[y][p],x=i[y][_],b=l,M=l+=x*t;
d[y+"-"+_]={index:y,subindex:_,startAngle:b,endAngle:M,value:x}}r[y]={index:y,startAngle:f,endAngle:l,value:(l-f)/t},l+=c}for(h=-1;++h<o;)for(p=h-1;++p<o;){var w=d[h+"-"+p],C=d[p+"-"+h];(w.value||C.value)&&e.push(w.value<C.value?{source:C,target:w}:{source:w,target:C})}s&&n()}function n(){e.sort(function(t,n){return s((t.source.value+t.target.value)/2,(n.source.value+n.target.value)/2)})}var e,r,i,o,u,a,s,l={},c=0;return l.matrix=function(t){return arguments.length?(o=(i=t)&&i.length,e=r=null,l):i},l.padding=function(t){return arguments.length?(c=t,e=r=null,l):c},l.sortGroups=function(t){return arguments.length?(u=t,e=r=null,l):u},l.sortSubgroups=function(t){return arguments.length?(a=t,e=null,l):a},l.sortChords=function(t){return arguments.length?(s=t,e&&n(),l):s},l.chords=function(){return e||t(),e},l.groups=function(){return r||t(),r},l},au.layout.force=function(){function t(t){return function(n,e,r,i){if(n.point!==t){var o=n.cx-t.x,u=n.cy-t.y,a=i-e,s=o*o+u*u;if(s>a*a/v){if(d>s){var l=n.charge/s;t.px-=o*l,t.py-=u*l}return!0}if(n.point&&s&&d>s){var l=n.pointCharge/s;t.px-=o*l,t.py-=u*l}}return!n.charge}}function n(t){t.px=au.event.x,t.py=au.event.y,a.resume()}var e,r,i,o,u,a={},s=au.dispatch("start","tick","end"),l=[1,1],c=.9,f=ms,h=ys,p=-30,d=_s,g=.1,v=.64,m=[],y=[];return a.tick=function(){if((r*=.99)<.005)return s.end({type:"end",alpha:r=0}),!0;var n,e,a,f,h,d,v,_,x,b=m.length,M=y.length;for(e=0;M>e;++e)a=y[e],f=a.source,h=a.target,_=h.x-f.x,x=h.y-f.y,(d=_*_+x*x)&&(d=r*o[e]*((d=Math.sqrt(d))-i[e])/d,_*=d,x*=d,h.x-=_*(v=f.weight/(h.weight+f.weight)),h.y-=x*v,f.x+=_*(v=1-v),f.y+=x*v);if((v=r*g)&&(_=l[0]/2,x=l[1]/2,e=-1,v))for(;++e<b;)a=m[e],a.x+=(_-a.x)*v,a.y+=(x-a.y)*v;if(p)for(ei(n=au.geom.quadtree(m),r,u),e=-1;++e<b;)(a=m[e]).fixed||n.visit(t(a));for(e=-1;++e<b;)a=m[e],a.fixed?(a.x=a.px,a.y=a.py):(a.x-=(a.px-(a.px=a.x))*c,a.y-=(a.py-(a.py=a.y))*c);s.tick({type:"tick",alpha:r})},a.nodes=function(t){return arguments.length?(m=t,a):m},a.links=function(t){return arguments.length?(y=t,a):y},a.size=function(t){return arguments.length?(l=t,a):l},a.linkDistance=function(t){return arguments.length?(f="function"==typeof t?t:+t,a):f},a.distance=a.linkDistance,a.linkStrength=function(t){return arguments.length?(h="function"==typeof t?t:+t,a):h},a.friction=function(t){return arguments.length?(c=+t,a):c},a.charge=function(t){return arguments.length?(p="function"==typeof t?t:+t,a):p},a.chargeDistance=function(t){return arguments.length?(d=t*t,a):Math.sqrt(d)},a.gravity=function(t){return arguments.length?(g=+t,a):g},a.theta=function(t){return arguments.length?(v=t*t,a):Math.sqrt(v)},a.alpha=function(t){return arguments.length?(t=+t,r?r=t>0?t:0:t>0&&(s.start({type:"start",alpha:r=t}),au.timer(a.tick)),a):r},a.start=function(){function t(t,r){if(!e){for(e=new Array(s),a=0;s>a;++a)e[a]=[];for(a=0;c>a;++a){var i=y[a];e[i.source.index].push(i.target),e[i.target.index].push(i.source)}}for(var o,u=e[n],a=-1,l=u.length;++a<l;)if(!isNaN(o=u[a][t]))return o;return Math.random()*r}var n,e,r,s=m.length,c=y.length,d=l[0],g=l[1];for(n=0;s>n;++n)(r=m[n]).index=n,r.weight=0;for(n=0;c>n;++n)r=y[n],"number"==typeof r.source&&(r.source=m[r.source]),"number"==typeof r.target&&(r.target=m[r.target]),++r.source.weight,++r.target.weight;for(n=0;s>n;++n)r=m[n],isNaN(r.x)&&(r.x=t("x",d)),isNaN(r.y)&&(r.y=t("y",g)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(i=[],"function"==typeof f)for(n=0;c>n;++n)i[n]=+f.call(this,y[n],n);else for(n=0;c>n;++n)i[n]=f;if(o=[],"function"==typeof h)for(n=0;c>n;++n)o[n]=+h.call(this,y[n],n);else for(n=0;c>n;++n)o[n]=h;if(u=[],"function"==typeof p)for(n=0;s>n;++n)u[n]=+p.call(this,m[n],n);else for(n=0;s>n;++n)u[n]=p;return a.resume()},a.resume=function(){return a.alpha(.1)},a.stop=function(){return a.alpha(0)},a.drag=function(){return e||(e=au.behavior.drag().origin(w).on("dragstart.force",Zr).on("drag.force",n).on("dragend.force",Jr)),arguments.length?void this.on("mouseover.force",ti).on("mouseout.force",ni).call(e):e},au.rebind(a,s,"on")};var ms=20,ys=1,_s=1/0;au.layout.hierarchy=function(){function t(i){var o,u=[i],a=[];for(i.depth=0;null!=(o=u.pop());)if(a.push(o),(l=e.call(t,o,o.depth))&&(s=l.length)){for(var s,l,c;--s>=0;)u.push(c=l[s]),c.parent=o,c.depth=o.depth+1;r&&(o.value=0),o.children=l}else r&&(o.value=+r.call(t,o,o.depth)||0),delete o.children;return oi(i,function(t){var e,i;n&&(e=t.children)&&e.sort(n),r&&(i=t.parent)&&(i.value+=t.value)}),a}var n=si,e=ui,r=ai;return t.sort=function(e){return arguments.length?(n=e,t):n},t.children=function(n){return arguments.length?(e=n,t):e},t.value=function(n){return arguments.length?(r=n,t):r},t.revalue=function(n){return r&&(ii(n,function(t){t.children&&(t.value=0)}),oi(n,function(n){var e;n.children||(n.value=+r.call(t,n,n.depth)||0),(e=n.parent)&&(e.value+=n.value)})),n},t},au.layout.partition=function(){function t(n,e,r,i){var o=n.children;if(n.x=e,n.y=n.depth*i,n.dx=r,n.dy=i,o&&(u=o.length)){var u,a,s,l=-1;for(r=n.value?r/n.value:0;++l<u;)t(a=o[l],e,s=a.value*r,i),e+=s}}function n(t){var e=t.children,r=0;if(e&&(i=e.length))for(var i,o=-1;++o<i;)r=Math.max(r,n(e[o]));return 1+r}function e(e,o){var u=r.call(this,e,o);return t(u[0],0,i[0],i[1]/n(u[0])),u}var r=au.layout.hierarchy(),i=[1,1];return e.size=function(t){return arguments.length?(i=t,e):i},ri(e,r)},au.layout.pie=function(){function t(u){var a,s=u.length,l=u.map(function(e,r){return+n.call(t,e,r)}),c=+("function"==typeof r?r.apply(this,arguments):r),f=("function"==typeof i?i.apply(this,arguments):i)-c,h=Math.min(Math.abs(f)/s,+("function"==typeof o?o.apply(this,arguments):o)),p=h*(0>f?-1:1),d=(f-s*p)/au.sum(l),g=au.range(s),v=[];return null!=e&&g.sort(e===xs?function(t,n){return l[n]-l[t]}:function(t,n){return e(u[t],u[n])}),g.forEach(function(t){v[t]={data:u[t],value:a=l[t],startAngle:c,endAngle:c+=a*d+p,padAngle:h}}),v}var n=Number,e=xs,r=0,i=ju,o=0;return t.value=function(e){return arguments.length?(n=e,t):n},t.sort=function(n){return arguments.length?(e=n,t):e},t.startAngle=function(n){return arguments.length?(r=n,t):r},t.endAngle=function(n){return arguments.length?(i=n,t):i},t.padAngle=function(n){return arguments.length?(o=n,t):o},t};var xs={};au.layout.stack=function(){function t(a,s){if(!(h=a.length))return a;var l=a.map(function(e,r){return n.call(t,e,r)}),c=l.map(function(n){return n.map(function(n,e){return[o.call(t,n,e),u.call(t,n,e)]})}),f=e.call(t,c,s);l=au.permute(l,f),c=au.permute(c,f);var h,p,d,g,v=r.call(t,c,s),m=l[0].length;for(d=0;m>d;++d)for(i.call(t,l[0][d],g=v[d],c[0][d][1]),p=1;h>p;++p)i.call(t,l[p][d],g+=c[p-1][d][1],c[p][d][1]);return a}var n=w,e=pi,r=di,i=hi,o=ci,u=fi;return t.values=function(e){return arguments.length?(n=e,t):n},t.order=function(n){return arguments.length?(e="function"==typeof n?n:bs.get(n)||pi,t):e},t.offset=function(n){return arguments.length?(r="function"==typeof n?n:Ms.get(n)||di,t):r},t.x=function(n){return arguments.length?(o=n,t):o},t.y=function(n){return arguments.length?(u=n,t):u},t.out=function(n){return arguments.length?(i=n,t):i},t};var bs=au.map({"inside-out":function(t){var n,e,r=t.length,i=t.map(gi),o=t.map(vi),u=au.range(r).sort(function(t,n){return i[t]-i[n]}),a=0,s=0,l=[],c=[];for(n=0;r>n;++n)e=u[n],s>a?(a+=o[e],l.push(e)):(s+=o[e],c.push(e));return c.reverse().concat(l)},reverse:function(t){return au.range(t.length).reverse()},"default":pi}),Ms=au.map({silhouette:function(t){var n,e,r,i=t.length,o=t[0].length,u=[],a=0,s=[];for(e=0;o>e;++e){for(n=0,r=0;i>n;n++)r+=t[n][e][1];r>a&&(a=r),u.push(r)}for(e=0;o>e;++e)s[e]=(a-u[e])/2;return s},wiggle:function(t){var n,e,r,i,o,u,a,s,l,c=t.length,f=t[0],h=f.length,p=[];for(p[0]=s=l=0,e=1;h>e;++e){for(n=0,i=0;c>n;++n)i+=t[n][e][1];for(n=0,o=0,a=f[e][0]-f[e-1][0];c>n;++n){for(r=0,u=(t[n][e][1]-t[n][e-1][1])/(2*a);n>r;++r)u+=(t[r][e][1]-t[r][e-1][1])/a;o+=u*t[n][e][1]}p[e]=s-=i?o/i*a:0,l>s&&(l=s)}for(e=0;h>e;++e)p[e]-=l;return p},expand:function(t){var n,e,r,i=t.length,o=t[0].length,u=1/i,a=[];for(e=0;o>e;++e){for(n=0,r=0;i>n;n++)r+=t[n][e][1];if(r)for(n=0;i>n;n++)t[n][e][1]/=r;else for(n=0;i>n;n++)t[n][e][1]=u}for(e=0;o>e;++e)a[e]=0;return a},zero:di});au.layout.histogram=function(){function t(t,o){for(var u,a,s=[],l=t.map(e,this),c=r.call(this,l,o),f=i.call(this,c,l,o),o=-1,h=l.length,p=f.length-1,d=n?1:1/h;++o<p;)u=s[o]=[],u.dx=f[o+1]-(u.x=f[o]),u.y=0;if(p>0)for(o=-1;++o<h;)a=l[o],a>=c[0]&&a<=c[1]&&(u=s[au.bisect(f,a,1,p)-1],u.y+=d,u.push(t[o]));return s}var n=!0,e=Number,r=xi,i=yi;return t.value=function(n){return arguments.length?(e=n,t):e},t.range=function(n){return arguments.length?(r=kt(n),t):r},t.bins=function(n){return arguments.length?(i="number"==typeof n?function(t){return _i(t,n)}:kt(n),t):i},t.frequency=function(e){return arguments.length?(n=!!e,t):n},t},au.layout.pack=function(){function t(t,o){var u=e.call(this,t,o),a=u[0],s=i[0],l=i[1],c=null==n?Math.sqrt:"function"==typeof n?n:function(){return n};if(a.x=a.y=0,oi(a,function(t){t.r=+c(t.value)}),oi(a,Ei),r){var f=r*(n?1:Math.max(2*a.r/s,2*a.r/l))/2;oi(a,function(t){t.r+=f}),oi(a,Ei),oi(a,function(t){t.r-=f})}return Di(a,s/2,l/2,n?1:1/Math.max(2*a.r/s,2*a.r/l)),u}var n,e=au.layout.hierarchy().sort(bi),r=0,i=[1,1];return t.size=function(n){return arguments.length?(i=n,t):i},t.radius=function(e){return arguments.length?(n=null==e||"function"==typeof e?e:+e,t):n},t.padding=function(n){return arguments.length?(r=+n,t):r},ri(t,e)},au.layout.tree=function(){function t(t,i){var c=u.call(this,t,i),f=c[0],h=n(f);if(oi(h,e),h.parent.m=-h.z,ii(h,r),l)ii(f,o);else{var p=f,d=f,g=f;ii(f,function(t){t.x<p.x&&(p=t),t.x>d.x&&(d=t),t.depth>g.depth&&(g=t)});var v=a(p,d)/2-p.x,m=s[0]/(d.x+a(d,p)/2+v),y=s[1]/(g.depth||1);ii(f,function(t){t.x=(t.x+v)*m,t.y=t.depth*y})}return c}function n(t){for(var n,e={A:null,children:[t]},r=[e];null!=(n=r.pop());)for(var i,o=n.children,u=0,a=o.length;a>u;++u)r.push((o[u]=i={_:o[u],parent:n,children:(i=o[u].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:u}).a=i);return e.children[0]}function e(t){var n=t.children,e=t.parent.children,r=t.i?e[t.i-1]:null;if(n.length){Ii(t);var o=(n[0].z+n[n.length-1].z)/2;r?(t.z=r.z+a(t._,r._),t.m=t.z-o):t.z=o}else r&&(t.z=r.z+a(t._,r._));t.parent.A=i(t,r,t.parent.A||e[0])}function r(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function i(t,n,e){if(n){for(var r,i=t,o=t,u=n,s=i.parent.children[0],l=i.m,c=o.m,f=u.m,h=s.m;u=Ri(u),i=ki(i),u&&i;)s=ki(s),o=Ri(o),o.a=t,r=u.z+f-i.z-l+a(u._,i._),r>0&&(Pi(Oi(u,t,e),t,r),l+=r,c+=r),f+=u.m,l+=i.m,h+=s.m,c+=o.m;u&&!Ri(o)&&(o.t=u,o.m+=f-c),i&&!ki(s)&&(s.t=i,s.m+=l-h,e=t)}return e}function o(t){t.x*=s[0],t.y=t.depth*s[1]}var u=au.layout.hierarchy().sort(null).value(null),a=Ai,s=[1,1],l=null;return t.separation=function(n){return arguments.length?(a=n,t):a},t.size=function(n){return arguments.length?(l=null==(s=n)?o:null,t):l?null:s},t.nodeSize=function(n){return arguments.length?(l=null==(s=n)?null:o,t):l?s:null},ri(t,u)},au.layout.cluster=function(){function t(t,o){var u,a=n.call(this,t,o),s=a[0],l=0;oi(s,function(t){var n=t.children;n&&n.length?(t.x=Ui(n),t.y=Li(n)):(t.x=u?l+=e(t,u):0,t.y=0,u=t)});var c=ji(s),f=Fi(s),h=c.x-e(c,f)/2,p=f.x+e(f,c)/2;return oi(s,i?function(t){t.x=(t.x-s.x)*r[0],t.y=(s.y-t.y)*r[1]}:function(t){t.x=(t.x-h)/(p-h)*r[0],t.y=(1-(s.y?t.y/s.y:1))*r[1]}),a}var n=au.layout.hierarchy().sort(null).value(null),e=Ai,r=[1,1],i=!1;return t.separation=function(n){return arguments.length?(e=n,t):e},t.size=function(n){return arguments.length?(i=null==(r=n),t):i?null:r},t.nodeSize=function(n){return arguments.length?(i=null!=(r=n),t):i?r:null},ri(t,n)},au.layout.treemap=function(){function t(t,n){for(var e,r,i=-1,o=t.length;++i<o;)r=(e=t[i]).value*(0>n?0:n),e.area=isNaN(r)||0>=r?0:r}function n(e){var o=e.children;if(o&&o.length){var u,a,s,l=f(e),c=[],h=o.slice(),d=1/0,g="slice"===p?l.dx:"dice"===p?l.dy:"slice-dice"===p?1&e.depth?l.dy:l.dx:Math.min(l.dx,l.dy);for(t(h,l.dx*l.dy/e.value),c.area=0;(s=h.length)>0;)c.push(u=h[s-1]),c.area+=u.area,"squarify"!==p||(a=r(c,g))<=d?(h.pop(),d=a):(c.area-=c.pop().area,i(c,g,l,!1),g=Math.min(l.dx,l.dy),c.length=c.area=0,d=1/0);c.length&&(i(c,g,l,!0),c.length=c.area=0),o.forEach(n)}}function e(n){var r=n.children;if(r&&r.length){var o,u=f(n),a=r.slice(),s=[];for(t(a,u.dx*u.dy/n.value),s.area=0;o=a.pop();)s.push(o),s.area+=o.area,null!=o.z&&(i(s,o.z?u.dx:u.dy,u,!a.length),s.length=s.area=0);r.forEach(e)}}function r(t,n){for(var e,r=t.area,i=0,o=1/0,u=-1,a=t.length;++u<a;)(e=t[u].area)&&(o>e&&(o=e),e>i&&(i=e));return r*=r,n*=n,r?Math.max(n*i*d/r,r/(n*o*d)):1/0}function i(t,n,e,r){var i,o=-1,u=t.length,a=e.x,l=e.y,c=n?s(t.area/n):0;if(n==e.dx){for((r||c>e.dy)&&(c=e.dy);++o<u;)i=t[o],i.x=a,i.y=l,i.dy=c,a+=i.dx=Math.min(e.x+e.dx-a,c?s(i.area/c):0);i.z=!0,i.dx+=e.x+e.dx-a,e.y+=c,e.dy-=c}else{for((r||c>e.dx)&&(c=e.dx);++o<u;)i=t[o],i.x=a,i.y=l,i.dx=c,l+=i.dy=Math.min(e.y+e.dy-l,c?s(i.area/c):0);i.z=!1,i.dy+=e.y+e.dy-l,e.x+=c,e.dx-=c}}function o(r){var i=u||a(r),o=i[0];return o.x=0,o.y=0,o.dx=l[0],o.dy=l[1],u&&a.revalue(o),t([o],o.dx*o.dy/o.value),(u?e:n)(o),h&&(u=i),i}var u,a=au.layout.hierarchy(),s=Math.round,l=[1,1],c=null,f=Bi,h=!1,p="squarify",d=.5*(1+Math.sqrt(5));return o.size=function(t){return arguments.length?(l=t,o):l},o.padding=function(t){function n(n){var e=t.call(o,n,n.depth);return null==e?Bi(n):zi(n,"number"==typeof e?[e,e,e,e]:e)}function e(n){return zi(n,t)}if(!arguments.length)return c;var r;return f=null==(c=t)?Bi:"function"==(r=typeof t)?n:"number"===r?(t=[t,t,t,t],e):e,o},o.round=function(t){return arguments.length?(s=t?Math.round:Number,o):s!=Number},o.sticky=function(t){return arguments.length?(h=t,u=null,o):h},o.ratio=function(t){return arguments.length?(d=t,o):d},o.mode=function(t){return arguments.length?(p=t+"",o):p},ri(o,a)},au.random={normal:function(t,n){var e=arguments.length;return 2>e&&(n=1),1>e&&(t=0),function(){var e,r,i;do e=2*Math.random()-1,r=2*Math.random()-1,i=e*e+r*r;while(!i||i>1);return t+n*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var t=au.random.normal.apply(au,arguments);return function(){return Math.exp(t())}},bates:function(t){var n=au.random.irwinHall(t);return function(){return n()/t}},irwinHall:function(t){return function(){for(var n=0,e=0;t>e;e++)n+=Math.random();return n}}},au.scale={};var ws={floor:w,ceil:w};au.scale.linear=function(){return Ki([0,1],[0,1],wr,!1)};var Cs={s:1,g:1,p:1,r:1,e:1};au.scale.log=function(){return eo(au.scale.linear().domain([0,1]),10,!0,[1,10])};var Es=au.format(".0e"),Ns={floor:function(t){return-Math.ceil(-t)},ceil:function(t){return-Math.floor(-t)}};au.scale.pow=function(){return ro(au.scale.linear(),1,[0,1])},au.scale.sqrt=function(){return au.scale.pow().exponent(.5)},au.scale.ordinal=function(){return oo([],{t:"range",a:[[]]})},au.scale.category10=function(){return au.scale.ordinal().range(Ss)},au.scale.category20=function(){return au.scale.ordinal().range(Ds)},au.scale.category20b=function(){return au.scale.ordinal().range(Ts)},au.scale.category20c=function(){return au.scale.ordinal().range(As)};var Ss=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(Ct),Ds=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(Ct),Ts=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(Ct),As=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(Ct);au.scale.quantile=function(){return uo([],[])},au.scale.quantize=function(){return ao(0,1,[0,1])},au.scale.threshold=function(){return so([.5],[0,1])},au.scale.identity=function(){return lo([0,1])},au.svg={},au.svg.arc=function(){function t(){var t=Math.max(0,+e.apply(this,arguments)),l=Math.max(0,+r.apply(this,arguments)),c=u.apply(this,arguments)-Bu,f=a.apply(this,arguments)-Bu,h=Math.abs(f-c),p=c>f?0:1;if(t>l&&(d=l,l=t,t=d),h>=Fu)return n(l,p)+(t?n(t,1-p):"")+"Z";var d,g,v,m,y,_,x,b,M,w,C,E,N=0,S=0,D=[];if((m=(+s.apply(this,arguments)||0)/2)&&(v=o===ks?Math.sqrt(t*t+l*l):+o.apply(this,arguments),p||(S*=-1),l&&(S=ut(v/l*Math.sin(m))),t&&(N=ut(v/t*Math.sin(m)))),l){y=l*Math.cos(c+S),_=l*Math.sin(c+S),x=l*Math.cos(f-S),b=l*Math.sin(f-S);var T=Math.abs(f-c-2*S)<=Uu?0:1;if(S&&mo(y,_,x,b)===p^T){var A=(c+f)/2;y=l*Math.cos(A),_=l*Math.sin(A),x=b=null}}else y=_=0;if(t){M=t*Math.cos(f-N),w=t*Math.sin(f-N),C=t*Math.cos(c+N),E=t*Math.sin(c+N);var k=Math.abs(c-f+2*N)<=Uu?0:1;if(N&&mo(M,w,C,E)===1-p^k){var R=(c+f)/2;M=t*Math.cos(R),w=t*Math.sin(R),C=E=null}}else M=w=0;if((d=Math.min(Math.abs(l-t)/2,+i.apply(this,arguments)))>.001){g=l>t^p?0:1;var P=null==C?[M,w]:null==x?[y,_]:je([y,_],[C,E],[x,b],[M,w]),I=y-P[0],O=_-P[1],L=x-P[0],U=b-P[1],j=1/Math.sin(Math.acos((I*L+O*U)/(Math.sqrt(I*I+O*O)*Math.sqrt(L*L+U*U)))/2),F=Math.sqrt(P[0]*P[0]+P[1]*P[1]);if(null!=x){var B=Math.min(d,(l-F)/(j+1)),z=yo(null==C?[M,w]:[C,E],[y,_],l,B,p),q=yo([x,b],[M,w],l,B,p);d===B?D.push("M",z[0],"A",B,",",B," 0 0,",g," ",z[1],"A",l,",",l," 0 ",1-p^mo(z[1][0],z[1][1],q[1][0],q[1][1]),",",p," ",q[1],"A",B,",",B," 0 0,",g," ",q[0]):D.push("M",z[0],"A",B,",",B," 0 1,",g," ",q[0])}else D.push("M",y,",",_);if(null!=C){var V=Math.min(d,(t-F)/(j-1)),H=yo([y,_],[C,E],t,-V,p),W=yo([M,w],null==x?[y,_]:[x,b],t,-V,p);d===V?D.push("L",W[0],"A",V,",",V," 0 0,",g," ",W[1],"A",t,",",t," 0 ",p^mo(W[1][0],W[1][1],H[1][0],H[1][1]),",",1-p," ",H[1],"A",V,",",V," 0 0,",g," ",H[0]):D.push("L",W[0],"A",V,",",V," 0 0,",g," ",H[0])}else D.push("L",M,",",w)}else D.push("M",y,",",_),null!=x&&D.push("A",l,",",l," 0 ",T,",",p," ",x,",",b),D.push("L",M,",",w),null!=C&&D.push("A",t,",",t," 0 ",k,",",1-p," ",C,",",E);return D.push("Z"),D.join("")}function n(t,n){return"M0,"+t+"A"+t+","+t+" 0 1,"+n+" 0,"+-t+"A"+t+","+t+" 0 1,"+n+" 0,"+t}var e=fo,r=ho,i=co,o=ks,u=po,a=go,s=vo;return t.innerRadius=function(n){return arguments.length?(e=kt(n),t):e},t.outerRadius=function(n){return arguments.length?(r=kt(n),t):r},t.cornerRadius=function(n){return arguments.length?(i=kt(n),t):i},t.padRadius=function(n){return arguments.length?(o=n==ks?ks:kt(n),t):o},t.startAngle=function(n){return arguments.length?(u=kt(n),t):u},t.endAngle=function(n){return arguments.length?(a=kt(n),t):a},t.padAngle=function(n){return arguments.length?(s=kt(n),t):s},t.centroid=function(){var t=(+e.apply(this,arguments)+ +r.apply(this,arguments))/2,n=(+u.apply(this,arguments)+ +a.apply(this,arguments))/2-Bu;return[Math.cos(n)*t,Math.sin(n)*t]},t};var ks="auto";au.svg.line=function(){return _o(w)};var Rs=au.map({linear:xo,"linear-closed":bo,step:Mo,"step-before":wo,"step-after":Co,basis:Ao,"basis-open":ko,"basis-closed":Ro,bundle:Po,cardinal:So,"cardinal-open":Eo,"cardinal-closed":No,monotone:Fo});Rs.forEach(function(t,n){n.key=t,n.closed=/-closed$/.test(t)});var Ps=[0,2/3,1/3,0],Is=[0,1/3,2/3,0],Os=[0,1/6,2/3,1/6];au.svg.line.radial=function(){var t=_o(Bo);return t.radius=t.x,delete t.x,t.angle=t.y,delete t.y,t},wo.reverse=Co,Co.reverse=wo,au.svg.area=function(){return zo(w)},au.svg.area.radial=function(){var t=zo(Bo);return t.radius=t.x,delete t.x,t.innerRadius=t.x0,delete t.x0,t.outerRadius=t.x1,delete t.x1,t.angle=t.y,delete t.y,t.startAngle=t.y0,delete t.y0,t.endAngle=t.y1,delete t.y1,t},au.svg.chord=function(){function t(t,a){var s=n(this,o,t,a),l=n(this,u,t,a);return"M"+s.p0+r(s.r,s.p1,s.a1-s.a0)+(e(s,l)?i(s.r,s.p1,s.r,s.p0):i(s.r,s.p1,l.r,l.p0)+r(l.r,l.p1,l.a1-l.a0)+i(l.r,l.p1,s.r,s.p0))+"Z"}function n(t,n,e,r){var i=n.call(t,e,r),o=a.call(t,i,r),u=s.call(t,i,r)-Bu,c=l.call(t,i,r)-Bu;return{r:o,a0:u,a1:c,p0:[o*Math.cos(u),o*Math.sin(u)],p1:[o*Math.cos(c),o*Math.sin(c)]}}function e(t,n){return t.a0==n.a0&&t.a1==n.a1}function r(t,n,e){return"A"+t+","+t+" 0 "+ +(e>Uu)+",1 "+n}function i(t,n,e,r){return"Q 0,0 "+r}var o=we,u=Ce,a=qo,s=po,l=go;return t.radius=function(n){return arguments.length?(a=kt(n),t):a},t.source=function(n){return arguments.length?(o=kt(n),t):o},t.target=function(n){return arguments.length?(u=kt(n),t):u},t.startAngle=function(n){return arguments.length?(s=kt(n),t):s},t.endAngle=function(n){return arguments.length?(l=kt(n),t):l},t},au.svg.diagonal=function(){function t(t,i){var o=n.call(this,t,i),u=e.call(this,t,i),a=(o.y+u.y)/2,s=[o,{x:o.x,y:a},{x:u.x,y:a},u];return s=s.map(r),"M"+s[0]+"C"+s[1]+" "+s[2]+" "+s[3]}var n=we,e=Ce,r=Vo;return t.source=function(e){return arguments.length?(n=kt(e),t):n},t.target=function(n){return arguments.length?(e=kt(n),t):e},t.projection=function(n){return arguments.length?(r=n,t):r},t},au.svg.diagonal.radial=function(){var t=au.svg.diagonal(),n=Vo,e=t.projection;return t.projection=function(t){return arguments.length?e(Ho(n=t)):n},t},au.svg.symbol=function(){function t(t,r){return(Ls.get(n.call(this,t,r))||Xo)(e.call(this,t,r))}var n=Yo,e=Wo;return t.type=function(e){return arguments.length?(n=kt(e),t):n},t.size=function(n){return arguments.length?(e=kt(n),t):e},t};var Ls=au.map({circle:Xo,cross:function(t){var n=Math.sqrt(t/5)/2;return"M"+-3*n+","+-n+"H"+-n+"V"+-3*n+"H"+n+"V"+-n+"H"+3*n+"V"+n+"H"+n+"V"+3*n+"H"+-n+"V"+n+"H"+-3*n+"Z"},diamond:function(t){var n=Math.sqrt(t/(2*js)),e=n*js;return"M0,"+-n+"L"+e+",0 0,"+n+" "+-e+",0Z"},square:function(t){var n=Math.sqrt(t)/2;return"M"+-n+","+-n+"L"+n+","+-n+" "+n+","+n+" "+-n+","+n+"Z"},"triangle-down":function(t){var n=Math.sqrt(t/Us),e=n*Us/2;return"M0,"+e+"L"+n+","+-e+" "+-n+","+-e+"Z"},"triangle-up":function(t){var n=Math.sqrt(t/Us),e=n*Us/2;return"M0,"+-e+"L"+n+","+e+" "+-n+","+e+"Z"}});au.svg.symbolTypes=Ls.keys();var Us=Math.sqrt(3),js=Math.tan(30*zu);Du.transition=function(t){for(var n,e,r=Fs||++Vs,i=Zo(t),o=[],u=Bs||{time:Date.now(),ease:Ar,delay:0,duration:250},a=-1,s=this.length;++a<s;){o.push(n=[]);for(var l=this[a],c=-1,f=l.length;++c<f;)(e=l[c])&&Jo(e,c,i,r,u),n.push(e)}return Go(o,i,r)},Du.interrupt=function(t){return this.each(null==t?zs:Ko(Zo(t)))};var Fs,Bs,zs=Ko(Zo()),qs=[],Vs=0;qs.call=Du.call,qs.empty=Du.empty,qs.node=Du.node,qs.size=Du.size,au.transition=function(t,n){return t&&t.transition?Fs?t.transition(n):t:au.selection().transition(t)},au.transition.prototype=qs,qs.select=function(t){var n,e,r,i=this.id,o=this.namespace,u=[];t=P(t);for(var a=-1,s=this.length;++a<s;){u.push(n=[]);for(var l=this[a],c=-1,f=l.length;++c<f;)(r=l[c])&&(e=t.call(r,r.__data__,c,a))?("__data__"in r&&(e.__data__=r.__data__),Jo(e,c,o,i,r[o][i]),n.push(e)):n.push(null)}return Go(u,o,i)},qs.selectAll=function(t){var n,e,r,i,o,u=this.id,a=this.namespace,s=[];t=I(t);for(var l=-1,c=this.length;++l<c;)for(var f=this[l],h=-1,p=f.length;++h<p;)if(r=f[h]){o=r[a][u],e=t.call(r,r.__data__,h,l),s.push(n=[]);for(var d=-1,g=e.length;++d<g;)(i=e[d])&&Jo(i,d,a,u,o),n.push(i)}return Go(s,a,u)},qs.filter=function(t){var n,e,r,i=[];"function"!=typeof t&&(t=Y(t));for(var o=0,u=this.length;u>o;o++){i.push(n=[]);for(var e=this[o],a=0,s=e.length;s>a;a++)(r=e[a])&&t.call(r,r.__data__,a,o)&&n.push(r)}return Go(i,this.namespace,this.id)},qs.tween=function(t,n){var e=this.id,r=this.namespace;return arguments.length<2?this.node()[r][e].tween.get(t):K(this,null==n?function(n){n[r][e].tween.remove(t)}:function(i){i[r][e].tween.set(t,n)})},qs.attr=function(t,n){function e(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}function i(t){return null==t?e:(t+="",function(){var n,e=this.getAttribute(a);return e!==t&&(n=u(e,t),function(t){this.setAttribute(a,n(t))})})}function o(t){return null==t?r:(t+="",function(){var n,e=this.getAttributeNS(a.space,a.local);return e!==t&&(n=u(e,t),function(t){this.setAttributeNS(a.space,a.local,n(t))})})}if(arguments.length<2){for(n in t)this.attr(n,t[n]);return this}var u="transform"==t?Yr:wr,a=au.ns.qualify(t);return $o(this,"attr."+t,n,a.local?o:i)},qs.attrTween=function(t,n){function e(t,e){var r=n.call(this,t,e,this.getAttribute(i));return r&&function(t){this.setAttribute(i,r(t))}}function r(t,e){var r=n.call(this,t,e,this.getAttributeNS(i.space,i.local));return r&&function(t){this.setAttributeNS(i.space,i.local,r(t))}}var i=au.ns.qualify(t);return this.tween("attr."+t,i.local?r:e)},qs.style=function(t,n,e){function r(){this.style.removeProperty(t)}function i(n){return null==n?r:(n+="",function(){var r,i=u(this).getComputedStyle(this,null).getPropertyValue(t);return i!==n&&(r=wr(i,n),function(n){this.style.setProperty(t,r(n),e)})})}var o=arguments.length;if(3>o){if("string"!=typeof t){2>o&&(n="");for(e in t)this.style(e,t[e],n);return this}e=""}return $o(this,"style."+t,n,i)},qs.styleTween=function(t,n,e){function r(r,i){var o=n.call(this,r,i,u(this).getComputedStyle(this,null).getPropertyValue(t));return o&&function(n){this.style.setProperty(t,o(n),e)}}return arguments.length<3&&(e=""),this.tween("style."+t,r)},qs.text=function(t){return $o(this,"text",t,Qo)},qs.remove=function(){var t=this.namespace;return this.each("end.transition",function(){var n;this[t].count<2&&(n=this.parentNode)&&n.removeChild(this)})},qs.ease=function(t){var n=this.id,e=this.namespace;return arguments.length<1?this.node()[e][n].ease:("function"!=typeof t&&(t=au.ease.apply(au,arguments)),K(this,function(r){r[e][n].ease=t}))},qs.delay=function(t){var n=this.id,e=this.namespace;return arguments.length<1?this.node()[e][n].delay:K(this,"function"==typeof t?function(r,i,o){r[e][n].delay=+t.call(r,r.__data__,i,o)}:(t=+t,function(r){r[e][n].delay=t}))},qs.duration=function(t){var n=this.id,e=this.namespace;return arguments.length<1?this.node()[e][n].duration:K(this,"function"==typeof t?function(r,i,o){r[e][n].duration=Math.max(1,t.call(r,r.__data__,i,o))}:(t=Math.max(1,t),function(r){r[e][n].duration=t}))},qs.each=function(t,n){var e=this.id,r=this.namespace;if(arguments.length<2){var i=Bs,o=Fs;try{Fs=e,K(this,function(n,i,o){Bs=n[r][e],t.call(n,n.__data__,i,o)})}finally{Bs=i,Fs=o}}else K(this,function(i){var o=i[r][e];(o.event||(o.event=au.dispatch("start","end","interrupt"))).on(t,n)});return this},qs.transition=function(){for(var t,n,e,r,i=this.id,o=++Vs,u=this.namespace,a=[],s=0,l=this.length;l>s;s++){a.push(t=[]);for(var n=this[s],c=0,f=n.length;f>c;c++)(e=n[c])&&(r=e[u][i],Jo(e,c,u,o,{time:r.time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration})),t.push(e)}return Go(a,u,o)},au.svg.axis=function(){function t(t){t.each(function(){var t,l=au.select(this),c=this.__chart__||e,f=this.__chart__=e.copy(),h=null==s?f.ticks?f.ticks.apply(f,a):f.domain():s,p=null==n?f.tickFormat?f.tickFormat.apply(f,a):w:n,d=l.selectAll(".tick").data(h,f),g=d.enter().insert("g",".domain").attr("class","tick").style("opacity",Ou),v=au.transition(d.exit()).style("opacity",Ou).remove(),m=au.transition(d.order()).style("opacity",1),y=Math.max(i,0)+u,_=Vi(f),x=l.selectAll(".domain").data([0]),b=(x.enter().append("path").attr("class","domain"),au.transition(x));g.append("line"),g.append("text");var M,C,E,N,S=g.select("line"),D=m.select("line"),T=d.select("text").text(p),A=g.select("text"),k=m.select("text"),R="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(t=tu,M="x",E="y",C="x2",N="y2",T.attr("dy",0>R?"0em":".71em").style("text-anchor","middle"),b.attr("d","M"+_[0]+","+R*o+"V0H"+_[1]+"V"+R*o)):(t=nu,M="y",E="x",C="y2",N="x2",T.attr("dy",".32em").style("text-anchor",0>R?"end":"start"),b.attr("d","M"+R*o+","+_[0]+"H0V"+_[1]+"H"+R*o)),S.attr(N,R*i),A.attr(E,R*y),D.attr(C,0).attr(N,R*i),k.attr(M,0).attr(E,R*y),f.rangeBand){var P=f,I=P.rangeBand()/2;c=f=function(t){return P(t)+I}}else c.rangeBand?c=f:v.call(t,f,c);g.call(t,c,f),m.call(t,f,f)})}var n,e=au.scale.linear(),r=Hs,i=6,o=6,u=3,a=[10],s=null;return t.scale=function(n){return arguments.length?(e=n,t):e},t.orient=function(n){return arguments.length?(r=n in Ws?n+"":Hs,t):r},t.ticks=function(){return arguments.length?(a=arguments,t):a},t.tickValues=function(n){return arguments.length?(s=n,t):s},t.tickFormat=function(e){return arguments.length?(n=e,t):n},t.tickSize=function(n){var e=arguments.length;return e?(i=+n,o=+arguments[e-1],t):i},t.innerTickSize=function(n){return arguments.length?(i=+n,t):i},t.outerTickSize=function(n){return arguments.length?(o=+n,t):o},t.tickPadding=function(n){return arguments.length?(u=+n,t):u},t.tickSubdivide=function(){return arguments.length&&t},t};var Hs="bottom",Ws={top:1,right:1,bottom:1,left:1};au.svg.brush=function(){function t(o){o.each(function(){var o=au.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",i).on("touchstart.brush",i),u=o.selectAll(".background").data([0]);u.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),o.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var a=o.selectAll(".resize").data(g,w);a.exit().remove(),a.enter().append("g").attr("class",function(t){return"resize "+t}).style("cursor",function(t){return Ys[t]}).append("rect").attr("x",function(t){return/[ew]$/.test(t)?-3:null}).attr("y",function(t){return/^[ns]/.test(t)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),a.style("display",t.empty()?"none":null);var s,f=au.transition(o),h=au.transition(u);l&&(s=Vi(l),h.attr("x",s[0]).attr("width",s[1]-s[0]),e(f)),c&&(s=Vi(c),h.attr("y",s[0]).attr("height",s[1]-s[0]),r(f)),n(f)})}function n(t){t.selectAll(".resize").attr("transform",function(t){return"translate("+f[+/e$/.test(t)]+","+h[+/^s/.test(t)]+")"})}function e(t){t.select(".extent").attr("x",f[0]),t.selectAll(".extent,.n>rect,.s>rect").attr("width",f[1]-f[0])}function r(t){t.select(".extent").attr("y",h[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function i(){function i(){32==au.event.keyCode&&(D||(_=null,k[0]-=f[1],k[1]-=h[1],D=2),T())}function g(){32==au.event.keyCode&&2==D&&(k[0]+=f[1],k[1]+=h[1],D=0,T())}function v(){var t=au.mouse(b),i=!1;x&&(t[0]+=x[0],t[1]+=x[1]),D||(au.event.altKey?(_||(_=[(f[0]+f[1])/2,(h[0]+h[1])/2]),k[0]=f[+(t[0]<_[0])],k[1]=h[+(t[1]<_[1])]):_=null),N&&m(t,l,0)&&(e(C),i=!0),S&&m(t,c,1)&&(r(C),i=!0),i&&(n(C),w({type:"brush",mode:D?"move":"resize"}))}function m(t,n,e){var r,i,u=Vi(n),s=u[0],l=u[1],c=k[e],g=e?h:f,v=g[1]-g[0];return D&&(s-=c,l-=v+c),r=(e?d:p)?Math.max(s,Math.min(l,t[e])):t[e],D?i=(r+=c)+v:(_&&(c=Math.max(s,Math.min(l,2*_[e]-r))),r>c?(i=r,r=c):i=c),g[0]!=r||g[1]!=i?(e?a=null:o=null,g[0]=r,g[1]=i,!0):void 0}function y(){v(),C.style("pointer-events","all").selectAll(".resize").style("display",t.empty()?"none":null),au.select("body").style("cursor",null),R.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),A(),w({type:"brushend"})}var _,x,b=this,M=au.select(au.event.target),w=s.of(b,arguments),C=au.select(b),E=M.datum(),N=!/^(n|s)$/.test(E)&&l,S=!/^(e|w)$/.test(E)&&c,D=M.classed("extent"),A=tt(b),k=au.mouse(b),R=au.select(u(b)).on("keydown.brush",i).on("keyup.brush",g);if(au.event.changedTouches?R.on("touchmove.brush",v).on("touchend.brush",y):R.on("mousemove.brush",v).on("mouseup.brush",y),C.interrupt().selectAll("*").interrupt(),D)k[0]=f[0]-k[0],k[1]=h[0]-k[1];else if(E){var P=+/w$/.test(E),I=+/^n/.test(E);x=[f[1-P]-k[0],h[1-I]-k[1]],k[0]=f[P],k[1]=h[I]}else au.event.altKey&&(_=k.slice());C.style("pointer-events","none").selectAll(".resize").style("display",null),au.select("body").style("cursor",M.style("cursor")),w({type:"brushstart"}),v()}var o,a,s=k(t,"brushstart","brush","brushend"),l=null,c=null,f=[0,0],h=[0,0],p=!0,d=!0,g=Xs[0];return t.event=function(t){t.each(function(){var t=s.of(this,arguments),n={x:f,y:h,i:o,j:a},e=this.__chart__||n;this.__chart__=n,Fs?au.select(this).transition().each("start.brush",function(){o=e.i,a=e.j,f=e.x,h=e.y,t({type:"brushstart"})}).tween("brush:brush",function(){var e=Cr(f,n.x),r=Cr(h,n.y);return o=a=null,function(i){f=n.x=e(i),h=n.y=r(i),t({type:"brush",mode:"resize"})}}).each("end.brush",function(){
o=n.i,a=n.j,t({type:"brush",mode:"resize"}),t({type:"brushend"})}):(t({type:"brushstart"}),t({type:"brush",mode:"resize"}),t({type:"brushend"}))})},t.x=function(n){return arguments.length?(l=n,g=Xs[!l<<1|!c],t):l},t.y=function(n){return arguments.length?(c=n,g=Xs[!l<<1|!c],t):c},t.clamp=function(n){return arguments.length?(l&&c?(p=!!n[0],d=!!n[1]):l?p=!!n:c&&(d=!!n),t):l&&c?[p,d]:l?p:c?d:null},t.extent=function(n){var e,r,i,u,s;return arguments.length?(l&&(e=n[0],r=n[1],c&&(e=e[0],r=r[0]),o=[e,r],l.invert&&(e=l(e),r=l(r)),e>r&&(s=e,e=r,r=s),(e!=f[0]||r!=f[1])&&(f=[e,r])),c&&(i=n[0],u=n[1],l&&(i=i[1],u=u[1]),a=[i,u],c.invert&&(i=c(i),u=c(u)),i>u&&(s=i,i=u,u=s),(i!=h[0]||u!=h[1])&&(h=[i,u])),t):(l&&(o?(e=o[0],r=o[1]):(e=f[0],r=f[1],l.invert&&(e=l.invert(e),r=l.invert(r)),e>r&&(s=e,e=r,r=s))),c&&(a?(i=a[0],u=a[1]):(i=h[0],u=h[1],c.invert&&(i=c.invert(i),u=c.invert(u)),i>u&&(s=i,i=u,u=s))),l&&c?[[e,i],[r,u]]:l?[e,r]:c&&[i,u])},t.clear=function(){return t.empty()||(f=[0,0],h=[0,0],o=a=null),t},t.empty=function(){return!!l&&f[0]==f[1]||!!c&&h[0]==h[1]},au.rebind(t,s,"on")};var Ys={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Xs=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Ks=pa.format=_a.timeFormat,Gs=Ks.utc,$s=Gs("%Y-%m-%dT%H:%M:%S.%LZ");Ks.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?eu:$s,eu.parse=function(t){var n=new Date(t);return isNaN(n)?null:n},eu.toString=$s.toString,pa.second=Ht(function(t){return new da(1e3*Math.floor(t/1e3))},function(t,n){t.setTime(t.getTime()+1e3*Math.floor(n))},function(t){return t.getSeconds()}),pa.seconds=pa.second.range,pa.seconds.utc=pa.second.utc.range,pa.minute=Ht(function(t){return new da(6e4*Math.floor(t/6e4))},function(t,n){t.setTime(t.getTime()+6e4*Math.floor(n))},function(t){return t.getMinutes()}),pa.minutes=pa.minute.range,pa.minutes.utc=pa.minute.utc.range,pa.hour=Ht(function(t){var n=t.getTimezoneOffset()/60;return new da(36e5*(Math.floor(t/36e5-n)+n))},function(t,n){t.setTime(t.getTime()+36e5*Math.floor(n))},function(t){return t.getHours()}),pa.hours=pa.hour.range,pa.hours.utc=pa.hour.utc.range,pa.month=Ht(function(t){return t=pa.day(t),t.setDate(1),t},function(t,n){t.setMonth(t.getMonth()+n)},function(t){return t.getMonth()}),pa.months=pa.month.range,pa.months.utc=pa.month.utc.range;var Qs=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Zs=[[pa.second,1],[pa.second,5],[pa.second,15],[pa.second,30],[pa.minute,1],[pa.minute,5],[pa.minute,15],[pa.minute,30],[pa.hour,1],[pa.hour,3],[pa.hour,6],[pa.hour,12],[pa.day,1],[pa.day,2],[pa.week,1],[pa.month,1],[pa.month,3],[pa.year,1]],Js=Ks.multi([[".%L",function(t){return t.getMilliseconds()}],[":%S",function(t){return t.getSeconds()}],["%I:%M",function(t){return t.getMinutes()}],["%I %p",function(t){return t.getHours()}],["%a %d",function(t){return t.getDay()&&1!=t.getDate()}],["%b %d",function(t){return 1!=t.getDate()}],["%B",function(t){return t.getMonth()}],["%Y",In]]),tl={range:function(t,n,e){return au.range(Math.ceil(t/e)*e,+n,e).map(iu)},floor:w,ceil:w};Zs.year=pa.year,pa.scale=function(){return ru(au.scale.linear(),Zs,Js)};var nl=Zs.map(function(t){return[t[0].utc,t[1]]}),el=Gs.multi([[".%L",function(t){return t.getUTCMilliseconds()}],[":%S",function(t){return t.getUTCSeconds()}],["%I:%M",function(t){return t.getUTCMinutes()}],["%I %p",function(t){return t.getUTCHours()}],["%a %d",function(t){return t.getUTCDay()&&1!=t.getUTCDate()}],["%b %d",function(t){return 1!=t.getUTCDate()}],["%B",function(t){return t.getUTCMonth()}],["%Y",In]]);nl.year=pa.year.utc,pa.scale.utc=function(){return ru(au.scale.linear(),nl,el)},au.text=Rt(function(t){return t.responseText}),au.json=function(t,n){return Pt(t,"application/json",ou,n)},au.html=function(t,n){return Pt(t,"text/html",uu,n)},au.xml=Rt(function(t){return t.responseXML}),r=au,i="function"==typeof r?r.call(n,e,n,t):r,!(void 0!==i&&(t.exports=i)),this.d3=au}()},function(t,n,e){var r;(function(t,i){(function(){function o(t,n){if(t!==n){var e=t===t,r=n===n;if(t>n||!e||t===S&&r)return 1;if(n>t||!r||n===S&&e)return-1}return 0}function u(t,n,e){for(var r=t.length,i=e?r:-1;e?i--:++i<r;)if(n(t[i],i,t))return i;return-1}function a(t,n,e){if(n!==n)return y(t,e);for(var r=e-1,i=t.length;++r<i;)if(t[r]===n)return r;return-1}function s(t){return"function"==typeof t||!1}function l(t){return"string"==typeof t?t:null==t?"":t+""}function c(t){return t.charCodeAt(0)}function f(t,n){for(var e=-1,r=t.length;++e<r&&n.indexOf(t.charAt(e))>-1;);return e}function h(t,n){for(var e=t.length;e--&&n.indexOf(t.charAt(e))>-1;);return e}function p(t,n){return o(t.criteria,n.criteria)||t.index-n.index}function d(t,n,e){for(var r=-1,i=t.criteria,u=n.criteria,a=i.length,s=e.length;++r<a;){var l=o(i[r],u[r]);if(l)return r>=s?l:l*(e[r]?1:-1)}return t.index-n.index}function g(t){return Xt[t]}function v(t){return Kt[t]}function m(t){return"\\"+Qt[t]}function y(t,n,e){for(var r=t.length,i=n+(e?0:-1);e?i--:++i<r;){var o=t[i];if(o!==o)return i}return-1}function _(t){return!!t&&"object"==typeof t}function x(t){return 160>=t&&t>=9&&13>=t||32==t||160==t||5760==t||6158==t||t>=8192&&(8202>=t||8232==t||8233==t||8239==t||8287==t||12288==t||65279==t)}function b(t,n){for(var e=-1,r=t.length,i=-1,o=[];++e<r;)t[e]===n&&(t[e]=Y,o[++i]=e);return o}function M(t,n){for(var e,r=-1,i=t.length,o=-1,u=[];++r<i;){var a=t[r],s=n?n(a,r,t):a;r&&e===s||(e=s,u[++o]=a)}return u}function w(t){for(var n=-1,e=t.length;++n<e&&x(t.charCodeAt(n)););return n}function C(t){for(var n=t.length;n--&&x(t.charCodeAt(n)););return n}function E(t){return Gt[t]}function N(t){function n(t){if(_(t)&&!Na(t)&&!(t instanceof i)){if(t instanceof r)return t;if(Vo.call(t,"__chain__")&&Vo.call(t,"__wrapped__"))return ur(t)}return new r(t)}function e(){}function r(t,n,e){this.__wrapped__=t,this.__actions__=e||[],this.__chain__=!!n}function i(t){this.__wrapped__=t,this.__actions__=null,this.__dir__=1,this.__dropCount__=0,this.__filtered__=!1,this.__iteratees__=null,this.__takeCount__=Mu,this.__views__=null}function x(){var t=this.__actions__,n=this.__iteratees__,e=this.__views__,r=new i(this.__wrapped__);return r.__actions__=t?tn(t):null,r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=n?tn(n):null,r.__takeCount__=this.__takeCount__,r.__views__=e?tn(e):null,r}function J(){if(this.__filtered__){var t=new i(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function rt(){var t=this.__wrapped__.value();if(!Na(t))return ne(t,this.__actions__);var n=this.__dir__,e=0>n,r=Fe(0,t.length,this.__views__),i=r.start,o=r.end,u=o-i,a=e?o:i-1,s=vu(u,this.__takeCount__),l=this.__iteratees__,c=l?l.length:0,f=0,h=[];t:for(;u--&&s>f;){a+=n;for(var p=-1,d=t[a];++p<c;){var g=l[p],v=g.iteratee,m=g.type;if(m==q){if(g.done&&(e?a>g.index:a<g.index)&&(g.count=0,g.done=!1),g.index=a,!g.done){var y=g.limit;if(!(g.done=y>-1?g.count++>=y:!v(d)))continue t}}else{var _=v(d);if(m==H)d=_;else if(!_){if(m==V)continue t;break t}}}h[f++]=d}return h}function ot(){this.__data__={}}function Xt(t){return this.has(t)&&delete this.__data__[t]}function Kt(t){return"__proto__"==t?S:this.__data__[t]}function Gt(t){return"__proto__"!=t&&Vo.call(this.__data__,t)}function $t(t,n){return"__proto__"!=t&&(this.__data__[t]=n),this}function Qt(t){var n=t?t.length:0;for(this.data={hash:hu(null),set:new iu};n--;)this.push(t[n])}function Zt(t,n){var e=t.data,r="string"==typeof n||Ci(n)?e.set.has(n):e.hash[n];return r?0:-1}function Jt(t){var n=this.data;"string"==typeof t||Ci(t)?n.set.add(t):n.hash[t]=!0}function tn(t,n){var e=-1,r=t.length;for(n||(n=Do(r));++e<r;)n[e]=t[e];return n}function nn(t,n){for(var e=-1,r=t.length;++e<r&&n(t[e],e,t)!==!1;);return t}function en(t,n){for(var e=t.length;e--&&n(t[e],e,t)!==!1;);return t}function un(t,n){for(var e=-1,r=t.length;++e<r;)if(!n(t[e],e,t))return!1;return!0}function an(t,n){for(var e=-1,r=t.length,i=-1,o=[];++e<r;){var u=t[e];n(u,e,t)&&(o[++i]=u)}return o}function sn(t,n){for(var e=-1,r=t.length,i=Do(r);++e<r;)i[e]=n(t[e],e,t);return i}function ln(t){for(var n=-1,e=t.length,r=bu;++n<e;){var i=t[n];i>r&&(r=i)}return r}function cn(t){for(var n=-1,e=t.length,r=Mu;++n<e;){var i=t[n];r>i&&(r=i)}return r}function fn(t,n,e,r){var i=-1,o=t.length;for(r&&o&&(e=t[++i]);++i<o;)e=n(e,t[i],i,t);return e}function hn(t,n,e,r){var i=t.length;for(r&&i&&(e=t[--i]);i--;)e=n(e,t[i],i,t);return e}function pn(t,n){for(var e=-1,r=t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}function dn(t){for(var n=t.length,e=0;n--;)e+=+t[n]||0;return e}function gn(t,n){return t===S?n:t}function vn(t,n,e,r){return t!==S&&Vo.call(r,e)?t:n}function mn(t,n,e){var r=ja(n);nu.apply(r,qu(n));for(var i=-1,o=r.length;++i<o;){var u=r[i],a=t[u],s=e(a,n[u],u,t,n);(s===s?s===a:a!==a)&&(a!==S||u in t)||(t[u]=s)}return t}function yn(t,n){for(var e=-1,r=null==t,i=!r&&He(t),o=i&&t.length,u=n.length,a=Do(u);++e<u;){var s=n[e];i?a[e]=We(s,o)?t[s]:S:a[e]=r?S:t[s]}return a}function _n(t,n,e){e||(e={});for(var r=-1,i=n.length;++r<i;){var o=n[r];e[o]=t[o]}return e}function xn(t,n,e){var r=typeof t;return"function"==r?n===S?t:ie(t,n,e):null==t?go:"object"==r?jn(t):n===S?bo(t):Fn(t,n)}function bn(t,n,e,r,i,o,u){var a;if(e&&(a=i?e(t,r,i):e(t)),a!==S)return a;if(!Ci(t))return t;var s=Na(t);if(s){if(a=Be(t),!n)return tn(t,a)}else{var l=Wo.call(t),c=l==Z;if(l!=nt&&l!=X&&(!c||i))return Wt[l]?qe(t,l,n):i?t:{};if(a=ze(c?{}:t),!n)return ku(a,t)}o||(o=[]),u||(u=[]);for(var f=o.length;f--;)if(o[f]==t)return u[f];return o.push(t),u.push(a),(s?nn:An)(t,function(r,i){a[i]=bn(r,n,e,i,t,o,u)}),a}function Mn(t,n,e){if("function"!=typeof t)throw new Uo(W);return ou(function(){t.apply(S,e)},n)}function wn(t,n){var e=t?t.length:0,r=[];if(!e)return r;var i=-1,o=je(),u=o==a,s=u&&n.length>=200?ju(n):null,l=n.length;s&&(o=Zt,u=!1,n=s);t:for(;++i<e;){var c=t[i];if(u&&c===c){for(var f=l;f--;)if(n[f]===c)continue t;r.push(c)}else o(n,c,0)<0&&r.push(c)}return r}function Cn(t,n){var e=!0;return Pu(t,function(t,r,i){return e=!!n(t,r,i)}),e}function En(t,n,e,r){var i=t.length;for(e=null==e?0:+e||0,0>e&&(e=-e>i?0:i+e),r=r===S||r>i?i:+r||0,0>r&&(r+=i),i=e>r?0:r>>>0,e>>>=0;i>e;)t[e++]=n;return t}function Nn(t,n){var e=[];return Pu(t,function(t,r,i){n(t,r,i)&&e.push(t)}),e}function Sn(t,n,e,r){var i;return e(t,function(t,e,o){return n(t,e,o)?(i=r?e:t,!1):void 0}),i}function Dn(t,n,e){for(var r=-1,i=t.length,o=-1,u=[];++r<i;){var a=t[r];if(_(a)&&He(a)&&(e||Na(a)||mi(a))){n&&(a=Dn(a,n,e));for(var s=-1,l=a.length;++s<l;)u[++o]=a[s]}else e||(u[++o]=a)}return u}function Tn(t,n){return Ou(t,n,zi)}function An(t,n){return Ou(t,n,ja)}function kn(t,n){return Lu(t,n,ja)}function Rn(t,n){for(var e=-1,r=n.length,i=-1,o=[];++e<r;){var u=n[e];Da(t[u])&&(o[++i]=u)}return o}function Pn(t,n,e){if(null!=t){e!==S&&e in ir(t)&&(n=[e]);for(var r=-1,i=n.length;null!=t&&++r<i;)t=t[n[r]];return r&&r==i?t:S}}function In(t,n,e,r,i,o){if(t===n)return!0;var u=typeof t,a=typeof n;return"function"!=u&&"object"!=u&&"function"!=a&&"object"!=a||null==t||null==n?t!==t&&n!==n:On(t,n,In,e,r,i,o)}function On(t,n,e,r,i,o,u){var a=Na(t),s=Na(n),l=K,c=K;a||(l=Wo.call(t),l==X?l=nt:l!=nt&&(a=Ri(t))),s||(c=Wo.call(n),c==X?c=nt:c!=nt&&(s=Ri(n)));var f=l==nt,h=c==nt,p=l==c;if(p&&!a&&!f)return Ie(t,n,l);if(!i){var d=f&&Vo.call(t,"__wrapped__"),g=h&&Vo.call(n,"__wrapped__");if(d||g)return e(d?t.value():t,g?n.value():n,r,i,o,u)}if(!p)return!1;o||(o=[]),u||(u=[]);for(var v=o.length;v--;)if(o[v]==t)return u[v]==n;o.push(t),u.push(n);var m=(a?Pe:Oe)(t,n,e,r,i,o,u);return o.pop(),u.pop(),m}function Ln(t,n,e,r,i){for(var o=-1,u=n.length,a=!i;++o<u;)if(a&&r[o]?e[o]!==t[n[o]]:!(n[o]in t))return!1;for(o=-1;++o<u;){var s=n[o],l=t[s],c=e[o];if(a&&r[o])var f=l!==S||s in t;else f=i?i(l,c,s):S,f===S&&(f=In(c,l,i,!0));if(!f)return!1}return!0}function Un(t,n){var e=-1,r=He(t)?Do(t.length):[];return Pu(t,function(t,i,o){r[++e]=n(t,i,o)}),r}function jn(t){var n=ja(t),e=n.length;if(!e)return po(!0);if(1==e){var r=n[0],i=t[r];if($e(i))return function(t){return null==t?!1:t[r]===i&&(i!==S||r in ir(t))}}for(var o=Do(e),u=Do(e);e--;)i=t[n[e]],o[e]=i,u[e]=$e(i);return function(t){return null!=t&&Ln(ir(t),n,o,u)}}function Fn(t,n){var e=Na(t),r=Xe(t)&&$e(n),i=t+"";return t=or(t),function(o){if(null==o)return!1;var u=i;if(o=ir(o),!(!e&&r||u in o)){if(o=1==t.length?o:Pn(o,Xn(t,0,-1)),null==o)return!1;u=xr(t),o=ir(o)}return o[u]===n?n!==S||u in o:In(n,o[u],null,!0)}}function Bn(t,n,e,r,i){if(!Ci(t))return t;var o=He(n)&&(Na(n)||Ri(n));if(!o){var u=ja(n);nu.apply(u,qu(n))}return nn(u||n,function(a,s){if(u&&(s=a,a=n[s]),_(a))r||(r=[]),i||(i=[]),zn(t,n,s,Bn,e,r,i);else{var l=t[s],c=e?e(l,a,s,t,n):S,f=c===S;f&&(c=a),!o&&c===S||!f&&(c===c?c===l:l!==l)||(t[s]=c)}}),t}function zn(t,n,e,r,i,o,u){for(var a=o.length,s=n[e];a--;)if(o[a]==s)return void(t[e]=u[a]);var l=t[e],c=i?i(l,s,e,t,n):S,f=c===S;f&&(c=s,He(s)&&(Na(s)||Ri(s))?c=Na(l)?l:He(l)?tn(l):[]:Ta(s)||mi(s)?c=mi(l)?Oi(l):Ta(l)?l:{}:f=!1),o.push(s),u.push(c),f?t[e]=r(c,s,i,o,u):(c===c?c!==l:l===l)&&(t[e]=c)}function qn(t){return function(n){return null==n?S:n[t]}}function Vn(t){var n=t+"";return t=or(t),function(e){return Pn(e,t,n)}}function Hn(t,n){for(var e=t?n.length:0;e--;){var r=parseFloat(n[e]);if(r!=i&&We(r)){var i=r;uu.call(t,r,1)}}return t}function Wn(t,n){return t+Zo(xu()*(n-t+1))}function Yn(t,n,e,r,i){return i(t,function(t,i,o){e=r?(r=!1,t):n(e,t,i,o)}),e}function Xn(t,n,e){var r=-1,i=t.length;n=null==n?0:+n||0,0>n&&(n=-n>i?0:i+n),e=e===S||e>i?i:+e||0,0>e&&(e+=i),i=n>e?0:e-n>>>0,n>>>=0;for(var o=Do(i);++r<i;)o[r]=t[r+n];return o}function Kn(t,n){var e;return Pu(t,function(t,r,i){return e=n(t,r,i),!e}),!!e}function Gn(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}function $n(t,n,e){var r=Ue(),i=-1;n=sn(n,function(t){return r(t)});var o=Un(t,function(t){var e=sn(n,function(n){return n(t)});return{criteria:e,index:++i,value:t}});return Gn(o,function(t,n){return d(t,n,e)})}function Qn(t,n){var e=0;return Pu(t,function(t,r,i){e+=+n(t,r,i)||0}),e}function Zn(t,n){var e=-1,r=je(),i=t.length,o=r==a,u=o&&i>=200,s=u?ju():null,l=[];s?(r=Zt,o=!1):(u=!1,s=n?[]:l);t:for(;++e<i;){var c=t[e],f=n?n(c,e,t):c;if(o&&c===c){for(var h=s.length;h--;)if(s[h]===f)continue t;n&&s.push(f),l.push(c)}else r(s,f,0)<0&&((n||u)&&s.push(f),l.push(c))}return l}function Jn(t,n){for(var e=-1,r=n.length,i=Do(r);++e<r;)i[e]=t[n[e]];return i}function te(t,n,e,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&n(t[o],o,t););return e?Xn(t,r?0:o,r?o+1:i):Xn(t,r?o+1:0,r?i:o)}function ne(t,n){var e=t;e instanceof i&&(e=e.value());for(var r=-1,o=n.length;++r<o;){var u=[e],a=n[r];nu.apply(u,a.args),e=a.func.apply(a.thisArg,u)}return e}function ee(t,n,e){var r=0,i=t?t.length:r;if("number"==typeof n&&n===n&&Eu>=i){for(;i>r;){var o=r+i>>>1,u=t[o];(e?n>=u:n>u)?r=o+1:i=o}return i}return re(t,n,go,e)}function re(t,n,e,r){n=e(n);for(var i=0,o=t?t.length:0,u=n!==n,a=n===S;o>i;){var s=Zo((i+o)/2),l=e(t[s]),c=l===l;if(u)var f=c||r;else f=a?c&&(r||l!==S):r?n>=l:n>l;f?i=s+1:o=s}return vu(o,Cu)}function ie(t,n,e){if("function"!=typeof t)return go;if(n===S)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 3:return function(e,r,i){return t.call(n,e,r,i)};case 4:return function(e,r,i,o){return t.call(n,e,r,i,o)};case 5:return function(e,r,i,o,u){return t.call(n,e,r,i,o,u)}}return function(){return t.apply(n,arguments)}}function oe(t){return Go.call(t,0)}function ue(t,n,e){for(var r=e.length,i=-1,o=gu(t.length-r,0),u=-1,a=n.length,s=Do(o+a);++u<a;)s[u]=n[u];for(;++i<r;)s[e[i]]=t[i];for(;o--;)s[u++]=t[i++];return s}function ae(t,n,e){for(var r=-1,i=e.length,o=-1,u=gu(t.length-i,0),a=-1,s=n.length,l=Do(u+s);++o<u;)l[o]=t[o];for(var c=o;++a<s;)l[c+a]=n[a];for(;++r<i;)l[c+e[r]]=t[o++];return l}function se(t,n){return function(e,r,i){var o=n?n():{};if(r=Ue(r,i,3),Na(e))for(var u=-1,a=e.length;++u<a;){var s=e[u];t(o,s,r(s,u,e),e)}else Pu(e,function(n,e,i){t(o,n,r(n,e,i),i)});return o}}function le(t){return fi(function(n,e){var r=-1,i=null==n?0:e.length,o=i>2&&e[i-2],u=i>2&&e[2],a=i>1&&e[i-1];for("function"==typeof o?(o=ie(o,a,5),i-=2):(o="function"==typeof a?a:null,i-=o?1:0),u&&Ye(e[0],e[1],u)&&(o=3>i?null:o,i=1);++r<i;){var s=e[r];s&&t(n,s,o)}return n})}function ce(t,n){return function(e,r){var i=e?zu(e):0;if(!Ge(i))return t(e,r);for(var o=n?i:-1,u=ir(e);(n?o--:++o<i)&&r(u[o],o,u)!==!1;);return e}}function fe(t){return function(n,e,r){for(var i=ir(n),o=r(n),u=o.length,a=t?u:-1;t?a--:++a<u;){var s=o[a];if(e(i[s],s,i)===!1)break}return n}}function he(t,n){function e(){var i=this&&this!==rn&&this instanceof e?r:t;return i.apply(n,arguments)}var r=de(t);return e}function pe(t){return function(n){for(var e=-1,r=fo(Qi(n)),i=r.length,o="";++e<i;)o=t(o,r[e],e);return o}}function de(t){return function(){var n=Ru(t.prototype),e=t.apply(n,arguments);return Ci(e)?e:n}}function ge(t){function n(e,r,i){i&&Ye(e,r,i)&&(r=null);var o=Re(e,t,null,null,null,null,null,r);return o.placeholder=n.placeholder,o}return n}function ve(t,n){return function(e,r,i){i&&Ye(e,r,i)&&(r=null);var o=Ue(),u=null==r;if(o===xn&&u||(u=!1,r=o(r,i,3)),u){var a=Na(e);if(a||!ki(e))return t(a?e:rr(e));r=c}return Le(e,r,n)}}function me(t,n){return function(e,r,i){if(r=Ue(r,i,3),Na(e)){var o=u(e,r,n);return o>-1?e[o]:S}return Sn(e,r,t)}}function ye(t){return function(n,e,r){return n&&n.length?(e=Ue(e,r,3),u(n,e,t)):-1}}function _e(t){return function(n,e,r){return e=Ue(e,r,3),Sn(n,e,t,!0)}}function xe(t){return function(){var n=arguments.length;if(!n)return function(){return arguments[0]};for(var e,i=t?n:-1,o=0,u=Do(n);t?i--:++i<n;){var a=u[o++]=arguments[i];if("function"!=typeof a)throw new Uo(W);var s=e?"":Bu(a);e="wrapper"==s?new r([]):e}for(i=e?-1:n;++i<n;){a=u[i],s=Bu(a);var l="wrapper"==s?Fu(a):null;e=l&&Ke(l[0])&&l[1]==(L|R|I|U)&&!l[4].length&&1==l[9]?e[Bu(l[0])].apply(e,l[3]):1==a.length&&Ke(a)?e[s]():e.thru(a)}return function(){var t=arguments;if(e&&1==t.length&&Na(t[0]))return e.plant(t[0]).value();for(var r=0,i=u[r].apply(this,t);++r<n;)i=u[r].call(this,i);return i}}}function be(t,n){return function(e,r,i){return"function"==typeof r&&i===S&&Na(e)?t(e,r):n(e,ie(r,i,3))}}function Me(t){return function(n,e,r){return("function"!=typeof e||r!==S)&&(e=ie(e,r,3)),t(n,e,zi)}}function we(t){return function(n,e,r){return("function"!=typeof e||r!==S)&&(e=ie(e,r,3)),t(n,e)}}function Ce(t){return function(n,e,r){var i={};return e=Ue(e,r,3),An(n,function(n,r,o){var u=e(n,r,o);r=t?u:r,n=t?n:u,i[r]=n}),i}}function Ee(t){return function(n,e,r){return n=l(n),(t?n:"")+Te(n,e,r)+(t?"":n)}}function Ne(t){var n=fi(function(e,r){var i=b(r,n.placeholder);return Re(e,t,null,r,i)});return n}function Se(t,n){return function(e,r,i,o){var u=arguments.length<3;return"function"==typeof r&&o===S&&Na(e)?t(e,r,i,u):Yn(e,Ue(r,o,4),i,u,n)}}function De(t,n,e,r,i,o,u,a,s,l){function c(){for(var _=arguments.length,x=_,M=Do(_);x--;)M[x]=arguments[x];if(r&&(M=ue(M,r,i)),o&&(M=ae(M,o,u)),d||v){var w=c.placeholder,C=b(M,w);if(_-=C.length,l>_){var E=a?tn(a):null,N=gu(l-_,0),D=d?C:null,k=d?null:C,R=d?M:null,P=d?null:M;n|=d?I:O,n&=~(d?O:I),g||(n&=~(T|A));var L=[t,n,e,R,D,P,k,E,s,N],U=De.apply(S,L);return Ke(t)&&Vu(U,L),U.placeholder=w,U}}var j=h?e:this;p&&(t=j[y]),a&&(M=tr(M,a)),f&&s<M.length&&(M.length=s);var F=this&&this!==rn&&this instanceof c?m||de(t):t;return F.apply(j,M)}var f=n&L,h=n&T,p=n&A,d=n&R,g=n&k,v=n&P,m=!p&&de(t),y=t;return c}function Te(t,n,e){var r=t.length;if(n=+n,r>=n||!pu(n))return"";var i=n-r;return e=null==e?" ":e+"",ro(e,$o(i/e.length)).slice(0,i)}function Ae(t,n,e,r){function i(){for(var n=-1,a=arguments.length,s=-1,l=r.length,c=Do(a+l);++s<l;)c[s]=r[s];for(;a--;)c[s++]=arguments[++n];var f=this&&this!==rn&&this instanceof i?u:t;return f.apply(o?e:this,c)}var o=n&T,u=de(t);return i}function ke(t){return function(n,e,r,i){var o=Ue(r);return o===xn&&null==r?ee(n,e,t):re(n,e,o(r,i,1),t)}}function Re(t,n,e,r,i,o,u,a){var s=n&A;if(!s&&"function"!=typeof t)throw new Uo(W);var l=r?r.length:0;if(l||(n&=~(I|O),r=i=null),l-=i?i.length:0,n&O){var c=r,f=i;r=i=null}var h=s?null:Fu(t),p=[t,n,e,r,i,c,f,o,u,a];if(h&&(Qe(p,h),n=p[1],a=p[9]),p[9]=null==a?s?0:t.length:gu(a-l,0)||0,n==T)var d=he(p[0],p[2]);else d=n!=I&&n!=(T|I)||p[4].length?De.apply(S,p):Ae.apply(S,p);var g=h?Uu:Vu;return g(d,p)}function Pe(t,n,e,r,i,o,u){var a=-1,s=t.length,l=n.length,c=!0;if(s!=l&&!(i&&l>s))return!1;for(;c&&++a<s;){var f=t[a],h=n[a];if(c=S,r&&(c=i?r(h,f,a):r(f,h,a)),c===S)if(i)for(var p=l;p--&&(h=n[p],!(c=f&&f===h||e(f,h,r,i,o,u))););else c=f&&f===h||e(f,h,r,i,o,u)}return!!c}function Ie(t,n,e){switch(e){case G:case $:return+t==+n;case Q:return t.name==n.name&&t.message==n.message;case tt:return t!=+t?n!=+n:t==+n;case et:case it:return t==n+""}return!1}function Oe(t,n,e,r,i,o,u){var a=ja(t),s=a.length,l=ja(n),c=l.length;if(s!=c&&!i)return!1;for(var f=i,h=-1;++h<s;){var p=a[h],d=i?p in n:Vo.call(n,p);if(d){var g=t[p],v=n[p];d=S,r&&(d=i?r(v,g,p):r(g,v,p)),d===S&&(d=g&&g===v||e(g,v,r,i,o,u))}if(!d)return!1;f||(f="constructor"==p)}if(!f){var m=t.constructor,y=n.constructor;if(m!=y&&"constructor"in t&&"constructor"in n&&!("function"==typeof m&&m instanceof m&&"function"==typeof y&&y instanceof y))return!1}return!0}function Le(t,n,e){var r=e?Mu:bu,i=r,o=i;return Pu(t,function(t,u,a){var s=n(t,u,a);((e?i>s:s>i)||s===r&&s===o)&&(i=s,o=t)}),o}function Ue(t,e,r){var i=n.callback||ho;return i=i===ho?xn:i,r?i(t,e,r):i}function je(t,e,r){var i=n.indexOf||mr;return i=i===mr?a:i,t?i(t,e,r):i}function Fe(t,n,e){for(var r=-1,i=e?e.length:0;++r<i;){var o=e[r],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":n-=u;break;case"take":n=vu(n,t+u);break;case"takeRight":t=gu(t,n-u)}}return{start:t,end:n}}function Be(t){var n=t.length,e=new t.constructor(n);return n&&"string"==typeof t[0]&&Vo.call(t,"index")&&(e.index=t.index,e.input=t.input),e}function ze(t){var n=t.constructor;return"function"==typeof n&&n instanceof n||(n=Io),new n}function qe(t,n,e){var r=t.constructor;switch(n){case ut:return oe(t);case G:case $:return new r(+t);case at:case st:case lt:case ct:case ft:case ht:case pt:case dt:case gt:var i=t.buffer;return new r(e?oe(i):i,t.byteOffset,t.length);case tt:case it:return new r(t);case et:var o=new r(t.source,It.exec(t));o.lastIndex=t.lastIndex}return o}function Ve(t,n,e){null==t||Xe(n,t)||(n=or(n),t=1==n.length?t:Pn(t,Xn(n,0,-1)),n=xr(n));var r=null==t?t:t[n];return null==r?S:r.apply(t,e)}function He(t){return null!=t&&Ge(zu(t))}function We(t,n){return t=+t,n=null==n?Su:n,t>-1&&t%1==0&&n>t}function Ye(t,n,e){if(!Ci(e))return!1;var r=typeof n;if("number"==r?He(e)&&We(n,e.length):"string"==r&&n in e){var i=e[n];return t===t?t===i:i!==i}return!1}function Xe(t,n){var e=typeof t;if("string"==e&&St.test(t)||"number"==e)return!0;if(Na(t))return!1;var r=!Nt.test(t);return r||null!=n&&t in ir(n)}function Ke(t){var e=Bu(t);return!!e&&t===n[e]&&e in i.prototype}function Ge(t){return"number"==typeof t&&t>-1&&t%1==0&&Su>=t}function $e(t){return t===t&&!Ci(t)}function Qe(t,n){var e=t[1],r=n[1],i=e|r,o=L>i,u=r==L&&e==R||r==L&&e==U&&t[7].length<=n[8]||r==(L|U)&&e==R;if(!o&&!u)return t;r&T&&(t[2]=n[2],i|=e&T?0:k);var a=n[3];if(a){var s=t[3];t[3]=s?ue(s,a,n[4]):tn(a),t[4]=s?b(t[3],Y):tn(n[4])}return a=n[5],a&&(s=t[5],t[5]=s?ae(s,a,n[6]):tn(a),t[6]=s?b(t[5],Y):tn(n[6])),a=n[7],a&&(t[7]=tn(a)),r&L&&(t[8]=null==t[8]?n[8]:vu(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i,t}function Ze(t,n){t=ir(t);for(var e=-1,r=n.length,i={};++e<r;){var o=n[e];o in t&&(i[o]=t[o])}return i}function Je(t,n){var e={};return Tn(t,function(t,r,i){n(t,r,i)&&(e[r]=t)}),e}function tr(t,n){for(var e=t.length,r=vu(n.length,e),i=tn(t);r--;){var o=n[r];t[r]=We(o,e)?i[o]:S}return t}function nr(t){var e;n.support;if(!_(t)||Wo.call(t)!=nt||!Vo.call(t,"constructor")&&(e=t.constructor,"function"==typeof e&&!(e instanceof e)))return!1;var r;return Tn(t,function(t,n){r=n}),r===S||Vo.call(t,r)}function er(t){for(var e=zi(t),r=e.length,i=r&&t.length,o=n.support,u=i&&Ge(i)&&(Na(t)||o.nonEnumArgs&&mi(t)),a=-1,s=[];++a<r;){var l=e[a];(u&&We(l,i)||Vo.call(t,l))&&s.push(l)}return s}function rr(t){return null==t?[]:He(t)?Ci(t)?t:Io(t):Yi(t)}function ir(t){return Ci(t)?t:Io(t)}function or(t){if(Na(t))return t;var n=[];return l(t).replace(Dt,function(t,e,r,i){n.push(r?i.replace(Rt,"$1"):e||t)}),n}function ur(t){return t instanceof i?t.clone():new r(t.__wrapped__,t.__chain__,tn(t.__actions__))}function ar(t,n,e){n=(e?Ye(t,n,e):null==n)?1:gu(+n||1,1);for(var r=0,i=t?t.length:0,o=-1,u=Do($o(i/n));i>r;)u[++o]=Xn(t,r,r+=n);return u}function sr(t){for(var n=-1,e=t?t.length:0,r=-1,i=[];++n<e;){var o=t[n];o&&(i[++r]=o)}return i}function lr(t,n,e){var r=t?t.length:0;return r?((e?Ye(t,n,e):null==n)&&(n=1),Xn(t,0>n?0:n)):[]}function cr(t,n,e){var r=t?t.length:0;return r?((e?Ye(t,n,e):null==n)&&(n=1),n=r-(+n||0),Xn(t,0,0>n?0:n)):[]}function fr(t,n,e){return t&&t.length?te(t,Ue(n,e,3),!0,!0):[]}function hr(t,n,e){return t&&t.length?te(t,Ue(n,e,3),!0):[]}function pr(t,n,e,r){var i=t?t.length:0;return i?(e&&"number"!=typeof e&&Ye(t,n,e)&&(e=0,r=i),En(t,n,e,r)):[]}function dr(t){return t?t[0]:S}function gr(t,n,e){var r=t?t.length:0;return e&&Ye(t,n,e)&&(n=!1),r?Dn(t,n):[]}function vr(t){var n=t?t.length:0;return n?Dn(t,!0):[]}function mr(t,n,e){var r=t?t.length:0;if(!r)return-1;if("number"==typeof e)e=0>e?gu(r+e,0):e;else if(e){var i=ee(t,n),o=t[i];return(n===n?n===o:o!==o)?i:-1}return a(t,n,e||0)}function yr(t){return cr(t,1)}function _r(){for(var t=[],n=-1,e=arguments.length,r=[],i=je(),o=i==a,u=[];++n<e;){var s=arguments[n];He(s)&&(t.push(s),r.push(o&&s.length>=120?ju(n&&s):null))}if(e=t.length,2>e)return u;var l=t[0],c=-1,f=l?l.length:0,h=r[0];t:for(;++c<f;)if(s=l[c],(h?Zt(h,s):i(u,s,0))<0){for(n=e;--n;){var p=r[n];if((p?Zt(p,s):i(t[n],s,0))<0)continue t}h&&h.push(s),u.push(s)}return u}function xr(t){var n=t?t.length:0;return n?t[n-1]:S}function br(t,n,e){var r=t?t.length:0;if(!r)return-1;var i=r;if("number"==typeof e)i=(0>e?gu(r+e,0):vu(e||0,r-1))+1;else if(e){i=ee(t,n,!0)-1;var o=t[i];return(n===n?n===o:o!==o)?i:-1}if(n!==n)return y(t,i,!0);for(;i--;)if(t[i]===n)return i;return-1}function Mr(){var t=arguments,n=t[0];if(!n||!n.length)return n;for(var e=0,r=je(),i=t.length;++e<i;)for(var o=0,u=t[e];(o=r(n,u,o))>-1;)uu.call(n,o,1);return n}function wr(t,n,e){var r=[];if(!t||!t.length)return r;var i=-1,o=[],u=t.length;for(n=Ue(n,e,3);++i<u;){var a=t[i];n(a,i,t)&&(r.push(a),o.push(i))}return Hn(t,o),r}function Cr(t){return lr(t,1)}function Er(t,n,e){var r=t?t.length:0;return r?(e&&"number"!=typeof e&&Ye(t,n,e)&&(n=0,e=r),Xn(t,n,e)):[]}function Nr(t,n,e){var r=t?t.length:0;return r?((e?Ye(t,n,e):null==n)&&(n=1),Xn(t,0,0>n?0:n)):[]}function Sr(t,n,e){var r=t?t.length:0;return r?((e?Ye(t,n,e):null==n)&&(n=1),n=r-(+n||0),Xn(t,0>n?0:n)):[]}function Dr(t,n,e){return t&&t.length?te(t,Ue(n,e,3),!1,!0):[]}function Tr(t,n,e){return t&&t.length?te(t,Ue(n,e,3)):[]}function Ar(t,n,e,r){var i=t?t.length:0;if(!i)return[];null!=n&&"boolean"!=typeof n&&(r=e,e=Ye(t,n,r)?null:n,n=!1);var o=Ue();return(o!==xn||null!=e)&&(e=o(e,r,3)),n&&je()==a?M(t,e):Zn(t,e)}function kr(t){if(!t||!t.length)return[];var n=-1,e=0;t=an(t,function(t){return He(t)?(e=gu(t.length,e),!0):void 0});for(var r=Do(e);++n<e;)r[n]=sn(t,qn(n));return r}function Rr(t,n,e){var r=t?t.length:0;if(!r)return[];var i=kr(t);return null==n?i:(n=ie(n,e,4),sn(i,function(t){return fn(t,n,S,!0)}))}function Pr(){for(var t=-1,n=arguments.length;++t<n;){var e=arguments[t];if(He(e))var r=r?wn(r,e).concat(wn(e,r)):e}return r?Zn(r):[]}function Ir(t,n){var e=-1,r=t?t.length:0,i={};for(!r||n||Na(t[0])||(n=[]);++e<r;){var o=t[e];n?i[o]=n[e]:o&&(i[o[0]]=o[1])}return i}function Or(t){var e=n(t);return e.__chain__=!0,e}function Lr(t,n,e){return n.call(e,t),t}function Ur(t,n,e){return n.call(e,t)}function jr(){return Or(this)}function Fr(){return new r(this.value(),this.__chain__)}function Br(t){for(var n,r=this;r instanceof e;){var i=ur(r);n?o.__wrapped__=i:n=i;var o=i;r=r.__wrapped__}return o.__wrapped__=t,n}function zr(){var t=this.__wrapped__;return t instanceof i?(this.__actions__.length&&(t=new i(this)),new r(t.reverse(),this.__chain__)):this.thru(function(t){return t.reverse()})}function qr(){return this.value()+""}function Vr(){return ne(this.__wrapped__,this.__actions__)}function Hr(t,n,e){var r=Na(t)?un:Cn;return e&&Ye(t,n,e)&&(n=null),("function"!=typeof n||e!==S)&&(n=Ue(n,e,3)),r(t,n)}function Wr(t,n,e){var r=Na(t)?an:Nn;return n=Ue(n,e,3),r(t,n)}function Yr(t,n){return ea(t,jn(n))}function Xr(t,n,e,r){var i=t?zu(t):0;return Ge(i)||(t=Yi(t),i=t.length),i?(e="number"!=typeof e||r&&Ye(n,e,r)?0:0>e?gu(i+e,0):e||0,"string"==typeof t||!Na(t)&&ki(t)?i>e&&t.indexOf(n,e)>-1:je(t,n,e)>-1):!1}function Kr(t,n,e){var r=Na(t)?sn:Un;return n=Ue(n,e,3),r(t,n)}function Gr(t,n){return Kr(t,bo(n))}function $r(t,n,e){var r=Na(t)?an:Nn;return n=Ue(n,e,3),r(t,function(t,e,r){return!n(t,e,r)})}function Qr(t,n,e){if(e?Ye(t,n,e):null==n){t=rr(t);var r=t.length;return r>0?t[Wn(0,r-1)]:S}var i=Zr(t);return i.length=vu(0>n?0:+n||0,i.length),i}function Zr(t){t=rr(t);for(var n=-1,e=t.length,r=Do(e);++n<e;){var i=Wn(0,n);n!=i&&(r[n]=r[i]),r[i]=t[n]}return r}function Jr(t){var n=t?zu(t):0;return Ge(n)?n:ja(t).length}function ti(t,n,e){var r=Na(t)?pn:Kn;return e&&Ye(t,n,e)&&(n=null),("function"!=typeof n||e!==S)&&(n=Ue(n,e,3)),r(t,n)}function ni(t,n,e){if(null==t)return[];e&&Ye(t,n,e)&&(n=null);var r=-1;n=Ue(n,e,3);var i=Un(t,function(t,e,i){return{criteria:n(t,e,i),index:++r,value:t}});return Gn(i,p)}function ei(t,n,e,r){return null==t?[]:(r&&Ye(n,e,r)&&(e=null),Na(n)||(n=null==n?[]:[n]),Na(e)||(e=null==e?[]:[e]),$n(t,n,e))}function ri(t,n){return Wr(t,jn(n))}function ii(t,n){if("function"!=typeof n){if("function"!=typeof t)throw new Uo(W);var e=t;t=n,n=e}return t=pu(t=+t)?t:0,function(){return--t<1?n.apply(this,arguments):void 0}}function oi(t,n,e){return e&&Ye(t,n,e)&&(n=null),n=t&&null==n?t.length:gu(+n||0,0),Re(t,L,null,null,null,null,n)}function ui(t,n){var e;if("function"!=typeof n){if("function"!=typeof t)throw new Uo(W);var r=t;t=n,n=r}return function(){return--t>0&&(e=n.apply(this,arguments)),1>=t&&(n=null),e}}function ai(t,n,e){function r(){h&&Qo(h),s&&Qo(s),s=h=p=S}function i(){var e=n-(pa()-c);if(0>=e||e>n){s&&Qo(s);var r=p;s=h=p=S,r&&(d=pa(),l=t.apply(f,a),h||s||(a=f=null))}else h=ou(i,e)}function o(){h&&Qo(h),s=h=p=S,(v||g!==n)&&(d=pa(),l=t.apply(f,a),h||s||(a=f=null))}function u(){if(a=arguments,c=pa(),f=this,p=v&&(h||!m),g===!1)var e=m&&!h;else{s||m||(d=c);var r=g-(c-d),u=0>=r||r>g;u?(s&&(s=Qo(s)),d=c,l=t.apply(f,a)):s||(s=ou(o,r))}return u&&h?h=Qo(h):h||n===g||(h=ou(i,n)),e&&(u=!0,l=t.apply(f,a)),!u||h||s||(a=f=null),l}var a,s,l,c,f,h,p,d=0,g=!1,v=!0;if("function"!=typeof t)throw new Uo(W);if(n=0>n?0:+n||0,e===!0){var m=!0;v=!1}else Ci(e)&&(m=e.leading,g="maxWait"in e&&gu(+e.maxWait||0,n),v="trailing"in e?e.trailing:v);return u.cancel=r,u}function si(t,n){if("function"!=typeof t||n&&"function"!=typeof n)throw new Uo(W);var e=function(){var r=arguments,i=e.cache,o=n?n.apply(this,r):r[0];if(i.has(o))return i.get(o);var u=t.apply(this,r);return i.set(o,u),u};return e.cache=new si.Cache,e}function li(t){if("function"!=typeof t)throw new Uo(W);return function(){return!t.apply(this,arguments)}}function ci(t){return ui(2,t)}function fi(t,n){if("function"!=typeof t)throw new Uo(W);return n=gu(n===S?t.length-1:+n||0,0),function(){for(var e=arguments,r=-1,i=gu(e.length-n,0),o=Do(i);++r<i;)o[r]=e[n+r];switch(n){case 0:return t.call(this,o);case 1:return t.call(this,e[0],o);case 2:return t.call(this,e[0],e[1],o)}var u=Do(n+1);for(r=-1;++r<n;)u[r]=e[r];return u[n]=o,t.apply(this,u)}}function hi(t){if("function"!=typeof t)throw new Uo(W);return function(n){return t.apply(this,n)}}function pi(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new Uo(W);return e===!1?r=!1:Ci(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Yt.leading=r,Yt.maxWait=+n,Yt.trailing=i,ai(t,n,Yt)}function di(t,n){return n=null==n?go:n,
Re(n,I,null,[t],[])}function gi(t,n,e,r){return n&&"boolean"!=typeof n&&Ye(t,n,e)?n=!1:"function"==typeof n&&(r=e,e=n,n=!1),e="function"==typeof e&&ie(e,r,1),bn(t,n,e)}function vi(t,n,e){return n="function"==typeof n&&ie(n,e,1),bn(t,!0,n)}function mi(t){return _(t)&&He(t)&&Wo.call(t)==X}function yi(t){return t===!0||t===!1||_(t)&&Wo.call(t)==G}function _i(t){return _(t)&&Wo.call(t)==$}function xi(t){return!!t&&1===t.nodeType&&_(t)&&Wo.call(t).indexOf("Element")>-1}function bi(t){return null==t?!0:He(t)&&(Na(t)||ki(t)||mi(t)||_(t)&&Da(t.splice))?!t.length:!ja(t).length}function Mi(t,n,e,r){if(e="function"==typeof e&&ie(e,r,3),!e&&$e(t)&&$e(n))return t===n;var i=e?e(t,n):S;return i===S?In(t,n,e):!!i}function wi(t){return _(t)&&"string"==typeof t.message&&Wo.call(t)==Q}function Ci(t){var n=typeof t;return"function"==n||!!t&&"object"==n}function Ei(t,n,e,r){var i=ja(n),o=i.length;if(!o)return!0;if(null==t)return!1;if(e="function"==typeof e&&ie(e,r,3),t=ir(t),!e&&1==o){var u=i[0],a=n[u];if($e(a))return a===t[u]&&(a!==S||u in t)}for(var s=Do(o),l=Do(o);o--;)a=s[o]=n[i[o]],l[o]=$e(a);return Ln(t,i,s,l,e)}function Ni(t){return Ti(t)&&t!=+t}function Si(t){return null==t?!1:Wo.call(t)==Z?Xo.test(qo.call(t)):_(t)&&Lt.test(t)}function Di(t){return null===t}function Ti(t){return"number"==typeof t||_(t)&&Wo.call(t)==tt}function Ai(t){return _(t)&&Wo.call(t)==et}function ki(t){return"string"==typeof t||_(t)&&Wo.call(t)==it}function Ri(t){return _(t)&&Ge(t.length)&&!!Ht[Wo.call(t)]}function Pi(t){return t===S}function Ii(t){var n=t?zu(t):0;return Ge(n)?n?tn(t):[]:Yi(t)}function Oi(t){return _n(t,zi(t))}function Li(t,n,e){var r=Ru(t);return e&&Ye(t,n,e)&&(n=null),n?ku(r,n):r}function Ui(t){return Rn(t,zi(t))}function ji(t,n,e){var r=null==t?S:Pn(t,or(n),n+"");return r===S?e:r}function Fi(t,n){if(null==t)return!1;var e=Vo.call(t,n);return e||Xe(n)||(n=or(n),t=1==n.length?t:Pn(t,Xn(n,0,-1)),n=xr(n),e=null!=t&&Vo.call(t,n)),e}function Bi(t,n,e){e&&Ye(t,n,e)&&(n=null);for(var r=-1,i=ja(t),o=i.length,u={};++r<o;){var a=i[r],s=t[a];n?Vo.call(u,s)?u[s].push(a):u[s]=[a]:u[s]=a}return u}function zi(t){if(null==t)return[];Ci(t)||(t=Io(t));var n=t.length;n=n&&Ge(n)&&(Na(t)||Au.nonEnumArgs&&mi(t))&&n||0;for(var e=t.constructor,r=-1,i="function"==typeof e&&e.prototype===t,o=Do(n),u=n>0;++r<n;)o[r]=r+"";for(var a in t)u&&We(a,n)||"constructor"==a&&(i||!Vo.call(t,a))||o.push(a);return o}function qi(t){for(var n=-1,e=ja(t),r=e.length,i=Do(r);++n<r;){var o=e[n];i[n]=[o,t[o]]}return i}function Vi(t,n,e){var r=null==t?S:t[n];return r===S&&(null==t||Xe(n,t)||(n=or(n),t=1==n.length?t:Pn(t,Xn(n,0,-1)),r=null==t?S:t[xr(n)]),r=r===S?e:r),Da(r)?r.call(t):r}function Hi(t,n,e){if(null==t)return t;var r=n+"";n=null!=t[r]||Xe(n,t)?[r]:or(n);for(var i=-1,o=n.length,u=o-1,a=t;null!=a&&++i<o;){var s=n[i];Ci(a)&&(i==u?a[s]=e:null==a[s]&&(a[s]=We(n[i+1])?[]:{})),a=a[s]}return t}function Wi(t,n,e,r){var i=Na(t)||Ri(t);if(n=Ue(n,r,4),null==e)if(i||Ci(t)){var o=t.constructor;e=i?Na(t)?new o:[]:Ru(Da(o)&&o.prototype)}else e={};return(i?nn:An)(t,function(t,r,i){return n(e,t,r,i)}),e}function Yi(t){return Jn(t,ja(t))}function Xi(t){return Jn(t,zi(t))}function Ki(t,n,e){return n=+n||0,"undefined"==typeof e?(e=n,n=0):e=+e||0,t>=vu(n,e)&&t<gu(n,e)}function Gi(t,n,e){e&&Ye(t,n,e)&&(n=e=null);var r=null==t,i=null==n;if(null==e&&(i&&"boolean"==typeof t?(e=t,t=1):"boolean"==typeof n&&(e=n,i=!0)),r&&i&&(n=1,i=!1),t=+t||0,i?(n=t,t=0):n=+n||0,e||t%1||n%1){var o=xu();return vu(t+o*(n-t+parseFloat("1e-"+((o+"").length-1))),n)}return Wn(t,n)}function $i(t){return t=l(t),t&&t.charAt(0).toUpperCase()+t.slice(1)}function Qi(t){return t=l(t),t&&t.replace(Ut,g).replace(kt,"")}function Zi(t,n,e){t=l(t),n+="";var r=t.length;return e=e===S?r:vu(0>e?0:+e||0,r),e-=n.length,e>=0&&t.indexOf(n,e)==e}function Ji(t){return t=l(t),t&&Mt.test(t)?t.replace(xt,v):t}function to(t){return t=l(t),t&&At.test(t)?t.replace(Tt,"\\$&"):t}function no(t,n,e){t=l(t),n=+n;var r=t.length;if(r>=n||!pu(n))return t;var i=(n-r)/2,o=Zo(i),u=$o(i);return e=Te("",u,e),e.slice(0,o)+t+e}function eo(t,n,e){return e&&Ye(t,n,e)&&(n=0),_u(t,n)}function ro(t,n){var e="";if(t=l(t),n=+n,1>n||!t||!pu(n))return e;do n%2&&(e+=t),n=Zo(n/2),t+=t;while(n);return e}function io(t,n,e){return t=l(t),e=null==e?0:vu(0>e?0:+e||0,t.length),t.lastIndexOf(n,e)==e}function oo(t,e,r){var i=n.templateSettings;r&&Ye(t,e,r)&&(e=r=null),t=l(t),e=mn(ku({},r||e),i,vn);var o,u,a=mn(ku({},e.imports),i.imports,vn),s=ja(a),c=Jn(a,s),f=0,h=e.interpolate||jt,p="__p += '",d=Oo((e.escape||jt).source+"|"+h.source+"|"+(h===Et?Pt:jt).source+"|"+(e.evaluate||jt).source+"|$","g"),g="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++Vt+"]")+"\n";t.replace(d,function(n,e,r,i,a,s){return r||(r=i),p+=t.slice(f,s).replace(Ft,m),e&&(o=!0,p+="' +\n__e("+e+") +\n'"),a&&(u=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=s+n.length,n}),p+="';\n";var v=e.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(u?p.replace(vt,""):p).replace(mt,"$1").replace(yt,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=$a(function(){return ko(s,g+"return "+p).apply(S,c)});if(y.source=p,wi(y))throw y;return y}function uo(t,n,e){var r=t;return(t=l(t))?(e?Ye(r,n,e):null==n)?t.slice(w(t),C(t)+1):(n+="",t.slice(f(t,n),h(t,n)+1)):t}function ao(t,n,e){var r=t;return t=l(t),t?(e?Ye(r,n,e):null==n)?t.slice(w(t)):t.slice(f(t,n+"")):t}function so(t,n,e){var r=t;return t=l(t),t?(e?Ye(r,n,e):null==n)?t.slice(0,C(t)+1):t.slice(0,h(t,n+"")+1):t}function lo(t,n,e){e&&Ye(t,n,e)&&(n=null);var r=j,i=F;if(null!=n)if(Ci(n)){var o="separator"in n?n.separator:o;r="length"in n?+n.length||0:r,i="omission"in n?l(n.omission):i}else r=+n||0;if(t=l(t),r>=t.length)return t;var u=r-i.length;if(1>u)return i;var a=t.slice(0,u);if(null==o)return a+i;if(Ai(o)){if(t.slice(u).search(o)){var s,c,f=t.slice(0,u);for(o.global||(o=Oo(o.source,(It.exec(o)||"")+"g")),o.lastIndex=0;s=o.exec(f);)c=s.index;a=a.slice(0,null==c?u:c)}}else if(t.indexOf(o,u)!=u){var h=a.lastIndexOf(o);h>-1&&(a=a.slice(0,h))}return a+i}function co(t){return t=l(t),t&&bt.test(t)?t.replace(_t,E):t}function fo(t,n,e){return e&&Ye(t,n,e)&&(n=null),t=l(t),t.match(n||Bt)||[]}function ho(t,n,e){return e&&Ye(t,n,e)&&(n=null),_(t)?vo(t):xn(t,n)}function po(t){return function(){return t}}function go(t){return t}function vo(t){return jn(bn(t,!0))}function mo(t,n){return Fn(t,bn(n,!0))}function yo(t,n,e){if(null==e){var r=Ci(n),i=r&&ja(n),o=i&&i.length&&Rn(n,i);(o?o.length:r)||(o=!1,e=n,n=t,t=this)}o||(o=Rn(n,ja(n)));var u=!0,a=-1,s=Da(t),l=o.length;e===!1?u=!1:Ci(e)&&"chain"in e&&(u=e.chain);for(;++a<l;){var c=o[a],f=n[c];t[c]=f,s&&(t.prototype[c]=function(n){return function(){var e=this.__chain__;if(u||e){var r=t(this.__wrapped__),i=r.__actions__=tn(this.__actions__);return i.push({func:n,args:arguments,thisArg:t}),r.__chain__=e,r}var o=[this.value()];return nu.apply(o,arguments),n.apply(t,o)}}(f))}return t}function _o(){return t._=Yo,this}function xo(){}function bo(t){return Xe(t)?qn(t):Vn(t)}function Mo(t){return function(n){return Pn(t,or(n),n+"")}}function wo(t,n,e){e&&Ye(t,n,e)&&(n=e=null),t=+t||0,e=null==e?1:+e||0,null==n?(n=t,t=0):n=+n||0;for(var r=-1,i=gu($o((n-t)/(e||1)),0),o=Do(i);++r<i;)o[r]=t,t+=e;return o}function Co(t,n,e){if(t=Zo(t),1>t||!pu(t))return[];var r=-1,i=Do(vu(t,wu));for(n=ie(n,e,1);++r<t;)wu>r?i[r]=n(r):n(r);return i}function Eo(t){var n=++Ho;return l(t)+n}function No(t,n){return(+t||0)+(+n||0)}function So(t,n,e){e&&Ye(t,n,e)&&(n=null);var r=Ue(),i=null==n;return r===xn&&i||(i=!1,n=r(n,e,3)),i?dn(Na(t)?t:rr(t)):Qn(t,n)}t=t?on.defaults(rn.Object(),t,on.pick(rn,qt)):rn;var Do=t.Array,To=t.Date,Ao=t.Error,ko=t.Function,Ro=t.Math,Po=t.Number,Io=t.Object,Oo=t.RegExp,Lo=t.String,Uo=t.TypeError,jo=Do.prototype,Fo=Io.prototype,Bo=Lo.prototype,zo=(zo=t.window)&&zo.document,qo=ko.prototype.toString,Vo=Fo.hasOwnProperty,Ho=0,Wo=Fo.toString,Yo=t._,Xo=Oo("^"+to(Wo).replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ko=Si(Ko=t.ArrayBuffer)&&Ko,Go=Si(Go=Ko&&new Ko(0).slice)&&Go,$o=Ro.ceil,Qo=t.clearTimeout,Zo=Ro.floor,Jo=Si(Jo=Io.getOwnPropertySymbols)&&Jo,tu=Si(tu=Io.getPrototypeOf)&&tu,nu=jo.push,eu=Si(eu=Io.preventExtensions)&&eu,ru=Fo.propertyIsEnumerable,iu=Si(iu=t.Set)&&iu,ou=t.setTimeout,uu=jo.splice,au=Si(au=t.Uint8Array)&&au,su=Si(su=t.WeakMap)&&su,lu=function(){try{var n=Si(n=t.Float64Array)&&n,e=new n(new Ko(10),0,1)&&n}catch(r){}return e}(),cu=function(){var t=eu&&Si(t=Io.assign)&&t;try{if(t){var n=eu({1:0});n[0]=1}}catch(e){try{t(n,"xo")}catch(e){}return!n[1]&&t}return!1}(),fu=Si(fu=Do.isArray)&&fu,hu=Si(hu=Io.create)&&hu,pu=t.isFinite,du=Si(du=Io.keys)&&du,gu=Ro.max,vu=Ro.min,mu=Si(mu=To.now)&&mu,yu=Si(yu=Po.isFinite)&&yu,_u=t.parseInt,xu=Ro.random,bu=Po.NEGATIVE_INFINITY,Mu=Po.POSITIVE_INFINITY,wu=Ro.pow(2,32)-1,Cu=wu-1,Eu=wu>>>1,Nu=lu?lu.BYTES_PER_ELEMENT:0,Su=Ro.pow(2,53)-1,Du=su&&new su,Tu={},Au=n.support={};!function(t){var n=function(){this.x=t},e=arguments,r=[];n.prototype={valueOf:t,y:t};for(var i in new n)r.push(i);Au.funcDecomp=/\bthis\b/.test(function(){return this}),Au.funcNames="string"==typeof ko.name;try{Au.dom=11===zo.createDocumentFragment().nodeType}catch(o){Au.dom=!1}try{Au.nonEnumArgs=!ru.call(e,1)}catch(o){Au.nonEnumArgs=!0}}(1,0),n.templateSettings={escape:wt,evaluate:Ct,interpolate:Et,variable:"",imports:{_:n}};var ku=cu||function(t,n){return null==n?t:_n(n,qu(n),_n(n,ja(n),t))},Ru=function(){function n(){}return function(e){if(Ci(e)){n.prototype=e;var r=new n;n.prototype=null}return r||t.Object()}}(),Pu=ce(An),Iu=ce(kn,!0),Ou=fe(),Lu=fe(!0),Uu=Du?function(t,n){return Du.set(t,n),t}:go;Go||(oe=Ko&&au?function(t){var n=t.byteLength,e=lu?Zo(n/Nu):0,r=e*Nu,i=new Ko(n);if(e){var o=new lu(i,0,e);o.set(new lu(t,0,e))}return n!=r&&(o=new au(i,r),o.set(new au(t,r))),i}:po(null));var ju=hu&&iu?function(t){return new Qt(t)}:po(null),Fu=Du?function(t){return Du.get(t)}:xo,Bu=function(){return Au.funcNames?"constant"==po.name?qn("name"):function(t){for(var n=t.name,e=Tu[n],r=e?e.length:0;r--;){var i=e[r],o=i.func;if(null==o||o==t)return i.name}return n}:po("")}(),zu=qn("length"),qu=Jo?function(t){return Jo(ir(t))}:po([]),Vu=function(){var t=0,n=0;return function(e,r){var i=pa(),o=z-(i-n);if(n=i,o>0){if(++t>=B)return e}else t=0;return Uu(e,r)}}(),Hu=fi(function(t,n){return He(t)?wn(t,Dn(n,!1,!0)):[]}),Wu=ye(),Yu=ye(!0),Xu=fi(function(t,n){n=Dn(n);var e=yn(t,n);return Hn(t,n.sort(o)),e}),Ku=ke(),Gu=ke(!0),$u=fi(function(t){return Zn(Dn(t,!1,!0))}),Qu=fi(function(t,n){return He(t)?wn(t,n):[]}),Zu=fi(kr),Ju=fi(function(t){var n=t.length,e=t[n-2],r=t[n-1];return n>2&&"function"==typeof e?n-=2:(e=n>1&&"function"==typeof r?(--n,r):S,r=S),t.length=n,Rr(t,e,r)}),ta=fi(function(t,n){return yn(t,Dn(n))}),na=se(function(t,n,e){Vo.call(t,e)?++t[e]:t[e]=1}),ea=me(Pu),ra=me(Iu,!0),ia=be(nn,Pu),oa=be(en,Iu),ua=se(function(t,n,e){Vo.call(t,e)?t[e].push(n):t[e]=[n]}),aa=se(function(t,n,e){t[e]=n}),sa=fi(function(t,n,e){var r=-1,i="function"==typeof n,o=Xe(n),u=He(t)?Do(t.length):[];return Pu(t,function(t){var a=i?n:o&&null!=t&&t[n];u[++r]=a?a.apply(t,e):Ve(t,n,e)}),u}),la=se(function(t,n,e){t[e?0:1].push(n)},function(){return[[],[]]}),ca=Se(fn,Pu),fa=Se(hn,Iu),ha=fi(function(t,n){if(null==t)return[];var e=n[2];return e&&Ye(n[0],n[1],e)&&(n.length=1),$n(t,Dn(n),[])}),pa=mu||function(){return(new To).getTime()},da=fi(function(t,n,e){var r=T;if(e.length){var i=b(e,da.placeholder);r|=I}return Re(t,r,n,e,i)}),ga=fi(function(t,n){n=n.length?Dn(n):Ui(t);for(var e=-1,r=n.length;++e<r;){var i=n[e];t[i]=Re(t[i],T,t)}return t}),va=fi(function(t,n,e){var r=T|A;if(e.length){var i=b(e,va.placeholder);r|=I}return Re(n,r,t,e,i)}),ma=ge(R),ya=ge(P),_a=fi(function(t,n){return Mn(t,1,n)}),xa=fi(function(t,n,e){return Mn(t,n,e)}),ba=xe(),Ma=xe(!0),wa=Ne(I),Ca=Ne(O),Ea=fi(function(t,n){return Re(t,U,null,null,null,Dn(n))}),Na=fu||function(t){return _(t)&&Ge(t.length)&&Wo.call(t)==K};Au.dom||(xi=function(t){return!!t&&1===t.nodeType&&_(t)&&!Ta(t)});var Sa=yu||function(t){return"number"==typeof t&&pu(t)},Da=s(/x/)||au&&!s(au)?function(t){return Wo.call(t)==Z}:s,Ta=tu?function(t){if(!t||Wo.call(t)!=nt)return!1;var n=t.valueOf,e=Si(n)&&(e=tu(n))&&tu(e);return e?t==e||tu(t)==e:nr(t)}:nr,Aa=le(function(t,n,e){return e?mn(t,n,e):ku(t,n)}),ka=fi(function(t){var n=t[0];return null==n?n:(t.push(gn),Aa.apply(S,t))}),Ra=_e(An),Pa=_e(kn),Ia=Me(Ou),Oa=Me(Lu),La=we(An),Ua=we(kn),ja=du?function(t){var n=null!=t&&t.constructor;return"function"==typeof n&&n.prototype===t||"function"!=typeof t&&He(t)?er(t):Ci(t)?du(t):[]}:er,Fa=Ce(!0),Ba=Ce(),za=le(Bn),qa=fi(function(t,n){if(null==t)return{};if("function"!=typeof n[0]){var n=sn(Dn(n),Lo);return Ze(t,wn(zi(t),n))}var e=ie(n[0],n[1],3);return Je(t,function(t,n,r){return!e(t,n,r)})}),Va=fi(function(t,n){return null==t?{}:"function"==typeof n[0]?Je(t,ie(n[0],n[1],3)):Ze(t,Dn(n))}),Ha=pe(function(t,n,e){return n=n.toLowerCase(),t+(e?n.charAt(0).toUpperCase()+n.slice(1):n)}),Wa=pe(function(t,n,e){return t+(e?"-":"")+n.toLowerCase()}),Ya=Ee(),Xa=Ee(!0);8!=_u(zt+"08")&&(eo=function(t,n,e){return(e?Ye(t,n,e):null==n)?n=0:n&&(n=+n),t=uo(t),_u(t,n||(Ot.test(t)?16:10))});var Ka=pe(function(t,n,e){return t+(e?"_":"")+n.toLowerCase()}),Ga=pe(function(t,n,e){return t+(e?" ":"")+(n.charAt(0).toUpperCase()+n.slice(1))}),$a=fi(function(t,n){try{return t.apply(S,n)}catch(e){return wi(e)?e:new Ao(e)}}),Qa=fi(function(t,n){return function(e){return Ve(e,t,n)}}),Za=fi(function(t,n){return function(e){return Ve(t,e,n)}}),Ja=ve(ln),ts=ve(cn,!0);return n.prototype=e.prototype,r.prototype=Ru(e.prototype),r.prototype.constructor=r,i.prototype=Ru(e.prototype),i.prototype.constructor=i,ot.prototype["delete"]=Xt,ot.prototype.get=Kt,ot.prototype.has=Gt,ot.prototype.set=$t,Qt.prototype.push=Jt,si.Cache=ot,n.after=ii,n.ary=oi,n.assign=Aa,n.at=ta,n.before=ui,n.bind=da,n.bindAll=ga,n.bindKey=va,n.callback=ho,n.chain=Or,n.chunk=ar,n.compact=sr,n.constant=po,n.countBy=na,n.create=Li,n.curry=ma,n.curryRight=ya,n.debounce=ai,n.defaults=ka,n.defer=_a,n.delay=xa,n.difference=Hu,n.drop=lr,n.dropRight=cr,n.dropRightWhile=fr,n.dropWhile=hr,n.fill=pr,n.filter=Wr,n.flatten=gr,n.flattenDeep=vr,n.flow=ba,n.flowRight=Ma,n.forEach=ia,n.forEachRight=oa,n.forIn=Ia,n.forInRight=Oa,n.forOwn=La,n.forOwnRight=Ua,n.functions=Ui,n.groupBy=ua,n.indexBy=aa,n.initial=yr,n.intersection=_r,n.invert=Bi,n.invoke=sa,n.keys=ja,n.keysIn=zi,n.map=Kr,n.mapKeys=Fa,n.mapValues=Ba,n.matches=vo,n.matchesProperty=mo,n.memoize=si,n.merge=za,n.method=Qa,n.methodOf=Za,n.mixin=yo,n.negate=li,n.omit=qa,n.once=ci,n.pairs=qi,n.partial=wa,n.partialRight=Ca,n.partition=la,n.pick=Va,n.pluck=Gr,n.property=bo,n.propertyOf=Mo,n.pull=Mr,n.pullAt=Xu,n.range=wo,n.rearg=Ea,n.reject=$r,n.remove=wr,n.rest=Cr,n.restParam=fi,n.set=Hi,n.shuffle=Zr,n.slice=Er,n.sortBy=ni,n.sortByAll=ha,n.sortByOrder=ei,n.spread=hi,n.take=Nr,n.takeRight=Sr,n.takeRightWhile=Dr,n.takeWhile=Tr,n.tap=Lr,n.throttle=pi,n.thru=Ur,n.times=Co,n.toArray=Ii,n.toPlainObject=Oi,n.transform=Wi,n.union=$u,n.uniq=Ar,n.unzip=kr,n.unzipWith=Rr,n.values=Yi,n.valuesIn=Xi,n.where=ri,n.without=Qu,n.wrap=di,n.xor=Pr,n.zip=Zu,n.zipObject=Ir,n.zipWith=Ju,n.backflow=Ma,n.collect=Kr,n.compose=Ma,n.each=ia,n.eachRight=oa,n.extend=Aa,n.iteratee=ho,n.methods=Ui,n.object=Ir,n.select=Wr,n.tail=Cr,n.unique=Ar,yo(n,n),n.add=No,n.attempt=$a,n.camelCase=Ha,n.capitalize=$i,n.clone=gi,n.cloneDeep=vi,n.deburr=Qi,n.endsWith=Zi,n.escape=Ji,n.escapeRegExp=to,n.every=Hr,n.find=ea,n.findIndex=Wu,n.findKey=Ra,n.findLast=ra,n.findLastIndex=Yu,n.findLastKey=Pa,n.findWhere=Yr,n.first=dr,n.get=ji,n.has=Fi,n.identity=go,n.includes=Xr,n.indexOf=mr,n.inRange=Ki,n.isArguments=mi,n.isArray=Na,n.isBoolean=yi,n.isDate=_i,n.isElement=xi,n.isEmpty=bi,n.isEqual=Mi,n.isError=wi,n.isFinite=Sa,n.isFunction=Da,n.isMatch=Ei,n.isNaN=Ni,n.isNative=Si,n.isNull=Di,n.isNumber=Ti,n.isObject=Ci,n.isPlainObject=Ta,n.isRegExp=Ai,n.isString=ki,n.isTypedArray=Ri,n.isUndefined=Pi,n.kebabCase=Wa,n.last=xr,n.lastIndexOf=br,n.max=Ja,n.min=ts,n.noConflict=_o,n.noop=xo,n.now=pa,n.pad=no,n.padLeft=Ya,n.padRight=Xa,n.parseInt=eo,n.random=Gi,n.reduce=ca,n.reduceRight=fa,n.repeat=ro,n.result=Vi,n.runInContext=N,n.size=Jr,n.snakeCase=Ka,n.some=ti,n.sortedIndex=Ku,n.sortedLastIndex=Gu,n.startCase=Ga,n.startsWith=io,n.sum=So,n.template=oo,n.trim=uo,n.trimLeft=ao,n.trimRight=so,n.trunc=lo,n.unescape=co,n.uniqueId=Eo,n.words=fo,n.all=Hr,n.any=ti,n.contains=Xr,n.detect=ea,n.foldl=ca,n.foldr=fa,n.head=dr,n.include=Xr,n.inject=ca,yo(n,function(){var t={};return An(n,function(e,r){n.prototype[r]||(t[r]=e)}),t}(),!1),n.sample=Qr,n.prototype.sample=function(t){return this.__chain__||null!=t?this.thru(function(n){return Qr(n,t)}):Qr(this.value())},n.VERSION=D,nn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),nn(["dropWhile","filter","map","takeWhile"],function(t,n){var e=n!=H,r=n==q;i.prototype[t]=function(t,o){var u=this.__filtered__,a=u&&r?new i(this):this.clone(),s=a.__iteratees__||(a.__iteratees__=[]);return s.push({done:!1,count:0,index:0,iteratee:Ue(t,o,1),limit:-1,type:n}),a.__filtered__=u||e,a}}),nn(["drop","take"],function(t,n){var e=t+"While";i.prototype[t]=function(e){var r=this.__filtered__,i=r&&!n?this.dropWhile():this.clone();if(e=null==e?1:gu(Zo(e)||0,0),r)n?i.__takeCount__=vu(i.__takeCount__,e):xr(i.__iteratees__).limit=e;else{var o=i.__views__||(i.__views__=[]);o.push({size:e,type:t+(i.__dir__<0?"Right":"")})}return i},i.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()},i.prototype[t+"RightWhile"]=function(t,n){return this.reverse()[e](t,n).reverse()}}),nn(["first","last"],function(t,n){var e="take"+(n?"Right":"");i.prototype[t]=function(){return this[e](1).value()[0]}}),nn(["initial","rest"],function(t,n){var e="drop"+(n?"":"Right");i.prototype[t]=function(){return this[e](1)}}),nn(["pluck","where"],function(t,n){var e=n?"filter":"map",r=n?jn:bo;i.prototype[t]=function(t){return this[e](r(t))}}),i.prototype.compact=function(){return this.filter(go)},i.prototype.reject=function(t,n){return t=Ue(t,n,1),this.filter(function(n){return!t(n)})},i.prototype.slice=function(t,n){t=null==t?0:+t||0;var e=this;return 0>t?e=this.takeRight(-t):t&&(e=this.drop(t)),n!==S&&(n=+n||0,e=0>n?e.dropRight(-n):e.take(n-t)),e},i.prototype.toArray=function(){return this.drop(0)},An(i.prototype,function(t,e){var o=n[e];if(o){var u=/^(?:filter|map|reject)|While$/.test(e),a=/^(?:first|last)$/.test(e);n.prototype[e]=function(){var e=arguments,s=this.__chain__,l=this.__wrapped__,c=!!this.__actions__.length,f=l instanceof i,h=e[0],p=f||Na(l);p&&u&&"function"==typeof h&&1!=h.length&&(f=p=!1);var d=f&&!c;if(a&&!s)return d?t.call(l):o.call(n,this.value());var g=function(t){var r=[t];return nu.apply(r,e),o.apply(n,r)};if(p){var v=d?l:new i(this),m=t.apply(v,e);if(!a&&(c||m.__actions__)){var y=m.__actions__||(m.__actions__=[]);y.push({func:Ur,args:[g],thisArg:n})}return new r(m,s)}return this.thru(g)}}}),nn(["concat","join","pop","push","replace","shift","sort","splice","split","unshift"],function(t){var e=(/^(?:replace|split)$/.test(t)?Bo:jo)[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:join|pop|replace|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;return i&&!this.__chain__?e.apply(this.value(),t):this[r](function(n){return e.apply(n,t)})}}),An(i.prototype,function(t,e){var r=n[e];if(r){var i=r.name,o=Tu[i]||(Tu[i]=[]);o.push({name:e,func:r})}}),Tu[De(null,A).name]=[{name:"wrapper",func:null}],i.prototype.clone=x,i.prototype.reverse=J,i.prototype.value=rt,n.prototype.chain=jr,n.prototype.commit=Fr,n.prototype.plant=Br,n.prototype.reverse=zr,n.prototype.toString=qr,n.prototype.run=n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=Vr,n.prototype.collect=n.prototype.map,n.prototype.head=n.prototype.first,n.prototype.select=n.prototype.filter,n.prototype.tail=n.prototype.rest,n}var S,D="3.8.0",T=1,A=2,k=4,R=8,P=16,I=32,O=64,L=128,U=256,j=30,F="...",B=150,z=16,q=0,V=1,H=2,W="Expected a function",Y="__lodash_placeholder__",X="[object Arguments]",K="[object Array]",G="[object Boolean]",$="[object Date]",Q="[object Error]",Z="[object Function]",J="[object Map]",tt="[object Number]",nt="[object Object]",et="[object RegExp]",rt="[object Set]",it="[object String]",ot="[object WeakMap]",ut="[object ArrayBuffer]",at="[object Float32Array]",st="[object Float64Array]",lt="[object Int8Array]",ct="[object Int16Array]",ft="[object Int32Array]",ht="[object Uint8Array]",pt="[object Uint8ClampedArray]",dt="[object Uint16Array]",gt="[object Uint32Array]",vt=/\b__p \+= '';/g,mt=/\b(__p \+=) '' \+/g,yt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39|#96);/g,xt=/[&<>"'`]/g,bt=RegExp(_t.source),Mt=RegExp(xt.source),wt=/<%-([\s\S]+?)%>/g,Ct=/<%([\s\S]+?)%>/g,Et=/<%=([\s\S]+?)%>/g,Nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,St=/^\w*$/,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,Tt=/[.*+?^${}()|[\]\/\\]/g,At=RegExp(Tt.source),kt=/[\u0300-\u036f\ufe20-\ufe23]/g,Rt=/\\(\\)?/g,Pt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,It=/\w*$/,Ot=/^0[xX]/,Lt=/^\[object .+?Constructor\]$/,Ut=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,jt=/($^)/,Ft=/['\n\r\u2028\u2029\\]/g,Bt=function(){var t="[A-Z\\xc0-\\xd6\\xd8-\\xde]",n="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(t+"+(?="+t+n+")|"+t+"?"+n+"|"+t+"+|[0-9]+","g")}(),zt=" 	\f \ufeff\n\r\u2028\u2029 ᠎              ",qt=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","document","isFinite","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","window"],Vt=-1,Ht={};Ht[at]=Ht[st]=Ht[lt]=Ht[ct]=Ht[ft]=Ht[ht]=Ht[pt]=Ht[dt]=Ht[gt]=!0,Ht[X]=Ht[K]=Ht[ut]=Ht[G]=Ht[$]=Ht[Q]=Ht[Z]=Ht[J]=Ht[tt]=Ht[nt]=Ht[et]=Ht[rt]=Ht[it]=Ht[ot]=!1;var Wt={};Wt[X]=Wt[K]=Wt[ut]=Wt[G]=Wt[$]=Wt[at]=Wt[st]=Wt[lt]=Wt[ct]=Wt[ft]=Wt[tt]=Wt[nt]=Wt[et]=Wt[it]=Wt[ht]=Wt[pt]=Wt[dt]=Wt[gt]=!0,Wt[Q]=Wt[Z]=Wt[J]=Wt[rt]=Wt[ot]=!1;var Yt={leading:!1,maxWait:0,trailing:!1},Xt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},Kt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Gt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},$t={"function":!0,object:!0},Qt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Zt=$t[typeof n]&&n&&!n.nodeType&&n,Jt=$t[typeof t]&&t&&!t.nodeType&&t,tn=Zt&&Jt&&"object"==typeof i&&i&&i.Object&&i,nn=$t[typeof self]&&self&&self.Object&&self,en=$t[typeof window]&&window&&window.Object&&window,rn=(Jt&&Jt.exports===Zt&&Zt,tn||en!==(this&&this.window)&&en||nn||this),on=N();rn._=on,r=function(){return on}.call(n,e,n,t),!(r!==S&&(t.exports=r))}).call(this)}).call(n,e(187)(t),function(){return this}())},function(t,n,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n,e){var r={listen:function(t,n,e){return t.addEventListener?(t.addEventListener(n,e,!1),{remove:function(){t.removeEventListener(n,e,!1)}}):t.attachEvent?(t.attachEvent("on"+n,e),{remove:function(){t.detachEvent("on"+n,e)}}):void 0}};t.exports=r},function(t,n,e){function r(t,n,e,r){var o=i.size(t),u=i.slice(t),a=Math.ceil(o/r)+1,s=2*n+e,l=0,c=0;return r>=o||i.each(i.range(0,a),function(t){var o=t%2?r-1:r,a=0;r>o&&(a=n);var f=u.splice(0,o);i.each(f,function(t,r){t.x=2*n*r+2*e+a,t.y=l,t.x>c&&(c=t.x)}),l+=s}),i.each(t,function(t){t.r=n}),{items:t,width:c,height:l-s}}var i=e(186),o=(e(185),e(190)),u=Math.max(document.documentElement.clientWidth,window.innerWidth||0),a=(Math.max(document.documentElement.clientHeight,window.innerHeight||0),[{name:"Test 1",id:1},{name:"Test 2",id:2},{name:"Test 3",id:3}]);i.each(a,function(t,n){t.children=i.map(i.range(0,i.random(10,50,!1)),function(t){return{id:o.v1(),name:"SFS-STY-"+t,description:"This is an item and it is a beautiful item."}})}),i.each(a,function(t,n){if(a[n+1]){var e=i.pluck(a[n+1].children,"id");i.each(t.children,function(t){t.related=t.related||[],t.related.push(e[i.random(0,i.size(e)-1)]),t.related=i.uniq(t.related)})}});var s=30,l=u/2;i.each(a,function(t,n){t.x=l,t.r=s,t.y=3*s*(n+1)}),i.each(a,function(t){var n=r(t.children,s,10,5);t.width=n.width,t.height=n.height,t.children=n.items}),t.exports=a},function(t,n,e){function r(t,n,e){var r=n&&e||0,i=0;for(n=n||[],t.toLowerCase().replace(/[0-9a-f]{2}/g,function(t){16>i&&(n[r+i++]=l[t])});16>i;)n[r+i++]=0;return n}function i(t,n){var e=n||0,r=s;return r[t[e++]]+r[t[e++]]+r[t[e++]]+r[t[e++]]+"-"+r[t[e++]]+r[t[e++]]+"-"+r[t[e++]]+r[t[e++]]+"-"+r[t[e++]]+r[t[e++]]+"-"+r[t[e++]]+r[t[e++]]+r[t[e++]]+r[t[e++]]+r[t[e++]]+r[t[e++]]}function o(t,n,e){var r=n&&e||0,o=n||[];t=t||{};var u=void 0!==t.clockseq?t.clockseq:p,a=void 0!==t.msecs?t.msecs:(new Date).getTime(),s=void 0!==t.nsecs?t.nsecs:g+1,l=a-d+(s-g)/1e4;if(0>l&&void 0===t.clockseq&&(u=u+1&16383),(0>l||a>d)&&void 0===t.nsecs&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");d=a,g=s,p=u,a+=122192928e5;var c=(1e4*(268435455&a)+s)%4294967296;o[r++]=c>>>24&255,o[r++]=c>>>16&255,o[r++]=c>>>8&255,o[r++]=255&c;var f=a/4294967296*1e4&268435455;o[r++]=f>>>8&255,o[r++]=255&f,o[r++]=f>>>24&15|16,o[r++]=f>>>16&255,o[r++]=u>>>8|128,o[r++]=255&u;for(var v=t.node||h,m=0;6>m;m++)o[r+m]=v[m];return n?n:i(o)}function u(t,n,e){var r=n&&e||0;"string"==typeof t&&(n="binary"==t?new Array(16):null,t=null),t=t||{};var o=t.random||(t.rng||a)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,n)for(var u=0;16>u;u++)n[r+u]=o[u];return n||i(o)}for(var a=e(191),s=[],l={},c=0;256>c;c++)s[c]=(c+256).toString(16).substr(1),l[s[c]]=c;var f=a(),h=[1|f[0],f[1],f[2],f[3],f[4],f[5]],p=16383&(f[6]<<8|f[7]),d=0,g=0,v=u;v.v1=o,v.v4=u,v.parse=r,v.unparse=i,t.exports=v},function(t,n,e){(function(n){var e;if(n.crypto&&crypto.getRandomValues){var r=new Uint8Array(16);e=function(){return crypto.getRandomValues(r),r}}if(!e){var i=new Array(16);e=function(){for(var t,n=0;16>n;n++)0===(3&n)&&(t=4294967296*Math.random()),i[n]=t>>>((3&n)<<3)&255;return i}}t.exports=e}).call(n,function(){return this}())}]);
              
            
!
999px

Console