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

react-smooth

Package Overview
Dependencies
Maintainers
4
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-smooth - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

11

package.json
{
"name": "react-smooth",
"version": "3.0.0",
"version": "4.0.0",
"description": "react animation library",

@@ -44,9 +44,9 @@ "main": "lib/index",

"peerDependencies": {
"prop-types": "^15.6.0",
"react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"fast-equals": "^5.0.1",
"react-transition-group": "2.9.0"
"react-transition-group": "^4.4.5",
"prop-types": "^15.8.1"
},

@@ -85,3 +85,2 @@ "devDependencies": {

"prettier": "^2.8.8",
"prop-types": "^15.8.1",
"react": "^18.2.0",

@@ -88,0 +87,0 @@ "react-dom": "^18.2.0",

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

(()=>{"use strict";var e={192:(e,t,r)=>{function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=y(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(370)),i=p(r(768)),a=r(886),u=p(r(700)),c=r(364),f=p(r(363)),l=r(839),s=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function p(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(y=function(e){return e?r:t})(e)}function b(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t,r){return(t=O(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(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,O(n.key),n)}}function O(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===n(t)?t:String(t)}function j(e,t){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},j(e,t)}function S(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&j(e,t)}(y,e);var t,r,n,i,p=(n=y,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=A(n);if(i){var r=A(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return S(this,e)});function y(e,t){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y);var n=(r=p.call(this,e,t)).props,o=n.isActive,i=n.attributeName,a=n.from,u=n.to,c=n.steps,f=n.children,l=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(w(r)),r.changeStyle=r.changeStyle.bind(w(r)),!o||l<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:u}),S(r);if(c&&c.length)r.state={style:c[0].style};else if(a){if("function"==typeof f)return r.state={style:a},S(r);r.state={style:i?g({},i,a):a}}else r.state={style:{}};return r}return t=y,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,r=e.canBegin;this.mounted=!0,t&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isActive,n=t.canBegin,o=t.attributeName,i=t.shouldReAnimate,u=t.to,c=t.from,f=this.state.style;if(n)if(r){if(!((0,a.deepEqual)(e.to,u)&&e.canBegin&&e.isActive)){var l=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=l||i?c:e.to;if(this.state&&f){var p={style:o?g({},o,s):s};(o&&[o]!==s||!o&&f!==s)&&this.setState(p)}this.runAnimation(v(v({},this.props),{},{from:s,begin:0}))}}else{var y={style:o?g({},o,u):u};this.state&&f&&(o&&f[o]!==u||!o&&f!==u)&&this.setState(y)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,r=e.from,n=e.to,o=e.duration,i=e.easing,a=e.begin,u=e.onAnimationEnd,l=e.onAnimationStart,s=(0,f.default)(r,n,(0,c.configEasing)(i),o,this.changeStyle);this.manager.start([l,a,function(){t.stopJSAnimation=s()},o,u])}},{key:"runStepAnimation",value:function(e){var t=this,r=e.steps,n=e.begin,o=e.onAnimationStart,i=r[0],a=i.style,u=i.duration,c=void 0===u?0:u;return this.manager.start([o].concat(b(r.reduce((function(e,n,o){if(0===o)return e;var i=n.duration,a=n.easing,u=void 0===a?"ease":a,c=n.style,f=n.properties,s=n.onAnimationEnd,p=o>0?r[o-1]:n,y=f||Object.keys(c);if("function"==typeof u||"spring"===u)return[].concat(b(e),[t.runJSAnimation.bind(t,{from:p.style,to:c,duration:i,easing:u}),i]);var d=(0,l.getTransitionVal)(y,i,u),m=v(v(v({},p.style),c),{},{transition:d});return[].concat(b(e),[m,i,s]).filter(l.identity)}),[a,Math.max(c,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=(0,u.default)());var t=e.begin,r=e.duration,n=e.attributeName,o=e.to,i=e.easing,a=e.onAnimationStart,c=e.onAnimationEnd,f=e.steps,s=e.children,p=this.manager;if(this.unSubscribe=p.subscribe(this.handleStyleChange),"function"!=typeof i&&"function"!=typeof s&&"spring"!==i)if(f.length>1)this.runStepAnimation(e);else{var y=n?g({},n,o):o,b=(0,l.getTransitionVal)(Object.keys(y),r,i);p.start([a,t,v(v({},y),{},{transition:b}),r,c])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,t=e.children,r=(e.begin,e.duration),n=(e.attributeName,e.easing,e.isActive),i=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,s)),a=o.Children.count(t),u=this.state.style;if("function"==typeof t)return t(u);if(!n||0===a||r<=0)return t;var c=function(e){var t=e.props,r=t.style,n=void 0===r?{}:r,a=t.className;return(0,o.cloneElement)(e,v(v({},i),{},{style:v(v({},n),u),className:a}))};return 1===a?c(o.Children.only(t)):o.default.createElement("div",null,o.Children.map(t,(function(e){return c(e)})))}}])&&h(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),y}(o.PureComponent);P.displayName="Animate",P.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},P.propTypes={from:i.default.oneOfType([i.default.object,i.default.string]),to:i.default.oneOfType([i.default.object,i.default.string]),attributeName:i.default.string,duration:i.default.number,begin:i.default.number,easing:i.default.oneOfType([i.default.string,i.default.func]),steps:i.default.arrayOf(i.default.shape({duration:i.default.number.isRequired,style:i.default.object.isRequired,easing:i.default.oneOfType([i.default.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),i.default.func]),properties:i.default.arrayOf("string"),onAnimationEnd:i.default.func})),children:i.default.oneOfType([i.default.node,i.default.func]),isActive:i.default.bool,canBegin:i.default.bool,onAnimationEnd:i.default.func,shouldReAnimate:i.default.bool,onAnimationStart:i.default.func,onAnimationReStart:i.default.func},t.default=P},389:(e,t,r)=>{function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(370)),i=r(897),a=c(r(768)),u=c(r(186));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function l(e){var t=e.component,r=e.children,n=e.appear,a=e.enter,c=e.leave;return o.default.createElement(i.TransitionGroup,{component:t},o.Children.map(r,(function(e,t){return o.default.createElement(u.default,{appearOptions:n,enterOptions:a,leaveOptions:c,key:"child-".concat(t)},e)})))}l.propTypes={appear:a.default.object,enter:a.default.object,leave:a.default.object,children:a.default.oneOfType([a.default.array,a.default.element]),component:a.default.any},l.defaultProps={component:"span"},t.default=l},186:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=l(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(370)),o=r(897),i=c(r(768)),a=c(r(192)),u=["children","appearOptions","enterOptions","leaveOptions"];function c(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function l(e){return l="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},l(e)}function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(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,h(n.key),n)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function g(e,t,r){return(t=h(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){var t=function(e,t){if("object"!==l(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===l(t)?t:String(t)}var O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,r=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)}),0):Number.isFinite(r)?r:0},j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(p,e);var t,r,i,c,f=(i=p,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v(i);if(c){var r=v(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}(this,e)});function p(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),g(m(e=f.call(this)),"handleEnter",(function(t,r){var n=e.props,o=n.appearOptions,i=n.enterOptions;e.handleStyleActive(r?o:i)})),g(m(e),"handleExit",(function(){var t=e.props.leaveOptions;e.handleStyleActive(t)})),e.state={isActive:!1},e}return t=p,(r=[{key:"handleStyleActive",value:function(e){if(e){var t=e.onAnimationEnd?function(){e.onAnimationEnd()}:null;this.setState(y(y({},e),{},{onAnimationEnd:t,isActive:!0}))}}},{key:"parseTimeout",value:function(){var e=this.props,t=e.appearOptions,r=e.enterOptions,n=e.leaveOptions;return O(t)+O(r)+O(n)}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,i=(t.appearOptions,t.enterOptions,t.leaveOptions,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(t,u));return n.default.createElement(o.Transition,s({},i,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return n.default.createElement(a.default,e.state,n.Children.only(r))}))}}])&&b(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),p}(n.Component);j.propTypes={appearOptions:i.default.object,enterOptions:i.default.object,leaveOptions:i.default.object,children:i.default.element},t.default=j},700:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=function(){return null},t=!1,r=function r(n){if(!t){if(Array.isArray(n)){if(!n.length)return;var u=function(e){if(Array.isArray(e))return e}(l=n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),c=u[0],f=u.slice(1);return"number"==typeof c?void(0,o.default)(r.bind(null,f),c):(r(c),void(0,o.default)(r.bind(null,f)))}var l;"object"===i(n)&&e(n),"function"==typeof n&&n()}};return{stop:function(){t=!0},start:function(e){t=!1,r(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}};var n,o=(n=r(98))&&n.__esModule?n:{default:n};function i(e){return i="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},i(e)}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},363:(e,t,r)=>{function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(839);function i(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===n(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s=function(e,t,r){return e+(t-e)*r},p=function(e){return e.from!==e.to},y=function e(t,r,n){var i=(0,o.mapObject)((function(e,r){if(p(r)){var n=(a=t(r.from,r.to,r.velocity),c=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,f=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(a,c)||f(a,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1];return u(u({},r),{},{from:o,velocity:i})}var a,c;return r}),r);return n<1?(0,o.mapObject)((function(e,t){return p(t)?u(u({},t),{},{velocity:s(t.velocity,i[e].velocity,n),from:s(t.from,i[e].from,n)}):t}),r):e(t,i,n-1)};t.default=function(e,t,r,n,a){var f,l,b=(0,o.getIntersectionKeys)(e,t),d=b.reduce((function(r,n){return u(u({},r),{},c({},n,[e[n],t[n]]))}),{}),m=b.reduce((function(r,n){return u(u({},r),{},c({},n,{from:e[n],velocity:0,to:t[n]}))}),{}),v=-1,g=function(){return null};return g=r.isStepper?function(n){f||(f=n);var i=(n-f)/r.dt;m=y(r,m,i),a(u(u(u({},e),t),(0,o.mapObject)((function(e,t){return t.from}),m))),f=n,Object.values(m).filter(p).length&&(v=requestAnimationFrame(g))}:function(c){l||(l=c);var f=(c-l)/n,p=(0,o.mapObject)((function(e,t){return s.apply(void 0,i(t).concat([r(f)]))}),d);if(a(u(u(u({},e),t),p)),f<1)v=requestAnimationFrame(g);else{var y=(0,o.mapObject)((function(e,t){return s.apply(void 0,i(t).concat([r(1)]))}),d);a(u(u(u({},e),t),y))}},function(){return requestAnimationFrame(g),function(){cancelAnimationFrame(v)}}}},364:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.configSpring=t.configEasing=t.configBezier=void 0;var n=r(839);function o(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=1e-4,u=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},c=function(e,t){return e.map((function(e,r){return e*Math.pow(t,r)})).reduce((function(e,t){return e+t}))},f=function(e,t){return function(r){var n=u(e,t);return c(n,r)}},l=t.configBezier=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var l,s,p=t[0],y=t[1],b=t[2],d=t[3];if(1===t.length)switch(t[0]){case"linear":p=0,y=0,b=1,d=1;break;case"ease":p=.25,y=.1,b=.25,d=1;break;case"ease-in":p=.42,y=0,b=1,d=1;break;case"ease-out":p=.42,y=0,b=.58,d=1;break;case"ease-in-out":p=0,y=0,b=.58,d=1;break;default:var m=t[0].split("(");if("cubic-bezier"===m[0]&&4===m[1].split(")")[0].split(",").length){var v=(l=m[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),s=4,function(e){if(Array.isArray(e))return e}(l)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,f=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(l,s)||o(l,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());p=v[0],y=v[1],b=v[2],d=v[3]}else(0,n.warn)(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",t)}(0,n.warn)([p,b,y,d].every((function(e){return"number"==typeof e&&e>=0&&e<=1})),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",t);var g,h,O=f(p,b),j=f(y,d),S=(g=p,h=b,function(e){var t=u(g,h),r=[].concat(function(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.map((function(e,t){return e*t})).slice(1)),[0]);return c(r,e)}),w=function(e){for(var t,r=e>1?1:e,n=r,o=0;o<8;++o){var i=O(n)-r,u=S(n);if(Math.abs(i-r)<a||u<a)return j(n);n=(t=n-i/u)>1?1:t<0?0:t}return j(n)};return w.isStepper=!1,w},s=t.configSpring=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,r=void 0===t?100:t,n=e.damping,o=void 0===n?8:n,i=e.dt,u=void 0===i?17:i,c=function(e,t,n){var i=n+(-(e-t)*r-n*o)*u/1e3,c=n*u/1e3+e;return Math.abs(c-t)<a&&Math.abs(i)<a?[t,0]:[c,i]};return c.isStepper=!0,c.dt=u,c};t.configEasing=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=t[0];if("string"==typeof o)switch(o){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return l(o);case"spring":return s();default:if("cubic-bezier"===o.split("(")[0])return l(o);(0,n.warn)(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",t)}return"function"==typeof o?o:((0,n.warn)(!1,"[configEasing]: first argument type should be function or string, instead received %s",t),null)}},98:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame((function n(o){r<0&&(r=o),o-r>t?(e(o),r=-1):function(e){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(e)}(n)}))}},839:(e,t)=>{function r(e){return r="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},r(e)}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.warn=t.mapObject=t.log=t.identity=t.getTransitionVal=t.getIntersectionKeys=t.getDashCase=t.debugf=t.debug=void 0,t.getIntersectionKeys=function(e,t){return[Object.keys(e),Object.keys(t)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))},t.identity=function(e){return e};var a=t.getDashCase=function(e){return e.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())}))},u=t.log=function(){var e;(e=console).log.apply(e,arguments)};t.debug=function(e){return function(t){return u(e,t),t}},t.debugf=function(e,t){return function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=t.apply(void 0,n),a=e||t.name||"anonymous function",c="(".concat(n.map(JSON.stringify).join(", "),")");return u("".concat(a,": ").concat(c," => ").concat(JSON.stringify(i))),i}},t.mapObject=function(e,t){return Object.keys(t).reduce((function(r,n){return o(o({},r),{},i({},n,e(n,t[n])))}),{})},t.getTransitionVal=function(e,t,r){return e.map((function(e){return"".concat(a(e)," ").concat(t,"ms ").concat(r)})).join(",")},t.warn=function(e,t,r,n,o,i,a,u){}},768:e=>{e.exports=void 0},370:e=>{e.exports=void 0},897:e=>{e.exports=void 0},886:(e,t)=>{var r=Object.getOwnPropertyNames,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty;function i(e,t){return function(r,n,o){return e(r,n,o)&&t(r,n,o)}}function a(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);var o=n.cache,i=o.get(t),a=o.get(r);if(i&&a)return i===r&&a===t;o.set(t,r),o.set(r,t);var u=e(t,r,n);return o.delete(t),o.delete(r),u}}function u(e){return r(e).concat(n(e))}var c=Object.hasOwn||function(e,t){return o.call(e,t)};function f(e,t){return e||t?e===t:e===t||e!=e&&t!=t}var l="_owner",s=Object.getOwnPropertyDescriptor,p=Object.keys;function y(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function b(e,t){return f(e.getTime(),t.getTime())}function d(e,t,r){if(e.size!==t.size)return!1;for(var n,o,i={},a=e.entries(),u=0;(n=a.next())&&!n.done;){for(var c=t.entries(),f=!1,l=0;(o=c.next())&&!o.done;){var s=n.value,p=s[0],y=s[1],b=o.value,d=b[0],m=b[1];f||i[l]||!(f=r.equals(p,d,u,l,e,t,r)&&r.equals(y,m,p,d,e,t,r))||(i[l]=!0),l++}if(!f)return!1;u++}return!0}function m(e,t,r){var n,o=p(e),i=o.length;if(p(t).length!==i)return!1;for(;i-- >0;){if((n=o[i])===l&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!c(t,n)||!r.equals(e[n],t[n],n,n,e,t,r))return!1}return!0}function v(e,t,r){var n,o,i,a=u(e),f=a.length;if(u(t).length!==f)return!1;for(;f-- >0;){if((n=a[f])===l&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!c(t,n))return!1;if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;if(o=s(e,n),i=s(t,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function g(e,t){return f(e.valueOf(),t.valueOf())}function h(e,t){return e.source===t.source&&e.flags===t.flags}function O(e,t,r){if(e.size!==t.size)return!1;for(var n,o,i={},a=e.values();(n=a.next())&&!n.done;){for(var u=t.values(),c=!1,f=0;(o=u.next())&&!o.done;)c||i[f]||!(c=r.equals(n.value,o.value,n.value,o.value,e,t,r))||(i[f]=!0),f++;if(!c)return!1}return!0}function j(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}var S=Array.isArray,w="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,A=Object.assign,P=Object.prototype.toString.call.bind(Object.prototype.toString),E=C(),_=C({strict:!0}),q=C({circular:!0}),k=C({circular:!0,strict:!0}),M=C({createInternalComparator:function(){return f}}),T=C({strict:!0,createInternalComparator:function(){return f}}),D=C({circular:!0,createInternalComparator:function(){return f}}),x=C({circular:!0,createInternalComparator:function(){return f},strict:!0});function C(e){void 0===e&&(e={});var t,r=e.circular,n=void 0!==r&&r,o=e.createInternalComparator,u=e.createState,c=e.strict,f=void 0!==c&&c,l=function(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,o={areArraysEqual:n?v:y,areDatesEqual:b,areMapsEqual:n?i(d,v):d,areObjectsEqual:n?v:m,arePrimitiveWrappersEqual:g,areRegExpsEqual:h,areSetsEqual:n?i(O,v):O,areTypedArraysEqual:n?v:j};if(r&&(o=A({},o,r(o))),t){var u=a(o.areArraysEqual),c=a(o.areMapsEqual),f=a(o.areObjectsEqual),l=a(o.areSetsEqual);o=A({},o,{areArraysEqual:u,areMapsEqual:c,areObjectsEqual:f,areSetsEqual:l})}return o}(e),s=function(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,o=e.areObjectsEqual,i=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,u=e.areSetsEqual,c=e.areTypedArraysEqual;return function(e,f,l){if(e===f)return!0;if(null==e||null==f||"object"!=typeof e||"object"!=typeof f)return e!=e&&f!=f;var s=e.constructor;if(s!==f.constructor)return!1;if(s===Object)return o(e,f,l);if(S(e))return t(e,f,l);if(null!=w&&w(e))return c(e,f,l);if(s===Date)return r(e,f,l);if(s===RegExp)return a(e,f,l);if(s===Map)return n(e,f,l);if(s===Set)return u(e,f,l);var p=P(e);return"[object Date]"===p?r(e,f,l):"[object RegExp]"===p?a(e,f,l):"[object Map]"===p?n(e,f,l):"[object Set]"===p?u(e,f,l):"[object Object]"===p?"function"!=typeof e.then&&"function"!=typeof f.then&&o(e,f,l):"[object Arguments]"===p?o(e,f,l):("[object Boolean]"===p||"[object Number]"===p||"[object String]"===p)&&i(e,f,l)}}(l);return function(e){var t=e.circular,r=e.comparator,n=e.createState,o=e.equals,i=e.strict;if(n)return function(e,a){var u=n(),c=u.cache,f=void 0===c?t?new WeakMap:void 0:c,l=u.meta;return r(e,a,{cache:f,equals:o,meta:l,strict:i})};if(t)return function(e,t){return r(e,t,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(e,t){return r(e,t,a)}}({circular:n,comparator:s,createState:u,equals:o?o(s):(t=s,function(e,r,n,o,i,a,u){return t(e,r,u)}),strict:f})}t.circularDeepEqual=q,t.circularShallowEqual=D,t.createCustomEqual=C,t.deepEqual=E,t.sameValueZeroEqual=f,t.shallowEqual=M,t.strictCircularDeepEqual=k,t.strictCircularShallowEqual=x,t.strictDeepEqual=_,t.strictShallowEqual=T}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}(()=>{var e=t(r(192));r(364),t(r(389));function t(e){return e&&e.__esModule?e:{default:e}}e.default})()})();
(()=>{var e={192:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=y(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(370)),i=p(r(697)),a=r(886),u=p(r(700)),c=r(364),f=p(r(363)),l=r(839),s=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function p(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(y=function(e){return e?r:t})(e)}function b(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t,r){return(t=O(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(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,O(n.key),n)}}function O(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===n(t)?t:String(t)}function j(e,t){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},j(e,t)}function S(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&j(e,t)}(y,e);var t,r,n,i,p=(n=y,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=A(n);if(i){var r=A(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return S(this,e)});function y(e,t){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y);var n=(r=p.call(this,e,t)).props,o=n.isActive,i=n.attributeName,a=n.from,u=n.to,c=n.steps,f=n.children,l=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(w(r)),r.changeStyle=r.changeStyle.bind(w(r)),!o||l<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:u}),S(r);if(c&&c.length)r.state={style:c[0].style};else if(a){if("function"==typeof f)return r.state={style:a},S(r);r.state={style:i?h({},i,a):a}}else r.state={style:{}};return r}return t=y,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,r=e.canBegin;this.mounted=!0,t&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isActive,n=t.canBegin,o=t.attributeName,i=t.shouldReAnimate,u=t.to,c=t.from,f=this.state.style;if(n)if(r){if(!((0,a.deepEqual)(e.to,u)&&e.canBegin&&e.isActive)){var l=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=l||i?c:e.to;if(this.state&&f){var p={style:o?h({},o,s):s};(o&&[o]!==s||!o&&f!==s)&&this.setState(p)}this.runAnimation(v(v({},this.props),{},{from:s,begin:0}))}}else{var y={style:o?h({},o,u):u};this.state&&f&&(o&&f[o]!==u||!o&&f!==u)&&this.setState(y)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,r=e.from,n=e.to,o=e.duration,i=e.easing,a=e.begin,u=e.onAnimationEnd,l=e.onAnimationStart,s=(0,f.default)(r,n,(0,c.configEasing)(i),o,this.changeStyle);this.manager.start([l,a,function(){t.stopJSAnimation=s()},o,u])}},{key:"runStepAnimation",value:function(e){var t=this,r=e.steps,n=e.begin,o=e.onAnimationStart,i=r[0],a=i.style,u=i.duration,c=void 0===u?0:u;return this.manager.start([o].concat(b(r.reduce((function(e,n,o){if(0===o)return e;var i=n.duration,a=n.easing,u=void 0===a?"ease":a,c=n.style,f=n.properties,s=n.onAnimationEnd,p=o>0?r[o-1]:n,y=f||Object.keys(c);if("function"==typeof u||"spring"===u)return[].concat(b(e),[t.runJSAnimation.bind(t,{from:p.style,to:c,duration:i,easing:u}),i]);var d=(0,l.getTransitionVal)(y,i,u),m=v(v(v({},p.style),c),{},{transition:d});return[].concat(b(e),[m,i,s]).filter(l.identity)}),[a,Math.max(c,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=(0,u.default)());var t=e.begin,r=e.duration,n=e.attributeName,o=e.to,i=e.easing,a=e.onAnimationStart,c=e.onAnimationEnd,f=e.steps,s=e.children,p=this.manager;if(this.unSubscribe=p.subscribe(this.handleStyleChange),"function"!=typeof i&&"function"!=typeof s&&"spring"!==i)if(f.length>1)this.runStepAnimation(e);else{var y=n?h({},n,o):o,b=(0,l.getTransitionVal)(Object.keys(y),r,i);p.start([a,t,v(v({},y),{},{transition:b}),r,c])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,t=e.children,r=(e.begin,e.duration),n=(e.attributeName,e.easing,e.isActive),i=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,s)),a=o.Children.count(t),u=this.state.style;if("function"==typeof t)return t(u);if(!n||0===a||r<=0)return t;var c=function(e){var t=e.props,r=t.style,n=void 0===r?{}:r,a=t.className;return(0,o.cloneElement)(e,v(v({},i),{},{style:v(v({},n),u),className:a}))};return 1===a?c(o.Children.only(t)):o.default.createElement("div",null,o.Children.map(t,(function(e){return c(e)})))}}])&&g(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),y}(o.PureComponent);P.displayName="Animate",P.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},P.propTypes={from:i.default.oneOfType([i.default.object,i.default.string]),to:i.default.oneOfType([i.default.object,i.default.string]),attributeName:i.default.string,duration:i.default.number,begin:i.default.number,easing:i.default.oneOfType([i.default.string,i.default.func]),steps:i.default.arrayOf(i.default.shape({duration:i.default.number.isRequired,style:i.default.object.isRequired,easing:i.default.oneOfType([i.default.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),i.default.func]),properties:i.default.arrayOf("string"),onAnimationEnd:i.default.func})),children:i.default.oneOfType([i.default.node,i.default.func]),isActive:i.default.bool,canBegin:i.default.bool,onAnimationEnd:i.default.func,shouldReAnimate:i.default.bool,onAnimationStart:i.default.func,onAnimationReStart:i.default.func},t.default=P},389:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}(r(370)),i=r(897),a=c(r(697)),u=c(r(186));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function l(e){var t=e.component,r=e.children,n=e.appear,a=e.enter,c=e.leave;return o.default.createElement(i.TransitionGroup,{component:t},o.Children.map(r,(function(e,t){return o.default.createElement(u.default,{appearOptions:n,enterOptions:a,leaveOptions:c,key:"child-".concat(t)},e)})))}l.propTypes={appear:a.default.object,enter:a.default.object,leave:a.default.object,children:a.default.oneOfType([a.default.array,a.default.element]),component:a.default.any},l.defaultProps={component:"span"},t.default=l},186:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=l(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(370)),o=r(897),i=c(r(697)),a=c(r(192)),u=["children","appearOptions","enterOptions","leaveOptions"];function c(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function l(e){return l="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},l(e)}function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(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,g(n.key),n)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function h(e,t,r){return(t=g(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){var t=function(e,t){if("object"!==l(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===l(t)?t:String(t)}var O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,r=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)}),0):Number.isFinite(r)?r:0},j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(p,e);var t,r,i,c,f=(i=p,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v(i);if(c){var r=v(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}(this,e)});function p(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),h(m(e=f.call(this)),"handleEnter",(function(t,r){var n=e.props,o=n.appearOptions,i=n.enterOptions;e.handleStyleActive(r?o:i)})),h(m(e),"handleExit",(function(){var t=e.props.leaveOptions;e.handleStyleActive(t)})),e.state={isActive:!1},e}return t=p,(r=[{key:"handleStyleActive",value:function(e){if(e){var t=e.onAnimationEnd?function(){e.onAnimationEnd()}:null;this.setState(y(y({},e),{},{onAnimationEnd:t,isActive:!0}))}}},{key:"parseTimeout",value:function(){var e=this.props,t=e.appearOptions,r=e.enterOptions,n=e.leaveOptions;return O(t)+O(r)+O(n)}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,i=(t.appearOptions,t.enterOptions,t.leaveOptions,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(t,u));return n.default.createElement(o.Transition,s({},i,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return n.default.createElement(a.default,e.state,n.Children.only(r))}))}}])&&b(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),p}(n.Component);j.propTypes={appearOptions:i.default.object,enterOptions:i.default.object,leaveOptions:i.default.object,children:i.default.element},t.default=j},700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=function(){return null},t=!1,r=function r(n){if(!t){if(Array.isArray(n)){if(!n.length)return;var u=function(e){if(Array.isArray(e))return e}(l=n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),c=u[0],f=u.slice(1);return"number"==typeof c?void(0,o.default)(r.bind(null,f),c):(r(c),void(0,o.default)(r.bind(null,f)))}var l;"object"===i(n)&&e(n),"function"==typeof n&&n()}};return{stop:function(){t=!0},start:function(e){t=!1,r(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}};var n,o=(n=r(98))&&n.__esModule?n:{default:n};function i(e){return i="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},i(e)}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},363:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(839);function i(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===n(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s=function(e,t,r){return e+(t-e)*r},p=function(e){return e.from!==e.to},y=function e(t,r,n){var i=(0,o.mapObject)((function(e,r){if(p(r)){var n=(a=t(r.from,r.to,r.velocity),c=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,f=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(a,c)||f(a,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1];return u(u({},r),{},{from:o,velocity:i})}var a,c;return r}),r);return n<1?(0,o.mapObject)((function(e,t){return p(t)?u(u({},t),{},{velocity:s(t.velocity,i[e].velocity,n),from:s(t.from,i[e].from,n)}):t}),r):e(t,i,n-1)};t.default=function(e,t,r,n,a){var f,l,b=(0,o.getIntersectionKeys)(e,t),d=b.reduce((function(r,n){return u(u({},r),{},c({},n,[e[n],t[n]]))}),{}),m=b.reduce((function(r,n){return u(u({},r),{},c({},n,{from:e[n],velocity:0,to:t[n]}))}),{}),v=-1,h=function(){return null};return h=r.isStepper?function(n){f||(f=n);var i=(n-f)/r.dt;m=y(r,m,i),a(u(u(u({},e),t),(0,o.mapObject)((function(e,t){return t.from}),m))),f=n,Object.values(m).filter(p).length&&(v=requestAnimationFrame(h))}:function(c){l||(l=c);var f=(c-l)/n,p=(0,o.mapObject)((function(e,t){return s.apply(void 0,i(t).concat([r(f)]))}),d);if(a(u(u(u({},e),t),p)),f<1)v=requestAnimationFrame(h);else{var y=(0,o.mapObject)((function(e,t){return s.apply(void 0,i(t).concat([r(1)]))}),d);a(u(u(u({},e),t),y))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(v)}}}},364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.configSpring=t.configEasing=t.configBezier=void 0;var n=r(839);function o(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=1e-4,u=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},c=function(e,t){return e.map((function(e,r){return e*Math.pow(t,r)})).reduce((function(e,t){return e+t}))},f=function(e,t){return function(r){var n=u(e,t);return c(n,r)}},l=t.configBezier=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var l,s,p=t[0],y=t[1],b=t[2],d=t[3];if(1===t.length)switch(t[0]){case"linear":p=0,y=0,b=1,d=1;break;case"ease":p=.25,y=.1,b=.25,d=1;break;case"ease-in":p=.42,y=0,b=1,d=1;break;case"ease-out":p=.42,y=0,b=.58,d=1;break;case"ease-in-out":p=0,y=0,b=.58,d=1;break;default:var m=t[0].split("(");if("cubic-bezier"===m[0]&&4===m[1].split(")")[0].split(",").length){var v=(l=m[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),s=4,function(e){if(Array.isArray(e))return e}(l)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,u=[],c=!0,f=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(f)throw o}}return u}}(l,s)||o(l,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());p=v[0],y=v[1],b=v[2],d=v[3]}else(0,n.warn)(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",t)}(0,n.warn)([p,b,y,d].every((function(e){return"number"==typeof e&&e>=0&&e<=1})),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",t);var h,g,O=f(p,b),j=f(y,d),S=(h=p,g=b,function(e){var t=u(h,g),r=[].concat(function(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.map((function(e,t){return e*t})).slice(1)),[0]);return c(r,e)}),w=function(e){for(var t,r=e>1?1:e,n=r,o=0;o<8;++o){var i=O(n)-r,u=S(n);if(Math.abs(i-r)<a||u<a)return j(n);n=(t=n-i/u)>1?1:t<0?0:t}return j(n)};return w.isStepper=!1,w},s=t.configSpring=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,r=void 0===t?100:t,n=e.damping,o=void 0===n?8:n,i=e.dt,u=void 0===i?17:i,c=function(e,t,n){var i=n+(-(e-t)*r-n*o)*u/1e3,c=n*u/1e3+e;return Math.abs(c-t)<a&&Math.abs(i)<a?[t,0]:[c,i]};return c.isStepper=!0,c.dt=u,c};t.configEasing=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=t[0];if("string"==typeof o)switch(o){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return l(o);case"spring":return s();default:if("cubic-bezier"===o.split("(")[0])return l(o);(0,n.warn)(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",t)}return"function"==typeof o?o:((0,n.warn)(!1,"[configEasing]: first argument type should be function or string, instead received %s",t),null)}},98:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame((function n(o){r<0&&(r=o),o-r>t?(e(o),r=-1):function(e){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(e)}(n)}))}},839:(e,t)=>{"use strict";function r(e){return r="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},r(e)}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.warn=t.mapObject=t.log=t.identity=t.getTransitionVal=t.getIntersectionKeys=t.getDashCase=t.debugf=t.debug=void 0,t.getIntersectionKeys=function(e,t){return[Object.keys(e),Object.keys(t)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))},t.identity=function(e){return e};var a=t.getDashCase=function(e){return e.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())}))},u=t.log=function(){var e;(e=console).log.apply(e,arguments)};t.debug=function(e){return function(t){return u(e,t),t}},t.debugf=function(e,t){return function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=t.apply(void 0,n),a=e||t.name||"anonymous function",c="(".concat(n.map(JSON.stringify).join(", "),")");return u("".concat(a,": ").concat(c," => ").concat(JSON.stringify(i))),i}},t.mapObject=function(e,t){return Object.keys(t).reduce((function(r,n){return o(o({},r),{},i({},n,e(n,t[n])))}),{})},t.getTransitionVal=function(e,t,r){return e.map((function(e){return"".concat(a(e)," ").concat(t,"ms ").concat(r)})).join(",")},t.warn=function(e,t,r,n,o,i,a,u){}},703:(e,t,r)=>{"use strict";var n=r(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){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,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},697:(e,t,r)=>{e.exports=r(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},370:e=>{"use strict";e.exports=void 0},897:e=>{"use strict";e.exports=void 0},886:(e,t)=>{"use strict";var r=Object.getOwnPropertyNames,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty;function i(e,t){return function(r,n,o){return e(r,n,o)&&t(r,n,o)}}function a(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);var o=n.cache,i=o.get(t),a=o.get(r);if(i&&a)return i===r&&a===t;o.set(t,r),o.set(r,t);var u=e(t,r,n);return o.delete(t),o.delete(r),u}}function u(e){return r(e).concat(n(e))}var c=Object.hasOwn||function(e,t){return o.call(e,t)};function f(e,t){return e||t?e===t:e===t||e!=e&&t!=t}var l="_owner",s=Object.getOwnPropertyDescriptor,p=Object.keys;function y(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function b(e,t){return f(e.getTime(),t.getTime())}function d(e,t,r){if(e.size!==t.size)return!1;for(var n,o,i={},a=e.entries(),u=0;(n=a.next())&&!n.done;){for(var c=t.entries(),f=!1,l=0;(o=c.next())&&!o.done;){var s=n.value,p=s[0],y=s[1],b=o.value,d=b[0],m=b[1];f||i[l]||!(f=r.equals(p,d,u,l,e,t,r)&&r.equals(y,m,p,d,e,t,r))||(i[l]=!0),l++}if(!f)return!1;u++}return!0}function m(e,t,r){var n,o=p(e),i=o.length;if(p(t).length!==i)return!1;for(;i-- >0;){if((n=o[i])===l&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!c(t,n)||!r.equals(e[n],t[n],n,n,e,t,r))return!1}return!0}function v(e,t,r){var n,o,i,a=u(e),f=a.length;if(u(t).length!==f)return!1;for(;f-- >0;){if((n=a[f])===l&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!c(t,n))return!1;if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;if(o=s(e,n),i=s(t,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function h(e,t){return f(e.valueOf(),t.valueOf())}function g(e,t){return e.source===t.source&&e.flags===t.flags}function O(e,t,r){if(e.size!==t.size)return!1;for(var n,o,i={},a=e.values();(n=a.next())&&!n.done;){for(var u=t.values(),c=!1,f=0;(o=u.next())&&!o.done;)c||i[f]||!(c=r.equals(n.value,o.value,n.value,o.value,e,t,r))||(i[f]=!0),f++;if(!c)return!1}return!0}function j(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}var S=Array.isArray,w="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,A=Object.assign,P=Object.prototype.toString.call.bind(Object.prototype.toString),E=C(),_=C({strict:!0}),q=C({circular:!0}),k=C({circular:!0,strict:!0}),T=C({createInternalComparator:function(){return f}}),M=C({strict:!0,createInternalComparator:function(){return f}}),x=C({circular:!0,createInternalComparator:function(){return f}}),D=C({circular:!0,createInternalComparator:function(){return f},strict:!0});function C(e){void 0===e&&(e={});var t,r=e.circular,n=void 0!==r&&r,o=e.createInternalComparator,u=e.createState,c=e.strict,f=void 0!==c&&c,l=function(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,o={areArraysEqual:n?v:y,areDatesEqual:b,areMapsEqual:n?i(d,v):d,areObjectsEqual:n?v:m,arePrimitiveWrappersEqual:h,areRegExpsEqual:g,areSetsEqual:n?i(O,v):O,areTypedArraysEqual:n?v:j};if(r&&(o=A({},o,r(o))),t){var u=a(o.areArraysEqual),c=a(o.areMapsEqual),f=a(o.areObjectsEqual),l=a(o.areSetsEqual);o=A({},o,{areArraysEqual:u,areMapsEqual:c,areObjectsEqual:f,areSetsEqual:l})}return o}(e),s=function(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,o=e.areObjectsEqual,i=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,u=e.areSetsEqual,c=e.areTypedArraysEqual;return function(e,f,l){if(e===f)return!0;if(null==e||null==f||"object"!=typeof e||"object"!=typeof f)return e!=e&&f!=f;var s=e.constructor;if(s!==f.constructor)return!1;if(s===Object)return o(e,f,l);if(S(e))return t(e,f,l);if(null!=w&&w(e))return c(e,f,l);if(s===Date)return r(e,f,l);if(s===RegExp)return a(e,f,l);if(s===Map)return n(e,f,l);if(s===Set)return u(e,f,l);var p=P(e);return"[object Date]"===p?r(e,f,l):"[object RegExp]"===p?a(e,f,l):"[object Map]"===p?n(e,f,l):"[object Set]"===p?u(e,f,l):"[object Object]"===p?"function"!=typeof e.then&&"function"!=typeof f.then&&o(e,f,l):"[object Arguments]"===p?o(e,f,l):("[object Boolean]"===p||"[object Number]"===p||"[object String]"===p)&&i(e,f,l)}}(l);return function(e){var t=e.circular,r=e.comparator,n=e.createState,o=e.equals,i=e.strict;if(n)return function(e,a){var u=n(),c=u.cache,f=void 0===c?t?new WeakMap:void 0:c,l=u.meta;return r(e,a,{cache:f,equals:o,meta:l,strict:i})};if(t)return function(e,t){return r(e,t,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(e,t){return r(e,t,a)}}({circular:n,comparator:s,createState:u,equals:o?o(s):(t=s,function(e,r,n,o,i,a,u){return t(e,r,u)}),strict:f})}t.circularDeepEqual=q,t.circularShallowEqual=x,t.createCustomEqual=C,t.deepEqual=E,t.sameValueZeroEqual=f,t.shallowEqual=T,t.strictCircularDeepEqual=k,t.strictCircularShallowEqual=D,t.strictDeepEqual=_,t.strictShallowEqual=M}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}(()=>{"use strict";var e=t(r(192));r(364),t(r(389));function t(e){return e&&e.__esModule?e:{default:e}}e.default})()})();

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

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