Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-card-flip

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-card-flip - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

12

lib/react-card-flip.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("react-card-flip",[],t):"object"==typeof exports?exports["react-card-flip"]=t():e["react-card-flip"]=t()}("undefined"!=typeof self?self: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=8)}([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(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(e){if(s===clearTimeout)return clearTimeout(e);if((s===r||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(e);try{return s(e)}catch(t){try{return s.call(null,e)}catch(t){return s.call(this,e)}}}function a(){v&&y&&(v=!1,y.length?d=y.concat(d):h=-1,d.length&&u())}function u(){if(!v){var e=o(a);v=!0;for(var t=d.length;t;){for(y=d,d=[];++h<t;)y&&y[h].run();h=-1,t=d.length}y=null,v=!1,i(e)}}function c(e,t){this.fun=e,this.array=t}function l(){}var f,s,p=e.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=n}try{s="function"==typeof clearTimeout?clearTimeout:r}catch(e){s=r}}();var y,d=[],v=!1,h=-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];d.push(new c(e,t)),1!==d.length||v||o(u)},c.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){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(t){function n(e,t,n,o,i,a,u,c){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 f=[n,o,i,a,u,c],s=0;l=new Error(t.replace(/%s/g,function(){return f[s++]})),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 r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/*
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("react-card-flip",[],t):"object"==typeof exports?exports["react-card-flip"]=t():e["react-card-flip"]=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=4)}([function(e,t){function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(e){if(s===clearTimeout)return clearTimeout(e);if((s===n||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(e);try{return s(e)}catch(t){try{return s.call(null,e)}catch(t){return s.call(this,e)}}}function a(){v&&d&&(v=!1,d.length?y=d.concat(y):m=-1,y.length&&u())}function u(){if(!v){var e=o(a);v=!0;for(var t=y.length;t;){for(d=y,y=[];++m<t;)d&&d[m].run();m=-1,t=y.length}d=null,v=!1,i(e)}}function c(e,t){this.fun=e,this.array=t}function l(){}var f,s,p=e.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:r}catch(e){f=r}try{s="function"==typeof clearTimeout?clearTimeout:n}catch(e){s=n}}();var d,y=[],v=!1,m=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];y.push(new c(e,t)),1!==y.length||v||o(u)},c.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,r){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/*
object-assign

@@ -6,6 +6,6 @@ (c) Sindre Sorhus

*/
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,u,c=r(e),l=1;l<arguments.length;l++){n=Object(arguments[l]);for(var f in n)i.call(n,f)&&(c[f]=n[f]);if(o){u=o(n);for(var s=0;s<u.length;s++)a.call(n,u[s])&&(c[u[s]]=n[u[s]])}}return c}},function(e,t,n){"use strict";(function(t){var r=n(1),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";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},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";(function(t){function r(e,n,r,c,l){if("production"!==t.env.NODE_ENV)for(var f in e)if(e.hasOwnProperty(f)){var s;try{o("function"==typeof e[f],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",c||"React class",r,f,typeof e[f]),s=e[f](n,f,c,r,null,a)}catch(e){s=e}if(i(!s||s instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",c||"React class",r,f,typeof s),s instanceof Error&&!(s.message in u)){u[s.message]=!0;var p=l?l():"";i(!1,"Failed %s type: %s%s",r,s.message,null!=p?p:"")}}}if("production"!==t.env.NODE_ENV)var o=n(2),i=n(4),a=n(5),u={};e.exports=r}).call(t,n(0))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}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)}Object.defineProperty(t,"__esModule",{value:!0});var u=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},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(9),f=r(l),s=n(12),p=r(s),y=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isFlipped:n.props.isFlipped,rotation:0},n}return a(t,e),c(t,[{key:"componentWillReceiveProps",value:function(e){e.isFlipped!==this.props.isFlipped&&(this.setState({isFlipped:e.isFlipped}),this.setState({rotation:this.state.rotation+180}))}},{key:"getComponent",value:function(e){return this.props.children.filter(function(t){return t.key===e})}},{key:"render",value:function(){var e={container:{perspective:"1000px",transformStyle:"preserve-3d"},flipper:{position:"relative",transform:"rotateY("+(this.props.infinite?this.state.rotation:0)+"deg)",transformStyle:"preserve-3d",transition:this.props.flipSpeedBackToFront+"s"},flipperFlip:{position:"relative",transform:"rotateY("+(this.props.infinite?this.state.rotation:180)+"deg)",transformStyle:"preserve-3d",transition:this.props.flipSpeedFrontToBack+"s"},front:u({WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",left:"0",position:"absolute",top:"0",transform:"rotateY(0deg)",transformStyle:"preserve-3d",width:"100%",zIndex:"2"},this.props.cardStyles.front),back:u({WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",left:"0",position:"absolute",transform:"rotateY(180deg)",transformStyle:"preserve-3d",top:"0",width:"100%"},this.props.cardStyles.back)};return f.default.createElement("div",{className:"react-card-flip",style:e.container},f.default.createElement("div",{className:"react-card-flipper",style:this.state.isFlipped?e.flipperFlip:e.flipper},f.default.createElement("div",{className:"react-card-front",style:e.front},this.getComponent("front")),f.default.createElement("div",{className:"react-card-back",style:e.back},this.getComponent("back"))))}}]),t}(f.default.Component);y.propTypes={cardStyles:p.default.shape({front:p.default.object,back:p.default.object}),children:function(e,t,n){return 2!==f.default.Children.count(e[t])?new Error(n+" requires two children."):null},flipSpeedBackToFront:p.default.number,flipSpeedFrontToBack:p.default.number,infinite:p.default.bool,isFlipped:p.default.bool},y.defaultProps={cardStyles:{front:{},back:{}},flipSpeedBackToFront:.6,flipSpeedFrontToBack:.6,infinite:!1,isFlipped:!1},t.default=y,e.exports=t.default},function(e,t,n){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=n(10):e.exports=n(11)}).call(t,n(0))},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]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function o(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||P}function i(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||P}function a(){}function u(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||P}function c(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)A.call(t,r)&&!C.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];o.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:k,type:e,key:i,ref:a,props:o,_owner:N.current}}function l(e){return"object"==typeof e&&null!==e&&e.$$typeof===k}function f(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function s(e,t,n,r){if(I.length){var o=I.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function p(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function y(e,t,n,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case k:case _:case j:case S:a=!0}}if(a)return n(o,e,""===t?"."+d(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){i=e[u];var c=t+d(i,u);a+=y(i,c,n,o)}else if(null===e||void 0===e?c=null:(c=x&&e[x]||e["@@iterator"],c="function"==typeof c?c:null),"function"==typeof c)for(e=c.call(e),u=0;!(i=e.next()).done;)i=i.value,c=t+d(i,u++),a+=y(i,c,n,o);else"object"===i&&(n=""+e,r("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return a}function d(e,t){return"object"==typeof e&&null!==e&&null!=e.key?f(e.key):t.toString(36)}function v(e,t){e.func.call(e.context,t,e.count++)}function h(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?m(e,r,n,w.thatReturnsArgument):null!=e&&(l(e)&&(t=o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(F,"$&/")+"/")+n,e={$$typeof:k,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function m(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(F,"$&/")+"/"),t=s(t,i,r,o),null==e||y(e,"",h,t),p(t)}/** @license React v16.2.0
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={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,u,c=n(e),l=1;l<arguments.length;l++){r=Object(arguments[l]);for(var f in r)i.call(r,f)&&(c[f]=r[f]);if(o){u=o(r);for(var s=0;s<u.length;s++)a.call(r,u[s])&&(c[u[s]]=r[u[s]])}}return c}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";(function(t){function n(e,r,n,u,c){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var f;try{if("function"!=typeof e[l]){var s=Error((u||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.");throw s.name="Invariant Violation",s}f=e[l](r,l,u,n,null,i)}catch(e){f=e}if(!f||f instanceof Error||o((u||"React class")+": type specification of "+n+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in a)){a[f.message]=!0;var p=c?c():"";o("Failed "+n+" type: "+f.message+(null!=p?p:""))}}}var o=function(){};if("production"!==t.env.NODE_ENV){var i=r(2),a={};o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}e.exports=n}).call(t,r(0))},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}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)}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),l=r(5),f=n(l),s=r(8),p=n(s),d=function(e){function t(e){o(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.state={isFlipped:r.props.isFlipped,rotation:0},r}return a(t,e),c(t,[{key:"componentWillReceiveProps",value:function(e){e.isFlipped!==this.props.isFlipped&&(this.setState({isFlipped:e.isFlipped}),this.setState({rotation:this.state.rotation+180}))}},{key:"getComponent",value:function(e){return this.props.children.filter(function(t){return t.key===e})}},{key:"render",value:function(){var e={container:{perspective:"1000px",transformStyle:"preserve-3d"},flipper:{position:"relative",transformStyle:"preserve-3d"},front:u({WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",left:"0",position:"absolute",top:"0",transform:"rotateY("+(this.props.infinite?this.state.rotation:this.state.isFlipped?180:0)+"deg)",transformStyle:"preserve-3d",width:"100%",zIndex:"2",transition:this.props.flipSpeedBackToFront+"s"},this.props.cardStyles.front),back:u({WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",left:"0",position:"absolute",transform:"rotateY("+(this.props.infinite?this.state.rotation+180:this.state.isFlipped?0:-180)+"deg)",transformStyle:"preserve-3d",top:"0",width:"100%",transition:this.props.flipSpeedFrontToBack+"s"},this.props.cardStyles.back)};return f.default.createElement("div",{className:"react-card-flip",style:e.container},f.default.createElement("div",{className:"react-card-flipper",style:e.flipper},f.default.createElement("div",{className:"react-card-front",style:e.front},this.getComponent("front")),f.default.createElement("div",{className:"react-card-back",style:e.back},this.getComponent("back"))))}}]),t}(f.default.Component);d.propTypes={cardStyles:p.default.shape({front:p.default.object,back:p.default.object}),children:function(e,t,r){return 2!==f.default.Children.count(e[t])?new Error(r+" requires two children."):null},flipSpeedBackToFront:p.default.number,flipSpeedFrontToBack:p.default.number,infinite:p.default.bool,isFlipped:p.default.bool},d.defaultProps={cardStyles:{front:{},back:{}},flipSpeedBackToFront:.6,flipSpeedFrontToBack:.6,infinite:!1,isFlipped:!1},t.default=d,e.exports=t.default},function(e,t,r){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=r(6):e.exports=r(7)}).call(t,r(0))},function(e,t,r){"use strict";function n(e,t,r,n,o,i,a,u){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,i,a,u],l=0;e=Error(t.replace(/%s/g,function(){return c[l++]})),e.name="Invariant Violation"}throw e.framesToPop=1,e}}function o(e){for(var t=arguments.length-1,r="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)r+="&args[]="+encodeURIComponent(arguments[o+1]);n(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",r)}function i(e,t,r){this.props=e,this.context=t,this.refs=F,this.updater=r||I}function a(){}function u(e,t,r){this.props=e,this.context=t,this.refs=F,this.updater=r||I}function c(e,t,r){var n=void 0,o={},i=null,a=null;if(null!=t)for(n in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)q.call(t,n)&&!U.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];o.children=c}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:k,type:e,key:i,ref:a,props:o,_owner:V.current}}function l(e,t){return{$$typeof:k,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function f(e){return"object"==typeof e&&null!==e&&e.$$typeof===k}function s(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function p(e,t,r,n){if(M.length){var o=M.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function d(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>M.length&&M.push(e)}function y(e,t,r,n){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case k:case O:a=!0}}if(a)return r(n,e,""===t?"."+m(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){i=e[u];var c=t+m(i,u);a+=y(i,c,r,n)}else if(null===e||"object"!=typeof e?c=null:(c=A&&e[A]||e["@@iterator"],c="function"==typeof c?c:null),"function"==typeof c)for(e=c.call(e),u=0;!(i=e.next()).done;)i=i.value,c=t+m(i,u++),a+=y(i,c,r,n);else"object"===i&&(r=""+e,o("31","[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return a}function v(e,t,r){return null==e?0:y(e,"",t,r)}function m(e,t){return"object"==typeof e&&null!==e&&null!=e.key?s(e.key):t.toString(36)}function h(e,t){e.func.call(e.context,t,e.count++)}function b(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?g(e,n,r,function(e){return e}):null!=e&&(f(e)&&(e=l(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(W,"$&/")+"/")+r)),n.push(e))}function g(e,t,r,n,o){var i="";null!=r&&(i=(""+r).replace(W,"$&/")+"/"),t=p(t,i,n,o),v(e,b,t),d(t)}/** @license React v16.6.0
* react.production.min.js
*
* Copyright (c) 2013-present, Facebook, Inc.
* Copyright (c) Facebook, Inc. and its affiliates.
*

@@ -15,6 +15,6 @@ * This source code is licensed under the MIT license found in the

*/
var b=n(3),g=n(6),w=n(1),O="function"==typeof Symbol&&Symbol.for,k=O?Symbol.for("react.element"):60103,_=O?Symbol.for("react.call"):60104,j=O?Symbol.for("react.return"):60105,S=O?Symbol.for("react.portal"):60106,E=O?Symbol.for("react.fragment"):60107,x="function"==typeof Symbol&&Symbol.iterator,P={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};o.prototype.isReactComponent={},o.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&r("85"),this.updater.enqueueSetState(this,e,t,"setState")},o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},a.prototype=o.prototype;var R=i.prototype=new a;R.constructor=i,b(R,o.prototype),R.isPureReactComponent=!0;var T=u.prototype=new a;T.constructor=u,b(T,o.prototype),T.unstable_isAsyncReactComponent=!0,T.render=function(){return this.props.children};var N={current:null},A=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0},F=/\/+/g,I=[],D={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return m(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=s(null,null,t,n),null==e||y(e,"",v,t),p(t)},count:function(e){return null==e?0:y(e,"",w.thatReturnsNull,null)},toArray:function(e){var t=[];return m(e,t,null,w.thatReturnsArgument),t},only:function(e){return l(e)||r("143"),e}},Component:o,PureComponent:i,unstable_AsyncComponent:u,Fragment:E,createElement:c,cloneElement:function(e,t,n){var r=b({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=N.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)A.call(t,c)&&!C.hasOwnProperty(c)&&(r[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)r.children=n;else if(1<c){u=Array(c);for(var l=0;l<c;l++)u[l]=arguments[l+2];r.children=u}return{$$typeof:k,type:e.type,key:o,ref:i,props:r,_owner:a}},createFactory:function(e){var t=c.bind(null,e);return t.type=e,t},isValidElement:l,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:N,assign:b}},$=Object.freeze({default:D}),U=$&&D||$;e.exports=U.default?U.default:U},function(e,t,n){"use strict";(function(t){/** @license React v16.2.0
var w=r(1),_="function"==typeof Symbol&&Symbol.for,k=_?Symbol.for("react.element"):60103,O=_?Symbol.for("react.portal"):60106,S=_?Symbol.for("react.fragment"):60107,j=_?Symbol.for("react.strict_mode"):60108,x=_?Symbol.for("react.profiler"):60114,P=_?Symbol.for("react.provider"):60109,E=_?Symbol.for("react.context"):60110,T=_?Symbol.for("react.concurrent_mode"):60111,R=_?Symbol.for("react.forward_ref"):60112,C=_?Symbol.for("react.suspense"):60113,$=_?Symbol.for("react.memo"):60115,N=_?Symbol.for("react.lazy"):60116,A="function"==typeof Symbol&&Symbol.iterator,I={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F={};i.prototype.isReactComponent={},i.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&o("85"),this.updater.enqueueSetState(this,e,t,"setState")},i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},a.prototype=i.prototype;var D=u.prototype=new a;D.constructor=u,w(D,i.prototype),D.isPureReactComponent=!0;var V={current:null,currentDispatcher:null},q=Object.prototype.hasOwnProperty,U={key:!0,ref:!0,__self:!0,__source:!0},W=/\/+/g,M=[],B={Children:{map:function(e,t,r){if(null==e)return e;var n=[];return g(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;t=p(null,null,t,r),v(e,h,t),d(t)},count:function(e){return v(e,function(){return null},null)},toArray:function(e){var t=[];return g(e,t,null,function(e){return e}),t},only:function(e){return f(e)||o("143"),e}},createRef:function(){return{current:null}},Component:i,PureComponent:u,createContext:function(e,t){return void 0===t&&(t=null),e={$$typeof:E,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,Provider:null,Consumer:null},e.Provider={$$typeof:P,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:R,render:e}},lazy:function(e){return{$$typeof:N,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:$,type:e,compare:void 0===t?null:t}},Fragment:S,StrictMode:j,unstable_ConcurrentMode:T,Suspense:C,unstable_Profiler:x,createElement:c,cloneElement:function(e,t,r){(null===e||void 0===e)&&o("267",e);var n=void 0,i=w({},e.props),a=e.key,u=e.ref,c=e._owner;if(null!=t){void 0!==t.ref&&(u=t.ref,c=V.current),void 0!==t.key&&(a=""+t.key);var l=void 0;e.type&&e.type.defaultProps&&(l=e.type.defaultProps);for(n in t)q.call(t,n)&&!U.hasOwnProperty(n)&&(i[n]=void 0===t[n]&&void 0!==l?l[n]:t[n])}if(1===(n=arguments.length-2))i.children=r;else if(1<n){l=Array(n);for(var f=0;f<n;f++)l[f]=arguments[f+2];i.children=l}return{$$typeof:k,type:e.type,key:a,ref:u,props:i,_owner:c}},createFactory:function(e){var t=c.bind(null,e);return t.type=e,t},isValidElement:f,version:"16.6.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:V,assign:w}},L={default:B},z=L&&B||L;e.exports=z.default||z},function(e,t,r){"use strict";(function(t){/** @license React v16.6.0
* react.development.js
*
* Copyright (c) 2013-present, Facebook, Inc.
* Copyright (c) Facebook, Inc. and its affiliates.
*

@@ -24,2 +24,2 @@ * This source code is licensed under the MIT license found in the

*/
"production"!==t.env.NODE_ENV&&function(){function t(e){if(null===e||void 0===e)return null;var t=ee&&e[ee]||e[te];return"function"==typeof t?t:null}function r(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;ie[o]||(M(!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.\n\nPlease check the code for the %s component.",t,t,r),ie[o]=!0)}function o(e,t,n){this.props=e,this.context=t,this.refs=B,this.updater=n||ae}function i(e,t,n){this.props=e,this.context=t,this.refs=B,this.updater=n||ae}function a(){}function u(e,t,n){this.props=e,this.context=t,this.refs=B,this.updater=n||ae}function c(e){if(de.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function l(e){if(de.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function f(e,t){var n=function(){se||(se=!0,M(!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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function s(e,t){var n=function(){pe||(pe=!0,M(!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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}function p(e,t,n){var r,o={},i=null,a=null,u=null,p=null;if(null!=t){c(t)&&(a=t.ref),l(t)&&(i=""+t.key),u=void 0===t.__self?null:t.__self,p=void 0===t.__source?null:t.__source;for(r in t)de.call(t,r)&&!ve.hasOwnProperty(r)&&(o[r]=t[r])}var y=arguments.length-2;if(1===y)o.children=n;else if(y>1){for(var d=Array(y),v=0;v<y;v++)d[v]=arguments[v+2];Object.freeze&&Object.freeze(d),o.children=d}if(e&&e.defaultProps){var h=e.defaultProps;for(r in h)void 0===o[r]&&(o[r]=h[r])}if((i||a)&&(void 0===o.$$typeof||o.$$typeof!==G)){var m="function"==typeof e?e.displayName||e.name||"Unknown":e;i&&f(o,m),a&&s(o,m)}return he(e,i,a,u,p,ye.current,o)}function y(e,t){return he(e.type,t,e.ref,e._self,e._source,e._owner,e.props)}function d(e,t,n){var r,o=W({},e.props),i=e.key,a=e.ref,u=e._self,f=e._source,s=e._owner;if(null!=t){c(t)&&(a=t.ref,s=ye.current),l(t)&&(i=""+t.key);var p;e.type&&e.type.defaultProps&&(p=e.type.defaultProps);for(r in t)de.call(t,r)&&!ve.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==p?o[r]=p[r]:o[r]=t[r])}var y=arguments.length-2;if(1===y)o.children=n;else if(y>1){for(var d=Array(y),v=0;v<y;v++)d[v]=arguments[v+2];o.children=d}return he(e.type,i,a,u,f,s,o)}function v(e){return"object"==typeof e&&null!==e&&e.$$typeof===G}function h(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function m(e){return(""+e).replace(Oe,"$&/")}function b(e,t,n,r){if(_e.length){var o=_e.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function g(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,_e.length<ke&&_e.push(e)}function w(e,n,r,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case G:case K:case Q:case X:a=!0}}if(a)return r(o,e,""===n?be+k(e,0):n),1;var u,c,l=0,f=""===n?be:n+ge;if(Array.isArray(e))for(var s=0;s<e.length;s++)u=e[s],c=f+k(u,s),l+=w(u,c,r,o);else{var p=t(e);if("function"==typeof p){p===e.entries&&(M(we,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s",me.getStackAddendum()),we=!0);for(var y,d=p.call(e),v=0;!(y=d.next()).done;)u=y.value,c=f+k(u,v++),l+=w(u,c,r,o)}else if("object"===i){var h="";h=" If you meant to render a collection of children, use an array instead."+me.getStackAddendum();var m=""+e;Y(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===m?"object with keys {"+Object.keys(e).join(", ")+"}":m,h)}}return l}function O(e,t,n){return null==e?0:w(e,"",t,n)}function k(e,t){return"object"==typeof e&&null!==e&&null!=e.key?h(e.key):t.toString(36)}function _(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function j(e,t,n){if(null==e)return e;var r=b(null,null,t,n);O(e,_,r),g(r)}function S(e,t,n){var r=e.result,o=e.keyPrefix,i=e.func,a=e.context,u=i.call(a,t,e.count++);Array.isArray(u)?E(u,r,n,z.thatReturnsArgument):null!=u&&(v(u)&&(u=y(u,o+(!u.key||t&&t.key===u.key?"":m(u.key)+"/")+n)),r.push(u))}function E(e,t,n,r,o){var i="";null!=n&&(i=m(n)+"/");var a=b(t,i,r,o);O(e,S,a),g(a)}function x(e,t,n){if(null==e)return e;var r=[];return E(e,r,null,t,n),r}function P(e,t){return O(e,z.thatReturnsNull,null)}function R(e){var t=[];return E(e,t,null,z.thatReturnsArgument),t}function T(e){return v(e)||Y(!1,"React.Children.only expected to receive a single React element child."),e}function N(e){var t=e.type;return"string"==typeof t?t:"function"==typeof t?t.displayName||t.name:null}function A(){if(ye.current){var e=N(ye.current);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}function C(e){if(null!==e&&void 0!==e&&void 0!==e.__source){var t=e.__source;return"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+"."}return""}function F(e){var t=A();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}function I(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=F(t);if(!Te[n]){Te[n]=!0;var r="";e&&e._owner&&e._owner!==ye.current&&(r=" It was passed a child from "+N(e._owner)+"."),Se=e,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',n,r,Pe()),Se=null}}}function D(e,n){if("object"==typeof e)if(Array.isArray(e))for(var r=0;r<e.length;r++){var o=e[r];v(o)&&I(o,n)}else if(v(e))e._store&&(e._store.validated=!0);else if(e){var i=t(e);if("function"==typeof i&&i!==e.entries)for(var a,u=i.call(e);!(a=u.next()).done;)v(a.value)&&I(a.value,n)}}function $(e){var t=e.type;if("function"==typeof t){var n=t.displayName||t.name,r=t.propTypes;r?(Se=e,J(r,e.props,"prop",n,Pe),Se=null):void 0===t.PropTypes||Ee||(Ee=!0,M(!1,"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",n||"Unknown")),"function"==typeof t.getDefaultProps&&M(t.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function U(e){Se=e;var t=!0,n=!1,r=void 0;try{for(var o,i=Object.keys(e.props)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value;if(!Re.has(a)){M(!1,"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.%s",a,Pe());break}}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}null!==e.ref&&M(!1,"Invalid attribute `ref` supplied to `React.Fragment`.%s",Pe()),Se=null}function q(e,t,n){var r="string"==typeof e||"function"==typeof e||"symbol"==typeof e||"number"==typeof e;if(!r){var o="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var i=C(t);o+=i||A(),o+=Pe()||"",M(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==e?e:typeof e,o)}var a=p.apply(this,arguments);if(null==a)return a;if(r)for(var u=2;u<arguments.length;u++)D(arguments[u],e);return"symbol"==typeof e&&e===Z?U(a):$(a),a}function V(e){var t=q.bind(null,e);return t.type=e,Object.defineProperty(t,"type",{enumerable:!1,get:function(){return oe(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t}function L(e,t,n){for(var r=d.apply(this,arguments),o=2;o<arguments.length;o++)D(arguments[o],r.type);return $(r),r}var W=n(3),B=n(6),Y=n(2),M=n(4),z=n(1),J=n(7),H="function"==typeof Symbol&&Symbol.for,G=H?Symbol.for("react.element"):60103,K=H?Symbol.for("react.call"):60104,Q=H?Symbol.for("react.return"):60105,X=H?Symbol.for("react.portal"):60106,Z=H?Symbol.for("react.fragment"):60107,ee="function"==typeof Symbol&&Symbol.iterator,te="@@iterator",ne=function(){},re=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){}};ne=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,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];re.apply(void 0,[t].concat(r))}};var oe=ne,ie={},ae={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){r(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,o){r(e,"replaceState")},enqueueSetState:function(e,t,n,o){r(e,"setState")}};o.prototype.isReactComponent={},o.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&Y(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,e,t,"setState")},o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var ue={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 ce in ue)ue.hasOwnProperty(ce)&&function(e,t){Object.defineProperty(o.prototype,e,{get:function(){oe(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}(ce,ue[ce]);a.prototype=o.prototype;var le=i.prototype=new a;le.constructor=i,W(le,o.prototype),le.isPureReactComponent=!0;var fe=u.prototype=new a;fe.constructor=u,W(fe,o.prototype),fe.unstable_isAsyncReactComponent=!0,fe.render=function(){return this.props.children};var se,pe,ye={current:null},de=Object.prototype.hasOwnProperty,ve={key:!0,ref:!0,__self:!0,__source:!0},he=function(e,t,n,r,o,i,a){var u={$$typeof:G,type:e,key:t,ref:n,props:a,_owner:i};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u},me={};me.getCurrentStack=null,me.getStackAddendum=function(){var e=me.getCurrentStack;return e?e():null};var be=".",ge=":",we=!1,Oe=/\/+/g,ke=10,_e=[],je=function(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")},Se=null,Ee=!1,xe=function(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type===Z?"React.Fragment":e.type.displayName||e.type.name||"Unknown"},Pe=function(){var e="";if(Se){var t=xe(Se),n=Se._owner;e+=je(t,Se._source,n&&N(n))}return e+=me.getStackAddendum()||""},Re=new Map([["children",!0],["key",!0]]),Te={},Ne={Children:{map:x,forEach:j,count:P,toArray:R,only:T},Component:o,PureComponent:i,unstable_AsyncComponent:u,Fragment:Z,createElement:q,cloneElement:L,createFactory:V,isValidElement:v,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:ye,assign:W}};W(Ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,{ReactDebugCurrentFrame:me,ReactComponentTreeHook:{}});var Ae=Object.freeze({default:Ne}),Ce=Ae&&Ne||Ae,Fe=Ce.default?Ce.default:Ce;e.exports=Fe}()}).call(t,n(0))},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r};e.exports=n(13)(o,!0)}else e.exports=n(14)()}).call(t,n(0))},function(e,t,n){"use strict";(function(t){var r=n(1),o=n(2),i=n(4),a=n(3),u=n(5),c=n(7);e.exports=function(e,n){function l(e){var t=e&&(x&&e[x]||e[P]);if("function"==typeof t)return t}function f(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function s(e){this.message=e,this.stack=""}function p(e){function r(r,l,f,p,y,d,v){if(p=p||R,d=d||f,v!==u)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 h=p+":"+f;!a[h]&&c<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.",d,p),a[h]=!0,c++)}return null==l[f]?r?new s(null===l[f]?"The "+y+" `"+d+"` is marked as required in `"+p+"`, but its value is `null`.":"The "+y+" `"+d+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:e(l,f,p,y,d)}if("production"!==t.env.NODE_ENV)var a={},c=0;var l=r.bind(null,!1);return l.isRequired=r.bind(null,!0),l}function y(e){function t(t,n,r,o,i,a){var u=t[n];if(_(u)!==e)return new s("Invalid "+o+" `"+i+"` of type `"+j(u)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return p(t)}function d(e){function t(t,n,r,o,i){if("function"!=typeof e)return new s("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a)){return new s("Invalid "+o+" `"+i+"` of type `"+_(a)+"` supplied to `"+r+"`, expected an array.")}for(var c=0;c<a.length;c++){var l=e(a,c,r,o,i+"["+c+"]",u);if(l instanceof Error)return l}return null}return p(t)}function v(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||R;return new s("Invalid "+o+" `"+i+"` of type `"+E(t[n])+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null}return p(t)}function h(e){function n(t,n,r,o,i){for(var a=t[n],u=0;u<e.length;u++)if(f(a,e[u]))return null;return new s("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?p(n):("production"!==t.env.NODE_ENV&&i(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)}function m(e){function t(t,n,r,o,i){if("function"!=typeof e)return new s("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],c=_(a);if("object"!==c)return new s("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var l in a)if(a.hasOwnProperty(l)){var f=e(a,l,r,o,i+"."+l,u);if(f instanceof Error)return f}return null}return p(t)}function b(e){function n(t,n,r,o,i){for(var a=0;a<e.length;a++){if(null==(0,e[a])(t,n,r,o,i,u))return null}return new s("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 a=e[o];if("function"!=typeof a)return i(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",S(a),o),r.thatReturnsNull}return p(n)}function g(e){function t(t,n,r,o,i){var a=t[n],c=_(a);if("object"!==c)return new s("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var l in e){var f=e[l];if(f){var p=f(a,l,r,o,i+"."+l,u);if(p)return p}}return null}return p(t)}function w(e){function t(t,n,r,o,i){var c=t[n],l=_(c);if("object"!==l)return new s("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+r+"`, expected `object`.");var f=a({},t[n],e);for(var p in f){var y=e[p];if(!y)return new s("Invalid "+o+" `"+i+"` key `"+p+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var d=y(c,p,r,o,i+"."+p,u);if(d)return d}return null}return p(t)}function O(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(O);if(null===t||e(t))return!0;var n=l(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!O(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!O(i[1]))return!1}return!0;default:return!1}}function k(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function _(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":k(t,e)?"symbol":t}function j(e){if(void 0===e||null===e)return""+e;var t=_(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function S(e){var t=j(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function E(e){return e.constructor&&e.constructor.name?e.constructor.name:R}var x="function"==typeof Symbol&&Symbol.iterator,P="@@iterator",R="<<anonymous>>",T={array:y("array"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:function(){return p(r.thatReturnsNull)}(),arrayOf:d,element:function(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){return new s("Invalid "+o+" `"+i+"` of type `"+_(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return p(t)}(),instanceOf:v,node:function(){function e(e,t,n,r,o){return O(e[t])?null:new s("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return p(e)}(),objectOf:m,oneOf:h,oneOfType:b,shape:g,exact:w};return s.prototype=Error.prototype,T.checkPropTypes=c,T.PropTypes=T,T}}).call(t,n(0))},function(e,t,n){"use strict";var r=n(1),o=n(2),i=n(5);e.exports=function(){function e(e,t,n,r,a,u){u!==i&&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")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}}])});
"production"!==t.env.NODE_ENV&&function(){function t(e){if(null===e||"object"!=typeof e)return null;var t=pe&&e[pe]||e[de];return"function"==typeof t?t:null}function n(e,t,r,n,o,i,a,u){if(ye(t),!e){var c=void 0;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,o,i,a,u],f=0;c=new Error(t.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}function o(e,t){var r=e.constructor,n=r&&(r.displayName||r.name)||"ReactClass",o=n+"."+t;we[o]||(ge(!1,"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,n),we[o]=!0)}function i(e,t,r){this.props=e,this.context=t,this.refs=ke,this.updater=r||_e}function a(){}function u(e,t,r){this.props=e,this.context=t,this.refs=ke,this.updater=r||_e}function c(){var e={current:null};return Object.seal(e),e}function l(e){return e._status===Te?e._result:null}function f(e,t,r){var n=t.displayName||t.name||"";return e.displayName||(""!==n?r+"("+n+")":r)}function s(e){if(null==e)return null;if("number"==typeof e.tag&&ge(!1,"Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ue:return"ConcurrentMode";case re:return"Fragment";case te:return"Portal";case oe:return"Profiler";case ne:return"StrictMode";case le:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case ce:return f(e,e.render,"ForwardRef");case fe:return s(e.type);case se:var t=e,r=l(t);if(r)return s(r)}return null}function p(e){Ce=e}function d(e){if(Ie.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function y(e){if(Ie.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function v(e,t){var r=function(){De||(De=!0,ge(!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)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}function m(e,t){var r=function(){Ve||(Ve=!0,ge(!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)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}function h(e,t,r){var n=void 0,o={},i=null,a=null,u=null,c=null;if(null!=t){d(t)&&(a=t.ref),y(t)&&(i=""+t.key),u=void 0===t.__self?null:t.__self,c=void 0===t.__source?null:t.__source;for(n in t)Ie.call(t,n)&&!Fe.hasOwnProperty(n)&&(o[n]=t[n])}var l=arguments.length-2;if(1===l)o.children=r;else if(l>1){for(var f=Array(l),s=0;s<l;s++)f[s]=arguments[s+2];Object.freeze&&Object.freeze(f),o.children=f}if(e&&e.defaultProps){var p=e.defaultProps;for(n in p)void 0===o[n]&&(o[n]=p[n])}if(i||a){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;i&&v(o,h),a&&m(o,h)}return qe(e,i,a,u,c,xe.current,o)}function b(e,t){return qe(e.type,t,e.ref,e._self,e._source,e._owner,e.props)}function g(e,t,r){(null===e||void 0===e)&&n(!1,"React.cloneElement(...): The argument must be a React element, but you passed %s.",e);var o=void 0,i=K({},e.props),a=e.key,u=e.ref,c=e._self,l=e._source,f=e._owner;if(null!=t){d(t)&&(u=t.ref,f=xe.current),y(t)&&(a=""+t.key);var s=void 0;e.type&&e.type.defaultProps&&(s=e.type.defaultProps);for(o in t)Ie.call(t,o)&&!Fe.hasOwnProperty(o)&&(void 0===t[o]&&void 0!==s?i[o]=s[o]:i[o]=t[o])}var p=arguments.length-2;if(1===p)i.children=r;else if(p>1){for(var v=Array(p),m=0;m<p;m++)v[m]=arguments[m+2];i.children=v}return qe(e.type,a,u,c,l,f,i)}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===ee}function _(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function k(e){return(""+e).replace(Be,"$&/")}function O(e,t,r,n){if(ze.length){var o=ze.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function S(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,ze.length<Le&&ze.push(e)}function j(e,r,o,i){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var u=!1;if(null===e)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case ee:case te:u=!0}}if(u)return o(i,e,""===r?Ue+P(e,0):r),1;var c=void 0,l=void 0,f=0,s=""===r?Ue:r+We;if(Array.isArray(e))for(var p=0;p<e.length;p++)c=e[p],l=s+P(c,p),f+=j(c,l,o,i);else{var d=t(e);if("function"==typeof d){d===e.entries&&(Me||Ae(!1,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead."),Me=!0);for(var y=d.call(e),v=void 0,m=0;!(v=y.next()).done;)c=v.value,l=s+P(c,m++),f+=j(c,l,o,i)}else if("object"===a){var h="";h=" If you meant to render a collection of children, use an array instead."+Re.getStackAddendum();var b=""+e;n(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(e).join(", ")+"}":b,h)}}return f}function x(e,t,r){return null==e?0:j(e,"",t,r)}function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?_(e.key):t.toString(36)}function E(e,t,r){var n=e.func,o=e.context;n.call(o,t,e.count++)}function T(e,t,r){if(null==e)return e;var n=O(null,null,t,r);x(e,E,n),S(n)}function R(e,t,r){var n=e.result,o=e.keyPrefix,i=e.func,a=e.context,u=i.call(a,t,e.count++);Array.isArray(u)?C(u,n,r,function(e){return e}):null!=u&&(w(u)&&(u=b(u,o+(!u.key||t&&t.key===u.key?"":k(u.key)+"/")+r)),n.push(u))}function C(e,t,r,n,o){var i="";null!=r&&(i=k(r)+"/");var a=O(t,i,n,o);x(e,R,a),S(a)}function $(e,t,r){if(null==e)return e;var n=[];return C(e,n,null,t,r),n}function N(e){return x(e,function(){return null},null)}function A(e){var t=[];return C(e,t,null,function(e){return e}),t}function I(e){return w(e)||n(!1,"React.Children.only expected to receive a single React element child."),e}function F(e,t){void 0===t?t=null:null!==t&&"function"!=typeof t&&ge(!1,"createContext: Expected the optional second argument to be a function. Instead received: %s",t);var r={$$typeof:ae,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,Provider:null,Consumer:null};r.Provider={$$typeof:ie,_context:r};var n=!1,o=!1,i={$$typeof:ae,_context:r,_calculateChangedBits:r._calculateChangedBits};return Object.defineProperties(i,{Provider:{get:function(){return o||(o=!0,Ae(!1,"Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),r.Provider},set:function(e){r.Provider=e}},_currentValue:{get:function(){return r._currentValue},set:function(e){r._currentValue=e}},_currentValue2:{get:function(){return r._currentValue2},set:function(e){r._currentValue2=e}},Consumer:{get:function(){return n||(n=!0,Ae(!1,"Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),r.Consumer}}}),r.Consumer=i,r._currentRenderer=null,r._currentRenderer2=null,r}function D(e){return{$$typeof:se,_ctor:e,_status:-1,_result:null}}function V(e){return"function"!=typeof e?ge(!1,"forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&ge(!1,"forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null!=e.defaultProps||null!=e.propTypes)&&ge(!1,"forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:ce,render:e}}function q(e){return"string"==typeof e||"function"==typeof e||e===re||e===ue||e===oe||e===ne||e===le||"object"==typeof e&&null!==e&&(e.$$typeof===se||e.$$typeof===fe||e.$$typeof===ie||e.$$typeof===ae||e.$$typeof===ce)}function U(e,t){return q(e)||ge(!1,"memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e),{$$typeof:fe,type:e,compare:void 0===t?null:t}}function W(){if(xe.current){var e=s(xe.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}function M(e){if(null!==e&&void 0!==e&&void 0!==e.__source){var t=e.__source;return"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+"."}return""}function B(e){var t=W();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}function L(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=B(t);if(!Je[r]){Je[r]=!0;var n="";e&&e._owner&&e._owner!==xe.current&&(n=" It was passed a child from "+s(e._owner.type)+"."),p(e),Ae(!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.',r,n),p(null)}}}function z(e,r){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var o=e[n];w(o)&&L(o,r)}else if(w(e))e._store&&(e._store.validated=!0);else if(e){var i=t(e);if("function"==typeof i&&i!==e.entries)for(var a=i.call(e),u=void 0;!(u=a.next()).done;)w(u.value)&&L(u.value,r)}}function Y(e){var t=e.type,r=void 0,n=void 0;if("function"==typeof t)r=t.displayName||t.name,n=t.propTypes;else{if("object"!=typeof t||null===t||t.$$typeof!==ce)return;var o=t.render.displayName||t.render.name||"";r=t.displayName||(""!==o?"ForwardRef("+o+")":"ForwardRef"),n=t.propTypes}n?(p(e),Q(n,e.props,"prop",r,Re.getStackAddendum),p(null)):void 0===t.PropTypes||Ye||(Ye=!0,ge(!1,"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",r||"Unknown")),"function"==typeof t.getDefaultProps&&(t.getDefaultProps.isReactClassApproved||ge(!1,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."))}function J(e){p(e);for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){Ae(!1,"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n);break}}null!==e.ref&&Ae(!1,"Invalid attribute `ref` supplied to `React.Fragment`."),p(null)}function H(e,t,r){var n=q(e);if(!n){var o="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var i=M(t);o+=i||W();var a=void 0;null===e?a="null":Array.isArray(e)?a="array":void 0!==e&&e.$$typeof===ee?(a="<"+(s(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):a=typeof e,Ae(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",a,o)}var u=h.apply(this,arguments);if(null==u)return u;if(n)for(var c=2;c<arguments.length;c++)z(arguments[c],e);return e===re?J(u):Y(u),u}function X(e){var t=H.bind(null,e);return t.type=e,Object.defineProperty(t,"type",{enumerable:!1,get:function(){return he(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t}function G(e,t,r){for(var n=g.apply(this,arguments),o=2;o<arguments.length;o++)z(arguments[o],n.type);return Y(n),n}var K=r(1),Q=r(3),Z="function"==typeof Symbol&&Symbol.for,ee=Z?Symbol.for("react.element"):60103,te=Z?Symbol.for("react.portal"):60106,re=Z?Symbol.for("react.fragment"):60107,ne=Z?Symbol.for("react.strict_mode"):60108,oe=Z?Symbol.for("react.profiler"):60114,ie=Z?Symbol.for("react.provider"):60109,ae=Z?Symbol.for("react.context"):60110,ue=Z?Symbol.for("react.concurrent_mode"):60111,ce=Z?Symbol.for("react.forward_ref"):60112,le=Z?Symbol.for("react.suspense"):60113,fe=Z?Symbol.for("react.memo"):60115,se=Z?Symbol.for("react.lazy"):60116,pe="function"==typeof Symbol&&Symbol.iterator,de="@@iterator",ye=function(){};ye=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")};var ve=function(){},me=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=0,i="Warning: "+e.replace(/%s/g,function(){return r[o++]});"undefined"!=typeof console&&console.warn(i);try{throw new Error(i)}catch(e){}};ve=function(e,t){if(void 0===t)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!e){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];me.apply(void 0,[t].concat(n))}};var he=ve,be=function(){};be=function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];if(void 0===t)throw new Error("`warningWithoutStack(condition, format, ...args)` requires a warning message argument");if(n.length>8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!e){if("undefined"!=typeof console){var i=n.map(function(e){return""+e}),a=i[0],u=i[1],c=i[2],l=i[3],f=i[4],s=i[5],p=i[6],d=i[7],y="Warning: "+t;switch(n.length){case 0:console.error(y);break;case 1:console.error(y,a);break;case 2:console.error(y,a,u);break;case 3:console.error(y,a,u,c);break;case 4:console.error(y,a,u,c,l);break;case 5:console.error(y,a,u,c,l,f);break;case 6:console.error(y,a,u,c,l,f,s);break;case 7:console.error(y,a,u,c,l,f,s,p);break;case 8:console.error(y,a,u,c,l,f,s,p,d);break;default:throw new Error("warningWithoutStack() currently supports at most 8 arguments.")}}try{var v=0,m="Warning: "+t.replace(/%s/g,function(){return n[v++]});throw new Error(m)}catch(e){}}};var ge=be,we={},_e={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,r){o(e,"forceUpdate")},enqueueReplaceState:function(e,t,r,n){o(e,"replaceState")},enqueueSetState:function(e,t,r,n){o(e,"setState")}},ke={};Object.freeze(ke),i.prototype.isReactComponent={},i.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&n(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,e,t,"setState")},i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var Oe={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 Se in Oe)Oe.hasOwnProperty(Se)&&function(e,t){Object.defineProperty(i.prototype,e,{get:function(){he(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}(Se,Oe[Se]);a.prototype=i.prototype;var je=u.prototype=new a;je.constructor=u,K(je,i.prototype),je.isPureReactComponent=!0;var xe={current:null,currentDispatcher:null},Pe=/^(.*)[\\\/]/,Ee=function(e,t,r){var n="";if(t){var o=t.fileName,i=o.replace(Pe,"");if(/^index\./.test(i)){var a=o.match(Pe);if(a){var u=a[1];if(u){i=u.replace(Pe,"")+"/"+i}}}n=" (at "+i+":"+t.lineNumber+")"}else r&&(n=" (created by "+r+")");return"\n in "+(e||"Unknown")+n},Te=1,Re={},Ce=null;Re.getCurrentStack=null,Re.getStackAddendum=function(){var e="";if(Ce){var t=s(Ce.type),r=Ce._owner;e+=Ee(t,Ce._source,r&&s(r.type))}var n=Re.getCurrentStack;return n&&(e+=n()||""),e};var $e={ReactCurrentOwner:xe,assign:K};K($e,{ReactDebugCurrentFrame:Re,ReactComponentTreeHook:{}});var Ne=ge;Ne=function(e,t){if(!e){for(var r=$e.ReactDebugCurrentFrame,n=r.getStackAddendum(),o=arguments.length,i=Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];ge.apply(void 0,[!1,t+"%s"].concat(i,[n]))}};var Ae=Ne,Ie=Object.prototype.hasOwnProperty,Fe={key:!0,ref:!0,__self:!0,__source:!0},De=void 0,Ve=void 0,qe=function(e,t,r,n,o,i,a){var u={$$typeof:ee,type:e,key:t,ref:r,props:a,_owner:i};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u},Ue=".",We=":",Me=!1,Be=/\/+/g,Le=10,ze=[],Ye=void 0;Ye=!1;var Je={},He={Children:{map:$,forEach:T,count:N,toArray:A,only:I},createRef:c,Component:i,PureComponent:u,createContext:F,forwardRef:V,lazy:D,memo:U,Fragment:re,StrictMode:ne,unstable_ConcurrentMode:ue,Suspense:le,unstable_Profiler:oe,createElement:H,cloneElement:G,createFactory:X,isValidElement:w,version:"16.6.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:$e},Xe=Object.freeze({default:He}),Ge=Xe&&He||Xe,Ke=Ge.default||Ge;e.exports=Ke}()}).call(t,r(0))},function(e,t,r){(function(t){if("production"!==t.env.NODE_ENV){var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n};e.exports=r(9)(o,!0)}else e.exports=r(10)()}).call(t,r(0))},function(e,t,r){"use strict";(function(t){function n(){return null}var o=r(1),i=r(2),a=r(3),u=function(){};"production"!==t.env.NODE_ENV&&(u=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,r){function c(e){var t=e&&(x&&e[x]||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 f(e){this.message=e,this.stack=""}function s(e){function n(n,c,l,s,p,d,y){if(s=s||E,d=d||l,y!==i){if(r){var v=new Error("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");throw v.name="Invariant Violation",v}if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var m=s+":"+l;!o[m]&&a<3&&(u("You are manually calling a React.PropTypes validation function for the `"+d+"` 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."),o[m]=!0,a++)}}return null==c[l]?n?new f(null===c[l]?"The "+p+" `"+d+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+p+" `"+d+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(c,l,s,p,d)}if("production"!==t.env.NODE_ENV)var o={},a=0;var c=n.bind(null,!1);return c.isRequired=n.bind(null,!0),c}function p(e){function t(t,r,n,o,i,a){var u=t[r];if(k(u)!==e)return new f("Invalid "+o+" `"+i+"` of type `"+O(u)+"` supplied to `"+n+"`, expected `"+e+"`.");return null}return s(t)}function d(e){function t(t,r,n,o,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var u=t[r];if(!Array.isArray(u)){return new f("Invalid "+o+" `"+a+"` of type `"+k(u)+"` supplied to `"+n+"`, expected an array.")}for(var c=0;c<u.length;c++){var l=e(u,c,n,o,a+"["+c+"]",i);if(l instanceof Error)return l}return null}return s(t)}function y(e){function t(t,r,n,o,i){if(!(t[r]instanceof e)){var a=e.name||E;return new f("Invalid "+o+" `"+i+"` of type `"+j(t[r])+"` supplied to `"+n+"`, expected instance of `"+a+"`.")}return null}return s(t)}function v(e){function r(t,r,n,o,i){for(var a=t[r],u=0;u<e.length;u++)if(l(a,e[u]))return null;return new f("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+n+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?s(r):("production"!==t.env.NODE_ENV&&u("Invalid argument supplied to oneOf, expected an instance of array."),n)}function m(e){function t(t,r,n,o,a){if("function"!=typeof e)return new f("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var u=t[r],c=k(u);if("object"!==c)return new f("Invalid "+o+" `"+a+"` of type `"+c+"` supplied to `"+n+"`, expected an object.");for(var l in u)if(u.hasOwnProperty(l)){var s=e(u,l,n,o,a+"."+l,i);if(s instanceof Error)return s}return null}return s(t)}function h(e){function r(t,r,n,o,a){for(var u=0;u<e.length;u++){if(null==(0,e[u])(t,r,n,o,a,i))return null}return new f("Invalid "+o+" `"+a+"` supplied to `"+n+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&u("Invalid argument supplied to oneOfType, expected an instance of array."),n;for(var o=0;o<e.length;o++){var a=e[o];if("function"!=typeof a)return u("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+S(a)+" at index "+o+"."),n}return s(r)}function b(e){function t(t,r,n,o,a){var u=t[r],c=k(u);if("object"!==c)return new f("Invalid "+o+" `"+a+"` of type `"+c+"` supplied to `"+n+"`, expected `object`.");for(var l in e){var s=e[l];if(s){var p=s(u,l,n,o,a+"."+l,i);if(p)return p}}return null}return s(t)}function g(e){function t(t,r,n,a,u){var c=t[r],l=k(c);if("object"!==l)return new f("Invalid "+a+" `"+u+"` of type `"+l+"` supplied to `"+n+"`, expected `object`.");var s=o({},t[r],e);for(var p in s){var d=e[p];if(!d)return new f("Invalid "+a+" `"+u+"` key `"+p+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=d(c,p,n,a,u+"."+p,i);if(y)return y}return null}return s(t)}function w(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(w);if(null===t||e(t))return!0;var r=c(t);if(!r)return!1;var n,o=r.call(t);if(r!==t.entries){for(;!(n=o.next()).done;)if(!w(n.value))return!1}else for(;!(n=o.next()).done;){var i=n.value;if(i&&!w(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 k(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":_(t,e)?"symbol":t}function O(e){if(void 0===e||null===e)return""+e;var t=k(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function S(e){var t=O(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function j(e){return e.constructor&&e.constructor.name?e.constructor.name:E}var x="function"==typeof Symbol&&Symbol.iterator,P="@@iterator",E="<<anonymous>>",T={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:function(){return s(n)}(),arrayOf:d,element:function(){function t(t,r,n,o,i){var a=t[r];if(!e(a)){return new f("Invalid "+o+" `"+i+"` of type `"+k(a)+"` supplied to `"+n+"`, expected a single ReactElement.")}return null}return s(t)}(),instanceOf:y,node:function(){function e(e,t,r,n,o){return w(e[t])?null:new f("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")}return s(e)}(),objectOf:m,oneOf:v,oneOfType:h,shape:b,exact:g};return f.prototype=Error.prototype,T.checkPropTypes=a,T.PropTypes=T,T}}).call(t,r(0))},function(e,t,r){"use strict";function n(){}var o=r(2);e.exports=function(){function e(e,t,r,n,i,a){if(a!==o){var u=new Error("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");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}}])});
{
"name": "react-card-flip",
"version": "0.2.1",
"version": "0.3.0",
"description": "ReactCardFlip",
"main": "./lib/react-card-flip.js",
"scripts": {
"build": "webpack --env dev && webpack --env build",
"build": "webpack --env dev --config webpack.dist.js && webpack --env build --config webpack.dist.js",
"build-example": "webpack --env dev && webpack --env build",
"start": "webpack-dev-server --progress --colors --open",
"test": "jest",
"test:coverage": "jest --coverage",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test:watch": "jest --watch"

@@ -28,2 +30,5 @@ },

"homepage": "https://github.com/AaronCCWong/react-card-flip",
"files": [
"lib/**/*"
],
"dependencies": {

@@ -43,2 +48,3 @@ "classnames": "^2.2.0",

"babel-preset-stage-0": "^6.24.1",
"coveralls": "^3.0.0",
"enzyme": "^3.3.0",

@@ -48,2 +54,4 @@ "enzyme-adapter-react-16": "^1.1.1",

"eslint-loader": "^1.9.0",
"eslint-plugin-react": "^7.11.1",
"file-loader": "^1.1.6",
"jest": "^22.2.2",

@@ -50,0 +58,0 @@ "react": "^16.2.0",

@@ -0,1 +1,2 @@

[![Build Status](https://travis-ci.org/AaronCCWong/react-card-flip.svg?branch=master)](https://travis-ci.org/AaronCCWong/react-card-flip)
[![Coverage Status](https://coveralls.io/repos/github/AaronCCWong/react-card-flip/badge.svg?branch=master)](https://coveralls.io/github/AaronCCWong/react-card-flip?branch=master)

@@ -11,3 +12,3 @@

Live demo: [Demo](http://www.aaronccwong.com/react-card-flip/)
Live demo: [Demo](https://aaronccwong.github.io/react-card-flip/)

@@ -69,3 +70,3 @@ To build the examples locally, run:

e.preventDefault();
this.setState({ isFlipped: !this.state.isFlipped });
this.setState(prevState => ({ isFlipped: !prevState.isFlipped }));
}

@@ -114,3 +115,3 @@

To build, watch and serve the examples (which will also watch the component source), run `npm start`. If you just want to watch changes to `src` and rebuild `lib`, run `npm run watch` (this is useful if you are working with `npm link`).
To build, watch and serve the examples (which will also watch the component source), run `yarn start`. If you just want to watch changes to `src` and rebuild `lib`, run `yarn watch` (this is useful if you are working with `npm link`).

@@ -121,5 +122,5 @@ ## Testing

* `npm test` - Runs tests then exits
* `npm test:watch` - Runs tests in watch mode
* `npm test:coverage` - Runs tests and creates a coverage report
* `yarn test` - Runs tests then exits
* `yarn test:watch` - Runs tests in watch mode
* `yarn test:coverage` - Runs tests and creates a coverage report

@@ -126,0 +127,0 @@ ## Contributing

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc