UNPKG

react-ios-switch

Version:
6 lines 138 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Switch=t():e.Switch=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=44)}([function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){m&&d&&(m=!1,d.length?h=d.concat(h):y=-1,h.length&&s())}function s(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(d=h,h=[];++y<t;)d&&d[y].run();y=-1,t=h.length}d=null,m=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var c,f,p=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var d,h=[],m=!1,y=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new u(e,t)),1!==h.length||m||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=l,p.addListener=l,p.once=l,p.off=l,p.removeListener=l,p.removeAllListeners=l,p.emit=l,p.prependListener=l,p.prependOnceListener=l,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){var t=e.length;return function(n){for(var r={},o=s(c(n)),i=0;i<t;i++)r[e[i]]=void 0!==o[i]?parseFloat(o[i]):1;return r}}t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.splitColorValues=r;var i=function(e){return Object.prototype.toString.call(e).slice(8,-1)},a=/([a-z])([A-Z])/g,s=(t.camelToDash=function(e){return e.replace(a,"$1-$2").toLowerCase()},t.setDOMAttrs=function(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])},t.splitCommaDelimited=function(e){return f(e)?e.split(/,\s*/):[e]}),u=t.contains=function(e){return function(t){return f(e)&&-1!==t.indexOf(e)}},l=t.isFirstChars=function(e){return function(t){return f(e)&&0===t.indexOf(e)}},c=(t.createUnitType=function(e,t){return{test:u(e),parse:parseFloat,transform:t}},t.getValueFromFunctionString=function(e){return e.substring(e.indexOf("(")+1,e.lastIndexOf(")"))}),f=(t.isArray=function(e){return"Array"===i(e)},t.isFunc=function(e){return"Function"===i(e)},t.isNum=function(e){return"number"==typeof e},t.isObj=function(e){return"object"===(void 0===e?"undefined":o(e))},t.isString=function(e){return"string"==typeof e}),p=t.isHex=l("#"),d=t.isRgb=l("rgb"),h=t.isHsl=l("hsl");t.isColor=function(e){return p(e)||d(e)||h(e)}},function(e,t,n){"use strict";function r(){u||(u=!0,i.default(o))}function o(e){u=!1,f=Math.max(Math.min(e-c,l),1)*p,c=e,d.process(),h.process(),m.process(),y.process()}Object.defineProperty(t,"__esModule",{value:!0});var i=n(47),a=n(48),s="undefined"!=typeof performance&&performance.now;t.currentTime=s?function(){return performance.now()}:function(){return(new Date).getTime()};var u=!1,l=20,c=t.currentTime(),f=0,p=1,d=a.default(r),h=a.default(r),m=a.default(r),y=a.default(r);t.onFrameStart=d.schedule,t.onFrameUpdate=h.schedule,t.onFrameRender=m.schedule,t.onFrameEnd=y.schedule,t.cancelOnFrameStart=d.cancel,t.cancelOnFrameUpdate=h.cancel,t.cancelOnFrameRender=m.cancel,t.cancelOnFrameEnd=y.cancel,t.timeSinceLastFrame=function(){return f},t.currentFrameTime=function(){return c}},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(2),s=n(8),u=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.scheduledUpdate=function(){t.lastUpdated=(0,a.timeSinceLastFrame)(),t.prev=t.current;var e=t.props,n=e.onUpdate,r=e.passive;return t.update&&(t.current=t.update(t.current)),n&&(n.registerAction?n.set(t.get()):n(t.get(),t)),t.fireListeners(),!r&&t._isActive&&(0,a.onFrameUpdate)(t.scheduledUpdate),t.isActionComplete&&t.isActionComplete()&&t.complete(),t},this.props=i({},this.constructor.defaultProps),this.setProps(n),this.lastUpdated=0,this.prev=this.current=n.current||n.from||0}return e.prototype.start=function(){var e=this.props,t=e.onStart,n=e._onStart;return e.passive||(this._isActive=!0,(0,a.onFrameUpdate)(this.scheduledUpdate)),this.onStart&&this.onStart(),t&&t(this),n&&n(this),this},e.prototype.stop=function(){var e=this.props,t=e.onStop,n=e._onStop;return e.passive||(this._isActive=!1,(0,a.cancelOnFrameUpdate)(this.scheduledUpdate)),this.onStop&&this.onStop(),t&&t(this),n&&n(this),this},e.prototype.complete=function(){var e=this.props,t=e.onComplete,n=e._onComplete;return this.stop(),this.onComplete&&this.onComplete(),t&&t(this),n&&n(this),this},e.prototype.setProps=function(e){var t=e.onUpdate,n=r(e,["onUpdate"]);return this.props=i({},this.props,n),t&&this.output(t),this},e.prototype.output=function(e){return this.props.onUpdate=e,e.registerAction&&e.registerAction(this),this},e.prototype.get=function(){var e=this.props.transform;return e?e(this.current):this.current},e.prototype.getBeforeTransform=function(){return this.current},e.prototype.set=function(e){return this.current=e,this},e.prototype.getProp=function(e){return this.props[e]},e.prototype.getVelocity=function(){return(0,s.speedPerSecond)(this.current-this.prev,this.lastUpdated)},e.prototype.isActive=function(){return this._isActive},e.prototype.addListener=function(e){return this.listeners=this.listeners||[],this.numListeners=this.numListeners||0,-1===this.listeners.indexOf(e)&&(this.listeners.push(e),this.numListeners++),this},e.prototype.removeListener=function(e){var t=this.listeners?this.listeners.indexOf(e):-1;return-1!==t&&(this.numListeners--,this.listeners.splice(t,1)),this},e.prototype.fireListeners=function(){for(var e=this.get(),t=0;t<this.numListeners;t++)this.listeners[t](e,this);return this},e}();t.default=u},function(e,t,n){"use strict";(function(t){function n(e,t,n,o,i,a,s,u){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,i,a,s,u],f=0;l=new Error(t.replace(/%s/g,function(){return c[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(0))},function(e,t,n){"use strict";(function(t){var r=n(16),o=r;if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};o=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=o}).call(t,n(0))},function(e,t,n){"use strict";function r(e,t,n){return n?[e,t]:e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";(function(t){function r(e){if("production"!==t.env.NODE_ENV&&d.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return void 0!==e.ref}function o(e){if("production"!==t.env.NODE_ENV&&d.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return void 0!==e.key}function i(e,n){var r=function(){s||(s=!0,"production"!==t.env.NODE_ENV&&f(!1,"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",n))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}function a(e,n){var r=function(){u||(u=!0,"production"!==t.env.NODE_ENV&&f(!1,"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",n))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}var s,u,l=n(17),c=n(19),f=n(5),p=n(18),d=Object.prototype.hasOwnProperty,h=n(37),m={key:!0,ref:!0,__self:!0,__source:!0},y=function(e,n,r,o,i,a,s){var u={$$typeof:h,type:e,key:n,ref:r,props:s,_owner:a};return"production"!==t.env.NODE_ENV&&(u._store={},p?(Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i})):(u._store.validated=!1,u._self=o,u._source=i),Object.freeze&&(Object.freeze(u.props),Object.freeze(u))),u};y.createElement=function(e,n,s){var u,l={},f=null,p=null,v=null,g=null;if(null!=n){r(n)&&(p=n.ref),o(n)&&(f=""+n.key),v=void 0===n.__self?null:n.__self,g=void 0===n.__source?null:n.__source;for(u in n)d.call(n,u)&&!m.hasOwnProperty(u)&&(l[u]=n[u])}var b=arguments.length-2;if(1===b)l.children=s;else if(b>1){for(var _=Array(b),w=0;w<b;w++)_[w]=arguments[w+2];"production"!==t.env.NODE_ENV&&Object.freeze&&Object.freeze(_),l.children=_}if(e&&e.defaultProps){var x=e.defaultProps;for(u in x)void 0===l[u]&&(l[u]=x[u])}if("production"!==t.env.NODE_ENV&&(f||p)&&(void 0===l.$$typeof||l.$$typeof!==h)){var O="function"==typeof e?e.displayName||e.name||"Unknown":e;f&&i(l,O),p&&a(l,O)}return y(e,f,p,v,g,c.current,l)},y.createFactory=function(e){var t=y.createElement.bind(null,e);return t.type=e,t},y.cloneAndReplaceKey=function(e,t){return y(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},y.cloneElement=function(e,t,n){var i,a=l({},e.props),s=e.key,u=e.ref,f=e._self,p=e._source,h=e._owner;if(null!=t){r(t)&&(u=t.ref,h=c.current),o(t)&&(s=""+t.key);var v;e.type&&e.type.defaultProps&&(v=e.type.defaultProps);for(i in t)d.call(t,i)&&!m.hasOwnProperty(i)&&(void 0===t[i]&&void 0!==v?a[i]=v[i]:a[i]=t[i])}var g=arguments.length-2;if(1===g)a.children=n;else if(g>1){for(var b=Array(g),_=0;_<g;_++)b[_]=arguments[_+2];a.children=b}return y(e.type,s,u,f,p,h,a)},y.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===h},e.exports=y}).call(t,n(0))},function(e,t,n){"use strict";t.__esModule=!0,t.stepProgress=t.speedPerSecond=t.speedPerFrame=t.smooth=t.radiansToDegrees=t.pointFromAngleAndDistance=t.getValueFromProgress=t.getProgressFromValue=t.distance=t.dilate=t.degreesToRadians=t.angle=void 0;var r=n(1),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return t=Math.pow(10,t),Math.round(e*t)/t},i={x:0,y:0,z:0},a=function(e,t){return Math.abs(e-t)},s=(t.angle=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return u(Math.atan2(t.y-e.y,t.x-e.x))},t.degreesToRadians=function(e){return e*Math.PI/180}),u=(t.dilate=function(e,t,n){return e+(t-e)*n},t.distance=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;if((0,r.isNum)(e))return a(e,t);var n=a(e.x,t.x),o=a(e.y,t.y),s=(0,r.isNum)(e.z)?a(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(o,2)+Math.pow(s,2))},t.getProgressFromValue=function(e,t,n){return(n-e)/(t-e)},t.getValueFromProgress=function(e,t,n){return-n*e+n*t+e},t.pointFromAngleAndDistance=function(e,t,n){return t=s(t),{x:n*Math.cos(t)+e.x,y:n*Math.sin(t)+e.y}},t.radiansToDegrees=function(e){return 180*e/Math.PI});t.smooth=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return o(t+n*(e-t)/Math.max(r,n))},t.speedPerFrame=function(e,t){return(0,r.isNum)(e)?e/(1e3/t):0},t.speedPerSecond=function(e,t){return t?e*(1e3/t):0},t.stepProgress=function(e,t){var n=1/(e-1),r=1-1/e,o=Math.min(t/r,1);return Math.floor(o/n)*n}},function(e,t,n){"use strict";t.__esModule=!0,t.bezier=t.blendColor=t.alpha=t.color=t.hsla=t.rgba=t.rgbUnit=t.px=t.degrees=t.percent=t.transformChildValues=t.steps=t.snap=t.smooth=t.wrap=t.nonlinearSpring=t.spring=t.generateNonIntergratedSpring=t.multiply=t.divide=t.add=t.subtract=t.interpolate=t.flow=t.pipe=t.conditional=t.clamp=t.clampMin=t.clampMax=t.applyOffset=t.appendUnit=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(8),i=n(1),a=n(28),s=n(2),u=function(e){return e},l=t.appendUnit=function(e){return function(t){return""+t+e}},c=(t.applyOffset=function(e,t){var n=h(e),r=m(t);return function(e){return r(n(e))}},t.clampMax=function(e){return function(t){return Math.min(t,e)}}),f=t.clampMin=function(e){return function(t){return Math.max(t,e)}},p=t.clamp=function(e,t){var n=f(e),r=c(t);return function(e){return n(r(e))}},d=(t.conditional=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;return function(r,o){return e(r,o)?t(r,o):n(r,o)}},t.pipe=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.length,o=0;return function(e){for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];var s=e;for(o=0;o<r;o++)s=t[o].apply(t,[s].concat(i));return s}}),h=(t.flow=d,t.interpolate=function(e,t,n){var r=e.length,i=r-1;return function(a){if(a<=e[0])return t[0];if(a>=e[i])return t[i];for(var s=1;s<r&&!(e[s]>a||s===i);s++);var u=(0,o.getProgressFromValue)(e[s-1],e[s],a),l=n?n[s-1](u):u;return(0,o.getValueFromProgress)(t[s-1],t[s],l)}},t.subtract=function(e){return function(t){return t-e}}),m=t.add=function(e){return function(t){return t+e}},y=(t.divide=function(e){return function(t){return t/e}},t.multiply=function(e){return function(t){return t*e}},t.generateNonIntergratedSpring=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u;return function(t,n){return function(r){var o=n-r,i=-t*(0-e(Math.abs(o)));return o<=0?n+i:n-i}}}),v=(t.spring=y(),t.nonlinearSpring=y(Math.sqrt),t.wrap=function(e,t){return function(n){var r=t-e;return((n-e)%r+r)%r+e}},t.smooth=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:50,t=0,n=0;return function(r){var i=(0,s.currentFrameTime)(),a=i!==n?i-n:0,u=a?(0,o.smooth)(r,t,a,e):t;return n=i,t=u,u}},t.snap=function(e){if("number"==typeof e)return function(t){return Math.round(t/e)*e};var t=0,n=e.length;return function(r){var o=Math.abs(e[0]-r);for(t=1;t<n;t++){var i=e[t],a=Math.abs(i-r);if(0===a)return i;if(a>o)return e[t-1];if(t===n-1)return i;o=a}}},t.steps=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"start";return function(i){var a=(0,o.getProgressFromValue)(t,n,i);return(0,o.getValueFromProgress)(t,n,(0,o.stepProgress)(e,a,r))}},t.transformChildValues=function(e){var t={};return function(n){for(var r in n){var o=e[r];o&&(t[r]=o(n[r]))}return t}}),g=t.percent=l("%"),b=(t.degrees=l("deg"),t.px=l("px"),t.rgbUnit=d(p(0,255),Math.round)),_=function(e){var t=e.red,n=e.green,r=e.blue,o=e.alpha;return"rgba("+t+", "+n+", "+r+", "+(void 0===o?1:o)+")"},w=t.rgba=d(v({red:b,green:b,blue:b,alpha:k}),_),x=function(e){var t=e.hue,n=e.saturation,r=e.lightness,o=e.alpha;return"hsla("+t+", "+n+", "+r+", "+(void 0===o?1:o)+")"},O=t.hsla=d(v({hue:parseInt,saturation:g,lightness:g,alpha:k}),x),k=(t.color=function(e){return e.hasOwnProperty("red")?w(e):e.hasOwnProperty("hue")?O(e):e},t.alpha=p(0,1)),E=function(e,t,n){var r=e*e,o=t*t;return Math.sqrt(n*(o-r)+r)},P=(t.blendColor=function(e,t){var n=(0,i.isString)(e)?(0,a.color)(e):e,s=(0,i.isString)(t)?(0,a.color)(t):t,u=r({},n);return function(e){for(var t in u)u[t]=E(n[t],s[t],e);return u.red=E(n.red,s.red,e),u.green=E(n.green,s.green,e),u.blue=E(n.blue,s.blue,e),u.alpha=(0,o.getValueFromProgress)(n.alpha,s.alpha,e),u}},function(e){return function(t){var n=1-t;return(e[0]*n+e[1]*t)*n+(e[1]*n+e[2]*t)*t}}),S=function(e){return function(t){var n=1-t,r=e[1]*n+e[2]*t;return((e[0]*n+e[1]*t)*n+r*t)*n+(r*n+(e[2]*n+e[3]*t)*t)*t}};t.bezier=function(e){return 3===e.length?P(e):S(e)}},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}e.exports=r},function(e,t,n){"use strict";function r(e){return"string"==typeof e&&o.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=/-webkit-|-moz-|-ms-/;e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.complex=t.color=t.hsla=t.hex=t.rgba=t.rgbUnit=t.scale=t.px=t.percent=t.degrees=t.alpha=t.number=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(9),i=n(28),a=n(1),s=t.number={test:a.isNum,parse:parseFloat},u=(t.alpha=r({},s,{transform:o.alpha}),t.degrees=(0,a.createUnitType)("deg",o.degrees),t.percent=(0,a.createUnitType)("%",o.percent),t.px=(0,a.createUnitType)("px",o.px),t.scale=r({},s,{default:1}),t.rgbUnit=r({},s,{transform:o.rgbUnit}),t.rgba={test:a.isRgb,parse:i.rgba,transform:o.rgba}),l=(t.hex=r({},u,{test:a.isHex,parse:i.hex}),t.hsla={test:a.isHsl,parse:i.hsla,transform:o.hsla},t.color={parse:i.color,test:a.isColor,transform:o.color},/(-)?(\d[\d\.]*)/g),c=function(e){return"${"+e+"}"};t.complex={test:function(e){var t=e.match&&e.match(l);return(0,a.isArray)(t)&&t.length>1},parse:function(e){var t={};return e.match(l).forEach(function(e,n){return t[n]=parseFloat(e)}),t},createTransformer:function(e){var t=0,n=e.replace(l,function(){return c(t++)});return function(e){var t=n;for(var r in e)e.hasOwnProperty(r)&&(t=t.replace(c(r),e[r]));return t}}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var a=n(3),s=function(e){return e&&e.__esModule?e:{default:e}}(a),u=n(2),l=n(9),c=n(8),f=n(20),p=(0,l.clamp)(0,1),d={loop:function(e){return e.start()},yoyo:function(e){return e.reverse().start()},flip:function(e){return e.flip().start()}},h=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.onStart=function(){var e=this.props,t=e.duration,n=e.playDirection;this.elapsed=1===n?0:t,this.progress=0},t.prototype.update=function(){var e=this.props,t=e.duration,n=e.ease,r=e.from,o=e.to,i=e.playDirection;return this.isManualUpdate||(this.elapsed+=(0,u.timeSinceLastFrame)()*i),this.isManualUpdate=!1,this.progress=p((0,c.getProgressFromValue)(0,t,this.elapsed)),(0,c.getValueFromProgress)(r,o,n(this.progress))},t.prototype.isActionComplete=function(){var e=this.props,t=e.duration,n=e.playDirection,r=e.yoyo,o=e.loop,i=e.flip,a=1===n?this.elapsed>=t:this.elapsed<=0;if(a&&(r||o||i)){var s=!1;for(var u in d){var l=d[u],c=u+"Count",f=this.getProp(u),p=this.getProp(c);if(f>p){var h;this.setProps((h={},h[c]=p+1,h)),l(this),s=!0}}s&&(a=!1)}return a},t.prototype.getElapsed=function(){return this.elapsed},t.prototype.flip=function(){this.elapsed=this.props.duration-this.elapsed;var e=[this.props.to,this.props.from];return this.props.from=e[0],this.props.to=e[1],this},t.prototype.reverse=function(){return this.props.playDirection*=-1,this},t.prototype.seek=function(e){var t=this.props.duration;this.elapsed=(0,c.getValueFromProgress)(0,t,e),this.isManualUpdate=!0,this.isActive()||this.scheduledUpdate()},t}(s.default);h.defaultProps={duration:300,ease:f.easeOut,from:0,to:1,flip:0,flipCount:0,yoyo:0,yoyoCount:0,loop:0,loopCount:0,playDirection:1},t.default=function(e){return new h(e)}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(2),a=n(1),s=function(){function e(t){r(this,e),this.render=this.render.bind(this),this.props=o({},this.constructor.defaultProps,t),this.state={},this.changedValues=[]}return e.prototype.get=function(e){return e?void 0!==this.state[e]?this.state[e]:this.read(e):this.state},e.prototype.read=function(e){if(this.onRead)return this.onRead(e)},e.prototype.set=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(void 0===t[1]){var r=t[0];for(var o in r)this.setValue(o,r[o])}else{var a=t[0],s=t[1];this.setValue(a,s)}return this.hasChanged&&(0,i.onFrameRender)(this.render),this},e.prototype.setValue=function(e,t){var n=this.state[e];if((0,a.isNum)(t)||(0,a.isString)(t))n!==t&&(this.state[e]=t,this.hasChanged=!0);else if((0,a.isArray)(t)){n||(this.state[e]=[]);for(var r=t.length,o=0;o<r;o++)this.state[e][o]!==t[o]&&(this.state[e][o]=t[o],this.hasChanged=!0)}else if((0,a.isObj)(t)){n||(this.state[e]={});for(var i in t)this.state[e][i]!==t[i]&&(this.state[e][i]=t[i],this.hasChanged=!0)}this.hasChanged&&-1===this.changedValues.indexOf(e)&&this.changedValues.push(e)},e.prototype.render=function(){return(arguments.length>0&&void 0!==arguments[0]&&arguments[0]||this.hasChanged)&&this.onRender&&this.onRender(),this.changedValues.length=0,this.hasChanged=!1,this},e}();t.default=s},function(e,t,n){"use strict";t.__esModule=!0;var r=["X","Y","Z"],o={x:!0,y:!0,z:!0},i=["translate","scale","rotate","skew","transformPerspective"];o.rotate=o.scale=o.transformPerspective=!0,i.forEach(function(e){return r.forEach(function(t){return o[e+t]=!0})}),t.default=o},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/* object-assign (c) Sindre Sorhus @license MIT */ var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=r(e),l=1;l<arguments.length;l++){n=Object(arguments[l]);for(var c in n)i.call(n,c)&&(u[c]=n[c]);if(o){s=o(n);for(var f=0;f<s.length;f++)a.call(n,s[f])&&(u[s[f]]=n[s[f]])}}return u}},function(e,t,n){"use strict";(function(t){var n=!1;if("production"!==t.env.NODE_ENV)try{Object.defineProperty({},"x",{get:function(){}}),n=!0}catch(e){}e.exports=n}).call(t,n(0))},function(e,t,n){"use strict";var r={current:null};e.exports=r},function(e,t,n){"use strict";t.__esModule=!0,t.cubicBezier=t.anticipate=t.createAnticipateEasing=t.backInOut=t.backOut=t.backIn=t.createBackIn=t.circInOut=t.circOut=t.circIn=t.easeInOut=t.easeOut=t.easeIn=t.createExpoIn=t.linear=t.createMirroredEasing=t.createReversedEasing=void 0;var r=n(9),o=t.createReversedEasing=function(e){return function(t){return 1-e(1-t)}},i=t.createMirroredEasing=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},a=(t.linear=function(e){return e},t.createExpoIn=function(e){return function(t){return Math.pow(t,e)}}),s=t.easeIn=a(2),u=(t.easeOut=o(s),t.easeInOut=i(s),t.circIn=function(e){return 1-Math.sin(Math.acos(e))}),l=t.circOut=o(u),c=(t.circInOut=i(l),t.createBackIn=function(e){return function(t){return t*t*((e+1)*t-e)}}),f=t.backIn=c(1.525),p=(t.backOut=o(f),t.backInOut=i(f),t.createAnticipateEasing=function(e){var t=c(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}});t.anticipate=p(1.525),t.cubicBezier=function(e,t,n,o){var i=(0,r.bezier)(0,e,n,1),a=(0,r.bezier)(0,t,o,1);return function(e){return a(i(e))}}},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(3),l=function(e){return e&&e.__esModule?e:{default:e}}(u),c=n(2),f=function(e){function t(n){o(this,t);var a=n.actions,s=r(n,["actions"]),u=i(this,e.call(this,s));return u.current={},u.actionKeys=[],u.addActions(a),u}return a(t,e),t.prototype.addActions=function(e){var t=this;for(var n in e)!function(n){-1===t.actionKeys.indexOf(n)&&t.actionKeys.push(n),t[n]=e[n];var r=function(e){t.current[n]=e,(0,c.onFrameUpdate)(t.scheduledUpdate)};t[n].setProps({_onStop:function(){return t.numActiveActions--}}).addListener(r)}(n)},t.prototype.onStart=function(){var e=this;this.numActiveActions=this.actionKeys.length,this.actionKeys.forEach(function(t){return e[t].start()})},t.prototype.onStop=function(){var e=this;this.actionKeys.forEach(function(t){return e[t].stop()})},t.prototype.getVelocity=function(){var e=this,t={};return this.actionKeys.forEach(function(n){return t[n]=e[n].getVelocity()}),t},t.prototype.isActionComplete=function(){return 0===this.numActiveActions},t}(l.default);f.defaultProps={passive:!0},t.default=function(e,t){return new f(s({actions:e},t))}},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(3),l=function(e){return e&&e.__esModule?e:{default:e}}(u),c=n(2),f=function(e){function t(n){o(this,t);var a=n.actions,s=r(n,["actions"]),u=i(this,e.call(this,s));return u.actions=[],u.current=[],u.addActions(a),u}return a(t,e),t.prototype.addAction=function(e){var t=this;if(-1===this.actions.indexOf(e)){this.actions.push(e);var n=this.actions.length-1,r=function(e){t.current[n]=e,(0,c.onFrameUpdate)(t.scheduledUpdate)};r(e.get()),e.setProps({_onStop:function(){return t.numActiveActions--}}).addListener(r)}},t.prototype.addActions=function(e){var t=this;e.forEach(function(e){return t.addAction(e)})},t.prototype.onStart=function(){this.numActiveActions=this.actions.length,this.actions.forEach(function(e){return e.start()})},t.prototype.onStop=function(){this.actions.forEach(function(e){return e.stop()})},t.prototype.getVelocity=function(){return this.actions.map(function(e){return e.getVelocity()})},t.prototype.isActionComplete=function(){return 0===this.numActiveActions},t.prototype.getChildren=function(){return this.actions},t}(l.default);t.default=function(e,t){return new f(s({actions:e},t))}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var a=n(3),s=function(e){return e&&e.__esModule?e:{default:e}}(a),u=n(2),l=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.set=function(e){return this.toUpdate=e,(0,u.onFrameUpdate)(this.scheduledUpdate),e},t.prototype.update=function(){return void 0!==this.toUpdate?this.toUpdate:this.current},t.prototype.stopRegisteredAction=function(){this.action&&this.action.isActive()&&this.action.stop(),this.action=void 0},t.prototype.registerAction=function(e){return this.stopRegisteredAction(),this.action=e,this},t.prototype.onStop=function(){this.stopRegisteredAction()},t}(s.default);l.defaultProps={passive:!0},t.default=function(e,t){return new l({current:e,onUpdate:t})}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";(function(t){var n=function(){};if("production"!==t.env.NODE_ENV){var r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.warn(i);try{throw new Error(i)}catch(e){}};n=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];r.apply(void 0,[t].concat(o))}}}e.exports=n}).call(t,n(0))},function(e,t,n){"use strict";(function(t){function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}function o(e){var t=l(e);if(t){var n=t.childIDs;c(e),n.forEach(o)}}function i(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function a(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function s(e){var n,r=S.getDisplayName(e),o=S.getElement(e),a=S.getOwnerID(e);return a&&(n=S.getDisplayName(a)),"production"!==t.env.NODE_ENV&&g(o,"ReactComponentTreeHook: Missing React element for debugID %s when building stack",e),i(r,o&&o._source,n)}var u,l,c,f,p,d,h,m=n(10),y=n(19),v=n(4),g=n(5),b="function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys);if(b){var _=new Map,w=new Set;u=function(e,t){_.set(e,t)},l=function(e){return _.get(e)},c=function(e){_.delete(e)},f=function(){return Array.from(_.keys())},p=function(e){w.add(e)},d=function(e){w.delete(e)},h=function(){return Array.from(w.keys())}}else{var x={},O={},k=function(e){return"."+e},E=function(e){return parseInt(e.substr(1),10)};u=function(e,t){var n=k(e);x[n]=t},l=function(e){var t=k(e);return x[t]},c=function(e){var t=k(e);delete x[t]},f=function(){return Object.keys(x).map(E)},p=function(e){var t=k(e);O[t]=!0},d=function(e){var t=k(e);delete O[t]},h=function(){return Object.keys(O).map(E)}}var P=[],S={onSetChildren:function(e,n){var r=l(e);r||("production"!==t.env.NODE_ENV?v(!1,"Item must have been set"):m("144")),r.childIDs=n;for(var o=0;o<n.length;o++){var i=n[o],a=l(i);a||("production"!==t.env.NODE_ENV?v(!1,"Expected hook events to fire for the child before its parent includes it in onSetChildren()."):m("140")),null==a.childIDs&&"object"==typeof a.element&&null!=a.element&&("production"!==t.env.NODE_ENV?v(!1,"Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren()."):m("141")),a.isMounted||("production"!==t.env.NODE_ENV?v(!1,"Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren()."):m("71")),null==a.parentID&&(a.parentID=e),a.parentID!==e&&("production"!==t.env.NODE_ENV?v(!1,"Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",i,a.parentID,e):m("142",i,a.parentID,e))}},onBeforeMountComponent:function(e,t,n){u(e,{element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0})},onBeforeUpdateComponent:function(e,t){var n=l(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var n=l(e);n||("production"!==t.env.NODE_ENV?v(!1,"Item must have been set"):m("144")),n.isMounted=!0,0===n.parentID&&p(e)},onUpdateComponent:function(e){var t=l(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=l(e);if(t){t.isMounted=!1;0===t.parentID&&d(e)}P.push(e)},purgeUnmountedComponents:function(){if(!S._preventPurging){for(var e=0;e<P.length;e++){o(P[e])}P.length=0}},isMounted:function(e){var t=l(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(e){var t="";if(e){var n=a(e),r=e._owner;t+=i(n,e._source,r&&r.getName())}var o=y.current,s=o&&o._debugID;return t+=S.getStackAddendumByID(s)},getStackAddendumByID:function(e){for(var t="";e;)t+=s(e),e=S.getParentID(e);return t},getChildIDs:function(e){var t=l(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=S.getElement(e);return t?a(t):null},getElement:function(e){var t=l(e);return t?t.element:null},getOwnerID:function(e){var t=S.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=l(e);return t?t.parentID:null},getSource:function(e){var t=l(e),n=t?t.element:null;return null!=n?n._source:null},getText:function(e){var t=S.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=l(e);return t?t.updateCount:0},getRootIDs:h,getRegisteredIDs:f,pushNonStandardWarningStack:function(e,t){if("function"==typeof console.reactStack){var n=[],r=y.current,o=r&&r._debugID;try{for(e&&n.push({name:o?S.getDisplayName(o):null,fileName:t?t.fileName:null,lineNumber:t?t.lineNumber:null});o;){var i=S.getElement(o),a=S.getParentID(o),s=S.getOwnerID(o),u=s?S.getDisplayName(s):null,l=i&&i._source;n.push({name:u,fileName:l?l.fileName:null,lineNumber:l?l.lineNumber:null}),o=a}}catch(e){}console.reactStack(n)}},popNonStandardWarningStack:function(){"function"==typeof console.reactStackEnd&&console.reactStackEnd()}};e.exports=S}).call(t,n(0))},function(e,t,n){"use strict";function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.color=t.hsla=t.rgba=t.hex=void 0;var r=n(1),o=t.hex=function(e){var t=void 0,n=void 0,r=void 0;return e.length>4?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),t+=t,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:1}},i=t.rgba=(0,r.splitColorValues)(["red","green","blue","alpha"]),a=t.hsla=(0,r.splitColorValues)(["hue","saturation","lightness","alpha"]);t.color=function(e){return(0,r.isRgb)(e)?i(e):(0,r.isHex)(e)?o(e):(0,r.isHsl)(e)?a(e):e}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var a=n(3),s=function(e){return e&&e.__esModule?e:{default:e}}(a),u=function(e){function t(){var n,i,a;r(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=i=o(this,e.call.apply(e,[this].concat(u))),i.playNext=function(){var e=i.props;e.i<e.order.length-1?(i.props.i++,i.playCurrent()):i.complete()},a=n,o(i,a)}return i(t,e),t.prototype.onStart=function(){this.props.i=0,this.playCurrent()},t.prototype.playCurrent=function(){var e=this.props,t=e.i,n=e.order;n[t].props._onComplete=this.playNext,n[t].start()},t.prototype.onStop=function(){var e=this.props,t=e.i;e.order[t].stop()},t}(s.default);t.default=function(e,t){return new u({order:e,onComplete:t})}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(13),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){return(0,o.default)({duration:e,onComplete:t})}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(12);t.default={color:r.color,backgroundColor:r.color,outlineColor:r.color,fill:r.color,stroke:r.color,borderColor:r.color,borderTopColor:r.color,borderRightColor:r.color,borderBottomColor:r.color,borderLeftColor:r.color,borderRadius:r.px,width:r.px,height:r.px,top:r.px,left:r.px,bottom:r.px,right:r.px,rotate:r.degrees,rotateX:r.degrees,rotateY:r.degrees,rotateZ:r.degrees,scale:r.scale,scaleX:r.scale,scaleY:r.scale,scaleZ:r.scale,skewX:r.degrees,skewY:r.degrees,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,perspective:r.px,opacity:r.alpha}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(1),o={},i={},a=["Webkit","Moz","O","ms",""],s=a.length,u=void 0,l=function(e){u=u||document.createElement("div");for(var t=0;t<s;t++){var n=a[t],l=""===n,c=l?e:n+e.charAt(0).toUpperCase()+e.slice(1);c in u.style&&(o[e]=c,i[e]=(l?"":"-")+(0,r.camelToDash)(c))}};t.default=function(e,t){var n=t?i:o;return n[e]||l(e),n[e]}},function(e,t,n){"use strict";(function(t){var r=n(16),o=n(4),i=n(5),a=n(24),s=n(65);e.exports=function(e,n){function u(e){var t=e&&(E&&e[E]||e[P]);if("function"==typeof t)return t}function l(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function c(e){this.message=e,this.stack=""}function f(e){function r(r,l,f,p,d,h,m){if(p=p||S,h=h||f,m!==a)if(n)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var y=p+":"+f;!s[y]&&u<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,p),s[y]=!0,u++)}return null==l[f]?r?new c(null===l[f]?"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `null`.":"The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(l,f,p,d,h)}if("production"!==t.env.NODE_ENV)var s={},u=0;var l=r.bind(null,!1);return l.isRequired=r.bind(null,!0),l}function p(e){function t(t,n,r,o,i,a){var s=t[n];if(w(s)!==e)return new c("Invalid "+o+" `"+i+"` of type `"+x(s)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return f(t)}function d(e){function t(t,n,r,o,i){if("function"!=typeof e)return new c("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){return new c("Invalid "+o+" `"+i+"` of type `"+w(s)+"` supplied to `"+r+"`, expected an array.")}for(var u=0;u<s.length;u++){var l=e(s,u,r,o,i+"["+u+"]",a);if(l instanceof Error)return l}return null}return f(t)}function h(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||S;return new c("Invalid "+o+" `"+i+"` of type `"+k(t[n])+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null}return f(t)}function m(e){function n(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(l(a,e[s]))return null;return new c("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?f(n):("production"!==t.env.NODE_ENV&&i(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)}function y(e){function t(t,n,r,o,i){if("function"!=typeof e)return new c("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=w(s);if("object"!==u)return new c("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var l in s)if(s.hasOwnProperty(l)){var f=e(s,l,r,o,i+"."+l,a);if(f instanceof Error)return f}return null}return f(t)}function v(e){function n(t,n,r,o,i){for(var s=0;s<e.length;s++){if(null==(0,e[s])(t,n,r,o,i,a))return null}return new c("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull;for(var o=0;o<e.length;o++){var s=e[o];if("function"!=typeof s)return i(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",O(s),o),r.thatReturnsNull}return f(n)}function g(e){function t(t,n,r,o,i){var s=t[n],u=w(s);if("object"!==u)return new c("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var l in e){var f=e[l];if(f){var p=f(s,l,r,o,i+"."+l,a);if(p)return p}}return null}return f(t)}function b(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(b);if(null===t||e(t))return!0;var n=u(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!b(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!b(i[1]))return!1}return!0;default:return!1}}function _(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function w(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":_(t,e)?"symbol":t}function x(e){if(void 0===e||null===e)return""+e;var t=w(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function O(e){var t=x(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function k(e){return e.constructor&&e.constructor.name?e.constructor.name:S}var E="function"==typeof Symbol&&Symbol.iterator,P="@@iterator",S="<<anonymous>>",C={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:function(){return f(r.thatReturnsNull)}(),arrayOf:d,element:function(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){return new c("Invalid "+o+" `"+i+"` of type `"+w(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return f(t)}(),instanceOf:h,node:function(){function e(e,t,n,r,o){return b(e[t])?null:new c("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return f(e)}(),objectOf:y,oneOf:m,oneOfType:v,shape:g};return c.prototype=Error.prototype,C.checkPropTypes=s,C.PropTypes=C,C}}).call(t,n(0))},function(e,t,n){"use strict";(function(t){function r(e,t,n){this.props=e,this.context=t,this.refs=c,this.updater=n||u}function o(e,t,n){this.props=e,this.context=t,this.refs=c,this.updater=n||u}function i(){}var a=n(10),s=n(17),u=n(35),l=n(18),c=n(36),f=n(4),p=n(25);if(r.prototype.isReactComponent={},r.prototype.setState=function(e,n){"object"!=typeof e&&"function"!=typeof e&&null!=e&&("production"!==t.env.NODE_ENV?f(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."):a("85")),this.updater.enqueueSetState(this,e),n&&this.updater.enqueueCallback(this,n,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")},"production"!==t.env.NODE_ENV){var d={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(var h in d)d.hasOwnProperty(h)&&function(e,t){l&&Object.defineProperty(r.prototype,e,{get:function(){p(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}(h,d[h])}i.prototype=r.prototype,o.prototype=new i,o.prototype.constructor=o,s(o.prototype,r.prototype),o.prototype.isPureReactComponent=!0,e.exports={Component:r,PureComponent:o}}).call(t,n(0))},function(e,t,n){"use strict";(function(t){function r(e,n){if("production"!==t.env.NODE_ENV){var r=e.constructor;"production"!==t.env.NODE_ENV&&o(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",n,n,r&&(r.displayName||r.name)||"ReactClass")}}var o=n(5),i={isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}};e.exports=i}).call(t,n(0))},function(e,t,n){"use strict";(function(t){var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(0))},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[i]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=r},function(e,t,n){"use strict";(function(t){function r(){if(l.current){var e=l.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function o(e){if(null!==e&&void 0!==e&&void 0!==e.__source){var t=e.__source;return" Check your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+"."}return""}function i(e){var t=r();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t=" Check the top-level render call using <"+n+">.")}return t}function a(e,n){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=v.uniqueKey||(v.uniqueKey={}),o=i(n);if(!r[o]){r[o]=!0;var a="";e&&e._owner&&e._owner!==l.current&&(a=" It was passed a child from "+e._owner.getName()+"."),"production"!==t.env.NODE_ENV&&m(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',o,a,c.getCurrentStackAddendum(e))}}}function s(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];f.isValidElement(r)&&a(r,t)}else if(f.isValidElement(e))e._store&&(e._store.validated=!0);else if(e){var o=h(e);if(o&&o!==e.entries)for(var i,s=o.call(e);!(i=s.next()).done;)f.isValidElement(i.value)&&a(i.value,t)}}function u(e){var n=e.type;if("function"==typeof n){var r=n.displayN