!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("React"),require("d3")):"function"==typeof define&&define.amd?define(["React","d3"],n):"object"==typeof exports?exports.ReactTransition=n(require("React"),require("d3")):t.ReactTransition=n(t.React,t.d3)}(this,function(){return function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=t,n.c=r,n.p="",n(0)}([function(t,n,r){t.exports=r(2)},function(t){function n(t){return"string"==typeof t?t:null==t?"":t+""}function r(t){return t&&"object"==typeof t||!1}function e(t){return"number"==typeof t&&t>-1&&t%1==0&&m>=t}function o(t){return null==t?!1:y.call(t)==c?g.test(l.call(t)):r(t)&&f.test(t)||!1}function u(t){return t=n(t),t&&p.test(t)?t.replace(a,"\\$&"):t}var i="[object Array]",c="[object Function]",f=/^\[object .+?Constructor\]$/,a=/[.*+?^${}()|[\]\/\\]/g,p=RegExp(a.source),s=Object.prototype,l=Function.prototype.toString,y=s.toString,g=RegExp("^"+u(y).replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),h=o(h=Array.isArray)&&h,m=Math.pow(2,53)-1,v=h||function(t){return r(t)&&e(t.length)&&y.call(t)==i||!1};t.exports=v},function(t,n,r){var e=r(10),o=r(11),u=r(3);t.exports=e.createClass({getDefaultProps:function(){return{ease:"cubic-in-out",duration:400}},startAnimation:function(){function t(){if(!o&&!u.stopAnimation){var r=n();r>1&&(r=1,o=!0),u.animate(r),window.requestAnimationFrame(t)}}function n(){var t=(new Date).getTime();return(t-r)/(e-r)||0}var r=(new Date).getTime(),e=r+parseInt(this.props.duration,10),o=!1,u=this;t()},componentWillUnmount:function(){this.stopAnimation=!0},getInitialState:function(){return this.props},componentWillReceiveProps:function(t){var n=this,r={};u(t,function(e,u){"component"===u||"children"===u||"ease"===u||"duration"===u||u.match(/^on(.+)/)||(r[u]=o.interpolate(n.state[u],t[u]))}),this.interpolators=r,this.startAnimation()},animate:function(t){var n={},r=o.ease(this.props.ease);u(this.interpolators,function(e,o){n[o]=e(r(t))}),this.setState(n)},render:function(){return e.createElement(this.props.component,this.state,this.props.children)}})},function(t,n,r){function e(t,n,r){return"function"==typeof n&&"undefined"==typeof r&&c(t)?o(t,n):u(t,i(n,r,3))}var o=r(4),u=r(5),i=r(9),c=r(1);t.exports=e},function(t){function n(t,n){for(var r=-1,e=t.length;++r-1&&t%1==0&&p>=t}function c(t){return f(t)?t:Object(t)}function f(t){var n=typeof t;return"function"==n||t&&"object"==n||!1}var a=r(6),p=Math.pow(2,53)-1;t.exports=e},function(t,n,r){function e(t,n){return t=+t,n=null==n?h:n,t>-1&&t%1==0&&n>t}function o(t){return"number"==typeof t&&t>-1&&t%1==0&&h>=t}function u(t){for(var n=c(t),r=n.length,u=r&&t.length,i=u&&o(u)&&(a(t)||m.nonEnumArgs&&f(t)),p=-1,s=[];++p0;++u-1&&t%1==0&&c>=t}function e(t){var e=n(t)?t.length:void 0;return r(e)&&i.call(t)==o||!1}var o="[object Arguments]",u=Object.prototype,i=u.toString,c=Math.pow(2,53)-1;t.exports=e},function(t){function n(t){return"string"==typeof t?t:null==t?"":t+""}function r(t){return t&&"object"==typeof t||!1}function e(t){return null==t?!1:s.call(t)==u?l.test(p.call(t)):r(t)&&i.test(t)||!1}function o(t){return t=n(t),t&&f.test(t)?t.replace(c,"\\$&"):t}var u="[object Function]",i=/^\[object .+?Constructor\]$/,c=/[.*+?^${}()|[\]\/\\]/g,f=RegExp(c.source),a=Object.prototype,p=Function.prototype.toString,s=a.toString,l=RegExp("^"+o(s).replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=e},function(t){function n(t,n,e){if("function"!=typeof t)return r;if("undefined"==typeof n)return t;switch(e){case 1:return function(r){return t.call(n,r)};case 3:return function(r,e,o){return t.call(n,r,e,o)};case 4:return function(r,e,o,u){return t.call(n,r,e,o,u)};case 5:return function(r,e,o,u,i){return t.call(n,r,e,o,u,i)}}return function(){return t.apply(n,arguments)}}function r(t){return t}t.exports=n},function(t){t.exports=React},function(t){t.exports=d3}])});