Skip to content

Instantly share code, notes, and snippets.

@reichert621
Last active July 17, 2020 22:23
Show Gist options
  • Save reichert621/7b020ebd5373f87b9cf9bc512e644c78 to your computer and use it in GitHub Desktop.
Save reichert621/7b020ebd5373f87b9cf9bc512e644c78 to your computer and use it in GitHub Desktop.
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"J4Nk":[function(require,module,exports) {
"use strict";var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable;function n(r){if(null==r)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}function o(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de","5"===Object.getOwnPropertyNames(r)[0])return!1;for(var t={},e=0;e<10;e++)t["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(r){return t[r]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(r){n[r]=r}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(o){return!1}}module.exports=o()?Object.assign:function(o,c){for(var a,i,s=n(o),f=1;f<arguments.length;f++){for(var u in a=Object(arguments[f]))t.call(a,u)&&(s[u]=a[u]);if(r){i=r(a);for(var b=0;b<i.length;b++)e.call(a,i[b])&&(s[i[b]]=a[i[b]])}}return s};
},{}],"Asjh":[function(require,module,exports) {
"use strict";var _="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=_;
},{}],"Qo3t":[function(require,module,exports) {
"use strict";var e=function(){},r=require("./lib/ReactPropTypesSecret"),t={},n=Function.call.bind(Object.prototype.hasOwnProperty);function a(a,o,i,c,s){for(var f in a)if(n(a,f)){var u;try{if("function"!=typeof a[f]){var p=Error((c||"React class")+": "+i+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[f]+"`.");throw p.name="Invariant Violation",p}u=a[f](o,f,c,i,null,r)}catch(y){u=y}if(!u||u instanceof Error||e((c||"React class")+": type specification of "+i+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in t)){t[u.message]=!0;var l=s?s():"";e("Failed "+i+" type: "+u.message+(null!=l?l:""))}}}e=function(e){var r="Warning: "+e;"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(t){}},a.resetWarningCache=function(){t={}},module.exports=a;
},{"./lib/ReactPropTypesSecret":"Asjh"}],"dkFq":[function(require,module,exports) {
"use strict";(function(){var e=require("object-assign"),t=require("prop-types/checkPropTypes"),r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,i=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,h=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,g=r?Symbol.for("react.scope"):60119,_="function"==typeof Symbol&&Symbol.iterator,x="@@iterator";function w(e){if(null===e||"object"!=typeof e)return null;var t=_&&e[_]||e[x];return"function"==typeof t?t:null}var C={current:null},k={current:null},R=/^(.*)[\\\/]/;var S=1;function P(e){if(null==e)return null;if("number"==typeof e.tag&&T("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 a:return"Fragment";case o:return"Portal";case i:return"Profiler";case u:return"StrictMode";case p:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return"Context.Consumer";case s:return"Context.Provider";case f:return n=e,l=e.render,h="ForwardRef",b=l.displayName||l.name||"",n.displayName||(""!==b?h+"("+b+")":h);case y:return P(e.type);case v:return P(e.render);case m:var t=(r=e)._status===S?r._result:null;if(t)return P(t)}var r,n,l,h,b;return null}var j={},$=null;function O(e){$=e}j.getCurrentStack=null,j.getStackAddendum=function(){var e="";if($){var t=P($.type),r=$._owner;e+=function(e,t,r){var n="";if(t){var o=t.fileName,a=o.replace(R,"");if(/^index\./.test(a)){var u=o.match(R);if(u){var i=u[1];i&&(a=i.replace(R,"")+"/"+a)}}n=" (at "+a+":"+t.lineNumber+")"}else r&&(n=" (created by "+r+")");return"\n in "+(e||"Unknown")+n}(t,$._source,r&&P(r.type))}var n=j.getCurrentStack;return n&&(e+=n()||""),e};var E={ReactCurrentDispatcher:C,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:e};function A(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];D("warn",e,r)}function T(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];D("error",e,r)}function D(e,t,r){if(!(r.length>0&&"string"==typeof r[r.length-1]&&0===r[r.length-1].indexOf("\n in"))){var n=E.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]))}var o=r.map(function(e){return""+e});o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o);try{var a=0,u="Warning: "+t.replace(/%s/g,function(){return r[a++]});throw new Error(u)}catch(i){}}e(E,{ReactDebugCurrentFrame:j,ReactComponentTreeHook:{}});var I={};function F(e,t){var r=e.constructor,n=r&&(r.displayName||r.name)||"ReactClass",o=n+"."+t;I[o]||(T("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),I[o]=!0)}var N={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,r){F(e,"forceUpdate")},enqueueReplaceState:function(e,t,r,n){F(e,"replaceState")},enqueueSetState:function(e,t,r,n){F(e,"setState")}},U={};function z(e,t,r){this.props=e,this.context=t,this.refs=U,this.updater=r||N}Object.freeze(U),z.prototype.isReactComponent={},z.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("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")},z.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var q={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)."]},V=function(e,t){Object.defineProperty(z.prototype,e,{get:function(){A("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var M in q)q.hasOwnProperty(M)&&V(M,q[M]);function W(){}function L(e,t,r){this.props=e,this.context=t,this.refs=U,this.updater=r||N}W.prototype=z.prototype;var H=L.prototype=new W;H.constructor=L,e(H,z.prototype),H.isPureReactComponent=!0;var Y,B,J,X=Object.prototype.hasOwnProperty,G={key:!0,ref:!0,__self:!0,__source:!0};function K(e){if(X.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function Q(e){if(X.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}J={};var Z=function(e,t,r,o,a,u,i){var s={$$typeof:n,type:e,key:t,ref:r,props:i,_owner:u,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function ee(e,t,r){var n,o={},a=null,u=null,i=null,s=null;if(null!=t)for(n in K(t)&&(u=t.ref,function(e){if("string"==typeof e.ref&&k.current&&e.__self&&k.current.stateNode!==e.__self){var t=P(k.current.type);J[t]||(T('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',P(k.current.type),e.ref),J[t]=!0)}}(t)),Q(t)&&(a=""+t.key),i=void 0===t.__self?null:t.__self,s=void 0===t.__source?null:t.__source,t)X.call(t,n)&&!G.hasOwnProperty(n)&&(o[n]=t[n]);var c=arguments.length-2;if(1===c)o.children=r;else if(c>1){for(var l=Array(c),f=0;f<c;f++)l[f]=arguments[f+2];Object.freeze&&Object.freeze(l),o.children=l}if(e&&e.defaultProps){var p=e.defaultProps;for(n in p)void 0===o[n]&&(o[n]=p[n])}if(a||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var r=function(){Y||(Y=!0,T("%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})}(o,d),u&&function(e,t){var r=function(){B||(B=!0,T("%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})}(o,d)}return Z(e,a,u,i,s,k.current,o)}function te(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var re=".",ne=":";var oe=!1,ae=/\/+/g;function ue(e){return(""+e).replace(ae,"$&/")}var ie,se=10,ce=[];function le(e,t,r,n){if(ce.length){var o=ce.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 fe(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,ce.length<se&&ce.push(e)}function pe(e,t,r){return null==e?0:function e(t,r,a,u){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var s,c=!1;if(null===t)c=!0;else switch(i){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case n:case o:c=!0}}if(c)return a(u,t,""===r?re+de(t,0):r),1;var l=0,f=""===r?re:r+ne;if(Array.isArray(t))for(var p=0;p<t.length;p++)l+=e(s=t[p],f+de(s,p),a,u);else{var d=w(t);if("function"==typeof d){d===t.entries&&(oe||A("Using Maps as children is deprecated and will be removed in a future major release. Consider converting children to an array of keyed ReactElements instead."),oe=!0);for(var y,m=d.call(t),v=0;!(y=m.next()).done;)l+=e(s=y.value,f+de(s,v++),a,u)}else if("object"===i){var h;h=" If you meant to render a collection of children, use an array instead."+j.getStackAddendum();var b=""+t;throw Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(t).join(", ")+"}":b)+")."+h)}}return l}(e,"",t,r)}function de(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(r=e.key,n={"=":"=0",":":"=2"},"$"+(""+r).replace(/[=:]/g,function(e){return n[e]})):t.toString(36);var r,n}function ye(e,t,r){var n=e.func,o=e.context;n.call(o,t,e.count++)}function me(e,t,r){var n,o,a=e.result,u=e.keyPrefix,i=e.func,s=e.context,c=i.call(s,t,e.count++);Array.isArray(c)?ve(c,a,r,function(e){return e}):null!=c&&(te(c)&&(n=c,o=u+(!c.key||t&&t.key===c.key?"":ue(c.key)+"/")+r,c=Z(n.type,o,n.ref,n._self,n._source,n._owner,n.props)),a.push(c))}function ve(e,t,r,n,o){var a="";null!=r&&(a=ue(r)+"/");var u=le(t,a,n,o);pe(e,me,u),fe(u)}function he(e){return"string"==typeof e||"function"==typeof e||e===a||e===l||e===i||e===u||e===p||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===s||e.$$typeof===c||e.$$typeof===f||e.$$typeof===h||e.$$typeof===b||e.$$typeof===g||e.$$typeof===v)}function be(){var e=C.current;if(null===e)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.");return e}function ge(){if(k.current){var e=P(k.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ie=!1;var _e={};function xe(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=ge();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}(t);if(!_e[r]){_e[r]=!0;var n="";e&&e._owner&&e._owner!==k.current&&(n=" It was passed a child from "+P(e._owner.type)+"."),O(e),T('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',r,n),O(null)}}}function we(e,t){if("object"==typeof e)if(Array.isArray(e))for(var r=0;r<e.length;r++){var n=e[r];te(n)&&xe(n,t)}else if(te(e))e._store&&(e._store.validated=!0);else if(e){var o=w(e);if("function"==typeof o&&o!==e.entries)for(var a,u=o.call(e);!(a=u.next()).done;)te(a.value)&&xe(a.value,t)}}function Ce(e){var r=e.type;if(null!=r&&"string"!=typeof r){var n,o=P(r);if("function"==typeof r)n=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==f&&r.$$typeof!==y)return;n=r.propTypes}n?(O(e),t(n,e.props,"prop",o,j.getStackAddendum),O(null)):void 0===r.PropTypes||ie||(ie=!0,T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",o||"Unknown")),"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ke(e,t,r){var o,u,i=he(e);if(!i){var s="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(s+=" 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 c,l=null!=(o=t)&&void 0!==(u=o.__source)?"\n\nCheck your code at "+u.fileName.replace(/^.*[\\\/]/,"")+":"+u.lineNumber+".":"";s+=l||ge(),null===e?c="null":Array.isArray(e)?c="array":void 0!==e&&e.$$typeof===n?(c="<"+(P(e.type)||"Unknown")+" />",s=" Did you accidentally export a JSX literal instead of a component?"):c=typeof e,T("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,s)}var f=ee.apply(this,arguments);if(null==f)return f;if(i)for(var p=2;p<arguments.length;p++)we(arguments[p],e);return e===a?function(e){O(e);for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n);break}}null!==e.ref&&T("Invalid attribute `ref` supplied to `React.Fragment`."),O(null)}(f):Ce(f),f}var Re=!1;try{var Se=Object.freeze({}),Pe=new Map([[Se,null]]),je=new Set([Se]);Pe.set(0,0),je.add(0)}catch(Te){}var $e=ke,Oe=function(t,r,n){for(var o=function(t,r,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o,a,u=e({},t.props),i=t.key,s=t.ref,c=t._self,l=t._source,f=t._owner;if(null!=r)for(o in K(r)&&(s=r.ref,f=k.current),Q(r)&&(i=""+r.key),t.type&&t.type.defaultProps&&(a=t.type.defaultProps),r)X.call(r,o)&&!G.hasOwnProperty(o)&&(void 0===r[o]&&void 0!==a?u[o]=a[o]:u[o]=r[o]);var p=arguments.length-2;if(1===p)u.children=n;else if(p>1){for(var d=Array(p),y=0;y<p;y++)d[y]=arguments[y+2];u.children=d}return Z(t.type,i,s,c,l,f,u)}.apply(this,arguments),a=2;a<arguments.length;a++)we(arguments[a],o.type);return Ce(o),o},Ee=function(e){var t=ke.bind(null,e);return t.type=e,Re||(Re=!0,A("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return A("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},Ae={map:function(e,t,r){if(null==e)return e;var n=[];return ve(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;var n=le(null,null,t,r);pe(e,ye,n),fe(n)},count:function(e){return pe(e,function(){return null},null)},toArray:function(e){var t=[];return ve(e,t,null,function(e){return e}),t},only:function(e){if(!te(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};exports.Children=Ae,exports.Component=z,exports.Fragment=a,exports.Profiler=i,exports.PureComponent=L,exports.StrictMode=u,exports.Suspense=p,exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=E,exports.cloneElement=Oe,exports.createContext=function(e,t){void 0===t?t=null:null!==t&&"function"!=typeof t&&T("createContext: Expected the optional second argument to be a function. Instead received: %s",t);var r={$$typeof:c,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null};r.Provider={$$typeof:s,_context:r};var n=!1,o=!1,a={$$typeof:c,_context:r,_calculateChangedBits:r._calculateChangedBits};return Object.defineProperties(a,{Provider:{get:function(){return o||(o=!0,T("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}},_threadCount:{get:function(){return r._threadCount},set:function(e){r._threadCount=e}},Consumer:{get:function(){return n||(n=!0,T("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=a,r._currentRenderer=null,r._currentRenderer2=null,r},exports.createElement=$e,exports.createFactory=Ee,exports.createRef=function(){var e={current:null};return Object.seal(e),e},exports.forwardRef=function(e){return null!=e&&e.$$typeof===y?T("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?T("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&T("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||T("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?")),{$$typeof:f,render:e}},exports.isValidElement=te,exports.lazy=function(e){var t,r,n={$$typeof:m,_ctor:e,_status:-1,_result:null};return Object.defineProperties(n,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){T("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(n,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return r},set:function(e){T("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),r=e,Object.defineProperty(n,"propTypes",{enumerable:!0})}}}),n},exports.memo=function(e,t){return he(e)||T("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e),{$$typeof:y,type:e,compare:void 0===t?null:t}},exports.useCallback=function(e,t){return be().useCallback(e,t)},exports.useContext=function(e,t){var r=be();if(void 0!==t&&T("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",t,"number"==typeof t&&Array.isArray(arguments[2])?"\n\nDid you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks":""),void 0!==e._context){var n=e._context;n.Consumer===e?T("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&T("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return r.useContext(e,t)},exports.useDebugValue=function(e,t){return be().useDebugValue(e,t)},exports.useEffect=function(e,t){return be().useEffect(e,t)},exports.useImperativeHandle=function(e,t,r){return be().useImperativeHandle(e,t,r)},exports.useLayoutEffect=function(e,t){return be().useLayoutEffect(e,t)},exports.useMemo=function(e,t){return be().useMemo(e,t)},exports.useReducer=function(e,t,r){return be().useReducer(e,t,r)},exports.useRef=function(e){return be().useRef(e)},exports.useState=function(e){return be().useState(e)},exports.version="16.13.1"})();
},{"object-assign":"J4Nk","prop-types/checkPropTypes":"Qo3t"}],"n8MK":[function(require,module,exports) {
"use strict";module.exports=require("./cjs/react.development.js");
},{"./cjs/react.development.js":"dkFq"}],"x5YG":[function(require,module,exports) {
"use strict";(function(){var e,n,t,r,o,u=!1,i=!0;if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,a=null,s=function(){if(null!==l)try{var e=exports.unstable_now();l(!0,e),l=null}catch(n){throw setTimeout(s,0),n}},f=Date.now();exports.unstable_now=function(){return Date.now()-f},e=function(n){null!==l?setTimeout(e,0,n):(l=n,setTimeout(s,0))},n=function(e,n){a=setTimeout(e,n)},t=function(){clearTimeout(a)},r=function(){return!1},o=exports.unstable_forceFrameRate=function(){}}else{var c=window.performance,p=window.Date,d=window.setTimeout,v=window.clearTimeout;if("undefined"!=typeof console){var b=window.requestAnimationFrame,w=window.cancelAnimationFrame;"function"!=typeof b&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof w&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof c&&"function"==typeof c.now)exports.unstable_now=function(){return c.now()};else{var y=p.now();exports.unstable_now=function(){return p.now()-y}}var x=!1,m=null,_=-1,h=5,g=0;r=function(){return exports.unstable_now()>=g},o=function(){},exports.unstable_forceFrameRate=function(e){e<0||e>125?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):h=e>0?Math.floor(1e3/e):5};var T=new MessageChannel,k=T.port2;T.port1.onmessage=function(){if(null!==m){var e=exports.unstable_now();g=e+h;try{m(!0,e)?k.postMessage(null):(x=!1,m=null)}catch(n){throw k.postMessage(null),n}}else x=!1},e=function(e){m=e,x||(x=!0,k.postMessage(null))},n=function(e,n){_=d(function(){e(exports.unstable_now())},n)},t=function(){v(_),_=-1}}function E(e,n){var t=e.length;e.push(n),function(e,n,t){var r=t;for(;;){var o=r-1>>>1,u=e[o];if(!(void 0!==u&&I(u,n)>0))return;e[o]=n,e[r]=u,r=o}}(e,n,t)}function P(e){var n=e[0];return void 0===n?null:n}function A(e){var n=e[0];if(void 0!==n){var t=e.pop();return t!==n&&(e[0]=t,function(e,n,t){var r=t,o=e.length;for(;r<o;){var u=2*(r+1)-1,i=e[u],l=u+1,a=e[l];if(void 0!==i&&I(i,n)<0)void 0!==a&&I(a,i)<0?(e[r]=a,e[l]=n,r=l):(e[r]=i,e[u]=n,r=u);else{if(!(void 0!==a&&I(a,n)<0))return;e[r]=a,e[l]=n,r=l}}}(e,t,0)),n}return null}function I(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}var L=0,M=1,B=2,F=3,C=4,Q=5,R=0,S=0,D="function"==typeof SharedArrayBuffer?new SharedArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):"function"==typeof ArrayBuffer?new ArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):null,N=null!==D?new Int32Array(D):[],q=0,Y=1,j=2,z=3;N[q]=L,N[z]=0,N[Y]=0;var U=131072,W=524288,G=0,H=null,J=null,K=0,O=1,V=2,X=3,Z=4,$=5,ee=6,ne=7,te=8;function re(e){if(null!==J){var n=K;if((K+=e.length)+1>G){if((G*=2)>W)return console.error("Scheduler Profiling: Event log exceeded maximum size. Don't forget to call `stopLoggingProfilingEvents()`."),void oe();var t=new Int32Array(4*G);t.set(J),H=t.buffer,J=t}J.set(e,n)}}function oe(){var e=H;return G=0,H=null,J=null,K=0,e}function ue(e,n){N[z]++,null!==J&&re([O,1e3*n,e.id,e.priorityLevel])}function ie(e,n){N[q]=L,N[Y]=0,N[z]--,null!==J&&re([V,1e3*n,e.id])}function le(e,n){N[q]=L,N[Y]=0,N[j]=0,null!==J&&re([ee,1e3*n,e.id,R])}var ae=-1,se=250,fe=5e3,ce=1e4,pe=1073741823,de=[],ve=[],be=1,we=null,ye=F,xe=!1,me=!1,_e=!1;function he(e){for(var n=P(ve);null!==n;){if(null===n.callback)A(ve);else{if(!(n.startTime<=e))return;A(ve),n.sortIndex=n.expirationTime,E(de,n),ue(n,e),n.isQueued=!0}n=P(ve)}}function ge(t){if(_e=!1,he(t),!me)if(null!==P(de))me=!0,e(Te);else{var r=P(ve);null!==r&&n(ge,r.startTime-t)}}function Te(e,n){var r;r=n,null!==J&&re([te,1e3*r,S]),me=!1,_e&&(_e=!1,t()),xe=!0;var o=ye;try{if(!i)return ke(e,n);try{return ke(e,n)}catch(l){if(null!==we){var u=exports.unstable_now();!function(e,n){N[q]=L,N[Y]=0,N[z]--,null!==J&&re([X,1e3*n,e.id])}(we,u),we.isQueued=!1}throw l}}finally{we=null,ye=o,xe=!1,function(e){S++,null!==J&&re([ne,1e3*e,S])}(exports.unstable_now())}}function ke(e,t){var o,i,l=t;for(he(l),we=P(de);null!==we&&!u&&(!(we.expirationTime>l)||e&&!r());){var a=we.callback;if(null!==a){we.callback=null,ye=we.priorityLevel;var s=we.expirationTime<=l;o=we,i=l,R++,N[q]=o.priorityLevel,N[Y]=o.id,N[j]=R,null!==J&&re([$,1e3*i,o.id,R]);var f=a(s);l=exports.unstable_now(),"function"==typeof f?(we.callback=f,le(we,l)):(ie(we,l),we.isQueued=!1,we===P(de)&&A(de)),he(l)}else A(de);we=P(de)}if(null!==we)return!0;var c=P(ve);return null!==c&&n(ge,c.startTime-l),!1}function Ee(e){switch(e){case M:return ae;case B:return se;case Q:return pe;case C:return ce;case F:default:return fe}}var Pe=o,Ae={startLoggingProfilingEvents:function(){G=U,H=new ArrayBuffer(4*G),J=new Int32Array(H),K=0},stopLoggingProfilingEvents:oe,sharedProfilingBuffer:D};exports.unstable_IdlePriority=Q,exports.unstable_ImmediatePriority=M,exports.unstable_LowPriority=C,exports.unstable_NormalPriority=F,exports.unstable_Profiling=Ae,exports.unstable_UserBlockingPriority=B,exports.unstable_cancelCallback=function(e){e.isQueued&&(function(e,n){N[z]--,null!==J&&re([Z,1e3*n,e.id])}(e,exports.unstable_now()),e.isQueued=!1),e.callback=null},exports.unstable_continueExecution=function(){me||xe||(me=!0,e(Te))},exports.unstable_getCurrentPriorityLevel=function(){return ye},exports.unstable_getFirstCallbackNode=function(){return P(de)},exports.unstable_next=function(e){var n;switch(ye){case M:case B:case F:n=F;break;default:n=ye}var t=ye;ye=n;try{return e()}finally{ye=t}},exports.unstable_pauseExecution=function(){},exports.unstable_requestPaint=Pe,exports.unstable_runWithPriority=function(e,n){switch(e){case M:case B:case F:case C:case Q:break;default:e=F}var t=ye;ye=e;try{return n()}finally{ye=t}},exports.unstable_scheduleCallback=function(r,o,u){var i,l,a=exports.unstable_now();if("object"==typeof u&&null!==u){var s=u.delay;i="number"==typeof s&&s>0?a+s:a,l="number"==typeof u.timeout?u.timeout:Ee(r)}else l=Ee(r),i=a;var f=i+l,c={id:be++,callback:o,priorityLevel:r,startTime:i,expirationTime:f,sortIndex:-1,isQueued:!1};return i>a?(c.sortIndex=i,E(ve,c),null===P(de)&&c===P(ve)&&(_e?t():_e=!0,n(ge,i-a))):(c.sortIndex=f,E(de,c),ue(c,a),c.isQueued=!0,me||xe||(me=!0,e(Te))),c},exports.unstable_shouldYield=function(){var e=exports.unstable_now();he(e);var n=P(de);return n!==we&&null!==we&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<we.expirationTime||r()},exports.unstable_wrapCallback=function(e){var n=ye;return function(){var t=ye;ye=n;try{return e.apply(this,arguments)}finally{ye=t}}}})();
},{}],"MDSO":[function(require,module,exports) {
"use strict";module.exports=require("./cjs/scheduler.development.js");
},{"./cjs/scheduler.development.js":"x5YG"}],"WeV9":[function(require,module,exports) {
"use strict";(function(){var n=0,r=0,t=0;exports.__interactionsRef=null,exports.__subscriberRef=null,exports.__interactionsRef={current:new Set},exports.__subscriberRef={current:null};var e=null;function o(n){var r=!1,t=null;if(e.forEach(function(e){try{e.onInteractionTraced(n)}catch(o){r||(r=!0,t=o)}}),r)throw t}function c(n){var r=!1,t=null;if(e.forEach(function(e){try{e.onInteractionScheduledWorkCompleted(n)}catch(o){r||(r=!0,t=o)}}),r)throw t}function u(n,r){var t=!1,o=null;if(e.forEach(function(e){try{e.onWorkScheduled(n,r)}catch(c){t||(t=!0,o=c)}}),t)throw o}function i(n,r){var t=!1,o=null;if(e.forEach(function(e){try{e.onWorkStarted(n,r)}catch(c){t||(t=!0,o=c)}}),t)throw o}function a(n,r){var t=!1,o=null;if(e.forEach(function(e){try{e.onWorkStopped(n,r)}catch(c){t||(t=!0,o=c)}}),t)throw o}function l(n,r){var t=!1,o=null;if(e.forEach(function(e){try{e.onWorkCanceled(n,r)}catch(c){t||(t=!0,o=c)}}),t)throw o}e=new Set,exports.unstable_clear=function(n){var r=exports.__interactionsRef.current;exports.__interactionsRef.current=new Set;try{return n()}finally{exports.__interactionsRef.current=r}},exports.unstable_getCurrent=function(){return exports.__interactionsRef.current},exports.unstable_getThreadID=function(){return++t},exports.unstable_subscribe=function(n){e.add(n),1===e.size&&(exports.__subscriberRef.current={onInteractionScheduledWorkCompleted:c,onInteractionTraced:o,onWorkCanceled:l,onWorkScheduled:u,onWorkStarted:i,onWorkStopped:a})},exports.unstable_trace=function(t,e,o){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n,u={__count:1,id:r++,name:t,timestamp:e},i=exports.__interactionsRef.current,a=new Set(i);a.add(u),exports.__interactionsRef.current=a;var l,s=exports.__subscriberRef.current;try{null!==s&&s.onInteractionTraced(u)}finally{try{null!==s&&s.onWorkStarted(a,c)}finally{try{l=o()}finally{exports.__interactionsRef.current=i;try{null!==s&&s.onWorkStopped(a,c)}finally{u.__count--,null!==s&&0===u.__count&&s.onInteractionScheduledWorkCompleted(u)}}}}return l},exports.unstable_unsubscribe=function(n){e.delete(n),0===e.size&&(exports.__subscriberRef.current=null)},exports.unstable_wrap=function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,e=exports.__interactionsRef.current,o=exports.__subscriberRef.current;null!==o&&o.onWorkScheduled(e,t),e.forEach(function(n){n.__count++});var c=!1;function u(){var n=exports.__interactionsRef.current;exports.__interactionsRef.current=e,o=exports.__subscriberRef.current;try{var u;try{null!==o&&o.onWorkStarted(e,t)}finally{try{u=r.apply(void 0,arguments)}finally{exports.__interactionsRef.current=n,null!==o&&o.onWorkStopped(e,t)}}return u}finally{c||(c=!0,e.forEach(function(n){n.__count--,null!==o&&0===n.__count&&o.onInteractionScheduledWorkCompleted(n)}))}}return u.cancel=function(){o=exports.__subscriberRef.current;try{null!==o&&o.onWorkCanceled(e,t)}finally{e.forEach(function(n){n.__count--,o&&0===n.__count&&o.onInteractionScheduledWorkCompleted(n)})}},u}})();
},{}],"lEVr":[function(require,module,exports) {
"use strict";module.exports=require("./cjs/scheduler-tracing.development.js");
},{"./cjs/scheduler-tracing.development.js":"WeV9"}],"BUHy":[function(require,module,exports) {
"use strict";(function(){var e=require("react"),t=require("object-assign"),n=require("scheduler"),r=require("prop-types/checkPropTypes"),o=require("scheduler/tracing"),a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];u("warn",e,n)}function l(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];u("error",e,n)}function u(e,t,n){if(!(n.length>0&&"string"==typeof n[n.length-1]&&0===n[n.length-1].indexOf("\n in"))){var r=a.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]))}var o=n.map(function(e){return""+e});o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o);try{var i=0,l="Warning: "+t.replace(/%s/g,function(){return n[i++]});throw new Error(l)}catch(u){}}if(a.hasOwnProperty("ReactCurrentDispatcher")||(a.ReactCurrentDispatcher={current:null}),a.hasOwnProperty("ReactCurrentBatchConfig")||(a.ReactCurrentBatchConfig={suspense:null}),!e)throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var s=function(e,t,n,r,o,a,i,u,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(l){this.onError(l)}};if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var c=document.createElement("react");s=function(e,t,n,r,o,a,i,l,u){if("undefined"==typeof document)throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var s,d=document.createEvent("Event"),f=!0,p=window.event,m=Object.getOwnPropertyDescriptor(window,"event"),h=Array.prototype.slice.call(arguments,3);var v=!1,g=!1;function y(e){if(s=e.error,v=!0,null===s&&0===e.colno&&0===e.lineno&&(g=!0),e.defaultPrevented&&null!=s&&"object"==typeof s)try{s._suppressLogging=!0}catch(t){}}var b="react-"+(e||"invokeguardedcallback");window.addEventListener("error",y),c.addEventListener(b,function e(){c.removeEventListener(b,e,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=p),t.apply(n,h),f=!1},!1),d.initEvent(b,!1,!1),c.dispatchEvent(d),m&&Object.defineProperty(window,"event",m),f&&(v?g&&(s=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):s=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(s)),window.removeEventListener("error",y)}}var d=s,f=!1,p=null,m=!1,h=null,v={onError:function(e){f=!0,p=e}};function g(e,t,n,r,o,a,i,l,u){f=!1,p=null,d.apply(v,arguments)}function y(){return f}function b(){if(f){var e=p;return f=!1,p=null,e}throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}var w,k=null,x=null,T=null;function S(e,t,n){var r=e.type||"unknown-event";e.currentTarget=T(n),function(e,t,n,r,o,a,i,l,u){if(g.apply(this,arguments),f){var s=b();m||(m=!0,h=s)}}(r,t,void 0,e),e.currentTarget=null}w=function(e){var t=e._dispatchListeners,n=e._dispatchInstances,r=Array.isArray(t),o=r?t.length:t?1:0,a=Array.isArray(n),i=a?n.length:n?1:0;a===r&&i===o||l("EventPluginUtils: Invalid `event`.")};var E=0,C=1,R=2,P=3,I=4,_=5,D=6,N=7,M=8,O=9,z=10,A=11,U=12,L=13,F=14,W=15,j=16,B=17,V=18,H=19,Q=20,q=21,Y=22,$=null,K={};function X(){if($)for(var e in K){var t=K[e],n=$.indexOf(e);if(!(n>-1))throw Error("EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `"+e+"`.");if(!J[n]){if(!t.extractEvents)throw Error("EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `"+e+"` does not.");J[n]=t;var r=t.eventTypes;for(var o in r)if(!G(r[o],t,o))throw Error("EventPluginRegistry: Failed to publish event `"+o+"` for plugin `"+e+"`.")}}}function G(e,t,n){if(ee.hasOwnProperty(n))throw Error("EventPluginRegistry: More than one plugin attempted to publish the same event name, `"+n+"`.");ee[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r){if(r.hasOwnProperty(o))Z(r[o],t,n)}return!0}return!!e.registrationName&&(Z(e.registrationName,t,n),!0)}function Z(e,t,n){if(te[e])throw Error("EventPluginRegistry: More than one plugin attempted to publish the same registration name, `"+e+"`.");te[e]=t,ne[e]=t.eventTypes[n].dependencies;var r=e.toLowerCase();re[r]=e,"onDoubleClick"===e&&(re.ondblclick=e)}var J=[],ee={},te={},ne={},re={};function oe(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(!K.hasOwnProperty(n)||K[n]!==r){if(K[n])throw Error("EventPluginRegistry: Cannot inject two different event plugins using the same name, `"+n+"`.");K[n]=r,t=!0}}t&&X()}var ae=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ie=1,le=32,ue=64,se=null,ce=null,de=null;function fe(e){var t=x(e);if(t){if("function"!=typeof se)throw Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var r=k(n);se(t.stateNode,t.type,r)}}}function pe(e){ce?de?de.push(e):de=[e]:ce=e}function me(){if(ce){var e=ce,t=de;if(ce=null,de=null,fe(e),t)for(var n=0;n<t.length;n++)fe(t[n])}}var he=!0,ve=!1,ge=!1,ye=!1,be=function(e,t){return e(t)},we=function(e,t,n,r,o){return e(t,n,r,o)},ke=function(){},xe=be,Te=!1,Se=!1;function Ee(){(null!==ce||null!==de)&&(ke(),me())}var Ce=0,Re=1,Pe=2,Ie=0,_e=2,De=3,Ne=4,Me=5,Oe=6,ze=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ae=ze+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ue="data-reactroot",Le=new RegExp("^["+ze+"]["+Ae+"]*$"),Fe=Object.prototype.hasOwnProperty,We={},je={};function Be(e){return!!Fe.call(je,e)||!Fe.call(We,e)&&(Le.test(e)?(je[e]=!0,!0):(We[e]=!0,l("Invalid attribute name: `%s`",e),!1))}function Ve(e,t,n){return null!==t?t.type===Ie:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function He(e,t,n,r){if(null!==n&&n.type===Ie)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return"data-"!==o&&"aria-"!==o;default:return!1}}function Qe(e,t,n,r){if(null==t)return!0;if(He(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case De:return!t;case Ne:return!1===t;case Me:return isNaN(t);case Oe:return isNaN(t)||t<1}return!1}function qe(e){return $e.hasOwnProperty(e)?$e[e]:null}function Ye(e,t,n,r,o,a){this.acceptsBooleans=t===_e||t===De||t===Ne,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a}var $e={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){$e[e]=new Ye(e,Ie,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];$e[t]=new Ye(t,1,!1,n,null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){$e[e]=new Ye(e,_e,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$e[e]=new Ye(e,_e,!1,e,null,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){$e[e]=new Ye(e,De,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){$e[e]=new Ye(e,De,!0,e,null,!1)}),["capture","download"].forEach(function(e){$e[e]=new Ye(e,Ne,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){$e[e]=new Ye(e,Oe,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){$e[e]=new Ye(e,Me,!1,e.toLowerCase(),null,!1)});var Ke=/[\-\:]([a-z])/g,Xe=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(Ke,Xe);$e[t]=new Ye(t,1,!1,e,null,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Ke,Xe);$e[t]=new Ye(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ke,Xe);$e[t]=new Ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){$e[e]=new Ye(e,1,!1,e.toLowerCase(),null,!1)});$e.xlinkHref=new Ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){$e[e]=new Ye(e,1,!1,e.toLowerCase(),null,!0)});a.ReactDebugCurrentFrame;var Ge=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Ze=!1;function Je(e){!Ze&&Ge.test(e)&&(Ze=!0,l("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function et(e,t,n,r){if(r.mustUseProperty)return e[r.propertyName];r.sanitizeURL&&Je(""+n);var o=r.attributeName,a=null;if(r.type===Ne){if(e.hasAttribute(o)){var i=e.getAttribute(o);return""===i||(Qe(t,n,r,!1)?i:i===""+n?n:i)}}else if(e.hasAttribute(o)){if(Qe(t,n,r,!1))return e.getAttribute(o);if(r.type===De)return n;a=e.getAttribute(o)}return Qe(t,n,r,!1)?null===a?n:a:a===""+n?n:a}function tt(e,t,n){if(Be(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var r=e.getAttribute(t);return r===""+n?n:r}}function nt(e,t,n,r){var o=qe(t);if(!Ve(t,o,r))if(Qe(t,n,o,r)&&(n=null),r||null===o){if(Be(t)){var a=t;null===n?e.removeAttribute(a):e.setAttribute(a,""+n)}}else if(o.mustUseProperty){var i=o.propertyName;if(null===n){var l=o.type;e[i]=l!==De&&""}else e[i]=n}else{var u=o.attributeName,s=o.attributeNamespace;if(null===n)e.removeAttribute(u);else{var c,d=o.type;d===De||d===Ne&&!0===n?c="":(c=""+n,o.sanitizeURL&&Je(c.toString())),s?e.setAttributeNS(s,u,c):e.setAttribute(u,c)}}}var rt=/^(.*)[\\\/]/;var ot="function"==typeof Symbol&&Symbol.for,at=ot?Symbol.for("react.element"):60103,it=ot?Symbol.for("react.portal"):60106,lt=ot?Symbol.for("react.fragment"):60107,ut=ot?Symbol.for("react.strict_mode"):60108,st=ot?Symbol.for("react.profiler"):60114,ct=ot?Symbol.for("react.provider"):60109,dt=ot?Symbol.for("react.context"):60110,ft=ot?Symbol.for("react.concurrent_mode"):60111,pt=ot?Symbol.for("react.forward_ref"):60112,mt=ot?Symbol.for("react.suspense"):60113,ht=ot?Symbol.for("react.suspense_list"):60120,vt=ot?Symbol.for("react.memo"):60115,gt=ot?Symbol.for("react.lazy"):60116,yt=ot?Symbol.for("react.block"):60121,bt="function"==typeof Symbol&&Symbol.iterator,wt="@@iterator";function kt(e){if(null===e||"object"!=typeof e)return null;var t=bt&&e[bt]||e[wt];return"function"==typeof t?t:null}var xt=-1,Tt=0,St=1,Et=2;function Ct(e){return e._status===St?e._result:null}function Rt(e){if(null==e)return null;if("number"==typeof e.tag&&l("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 lt:return"Fragment";case it:return"Portal";case st:return"Profiler";case ut:return"StrictMode";case mt:return"Suspense";case ht:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case dt:return"Context.Consumer";case ct:return"Context.Provider";case pt:return n=e,r=e.render,o="ForwardRef",a=r.displayName||r.name||"",n.displayName||(""!==a?o+"("+a+")":o);case vt:return Rt(e.type);case yt:return Rt(e.render);case gt:var t=Ct(e);if(t)return Rt(t)}var n,r,o,a;return null}var Pt=a.ReactDebugCurrentFrame;function It(e){switch(e.tag){case P:case I:case D:case N:case z:case O:return"";default:var t=e._debugOwner,n=e._debugSource,r=Rt(e.type),o=null;return t&&(o=Rt(t.type)),function(e,t,n){var r="";if(t){var o=t.fileName,a=o.replace(rt,"");if(/^index\./.test(a)){var i=o.match(rt);if(i){var l=i[1];l&&(a=l.replace(rt,"")+"/"+a)}}r=" (at "+a+":"+t.lineNumber+")"}else n&&(r=" (created by "+n+")");return"\n in "+(e||"Unknown")+r}(r,n,o)}}function _t(e){var t="",n=e;do{t+=It(n),n=n.return}while(n);return t}var Dt=null,Nt=!1;function Mt(){if(null===Dt)return null;var e=Dt._debugOwner;return null!=e?Rt(e.type):null}function Ot(){return null===Dt?"":_t(Dt)}function zt(){Pt.getCurrentStack=null,Dt=null,Nt=!1}function At(e){Pt.getCurrentStack=Ot,Dt=e,Nt=!1}function Ut(e){Nt=e}function Lt(e){return""+e}function Ft(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}var Wt,jt={checkPropTypes:null};Wt=a.ReactDebugCurrentFrame;var Bt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Vt={value:function(e,t,n){return Bt[e.type]||e.onChange||e.readOnly||e.disabled||null==e[t]||ve?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return e.onChange||e.readOnly||e.disabled||null==e[t]||ve?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};function Ht(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function Qt(e){return e._valueTracker}function qt(e){Qt(e)||(e._valueTracker=function(e){var t=Ht(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}}}}(e))}function Yt(e){if(!e)return!1;var t=Qt(e);if(!t)return!0;var n=t.getValue(),r=function(e){var t="";return e?t=Ht(e)?e.checked?"true":"false":e.value:t}(e);return r!==n&&(t.setValue(r),!0)}jt.checkPropTypes=function(e,t){r(Vt,t,"prop",e,Wt.getStackAddendum)};var $t=!1,Kt=!1,Xt=!1,Gt=!1;function Zt(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function Jt(e,n){var r=e,o=n.checked;return t({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=o?o:r._wrapperState.initialChecked})}function en(e,t){jt.checkPropTypes("input",t),void 0===t.checked||void 0===t.defaultChecked||Kt||(l("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",Mt()||"A component",t.type),Kt=!0),void 0===t.value||void 0===t.defaultValue||$t||(l("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",Mt()||"A component",t.type),$t=!0);var n=e,r=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:Ft(null!=t.value?t.value:r),controlled:Zt(t)}}function tn(e,t){var n=e,r=t.checked;null!=r&&nt(n,"checked",r,!1)}function nn(e,t){var n=e,r=Zt(t);n._wrapperState.controlled||!r||Gt||(l("A component is changing an uncontrolled input of type %s to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",t.type),Gt=!0),!n._wrapperState.controlled||r||Xt||(l("A component is changing a controlled input of type %s to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",t.type),Xt=!0),tn(e,t);var o=Ft(t.value),a=t.type;if(null!=o)"number"===a?(0===o&&""===n.value||n.value!=o)&&(n.value=Lt(o)):n.value!==Lt(o)&&(n.value=Lt(o));else if("submit"===a||"reset"===a)return void n.removeAttribute("value");t.hasOwnProperty("value")?an(n,t.type,o):t.hasOwnProperty("defaultValue")&&an(n,t.type,Ft(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function rn(e,t,n){var r=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(("submit"===o||"reset"===o)&&(void 0===t.value||null===t.value))return;var a=Lt(r._wrapperState.initialValue);n||a!==r.value&&(r.value=a),r.defaultValue=a}var i=r.name;""!==i&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==i&&(r.name=i)}function on(e,t){var n=e;nn(n,t),function(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var r=e;r.parentNode;)r=r.parentNode;for(var o=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),a=0;a<o.length;a++){var i=o[a];if(i!==e&&i.form===e.form){var l=yu(i);if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Yt(i),nn(i,l)}}}}(n,t)}function an(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=Lt(e._wrapperState.initialValue):e.defaultValue!==Lt(n)&&(e.defaultValue=Lt(n)))}var ln,un=!1,sn=!1;function cn(t,n){"object"==typeof n.children&&null!==n.children&&e.Children.forEach(n.children,function(e){null!=e&&"string"!=typeof e&&"number"!=typeof e&&"string"==typeof e.type&&(sn||(sn=!0,l("Only strings and numbers are supported as <option> children.")))}),null==n.selected||un||(l("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),un=!0)}function dn(n,r){var o=t({children:void 0},r),a=function(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}(r.children);return a&&(o.children=a),o}function fn(){var e=Mt();return e?"\n\nCheck the render method of `"+e+"`.":""}ln=!1;var pn=["value","defaultValue"];function mn(e,t,n,r){var o=e.options;if(t){for(var a=n,i={},l=0;l<a.length;l++)i["$"+a[l]]=!0;for(var u=0;u<o.length;u++){var s=i.hasOwnProperty("$"+o[u].value);o[u].selected!==s&&(o[u].selected=s),s&&r&&(o[u].defaultSelected=!0)}}else{for(var c=Lt(Ft(n)),d=null,f=0;f<o.length;f++){if(o[f].value===c)return o[f].selected=!0,void(r&&(o[f].defaultSelected=!0));null!==d||o[f].disabled||(d=o[f])}null!==d&&(d.selected=!0)}}function hn(e,n){return t({},n,{value:void 0})}function vn(e,t){var n=e;!function(e){jt.checkPropTypes("select",e);for(var t=0;t<pn.length;t++){var n=pn[t];if(null!=e[n]){var r=Array.isArray(e[n]);e.multiple&&!r?l("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,fn()):!e.multiple&&r&&l("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,fn())}}}(t),n._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||ln||(l("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://fb.me/react-controlled-components"),ln=!0)}var gn=!1;function yn(e,n){var r=e;if(null!=n.dangerouslySetInnerHTML)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");return t({},n,{value:void 0,defaultValue:void 0,children:Lt(r._wrapperState.initialValue)})}function bn(e,t){var n=e;jt.checkPropTypes("textarea",t),void 0===t.value||void 0===t.defaultValue||gn||(l("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components",Mt()||"A component"),gn=!0);var r=t.value;if(null==r){var o=t.children,a=t.defaultValue;if(null!=o){if(l("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=a)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Array.isArray(o)){if(!(o.length<=1))throw Error("<textarea> can only have at most one child.");o=o[0]}a=o}null==a&&(a=""),r=a}n._wrapperState={initialValue:Ft(r)}}function wn(e,t){var n=e,r=Ft(t.value),o=Ft(t.defaultValue);if(null!=r){var a=Lt(r);a!==n.value&&(n.value=a),null==t.defaultValue&&n.defaultValue!==a&&(n.defaultValue=a)}null!=o&&(n.defaultValue=Lt(o))}function kn(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var xn="http://www.w3.org/1999/xhtml",Tn="http://www.w3.org/1998/Math/MathML",Sn="http://www.w3.org/2000/svg",En={html:xn,mathml:Tn,svg:Sn};function Cn(e){switch(e){case"svg":return Sn;case"math":return Tn;default:return xn}}function Rn(e,t){return null==e||e===xn?Cn(t):e===Sn&&"foreignObject"===t?xn:e}var Pn,In,_n=(In=function(e,t){if(e.namespaceURI!==En.svg||"innerHTML"in e)e.innerHTML=t;else{(Pn=Pn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Pn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return In(e,t,n,r)})}:In),Dn=1,Nn=3,Mn=8,On=9,zn=11,An=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Nn)return void(n.nodeValue=t)}e.textContent=t};function Un(e){return e}function Ln(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Fn={animationend:Ln("Animation","AnimationEnd"),animationiteration:Ln("Animation","AnimationIteration"),animationstart:Ln("Animation","AnimationStart"),transitionend:Ln("Transition","TransitionEnd")},Wn={},jn={};function Bn(e){if(Wn[e])return Wn[e];if(!Fn[e])return e;var t=Fn[e];for(var n in t)if(t.hasOwnProperty(n)&&n in jn)return Wn[e]=t[n];return e}ae&&(jn=document.createElement("div").style,"AnimationEvent"in window||(delete Fn.animationend.animation,delete Fn.animationiteration.animation,delete Fn.animationstart.animation),"TransitionEvent"in window||delete Fn.transitionend.transition);var Vn=Un("abort"),Hn=Un(Bn("animationend")),Qn=Un(Bn("animationiteration")),qn=Un(Bn("animationstart")),Yn=Un("blur"),$n=Un("canplay"),Kn=Un("canplaythrough"),Xn=Un("cancel"),Gn=Un("change"),Zn=Un("click"),Jn=Un("close"),er=Un("compositionend"),tr=Un("compositionstart"),nr=Un("compositionupdate"),rr=Un("contextmenu"),or=Un("copy"),ar=Un("cut"),ir=Un("dblclick"),lr=Un("auxclick"),ur=Un("drag"),sr=Un("dragend"),cr=Un("dragenter"),dr=Un("dragexit"),fr=Un("dragleave"),pr=Un("dragover"),mr=Un("dragstart"),hr=Un("drop"),vr=Un("durationchange"),gr=Un("emptied"),yr=Un("encrypted"),br=Un("ended"),wr=Un("error"),kr=Un("focus"),xr=Un("gotpointercapture"),Tr=Un("input"),Sr=Un("invalid"),Er=Un("keydown"),Cr=Un("keypress"),Rr=Un("keyup"),Pr=Un("load"),Ir=Un("loadstart"),_r=Un("loadeddata"),Dr=Un("loadedmetadata"),Nr=Un("lostpointercapture"),Mr=Un("mousedown"),Or=Un("mousemove"),zr=Un("mouseout"),Ar=Un("mouseover"),Ur=Un("mouseup"),Lr=Un("paste"),Fr=Un("pause"),Wr=Un("play"),jr=Un("playing"),Br=Un("pointercancel"),Vr=Un("pointerdown"),Hr=Un("pointermove"),Qr=Un("pointerout"),qr=Un("pointerover"),Yr=Un("pointerup"),$r=Un("progress"),Kr=Un("ratechange"),Xr=Un("reset"),Gr=Un("scroll"),Zr=Un("seeked"),Jr=Un("seeking"),eo=Un("selectionchange"),to=Un("stalled"),no=Un("submit"),ro=Un("suspend"),oo=Un("textInput"),ao=Un("timeupdate"),io=Un("toggle"),lo=Un("touchcancel"),uo=Un("touchend"),so=Un("touchmove"),co=Un("touchstart"),fo=Un(Bn("transitionend")),po=Un("volumechange"),mo=Un("waiting"),ho=Un("wheel"),vo=[Vn,$n,Kn,vr,gr,yr,br,wr,_r,Dr,Ir,Fr,Wr,jr,$r,Kr,Zr,Jr,to,ro,ao,po,mo];function go(e){return function(e){return e}(e)}var yo=new("function"==typeof WeakMap?WeakMap:Map);function bo(e){var t=yo.get(e);return void 0===t&&(t=new Map,yo.set(e,t)),t}function wo(e){return e._reactInternalFiber}var ko=0,xo=1,To=2,So=4,Eo=6,Co=8,Ro=16,Po=32,Io=64,_o=128,Do=256,No=512,Mo=1024,Oo=1028,zo=932,Ao=2047,Uo=2048,Lo=4096,Fo=a.ReactCurrentOwner;function Wo(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var r=t;do{((t=r).effectTag&(To|Mo))!==ko&&(n=t.return),r=t.return}while(r)}return t.tag===P?n:null}function jo(e){if(e.tag===L){var t=e.memoizedState;if(null===t){var n=e.alternate;null!==n&&(t=n.memoizedState)}if(null!==t)return t.dehydrated}return null}function Bo(e){return e.tag===P?e.stateNode.containerInfo:null}function Vo(e){if(Wo(e)!==e)throw Error("Unable to find node on an unmounted component.")}function Ho(e){var t=e.alternate;if(!t){var n=Wo(e);if(null===n)throw Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){var l=a.return;if(null!==l){r=o=l;continue}break}if(a.child===i.child){for(var u=a.child;u;){if(u===r)return Vo(a),e;if(u===o)return Vo(a),t;u=u.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=a,o=i;else{for(var s=!1,c=a.child;c;){if(c===r){s=!0,r=a,o=i;break}if(c===o){s=!0,o=a,r=i;break}c=c.sibling}if(!s){for(c=i.child;c;){if(c===r){s=!0,r=i,o=a;break}if(c===o){s=!0,o=i,r=a;break}c=c.sibling}if(!s)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==P)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function Qo(e){var t=Ho(e);if(!t)return null;for(var n=t;;){if(n.tag===_||n.tag===D)return n;if(n.child)n.child.return=n,n=n.child;else{if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}function qo(e,t){if(null==t)throw Error("accumulateInto(...): Accumulated items must not be null or undefined.");return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function Yo(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var $o=null,Ko=function(e){e&&(!function(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(w(e),Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)S(e,t[r],n[r]);else t&&S(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null}(e),e.isPersistent()||e.constructor.release(e))},Xo=function(e){return Ko(e)};function Go(e){null!==e&&($o=qo($o,e));var t=$o;if($o=null,t){if(Yo(t,Xo),$o)throw Error("processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.");!function(){if(m){var e=h;throw m=!1,h=null,e}}()}}function Zo(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Nn?t.parentNode:t}function Jo(e){if(!ae)return!1;var t="on"+e,n=t in document;if(!n){var r=document.createElement("div");r.setAttribute(t,"return;"),n="function"==typeof r[t]}return n}var ea,ta,na,ra=10,oa=[];function aa(e){if(e.tag===P)return e.stateNode.containerInfo;for(;e.return;)e=e.return;return e.tag!==P?null:e.stateNode.containerInfo}function ia(e,t,n,r,o){Go(function(e,t,n,r,o){for(var a=null,i=0;i<J.length;i++){var l=J[i];if(l){var u=l.extractEvents(e,t,n,r,o);u&&(a=qo(a,u))}}return a}(e,t,n,r,o))}function la(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=aa(n);if(!r)break;var o=n.tag;o!==_&&o!==D||e.ancestors.push(n),n=hu(r)}while(n);for(var a=0;a<e.ancestors.length;a++){t=e.ancestors[a];var i=Zo(e.nativeEvent),l=e.topLevelType,u=e.nativeEvent,s=e.eventSystemFlags;0===a&&(s|=ue),ia(l,t,u,i,s)}}function ua(e,t,n,r){var o,a=function(e,t,n,r){if(oa.length){var o=oa.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}(e,n,r,t);try{!function(e,t,n){if(Se)return e(t,n);Se=!0;try{xe(e,t,n)}finally{Se=!1,Ee()}}(la,a)}finally{(o=a).topLevelType=null,o.nativeEvent=null,o.targetInst=null,o.ancestors.length=0,oa.length<ra&&oa.push(o)}}function sa(e,t,n){if(!n.has(e)){switch(e){case Gr:Ha(Gr,t);break;case kr:case Yn:Ha(kr,t),Ha(Yn,t),n.set(Yn,null),n.set(kr,null);break;case Xn:case Jn:Jo(go(e))&&Ha(e,t);break;case Sr:case no:case Xr:break;default:-1!==vo.indexOf(e)||Va(e,t)}n.set(e,null)}}var ca=!1,da=[],fa=null,pa=null,ma=null,ha=new Map,va=new Map,ga=[];var ya=[Mr,Ur,lo,uo,co,lr,ir,Br,Vr,Yr,sr,mr,hr,er,tr,Er,Cr,Rr,Tr,oo,Jn,Xn,or,ar,Lr,Zn,Gn,rr,Xr,no],ba=[kr,Yn,cr,fr,Ar,zr,qr,Qr,xr,Nr];function wa(e){return ya.indexOf(e)>-1}function ka(e,t,n){sa(e,t,n)}function xa(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:n|le,nativeEvent:o,container:r}}function Ta(e,t,n,r,o){var a=xa(e,t,n,r,o);da.push(a)}function Sa(e,t){switch(e){case kr:case Yn:fa=null;break;case cr:case fr:pa=null;break;case Ar:case zr:ma=null;break;case qr:case Qr:var n=t.pointerId;ha.delete(n);break;case xr:case Nr:var r=t.pointerId;va.delete(r)}}function Ea(e,t,n,r,o,a){if(null===e||e.nativeEvent!==a){var i=xa(t,n,r,o,a);if(null!==t){var l=vu(t);null!==l&&ta(l)}return i}return e.eventSystemFlags|=r,e}function Ca(e){var t=hu(e.target);if(null!==t){var r=Wo(t);if(null!==r){var o=r.tag;if(o===L){var a=jo(r);if(null!==a)return e.blockedOn=a,void n.unstable_runWithPriority(e.priority,function(){na(r)})}else if(o===P){if(r.stateNode.hydrate)return void(e.blockedOn=Bo(r))}}}e.blockedOn=null}function Ra(e){if(null!==e.blockedOn)return!1;var t=Ya(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=vu(t);return null!==n&&ta(n),e.blockedOn=t,!1}return!0}function Pa(e,t,n){Ra(e)&&n.delete(t)}function Ia(){for(ca=!1;da.length>0;){var e=da[0];if(null!==e.blockedOn){var t=vu(e.blockedOn);null!==t&&ea(t);break}var n=Ya(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==n?e.blockedOn=n:da.shift()}null!==fa&&Ra(fa)&&(fa=null),null!==pa&&Ra(pa)&&(pa=null),null!==ma&&Ra(ma)&&(ma=null),ha.forEach(Pa),va.forEach(Pa)}function _a(e,t){e.blockedOn===t&&(e.blockedOn=null,ca||(ca=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Ia)))}function Da(e){if(da.length>0){_a(da[0],e);for(var t=1;t<da.length;t++){var n=da[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==fa&&_a(fa,e),null!==pa&&_a(pa,e),null!==ma&&_a(ma,e);var r=function(t){return _a(t,e)};ha.forEach(r),va.forEach(r);for(var o=0;o<ga.length;o++){var a=ga[o];a.blockedOn===e&&(a.blockedOn=null)}for(;ga.length>0;){var i=ga[0];if(null!==i.blockedOn)break;Ca(i),null===i.blockedOn&&ga.shift()}}var Na={},Ma=new Map,Oa=new Map,za=[Gn,eo,oo,tr,er,nr],Aa=[ur,"drag",cr,"dragEnter",dr,"dragExit",fr,"dragLeave",pr,"dragOver",Or,"mouseMove",zr,"mouseOut",Ar,"mouseOver",Hr,"pointerMove",Qr,"pointerOut",qr,"pointerOver",Gr,"scroll",io,"toggle",so,"touchMove",ho,"wheel"],Ua=[Vn,"abort",Hn,"animationEnd",Qn,"animationIteration",qn,"animationStart",$n,"canPlay",Kn,"canPlayThrough",vr,"durationChange",gr,"emptied",yr,"encrypted",br,"ended",wr,"error",xr,"gotPointerCapture",Pr,"load",_r,"loadedData",Dr,"loadedMetadata",Ir,"loadStart",Nr,"lostPointerCapture",jr,"playing",$r,"progress",Jr,"seeking",to,"stalled",ro,"suspend",ao,"timeUpdate",fo,"transitionEnd",mo,"waiting"];function La(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],a="on"+(o[0].toUpperCase()+o.slice(1)),i={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[r],eventPriority:t};Oa.set(r,t),Ma.set(r,i),Na[o]=i}}La([Yn,"blur",Xn,"cancel",Zn,"click",Jn,"close",rr,"contextMenu",or,"copy",ar,"cut",lr,"auxClick",ir,"doubleClick",sr,"dragEnd",mr,"dragStart",hr,"drop",kr,"focus",Tr,"input",Sr,"invalid",Er,"keyDown",Cr,"keyPress",Rr,"keyUp",Mr,"mouseDown",Ur,"mouseUp",Lr,"paste",Fr,"pause",Wr,"play",Br,"pointerCancel",Vr,"pointerDown",Yr,"pointerUp",Kr,"rateChange",Xr,"reset",Zr,"seeked",no,"submit",lo,"touchCancel",uo,"touchEnd",co,"touchStart",po,"volumeChange"],Ce),La(Aa,Re),La(Ua,Pe),function(e,t){for(var n=0;n<e.length;n++)Oa.set(e[n],t)}(za,Ce);var Fa=n.unstable_UserBlockingPriority,Wa=n.unstable_runWithPriority,ja=!0;function Ba(e){ja=!!e}function Va(e,t){Qa(t,e,!1)}function Ha(e,t){Qa(t,e,!0)}function Qa(e,t,n){var r;switch(function(e){var t=Oa.get(e);return void 0===t?Pe:t}(t)){case Ce:r=function(e,t,n,r){r.timeStamp,Te||ve||ke(),function(e,t,n,r,o){var a=Te;Te=!0;try{we(e,t,n,r,o)}finally{(Te=a)||Ee()}}(qa,e,t,n,r)}.bind(null,t,ie,e);break;case Re:r=function(e,t,n,r){Wa(Fa,qa.bind(null,e,t,n,r))}.bind(null,t,ie,e);break;case Pe:default:r=qa.bind(null,t,ie,e)}var o=go(t);n?function(e,t,n){e.addEventListener(t,n,!0)}(e,o,r):function(e,t,n){e.addEventListener(t,n,!1)}(e,o,r)}function qa(e,t,n,r){if(ja)if(da.length>0&&wa(e))Ta(null,e,t,n,r);else{var o=Ya(e,t,n,r);null!==o?wa(e)?Ta(o,e,t,n,r):function(e,t,n,r,o){switch(t){case kr:return fa=Ea(fa,e,t,n,r,o),!0;case cr:return pa=Ea(pa,e,t,n,r,o),!0;case Ar:return ma=Ea(ma,e,t,n,r,o),!0;case qr:var a=o,i=a.pointerId;return ha.set(i,Ea(ha.get(i)||null,e,t,n,r,a)),!0;case xr:var l=o,u=l.pointerId;return va.set(u,Ea(va.get(u)||null,e,t,n,r,l)),!0}return!1}(o,e,t,n,r)||(Sa(e,r),ua(e,t,r,null)):Sa(e,r)}}function Ya(e,t,n,r){var o=hu(Zo(r));if(null!==o){var a=Wo(o);if(null===a)o=null;else{var i=a.tag;if(i===L){var l=jo(a);if(null!==l)return l;o=null}else if(i===P){if(a.stateNode.hydrate)return Bo(a);o=null}else a!==o&&(o=null)}}return ua(e,t,r,o),null}var $a={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Ka={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};var Xa=["Webkit","ms","Moz","O"];function Ga(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Ka.hasOwnProperty(e)&&Ka[e]?(""+t).trim():t+"px"}Object.keys(Ka).forEach(function(e){Xa.forEach(function(t){Ka[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=Ka[e]})});var Za=/([A-Z])/g,Ja=/^ms-/;var ei=/^(?:webkit|moz|o)[A-Z]/,ti=/^-ms-/,ni=/-(.)/g,ri=/;\s*$/,oi={},ai={},ii=!1,li=!1,ui=function(e){oi.hasOwnProperty(e)&&oi[e]||(oi[e]=!0,l("Unsupported style property %s. Did you mean %s?",e,e.replace(ti,"ms-").replace(ni,function(e,t){return t.toUpperCase()})))},si=function(e,t){e.indexOf("-")>-1?ui(e):ei.test(e)?function(e){oi.hasOwnProperty(e)&&oi[e]||(oi[e]=!0,l("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):ri.test(t)&&function(e,t){ai.hasOwnProperty(t)&&ai[t]||(ai[t]=!0,l('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(ri,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e,t){ii||(ii=!0,l("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e,t){li||(li=!0,l("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))};function ci(e){var t="",n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o){var a=0===r.indexOf("--");t+=n+(a?r:r.replace(Za,"-$1").toLowerCase().replace(Ja,"-ms-"))+":",t+=Ga(r,o,a),n=";"}}return t||null}function di(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--");o||si(r,t[r]);var a=Ga(r,t[r],o);"float"===r&&(r="cssFloat"),o?n.setProperty(r,a):n[r]=a}}function fi(e){var t={};for(var n in e)for(var r=$a[n]||[n],o=0;o<r.length;o++)t[r[o]]=n;return t}var pi=t({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),mi="__html",hi=null;function vi(e,t){if(t){if(pi[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."+hi.getStackAddendum());if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(!("object"==typeof t.dangerouslySetInnerHTML&&mi in t.dangerouslySetInnerHTML))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&l("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."+hi.getStackAddendum())}}function gi(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}hi=a.ReactDebugCurrentFrame;var yi={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},bi={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},wi={},ki=new RegExp("^(aria)-["+Ae+"]*$"),xi=new RegExp("^(aria)[A-Z]["+Ae+"]*$"),Ti=Object.prototype.hasOwnProperty;function Si(e,t){if(Ti.call(wi,t)&&wi[t])return!0;if(xi.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=bi.hasOwnProperty(n)?n:null;if(null==r)return l("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),wi[t]=!0,!0;if(t!==r)return l("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),wi[t]=!0,!0}if(ki.test(t)){var o=t.toLowerCase(),a=bi.hasOwnProperty(o)?o:null;if(null==a)return wi[t]=!0,!1;if(t!==a)return l("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,a),wi[t]=!0,!0}return!0}function Ei(e,t){gi(e,t)||function(e,t){var n=[];for(var r in t)Si(0,r)||n.push(r);var o=n.map(function(e){return"`"+e+"`"}).join(", ");1===n.length?l("Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",o,e):n.length>1&&l("Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop",o,e)}(e,t)}var Ci=!1;var Ri,Pi={},Ii=Object.prototype.hasOwnProperty,_i=/^on./,Di=/^on[^A-Z]/,Ni=new RegExp("^(aria)-["+Ae+"]*$"),Mi=new RegExp("^(aria)[A-Z]["+Ae+"]*$");Ri=function(e,t,n,r){if(Ii.call(Pi,t)&&Pi[t])return!0;var o=t.toLowerCase();if("onfocusin"===o||"onfocusout"===o)return l("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Pi[t]=!0,!0;if(r){if(te.hasOwnProperty(t))return!0;var a=re.hasOwnProperty(o)?re[o]:null;if(null!=a)return l("Invalid event handler property `%s`. Did you mean `%s`?",t,a),Pi[t]=!0,!0;if(_i.test(t))return l("Unknown event handler property `%s`. It will be ignored.",t),Pi[t]=!0,!0}else if(_i.test(t))return Di.test(t)&&l("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Pi[t]=!0,!0;if(Ni.test(t)||Mi.test(t))return!0;if("innerhtml"===o)return l("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Pi[t]=!0,!0;if("aria"===o)return l("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Pi[t]=!0,!0;if("is"===o&&null!=n&&"string"!=typeof n)return l("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Pi[t]=!0,!0;if("number"==typeof n&&isNaN(n))return l("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Pi[t]=!0,!0;var i=qe(t),u=null!==i&&i.type===Ie;if(yi.hasOwnProperty(o)){var s=yi[o];if(s!==t)return l("Invalid DOM property `%s`. Did you mean `%s`?",t,s),Pi[t]=!0,!0}else if(!u&&t!==o)return l("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),Pi[t]=!0,!0;return"boolean"==typeof n&&He(t,n,i,!1)?(n?l('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):l('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Pi[t]=!0,!0):!!u||(He(t,n,i,!1)?(Pi[t]=!0,!1):"false"!==n&&"true"!==n||null===i||i.type!==De||(l("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Pi[t]=!0,!0))};var Oi=function(e,t,n){var r=[];for(var o in t){Ri(0,o,t[o],n)||r.push(o)}var a=r.map(function(e){return"`"+e+"`"}).join(", ");1===r.length?l("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior",a,e):r.length>1&&l("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://fb.me/react-attribute-behavior",a,e)};var zi,Ai,Ui,Li,Fi,Wi,ji,Bi,Vi,Hi,Qi=!1,qi="dangerouslySetInnerHTML",Yi="suppressContentEditableWarning",$i="suppressHydrationWarning",Ki="autoFocus",Xi="children",Gi="style",Zi="__html",Ji=En.html;zi={time:!0,dialog:!0,webview:!0},Ui=function(e,t){Ei(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||Ci||(Ci=!0,"select"===e&&t.multiple?l("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):l("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),function(e,t,n){gi(e,t)||Oi(e,t,n)}(e,t,!0)},Bi=ae&&!document.documentMode;var el=/\r\n?/g,tl=/\u0000|\uFFFD/g;function nl(e,t){!function(e,t){for(var n=bo(t),r=ne[e],o=0;o<r.length;o++)sa(r[o],t,n)}(t,e.nodeType===On||e.nodeType===zn?e:e.ownerDocument)}function rl(e){return e.nodeType===On?e:e.ownerDocument}function ol(){}function al(e){e.onclick=ol}function il(e,t,n,r){var o,a=gi(t,n);switch(Ui(t,n),t){case"iframe":case"object":case"embed":Va(Pr,e),o=n;break;case"video":case"audio":for(var i=0;i<vo.length;i++)Va(vo[i],e);o=n;break;case"source":Va(wr,e),o=n;break;case"img":case"image":case"link":Va(wr,e),Va(Pr,e),o=n;break;case"form":Va(Xr,e),Va(no,e),o=n;break;case"details":Va(io,e),o=n;break;case"input":en(e,n),o=Jt(e,n),Va(Sr,e),nl(r,"onChange");break;case"option":cn(0,n),o=dn(0,n);break;case"select":vn(e,n),o=hn(0,n),Va(Sr,e),nl(r,"onChange");break;case"textarea":bn(e,n),o=yn(e,n),Va(Sr,e),nl(r,"onChange");break;default:o=n}switch(vi(t,o),function(e,t,n,r,o){for(var a in r)if(r.hasOwnProperty(a)){var i=r[a];if(a===Gi)i&&Object.freeze(i),di(t,i);else if(a===qi){var l=i?i[Zi]:void 0;null!=l&&_n(t,l)}else a===Xi?"string"==typeof i?("textarea"!==e||""!==i)&&An(t,i):"number"==typeof i&&An(t,""+i):a===Yi||a===$i||a===Ki||(te.hasOwnProperty(a)?null!=i&&("function"!=typeof i&&ji(a,i),nl(n,a)):null!=i&&nt(t,a,i,o))}}(t,e,r,o,a),t){case"input":qt(e),rn(e,n,!1);break;case"textarea":qt(e),kn(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",Lt(Ft(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?mn(n,!!t.multiple,r,!1):null!=t.defaultValue&&mn(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&al(e)}}function ll(e,t,n,r,o){Ui(t,r);var a,i,u,s,c=null;switch(t){case"input":a=Jt(e,n),i=Jt(e,r),c=[];break;case"option":a=dn(0,n),i=dn(0,r),c=[];break;case"select":a=hn(0,n),i=hn(0,r),c=[];break;case"textarea":a=yn(e,n),i=yn(e,r),c=[];break;default:i=r,"function"!=typeof(a=n).onClick&&"function"==typeof i.onClick&&al(e)}vi(t,i);var d=null;for(u in a)if(!i.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if(u===Gi){var f=a[u];for(s in f)f.hasOwnProperty(s)&&(d||(d={}),d[s]="")}else u===qi||u===Xi||u===Yi||u===$i||u===Ki||(te.hasOwnProperty(u)?c||(c=[]):(c=c||[]).push(u,null));for(u in i){var p=i[u],m=null!=a?a[u]:void 0;if(i.hasOwnProperty(u)&&p!==m&&(null!=p||null!=m))if(u===Gi)if(p&&Object.freeze(p),m){for(s in m)!m.hasOwnProperty(s)||p&&p.hasOwnProperty(s)||(d||(d={}),d[s]="");for(s in p)p.hasOwnProperty(s)&&m[s]!==p[s]&&(d||(d={}),d[s]=p[s])}else d||(c||(c=[]),c.push(u,d)),d=p;else if(u===qi){var h=p?p[Zi]:void 0,v=m?m[Zi]:void 0;null!=h&&v!==h&&(c=c||[]).push(u,h)}else u===Xi?m===p||"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(u,""+p):u===Yi||u===$i||(te.hasOwnProperty(u)?(null!=p&&("function"!=typeof p&&ji(u,p),nl(o,u)),c||m===p||(c=[])):(c=c||[]).push(u,p))}return d&&(!function(e,t){if(t){var n,r=fi(e),o=fi(t),a={};for(var i in r){var u=r[i],s=o[i];if(s&&u!==s){var c=u+","+s;if(a[c])continue;a[c]=!0,l("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(n=e[u])||"boolean"==typeof n||""===n?"Removing":"Updating",u,s)}}}}(d,i[Gi]),(c=c||[]).push(Gi,d)),c}function ul(e,t,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&tn(e,o);gi(n,r);switch(function(e,t,n,r){for(var o=0;o<t.length;o+=2){var a=t[o],i=t[o+1];a===Gi?di(e,i):a===qi?_n(e,i):a===Xi?An(e,i):nt(e,a,i,r)}}(e,t,0,gi(n,o)),n){case"input":nn(e,o);break;case"textarea":wn(e,o);break;case"select":!function(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var o=t.value;null!=o?mn(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?mn(n,!!t.multiple,t.defaultValue,!0):mn(n,!!t.multiple,t.multiple?[]:"",!1))}(e,o)}}function sl(e,t){Li(e.nodeValue,t)}function cl(e,t){Qi||(Qi=!0,l("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function dl(e,t){Qi||(Qi=!0,l('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function fl(e,t,n){Qi||(Qi=!0,l("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function pl(e,t){""!==t&&(Qi||(Qi=!0,l('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}function ml(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function hl(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vl(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function gl(e,t){for(var n=hl(e),r=0,o=0;n;){if(n.nodeType===Nn){if(o=r+n.textContent.length,r<=t&&o>=t)return{node:n,offset:t-r};r=o}n=hl(vl(n))}}function yl(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var o=r.anchorNode,a=r.anchorOffset,i=r.focusNode,l=r.focusOffset;try{o.nodeType,i.nodeType}catch(u){return null}return function(e,t,n,r,o){var a=0,i=-1,l=-1,u=0,s=0,c=e,d=null;e:for(;;){for(var f=null;c!==t||0!==n&&c.nodeType!==Nn||(i=a+n),c!==r||0!==o&&c.nodeType!==Nn||(l=a+o),c.nodeType===Nn&&(a+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break e;if(d===t&&++u===n&&(i=a),d===r&&++s===o&&(l=a),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}if(-1===i||-1===l)return null;return{start:i,end:l}}(e,o,a,i,l)}function bl(e){return e&&e.nodeType===Nn}function wl(e){return e&&e.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||!bl(t)&&(bl(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(e.ownerDocument.documentElement,e)}function kl(e){try{return"string"==typeof e.contentWindow.location.href}catch(t){return!1}}function xl(){for(var e=window,t=ml();t instanceof e.HTMLIFrameElement;){if(!kl(t))return t;t=ml((e=t.contentWindow).document)}return t}function Tl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Sl(e){var t=xl(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&wl(n)){null!==r&&Tl(n)&&function(e,t){var n=t.start,r=t.end;void 0===r&&(r=n);"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var o=r.getSelection(),a=e.textContent.length,i=Math.min(t.start,a),l=void 0===t.end?i:Math.min(t.end,a);if(!o.extend&&i>l){var u=l;l=i,i=u}var s=gl(e,i),c=gl(e,l);if(s&&c){if(1===o.rangeCount&&o.anchorNode===s.node&&o.anchorOffset===s.offset&&o.focusNode===c.node&&o.focusOffset===c.offset)return;var d=n.createRange();d.setStart(s.node,s.offset),o.removeAllRanges(),i>l?(o.addRange(d),o.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),o.addRange(d))}}}(e,t)}(n,r);for(var o=[],a=n;a=a.parentNode;)a.nodeType===Dn&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"==typeof n.focus&&n.focus();for(var i=0;i<o.length;i++){var l=o[i];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}Vi=function(e){return("string"==typeof e?e:""+e).replace(el,"\n").replace(tl,"")},Li=function(e,t){if(!Qi){var n=Vi(t),r=Vi(e);r!==n&&(Qi=!0,l('Text content did not match. Server: "%s" Client: "%s"',r,n))}},Fi=function(e,t,n){if(!Qi){var r=Vi(n),o=Vi(t);o!==r&&(Qi=!0,l("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},Wi=function(e){if(!Qi){Qi=!0;var t=[];e.forEach(function(e){t.push(e)}),l("Extra attributes from the server: %s",t)}},ji=function(e,t){!1===t?l("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):l("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Hi=function(e,t){var n=e.namespaceURI===Ji?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var El=function(){},Cl=function(){},Rl=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Pl=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Il=Pl.concat(["button"]),_l=["dd","dt","li","option","optgroup","p","rp","rt"],Dl={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Cl=function(e,n){var r=t({},e||Dl),o={tag:n};return-1!==Pl.indexOf(n)&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),-1!==Il.indexOf(n)&&(r.pTagInButtonScope=null),-1!==Rl.indexOf(n)&&"address"!==n&&"div"!==n&&"p"!==n&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.current=o,"form"===n&&(r.formTag=o),"a"===n&&(r.aTagInScope=o),"button"===n&&(r.buttonTagInScope=o),"nobr"===n&&(r.nobrTagInScope=o),"p"===n&&(r.pTagInButtonScope=o),"li"===n&&(r.listItemTagAutoclosing=o),"dd"!==n&&"dt"!==n||(r.dlItemTagAutoclosing=o),r};var Nl,Ml={};El=function(e,t,n){var r=(n=n||Dl).current,o=r&&r.tag;null!=t&&(null!=e&&l("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var a=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===_l.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,o)?null:r,i=a?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),u=a||i;if(u){var s=u.tag,c=!!a+"|"+e+"|"+s+"|"+Ot();if(!Ml[c]){Ml[c]=!0;var d=e,f="";if("#text"===e?/\S/.test(t)?d="Text nodes":(d="Whitespace text nodes",f=" Make sure you don't have any extra whitespace between tags on each line of your source code."):d="<"+e+">",a){var p="";"table"===s&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),l("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,s,f,p)}else l("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",d,s)}}},Nl="suppressHydrationWarning";var Ol="$",zl="/$",Al="$?",Ul="$!",Ll="style",Fl=null,Wl=null;function jl(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Bl(e){return e}function Vl(e){var t,n;Fl=ja,t=xl(),Wl={activeElementDetached:null,focusedElem:t,selectionRange:Tl(t)?(n=t,("selectionStart"in n?{start:n.selectionStart,end:n.selectionEnd}:yl(n))||{start:0,end:0}):null},Ba(!1)}function Hl(e,t,n,r,o){var a=r;if(El(e,null,a.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var i=""+t.children,u=Cl(a.ancestorInfo,e);El(null,i,u)}var s=function(e,t,n,r){var o,a,i=rl(n),u=r;if(u===Ji&&(u=Cn(e)),u===Ji){if((o=gi(e,t))||e===e.toLowerCase()||l("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var s=i.createElement("div");s.innerHTML="<script><\/script>";var c=s.firstChild;a=s.removeChild(c)}else if("string"==typeof t.is)a=i.createElement(e,{is:t.is});else if(a=i.createElement(e),"select"===e){var d=a;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else a=i.createElementNS(u,e);return u===Ji&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(a)||Object.prototype.hasOwnProperty.call(zi,e)||(zi[e]=!0,l("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),a}(e,t,n,a.namespace);return fu(o,s),bu(s,t),s}function Ql(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function ql(e,t){return!!t.hidden}function Yl(e,t,n,r){El(null,e,n.ancestorInfo);var o=function(e,t){return rl(t).createTextNode(e)}(e,t);return fu(r,o),o}var $l="function"==typeof setTimeout?setTimeout:void 0,Kl="function"==typeof clearTimeout?clearTimeout:void 0,Xl=-1;function Gl(e){An(e,"")}function Zl(e,t){e.removeChild(t)}function Jl(e){var t=(e=e).style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function eu(e,t){e=e;var n=t[Ll],r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=Ga("display",r)}function tu(e,t){e.nodeValue=t}function nu(e){return e.data===Ul}function ru(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(t===Dn||t===Nn)break}return e}function ou(e){return ru(e.nextSibling)}function au(e){return ru(e.firstChild)}function iu(e,t,n,r,o,a){return fu(a,e),bu(e,n),function(e,t,n,r,o){var a,i;switch(Ai=!0===n[$i],a=gi(t,n),Ui(t,n),t){case"iframe":case"object":case"embed":Va(Pr,e);break;case"video":case"audio":for(var l=0;l<vo.length;l++)Va(vo[l],e);break;case"source":Va(wr,e);break;case"img":case"image":case"link":Va(wr,e),Va(Pr,e);break;case"form":Va(Xr,e),Va(no,e);break;case"details":Va(io,e);break;case"input":en(e,n),Va(Sr,e),nl(o,"onChange");break;case"option":cn(0,n);break;case"select":vn(e,n),Va(Sr,e),nl(o,"onChange");break;case"textarea":bn(e,n),Va(Sr,e),nl(o,"onChange")}vi(t,n),i=new Set;for(var u=e.attributes,s=0;s<u.length;s++)switch(u[s].name.toLowerCase()){case"data-reactroot":case"value":case"checked":case"selected":break;default:i.add(u[s].name)}var c,d=null;for(var f in n)if(n.hasOwnProperty(f)){var p=n[f];if(f===Xi)"string"==typeof p?e.textContent!==p&&(Ai||Li(e.textContent,p),d=[Xi,p]):"number"==typeof p&&e.textContent!==""+p&&(Ai||Li(e.textContent,p),d=[Xi,""+p]);else if(te.hasOwnProperty(f))null!=p&&("function"!=typeof p&&ji(f,p),nl(o,f));else if("boolean"==typeof a){var m=void 0,h=qe(f);if(Ai);else if(f===Yi||f===$i||"value"===f||"checked"===f||"selected"===f);else if(f===qi){var v=e.innerHTML,g=p?p[Zi]:void 0,y=Hi(e,null!=g?g:"");y!==v&&Fi(f,v,y)}else if(f===Gi){if(i.delete(f),Bi){var b=ci(p);b!==(m=e.getAttribute("style"))&&Fi(f,m,b)}}else if(a)i.delete(f.toLowerCase()),p!==(m=tt(e,f,p))&&Fi(f,m,p);else if(!Ve(f,h,a)&&!Qe(f,p,h,a)){var w=!1;if(null!==h)i.delete(h.attributeName),m=et(e,f,p,h);else{var k=r;if(k===Ji&&(k=Cn(t)),k===Ji)i.delete(f.toLowerCase());else{var x=(c=void 0,c=f.toLowerCase(),yi.hasOwnProperty(c)&&yi[c]||null);null!==x&&x!==f&&(w=!0,i.delete(x)),i.delete(f)}m=tt(e,f,p)}p===m||w||Fi(f,m,p)}}}switch(i.size>0&&!Ai&&Wi(i),t){case"input":qt(e),rn(e,n,!0);break;case"textarea":qt(e),kn(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&al(e)}return d}(e,t,n,o.namespace,r)}function lu(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===Mn){var r=t.data;if(r===Ol||r===Ul||r===Al){if(0===n)return t;n--}else r===zl&&n++}t=t.previousSibling}return null}var uu=Math.random().toString(36).slice(2),su="__reactInternalInstance$"+uu,cu="__reactEventHandlers$"+uu,du="__reactContainere$"+uu;function fu(e,t){t[su]=e}function pu(e){e[du]=null}function mu(e){return!!e[du]}function hu(e){var t=e[su];if(t)return t;for(var n=e.parentNode;n;){if(t=n[du]||n[su]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=lu(e);null!==o;){var a=o[su];if(a)return a;o=lu(o)}return t}n=(e=n).parentNode}return null}function vu(e){var t=e[su]||e[du];return t&&(t.tag===_||t.tag===D||t.tag===L||t.tag===P)?t:null}function gu(e){if(e.tag===_||e.tag===D)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function yu(e){return e[cu]||null}function bu(e,t){e[cu]=t}function wu(e){do{e=e.return}while(e&&e.tag!==_);return e||null}function ku(e,t,n,r,o){for(var a=e&&t?function(e,t){for(var n=0,r=e;r;r=wu(r))n++;for(var o=0,a=t;a;a=wu(a))o++;for(;n-o>0;)e=wu(e),n--;for(;o-n>0;)t=wu(t),o--;for(var i=n;i--;){if(e===t||e===t.alternate)return e;e=wu(e),t=wu(t)}return null}(e,t):null,i=[];e&&e!==a;){var l=e.alternate;if(null!==l&&l===a)break;i.push(e),e=wu(e)}for(var u=[];t&&t!==a;){var s=t.alternate;if(null!==s&&s===a)break;u.push(t),t=wu(t)}for(var c=0;c<i.length;c++)n(i[c],"bubbled",r);for(var d=u.length;d-- >0;)n(u[d],"captured",o)}function xu(e,t){var n,r=e.stateNode;if(!r)return null;var o=k(r);if(!o)return null;if(n=o[t],function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e.type,o))return null;if(n&&"function"!=typeof n)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function Tu(e,t,n){e||l("Dispatching inst must not be null");var r=function(e,t,n){return xu(e,t.dispatchConfig.phasedRegistrationNames[n])}(e,n,t);r&&(n._dispatchListeners=qo(n._dispatchListeners,r),n._dispatchInstances=qo(n._dispatchInstances,e))}function Su(e){e&&e.dispatchConfig.phasedRegistrationNames&&function(e,t,n){for(var r,o=[];e;)o.push(e),e=wu(e);for(r=o.length;r-- >0;)t(o[r],"captured",n);for(r=0;r<o.length;r++)t(o[r],"bubbled",n)}(e._targetInst,Tu,e)}function Eu(e,t,n){if(e&&n&&n.dispatchConfig.registrationName){var r=xu(e,n.dispatchConfig.registrationName);r&&(n._dispatchListeners=qo(n._dispatchListeners,r),n._dispatchInstances=qo(n._dispatchInstances,e))}}function Cu(e){e&&e.dispatchConfig.registrationName&&Eu(e._targetInst,0,e)}function Ru(e){Yo(e,Su)}var Pu=null,Iu=null,_u=null;function Du(){if(_u)return _u;var e,t,n=Iu,r=n.length,o=Nu(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var l=t>1?1-t:void 0;return _u=o.slice(e,l)}function Nu(){return"value"in Pu?Pu.value:Pu.textContent}var Mu=10,Ou={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function zu(){return!0}function Au(){return!1}function Uu(e,t,n,r){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,delete this.isDefaultPrevented,delete this.isPropagationStopped,this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var a in o)if(o.hasOwnProperty(a)){delete this[a];var i=o[a];i?this[a]=i(n):"target"===a?this.target=r:this[a]=n[a]}var l=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=l?zu:Au,this.isPropagationStopped=Au,this}function Lu(e,t){var n="function"==typeof t;return{configurable:!0,set:function(e){return r(n?"setting the method":"setting the property","This is effectively a no-op"),e},get:function(){return r(n?"accessing the method":"accessing the property",n?"This is a no-op function":"This is set to null"),t}};function r(t,n){l("This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",t,e,n)}}function Fu(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function Wu(e){if(!(e instanceof this))throw Error("Trying to release an event instance into a pool of a different type.");e.destructor(),this.eventPool.length<Mu&&this.eventPool.push(e)}function ju(e){e.eventPool=[],e.getPooled=Fu,e.release=Wu}t(Uu.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=zu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=zu)},persist:function(){this.isPersistent=zu},isPersistent:Au,destructor:function(){var e=this.constructor.Interface;for(var t in e)Object.defineProperty(this,t,Lu(t,e[t]));this.dispatchConfig=null,this._targetInst=null,this.nativeEvent=null,this.isDefaultPrevented=Au,this.isPropagationStopped=Au,this._dispatchListeners=null,this._dispatchInstances=null,Object.defineProperty(this,"nativeEvent",Lu("nativeEvent",null)),Object.defineProperty(this,"isDefaultPrevented",Lu("isDefaultPrevented",Au)),Object.defineProperty(this,"isPropagationStopped",Lu("isPropagationStopped",Au)),Object.defineProperty(this,"preventDefault",Lu("preventDefault",function(){})),Object.defineProperty(this,"stopPropagation",Lu("stopPropagation",function(){}))}}),Uu.Interface=Ou,Uu.extend=function(e){var n=this,r=function(){};r.prototype=n.prototype;var o=new r;function a(){return n.apply(this,arguments)}return t(o,a.prototype),a.prototype=o,a.prototype.constructor=a,a.Interface=t({},n.Interface,e),a.extend=n.extend,ju(a),a},ju(Uu);var Bu=Uu.extend({data:null}),Vu=Uu.extend({data:null}),Hu=[9,13,27,32],Qu=229,qu=ae&&"CompositionEvent"in window,Yu=null;ae&&"documentMode"in document&&(Yu=document.documentMode);var $u=ae&&"TextEvent"in window&&!Yu,Ku=ae&&(!qu||Yu&&Yu>8&&Yu<=11),Xu=32,Gu=String.fromCharCode(Xu),Zu={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:[er,Cr,oo,Lr]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:[Yn,er,Er,Cr,Rr,Mr]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:[Yn,tr,Er,Cr,Rr,Mr]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:[Yn,nr,Er,Cr,Rr,Mr]}},Ju=!1;function es(e,t){switch(e){case Rr:return-1!==Hu.indexOf(t.keyCode);case Er:return t.keyCode!==Qu;case Cr:case Mr:case Yn:return!0;default:return!1}}function ts(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function ns(e){return"ko"===e.locale}var rs=!1;function os(e,t,n,r){var o,a;if(qu?o=function(e){switch(e){case tr:return Zu.compositionStart;case er:return Zu.compositionEnd;case nr:return Zu.compositionUpdate}}(e):rs?es(e,n)&&(o=Zu.compositionEnd):function(e,t){return e===Er&&t.keyCode===Qu}(e,n)&&(o=Zu.compositionStart),!o)return null;Ku&&!ns(n)&&(rs||o!==Zu.compositionStart?o===Zu.compositionEnd&&rs&&(a=Du()):rs=function(e){return Pu=e,Iu=Nu(),!0}(r));var i=Bu.getPooled(o,t,n,r);if(a)i.data=a;else{var l=ts(n);null!==l&&(i.data=l)}return Ru(i),i}function as(e,t){if(rs){if(e===er||!qu&&es(e,t)){var n=Du();return Pu=null,Iu=null,_u=null,rs=!1,n}return null}switch(e){case Lr:return null;case Cr:if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case er:return Ku&&!ns(t)?null:t.data;default:return null}}function is(e,t,n,r){var o;if(!(o=$u?function(e,t){switch(e){case er:return ts(t);case Cr:return t.which!==Xu?null:(Ju=!0,Gu);case oo:var n=t.data;return n===Gu&&Ju?null:n;default:return null}}(e,n):as(e,n)))return null;var a=Vu.getPooled(Zu.beforeInput,t,n,r);return a.data=o,Ru(a),a}var ls={eventTypes:Zu,extractEvents:function(e,t,n,r,o){var a=os(e,t,n,r),i=is(e,t,n,r);return null===a?i:null===i?a:[a,i]}},us={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ss(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!us[e.type]:"textarea"===t}var cs={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:[Yn,Gn,Zn,kr,Tr,Er,Rr,eo]}};function ds(e,t,n){var r=Uu.getPooled(cs.change,e,t,n);return r.type="change",pe(n),Ru(r),r}var fs=null,ps=null;function ms(e){!function(e,t){if(Te)return e(t);Te=!0;try{be(e,t)}finally{Te=!1,Ee()}}(hs,ds(ps,e,Zo(e)))}function hs(e){Go(e)}function vs(e){if(Yt(gu(e)))return e}function gs(e,t){if(e===Gn)return t}var ys=!1;function bs(){fs&&(fs.detachEvent("onpropertychange",ws),fs=null,ps=null)}function ws(e){"value"===e.propertyName&&vs(ps)&&ms(e)}function ks(e,t,n){e===kr?(bs(),function(e,t){ps=t,(fs=e).attachEvent("onpropertychange",ws)}(t,n)):e===Yn&&bs()}function xs(e,t){if(e===eo||e===Rr||e===Er)return vs(ps)}function Ts(e,t){if(e===Zn)return vs(t)}function Ss(e,t){if(e===Tr||e===Gn)return vs(t)}ae&&(ys=Jo("input")&&(!document.documentMode||document.documentMode>9));var Es={eventTypes:cs,_isInputEventSupported:ys,extractEvents:function(e,t,n,r,o){var a,i,l,u,s,c,d=t?gu(t):window;if("select"===(u=(l=d).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type?a=gs:ss(d)?ys?a=Ss:(a=xs,i=ks):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(d)&&(a=Ts),a){var f=a(e,t);if(f)return ds(f,n,r)}i&&i(e,d,t),e===Yn&&(c=(s=d)._wrapperState)&&c.controlled&&"number"===s.type&&an(s,"number",s.value)}},Cs=Uu.extend({view:null,detail:null}),Rs={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ps(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Rs[e];return!!n&&!!t[n]}function Is(e){return Ps}var _s=0,Ds=0,Ns=!1,Ms=!1,Os=Cs.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Is,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=_s;return _s=e.screenX,Ns?"mousemove"===e.type?e.screenX-t:0:(Ns=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Ds;return Ds=e.screenY,Ms?"mousemove"===e.type?e.screenY-t:0:(Ms=!0,0)}}),zs=Os.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),As={mouseEnter:{registrationName:"onMouseEnter",dependencies:[zr,Ar]},mouseLeave:{registrationName:"onMouseLeave",dependencies:[zr,Ar]},pointerEnter:{registrationName:"onPointerEnter",dependencies:[Qr,qr]},pointerLeave:{registrationName:"onPointerLeave",dependencies:[Qr,qr]}},Us={eventTypes:As,extractEvents:function(e,t,n,r,o){var a,i,l,u,s,c,d,f=e===Ar||e===qr,p=e===zr||e===Qr;if(f&&0==(o&le)&&(n.relatedTarget||n.fromElement))return null;if(!p&&!f)return null;if(r.window===r)a=r;else{var m=r.ownerDocument;a=m?m.defaultView||m.parentWindow:window}if(p){i=t;var h=n.relatedTarget||n.toElement;if(null!==(l=h?hu(h):null))(l!==Wo(l)||l.tag!==_&&l.tag!==D)&&(l=null)}else i=null,l=t;if(i===l)return null;e===zr||e===Ar?(u=Os,s=As.mouseLeave,c=As.mouseEnter,d="mouse"):e!==Qr&&e!==qr||(u=zs,s=As.pointerLeave,c=As.pointerEnter,d="pointer");var v=null==i?a:gu(i),g=null==l?a:gu(l),y=u.getPooled(s,i,n,r);y.type=d+"leave",y.target=v,y.relatedTarget=g;var b=u.getPooled(c,l,n,r);return b.type=d+"enter",b.target=g,b.relatedTarget=v,function(e,t,n,r){ku(n,r,Eu,e,t)}(y,b,i,l),0==(o&ue)?[y]:[y,b]}};var Ls="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Fs=Object.prototype.hasOwnProperty;function Ws(e,t){if(Ls(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Fs.call(t,n[o])||!Ls(e[n[o]],t[n[o]]))return!1;return!0}var js=ae&&"documentMode"in document&&document.documentMode<=11,Bs={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:[Yn,rr,sr,kr,Er,Rr,Mr,Ur,eo]}},Vs=null,Hs=null,Qs=null,qs=!1;function Ys(e){return e.window===e?e.document:e.nodeType===On?e:e.ownerDocument}function $s(e,t){var n=Ys(t);if(qs||null==Vs||Vs!==ml(n))return null;var r=function(e){if("selectionStart"in e&&Tl(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(Vs);if(!Qs||!Ws(Qs,r)){Qs=r;var o=Uu.getPooled(Bs.select,Hs,e,t);return o.type="select",o.target=Vs,Ru(o),o}return null}var Ks={eventTypes:Bs,extractEvents:function(e,t,n,r,o,a){var i=a||Ys(r);if(!i||!function(e,t){for(var n=bo(t),r=ne[e],o=0;o<r.length;o++){var a=r[o];if(!n.has(a))return!1}return!0}("onSelect",i))return null;var l=t?gu(t):window;switch(e){case kr:(ss(l)||"true"===l.contentEditable)&&(Vs=l,Hs=t,Qs=null);break;case Yn:Vs=null,Hs=null,Qs=null;break;case Mr:qs=!0;break;case rr:case Ur:case sr:return qs=!1,$s(n,r);case eo:if(js)break;case Er:case Rr:return $s(n,r)}return null}},Xs=Uu.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Gs=Uu.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Zs=Cs.extend({relatedTarget:null});function Js(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}var ec={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tc={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};var nc=Cs.extend({key:function(e){if(e.key){var t=ec[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=Js(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?tc[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Is,charCode:function(e){return"keypress"===e.type?Js(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Js(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),rc=Os.extend({dataTransfer:null}),oc=Cs.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Is}),ac=Uu.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ic=Os.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),lc=[Vn,Xn,$n,Kn,Jn,vr,gr,yr,br,wr,Tr,Sr,Pr,_r,Dr,Ir,Fr,Wr,jr,$r,Kr,Xr,Zr,Jr,to,no,ro,ao,io,po,mo],uc={eventTypes:Na,extractEvents:function(e,t,n,r,o){var a,i=Ma.get(e);if(!i)return null;switch(e){case Cr:if(0===Js(n))return null;case Er:case Rr:a=nc;break;case Yn:case kr:a=Zs;break;case Zn:if(2===n.button)return null;case lr:case ir:case Mr:case Or:case Ur:case zr:case Ar:case rr:a=Os;break;case ur:case sr:case cr:case dr:case fr:case pr:case mr:case hr:a=rc;break;case lo:case uo:case so:case co:a=oc;break;case Hn:case Qn:case qn:a=Xs;break;case fo:a=ac;break;case Gr:a=Cs;break;case ho:a=ic;break;case or:case ar:case Lr:a=Gs;break;case xr:case Nr:case Br:case Vr:case Hr:case Qr:case qr:case Yr:a=zs;break;default:-1===lc.indexOf(e)&&l("SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",e),a=Uu}var u=a.getPooled(i,t,n,r);return Ru(u),u}};!function(e){if($)throw Error("EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.");$=Array.prototype.slice.call(e),X()}(["ResponderEventPlugin","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"]),k=yu,x=vu,(T=gu)&&x||l("EventPluginUtils.setComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode."),oe({SimpleEventPlugin:uc,EnterLeaveEventPlugin:Us,ChangeEventPlugin:Es,SelectEventPlugin:Ks,BeforeInputEventPlugin:ls});var sc="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,cc=null,dc=null,fc=null,pc=!1,mc=!1,hc=!1,vc=0,gc=0,yc=new Set,bc=function(e){return"⚛ "+e},wc=function(e){performance.mark(bc(e))},kc=function(e,t,n){var r=bc(t),o=function(e,t){return(t?"⛔ ":"⚛ ")+e+(t?" Warning: "+t:"")}(e,n);try{performance.measure(o,r)}catch(a){}performance.clearMarks(r),performance.clearMeasures(o)},xc=function(e,t){return e+" (#"+t+")"},Tc=function(e,t,n){return null===n?e+" ["+(t?"update":"mount")+"]":e+"."+n},Sc=function(e,t){var n=Rt(e.type)||"Unknown",r=e._debugID,o=null!==e.alternate,a=Tc(n,o,t);if(pc&&yc.has(a))return!1;yc.add(a);var i=xc(a,r);return wc(i),!0},Ec=function(e,t){var n=Rt(e.type)||"Unknown",r=e._debugID,o=null!==e.alternate,a=Tc(n,o,t);!function(e){performance.clearMarks(bc(e))}(xc(a,r))},Cc=function(e,t,n){var r=Rt(e.type)||"Unknown",o=e._debugID,a=null!==e.alternate,i=Tc(r,a,t),l=xc(i,o);kc(i,l,n)},Rc=function(e){switch(e.tag){case P:case _:case D:case I:case N:case z:case O:case M:return!0;default:return!1}},Pc=function(){null!==dc&&null!==fc&&Ec(fc,dc),fc=null,dc=null,hc=!1},Ic=function(){for(var e=cc;e;)e._debugIsCurrentlyTiming&&Cc(e,null,null),e=e.return},_c=function(e){null!==e.return&&_c(e.return),e._debugIsCurrentlyTiming&&Sc(e,null)},Dc=function(){null!==cc&&_c(cc)};function Nc(){gc++}function Mc(e){sc&&!Rc(e)&&(cc=e,Sc(e,null)&&(e._debugIsCurrentlyTiming=!0))}function Oc(e){sc&&!Rc(e)&&(e._debugIsCurrentlyTiming=!1,Ec(e,null))}function zc(e){sc&&!Rc(e)&&(cc=e.return,e._debugIsCurrentlyTiming&&(e._debugIsCurrentlyTiming=!1,Cc(e,null,null)))}function Ac(e){if(sc&&!Rc(e)&&(cc=e.return,e._debugIsCurrentlyTiming)){e._debugIsCurrentlyTiming=!1;var t=e.tag===L?"Rendering was suspended":"An error was thrown inside this error boundary";Cc(e,null,t)}}function Uc(e,t){sc&&(Pc(),Sc(e,t)&&(fc=e,dc=t))}function Lc(){sc&&(null!==dc&&null!==fc&&Cc(fc,dc,hc?"Scheduled a cascading update":null),dc=null,fc=null)}function Fc(e){cc=e,sc&&(vc=0,wc("(React Tree Reconciliation)"),Dc())}function Wc(e,t){if(sc){var n=null;null!==e?n=e.tag===P?"A top-level update interrupted the previous render":"An update to "+(Rt(e.type)||"Unknown")+" interrupted the previous render":vc>1&&(n="There were cascading updates"),vc=0;var r=t?"(React Tree Reconciliation: Completed Root)":"(React Tree Reconciliation: Yielded)";Ic(),kc(r,"(React Tree Reconciliation)",n)}}function jc(){sc&&(gc=0,wc("(Committing Snapshot Effects)"))}function Bc(){if(sc){var e=gc;gc=0,kc("(Committing Snapshot Effects: "+e+" Total)","(Committing Snapshot Effects)",null)}}function Vc(){sc&&(gc=0,wc("(Committing Host Effects)"))}function Hc(){if(sc){var e=gc;gc=0,kc("(Committing Host Effects: "+e+" Total)","(Committing Host Effects)",null)}}function Qc(){sc&&(gc=0,wc("(Calling Lifecycle Methods)"))}function qc(){if(sc){var e=gc;gc=0,kc("(Calling Lifecycle Methods: "+e+" Total)","(Calling Lifecycle Methods)",null)}}var Yc,$c=[];Yc=[];var Kc,Xc=-1;function Gc(e){return{current:e}}function Zc(e,t){Xc<0?l("Unexpected pop."):(t!==Yc[Xc]&&l("Unexpected Fiber popped."),e.current=$c[Xc],$c[Xc]=null,Yc[Xc]=null,Xc--)}function Jc(e,t,n){$c[++Xc]=e.current,Yc[Xc]=n,e.current=t}Kc={};var ed={};Object.freeze(ed);var td=Gc(ed),nd=Gc(!1),rd=ed;function od(e,t,n){return n&&ud(t)?rd:td.current}function ad(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function id(e,t){var n=e.type,o=n.contextTypes;if(!o)return ed;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var i={};for(var l in o)i[l]=t[l];var u=Rt(n)||"Unknown";return r(o,i,"context",u,Ot),a&&ad(e,t,i),i}function ld(){return nd.current}function ud(e){var t=e.childContextTypes;return null!=t}function sd(e){Zc(nd,e),Zc(td,e)}function cd(e){Zc(nd,e),Zc(td,e)}function dd(e,t,n){if(td.current!==ed)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Jc(td,t,e),Jc(nd,n,e)}function fd(e,n,o){var a,i=e.stateNode,u=n.childContextTypes;if("function"!=typeof i.getChildContext){var s=Rt(n)||"Unknown";return Kc[s]||(Kc[s]=!0,l("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",s,s)),o}for(var c in Uc(e,"getChildContext"),a=i.getChildContext(),Lc(),a)if(!(c in u))throw Error((Rt(n)||"Unknown")+'.getChildContext(): key "'+c+'" is not defined in childContextTypes.');var d=Rt(n)||"Unknown";return r(u,a,"child context",d,Ot),t({},o,{},a)}function pd(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ed;return rd=td.current,Jc(td,n,e),Jc(nd,nd.current,e),!0}function md(e,t,n){var r=e.stateNode;if(!r)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var o=fd(e,t,rd);r.__reactInternalMemoizedMergedChildContext=o,Zc(nd,e),Zc(td,e),Jc(td,o,e),Jc(nd,n,e)}else Zc(nd,e),Jc(nd,n,e)}function hd(e){if(!function(e){return Wo(e)===e}(e)||e.tag!==C)throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case P:return t.stateNode.context;case C:if(ud(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var vd=0,gd=1,yd=2,bd=n.unstable_runWithPriority,wd=n.unstable_scheduleCallback,kd=n.unstable_cancelCallback,xd=n.unstable_shouldYield,Td=n.unstable_requestPaint,Sd=n.unstable_now,Ed=n.unstable_getCurrentPriorityLevel,Cd=n.unstable_ImmediatePriority,Rd=n.unstable_UserBlockingPriority,Pd=n.unstable_NormalPriority,Id=n.unstable_LowPriority,_d=n.unstable_IdlePriority;if(null==o.__interactionsRef||null==o.__interactionsRef.current)throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at http://fb.me/react-profiling");var Dd={},Nd=99,Md=98,Od=97,zd=96,Ad=95,Ud=90,Ld=xd,Fd=void 0!==Td?Td:function(){},Wd=null,jd=null,Bd=!1,Vd=Sd(),Hd=Vd<1e4?Sd:function(){return Sd()-Vd};function Qd(){switch(Ed()){case Cd:return Nd;case Rd:return Md;case Pd:return Od;case Id:return zd;case _d:return Ad;default:throw Error("Unknown priority level.")}}function qd(e){switch(e){case Nd:return Cd;case Md:return Rd;case Od:return Pd;case zd:return Id;case Ad:return _d;default:throw Error("Unknown priority level.")}}function Yd(e,t){var n=qd(e);return bd(n,t)}function $d(e,t,n){var r=qd(e);return wd(r,t,n)}function Kd(e){return null===Wd?(Wd=[e],jd=wd(Cd,Gd)):Wd.push(e),Dd}function Xd(){if(null!==jd){var e=jd;jd=null,kd(e)}Gd()}function Gd(){if(!Bd&&null!==Wd){Bd=!0;var e=0;try{var t=Wd;Yd(Nd,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),Wd=null}catch(l){throw null!==Wd&&(Wd=Wd.slice(e+1)),wd(Cd,Xd),l}finally{Bd=!1}}}var Zd=0,Jd=1,ef=2,tf=4,nf=8,rf=1073741823,of=0,af=1,lf=2,uf=3,sf=rf,cf=sf-1,df=10,ff=cf-1;function pf(e){return ff-(e/df|0)}function mf(e){return(ff-e)*df}function hf(e,t,n){return ff-(1+((ff-e+t/df)/(r=n/df)|0))*r;var r}var vf=5e3,gf=250;var yf=500,bf=100;function wf(e){return hf(e,yf,bf)}function kf(e,t){if(t===sf)return Nd;if(t===af||t===lf)return Ad;var n=mf(t)-mf(e);return n<=0?Nd:n<=yf+bf?Md:n<=vf+gf?Od:Ad}var xf={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Tf=function(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")},Sf=[],Ef=[],Cf=[],Rf=[],Pf=[],If=[],_f=new Set;xf.recordUnsafeLifecycleWarnings=function(e,t){_f.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&Sf.push(e),e.mode&Jd&&"function"==typeof t.UNSAFE_componentWillMount&&Ef.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Cf.push(e),e.mode&Jd&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&Rf.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Pf.push(e),e.mode&Jd&&"function"==typeof t.UNSAFE_componentWillUpdate&&If.push(e))},xf.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Sf.length>0&&(Sf.forEach(function(t){e.add(Rt(t.type)||"Component"),_f.add(t.type)}),Sf=[]);var t=new Set;Ef.length>0&&(Ef.forEach(function(e){t.add(Rt(e.type)||"Component"),_f.add(e.type)}),Ef=[]);var n=new Set;Cf.length>0&&(Cf.forEach(function(e){n.add(Rt(e.type)||"Component"),_f.add(e.type)}),Cf=[]);var r=new Set;Rf.length>0&&(Rf.forEach(function(e){r.add(Rt(e.type)||"Component"),_f.add(e.type)}),Rf=[]);var o=new Set;Pf.length>0&&(Pf.forEach(function(e){o.add(Rt(e.type)||"Component"),_f.add(e.type)}),Pf=[]);var a=new Set;(If.length>0&&(If.forEach(function(e){a.add(Rt(e.type)||"Component"),_f.add(e.type)}),If=[]),t.size>0)&&l("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",Tf(t));r.size>0&&l("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state\n\nPlease update the following components: %s",Tf(r));a.size>0&&l("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",Tf(a));e.size>0&&i("componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Tf(e));n.size>0&&i("componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Tf(n));o.size>0&&i("componentWillUpdate has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Tf(o))};var Df=new Map,Nf=new Set;xf.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)n.mode&Jd&&(t=n),n=n.return;return t}(e);if(null!==n){if(!Nf.has(e.type)){var r=Df.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],Df.set(n,r)),r.push(e))}}else l("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},xf.flushLegacyContextWarning=function(){Df.forEach(function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach(function(e){r.add(Rt(e.type)||"Component"),Nf.add(e.type)}),l("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://fb.me/react-legacy-context%s",Tf(r),_t(n))}})},xf.discardPendingWarnings=function(){Sf=[],Ef=[],Cf=[],Rf=[],Pf=[],If=[],Df=new Map};var Mf=null,Of=null,zf=function(e){Mf=e};function Af(e){if(null===Mf)return e;var t=Mf(e);return void 0===t?e:t.current}function Uf(e){return Af(e)}function Lf(e){if(null===Mf)return e;var t=Mf(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=Af(e.render);if(e.render!==n){var r={$$typeof:pt,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Ff(e,t){if(null===Mf)return!1;var n=e.elementType,r=t.type,o=!1,a="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case C:"function"==typeof r&&(o=!0);break;case E:"function"==typeof r?o=!0:a===gt&&(o=!0);break;case A:a===pt?o=!0:a===gt&&(o=!0);break;case F:case W:a===vt?o=!0:a===gt&&(o=!0);break;default:return!1}if(o){var i=Mf(n);if(void 0!==i&&i===Mf(r))return!0}return!1}function Wf(e){null!==Mf&&"function"==typeof WeakSet&&(null===Of&&(Of=new WeakSet),Of.add(e))}var jf=function(e,t){if(null!==Mf){var n=t.staleFamilies,r=t.updatedFamilies;$y(),Iy(function(){!function e(t,n,r){var o=t.alternate,a=t.child,i=t.sibling,l=t.tag,u=t.type,s=null;switch(l){case E:case W:case C:s=u;break;case A:s=u.render}if(null===Mf)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,d=!1;if(null!==s){var f=Mf(s);void 0!==f&&(r.has(f)?d=!0:n.has(f)&&(l===C?d=!0:c=!0))}null!==Of&&(Of.has(t)||null!==o&&Of.has(o))&&(d=!0),d&&(t._debugNeedsRemount=!0),(d||c)&&xy(t,sf),null===a||d||e(a,n,r),null!==i&&e(i,n,r)}(e.current,r,n)})}},Bf=function(e,t){var n,r,o;e.context===ed&&($y(),Yd(Nd,function(){Yb(t,e,null,null)}.bind(null,n,r,o)))};var Vf=function(e,t){var n=new Set,r=new Set(t.map(function(e){return e.current}));return function e(t,n,r){var o=t.child,a=t.sibling,i=t.tag,l=t.type,u=null;switch(i){case E:case W:case C:u=l;break;case A:u=l.render}var s=!1;null!==u&&n.has(u)&&(s=!0),s?function(e,t){if(function(e,t){var n=e,r=!1;for(;;){if(n.tag===_)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t))return;var n=e;for(;;){switch(n.tag){case _:return void t.add(n.stateNode);case I:case P:return void t.add(n.stateNode.containerInfo)}if(null===n.return)throw new Error("Expected to reach root first.");n=n.return}}(t,r):null!==o&&e(o,n,r),null!==a&&e(a,n,r)}(e.current,r,n),n};function Hf(e,n){if(e&&e.defaultProps){var r=t({},n),o=e.defaultProps;for(var a in o)void 0===r[a]&&(r[a]=o[a]);return r}return n}function Qf(e){if(function(e){if(e._status===xt){e._status=Tt;var t=(0,e._ctor)();e._result=t,t.then(function(t){if(e._status===Tt){var n=t.default;void 0===n&&l("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t),e._status=St,e._result=n}},function(t){e._status===Tt&&(e._status=Et,e._result=t)})}}(e),e._status!==St)throw e._result;return e._result}var qf,Yf=Gc(null);qf={};var $f=null,Kf=null,Xf=null,Gf=!1;function Zf(){$f=null,Kf=null,Xf=null,Gf=!1}function Jf(){Gf=!0}function ep(){Gf=!1}function tp(e,t){var n=e.type._context;Jc(Yf,n._currentValue,e),n._currentValue=t,void 0!==n._currentRenderer&&null!==n._currentRenderer&&n._currentRenderer!==qf&&l("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer=qf}function np(e){var t=Yf.current;Zc(Yf,e),e.type._context._currentValue=t}function rp(e,t){for(var n=e;null!==n;){var r=n.alternate;if(n.childExpirationTime<t)n.childExpirationTime=t,null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t);else{if(!(null!==r&&r.childExpirationTime<t))break;r.childExpirationTime=t}n=n.return}}function op(e,t){$f=e,Kf=null,Xf=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(n.expirationTime>=t&&Hv(),n.firstContext=null))}function ap(e,t){if(Gf&&l("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Xf===e);else if(!1===t||0===t);else{var n;"number"!=typeof t||t===rf?(Xf=e,n=rf):n=t;var r={context:e,observedBits:n,next:null};if(null===Kf){if(null===$f)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Kf=r,$f.dependencies={expirationTime:of,firstContext:r,responders:null}}else Kf=Kf.next=r}return e._currentValue}var ip,lp,up=0,sp=1,cp=2,dp=3,fp=!1;function pp(e){var t={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null};e.updateQueue=t}function mp(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var o={baseState:r.baseState,baseQueue:r.baseQueue,shared:r.shared,effects:r.effects};t.updateQueue=o}}function hp(e,t){var n={expirationTime:e,suspenseConfig:t,tag:up,payload:null,callback:null,next:null};return n.next=n,n.priority=Qd(),n}function vp(e,t){var n=e.updateQueue;if(null!==n){var r=n.shared,o=r.pending;null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,lp!==r||ip||(l("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),ip=!0)}}function gp(e,t){var n=e.alternate;null!==n&&mp(n,e);var r=e.updateQueue,o=r.baseQueue;null===o?(r.baseQueue=t.next=t,t.next=t):(t.next=o.next,o.next=t)}function yp(e,n,r,o,a,i){switch(r.tag){case sp:var l=r.payload;if("function"==typeof l){Jf(),e.mode&Jd&&l.call(i,o,a);var u=l.call(i,o,a);return ep(),u}return l;case dp:e.effectTag=e.effectTag&~Lo|Io;case up:var s,c=r.payload;return"function"==typeof c?(Jf(),e.mode&Jd&&c.call(i,o,a),s=c.call(i,o,a),ep()):s=c,null==s?o:t({},o,s);case cp:return fp=!0,o}return o}function bp(e,t,n,r){var o=e.updateQueue;fp=!1,lp=o.shared;var a=o.baseQueue,i=o.shared.pending;if(null!==i){if(null!==a){var l=a.next,u=i.next;a.next=u,i.next=l}a=i,o.shared.pending=null;var s=e.alternate;if(null!==s){var c=s.updateQueue;null!==c&&(c.baseQueue=i)}}if(null!==a){var d=a.next,f=o.baseState,p=of,m=null,h=null,v=null;if(null!==d)for(var g=d;;){var y=g.expirationTime;if(y<r){var b={expirationTime:g.expirationTime,suspenseConfig:g.suspenseConfig,tag:g.tag,payload:g.payload,callback:g.callback,next:null};null===v?(h=v=b,m=f):v=v.next=b,y>p&&(p=y)}else{if(null!==v){var w={expirationTime:sf,suspenseConfig:g.suspenseConfig,tag:g.tag,payload:g.payload,callback:g.callback,next:null};v=v.next=w}if(Ay(y,g.suspenseConfig),f=yp(e,0,g,f,t,n),null!==g.callback){e.effectTag|=Po;var k=o.effects;null===k?o.effects=[g]:k.push(g)}}if(null===(g=g.next)||g===d){if(null===(i=o.shared.pending))break;g=a.next=i.next,i.next=d,o.baseQueue=a=i,o.shared.pending=null}}null===v?m=f:v.next=h,o.baseState=m,o.baseQueue=v,Uy(p),e.expirationTime=p,e.memoizedState=f}lp=null}function wp(e,t){if("function"!=typeof e)throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function kp(){fp=!1}function xp(){return fp}function Tp(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.callback;null!==i&&(a.callback=null,wp(i,n))}}ip=!1,lp=null;var Sp=a.ReactCurrentBatchConfig;function Ep(){return Sp.suspense}var Cp,Rp,Pp,Ip,_p,Dp,Np,Mp,Op,zp,Ap={},Up=Array.isArray,Lp=(new e.Component).refs;Cp=new Set,Rp=new Set,Pp=new Set,Ip=new Set,Mp=new Set,_p=new Set,Op=new Set,zp=new Set;var Fp=new Set;function Wp(e,n,r,o){var a=e.memoizedState;e.mode&Jd&&r(o,a);var i=r(o,a);Dp(n,i);var l=null==i?a:t({},a,i);(e.memoizedState=l,e.expirationTime===of)&&(e.updateQueue.baseState=l)}Np=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;Fp.has(n)||(Fp.add(n),l("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Dp=function(e,t){if(void 0===t){var n=Rt(e)||"Component";_p.has(n)||(_p.add(n),l("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Ap,"_processChildContext",{enumerable:!1,value:function(){throw Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Ap);var jp,Bp,Vp,Hp,Qp,qp={isMounted:function(e){var t=Fo.current;if(null!==t&&t.tag===C){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||l("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Rt(n.type)||"A component"),r._warnedAboutRefsInRender=!0}var o=wo(e);return!!o&&Wo(o)===o},enqueueSetState:function(e,t,n){var r=wo(e),o=wy(),a=Ep(),i=ky(o,r,a),l=hp(i,a);l.payload=t,null!=n&&(Np(n,"setState"),l.callback=n),vp(r,l),xy(r,i)},enqueueReplaceState:function(e,t,n){var r=wo(e),o=wy(),a=Ep(),i=ky(o,r,a),l=hp(i,a);l.tag=sp,l.payload=t,null!=n&&(Np(n,"replaceState"),l.callback=n),vp(r,l),xy(r,i)},enqueueForceUpdate:function(e,t){var n=wo(e),r=wy(),o=Ep(),a=ky(r,n,o),i=hp(a,o);i.tag=cp,null!=t&&(Np(t,"forceUpdate"),i.callback=t),vp(n,i),xy(n,a)}};function Yp(e,t,n,r,o,a,i){var u=e.stateNode;if("function"==typeof u.shouldComponentUpdate){e.mode&Jd&&u.shouldComponentUpdate(r,a,i),Uc(e,"shouldComponentUpdate");var s=u.shouldComponentUpdate(r,a,i);return Lc(),void 0===s&&l("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Rt(t)||"Component"),s}return!t.prototype||!t.prototype.isPureReactComponent||(!Ws(n,r)||!Ws(o,a))}function $p(e,t){var n;t.updater=qp,e.stateNode=t,n=e,t._reactInternalFiber=n,t._reactInternalInstance=Ap}function Kp(e,t,n){var r=!1,o=ed,a=ed,i=t.contextType;if("contextType"in t&&(!(null===i||void 0!==i&&i.$$typeof===dt&&void 0===i._context)&&!zp.has(t))){zp.add(t);var u="";u=void 0===i?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof i?" However, it is set to a "+typeof i+".":i.$$typeof===ct?" Did you accidentally pass the Context.Provider instead?":void 0!==i._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(i).join(", ")+"}.",l("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Rt(t)||"Component",u)}if("object"==typeof i&&null!==i)a=ap(i);else{o=od(0,t,!0);var s=t.contextTypes;a=(r=null!=s)?id(e,o):ed}e.mode&Jd&&new t(n,a);var c=new t(n,a),d=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if($p(e,c),"function"==typeof t.getDerivedStateFromProps&&null===d){var f=Rt(t)||"Component";Rp.has(f)||(Rp.add(f),l("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",f,null===c.state?"null":"undefined",f))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof c.getSnapshotBeforeUpdate){var p=null,m=null,h=null;if("function"==typeof c.componentWillMount&&!0!==c.componentWillMount.__suppressDeprecationWarning?p="componentWillMount":"function"==typeof c.UNSAFE_componentWillMount&&(p="UNSAFE_componentWillMount"),"function"==typeof c.componentWillReceiveProps&&!0!==c.componentWillReceiveProps.__suppressDeprecationWarning?m="componentWillReceiveProps":"function"==typeof c.UNSAFE_componentWillReceiveProps&&(m="UNSAFE_componentWillReceiveProps"),"function"==typeof c.componentWillUpdate&&!0!==c.componentWillUpdate.__suppressDeprecationWarning?h="componentWillUpdate":"function"==typeof c.UNSAFE_componentWillUpdate&&(h="UNSAFE_componentWillUpdate"),null!==p||null!==m||null!==h){var v=Rt(t)||"Component",g="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Ip.has(v)||(Ip.add(v),l("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-unsafe-component-lifecycles",v,g,null!==p?"\n "+p:"",null!==m?"\n "+m:"",null!==h?"\n "+h:""))}}return r&&ad(e,o,a),c}function Xp(e,t,n,r){var o=t.state;if(Uc(e,"componentWillReceiveProps"),"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),Lc(),t.state!==o){var a=Rt(e.type)||"Component";Cp.has(a)||(Cp.add(a),l("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",a)),qp.enqueueReplaceState(t,t.state,null)}}function Gp(e,t,n,r){!function(e,t,n){var r=e.stateNode,o=Rt(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?l("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):l("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||l("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",o),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&l("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",o),r.propTypes&&l("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),r.contextType&&l("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),r.contextTypes&&l("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!Op.has(t)&&(Op.add(t),l("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),"function"==typeof r.componentShouldUpdate&&l("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",o),t.prototype&&t.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&l("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Rt(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&l("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),"function"==typeof r.componentDidReceiveProps&&l("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",o),"function"==typeof r.componentWillRecieveProps&&l("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),"function"==typeof r.UNSAFE_componentWillRecieveProps&&l("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var a=r.props!==n;void 0!==r.props&&a&&l("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),r.defaultProps&&l("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||Pp.has(t)||(Pp.add(t),l("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Rt(t))),"function"==typeof r.getDerivedStateFromProps&&l("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof r.getDerivedStateFromError&&l("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof t.getSnapshotBeforeUpdate&&l("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var i=r.state;i&&("object"!=typeof i||Up(i))&&l("%s.state: must be set to an object or null",o),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&l("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}(e,t,n);var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Lp,pp(e);var a=t.contextType;if("object"==typeof a&&null!==a)o.context=ap(a);else{var i=od(0,t,!0);o.context=id(e,i)}if(o.state===n){var u=Rt(t)||"Component";Mp.has(u)||(Mp.add(u),l("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",u))}e.mode&Jd&&xf.recordLegacyContextWarning(e,o),xf.recordUnsafeLifecycleWarnings(e,o),bp(e,n,o,r),o.state=e.memoizedState;var s=t.getDerivedStateFromProps;"function"==typeof s&&(Wp(e,t,s,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(!function(e,t){Uc(e,"componentWillMount");var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),Lc(),n!==t.state&&(l("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Rt(e.type)||"Component"),qp.enqueueReplaceState(t,t.state,null))}(e,o),bp(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=So)}var Zp=function(e){};jp=!1,Bp=!1,Vp={},Hp={},Qp={},Zp=function(e){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var t='Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'+Ot();Hp[t]||(Hp[t]=!0,l('Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'))}};var Jp=Array.isArray;function em(e,t,n){var r=n.ref;if(null!==r&&"function"!=typeof r&&"object"!=typeof r){if((e.mode&Jd||ye)&&(!n._owner||!n._self||n._owner.stateNode===n._self)){var o=Rt(e.type)||"Component";Vp[o]||(l('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref%s',r,_t(e)),Vp[o]=!0)}if(n._owner){var a,i=n._owner;if(i){var u=i;if(u.tag!==C)throw Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref");a=u.stateNode}if(!a)throw Error("Missing owner for string ref "+r+". This error is likely caused by a bug in React. Please file an issue.");var s=""+r;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===s)return t.ref;var c=function(e){var t=a.refs;t===Lp&&(t=a.refs={}),null===e?delete t[s]:t[s]=e};return c._stringRef=s,c}if("string"!=typeof r)throw Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw Error("Element ref was specified as a string ("+r+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://fb.me/react-refs-must-have-owner for more information.")}return r}function tm(e,t){if("textarea"!==e.type){var n;throw n=" If you meant to render a collection of children, use an array instead."+Ot(),Error("Objects are not valid as a React child (found: "+("[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t)+")."+n)}}function nm(){var e="Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."+Ot();Qp[e]||(Qp[e]=!0,l("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function rm(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=Co}}function n(n,r){if(!e)return null;for(var o=r;null!==o;)t(n,o),o=o.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function o(e,t){var n=Mb(e,t);return n.index=0,n.sibling=null,n}function a(t,n,r){if(t.index=r,!e)return n;var o=t.alternate;if(null!==o){var a=o.index;return a<n?(t.effectTag=To,n):a}return t.effectTag=To,n}function i(t){return e&&null===t.alternate&&(t.effectTag=To),t}function u(e,t,n,r){if(null===t||t.tag!==D){var a=Lb(n,e.mode,r);return a.return=e,a}var i=o(t,n);return i.return=e,i}function s(e,t,n,r){if(null!==t&&(t.elementType===n.type||Ff(t,n))){var a=o(t,n.props);return a.ref=em(e,t,n),a.return=e,a._debugSource=n._source,a._debugOwner=n._owner,a}var i=Ab(n,e.mode,r);return i.ref=em(e,t,n),i.return=e,i}function c(e,t,n,r){if(null===t||t.tag!==I||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var a=Fb(n,e.mode,r);return a.return=e,a}var i=o(t,n.children||[]);return i.return=e,i}function d(e,t,n,r,a){if(null===t||t.tag!==N){var i=Ub(n,e.mode,r,a);return i.return=e,i}var l=o(t,n);return l.return=e,l}function f(e,t,n){if("string"==typeof t||"number"==typeof t){var r=Lb(""+t,e.mode,n);return r.return=e,r}if("object"==typeof t&&null!==t){switch(t.$$typeof){case at:var o=Ab(t,e.mode,n);return o.ref=em(e,null,t),o.return=e,o;case it:var a=Fb(t,e.mode,n);return a.return=e,a}if(Jp(t)||kt(t)){var i=Ub(t,e.mode,n,null);return i.return=e,i}tm(e,t)}return"function"==typeof t&&nm(),null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case at:return n.key===o?n.type===lt?d(e,t,n.props.children,r,o):s(e,t,n,r):null;case it:return n.key===o?c(e,t,n,r):null}if(Jp(n)||kt(n))return null!==o?null:d(e,t,n,r,null);tm(e,n)}return"function"==typeof n&&nm(),null}function m(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return u(t,e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case at:var a=e.get(null===r.key?n:r.key)||null;return r.type===lt?d(t,a,r.props.children,o,r.key):s(t,a,r,o);case it:return c(t,e.get(null===r.key?n:r.key)||null,r,o)}if(Jp(r)||kt(r))return d(t,e.get(n)||null,r,o,null);tm(t,r)}return"function"==typeof r&&nm(),null}function h(e,t){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case at:case it:Zp(e);var n=e.key;if("string"!=typeof n)break;if(null===t){(t=new Set).add(n);break}if(!t.has(n)){t.add(n);break}l("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",n)}return t}return function(u,s,c,d){var v="object"==typeof c&&null!==c&&c.type===lt&&null===c.key;v&&(c=c.props.children);var g="object"==typeof c&&null!==c;if(g)switch(c.$$typeof){case at:return i(function(e,r,a,i){for(var l=a.key,u=r;null!==u;){if(u.key===l){switch(u.tag){case N:if(a.type===lt){n(e,u.sibling);var s=o(u,a.props.children);return s.return=e,s._debugSource=a._source,s._debugOwner=a._owner,s}break;case Y:default:if(u.elementType===a.type||Ff(u,a)){n(e,u.sibling);var c=o(u,a.props);return c.ref=em(e,u,a),c.return=e,c._debugSource=a._source,c._debugOwner=a._owner,c}}n(e,u);break}t(e,u),u=u.sibling}if(a.type===lt){var d=Ub(a.props.children,e.mode,i,a.key);return d.return=e,d}var f=Ab(a,e.mode,i);return f.ref=em(e,r,a),f.return=e,f}(u,s,c,d));case it:return i(function(e,r,a,i){for(var l=a.key,u=r;null!==u;){if(u.key===l){if(u.tag===I&&u.stateNode.containerInfo===a.containerInfo&&u.stateNode.implementation===a.implementation){n(e,u.sibling);var s=o(u,a.children||[]);return s.return=e,s}n(e,u);break}t(e,u),u=u.sibling}var c=Fb(a,e.mode,i);return c.return=e,c}(u,s,c,d))}if("string"==typeof c||"number"==typeof c)return i(function(e,t,r,a){if(null!==t&&t.tag===D){n(e,t.sibling);var i=o(t,r);return i.return=e,i}n(e,t);var l=Lb(r,e.mode,a);return l.return=e,l}(u,s,""+c,d));if(Jp(c))return function(o,i,l,u){for(var s=null,c=0;c<l.length;c++)s=h(l[c],s);for(var d=null,v=null,g=i,y=0,b=0,w=null;null!==g&&b<l.length;b++){g.index>b?(w=g,g=null):w=g.sibling;var k=p(o,g,l[b],u);if(null===k){null===g&&(g=w);break}e&&g&&null===k.alternate&&t(o,g),y=a(k,y,b),null===v?d=k:v.sibling=k,v=k,g=w}if(b===l.length)return n(o,g),d;if(null===g){for(;b<l.length;b++){var x=f(o,l[b],u);null!==x&&(y=a(x,y,b),null===v?d=x:v.sibling=x,v=x)}return d}for(var T=r(0,g);b<l.length;b++){var S=m(T,o,b,l[b],u);null!==S&&(e&&null!==S.alternate&&T.delete(null===S.key?b:S.key),y=a(S,y,b),null===v?d=S:v.sibling=S,v=S)}return e&&T.forEach(function(e){return t(o,e)}),d}(u,s,c,d);if(kt(c))return function(o,i,u,s){var c=kt(u);if("function"!=typeof c)throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===u[Symbol.toStringTag]&&(Bp||l("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Bp=!0),u.entries===c&&(jp||l("Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead."),jp=!0);var d=c.call(u);if(d)for(var v=null,g=d.next();!g.done;g=d.next())v=h(g.value,v);var y=c.call(u);if(null==y)throw Error("An iterable object provided no iterator.");for(var b=null,w=null,k=i,x=0,T=0,S=null,E=y.next();null!==k&&!E.done;T++,E=y.next()){k.index>T?(S=k,k=null):S=k.sibling;var C=p(o,k,E.value,s);if(null===C){null===k&&(k=S);break}e&&k&&null===C.alternate&&t(o,k),x=a(C,x,T),null===w?b=C:w.sibling=C,w=C,k=S}if(E.done)return n(o,k),b;if(null===k){for(;!E.done;T++,E=y.next()){var R=f(o,E.value,s);null!==R&&(x=a(R,x,T),null===w?b=R:w.sibling=R,w=R)}return b}for(var P=r(0,k);!E.done;T++,E=y.next()){var I=m(P,o,T,E.value,s);null!==I&&(e&&null!==I.alternate&&P.delete(null===I.key?T:I.key),x=a(I,x,T),null===w?b=I:w.sibling=I,w=I)}return e&&P.forEach(function(e){return t(o,e)}),b}(u,s,c,d);if(g&&tm(u,c),"function"==typeof c&&nm(),void 0===c&&!v)switch(u.tag){case C:if(u.stateNode.render._isMockFunction)break;case E:var y=u.type;throw Error((y.displayName||y.name||"Component")+"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.")}return n(u,s)}}var om=rm(!0),am=rm(!1);function im(e,t){for(var n=e.child;null!==n;)Ob(n,t),n=n.sibling}var lm={},um=Gc(lm),sm=Gc(lm),cm=Gc(lm);function dm(e){if(e===lm)throw Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function fm(){return dm(cm.current)}function pm(e,t){Jc(cm,t,e),Jc(sm,e,e),Jc(um,lm,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case On:case zn:t=r===On?"#document":"#fragment";var o=e.documentElement;n=o?o.namespaceURI:Rn(null,"");break;default:var a=r===Mn?e.parentNode:e;n=Rn(a.namespaceURI||null,t=a.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:Cl(null,i)}}(t);Zc(um,e),Jc(um,n,e)}function mm(e){Zc(um,e),Zc(sm,e),Zc(cm,e)}function hm(){return dm(um.current)}function vm(e){dm(cm.current);var t,n,r,o=dm(um.current),a=(t=o,n=e.type,{namespace:Rn((r=t).namespace,n),ancestorInfo:Cl(r.ancestorInfo,n)});o!==a&&(Jc(sm,e,e),Jc(um,a,e))}function gm(e){sm.current===e&&(Zc(um,e),Zc(sm,e))}var ym=1,bm=1,wm=2,km=Gc(0);function xm(e,t){return 0!=(e&t)}function Tm(e){return e&ym}function Sm(e,t){return e&ym|t}function Em(e,t){Jc(km,t,e)}function Cm(e){Zc(km,e)}function Rm(e,t){var n=e.memoizedState;if(null!==n)return null!==n.dehydrated;var r=e.memoizedProps;return void 0!==r.fallback&&(!0!==r.unstable_avoidThisFallback||!t)}function Pm(e){for(var t=e;null!==t;){if(t.tag===L){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||r.data===Al||nu(r))return t}}else if(t.tag===H&&void 0!==t.memoizedProps.revealOrder){if((t.effectTag&Io)!==ko)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Im(e,t){var n={responder:e,props:t};return Object.freeze(n),n}var _m,Dm=1,Nm=2,Mm=4,Om=a.ReactCurrentDispatcher,zm=a.ReactCurrentBatchConfig;_m=new Set;var Am=of,Um=null,Lm=null,Fm=null,Wm=!1,jm=25,Bm=null,Vm=null,Hm=-1,Qm=!1;function qm(){var e=Bm;null===Vm?Vm=[e]:Vm.push(e)}function Ym(){var e=Bm;null!==Vm&&Vm[++Hm]!==e&&function(e){var t=Rt(Um.type);if(!_m.has(t)&&(_m.add(t),null!==Vm)){for(var n="",r=0;r<=Hm;r++){for(var o=Vm[r],a=r===Hm?e:o,i=r+1+". "+o;i.length<30;)i+=" ";n+=i+=a+"\n"}l("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://fb.me/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e)}function $m(e){null==e||Array.isArray(e)||l("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Bm,typeof e)}function Km(){throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.")}function Xm(e,t){if(Qm)return!1;if(null===t)return l("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Bm),!1;e.length!==t.length&&l("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",Bm,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Ls(e[n],t[n]))return!1;return!0}function Gm(e,t,n,r,o,a){Am=a,Um=t,Vm=null!==e?e._debugHookTypes:null,Hm=-1,Qm=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.expirationTime=of,null!==e&&null!==e.memoizedState?Om.current=Lh:Om.current=null!==Vm?Uh:Ah;var i=n(r,o);if(t.expirationTime===Am){var l=0;do{if(t.expirationTime=of,!(l<jm))throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");l+=1,Qm=!1,Lm=null,Fm=null,t.updateQueue=null,Hm=-1,Om.current=Fh,i=n(r,o)}while(t.expirationTime===Am)}Om.current=zh,t._debugHookTypes=Vm;var u=null!==Lm&&null!==Lm.next;if(Am=of,Um=null,Lm=null,Fm=null,Bm=null,Vm=null,Hm=-1,Wm=!1,u)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return i}function Zm(e,t,n){t.updateQueue=e.updateQueue,t.effectTag&=~(No|So),e.expirationTime<=n&&(e.expirationTime=of)}function Jm(){if(Om.current=zh,Wm)for(var e=Um.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Am=of,Um=null,Lm=null,Fm=null,Vm=null,Hm=-1,Bm=null,Wm=!1}function eh(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Fm?Um.memoizedState=Fm=e:Fm=Fm.next=e,Fm}function th(){var e,t;if(null===Lm){var n=Um.alternate;e=null!==n?n.memoizedState:null}else e=Lm.next;if(null!==(t=null===Fm?Um.memoizedState:Fm.next))t=(Fm=t).next,Lm=e;else{if(null===e)throw Error("Rendered more hooks than during the previous render.");var r={memoizedState:(Lm=e).memoizedState,baseState:Lm.baseState,baseQueue:Lm.baseQueue,queue:Lm.queue,next:null};null===Fm?Um.memoizedState=Fm=r:Fm=Fm.next=r}return Fm}function nh(e,t){return"function"==typeof t?t(e):t}function rh(e,t,n){var r,o=eh();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var a=o.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},i=a.dispatch=Oh.bind(null,Um,a);return[o.memoizedState,i]}function oh(e,t,n){var r=th(),o=r.queue;if(null===o)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=Lm,i=a.baseQueue,l=o.pending;if(null!==l){if(null!==i){var u=i.next,s=l.next;i.next=s,l.next=u}a.baseQueue=i=l,o.pending=null}if(null!==i){var c=i.next,d=a.baseState,f=null,p=null,m=null,h=c;do{var v=h.expirationTime;if(v<Am){var g={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,action:h.action,eagerReducer:h.eagerReducer,eagerState:h.eagerState,next:null};null===m?(p=m=g,f=d):m=m.next=g,v>Um.expirationTime&&(Um.expirationTime=v,Uy(v))}else{if(null!==m){var y={expirationTime:sf,suspenseConfig:h.suspenseConfig,action:h.action,eagerReducer:h.eagerReducer,eagerState:h.eagerState,next:null};m=m.next=y}if(Ay(v,h.suspenseConfig),h.eagerReducer===e)d=h.eagerState;else d=e(d,h.action)}h=h.next}while(null!==h&&h!==c);null===m?f=d:m.next=p,Ls(d,r.memoizedState)||Hv(),r.memoizedState=d,r.baseState=f,r.baseQueue=m,o.lastRenderedState=d}var b=o.dispatch;return[r.memoizedState,b]}function ah(e,t,n){var r=th(),o=r.queue;if(null===o)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=o.dispatch,i=o.pending,l=r.memoizedState;if(null!==i){o.pending=null;var u=i.next,s=u;do{l=e(l,s.action),s=s.next}while(s!==u);Ls(l,r.memoizedState)||Hv(),r.memoizedState=l,null===r.baseQueue&&(r.baseState=l),o.lastRenderedState=l}return[l,a]}function ih(e){var t=eh();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n=t.queue={pending:null,dispatch:null,lastRenderedReducer:nh,lastRenderedState:e},r=n.dispatch=Oh.bind(null,Um,n);return[t.memoizedState,r]}function lh(e){return oh(nh)}function uh(e){return ah(nh)}function sh(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},a=Um.updateQueue;if(null===a)a={lastEffect:null},Um.updateQueue=a,a.lastEffect=o.next=o;else{var i=a.lastEffect;if(null===i)a.lastEffect=o.next=o;else{var l=i.next;i.next=o,o.next=l,a.lastEffect=o}}return o}function ch(e){var t=eh(),n={current:e};return Object.seal(n),t.memoizedState=n,n}function dh(e){return th().memoizedState}function fh(e,t,n,r){var o=eh(),a=void 0===r?null:r;Um.effectTag|=e,o.memoizedState=sh(Dm|t,n,void 0,a)}function ph(e,t,n,r){var o=th(),a=void 0===r?null:r,i=void 0;if(null!==Lm){var l=Lm.memoizedState;if(i=l.destroy,null!==a)if(Xm(a,l.deps))return void sh(t,n,i,a)}Um.effectTag|=e,o.memoizedState=sh(Dm|t,n,i,a)}function mh(e,t){return"undefined"!=typeof jest&&ub(Um),fh(So|No,Mm,e,t)}function hh(e,t){return"undefined"!=typeof jest&&ub(Um),ph(So|No,Mm,e,t)}function vh(e,t){return fh(So,Nm,e,t)}function gh(e,t){return ph(So,Nm,e,t)}function yh(e,t){if("function"==typeof t){var n=t,r=e();return n(r),function(){n(null)}}if(null!=t){var o=t;o.hasOwnProperty("current")||l("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var a=e();return o.current=a,function(){o.current=null}}}function bh(e,t,n){"function"!=typeof t&&l("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return fh(So,Nm,yh.bind(null,t,e),r)}function wh(e,t,n){"function"!=typeof t&&l("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return ph(So,Nm,yh.bind(null,t,e),r)}function kh(e,t){}var xh=kh;function Th(e,t){var n=void 0===t?null:t;return eh().memoizedState=[e,n],e}function Sh(e,t){var n=th(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&Xm(r,o[1])))return o[0];return n.memoizedState=[e,r],e}function Eh(e,t){var n=eh(),r=void 0===t?null:t,o=e();return n.memoizedState=[o,r],o}function Ch(e,t){var n=th(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&Xm(r,o[1])))return o[0];var a=e();return n.memoizedState=[a,r],a}function Rh(e,t){var n=ih(e),r=n[0],o=n[1];return mh(function(){var n=zm.suspense;zm.suspense=void 0===t?null:t;try{o(e)}finally{zm.suspense=n}},[e,t]),r}function Ph(e,t){var n=lh(),r=n[0],o=n[1];return hh(function(){var n=zm.suspense;zm.suspense=void 0===t?null:t;try{o(e)}finally{zm.suspense=n}},[e,t]),r}function Ih(e,t){var n=uh(),r=n[0],o=n[1];return hh(function(){var n=zm.suspense;zm.suspense=void 0===t?null:t;try{o(e)}finally{zm.suspense=n}},[e,t]),r}function _h(e,t,n){var r=Qd();Yd(r<Md?Md:r,function(){e(!0)}),Yd(r>Od?Od:r,function(){var r=zm.suspense;zm.suspense=void 0===t?null:t;try{e(!1),n()}finally{zm.suspense=r}})}function Dh(e){var t=ih(!1),n=t[0],r=t[1];return[Th(_h.bind(null,r,e),[r,e]),n]}function Nh(e){var t=lh(),n=t[0],r=t[1];return[Sh(_h.bind(null,r,e),[r,e]),n]}function Mh(e){var t=uh(),n=t[0],r=t[1];return[Sh(_h.bind(null,r,e),[r,e]),n]}function Oh(e,t,n){"function"==typeof arguments[3]&&l("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=wy(),o=Ep(),a=ky(r,e,o),i={expirationTime:a,suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};i.priority=Qd();var u=t.pending;null===u?i.next=i:(i.next=u.next,u.next=i),t.pending=i;var s=e.alternate;if(e===Um||null!==s&&s===Um)Wm=!0,i.expirationTime=Am,Um.expirationTime=Am;else{if(e.expirationTime===of&&(null===s||s.expirationTime===of)){var c=t.lastRenderedReducer;if(null!==c){var d;d=Om.current,Om.current=jh;try{var f=t.lastRenderedState,p=c(f,n);if(i.eagerReducer=c,i.eagerState=p,Ls(p,f))return}catch(l){}finally{Om.current=d}}}"undefined"!=typeof jest&&(lb(e),sb(e)),xy(e,a)}}var zh={readContext:ap,useCallback:Km,useContext:Km,useEffect:Km,useImperativeHandle:Km,useLayoutEffect:Km,useMemo:Km,useReducer:Km,useRef:Km,useState:Km,useDebugValue:Km,useResponder:Km,useDeferredValue:Km,useTransition:Km},Ah=null,Uh=null,Lh=null,Fh=null,Wh=null,jh=null,Bh=null,Vh=function(){l("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Hh=function(){l("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://fb.me/rules-of-hooks")};Ah={readContext:function(e,t){return ap(e,t)},useCallback:function(e,t){return Bm="useCallback",qm(),$m(t),Th(e,t)},useContext:function(e,t){return Bm="useContext",qm(),ap(e,t)},useEffect:function(e,t){return Bm="useEffect",qm(),$m(t),mh(e,t)},useImperativeHandle:function(e,t,n){return Bm="useImperativeHandle",qm(),$m(n),bh(e,t,n)},useLayoutEffect:function(e,t){return Bm="useLayoutEffect",qm(),$m(t),vh(e,t)},useMemo:function(e,t){Bm="useMemo",qm(),$m(t);var n=Om.current;Om.current=Wh;try{return Eh(e,t)}finally{Om.current=n}},useReducer:function(e,t,n){Bm="useReducer",qm();var r=Om.current;Om.current=Wh;try{return rh(e,t,n)}finally{Om.current=r}},useRef:function(e){return Bm="useRef",qm(),ch(e)},useState:function(e){Bm="useState",qm();var t=Om.current;Om.current=Wh;try{return ih(e)}finally{Om.current=t}},useDebugValue:function(e,t){Bm="useDebugValue",qm()},useResponder:function(e,t){return Bm="useResponder",qm(),Im(e,t)},useDeferredValue:function(e,t){return Bm="useDeferredValue",qm(),Rh(e,t)},useTransition:function(e){return Bm="useTransition",qm(),Dh(e)}},Uh={readContext:function(e,t){return ap(e,t)},useCallback:function(e,t){return Bm="useCallback",Ym(),Th(e,t)},useContext:function(e,t){return Bm="useContext",Ym(),ap(e,t)},useEffect:function(e,t){return Bm="useEffect",Ym(),mh(e,t)},useImperativeHandle:function(e,t,n){return Bm="useImperativeHandle",Ym(),bh(e,t,n)},useLayoutEffect:function(e,t){return Bm="useLayoutEffect",Ym(),vh(e,t)},useMemo:function(e,t){Bm="useMemo",Ym();var n=Om.current;Om.current=Wh;try{return Eh(e,t)}finally{Om.current=n}},useReducer:function(e,t,n){Bm="useReducer",Ym();var r=Om.current;Om.current=Wh;try{return rh(e,t,n)}finally{Om.current=r}},useRef:function(e){return Bm="useRef",Ym(),ch(e)},useState:function(e){Bm="useState",Ym();var t=Om.current;Om.current=Wh;try{return ih(e)}finally{Om.current=t}},useDebugValue:function(e,t){Bm="useDebugValue",Ym()},useResponder:function(e,t){return Bm="useResponder",Ym(),Im(e,t)},useDeferredValue:function(e,t){return Bm="useDeferredValue",Ym(),Rh(e,t)},useTransition:function(e){return Bm="useTransition",Ym(),Dh(e)}},Lh={readContext:function(e,t){return ap(e,t)},useCallback:function(e,t){return Bm="useCallback",Ym(),Sh(e,t)},useContext:function(e,t){return Bm="useContext",Ym(),ap(e,t)},useEffect:function(e,t){return Bm="useEffect",Ym(),hh(e,t)},useImperativeHandle:function(e,t,n){return Bm="useImperativeHandle",Ym(),wh(e,t,n)},useLayoutEffect:function(e,t){return Bm="useLayoutEffect",Ym(),gh(e,t)},useMemo:function(e,t){Bm="useMemo",Ym();var n=Om.current;Om.current=jh;try{return Ch(e,t)}finally{Om.current=n}},useReducer:function(e,t,n){Bm="useReducer",Ym();var r=Om.current;Om.current=jh;try{return oh(e)}finally{Om.current=r}},useRef:function(e){return Bm="useRef",Ym(),dh()},useState:function(e){Bm="useState",Ym();var t=Om.current;Om.current=jh;try{return lh()}finally{Om.current=t}},useDebugValue:function(e,t){return Bm="useDebugValue",Ym(),xh()},useResponder:function(e,t){return Bm="useResponder",Ym(),Im(e,t)},useDeferredValue:function(e,t){return Bm="useDeferredValue",Ym(),Ph(e,t)},useTransition:function(e){return Bm="useTransition",Ym(),Nh(e)}},Fh={readContext:function(e,t){return ap(e,t)},useCallback:function(e,t){return Bm="useCallback",Ym(),Sh(e,t)},useContext:function(e,t){return Bm="useContext",Ym(),ap(e,t)},useEffect:function(e,t){return Bm="useEffect",Ym(),hh(e,t)},useImperativeHandle:function(e,t,n){return Bm="useImperativeHandle",Ym(),wh(e,t,n)},useLayoutEffect:function(e,t){return Bm="useLayoutEffect",Ym(),gh(e,t)},useMemo:function(e,t){Bm="useMemo",Ym();var n=Om.current;Om.current=Bh;try{return Ch(e,t)}finally{Om.current=n}},useReducer:function(e,t,n){Bm="useReducer",Ym();var r=Om.current;Om.current=Bh;try{return ah(e)}finally{Om.current=r}},useRef:function(e){return Bm="useRef",Ym(),dh()},useState:function(e){Bm="useState",Ym();var t=Om.current;Om.current=Bh;try{return uh()}finally{Om.current=t}},useDebugValue:function(e,t){return Bm="useDebugValue",Ym(),xh()},useResponder:function(e,t){return Bm="useResponder",Ym(),Im(e,t)},useDeferredValue:function(e,t){return Bm="useDeferredValue",Ym(),Ih(e,t)},useTransition:function(e){return Bm="useTransition",Ym(),Mh(e)}},Wh={readContext:function(e,t){return Vh(),ap(e,t)},useCallback:function(e,t){return Bm="useCallback",Hh(),qm(),Th(e,t)},useContext:function(e,t){return Bm="useContext",Hh(),qm(),ap(e,t)},useEffect:function(e,t){return Bm="useEffect",Hh(),qm(),mh(e,t)},useImperativeHandle:function(e,t,n){return Bm="useImperativeHandle",Hh(),qm(),bh(e,t,n)},useLayoutEffect:function(e,t){return Bm="useLayoutEffect",Hh(),qm(),vh(e,t)},useMemo:function(e,t){Bm="useMemo",Hh(),qm();var n=Om.current;Om.current=Wh;try{return Eh(e,t)}finally{Om.current=n}},useReducer:function(e,t,n){Bm="useReducer",Hh(),qm();var r=Om.current;Om.current=Wh;try{return rh(e,t,n)}finally{Om.current=r}},useRef:function(e){return Bm="useRef",Hh(),qm(),ch(e)},useState:function(e){Bm="useState",Hh(),qm();var t=Om.current;Om.current=Wh;try{return ih(e)}finally{Om.current=t}},useDebugValue:function(e,t){Bm="useDebugValue",Hh(),qm()},useResponder:function(e,t){return Bm="useResponder",Hh(),qm(),Im(e,t)},useDeferredValue:function(e,t){return Bm="useDeferredValue",Hh(),qm(),Rh(e,t)},useTransition:function(e){return Bm="useTransition",Hh(),qm(),Dh(e)}},jh={readContext:function(e,t){return Vh(),ap(e,t)},useCallback:function(e,t){return Bm="useCallback",Hh(),Ym(),Sh(e,t)},useContext:function(e,t){return Bm="useContext",Hh(),Ym(),ap(e,t)},useEffect:function(e,t){return Bm="useEffect",Hh(),Ym(),hh(e,t)},useImperativeHandle:function(e,t,n){return Bm="useImperativeHandle",Hh(),Ym(),wh(e,t,n)},useLayoutEffect:function(e,t){return Bm="useLayoutEffect",Hh(),Ym(),gh(e,t)},useMemo:function(e,t){Bm="useMemo",Hh(),Ym();var n=Om.current;Om.current=jh;try{return Ch(e,t)}finally{Om.current=n}},useReducer:function(e,t,n){Bm="useReducer",Hh(),Ym();var r=Om.current;Om.current=jh;try{return oh(e)}finally{Om.current=r}},useRef:function(e){return Bm="useRef",Hh(),Ym(),dh()},useState:function(e){Bm="useState",Hh(),Ym();var t=Om.current;Om.current=jh;try{return lh()}finally{Om.current=t}},useDebugValue:function(e,t){return Bm="useDebugValue",Hh(),Ym(),xh()},useResponder:function(e,t){return Bm="useResponder",Hh(),Ym(),Im(e,t)},useDeferredValue:function(e,t){return Bm="useDeferredValue",Hh(),Ym(),Ph(e,t)},useTransition:function(e){return Bm="useTransition",Hh(),Ym(),Nh(e)}},Bh={readContext:function(e,t){return Vh(),ap(e,t)},useCallback:function(e,t){return Bm="useCallback",Hh(),Ym(),Sh(e,t)},useContext:function(e,t){return Bm="useContext",Hh(),Ym(),ap(e,t)},useEffect:function(e,t){return Bm="useEffect",Hh(),Ym(),hh(e,t)},useImperativeHandle:function(e,t,n){return Bm="useImperativeHandle",Hh(),Ym(),wh(e,t,n)},useLayoutEffect:function(e,t){return Bm="useLayoutEffect",Hh(),Ym(),gh(e,t)},useMemo:function(e,t){Bm="useMemo",Hh(),Ym();var n=Om.current;Om.current=jh;try{return Ch(e,t)}finally{Om.current=n}},useReducer:function(e,t,n){Bm="useReducer",Hh(),Ym();var r=Om.current;Om.current=jh;try{return ah(e)}finally{Om.current=r}},useRef:function(e){return Bm="useRef",Hh(),Ym(),dh()},useState:function(e){Bm="useState",Hh(),Ym();var t=Om.current;Om.current=jh;try{return uh()}finally{Om.current=t}},useDebugValue:function(e,t){return Bm="useDebugValue",Hh(),Ym(),xh()},useResponder:function(e,t){return Bm="useResponder",Hh(),Ym(),Im(e,t)},useDeferredValue:function(e,t){return Bm="useDeferredValue",Hh(),Ym(),Ih(e,t)},useTransition:function(e){return Bm="useTransition",Hh(),Ym(),Mh(e)}};var Qh=n.unstable_now,qh=0,Yh=-1;function $h(){qh=Qh()}function Kh(e){Yh=Qh(),e.actualStartTime<0&&(e.actualStartTime=Qh())}function Xh(e){Yh=-1}function Gh(e,t){if(Yh>=0){var n=Qh()-Yh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Yh=-1}}var Zh=null,Jh=null,ev=!1;function tv(e,t){switch(e.tag){case P:!function(e,t){t.nodeType===Dn?cl(e,t):t.nodeType===Mn||dl(e,t)}(e.stateNode.containerInfo,t);break;case _:!function(e,t,n,r){!0!==t[Nl]&&(r.nodeType===Dn?cl(n,r):r.nodeType===Mn||dl(n,r))}(e.type,e.memoizedProps,e.stateNode,t)}var n,r=((n=Db(_,null,null,Zd)).elementType="DELETED",n.type="DELETED",n);r.stateNode=t,r.return=e,r.effectTag=Co,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function nv(e,t){switch(t.effectTag=t.effectTag&~Mo|To,e.tag){case P:var n=e.stateNode.containerInfo;switch(t.tag){case _:var r=t.type;t.pendingProps;!function(e,t,n){fl(e,t)}(n,r);break;case D:!function(e,t){pl(e,t)}(n,t.pendingProps)}break;case _:e.type;var o=e.memoizedProps,a=e.stateNode;switch(t.tag){case _:var i=t.type;t.pendingProps;!function(e,t,n,r,o){!0!==t[Nl]&&fl(n,r)}(0,o,a,i);break;case D:!function(e,t,n,r){!0!==t[Nl]&&pl(n,r)}(0,o,a,t.pendingProps);break;case L:!function(e,t,n){t[Nl]}(0,o)}break;default:return}}function rv(e,t){switch(e.tag){case _:var n=e.type,r=(e.pendingProps,function(e,t,n){return e.nodeType!==Dn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n));return null!==r&&(e.stateNode=r,!0);case D:var o=function(e,t){return""===t||e.nodeType!==Nn?null:e}(t,e.pendingProps);return null!==o&&(e.stateNode=o,!0);case L:default:return!1}}function ov(e){if(ev){var t=Jh;if(!t)return nv(Zh,e),ev=!1,void(Zh=e);var n=t;if(!rv(e,t)){if(!(t=ou(n))||!rv(e,t))return nv(Zh,e),ev=!1,void(Zh=e);tv(Zh,n)}Zh=e,Jh=au(t)}}function av(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n){return fu(n,e),function(e,t){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var o=Zh;if(null!==o)switch(o.tag){case P:o.stateNode.containerInfo;!function(e,t,n){sl(t,n)}(0,t,n);break;case _:o.type;var a=o.memoizedProps;o.stateNode;!function(e,t,n,r,o){!0!==t[Nl]&&sl(r,o)}(0,a,0,t,n)}}return r}function iv(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===Mn){var r=t.data;if(r===zl){if(0===n)return ou(t);n--}else r!==Ol&&r!==Ul&&r!==Al||n++}t=t.nextSibling}return null}(n)}function lv(e){for(var t=e.return;null!==t&&t.tag!==_&&t.tag!==P&&t.tag!==L;)t=t.return;Zh=t}function uv(e){if(e!==Zh)return!1;if(!ev)return lv(e),ev=!0,!1;var t=e.type;if(e.tag!==_||"head"!==t&&"body"!==t&&!Ql(t,e.memoizedProps))for(var n=Jh;n;)tv(e,n),n=ou(n);return lv(e),Jh=e.tag===L?iv(e):Zh?ou(e.stateNode):null,!0}function sv(){Zh=null,Jh=null,ev=!1}var cv,dv,fv,pv,mv,hv,vv,gv,yv=a.ReactCurrentOwner,bv=!1;function wv(e,t,n,r){t.child=null===e?am(t,null,n,r):om(t,e.child,n,r)}function kv(e,t,n,o,a){if(t.type!==t.elementType){var i=n.propTypes;i&&r(i,o,"prop",Rt(n),Ot)}var l,u=n.render,s=t.ref;return op(t,a),yv.current=t,Ut(!0),l=Gm(e,t,u,o,s,a),t.mode&Jd&&null!==t.memoizedState&&(l=Gm(e,t,u,o,s,a)),Ut(!1),null===e||bv?(t.effectTag|=xo,wv(e,t,l,a),t.child):(Zm(e,t,a),Qv(e,t,a))}function xv(e,t,n,o,a,i){if(null===e){var l=n.type;if(function(e){return"function"==typeof e&&!Nb(e)&&void 0===e.defaultProps}(l)&&null===n.compare&&void 0===n.defaultProps){var u;return u=Af(l),t.tag=W,t.type=u,Dv(t,l),Tv(e,t,u,o,a,i)}var s=l.propTypes;s&&r(s,o,"prop",Rt(l),Ot);var c=zb(n.type,null,o,null,t.mode,i);return c.ref=t.ref,c.return=t,t.child=c,c}var d=n.type,f=d.propTypes;f&&r(f,o,"prop",Rt(d),Ot);var p=e.child;if(a<i){var m=p.memoizedProps,h=n.compare;if((h=null!==h?h:Ws)(m,o)&&e.ref===t.ref)return Qv(e,t,i)}t.effectTag|=xo;var v=Mb(p,o);return v.ref=t.ref,v.return=t,t.child=v,v}function Tv(e,t,n,o,a,i){if(t.type!==t.elementType){var l=t.elementType;l.$$typeof===gt&&(l=Ct(l));var u=l&&l.propTypes;u&&r(u,o,"prop",Rt(l),Ot)}if(null!==e&&(Ws(e.memoizedProps,o)&&e.ref===t.ref&&t.type===e.type&&(bv=!1,a<i)))return t.expirationTime=e.expirationTime,Qv(e,t,i);return Ev(e,t,n,o,i)}function Sv(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=_o)}function Ev(e,t,n,o,a){if(t.type!==t.elementType){var i=n.propTypes;i&&r(i,o,"prop",Rt(n),Ot)}var l,u;return l=id(t,od(0,n,!0)),op(t,a),yv.current=t,Ut(!0),u=Gm(e,t,n,o,l,a),t.mode&Jd&&null!==t.memoizedState&&(u=Gm(e,t,n,o,l,a)),Ut(!1),null===e||bv?(t.effectTag|=xo,wv(e,t,u,a),t.child):(Zm(e,t,a),Qv(e,t,a))}function Cv(e,t,n,o,a){if(t.type!==t.elementType){var i=n.propTypes;i&&r(i,o,"prop",Rt(n),Ot)}var u,s;ud(n)?(u=!0,pd(t)):u=!1,op(t,a),null===t.stateNode?(null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=To),Kp(t,n,o),Gp(t,n,o,a),s=!0):s=null===e?function(e,t,n,r){var o=e.stateNode,a=e.memoizedProps;o.props=a;var i=o.context,l=t.contextType,u=ed;u="object"==typeof l&&null!==l?ap(l):id(e,od(0,t,!0));var s=t.getDerivedStateFromProps,c="function"==typeof s||"function"==typeof o.getSnapshotBeforeUpdate;c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||a===n&&i===u||Xp(e,o,n,u),kp();var d=e.memoizedState,f=o.state=d;if(bp(e,n,o,r),f=e.memoizedState,a===n&&d===f&&!ld()&&!xp())return"function"==typeof o.componentDidMount&&(e.effectTag|=So),!1;"function"==typeof s&&(Wp(e,t,s,n),f=e.memoizedState);var p=xp()||Yp(e,t,a,n,d,f,u);return p?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(Uc(e,"componentWillMount"),"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),Lc()),"function"==typeof o.componentDidMount&&(e.effectTag|=So)):("function"==typeof o.componentDidMount&&(e.effectTag|=So),e.memoizedProps=n,e.memoizedState=f),o.props=n,o.state=f,o.context=u,p}(t,n,o,a):function(e,t,n,r,o){var a=t.stateNode;mp(e,t);var i=t.memoizedProps;a.props=t.type===t.elementType?i:Hf(t.type,i);var l=a.context,u=n.contextType,s=ed;s="object"==typeof u&&null!==u?ap(u):id(t,od(0,n,!0));var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||i===r&&l===s||Xp(t,a,r,s),kp();var f=t.memoizedState,p=a.state=f;if(bp(t,r,a,o),p=t.memoizedState,i===r&&f===p&&!ld()&&!xp())return"function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=So)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=Do)),!1;"function"==typeof c&&(Wp(t,n,c,r),p=t.memoizedState);var m=xp()||Yp(t,n,i,r,f,p,s);return m?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||(Uc(t,"componentWillUpdate"),"function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,s),Lc()),"function"==typeof a.componentDidUpdate&&(t.effectTag|=So),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=Do)):("function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=So)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=Do)),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=s,m}(e,t,n,o,a);var c=Rv(e,t,n,s,u,a);return t.stateNode.props!==o&&(hv||l("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Rt(t.type)||"a component"),hv=!0),c}function Rv(e,t,n,r,o,a){Sv(e,t);var i=(t.effectTag&Io)!==ko;if(!r&&!i)return o&&md(t,n,!1),Qv(e,t,a);var l,u=t.stateNode;return yv.current=t,i&&"function"!=typeof n.getDerivedStateFromError?(l=null,Xh()):(Ut(!0),l=u.render(),t.mode&Jd&&u.render(),Ut(!1)),t.effectTag|=xo,null!==e&&i?function(e,t,n,r){t.child=om(t,e.child,null,r),t.child=om(t,null,n,r)}(e,t,l,a):wv(e,t,l,a),t.memoizedState=u.state,o&&md(t,n,!0),t.child}function Pv(e){var t=e.stateNode;t.pendingContext?dd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&dd(e,t.context,!1),pm(e,t.containerInfo)}function Iv(e,t,n){Pv(t);var r=t.updateQueue;if(null===e||null===r)throw Error("If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.");var o=t.pendingProps,a=t.memoizedState,i=null!==a?a.element:null;mp(e,t),bp(t,o,null,n);var l,u,s=t.memoizedState.element;if(s===i)return sv(),Qv(e,t,n);if(t.stateNode.hydrate&&(u=(l=t).stateNode.containerInfo,Jh=au(u),Zh=l,ev=!0,1)){var c=am(t,null,s,n);t.child=c;for(var d=c;d;)d.effectTag=d.effectTag&~To|Mo,d=d.sibling}else wv(e,t,s,n),sv();return t.child}function _v(e,t,n,o,a){null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=To);var i=t.pendingProps;Oc(t);var l=Qf(n);t.type=l;var u=t.tag=function(e){if("function"==typeof e)return Nb(e)?C:E;if(null!=e){var t=e.$$typeof;if(t===pt)return A;if(t===vt)return F}return R}(l);Mc(t);var s=Hf(l,i);switch(u){case E:return Dv(t,l),t.type=l=Af(l),Ev(null,t,l,s,a);case C:return t.type=l=Uf(l),Cv(null,t,l,s,a);case A:return t.type=l=Lf(l),kv(null,t,l,s,a);case F:if(t.type!==t.elementType){var c=l.propTypes;c&&r(c,s,"prop",Rt(l),Ot)}return xv(null,t,l,Hf(l.type,s),o,a)}var d="";throw null!==l&&"object"==typeof l&&l.$$typeof===gt&&(d=" Did you wrap a component in React.lazy() more than once?"),Error("Element type is invalid. Received a promise that resolves to: "+l+". Lazy element type must resolve to a class or function."+d)}function Dv(e,t){if(t&&t.childContextTypes&&l("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=Mt();r&&(n+="\n\nCheck the render method of `"+r+"`.");var o=r||e._debugID||"",a=e._debugSource;a&&(o=a.fileName+":"+a.lineNumber),mv[o]||(mv[o]=!0,l("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if("function"==typeof t.getDerivedStateFromProps){var i=Rt(t)||"Unknown";pv[i]||(l("%s: Function components do not support getDerivedStateFromProps.",i),pv[i]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var u=Rt(t)||"Unknown";fv[u]||(l("%s: Function components do not support contextType.",u),fv[u]=!0)}}cv={},dv={},fv={},pv={},mv={},hv=!1,vv={},gv={};var Nv={dehydrated:null,retryTime:of};function Mv(e,t,n){var r=t.mode,o=t.pendingProps;Zb(t)&&(t.effectTag|=Io);var a=km.current,i=!1;if((t.effectTag&Io)!==ko||function(e,t,n){return xm(e,wm)&&(null===t||null!==t.memoizedState)}(a,e)?(i=!0,t.effectTag&=~Io):null!==e&&null===e.memoizedState||void 0!==o.fallback&&!0!==o.unstable_avoidThisFallback&&(a=a|bm),Em(t,a=Tm(a)),null===e){if(void 0!==o.fallback&&ov(t),i){var l=o.fallback,u=Ub(null,r,of,null);if(u.return=t,(t.mode&ef)===Zd){var s=null!==t.memoizedState?t.child.child:t.child;u.child=s;for(var c=s;null!==c;)c.return=u,c=c.sibling}var d=Ub(l,r,n,null);return d.return=t,u.sibling=d,t.memoizedState=Nv,t.child=u,d}var f=o.children;return t.memoizedState=null,t.child=am(t,null,f,n)}if(null!==e.memoizedState){var p=e.child,m=p.sibling;if(i){var h=o.fallback,v=Mb(p,p.pendingProps);if(v.return=t,(t.mode&ef)===Zd){var g=null!==t.memoizedState?t.child.child:t.child;if(g!==p.child){v.child=g;for(var y=g;null!==y;)y.return=v,y=y.sibling}}if(t.mode&nf){for(var b=0,w=v.child;null!==w;)b+=w.treeBaseDuration,w=w.sibling;v.treeBaseDuration=b}var k=Mb(m,h);return k.return=t,v.sibling=k,v.childExpirationTime=of,t.memoizedState=Nv,t.child=v,k}var x=o.children,T=p.child,S=om(t,T,x,n);return t.memoizedState=null,t.child=S}var E=e.child;if(i){var C=o.fallback,R=Ub(null,r,of,null);if(R.return=t,R.child=E,null!==E&&(E.return=R),(t.mode&ef)===Zd){var P=null!==t.memoizedState?t.child.child:t.child;R.child=P;for(var I=P;null!==I;)I.return=R,I=I.sibling}if(t.mode&nf){for(var _=0,D=R.child;null!==D;)_+=D.treeBaseDuration,D=D.sibling;R.treeBaseDuration=_}var N=Ub(C,r,n,null);return N.return=t,R.sibling=N,N.effectTag|=To,R.childExpirationTime=of,t.memoizedState=Nv,t.child=R,N}t.memoizedState=null;var M=o.children;return t.child=om(t,E,M,n)}function Ov(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),rp(e.return,t)}function zv(e,t){var n=Array.isArray(e),r=!n&&"function"==typeof kt(e);if(n||r){var o=n?"array":"iterable";return l("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",o,t,o),!1}return!0}function Av(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailExpiration=0,i.tailMode=o,i.lastEffect=a)}function Uv(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail,i=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!vv[e])if(vv[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":l('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":l('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:l('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else l('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(o),function(e,t){void 0===e||gv[e]||("collapsed"!==e&&"hidden"!==e?(gv[e]=!0,l('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(gv[e]=!0,l('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(a,o),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(Array.isArray(e)){for(var n=0;n<e.length;n++)if(!zv(e[n],n))return}else{var r=kt(e);if("function"==typeof r){var o=r.call(e);if(o)for(var a=o.next(),i=0;!a.done;a=o.next()){if(!zv(a.value,i))return;i++}}else l('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(i,o),wv(e,t,i,n);var u=km.current;xm(u,wm)?(u=Sm(u,wm),t.effectTag|=Io):(null!==e&&(e.effectTag&Io)!==ko&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===L)null!==r.memoizedState&&Ov(r,n);else if(r.tag===H)Ov(r,n);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),u=Tm(u));if(Em(t,u),(t.mode&ef)===Zd)t.memoizedState=null;else switch(o){case"forwards":var s,c=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===Pm(r)&&(n=t),t=t.sibling}return n}(t.child);null===c?(s=t.child,t.child=null):(s=c.sibling,c.sibling=null),Av(t,!1,s,c,a,t.lastEffect);break;case"backwards":var d=null,f=t.child;for(t.child=null;null!==f;){var p=f.alternate;if(null!==p&&null===Pm(p)){t.child=f;break}var m=f.sibling;f.sibling=d,d=f,f=m}Av(t,!0,d,null,a,t.lastEffect);break;case"together":Av(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Lv(e,t,n){var o=t.type._context,a=t.pendingProps,i=t.memoizedProps,u=a.value,s=t.type.propTypes;if(s&&r(s,a,"prop","Context.Provider",Ot),tp(t,u),null!==i){var c=function(e,t,n){if(Ls(n,t))return 0;var r="function"==typeof e._calculateChangedBits?e._calculateChangedBits(n,t):rf;return(r&rf)!==r&&l("calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: %s",r),0|r}(o,u,i.value);if(0===c){if(i.children===a.children&&!ld())return Qv(e,t,n)}else!function(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=void 0,i=o.dependencies;if(null!==i){a=o.child;for(var l=i.firstContext;null!==l;){if(l.context===t&&0!=(l.observedBits&n)){if(o.tag===C){var u=hp(r,null);u.tag=cp,vp(o,u)}o.expirationTime<r&&(o.expirationTime=r);var s=o.alternate;null!==s&&s.expirationTime<r&&(s.expirationTime=r),rp(o.return,r),i.expirationTime<r&&(i.expirationTime=r);break}l=l.next}}else a=o.tag===z&&o.type===e.type?null:o.child;if(null!==a)a.return=o;else for(a=o;null!==a;){if(a===e){a=null;break}var c=a.sibling;if(null!==c){c.return=a.return,a=c;break}a=a.return}o=a}}(t,o,c,n)}return wv(e,t,a.children,n),t.child}var Fv,Wv,jv,Bv,Vv=!1;function Hv(){bv=!0}function Qv(e,t,n){Oc(t),null!==e&&(t.dependencies=e.dependencies),Xh();var r=t.expirationTime;return r!==of&&Uy(r),t.childExpirationTime<n?null:(function(e,t){if(null!==e&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=Mb(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=Mb(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child)}function qv(e,t,n){var o=t.expirationTime;if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw new Error("Expected to find the previous sibling.");o.sibling=n}var a=r.lastEffect;return null!==a?(a.nextEffect=e,r.lastEffect=e):r.firstEffect=r.lastEffect=e,e.nextEffect=null,e.effectTag=Co,n.effectTag|=To,n}(e,t,zb(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.expirationTime));if(null!==e){var a=e.memoizedProps,i=t.pendingProps;if(a!==i||ld()||t.type!==e.type)bv=!0;else{if(o<n){switch(bv=!1,t.tag){case P:Pv(t),sv();break;case _:if(vm(t),t.mode&tf&&n!==af&&ql(t.type,i))return fb(af),t.expirationTime=t.childExpirationTime=af,null;break;case C:ud(t.type)&&pd(t);break;case I:pm(t,t.stateNode.containerInfo);break;case z:tp(t,t.memoizedProps.value);break;case U:t.childExpirationTime>=n&&(t.effectTag|=So);break;case L:if(null!==t.memoizedState){var u=t.child.childExpirationTime;if(u!==of&&u>=n)return Mv(e,t,n);Em(t,Tm(km.current));var s=Qv(e,t,n);return null!==s?s.sibling:null}Em(t,Tm(km.current));break;case H:var c=(e.effectTag&Io)!==ko,d=t.childExpirationTime>=n;if(c){if(d)return Uv(e,t,n);t.effectTag|=Io}var f=t.memoizedState;if(null!==f&&(f.rendering=null,f.tail=null),Em(t,km.current),d)break;return null}return Qv(e,t,n)}bv=!1}}else bv=!1;switch(t.expirationTime=of,t.tag){case R:return function(e,t,n,r){null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=To);var o,a,i=t.pendingProps;if(o=id(t,od(0,n,!1)),op(t,r),n.prototype&&"function"==typeof n.prototype.render){var u=Rt(n)||"Unknown";cv[u]||(l("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",u,u),cv[u]=!0)}if(t.mode&Jd&&xf.recordLegacyContextWarning(t,null),Ut(!0),yv.current=t,a=Gm(null,t,n,i,o,r),Ut(!1),t.effectTag|=xo,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){var s=Rt(n)||"Unknown";dv[s]||(l("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",s,s,s),dv[s]=!0),t.tag=C,t.memoizedState=null,t.updateQueue=null;var c=!1;ud(n)?(c=!0,pd(t)):c=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,pp(t);var d=n.getDerivedStateFromProps;return"function"==typeof d&&Wp(t,n,d,i),$p(t,a),Gp(t,n,i,r),Rv(null,t,n,!0,c,r)}return t.tag=E,t.mode&Jd&&null!==t.memoizedState&&(a=Gm(null,t,n,i,o,r)),wv(null,t,a,r),Dv(t,n),t.child}(e,t,t.type,n);case j:return _v(e,t,t.elementType,o,n);case E:var p=t.type,m=t.pendingProps;return Ev(e,t,p,t.elementType===p?m:Hf(p,m),n);case C:var h=t.type,v=t.pendingProps;return Cv(e,t,h,t.elementType===h?v:Hf(h,v),n);case P:return Iv(e,t,n);case _:return function(e,t,n){vm(t),null===e&&ov(t);var r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children;return Ql(r,o)?i=null:null!==a&&Ql(r,a)&&(t.effectTag|=Ro),Sv(e,t),t.mode&tf&&n!==af&&ql(0,o)?(fb(af),t.expirationTime=t.childExpirationTime=af,null):(wv(e,t,i,n),t.child)}(e,t,n);case D:return function(e,t){return null===e&&ov(t),null}(e,t);case L:return Mv(e,t,n);case I:return function(e,t,n){pm(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=om(t,null,r,n):wv(e,t,r,n),t.child}(e,t,n);case A:var g=t.type,y=t.pendingProps;return kv(e,t,g,t.elementType===g?y:Hf(g,y),n);case N:return function(e,t,n){return wv(e,t,t.pendingProps,n),t.child}(e,t,n);case M:return function(e,t,n){return wv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case U:return function(e,t,n){return t.effectTag|=So,wv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case z:return Lv(e,t,n);case O:return function(e,t,n){var r=t.type;void 0===r._context?r!==r.Consumer&&(Vv||(Vv=!0,l("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var o=t.pendingProps,a=o.children;"function"!=typeof a&&l("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),op(t,n);var i,u=ap(r,o.unstable_observedBits);return yv.current=t,Ut(!0),i=a(u),Ut(!1),t.effectTag|=xo,wv(e,t,i,n),t.child}(e,t,n);case F:var b=t.type,w=Hf(b,t.pendingProps);if(t.type!==t.elementType){var k=b.propTypes;k&&r(k,w,"prop",Rt(b),Ot)}return xv(e,t,b,w=Hf(b.type,w),o,n);case W:return Tv(e,t,t.type,t.pendingProps,o,n);case B:var x=t.type,T=t.pendingProps;return function(e,t,n,r,o){var a;return null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=To),t.tag=C,ud(n)?(a=!0,pd(t)):a=!1,op(t,o),Kp(t,n,r),Gp(t,n,r,o),Rv(null,t,n,!0,a,o)}(e,t,x,t.elementType===x?T:Hf(x,T),n);case H:return Uv(e,t,n)}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Yv(e){e.effectTag|=So}function $v(e){e.effectTag|=_o}function Kv(e,t){switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var o=e.tail,a=null;null!==o;)null!==o.alternate&&(a=o),o=o.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Xv(e,t,n){var r=t.pendingProps;switch(t.tag){case R:case j:case W:case E:case A:case N:case M:case U:case O:case F:return null;case C:return ud(t.type)&&sd(t),null;case P:mm(t),cd(t);var o=t.stateNode;if(o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null===e||null===e.child)uv(t)&&Yv(t);return Wv(t),null;case _:gm(t);var a=fm(),i=t.type;if(null!==e&&null!=t.stateNode)jv(e,t,i,r,a),e.ref!==t.ref&&$v(t);else{if(!r){if(null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return null}var l=hm();if(uv(t))(function(e,t,n){var r=iu(e.stateNode,e.type,e.memoizedProps,t,n,e);return e.updateQueue=r,null!==r})(t,a,l)&&Yv(t);else{var u=Hl(i,r,a,l,t);Fv(u,t,!1,!1),t.stateNode=u,function(e,t,n,r,o){return il(e,t,n,r),jl(t,n)}(u,i,r,a)&&Yv(t)}null!==t.ref&&$v(t)}return null;case D:var s=r;if(e&&null!=t.stateNode){var c=e.memoizedProps;Bv(e,t,c,s)}else{if("string"!=typeof s&&null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var d=fm(),f=hm();uv(t)?av(t)&&Yv(t):t.stateNode=Yl(s,d,f,t)}return null;case L:Cm(t);var p=t.memoizedState;if((t.effectTag&Io)!==ko)return t.expirationTime=n,t;var m=null!==p,h=!1;if(null===e)void 0!==t.memoizedProps.fallback&&uv(t);else{var v=e.memoizedState;if(h=null!==v,!m&&null!==v){var g=e.child.sibling;if(null!==g){var y=t.firstEffect;null!==y?(t.firstEffect=g,g.nextEffect=y):(t.firstEffect=t.lastEffect=g,g.nextEffect=null),g.effectTag=Co}}}if(m&&!h)if((t.mode&ef)!==Zd)null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||xm(km.current,bm)?$g===Lg&&($g=jg):function(){$g!==Lg&&$g!==jg||($g=Bg);Jg!==of&&null!==Qg&&(Hb(Qg,Yg),Qb(Qg,Jg))}();return(m||h)&&(t.effectTag|=So),null;case I:return mm(t),Wv(t),null;case z:return np(t),null;case B:return ud(t.type)&&sd(t),null;case H:Cm(t);var b=t.memoizedState;if(null===b)return null;var w=(t.effectTag&Io)!==ko,k=b.rendering;if(null===k){if(w)Kv(b,!1);else if(!($g===Lg&&(null===e||(e.effectTag&Io)===ko)))for(var x=t.child;null!==x;){var T=Pm(x);if(null!==T){w=!0,t.effectTag|=Io,Kv(b,!1);var S=T.updateQueue;return null!==S&&(t.updateQueue=S,t.effectTag|=So),null===b.lastEffect&&(t.firstEffect=null),t.lastEffect=b.lastEffect,im(t,n),Em(t,Sm(km.current,wm)),t.child}x=x.sibling}}else{if(!w){var V=Pm(k);if(null!==V){t.effectTag|=Io,w=!0;var Q=V.updateQueue;if(null!==Q&&(t.updateQueue=Q,t.effectTag|=So),Kv(b,!0),null===b.tail&&"hidden"===b.tailMode&&!k.alternate){var q=t.lastEffect=b.lastEffect;return null!==q&&(q.nextEffect=null),null}}else if(2*Hd()-b.renderingStartTime>b.tailExpiration&&n>af){t.effectTag|=Io,w=!0,Kv(b,!1);var Y=n-1;t.expirationTime=t.childExpirationTime=Y,fb(Y)}}if(b.isBackwards)k.sibling=t.child,t.child=k;else{var $=b.last;null!==$?$.sibling=k:t.child=k,b.last=k}}if(null!==b.tail){if(0===b.tailExpiration){b.tailExpiration=Hd()+500}var K=b.tail;b.rendering=K,b.tail=K.sibling,b.lastEffect=t.lastEffect,b.renderingStartTime=Hd(),K.sibling=null;var X=km.current;return Em(t,X=w?Sm(X,wm):Tm(X)),K}return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Gv(e,t){switch(e.tag){case C:ud(e.type)&&sd(e);var n=e.effectTag;return n&Lo?(e.effectTag=n&~Lo|Io,e):null;case P:mm(e),cd(e);var r=e.effectTag;if((r&Io)!==ko)throw Error("The root failed to unmount after an error. This is likely a bug in React. Please file an issue.");return e.effectTag=r&~Lo|Io,e;case _:return gm(e),null;case L:Cm(e);var o=e.effectTag;return o&Lo?(e.effectTag=o&~Lo|Io,e):null;case H:return Cm(e),null;case I:return mm(e),null;case z:return np(e),null;default:return null}}function Zv(e){switch(e.tag){case C:var t=e.type.childContextTypes;null!=t&&sd(e);break;case P:mm(e),cd(e);break;case _:gm(e);break;case I:mm(e);break;case L:case H:Cm(e);break;case z:np(e)}}function Jv(e,t){return{value:e,source:t,stack:_t(t)}}Fv=function(e,t,n,r){for(var o,a,i=t.child;null!==i;){if(i.tag===_||i.tag===D)o=e,a=i.stateNode,o.appendChild(a);else if(i.tag===I);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)return;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Wv=function(e){},jv=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var i=function(e,t,n,r,o,a){var i=a;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var l=""+r.children,u=Cl(i.ancestorInfo,t);El(null,l,u)}return ll(e,t,n,r,o)}(t.stateNode,n,a,r,o,hm());t.updateQueue=i,i&&Yv(t)}},Bv=function(e,t,n,r){n!==r&&Yv(t)};var eg=null;eg=new Set;var tg="function"==typeof WeakSet?WeakSet:Set;function ng(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=_t(n));var o={componentName:null!==n?Rt(n.type):null,componentStack:null!==r?r:"",error:t.value,errorBoundary:null,errorBoundaryName:null,errorBoundaryFound:!1,willRetry:!1};null!==e&&e.tag===C&&(o.errorBoundary=e.stateNode,o.errorBoundaryName=Rt(e.type),o.errorBoundaryFound=!0,o.willRetry=!0);try{!function(e){var t=e.error,n=e.componentName,r=e.componentStack,o=e.errorBoundaryName,a=e.errorBoundaryFound,i=e.willRetry;if(null!=t&&t._suppressLogging){if(a&&i)return;console.error(t)}var l=(n?"The above error occurred in the <"+n+"> component:":"The above error occurred in one of your React components:")+r+"\n\n"+(a&&o?i?"React will try to recreate this component tree from scratch using the error boundary you provided, "+o+".":"This error was initially handled by the error boundary "+o+".\nRecreating the tree from scratch failed so React will unmount the tree.":"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://fb.me/react-error-boundaries to learn more about error boundaries.");console.error(l)}(o)}catch(a){setTimeout(function(){throw a})}}var rg=function(e,t){Uc(e,"componentWillUnmount"),t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount(),Lc()};function og(e){var t=e.ref;null!==t&&("function"==typeof t?(g(null,t,null,null),y()&&Jy(e,b())):t.current=null)}function ag(e,t){(g(null,t,null),y())&&Jy(e,b())}function ig(e,t){switch(t.tag){case E:case A:case W:case Y:return;case C:if(t.effectTag&Do&&null!==e){var n=e.memoizedProps,r=e.memoizedState;Uc(t,"getSnapshotBeforeUpdate");var o=t.stateNode;t.type!==t.elementType||hv||(o.props!==t.memoizedProps&&l("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(t.type)||"instance"),o.state!==t.memoizedState&&l("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(t.type)||"instance"));var a=o.getSnapshotBeforeUpdate(t.elementType===t.type?n:Hf(t.type,n),r),i=eg;void 0!==a||i.has(t.type)||(i.add(t.type),l("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Rt(t.type))),o.__reactInternalSnapshotBeforeUpdate=a,Lc()}return;case P:case _:case D:case I:case B:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function lg(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next,a=o;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,void 0!==i&&i()}a=a.next}while(a!==o)}}function ug(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next,a=o;do{if((a.tag&e)===e){var i=a.create;a.destroy=i();var u=a.destroy;if(void 0!==u&&"function"!=typeof u){l("An effect function must not return anything besides a function, which is used for clean-up.%s%s",null===u?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof u.then?"\n\nIt looks like you wrote useEffect(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\nuseEffect(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://fb.me/react-hooks-data-fetching":" You returned: "+u,_t(t))}}a=a.next}while(a!==o)}}function sg(e){if((e.effectTag&No)!==ko)switch(e.tag){case E:case A:case W:case Y:lg(Mm|Dm,e),ug(Mm|Dm,e)}}function cg(e,t,n,r){switch(n.tag){case E:case A:case W:case Y:return void ug(Nm|Dm,n);case C:var o=n.stateNode;if(n.effectTag&So)if(null===t)Uc(n,"componentDidMount"),n.type!==n.elementType||hv||(o.props!==n.memoizedProps&&l("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(n.type)||"instance"),o.state!==n.memoizedState&&l("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(n.type)||"instance")),o.componentDidMount(),Lc();else{var a=n.elementType===n.type?t.memoizedProps:Hf(n.type,t.memoizedProps),i=t.memoizedState;Uc(n,"componentDidUpdate"),n.type!==n.elementType||hv||(o.props!==n.memoizedProps&&l("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(n.type)||"instance"),o.state!==n.memoizedState&&l("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(n.type)||"instance")),o.componentDidUpdate(a,i,o.__reactInternalSnapshotBeforeUpdate),Lc()}var u=n.updateQueue;return void(null!==u&&(n.type!==n.elementType||hv||(o.props!==n.memoizedProps&&l("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(n.type)||"instance"),o.state!==n.memoizedState&&l("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(n.type)||"instance")),Tp(0,u,o)));case P:var s=n.updateQueue;if(null!==s){var c=null;if(null!==n.child)switch(n.child.tag){case _:c=Bl(n.child.stateNode);break;case C:c=n.child.stateNode}Tp(0,s,c)}return;case _:var d=n.stateNode;if(null===t&&n.effectTag&So)!function(e,t,n,r){jl(t,n)&&e.focus()}(d,n.type,n.memoizedProps);return;case D:case I:return;case U:var f=n.memoizedProps.onRender;return void("function"==typeof f&&f(n.memoizedProps.id,null===t?"mount":"update",n.actualDuration,n.treeBaseDuration,n.actualStartTime,qh,e.memoizedInteractions));case L:return void function(e,t){if(null===t.memoizedState){var n=t.alternate;if(null!==n){var r=n.memoizedState;if(null!==r){var o=r.dehydrated;null!==o&&function(e){Da(e)}(o)}}}}(0,n);case H:case B:case Q:case q:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function dg(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;switch(e.tag){case _:n=Bl(r);break;default:n=r}"function"==typeof t?t(n):(t.hasOwnProperty("current")||l("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().%s",Rt(e.type),_t(e)),t.current=n)}}function fg(e){var t=e.ref;null!==t&&("function"==typeof t?t(null):t.current=null)}function pg(e,t,n){var r;switch(r=t,"function"==typeof wb&&wb(r),t.tag){case E:case A:case F:case W:case Y:var o=t.updateQueue;if(null!==o){var a=o.lastEffect;if(null!==a){var i=a.next;Yd(n>Od?Od:n,function(){var e=i;do{var n=e.destroy;void 0!==n&&ag(t,n),e=e.next}while(e!==i)})}}return;case C:og(t);var l=t.stateNode;return void("function"==typeof l.componentWillUnmount&&function(e,t){g(null,rg,null,e,t),y()&&Jy(e,b())}(t,l));case _:return void og(t);case I:return void gg(e,t,n);case Q:case V:case q:return}}function mg(e,t,n){for(var r=t;;)if(pg(e,r,n),null===r.child||r.tag===I){if(r===t)return;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}else r.child.return=r,r=r.child}function hg(e){return e.tag===_||e.tag===P||e.tag===I}function vg(e){var t,n,r=function(e){for(var t=e.return;null!==t;){if(hg(t))return t;t=t.return}throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e),o=r.stateNode;switch(r.tag){case _:t=o,n=!1;break;case P:case I:t=o.containerInfo,n=!0;break;case Q:default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}r.effectTag&Ro&&(Gl(t),r.effectTag&=~Ro);var a=function(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||hg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==_&&t.tag!==D&&t.tag!==V;){if(t.effectTag&To)continue e;if(null===t.child||t.tag===I)continue e;t.child.return=t,t=t.child}if(!(t.effectTag&To))return t.stateNode}}(e);n?function e(t,n,r){var o=t.tag;var a=o===_||o===D;if(a||ge){var i=a?t.stateNode:t.stateNode.instance;n?function(e,t,n){e.nodeType===Mn?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(r,i,n):function(e,t){var n;e.nodeType===Mn?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t);var r=e._reactRootContainer;null==r&&null===n.onclick&&al(n)}(r,i)}else if(o===I);else{var l=t.child;if(null!==l){e(l,n,r);for(var u=l.sibling;null!==u;)e(u,n,r),u=u.sibling}}}(e,a,t):function e(t,n,r){var o=t.tag;var a=o===_||o===D;if(a||ge){var i=a?t.stateNode:t.stateNode.instance;n?function(e,t,n){e.insertBefore(t,n)}(r,i,n):function(e,t){e.appendChild(t)}(r,i)}else if(o===I);else{var l=t.child;if(null!==l){e(l,n,r);for(var u=l.sibling;null!==u;)e(u,n,r),u=u.sibling}}}(e,a,t)}function gg(e,t,n){for(var r,o,a,i,l=t,u=!1;;){if(!u){var s=l.return;e:for(;;){if(null===s)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");var c=s.stateNode;switch(s.tag){case _:r=c,o=!1;break e;case P:case I:r=c.containerInfo,o=!0;break e}s=s.return}u=!0}if(l.tag===_||l.tag===D)mg(e,l,n),o?(a=r,i=l.stateNode,a.nodeType===Mn?a.parentNode.removeChild(i):a.removeChild(i)):Zl(r,l.stateNode);else if(l.tag===I){if(null!==l.child){r=l.stateNode.containerInfo,o=!0,l.child.return=l,l=l.child;continue}}else if(pg(e,l,n),null!==l.child){l.child.return=l,l=l.child;continue}if(l===t)return;for(;null===l.sibling;){if(null===l.return||l.return===t)return;(l=l.return).tag===I&&(u=!1)}l.sibling.return=l.return,l=l.sibling}}function yg(e,t,n){gg(e,t,n),function e(t){var n=t.alternate;t.return=null,t.child=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.alternate=null,t.firstEffect=null,t.lastEffect=null,t.pendingProps=null,t.memoizedProps=null,t.stateNode=null,null!==n&&e(n)}(t)}function bg(e,t){switch(t.tag){case E:case A:case F:case W:case Y:return void lg(Nm|Dm,t);case C:return;case _:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r,a=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&function(e,t,n,r,o,a){bu(e,o),ul(e,t,n,r,o)}(n,i,a,o,r)}return;case D:if(null===t.stateNode)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var l=t.stateNode,u=t.memoizedProps;null!==e&&e.memoizedProps;return void function(e,t,n){e.nodeValue=n}(l,0,u);case P:var s=t.stateNode;return void(s.hydrate&&(s.hydrate=!1,Da(s.containerInfo)));case U:return;case L:return function(e){var t,n=e.memoizedState,r=e;null===n?t=!1:(t=!0,r=e.child,ty=Hd());null!==r&&function(e,t){for(var n=e;;){if(n.tag===_){var r=n.stateNode;t?Jl(r):eu(n.stateNode,n.memoizedProps)}else if(n.tag===D){var o=n.stateNode;t?o.nodeValue="":tu(o,n.memoizedProps)}else{if(n.tag===L&&null!==n.memoizedState&&null===n.memoizedState.dehydrated){var a=n.child.sibling;a.return=n,n=a;continue}if(null!==n.child){n.child.return=n,n=n.child;continue}}if(n===e)return;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}(r,t)}(t),void wg(t);case H:return void wg(t);case B:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function wg(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new tg),t.forEach(function(t){var r=function(e,t){var n,r=of;null!==(n=e.stateNode)&&n.delete(t);!function(e,t){if(t===of){var n=wy();t=ky(n,e,null)}var r=Ty(e,t);null!==r&&(Ey(r),mb(r,t))}(e,r)}.bind(null,e,t);n.has(t)||(!0!==t.__reactDoNotTraceInteractions&&(r=o.unstable_wrap(r)),n.add(t),t.then(r,r))})}}function kg(e){Gl(e.stateNode)}var xg="function"==typeof WeakMap?WeakMap:Map;function Tg(e,t,n){var r=hp(n,null);r.tag=dp,r.payload={element:null};var o=t.value;return r.callback=function(){Gy(o),ng(e,t)},r}function Sg(e,t,n){var r=hp(n,null);r.tag=dp;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var a=t.value;r.payload=function(){return ng(e,t),o(a)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch?r.callback=function(){var n;Wf(e),"function"!=typeof o&&(n=this,null===iy?iy=new Set([n]):iy.add(n),ng(e,t));var r=t.value,a=t.stack;this.componentDidCatch(r,{componentStack:null!==a?a:""}),"function"!=typeof o&&e.expirationTime!==sf&&l("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Rt(e.type)||"Unknown")}:r.callback=function(){Wf(e)},r}function Eg(e,t,n){var r,o=e.pingCache;if(null===o?(o=e.pingCache=new xg,r=new Set,o.set(n,r)):void 0===(r=o.get(n))&&(r=new Set,o.set(n,r)),!r.has(t)){r.add(t);var a=function(e,t,n){var r=e.pingCache;null!==r&&r.delete(t);if(Qg===e&&Yg===n)return void($g===Bg||$g===jg&&Xg===sf&&Hd()-ty<ny?_y(e,Yg):ey=!0);if(!Vb(e,n))return;var o=e.lastPingedTime;if(o!==of&&o<n)return;e.lastPingedTime=n,Ey(e),mb(e,n)}.bind(null,e,n,t);n.then(a,a)}}function Cg(e,t,n,r,o){if(n.effectTag|=Uo,n.firstEffect=n.lastEffect=null,null!==r&&"object"==typeof r&&"function"==typeof r.then){var a=r;if((n.mode&ef)===Zd){var i=n.alternate;i?(n.updateQueue=i.updateQueue,n.memoizedState=i.memoizedState,n.expirationTime=i.expirationTime):(n.updateQueue=null,n.memoizedState=null)}var l=xm(km.current,bm),u=t;do{if(u.tag===L&&Rm(u,l)){var s=u.updateQueue;if(null===s){var c=new Set;c.add(a),u.updateQueue=c}else s.add(a);if((u.mode&ef)===Zd){if(u.effectTag|=Io,n.effectTag&=~(zo|Uo),n.tag===C)if(null===n.alternate)n.tag=B;else{var d=hp(sf,null);d.tag=cp,vp(n,d)}return void(n.expirationTime=sf)}return Eg(e,o,a),u.effectTag|=Lo,void(u.expirationTime=o)}u=u.return}while(null!==u);r=new Error((Rt(n.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+_t(n))}$g!==Vg&&($g=Wg),r=Jv(r,n);var f=t;do{switch(f.tag){case P:var p=r;return f.effectTag|=Lo,f.expirationTime=o,void gp(f,Tg(f,p,o));case C:var m=r,h=f.type,v=f.stateNode;if((f.effectTag&Io)===ko&&("function"==typeof h.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&!Xy(v)))return f.effectTag|=Lo,f.expirationTime=o,void gp(f,Sg(f,m,o))}f=f.return}while(null!==f)}var Rg=Math.ceil,Pg=a.ReactCurrentDispatcher,Ig=a.ReactCurrentOwner,_g=a.IsSomeRendererActing,Dg=0,Ng=1,Mg=2,Og=4,zg=8,Ag=16,Ug=32,Lg=0,Fg=1,Wg=2,jg=3,Bg=4,Vg=5,Hg=Dg,Qg=null,qg=null,Yg=of,$g=Lg,Kg=null,Xg=sf,Gg=sf,Zg=null,Jg=of,ey=!1,ty=0,ny=500,ry=null,oy=!1,ay=null,iy=null,ly=!1,uy=null,sy=Ud,cy=of,dy=null,fy=50,py=0,my=null,hy=50,vy=0,gy=null,yy=null,by=of;function wy(){return(Hg&(Ag|Ug))!==Dg?pf(Hd()):by!==of?by:by=pf(Hd())}function ky(e,t,n){var r=t.mode;if((r&ef)===Zd)return sf;var o,a=Qd();if((r&tf)===Zd)return a===Nd?sf:cf;if((Hg&Ag)!==Dg)return Yg;if(null!==n)o=function(e,t){return hf(e,t,gf)}(e,0|n.timeoutMs||vf);else switch(a){case Nd:o=sf;break;case Md:o=wf(e);break;case Od:case zd:o=function(e){return hf(e,vf,gf)}(e);break;case Ad:o=lf;break;default:throw Error("Expected a valid priority level")}return null!==Qg&&o===Yg&&(o-=1),o}var xy=function(e,t){!function(){if(py>fy)throw py=0,my=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");vy>hy&&(vy=0,l("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),function(e){if(Nt&&(Hg&Ag)!==Dg)switch(e.tag){case E:case A:case W:var t=qg&&Rt(qg.type)||"Unknown",n=t;if(!ob.has(n)){ob.add(n);var r=Rt(e.type)||"Unknown";l("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://fb.me/setstate-in-render",r,t,t)}break;case C:ab||(l("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ab=!0)}}(e);var n=Ty(e,t);if(null!==n){var r,o;r=e,o=t,null!==Qg&&o>Yg&&(gy=r),pc&&(mc=!0),null!==dc&&"componentWillMount"!==dc&&"componentWillReceiveProps"!==dc&&(hc=!0);var a=Qd();if(t===sf?(Hg&zg)!==Dg&&(Hg&(Ag|Ug))===Dg?(mb(n,t),Cy(n)):(Ey(n),mb(n,t),Hg===Dg&&Xd()):(Ey(n),mb(n,t)),(Hg&Og)!==Dg&&(a===Md||a===Nd))if(null===dy)dy=new Map([[n,t]]);else{var i=dy.get(n);(void 0===i||i>t)&&dy.set(n,t)}}else!function(e){var t=e.tag;if(t===P||t===C||t===E||t===A||t===F||t===W||t===Y){var n=Rt(e.type)||"ReactComponent";if(null!==rb){if(rb.has(n))return;rb.add(n)}else rb=new Set([n]);l("Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s",t===C?"the componentWillUnmount method":"a useEffect cleanup function",_t(e))}}(e)};function Ty(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&e.tag===P)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t?(r.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t)):null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&r.tag===P){o=r.stateNode;break}r=r.return}return null!==o&&(Qg===o&&(Uy(t),$g===Bg&&Hb(o,Yg)),Qb(o,t)),o}function Sy(e){var t=e.lastExpiredTime;if(t!==of)return t;var n=e.firstPendingTime;if(!Vb(e,n))return n;var r=e.lastPingedTime,o=e.nextKnownPendingLevel,a=r>o?r:o;return a<=lf&&n!==a?of:a}function Ey(e){if(e.lastExpiredTime!==of)return e.callbackExpirationTime=sf,e.callbackPriority=Nd,void(e.callbackNode=Kd(Cy.bind(null,e)));var t=Sy(e),n=e.callbackNode;if(t!==of){var r,o=kf(wy(),t);if(null!==n){var a=e.callbackPriority;if(e.callbackExpirationTime===t&&a>=o)return;!function(e){e!==Dd&&kd(e)}(n)}e.callbackExpirationTime=t,e.callbackPriority=o,r=t===sf?Kd(Cy.bind(null,e)):$d(o,function e(t,n){by=of;if(n){var r=wy();return qb(t,r),Ey(t),null}var o=Sy(t);if(o!==of){var a=t.callbackNode;if((Hg&(Ag|Ug))!==Dg)throw Error("Should not already be working.");if($y(),t===Qg&&o===Yg||(_y(t,o),hb(t,o)),null!==qg){var i=Hg;Hg|=Ag;var l=Ny(),u=Oy(t);for(Fc(qg);;)try{Fy();break}catch(d){Dy(t,d)}if(Zf(),Hg=i,My(l),zy(u),$g===Fg){var s=Kg;throw tb(),_y(t,o),Hb(t,o),Ey(t),s}if(null!==qg)tb();else{eb();var c=t.finishedWork=t.current.alternate;t.finishedExpirationTime=o,function(e,t,n,r){switch(Qg=null,n){case Lg:case Fg:throw Error("Root did not complete. This is a bug in React.");case Wg:qb(e,r>lf?lf:r);break;case jg:Hb(e,r);var o=e.lastSuspendedTime;r===o&&(e.nextKnownPendingLevel=By(t));var a=Xg===sf;if(a&&!ib.current){var i=ty+ny-Hd();if(i>10){if(ey){var l=e.lastPingedTime;if(l===of||l>=r){e.lastPingedTime=r,_y(e,r);break}}var u=Sy(e);if(u!==of&&u!==r)break;if(o!==of&&o!==r){e.lastPingedTime=o;break}e.timeoutHandle=$l(Hy.bind(null,e),i);break}}Hy(e);break;case Bg:Hb(e,r);var s=e.lastSuspendedTime;if(r===s&&(e.nextKnownPendingLevel=By(t)),!ib.current){if(ey){var c=e.lastPingedTime;if(c===of||c>=r){e.lastPingedTime=r,_y(e,r);break}}var d,f=Sy(e);if(f!==of&&f!==r)break;if(s!==of&&s!==r){e.lastPingedTime=s;break}if(Gg!==sf)d=mf(Gg)-Hd();else if(Xg===sf)d=0;else{var p=function(e){return mf(e)-vf}(Xg),m=Hd(),h=mf(r)-m,v=m-p;v<0&&(v=0),d=function(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:1960*Rg(e/1960)}(v)-v,h<d&&(d=h)}if(d>10){e.timeoutHandle=$l(Hy.bind(null,e),d);break}}Hy(e);break;case Vg:if(!ib.current&&Xg!==sf&&null!==Zg){var g=function(e,t,n){var r=0|n.busyMinDurationMs;if(r<=0)return 0;var o=0|n.busyDelayMs,a=Hd(),i=function(e,t){return mf(e)-(0|t.timeoutMs||vf)}(e,n),l=a-i;if(l<=o)return 0;return o+r-l}(Xg,0,Zg);if(g>10){Hb(e,r),e.timeoutHandle=$l(Hy.bind(null,e),g);break}}Hy(e);break;default:throw Error("Unknown root exit status.")}}(t,c,$g,o)}if(Ey(t),t.callbackNode===a)return e.bind(null,t)}}return null}.bind(null,e),{timeout:mf(t)-Hd()}),e.callbackNode=r}else null!==n&&(e.callbackNode=null,e.callbackExpirationTime=of,e.callbackPriority=Ud)}function Cy(e){var t=e.lastExpiredTime,n=t!==of?t:sf;if((Hg&(Ag|Ug))!==Dg)throw Error("Should not already be working.");if($y(),e===Qg&&n===Yg||(_y(e,n),hb(e,n)),null!==qg){var r=Hg;Hg|=Ag;var o=Ny(),a=Oy(e);for(Fc(qg);;)try{Ly();break}catch(l){Dy(e,l)}if(Zf(),Hg=r,My(o),zy(a),$g===Fg){var i=Kg;throw tb(),_y(e,n),Hb(e,n),Ey(e),i}if(null!==qg)throw Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");eb(),e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,function(e){Qg=null,Hy(e)}(e),Ey(e)}return null}function Ry(e,t){var n=Hg;Hg|=Ng;try{return e(t)}finally{(Hg=n)===Dg&&Xd()}}function Py(e,t){var n=Hg;Hg&=~Ng,Hg|=zg;try{return e(t)}finally{(Hg=n)===Dg&&Xd()}}function Iy(e,t){if((Hg&(Ag|Ug))!==Dg)throw Error("flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.");var n=Hg;Hg|=Ng;try{return Yd(Nd,e.bind(null,t))}finally{Hg=n,Xd()}}function _y(e,t){e.finishedWork=null,e.finishedExpirationTime=of;var n=e.timeoutHandle;if(n!==Xl&&(e.timeoutHandle=Xl,Kl(n)),null!==qg)for(var r=qg.return;null!==r;)Zv(r),r=r.return;Qg=e,qg=Mb(e.current,null),Yg=t,$g=Lg,Kg=null,Xg=sf,Gg=sf,Zg=null,Jg=of,ey=!1,yy=null,xf.discardPendingWarnings()}function Dy(e,t){for(;;){try{if(Zf(),Jm(),zt(),null===qg||null===qg.return)return $g=Fg,Kg=t,qg=null,null;he&&qg.mode&nf&&Gh(qg,!0),Cg(e,qg.return,qg,t,Yg),qg=jy(qg)}catch(n){t=n;continue}return}}function Ny(e){var t=Pg.current;return Pg.current=zh,null===t?zh:t}function My(e){Pg.current=e}function Oy(e){var t=o.__interactionsRef.current;return o.__interactionsRef.current=e.memoizedInteractions,t}function zy(e){o.__interactionsRef.current=e}function Ay(e,t){e<Xg&&e>lf&&(Xg=e),null!==t&&e<Gg&&e>lf&&(Gg=e,Zg=t)}function Uy(e){e>Jg&&(Jg=e)}function Ly(){for(;null!==qg;)qg=Wy(qg)}function Fy(){for(;null!==qg&&!Ld();)qg=Wy(qg)}function Wy(e){var t,n=e.alternate;return Mc(e),At(e),(e.mode&nf)!==Zd?(Kh(e),t=nb(n,e,Yg),Gh(e,!0)):t=nb(n,e,Yg),zt(),e.memoizedProps=e.pendingProps,null===t&&(t=jy(e)),Ig.current=null,t}function jy(e){qg=e;do{var t=qg.alternate,n=qg.return;if((qg.effectTag&Uo)===ko){At(qg);var r=void 0;if((qg.mode&nf)===Zd?r=Xv(t,qg,Yg):(Kh(qg),r=Xv(t,qg,Yg),Gh(qg,!1)),zc(qg),zt(),Vy(qg),null!==r)return r;if(null!==n&&(n.effectTag&Uo)===ko)null===n.firstEffect&&(n.firstEffect=qg.firstEffect),null!==qg.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=qg.firstEffect),n.lastEffect=qg.lastEffect),qg.effectTag>xo&&(null!==n.lastEffect?n.lastEffect.nextEffect=qg:n.firstEffect=qg,n.lastEffect=qg)}else{var o=Gv(qg);if((qg.mode&nf)!==Zd){Gh(qg,!1);for(var a=qg.actualDuration,i=qg.child;null!==i;)a+=i.actualDuration,i=i.sibling;qg.actualDuration=a}if(null!==o)return Ac(qg),o.effectTag&=Ao,o;zc(qg),null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=Uo)}var l=qg.sibling;if(null!==l)return l;qg=n}while(null!==qg);return $g===Lg&&($g=Vg),null}function By(e){var t=e.expirationTime,n=e.childExpirationTime;return t>n?t:n}function Vy(e){if(Yg===af||e.childExpirationTime!==af){var t=of;if((e.mode&nf)!==Zd){for(var n=e.actualDuration,r=e.selfBaseDuration,o=null===e.alternate||e.child!==e.alternate.child,a=e.child;null!==a;){var i=a.expirationTime,l=a.childExpirationTime;i>t&&(t=i),l>t&&(t=l),o&&(n+=a.actualDuration),r+=a.treeBaseDuration,a=a.sibling}e.actualDuration=n,e.treeBaseDuration=r}else for(var u=e.child;null!==u;){var s=u.expirationTime,c=u.childExpirationTime;s>t&&(t=s),c>t&&(t=c),u=u.sibling}e.childExpirationTime=t}}function Hy(e){var t=Qd();return Yd(Nd,function(e,t){do{$y()}while(null!==uy);if(xf.flushLegacyContextWarning(),xf.flushPendingUnsafeLifecycleWarnings(),(Hg&(Ag|Ug))!==Dg)throw Error("Should not already be working.");var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=of,n===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackExpirationTime=of,e.callbackPriority=Ud,e.nextKnownPendingLevel=of,sc&&(pc=!0,mc=!1,yc.clear(),wc("(Committing Changes)"));var o,a=By(n);(function(e,t,n){e.firstPendingTime=n,t<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=of:t<=e.firstSuspendedTime&&(e.firstSuspendedTime=t-1),t<=e.lastPingedTime&&(e.lastPingedTime=of),t<=e.lastExpiredTime&&(e.lastExpiredTime=of)})(e,r,a),e===Qg&&(Qg=null,qg=null,Yg=of);n.effectTag>xo?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect;if(null!==o){var i=Hg;Hg|=Ug;var l=Oy(e);Ig.current=null,jc(),Vl(e.containerInfo),ry=o;do{if(g(null,Qy,null),y()){if(null===ry)throw Error("Should be working on an effect.");var u=b();Jy(ry,u),ry=ry.nextEffect}}while(null!==ry);Bc(),$h(),Vc(),ry=o;do{if(g(null,qy,null,e,t),y()){if(null===ry)throw Error("Should be working on an effect.");var s=b();Jy(ry,s),ry=ry.nextEffect}}while(null!==ry);Hc(),e.containerInfo,Sl(Wl),Ba(Fl),Fl=null,Wl=null,e.current=n,Qc(),ry=o;do{if(g(null,Yy,null,e,r),y()){if(null===ry)throw Error("Should be working on an effect.");var c=b();Jy(ry,c),ry=ry.nextEffect}}while(null!==ry);qc(),ry=null,Fd(),zy(l),Hg=i}else e.current=n,jc(),Bc(),$h(),Vc(),Hc(),Qc(),qc();!function(){if(sc){var e=null;mc?e="Lifecycle hook scheduled a cascading update":vc>0&&(e="Caused by a cascading update in earlier commit"),mc=!1,vc++,pc=!1,yc.clear(),kc("(Committing Changes)","(Committing Changes)",e)}}();var d=ly;if(ly)ly=!1,uy=e,cy=r,sy=t;else for(ry=o;null!==ry;){var f=ry.nextEffect;ry.nextEffect=null,ry=f}var p=e.firstPendingTime;if(p!==of){if(null!==yy){var m=yy;yy=null;for(var h=0;h<m.length;h++)pb(e,m[h],e.memoizedInteractions)}mb(e,p)}else iy=null;d||vb(e,r);p===sf?e===my?py++:(py=0,my=e):py=0;if(function(e,t){"function"==typeof bb&&bb(e,t)}(n.stateNode,r),Ey(e),oy){oy=!1;var v=ay;throw ay=null,v}if((Hg&zg)!==Dg)return null;return Xd(),null}.bind(null,e,t)),null}function Qy(){for(;null!==ry;){var e=ry.effectTag;if((e&Do)!==ko)At(ry),Nc(),ig(ry.alternate,ry),zt();(e&No)!==ko&&(ly||(ly=!0,$d(Od,function(){return $y(),null}))),ry=ry.nextEffect}}function qy(e,t){for(;null!==ry;){At(ry);var n=ry.effectTag;if(n&Ro&&kg(ry),n&_o){var r=ry.alternate;null!==r&&fg(r)}switch(n&(To|So|Co|Mo)){case To:vg(ry),ry.effectTag&=~To;break;case Eo:vg(ry),ry.effectTag&=~To,bg(ry.alternate,ry);break;case Mo:ry.effectTag&=~Mo;break;case Oo:ry.effectTag&=~Mo,bg(ry.alternate,ry);break;case So:bg(ry.alternate,ry);break;case Co:yg(e,ry,t)}Nc(),zt(),ry=ry.nextEffect}}function Yy(e,t){for(;null!==ry;){At(ry);var n=ry.effectTag;if(n&(So|Po))Nc(),cg(e,ry.alternate,ry);n&_o&&(Nc(),dg(ry)),zt(),ry=ry.nextEffect}}function $y(){if(sy!==Ud){var e=sy>Od?Od:sy;return sy=Ud,Yd(e,Ky)}}function Ky(){if(null===uy)return!1;var e=uy,t=cy;if(uy=null,cy=of,(Hg&(Ag|Ug))!==Dg)throw Error("Cannot flush passive effects while already rendering.");var n=Hg;Hg|=Ug;for(var r=Oy(e),o=e.current.firstEffect;null!==o;){if(At(o),g(null,sg,null,o),y()){if(null===o)throw Error("Should be working on an effect.");Jy(o,b())}zt();var a=o.nextEffect;o.nextEffect=null,o=a}return zy(r),vb(e,t),Hg=n,Xd(),vy=null===uy?0:vy+1,!0}function Xy(e){return null!==iy&&iy.has(e)}var Gy=function(e){oy||(oy=!0,ay=e)};function Zy(e,t,n){vp(e,Tg(e,Jv(n,t),sf));var r=Ty(e,sf);null!==r&&(Ey(r),mb(r,sf))}function Jy(e,t){if(e.tag!==P)for(var n=e.return;null!==n;){if(n.tag===P)return void Zy(n,e,t);if(n.tag===C){var r=n.type,o=n.stateNode;if("function"==typeof r.getDerivedStateFromError||"function"==typeof o.componentDidCatch&&!Xy(o)){vp(n,Sg(n,Jv(t,e),sf));var a=Ty(n,sf);return void(null!==a&&(Ey(a),mb(a,sf)))}}n=n.return}else Zy(e,e,t)}function eb(){Wc(gy,!0),gy=null}function tb(){Wc(gy,!1),gy=null}var nb,rb=null;nb=function(e,t,n){var r=Wb(null,t);try{return qv(e,t,n)}catch(o){if(null!==o&&"object"==typeof o&&"function"==typeof o.then)throw o;if(Zf(),Jm(),Zv(t),Wb(t,r),t.mode&nf&&Kh(t),g(null,qv,null,e,t,n),y())throw b();throw o}};var ob,ab=!1;ob=new Set;var ib={current:!1};function lb(e){!0===_g.current&&!0!==ib.current&&l("It looks like you're using the wrong act() around your test interactions.\nBe sure to use the matching version of act() corresponding to your renderer:\n\n// for react-dom:\nimport {act} from 'react-dom/test-utils';\n// ...\nact(() => ...);\n\n// for react-test-renderer:\nimport TestRenderer from 'react-test-renderer';\nconst {act} = TestRenderer;\n// ...\nact(() => ...);%s",_t(e))}function ub(e){(e.mode&Jd)!==Zd&&!1===_g.current&&!1===ib.current&&l("An update to %s ran an effect, but was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s",Rt(e.type),_t(e))}var sb=function(e){Hg===Dg&&!1===_g.current&&!1===ib.current&&l("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s",Rt(e.type),_t(e))},cb=!1;function db(e,t){return 1e3*t+e.interactionThreadID}function fb(e){null===yy?yy=[e]:yy.push(e)}function pb(e,t,n){if(n.size>0){var r=e.pendingInteractionMap,a=r.get(t);null!=a?n.forEach(function(e){a.has(e)||e.__count++,a.add(e)}):(r.set(t,new Set(n)),n.forEach(function(e){e.__count++}));var i=o.__subscriberRef.current;if(null!==i){var l=db(e,t);i.onWorkScheduled(n,l)}}}function mb(e,t){pb(e,t,o.__interactionsRef.current)}function hb(e,t){var n=new Set;if(e.pendingInteractionMap.forEach(function(e,r){r>=t&&e.forEach(function(e){return n.add(e)})}),e.memoizedInteractions=n,n.size>0){var r=o.__subscriberRef.current;if(null!==r){var a=db(e,t);try{r.onWorkStarted(n,a)}catch(l){$d(Nd,function(){throw l})}}}}function vb(e,t){var n,r=e.firstPendingTime;try{if(null!==(n=o.__subscriberRef.current)&&e.memoizedInteractions.size>0){var a=db(e,t);n.onWorkStopped(e.memoizedInteractions,a)}}catch(l){$d(Nd,function(){throw l})}finally{var i=e.pendingInteractionMap;i.forEach(function(e,t){t>r&&(i.delete(t),e.forEach(function(e){if(e.__count--,null!==n&&0===e.__count)try{n.onInteractionScheduledWorkCompleted(e)}catch(l){$d(Nd,function(){throw l})}}))})}}var gb,yb=null,bb=null,wb=null,kb=!1,xb="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function Tb(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return l("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools"),!0;try{var n=t.inject(e);"function"==typeof t.onScheduleFiberRoot&&(yb=function(e,r){try{t.onScheduleFiberRoot(n,e,r)}catch(o){kb||(kb=!0,l("React instrumentation encountered an error: %s",o))}}),bb=function(e,r){try{var o=(e.current.effectTag&Io)===Io;if(he){var a=kf(pf(Hd()),r);t.onCommitFiberRoot(n,e,a,o)}else t.onCommitFiberRoot(n,e,void 0,o)}catch(i){kb||(kb=!0,l("React instrumentation encountered an error: %s",i))}},wb=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){kb||(kb=!0,l("React instrumentation encountered an error: %s",r))}}}catch(r){l("React instrumentation encountered an error: %s.",r)}return!0}gb=!1;try{var Sb=Object.preventExtensions({}),Eb=new Map([[Sb,null]]),Cb=new Set([Sb]);Eb.set(0,0),Cb.add(0)}catch(bw){gb=!0}var Rb=1;function Pb(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.effectTag=ko,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.expirationTime=of,this.childExpirationTime=of,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugID=Rb++,this._debugIsCurrentlyTiming=!1,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,gb||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var Ib,_b,Db=function(e,t,n,r){return new Pb(e,t,n,r)};function Nb(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function Mb(e,t){var n=e.alternate;null===n?((n=Db(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugID=e._debugID,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=ko,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null,n.actualDuration=0,n.actualStartTime=-1),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=null===r?null:{expirationTime:r.expirationTime,firstContext:r.firstContext,responders:r.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case R:case E:case W:n.type=Af(e.type);break;case C:n.type=Uf(e.type);break;case A:n.type=Lf(e.type)}return n}function Ob(e,t){e.effectTag&=To,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null;var n=e.alternate;if(null===n)e.childExpirationTime=of,e.expirationTime=t,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childExpirationTime=n.childExpirationTime,e.expirationTime=n.expirationTime,e.child=n.child,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue;var r=n.dependencies;e.dependencies=null===r?null:{expirationTime:r.expirationTime,firstContext:r.firstContext,responders:r.responders},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function zb(e,t,n,r,o,a){var i,u=R,s=e;if("function"==typeof e)Nb(e)?(u=C,s=Uf(s)):s=Af(s);else if("string"==typeof e)u=_;else e:switch(e){case lt:return Ub(n.children,o,a,t);case ft:u=M,o|=tf|ef|Jd;break;case ut:u=M,o|=Jd;break;case st:return function(e,t,n,r){"string"==typeof e.id&&"function"==typeof e.onRender||l('Profiler must specify an "id" string and "onRender" function as props');var o=Db(U,e,r,t|nf);return o.elementType=st,o.type=st,o.expirationTime=n,o}(n,o,a,t);case mt:return function(e,t,n,r){var o=Db(L,e,r,t);return o.type=mt,o.elementType=mt,o.expirationTime=n,o}(n,o,a,t);case ht:return function(e,t,n,r){var o=Db(H,e,r,t);return o.type=ht,o.elementType=ht,o.expirationTime=n,o}(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ct:u=z;break e;case dt:u=O;break e;case pt:u=A,s=Lf(s);break e;case vt:u=F;break e;case gt:u=j,s=null;break e;case yt:u=Y;break e}var c="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(c+=" 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 d=r?Rt(r.type):null;throw d&&(c+="\n\nCheck the render method of `"+d+"`."),Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+c)}return(i=Db(u,n,t,o)).elementType=e,i.type=s,i.expirationTime=a,i}function Ab(e,t,n){var r;r=e._owner;var o=zb(e.type,e.key,e.props,r,t,n);return o._debugSource=e._source,o._debugOwner=e._owner,o}function Ub(e,t,n,r){var o=Db(N,e,r,t);return o.expirationTime=n,o}function Lb(e,t,n){var r=Db(D,e,null,t);return r.expirationTime=n,r}function Fb(e,t,n){var r=null!==e.children?e.children:[],o=Db(I,r,e.key,t);return o.expirationTime=n,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function Wb(e,t){return null===e&&(e=Db(R,null,null,Zd)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.effectTag=t.effectTag,e.nextEffect=t.nextEffect,e.firstEffect=t.firstEffect,e.lastEffect=t.lastEffect,e.expirationTime=t.expirationTime,e.childExpirationTime=t.childExpirationTime,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugID=t._debugID,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugIsCurrentlyTiming=t._debugIsCurrentlyTiming,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function jb(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pendingChildren=null,this.pingCache=null,this.finishedExpirationTime=of,this.finishedWork=null,this.timeoutHandle=Xl,this.context=null,this.pendingContext=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=Ud,this.firstPendingTime=of,this.firstSuspendedTime=of,this.lastSuspendedTime=of,this.nextKnownPendingLevel=of,this.lastPingedTime=of,this.lastExpiredTime=of,this.interactionThreadID=o.unstable_getThreadID(),this.memoizedInteractions=new Set,this.pendingInteractionMap=new Map}function Bb(e,t,n,r){var o=new jb(e,t,n),a=function(e){var t;return t=e===yd?tf|ef|Jd:e===gd?ef|Jd:Zd,xb&&(t|=nf),Db(P,null,null,t)}(t);return o.current=a,a.stateNode=o,pp(a),o}function Vb(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;return n!==of&&n>=t&&r<=t}function Hb(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||n===of)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=of),t<=e.lastExpiredTime&&(e.lastExpiredTime=of)}function Qb(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;n!==of&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=of:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function qb(e,t){var n=e.lastExpiredTime;(n===of||n>t)&&(e.lastExpiredTime=t)}function Yb(e,t,r,o){var a,i;a=t,i=e,"function"==typeof yb&&yb(a,i);var u,s=t.current,c=wy();"undefined"!=typeof jest&&(u=s,!1===cb&&void 0===n.unstable_flushAllWithoutAsserting&&(u.mode&ef||u.mode&tf)&&(cb=!0,l("In Concurrent or Sync modes, the \"scheduler\" module needs to be mocked to guarantee consistent behaviour across tests and browsers. For example, with jest: \njest.mock('scheduler', () => require('scheduler/unstable_mock'));\n\nFor more info, visit https://fb.me/react-mock-scheduler")),lb(s));var d=Ep(),f=ky(c,s,d),p=function(e){if(!e)return ed;var t=wo(e),n=hd(t);if(t.tag===C){var r=t.type;if(ud(r))return fd(t,r,n)}return n}(r);null===t.context?t.context=p:t.pendingContext=p,Nt&&null!==Dt&&!Ib&&(Ib=!0,l("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",Rt(Dt.type)||"Unknown"));var m=hp(f,d);return m.payload={element:e},null!==(o=void 0===o?null:o)&&("function"!=typeof o&&l("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o),m.callback=o),vp(s,m),xy(s,f),f}function $b(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case _:return Bl(t.child.stateNode);default:return t.child.stateNode}}function Kb(e,t){var n=e.memoizedState;null!==n&&null!==n.dehydrated&&n.retryTime<t&&(n.retryTime=t)}function Xb(e,t){Kb(e,t);var n=e.alternate;n&&Kb(n,t)}function Gb(e){var t=function(e){var t=Ho(e);if(!t)return null;for(var n=t;;){if(n.tag===_||n.tag===D||ge)return n;if(n.child&&n.tag!==I)n.child.return=n,n=n.child;else{if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}(e);return null===t?null:t.tag===Q?t.stateNode.instance:t.stateNode}Ib=!1,_b={};var Zb=function(e){return!1};var Jb=null,ew=null,tw=null,nw=null,rw=function(e,n,r,o){if(r>=n.length)return o;var a=n[r],i=Array.isArray(e)?e.slice():t({},e);return i[a]=rw(e[a],n,r+1,o),i},ow=function(e,t,n){return rw(e,t,0,n)};Jb=function(e,n,r,o){for(var a=e.memoizedState;null!==a&&n>0;)a=a.next,n--;if(null!==a){var i=ow(a.memoizedState,r,o);a.memoizedState=i,a.baseState=i,e.memoizedProps=t({},e.memoizedProps),xy(e,sf)}},ew=function(e,t,n){e.pendingProps=ow(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),xy(e,sf)},tw=function(e){xy(e,sf)},nw=function(e){Zb=e};a.IsSomeRendererActing;function aw(e,t){this._internalRoot=lw(e,yd,t)}function iw(e,t,n){this._internalRoot=lw(e,t,n)}function lw(e,t,n){var r,o,a,i=null!=n&&!0===n.hydrate,l=(null!=n&&n.hydrationOptions,function(e,t,n,r){return Bb(e,t,n)}(e,t,i));if(r=l.current,e[du]=r,i&&t!==vd){var u=e.nodeType===On?e:e.ownerDocument;a=bo(o=u),ya.forEach(function(e){ka(e,o,a)}),ba.forEach(function(e){ka(e,o,a)})}return l}function uw(e){return!(!e||e.nodeType!==Dn&&e.nodeType!==On&&e.nodeType!==zn&&(e.nodeType!==Mn||" react-mount-point-unstable "!==e.nodeValue))}aw.prototype.render=iw.prototype.render=function(e){var t=this._internalRoot;"function"==typeof arguments[1]&&l("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var n=t.containerInfo;if(n.nodeType!==Mn){var r=Gb(t.current);r&&r.parentNode!==n&&l("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}Yb(e,t,null,null)},aw.prototype.unmount=iw.prototype.unmount=function(){"function"==typeof arguments[0]&&l("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot,t=e.containerInfo;Yb(null,e,null,function(){pu(t)})};var sw,cw=a.ReactCurrentOwner,dw=!1;function fw(e){return e?e.nodeType===On?e.documentElement:e.firstChild:null}function pw(e,t){var n=t||function(e){var t=fw(e);return!(!t||t.nodeType!==Dn||!t.hasAttribute(Ue))}(e);if(!n)for(var r,o=!1;r=e.lastChild;)!o&&r.nodeType===Dn&&r.hasAttribute(Ue)&&(o=!0,l("render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.")),e.removeChild(r);return!n||t||dw||(dw=!0,i("render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v17. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML.")),function(e,t){return new iw(e,vd,t)}(e,n?{hydrate:!0}:void 0)}function mw(e,t,n,r,o){sw(n),function(e,t){null!==e&&"function"!=typeof e&&l("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===o?null:o,"render");var a,i=n._reactRootContainer;if(i){if(a=i._internalRoot,"function"==typeof o){var u=o;o=function(){var e=$b(a);u.call(e)}}Yb(t,a,e,o)}else{if(i=n._reactRootContainer=pw(n,r),a=i._internalRoot,"function"==typeof o){var s=o;o=function(){var e=$b(a);s.call(e)}}Py(function(){Yb(t,a,e,o)})}return $b(a)}sw=function(e){if(e._reactRootContainer&&e.nodeType!==Mn){var t=Gb(e._reactRootContainer._internalRoot.current);t&&t.parentNode!==e&&l("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=fw(e);!(!r||!vu(r))&&!n&&l("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Dn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&l("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};ea=function(e){if(e.tag===L){var t=wf(wy());xy(e,t),Xb(e,t)}},function(e){ta=e}(function(e){e.tag===L&&(xy(e,uf),Xb(e,uf))}),function(e){na=e}(function(e){if(e.tag===L){var t=ky(wy(),e,null);xy(e,t),Xb(e,t)}});var hw=!1;function vw(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!uw(t))throw Error("Target container is not a DOM element.");return function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:it,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||l("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),se=function(e,t,n){switch(t){case"input":return void on(e,n);case"textarea":return void function(e,t){wn(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&mn(n,!!t.multiple,r,!1)}(e,n)}},be=Ry,we=function(e,t,n,r,o){var a=Hg;Hg|=Og;try{return Yd(Md,e.bind(null,t,n,r,o))}finally{(Hg=a)===Dg&&Xd()}},ke=function(){(Hg&(Ng|Ag|Ug))===Dg?(function(){if(null!==dy){var e=dy;dy=null,e.forEach(function(e,t){qb(t,e),Ey(t)}),Xd()}}(),$y()):(Hg&Ag)!==Dg&&l("unstable_flushDiscreteUpdates: Cannot flush updates when React is already rendering.")},xe=function(e,t){var n=Hg;Hg|=Mg;try{return e(t)}finally{(Hg=n)===Dg&&Xd()}};var gw={Events:[vu,gu,yu,oe,ee,Ru,function(e){Yo(e,Cu)},pe,me,qa,Go,$y,ib]};if(!function(e){var n=e.findFiberByHostInstance,r=a.ReactCurrentDispatcher;return Tb(t({},e,{overrideHookState:Jb,overrideProps:ew,setSuspenseHandler:nw,scheduleUpdate:tw,currentDispatcherRef:r,findHostInstanceByFiber:function(e){var t=Qo(e);return null===t?null:t.stateNode},findFiberByHostInstance:function(e){return n?n(e):null},findHostInstancesForRefresh:Vf,scheduleRefresh:jf,scheduleRoot:Bf,setRefreshHandler:zf,getCurrentFiber:function(){return Dt}}))}({findFiberByHostInstance:hu,bundleType:1,version:"16.13.1",rendererPackageName:"react-dom"})&&ae&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var yw=window.location.protocol;/^(https?|file):$/.test(yw)&&console.info("%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools"+("file:"===yw?"\nYou might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq":""),"font-weight:bold")}exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gw,exports.createPortal=vw,exports.findDOMNode=function(e){var t=cw.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||l("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Rt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:e.nodeType===Dn?e:function(e,t){var n=wo(e);if(void 0===n)throw"function"==typeof e.render?Error("Unable to find node on an unmounted component."):Error("Argument appears to not be a ReactComponent. Keys: "+Object.keys(e));var r=Qo(n);if(null===r)return null;if(r.mode&Jd){var o=Rt(n.type)||"Component";_b[o]||(_b[o]=!0,n.mode&Jd?l("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node%s",t,t,o,_t(r)):l("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node%s",t,t,o,_t(r)))}return r.stateNode}(e,"findDOMNode")},exports.flushSync=Iy,exports.hydrate=function(e,t,n){if(!uw(t))throw Error("Target container is not a DOM element.");return mu(t)&&void 0===t._reactRootContainer&&l("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call createRoot(container, {hydrate: true}).render(element)?"),mw(null,e,t,!0,n)},exports.render=function(e,t,n){if(!uw(t))throw Error("Target container is not a DOM element.");return mu(t)&&void 0===t._reactRootContainer&&l("You are calling ReactDOM.render() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.render(element)?"),mw(null,e,t,!1,n)},exports.unmountComponentAtNode=function(e){if(!uw(e))throw Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(mu(e)&&void 0===e._reactRootContainer&&l("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=fw(e);return t&&!vu(t)&&l("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),Py(function(){mw(null,null,e,!1,function(){e._reactRootContainer=null,pu(e)})}),!0}var n=fw(e),r=!(!n||!vu(n)),o=e.nodeType===Dn&&uw(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&l("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},exports.unstable_batchedUpdates=Ry,exports.unstable_createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return hw||(hw=!0,i('The ReactDOM.unstable_createPortal() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactDOM.createPortal() instead. It has the exact same API, but without the "unstable_" prefix.')),vw(e,t,n)},exports.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(!uw(n))throw Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternalFiber)throw Error("parentComponent must be a valid React Component");return mw(e,t,n,!1,r)}(e,t,n,r)},exports.version="16.13.1"})();
},{"react":"n8MK","object-assign":"J4Nk","scheduler":"MDSO","prop-types/checkPropTypes":"Qo3t","scheduler/tracing":"lEVr"}],"NKHc":[function(require,module,exports) {
"use strict";function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)throw new Error("^_^")}module.exports=require("./cjs/react-dom.development.js");
},{"./cjs/react-dom.development.js":"BUHy"}],"vCxL":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.__extends=e,exports.__rest=n,exports.__decorate=o,exports.__param=a,exports.__metadata=i,exports.__awaiter=u,exports.__generator=c,exports.__createBinding=f,exports.__exportStar=l,exports.__values=s,exports.__read=p,exports.__spread=y,exports.__spreadArrays=_,exports.__await=h,exports.__asyncGenerator=v,exports.__asyncDelegator=d,exports.__asyncValues=b,exports.__makeTemplateObject=w,exports.__importStar=x,exports.__importDefault=m,exports.__classPrivateFieldGet=O,exports.__classPrivateFieldSet=g,exports.__assign=void 0;var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};function e(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var r=function(){return exports.__assign=r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};function n(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}function o(t,e,r,n){var o,a=arguments.length,i=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(i=(a<3?o(i):a>3?o(e,r,i):o(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i}function a(t,e){return function(r,n){e(r,n,t)}}function i(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t,e,r,n){return new(r||(r=Promise))(function(o,a){function i(t){try{c(n.next(t))}catch(e){a(e)}}function u(t){try{c(n.throw(t))}catch(e){a(e)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(i,u)}c((n=n.apply(t,e||[])).next())})}function c(t,e){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(u){a=[6,u],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}function f(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}function l(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||(e[r]=t[r])}function s(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,a=r.call(t),i=[];try{for(;(void 0===e||e-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function y(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t}function _(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),o=0;for(e=0;e<r;e++)for(var a=arguments[e],i=0,u=a.length;i<u;i++,o++)n[o]=a[i];return n}function h(t){return this instanceof h?(this.v=t,this):new h(t)}function v(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(t,e||[]),a=[];return n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n;function i(t){o[t]&&(n[t]=function(e){return new Promise(function(r,n){a.push([t,e,r,n])>1||u(t,e)})})}function u(t,e){try{(r=o[t](e)).value instanceof h?Promise.resolve(r.value.v).then(c,f):l(a[0][2],r)}catch(n){l(a[0][3],n)}var r}function c(t){u("next",t)}function f(t){u("throw",t)}function l(t,e){t(e),a.shift(),a.length&&u(a[0][0],a[0][1])}}function d(t){var e,r;return e={},n("next"),n("throw",function(t){throw t}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,o){e[n]=t[n]?function(e){return(r=!r)?{value:h(t[n](e)),done:"return"===n}:o?o(e):e}:o}}function b(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t="function"==typeof s?s(t):t[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise(function(n,o){(function(t,e,r,n){Promise.resolve(n).then(function(e){t({value:e,done:r})},e)})(n,o,(e=t[r](e)).done,e.value)})}}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function x(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function m(t){return t&&t.__esModule?t:{default:t}}function O(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function g(t,e,r){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,r),r}exports.__assign=r;
},{}],"KFGT":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warning=exports.invariant=void 0;var n=function(){};exports.warning=n;var r=function(){};exports.invariant=r,exports.warning=n=function(n,r){n||"undefined"==typeof console||console.warn(r)},exports.invariant=r=function(n,r){if(!n)throw new Error(r)};
},{}],"pBGv":[function(require,module,exports) {
var t,e,n=module.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}function u(t){if(e===clearTimeout)return clearTimeout(t);if((e===o||!e)&&clearTimeout)return e=clearTimeout,clearTimeout(t);try{return e(t)}catch(n){try{return e.call(null,t)}catch(n){return e.call(this,t)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(n){t=r}try{e="function"==typeof clearTimeout?clearTimeout:o}catch(n){e=o}}();var c,s=[],l=!1,a=-1;function f(){l&&c&&(l=!1,c.length?s=c.concat(s):a=-1,s.length&&h())}function h(){if(!l){var t=i(f);l=!0;for(var e=s.length;e;){for(c=s,s=[];++a<e;)c&&c[a].run();a=-1,e=s.length}c=null,l=!1,u(t)}}function m(t,e){this.fun=t,this.array=e}function p(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];s.push(new m(t,e)),1!==s.length||l||i(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0};
},{}],"bSZI":[function(require,module,exports) {
var process = require("process");
var e=require("process");Object.defineProperty(exports,"__esModule",{value:!0}),exports.getFrameData=exports.cancelSync=exports.default=void 0;var n,t=require("hey-listen"),r=0,a="undefined"!=typeof window&&void 0!==window.requestAnimationFrame?function(e){return window.requestAnimationFrame(e)}:function(e){var n=Date.now(),t=Math.max(0,16.7-(n-r));r=n+t,setTimeout(function(){return e(r)},t)},c=function(e){var n=[],r=[],a=0,c=!1,o=0,i=new WeakSet,d=new WeakSet,u={cancel:function(e){var n=r.indexOf(e);i.add(e),-1!==n&&r.splice(n,1)},process:function(t){var s,f;if(c=!0,n=(s=[r,n])[0],(r=s[1]).length=0,a=n.length)for(o=0;o<a;o++)(f=n[o])(t),!0!==d.has(f)||i.has(f)||(u.schedule(f),e(!0));c=!1},schedule:function(e,o,u){void 0===o&&(o=!1),void 0===u&&(u=!1),(0,t.invariant)("function"==typeof e,"Argument must be a function");var s=u&&c,f=s?n:r;i.delete(e),o&&d.add(e),-1===f.indexOf(e)&&(f.push(e),s&&(a=n.length))}};return u};!function(e){e.Read="read",e.Update="update",e.Render="render",e.PostRender="postRender",e.FixedUpdate="fixedUpdate"}(n||(n={}));var o=40,i=1/60*1e3,d=!0,u=!1,s=!1,f={delta:0,timestamp:0},p=[n.Read,n.Update,n.Render,n.PostRender],l=function(e){return u=e},v=p.reduce(function(e,n){var t=c(l);return e.sync[n]=function(e,n,r){return void 0===n&&(n=!1),void 0===r&&(r=!1),u||R(),t.schedule(e,n,r),e},e.cancelSync[n]=function(e){return t.cancel(e)},e.steps[n]=t,e},{steps:{},sync:{},cancelSync:{}}),m=v.steps,h=v.sync,x=v.cancelSync;exports.cancelSync=x;var y=function(e){return m[e].process(f)},w=function(e){u=!1,f.delta=d?i:Math.max(Math.min(e-f.timestamp,o),1),d||(i=f.delta),f.timestamp=e,s=!0,p.forEach(y),s=!1,u&&(d=!1,a(w))},R=function(){u=!0,d=!0,s||a(w)},S=function(){return f};exports.getFrameData=S;var g=h;exports.default=g;
},{"hey-listen":"KFGT","process":"pBGv"}],"Hokg":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.complex=exports.color=exports.hex=exports.hsla=exports.rgbUnit=exports.rgba=exports.vh=exports.vw=exports.px=exports.progressPercentage=exports.percent=exports.degrees=exports.alpha=exports.scale=exports.number=void 0;var r=function(){return(r=Object.assign||function(r){for(var t,e=1,n=arguments.length;e<n;e++)for(var a in t=arguments[e])Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a]);return r}).apply(this,arguments)},t=function(r,t){return function(e){return Math.max(Math.min(e,t),r)}},e=function(r){return r%1?Number(r.toFixed(5)):r},n=/(-)?(\d[\d\.]*)/g,a=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,s=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))$/i,o={test:function(r){return"number"==typeof r},parse:parseFloat,transform:function(r){return r}};exports.number=o;var u=r(r({},o),{transform:t(0,1)});exports.alpha=u;var p=r(r({},o),{default:1});exports.scale=p;var f=function(r){return{test:function(t){return"string"==typeof t&&t.endsWith(r)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+r}}},i=f("deg");exports.degrees=i;var c=f("%");exports.percent=c;var l=f("px");exports.px=l;var h=f("vh");exports.vh=h;var v=f("vw");exports.vw=v;var g=r(r({},c),{parse:function(r){return c.parse(r)/100},transform:function(r){return c.transform(100*r)}});exports.progressPercentage=g;var x=function(r){return r.substring(r.indexOf("(")+1,r.lastIndexOf(")"))},m=t(0,255),d=function(r){return void 0!==r.red},b=function(r){return void 0!==r.hue},y=function(r){return function(t){if("string"!=typeof t)return t;for(var e={},n=x(t).split(/,\s*/),a=0;a<4;a++)e[r[a]]=void 0!==n[a]?parseFloat(n[a]):1;return e}},O=function(r){var t=r.red,e=r.green,n=r.blue,a=r.alpha;return"rgba("+t+", "+e+", "+n+", "+(void 0===a?1:a)+")"},M=function(r){var t=r.hue,e=r.saturation,n=r.lightness,a=r.alpha;return"hsla("+t+", "+e+", "+n+", "+(void 0===a?1:a)+")"},w=r(r({},o),{transform:function(r){return Math.round(m(r))}});function F(r,t){return r.startsWith(t)&&s.test(r)}exports.rgbUnit=w;var I={test:function(r){return"string"==typeof r?F(r,"rgb"):d(r)},parse:y(["red","green","blue","alpha"]),transform:function(r){var t=r.red,n=r.green,a=r.blue,s=r.alpha,o=void 0===s?1:s;return O({red:w.transform(t),green:w.transform(n),blue:w.transform(a),alpha:e(u.transform(o))})}};exports.rgba=I;var N={test:function(r){return"string"==typeof r?F(r,"hsl"):b(r)},parse:y(["hue","saturation","lightness","alpha"]),transform:function(r){var t=r.hue,n=r.saturation,a=r.lightness,s=r.alpha,o=void 0===s?1:s;return M({hue:Math.round(t),saturation:c.transform(e(n)),lightness:c.transform(e(a)),alpha:e(u.transform(o))})}};exports.hsla=N;var P=r(r({},I),{test:function(r){return"string"==typeof r&&F(r,"#")},parse:function(r){var t="",e="",n="";return r.length>4?(t=r.substr(1,2),e=r.substr(3,2),n=r.substr(5,2)):(t=r.substr(1,1),e=r.substr(2,1),n=r.substr(3,1),t+=t,e+=e,n+=n),{red:parseInt(t,16),green:parseInt(e,16),blue:parseInt(n,16),alpha:1}}});exports.hex=P;var j={test:function(r){return"string"==typeof r&&s.test(r)||d(r)||b(r)},parse:function(r){return I.test(r)?I.parse(r):N.test(r)?N.parse(r):P.test(r)?P.parse(r):r},transform:function(r){return d(r)?I.transform(r):b(r)?N.transform(r):r}};exports.color=j;var $="${c}",T="${n}",U=function(r){return"number"==typeof r?0:r},W={test:function(r){if("string"!=typeof r||!isNaN(r))return!1;var t=0,e=r.match(n),s=r.match(a);return e&&(t+=e.length),s&&(t+=s.length),t>0},parse:function(r){var t=r,e=[],s=t.match(a);s&&(t=t.replace(a,$),e.push.apply(e,s.map(j.parse)));var u=t.match(n);return u&&e.push.apply(e,u.map(o.parse)),e},createTransformer:function(r){var t=r,s=0,o=r.match(a),u=o?o.length:0;if(o)for(var p=0;p<u;p++)t=t.replace(o[p],$),s++;var f=t.match(n),i=f?f.length:0;if(f)for(p=0;p<i;p++)t=t.replace(f[p],T),s++;return function(r){for(var n=t,a=0;a<s;a++)n=n.replace(a<u?$:T,a<u?j.transform(r[a]):e(r[a]));return n}},getAnimatableNone:function(r){var t=W.parse(r);return W.createTransformer(r)(t.map(U))}};exports.complex=W;
},{}],"xQjT":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.cubicBezier=J,exports.bounceInOut=exports.bounceIn=exports.bounceOut=exports.anticipate=exports.backInOut=exports.backOut=exports.backIn=exports.circInOut=exports.circOut=exports.circIn=exports.easeInOut=exports.easeOut=exports.easeIn=exports.linear=exports.createAnticipateEasing=exports.createBackIn=exports.createExpoIn=exports.createMirroredEasing=exports.createReversedEasing=exports.mirrored=exports.reversed=void 0;var r=1.525,e=function(r){return function(e){return 1-r(1-e)}};exports.reversed=e;var t=function(r){return function(e){return e<=.5?r(2*e)/2:(2-r(2*(1-e)))/2}};exports.mirrored=t;var n=e;exports.createReversedEasing=n;var o=t;exports.createMirroredEasing=o;var a=function(r){return function(e){return Math.pow(e,r)}};exports.createExpoIn=a;var u=function(r){return function(e){return e*e*((r+1)*e-r)}};exports.createBackIn=u;var c=function(r){var e=u(r);return function(r){return(r*=2)<1?.5*e(r):.5*(2-Math.pow(2,-10*(r-1)))}};exports.createAnticipateEasing=c;var s=function(r){return r};exports.linear=s;var i=a(2);exports.easeIn=i;var p=e(i);exports.easeOut=p;var x=t(i);exports.easeInOut=x;var v=function(r){return 1-Math.sin(Math.acos(r))};exports.circIn=v;var f=e(v);exports.circOut=f;var I=t(f);exports.circInOut=I;var O=u(r);exports.backIn=O;var b=e(O);exports.backOut=b;var d=t(O);exports.backInOut=d;var k=c(r);exports.anticipate=k;var E=4/11,M=8/11,l=.9,g=4356/361,h=35442/1805,w=16061/1805,y=function(r){var e=r*r;return r<E?7.5625*e:r<M?9.075*e-9.9*r+3.4:r<l?g*e-h*r+w:10.8*r*r-20.52*r+10.72};exports.bounceOut=y;var A=function(r){return 1-y(1-r)};exports.bounceIn=A;var B=function(r){return r<.5?.5*(1-y(1-2*r)):.5*y(2*r-1)+.5};exports.bounceInOut=B;var m=8,F=.001,R=1e-7,_=10,j=11,z=1/(j-1),P="undefined"!=typeof Float32Array,q=function(r,e){return 1-3*e+3*r},C=function(r,e){return 3*e-6*r},D=function(r){return 3*r},G=function(r,e,t){return 3*q(e,t)*r*r+2*C(e,t)*r+D(e)},H=function(r,e,t){return((q(e,t)*r+C(e,t))*r+D(e))*r};function J(r,e,t,n){var o=P?new Float32Array(j):new Array(j),a=function(e){for(var n,a,u,c=0,s=1,i=j-1;s!==i&&o[s]<=e;++s)c+=z;return n=(e-o[--s])/(o[s+1]-o[s]),(u=G(a=c+n*z,r,t))>=F?function(e,n){for(var o=0,a=0;o<m;++o){if(0===(a=G(n,r,t)))return n;n-=(H(n,r,t)-e)/a}return n}(e,a):0===u?a:function(e,n,o){var a,u,c=0;do{(a=H(u=n+(o-n)/2,r,t)-e)>0?o=u:n=u}while(Math.abs(a)>R&&++c<_);return u}(e,c,c+z)};!function(){for(var e=0;e<j;++e)o[e]=H(e*z,r,t)}();return function(o){return r===e&&t===n?o:0===o?0:1===o?1:H(a(o),e,n)}}
},{}],"cueS":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.interpolate=C,Object.defineProperty(exports,"createAnticipateEasing",{enumerable:!0,get:function(){return n.createAnticipateEasing}}),Object.defineProperty(exports,"createBackIn",{enumerable:!0,get:function(){return n.createBackIn}}),Object.defineProperty(exports,"createExpoIn",{enumerable:!0,get:function(){return n.createExpoIn}}),Object.defineProperty(exports,"cubicBezier",{enumerable:!0,get:function(){return n.cubicBezier}}),Object.defineProperty(exports,"linear",{enumerable:!0,get:function(){return n.linear}}),Object.defineProperty(exports,"easeIn",{enumerable:!0,get:function(){return n.easeIn}}),Object.defineProperty(exports,"easeOut",{enumerable:!0,get:function(){return n.easeOut}}),Object.defineProperty(exports,"easeInOut",{enumerable:!0,get:function(){return n.easeInOut}}),Object.defineProperty(exports,"circIn",{enumerable:!0,get:function(){return n.circIn}}),Object.defineProperty(exports,"circOut",{enumerable:!0,get:function(){return n.circOut}}),Object.defineProperty(exports,"circInOut",{enumerable:!0,get:function(){return n.circInOut}}),Object.defineProperty(exports,"backIn",{enumerable:!0,get:function(){return n.backIn}}),Object.defineProperty(exports,"backOut",{enumerable:!0,get:function(){return n.backOut}}),Object.defineProperty(exports,"backInOut",{enumerable:!0,get:function(){return n.backInOut}}),Object.defineProperty(exports,"anticipate",{enumerable:!0,get:function(){return n.anticipate}}),Object.defineProperty(exports,"reversed",{enumerable:!0,get:function(){return n.reversed}}),Object.defineProperty(exports,"mirrored",{enumerable:!0,get:function(){return n.mirrored}}),exports.wrap=exports.velocityPerSecond=exports.velocityPerFrame=exports.toDecimal=exports.steps=exports.springForceLinear=exports.springForceExpo=exports.springForce=exports.snap=exports.smoothFrame=exports.smooth=exports.radiansToDegrees=exports.progress=exports.pointFromVector=exports.pipe=exports.mixObject=exports.mixComplex=exports.mixColor=exports.mixArray=exports.mix=exports.isPoint3D=exports.isPoint=exports.distance=exports.degreesToRadians=exports.conditional=exports.clamp=exports.applyOffset=exports.angle=void 0;var r=require("style-value-types"),e=require("hey-listen"),t=require("framesync"),n=require("@popmotion/easing"),o={x:0,y:0,z:0},a=function(r){return"number"==typeof r},i=function(r){return 180*r/Math.PI};exports.radiansToDegrees=i;var u=function(r,e){return void 0===e&&(e=o),i(Math.atan2(e.y-r.y,e.x-r.x))};exports.angle=u;var s=function(r,e){var t=!0;return void 0===e&&(e=r,t=!1),function(n){return t?n-r+e:(r=n,t=!0,e)}};exports.applyOffset=s;var c=function(r){return function(e,t,n){return void 0!==n?r(e,t,n):function(n){return r(e,t,n)}}},p=function(r,e,t){return Math.min(Math.max(t,r),e)},f=c(p);exports.clamp=f;var x=function(r,e){return function(t){return r(t)?e(t):t}};exports.conditional=x;var v=function(r){return r*Math.PI/180};exports.degreesToRadians=v;var m=function(r){return r.hasOwnProperty("x")&&r.hasOwnProperty("y")};exports.isPoint=m;var l=function(r){return m(r)&&r.hasOwnProperty("z")};exports.isPoint3D=l;var d=function(r,e){return Math.abs(r-e)},b=function(r,e){if(void 0===e&&(e=o),a(r)&&a(e))return d(r,e);if(m(r)&&m(e)){var t=d(r.x,e.x),n=d(r.y,e.y),i=l(r)&&l(e)?d(r.z,e.z):0;return Math.sqrt(Math.pow(t,2)+Math.pow(n,2)+Math.pow(i,2))}return 0};exports.distance=b;var h=function(r,e,t){var n=e-r;return 0===n?1:(t-r)/n};exports.progress=h;var y=function(r,e,t){return-t*r+t*e+r};exports.mix=y;var g=function(){return(g=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r}).apply(this,arguments)},O=function(r,e,t){var n=r*r,o=e*e;return Math.sqrt(Math.max(0,t*(o-n)+n))},P=[r.hex,r.rgba,r.hsla],M=function(r){return P.find(function(e){return e.test(r)})},j=function(r){return"'"+r+"' is not an animatable color. Use the equivalent color code instead."},I=function(t,n){var o=M(t),a=M(n);(0,e.invariant)(!!o,j(t)),(0,e.invariant)(!!a,j(n)),(0,e.invariant)(o.transform===a.transform,"Both colors must be hex/RGBA, OR both must be HSLA.");var i=o.parse(t),u=a.parse(n),s=g({},i),c=o===r.hsla?y:O;return function(r){for(var e in s)"alpha"!==e&&(s[e]=c(i[e],u[e],r));return s.alpha=y(i.alpha,u.alpha,r),o.transform(s)}};exports.mixColor=I;var A=function(r,e){return function(t){return e(r(t))}},F=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return r.reduce(A)};function w(e,t){return a(e)?function(r){return y(e,t,r)}:r.color.test(e)?I(e,t):D(e,t)}exports.pipe=F;var B=function(r,e){var t=r.slice(),n=t.length,o=r.map(function(r,t){return w(r,e[t])});return function(r){for(var e=0;e<n;e++)t[e]=o[e](r);return t}};exports.mixArray=B;var k=function(r,e){var t=g({},r,e),n={};for(var o in t)void 0!==r[o]&&void 0!==e[o]&&(n[o]=w(r[o],e[o]));return function(r){for(var e in n)t[e]=n[e](r);return t}};function q(e){for(var t=r.complex.parse(e),n=t.length,o=0,a=0,i=0,u=0;u<n;u++)o||"number"==typeof t[u]?o++:void 0!==t[u].hue?i++:a++;return{parsed:t,numNumbers:o,numRGB:a,numHSL:i}}exports.mixObject=k;var D=function(t,n){var o=r.complex.createTransformer(n),a=q(t),i=q(n);return(0,e.invariant)(a.numHSL===i.numHSL&&a.numRGB===i.numRGB&&a.numNumbers>=i.numNumbers,"Complex values '"+t+"' and '"+n+"' too different to mix. Ensure all colors are of the same type."),F(B(a.parsed,i.parsed),o)};exports.mixComplex=D;var E=function(r,e){return function(t){return y(r,e,t)}};function R(e){return"number"==typeof e?E:"string"==typeof e?r.color.test(e)?I:D:Array.isArray(e)?B:"object"==typeof e?k:void 0}function z(r,e,t){for(var n=[],o=t||R(r[0]),a=r.length-1,i=0;i<a;i++){var u=o(r[i],r[i+1]);if(e){var s=Array.isArray(e)?e[i]:e;u=F(s,u)}n.push(u)}return n}function L(r,e){var t=r[0],n=r[1],o=e[0];return function(r){return o(h(t,n,r))}}function S(r,e){var t=r.length,n=t-1;return function(o){var a=0,i=!1;if(o<=r[0]?i=!0:o>=r[n]&&(a=n-1,i=!0),!i){for(var u=1;u<t&&!(r[u]>o||u===n);u++);a=u-1}var s=h(r[a],r[a+1],o);return e[a](s)}}function C(r,t,n){var o=void 0===n?{}:n,a=o.clamp,i=void 0===a||a,u=o.ease,s=o.mixer,c=r.length;(0,e.invariant)(c===t.length,"Both input and output ranges must be the same length"),(0,e.invariant)(!u||!Array.isArray(u)||u.length===c-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),r[0]>r[c-1]&&(r=[].concat(r),t=[].concat(t),r.reverse(),t.reverse());var p=z(t,u,s),x=2===c?L(r,p):S(r,p);return i?F(f(r[0],r[c-1]),x):x}var T=function(r,e,t){return e=v(e),{x:t*Math.cos(e)+r.x,y:t*Math.sin(e)+r.y}};exports.pointFromVector=T;var G=function(r,e){return void 0===e&&(e=2),e=Math.pow(10,e),Math.round(r*e)/e};exports.toDecimal=G;var H=function(r,e,t,n){return void 0===n&&(n=0),G(r+t*(e-r)/Math.max(n,t))};exports.smoothFrame=H;var N=function(r){void 0===r&&(r=50);var e=0,n=0;return function(o){var a=(0,t.getFrameData)().timestamp,i=a!==n?a-n:0,u=i?H(e,o,i,r):e;return n=a,e=u,u}};exports.smooth=N;var V=function(r){if("number"==typeof r)return function(e){return Math.round(e/r)*r};var e=0,t=r.length;return function(n){var o=Math.abs(r[0]-n);for(e=1;e<t;e++){var a=r[e],i=Math.abs(a-n);if(0===i)return a;if(i>o)return r[e-1];if(e===t-1)return a;o=i}}};exports.snap=V;var _=function(r){return r},U=function(r){return void 0===r&&(r=_),c(function(e,t,n){var o=t-n,a=-(0-e+1)*(0-r(Math.abs(o)));return o<=0?t+a:t-a})};exports.springForce=U;var J=U();exports.springForceLinear=J;var K=U(Math.sqrt);exports.springForceExpo=K;var Q=function(r,e){return a(r)?r/(1e3/e):0};exports.velocityPerFrame=Q;var W=function(r,e){return e?r*(1e3/e):0};exports.velocityPerSecond=W;var X=function(r,e,t){var n=e-r;return((t-r)%n+n)%n+r},Y=c(X);exports.wrap=Y;var Z=f(0,1),$=function(r,e){return void 0===e&&(e="end"),function(t){var n=(t="end"===e?Math.min(t,.999):Math.max(t,.001))*r,o="end"===e?Math.floor(n):Math.ceil(n);return Z(o/r)}};exports.steps=$;
},{"style-value-types":"Hokg","hey-listen":"KFGT","framesync":"bSZI","@popmotion/easing":"xQjT"}],"z2lI":[function(require,module,exports) {
var process = require("process");
var t=require("process");Object.defineProperty(exports,"__esModule",{value:!0}),exports.value=exports.tween=exports.timeline=exports.styler=exports.stagger=exports.spring=exports.schedule=exports.pointer=exports.physics=exports.parallel=exports.multitouch=exports.multicast=exports.mouse=exports.merge=exports.listen=exports.keyframes=exports.inertia=exports.everyFrame=exports.delay=exports.decay=exports.crossfade=exports.composite=exports.chain=exports.action=exports.ValueReaction=exports.Action=void 0;var e=require("tslib"),r=require("@popmotion/popcorn"),n=s(require("framesync")),o=require("style-value-types"),i=require("@popmotion/easing"),u=require("hey-listen");function a(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return a=function(){return t},t}function s(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=a();if(e&&e.has(t))return e.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=n?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=t[o]}return r.default=t,e&&e.set(t,r),r}var c=function(){return function(t,e){var r=this,n=t.middleware,o=t.onComplete;this.isActive=!0,this.update=function(t){r.observer.update&&r.updateObserver(t)},this.complete=function(){r.observer.complete&&r.isActive&&r.observer.complete(),r.onComplete&&r.onComplete(),r.isActive=!1},this.error=function(t){r.observer.error&&r.isActive&&r.observer.error(t),r.isActive=!1},this.observer=e,this.updateObserver=function(t){return e.update(t)},this.onComplete=o,e.update&&n&&n.length&&n.forEach(function(t){return r.updateObserver=t(r.updateObserver,r.complete)})}}(),p=function(t,e,r){var n=e.middleware;return new c({middleware:n,onComplete:r},"function"==typeof t?{update:t}:t)},f=function(){function t(t){void 0===t&&(t={}),this.props=t}return t.prototype.create=function(e){return new t(e)},t.prototype.start=function(t){void 0===t&&(t={});var r=!1,n={stop:function(){}},o=this.props,i=o.init,u=(0,e.__rest)(o,["init"]),a=i(p(t,u,function(){r=!0,n.stop()}));return n=a?(0,e.__assign)({},n,a):n,r&&n.stop(),n},t.prototype.applyMiddleware=function(t){return this.create((0,e.__assign)({},this.props,{middleware:this.props.middleware?[t].concat(this.props.middleware):[t]}))},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=1===t.length?t[0]:r.pipe.apply(void 0,t);return this.applyMiddleware(function(t){return function(e){return t(n(e))}})},t}();exports.Action=f;var l=function(t){return new f({init:t})};exports.action=l;var d=function(){function t(t){void 0===t&&(t={}),this.props=t}return t.prototype.applyMiddleware=function(t){return this.create((0,e.__assign)({},this.props,{middleware:this.props.middleware?[t].concat(this.props.middleware):[t]}))},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=1===t.length?t[0]:r.pipe.apply(void 0,t);return this.applyMiddleware(function(t){return function(e){return t(n(e))}})},t.prototype.while=function(t){return this.applyMiddleware(function(e,r){return function(n){return t(n)?e(n):r()}})},t.prototype.filter=function(t){return this.applyMiddleware(function(e){return function(r){return t(r)&&e(r)}})},t}(),v=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.subscribers=[],e}return(0,e.__extends)(r,t),r.prototype.complete=function(){this.subscribers.forEach(function(t){return t.complete()})},r.prototype.error=function(t){this.subscribers.forEach(function(e){return e.error(t)})},r.prototype.update=function(t){for(var e=0;e<this.subscribers.length;e++)this.subscribers[e].update(t)},r.prototype.subscribe=function(t){var e=this,r=p(t,this.props);return this.subscribers.push(r),{unsubscribe:function(){var t=e.subscribers.indexOf(r);-1!==t&&e.subscribers.splice(t,1)}}},r.prototype.stop=function(){this.parent&&this.parent.stop()},r}(d),m=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return(0,e.__extends)(r,t),r.prototype.create=function(t){return new r(t)},r}(v),h=function(){return new m};exports.multicast=h;var y=function(t){function o(e){var r=t.call(this,e)||this;return r.scheduleVelocityCheck=function(){return n.default.postRender(r.velocityCheck)},r.velocityCheck=function(t){t.timestamp!==r.lastUpdated&&(r.prev=r.current)},r.prev=r.current=e.value||0,r.updateCurrent=function(t){return r.current=t},r.getVelocityOfCurrent=function(){return r.getSingleVelocity(r.current,r.prev)},e.initialSubscription&&r.subscribe(e.initialSubscription),r}return(0,e.__extends)(o,t),o.prototype.create=function(t){return new o(t)},o.prototype.get=function(){return this.current},o.prototype.getVelocity=function(){return this.getVelocityOfCurrent()},o.prototype.update=function(e){t.prototype.update.call(this,e),this.prev=this.current,this.updateCurrent(e);var r=(0,n.getFrameData)(),o=r.delta,i=r.timestamp;this.timeDelta=o,this.lastUpdated=i,n.default.postRender(this.scheduleVelocityCheck)},o.prototype.subscribe=function(e){var r=t.prototype.subscribe.call(this,e);return this.subscribers[this.subscribers.length-1].update(this.current),r},o.prototype.getSingleVelocity=function(t,e){return"number"==typeof t&&"number"==typeof e?(0,r.velocityPerSecond)(t-e,this.timeDelta):(0,r.velocityPerSecond)(parseFloat(t)-parseFloat(e),this.timeDelta)||0},o}(v);exports.ValueReaction=y;var g=function(t,e){return new y({value:t,initialSubscription:e})};exports.value=g;var b=function(t){var e=Object.keys(t),r=function(e,r){return void 0!==e&&!t[r](e)};return{getVectorKeys:function(t){return e.reduce(function(e,n){return r(t[n],n)&&e.push(n),e},[])},testVectorProps:function(t){return t&&e.some(function(e){return r(t[e],e)})}}},x=[o.px,o.percent,o.degrees,o.vh,o.vw],w=function(t){return x.find(function(e){return e.test(t)})},_=function(t){return Boolean(w(t))},O=function(t,e){return t(e)},S=function(t,r){var n=r.from,o=r.to,i=(0,e.__rest)(r,["from","to"]),u=w(n)||w(o),a=u.transform,s=u.parse;return t((0,e.__assign)({},i,{from:"string"==typeof n?s(n):n,to:"string"==typeof o?s(o):o})).pipe(a)},M=function(t){return function(r,n){var o=n.from,i=n.to,u=(0,e.__rest)(n,["from","to"]);return r((0,e.__assign)({},u,{from:0,to:1})).pipe(t(o,i))}},C=M(r.mixColor),k=M(r.mixComplex),P=function(t,e){var r=b(e),n=r.testVectorProps,o=r.getVectorKeys;return function(e){if(!n(e))return t(e);var r=o(e),i=e[r[0]];return A(i)(t,e,r)}},A=function(t){return"number"==typeof t?O:_(t)?S:o.color.test(t)?C:o.complex.test(t)?k:O},D=function(t){return void 0===t&&(t={}),l(function(e){var r=e.complete,o=e.update,i=t.velocity,u=void 0===i?0:i,a=t.from,s=void 0===a?0:a,c=t.power,p=void 0===c?.8:c,f=t.timeConstant,l=void 0===f?350:f,d=t.restDelta,v=void 0===d?.5:d,m=t.modifyTarget,h=0,y=p*u,g=Math.round(s+y),b=void 0===m?g:m(g),x=n.default.update(function(t){var e=t.delta;h+=e;var i=-y*Math.exp(-h/l),u=i>v||i<-v;o(u?b+i:b),u||(n.cancelSync.update(x),r())},!0);return{stop:function(){return n.cancelSync.update(x)}}})},E=P(D,{from:o.number.test,modifyTarget:function(t){return"function"==typeof t},velocity:o.number.test});exports.decay=E;var F=function(t){return void 0===t&&(t={}),l(function(e){var o=e.update,i=e.complete,u=t.velocity,a=void 0===u?0:u,s=t.from,c=void 0===s?0:s,p=t.to,f=void 0===p?0:p,l=t.stiffness,d=void 0===l?100:l,v=t.damping,m=void 0===v?10:v,h=t.mass,y=void 0===h?1:h,g=t.restSpeed,b=void 0===g?.01:g,x=t.restDelta,w=void 0===x?.01:x,_=a?-a/1e3:0,O=0,S=f-c,M=c,C=M,k=n.default.update(function(t){var e=t.delta;O+=e;var u=m/(2*Math.sqrt(d*y)),s=Math.sqrt(d/y)/1e3;if(C=M,u<1){var c=Math.exp(-u*s*O),p=s*Math.sqrt(1-u*u);M=f-c*((_+u*s*S)/p*Math.sin(p*O)+S*Math.cos(p*O))}else{c=Math.exp(-s*O);M=f-c*(S+(_+s*S)*O)}a=(0,r.velocityPerSecond)(M-C,e);var l=Math.abs(a)<=b,v=Math.abs(f-M)<=w;l&&v?(o(M=f),n.cancelSync.update(k),i()):o(M)},!0);return{stop:function(){return n.cancelSync.update(k)}}})},V=P(F,{from:o.number.test,to:o.number.test,stiffness:o.number.test,damping:o.number.test,mass:o.number.test,velocity:o.number.test});exports.spring=V;var j=function(t){var o=t.from,i=void 0===o?0:o,u=t.velocity,a=void 0===u?0:u,s=t.min,c=t.max,p=t.power,f=void 0===p?.8:p,d=t.timeConstant,v=void 0===d?700:d,m=t.bounceStiffness,h=void 0===m?500:m,y=t.bounceDamping,g=void 0===y?10:y,b=t.restDelta,x=void 0===b?1:b,w=t.modifyTarget;return l(function(t){var o,u=t.update,p=t.complete,l=i,d=i,m=!1,y=function(t){return void 0!==s&&t<=s},b=function(t){return void 0!==c&&t>=c},_=function(t){return y(t)||b(t)},O=function(t){u(t),l=d,d=t,a=(0,r.velocityPerSecond)(d-l,(0,n.getFrameData)().delta),o&&!m&&function(t,e){return y(t)&&e<0||b(t)&&e>0}(t,a)&&M({from:t,velocity:a})},S=function(t,e){o&&o.stop(),o=t.start({update:O,complete:function(){e?e():p()}})},M=function(t){m=!0,S(V((0,e.__assign)({},t,{to:y(t.from)?s:c,stiffness:h,damping:g,restDelta:x})))};if(_(i))M({from:i,velocity:a});else if(0!==a){var C=E({from:i,velocity:a,timeConstant:v,power:f,restDelta:_(i)?20:x,modifyTarget:w});S(C,function(){_(d)?M({from:d,velocity:a}):p()})}else p();return{stop:function(){return o&&o.stop()}}})},q=P(j,{from:o.number.test,velocity:o.number.test,min:o.number.test,max:o.number.test,damping:o.number.test,stiffness:o.number.test,modifyTarget:function(t){return"function"==typeof t}});exports.inertia=q;var T=function(){return l(function(t){var e=t.update,r=0,o=n.default.update(function(t){var n=t.timestamp;r||(r=n),e(n-r)},!0,!0);return{stop:function(){return n.cancelSync.update(o)}}})};exports.everyFrame=T;var X=function(t){var e=t.from,n=void 0===e?0:e,o=t.to,u=void 0===o?1:o,a=t.ease,s=void 0===a?i.linear:a,c=t.reverseEase;return void 0!==c&&c&&(s=(0,i.createReversedEasing)(s)),l(function(t){var e=t.update;return{seek:function(t){return e(t)}}}).pipe(s,function(t){return(0,r.mix)(n,u,t)})},Y=P(X,{ease:function(t){return"function"==typeof t},from:o.number.test,to:o.number.test}),R=(0,r.clamp)(0,1),B=function(t){return void 0===t&&(t={}),l(function(e){var o,u=e.update,a=e.complete,s=t.duration,c=void 0===s?300:s,p=t.ease,f=void 0===p?i.easeOut:p,l=t.flip,d=void 0===l?0:l,v=t.loop,m=void 0===v?0:v,h=t.yoyo,y=void 0===h?0:h,g=t.repeatDelay,b=void 0===g?0:g,x=t.from,w=void 0===x?0:x,_=t.to,O=void 0===_?1:_,S=t.elapsed,M=void 0===S?0:S,C=t.flipCount,k=void 0===C?0:C,P=t.yoyoCount,A=void 0===P?0:P,D=t.loopCount,E=void 0===D?0:D,F=Y({from:w,to:O,ease:f}).start(u),V=0,j=!1,q=function(t){var e;void 0===t&&(t=!1),F=Y({from:w=(e=[O,w])[0],to:O=e[1],ease:f,reverseEase:t}).start(u)},T=function(){V=R((0,r.progress)(0,c,M)),F.seek(V)},X=function(){j=!0,o=n.default.update(function(t){var e,r=t.delta;M+=r,T(),!(e=j&&M>c+b)||(!e||m||d||y)&&(M=M-c-b,m&&E<m?(E++,1):d&&k<d?(k++,q(),1):y&&A<y&&(q(++A%2!=0),1))||(n.cancelSync.update(o),a&&n.default.update(a,!1,!0))},!0)},B=function(){j=!1,o&&n.cancelSync.update(o)};return X(),{isActive:function(){return j},getElapsed:function(){return(0,r.clamp)(0,c,M)},getProgress:function(){return V},stop:function(){B()},pause:function(){return B(),this},resume:function(){return j||X(),this},seek:function(t){return M=(0,r.mix)(0,c,t),n.default.update(T,!1,!0),this},reverse:function(){return q(),this}}})};exports.tween=B;var K=(0,r.clamp)(0,1),L=function(t,e){return t.map(function(){return e||i.easeOut}).splice(0,t.length-1)},U=function(t){var e=t.length;return t.map(function(t,r){return 0!==r?r/(e-1):0})},W=function(t,e,n){var o=t.length,i=o-1,u=i-1,a=e.map(function(t){return t.start(n)});return function(e){e<=t[0]&&a[0].seek(0),e>=t[i]&&a[u].seek(1);for(var n=1;n<o&&!(t[n]>e||n===i);n++);var s=(0,r.progress)(t[n-1],t[n],e);a[n-1].seek(K(s))}},I=function(t){var r=t.easings,n=t.ease,o=void 0===n?i.linear:n,u=t.times,a=t.values,s=(0,e.__rest)(t,["easings","ease","times","values"]);r=Array.isArray(r)?r:L(a,r),u=u||U(a);var c=r.map(function(t,e){return Y({from:a[e],to:a[e+1],ease:t})});return B((0,e.__assign)({},s,{ease:o})).applyMiddleware(function(t){return W(u,c,t)})};exports.keyframes=I;var N=function(t){return void 0===t&&(t={}),l(function(e){var o=e.complete,i=e.update,u=t.acceleration,a=void 0===u?0:u,s=t.friction,c=void 0===s?0:s,p=t.velocity,f=void 0===p?0:p,l=t.springStrength,d=t.to,v=t.restSpeed,m=void 0===v?.001:v,h=t.from,y=void 0===h?0:h,g=n.default.update(function(t){var e=t.delta,u=Math.max(e,16);(a&&(f+=(0,r.velocityPerFrame)(a,u)),c&&(f*=Math.pow(1-c,u/100)),void 0!==l&&void 0!==d)&&(f+=(d-y)*(0,r.velocityPerFrame)(l,u));y+=(0,r.velocityPerFrame)(f,u),i(y),!1!==m&&(!f||Math.abs(f)<=m)&&(n.cancelSync.update(g),o())},!0);return{set:function(t){return y=t,this},setAcceleration:function(t){return a=t,this},setFriction:function(t){return c=t,this},setSpringStrength:function(t){return l=t,this},setSpringTarget:function(t){return d=t,this},setVelocity:function(t){return f=t,this},stop:function(){return n.cancelSync.update(g)}}})},z=P(N,{acceleration:o.number.test,friction:o.number.test,velocity:o.number.test,from:o.number.test,to:o.number.test,springStrength:o.number.test});exports.physics=z;var G=function(t){var e=t.getCount,r=t.getFirst,o=t.getOutput,i=t.mapApi,u=t.setProp,a=t.startActions;return function(t){return l(function(s){var c=s.update,p=s.complete,f=s.error,l=e(t),d=o(),v=function(){return c(d)},m=0,h=a(t,function(t,e){var r=!1;return t.start({complete:function(){r||(r=!0,++m===l&&n.default.update(p))},error:f,update:function(t){u(d,e,t),n.default.update(v,!1,!0)}})});return Object.keys(r(h)).reduce(function(t,e){return t[e]=i(h,e),t},{})})}},H=G({getOutput:function(){return{}},getCount:function(t){return Object.keys(t).length},getFirst:function(t){return t[Object.keys(t)[0]]},mapApi:function(t,e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Object.keys(t).reduce(function(n,o){var i;return t[o][e]&&(r[0]&&void 0!==r[0][o]?n[o]=t[o][e](r[0][o]):n[o]=(i=t[o])[e].apply(i,r)),n},{})}},setProp:function(t,e,r){return t[e]=r},startActions:function(t,e){return Object.keys(t).reduce(function(r,n){return r[n]=e(t[n],n),r},{})}});exports.composite=H;var J=300,Q=function(t){var e=[],r=t[t.length-1],n="number"==typeof r,o=n?r:0,i=n?t.slice(0,-1):t,u=i.length,a=0;return i.forEach(function(t,r){if(e.push(t),r!==u-1){var n=t.duration||J;a+=o,e.push("-"+(n-a))}}),e},Z=function(t,e){return Array.isArray(e)?t.push.apply(t,Q(e)):t.push(e),t},$=function(t,e,r){var n=t.duration,o=t.easings,u=t.times,a=t.values,s=a.length,c=u[s-1],p=0===e.at?0:e.at/n,f=(e.at+e.duration)/n;if(0===r)a.push(e.from),u.push(p);else if(c!==p){void 0!==e.from&&(a.push(a[s-1]),u.push(p),o.push(i.linear));var l=void 0!==e.from?e.from:a[s-1];a.push(l),u.push(p),o.push(i.linear)}else void 0!==e.from&&(a.push(e.from),u.push(p),o.push(i.linear));return a.push(e.to),u.push(f),o.push(e.ease||i.easeInOut),t},tt=function(t,r){var n=void 0===r?{}:r,o=n.duration,i=n.elapsed,u=n.ease,a=n.loop,s=n.flip,c=n.yoyo,p=0,f=0,l=t.reduce(Z,[]),d=[];l.forEach(function(t){if("string"==typeof t)p+=parseFloat(t);else if("number"==typeof t)p=t;else{var r=(0,e.__assign)({},t,{at:p});r.duration=void 0===r.duration?J:r.duration,d.push(r),p+=r.duration,f=Math.max(f,r.at+r.duration)}});for(var v={},m=d.length,h=0;h<m;h++){var y=d[h],g=y.track;if(void 0===g)throw new Error("No track defined");v.hasOwnProperty(g)||(v[g]=[]),v[g].push(y)}var b={};for(var x in v)if(v.hasOwnProperty(x)){var w=v[x].reduce($,{duration:f,easings:[],times:[],values:[]});b[x]=I((0,e.__assign)({},w,{duration:o||f,ease:u,elapsed:i,loop:a,yoyo:c,flip:s}))}return H(b)};exports.timeline=tt;var et=function(t,e,r){return l(function(n){var o=n.update,i=e.split(" ").map(function(e){return t.addEventListener(e,o,r),e});return{stop:function(){return i.forEach(function(e){return t.removeEventListener(e,o,r)})}}})};exports.listen=et;var rt=function(){return{clientX:0,clientY:0,pageX:0,pageY:0,x:0,y:0}},nt=function(t,e){return void 0===e&&(e=rt()),e.clientX=e.x=t.clientX,e.clientY=e.y=t.clientY,e.pageX=t.pageX,e.pageY=t.pageY,e},ot=[rt()],it=!1;if("undefined"!=typeof document){var ut=function(t){var e=t.touches;it=!0;var r=e.length;ot.length=0;for(var n=0;n<r;n++){var o=e[n];ot.push(nt(o))}};et(document,"touchstart touchmove",{passive:!0,capture:!0}).start(ut)}var at=function(t){var e=void 0===t?{}:t,o=e.preventDefault,i=void 0===o||o,u=e.scale,a=void 0===u?1:u,s=e.rotate,c=void 0===s?0:s;return l(function(t){var e=t.update,o={touches:ot,scale:a,rotate:c},u=0,s=0,p=ot.length>1;if(p){var f=ot[0],l=ot[1];u=(0,r.distance)(f,l),s=(0,r.angle)(f,l)}var d=function(){if(p){var t=ot[0],n=ot[1],i=(0,r.distance)(t,n),f=(0,r.angle)(t,n);o.scale=a*(i/u),o.rotate=c+(f-s)}e(o)},v=et(document,"touchmove",{passive:!i}).start(function(t){(i||t.touches.length>1)&&t.preventDefault(),n.default.update(d)});return it&&n.default.update(d),{stop:function(){n.cancelSync.update(d),v.stop()}}})};exports.multitouch=at;var st=function(){return it},ct=rt(),pt=!1;if("undefined"!=typeof document){var ft=function(t){pt=!0,nt(t,ct)};et(document,"mousedown mousemove",!0).start(ft)}var lt=function(t){var e=(void 0===t?{}:t).preventDefault,r=void 0===e||e;return l(function(t){var e=t.update,o=function(){return e(ct)},i=et(document,"mousemove").start(function(t){r&&t.preventDefault(),n.default.update(o)});return pt&&n.default.update(o),{stop:function(){n.cancelSync.update(o),i.stop()}}})};exports.mouse=lt;var dt=function(t){return t[0]},vt=function(t){return void 0===t&&(t={}),st()?at(t).pipe(function(t){return t.touches},dt):lt(t)},mt=function(t){void 0===t&&(t={});var n=t.x,o=t.y,i=(0,e.__rest)(t,["x","y"]);if(void 0!==n||void 0!==o){var u=(0,r.applyOffset)(n||0),a=(0,r.applyOffset)(o||0),s={x:0,y:0};return vt(i).pipe(function(t){return s.x=u(t.x),s.y=a(t.y),s})}return vt(i)};exports.pointer=mt;var ht=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return l(function(e){var r,n=e.update,o=e.complete,i=0,u=function(){r=t[i].start({complete:function(){++i>=t.length?o():u()},update:n})};return u(),{stop:function(){return r&&r.stop()}}})};exports.chain=ht;var yt=G({getOutput:function(){return[]},getCount:function(t){return t.length},getFirst:function(t){return t[0]},mapApi:function(t,e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.map(function(t,n){if(t[e])return Array.isArray(r[0])?t[e](r[0][n]):t[e].apply(t,r)})}},setProp:function(t,e,r){return t[e]=r},startActions:function(t,e){return t.map(function(t,r){return e(t,r)})}}),gt=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return yt(t)};exports.parallel=gt;var bt=function(t,n){return l(function(o){var i=0,u=gt(t,n).start((0,e.__assign)({},o,{update:function(t){var e=t[0],n=t[1];o.update((0,r.mix)(e,n,i))}}));return{setBalance:function(t){return i=t},stop:function(){return u.stop()}}})};exports.crossfade=bt;var xt=function(t){return l(function(e){var r=e.complete,n=setTimeout(r,t);return{stop:function(){return clearTimeout(n)}}})};exports.delay=xt;var wt=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return l(function(e){var r=t.map(function(t){return t.start(e)});return{stop:function(){return r.forEach(function(t){return t.stop()})}}})};exports.merge=wt;var _t=function(t,e){return l(function(r){var n,o=r.update,i=r.complete,u=t.start({update:function(){return void 0!==n&&o(n)},complete:i}),a=e.start({update:function(t){return n=t},complete:i});return{stop:function(){u.stop(),a.stop()}}})};exports.schedule=_t;var Ot=function(t,e){var r="number"==typeof e,n=t.map(function(t,n){var o=r?e*n:e(n);return ht(xt(o),t)});return gt.apply(void 0,n)};exports.stagger=Ot;var St=function(){return(0,u.invariant)(!1,"styler has been removed from Popmotion in 9.0. Downgrade to 8.x or npm install stylefire")};exports.styler=St;
},{"tslib":"vCxL","@popmotion/popcorn":"cueS","framesync":"bSZI","style-value-types":"Hokg","@popmotion/easing":"xQjT","hey-listen":"KFGT","process":"pBGv"}],"subt":[function(require,module,exports) {
"use strict";function e(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=e;exports.default=t;
},{}],"F4RS":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("@emotion/memoize"));function t(e){return e&&e.__esModule?e:{default:e}}var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,e.default)(function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),n=i;exports.default=n;
},{"@emotion/memoize":"subt"}],"UfSJ":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MotionPlugins=gn,exports.ReducedMotion=po,exports.addScaleCorrection=Z,exports.createMotionComponent=vi,exports.isValidMotionProp=me,exports.motionValue=d,exports.resolveMotionValue=Di,exports.transform=Ii,exports.useAnimatedState=xo,exports.useAnimation=oo,exports.useCycle=ao,exports.useDomEvent=An,exports.useDragControls=mo,exports.useElementScroll=Qi,exports.useExternalRef=go,exports.useGestures=Pr,exports.useInvertedScale=zi,exports.useIsPresent=le,exports.useMotionValue=Oi,exports.usePanGesture=vr,exports.usePresence=ce,exports.useReducedMotion=fo,exports.useSpring=Ni,exports.useTapGesture=br,exports.useTransform=ji,exports.useViewportScroll=io,exports.motion=exports.animationControls=exports.VisualElementAnimationControls=exports.PresenceContext=exports.MotionValue=exports.MotionPluginContext=exports.MotionContext=exports.DragControls=exports.AnimationControls=exports.AnimateSharedLayout=exports.AnimatePresence=void 0;var t=require("tslib"),e=c(require("framesync")),n=require("@popmotion/popcorn"),r=require("hey-listen"),i=require("style-value-types"),o=require("popmotion"),a=c(require("@popmotion/easing")),s=c(require("react"));function u(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return u=function(){return t},t}function c(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=u();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=r?Object.getOwnPropertyDescriptor(t,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=t[i]}return n.default=t,e&&e.set(t,n),n}var l=function(t){return"object"==typeof t&&t.hasOwnProperty("current")},f=function(t){return!isNaN(parseFloat(t))},p=function(){function t(t){var n=this;this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.updateAndNotify=function(t,r){void 0===r&&(r=!0),n.prev=n.current,n.current=t,n.updateSubscribers&&n.prev!==n.current&&n.updateSubscribers.forEach(n.notifySubscriber),r&&n.renderSubscribers&&n.renderSubscribers.forEach(n.notifySubscriber);var i=(0,e.getFrameData)(),o=i.delta,a=i.timestamp;n.lastUpdated!==a&&(n.timeDelta=o,n.lastUpdated=a,e.default.postRender(n.scheduleVelocityCheck))},this.notifySubscriber=function(t){t(n.current)},this.scheduleVelocityCheck=function(){return e.default.postRender(n.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==n.lastUpdated&&(n.prev=n.current)},this.set(t,!1),this.canTrackVelocity=f(this.current)}return t.prototype.subscribeTo=function(t,e){var n=this,r=function(){return e(n.current)};return t.add(r),function(){return t.delete(r)}},t.prototype.onChange=function(t){return this.updateSubscribers||(this.updateSubscribers=new Set),this.subscribeTo(this.updateSubscribers,t)},t.prototype.clearListeners=function(){var t;null===(t=this.updateSubscribers)||void 0===t||t.clear()},t.prototype.onRenderRequest=function(t){return this.renderSubscribers||(this.renderSubscribers=new Set),this.notifySubscriber(t),this.subscribeTo(this.renderSubscribers,t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){return this.canTrackVelocity?(0,n.velocityPerSecond)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},t.prototype.start=function(t){var e=this;return this.stop(),new Promise(function(n){e.stopAnimation=t(n)}).then(function(){return e.clearAnimation()})},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers&&this.updateSubscribers.clear(),this.renderSubscribers&&this.renderSubscribers.clear(),this.stop()},t}();function d(t){return new p(t)}exports.MotionValue=p;var h=function(){function n(n,r){var i=this;this.children=new Set,this.latest={},this.values=new Map,this.valueSubscriptions=new Map,this.config={},this.update=function(){return i.config.onUpdate(i.latest)},this.triggerRender=function(){return i.render()},this.scheduleRender=function(){return e.default.render(i.triggerRender,!1,!0)},this.ref=function(t){t?i.mount(t):i.unmount(),i.externalRef&&("function"==typeof i.externalRef?i.externalRef(t):l(i.externalRef)&&(i.externalRef.current=t))},this.parent=n,this.treePath=n?(0,t.__spreadArrays)(n.treePath,[n]):[],this.depth=n?n.depth+1:0,this.externalRef=r}return n.prototype.subscribe=function(t){var e=this;return this.children.add(t),function(){return e.children.delete(t)}},n.prototype.hasValue=function(t){return this.values.has(t)},n.prototype.addValue=function(t,e){this.hasValue(t)&&this.removeValue(t),this.values.set(t,e),this.latest[t]=e.get(),this.element&&this.subscribeToValue(t,e)},n.prototype.removeValue=function(t){var e=this.valueSubscriptions.get(t);e&&e(),this.values.delete(t),delete this.latest[t],this.valueSubscriptions.delete(t)},n.prototype.getValue=function(t,e){var n=this.values.get(t);return void 0===n&&void 0!==e&&(n=new p(e),this.addValue(t,n)),n},n.prototype.forEachValue=function(t){this.values.forEach(t)},n.prototype.getInstance=function(){return this.element},n.prototype.updateConfig=function(e){void 0===e&&(e={}),this.config=(0,t.__assign)({},e)},n.prototype.setSingleStaticValue=function(t,e){this.latest[t]=e},n.prototype.setStaticValues=function(t,e){if("string"==typeof t)this.setSingleStaticValue(t,e);else for(var n in t)this.setSingleStaticValue(n,t[n])},n.prototype.subscribeToValue=function(t,n){var r=this,i=n.onChange(function(n){r.setSingleStaticValue(t,n),r.latest[t]=n,r.config.onUpdate&&e.default.update(r.update,!1,!0)}),o=n.onRenderRequest(this.scheduleRender);this.valueSubscriptions.set(t,function(){i(),o()})},n.prototype.mount=function(t){var e=this;(0,r.invariant)(!!t,"No ref found. Ensure components created with motion.custom forward refs using React.forwardRef"),this.parent&&(this.removeFromParent=this.parent.subscribe(this)),this.element=this.current=t,this.forEachValue(function(t,n){return e.subscribeToValue(n,t)})},n.prototype.unmount=function(){var t=this;this.forEachValue(function(e,n){return t.removeValue(n)}),e.cancelSync.update(this.update),e.cancelSync.render(this.render),this.removeFromParent&&this.removeFromParent()},n}();function v(t){return t}function m(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function g(t){var e=t.x,n=t.y;return{top:n.min,bottom:n.max,left:e.min,right:e.max}}function y(t,e){var n=t.top,r=t.left,i=t.bottom,o=t.right;void 0===e&&(e=v);var a=e({x:r,y:n}),s=e({x:o,y:i});return{top:a.y,left:a.x,bottom:s.y,right:s.x}}function x(){return{x:{min:0,max:1},y:{min:0,max:1}}}function b(e){return{x:(0,t.__assign)({},e.x),y:(0,t.__assign)({},e.y)}}var E={translate:0,scale:1,origin:0,originPoint:0};function w(){return{x:(0,t.__assign)({},E),y:(0,t.__assign)({},E)}}var C={test:function(t){return"auto"===t},parse:function(t){return t}},P=(0,t.__assign)((0,t.__assign)({},i.number),{transform:Math.round}),_={color:i.color,backgroundColor:i.color,outlineColor:i.color,fill:i.color,stroke:i.color,borderColor:i.color,borderTopColor:i.color,borderRightColor:i.color,borderBottomColor:i.color,borderLeftColor:i.color,borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,size:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,rotate:i.degrees,rotateX:i.degrees,rotateY:i.degrees,rotateZ:i.degrees,scale:i.scale,scaleX:i.scale,scaleY:i.scale,scaleZ:i.scale,skew:i.degrees,skewX:i.degrees,skewY:i.degrees,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,opacity:i.alpha,originX:i.progressPercentage,originY:i.progressPercentage,originZ:i.px,zIndex:P,fillOpacity:i.alpha,strokeOpacity:i.alpha,numOctaves:P},S=[i.number,i.px,i.percent,i.degrees,i.vw,i.vh,C],A=function(t){return function(e){return e.test(t)}},V=function(t){return S.find(A(t))},L=(0,t.__spreadArrays)(S,[i.color,i.complex]),T=function(t){return L.find(A(t))},k=function(t){return _[t]},B=function(t,e){return e&&"number"==typeof t?e.transform(t):t},M=["","X","Y","Z"],R=["translate","scale","rotate","skew","transformPerspective"],O=["x","y","z"];function D(t,e){return O.indexOf(t)-O.indexOf(e)}R.forEach(function(t){M.forEach(function(e){return O.push(t+e)})});var F=new Set(O);function U(t){return F.has(t)}var I=new Set(["originX","originY","originZ"]);function H(t){return I.has(t)}var j={x:"translateX",y:"translateY",z:"translateZ"};function Y(t,e,n,r,i,o){void 0===i&&(i=!0),void 0===o&&(o=!0);var a="",s=!1;e.sort(D);for(var u=e.length,c=0;c<u;c++){var l=e[c];a+=(j[l]||l)+"("+t[l]+") ","z"===l&&(s=!0)}return!s&&i?a+="translateZ(0)":a=a.trim(),n?a=n(t,r?"":a):o&&r&&(a="none"),a}function X(t){return t.startsWith("--")}function z(t,e){return t/(e.max-e.min)*100}function W(t,e){return"number"!=typeof t?t:z(t,e.x)+"% "+z(t,e.y)+"%"}function N(t,e,r,o){var a=i.complex.parse(t),s=i.complex.createTransformer(t),u=r.x.scale*o.x,c=r.y.scale*o.y;a[1]/=u,a[2]/=c;var l=(0,n.mix)(u,c,.5);return"number"==typeof a[3]&&(a[3]/=l),"number"==typeof a[4]&&(a[4]/=l),s(a)}var G={process:W},q={borderRadius:(0,t.__assign)((0,t.__assign)({},G),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:G,borderTopRightRadius:G,borderBottomLeftRadius:G,borderBottomRightRadius:G,boxShadow:{process:N}};function Z(t){for(var e in t)q[e]=t[e]}function $(t,e,n,r,i,o,a,s,u,c,l,f){var p=a.enableHardwareAcceleration,d=a.transformTemplate,h=a.allowTransformNone;o.length=0;var v=!!s,m=!!s,g=!0;for(var y in t){var x=t[y],b=k(y),E=B(x,b);if(U(y)){if(v=!0,r[y]=E,o.push(y),!g)continue;x!==(void 0!==b.default?b.default:0)&&(g=!1)}else if(H(y))i[y]=E,m=!0;else if("transform"!==y||"function"!=typeof x){var w=X(y)?n:e;if(s&&q[y]){var C=q[y].process(x,f,u,l),P=q[y].applyTo;if(P)for(var _=P.length,S=0;S<_;S++)w[P[S]]=C;else w[y]=C}else w[y]=E}}if((v||d)&&(e.transform=s?K(c,l):Y(r,o,d,g,p,h)),m){var A=s?100*c.x.origin+"%":i.originX||"50%",V=s?100*c.y.origin+"%":i.originY||"50%",L=i.originZ||"0";e.transformOrigin=A+" "+V+" "+L}}function K(t,e){return"translate3d("+t.x.translate/e.x+"px, "+t.y.translate/e.y+"px, 0) scale("+t.x.scale+", "+t.y.scale+")"}function J(t,e){t.min=e.min,t.max=e.max}function Q(t,e){J(t.x,e.x),J(t.y,e.y)}function tt(t,e,n){return n+e*(t-n)}function et(t,e,n,r,i){return void 0!==i&&(t=tt(t,i,r)),tt(t,n,r)+e}function nt(t,e,n,r,i){void 0===e&&(e=0),void 0===n&&(n=1),t.min=et(t.min,e,n,r,i),t.max=et(t.max,e,n,r,i)}function rt(t,e){var n=e.x,r=e.y;nt(t.x,n.translate,n.scale,n.originPoint),nt(t.y,r.translate,r.scale,r.originPoint)}function it(t,e,r,i){var o=i[0],a=i[1],s=i[2];t.min=e.min,t.max=e.max;var u=(0,n.mix)(e.min,e.max,r[s]||.5);nt(t,r[o],r[a],u,r.scale)}var ot=["x","scaleX","originX"],at=["y","scaleY","originY"];function st(t,e,n){it(t.x,e.x,n,ot),it(t.y,e.y,n,at)}function ut(t,e,n,r,i){return t=tt(t-=e,1/n,r),void 0!==i&&(t=tt(t,1/i,r)),t}function ct(t,e,r,i,o){void 0===e&&(e=0),void 0===r&&(r=1),void 0===i&&(i=.5);var a=(0,n.mix)(t.min,t.max,i)-e;t.min=ut(t.min,e,r,a,o),t.max=ut(t.max,e,r,a,o)}function lt(t,e,n){var r=n[0],i=n[1],o=n[2];ct(t,e[r],e[i],e[o],e.scale)}function ft(t,e){lt(t.x,e,ot),lt(t.y,e,at)}function pt(t,e,n){e.x=e.y=1;for(var r=n.length,i=0;i<r;i++){var o=n[i].delta;rt(t,o),e.x*=o.x.scale,e.y*=o.y.scale}}var dt=(0,n.clamp)(0,1);function ht(t,e,r){return void 0===e&&(e=0),void 0===r&&(r=.01),(0,n.distance)(t,e)<r}function vt(t,e,r){var i=(0,n.mix)(t.min,t.max,r);return(0,n.mix)(e.min,e.max,r)-i}function mt(t,e){var r=.5,i=t.max-t.min,o=e.max-e.min;return o>i?r=(0,n.progress)(e.min,e.max-i,t.min):i>o&&(r=(0,n.progress)(t.min,t.max-o,e.min)),dt(r)}function gt(t,e,r,i){var o=e.max-e.min,a=r.max-r.min;t.origin=void 0===i?mt(e,r):i,t.originPoint=(0,n.mix)(e.min,e.max,t.origin),t.scale=a/o,ht(t.scale,1,1e-4)&&(t.scale=1),t.translate=vt(e,r,t.origin),ht(t.translate)&&(t.translate=0)}function yt(t,e,n,r){gt(t.x,e.x,n.x,r),gt(t.y,e.y,n.y,r)}function xt(t){return[t("x"),t("y")]}var bt=function(t){return Array.isArray(t)},Et=function(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}},wt=function(t){return{type:"spring",stiffness:700,damping:0===t?100:35}},Ct=function(){return{ease:"linear",duration:.3}},Pt=function(t){return{type:"keyframes",duration:.8,values:t}},_t={x:Et,y:Et,z:Et,rotate:Et,rotateX:Et,rotateY:Et,rotateZ:Et,scaleX:wt,scaleY:wt,scale:wt,opacity:Ct,backgroundColor:Ct,color:Ct,default:wt},St=function(e,n){var r;return r=bt(n)?Pt:_t[e]||_t.default,(0,t.__assign)({to:n},r(n))},At=function(t){var e=t.to,n=t.duration;return(0,o.action)(function(t){var r=t.update,i=t.complete;r(e),n?(0,o.delay)(n).start({complete:i}):i()})},Vt=function(t){if(Array.isArray(t)){(0,r.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=t[0],n=t[1],i=t[2],o=t[3];return(0,a.cubicBezier)(e,n,i,o)}return"string"==typeof t?((0,r.invariant)(void 0!==a[t],"Invalid easing type '"+t+"'"),a[t]):t},Lt=function(t){return Array.isArray(t)&&"number"!=typeof t[0]},Tt=function(t){return t.hasOwnProperty("duration")||t.hasOwnProperty("repeatDelay")},kt=function(t,e){return"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!i.complex.test(e)||e.startsWith("url(")))},Bt=function(t){return 1e3*t},Mt={tween:o.tween,spring:o.spring,keyframes:o.keyframes,inertia:o.inertia,just:At},Rt={tween:function(t){if(t.ease){var e=Lt(t.ease)?t.ease[0]:t.ease;t.ease=Vt(e)}return t},keyframes:function(e){var n=e.from,r=(e.to,e.velocity,(0,t.__rest)(e,["from","to","velocity"]));if(r.values&&null===r.values[0]){var i=(0,t.__spreadArrays)(r.values);i[0]=n,r.values=i}return r.ease&&(r.easings=Lt(r.ease)?r.ease.map(Vt):Vt(r.ease)),r.ease=a.linear,r}},Ot=function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection;var n=(0,t.__rest)(e,["when","delay","delayChildren","staggerChildren","staggerDirection"]);return Object.keys(n).length},Dt=function(e,n,r){var i=r?r.delay:0;if(void 0===r||!Ot(r))return(0,t.__assign)({delay:i},St(e,n));var o=r[e]||r.default||r;return!1===o.type?{delay:o.hasOwnProperty("delay")?o.delay:i,to:bt(n)?n[n.length-1]:n,type:"just"}:bt(n)?(0,t.__assign)((0,t.__assign)({values:n,duration:.8,delay:i,ease:"linear"},o),{type:"keyframes"}):(0,t.__assign)({type:"tween",to:n,delay:i},o)},Ft=function(t,e){return Rt[t]?Rt[t](e):e},Ut=function(e,n,i,o){var a=n.get(),s=kt(e,a),u=kt(e,i);(0,r.warning)(s===u,"You are trying to animate "+e+' from "'+a+'" to "'+i+'". '+a+" is not an animatable value - to enable this animation set "+a+" to a value animatable to "+i+" via the `style` property.");var c=Dt(e,i,o),l=c.type,f=void 0===l?"tween":l,p=(0,t.__rest)(c,["type"]),d=s&&u?Mt[f]:At,h=Ft(f,(0,t.__assign)({from:a,velocity:n.getVelocity()},p));return Tt(h)&&(h.duration&&(h.duration=Bt(h.duration)),h.repeatDelay&&(h.repeatDelay=Bt(h.repeatDelay))),[d,h]};function It(e,n,r,i){void 0===i&&(i={});var a=i.delay,s=void 0===a?0:a,u=(0,t.__rest)(i,["delay"]);return n.start(function(i){var a,c=Ut(e,n,r,u),l=c[0],f=c[1],p=f.delay,d=(0,t.__rest)(f,["delay"]);void 0!==p&&(s=p);var h=function(){var t=l(d);a=t.start({update:function(t){return n.set(t)},complete:i})};return s?a=(0,o.delay)(Bt(s)).start({complete:h}):h(),function(){a&&a.stop()}})}function Ht(t,e){return m(y(t.getBoundingClientRect(),e))}var jt=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.defaultConfig={enableHardwareAcceleration:!0,allowTransformNone:!0},t.style={},t.reactStyle={},t.vars={},t.transform={},t.transformOrigin={},t.transformKeys=[],t.config=t.defaultConfig,t.isLayoutProjectionEnabled=!1,t.hasLayoutChildren=!1,t.layoutUpdateListeners=new Set,t.hasViewportBoxUpdated=!1,t.targetBoxFinal=x(),t.treeScale={x:1,y:1},t.delta=w(),t.deltaFinal=w(),t.stopLayoutAxisAnimation={x:function(){},y:function(){}},t.isTargetBoxLocked=!1,t.axisProgress={x:d(0),y:d(0)},t}return(0,t.__extends)(n,e),n.prototype.removeValue=function(t){e.prototype.removeValue.call(this,t),delete this.vars[t],delete this.style[t]},n.prototype.clean=function(){this.style={},this.vars={},this.transform={}},n.prototype.updateConfig=function(e){void 0===e&&(e={}),this.config=(0,t.__assign)((0,t.__assign)({},this.defaultConfig),e)},n.prototype.read=function(t){return this.getComputedStyle()[t]||0},n.prototype.readNativeValue=function(t){if(U(t)){var e=k(t);return e&&e.default||0}return this.read(t)},n.prototype.enableLayoutProjection=function(){this.isLayoutProjectionEnabled=!0,Xt(this,function(t){return t.hasLayoutChildren=!0})},n.prototype.hide=function(){!1!==this.isVisible&&(this.isVisible=!1,this.scheduleRender())},n.prototype.show=function(){!0!==this.isVisible&&(this.isVisible=!0,this.scheduleRender())},n.prototype.onLayoutUpdate=function(t){var e=this;return this.layoutUpdateListeners.add(t),function(){return e.layoutUpdateListeners.delete(t)}},n.prototype.layoutReady=function(t){var e=this;this.layoutUpdateListeners.forEach(function(n){n(e.box,e.prevViewportBox||e.box,t)})},n.prototype.getBoundingBox=function(){var t=this.config.transformPagePoint;return Ht(this.element,t)},n.prototype.getBoundingBoxWithoutTransforms=function(){var t=this.getBoundingBox();return ft(t,this.latest),t},n.prototype.getComputedStyle=function(){return window.getComputedStyle(this.element)},n.prototype.snapshotBoundingBox=function(){this.prevViewportBox=this.getBoundingBoxWithoutTransforms();var t=this.axisProgress,e=t.x,n=t.y;this.isTargetBoxLocked||e.isAnimating()||n.isAnimating()||(this.targetBox=b(this.prevViewportBox))},n.prototype.measureLayout=function(){this.box=this.getBoundingBox(),this.boxCorrected=b(this.box),this.targetBox||(this.targetBox=b(this.box))},n.prototype.refreshTargetBox=function(){this.targetBox=this.getBoundingBoxWithoutTransforms()},n.prototype.lockTargetBox=function(){this.isTargetBoxLocked=!0},n.prototype.unlockTargetBox=function(){this.stopLayoutAnimation(),this.isTargetBoxLocked=!1},n.prototype.resetTransform=function(){this.element.style.transform="none",this.scheduleRender()},n.prototype.setAxisTarget=function(t,e,n){var r=this.targetBox[t];r.min=e,r.max=n,this.hasViewportBoxUpdated=!0,Yt(this)},n.prototype.startLayoutAxisAnimation=function(t,e){var n=this,r=this.axisProgress[t],i=this.targetBox[t],o=i.min,a=i.max-o;return r.clearListeners(),r.set(o),r.set(o),r.onChange(function(e){return n.setAxisTarget(t,e,e+a)}),It(t,r,0,e)},n.prototype.stopLayoutAnimation=function(){var t=this;xt(function(e){return t.axisProgress[e].stop()})},n.prototype.updateLayoutDeltas=function(t){var e,n;this.treePath.forEach(function(e){return e.updateLayoutDeltas(t)}),this.isLayoutProjectionEnabled&&this.box&&(Q(this.boxCorrected,this.box),pt(this.boxCorrected,this.treeScale,this.treePath),st(this.targetBoxFinal,this.targetBox,this.latest),yt(this.delta,this.boxCorrected,this.targetBox),yt(this.deltaFinal,this.boxCorrected,this.targetBoxFinal),t||(this.hasViewportBoxUpdated&&(null===(n=(e=this.config).onViewportBoxUpdate)||void 0===n||n.call(e,this.targetBox,this.delta)),this.hasViewportBoxUpdated=!1))},n.prototype.build=function(t){void 0!==this.isVisible&&(this.style.visibility=this.isVisible?"visible":"hidden"),this.isLayoutProjectionEnabled&&this.box&&this.updateLayoutDeltas(t),$(this.latest,this.style,this.vars,this.transform,this.transformOrigin,this.transformKeys,this.config,this.isLayoutProjectionEnabled&&!!this.box,this.delta,this.deltaFinal,this.treeScale,this.targetBoxFinal)},n.prototype.render=function(){for(var t in this.build(!1),Object.assign(this.element.style,this.style),this.vars)this.element.style.setProperty(t,this.vars[t])},n}(h);function Yt(t){t.isLayoutProjectionEnabled&&t.scheduleRender(),t.hasLayoutChildren&&t.children.forEach(Yt)}function Xt(t,e){for(var n=t.parent;n;)e(n),n=n.parent}function zt(t){var e=(0,s.useRef)(null);return null===e.current&&(e.current=t()),e.current}function Wt(t,e,n){return"string"==typeof t?t:i.px.transform(e+n*t)}function Nt(t,e,n){return Wt(e,t.x,t.width)+" "+Wt(n,t.y,t.height)}var Gt=function(t,e){return i.px.transform(t*e)},qt={offset:"stroke-dashoffset",array:"stroke-dasharray"},Zt={offset:"strokeDashoffset",array:"strokeDasharray"};function $t(t,e,n,r,i,o){void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=!0);var a=o?qt:Zt;t[a.offset]=Gt(-i,e);var s=Gt(n,e),u=Gt(r,e);t[a.array]=s+" "+u}var Kt={x:0,y:0,width:0,height:0};function Jt(e,n,r,i,o,a,s,u,c,l){var f=e.attrX,p=e.attrY,d=e.originX,h=e.originY,v=e.pathLength,m=e.pathSpacing,g=void 0===m?1:m,y=e.pathOffset,x=void 0===y?0:y;return $((0,t.__rest)(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),i,r,o,a,s,u),i.transform&&(n.transform=i.transform,delete i.transform),(void 0!==d||void 0!==h||n.transform)&&(n.transformOrigin=Nt(c||Kt,void 0!==d?d:.5,void 0!==h?h:.5)),void 0!==f&&(i.x=f),void 0!==p&&(i.y=p),void 0!==l&&void 0!==v&&$t(i,l,v,g,x,!1),i}var Qt=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues"]),te=/([a-z])([A-Z])/g,ee="$1-$2",ne=function(t){return t.replace(te,ee).toLowerCase()},re=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.attrs={},t.defaultConfig={enableHardwareAcceleration:!1},t.config=t.defaultConfig,t}return(0,t.__extends)(n,e),n.prototype.mount=function(t){e.prototype.mount.call(this,t),this.measure()},n.prototype.measure=function(){try{this.dimensions="function"==typeof this.element.getBBox?this.element.getBBox():this.element.getBoundingClientRect()}catch(t){this.dimensions={x:0,y:0,width:0,height:0}}ie(this.element)&&(this.totalPathLength=this.element.getTotalLength())},n.prototype.clean=function(){e.prototype.clean.call(this),this.attrs={}},n.prototype.read=function(t){return t=Qt.has(t)?t:ne(t),this.element.getAttribute(t)},n.prototype.build=function(){Jt(this.latest,this.style,this.vars,this.attrs,this.transform,this.transformOrigin,this.transformKeys,this.config,this.dimensions,this.totalPathLength)},n.prototype.render=function(){for(var t in e.prototype.render.call(this),this.attrs)this.element.setAttribute(ne(t),this.attrs[t])},n}(jt);function ie(t){return"path"===t.tagName}var oe=["animate","circle","clipPath","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","metadata","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use","view"],ae=new Set(oe);function se(t){return"string"==typeof t&&ae.has(t)}var ue=(0,s.createContext)(null);function ce(){var t=(0,s.useContext)(ue);if(null===t)return[!0,null];var e=t.isPresent,n=t.onExitComplete,r=t.register,i=de();(0,s.useEffect)(function(){return r(i)},[]);return!e&&n?[!1,function(){return null==n?void 0:n(i)}]:[!0]}function le(){var t=(0,s.useContext)(ue);return null===t||t.isPresent}exports.PresenceContext=ue;var fe=0,pe=function(){return fe++},de=function(){return zt(pe)},he=function(e,n,r,i,o){var a=zt(function(){return new(se(e)?re:jt)(r,o)});a.updateConfig((0,t.__assign)({enableHardwareAcceleration:!i},n)),a.layoutId=n.layoutId;var s=le();return a.isPresent=void 0!==n.isPresent?n.isPresent:s,a},ve=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","static","layout","layoutId","onLayoutAnimationComplete","onViewportBoxUpdate","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragElastic","dragMomentum","dragPropagation","dragTransition","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","whileHover","whileTap","onHoverEnd","onHoverStart"]);function me(t){return ve.has(t)}var ge=function(t){return!me(t)};try{var ye=require("@emotion/is-prop-valid").default;ge=function(t){return t.startsWith("on")?!me(t):ye(t)}}catch(Mr){}function xe(t){var e={};for(var n in t)ge(n)&&(e[n]=t[n]);return e}function be(e,n){var r=n.drag,i={style:(0,t.__assign)((0,t.__assign)((0,t.__assign)({},e.reactStyle),e.style),e.vars)};return r&&(i.style.userSelect="none",i.draggable=!1),i}function Ee(e){return(0,t.__assign)((0,t.__assign)({},e.attrs),{style:(0,t.__assign)({},e.reactStyle)})}function we(e,n,r){var i="string"==typeof e?xe(n):n;r.clean(),r.build(!0);var o=se(e)?Ee(r):be(r,n);return(0,s.createElement)(e,(0,t.__assign)((0,t.__assign)((0,t.__assign)({},i),{ref:r.ref}),o))}function Ce(t){return"string"==typeof t&&t.startsWith("var(--")}var Pe=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function _e(t){var e=Pe.exec(t);return e?[e[1],e[2]]:[,]}var Se=4;function Ae(t,e,n){void 0===n&&(n=1),(0,r.invariant)(n<=Se,'Max CSS variable fallback depth detected in property "'+t+'". This may indicate a circular fallback dependency.');var i=_e(t),o=i[0],a=i[1];if(o){var s=window.getComputedStyle(e).getPropertyValue(o);return s||(Ce(a)?Ae(a,e,n+1):a)}}function Ve(e,n,r){var i=(0,t.__rest)(n,[]),o=e.getInstance();if(!(o instanceof HTMLElement))return{target:i,transitionEnd:r};for(var a in r&&(r=(0,t.__assign)({},r)),e.forEachValue(function(t){var e=t.get();if(Ce(e)){var n=Ae(e,o);n&&t.set(n)}}),i){var s=i[a];if(Ce(s)){var u=Ae(s,o);u&&(i[a]=u,r&&void 0===r[a]&&(r[a]=s))}}return{target:i,transitionEnd:r}}var Le,Te=new Set(["width","height","top","left","right","bottom","x","y"]),ke=function(t){return Te.has(t)},Be=function(t){return Object.keys(t).some(ke)},Me=function(t,e){t.set(e,!1),t.set(e)},Re=function(t){return t===i.number||t===i.px};!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(Le||(Le={}));var Oe=function(t,e){return parseFloat(t.split(", ")[e])},De=function(t,e){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return Oe(o[1],e);var a=i.match(/^matrix\((.+)\)$/);return a?Oe(a[1],t):0}},Fe=new Set(["x","y","z"]),Ue=O.filter(function(t){return!Fe.has(t)});function Ie(t){var e=[];return Ue.forEach(function(n){var r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e.length&&t.render(),e}var He={width:function(t){var e=t.x;return e.max-e.min},height:function(t){var e=t.y;return e.max-e.min},top:function(t,e){var n=e.top;return parseFloat(n)},left:function(t,e){var n=e.left;return parseFloat(n)},bottom:function(t,e){var n=t.y,r=e.top;return parseFloat(r)+(n.max-n.min)},right:function(t,e){var n=t.x,r=e.left;return parseFloat(r)+(n.max-n.min)},x:De(4,13),y:De(5,14)},je=function(t,e,n){var r=e.getBoundingBox(),i=e.getComputedStyle(),o=i.display,a={top:i.top,left:i.left,bottom:i.bottom,right:i.right,transform:i.transform};"none"===o&&e.setStaticValues("display",t.display||"block"),e.render();var s=e.getBoundingBox();return n.forEach(function(n){var o=e.getValue(n);Me(o,He[n](r,a)),t[n]=He[n](s,i)}),t},Ye=function(e,n,o,a){void 0===o&&(o={}),void 0===a&&(a={}),n=(0,t.__assign)({},n),a=(0,t.__assign)({},a);var s=Object.keys(n).filter(ke),u=[],c=!1,l=[];if(s.forEach(function(t){var s=e.getValue(t);if(e.hasValue(t)){var f,p=o[t],d=n[t],h=V(p);if(bt(d))for(var v=d.length,m=null===d[0]?1:0;m<v;m++)f?(0,r.invariant)(V(d[m])===f,"All keyframes must be of the same type"):(f=V(d[m]),(0,r.invariant)(f===h||Re(h)&&Re(f),"Keyframes must be of the same dimension as the current value"));else f=V(d);if(h!==f)if(Re(h)&&Re(f)){var g=s.get();"string"==typeof g&&s.set(parseFloat(g)),"string"==typeof d?n[t]=parseFloat(d):Array.isArray(d)&&f===i.px&&(n[t]=d.map(parseFloat))}else c||(u=Ie(e),c=!0),l.push(t),a[t]=void 0!==a[t]?a[t]:n[t],Me(s,d)}}),l.length){var f=je(n,e,l);return u.length&&u.forEach(function(t){var n=t[0],r=t[1];e.getValue(n).set(r)}),e.render(),{target:f,transitionEnd:a}}return{target:n,transitionEnd:a}};function Xe(t,e,n,r){return Be(e)?Ye(t,e,n,r):{target:e,transitionEnd:r}}var ze=function(t,e,n,r){var i=Ve(t,e,r);return Xe(t,e=i.target,n,r=i.transitionEnd)};function We(t,e){void 0===e&&(e=!1);var n=(0,s.useRef)(!0);(!e||e&&n.current)&&t(),n.current=!1}var Ne=function(){function t(){this.hasMounted=!1,this.pendingAnimations=[],this.componentControls=new Set}return t.prototype.setVariants=function(t){this.variants=t,this.componentControls.forEach(function(e){return e.setVariants(t)})},t.prototype.setDefaultTransition=function(t){this.defaultTransition=t,this.componentControls.forEach(function(e){return e.setDefaultTransition(t)})},t.prototype.subscribe=function(t){var e=this;return this.componentControls.add(t),this.variants&&t.setVariants(this.variants),this.defaultTransition&&t.setDefaultTransition(this.defaultTransition),function(){return e.componentControls.delete(t)}},t.prototype.start=function(t,e){var n=this;if(this.hasMounted){var r=[];return this.componentControls.forEach(function(n){var i=n.start(t,{transitionOverride:e});r.push(i)}),Promise.all(r)}return new Promise(function(r){n.pendingAnimations.push({animation:[t,e],resolve:r})})},t.prototype.set=function(t){return(0,r.invariant)(this.hasMounted,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),this.componentControls.forEach(function(e){return e.apply(t)})},t.prototype.stop=function(){this.componentControls.forEach(function(t){return t.stop()})},t.prototype.mount=function(){var t=this;this.hasMounted=!0,this.pendingAnimations.forEach(function(e){var n=e.animation,r=e.resolve;return t.start.apply(t,n).then(r)})},t.prototype.unmount=function(){this.hasMounted=!1,this.stop()},t}();exports.AnimationControls=Ne;var Ge=function(){return new Ne};exports.animationControls=Ge;var qe=(0,s.createContext)({static:!1});exports.MotionContext=qe;var Ze=function(t){return"string"==typeof t||Array.isArray(t)},$e=function(t){return t instanceof Ne},Ke=function(t,e,n,r,i){void 0===r&&(r=!1);var o,a=i.initial,u=i.animate,c=i.variants,l=i.whileTap,f=i.whileHover,p=i.layoutId,d=(0,s.useContext)(ue),h=null==d?void 0:d.id;n.isPresenceRoot=t.presenceId!==h,void 0!==(null==d?void 0:d.initial)&&(a=d.initial),!1!==a||$e(u)?"boolean"!=typeof a&&(o=a):o=u;var v=(0,s.useRef)(!1),m=c||Ze(u)||Ze(l)||Ze(f)||$e(u),g=Ze(o)?o:t.initial,y=Ze(u)?u:t.animate,x=r?g:null,b=m&&Ze(y)?y:null,E=(0,s.useMemo)(function(){return{controls:m?e:t.controls,initial:g,animate:y,visualElement:n,hasMounted:v,isReducedMotion:t.isReducedMotion,presenceId:h}},[x,b,t.isReducedMotion,u,p,h]);return E.static=r,We(function(){var n=o||t.initial;n&&e.apply(n)},!r),(0,s.useEffect)(function(){v.current=!0},[]),E},Je=function(t){var e=t.animate,n=t.variants,r=t.inherit;return(void 0===r||r)&&!!n&&(!e||e instanceof Ne)},Qe=function(t){return t instanceof p};function tn(t,e){var n=zt(rn);for(var r in n){var i=U(r)||H(r),o=e[r],a=e.style&&e.style[r],s=o&&Qe(e[r]),u=a&&Qe(e.style[r]);(i&&!o&&!a||!i&&!s&&!u)&&(t.removeValue(r),delete n[r])}en(t,n,e),e.style&&en(t,n,e.style,!0),e.transformValues&&(t.reactStyle=e.transformValues(t.reactStyle))}function en(t,e,n,r){for(var i in void 0===r&&(r=!1),r&&(t.reactStyle={}),n){var o=n[i],a=!1;if(Qe(o))nn.has(i)||(t.addValue(i,o),a=!0);else if(U(i)||H(i)){if(t.hasValue(i)){if(o!==e[i]){t.getValue(i).set(o)}}else t.addValue(i,d(o));a=!0}else r&&(t.reactStyle[i]=o);a&&(e[i]=o)}}var nn=new Set([]),rn=function(){return{}},on=function(t){return Boolean(t&&"object"==typeof t&&t.mix&&t.toValue)},an=function(t){return bt(t)?t[t.length-1]||0:t},sn=function(t){return/^\-?\d*\.?\d+$/.test(t)},un=function(t){var e={};return t.forEachValue(function(t,n){return e[n]=t.get()}),e},cn=function(t){var e={};return t.forEachValue(function(t,n){return e[n]=t.getVelocity()}),e},ln=function(t){return"function"==typeof t},fn=function(t){return Array.isArray(t)},pn=function(){function e(t,e){var n=this,r=e.makeTargetAnimatable;this.props={},this.variants={},this.baseTarget={},this.overrides=[],this.resolvedOverrides=[],this.activeOverrides=new Set,this.isAnimating=new Set,this.hasValue=function(t){return!n.visualElement.hasValue(t)},this.visualElement=t,this.makeTargetAnimatable=r,this.visualElement.forEachValue(function(t,e){return n.baseTarget[e]=t.get()})}return e.prototype.setProps=function(t){this.props=t},e.prototype.setVariants=function(t){t&&(this.variants=t)},e.prototype.setDefaultTransition=function(t){t&&(this.defaultTransition=t)},e.prototype.setValues=function(e,n){var r=void 0===n?{}:n,i=r.isActive,o=void 0===i?new Set:i,a=r.priority,s=this.resolveVariant(e),u=s.target,c=s.transitionEnd;for(var l in u=this.transformValues((0,t.__assign)((0,t.__assign)({},u),c))){if(o.has(l))return;if(o.add(l),u){var f=an(u[l]);if(this.visualElement.hasValue(l)){var p=this.visualElement.getValue(l);p&&p.set(f)}else this.visualElement.addValue(l,d(f));a||(this.baseTarget[l]=f)}}},e.prototype.transformValues=function(t){var e=this.props.transformValues;return e?e(t):t},e.prototype.checkForNewValues=function(t){var e=Object.keys(t).filter(this.hasValue),n=e.length;if(n)for(var o=0;o<n;o++){var a=e[o],s=t[a],u=null;if(Array.isArray(s)&&(u=s[0]),null===u){var c=this.visualElement.readNativeValue(a);u=void 0!==c?c:t[a],(0,r.invariant)(null!==u,'No initial value for "'+a+'" can be inferred. Ensure an initial value for "'+a+'" is defined on the component.')}"string"==typeof u&&sn(u)?u=parseFloat(u):!T(u)&&i.complex.test(s)&&(u=i.complex.getAnimatableNone(s)),this.visualElement.addValue(a,d(u)),this.baseTarget[a]=u}},e.prototype.resolveVariant=function(e){if(!e)return{target:void 0,transition:void 0,transitionEnd:void 0};ln(e)&&(e=e(this.props.custom,un(this.visualElement),cn(this.visualElement)));var n=e.transition;return{transition:void 0===n?this.defaultTransition:n,transitionEnd:e.transitionEnd,target:(0,t.__rest)(e,["transition","transitionEnd"])}},e.prototype.getHighestPriority=function(){return this.activeOverrides.size?Math.max.apply(Math,Array.from(this.activeOverrides)):0},e.prototype.setOverride=function(t,e){this.overrides[e]=t,this.children&&this.children.forEach(function(n){return n.setOverride(t,e)})},e.prototype.startOverride=function(t){var e=this.overrides[t];if(e)return this.start(e,{priority:t})},e.prototype.clearOverride=function(t){var e=this;if(this.children&&this.children.forEach(function(e){return e.clearOverride(t)}),this.overrides[t]){this.activeOverrides.delete(t);var n=this.getHighestPriority();if(this.resetIsAnimating(),n)this.overrides[n]&&this.startOverride(n);var r=this.resolvedOverrides[t];if(r){var i={};for(var o in this.baseTarget)void 0!==r[o]&&(i[o]=this.baseTarget[o]);this.onStart(),this.animate(i).then(function(){return e.onComplete()})}}},e.prototype.apply=function(t){return Array.isArray(t)?this.applyVariantLabels(t):"string"==typeof t?this.applyVariantLabels([t]):void this.setValues(t)},e.prototype.applyVariantLabels=function(e){var n=this,r=new Set;(0,t.__spreadArrays)(e).reverse().forEach(function(t){var i=n.resolveVariant(n.variants[t]),o=i.target,a=i.transitionEnd;a&&n.setValues(a,{isActive:r}),o&&n.setValues(o,{isActive:r}),n.children&&n.children.size&&n.children.forEach(function(t){return t.applyVariantLabels(e)})})},e.prototype.start=function(t,e){var n,r=this;return void 0===e&&(e={}),e.priority&&this.activeOverrides.add(e.priority),this.resetIsAnimating(e.priority),n=fn(t)?this.animateVariantLabels(t,e):"string"==typeof t?this.animateVariant(t,e):this.animate(t,e),this.onStart(),n.then(function(){return r.onComplete()})},e.prototype.animate=function(e,n){var r=this,i=void 0===n?{}:n,o=i.delay,a=void 0===o?0:o,s=i.priority,u=void 0===s?0:s,c=i.transitionOverride,l=this.resolveVariant(e),f=l.target,p=l.transition,d=l.transitionEnd;if(c&&(p=c),!f)return Promise.resolve();f=this.transformValues(f),d&&(d=this.transformValues(d)),this.checkForNewValues(f);var h=this.transformValues(hn(f,p,this.visualElement));if(this.makeTargetAnimatable){var v=this.makeTargetAnimatable(this.visualElement,f,h,d);f=v.target,d=v.transitionEnd}u&&(this.resolvedOverrides[u]=f),this.checkForNewValues(f);var m=[];for(var g in f){var y=this.visualElement.getValue(g);if(y&&f&&void 0!==f[g]){var x=f[g];u||(this.baseTarget[g]=an(x)),this.isAnimating.has(g)||(this.isAnimating.add(g),m.push(It(g,y,x,(0,t.__assign)({delay:a},p))))}}var b=Promise.all(m);return d?b.then(function(){r.setValues(d,{priority:u})}):b},e.prototype.animateVariantLabels=function(e,n){var r=this,i=(0,t.__spreadArrays)(e).reverse().map(function(t){return r.animateVariant(t,n)});return Promise.all(i)},e.prototype.animateVariant=function(t,e){var n=this,r=!1,i=0,o=0,a=1,s=e&&e.priority||0,u=this.variants[t],c=u?function(){return n.animate(u,e)}:function(){return Promise.resolve()},l=this.children?function(){return n.animateChildren(t,i,o,a,s)}:function(){return Promise.resolve()};if(u&&this.children){var f=this.resolveVariant(u).transition;f&&(r=f.when||r,i=f.delayChildren||i,o=f.staggerChildren||o,a=f.staggerDirection||a)}if(r){var p="beforeChildren"===r?[c,l]:[l,c],d=p[1];return(0,p[0])().then(d)}return Promise.all([c(),l()])},e.prototype.animateChildren=function(t,e,n,r,i){if(void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=1),void 0===i&&(i=0),!this.children)return Promise.resolve();var o=[],a=(this.children.size-1)*n,s=1===r?function(t){return t*n}:function(t){return a-t*n};return Array.from(this.children).forEach(function(n,r){var a=n.animateVariant(t,{priority:i,delay:e+s(r)});o.push(a)}),Promise.all(o)},e.prototype.onStart=function(){var t=this.props.onAnimationStart;t&&t()},e.prototype.onComplete=function(){var t=this.props.onAnimationComplete;t&&t()},e.prototype.checkOverrideIsAnimating=function(t){for(var e=this.overrides.length,n=t+1;n<e;n++){var r=this.resolvedOverrides[n];if(r)for(var i in r)this.isAnimating.add(i)}},e.prototype.resetIsAnimating=function(t){void 0===t&&(t=0),this.isAnimating.clear(),t<this.getHighestPriority()&&this.checkOverrideIsAnimating(t),this.children&&this.children.forEach(function(e){return e.resetIsAnimating(t)})},e.prototype.stop=function(){this.visualElement.forEachValue(function(t){return t.stop()})},e.prototype.addChild=function(t){this.children||(this.children=new Set),this.children.add(t),this.overrides.forEach(function(e,n){e&&t.setOverride(e,n)})},e.prototype.removeChild=function(t){this.children&&this.children.delete(t)},e.prototype.resetChildren=function(){this.children&&this.children.clear()},e}();function dn(t,e){if(e)return(e[t]||e.default||e).from}function hn(t,e,n){var r,i,o={};for(var a in t)o[a]=null!==(r=dn(a,e))&&void 0!==r?r:null===(i=n.getValue(a))||void 0===i?void 0:i.get();return o}function vn(e,n,r){var i=Je(n),o=n.variants,a=n.transition,u=(0,s.useContext)(qe).controls,c=(0,s.useContext)(ue),l=zt(function(){return new pn(e,r)});return c&&!c.isPresent||(l.resetChildren(),l.setProps(n),l.setVariants(o),l.setDefaultTransition(a)),(0,s.useEffect)(function(){i&&u&&u.addChild(l)}),(0,s.useEffect)(function(){return function(){n.onAnimationComplete;var e=(0,t.__rest)(n,["onAnimationComplete"]);l.setProps(e),u&&u.removeChild(l)}},[]),l}exports.VisualElementAnimationControls=pn;var mn=(0,s.createContext)({transformPagePoint:function(t){return t},features:[]});function gn(e){var n=e.children,r=(0,t.__rest)(e,["children"]),i=(0,s.useContext)(mn),o=(0,s.useRef)((0,t.__assign)({},i)).current;for(var a in r)o[a]=r[a];return(0,s.createElement)(mn.Provider,{value:o},n)}function yn(t){var e=null;return function(){return null===e&&(e=t,function(){e=null})}}exports.MotionPluginContext=mn;var xn=yn("dragHorizontal"),bn=yn("dragVertical");function En(t){var e=!1;if("y"===t)e=bn();else if("x"===t)e=xn();else{var n=xn(),r=bn();n&&r?e=function(){n(),r()}:(n&&n(),r&&r())}return e}var wn=!1,Cn="undefined"!=typeof window;Cn&&document.addEventListener("touchmove",function(t){wn&&t.preventDefault()},{passive:!1});var Pn=function(){return wn=!0},_n=function(){return wn=!1};function Sn(t,e,n,r){if(n)return t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n,r)}}function An(t,e,n,r){(0,s.useEffect)(function(){var i=t.current;if(n&&i)return Sn(i,e,n,r)},[t,e,n,r])}function Vn(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function Ln(t){return!!t.touches}function Tn(t){if(t)return function(e){var n=e instanceof MouseEvent;(!n||n&&0===e.button)&&t(e)}}var kn={pageX:0,pageY:0};function Bn(t,e){void 0===e&&(e="page");var n=t.touches[0]||t.changedTouches[0]||kn;return{x:n[e+"X"],y:n[e+"Y"]}}function Mn(t,e){return void 0===e&&(e="page"),{x:t[e+"X"],y:t[e+"Y"]}}function Rn(t,e){return void 0===e&&(e="page"),{point:Ln(t)?Bn(t,e):Mn(t,e)}}function On(t){return Rn(t,"client")}var Dn,Fn=function(t,e){if(void 0===e&&(e=!1),t){var n=function(e){return t(e,Rn(e))};return e?Tn(n):n}},Un="undefined"!=typeof window,In=function(){return Un&&null===window.onpointerdown},Hn=function(){return Un&&null===window.ontouchstart},jn=function(){return Un&&null===window.onmousedown},Yn={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Xn={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function zn(t){return In()?t:Hn()?Xn[t]:jn()?Yn[t]:t}function Wn(t,e,n,r){return Sn(t,zn(e),Fn(n,"pointerdown"===e),r)}function Nn(t,e,n,r){return An(t,zn(e),Fn(n,"pointerdown"===e),r)}!function(t){t.subtract=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.relativeTo=function(t){var e;return function(n){var r=n.x,i=n.y,o=void 0!==e?e:e="string"==typeof t?document.getElementById(t):t;if(o){var a=o.getBoundingClientRect();return{x:r-a.left-window.scrollX,y:i-a.top-window.scrollY}}}}}(Dn||(Dn={}));var Gn=function(){function r(r,i,o){var a=this,s=(void 0===o?{}:o).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(a.lastMoveEvent&&a.lastMoveEventInfo){var r=Zn(a.lastMoveEventInfo,a.history),i=null!==a.startEvent,o=(0,n.distance)(r.offset,{x:0,y:0})>=3;if(i||o){var s=r.point,u=(0,e.getFrameData)().timestamp;a.history.push((0,t.__assign)((0,t.__assign)({},s),{timestamp:u}));var c=a.handlers,l=c.onStart,f=c.onMove;i||(l&&l(a.lastMoveEvent,r),a.startEvent=a.lastMoveEvent),f&&f(a.lastMoveEvent,r)}}},!(Ln(r)&&r.touches.length>1)){this.handlers=i,this.transformPagePoint=s;var u=qn(Rn(r),this.transformPagePoint),c=u.point,l=(0,e.getFrameData)().timestamp;this.history=[(0,t.__assign)((0,t.__assign)({},c),{timestamp:l})];var f=i.onSessionStart;f&&f(r,Zn(u,this.history));var p=Wn(window,"pointermove",function(t,e){return a.handlePointerMove(t,e)}),d=Wn(window,"pointerup",function(t,e){return a.handlePointerUp(t,e)});this.removeListeners=function(){p&&p(),d&&d()}}}return r.prototype.handlePointerMove=function(t,n){this.lastMoveEvent=t,this.lastMoveEventInfo=qn(n,this.transformPagePoint),Vn(t)&&0===t.buttons?this.handlePointerUp(t,n):e.default.update(this.updatePoint,!0)},r.prototype.handlePointerUp=function(t,e){this.end();var n=this.handlers.onEnd;if(n){var r=Zn(qn(e,this.transformPagePoint),this.history);n&&n(t,r)}},r.prototype.updateHandlers=function(t){this.handlers=t},r.prototype.end=function(){this.removeListeners&&this.removeListeners(),e.cancelSync.update(this.updatePoint),_n()},r}();function qn(t,e){return e?{point:e(t.point)}:t}function Zn(t,e){var n=t.point;return{point:n,delta:Dn.subtract(n,Kn(e)),offset:Dn.subtract(n,$n(e)),velocity:Jn(e,.1)}}function $n(t){return t[0]}function Kn(t){return t[t.length-1]}function Jn(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,i=Kn(t);n>=0&&(r=t[n],!(i.timestamp-r.timestamp>Bt(e)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Qn(t,e,r){var i=e.min,o=e.max;return void 0!==i&&t<i?t=r?(0,n.mix)(i,t,r):Math.max(t,i):void 0!==o&&t>o&&(t=r?(0,n.mix)(o,t,r):Math.min(t,o)),t}function tr(t,e,n,r,i){var o=t-e*n;return r?Qn(o,r,i):o}function er(t,e,n){var r={},i=t.max-t.min;return void 0!==e&&(r.min=t.min+e),void 0!==n&&(r.max=Math.max(t.min+n-i,t.min+n)),r}function nr(t,e){var n=e.top,r=e.left,i=e.bottom,o=e.right;return{x:er(t.x,r,o),y:er(t.y,n,i)}}function rr(t,e){var n,r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&(r=(n=[i,r])[0],i=n[1]),{min:t.min+r,max:t.min+i}}function ir(t,e){return{x:rr(t.x,e.x),y:rr(t.y,e.y)}}function or(t,e,r){var i=t.max-t.min,o=(0,n.mix)(e.min,e.max-i,r);return{min:o,max:o+i}}var ar,sr=new WeakMap,ur=function(){function e(t){var e=t.visualElement;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.props={},this.cursorProgress={x:.5,y:.5},this.openGlobalLock=null,this.panSession=null,this.visualElement=e,this.visualElement.enableLayoutProjection(),sr.set(e,this)}return e.prototype.start=function(t,e){var r=this,i=void 0===e?{}:e,o=i.snapToCursor,a=void 0!==o&&o,s=i.cursorProgress;a&&this.snapToCursor(t);var u=this.props.transformPagePoint;this.panSession=new Gn(t,{onSessionStart:function(){Pn(),r.stopMotion()},onStart:function(t,e){var i,o,a=r.props,u=a.drag,c=a.dragPropagation;if(!u||c||(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=En(u),r.openGlobalLock)){r.prepareBoundingBox(),r.visualElement.lockTargetBox(),r.resolveDragConstraints();var l=On(t).point;xt(function(t){var e=r.visualElement.targetBox[t],i=e.min,o=e.max;r.cursorProgress[t]=s?s[t]:(0,n.progress)(i,o,l[t])}),r.isDragging=!0,r.currentDirection=null,null===(o=(i=r.props).onDragStart)||void 0===o||o.call(i,t,e)}},onMove:function(t,e){var n,i,o,a,s=r.props,u=s.dragPropagation,c=s.dragDirectionLock;if(u||r.openGlobalLock){var l=e.offset;if(c&&null===r.currentDirection)return r.currentDirection=lr(l),void(null!==r.currentDirection&&(null===(i=(n=r.props).onDirectionLock)||void 0===i||i.call(n,r.currentDirection)));r.updateAxis("x",t),r.updateAxis("y",t),null===(a=(o=r.props).onDrag)||void 0===a||a.call(o,t,e),ar=t}},onEnd:function(t,e){return r.stop(t,e)}},{transformPagePoint:u})},e.prototype.prepareBoundingBox=function(){var t=this.visualElement.getInstance(),e=t.style.transform;this.visualElement.resetTransform(),this.visualElement.measureLayout(),t.style.transform=e,this.visualElement.refreshTargetBox()},e.prototype.resolveDragConstraints=function(){var t=this.props.dragConstraints;this.constraints=!!t&&(l(t)?this.resolveRefConstraints(this.visualElement.box,t):nr(this.visualElement.box,t))},e.prototype.resolveRefConstraints=function(t,e){var n=this.props,i=n.onMeasureDragConstraints,o=n.transformPagePoint,a=e.current;(0,r.invariant)(null!==a,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop."),this.constraintsBox=Ht(a,o);var s=ir(t,this.constraintsBox);if(i){var u=i(g(s));u&&(s=m(u))}return s},e.prototype.cancelDrag=function(){_n(),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null)},e.prototype.stop=function(t,e){var n;this.visualElement.unlockTargetBox(),null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var r=this.isDragging;if(this.cancelDrag(),r){var i=this.props,o=i.dragMomentum,a=i.dragElastic,s=i.onDragEnd;if(o||a){var u=e.velocity;this.animateDragEnd(u)}null==s||s(t,e)}},e.prototype.snapToCursor=function(t){this.prepareBoundingBox(),this.cursorProgress.x=.5,this.cursorProgress.y=.5,this.updateAxis("x",t),this.updateAxis("y",t)},e.prototype.updateAxis=function(t,e){var n,r=this.props,i=r.drag,o=r.dragElastic;if(cr(t,i,this.currentDirection)){var a=this.visualElement.box[t],s=a.max-a.min,u=this.cursorProgress[t],c=tr(On(e).point[t],s,u,null===(n=this.constraints)||void 0===n?void 0:n[t],o);this.visualElement.setAxisTarget(t,c,c+s)}},e.prototype.updateProps=function(e){var n=e.drag,r=void 0!==n&&n,i=e.dragDirectionLock,o=void 0!==i&&i,a=e.dragPropagation,s=void 0!==a&&a,u=e.dragConstraints,c=void 0!==u&&u,l=e.dragElastic,f=void 0===l?.35:l,p=e.dragMomentum,d=void 0===p||p,h=(0,t.__rest)(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=(0,t.__assign)({drag:r,dragDirectionLock:o,dragPropagation:s,dragConstraints:c,dragElastic:f,dragMomentum:d},h)},e.prototype.animateDragEnd=function(e){var n=this,r=this.props,i=r.drag,o=r.dragMomentum,a=r.dragElastic,s=r.dragTransition,u=xt(function(r){if(cr(r,i,n.currentDirection)){var u=n.constraints?n.constraints[r]:{},c=a?200:1e6,l=a?40:1e7,f=(0,t.__assign)((0,t.__assign)({type:"inertia",velocity:o?e[r]:0,bounceStiffness:c,bounceDamping:l,timeConstant:750,restDelta:1,restSpeed:10},s),u);return n.visualElement.startLayoutAxisAnimation(r,f)}});return Promise.all(u).then(function(){var t,e;null===(e=(t=n.props).onDragTransitionEnd)||void 0===e||e.call(t)})},e.prototype.stopMotion=function(){this.visualElement.stopLayoutAnimation()},e.prototype.scalePoint=function(){var t=this,e=this.props,n=e.drag,r=e.dragConstraints;if(l(r)&&this.constraintsBox){this.stopMotion();var i={x:0,y:0};xt(function(e){i[e]=mt(t.visualElement.targetBox[e],t.constraintsBox[e])}),this.prepareBoundingBox(),this.resolveDragConstraints(),xt(function(e){if(cr(e,n,null)){var r=or(t.visualElement.targetBox[e],t.constraintsBox[e],i[e]),o=r.min,a=r.max;t.visualElement.setAxisTarget(e,o,a)}})}},e.prototype.mount=function(t){var e=this,n=Wn(t.getInstance(),"pointerdown",function(t){var n=e.props,r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&e.start(t)}),r=Sn(window,"resize",function(){e.scalePoint()}),i=t.onLayoutUpdate(function(){e.isDragging&&e.resolveDragConstraints()}),o=t.prevSnapshot;return(null==o?void 0:o.isDragging)&&this.start(ar,{cursorProgress:o.cursorProgress}),function(){null==n||n(),null==r||r(),null==i||i(),e.cancelDrag()}},e}();function cr(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}function lr(t,e){void 0===e&&(e=10);var n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}function fr(e,n){var r=e.dragControls,i=(0,s.useContext)(mn).transformPagePoint,o=zt(function(){return new ur({visualElement:n})});o.updateProps((0,t.__assign)((0,t.__assign)({},e),{transformPagePoint:i})),(0,s.useEffect)(function(){return r&&r.subscribe(o)},[o]),(0,s.useEffect)(function(){return o.mount(n)},[])}var pr=function(t){return function(e){return t(e),null}},dr={key:"drag",shouldRender:function(t){return!!t.drag},Component:pr(function(e){var n=e.visualElement;return fr((0,t.__rest)(e,["visualElement"]),n)})};function hr(t){return(0,s.useEffect)(function(){return function(){return t()}},[])}function vr(t,e){var n=t.onPan,r=t.onPanStart,i=t.onPanEnd,o=t.onPanSessionStart,a=n||r||i||o,u=(0,s.useRef)(null),c=(0,s.useContext)(mn).transformPagePoint,l={onSessionStart:o,onStart:r,onMove:n,onEnd:function(t,e){u.current=null,i&&i(t,e)}};(0,s.useEffect)(function(){null!==u.current&&u.current.updateHandlers(l)}),Nn(e,"pointerdown",a&&function(t){u.current=new Gn(t,l,{transformPagePoint:c})}),hr(function(){return u.current&&u.current.end()})}var mr=function(t,e){return!!e&&(t===e||mr(t,e.parentElement))},gr=["whileHover","whileTap","whileDrag"],yr=function(t){return gr.indexOf(t)+1},xr=yr("whileTap");function br(t,e){var n=t.onTap,r=t.onTapStart,i=t.onTapCancel,o=t.whileTap,a=t.controls,u=n||r||i||o,c=(0,s.useRef)(!1),l=(0,s.useRef)(null);function f(){l.current&&l.current(),l.current=null}o&&a&&a.setOverride(o,xr);var p=(0,s.useRef)(null);p.current=function(t,r){var s=e.current;if(f(),c.current&&s){c.current=!1,a&&o&&a.clearOverride(xr);var u=En(!0);u&&(u(),mr(s,t.target)?n&&n(t,r):i&&i(t,r))}},Nn(e,"pointerdown",u?function(t,n){f(),l.current=Wn(window,"pointerup",function(t,e){return p.current(t,e)}),e.current&&!c.current&&(c.current=!0,r&&r(t,n),a&&o&&a.startOverride(xr))}:void 0),hr(f)}var Er=yr("whileHover"),wr=function(t){return function(e,n){Vn(e)&&t(e,n)}};function Cr(t,e){var n=t.whileHover,r=t.onHoverStart,i=t.onHoverEnd,o=t.controls;n&&o&&o.setOverride(n,Er),Nn(e,"pointerenter",wr(function(t,e){r&&r(t,e),n&&o&&o.startOverride(Er)})),Nn(e,"pointerleave",wr(function(t,e){i&&i(t,e),n&&o&&o.clearOverride(Er)}))}function Pr(t,e){vr(t,e),br(t,e),Cr(t,e)}var _r,Sr=["onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","whileTap","whileHover","onHoverStart","onHoverEnd"],Ar={key:"gestures",shouldRender:function(t){return Sr.some(function(e){return t.hasOwnProperty(e)})},Component:pr(function(e){var n=e.visualElement;Pr((0,t.__rest)(e,["visualElement"]),n)})},Vr={key:"exit",shouldRender:function(t){return!!t.exit&&!Je(t)},Component:pr(function(e){var n=e.animate,r=e.controls,i=e.exit,o=ce(),a=o[0],u=o[1],c=(0,s.useContext)(ue),l=(0,s.useRef)(!1),f=void 0!==(null==c?void 0:c.custom)?c.custom:e.custom;(0,s.useEffect)(function(){a?!l.current||!n||"boolean"==typeof n||n instanceof Ne||r.start(n):(!l.current&&i&&(r.setProps((0,t.__assign)((0,t.__assign)({},e),{custom:f})),r.start(i).then(u)),l.current=!0),a&&(l.current=!1)},[n,r,f,i,a,u,e])})};function Lr(t,e){if(null===e)return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}!function(t){t.Target="Target",t.VariantLabel="VariantLabel",t.AnimationSubscription="AnimationSubscription"}(_r||(_r={}));var Tr=function(t,e){return void 0!==e&&(Array.isArray(t)&&Array.isArray(e)?!Lr(e,t):t!==e)};function kr(e,n){void 0===n&&(n=!1);e.transition;var r=e.transitionEnd,i=(0,t.__rest)(e,["transition","transitionEnd"]);return n?(0,t.__assign)((0,t.__assign)({},i),r):i}function Br(e,n,r,i){var o=(0,s.useRef)(!0),a=(0,s.useRef)(null);a.current||(a.current=kr(e,!0)),(0,s.useEffect)(function(){var s={},u=kr(e),c=kr(e,!0);for(var l in u){var f=o.current&&(!r.hasValue(l)||r.getValue(l).get()!==c[l]),p=null!==c[l],d=Tr(a.current[l],c[l]);p&&(d||f)&&(s[l]=u[l])}o.current=!1,a.current=(0,t.__assign)((0,t.__assign)({},a.current),c),Object.keys(s).length&&n.start((0,t.__assign)((0,t.__assign)({},s),{transition:e.transition||i,transitionEnd:e.transitionEnd}))},[e])}var Mr,Rr,Or=function(t){return t?Array.isArray(t)?t:[t]:[]},Dr=function(t){var e=t instanceof p?t.get():t;return Array.from(new Set(Or(e)))},Fr=function(t){return[t.join(",")]},Ur=function(t,e){return t.join(",")!==e.join(",")};function Ir(t,e,n,r){var i=Dr(e),o=(0,s.useContext)(qe),a=o.hasMounted&&o.hasMounted.current,u=(0,s.useRef)(!1);(0,s.useEffect)(function(){var e=!1;n?(e=!!a,i=Dr(o.animate)):e=u.current||Ur(Dr(t),i),e&&r.start(i),u.current=!0},Fr(i))}function Hr(t,e){var n=(0,s.useMemo)(function(){return t.subscribe(e)},[t]);(0,s.useEffect)(function(){return function(){n&&n()}},[n])}var jr,Yr,Xr=((Mr={})[_r.Target]=pr(function(t){return Br(t.animate,t.controls,t.visualElement,t.transition)}),Mr[_r.VariantLabel]=pr(function(t){var e=t.animate,n=t.inherit,r=void 0===n||n,i=t.controls;return Ir(t.initial,e,r,i)}),Mr[_r.AnimationSubscription]=pr(function(t){return Hr(t.animate,t.controls)}),Mr),zr=function(t){return Array.isArray(t)||"string"==typeof t},Wr=function(t){return t.animate instanceof Ne},Nr=["initial","animate","whileTap","whileHover"],Gr=((Rr={})[_r.Target]=function(t){return void 0!==t.animate&&!zr(t.animate)&&!Wr(t)},Rr[_r.VariantLabel]=function(t){return void 0!==t.variants||Nr.some(function(e){return"string"==typeof t[e]})},Rr[_r.AnimationSubscription]=Wr,Rr),qr=function(t){var e=void 0;for(var n in _r)Gr[n](t)&&(e=n);return e?Xr[e]:void 0};function Zr(t,e,r,i){t.min=(0,n.mix)(e.min,r.min,i),t.max=(0,n.mix)(e.max,r.max,i)}!function(t){t[t.Entering=0]="Entering",t[t.Present=1]="Present",t[t.Exiting=2]="Exiting"}(jr||(jr={})),function(t){t[t.Hide=0]="Hide",t[t.Show=1]="Show"}(Yr||(Yr={}));var $r=1e3,Kr=function(e){function r(){var n=null!==e&&e.apply(this,arguments)||this;return n.frameTarget={x:{min:0,max:0},y:{min:0,max:0}},n.stopAxisAnimation={x:void 0,y:void 0},n.animate=function(e,r,i){void 0===i&&(i={});var o=i.originBox,a=i.targetBox,s=i.visibilityAction,u=(0,t.__rest)(i,["originBox","targetBox","visibilityAction"]),c=n.props,l=c.visualElement,f=c.layout,p=Qr(r=o||r,e=a||e),d=xt(function(t){if("position"===f){var i=e[t].max-e[t].min;r[t].max=r[t].min+i}if(!l.isTargetBoxLocked)return void 0===s?p?n.animateAxis(t,e[t],r[t],u):l.setAxisTarget(t,e[t].min,e[t].max):void(s===Yr.Hide?l.hide():l.show())});return l.render(),Promise.all(d).then(function(){var t,e;null===(t=u.onLayoutAnimationComplete)||void 0===t||t.call(u),l.isPresent?l.presence=jr.Present:(null===(e=u.onLayoutAnimationComplete)||void 0===e||e.call(u),n.safeToRemove())})},n}return(0,t.__extends)(r,e),r.prototype.componentDidMount=function(){var t=this.props.visualElement;t.enableLayoutProjection(),this.unsubLayoutReady=t.onLayoutUpdate(this.animate)},r.prototype.componentWillUnmount=function(){var t=this;this.unsubLayoutReady(),xt(function(e){var n,r;return null===(r=(n=t.stopAxisAnimation)[e])||void 0===r?void 0:r.call(n)})},r.prototype.animateAxis=function(t,e,n,r){var i,o,a=void 0===r?{}:r,s=a.transition,u=a.crossfadeOpacity;null===(o=(i=this.stopAxisAnimation)[t])||void 0===o||o.call(i);var c=this.props.visualElement,l=this.frameTarget[t],f=c.axisProgress[t];f.clearListeners(),f.set(0),f.set(0);var p=u&&this.createCrossfadeAnimation(u),d=function(){var r=f.get()/$r;Zr(l,n,e,r),c.setAxisTarget(t,l.min,l.max),null==p||p(r)};d();var h=It("x"===t?"layoutX":"layoutY",f,$r,s||this.props.transition||ei),v=f.onChange(d);return this.stopAxisAnimation[t]=function(){f.stop(),v()},h},r.prototype.createCrossfadeAnimation=function(t){var e=this.props.visualElement.getValue("opacity",0);return function(r){e.set(ri((0,n.mix)(0,1,r))),t.set(ii((0,n.mix)(1,0,r)))}},r.prototype.safeToRemove=function(){var t,e;null===(e=(t=this.props).safeToRemove)||void 0===e||e.call(t)},r.prototype.render=function(){return null},r}(s.Component),Jr={key:"animate-layout",shouldRender:function(t){return!!t.layout||!!t.layoutId},Component:function(e){var n=ce()[1];return(0,s.createElement)(Kr,(0,t.__assign)({},e,{safeToRemove:n}))}};function Qr(t,e){return ti(t.x,e.x)||ti(t.y,e.y)}function ti(t,e){return t.min!==e.min||t.max!==e.max}var ei={duration:.45,ease:[.4,0,.1,1]};function ni(t,e,r){return function(i){return i<t?0:i>e?1:r((0,n.progress)(t,e,i))}}var ri=ni(0,.5,n.circOut),ii=ni(.5,.95,n.linear),oi={measureLayout:function(t){return t.measureLayout()},layoutReady:function(t){return t.layoutReady()}},ai=function(t,e){return t.depth-e.depth};function si(){var t=new Set;return{add:function(e){return t.add(e)},flush:function(e){var n=void 0===e?oi:e,r=n.measureLayout,i=n.layoutReady,o=Array.from(t).sort(ai);o.forEach(function(t){return t.resetTransform()}),o.forEach(r),o.forEach(i),o.forEach(function(t){t.isPresent&&(t.presence=jr.Present)}),t.clear()}}}function ui(t){return!!t.forceUpdate}var ci=(0,s.createContext)(si()),li=function(e){function n(t){var n=e.call(this,t)||this,r=t.syncLayout;return ui(r)||(n.componentDidUpdate=function(){return r.flush()}),n}return(0,t.__extends)(n,e),n.prototype.componentDidMount=function(){var t=this.props,e=t.syncLayout,n=t.visualElement;ui(e)&&e.register(n)},n.prototype.getSnapshotBeforeUpdate=function(){var t=this.props,e=t.syncLayout,n=t.visualElement;return ui(e)?e.syncUpdate():(n.snapshotBoundingBox(),e.add(n)),null},n.prototype.componentDidUpdate=function(){},n.prototype.render=function(){return null},n}(s.default.Component),fi={key:"measure-layout",shouldRender:function(t){return!!t.drag||!!t.layout||!!t.layoutId},Component:function(e){var n=(0,s.useContext)(ci);return s.default.createElement(li,(0,t.__assign)({},e,{syncLayout:n}))}},pi=[fi,dr,Ar,Vr,Jr];function di(e,n,r,i,o,a,u){var c=(0,s.useContext)(mn);if(e||"undefined"==typeof window)return null;var l=(0,t.__spreadArrays)(pi,c.features),f=l.length,p=[],d=qr(i);d&&p.push((0,s.createElement)(d,{key:"animation",initial:i.initial,animate:i.animate,variants:i.variants,transition:i.transition,controls:r,inherit:u,visualElement:n}));for(var h=0;h<f;h++){var v=l[h],m=v.shouldRender,g=v.key,y=v.Component;m(i,a)&&p.push((0,s.createElement)(y,(0,t.__assign)({key:g},i,{localContext:o,parentContext:a,visualElement:n,controls:r})))}return p}function hi(t){var e=(0,s.useContext)(ci);hr(function(){ui(e)&&e.remove(t)})}function vi(t,e){var n=e.useVisualElement,r=e.render,i=e.animationControlsConfig;return(0,s.forwardRef)(function(e,o){var a=(0,s.useContext)(qe),u=Je(e),c=a.static||e.static||!1,l=n(t,e,a.visualElement,c,o);tn(l,e);var f=vn(l,e,i),p=Ke(a,f,l,c,e),d=di(c,l,f,e,p,a,u),h=r(t,e,l);return hi(l),(0,s.createElement)(s.Fragment,null,(0,s.createElement)(qe.Provider,{value:p},h),d)})}var mi={useVisualElement:he,render:we,animationControlsConfig:{makeTargetAnimatable:ze}};function gi(t){return vi(t,mi)}var yi=new Map;function xi(t,e){return"custom"===e?t.custom:(yi.has(e)||yi.set(e,vi(e,mi)),yi.get(e))}var bi=new Proxy({custom:gi},{get:xi});function Ei(){var t=(0,s.useState)(0),e=t[0],n=t[1];return(0,s.useCallback)(function(){return n(e+1)},[e])}exports.motion=bi;var wi=0;function Ci(){var t=wi;return wi++,t}var Pi=function(t){var e=t.children,n=t.initial,r=t.isPresent,i=t.onExitComplete,o=t.custom,a=zt(_i),u={id:zt(Ci),initial:n,isPresent:r,custom:o,onExitComplete:function(t){a.set(t,!0);var e=!0;a.forEach(function(t){t||(e=!1)}),e&&(null==i||i())},register:function(t){return a.set(t,!1),function(){return a.delete(t)}}};return(0,s.useMemo)(function(){a.forEach(function(t,e){return a.set(e,!1)})},[r]),(0,s.createElement)(ue.Provider,{value:u},e)};function _i(){return new Map}function Si(t){return t.key||""}function Ai(t,e){var n=new Set;t.forEach(function(t){var r=Si(t);n&&(n.has(r)&&console.warn('Children of AnimatePresence require unique keys. "'+r+'" is a duplicate.'),n.add(r)),e.set(r,t)})}function Vi(t){var e=[];return s.Children.forEach(t,function(t){(0,s.isValidElement)(t)&&e.push(t)}),e}var Li=function(e){var n=e.children,r=e.custom,i=e.initial,o=void 0===i||i,a=e.onExitComplete,u=e.exitBeforeEnter,c=Ei(),l=(0,s.useContext)(ci);ui(l)&&(c=l.forceUpdate);var f=(0,s.useRef)(!0),p=Vi(n),d=(0,s.useRef)(p),h=(0,s.useRef)(new Map).current,v=(0,s.useRef)(new Set).current;if(Ai(p,h),f.current)return f.current=!1,(0,s.createElement)(s.Fragment,null,p.map(function(t){return(0,s.createElement)(Pi,{key:Si(t),isPresent:!0,initial:!!o&&void 0},t)}));for(var m=(0,t.__spreadArrays)(p),g=d.current.map(Si),y=p.map(Si),x=g.length,b=0;b<x;b++){var E=g[b];-1===y.indexOf(E)?v.add(E):v.delete(E)}return u&&v.size&&(m=[]),v.forEach(function(t){if(-1===y.indexOf(t)){var e=h.get(t);if(e){var n=g.indexOf(t);m.splice(n,0,(0,s.createElement)(Pi,{key:Si(e),isPresent:!1,onExitComplete:function(){h.delete(t),v.delete(t);var e=d.current.findIndex(function(e){return e.key===t});d.current.splice(e,1),v.size||(d.current=p,c(),a&&a())},custom:r},e))}}}),m=m.map(function(t){var e=t.key;return v.has(e)?t:(0,s.createElement)(Pi,{key:Si(t),isPresent:!0},t)}),d.current=m,u&&m.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),(0,s.createElement)(s.Fragment,null,v.size?m:m.map(function(t){return(0,s.cloneElement)(t)}))};function Ti(t,e){return e&&t!==e.lead?{visibilityAction:Yr.Hide}:e&&t.presence!==jr.Entering&&t===e.lead&&e.lead!==e.prevLead?{visibilityAction:Yr.Show}:(t.presence===jr.Entering?n=null==e?void 0:e.getFollowOrigin():t.presence===jr.Exiting&&(r=null==e?void 0:e.getFollowTarget()),{originBox:n,targetBox:r});var n,r}function ki(t,e){var n,r,i,o={},a=e&&e.lead,s=null==a?void 0:a.presence;return e&&t===a?t.presence===jr.Entering?o.originBox=e.getFollowOrigin():t.presence===jr.Exiting&&(o.targetBox=e.getFollowTarget()):e&&t===e.follow&&(o.transition=e.getLeadTransition(),s===jr.Entering?o.targetBox=e.getLeadTarget():s===jr.Exiting&&(o.originBox=e.getLeadOrigin())),(null===(n=null==e?void 0:e.follow)||void 0===n?void 0:n.isPresenceRoot)||(null==a?void 0:a.isPresenceRoot)?(e&&t!==a?e&&t===e.follow?a&&s!==jr.Entering&&s===jr.Exiting&&(o.crossfadeOpacity=null===(i=null==e?void 0:e.lead)||void 0===i?void 0:i.getValue("opacity",1)):o.visibilityAction=Yr.Hide:t.presence===jr.Entering&&(o.crossfadeOpacity=null===(r=null==e?void 0:e.follow)||void 0===r?void 0:r.getValue("opacity",0)),o):o}function Bi(t,e){for(var n=e[0],r=e[1],i=void 0,o=0,a=void 0,s=t.length,u=!1,c=s-1;c>=0;c--){var l=t[c];if(c===s-1&&(u=l.isPresent),u)i=l;else{var f=t[c-1];f&&f.isPresent&&(i=l)}if(i){o=c;break}}if(i||(i=t[0]),a=t[o-1],i)for(c=o-1;c>=0;c--){if((l=t[c]).isPresent){a=l;break}}return i!==n&&!u&&a===r&&t.find(function(t){return t===n})&&(i=n),[i,a]}exports.AnimatePresence=Li;var Mi=function(){function t(){this.order=[],this.hasChildren=!1}return t.prototype.add=function(t){var e,n=t.config.layoutOrder;if(void 0===n)this.order.push(t);else{var r=this.order.findIndex(function(t){return n<=(t.config.layoutOrder||0)});-1===r&&(t.presence=this.hasChildren?jr.Entering:jr.Present,r=this.order.length),this.order.splice(r,0,t)}if(this.snapshot){t.prevSnapshot=this.snapshot,t.prevViewportBox=this.snapshot.boundingBox;var i=this.snapshot.latestMotionValues;for(var o in i)t.hasValue(o)?null===(e=t.getValue(o))||void 0===e||e.set(i[o]):t.addValue(o,d(i[o]))}this.hasChildren=!0},t.prototype.remove=function(t){var e=this.order.findIndex(function(e){return t===e});-1!==e&&this.order.splice(e,1)},t.prototype.updateLeadAndFollow=function(){this.prevLead=this.lead,this.prevFollow=this.follow;var t=Bi(this.order,[this.lead,this.follow]),e=t[0],n=t[1];this.lead=e,this.follow=n},t.prototype.updateSnapshot=function(){if(this.lead){var t={boundingBox:this.lead.prevViewportBox,latestMotionValues:{}};this.lead.forEachValue(function(e,n){var r=e.get();U(r)||(t.latestMotionValues[n]=r)});var e=sr.get(this.lead);e&&e.isDragging&&(t.isDragging=!0,t.cursorProgress=e.cursorProgress),this.snapshot=t}},t.prototype.isLeadPresent=function(){var t;return this.lead&&(null===(t=this.lead)||void 0===t?void 0:t.presence)!==jr.Exiting},t.prototype.shouldStackAnimate=function(){return!0},t.prototype.getFollowOrigin=function(){var t;return this.follow?this.follow.prevViewportBox:null===(t=this.snapshot)||void 0===t?void 0:t.boundingBox},t.prototype.getFollowTarget=function(){var t;return null===(t=this.follow)||void 0===t?void 0:t.box},t.prototype.getLeadOrigin=function(){var t;return null===(t=this.lead)||void 0===t?void 0:t.prevViewportBox},t.prototype.getLeadTarget=function(){var t;return null===(t=this.lead)||void 0===t?void 0:t.box},t.prototype.getLeadTransition=function(){var t;return null===(t=this.lead)||void 0===t?void 0:t.config.transition},t}(),Ri=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.children=new Set,n.stacks=new Map,n.hasMounted=!1,n.updateScheduled=!1,n.renderScheduled=!1,n.syncContext=(0,t.__assign)((0,t.__assign)({},si()),{syncUpdate:function(t){return n.scheduleUpdate(t)},forceUpdate:function(){n.syncContext=(0,t.__assign)({},n.syncContext),n.scheduleUpdate(!0)},register:function(t){return n.addChild(t)},remove:function(t){return n.removeChild(t)}}),n}return(0,t.__extends)(n,e),n.prototype.componentDidMount=function(){this.hasMounted=!0,this.updateStacks()},n.prototype.componentDidUpdate=function(){this.startLayoutAnimation()},n.prototype.shouldComponentUpdate=function(){return this.renderScheduled=!0,!0},n.prototype.startLayoutAnimation=function(){var t=this;this.renderScheduled=this.updateScheduled=!1;var e=this.props.type;this.children.forEach(function(t){t.isPresent?t.presence!==jr.Entering&&(t.presence=t.presence===jr.Exiting?jr.Entering:jr.Present):t.presence=jr.Exiting}),this.updateStacks();var n="crossfade"===e?ki:Ti,r={measureLayout:function(t){return t.measureLayout()},layoutReady:function(e){var r=e.layoutId;e.layoutReady(n(e,t.getStack(r)))}};this.children.forEach(function(e){return t.syncContext.add(e)}),this.syncContext.flush(r),this.stacks.forEach(function(t){return t.snapshot=void 0})},n.prototype.updateStacks=function(){this.stacks.forEach(function(t){return t.updateLeadAndFollow()})},n.prototype.scheduleUpdate=function(t){void 0===t&&(t=!1),!t&&this.updateScheduled||(this.updateScheduled=!0,this.children.forEach(function(t){return t.snapshotBoundingBox()}),this.stacks.forEach(function(t){return t.updateSnapshot()}),!t&&this.renderScheduled||(this.renderScheduled=!0,this.forceUpdate()))},n.prototype.addChild=function(t){this.children.add(t),this.addToStack(t),t.presence=this.hasMounted?jr.Entering:jr.Present},n.prototype.removeChild=function(t){this.scheduleUpdate(),this.children.delete(t),this.removeFromStack(t)},n.prototype.addToStack=function(t){var e=this.getStack(t.layoutId);null==e||e.add(t)},n.prototype.removeFromStack=function(t){var e=this.getStack(t.layoutId);null==e||e.remove(t)},n.prototype.getStack=function(t){if(void 0!==t)return!this.stacks.has(t)&&this.stacks.set(t,new Mi),this.stacks.get(t)},n.prototype.render=function(){return(0,s.createElement)(ci.Provider,{value:this.syncContext},this.props.children)},n}(s.Component);function Oi(t){return zt(function(){return d(t)})}function Di(t){var e=t instanceof p?t.get():t;return on(e)?e.toValue():e}exports.AnimateSharedLayout=Ri;var Fi=function(t){return"object"==typeof t&&t.mix},Ui=function(t){return Fi(t)?t.mix:void 0};function Ii(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=!Array.isArray(e[0]),o=i?0:-1,a=e[0+o],s=e[1+o],u=e[2+o],c=e[3+o],l=(0,n.interpolate)(s,u,(0,t.__assign)({mixer:Ui(u[0])},c));return i?l(a):l}var Hi=function(t){return"function"==typeof t};function ji(t,e,n,r){var i=Hi(e)?[t]:[t,e.join(","),null==n?void 0:n.join(",")],o=(0,s.useMemo)(function(){return Hi(e)?e:Ii(e,n,r)},i),a=o(t.get()),u=Oi(a),c=(0,s.useRef)();return(0,s.useMemo)(function(){c.current&&c.current(),c.current=t.onChange(function(t){return u.set(o(t))}),u.set(a)},[t,u,o]),hr(function(){return c.current&&c.current()}),u}var Yi=1e5,Xi=function(t){return t>.001?1/t:Yi};function zi(t){var e=Oi(1),n=Oi(1),i=(0,s.useContext)(qe).visualElement;return(0,r.invariant)(!(!t&&!i),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),t?(e=t.scaleX||e,n=t.scaleY||n):i&&(e=i.getValue("scaleX",1),n=i.getValue("scaleY",1)),{scaleX:ji(e,Xi),scaleY:ji(n,Xi)}}function Wi(t,e){(0,s.useEffect)(function(){return Qe(t)?t.onChange(e):void 0},[t])}function Ni(e,n){void 0===n&&(n={});var r=(0,s.useRef)(null),i=Oi(Qe(e)?e.get():e);return(0,s.useMemo)(function(){return i.attach(function(e,a){return r.current&&r.current.stop(),r.current=(0,o.spring)((0,t.__assign)({from:i.get(),to:e,velocity:i.getVelocity()},n)).start(a),i.get()})},Object.values(n)),Wi(e,function(t){return i.set(parseFloat(t))}),i}function Gi(){return{scrollX:d(0),scrollY:d(0),scrollXProgress:d(0),scrollYProgress:d(0)}}function qi(t,e,n){n.set(t&&e?t/e:0)}function Zi(t,e){var n=function(){var n=e(),r=n.xOffset,i=n.yOffset,o=n.xMaxOffset,a=n.yMaxOffset;t.scrollX.set(r),t.scrollY.set(i),qi(r,o,t.scrollXProgress),qi(i,a,t.scrollYProgress)};return n(),n}var $i="undefined"!=typeof window,Ki=$i?s.useLayoutEffect:s.useEffect,Ji=function(t){return function(){return{xOffset:t.scrollLeft,yOffset:t.scrollTop,xMaxOffset:t.scrollWidth-t.offsetWidth,yMaxOffset:t.scrollHeight-t.offsetHeight}}};function Qi(t){var e=zt(Gi);return Ki(function(){var n=t.current;if((0,r.invariant)(!!n,"ref provided to useScroll must be passed into a HTML element."),n){var i=Zi(e,Ji(n)),o=Sn(n,"scroll",i,{passive:!0}),a=Sn(n,"resize",i);return function(){o&&o(),a&&a()}}},[]),e}var to=Gi();function eo(){return{xOffset:window.pageXOffset,yOffset:window.pageYOffset,xMaxOffset:document.body.clientWidth-window.innerWidth,yMaxOffset:document.body.clientHeight-window.innerHeight}}var no=!1;function ro(){if(no=!0,"undefined"!=typeof window){var t=Zi(to,eo);Sn(window,"scroll",t,{passive:!0}),Sn(window,"resize",t)}}function io(){return Ki(function(){!no&&ro()},[]),to}function oo(){var t=zt(function(){return new Ne});return(0,s.useEffect)(function(){return t.mount(),function(){return t.unmount()}},[]),t}function ao(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];(0,r.warning)(t.length>1,"useCycle syntax has changed. `useCycle([0, 1, 2])` becomes `useCycle(0, 1, 2)`");var i=(0,s.useRef)(0),o=(0,s.useState)(t[i.current]),a=o[0],u=o[1];return[a,function(e){i.current="number"!=typeof e?(0,n.wrap)(0,t.length,i.current+1):e,u(t[i.current])}]}var so=d(null);if("undefined"!=typeof window)if(window.matchMedia){var uo=window.matchMedia("(prefers-reduced-motion)"),co=function(){return so.set(uo.matches)};uo.addListener(co),co()}else so.set(!1);function lo(t,e){return"boolean"==typeof e?e:Boolean(t)}function fo(){var t=(0,s.useContext)(qe).isReducedMotion,e=(0,s.useState)(lo(so.get(),t)),n=e[0],r=e[1];return(0,s.useEffect)(function(){return so.onChange(function(e){r(lo(e,t))})},[r,t]),n}function po(e){var n=e.children,r=e.enabled,i=(0,s.useContext)(qe);return i=(0,s.useMemo)(function(){return(0,t.__assign)((0,t.__assign)({},i),{isReducedMotion:r})},[r]),(0,s.createElement)(qe.Provider,{value:i},n)}var ho=function(){function t(){this.componentControls=new Set}return t.prototype.subscribe=function(t){var e=this;return this.componentControls.add(t),function(){return e.componentControls.delete(t)}},t.prototype.start=function(t,e){this.componentControls.forEach(function(n){n.start(t.nativeEvent||t,e)})},t}();exports.DragControls=ho;var vo=function(){return new ho};function mo(){return zt(vo)}function go(t){var e=t&&"function"!=typeof t?t:(0,s.useRef)(null);return t&&"function"==typeof t&&(0,s.useEffect)(function(){return t(e.current),function(){return t(null)}},[]),e}var yo=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.initialState={},t}return(0,t.__extends)(n,e),n.prototype.build=function(){},n.prototype.clean=function(){},n.prototype.getBoundingBox=function(){return{x:{min:0,max:0},y:{min:0,max:0}}},n.prototype.readNativeValue=function(t){return this.initialState[t]||0},n.prototype.render=function(){this.build()},n}(h);function xo(e){var n=(0,s.useState)(e),r=n[0],i=n[1],o=zt(function(){return new yo});o.updateConfig({onUpdate:function(e){return i((0,t.__assign)({},e))}}),o.initialState=e;var a=vn(o,{},{});return(0,s.useEffect)(function(){return o.mount({}),function(){return o.unmount()}},[]),[r,zt(function(){return function(t){return a.start(t)}})]}
},{"tslib":"vCxL","framesync":"bSZI","@popmotion/popcorn":"cueS","hey-listen":"KFGT","style-value-types":"Hokg","popmotion":"z2lI","@popmotion/easing":"xQjT","react":"n8MK","@emotion/is-prop-valid":"F4RS"}],"HOM9":[function(require,module,exports) {
function o(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}module.exports=o;
},{}],"kwH3":[function(require,module,exports) {
"use strict";function e(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function t(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.StyleSheet=void 0;var s=function(){function s(e){this.isSpeedy=void 0!==e.speedy&&e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var n=s.prototype;return n.insert=function(s){if(this.ctr%(this.isSpeedy?65e3:1)==0){var n,i=t(this);n=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(i,n),this.tags.push(i)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=e(r);try{var h=105===s.charCodeAt(1)&&64===s.charCodeAt(0);o.insertRule(s,h?0:o.cssRules.length)}catch(c){console.warn('There was a problem inserting the following rule: "'+s+'"',c)}}else r.appendChild(document.createTextNode(s));this.ctr++},n.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},s}();exports.StyleSheet=s;
},{}],"gTWe":[function(require,module,exports) {
"use strict";function e(e){function r(e,r,t){var c=r.trim().split(d);r=c;var s=c.length,i=e.length;switch(i){case 0:case 1:var n=0;for(e=0===i?"":e[0]+" ";n<s;++n)r[n]=a(e,r[n],t).trim();break;default:var l=n=0;for(r=[];n<s;++n)for(var o=0;o<i;++o)r[l++]=a(e[o]+" ",c[n],t).trim()}return r}function a(e,r,a){var t=r.charCodeAt(0);switch(33>t&&(t=(r=r.trim()).charCodeAt(0)),t){case 38:return r.replace(k,"$1"+e.trim());case 58:return e.trim()+r.replace(k,"$1"+e.trim());default:if(0<1*a&&0<r.indexOf("\f"))return r.replace(k,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+r}function t(e,r,a,s){var i=e+";",n=2*r+3*a+4*s;if(944===n){e=i.indexOf(":",9)+1;var l=i.substring(e,i.length-1).trim();return l=i.substring(0,e).trim()+l+";",1===S||2===S&&c(l,1)?"-webkit-"+l+l:l}if(0===S||2===S&&!c(i,1))return i;switch(n){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(O,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(l=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+l+i;case 1005:return h.test(i)?i.replace(b,":-webkit-")+i.replace(b,":-moz-")+i:i;case 1e3:switch(r=(l=i.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(r)){case 226:l=i.replace(A,"tb");break;case 232:l=i.replace(A,"tb-rl");break;case 220:l=i.replace(A,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+l+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(r=(i=e).length-10,n=(l=(33===i.charCodeAt(r)?i.substring(0,r):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:i=i.replace(l,"-webkit-"+l)+";"+i;break;case 207:case 102:i=i.replace(l,"-webkit-"+(102<n?"inline-":"")+"box")+";"+i.replace(l,"-webkit-"+l)+";"+i.replace(l,"-ms-"+l+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return l=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+l+"-ms-flex-"+l+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(v,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(v,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===$.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?t(e.replace("stretch","fill-available"),r,a,s).replace(":fill-available",":stretch"):i.replace(l,"-webkit-"+l)+i.replace(l,"-moz-"+l.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===a+s&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(u,"$1-webkit-$2")+i}return i}function c(e,r){var a=e.indexOf(1===r?":":"{"),t=e.substring(0,3!==r?a:10);return a=e.substring(a+1,e.length-1),q(2!==r?t:t.replace(x,"$1"),a,r)}function s(e,r){var a=t(r,r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2));return a!==r+";"?a.replace(m," or ($1)").substring(4):"("+r+")"}function i(e,r,a,t,c,s,i,n,o,f){for(var b,h=0,u=r;h<P;++h)switch(b=M[h].call(l,e,u,a,t,c,s,i,n,o,f)){case void 0:case!1:case!0:case null:break;default:u=b}if(u!==r)return u}function n(e){return void 0!==(e=e.prefix)&&(q=null,e?"function"!=typeof e?S=1:(S=2,q=e):S=0),n}function l(e,a){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<P){var l=i(-1,a,n,n,z,y,0,0,0,0);void 0!==l&&"string"==typeof l&&(a=l)}var b=function e(a,n,l,b,h){for(var u,d,k,A,m,v=0,x=0,$=0,O=0,M=0,q=0,D=k=u=0,E=0,F=0,G=0,H=0,I=l.length,J=I-1,K="",L="",N="",Q="";E<I;){if(d=l.charCodeAt(E),E===J&&0!==x+O+$+v&&(0!==x&&(d=47===x?10:47),O=$=v=0,I++,J++),0===x+O+$+v){if(E===J&&(0<F&&(K=K.replace(f,"")),0<K.trim().length)){switch(d){case 32:case 9:case 59:case 13:case 10:break;default:K+=l.charAt(E)}d=59}switch(d){case 123:for(u=(K=K.trim()).charCodeAt(0),k=1,H=++E;E<I;){switch(d=l.charCodeAt(E)){case 123:k++;break;case 125:k--;break;case 47:switch(d=l.charCodeAt(E+1)){case 42:case 47:e:{for(D=E+1;D<J;++D)switch(l.charCodeAt(D)){case 47:if(42===d&&42===l.charCodeAt(D-1)&&E+2!==D){E=D+1;break e}break;case 10:if(47===d){E=D+1;break e}}E=D}}break;case 91:d++;case 40:d++;case 34:case 39:for(;E++<J&&l.charCodeAt(E)!==d;);}if(0===k)break;E++}switch(k=l.substring(H,E),0===u&&(u=(K=K.replace(o,"").trim()).charCodeAt(0)),u){case 64:switch(0<F&&(K=K.replace(f,"")),d=K.charCodeAt(1)){case 100:case 109:case 115:case 45:F=n;break;default:F=_}if(H=(k=e(n,F,k,d,h+1)).length,0<P&&(m=i(3,k,F=r(_,K,G),n,z,y,H,d,h,b),K=F.join(""),void 0!==m&&0===(H=(k=m.trim()).length)&&(d=0,k="")),0<H)switch(d){case 115:K=K.replace(C,s);case 100:case 109:case 45:k=K+"{"+k+"}";break;case 107:k=(K=K.replace(w,"$1 $2"))+"{"+k+"}",k=1===S||2===S&&c("@"+k,3)?"@-webkit-"+k+"@"+k:"@"+k;break;default:k=K+k,112===b&&(L+=k,k="")}else k="";break;default:k=e(n,r(n,K,G),k,b,h+1)}N+=k,k=G=F=D=u=0,K="",d=l.charCodeAt(++E);break;case 125:case 59:if(1<(H=(K=(0<F?K.replace(f,""):K).trim()).length))switch(0===D&&(u=K.charCodeAt(0),45===u||96<u&&123>u)&&(H=(K=K.replace(" ",":")).length),0<P&&void 0!==(m=i(1,K,n,a,z,y,L.length,b,h,b))&&0===(H=(K=m.trim()).length)&&(K="\0\0"),u=K.charCodeAt(0),d=K.charCodeAt(1),u){case 0:break;case 64:if(105===d||99===d){Q+=K+l.charAt(E);break}default:58!==K.charCodeAt(H-1)&&(L+=t(K,u,d,K.charCodeAt(2)))}G=F=D=u=0,K="",d=l.charCodeAt(++E)}}switch(d){case 13:case 10:47===x?x=0:0===1+u&&107!==b&&0<K.length&&(F=1,K+="\0"),0<P*B&&i(0,K,n,a,z,y,L.length,b,h,b),y=1,z++;break;case 59:case 125:if(0===x+O+$+v){y++;break}default:switch(y++,A=l.charAt(E),d){case 9:case 32:if(0===O+v+x)switch(M){case 44:case 58:case 9:case 32:A="";break;default:32!==d&&(A=" ")}break;case 0:A="\\0";break;case 12:A="\\f";break;case 11:A="\\v";break;case 38:0===O+x+v&&(F=G=1,A="\f"+A);break;case 108:if(0===O+x+v+j&&0<D)switch(E-D){case 2:112===M&&58===l.charCodeAt(E-3)&&(j=M);case 8:111===q&&(j=q)}break;case 58:0===O+x+v&&(D=E);break;case 44:0===x+$+O+v&&(F=1,A+="\r");break;case 34:case 39:0===x&&(O=O===d?0:0===O?d:O);break;case 91:0===O+x+$&&v++;break;case 93:0===O+x+$&&v--;break;case 41:0===O+x+v&&$--;break;case 40:if(0===O+x+v){if(0===u)switch(2*M+3*q){case 533:break;default:u=1}$++}break;case 64:0===x+$+O+v+D+k&&(k=1);break;case 42:case 47:if(!(0<O+v+$))switch(x){case 0:switch(2*d+3*l.charCodeAt(E+1)){case 235:x=47;break;case 220:H=E,x=42}break;case 42:47===d&&42===M&&H+2!==E&&(33===l.charCodeAt(H+2)&&(L+=l.substring(H,E+1)),A="",x=0)}}0===x&&(K+=A)}q=M,M=d,E++}if(0<(H=L.length)){if(F=n,0<P&&void 0!==(m=i(2,L,F,a,z,y,H,b,h,b))&&0===(L=m).length)return Q+L+N;if(L=F.join(",")+"{"+L+"}",0!=S*j){switch(2!==S||c(L,2)||(j=0),j){case 111:L=L.replace(g,":-moz-$1")+L;break;case 112:L=L.replace(p,"::-webkit-input-$1")+L.replace(p,"::-moz-$1")+L.replace(p,":-ms-input-$1")+L}j=0}}return Q+L+N}(_,n,a,0,0);return 0<P&&(void 0!==(l=i(-2,b,n,n,z,y,b.length,0,0,0))&&(b=l)),"",j=0,y=z=1,b}var o=/^\0+/g,f=/[\0\r\f]/g,b=/: */g,h=/zoo|gra/,u=/([,: ])(transform)/g,d=/,\r+?/g,k=/([\t\r\n ])*\f?&/g,w=/@(k\w+)\s*(\S*)\s*/,p=/::(place)/g,g=/:(read-only)/g,A=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,m=/([\s\S]*?);/g,v=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,$=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,y=1,z=1,j=0,S=1,_=[],M=[],P=0,q=null,B=0;return l.use=function e(r){switch(r){case void 0:case null:P=M.length=0;break;default:if("function"==typeof r)M[P++]=r;else if("object"==typeof r)for(var a=0,t=r.length;a<t;++a)e(r[a]);else B=0|!!r}return e},l.set=n,void 0!==e&&n(e),l}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=e;exports.default=r;
},{}],"oT3e":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var u=e(r);return t.set(r,u),u}},t=e;exports.default=t;
},{}],"dqFm":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("@emotion/sheet"),t=r(require("@emotion/stylis"));function r(e){return e&&e.__esModule?e:{default:e}}require("@emotion/weak-memoize");var n="/*|*/",s=n+"}";function a(e){e&&i.current.insert(e+"}")}var i={current:null},o=function(e,t,r,o,c,u,d,l,f,h){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return i.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===l)return t+n;break;case 3:switch(l){case 102:case 112:return i.current.insert(r[0]+t),"";default:return t+(0===h?n:"")}case-2:t.split(s).forEach(a)}},c=function(r){void 0===r&&(r={});var n,s=r.key||"css";void 0!==r.prefix&&(n={prefix:r.prefix});var a=new t.default(n);if(/[^a-z-]/.test(s))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+s+'" was passed');var c,u={};c=r.container||document.head;var d,l=document.querySelectorAll("style[data-emotion-"+s+"]");Array.prototype.forEach.call(l,function(e){e.getAttribute("data-emotion-"+s).split(" ").forEach(function(e){u[e]=!0}),e.parentNode!==c&&c.appendChild(e)}),a.use(r.stylisPlugins)(o),d=function(e,t,r,n){var s=t.name;if(i.current=r,void 0!==t.map){var o=t.map;i.current={insert:function(e){r.insert(e+o)}}}a(e,t.styles),n&&(p.inserted[s]=!0)};var f=/\/\*/g,h=/\*\//g;a.use(function(e,t){switch(e){case-1:for(;f.test(t);){if(h.lastIndex=f.lastIndex,!h.test(t))throw new Error('Your styles have an unterminated comment ("/*" without corresponding "*/").');f.lastIndex=h.lastIndex}f.lastIndex=0}}),a.use(function(e,t,r){switch(e){case-1:var n=t.match(/(:first|:nth|:nth-last)-child/g);n&&!0!==p.compat&&n.forEach(function(e){var r=new RegExp(e+".*\\/\\* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason \\*\\/").test(t);e&&!r&&console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')})}});var p={key:s,sheet:new e.StyleSheet({key:s,container:c,nonce:r.nonce,speedy:r.speedy}),nonce:r.nonce,inserted:u,registered:{},insert:d};return p},u=c;exports.default=u;
},{"@emotion/sheet":"kwH3","@emotion/stylis":"gTWe","@emotion/weak-memoize":"oT3e"}],"V9FQ":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getRegisteredStyles=t,exports.insertStyles=void 0;var e=!0;function t(e,t,r){var s="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]):s+=r+" "}),s}var r=function(t,r,s){var i=t.key+"-"+r.name;if((!1===s||!1===e&&void 0!==t.compat)&&void 0===t.registered[i]&&(t.registered[i]=r.styles),void 0===t.inserted[r.name]){var o=r;do{t.insert("."+i,o,t.sheet,!0);o=o.next}while(void 0!==o)}};exports.insertStyles=r;
},{}],"Wn2h":[function(require,module,exports) {
"use strict";function e(e){for(var t,r=0,o=0,a=e.length;a>=4;++o,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=e;exports.default=t;
},{}],"RtcD":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},e=o;exports.default=e;
},{}],"WPNE":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.serializeStyles=void 0;var e=o(require("@emotion/hash")),n=o(require("@emotion/unitless")),t=o(require("@emotion/memoize"));function o(e){return e&&e.__esModule?e:{default:e}}var r="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",a="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",s=/[A-Z]|^ms/g,i=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,t.default)(function(e){return l(e)?e:e.replace(s,"-$&").toLowerCase()}),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(i,function(e,n,t){return x={name:n,styles:t,next:x},n})}return 1===n.default[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"},d=/(attr|calc|counters?|url)\(/,f=["normal","none","counter","open-quote","close-quote","no-open-quote","no-close-quote","initial","inherit","unset"],m=p,v=/^-ms-/,y=/-(.)/g,h={};p=function(e,n){"content"===e&&("string"!=typeof n||-1===f.indexOf(n)&&!d.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||'"'!==n.charAt(0)&&"'"!==n.charAt(0)))&&console.error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var t=m(e,n);return""===t||l(e)||-1===e.indexOf("-")||void 0!==h[e]||(h[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(v,"ms-").replace(y,function(e,n){return n.toUpperCase()})+"?")),t};var g=!0;function b(e,n,t,o){if(null==t)return"";if(void 0!==t.__emotion_styles){if("NO_COMPONENT_SELECTOR"===t.toString())throw new Error("Component selectors can only be used in conjunction with babel-plugin-emotion.");return t}switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return x={name:t.name,styles:t.styles,next:x},t.name;if(void 0!==t.styles){var r=t.next;if(void 0!==r)for(;void 0!==r;)x={name:r.name,styles:r.styles,next:x},r=r.next;var a=t.styles+";";return void 0!==t.map&&(a+=t.map),a}return w(e,n,t);case"function":if(void 0!==e){var s=x,l=t(e);return x=s,b(e,n,l,o)}console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":var c=[],u=t.replace(i,function(e,n,t){var o="animation"+c.length;return c.push("const "+o+" = keyframes`"+t.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+o+"}"});c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+u+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+u+"`")}if(null==n)return t;var p=n[t];return o&&g&&void 0!==p&&(console.error("Interpolating a className from css`` is not recommended and will cause problems with composition.\nInterpolating a className from css`` will be completely unsupported in a future major version of Emotion"),g=!1),void 0===p||o?t:p}function w(e,n,t){var o="";if(Array.isArray(t))for(var r=0;r<t.length;r++)o+=b(e,n,t[r],!1);else for(var s in t){var i=t[s];if("object"!=typeof i)null!=n&&void 0!==n[i]?o+=s+"{"+n[i]+"}":c(i)&&(o+=u(s)+":"+p(s,i)+";");else{if("NO_COMPONENT_SELECTOR"===s)throw new Error("Component selectors can only be used in conjunction with babel-plugin-emotion.");if(!Array.isArray(i)||"string"!=typeof i[0]||null!=n&&void 0!==n[i[0]]){var l=b(e,n,i,!1);switch(s){case"animation":case"animationName":o+=u(s)+":"+l+";";break;default:"undefined"===s&&console.error(a),o+=s+"{"+l+"}"}}else for(var d=0;d<i.length;d++)c(i[d])&&(o+=u(s)+":"+p(s,i[d])+";")}}return o}var _,x,S=/label:\s*([^\s;\n{]+)\s*;/g;_=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//;var O=function(n,t,o){if(1===n.length&&"object"==typeof n[0]&&null!==n[0]&&void 0!==n[0].styles)return n[0];var a=!0,s="";x=void 0;var i,l=n[0];null==l||void 0===l.raw?(a=!1,s+=b(o,t,l,!1)):(void 0===l[0]&&console.error(r),s+=l[0]);for(var c=1;c<n.length;c++)s+=b(o,t,n[c],46===s.charCodeAt(s.length-1)),a&&(void 0===l[c]&&console.error(r),s+=l[c]);s=s.replace(_,function(e){return i=e,""}),S.lastIndex=0;for(var u,p="";null!==(u=S.exec(s));)p+="-"+u[1];var d=(0,e.default)(s)+p;return{name:d,styles:s,map:i,next:x,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}};exports.serializeStyles=O;
},{"@emotion/hash":"Wn2h","@emotion/unitless":"RtcD","@emotion/memoize":"subt"}],"kEWW":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=require("@emotion/serialize");function r(){for(var r=arguments.length,t=new Array(r),i=0;i<r;i++)t[i]=arguments[i];return(0,e.serializeStyles)(t)}var t=r;exports.default=t;
},{"@emotion/serialize":"WPNE"}],"haMh":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"css",{enumerable:!0,get:function(){return a.default}}),exports.withEmotionCache=exports.keyframes=exports.jsx=exports.ThemeContext=exports.Global=exports.ClassNames=exports.CacheProvider=void 0;var e=o(require("@babel/runtime/helpers/inheritsLoose")),t=require("react"),r=o(require("@emotion/cache")),s=require("@emotion/utils"),n=require("@emotion/serialize"),i=require("@emotion/sheet"),a=o(require("@emotion/css"));function o(e){return e&&e.__esModule?e:{default:e}}var l=(0,t.createContext)("undefined"!=typeof HTMLElement?(0,r.default)():null),c=(0,t.createContext)({});exports.ThemeContext=c;var u=l.Provider;exports.CacheProvider=u;var h=function(e){return(0,t.forwardRef)(function(r,s){return(0,t.createElement)(l.Consumer,null,function(t){return e(r,t,s)})})};exports.withEmotionCache=h;var p=function(e){return e.replace(/\$/g,"-")},f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",d=Object.prototype.hasOwnProperty,y=function(e,r,i,a){var o=null===i?r.css:r.css(i);"string"==typeof o&&void 0!==e.registered[o]&&(o=e.registered[o]);var l=r[f],c=[o],u="";"string"==typeof r.className?u=(0,s.getRegisteredStyles)(e.registered,c,r.className):null!=r.className&&(u=r.className+" ");var h=(0,n.serializeStyles)(c);if(-1===h.name.indexOf("-")){var p=r[m];p&&(h=(0,n.serializeStyles)([h,"label:"+p+";"]))}(0,s.insertStyles)(e,h,"string"==typeof l);u+=e.key+"-"+h.name;var y={};for(var v in r)d.call(r,v)&&"css"!==v&&v!==f&&v!==m&&(y[v]=r[v]);return y.ref=a,y.className=u,(0,t.createElement)(l,y)},v=h(function(e,r,s){return"function"==typeof e.css?(0,t.createElement)(c.Consumer,null,function(t){return y(r,e,t,s)}):y(r,e,null,s)});v.displayName="EmotionCssPropInternal";var g=function(e,r){var s=arguments;if(null==r||!d.call(r,"css"))return t.createElement.apply(void 0,s);if("string"==typeof r.css&&-1!==r.css.indexOf(":"))throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/css' like this: css`"+r.css+"`");var n=s.length,i=new Array(n);i[0]=v;var a={};for(var o in r)d.call(r,o)&&(a[o]=r[o]);a[f]=e;var l=new Error;if(l.stack){var c=l.stack.match(/at (?:Object\.|)jsx.*\n\s+at ([A-Z][A-Za-z$]+) /);c||(c=l.stack.match(/.*\n([A-Z][A-Za-z$]+)@/)),c&&(a[m]=p(c[1]))}i[1]=a;for(var u=2;u<n;u++)i[u]=s[u];return t.createElement.apply(null,i)};exports.jsx=g;var x=!1,E=h(function(e,r){x||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),x=!0);var s=e.styles;if("function"==typeof s)return(0,t.createElement)(c.Consumer,null,function(e){var i=(0,n.serializeStyles)([s(e)]);return(0,t.createElement)(_,{serialized:i,cache:r})});var i=(0,n.serializeStyles)([s]);return(0,t.createElement)(_,{serialized:i,cache:r})});exports.Global=E;var _=function(t){function r(e,r,s){return t.call(this,e,r,s)||this}(0,e.default)(r,t);var n=r.prototype;return n.componentDidMount=function(){this.sheet=new i.StyleSheet({key:this.props.cache.key+"-global",nonce:this.props.cache.sheet.nonce,container:this.props.cache.sheet.container});var e=document.querySelector("style[data-emotion-"+this.props.cache.key+'="'+this.props.serialized.name+'"]');null!==e&&this.sheet.tags.push(e),this.props.cache.sheet.tags.length&&(this.sheet.before=this.props.cache.sheet.tags[0]),this.insertStyles()},n.componentDidUpdate=function(e){e.serialized.name!==this.props.serialized.name&&this.insertStyles()},n.insertStyles=function(){if(void 0!==this.props.serialized.next&&(0,s.insertStyles)(this.props.cache,this.props.serialized.next,!0),this.sheet.tags.length){var e=this.sheet.tags[this.sheet.tags.length-1].nextElementSibling;this.sheet.before=e,this.sheet.flush()}this.props.cache.insert("",this.props.serialized,this.sheet,!1)},n.componentWillUnmount=function(){this.sheet.flush()},n.render=function(){return null},r}(t.Component),S=function(){var e=a.default.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};exports.keyframes=S;var b=function e(t){for(var r=t.length,s=0,n="";s<r;s++){var i=t[s];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var o in a="",i)i[o]&&o&&(a&&(a+=" "),a+=o);break;default:a=i}a&&(n&&(n+=" "),n+=a)}}return n};function w(e,t,r){var n=[],i=(0,s.getRegisteredStyles)(e,n,r);return n.length<2?r:i+t(n)}var O=h(function(e,r){return(0,t.createElement)(c.Consumer,null,function(t){var i=!1,a=function(){if(i)throw new Error("css can only be used during render");for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var o=(0,n.serializeStyles)(t,r.registered);return(0,s.insertStyles)(r,o,!1),r.key+"-"+o.name},o={css:a,cx:function(){if(i)throw new Error("cx can only be used during render");for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return w(r.registered,a,b(t))},theme:t},l=e.children(o);return i=!0,l})});exports.ClassNames=O;
},{"@babel/runtime/helpers/inheritsLoose":"HOM9","react":"n8MK","@emotion/cache":"dqFm","@emotion/utils":"V9FQ","@emotion/serialize":"WPNE","@emotion/sheet":"kwH3","@emotion/css":"kEWW"}],"kRZb":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.css=exports.get=void 0;var r=function(r,e,o,t,i){for(e=e&&e.split?e.split("."):[e],t=0;t<e.length;t++)r=r?r[e[t]]:i;return r===i?o:r};exports.get=r;var e=[40,52,64].map(function(r){return r+"em"}),o={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},t={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},i={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},a={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},d=function(e,o){if("number"!=typeof o||o>=0)return r(e,o,o);var t=Math.abs(o),i=r(e,t,t);return"string"==typeof i?"-"+i:-1*i},n=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce(function(r,e){var o;return Object.assign({},r,((o={})[e]=d,o))},{}),s=function(o){return function(t){var i={},a=r(t,"breakpoints",e),d=[null].concat(a.map(function(r){return"@media screen and (min-width: "+r+")"}));for(var n in o){var s="function"==typeof o[n]?o[n](t):o[n];if(null!=s)if(Array.isArray(s))for(var p=0;p<s.slice(0,d.length).length;p++){var g=d[p];g?(i[g]=i[g]||{},null!=s[p]&&(i[g][n]=s[p])):i[n]=s[p]}else i[n]=s}return i}},p=function(e){return function(d){void 0===d&&(d={});var g=Object.assign({},o,d.theme||d),c={},l="function"==typeof e?e(g):e,m=s(l)(g);for(var b in m){var f=m[b],h="function"==typeof f?f(g):f;if("variant"!==b)if(h&&"object"==typeof h)c[b]=p(h)(g);else{var u=r(t,b,b),y=r(a,u),v=r(g,y,r(g,u,{})),R=r(n,u,r)(v,h,h);if(i[u])for(var S=i[u],z=0;z<S.length;z++)c[S[z]]=R;else c[u]=R}else{var B=p(r(g,h))(g);c=Object.assign({},c,B)}}return c}};exports.css=p;
},{}],"oANd":[function(require,module,exports) {
"use strict";var r=function(r){return e(r)&&!t(r)};function e(r){return!!r&&"object"==typeof r}function t(r){var e=Object.prototype.toString.call(r);return"[object RegExp]"===e||"[object Date]"===e||c(r)}var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103;function c(r){return r.$$typeof===o}function u(r){return Array.isArray(r)?[]:{}}function a(r,e){return!1!==e.clone&&e.isMergeableObject(r)?g(u(r),r,e):r}function i(r,e,t){return r.concat(e).map(function(r){return a(r,t)})}function f(r,e){if(!e.customMerge)return g;var t=e.customMerge(r);return"function"==typeof t?t:g}function y(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return r.propertyIsEnumerable(e)}):[]}function b(r){return Object.keys(r).concat(y(r))}function l(r,e){try{return e in r}catch(t){return!1}}function s(r,e){return l(r,e)&&!(Object.hasOwnProperty.call(r,e)&&Object.propertyIsEnumerable.call(r,e))}function p(r,e,t){var n={};return t.isMergeableObject(r)&&b(r).forEach(function(e){n[e]=a(r[e],t)}),b(e).forEach(function(o){s(r,o)||(l(r,o)&&t.isMergeableObject(e[o])?n[o]=f(o,t)(r[o],e[o],t):n[o]=a(e[o],t))}),n}function g(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||i,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=a;var o=Array.isArray(t);return o===Array.isArray(e)?o?n.arrayMerge(e,t,n):p(e,t,n):a(t,n)}g.all=function(r,e){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(r,t){return g(r,t,e)},{})};var O=g;module.exports=O;
},{}],"RWnB":[function(require,module,exports) {
module.exports={_from:"@emotion/core@^10.0.0",_id:"@emotion/[email protected]",_inBundle:!1,_integrity:"sha512-pH8UueKYO5jgg0Iq+AmCLxBsvuGtvlmiDCOuv8fGNYn3cowFpLN98L8zO56U0H1PjDIyAlXymgL3Wu7u7v6hbA==",_location:"/@emotion/core",_phantomChildren:{},_requested:{type:"range",registry:!0,raw:"@emotion/core@^10.0.0",name:"@emotion/core",escapedName:"@emotion%2fcore",scope:"@emotion",rawSpec:"^10.0.0",saveSpec:null,fetchSpec:"^10.0.0"},_requiredBy:["/@theme-ui/color-modes","/@theme-ui/components","/@theme-ui/core","/@theme-ui/mdx","/@theme-ui/theme-provider","/@types/theme-ui__components"],_resolved:"https://registry.npmjs.org/@emotion/core/-/core-10.0.28.tgz",_shasum:"bb65af7262a234593a9e952c041d0f1c9b9bef3d",_spec:"@emotion/core@^10.0.0",_where:"/Users/alexreichert/projects/papercups/snippet/node_modules/@theme-ui/color-modes",author:{name:"mitchellhamilton",email:"[email protected]"},browser:{"./dist/core.cjs.js":"./dist/core.browser.cjs.js","./dist/core.esm.js":"./dist/core.browser.esm.js"},bundleDependencies:!1,dependencies:{"@babel/runtime":"^7.5.5","@emotion/cache":"^10.0.27","@emotion/css":"^10.0.27","@emotion/serialize":"^0.11.15","@emotion/sheet":"0.9.4","@emotion/utils":"0.11.3"},deprecated:!1,description:"> Simple styling in React.",devDependencies:{"@emotion/styled":"^10.0.27","@types/react":"^16.8.20",dtslint:"^0.3.0",emotion:"^10.0.27","emotion-server":"^10.0.27","emotion-theming":"^10.0.27","html-tag-names":"^1.1.2",react:"^16.5.2","svg-tag-names":"^1.1.1"},files:["src","dist","types"],license:"MIT",main:"dist/core.cjs.js",module:"dist/core.esm.js",name:"@emotion/core",peerDependencies:{react:">=16.3.0"},preconstruct:{umdName:"emotionCore"},publishConfig:{access:"public"},repository:{type:"git",url:"https://github.com/emotion-js/emotion/tree/master/packages/core"},scripts:{"test:typescript":"dtslint types"},types:"types/index.d.ts","umd:main":"dist/core.umd.min.js",version:"10.0.28"};
},{}],"PzTO":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ThemeProvider=exports.merge=exports.useThemeUI=exports.Context=exports.jsx=void 0;var e=require("@emotion/core"),r=require("@theme-ui/css"),t=i(require("react")),o=i(require("deepmerge")),n=require("@emotion/core/package.json");function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){if(e.sx||e.css)return function(t){return[(0,r.css)(e.sx)(t),"function"==typeof e.css?e.css(t):e.css]}},u=function(e){if(!e)return null;var r={};for(var t in e)"sx"!==t&&(r[t]=e[t]);var o=s(e);return o&&(r.css=o),r},c=function(r,t){for(var o=[],n=arguments.length-2;n-- >0;)o[n]=arguments[n+2];return e.jsx.apply(void 0,[r,u(t)].concat(o))};exports.jsx=c;var a=t.default.createContext({__EMOTION_VERSION__:n.version,theme:null});exports.Context=a;var l=function(){return t.default.useContext(a)};exports.useThemeUI=l;var f="function"==typeof Symbol&&Symbol.for,p=f?Symbol.for("react.element"):60103,m=f?Symbol.for("react.forward_ref"):60103,v=function(e){return!!e&&"object"==typeof e&&e.$$typeof!==p&&e.$$typeof!==m},d=function(e,r,t){return r},x=function(e,r){return(0,o.default)(e,r,{isMergeableObject:v,arrayMerge:d})};exports.merge=x,x.all=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return o.default.all(e,{isMergeableObject:v,arrayMerge:d})};var h=function(r){var t=r.context,o=r.children;return c(e.ThemeContext.Provider,{value:t.theme},c(a.Provider,{value:t,children:o}))},y=function(e){var r=e.theme,t=e.children,o=l();o.__EMOTION_VERSION__!==n.version&&console.warn("Multiple versions of Emotion detected,","and theming might not work as expected.","Please ensure there is only one copy of @emotion/core installed in your application.");var i="function"==typeof r?Object.assign({},o,{theme:r(o.theme)}):x.all({},o,{theme:r});return c(h,{context:i,children:t})};exports.ThemeProvider=y;
},{"@emotion/core":"haMh","@theme-ui/css":"kRZb","react":"n8MK","deepmerge":"oANd","@emotion/core/package.json":"RWnB"}],"hEk9":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InitializeColorMode=exports.ColorModeProvider=exports.useColorMode=void 0;var e=n(require("react")),o=require("@theme-ui/core"),r=require("@emotion/core"),t=require("@theme-ui/css");function n(e){return e&&e.__esModule?e:{default:e}}var i=function(e){return"--theme-ui-"+e},s=function(e,o){return"var("+i(e)+", "+o+")"},c=function(){for(var e=[],o=arguments.length;o--;)e[o]=arguments[o];return e.filter(Boolean).join("-")},a={fontWeights:!0,lineHeights:!0},l={useCustomProperties:!0,initialColorModeName:!0,initialColorMode:!0},u=function(e,o){return"number"!=typeof o?o:a[e]?o:o+"px"},d=function(e,o,r){var t=Array.isArray(e)?[]:{};for(var n in e){var i=e[n],a=c(o,n);if(i&&"object"==typeof i)t[n]=d(i,a,n);else if(l[n])t[n]=i;else{var m=u(r||n,i);t[n]=s(a,m)}}return t},m=function(e,o){var r={};for(var t in o)if("modes"!==t){var n=c(e,t),s=o[t];s&&"object"==typeof s?r=Object.assign({},r,m(n,s)):r[i(n)]=s}return r},f=function(e){if(void 0===e&&(e={}),!e.colors||!1===e.useBodyStyles)return{};if(!1===e.useCustomProperties||!e.colors.modes)return(0,t.css)({body:{color:"text",bg:"background"}})(e);var o=e.rawColors||e.colors,r=o.modes,n=m("colors",o);return Object.keys(r).forEach(function(e){n["&.theme-ui-"+e]=m("colors",r[e])}),(0,t.css)({body:Object.assign({},n,{color:"text",bg:"background"})})(e)},h="theme-ui-color-mode",v={get:function(e){try{return window.localStorage.getItem(h)||e}catch(o){console.warn("localStorage is disabled and color mode might not work as expected.","Please check your Site Settings.",o)}},set:function(e){try{window.localStorage.setItem(h,e)}catch(o){console.warn("localStorage is disabled and color mode might not work as expected.","Please check your Site Settings.",o)}}},g=function(){var e="(prefers-color-scheme: dark)",o=window.matchMedia?window.matchMedia(e):{},r=window.matchMedia?window.matchMedia("(prefers-color-scheme: light)"):{};return o.media===e&&o.matches?"dark":"(prefers-color-scheme: light)"===r.media&&r.matches?"light":"default"},y=function(o){void 0===o&&(o={});var r=e.default.useState(o.initialColorModeName||"default"),t=r[0],n=r[1];return e.default.useEffect(function(){var e=v.get();if(document.body.classList.remove("theme-ui-"+e),e||!o.useColorSchemeMediaQuery)e&&e!==t&&n(e);else{var r=g();n(r)}},[]),e.default.useEffect(function(){t&&v.set(t)},[t]),o.colors&&o.colors.modes&&Object.keys(o.colors.modes).indexOf(o.initialColorModeName)>-1&&console.warn("The `initialColorModeName` value should be a unique name and cannot reference a key in `theme.colors.modes`."),[t,n]},M=function(){var e=(0,o.useThemeUI)(),r=e.colorMode,t=e.setColorMode;if("function"!=typeof t)throw new Error("[useColorMode] requires the ColorModeProvider component");return[r,t]};exports.useColorMode=M;var p=function(e,r){if(!r)return e;var n=(0,t.get)(e,"colors.modes",{});return o.merge.all({},e,{colors:(0,t.get)(n,r,{})})},b=function(){return(0,o.jsx)(r.Global,{styles:function(e){return f(e)}})},C=function(e){var t=e.children,n=(0,o.useThemeUI)(),i=y(n.theme),s=i[0],c=i[1],a=p(n.theme||{},s),l=Object.assign({},a);!1!==a.useCustomProperties&&(l.colors=d(l.colors,"colors"));var u=Object.assign({},n,{theme:a,colorMode:s,setColorMode:c});return(0,o.jsx)(r.ThemeContext.Provider,{value:l},(0,o.jsx)(o.Context.Provider,{value:u},(0,o.jsx)(b,{key:"color-mode"}),t))};exports.ColorModeProvider=C;var w="(function() { try {\n var mode = localStorage.getItem('theme-ui-color-mode');\n if (!mode) return\n document.body.classList.add('theme-ui-' + mode);\n} catch (e) {} })();",x=function(){return(0,o.jsx)("script",{key:"theme-ui-no-flash",dangerouslySetInnerHTML:{__html:w}})};exports.InitializeColorMode=x;
},{"react":"n8MK","@theme-ui/core":"PzTO","@emotion/core":"haMh","@theme-ui/css":"kRZb"}],"IxO8":[function(require,module,exports) {
function e(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}module.exports=e;
},{}],"vQ7R":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=a(require("@babel/runtime/helpers/defineProperty")),r=require("react"),o=a(require("@emotion/is-prop-valid")),t=require("@emotion/core"),n=require("@emotion/utils"),i=require("@emotion/serialize");function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default,l=function(e){return"theme"!==e&&"innerRef"!==e},u=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?s:l};function c(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),o.push.apply(o,t)}return o}function p(r){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?c(t,!0).forEach(function(o){(0,e.default)(r,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):c(t).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))})}return r}var d="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",f=function e(o,a){if(void 0===o)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var s,l,c;void 0!==a&&(s=a.label,c=a.target,l=o.__emotion_forwardProp&&a.shouldForwardProp?function(e){return o.__emotion_forwardProp(e)&&a.shouldForwardProp(e)}:a.shouldForwardProp);var f=o.__emotion_real===o,m=f&&o.__emotion_base||o;"function"!=typeof l&&f&&(l=o.__emotion_forwardProp);var v=l||u(m),_=!v("as");return function(){var y=arguments,h=f&&void 0!==o.__emotion_styles?o.__emotion_styles.slice(0):[];if(void 0!==s&&h.push("label:"+s+";"),null==y[0]||void 0===y[0].raw)h.push.apply(h,y);else{void 0===y[0][0]&&console.error(d),h.push(y[0][0]);for(var g=y.length,b=1;b<g;b++)void 0===y[0][b]&&console.error(d),h.push(y[b],y[0][b])}var w=(0,t.withEmotionCache)(function(e,o,a){return(0,r.createElement)(t.ThemeContext.Consumer,null,function(t){var p=_&&e.as||m,d="",f=[],y=e;if(null==e.theme){for(var g in y={},e)y[g]=e[g];y.theme=t}"string"==typeof e.className?d=(0,n.getRegisteredStyles)(o.registered,f,e.className):null!=e.className&&(d=e.className+" ");var b=(0,i.serializeStyles)(h.concat(f),o.registered,y);(0,n.insertStyles)(o,b,"string"==typeof p);d+=o.key+"-"+b.name,void 0!==c&&(d+=" "+c);var w=_&&void 0===l?u(p):v,O={};for(var P in e)_&&"as"===P||w(P)&&(O[P]=e[P]);return O.className=d,O.ref=a||e.innerRef,e.innerRef&&console.error("`innerRef` is deprecated and will be removed in a future major version of Emotion, please use the `ref` prop instead"+(void 0===s?"":" in the usage of `"+s+"`")),(0,r.createElement)(p,O)})});return w.displayName=void 0!==s?s:"Styled("+("string"==typeof m?m:m.displayName||m.name||"Component")+")",w.defaultProps=o.defaultProps,w.__emotion_real=w,w.__emotion_base=m,w.__emotion_styles=h,w.__emotion_forwardProp=l,Object.defineProperty(w,"toString",{value:function(){return void 0===c?"NO_COMPONENT_SELECTOR":"."+c}}),w.withComponent=function(r,o){return e(r,void 0!==o?p({},a||{},{},o):a).apply(void 0,h)},w}},m=f;exports.default=m;
},{"@babel/runtime/helpers/defineProperty":"IxO8","react":"n8MK","@emotion/is-prop-valid":"F4RS","@emotion/core":"haMh","@emotion/utils":"V9FQ","@emotion/serialize":"WPNE"}],"oyuF":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("@emotion/styled-base"));function t(e){return e&&e.__esModule?e:{default:e}}var a=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],r=e.default.bind();a.forEach(function(e){r[e]=r(e)});var i=r;exports.default=i;
},{"@emotion/styled-base":"vQ7R"}],"rm29":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.mdx=v,exports.withMDXComponents=exports.useMDXComponents=exports.MDXProvider=exports.MDXContext=void 0;var e=t(require("react"));function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(){return(n=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}).apply(this,arguments)}function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}function u(e,t){if(null==e)return{};var r,n,o=c(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=function(e){return"function"==typeof e},l=e.default.createContext({});exports.MDXContext=l;var i=function(t){return function(r){var o=f(r.components);return e.default.createElement(t,n({},r,{components:o}))}};exports.withMDXComponents=i;var f=function(t){var r=e.default.useContext(l),n=r;return t&&(n=p(t)?t(r):a(a({},r),t)),n};exports.useMDXComponents=f;var s=function(t){var r=f(t.components);return e.default.createElement(l.Provider,{value:r},t.children)};exports.MDXProvider=s;var y="mdxType",d={inlineCode:"code",wrapper:function(t){var r=t.children;return e.default.createElement(e.default.Fragment,{},r)}},m=e.default.forwardRef(function(t,r){var n=t.components,o=t.mdxType,c=t.originalType,p=t.parentName,l=u(t,["components","mdxType","originalType","parentName"]),i=f(n),s=o,y=i["".concat(p,".").concat(s)]||i[s]||d[s]||c;return n?e.default.createElement(y,a(a({ref:r},l),{},{components:n})):e.default.createElement(y,a({ref:r},l))});function v(t,r){var n=arguments,o=r&&r.mdxType;if("string"==typeof t||o){var a=n.length,c=new Array(a);c[0]=m;var u={};for(var p in r)hasOwnProperty.call(r,p)&&(u[p]=r[p]);u.originalType=t,u[y]="string"==typeof t?t:o,c[1]=u;for(var l=2;l<a;l++)c[l]=n[l];return e.default.createElement.apply(null,c)}return e.default.createElement.apply(null,n)}m.displayName="MDXCreateElement";
},{"react":"n8MK"}],"NYnV":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MDXProvider=exports.components=exports.Styled=exports.themed=void 0;var e=require("@theme-ui/core"),r=require("@theme-ui/css");require("react"),require("@emotion/core");var t=n(require("@emotion/styled")),o=require("@mdx-js/react");function n(e){return e&&e.__esModule?e:{default:e}}var i=["p","b","i","a","h1","h2","h3","h4","h5","h6","img","pre","code","ol","ul","li","blockquote","hr","em","table","tr","th","td","em","strong","del","inlineCode","thematicBreak","div","root"],s={inlineCode:"code",thematicBreak:"hr",root:"div"},u=function(e){return s[e]||e},c=function(e){return function(t){return(0,r.css)((0,r.get)(t.theme,"styles."+e))(t.theme)}};exports.themed=c;var d=(0,t.default)("div")(c("div"));exports.Styled=d;var a={};exports.components=a,i.forEach(function(e){a[e]=(0,t.default)(u(e))(c(e)),d[e]=a[e]});var h=function(e){var r=Object.assign({},a);return Object.keys(e).forEach(function(o){r[o]=(0,t.default)(e[o])(c(o))}),r},l=function(r){var t=r.components,n=r.children,i=(0,o.useMDXComponents)();return(0,e.jsx)(o.MDXProvider,{components:h(Object.assign({},i,t)),children:n})};exports.MDXProvider=l;
},{"@theme-ui/core":"PzTO","@theme-ui/css":"kRZb","react":"n8MK","@emotion/core":"haMh","@emotion/styled":"oyuF","@mdx-js/react":"rm29"}],"zWs7":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ThemeProvider=void 0;var r=require("@theme-ui/core"),e=require("@theme-ui/color-modes"),o=require("@theme-ui/mdx"),t=require("@emotion/core"),i=function(r,e,o,t,i){for(e=e&&e.split?e.split("."):[e],t=0;t<e.length;t++)r=r?r[e[t]]:i;return r===i?o:r},n=[40,52,64].map(function(r){return r+"em"}),d={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},a={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},s={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},p={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},g=function(r,e){if("number"!=typeof e||e>=0)return i(r,e,e);var o=Math.abs(e),t=i(r,o,o);return"string"==typeof t?"-"+t:-1*t},m=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce(function(r,e){var o;return Object.assign({},r,((o={})[e]=g,o))},{}),l=function(r){return function(e){var o={},t=i(e,"breakpoints",n),d=[null].concat(t.map(function(r){return"@media screen and (min-width: "+r+")"}));for(var a in r){var s="function"==typeof r[a]?r[a](e):r[a];if(null!=s)if(Array.isArray(s))for(var p=0;p<s.slice(0,d.length).length;p++){var g=d[p];g?(o[g]=o[g]||{},null!=s[p]&&(o[g][a]=s[p])):o[a]=s[p]}else o[a]=s}return o}},c=function(r){return function(e){void 0===e&&(e={});var o=Object.assign({},d,e.theme||e),t={},n="function"==typeof r?r(o):r,g=l(n)(o);for(var h in g){var b=g[h],f="function"==typeof b?b(o):b;if("variant"!==h)if(f&&"object"==typeof f)t[h]=c(f)(o);else{var u=i(a,h,h),y=i(p,u),v=i(o,y,i(o,u,{})),x=i(m,u,i)(v,f,f);if(s[u])for(var R=s[u],S=0;S<R.length;S++)t[R[S]]=x;else t[u]=x}else{var T=c(i(o,f))(o);t=Object.assign({},t,T)}}return t}},h=function(){return(0,r.jsx)(t.Global,{styles:function(r){if(!1===r.useBodyStyles||r.styles&&!r.styles.root)return!1;var e=!1===r.useBorderBox?null:"border-box";return c({"*":{boxSizing:e},body:{margin:0,variant:"styles.root"}})(r)}})},b=function(t){var i=t.theme,n=t.components,d=t.children;return"function"==typeof(0,r.useThemeUI)().setColorMode?(0,r.jsx)(r.ThemeProvider,{theme:i},(0,r.jsx)(o.MDXProvider,{components:n,children:d})):(0,r.jsx)(r.ThemeProvider,{theme:i},(0,r.jsx)(e.ColorModeProvider,null,(0,r.jsx)(h),(0,r.jsx)(o.MDXProvider,{components:n,children:d})))};exports.ThemeProvider=b;
},{"@theme-ui/core":"PzTO","@theme-ui/color-modes":"hEk9","@theme-ui/mdx":"NYnV","@emotion/core":"haMh"}],"lOk0":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.compose=exports.system=exports.createStyleFunction=exports.createParser=exports.get=exports.merge=void 0;var e=r(require("object-assign"));function r(e){return e&&e.__esModule?e:{default:e}}var t=function(r,t){var n=(0,e.default)({},r,t);for(var a in r){var o;r[a]&&"object"==typeof t[a]&&(0,e.default)(n,((o={})[a]=(0,e.default)(r[a],t[a]),o))}return n};exports.merge=t;var n=function(e){var r={};return Object.keys(e).sort(function(e,r){return e.localeCompare(r,void 0,{numeric:!0,sensitivity:"base"})}).forEach(function(t){r[t]=e[t]}),r},a={breakpoints:[40,52,64].map(function(e){return e+"em"})},o=function(e){return"@media screen and (min-width: "+e+")"},i=function(e,r){return u(r,e,e)},u=function(e,r,t,n,a){for(r=r&&r.split?r.split("."):[r],n=0;n<r.length;n++)e=e?e[r[n]]:a;return e===a?t:e};exports.get=u;var c=function r(i){var c={},l=function(r){var l={},p=!1,v=r.theme&&r.theme.disableStyledSystemCache;for(var d in r)if(i[d]){var m=i[d],y=r[d],b=u(r.theme,m.scale,m.defaults);if("object"!=typeof y)(0,e.default)(l,m(y,b,r));else{if(c.breakpoints=!v&&c.breakpoints||u(r.theme,"breakpoints",a.breakpoints),Array.isArray(y)){c.media=!v&&c.media||[null].concat(c.breakpoints.map(o)),l=t(l,f(c.media,m,b,y,r));continue}null!==y&&(l=t(l,s(c.breakpoints,m,b,y,r)),p=!0)}}return p&&(l=n(l)),l};l.config=i,l.propNames=Object.keys(i),l.cache=c;var p=Object.keys(i).filter(function(e){return"config"!==e});return p.length>1&&p.forEach(function(e){var t;l[e]=r(((t={})[e]=i[e],t))}),l};exports.createParser=c;var f=function(r,t,n,a,o){var i={};return a.slice(0,r.length).forEach(function(a,u){var c,f=r[u],s=t(a,n,o);f?(0,e.default)(i,((c={})[f]=(0,e.default)({},i[f],s),c)):(0,e.default)(i,s)}),i},s=function(r,t,n,a,i){var u={};for(var c in a){var f=r[c],s=t(a[c],n,i);if(f){var l,p=o(f);(0,e.default)(u,((l={})[p]=(0,e.default)({},u[p],s),l))}else(0,e.default)(u,s)}return u},l=function(e){var r=e.properties,t=e.property,n=e.scale,a=e.transform,o=void 0===a?i:a,u=e.defaultScale;r=r||[t];var c=function(e,t,n){var a={},i=o(e,t,n);if(null!==i)return r.forEach(function(e){a[e]=i}),a};return c.scale=n,c.defaults=u,c};exports.createStyleFunction=l;var p=function(e){void 0===e&&(e={});var r={};return Object.keys(e).forEach(function(t){var n=e[t];r[t]=!0!==n?"function"!=typeof n?l(n):n:l({property:t,scale:t})}),c(r)};exports.system=p;var v=function(){for(var r={},t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return n.forEach(function(t){t&&t.config&&(0,e.default)(r,t.config)}),c(r)};exports.compose=v;
},{"object-assign":"J4Nk"}],"UGuj":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.layout=void 0;var e=require("@styled-system/core"),t=function(e){return"number"==typeof e&&!isNaN(e)},s=function(s,r){return(0,e.get)(r,s,!t(s)||s>1?s:100*s+"%")},r={width:{property:"width",scale:"sizes",transform:s},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0},i=(0,e.system)(r);exports.layout=i;var o=i;exports.default=o;
},{"@styled-system/core":"lOk0"}],"QwyS":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.color=void 0;var o=require("@styled-system/core"),r={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};r.bg=r.backgroundColor;var e=(0,o.system)(r);exports.color=e;var s=e;exports.default=s;
},{"@styled-system/core":"lOk0"}],"gjWf":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.typography=void 0;var e=require("@styled-system/core"),t={fontSizes:[12,14,16,20,24,32,48,64,72]},o={fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:t.fontSizes},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0},r=(0,e.system)(o);exports.typography=r;var s=r;exports.default=s;
},{"@styled-system/core":"lOk0"}],"VlOw":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.flexbox=void 0;var e=require("@styled-system/core"),t={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0},s=(0,e.system)(t);exports.flexbox=s;var r=s;exports.default=r;
},{"@styled-system/core":"lOk0"}],"Y6iT":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.grid=void 0;var e=require("@styled-system/core"),r={space:[0,4,8,16,32,64,128,256,512]},a={gridGap:{property:"gridGap",scale:"space",defaultScale:r.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:r.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:r.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},p=(0,e.system)(a);exports.grid=p;var s=p;exports.default=s;
},{"@styled-system/core":"lOk0"}],"BhUW":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.border=void 0;var r=require("@styled-system/core"),o={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:{property:"borderTopStyle",scale:"borderStyles"}};o.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},o.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},o.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},o.borderBottomColor={property:"borderBottomColor",scale:"colors"},o.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},o.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},o.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},o.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},o.borderLeftColor={property:"borderLeftColor",scale:"colors"},o.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},o.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},o.borderRightColor={property:"borderRightColor",scale:"colors"},o.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var e=(0,r.system)(o);exports.border=e;var t=e;exports.default=t;
},{"@styled-system/core":"lOk0"}],"arJ1":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.background=void 0;var e=require("@styled-system/core"),o={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};o.bgImage=o.backgroundImage,o.bgSize=o.backgroundSize,o.bgPosition=o.backgroundPosition,o.bgRepeat=o.backgroundRepeat;var r=(0,e.system)(o);exports.background=r;var a=r;exports.default=a;
},{"@styled-system/core":"lOk0"}],"lqWa":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.position=void 0;var e=require("@styled-system/core"),t={space:[0,4,8,16,32,64,128,256,512]},s={position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:t.space},right:{property:"right",scale:"space",defaultScale:t.space},bottom:{property:"bottom",scale:"space",defaultScale:t.space},left:{property:"left",scale:"space",defaultScale:t.space}},p=(0,e.system)(s);exports.position=p;var a=p;exports.default=a;
},{"@styled-system/core":"lOk0"}],"qnyt":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.space=exports.padding=exports.margin=void 0;var a=require("@styled-system/core"),e={space:[0,4,8,16,32,64,128,256,512]},p=function(a){return"number"==typeof a&&!isNaN(a)},r=function(e,r){if(!p(e))return(0,a.get)(r,e,e);var d=e<0,i=Math.abs(e),n=(0,a.get)(r,i,i);return p(n)?n*(d?-1:1):d?"-"+n:n},d={};d.margin={margin:{property:"margin",scale:"space",transform:r,defaultScale:e.space},marginTop:{property:"marginTop",scale:"space",transform:r,defaultScale:e.space},marginRight:{property:"marginRight",scale:"space",transform:r,defaultScale:e.space},marginBottom:{property:"marginBottom",scale:"space",transform:r,defaultScale:e.space},marginLeft:{property:"marginLeft",scale:"space",transform:r,defaultScale:e.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:r,defaultScale:e.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:r,defaultScale:e.space}},d.margin.m=d.margin.margin,d.margin.mt=d.margin.marginTop,d.margin.mr=d.margin.marginRight,d.margin.mb=d.margin.marginBottom,d.margin.ml=d.margin.marginLeft,d.margin.mx=d.margin.marginX,d.margin.my=d.margin.marginY,d.padding={padding:{property:"padding",scale:"space",defaultScale:e.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:e.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:e.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:e.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:e.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:e.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:e.space}},d.padding.p=d.padding.padding,d.padding.pt=d.padding.paddingTop,d.padding.pr=d.padding.paddingRight,d.padding.pb=d.padding.paddingBottom,d.padding.pl=d.padding.paddingLeft,d.padding.px=d.padding.paddingX,d.padding.py=d.padding.paddingY;var i=(0,a.system)(d.margin);exports.margin=i;var n=(0,a.system)(d.padding);exports.padding=n;var t=(0,a.compose)(i,n);exports.space=t;var g=t;exports.default=g;
},{"@styled-system/core":"lOk0"}],"phtB":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.shadow=void 0;var e=require("@styled-system/core"),o=(0,e.system)({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});exports.shadow=o;var s=o;exports.default=s;
},{"@styled-system/core":"lOk0"}],"JUl6":[function(require,module,exports) {
"use strict";function r(){return(r=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var t in o)Object.prototype.hasOwnProperty.call(o,t)&&(r[t]=o[t])}return r}).apply(this,arguments)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.css=exports.responsive=exports.get=void 0;var e=function(r,e,o,t,i){for(e=e&&e.split?e.split("."):[e],t=0;t<e.length;t++)r=r?r[e[t]]:i;return r===i?o:r};exports.get=e;var o=[40,52,64].map(function(r){return r+"em"}),t={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},i={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},a={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},n={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},d=function(r,o){if("number"!=typeof o||o>=0)return e(r,o,o);var t=Math.abs(o),i=e(r,t,t);return"string"==typeof i?"-"+i:-1*i},s=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","top","bottom","left","right"].reduce(function(e,o){var t;return r({},e,((t={})[o]=d,t))},{}),p=function(r){return function(t){var i={},a=e(t,"breakpoints",o),n=[null].concat(a.map(function(r){return"@media screen and (min-width: "+r+")"}));for(var d in r){var s="function"==typeof r[d]?r[d](t):r[d];if(null!=s)if(Array.isArray(s))for(var p=0;p<s.slice(0,n.length).length;p++){var g=n[p];g?(i[g]=i[g]||{},null!=s[p]&&(i[g][d]=s[p])):i[d]=s[p]}else i[d]=s}return i}};exports.responsive=p;var g=function o(d){return function(g){void 0===g&&(g={});var c=r({},t,{},g.theme||g),l={},m="function"==typeof d?d(c):d,f=p(m)(c);for(var b in f){var h=f[b],u="function"==typeof h?h(c):h;if("variant"!==b)if(u&&"object"==typeof u)l[b]=o(u)(c);else{var v=e(i,b,b),y=e(n,v),R=e(c,y,e(c,v,{})),x=e(s,v,e)(R,u,u);if(a[v])for(var S=a[v],z=0;z<S.length;z++)l[S[z]]=x;else l[v]=x}else l=r({},l,{},o(e(c,u))(c))}return l}};exports.css=g;var c=g;exports.default=c;
},{}],"Rv6b":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.colorStyle=exports.textStyle=exports.buttonStyle=exports.default=exports.variant=void 0;var e=require("@styled-system/core"),t=r(require("@styled-system/css"));function r(e){return e&&e.__esModule?e:{default:e}}var o=function(r){var o,s,l=r.scale,a=r.prop,u=void 0===a?"variant":a,n=r.variants,y=void 0===n?{}:n,p=r.key;(s=Object.keys(y).length?function(r,o,s){return(0,t.default)((0,e.get)(o,r,null))(s.theme)}:function(t,r){return(0,e.get)(r,t,null)}).scale=l||p,s.defaults=y;var c=((o={})[u]=s,o);return(0,e.createParser)(c)};exports.variant=o;var s=o;exports.default=s;var l=o({key:"buttons"});exports.buttonStyle=l;var a=o({key:"textStyles",prop:"textStyle"});exports.textStyle=a;var u=o({key:"colorStyles",prop:"colors"});exports.colorStyle=u;
},{"@styled-system/core":"lOk0","@styled-system/css":"JUl6"}],"vajI":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"get",{enumerable:!0,get:function(){return e.get}}),Object.defineProperty(exports,"createParser",{enumerable:!0,get:function(){return e.createParser}}),Object.defineProperty(exports,"createStyleFunction",{enumerable:!0,get:function(){return e.createStyleFunction}}),Object.defineProperty(exports,"compose",{enumerable:!0,get:function(){return e.compose}}),Object.defineProperty(exports,"system",{enumerable:!0,get:function(){return e.system}}),Object.defineProperty(exports,"layout",{enumerable:!0,get:function(){return t.layout}}),Object.defineProperty(exports,"color",{enumerable:!0,get:function(){return r.color}}),Object.defineProperty(exports,"typography",{enumerable:!0,get:function(){return o.typography}}),Object.defineProperty(exports,"flexbox",{enumerable:!0,get:function(){return s.flexbox}}),Object.defineProperty(exports,"grid",{enumerable:!0,get:function(){return n.grid}}),Object.defineProperty(exports,"border",{enumerable:!0,get:function(){return p.border}}),Object.defineProperty(exports,"borders",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(exports,"background",{enumerable:!0,get:function(){return i.background}}),Object.defineProperty(exports,"position",{enumerable:!0,get:function(){return a.position}}),Object.defineProperty(exports,"margin",{enumerable:!0,get:function(){return l.margin}}),Object.defineProperty(exports,"padding",{enumerable:!0,get:function(){return l.padding}}),Object.defineProperty(exports,"space",{enumerable:!0,get:function(){return l.space}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return u.shadow}}),Object.defineProperty(exports,"boxShadow",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(exports,"textShadow",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(exports,"variant",{enumerable:!0,get:function(){return d.variant}}),Object.defineProperty(exports,"buttonStyle",{enumerable:!0,get:function(){return d.buttonStyle}}),Object.defineProperty(exports,"textStyle",{enumerable:!0,get:function(){return d.textStyle}}),Object.defineProperty(exports,"colorStyle",{enumerable:!0,get:function(){return d.colorStyle}}),exports.style=exports.left=exports.bottom=exports.right=exports.top=exports.zIndex=exports.backgroundRepeat=exports.backgroundPosition=exports.backgroundSize=exports.backgroundImage=exports.borderRadius=exports.borderLeft=exports.borderBottom=exports.borderRight=exports.borderTop=exports.borderColor=exports.borderStyle=exports.borderWidth=exports.gridArea=exports.gridTemplateAreas=exports.gridTemplateRows=exports.gridTemplateColumns=exports.gridAutoRows=exports.gridAutoColumns=exports.gridAutoFlow=exports.gridRow=exports.gridColumn=exports.gridRowGap=exports.gridColumnGap=exports.gridGap=exports.order=exports.alignSelf=exports.justifySelf=exports.flexBasis=exports.flexShrink=exports.flexGrow=exports.flex=exports.flexDirection=exports.flexWrap=exports.justifyContent=exports.justifyItems=exports.alignContent=exports.alignItems=exports.letterSpacing=exports.fontStyle=exports.textAlign=exports.lineHeight=exports.fontWeight=exports.fontFamily=exports.fontSize=exports.opacity=exports.overflowY=exports.overflowX=exports.overflow=exports.display=exports.verticalAlign=exports.size=exports.maxHeight=exports.maxWidth=exports.minHeight=exports.minWidth=exports.height=exports.width=void 0;var e=require("@styled-system/core"),t=x(require("@styled-system/layout")),r=x(require("@styled-system/color")),o=x(require("@styled-system/typography")),s=x(require("@styled-system/flexbox")),n=x(require("@styled-system/grid")),p=x(require("@styled-system/border")),i=x(require("@styled-system/background")),a=x(require("@styled-system/position")),l=require("@styled-system/space"),u=x(require("@styled-system/shadow")),d=require("@styled-system/variant");function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function x(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){var n=o?Object.getOwnPropertyDescriptor(e,s):null;n&&(n.get||n.set)?Object.defineProperty(r,s,n):r[s]=e[s]}return r.default=e,t&&t.set(e,r),r}var g=t.default.width,c=t.default.height,b=t.default.minWidth,y=t.default.minHeight,m=t.default.maxWidth,h=t.default.maxHeight,j=t.default.size,w=t.default.verticalAlign,P=t.default.display,S=t.default.overflow,v=t.default.overflowX,O=t.default.overflowY;exports.overflowY=O,exports.overflowX=v,exports.overflow=S,exports.display=P,exports.verticalAlign=w,exports.size=j,exports.maxHeight=h,exports.maxWidth=m,exports.minHeight=y,exports.minWidth=b,exports.height=c,exports.width=g;var k=r.default.opacity;exports.opacity=k;var A=o.default.fontSize,C=o.default.fontFamily,R=o.default.fontWeight,W=o.default.lineHeight,q=o.default.textAlign,z=o.default.fontStyle,G=o.default.letterSpacing;exports.letterSpacing=G,exports.fontStyle=z,exports.textAlign=q,exports.lineHeight=W,exports.fontWeight=R,exports.fontFamily=C,exports.fontSize=A;var I=s.default.alignItems,T=s.default.alignContent,F=s.default.justifyItems,H=s.default.justifyContent,B=s.default.flexWrap,D=s.default.flexDirection,M=s.default.flex,_=s.default.flexGrow,L=s.default.flexShrink,X=s.default.flexBasis,Y=s.default.justifySelf,V=s.default.alignSelf,E=s.default.order;exports.order=E,exports.alignSelf=V,exports.justifySelf=Y,exports.flexBasis=X,exports.flexShrink=L,exports.flexGrow=_,exports.flex=M,exports.flexDirection=D,exports.flexWrap=B,exports.justifyContent=H,exports.justifyItems=F,exports.alignContent=T,exports.alignItems=I;var J=n.default.gridGap,K=n.default.gridColumnGap,N=n.default.gridRowGap,Q=n.default.gridColumn,U=n.default.gridRow,Z=n.default.gridAutoFlow,$=n.default.gridAutoColumns,ee=n.default.gridAutoRows,te=n.default.gridTemplateColumns,re=n.default.gridTemplateRows,oe=n.default.gridTemplateAreas,se=n.default.gridArea;exports.gridArea=se,exports.gridTemplateAreas=oe,exports.gridTemplateRows=re,exports.gridTemplateColumns=te,exports.gridAutoRows=ee,exports.gridAutoColumns=$,exports.gridAutoFlow=Z,exports.gridRow=U,exports.gridColumn=Q,exports.gridRowGap=N,exports.gridColumnGap=K,exports.gridGap=J;var ne=p.default.borderWidth,pe=p.default.borderStyle,ie=p.default.borderColor,ae=p.default.borderTop,le=p.default.borderRight,ue=p.default.borderBottom,de=p.default.borderLeft,fe=p.default.borderRadius;exports.borderRadius=fe,exports.borderLeft=de,exports.borderBottom=ue,exports.borderRight=le,exports.borderTop=ae,exports.borderColor=ie,exports.borderStyle=pe,exports.borderWidth=ne;var xe=i.default.backgroundImage,ge=i.default.backgroundSize,ce=i.default.backgroundPosition,be=i.default.backgroundRepeat;exports.backgroundRepeat=be,exports.backgroundPosition=ce,exports.backgroundSize=ge,exports.backgroundImage=xe;var ye=a.default.zIndex,me=a.default.top,he=a.default.right,je=a.default.bottom,we=a.default.left;exports.left=we,exports.bottom=je,exports.right=he,exports.top=me,exports.zIndex=ye;var Pe=function(t){var r=t.prop,o=t.cssProperty,s=t.alias,n=t.key,p=t.transformValue,i=t.scale,a=t.properties,l={};return l[r]=(0,e.createStyleFunction)({properties:a,property:o||r,scale:n,defaultScale:i,transform:p}),s&&(l[s]=l[r]),(0,e.createParser)(l)};exports.style=Pe;
},{"@styled-system/core":"lOk0","@styled-system/layout":"UGuj","@styled-system/color":"QwyS","@styled-system/typography":"gjWf","@styled-system/flexbox":"VlOw","@styled-system/grid":"Y6iT","@styled-system/border":"BhUW","@styled-system/background":"arJ1","@styled-system/position":"lqWa","@styled-system/space":"qnyt","@styled-system/shadow":"phtB","@styled-system/variant":"Rv6b"}],"uhx0":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.createShouldForwardProp=exports.props=void 0;var e=t(require("@emotion/memoize")),r=t(require("@emotion/is-prop-valid")),o=require("styled-system");function t(e){return e&&e.__esModule?e:{default:e}}var p=(0,o.compose)(o.space,o.typography,o.color,o.layout,o.flexbox,o.border,o.background,o.position,o.grid,o.shadow,o.buttonStyle,o.textStyle,o.colorStyle),s=p.propNames;exports.props=s;var u=function(o){var t=new RegExp("^("+o.join("|")+")$");return(0,e.default)(function(e){return(0,r.default)(e)&&!t.test(e)})};exports.createShouldForwardProp=u;var a=u(s);exports.default=a;
},{"@emotion/memoize":"subt","@emotion/is-prop-valid":"F4RS","styled-system":"vajI"}],"Pqke":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuButton=exports.IconButton=exports.Message=exports.NavLink=exports.Container=exports.AspectImage=exports.AspectRatio=exports.Embed=exports.Divider=exports.Alert=exports.Close=exports.Badge=exports.Avatar=exports.Spinner=exports.Donut=exports.Progress=exports.Field=exports.Slider=exports.Checkbox=exports.Radio=exports.Textarea=exports.Select=exports.Input=exports.Label=exports.Card=exports.Image=exports.Heading=exports.Text=exports.Link=exports.Button=exports.Grid=exports.Flex=exports.Box=void 0;var e=require("@theme-ui/css"),t=require("@styled-system/should-forward-prop"),r=s(require("@styled-system/space")),a=s(require("@styled-system/color")),n=s(require("@emotion/styled")),o=require("@emotion/core"),i=s(require("react"));function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,t.createShouldForwardProp)(r.default.propNames.concat(a.default.propNames)),c=function(t){return(0,e.css)(t.sx)(t.theme)},d=function(t){return(0,e.css)(t.__css)(t.theme)},f=function(t){var r=t.theme,a=t.variant,n=t.__themeKey;return void 0===n&&(n="variants"),(0,e.css)((0,e.get)(r,n+"."+a,(0,e.get)(r,a)))},u=(0,n.default)("div",{shouldForwardProp:l})({boxSizing:"border-box",margin:0,minWidth:0},d,f,r.default,a.default,c,function(e){return e.css});exports.Box=u;var p=(0,n.default)(u)({display:"flex"});function m(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.Flex=p;var h=function(e){return"number"==typeof e?e+"px":e},v=function(e){return Array.isArray(e)?e.map(v):!!e&&"repeat(auto-fit, minmax("+h(e)+", 1fr))"},g=function(e){return Array.isArray(e)?e.map(g):!!e&&("number"==typeof e?"repeat("+e+", 1fr)":e)},b=i.default.forwardRef(function(e,t){var r=e.width,a=e.columns,n=e.gap;void 0===n&&(n=3);var o=m(e,["width","columns","gap"]),s=r?v(r):g(a);return i.default.createElement(u,Object.assign({},{ref:t},o,{__themeKey:"grids",__css:{display:"grid",gridGap:n,gridTemplateColumns:s}}))});exports.Grid=b;var x=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,as:"button",variant:"primary"},e,{__themeKey:"buttons",__css:{appearance:"none",display:"inline-block",textAlign:"center",lineHeight:"inherit",textDecoration:"none",fontSize:"inherit",px:3,py:2,color:"white",bg:"primary",border:0,borderRadius:4}}))});exports.Button=x;var y=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,as:"a",variant:"styles.a"},e,{__themeKey:"links"}))});exports.Link=y;var w=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t},e,{__themeKey:"text"}))});exports.Text=w;var _=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,as:"h2",variant:"heading"},e,{__themeKey:"text",__css:{fontFamily:"heading",fontWeight:"heading",lineHeight:"heading"}}))});exports.Heading=_;var O=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,as:"img"},e,{__themeKey:"images",__css:Object.assign({},{maxWidth:"100%",height:"auto"},e.__css)}))});exports.Image=O;var E=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,variant:"primary"},e,{__themeKey:"cards"}))});exports.Card=E;var j=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,as:"label",variant:"label"},e,{__themeKey:"forms",__css:{width:"100%",display:"flex"}}))});exports.Label=j;var R=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,as:"input",variant:"input"},e,{__themeKey:"forms",__css:{display:"block",width:"100%",p:2,appearance:"none",fontSize:"inherit",lineHeight:"inherit",border:"1px solid",borderRadius:4,color:"inherit",bg:"transparent"}}))});function k(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.Input=R;var z=function(e){var t=e.size;void 0===t&&(t=24);var r=k(e,["size"]);return i.default.createElement(u,Object.assign({},{as:"svg",xmlns:"http://www.w3.org/2000/svg",width:t+"",height:t+"",viewBox:"0 0 24 24",fill:"currentcolor"},r))},S=function(e){return function(t){var r={};for(var a in t)e(a||"")&&(r[a]=t[a]);return r}},B=/^m[trblxy]?$/,K=S(function(e){return B.test(e)}),P=S(function(e){return!B.test(e)}),M=function(e){return i.default.createElement(z,e,i.default.createElement("path",{d:"M7 10l5 5 5-5z"}))},C=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},K(e),{sx:{display:"flex"}}),i.default.createElement(u,Object.assign({},{ref:t,as:"select",variant:"select"},P(e),{__themeKey:"forms",__css:{display:"block",width:"100%",p:2,appearance:"none",fontSize:"inherit",lineHeight:"inherit",border:"1px solid",borderRadius:4,color:"inherit",bg:"transparent"}})),i.default.createElement(M,{sx:{ml:-28,alignSelf:"center",pointerEvents:"none"}}))});exports.Select=C;var F=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,as:"textarea",variant:"textarea"},e,{__themeKey:"forms",__css:{display:"block",width:"100%",p:2,appearance:"none",fontSize:"inherit",lineHeight:"inherit",border:"1px solid",borderRadius:4,color:"inherit",bg:"transparent"}}))});function I(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.Textarea=F;var A=function(e){return i.default.createElement(z,e,i.default.createElement("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))},L=function(e){return i.default.createElement(z,e,i.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))},W=function(e){return i.default.createElement(i.default.Fragment,null,i.default.createElement(A,Object.assign({},e,{__css:{display:"none","input:checked ~ &":{display:"block"}}})),i.default.createElement(L,Object.assign({},e,{__css:{display:"block","input:checked ~ &":{display:"none"}}})))},H=i.default.forwardRef(function(e,t){var r=e.className,a=e.sx,n=e.variant;void 0===n&&(n="radio");var o=I(e,["className","sx","variant"]);return i.default.createElement(u,null,i.default.createElement(u,Object.assign({},{ref:t,as:"input",type:"radio"},o,{sx:{position:"absolute",opacity:0,zIndex:-1,width:1,height:1,overflow:"hidden"}})),i.default.createElement(u,{as:W,"aria-hidden":"true",__themeKey:"forms",variant:n,className:r,sx:a,__css:{mr:2,borderRadius:9999,color:"gray","input:checked ~ &":{color:"primary"},"input:focus ~ &":{bg:"highlight"}}}))});function D(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.Radio=H;var N=function(e){return i.default.createElement(z,e,i.default.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}))},q=function(e){return i.default.createElement(z,e,i.default.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}))},T=function(e){return i.default.createElement(i.default.Fragment,null,i.default.createElement(N,Object.assign({},e,{__css:{display:"none","input:checked ~ &":{display:"block"}}})),i.default.createElement(q,Object.assign({},e,{__css:{display:"block","input:checked ~ &":{display:"none"}}})))},V=i.default.forwardRef(function(e,t){var r=e.className,a=e.sx,n=e.variant;void 0===n&&(n="checkbox");var o=D(e,["className","sx","variant"]);return i.default.createElement(u,null,i.default.createElement(u,Object.assign({},{ref:t,as:"input",type:"checkbox"},o,{sx:{position:"absolute",opacity:0,zIndex:-1,width:1,height:1,overflow:"hidden"}})),i.default.createElement(u,{as:T,"aria-hidden":"true",__themeKey:"forms",variant:n,className:r,sx:a,__css:{mr:2,borderRadius:4,color:"gray","input:checked ~ &":{color:"primary"},"input:focus ~ &":{color:"primary",bg:"highlight"}}}))});exports.Checkbox=V;var G={appearance:"none",width:16,height:16,bg:"currentcolor",border:0,borderRadius:9999,variant:"forms.slider.thumb"},$=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,as:"input",type:"range",variant:"slider"},e,{__themeKey:"forms",__css:{display:"block",width:"100%",height:4,my:2,cursor:"pointer",appearance:"none",borderRadius:9999,color:"inherit",bg:"gray",":focus":{outline:"none",color:"primary"},"&::-webkit-slider-thumb":G,"&::-moz-range-thumb":G,"&::-ms-thumb":G}}))});function J(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.Slider=$;var Q=i.default.forwardRef(function(e,t){var r=e.as;void 0===r&&(r=R);var a=e.label,n=e.name,o=J(e,["as","label","name"]);return i.default.createElement(u,K(o),i.default.createElement(j,{htmlFor:n},a),i.default.createElement(r,Object.assign({},{ref:t,id:n,name:n},P(o))))});exports.Field=Q;var U=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,as:"progress",variant:"styles.progress"},e,{__css:{display:"block",width:"100%",height:"4px",margin:0,padding:0,overflow:"hidden",appearance:"none",color:"primary",bg:"gray",borderRadius:9999,border:"none","&::-webkit-progress-bar":{bg:"transparent"},"&::-webkit-progress-value":{bg:"currentcolor"},"&::-moz-progress-bar":{bg:"currentcolor"}}}))});function X(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.Progress=U;var Y=i.default.forwardRef(function(e,t){var r=e.size;void 0===r&&(r=128);var a=e.strokeWidth;void 0===a&&(a=2);var n=e.value;void 0===n&&(n=0);var o=e.min;void 0===o&&(o=0);var s=e.max;void 0===s&&(s=1);var l=e.title,c=X(e,["size","strokeWidth","value","min","max","title"]),d=16-a,f=2*d*Math.PI,p=f-(n-o)/(s-o)*f;return i.default.createElement(u,Object.assign({},{ref:t,as:"svg",viewBox:"0 0 32 32",width:r,height:r,strokeWidth:a,fill:"none",stroke:"currentcolor",role:"img","aria-valuenow":n,"aria-valuemin":o,"aria-valuemax":s},c,{__css:{color:"primary"}}),l&&i.default.createElement("title",null,l),i.default.createElement("circle",{cx:16,cy:16,r:d,opacity:1/8}),i.default.createElement("circle",{cx:16,cy:16,r:d,strokeDasharray:f,strokeDashoffset:p,transform:"rotate(-90 16 16)"}))});function Z(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.Donut=Y;var ee=(0,o.keyframes)({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),te=i.default.forwardRef(function(e,t){var r=e.size;void 0===r&&(r=48);var a=e.strokeWidth;void 0===a&&(a=4);var n=e.title;void 0===n&&(n="Loading...");var o=e.duration;void 0===o&&(o=500);var s=Z(e,["size","strokeWidth","max","title","duration"]),l=16-a,c=2*l*Math.PI,d=c-.25*c;return i.default.createElement(u,Object.assign({},{ref:t,as:"svg",viewBox:"0 0 32 32",width:r,height:r,strokeWidth:a,fill:"none",stroke:"currentcolor",role:"img"},s,{__css:{color:"primary",overflow:"visible"}}),i.default.createElement("title",null,n),i.default.createElement("circle",{cx:16,cy:16,r:l,opacity:1/8}),i.default.createElement(u,{as:"circle",cx:16,cy:16,r:l,strokeDasharray:c,strokeDashoffset:d,__css:{transformOrigin:"50% 50%",animationName:ee.toString(),animationTimingFunction:"linear",animationDuration:o+"ms",animationIterationCount:"infinite"}}))});function re(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.Spinner=te;var ae=i.default.forwardRef(function(e,t){var r=e.size;void 0===r&&(r=48);var a=re(e,["size"]);return i.default.createElement(O,Object.assign({},{ref:t,width:r,height:r,variant:"avatar"},a,{__css:{borderRadius:9999}}))});exports.Avatar=ae;var ne=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t},e,{__themeKey:"badges",__css:{display:"inline-block",verticalAlign:"baseline",fontSize:0,fontWeight:"bold",whiteSpace:"nowrap",px:1,borderRadius:2,color:"white",bg:"primary"}}))});function oe(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.Badge=ne;var ie=i.default.forwardRef(function(e,t){var r=e.size;void 0===r&&(r=32);var a=oe(e,["size"]);return i.default.createElement(u,Object.assign({},{ref:t,as:"button",variant:"icon"},a,{__themeKey:"buttons",__css:{appearance:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",padding:1,width:r,height:r,color:"inherit",bg:"transparent",border:"none",borderRadius:4}}))});function se(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.IconButton=ie;var le=i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentcolor",viewBox:"0 0 24 24"},i.default.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),ce=i.default.forwardRef(function(e,t){var r=se(e,["size"]);return i.default.createElement(ie,Object.assign({},{ref:t,title:"Close","aria-label":"Close",variant:"close"},r,{children:le}))});exports.Close=ce;var de=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t},e,{__themeKey:"alerts",__css:{display:"flex",alignItems:"center",px:3,py:2,fontWeight:"bold",color:"white",bg:"primary",borderRadius:4}}))});exports.Alert=de;var fe=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,as:"hr",variant:"styles.hr"},e,{__css:{color:"gray",m:0,my:2,border:0,borderBottom:"1px solid"}}))});function ue(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.Divider=fe;var pe=i.default.forwardRef(function(e,t){var r=e.ratio;void 0===r&&(r=16/9);var a=e.src,n=e.frameBorder;void 0===n&&(n=0);var o=e.allowFullScreen;void 0===o&&(o=!0);var s=e.width;void 0===s&&(s=560);var l=e.height;void 0===l&&(l=315);var c=e.allow,d=ue(e,["ratio","src","frameBorder","allowFullScreen","width","height","allow"]);return i.default.createElement(u,Object.assign({},d,{__css:{width:"100%",height:0,paddingBottom:100/r+"%",position:"relative",overflow:"hidden"}}),i.default.createElement(u,{ref:t,as:"iframe",src:a,width:s,height:l,frameBorder:n,allowFullScreen:o,allow:c,__css:{position:"absolute",width:"100%",height:"100%",top:0,bottom:0,left:0,border:0}}))});function me(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.Embed=pe;var he=i.default.forwardRef(function(e,t){var r=e.ratio;void 0===r&&(r=4/3);var a=e.children,n=me(e,["ratio","children"]);return i.default.createElement(u,{ref:t,sx:{position:"relative",overflow:"hidden"}},i.default.createElement(u,{sx:{width:"100%",height:0,paddingBottom:100/r+"%"}}),i.default.createElement(u,Object.assign({},n,{__css:{position:"absolute",top:0,right:0,bottom:0,left:0}}),a))});function ve(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(r[a]=e[a]);return r}exports.AspectRatio=he;var ge=i.default.forwardRef(function(e,t){var r=e.ratio,a=ve(e,["ratio"]);return i.default.createElement(he,{ratio:r},i.default.createElement(O,Object.assign({},{ref:t},a,{__css:{objectFit:"cover"}})))});exports.AspectImage=ge;var be=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t,variant:"container"},e,{__themeKey:"layout",__css:{width:"100%",maxWidth:"container",mx:"auto"}}))});exports.Container=be;var xe=i.default.forwardRef(function(e,t){return i.default.createElement(y,Object.assign({},{ref:t,variant:"nav"},e,{__css:{color:"inherit",textDecoration:"none",fontWeight:"bold",display:"inline-block","&:hover, &:focus, &.active":{color:"primary"}}}))});exports.NavLink=xe;var ye=i.default.forwardRef(function(e,t){return i.default.createElement(u,Object.assign({},{ref:t},e,{__themeKey:"messages",__css:{padding:3,paddingLeft:function(e){return e.space[3]-e.space[1]},borderLeftWidth:function(e){return e.space[1]},borderLeftStyle:"solid",borderLeftColor:"primary",borderRadius:4,bg:"highlight"}}))});exports.Message=ye;var we=function(e){var t=e.size;return void 0===t&&(t=24),i.default.createElement(u,{as:"svg",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:"currentcolor",viewBox:"0 0 24 24",sx:{display:"block",margin:0}},i.default.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}))},_e=i.default.forwardRef(function(e,t){return i.default.createElement(ie,Object.assign({},{ref:t,title:"Menu","aria-label":"Toggle Menu",variant:"menu"},e),i.default.createElement(we,null))});exports.MenuButton=_e;
},{"@theme-ui/css":"kRZb","@styled-system/should-forward-prop":"uhx0","@styled-system/space":"qnyt","@styled-system/color":"QwyS","@emotion/styled":"oyuF","@emotion/core":"haMh","react":"n8MK"}],"JPUq":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e={BaseStyles:!0,jsx:!0,Context:!0,merge:!0,useThemeUI:!0,useColorMode:!0,InitializeColorMode:!0,Styled:!0,components:!0,ThemeProvider:!0,css:!0,get:!0};Object.defineProperty(exports,"jsx",{enumerable:!0,get:function(){return t.jsx}}),Object.defineProperty(exports,"Context",{enumerable:!0,get:function(){return t.Context}}),Object.defineProperty(exports,"merge",{enumerable:!0,get:function(){return t.merge}}),Object.defineProperty(exports,"useThemeUI",{enumerable:!0,get:function(){return t.useThemeUI}}),Object.defineProperty(exports,"useColorMode",{enumerable:!0,get:function(){return r.useColorMode}}),Object.defineProperty(exports,"InitializeColorMode",{enumerable:!0,get:function(){return r.InitializeColorMode}}),Object.defineProperty(exports,"Styled",{enumerable:!0,get:function(){return n.Styled}}),Object.defineProperty(exports,"components",{enumerable:!0,get:function(){return n.components}}),Object.defineProperty(exports,"ThemeProvider",{enumerable:!0,get:function(){return o.ThemeProvider}}),Object.defineProperty(exports,"css",{enumerable:!0,get:function(){return u.css}}),Object.defineProperty(exports,"get",{enumerable:!0,get:function(){return u.get}}),exports.BaseStyles=void 0;var t=require("@theme-ui/core"),r=require("@theme-ui/color-modes"),n=require("@theme-ui/mdx"),o=require("@theme-ui/theme-provider"),i=require("@theme-ui/components");Object.keys(i).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(exports,t,{enumerable:!0,get:function(){return i[t]}}))});var u=require("@theme-ui/css");function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(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 p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var l=function(e){return(0,t.jsx)("div",p({},e,{sx:{fontFamily:"body",lineHeight:"body",fontWeight:"body",variant:"styles"}}))};exports.BaseStyles=l;
},{"@theme-ui/core":"PzTO","@theme-ui/color-modes":"hEk9","@theme-ui/mdx":"NYnV","@theme-ui/theme-provider":"zWs7","@theme-ui/components":"Pqke","@theme-ui/css":"kRZb"}],"XFqm":[function(require,module,exports) {
var define;
var e;!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof e&&e.amd?e([],n):"object"==typeof exports?exports.Phoenix=n():t.Phoenix=n()}(this,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){(function(t){e.exports=t.Phoenix=n(2)}).call(this,n(1))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||s(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 o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,o=!1,r=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==a.return||a.return()}finally{if(o)throw r}}return n}}(e,t)||s(e,t)||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.")}()}function s(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function h(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}n.r(t),n.d(t,"Channel",function(){return O}),n.d(t,"Serializer",function(){return P}),n.d(t,"Socket",function(){return L}),n.d(t,"LongPoll",function(){return _}),n.d(t,"Ajax",function(){return A}),n.d(t,"Presence",function(){return M});var l="undefined"!=typeof self?self:null,f="undefined"!=typeof window?window:null,d=l||f||void 0,p=0,v="closed",y="errored",m="joined",g="joining",k="leaving",b="phx_close",j="phx_error",C="phx_join",R="phx_reply",S="phx_leave",T=[b,j,C,R,S],w="websocket",E=function(e){return"function"==typeof e?e:function(){return e}},x=function(){function e(t,n,i,o){c(this,e),this.channel=t,this.event=n,this.payload=i||function(){return{}},this.receivedResp=null,this.timeout=o,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}return h(e,[{key:"resend",value:function(e){this.timeout=e,this.reset(),this.send()}},{key:"send",value:function(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}},{key:"receive",value:function(e,t){return this.hasReceived(e)&&t(this.receivedResp.response),this.recHooks.push({status:e,callback:t}),this}},{key:"reset",value:function(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}},{key:"matchReceive",value:function(e){var t=e.status,n=e.response;e.ref,this.recHooks.filter(function(e){return e.status===t}).forEach(function(e){return e.callback(n)})}},{key:"cancelRefEvent",value:function(){this.refEvent&&this.channel.off(this.refEvent)}},{key:"cancelTimeout",value:function(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}},{key:"startTimeout",value:function(){var e=this;this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,function(t){e.cancelRefEvent(),e.cancelTimeout(),e.receivedResp=t,e.matchReceive(t)}),this.timeoutTimer=setTimeout(function(){e.trigger("timeout",{})},this.timeout)}},{key:"hasReceived",value:function(e){return this.receivedResp&&this.receivedResp.status===e}},{key:"trigger",value:function(e,t){this.channel.trigger(this.refEvent,{status:e,response:t})}}]),e}(),O=function(){function e(t,n,i){var o=this;c(this,e),this.state=v,this.topic=t,this.params=E(n||{}),this.socket=i,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new x(this,C,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new J(function(){o.socket.isConnected()&&o.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(function(){return o.rejoinTimer.reset()})),this.stateChangeRefs.push(this.socket.onOpen(function(){o.rejoinTimer.reset(),o.isErrored()&&o.rejoin()})),this.joinPush.receive("ok",function(){o.state=m,o.rejoinTimer.reset(),o.pushBuffer.forEach(function(e){return e.send()}),o.pushBuffer=[]}),this.joinPush.receive("error",function(){o.state=y,o.socket.isConnected()&&o.rejoinTimer.scheduleTimeout()}),this.onClose(function(){o.rejoinTimer.reset(),o.socket.hasLogger()&&o.socket.log("channel","close ".concat(o.topic," ").concat(o.joinRef())),o.state=v,o.socket.remove(o)}),this.onError(function(e){o.socket.hasLogger()&&o.socket.log("channel","error ".concat(o.topic),e),o.isJoining()&&o.joinPush.reset(),o.state=y,o.socket.isConnected()&&o.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",function(){o.socket.hasLogger()&&o.socket.log("channel","timeout ".concat(o.topic," (").concat(o.joinRef(),")"),o.joinPush.timeout),new x(o,S,E({}),o.timeout).send(),o.state=y,o.joinPush.reset(),o.socket.isConnected()&&o.rejoinTimer.scheduleTimeout()}),this.on(R,function(e,t){o.trigger(o.replyEventName(t),e)})}return h(e,[{key:"join",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.timeout;if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=e,this.joinedOnce=!0,this.rejoin(),this.joinPush}},{key:"onClose",value:function(e){this.on(b,e)}},{key:"onError",value:function(e){return this.on(j,function(t){return e(t)})}},{key:"on",value:function(e,t){var n=this.bindingRef++;return this.bindings.push({event:e,ref:n,callback:t}),n}},{key:"off",value:function(e,t){this.bindings=this.bindings.filter(function(n){return!(n.event===e&&(void 0===t||t===n.ref))})}},{key:"canPush",value:function(){return this.socket.isConnected()&&this.isJoined()}},{key:"push",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.timeout;if(!this.joinedOnce)throw new Error("tried to push '".concat(e,"' to '").concat(this.topic,"' before joining. Use channel.join() before pushing events"));var i=new x(this,e,function(){return t},n);return this.canPush()?i.send():(i.startTimeout(),this.pushBuffer.push(i)),i}},{key:"leave",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.timeout;this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=k;var n=function(){e.socket.hasLogger()&&e.socket.log("channel","leave ".concat(e.topic)),e.trigger(b,"leave")},i=new x(this,S,E({}),t);return i.receive("ok",function(){return n()}).receive("timeout",function(){return n()}),i.send(),this.canPush()||i.trigger("ok",{}),i}},{key:"onMessage",value:function(e,t,n){return t}},{key:"isLifecycleEvent",value:function(e){return T.indexOf(e)>=0}},{key:"isMember",value:function(e,t,n,i){return!(this.topic!==e||i&&i!==this.joinRef()&&this.isLifecycleEvent(t)&&(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:e,event:t,payload:n,joinRef:i}),1))}},{key:"joinRef",value:function(){return this.joinPush.ref}},{key:"rejoin",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.timeout;this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=g,this.joinPush.resend(e))}},{key:"trigger",value:function(e,t,n,i){var o=this.onMessage(e,t,n,i);if(t&&!o)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");for(var r=this.bindings.filter(function(t){return t.event===e}),s=0;s<r.length;s++)r[s].callback(o,n,i||this.joinRef())}},{key:"replyEventName",value:function(e){return"chan_reply_".concat(e)}},{key:"isClosed",value:function(){return this.state===v}},{key:"isErrored",value:function(){return this.state===y}},{key:"isJoined",value:function(){return this.state===m}},{key:"isJoining",value:function(){return this.state===g}},{key:"isLeaving",value:function(){return this.state===k}}]),e}(),P={encode:function(e,t){var n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))},decode:function(e,t){var n=r(JSON.parse(e),5);return t({join_ref:n[0],ref:n[1],topic:n[2],event:n[3],payload:n[4]})}},L=function(){function e(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(this,e),this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=i.timeout||1e4,this.transport=i.transport||d.WebSocket||_,this.defaultEncoder=P.encode,this.defaultDecoder=P.decode,this.closeWasClean=!1,this.unloaded=!1,this.binaryType=i.binaryType||"arraybuffer",this.transport!==_?(this.encode=i.encode||this.defaultEncoder,this.decode=i.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder),f&&f.addEventListener&&f.addEventListener("unload",function(e){n.conn&&(n.unloaded=!0,n.abnormalClose("unloaded"))}),this.heartbeatIntervalMs=i.heartbeatIntervalMs||3e4,this.rejoinAfterMs=function(e){return i.rejoinAfterMs?i.rejoinAfterMs(e):[1e3,2e3,5e3][e-1]||1e4},this.reconnectAfterMs=function(e){return n.unloaded?100:i.reconnectAfterMs?i.reconnectAfterMs(e):[10,50,100,150,200,250,500,1e3,2e3][e-1]||5e3},this.logger=i.logger||null,this.longpollerTimeout=i.longpollerTimeout||2e4,this.params=E(i.params||{}),this.endPoint="".concat(t,"/").concat(w),this.vsn=i.vsn||"2.0.0",this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new J(function(){n.teardown(function(){return n.connect()})},this.reconnectAfterMs)}return h(e,[{key:"protocol",value:function(){return location.protocol.match(/^https/)?"wss":"ws"}},{key:"endPointURL",value:function(){var e=A.appendParams(A.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return"/"!==e.charAt(0)?e:"/"===e.charAt(1)?"".concat(this.protocol(),":").concat(e):"".concat(this.protocol(),"://").concat(location.host).concat(e)}},{key:"disconnect",value:function(e,t,n){this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(e,t,n)}},{key:"connect",value:function(e){var t=this;e&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=E(e)),this.conn||(this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=function(){return t.onConnOpen()},this.conn.onerror=function(e){return t.onConnError(e)},this.conn.onmessage=function(e){return t.onConnMessage(e)},this.conn.onclose=function(e){return t.onConnClose(e)})}},{key:"log",value:function(e,t,n){this.logger(e,t,n)}},{key:"hasLogger",value:function(){return null!==this.logger}},{key:"onOpen",value:function(e){var t=this.makeRef();return this.stateChangeCallbacks.open.push([t,e]),t}},{key:"onClose",value:function(e){var t=this.makeRef();return this.stateChangeCallbacks.close.push([t,e]),t}},{key:"onError",value:function(e){var t=this.makeRef();return this.stateChangeCallbacks.error.push([t,e]),t}},{key:"onMessage",value:function(e){var t=this.makeRef();return this.stateChangeCallbacks.message.push([t,e]),t}},{key:"onConnOpen",value:function(){this.hasLogger()&&this.log("transport","connected to ".concat(this.endPointURL())),this.unloaded=!1,this.closeWasClean=!1,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(function(e){return(0,r(e,2)[1])()})}},{key:"resetHeartbeat",value:function(){var e=this;this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(function(){return e.sendHeartbeat()},this.heartbeatIntervalMs))}},{key:"teardown",value:function(e,t,n){var i=this;if(!this.conn)return e&&e();this.waitForBufferDone(function(){i.conn&&(t?i.conn.close(t,n||""):i.conn.close()),i.waitForSocketClosed(function(){i.conn&&(i.conn.onclose=function(){},i.conn=null),e&&e()})})}},{key:"waitForBufferDone",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;5!==n&&this.conn&&this.conn.bufferedAmount?setTimeout(function(){t.waitForBufferDone(e,n+1)},150*n):e()}},{key:"waitForSocketClosed",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;5!==n&&this.conn&&3!==this.conn.readyState?setTimeout(function(){t.waitForSocketClosed(e,n+1)},150*n):e()}},{key:"onConnClose",value:function(e){this.hasLogger()&&this.log("transport","close",e),this.triggerChanError(),clearInterval(this.heartbeatTimer),this.closeWasClean||this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(function(t){return(0,r(t,2)[1])(e)})}},{key:"onConnError",value:function(e){this.hasLogger()&&this.log("transport",e),this.triggerChanError(),this.stateChangeCallbacks.error.forEach(function(t){return(0,r(t,2)[1])(e)})}},{key:"triggerChanError",value:function(){this.channels.forEach(function(e){e.isErrored()||e.isLeaving()||e.isClosed()||e.trigger(j)})}},{key:"connectionState",value:function(){switch(this.conn&&this.conn.readyState){case p:return"connecting";case 1:return"open";case 2:return"closing";default:return"closed"}}},{key:"isConnected",value:function(){return"open"===this.connectionState()}},{key:"remove",value:function(e){this.off(e.stateChangeRefs),this.channels=this.channels.filter(function(t){return t.joinRef()!==e.joinRef()})}},{key:"off",value:function(e){for(var t in this.stateChangeCallbacks)this.stateChangeCallbacks[t]=this.stateChangeCallbacks[t].filter(function(t){var n=r(t,1)[0];return-1===e.indexOf(n)})}},{key:"channel",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new O(e,t,this);return this.channels.push(n),n}},{key:"push",value:function(e){var t=this;if(this.hasLogger()){var n=e.topic,i=e.event,o=e.payload,r=e.ref,s=e.join_ref;this.log("push","".concat(n," ").concat(i," (").concat(s,", ").concat(r,")"),o)}this.isConnected()?this.encode(e,function(e){return t.conn.send(e)}):this.sendBuffer.push(function(){return t.encode(e,function(e){return t.conn.send(e)})})}},{key:"makeRef",value:function(){var e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}},{key:"sendHeartbeat",value:function(){if(this.isConnected()){if(this.pendingHeartbeatRef)return this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),void this.abnormalClose("heartbeat timeout");this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef})}}},{key:"abnormalClose",value:function(e){this.closeWasClean=!1,this.conn.close(1e3,e)}},{key:"flushSendBuffer",value:function(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(function(e){return e()}),this.sendBuffer=[])}},{key:"onConnMessage",value:function(e){var t=this;this.decode(e.data,function(e){var n=e.topic,i=e.event,o=e.payload,s=e.ref,a=e.join_ref;s&&s===t.pendingHeartbeatRef&&(t.pendingHeartbeatRef=null),t.hasLogger()&&t.log("receive","".concat(o.status||""," ").concat(n," ").concat(i," ").concat(s&&"("+s+")"||""),o);for(var c=0;c<t.channels.length;c++){var u=t.channels[c];u.isMember(n,i,o,a)&&u.trigger(i,o,s,a)}for(var h=0;h<t.stateChangeCallbacks.message.length;h++)(0,r(t.stateChangeCallbacks.message[h],2)[1])(e)})}},{key:"leaveOpenTopic",value:function(e){var t=this.channels.find(function(t){return t.topic===e&&(t.isJoined()||t.isJoining())});t&&(this.hasLogger()&&this.log("transport",'leaving duplicate topic "'.concat(e,'"')),t.leave())}}]),e}(),_=function(){function e(t){c(this,e),this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(t),this.readyState=p,this.poll()}return h(e,[{key:"normalizeEndpoint",value:function(e){return e.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+w),"$1/longpoll")}},{key:"endpointURL",value:function(){return A.appendParams(this.pollEndpoint,{token:this.token})}},{key:"closeAndRetry",value:function(){this.close(),this.readyState=p}},{key:"ontimeout",value:function(){this.onerror("timeout"),this.closeAndRetry()}},{key:"poll",value:function(){var e=this;1!==this.readyState&&this.readyState!==p||A.request("GET",this.endpointURL(),"application/json",null,this.timeout,this.ontimeout.bind(this),function(t){if(t){var n=t.status,i=t.token,o=t.messages;e.token=i}else n=0;switch(n){case 200:o.forEach(function(t){return e.onmessage({data:t})}),e.poll();break;case 204:e.poll();break;case 410:e.readyState=1,e.onopen(),e.poll();break;case 403:e.onerror(),e.close();break;case 0:case 500:e.onerror(),e.closeAndRetry();break;default:throw new Error("unhandled poll status ".concat(n))}})}},{key:"send",value:function(e){var t=this;A.request("POST",this.endpointURL(),"application/json",e,this.timeout,this.onerror.bind(this,"timeout"),function(e){e&&200===e.status||(t.onerror(e&&e.status),t.closeAndRetry())})}},{key:"close",value:function(e,t){this.readyState=3,this.onclose()}}]),e}(),A=function(){function e(){c(this,e)}return h(e,null,[{key:"request",value:function(e,t,n,i,o,r,s){if(d.XDomainRequest){var a=new XDomainRequest;this.xdomainRequest(a,e,t,i,o,r,s)}else{var c=new d.XMLHttpRequest;this.xhrRequest(c,e,t,n,i,o,r,s)}}},{key:"xdomainRequest",value:function(e,t,n,i,o,r,s){var a=this;e.timeout=o,e.open(t,n),e.onload=function(){var t=a.parseJSON(e.responseText);s&&s(t)},r&&(e.ontimeout=r),e.onprogress=function(){},e.send(i)}},{key:"xhrRequest",value:function(e,t,n,i,o,r,s,a){var c=this;e.open(t,n,!0),e.timeout=r,e.setRequestHeader("Content-Type",i),e.onerror=function(){a&&a(null)},e.onreadystatechange=function(){if(e.readyState===c.states.complete&&a){var t=c.parseJSON(e.responseText);a(t)}},s&&(e.ontimeout=s),e.send(o)}},{key:"parseJSON",value:function(e){if(!e||""===e)return null;try{return JSON.parse(e)}catch(t){return console&&console.log("failed to parse JSON response",e),null}}},{key:"serialize",value:function(e,t){var n=[];for(var i in e)if(e.hasOwnProperty(i)){var r=t?"".concat(t,"[").concat(i,"]"):i,s=e[i];"object"===o(s)?n.push(this.serialize(s,r)):n.push(encodeURIComponent(r)+"="+encodeURIComponent(s))}return n.join("&")}},{key:"appendParams",value:function(e,t){if(0===Object.keys(t).length)return e;var n=e.match(/\?/)?"&":"?";return"".concat(e).concat(n).concat(this.serialize(t))}}]),e}();A.states={complete:4};var M=function(){function e(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(this,e);var o=i.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=t,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(o.state,function(t){var i=n.caller,o=i.onJoin,r=i.onLeave,s=i.onSync;n.joinRef=n.channel.joinRef(),n.state=e.syncState(n.state,t,o,r),n.pendingDiffs.forEach(function(t){n.state=e.syncDiff(n.state,t,o,r)}),n.pendingDiffs=[],s()}),this.channel.on(o.diff,function(t){var i=n.caller,o=i.onJoin,r=i.onLeave,s=i.onSync;n.inPendingSyncState()?n.pendingDiffs.push(t):(n.state=e.syncDiff(n.state,t,o,r),s())})}return h(e,[{key:"onJoin",value:function(e){this.caller.onJoin=e}},{key:"onLeave",value:function(e){this.caller.onLeave=e}},{key:"onSync",value:function(e){this.caller.onSync=e}},{key:"list",value:function(t){return e.list(this.state,t)}},{key:"inPendingSyncState",value:function(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}}],[{key:"syncState",value:function(e,t,n,i){var o=this,r=this.clone(e),s={},a={};return this.map(r,function(e,n){t[e]||(a[e]=n)}),this.map(t,function(e,t){var n=r[e];if(n){var i=t.metas.map(function(e){return e.phx_ref}),c=n.metas.map(function(e){return e.phx_ref}),u=t.metas.filter(function(e){return c.indexOf(e.phx_ref)<0}),h=n.metas.filter(function(e){return i.indexOf(e.phx_ref)<0});u.length>0&&(s[e]=t,s[e].metas=u),h.length>0&&(a[e]=o.clone(n),a[e].metas=h)}else s[e]=t}),this.syncDiff(r,{joins:s,leaves:a},n,i)}},{key:"syncDiff",value:function(e,t,n,o){var r=t.joins,s=t.leaves,a=this.clone(e);return n||(n=function(){}),o||(o=function(){}),this.map(r,function(e,t){var o=a[e];if(a[e]=t,o){var r,s=a[e].metas.map(function(e){return e.phx_ref}),c=o.metas.filter(function(e){return s.indexOf(e.phx_ref)<0});(r=a[e].metas).unshift.apply(r,i(c))}n(e,o,t)}),this.map(s,function(e,t){var n=a[e];if(n){var i=t.metas.map(function(e){return e.phx_ref});n.metas=n.metas.filter(function(e){return i.indexOf(e.phx_ref)<0}),o(e,n,t),0===n.metas.length&&delete a[e]}}),a}},{key:"list",value:function(e,t){return t||(t=function(e,t){return t}),this.map(e,function(e,n){return t(e,n)})}},{key:"map",value:function(e,t){return Object.getOwnPropertyNames(e).map(function(n){return t(n,e[n])})}},{key:"clone",value:function(e){return JSON.parse(JSON.stringify(e))}}]),e}(),J=function(){function e(t,n){c(this,e),this.callback=t,this.timerCalc=n,this.timer=null,this.tries=0}return h(e,[{key:"reset",value:function(){this.tries=0,clearTimeout(this.timer)}},{key:"scheduleTimeout",value:function(){var e=this;clearTimeout(this.timer),this.timer=setTimeout(function(){e.tries=e.tries+1,e.callback()},this.timerCalc(this.tries+1))}}]),e}()}])});
},{}],"dZYI":[function(require,module,exports) {
var define;
var t;!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof t&&t.amd?t(e):n.dayjs=e()}(this,function(){"use strict";var t="millisecond",n="second",e="minute",r="hour",i="day",s="week",u="month",a="quarter",o="year",h=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,f=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=function(t,n,e){var r=String(t);return!r||r.length>=n?t:""+Array(n+1-r.length).join(e)+t},d={s:c,z:function(t){var n=-t.utcOffset(),e=Math.abs(n),r=Math.floor(e/60),i=e%60;return(n<=0?"+":"-")+c(r,2,"0")+":"+c(i,2,"0")},m:function(t,n){var e=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(e,u),i=n-r<0,s=t.clone().add(e+(i?-1:1),u);return Number(-(e+(n-r)/(i?r-s:s-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(h){return{M:u,y:o,w:s,d:i,D:"date",h:r,m:e,s:n,ms:t,Q:a}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},l="en",m={};m[l]=$;var y=function(t){return t instanceof v},M=function(t,n,e){var r;if(!t)return l;if("string"==typeof t)m[t]&&(r=t),n&&(m[t]=n,r=t);else{var i=t.name;m[i]=t,r=i}return!e&&r&&(l=r),r||!e&&l},g=function(t,n){if(y(t))return t.clone();var e="object"==typeof n?n:{};return e.date=t,e.args=arguments,new v(e)},D=d;D.l=M,D.i=y,D.w=function(t,n){return g(t,{locale:n.$L,utc:n.$u,$offset:n.$offset})};var v=function(){function c(t){this.$L=this.$L||M(t.locale,null,!0),this.parse(t)}var d=c.prototype;return d.parse=function(t){this.$d=function(t){var n=t.date,e=t.utc;if(null===n)return new Date(NaN);if(D.u(n))return new Date;if(n instanceof Date)return new Date(n);if("string"==typeof n&&!/Z$/i.test(n)){var r=n.match(h);if(r)return e?new Date(Date.UTC(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)):new Date(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)}return new Date(n)}(t),this.init()},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return D},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.isSame=function(t,n){var e=g(t);return this.startOf(n)<=e&&e<=this.endOf(n)},d.isAfter=function(t,n){return g(t)<this.startOf(n)},d.isBefore=function(t,n){return this.endOf(n)<g(t)},d.$g=function(t,n,e){return D.u(t)?this[n]:this.set(e,t)},d.year=function(t){return this.$g(t,"$y",o)},d.month=function(t){return this.$g(t,"$M",u)},d.day=function(t){return this.$g(t,"$W",i)},d.date=function(t){return this.$g(t,"$D","date")},d.hour=function(t){return this.$g(t,"$H",r)},d.minute=function(t){return this.$g(t,"$m",e)},d.second=function(t){return this.$g(t,"$s",n)},d.millisecond=function(n){return this.$g(n,"$ms",t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,a){var h=this,f=!!D.u(a)||a,c=D.p(t),d=function(t,n){var e=D.w(h.$u?Date.UTC(h.$y,n,t):new Date(h.$y,n,t),h);return f?e:e.endOf(i)},$=function(t,n){return D.w(h.toDate()[t].apply(h.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(n)),h)},l=this.$W,m=this.$M,y=this.$D,M="set"+(this.$u?"UTC":"");switch(c){case o:return f?d(1,0):d(31,11);case u:return f?d(1,m):d(0,m+1);case s:var g=this.$locale().weekStart||0,v=(l<g?l+7:l)-g;return d(f?y-v:y+(6-v),m);case i:case"date":return $(M+"Hours",0);case r:return $(M+"Minutes",1);case e:return $(M+"Seconds",2);case n:return $(M+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(s,a){var h,f=D.p(s),c="set"+(this.$u?"UTC":""),d=(h={},h[i]=c+"Date",h.date=c+"Date",h[u]=c+"Month",h[o]=c+"FullYear",h[r]=c+"Hours",h[e]=c+"Minutes",h[n]=c+"Seconds",h[t]=c+"Milliseconds",h)[f],$=f===i?this.$D+(a-this.$W):a;if(f===u||f===o){var l=this.clone().set("date",1);l.$d[d]($),l.init(),this.$d=l.set("date",Math.min(this.$D,l.daysInMonth())).toDate()}else d&&this.$d[d]($);return this.init(),this},d.set=function(t,n){return this.clone().$set(t,n)},d.get=function(t){return this[D.p(t)]()},d.add=function(t,a){var h,f=this;t=Number(t);var c=D.p(a),d=function(n){var e=g(f);return D.w(e.date(e.date()+Math.round(n*t)),f)};if(c===u)return this.set(u,this.$M+t);if(c===o)return this.set(o,this.$y+t);if(c===i)return d(1);if(c===s)return d(7);var $=(h={},h[e]=6e4,h[r]=36e5,h[n]=1e3,h)[c]||1,l=this.$d.getTime()+t*$;return D.w(l,this)},d.subtract=function(t,n){return this.add(-1*t,n)},d.format=function(t){var n=this;if(!this.isValid())return"Invalid Date";var e=t||"YYYY-MM-DDTHH:mm:ssZ",r=D.z(this),i=this.$locale(),s=this.$H,u=this.$m,a=this.$M,o=i.weekdays,h=i.months,c=function(t,r,i,s){return t&&(t[r]||t(n,e))||i[r].substr(0,s)},d=function(t){return D.s(s%12||12,t,"0")},$=i.meridiem||function(t,n,e){var r=t<12?"AM":"PM";return e?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:D.s(a+1,2,"0"),MMM:c(i.monthsShort,a,h,3),MMMM:c(h,a),D:this.$D,DD:D.s(this.$D,2,"0"),d:String(this.$W),dd:c(i.weekdaysMin,this.$W,o,2),ddd:c(i.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:D.s(s,2,"0"),h:d(1),hh:d(2),a:$(s,u,!0),A:$(s,u,!1),m:String(u),mm:D.s(u,2,"0"),s:String(this.$s),ss:D.s(this.$s,2,"0"),SSS:D.s(this.$ms,3,"0"),Z:r};return e.replace(f,function(t,n){return n||l[t]||r.replace(":","")})},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(t,h,f){var c,d=D.p(h),$=g(t),l=6e4*($.utcOffset()-this.utcOffset()),m=this-$,y=D.m(this,$);return y=(c={},c[o]=y/12,c[u]=y,c[a]=y/3,c[s]=(m-l)/6048e5,c[i]=(m-l)/864e5,c[r]=m/36e5,c[e]=m/6e4,c[n]=m/1e3,c)[d]||m,f?y:D.a(y)},d.daysInMonth=function(){return this.endOf(u).$D},d.$locale=function(){return m[this.$L]},d.locale=function(t,n){if(!t)return this.$L;var e=this.clone(),r=M(t,n,!0);return r&&(e.$L=r),e},d.clone=function(){return D.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},c}();return g.prototype=v.prototype,g.extend=function(t,n){return t(n,v,g),g},g.locale=M,g.isDayjs=y,g.unix=function(t){return g(1e3*t)},g.en=m[l],g.Ls=m,g});
},{}],"iObw":[function(require,module,exports) {
var define;
var t;!function(i,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof t&&t.amd?t(s):i.dayjs_plugin_utc=s()}(this,function(){"use strict";return function(t,i,s){var e=(new Date).getTimezoneOffset(),n=i.prototype;s.utc=function(t){return new i({date:t,utc:!0,args:arguments})},n.utc=function(){return s(this.toDate(),{locale:this.$L,utc:!0})},n.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var u=n.parse;n.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),u.call(this,t)};var o=n.init;n.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else o.call(this)};var r=n.utcOffset;n.utcOffset=function(t){var i=this.$utils().u;if(i(t))return this.$u?0:i(this.$offset)?r.call(this):this.$offset;var s,n=Math.abs(t)<=16?60*t:t;return 0!==t?(s=this.local().add(n+e,"minute")).$offset=n:s=this.utc(),s};var f=n.format;n.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,i)},n.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+e;return this.$d.valueOf()-6e4*t},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var a=n.toDate;n.toDate=function(t){return"s"===t&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():a.call(this)}}});
},{}],"Epr2":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=l(require("react")),t=require("theme-ui"),a=l(require("dayjs")),r=l(require("dayjs/plugin/utc"));function l(e){return e&&e.__esModule?e:{default:e}}a.default.extend(r.default);var u=function(e){var t=(0,a.default)().diff(e,"second"),r=Math.floor(t/60),l=Math.floor(r/60),u=Math.floor(l/24);return t<10?"just now":t<60?t+" seconds ago":r<=60?r+" minute"+(1===r?"":"s")+" ago":l<=24?l+" hour"+(1===l?"":"s")+" ago":u+" day"+(1===u?"":"s")+" ago"},o=function(r){var l=r.message,o=r.isMe,n=r.isLastInGroup,s=r.shouldDisplayTimestamp,d=l.body,f=l.created_at,x=a.default.utc(f),c=u(x);return o?e.default.createElement(t.Box,{pr:0,pl:4,pb:n?3:2},e.default.createElement(t.Flex,{sx:{justifyContent:"flex-end"}},e.default.createElement(t.Box,{px:"14px",py:2,sx:{color:"background",bg:"primary",borderRadius:4}},e.default.createElement(t.Text,null,d))),s&&e.default.createElement(t.Flex,{m:1,sx:{justifyContent:"flex-end"}},e.default.createElement(t.Text,{sx:{color:"gray"}},"Sent ",c))):e.default.createElement(t.Box,{pr:4,pl:0,pb:n?3:2},e.default.createElement(t.Flex,{sx:{justifyContent:"flex-start",alignItems:"center"}},e.default.createElement(t.Box,{px:"14px",py:2,sx:{color:"text",bg:"rgb(245, 245, 245)",borderRadius:4,maxWidth:"80%"}},d)),s&&e.default.createElement(t.Flex,{m:1,sx:{justifyContent:"flex-start"}},e.default.createElement(t.Text,{sx:{color:"gray"}},"Sent ",c)))},n=o;exports.default=n;
},{"react":"n8MK","theme-ui":"JPUq","dayjs":"dZYI","dayjs/plugin/utc":"iObw"}],"D3nM":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.SendIcon=void 0;var e=require("theme-ui"),t=function(t){var s=t.width,r=t.height,a=t.fill,i=t.className;return(0,e.jsx)("svg",{focusable:"false","aria-hidden":"true",height:r||16,width:s||16,viewBox:"0 0 15 16",className:i,sx:{fill:a||"black"}},(0,e.jsx)("g",{transform:"translate(-24.000000, -12.000000)"},(0,e.jsx)("path",{d:"M25.4036262,27.3409362 C24.4176893,27.8509036 23.8195834,27.3951055 24.0683403,26.3201996 L25.0887779,21.910776 C25.2131242,21.3734618 25.7510472,20.8884231 26.3078778,20.8254187 L32.503417,20.1244045 C34.151155,19.9379658 34.1569707,19.6389088 32.503417,19.4549971 L26.3078778,18.7659164 C25.7589338,18.7048617 25.2129433,18.217839 25.0887779,17.6798715 L24.0683403,13.2586546 C23.8198614,12.1820783 24.408944,11.7182276 25.4036262,12.2327184 L38.22304,18.8634497 C39.208977,19.373417 39.2177223,20.1957141 38.22304,20.7102049 L25.4036262,27.3409362 Z"})))};exports.SendIcon=t;var s=t;exports.default=s;
},{"theme-ui":"JPUq"}],"Wr69":[function(require,module,exports) {
function t(t){if(t)return e(t)}function e(e){for(var s in t.prototype)e[s]=t.prototype[s];return e}"undefined"!=typeof module&&(module.exports=t),t.prototype.on=t.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},t.prototype.once=function(t,e){function s(){this.off(t,s),e.apply(this,arguments)}return s.fn=e,this.on(t,s),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var s,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<r.length;i++)if((s=r[i])===e||s.fn===e){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+t],this},t.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),s=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(s){r=0;for(var i=(s=s.slice(0)).length;r<i;++r)s[r].apply(this,e)}return this},t.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},t.prototype.hasListeners=function(t){return!!this.listeners(t).length};
},{}],"SQZr":[function(require,module,exports) {
module.exports=t,t.default=t,t.stable=o,t.stableStringify=o;var r=[],e=[];function t(t,i,o){var f;for(n(t,"",[],void 0),f=0===e.length?JSON.stringify(t,i,o):JSON.stringify(t,u(i),o);0!==r.length;){var l=r.pop();4===l.length?Object.defineProperty(l[0],l[1],l[3]):l[0][l[1]]=l[2]}return f}function n(t,i,o,f){var u;if("object"==typeof t&&null!==t){for(u=0;u<o.length;u++)if(o[u]===t){var l=Object.getOwnPropertyDescriptor(f,i);return void(void 0!==l.get?l.configurable?(Object.defineProperty(f,i,{value:"[Circular]"}),r.push([f,i,t,l])):e.push([t,i]):(f[i]="[Circular]",r.push([f,i,t])))}if(o.push(t),Array.isArray(t))for(u=0;u<t.length;u++)n(t[u],u,o,t);else{var a=Object.keys(t);for(u=0;u<a.length;u++){var c=a[u];n(t[c],c,o,t)}}o.pop()}}function i(r,e){return r<e?-1:r>e?1:0}function o(t,n,i){var o,l=f(t,"",[],void 0)||t;for(o=0===e.length?JSON.stringify(l,n,i):JSON.stringify(l,u(n),i);0!==r.length;){var a=r.pop();4===a.length?Object.defineProperty(a[0],a[1],a[3]):a[0][a[1]]=a[2]}return o}function f(t,n,o,u){var l;if("object"==typeof t&&null!==t){for(l=0;l<o.length;l++)if(o[l]===t){var a=Object.getOwnPropertyDescriptor(u,n);return void(void 0!==a.get?a.configurable?(Object.defineProperty(u,n,{value:"[Circular]"}),r.push([u,n,t,a])):e.push([t,n]):(u[n]="[Circular]",r.push([u,n,t])))}if("function"==typeof t.toJSON)return;if(o.push(t),Array.isArray(t))for(l=0;l<t.length;l++)f(t[l],l,o,t);else{var c={},p=Object.keys(t).sort(i);for(l=0;l<p.length;l++){var s=p[l];f(t[s],s,o,t),c[s]=t[s]}if(void 0===u)return c;r.push([u,n,t]),u[n]=c}o.pop()}}function u(r){return r=void 0!==r?r:function(r,e){return e},function(t,n){if(e.length>0)for(var i=0;i<e.length;i++){var o=e[i];if(o[1]===t&&o[0]===n){n="[Circular]",e.splice(i,1);break}}return r.call(this,t,n)}}
},{}],"rf7W":[function(require,module,exports) {
"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(t)}function t(t){return null!==t&&"object"===o(t)}module.exports=t;
},{}],"bs5T":[function(require,module,exports) {
"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var e=require("./is-object");function r(t){if(t)return i(t)}function i(t){for(var e in r.prototype)Object.prototype.hasOwnProperty.call(r.prototype,e)&&(t[e]=r.prototype[e]);return t}module.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},r.prototype.parse=function(t){return this._parser=t,this},r.prototype.responseType=function(t){return this._responseType=t,this},r.prototype.serialize=function(t){return this._serializer=t,this},r.prototype.timeout=function(e){if(!e||"object"!==t(e))return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))switch(r){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",r)}return this},r.prototype.retry=function(t,e){return 0!==arguments.length&&!0!==t||(t=1),t<=0&&(t=0),this._maxRetries=t,this._retries=0,this._retryCallback=e,this};var o=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];r.prototype._shouldRetry=function(t,e){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var r=this._retryCallback(t,e);if(!0===r)return!0;if(!1===r)return!1}catch(i){console.error(i)}if(e&&e.status&&e.status>=500&&501!==e.status)return!0;if(t){if(t.code&&o.includes(t.code))return!0;if(t.timeout&&"ECONNABORTED"===t.code)return!0;if(t.crossDomain)return!0}return!1},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},r.prototype.then=function(t,e){var r=this;if(!this._fullfilledPromise){var i=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(t,e){i.on("abort",function(){if(!(r._maxRetries&&r._maxRetries>r._retries))if(r.timedout&&r.timedoutError)e(r.timedoutError);else{var t=new Error("Aborted");t.code="ABORTED",t.status=r.status,t.method=r.method,t.url=r.url,e(t)}}),i.end(function(r,i){r?e(r):t(i)})})}return this._fullfilledPromise.then(t,e)},r.prototype.catch=function(t){return this.then(void 0,t)},r.prototype.use=function(t){return t(this),this},r.prototype.ok=function(t){if("function"!=typeof t)throw new Error("Callback required");return this._okCallback=t,this},r.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status<300)},r.prototype.get=function(t){return this._header[t.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(t,r){if(e(t)){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&this.set(i,t[i]);return this}return this._header[t.toLowerCase()]=r,this.header[t]=r,this},r.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},r.prototype.field=function(t,r){if(null==t)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(e(t)){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&this.field(i,t[i]);return this}if(Array.isArray(r)){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&this.field(t,r[o]);return this}if(null==r)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof r&&(r=String(r)),this._getFormData().append(t,r),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype._auth=function(t,e,r,i){switch(r.type){case"basic":this.set("Authorization","Basic ".concat(i("".concat(t,":").concat(e))));break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization","Bearer ".concat(t))}return this},r.prototype.withCredentials=function(t){return void 0===t&&(t=!0),this._withCredentials=t,this},r.prototype.redirects=function(t){return this._maxRedirects=t,this},r.prototype.maxResponseSize=function(t){if("number"!=typeof t)throw new TypeError("Invalid argument");return this._maxResponseSize=t,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(t){var r=e(t),i=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(r&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(r&&e(this._data))for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(this._data[o]=t[o]);else"string"==typeof t?(i||this.type("form"),i=this._header["content-type"],this._data="application/x-www-form-urlencoded"===i?this._data?"".concat(this._data,"&").concat(t):t:(this._data||"")+t):this._data=t;return!r||this._isHost(t)?this:(i||this.type("json"),this)},r.prototype.sortQuery=function(t){return this._sort=void 0===t||t,this},r.prototype._finalizeQueryString=function(){var t=this._query.join("&");if(t&&(this.url+=(this.url.includes("?")?"&":"?")+t),this._query.length=0,this._sort){var e=this.url.indexOf("?");if(e>=0){var r=this.url.slice(e+1).split("&");"function"==typeof this._sort?r.sort(this._sort):r.sort(),this.url=this.url.slice(0,e)+"?"+r.join("&")}}},r.prototype._appendQueryString=function(){console.warn("Unsupported")},r.prototype._timeoutError=function(t,e,r){if(!this._aborted){var i=new Error("".concat(t+e,"ms exceeded"));i.timeout=e,i.code="ECONNABORTED",i.errno=r,this.timedout=!0,this.timedoutError=i,this.abort(),this.callback(i)}},r.prototype._setTimeouts=function(){var t=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")},this._responseTimeout))};
},{"./is-object":"rf7W"}],"uzNR":[function(require,module,exports) {
"use strict";exports.type=function(e){return e.split(/ *; */).shift()},exports.params=function(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e},{})},exports.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e},{})},exports.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e};
},{}],"LjRy":[function(require,module,exports) {
"use strict";var t=require("./utils");function e(t){if(t)return r(t)}function r(t){for(var r in e.prototype)Object.prototype.hasOwnProperty.call(e.prototype,r)&&(t[r]=e.prototype[r]);return t}module.exports=e,e.prototype.get=function(t){return this.header[t.toLowerCase()]},e.prototype._setHeaderProperties=function(e){var r=e["content-type"]||"";this.type=t.type(r);var s=t.params(r);for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(this[i]=s[i]);this.links={};try{e.link&&(this.links=t.parseLinks(e.link))}catch(o){}},e.prototype._setStatusProperties=function(t){var e=t/100|0;this.statusCode=t,this.status=this.statusCode,this.statusType=e,this.info=1===e,this.ok=2===e,this.redirect=3===e,this.clientError=4===e,this.serverError=5===e,this.error=(4===e||5===e)&&this.toError(),this.created=201===t,this.accepted=202===t,this.noContent=204===t,this.badRequest=400===t,this.unauthorized=401===t,this.notAcceptable=406===t,this.forbidden=403===t,this.notFound=404===t,this.unprocessableEntity=422===t};
},{"./utils":"uzNR"}],"XIKS":[function(require,module,exports) {
"use strict";function t(t){return o(t)||n(t)||e(t)||r()}function r(){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 e(t,r){if(t){if("string"==typeof t)return a(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?a(t,r):void 0}}function n(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function o(t){if(Array.isArray(t))return a(t)}function a(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function i(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach(function(t){i.prototype[t]=function(){for(var r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];return this._defaults.push({fn:t,args:e}),this}}),i.prototype._setDefaults=function(r){this._defaults.forEach(function(e){r[e.fn].apply(r,t(e.args))})},module.exports=i;
},{}],"jn4M":[function(require,module,exports) {
"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var e;"undefined"!=typeof window?e=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),e=void 0):e=self;var r=require("component-emitter"),o=require("fast-safe-stringify"),n=require("./request-base"),s=require("./is-object"),i=require("./response-base"),a=require("./agent-base");function u(){}module.exports=function(t,e){return"function"==typeof e?new exports.Request("GET",t).end(e):1===arguments.length?new exports.Request("GET",t):new exports.Request(t,e)},exports=module.exports;var p=exports;exports.Request=w,p.getXHR=function(){if(e.XMLHttpRequest&&(!e.location||"file:"!==e.location.protocol||!e.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(r){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(o){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(n){}throw new Error("Browser-only version of superagent could not find XHR")};var c="".trim?function(t){return t.trim()}:function(t){return t.replace(/(^\s*|\s*$)/g,"")};function h(t){if(!s(t))return t;var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&l(e,r,t[r]);return e.join("&")}function l(t,e,r){if(void 0!==r)if(null!==r)if(Array.isArray(r))r.forEach(function(r){l(t,e,r)});else if(s(r))for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&l(t,"".concat(e,"[").concat(o,"]"),r[o]);else t.push(encodeURI(e)+"="+encodeURIComponent(r));else t.push(encodeURI(e))}function d(t){for(var e,r,o={},n=t.split("&"),s=0,i=n.length;s<i;++s)-1===(r=(e=n[s]).indexOf("="))?o[decodeURIComponent(e)]="":o[decodeURIComponent(e.slice(0,r))]=decodeURIComponent(e.slice(r+1));return o}function f(t){for(var e,r,o,n,s=t.split(/\r?\n/),i={},a=0,u=s.length;a<u;++a)-1!==(e=(r=s[a]).indexOf(":"))&&(o=r.slice(0,e).toLowerCase(),n=c(r.slice(e+1)),i[o]=n);return i}function y(t){return/[\/+]json($|[^-\w])/.test(t)}function m(t){this.req=t,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var e=this.xhr.status;1223===e&&(e=204),this._setStatusProperties(e),this.headers=f(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&t._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function w(t,e){var r=this;this._query=this._query||[],this.method=t,this.url=e,this.header={},this._header={},this.on("end",function(){var t,e=null,o=null;try{o=new m(r)}catch(n){return(e=new Error("Parser is unable to parse the response")).parse=!0,e.original=n,r.xhr?(e.rawResponse=void 0===r.xhr.responseType?r.xhr.responseText:r.xhr.response,e.status=r.xhr.status?r.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),r.callback(e)}r.emit("response",o);try{r._isResponseOK(o)||(t=new Error(o.statusText||o.text||"Unsuccessful HTTP response"))}catch(n){t=n}t?(t.original=e,t.response=o,t.status=o.status,r.callback(t,o)):r.callback(null,o)})}function T(t,e,r){var o=p("DELETE",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o}p.serializeObject=h,p.parseString=d,p.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},p.serialize={"application/x-www-form-urlencoded":h,"application/json":o},p.parse={"application/x-www-form-urlencoded":d,"application/json":JSON.parse},i(m.prototype),m.prototype._parseBody=function(t){var e=p.parse[this.type];return this.req._parser?this.req._parser(this,t):(!e&&y(this.type)&&(e=p.parse["application/json"]),e&&t&&(t.length>0||t instanceof Object)?e(t):null)},m.prototype.toError=function(){var t=this.req,e=t.method,r=t.url,o="cannot ".concat(e," ").concat(r," (").concat(this.status,")"),n=new Error(o);return n.status=this.status,n.method=e,n.url=r,n},p.Response=m,r(w.prototype),n(w.prototype),w.prototype.type=function(t){return this.set("Content-Type",p.types[t]||t),this},w.prototype.accept=function(t){return this.set("Accept",p.types[t]||t),this},w.prototype.auth=function(e,r,o){1===arguments.length&&(r=""),"object"===t(r)&&null!==r&&(o=r,r=""),o||(o={type:"function"==typeof btoa?"basic":"auto"});return this._auth(e,r,o,function(t){if("function"==typeof btoa)return btoa(t);throw new Error("Cannot use basic auth, btoa is not a function")})},w.prototype.query=function(t){return"string"!=typeof t&&(t=h(t)),t&&this._query.push(t),this},w.prototype.attach=function(t,e,r){if(e){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(t,e,r||e.name)}return this},w.prototype._getFormData=function(){return this._formData||(this._formData=new e.FormData),this._formData},w.prototype.callback=function(t,e){if(this._shouldRetry(t,e))return this._retry();var r=this._callback;this.clearTimeout(),t&&(this._maxRetries&&(t.retries=this._retries-1),this.emit("error",t)),r(t,e)},w.prototype.crossDomainError=function(){var t=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");t.crossDomain=!0,t.status=this.status,t.method=this.method,t.url=this.url,this.callback(t)},w.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},w.prototype.ca=w.prototype.agent,w.prototype.buffer=w.prototype.ca,w.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},w.prototype.pipe=w.prototype.write,w.prototype._isHost=function(e){return e&&"object"===t(e)&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},w.prototype.end=function(t){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=t||u,this._finalizeQueryString(),this._end()},w.prototype._setUploadTimeout=function(){var t=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout(function(){t._timeoutError("Upload timeout of ",t._uploadTimeout,"ETIMEDOUT")},this._uploadTimeout))},w.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var t=this;this.xhr=p.getXHR();var e=this.xhr,r=this._formData||this._data;this._setTimeouts(),e.onreadystatechange=function(){var r=e.readyState;if(r>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4===r){var o;try{o=e.status}catch(n){o=0}if(!o){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}};var o=function(e,r){r.total>0&&(r.percent=r.loaded/r.total*100,100===r.percent&&clearTimeout(t._uploadTimeoutTimer)),r.direction=e,t.emit("progress",r)};if(this.hasListeners("progress"))try{e.addEventListener("progress",o.bind(null,"download")),e.upload&&e.upload.addEventListener("progress",o.bind(null,"upload"))}catch(a){}e.upload&&this._setUploadTimeout();try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(u){return this.callback(u)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof r&&!this._isHost(r)){var n=this._header["content-type"],s=this._serializer||p.serialize[n?n.split(";")[0]:""];!s&&y(n)&&(s=p.serialize["application/json"]),s&&(r=s(r))}for(var i in this.header)null!==this.header[i]&&Object.prototype.hasOwnProperty.call(this.header,i)&&e.setRequestHeader(i,this.header[i]);this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0===r?null:r)},p.agent=function(){return new a},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach(function(t){a.prototype[t.toLowerCase()]=function(e,r){var o=new p.Request(t,e);return this._setDefaults(o),r&&o.end(r),o}}),a.prototype.del=a.prototype.delete,p.get=function(t,e,r){var o=p("GET",t);return"function"==typeof e&&(r=e,e=null),e&&o.query(e),r&&o.end(r),o},p.head=function(t,e,r){var o=p("HEAD",t);return"function"==typeof e&&(r=e,e=null),e&&o.query(e),r&&o.end(r),o},p.options=function(t,e,r){var o=p("OPTIONS",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},p.del=T,p.delete=T,p.patch=function(t,e,r){var o=p("PATCH",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},p.post=function(t,e,r){var o=p("POST",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o},p.put=function(t,e,r){var o=p("PUT",t);return"function"==typeof e&&(r=e,e=null),e&&o.send(e),r&&o.end(r),o};
},{"component-emitter":"Wr69","fast-safe-stringify":"SQZr","./request-base":"bs5T","./is-object":"rf7W","./response-base":"LjRy","./agent-base":"XIKS"}],"C9JJ":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WS_URL=exports.API_BASE_URL=exports.isProd=void 0;var o="localhost"!==window.location.hostname;exports.isProd=o;var t=o?"https://taro-chat-v1.herokuapp.com":"http://localhost:4000";exports.API_BASE_URL=t;var s=o?"wss://taro-chat-v1.herokuapp.com/socket":"ws://localhost:4000/socket";exports.WS_URL=s;
},{}],"in7L":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fetchCustomerConversations=exports.createNewConversation=exports.createNewCustomer=void 0;var e=n(require("superagent")),t=require("./config");function n(e){return e&&e.__esModule?e:{default:e}}var r=function(e,t,n,r){return new(n||(n=Promise))(function(o,u){function i(e){try{c(r.next(e))}catch(t){u(t)}}function a(e){try{c(r.throw(e))}catch(t){u(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,a)}c((r=r.apply(e,t||[])).next())})},o=function(e,t){var n,r,o,u,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(a){u=[6,a],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}};function u(){var e=new Date;return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}var i=function(n){return r(void 0,void 0,void 0,function(){return o(this,function(r){return[2,e.default.post(t.API_BASE_URL+"/api/customers").send({customer:{account_id:n,first_seen:u(),last_seen:u()}}).then(function(e){return e.body.data})]})})};exports.createNewCustomer=i;var a=function(n,u){return r(void 0,void 0,void 0,function(){return o(this,function(r){return[2,e.default.post(t.API_BASE_URL+"/api/conversations").send({conversation:{account_id:n,customer_id:u}}).then(function(e){return e.body.data})]})})};exports.createNewConversation=a;var c=function(n,u){return r(void 0,void 0,void 0,function(){return o(this,function(r){return[2,e.default.get(t.API_BASE_URL+"/api/conversations/customer").query({customer_id:n,account_id:u}).then(function(e){return e.body.data})]})})};exports.fetchCustomerConversations=c;
},{"superagent":"jn4M","./config":"C9JJ"}],"GYWt":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.removeCustomerId=exports.setCustomerId=exports.getCustomerId=void 0;var e="__PAPERCUPS__",t=function(t){var r=localStorage.getItem(""+e+t);if(!r)return null;try{return JSON.parse(r)}catch(o){return r}},r=function(t,r){localStorage.setItem(""+e+t,JSON.stringify(r))},o=function(e){localStorage.removeItem(e)},u=function(){return t("__CUSTOMER_ID__")};exports.getCustomerId=u;var n=function(e){return r("__CUSTOMER_ID__",e)};exports.setCustomerId=n;var s=function(){return o("__CUSTOMER_ID__")};exports.removeCustomerId=s;
},{}],"oEcR":[function(require,module,exports) {
},{}],"Xh0O":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=d(require("react")),t=require("theme-ui"),n=require("phoenix"),r=require("framer-motion"),o=d(require("./ChatMessage")),a=d(require("./SendIcon")),s=f(require("../api")),i=require("../storage"),c=require("../config"),u=d(require("../styles.module.css"));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function d(e){return e&&e.__esModule?e:{default:e}}var p=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e,t,n,r){return new(n||(n=Promise))(function(o,a){function s(e){try{c(r.next(e))}catch(t){a(t)}}function i(e){try{c(r.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,i)}c((r=r.apply(e,t||[])).next())})},m=function(e,t){var n,r,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(i){a=[6,i],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,i])}}},v=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var a=arguments[t],s=0,i=a.length;s<i;s++,o++)r[o]=a[s];return r},g=new n.Socket(c.WS_URL),y=function(n){function c(){var e=null!==n&&n.apply(this,arguments)||this;return e.scrollToEl=null,e.state={message:"",messages:[],customerId:(0,i.getCustomerId)(),conversationId:null},e.fetchLatestConversation=function(t){var n=e.props.accountId;return console.log("Fetching conversations for customer:",t),t?s.fetchCustomerConversations(t,n).then(function(t){if(console.log("Found existing conversations:",t),!t||!t.length)return e.initializeNewConversation();var n=t[0],r=n.id,o=n.messages,a=void 0===o?[]:o;return e.setState({conversationId:r,messages:a.map(function(e){return{body:e.body,created_at:e.created_at,customer_id:e.customer_id,sender:e.customer_id?"customer":"agent"}}).sort(function(e,t){return+new Date(e.created_at)-+new Date(t.created_at)})}),e.joinConversationChannel(r)}).catch(function(e){return console.log("Error fetching conversations!",e)}):e.initializeNewConversation()},e.createNewCustomerId=function(t){return h(e,void 0,void 0,function(){var e;return m(this,function(n){switch(n.label){case 0:return[4,s.createNewCustomer(t)];case 1:return e=n.sent().id,(0,i.setCustomerId)(e),[2,e]}})})},e.initializeNewConversation=function(){return h(e,void 0,void 0,function(){var e,t,n;return m(this,function(r){switch(r.label){case 0:return e=this.props.accountId,[4,this.createNewCustomerId(e)];case 1:return t=r.sent(),[4,s.createNewConversation(e,t)];case 2:return n=r.sent().id,this.setState({customerId:t,conversationId:n,messages:[]}),this.joinConversationChannel(n),[2]}})})},e.joinConversationChannel=function(t){e.channel&&e.channel.leave&&e.channel.leave(),console.log("Joining channel:",t),e.channel=g.channel("conversation:"+t,{}),e.channel.on("shout",function(t){e.handleNewMessage(t)}),e.channel.join().receive("ok",function(e){console.log("Joined successfully!",e)}).receive("error",function(e){console.log("Unable to join!",e)}),e.scrollToEl.scrollIntoView()},e.handleNewMessage=function(t){e.setState({messages:v(e.state.messages,[t])},function(){e.scrollToEl.scrollIntoView()})},e.handleMessageChange=function(t){e.setState({message:t.target.value})},e.handleKeyDown=function(t){"Enter"===t.key&&e.handleSendMessage(t)},e.handleSendMessage=function(t){t&&t.preventDefault();var n=e.props.accountId,r=e.state,o=r.message,a=r.customerId,s=r.conversationId;o&&0!==o.trim().length&&(e.channel.push("shout",{body:o,sender:"customer",conversation_id:s,account_id:n,customer_id:a}),e.setState({message:""}))},e}return p(c,n),c.prototype.componentDidMount=function(){g.connect(),this.fetchLatestConversation(this.state.customerId)},c.prototype.componentWillUnmount=function(){this.channel&&this.channel.leave()},c.prototype.render=function(){var n=this,s=this.props,i=s.title,c=void 0===i?"Welcome!":i,l=s.subtitle,f=void 0===l?"How can we help you?":l,d=this.state,p=d.customerId,h=d.message,m=d.messages,v=void 0===m?[]:m;return e.default.createElement(t.Flex,{sx:{bg:"background",flexDirection:"column",height:"100%",width:"100%"}},e.default.createElement(t.Box,{py:3,px:4,sx:{bg:"primary"}},e.default.createElement(t.Heading,{as:"h2",sx:{color:"background",my:1}},c),e.default.createElement(t.Text,{sx:{color:"offset"}},f)),e.default.createElement(t.Box,{p:3,sx:{flex:1,boxShadow:"rgba(0, 0, 0, 0.2) 0px 21px 4px -20px inset",overflowY:"scroll"}},v.map(function(t,n){var a=v[n+1],s=!a||t.customer_id!==a.customer_id,i=n===v.length-1,c=t.customer_id===p;return e.default.createElement(r.motion.div,{key:n,initial:{opacity:0,x:c?2:-2},animate:{opacity:1,x:0},transition:{duration:.2,ease:"easeIn"}},e.default.createElement(o.default,{key:n,message:t,isMe:c,isLastInGroup:s,shouldDisplayTimestamp:i}))}),e.default.createElement("div",{ref:function(e){return n.scrollToEl=e}})),e.default.createElement(t.Box,{p:2,sx:{borderTop:"1px solid rgb(230, 230, 230)",boxShadow:"rgba(0, 0, 0, 0.1) 0px 0px 100px 0px"}},e.default.createElement(t.Flex,{sx:{alignItems:"center"}},e.default.createElement(t.Box,{mr:3,sx:{flex:1}},e.default.createElement(t.Textarea,{sx:{border:"none",fontFamily:"body",color:"input"},className:u.default["TextArea--transparent"],rows:1,autoFocus:!0,value:h,onKeyDown:this.handleKeyDown,onChange:this.handleMessageChange})),e.default.createElement(t.Box,{pl:3},e.default.createElement(t.Button,{variant:"primary",type:"submit",onClick:this.handleSendMessage,sx:{display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",height:"36px",width:"36px",padding:0}},e.default.createElement(a.default,{width:16,height:16,fill:"background"}))))))},c}(e.default.Component),x=y;exports.default=x;
},{"react":"n8MK","theme-ui":"JPUq","phoenix":"XFqm","framer-motion":"UfSJ","./ChatMessage":"Epr2","./SendIcon":"D3nM","../api":"in7L","../storage":"GYWt","../config":"C9JJ","../styles.module.css":"oEcR"}],"q18w":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.WidgetToggle=void 0;var e=a(require("react")),t=require("theme-ui"),r=require("framer-motion"),n=a(require("../styles.module.css"));function a(e){return e&&e.__esModule?e:{default:e}}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},l=function(t){return e.default.createElement(r.motion.path,o({fill:"transparent",strokeWidth:"3",stroke:"hsl(0, 0%, 99%)",strokeLinecap:"round"},t))},i=function(r){var a=r.open,o=r.toggle;return e.default.createElement(t.Flex,{sx:{justifyContent:"center",alignItems:"center",height:"100%",width:"100%"}},e.default.createElement(t.Button,{p:0,className:n.default.WidgetToggle,sx:{bg:"primary",pt:"2px",pl:a?"2px":0},onClick:o},e.default.createElement("svg",{width:"23",height:"23",viewBox:"0 0 23 23"},e.default.createElement(l,{variants:{closed:{d:"M 2 2.5 L 20 2.5"},open:{d:"M 3 16.5 L 17 2.5"}}}),e.default.createElement(l,{d:"M 2 9.423 L 20 9.423",variants:{closed:{opacity:1},open:{opacity:0}},transition:{duration:.1}}),e.default.createElement(l,{variants:{closed:{d:"M 2 16.346 L 20 16.346"},open:{d:"M 3 2.5 L 17 16.346"}}}))))};exports.WidgetToggle=i;var s=i;exports.default=s;
},{"react":"n8MK","theme-ui":"JPUq","framer-motion":"UfSJ","../styles.module.css":"oEcR"}],"ilXr":[function(require,module,exports) {
var define;
var t;!function(r){var e=/^\s+/,n=/\s+$/,a=0,i=r.round,s=r.min,o=r.max,f=r.random;function h(t,f){if(f=f||{},(t=t||"")instanceof h)return t;if(!(this instanceof h))return new h(t,f);var u=function(t){var a={r:0,g:0,b:0},i=1,f=null,h=null,u=null,l=!1,c=!1;"string"==typeof t&&(t=function(t){t=t.replace(e,"").replace(n,"").toLowerCase();var r,a=!1;if(R[t])t=R[t],a=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(r=P.rgb.exec(t))return{r:r[1],g:r[2],b:r[3]};if(r=P.rgba.exec(t))return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=P.hsl.exec(t))return{h:r[1],s:r[2],l:r[3]};if(r=P.hsla.exec(t))return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=P.hsv.exec(t))return{h:r[1],s:r[2],v:r[3]};if(r=P.hsva.exec(t))return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=P.hex8.exec(t))return{r:I(r[1]),g:I(r[2]),b:I(r[3]),a:E(r[4]),format:a?"name":"hex8"};if(r=P.hex6.exec(t))return{r:I(r[1]),g:I(r[2]),b:I(r[3]),format:a?"name":"hex"};if(r=P.hex4.exec(t))return{r:I(r[1]+""+r[1]),g:I(r[2]+""+r[2]),b:I(r[3]+""+r[3]),a:E(r[4]+""+r[4]),format:a?"name":"hex8"};if(r=P.hex3.exec(t))return{r:I(r[1]+""+r[1]),g:I(r[2]+""+r[2]),b:I(r[3]+""+r[3]),format:a?"name":"hex"};return!1}(t));"object"==typeof t&&($(t.r)&&$(t.g)&&$(t.b)?(g=t.r,b=t.g,d=t.b,a={r:255*q(g,255),g:255*q(b,255),b:255*q(d,255)},l=!0,c="%"===String(t.r).substr(-1)?"prgb":"rgb"):$(t.h)&&$(t.s)&&$(t.v)?(f=N(t.s),h=N(t.v),a=function(t,e,n){t=6*q(t,360),e=q(e,100),n=q(n,100);var a=r.floor(t),i=t-a,s=n*(1-e),o=n*(1-i*e),f=n*(1-(1-i)*e),h=a%6;return{r:255*[n,o,s,s,f,n][h],g:255*[f,n,n,o,s,s][h],b:255*[s,s,f,n,n,o][h]}}(t.h,f,h),l=!0,c="hsv"):$(t.h)&&$(t.s)&&$(t.l)&&(f=N(t.s),u=N(t.l),a=function(t,r,e){var n,a,i;function s(t,r,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+6*(r-t)*e:e<.5?r:e<2/3?t+(r-t)*(2/3-e)*6:t}if(t=q(t,360),r=q(r,100),e=q(e,100),0===r)n=a=i=e;else{var o=e<.5?e*(1+r):e+r-e*r,f=2*e-o;n=s(f,o,t+1/3),a=s(f,o,t),i=s(f,o,t-1/3)}return{r:255*n,g:255*a,b:255*i}}(t.h,f,u),l=!0,c="hsl"),t.hasOwnProperty("a")&&(i=t.a));var g,b,d;return i=C(i),{ok:l,format:t.format||c,r:s(255,o(a.r,0)),g:s(255,o(a.g,0)),b:s(255,o(a.b,0)),a:i}}(t);this._originalInput=t,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=i(100*this._a)/100,this._format=f.format||u.format,this._gradientType=f.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=u.ok,this._tc_id=a++}function u(t,r,e){t=q(t,255),r=q(r,255),e=q(e,255);var n,a,i=o(t,r,e),f=s(t,r,e),h=(i+f)/2;if(i==f)n=a=0;else{var u=i-f;switch(a=h>.5?u/(2-i-f):u/(i+f),i){case t:n=(r-e)/u+(r<e?6:0);break;case r:n=(e-t)/u+2;break;case e:n=(t-r)/u+4}n/=6}return{h:n,s:a,l:h}}function l(t,r,e){t=q(t,255),r=q(r,255),e=q(e,255);var n,a,i=o(t,r,e),f=s(t,r,e),h=i,u=i-f;if(a=0===i?0:u/i,i==f)n=0;else{switch(i){case t:n=(r-e)/u+(r<e?6:0);break;case r:n=(e-t)/u+2;break;case e:n=(t-r)/u+4}n/=6}return{h:n,s:a,v:h}}function c(t,r,e,n){var a=[L(i(t).toString(16)),L(i(r).toString(16)),L(i(e).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function g(t,r,e,n){return[L(z(n)),L(i(t).toString(16)),L(i(r).toString(16)),L(i(e).toString(16))].join("")}function b(t,r){r=0===r?0:r||10;var e=h(t).toHsl();return e.s-=r/100,e.s=M(e.s),h(e)}function d(t,r){r=0===r?0:r||10;var e=h(t).toHsl();return e.s+=r/100,e.s=M(e.s),h(e)}function _(t){return h(t).desaturate(100)}function p(t,r){r=0===r?0:r||10;var e=h(t).toHsl();return e.l+=r/100,e.l=M(e.l),h(e)}function m(t,r){r=0===r?0:r||10;var e=h(t).toRgb();return e.r=o(0,s(255,e.r-i(-r/100*255))),e.g=o(0,s(255,e.g-i(-r/100*255))),e.b=o(0,s(255,e.b-i(-r/100*255))),h(e)}function v(t,r){r=0===r?0:r||10;var e=h(t).toHsl();return e.l-=r/100,e.l=M(e.l),h(e)}function y(t,r){var e=h(t).toHsl(),n=(e.h+r)%360;return e.h=n<0?360+n:n,h(e)}function A(t){var r=h(t).toHsl();return r.h=(r.h+180)%360,h(r)}function x(t){var r=h(t).toHsl(),e=r.h;return[h(t),h({h:(e+120)%360,s:r.s,l:r.l}),h({h:(e+240)%360,s:r.s,l:r.l})]}function k(t){var r=h(t).toHsl(),e=r.h;return[h(t),h({h:(e+90)%360,s:r.s,l:r.l}),h({h:(e+180)%360,s:r.s,l:r.l}),h({h:(e+270)%360,s:r.s,l:r.l})]}function w(t){var r=h(t).toHsl(),e=r.h;return[h(t),h({h:(e+72)%360,s:r.s,l:r.l}),h({h:(e+216)%360,s:r.s,l:r.l})]}function S(t,r,e){r=r||6,e=e||30;var n=h(t).toHsl(),a=360/e,i=[h(t)];for(n.h=(n.h-(a*r>>1)+720)%360;--r;)n.h=(n.h+a)%360,i.push(h(n));return i}function H(t,r){r=r||6;for(var e=h(t).toHsv(),n=e.h,a=e.s,i=e.v,s=[],o=1/r;r--;)s.push(h({h:n,s:a,v:i})),i=(i+o)%1;return s}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,n,a=this.toRgb();return t=a.r/255,e=a.g/255,n=a.b/255,.2126*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(t){return this._a=C(t),this._roundA=i(100*this._a)/100,this},toHsv:function(){var t=l(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=l(this._r,this._g,this._b),r=i(360*t.h),e=i(100*t.s),n=i(100*t.v);return 1==this._a?"hsv("+r+", "+e+"%, "+n+"%)":"hsva("+r+", "+e+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var t=u(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=u(this._r,this._g,this._b),r=i(360*t.h),e=i(100*t.s),n=i(100*t.l);return 1==this._a?"hsl("+r+", "+e+"%, "+n+"%)":"hsla("+r+", "+e+"%, "+n+"%, "+this._roundA+")"},toHex:function(t){return c(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,r,e,n,a){var s=[L(i(t).toString(16)),L(i(r).toString(16)),L(i(e).toString(16)),L(z(n))];if(a&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)&&s[3].charAt(0)==s[3].charAt(1))return s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0);return s.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*q(this._r,255))+"%",g:i(100*q(this._g,255))+"%",b:i(100*q(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*q(this._r,255))+"%, "+i(100*q(this._g,255))+"%, "+i(100*q(this._b,255))+"%)":"rgba("+i(100*q(this._r,255))+"%, "+i(100*q(this._g,255))+"%, "+i(100*q(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(F[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var r="#"+g(this._r,this._g,this._b,this._a),e=r,n=this._gradientType?"GradientType = 1, ":"";if(t){var a=h(t);e="#"+g(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+r+",endColorstr="+e+")"},toString:function(t){var r=!!t;t=t||this._format;var e=!1,n=this._a<1&&this._a>=0;return r||!n||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(e=this.toRgbString()),"prgb"===t&&(e=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(e=this.toHexString()),"hex3"===t&&(e=this.toHexString(!0)),"hex4"===t&&(e=this.toHex8String(!0)),"hex8"===t&&(e=this.toHex8String()),"name"===t&&(e=this.toName()),"hsl"===t&&(e=this.toHslString()),"hsv"===t&&(e=this.toHsvString()),e||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(t,r){var e=t.apply(null,[this].concat([].slice.call(r)));return this._r=e._r,this._g=e._g,this._b=e._b,this.setAlpha(e._a),this},lighten:function(){return this._applyModification(p,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(d,arguments)},greyscale:function(){return this._applyModification(_,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(t,r){return t.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(H,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},h.fromRatio=function(t,r){if("object"==typeof t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]="a"===n?t[n]:N(t[n]));t=e}return h(t,r)},h.equals=function(t,r){return!(!t||!r)&&h(t).toRgbString()==h(r).toRgbString()},h.random=function(){return h.fromRatio({r:f(),g:f(),b:f()})},h.mix=function(t,r,e){e=0===e?0:e||50;var n=h(t).toRgb(),a=h(r).toRgb(),i=e/100;return h({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},h.readability=function(t,e){var n=h(t),a=h(e);return(r.max(n.getLuminance(),a.getLuminance())+.05)/(r.min(n.getLuminance(),a.getLuminance())+.05)},h.isReadable=function(t,r,e){var n,a,i=h.readability(t,r);switch(a=!1,(n=function(t){var r,e;r=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),e=(t.size||"small").toLowerCase(),"AA"!==r&&"AAA"!==r&&(r="AA");"small"!==e&&"large"!==e&&(e="small");return{level:r,size:e}}(e)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},h.mostReadable=function(t,r,e){var n,a,i,s,o=null,f=0;a=(e=e||{}).includeFallbackColors,i=e.level,s=e.size;for(var u=0;u<r.length;u++)(n=h.readability(t,r[u]))>f&&(f=n,o=h(r[u]));return h.isReadable(t,o,{level:i,size:s})||!a?o:(e.includeFallbackColors=!1,h.mostReadable(t,["#fff","#000"],e))};var R=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=h.hexNames=function(t){var r={};for(var e in t)t.hasOwnProperty(e)&&(r[t[e]]=e);return r}(R);function C(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function q(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=s(e,o(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),r.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function M(t){return s(1,o(0,t))}function I(t){return parseInt(t,16)}function L(t){return 1==t.length?"0"+t:""+t}function N(t){return t<=1&&(t=100*t+"%"),t}function z(t){return r.round(255*parseFloat(t)).toString(16)}function E(t){return I(t)/255}var T,j,O,P=(j="[\\s|\\(]+("+(T="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+T+")[,|\\s]+("+T+")\\s*\\)?",O="[\\s|\\(]+("+T+")[,|\\s]+("+T+")[,|\\s]+("+T+")[,|\\s]+("+T+")\\s*\\)?",{CSS_UNIT:new RegExp(T),rgb:new RegExp("rgb"+j),rgba:new RegExp("rgba"+O),hsl:new RegExp("hsl"+j),hsla:new RegExp("hsla"+O),hsv:new RegExp("hsv"+j),hsva:new RegExp("hsva"+O),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function $(t){return!!P.CSS_UNIT.exec(t)}"undefined"!=typeof module&&module.exports?module.exports=h:"function"==typeof t&&t.amd?t(function(){return h}):window.tinycolor=h}(Math);
},{}],"AczT":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.getThemeConfig=void 0;var e=t(require("tinycolor2"));function t(e){return e&&e.__esModule?e:{default:e}}var o=function(t){var o=t.primary,i=void 0===o?"#1890ff":o,n=(0,e.default)(i),a={primary:n.toString(),light:n.lighten().toString(),dark:n.darken().toString()};return{space:[0,4,8,16,32,64,128,256,512],fonts:{body:'-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;',heading:'-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;',monospace:'"Roboto Mono", monospace'},fontSizes:[12,14,16,20,24,32,48,64,96],fontWeights:{body:400,heading:600,bold:600},lineHeights:{body:1.5,heading:1.125},colors:{text:"#141414",background:"#fff",primary:a.primary,secondary:"#722ed1",muted:"#f0f0f0",gray:"rgba(0, 0, 0, 0.45)",input:"rgba(0, 0, 0, 0.65)",offset:"rgba(255, 255, 255, 0.8)"},text:{default:{color:"text",fontSize:1},caps:{textTransform:"uppercase",letterSpacing:"0.2em"},heading:{fontFamily:"heading",fontWeight:"heading",lineHeight:"heading"}},buttons:{primary:{cursor:"pointer",outline:0,transition:"0.2s","&:hover":{background:a.light,borderColor:a.light},"&:active":{background:a.dark,borderColor:a.dark}}},styles:{root:{fontFamily:"body",lineHeight:"body",fontWeight:"body",fontSize:1},h1:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:5},h2:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:4},h3:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:3},h4:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:2},h5:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:1},h6:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:0},p:{color:"text",fontFamily:"body",fontWeight:"body",lineHeight:"body"},a:{color:"primary"},pre:{fontFamily:"monospace",overflowX:"auto",code:{color:"inherit"}},code:{fontFamily:"monospace",fontSize:"inherit"},table:{width:"100%",borderCollapse:"separate",borderSpacing:0},th:{textAlign:"left",borderBottomStyle:"solid"},td:{textAlign:"left",borderBottomStyle:"solid"},img:{maxWidth:"100%"}}}};exports.getThemeConfig=o;var i=o;exports.default=i;
},{"tinycolor2":"ilXr"}],"NKHf":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=u(require("react")),t=require("framer-motion"),o=require("theme-ui"),r=u(require("./ChatWidget")),i=u(require("./WidgetToggle")),n=u(require("../theme")),a=u(require("../styles.module.css"));function u(e){return e&&e.__esModule?e:{default:e}}var p=function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),l=function(u){function l(e){var t=u.call(this,e)||this;return t.handleToggleOpen=function(){t.setState({open:!t.state.open})},t.state={theme:(0,n.default)({primary:e.primaryColor}),open:!1},t}return p(l,u),l.prototype.render=function(){var n=this.state,u=n.theme,p=n.open;return e.default.createElement(o.ThemeProvider,{theme:u},p&&e.default.createElement(t.motion.div,{className:a.default.ChatWidget,initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.2,ease:"easeIn"},style:{zIndex:2147483e3,position:"fixed",bottom:"100px",right:"20px",width:"376px",minHeight:"250px",maxHeight:"704px",boxShadow:"rgba(0, 0, 0, 0.16) 0px 5px 40px",height:"calc(100% - 120px)",borderRadius:8,overflow:"hidden"}},e.default.createElement(r.default,{title:this.props.title,subtitle:this.props.subtitle,accountId:this.props.accountId})),e.default.createElement(t.motion.div,{initial:!1,animate:p?"open":"closed",style:{position:"fixed",zIndex:2147483003,bottom:"20px",right:"20px"}},e.default.createElement(i.default,{open:p,toggle:this.handleToggleOpen})))},l}(e.default.Component),s=l;exports.default=s;
},{"react":"n8MK","framer-motion":"UfSJ","theme-ui":"JPUq","./ChatWidget":"Xh0O","./WidgetToggle":"q18w","../theme":"AczT","../styles.module.css":"oEcR"}],"zo2T":[function(require,module,exports) {
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=a(require("react")),t=a(require("react-dom")),d=a(require("./components/EmbeddableWidget"));function a(e){return e&&e.__esModule?e:{default:e}}var r=d.default;exports.default=r;var u=document.createElement("div");u.id="PapercupsChatWidget",document.body.appendChild(u),t.default.render(e.default.createElement(d.default,{title:"Welcome to Papercups!",subtitle:"Ask us anything in the chat window below 😊",accountId:"eb504736-0f20-4978-98ff-1a82ae60b266"}),document.getElementById("PapercupsChatWidget"));
},{"react":"n8MK","react-dom":"NKHc","./components/EmbeddableWidget":"NKHf"}]},{},["zo2T"], null)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment