kwant-ui 3.13.8 → 4.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/components/HoverInput/HoverInput.d.ts +2 -2
  2. package/dist/components/HoverInput/types.d.ts +2 -6
  3. package/dist/components/HoverSelect/types.d.ts +0 -2
  4. package/dist/components/Select/Select.types.d.ts +1 -2
  5. package/dist/index.es.js +3 -3
  6. package/dist/index.js +2 -2
  7. package/dist/package.json +1 -1
  8. package/package.json +1 -1
  9. package/dist/components/Button/Button.d.ts.map +0 -1
  10. package/dist/components/Button/Button.styled.d.ts.map +0 -1
  11. package/dist/components/Button/helper.d.ts.map +0 -1
  12. package/dist/components/Button/types.d.ts.map +0 -1
  13. package/dist/components/MultiSelect/onOutsideClick.d.ts +0 -3
  14. package/dist/components/Slider/Slider.d.ts.map +0 -1
  15. package/dist/components/Slider/Slider.styled.d.ts.map +0 -1
  16. package/dist/components/Slider/index.d.ts.map +0 -1
  17. package/dist/components/Slider/types.d.ts.map +0 -1
  18. package/dist/components/StepperDrawer/StepperDrawer.d.ts +0 -3
  19. package/dist/components/StepperDrawer/StepperDrawer.types.d.ts +0 -8
  20. package/dist/components/StepperDrawer/StepperDrawer.utils.d.ts +0 -1
  21. package/dist/components/StepperDrawer/StepperDrawerStyled.d.ts +0 -5
  22. package/dist/components/StepperDrawer/index.d.ts +0 -2
  23. package/dist/components/Text/TextStyled.d.ts.map +0 -1
  24. package/dist/components/Text/index.d.ts.map +0 -1
  25. package/dist/components/Text/types.d.ts.map +0 -1
  26. package/dist/components/Text/typography.d.ts.map +0 -1
  27. package/dist/components/Text/utils.d.ts.map +0 -1
  28. package/dist/components/stepper/index.d.ts.map +0 -1
  29. package/dist/index.d.ts.map +0 -1
  30. package/dist/kwant-ui.es.js +0 -4345
  31. package/dist/kwant-ui.umd.js +0 -507
  32. package/dist/public/assets/sprite.svg +0 -9502
  33. package/dist/stories/Drawer/StepperDrawerStory.d.ts +0 -2
  34. package/dist/stories/StepperDrawer.stories.d.ts +0 -72
  35. package/dist/themes/colors.d.ts.map +0 -1
  36. package/dist/themes/index.d.ts.map +0 -1
  37. package/dist/themes/types.d.ts.map +0 -1
  38. package/dist/types.d.ts +0 -572
@@ -1,507 +0,0 @@
1
- (function(Ge,ir){typeof exports=="object"&&typeof module<"u"?ir(exports):typeof define=="function"&&define.amd?define(["exports"],ir):(Ge=typeof globalThis<"u"?globalThis:Ge||self,ir(Ge["kwant-ui"]={}))})(this,function(Ge){"use strict";function ir(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Br={exports:{}},pr={},wr={exports:{}},Q={};/**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var kt;function An(){if(kt)return Q;kt=1;var r=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),p=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),P=Symbol.iterator;function I(s){return s===null||typeof s!="object"?null:(s=P&&s[P]||s["@@iterator"],typeof s=="function"?s:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$=Object.assign,N={};function v(s,S,g){this.props=s,this.context=S,this.refs=N,this.updater=g||D}v.prototype.isReactComponent={},v.prototype.setState=function(s,S){if(typeof s!="object"&&typeof s!="function"&&s!=null)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,s,S,"setState")},v.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};function W(){}W.prototype=v.prototype;function j(s,S,g){this.props=s,this.context=S,this.refs=N,this.updater=g||D}var z=j.prototype=new W;z.constructor=j,$(z,v.prototype),z.isPureReactComponent=!0;var V=Array.isArray,d=Object.prototype.hasOwnProperty,ee={current:null},Ee={key:!0,ref:!0,__self:!0,__source:!0};function ye(s,S,g){var w,_={},O=null,c=null;if(S!=null)for(w in S.ref!==void 0&&(c=S.ref),S.key!==void 0&&(O=""+S.key),S)d.call(S,w)&&!Ee.hasOwnProperty(w)&&(_[w]=S[w]);var M=arguments.length-2;if(M===1)_.children=g;else if(1<M){for(var m=Array(M),H=0;H<M;H++)m[H]=arguments[H+2];_.children=m}if(s&&s.defaultProps)for(w in M=s.defaultProps,M)_[w]===void 0&&(_[w]=M[w]);return{$$typeof:r,type:s,key:O,ref:c,props:_,_owner:ee.current}}function Ce(s,S){return{$$typeof:r,type:s.type,key:S,ref:s.ref,props:s.props,_owner:s._owner}}function Ae(s){return typeof s=="object"&&s!==null&&s.$$typeof===r}function $e(s){var S={"=":"=0",":":"=2"};return"$"+s.replace(/[=:]/g,function(g){return S[g]})}var be=/\/+/g;function ae(s,S){return typeof s=="object"&&s!==null&&s.key!=null?$e(""+s.key):S.toString(36)}function fe(s,S,g,w,_){var O=typeof s;(O==="undefined"||O==="boolean")&&(s=null);var c=!1;if(s===null)c=!0;else switch(O){case"string":case"number":c=!0;break;case"object":switch(s.$$typeof){case r:case t:c=!0}}if(c)return c=s,_=_(c),s=w===""?"."+ae(c,0):w,V(_)?(g="",s!=null&&(g=s.replace(be,"$&/")+"/"),fe(_,S,g,"",function(H){return H})):_!=null&&(Ae(_)&&(_=Ce(_,g+(!_.key||c&&c.key===_.key?"":(""+_.key).replace(be,"$&/")+"/")+s)),S.push(_)),1;if(c=0,w=w===""?".":w+":",V(s))for(var M=0;M<s.length;M++){O=s[M];var m=w+ae(O,M);c+=fe(O,S,g,m,_)}else if(m=I(s),typeof m=="function")for(s=m.call(s),M=0;!(O=s.next()).done;)O=O.value,m=w+ae(O,M++),c+=fe(O,S,g,m,_);else if(O==="object")throw S=String(s),Error("Objects are not valid as a React child (found: "+(S==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":S)+"). If you meant to render a collection of children, use an array instead.");return c}function re(s,S,g){if(s==null)return s;var w=[],_=0;return fe(s,w,"","",function(O){return S.call(g,O,_++)}),w}function Pe(s){if(s._status===-1){var S=s._result;S=S(),S.then(function(g){(s._status===0||s._status===-1)&&(s._status=1,s._result=g)},function(g){(s._status===0||s._status===-1)&&(s._status=2,s._result=g)}),s._status===-1&&(s._status=0,s._result=S)}if(s._status===1)return s._result.default;throw s._result}var F={current:null},de={transition:null},Fe={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:de,ReactCurrentOwner:ee};return Q.Children={map:re,forEach:function(s,S,g){re(s,function(){S.apply(this,arguments)},g)},count:function(s){var S=0;return re(s,function(){S++}),S},toArray:function(s){return re(s,function(S){return S})||[]},only:function(s){if(!Ae(s))throw Error("React.Children.only expected to receive a single React element child.");return s}},Q.Component=v,Q.Fragment=n,Q.Profiler=l,Q.PureComponent=j,Q.StrictMode=i,Q.Suspense=y,Q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Fe,Q.cloneElement=function(s,S,g){if(s==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var w=$({},s.props),_=s.key,O=s.ref,c=s._owner;if(S!=null){if(S.ref!==void 0&&(O=S.ref,c=ee.current),S.key!==void 0&&(_=""+S.key),s.type&&s.type.defaultProps)var M=s.type.defaultProps;for(m in S)d.call(S,m)&&!Ee.hasOwnProperty(m)&&(w[m]=S[m]===void 0&&M!==void 0?M[m]:S[m])}var m=arguments.length-2;if(m===1)w.children=g;else if(1<m){M=Array(m);for(var H=0;H<m;H++)M[H]=arguments[H+2];w.children=M}return{$$typeof:r,type:s.type,key:_,ref:O,props:w,_owner:c}},Q.createContext=function(s){return s={$$typeof:p,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},s.Provider={$$typeof:h,_context:s},s.Consumer=s},Q.createElement=ye,Q.createFactory=function(s){var S=ye.bind(null,s);return S.type=s,S},Q.createRef=function(){return{current:null}},Q.forwardRef=function(s){return{$$typeof:b,render:s}},Q.isValidElement=Ae,Q.lazy=function(s){return{$$typeof:R,_payload:{_status:-1,_result:s},_init:Pe}},Q.memo=function(s,S){return{$$typeof:x,type:s,compare:S===void 0?null:S}},Q.startTransition=function(s){var S=de.transition;de.transition={};try{s()}finally{de.transition=S}},Q.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Q.useCallback=function(s,S){return F.current.useCallback(s,S)},Q.useContext=function(s){return F.current.useContext(s)},Q.useDebugValue=function(){},Q.useDeferredValue=function(s){return F.current.useDeferredValue(s)},Q.useEffect=function(s,S){return F.current.useEffect(s,S)},Q.useId=function(){return F.current.useId()},Q.useImperativeHandle=function(s,S,g){return F.current.useImperativeHandle(s,S,g)},Q.useInsertionEffect=function(s,S){return F.current.useInsertionEffect(s,S)},Q.useLayoutEffect=function(s,S){return F.current.useLayoutEffect(s,S)},Q.useMemo=function(s,S){return F.current.useMemo(s,S)},Q.useReducer=function(s,S,g){return F.current.useReducer(s,S,g)},Q.useRef=function(s){return F.current.useRef(s)},Q.useState=function(s){return F.current.useState(s)},Q.useSyncExternalStore=function(s,S,g){return F.current.useSyncExternalStore(s,S,g)},Q.useTransition=function(){return F.current.useTransition()},Q.version="18.2.0",Q}var hr={exports:{}};/**
10
- * @license React
11
- * react.development.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */hr.exports;var At;function Pn(){return At||(At=1,function(r,t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n="18.2.0",i=Symbol.for("react.element"),l=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),x=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),v=Symbol.iterator,W="@@iterator";function j(e){if(e===null||typeof e!="object")return null;var o=v&&e[v]||e[W];return typeof o=="function"?o:null}var z={current:null},V={transition:null},d={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ee={current:null},Ee={},ye=null;function Ce(e){ye=e}Ee.setExtraStackFrame=function(e){ye=e},Ee.getCurrentStack=null,Ee.getStackAddendum=function(){var e="";ye&&(e+=ye);var o=Ee.getCurrentStack;return o&&(e+=o()||""),e};var Ae=!1,$e=!1,be=!1,ae=!1,fe=!1,re={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:V,ReactCurrentOwner:ee};re.ReactDebugCurrentFrame=Ee,re.ReactCurrentActQueue=d;function Pe(e){{for(var o=arguments.length,u=new Array(o>1?o-1:0),f=1;f<o;f++)u[f-1]=arguments[f];de("warn",e,u)}}function F(e){{for(var o=arguments.length,u=new Array(o>1?o-1:0),f=1;f<o;f++)u[f-1]=arguments[f];de("error",e,u)}}function de(e,o,u){{var f=re.ReactDebugCurrentFrame,T=f.getStackAddendum();T!==""&&(o+="%s",u=u.concat([T]));var B=u.map(function(Y){return String(Y)});B.unshift("Warning: "+o),Function.prototype.apply.call(console[e],console,B)}}var Fe={};function s(e,o){{var u=e.constructor,f=u&&(u.displayName||u.name)||"ReactClass",T=f+"."+o;if(Fe[T])return;F("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.",o,f),Fe[T]=!0}}var S={isMounted:function(e){return!1},enqueueForceUpdate:function(e,o,u){s(e,"forceUpdate")},enqueueReplaceState:function(e,o,u,f){s(e,"replaceState")},enqueueSetState:function(e,o,u,f){s(e,"setState")}},g=Object.assign,w={};Object.freeze(w);function _(e,o,u){this.props=e,this.context=o,this.refs=w,this.updater=u||S}_.prototype.isReactComponent={},_.prototype.setState=function(e,o){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw new 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,o,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};{var O={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)."]},c=function(e,o){Object.defineProperty(_.prototype,e,{get:function(){Pe("%s(...) is deprecated in plain JavaScript React classes. %s",o[0],o[1])}})};for(var M in O)O.hasOwnProperty(M)&&c(M,O[M])}function m(){}m.prototype=_.prototype;function H(e,o,u){this.props=e,this.context=o,this.refs=w,this.updater=u||S}var K=H.prototype=new m;K.constructor=H,g(K,_.prototype),K.isPureReactComponent=!0;function Z(){var e={current:null};return Object.seal(e),e}var E=Array.isArray;function le(e){return E(e)}function A(e){{var o=typeof Symbol=="function"&&Symbol.toStringTag,u=o&&e[Symbol.toStringTag]||e.constructor.name||"Object";return u}}function G(e){try{return pe(e),!1}catch{return!0}}function pe(e){return""+e}function X(e){if(G(e))return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",A(e)),pe(e)}function Te(e,o,u){var f=e.displayName;if(f)return f;var T=o.displayName||o.name||"";return T!==""?u+"("+T+")":u}function Me(e){return e.displayName||"Context"}function ve(e){if(e==null)return null;if(typeof e.tag=="number"&&F("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case h:return"Fragment";case l:return"Portal";case b:return"Profiler";case p:return"StrictMode";case P:return"Suspense";case I:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case x:var o=e;return Me(o)+".Consumer";case y:var u=e;return Me(u._context)+".Provider";case R:return Te(e,e.render,"ForwardRef");case D:var f=e.displayName||null;return f!==null?f:ve(e.type)||"Memo";case $:{var T=e,B=T._payload,Y=T._init;try{return ve(Y(B))}catch{return null}}}return null}var Le=Object.prototype.hasOwnProperty,Ye={key:!0,ref:!0,__self:!0,__source:!0},De,U,me;me={};function Be(e){if(Le.call(e,"ref")){var o=Object.getOwnPropertyDescriptor(e,"ref").get;if(o&&o.isReactWarning)return!1}return e.ref!==void 0}function Ve(e){if(Le.call(e,"key")){var o=Object.getOwnPropertyDescriptor(e,"key").get;if(o&&o.isReactWarning)return!1}return e.key!==void 0}function ze(e,o){var u=function(){De||(De=!0,F("%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://reactjs.org/link/special-props)",o))};u.isReactWarning=!0,Object.defineProperty(e,"key",{get:u,configurable:!0})}function Pr(e,o){var u=function(){U||(U=!0,F("%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://reactjs.org/link/special-props)",o))};u.isReactWarning=!0,Object.defineProperty(e,"ref",{get:u,configurable:!0})}function Or(e){if(typeof e.ref=="string"&&ee.current&&e.__self&&ee.current.stateNode!==e.__self){var o=ve(ee.current.type);me[o]||(F('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://reactjs.org/link/strict-mode-string-ref',o,e.ref),me[o]=!0)}}var tr=function(e,o,u,f,T,B,Y){var q={$$typeof:i,type:e,key:o,ref:u,props:Y,_owner:B};return q._store={},Object.defineProperty(q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(q,"_self",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.defineProperty(q,"_source",{configurable:!1,enumerable:!1,writable:!1,value:T}),Object.freeze&&(Object.freeze(q.props),Object.freeze(q)),q};function ut(e,o,u){var f,T={},B=null,Y=null,q=null,ne=null;if(o!=null){Be(o)&&(Y=o.ref,Or(o)),Ve(o)&&(X(o.key),B=""+o.key),q=o.__self===void 0?null:o.__self,ne=o.__source===void 0?null:o.__source;for(f in o)Le.call(o,f)&&!Ye.hasOwnProperty(f)&&(T[f]=o[f])}var ge=arguments.length-2;if(ge===1)T.children=u;else if(ge>1){for(var we=Array(ge),_e=0;_e<ge;_e++)we[_e]=arguments[_e+2];Object.freeze&&Object.freeze(we),T.children=we}if(e&&e.defaultProps){var xe=e.defaultProps;for(f in xe)T[f]===void 0&&(T[f]=xe[f])}if(B||Y){var Oe=typeof e=="function"?e.displayName||e.name||"Unknown":e;B&&ze(T,Oe),Y&&Pr(T,Oe)}return tr(e,B,Y,q,ne,ee.current,T)}function lt(e,o){var u=tr(e.type,o,e.ref,e._self,e._source,e._owner,e.props);return u}function ft(e,o,u){if(e==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var f,T=g({},e.props),B=e.key,Y=e.ref,q=e._self,ne=e._source,ge=e._owner;if(o!=null){Be(o)&&(Y=o.ref,ge=ee.current),Ve(o)&&(X(o.key),B=""+o.key);var we;e.type&&e.type.defaultProps&&(we=e.type.defaultProps);for(f in o)Le.call(o,f)&&!Ye.hasOwnProperty(f)&&(o[f]===void 0&&we!==void 0?T[f]=we[f]:T[f]=o[f])}var _e=arguments.length-2;if(_e===1)T.children=u;else if(_e>1){for(var xe=Array(_e),Oe=0;Oe<_e;Oe++)xe[Oe]=arguments[Oe+2];T.children=xe}return tr(e.type,B,Y,q,ne,ge,T)}function Ze(e){return typeof e=="object"&&e!==null&&e.$$typeof===i}var $r=".",dt=":";function pt(e){var o=/[=:]/g,u={"=":"=0",":":"=2"},f=e.replace(o,function(T){return u[T]});return"$"+f}var lr=!1,Fr=/\/+/g;function He(e){return e.replace(Fr,"$&/")}function nr(e,o){return typeof e=="object"&&e!==null&&e.key!=null?(X(e.key),pt(""+e.key)):o.toString(36)}function Je(e,o,u,f,T){var B=typeof e;(B==="undefined"||B==="boolean")&&(e=null);var Y=!1;if(e===null)Y=!0;else switch(B){case"string":case"number":Y=!0;break;case"object":switch(e.$$typeof){case i:case l:Y=!0}}if(Y){var q=e,ne=T(q),ge=f===""?$r+nr(q,0):f;if(le(ne)){var we="";ge!=null&&(we=He(ge)+"/"),Je(ne,o,we,"",function(_a){return _a})}else ne!=null&&(Ze(ne)&&(ne.key&&(!q||q.key!==ne.key)&&X(ne.key),ne=lt(ne,u+(ne.key&&(!q||q.key!==ne.key)?He(""+ne.key)+"/":"")+ge)),o.push(ne));return 1}var _e,xe,Oe=0,Ie=f===""?$r:f+dt;if(le(e))for(var Ur=0;Ur<e.length;Ur++)_e=e[Ur],xe=Ie+nr(_e,Ur),Oe+=Je(_e,o,u,xe,T);else{var Tt=j(e);if(typeof Tt=="function"){var Rn=e;Tt===Rn.entries&&(lr||Pe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),lr=!0);for(var Ea=Tt.call(Rn),Tn,wa=0;!(Tn=Ea.next()).done;)_e=Tn.value,xe=Ie+nr(_e,wa++),Oe+=Je(_e,o,u,xe,T)}else if(B==="object"){var kn=String(e);throw new Error("Objects are not valid as a React child (found: "+(kn==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":kn)+"). If you meant to render a collection of children, use an array instead.")}}return Oe}function or(e,o,u){if(e==null)return e;var f=[],T=0;return Je(e,f,"","",function(B){return o.call(u,B,T++)}),f}function ht(e){var o=0;return or(e,function(){o++}),o}function jr(e,o,u){or(e,function(){o.apply(this,arguments)},u)}function vt(e){return or(e,function(o){return o})||[]}function Ir(e){if(!Ze(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}function Dr(e){var o={$$typeof:x,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};o.Provider={$$typeof:y,_context:o};var u=!1,f=!1,T=!1;{var B={$$typeof:x,_context:o};Object.defineProperties(B,{Provider:{get:function(){return f||(f=!0,F("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),o.Provider},set:function(Y){o.Provider=Y}},_currentValue:{get:function(){return o._currentValue},set:function(Y){o._currentValue=Y}},_currentValue2:{get:function(){return o._currentValue2},set:function(Y){o._currentValue2=Y}},_threadCount:{get:function(){return o._threadCount},set:function(Y){o._threadCount=Y}},Consumer:{get:function(){return u||(u=!0,F("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),o.Consumer}},displayName:{get:function(){return o.displayName},set:function(Y){T||(Pe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Y),T=!0)}}}),o.Consumer=B}return o._currentRenderer=null,o._currentRenderer2=null,o}var ar=-1,gr=0,br=1,mt=2;function yt(e){if(e._status===ar){var o=e._result,u=o();if(u.then(function(B){if(e._status===gr||e._status===ar){var Y=e;Y._status=br,Y._result=B}},function(B){if(e._status===gr||e._status===ar){var Y=e;Y._status=mt,Y._result=B}}),e._status===ar){var f=e;f._status=gr,f._result=u}}if(e._status===br){var T=e._result;return T===void 0&&F(`lazy: Expected the result of a dynamic import() call. Instead received: %s
18
-
19
- Your code should look like:
20
- const MyComponent = lazy(() => import('./MyComponent'))
21
-
22
- Did you accidentally put curly braces around the import?`,T),"default"in T||F(`lazy: Expected the result of a dynamic import() call. Instead received: %s
23
-
24
- Your code should look like:
25
- const MyComponent = lazy(() => import('./MyComponent'))`,T),T.default}else throw e._result}function gt(e){var o={_status:ar,_result:e},u={$$typeof:$,_payload:o,_init:yt};{var f,T;Object.defineProperties(u,{defaultProps:{configurable:!0,get:function(){return f},set:function(B){F("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."),f=B,Object.defineProperty(u,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return T},set:function(B){F("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."),T=B,Object.defineProperty(u,"propTypes",{enumerable:!0})}}})}return u}function bt(e){e!=null&&e.$$typeof===D?F("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e!="function"?F("forwardRef requires a render function but was given %s.",e===null?"null":typeof e):e.length!==0&&e.length!==2&&F("forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),e!=null&&(e.defaultProps!=null||e.propTypes!=null)&&F("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var o={$$typeof:R,render:e};{var u;Object.defineProperty(o,"displayName",{enumerable:!1,configurable:!0,get:function(){return u},set:function(f){u=f,!e.name&&!e.displayName&&(e.displayName=f)}})}return o}var a;a=Symbol.for("react.module.reference");function C(e){return!!(typeof e=="string"||typeof e=="function"||e===h||e===b||fe||e===p||e===P||e===I||ae||e===N||Ae||$e||be||typeof e=="object"&&e!==null&&(e.$$typeof===$||e.$$typeof===D||e.$$typeof===y||e.$$typeof===x||e.$$typeof===R||e.$$typeof===a||e.getModuleId!==void 0))}function k(e,o){C(e)||F("memo: The first argument must be a component. Instead received: %s",e===null?"null":typeof e);var u={$$typeof:D,type:e,compare:o===void 0?null:o};{var f;Object.defineProperty(u,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(T){f=T,!e.name&&!e.displayName&&(e.displayName=T)}})}return u}function L(){var e=z.current;return e===null&&F(`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:
26
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
27
- 2. You might be breaking the Rules of Hooks
28
- 3. You might have more than one copy of React in the same app
29
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function oe(e){var o=L();if(e._context!==void 0){var u=e._context;u.Consumer===e?F("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?"):u.Provider===e&&F("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return o.useContext(e)}function he(e){var o=L();return o.useState(e)}function te(e,o,u){var f=L();return f.useReducer(e,o,u)}function J(e){var o=L();return o.useRef(e)}function je(e,o){var u=L();return u.useEffect(e,o)}function Se(e,o){var u=L();return u.useInsertionEffect(e,o)}function ke(e,o){var u=L();return u.useLayoutEffect(e,o)}function Ne(e,o){var u=L();return u.useCallback(e,o)}function Qe(e,o){var u=L();return u.useMemo(e,o)}function Nr(e,o,u){var f=L();return f.useImperativeHandle(e,o,u)}function We(e,o){{var u=L();return u.useDebugValue(e,o)}}function Zo(){var e=L();return e.useTransition()}function Jo(e){var o=L();return o.useDeferredValue(e)}function Qo(){var e=L();return e.useId()}function ea(e,o,u){var f=L();return f.useSyncExternalStore(e,o,u)}var Er=0,an,sn,cn,un,ln,fn,dn;function pn(){}pn.__reactDisabledLog=!0;function ra(){{if(Er===0){an=console.log,sn=console.info,cn=console.warn,un=console.error,ln=console.group,fn=console.groupCollapsed,dn=console.groupEnd;var e={configurable:!0,enumerable:!0,value:pn,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Er++}}function ta(){{if(Er--,Er===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:g({},e,{value:an}),info:g({},e,{value:sn}),warn:g({},e,{value:cn}),error:g({},e,{value:un}),group:g({},e,{value:ln}),groupCollapsed:g({},e,{value:fn}),groupEnd:g({},e,{value:dn})})}Er<0&&F("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Et=re.ReactCurrentDispatcher,wt;function Mr(e,o,u){{if(wt===void 0)try{throw Error()}catch(T){var f=T.stack.trim().match(/\n( *(at )?)/);wt=f&&f[1]||""}return`
30
- `+wt+e}}var _t=!1,Lr;{var na=typeof WeakMap=="function"?WeakMap:Map;Lr=new na}function hn(e,o){if(!e||_t)return"";{var u=Lr.get(e);if(u!==void 0)return u}var f;_t=!0;var T=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var B;B=Et.current,Et.current=null,ra();try{if(o){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(Ie){f=Ie}Reflect.construct(e,[],Y)}else{try{Y.call()}catch(Ie){f=Ie}e.call(Y.prototype)}}else{try{throw Error()}catch(Ie){f=Ie}e()}}catch(Ie){if(Ie&&f&&typeof Ie.stack=="string"){for(var q=Ie.stack.split(`
31
- `),ne=f.stack.split(`
32
- `),ge=q.length-1,we=ne.length-1;ge>=1&&we>=0&&q[ge]!==ne[we];)we--;for(;ge>=1&&we>=0;ge--,we--)if(q[ge]!==ne[we]){if(ge!==1||we!==1)do if(ge--,we--,we<0||q[ge]!==ne[we]){var _e=`
33
- `+q[ge].replace(" at new "," at ");return e.displayName&&_e.includes("<anonymous>")&&(_e=_e.replace("<anonymous>",e.displayName)),typeof e=="function"&&Lr.set(e,_e),_e}while(ge>=1&&we>=0);break}}}finally{_t=!1,Et.current=B,ta(),Error.prepareStackTrace=T}var xe=e?e.displayName||e.name:"",Oe=xe?Mr(xe):"";return typeof e=="function"&&Lr.set(e,Oe),Oe}function oa(e,o,u){return hn(e,!1)}function aa(e){var o=e.prototype;return!!(o&&o.isReactComponent)}function Yr(e,o,u){if(e==null)return"";if(typeof e=="function")return hn(e,aa(e));if(typeof e=="string")return Mr(e);switch(e){case P:return Mr("Suspense");case I:return Mr("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case R:return oa(e.render);case D:return Yr(e.type,o,u);case $:{var f=e,T=f._payload,B=f._init;try{return Yr(B(T),o,u)}catch{}}}return""}var vn={},mn=re.ReactDebugCurrentFrame;function Vr(e){if(e){var o=e._owner,u=Yr(e.type,e._source,o?o.type:null);mn.setExtraStackFrame(u)}else mn.setExtraStackFrame(null)}function ia(e,o,u,f,T){{var B=Function.call.bind(Le);for(var Y in e)if(B(e,Y)){var q=void 0;try{if(typeof e[Y]!="function"){var ne=Error((f||"React class")+": "+u+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ne.name="Invariant Violation",ne}q=e[Y](o,Y,f,u,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ge){q=ge}q&&!(q instanceof Error)&&(Vr(T),F("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",f||"React class",u,Y,typeof q),Vr(null)),q instanceof Error&&!(q.message in vn)&&(vn[q.message]=!0,Vr(T),F("Failed %s type: %s",u,q.message),Vr(null))}}}function fr(e){if(e){var o=e._owner,u=Yr(e.type,e._source,o?o.type:null);Ce(u)}else Ce(null)}var Ct;Ct=!1;function yn(){if(ee.current){var e=ve(ee.current.type);if(e)return`
34
-
35
- Check the render method of \``+e+"`."}return""}function sa(e){if(e!==void 0){var o=e.fileName.replace(/^.*[\\\/]/,""),u=e.lineNumber;return`
36
-
37
- Check your code at `+o+":"+u+"."}return""}function ca(e){return e!=null?sa(e.__source):""}var gn={};function ua(e){var o=yn();if(!o){var u=typeof e=="string"?e:e.displayName||e.name;u&&(o=`
38
-
39
- Check the top-level render call using <`+u+">.")}return o}function bn(e,o){if(!(!e._store||e._store.validated||e.key!=null)){e._store.validated=!0;var u=ua(o);if(!gn[u]){gn[u]=!0;var f="";e&&e._owner&&e._owner!==ee.current&&(f=" It was passed a child from "+ve(e._owner.type)+"."),fr(e),F('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',u,f),fr(null)}}}function En(e,o){if(typeof e=="object"){if(le(e))for(var u=0;u<e.length;u++){var f=e[u];Ze(f)&&bn(f,o)}else if(Ze(e))e._store&&(e._store.validated=!0);else if(e){var T=j(e);if(typeof T=="function"&&T!==e.entries)for(var B=T.call(e),Y;!(Y=B.next()).done;)Ze(Y.value)&&bn(Y.value,o)}}}function wn(e){{var o=e.type;if(o==null||typeof o=="string")return;var u;if(typeof o=="function")u=o.propTypes;else if(typeof o=="object"&&(o.$$typeof===R||o.$$typeof===D))u=o.propTypes;else return;if(u){var f=ve(o);ia(u,e.props,"prop",f,e)}else if(o.PropTypes!==void 0&&!Ct){Ct=!0;var T=ve(o);F("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",T||"Unknown")}typeof o.getDefaultProps=="function"&&!o.getDefaultProps.isReactClassApproved&&F("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function la(e){{for(var o=Object.keys(e.props),u=0;u<o.length;u++){var f=o[u];if(f!=="children"&&f!=="key"){fr(e),F("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",f),fr(null);break}}e.ref!==null&&(fr(e),F("Invalid attribute `ref` supplied to `React.Fragment`."),fr(null))}}function _n(e,o,u){var f=C(e);if(!f){var T="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(T+=" 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 B=ca(o);B?T+=B:T+=yn();var Y;e===null?Y="null":le(e)?Y="array":e!==void 0&&e.$$typeof===i?(Y="<"+(ve(e.type)||"Unknown")+" />",T=" Did you accidentally export a JSX literal instead of a component?"):Y=typeof e,F("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Y,T)}var q=ut.apply(this,arguments);if(q==null)return q;if(f)for(var ne=2;ne<arguments.length;ne++)En(arguments[ne],e);return e===h?la(q):wn(q),q}var Cn=!1;function fa(e){var o=_n.bind(null,e);return o.type=e,Cn||(Cn=!0,Pe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(o,"type",{enumerable:!1,get:function(){return Pe("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),o}function da(e,o,u){for(var f=ft.apply(this,arguments),T=2;T<arguments.length;T++)En(arguments[T],f.type);return wn(f),f}function pa(e,o){var u=V.transition;V.transition={};var f=V.transition;V.transition._updatedFibers=new Set;try{e()}finally{if(V.transition=u,u===null&&f._updatedFibers){var T=f._updatedFibers.size;T>10&&Pe("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),f._updatedFibers.clear()}}}var Sn=!1,zr=null;function ha(e){if(zr===null)try{var o=("require"+Math.random()).slice(0,7),u=r&&r[o];zr=u.call(r,"timers").setImmediate}catch{zr=function(T){Sn===!1&&(Sn=!0,typeof MessageChannel>"u"&&F("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var B=new MessageChannel;B.port1.onmessage=T,B.port2.postMessage(void 0)}}return zr(e)}var dr=0,xn=!1;function va(e){{var o=dr;dr++,d.current===null&&(d.current=[]);var u=d.isBatchingLegacy,f;try{if(d.isBatchingLegacy=!0,f=e(),!u&&d.didScheduleLegacyUpdate){var T=d.current;T!==null&&(d.didScheduleLegacyUpdate=!1,Rt(T))}}catch(xe){throw Wr(o),xe}finally{d.isBatchingLegacy=u}if(f!==null&&typeof f=="object"&&typeof f.then=="function"){var B=f,Y=!1,q={then:function(xe,Oe){Y=!0,B.then(function(Ie){Wr(o),dr===0?St(Ie,xe,Oe):xe(Ie)},function(Ie){Wr(o),Oe(Ie)})}};return!xn&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Y||(xn=!0,F("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),q}else{var ne=f;if(Wr(o),dr===0){var ge=d.current;ge!==null&&(Rt(ge),d.current=null);var we={then:function(xe,Oe){d.current===null?(d.current=[],St(ne,xe,Oe)):xe(ne)}};return we}else{var _e={then:function(xe,Oe){xe(ne)}};return _e}}}}function Wr(e){e!==dr-1&&F("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),dr=e}function St(e,o,u){{var f=d.current;if(f!==null)try{Rt(f),ha(function(){f.length===0?(d.current=null,o(e)):St(e,o,u)})}catch(T){u(T)}else o(e)}}var xt=!1;function Rt(e){if(!xt){xt=!0;var o=0;try{for(;o<e.length;o++){var u=e[o];do u=u(!0);while(u!==null)}e.length=0}catch(f){throw e=e.slice(o+1),f}finally{xt=!1}}}var ma=_n,ya=da,ga=fa,ba={map:or,forEach:jr,count:ht,toArray:vt,only:Ir};t.Children=ba,t.Component=_,t.Fragment=h,t.Profiler=b,t.PureComponent=H,t.StrictMode=p,t.Suspense=P,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=re,t.cloneElement=ya,t.createContext=Dr,t.createElement=ma,t.createFactory=ga,t.createRef=Z,t.forwardRef=bt,t.isValidElement=Ze,t.lazy=gt,t.memo=k,t.startTransition=pa,t.unstable_act=va,t.useCallback=Ne,t.useContext=oe,t.useDebugValue=We,t.useDeferredValue=Jo,t.useEffect=je,t.useId=Qo,t.useImperativeHandle=Nr,t.useInsertionEffect=Se,t.useLayoutEffect=ke,t.useMemo=Qe,t.useReducer=te,t.useRef=J,t.useState=he,t.useSyncExternalStore=ea,t.useTransition=Zo,t.version=n,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(hr,hr.exports)),hr.exports}var Pt;function Hr(){return Pt||(Pt=1,process.env.NODE_ENV==="production"?wr.exports=An():wr.exports=Pn()),wr.exports}/**
40
- * @license React
41
- * react-jsx-runtime.production.min.js
42
- *
43
- * Copyright (c) Facebook, Inc. and its affiliates.
44
- *
45
- * This source code is licensed under the MIT license found in the
46
- * LICENSE file in the root directory of this source tree.
47
- */var Ot;function On(){if(Ot)return pr;Ot=1;var r=Hr(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function p(b,y,x){var R,P={},I=null,D=null;x!==void 0&&(I=""+x),y.key!==void 0&&(I=""+y.key),y.ref!==void 0&&(D=y.ref);for(R in y)i.call(y,R)&&!h.hasOwnProperty(R)&&(P[R]=y[R]);if(b&&b.defaultProps)for(R in y=b.defaultProps,y)P[R]===void 0&&(P[R]=y[R]);return{$$typeof:t,type:b,key:I,ref:D,props:P,_owner:l.current}}return pr.Fragment=n,pr.jsx=p,pr.jsxs=p,pr}var vr={};/**
48
- * @license React
49
- * react-jsx-runtime.development.js
50
- *
51
- * Copyright (c) Facebook, Inc. and its affiliates.
52
- *
53
- * This source code is licensed under the MIT license found in the
54
- * LICENSE file in the root directory of this source tree.
55
- */var $t;function $n(){return $t||($t=1,process.env.NODE_ENV!=="production"&&function(){var r=Hr(),t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),b=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),D=Symbol.for("react.offscreen"),$=Symbol.iterator,N="@@iterator";function v(a){if(a===null||typeof a!="object")return null;var C=$&&a[$]||a[N];return typeof C=="function"?C:null}var W=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function j(a){{for(var C=arguments.length,k=new Array(C>1?C-1:0),L=1;L<C;L++)k[L-1]=arguments[L];z("error",a,k)}}function z(a,C,k){{var L=W.ReactDebugCurrentFrame,oe=L.getStackAddendum();oe!==""&&(C+="%s",k=k.concat([oe]));var he=k.map(function(te){return String(te)});he.unshift("Warning: "+C),Function.prototype.apply.call(console[a],console,he)}}var V=!1,d=!1,ee=!1,Ee=!1,ye=!1,Ce;Ce=Symbol.for("react.module.reference");function Ae(a){return!!(typeof a=="string"||typeof a=="function"||a===i||a===h||ye||a===l||a===x||a===R||Ee||a===D||V||d||ee||typeof a=="object"&&a!==null&&(a.$$typeof===I||a.$$typeof===P||a.$$typeof===p||a.$$typeof===b||a.$$typeof===y||a.$$typeof===Ce||a.getModuleId!==void 0))}function $e(a,C,k){var L=a.displayName;if(L)return L;var oe=C.displayName||C.name||"";return oe!==""?k+"("+oe+")":k}function be(a){return a.displayName||"Context"}function ae(a){if(a==null)return null;if(typeof a.tag=="number"&&j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case i:return"Fragment";case n:return"Portal";case h:return"Profiler";case l:return"StrictMode";case x:return"Suspense";case R:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case b:var C=a;return be(C)+".Consumer";case p:var k=a;return be(k._context)+".Provider";case y:return $e(a,a.render,"ForwardRef");case P:var L=a.displayName||null;return L!==null?L:ae(a.type)||"Memo";case I:{var oe=a,he=oe._payload,te=oe._init;try{return ae(te(he))}catch{return null}}}return null}var fe=Object.assign,re=0,Pe,F,de,Fe,s,S,g;function w(){}w.__reactDisabledLog=!0;function _(){{if(re===0){Pe=console.log,F=console.info,de=console.warn,Fe=console.error,s=console.group,S=console.groupCollapsed,g=console.groupEnd;var a={configurable:!0,enumerable:!0,value:w,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}re++}}function O(){{if(re--,re===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:fe({},a,{value:Pe}),info:fe({},a,{value:F}),warn:fe({},a,{value:de}),error:fe({},a,{value:Fe}),group:fe({},a,{value:s}),groupCollapsed:fe({},a,{value:S}),groupEnd:fe({},a,{value:g})})}re<0&&j("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var c=W.ReactCurrentDispatcher,M;function m(a,C,k){{if(M===void 0)try{throw Error()}catch(oe){var L=oe.stack.trim().match(/\n( *(at )?)/);M=L&&L[1]||""}return`
56
- `+M+a}}var H=!1,K;{var Z=typeof WeakMap=="function"?WeakMap:Map;K=new Z}function E(a,C){if(!a||H)return"";{var k=K.get(a);if(k!==void 0)return k}var L;H=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var he;he=c.current,c.current=null,_();try{if(C){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(te,[])}catch(We){L=We}Reflect.construct(a,[],te)}else{try{te.call()}catch(We){L=We}a.call(te.prototype)}}else{try{throw Error()}catch(We){L=We}a()}}catch(We){if(We&&L&&typeof We.stack=="string"){for(var J=We.stack.split(`
57
- `),je=L.stack.split(`
58
- `),Se=J.length-1,ke=je.length-1;Se>=1&&ke>=0&&J[Se]!==je[ke];)ke--;for(;Se>=1&&ke>=0;Se--,ke--)if(J[Se]!==je[ke]){if(Se!==1||ke!==1)do if(Se--,ke--,ke<0||J[Se]!==je[ke]){var Ne=`
59
- `+J[Se].replace(" at new "," at ");return a.displayName&&Ne.includes("<anonymous>")&&(Ne=Ne.replace("<anonymous>",a.displayName)),typeof a=="function"&&K.set(a,Ne),Ne}while(Se>=1&&ke>=0);break}}}finally{H=!1,c.current=he,O(),Error.prepareStackTrace=oe}var Qe=a?a.displayName||a.name:"",Nr=Qe?m(Qe):"";return typeof a=="function"&&K.set(a,Nr),Nr}function le(a,C,k){return E(a,!1)}function A(a){var C=a.prototype;return!!(C&&C.isReactComponent)}function G(a,C,k){if(a==null)return"";if(typeof a=="function")return E(a,A(a));if(typeof a=="string")return m(a);switch(a){case x:return m("Suspense");case R:return m("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case y:return le(a.render);case P:return G(a.type,C,k);case I:{var L=a,oe=L._payload,he=L._init;try{return G(he(oe),C,k)}catch{}}}return""}var pe=Object.prototype.hasOwnProperty,X={},Te=W.ReactDebugCurrentFrame;function Me(a){if(a){var C=a._owner,k=G(a.type,a._source,C?C.type:null);Te.setExtraStackFrame(k)}else Te.setExtraStackFrame(null)}function ve(a,C,k,L,oe){{var he=Function.call.bind(pe);for(var te in a)if(he(a,te)){var J=void 0;try{if(typeof a[te]!="function"){var je=Error((L||"React class")+": "+k+" type `"+te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[te]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw je.name="Invariant Violation",je}J=a[te](C,te,L,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Se){J=Se}J&&!(J instanceof Error)&&(Me(oe),j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",L||"React class",k,te,typeof J),Me(null)),J instanceof Error&&!(J.message in X)&&(X[J.message]=!0,Me(oe),j("Failed %s type: %s",k,J.message),Me(null))}}}var Le=Array.isArray;function Ye(a){return Le(a)}function De(a){{var C=typeof Symbol=="function"&&Symbol.toStringTag,k=C&&a[Symbol.toStringTag]||a.constructor.name||"Object";return k}}function U(a){try{return me(a),!1}catch{return!0}}function me(a){return""+a}function Be(a){if(U(a))return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",De(a)),me(a)}var Ve=W.ReactCurrentOwner,ze={key:!0,ref:!0,__self:!0,__source:!0},Pr,Or,tr;tr={};function ut(a){if(pe.call(a,"ref")){var C=Object.getOwnPropertyDescriptor(a,"ref").get;if(C&&C.isReactWarning)return!1}return a.ref!==void 0}function lt(a){if(pe.call(a,"key")){var C=Object.getOwnPropertyDescriptor(a,"key").get;if(C&&C.isReactWarning)return!1}return a.key!==void 0}function ft(a,C){if(typeof a.ref=="string"&&Ve.current&&C&&Ve.current.stateNode!==C){var k=ae(Ve.current.type);tr[k]||(j('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://reactjs.org/link/strict-mode-string-ref',ae(Ve.current.type),a.ref),tr[k]=!0)}}function Ze(a,C){{var k=function(){Pr||(Pr=!0,j("%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://reactjs.org/link/special-props)",C))};k.isReactWarning=!0,Object.defineProperty(a,"key",{get:k,configurable:!0})}}function $r(a,C){{var k=function(){Or||(Or=!0,j("%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://reactjs.org/link/special-props)",C))};k.isReactWarning=!0,Object.defineProperty(a,"ref",{get:k,configurable:!0})}}var dt=function(a,C,k,L,oe,he,te){var J={$$typeof:t,type:a,key:C,ref:k,props:te,_owner:he};return J._store={},Object.defineProperty(J._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(J,"_self",{configurable:!1,enumerable:!1,writable:!1,value:L}),Object.defineProperty(J,"_source",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.freeze&&(Object.freeze(J.props),Object.freeze(J)),J};function pt(a,C,k,L,oe){{var he,te={},J=null,je=null;k!==void 0&&(Be(k),J=""+k),lt(C)&&(Be(C.key),J=""+C.key),ut(C)&&(je=C.ref,ft(C,oe));for(he in C)pe.call(C,he)&&!ze.hasOwnProperty(he)&&(te[he]=C[he]);if(a&&a.defaultProps){var Se=a.defaultProps;for(he in Se)te[he]===void 0&&(te[he]=Se[he])}if(J||je){var ke=typeof a=="function"?a.displayName||a.name||"Unknown":a;J&&Ze(te,ke),je&&$r(te,ke)}return dt(a,J,je,oe,L,Ve.current,te)}}var lr=W.ReactCurrentOwner,Fr=W.ReactDebugCurrentFrame;function He(a){if(a){var C=a._owner,k=G(a.type,a._source,C?C.type:null);Fr.setExtraStackFrame(k)}else Fr.setExtraStackFrame(null)}var nr;nr=!1;function Je(a){return typeof a=="object"&&a!==null&&a.$$typeof===t}function or(){{if(lr.current){var a=ae(lr.current.type);if(a)return`
60
-
61
- Check the render method of \``+a+"`."}return""}}function ht(a){{if(a!==void 0){var C=a.fileName.replace(/^.*[\\\/]/,""),k=a.lineNumber;return`
62
-
63
- Check your code at `+C+":"+k+"."}return""}}var jr={};function vt(a){{var C=or();if(!C){var k=typeof a=="string"?a:a.displayName||a.name;k&&(C=`
64
-
65
- Check the top-level render call using <`+k+">.")}return C}}function Ir(a,C){{if(!a._store||a._store.validated||a.key!=null)return;a._store.validated=!0;var k=vt(C);if(jr[k])return;jr[k]=!0;var L="";a&&a._owner&&a._owner!==lr.current&&(L=" It was passed a child from "+ae(a._owner.type)+"."),He(a),j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,L),He(null)}}function Dr(a,C){{if(typeof a!="object")return;if(Ye(a))for(var k=0;k<a.length;k++){var L=a[k];Je(L)&&Ir(L,C)}else if(Je(a))a._store&&(a._store.validated=!0);else if(a){var oe=v(a);if(typeof oe=="function"&&oe!==a.entries)for(var he=oe.call(a),te;!(te=he.next()).done;)Je(te.value)&&Ir(te.value,C)}}}function ar(a){{var C=a.type;if(C==null||typeof C=="string")return;var k;if(typeof C=="function")k=C.propTypes;else if(typeof C=="object"&&(C.$$typeof===y||C.$$typeof===P))k=C.propTypes;else return;if(k){var L=ae(C);ve(k,a.props,"prop",L,a)}else if(C.PropTypes!==void 0&&!nr){nr=!0;var oe=ae(C);j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof C.getDefaultProps=="function"&&!C.getDefaultProps.isReactClassApproved&&j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function gr(a){{for(var C=Object.keys(a.props),k=0;k<C.length;k++){var L=C[k];if(L!=="children"&&L!=="key"){He(a),j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",L),He(null);break}}a.ref!==null&&(He(a),j("Invalid attribute `ref` supplied to `React.Fragment`."),He(null))}}function br(a,C,k,L,oe,he){{var te=Ae(a);if(!te){var J="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(J+=" 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 je=ht(oe);je?J+=je:J+=or();var Se;a===null?Se="null":Ye(a)?Se="array":a!==void 0&&a.$$typeof===t?(Se="<"+(ae(a.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):Se=typeof a,j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Se,J)}var ke=pt(a,C,k,oe,he);if(ke==null)return ke;if(te){var Ne=C.children;if(Ne!==void 0)if(L)if(Ye(Ne)){for(var Qe=0;Qe<Ne.length;Qe++)Dr(Ne[Qe],a);Object.freeze&&Object.freeze(Ne)}else j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Dr(Ne,a)}return a===i?gr(ke):ar(ke),ke}}function mt(a,C,k){return br(a,C,k,!0)}function yt(a,C,k){return br(a,C,k,!1)}var gt=yt,bt=mt;vr.Fragment=i,vr.jsx=gt,vr.jsxs=bt}()),vr}process.env.NODE_ENV==="production"?Br.exports=On():Br.exports=$n();var Re=Br.exports,Gr={exports:{}},ie={};/**
66
- * @license React
67
- * react-is.production.min.js
68
- *
69
- * Copyright (c) Facebook, Inc. and its affiliates.
70
- *
71
- * This source code is licensed under the MIT license found in the
72
- * LICENSE file in the root directory of this source tree.
73
- */var Ft;function Fn(){if(Ft)return ie;Ft=1;var r=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),p=Symbol.for("react.context"),b=Symbol.for("react.server_context"),y=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),D=Symbol.for("react.offscreen"),$;$=Symbol.for("react.module.reference");function N(v){if(typeof v=="object"&&v!==null){var W=v.$$typeof;switch(W){case r:switch(v=v.type,v){case n:case l:case i:case x:case R:return v;default:switch(v=v&&v.$$typeof,v){case b:case p:case y:case I:case P:case h:return v;default:return W}}case t:return W}}}return ie.ContextConsumer=p,ie.ContextProvider=h,ie.Element=r,ie.ForwardRef=y,ie.Fragment=n,ie.Lazy=I,ie.Memo=P,ie.Portal=t,ie.Profiler=l,ie.StrictMode=i,ie.Suspense=x,ie.SuspenseList=R,ie.isAsyncMode=function(){return!1},ie.isConcurrentMode=function(){return!1},ie.isContextConsumer=function(v){return N(v)===p},ie.isContextProvider=function(v){return N(v)===h},ie.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===r},ie.isForwardRef=function(v){return N(v)===y},ie.isFragment=function(v){return N(v)===n},ie.isLazy=function(v){return N(v)===I},ie.isMemo=function(v){return N(v)===P},ie.isPortal=function(v){return N(v)===t},ie.isProfiler=function(v){return N(v)===l},ie.isStrictMode=function(v){return N(v)===i},ie.isSuspense=function(v){return N(v)===x},ie.isSuspenseList=function(v){return N(v)===R},ie.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===n||v===l||v===i||v===x||v===R||v===D||typeof v=="object"&&v!==null&&(v.$$typeof===I||v.$$typeof===P||v.$$typeof===h||v.$$typeof===p||v.$$typeof===y||v.$$typeof===$||v.getModuleId!==void 0)},ie.typeOf=N,ie}var se={};/**
74
- * @license React
75
- * react-is.development.js
76
- *
77
- * Copyright (c) Facebook, Inc. and its affiliates.
78
- *
79
- * This source code is licensed under the MIT license found in the
80
- * LICENSE file in the root directory of this source tree.
81
- */var jt;function jn(){return jt||(jt=1,process.env.NODE_ENV!=="production"&&function(){var r=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),p=Symbol.for("react.context"),b=Symbol.for("react.server_context"),y=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),D=Symbol.for("react.offscreen"),$=!1,N=!1,v=!1,W=!1,j=!1,z;z=Symbol.for("react.module.reference");function V(A){return!!(typeof A=="string"||typeof A=="function"||A===n||A===l||j||A===i||A===x||A===R||W||A===D||$||N||v||typeof A=="object"&&A!==null&&(A.$$typeof===I||A.$$typeof===P||A.$$typeof===h||A.$$typeof===p||A.$$typeof===y||A.$$typeof===z||A.getModuleId!==void 0))}function d(A){if(typeof A=="object"&&A!==null){var G=A.$$typeof;switch(G){case r:var pe=A.type;switch(pe){case n:case l:case i:case x:case R:return pe;default:var X=pe&&pe.$$typeof;switch(X){case b:case p:case y:case I:case P:case h:return X;default:return G}}case t:return G}}}var ee=p,Ee=h,ye=r,Ce=y,Ae=n,$e=I,be=P,ae=t,fe=l,re=i,Pe=x,F=R,de=!1,Fe=!1;function s(A){return de||(de=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function S(A){return Fe||(Fe=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function g(A){return d(A)===p}function w(A){return d(A)===h}function _(A){return typeof A=="object"&&A!==null&&A.$$typeof===r}function O(A){return d(A)===y}function c(A){return d(A)===n}function M(A){return d(A)===I}function m(A){return d(A)===P}function H(A){return d(A)===t}function K(A){return d(A)===l}function Z(A){return d(A)===i}function E(A){return d(A)===x}function le(A){return d(A)===R}se.ContextConsumer=ee,se.ContextProvider=Ee,se.Element=ye,se.ForwardRef=Ce,se.Fragment=Ae,se.Lazy=$e,se.Memo=be,se.Portal=ae,se.Profiler=fe,se.StrictMode=re,se.Suspense=Pe,se.SuspenseList=F,se.isAsyncMode=s,se.isConcurrentMode=S,se.isContextConsumer=g,se.isContextProvider=w,se.isElement=_,se.isForwardRef=O,se.isFragment=c,se.isLazy=M,se.isMemo=m,se.isPortal=H,se.isProfiler=K,se.isStrictMode=Z,se.isSuspense=E,se.isSuspenseList=le,se.isValidElementType=V,se.typeOf=d}()),se}process.env.NODE_ENV==="production"?Gr.exports=Fn():Gr.exports=jn();var qr=Gr.exports,er=Hr();const _r=ir(er);function In(r){function t(g,w,_,O,c){for(var M=0,m=0,H=0,K=0,Z,E,le=0,A=0,G,pe=G=Z=0,X=0,Te=0,Me=0,ve=0,Le=_.length,Ye=Le-1,De,U="",me="",Be="",Ve="",ze;X<Le;){if(E=_.charCodeAt(X),X===Ye&&m+K+H+M!==0&&(m!==0&&(E=m===47?10:47),K=H=M=0,Le++,Ye++),m+K+H+M===0){if(X===Ye&&(0<Te&&(U=U.replace(I,"")),0<U.trim().length)){switch(E){case 32:case 9:case 59:case 13:case 10:break;default:U+=_.charAt(X)}E=59}switch(E){case 123:for(U=U.trim(),Z=U.charCodeAt(0),G=1,ve=++X;X<Le;){switch(E=_.charCodeAt(X)){case 123:G++;break;case 125:G--;break;case 47:switch(E=_.charCodeAt(X+1)){case 42:case 47:e:{for(pe=X+1;pe<Ye;++pe)switch(_.charCodeAt(pe)){case 47:if(E===42&&_.charCodeAt(pe-1)===42&&X+2!==pe){X=pe+1;break e}break;case 10:if(E===47){X=pe+1;break e}}X=pe}}break;case 91:E++;case 40:E++;case 34:case 39:for(;X++<Ye&&_.charCodeAt(X)!==E;);}if(G===0)break;X++}switch(G=_.substring(ve,X),Z===0&&(Z=(U=U.replace(P,"").trim()).charCodeAt(0)),Z){case 64:switch(0<Te&&(U=U.replace(I,"")),E=U.charCodeAt(1),E){case 100:case 109:case 115:case 45:Te=w;break;default:Te=Pe}if(G=t(w,Te,G,E,c+1),ve=G.length,0<de&&(Te=n(Pe,U,Me),ze=b(3,G,Te,w,ae,be,ve,E,c,O),U=Te.join(""),ze!==void 0&&(ve=(G=ze.trim()).length)===0&&(E=0,G="")),0<ve)switch(E){case 115:U=U.replace(ee,p);case 100:case 109:case 45:G=U+"{"+G+"}";break;case 107:U=U.replace(j,"$1 $2"),G=U+"{"+G+"}",G=re===1||re===2&&h("@"+G,3)?"@-webkit-"+G+"@"+G:"@"+G;break;default:G=U+G,O===112&&(G=(me+=G,""))}else G="";break;default:G=t(w,n(w,U,Me),G,O,c+1)}Be+=G,G=Me=Te=pe=Z=0,U="",E=_.charCodeAt(++X);break;case 125:case 59:if(U=(0<Te?U.replace(I,""):U).trim(),1<(ve=U.length))switch(pe===0&&(Z=U.charCodeAt(0),Z===45||96<Z&&123>Z)&&(ve=(U=U.replace(" ",":")).length),0<de&&(ze=b(1,U,w,g,ae,be,me.length,O,c,O))!==void 0&&(ve=(U=ze.trim()).length)===0&&(U="\0\0"),Z=U.charCodeAt(0),E=U.charCodeAt(1),Z){case 0:break;case 64:if(E===105||E===99){Ve+=U+_.charAt(X);break}default:U.charCodeAt(ve-1)!==58&&(me+=l(U,Z,E,U.charCodeAt(2)))}Me=Te=pe=Z=0,U="",E=_.charCodeAt(++X)}}switch(E){case 13:case 10:m===47?m=0:1+Z===0&&O!==107&&0<U.length&&(Te=1,U+="\0"),0<de*s&&b(0,U,w,g,ae,be,me.length,O,c,O),be=1,ae++;break;case 59:case 125:if(m+K+H+M===0){be++;break}default:switch(be++,De=_.charAt(X),E){case 9:case 32:if(K+M+m===0)switch(le){case 44:case 58:case 9:case 32:De="";break;default:E!==32&&(De=" ")}break;case 0:De="\\0";break;case 12:De="\\f";break;case 11:De="\\v";break;case 38:K+m+M===0&&(Te=Me=1,De="\f"+De);break;case 108:if(K+m+M+fe===0&&0<pe)switch(X-pe){case 2:le===112&&_.charCodeAt(X-3)===58&&(fe=le);case 8:A===111&&(fe=A)}break;case 58:K+m+M===0&&(pe=X);break;case 44:m+H+K+M===0&&(Te=1,De+="\r");break;case 34:case 39:m===0&&(K=K===E?0:K===0?E:K);break;case 91:K+m+H===0&&M++;break;case 93:K+m+H===0&&M--;break;case 41:K+m+M===0&&H--;break;case 40:if(K+m+M===0){if(Z===0)switch(2*le+3*A){case 533:break;default:Z=1}H++}break;case 64:m+H+K+M+pe+G===0&&(G=1);break;case 42:case 47:if(!(0<K+M+H))switch(m){case 0:switch(2*E+3*_.charCodeAt(X+1)){case 235:m=47;break;case 220:ve=X,m=42}break;case 42:E===47&&le===42&&ve+2!==X&&(_.charCodeAt(ve+2)===33&&(me+=_.substring(ve,X+1)),De="",m=0)}}m===0&&(U+=De)}A=le,le=E,X++}if(ve=me.length,0<ve){if(Te=w,0<de&&(ze=b(2,me,Te,g,ae,be,ve,O,c,O),ze!==void 0&&(me=ze).length===0))return Ve+me+Be;if(me=Te.join(",")+"{"+me+"}",re*fe!==0){switch(re!==2||h(me,2)||(fe=0),fe){case 111:me=me.replace(V,":-moz-$1")+me;break;case 112:me=me.replace(z,"::-webkit-input-$1")+me.replace(z,"::-moz-$1")+me.replace(z,":-ms-input-$1")+me}fe=0}}return Ve+me+Be}function n(g,w,_){var O=w.trim().split(v);w=O;var c=O.length,M=g.length;switch(M){case 0:case 1:var m=0;for(g=M===0?"":g[0]+" ";m<c;++m)w[m]=i(g,w[m],_).trim();break;default:var H=m=0;for(w=[];m<c;++m)for(var K=0;K<M;++K)w[H++]=i(g[K]+" ",O[m],_).trim()}return w}function i(g,w,_){var O=w.charCodeAt(0);switch(33>O&&(O=(w=w.trim()).charCodeAt(0)),O){case 38:return w.replace(W,"$1"+g.trim());case 58:return g.trim()+w.replace(W,"$1"+g.trim());default:if(0<1*_&&0<w.indexOf("\f"))return w.replace(W,(g.charCodeAt(0)===58?"":"$1")+g.trim())}return g+w}function l(g,w,_,O){var c=g+";",M=2*w+3*_+4*O;if(M===944){g=c.indexOf(":",9)+1;var m=c.substring(g,c.length-1).trim();return m=c.substring(0,g).trim()+m+";",re===1||re===2&&h(m,1)?"-webkit-"+m+m:m}if(re===0||re===2&&!h(c,1))return c;switch(M){case 1015:return c.charCodeAt(10)===97?"-webkit-"+c+c:c;case 951:return c.charCodeAt(3)===116?"-webkit-"+c+c:c;case 963:return c.charCodeAt(5)===110?"-webkit-"+c+c:c;case 1009:if(c.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+c+c;case 978:return"-webkit-"+c+"-moz-"+c+c;case 1019:case 983:return"-webkit-"+c+"-moz-"+c+"-ms-"+c+c;case 883:if(c.charCodeAt(8)===45)return"-webkit-"+c+c;if(0<c.indexOf("image-set(",11))return c.replace($e,"$1-webkit-$2")+c;break;case 932:if(c.charCodeAt(4)===45)switch(c.charCodeAt(5)){case 103:return"-webkit-box-"+c.replace("-grow","")+"-webkit-"+c+"-ms-"+c.replace("grow","positive")+c;case 115:return"-webkit-"+c+"-ms-"+c.replace("shrink","negative")+c;case 98:return"-webkit-"+c+"-ms-"+c.replace("basis","preferred-size")+c}return"-webkit-"+c+"-ms-"+c+c;case 964:return"-webkit-"+c+"-ms-flex-"+c+c;case 1023:if(c.charCodeAt(8)!==99)break;return m=c.substring(c.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+m+"-webkit-"+c+"-ms-flex-pack"+m+c;case 1005:return $.test(c)?c.replace(D,":-webkit-")+c.replace(D,":-moz-")+c:c;case 1e3:switch(m=c.substring(13).trim(),w=m.indexOf("-")+1,m.charCodeAt(0)+m.charCodeAt(w)){case 226:m=c.replace(d,"tb");break;case 232:m=c.replace(d,"tb-rl");break;case 220:m=c.replace(d,"lr");break;default:return c}return"-webkit-"+c+"-ms-"+m+c;case 1017:if(c.indexOf("sticky",9)===-1)break;case 975:switch(w=(c=g).length-10,m=(c.charCodeAt(w)===33?c.substring(0,w):c).substring(g.indexOf(":",7)+1).trim(),M=m.charCodeAt(0)+(m.charCodeAt(7)|0)){case 203:if(111>m.charCodeAt(8))break;case 115:c=c.replace(m,"-webkit-"+m)+";"+c;break;case 207:case 102:c=c.replace(m,"-webkit-"+(102<M?"inline-":"")+"box")+";"+c.replace(m,"-webkit-"+m)+";"+c.replace(m,"-ms-"+m+"box")+";"+c}return c+";";case 938:if(c.charCodeAt(5)===45)switch(c.charCodeAt(6)){case 105:return m=c.replace("-items",""),"-webkit-"+c+"-webkit-box-"+m+"-ms-flex-"+m+c;case 115:return"-webkit-"+c+"-ms-flex-item-"+c.replace(ye,"")+c;default:return"-webkit-"+c+"-ms-flex-line-pack"+c.replace("align-content","").replace(ye,"")+c}break;case 973:case 989:if(c.charCodeAt(3)!==45||c.charCodeAt(4)===122)break;case 931:case 953:if(Ae.test(g)===!0)return(m=g.substring(g.indexOf(":")+1)).charCodeAt(0)===115?l(g.replace("stretch","fill-available"),w,_,O).replace(":fill-available",":stretch"):c.replace(m,"-webkit-"+m)+c.replace(m,"-moz-"+m.replace("fill-",""))+c;break;case 962:if(c="-webkit-"+c+(c.charCodeAt(5)===102?"-ms-"+c:"")+c,_+O===211&&c.charCodeAt(13)===105&&0<c.indexOf("transform",10))return c.substring(0,c.indexOf(";",27)+1).replace(N,"$1-webkit-$2")+c}return c}function h(g,w){var _=g.indexOf(w===1?":":"{"),O=g.substring(0,w!==3?_:10);return _=g.substring(_+1,g.length-1),Fe(w!==2?O:O.replace(Ce,"$1"),_,w)}function p(g,w){var _=l(w,w.charCodeAt(0),w.charCodeAt(1),w.charCodeAt(2));return _!==w+";"?_.replace(Ee," or ($1)").substring(4):"("+w+")"}function b(g,w,_,O,c,M,m,H,K,Z){for(var E=0,le=w,A;E<de;++E)switch(A=F[E].call(R,g,le,_,O,c,M,m,H,K,Z)){case void 0:case!1:case!0:case null:break;default:le=A}if(le!==w)return le}function y(g){switch(g){case void 0:case null:de=F.length=0;break;default:if(typeof g=="function")F[de++]=g;else if(typeof g=="object")for(var w=0,_=g.length;w<_;++w)y(g[w]);else s=!!g|0}return y}function x(g){return g=g.prefix,g!==void 0&&(Fe=null,g?typeof g!="function"?re=1:(re=2,Fe=g):re=0),x}function R(g,w){var _=g;if(33>_.charCodeAt(0)&&(_=_.trim()),S=_,_=[S],0<de){var O=b(-1,w,_,_,ae,be,0,0,0,0);O!==void 0&&typeof O=="string"&&(w=O)}var c=t(Pe,_,w,0,0);return 0<de&&(O=b(-2,c,_,_,ae,be,c.length,0,0,0),O!==void 0&&(c=O)),S="",fe=0,be=ae=1,c}var P=/^\0+/g,I=/[\0\r\f]/g,D=/: */g,$=/zoo|gra/,N=/([,: ])(transform)/g,v=/,\r+?/g,W=/([\t\r\n ])*\f?&/g,j=/@(k\w+)\s*(\S*)\s*/,z=/::(place)/g,V=/:(read-only)/g,d=/[svh]\w+-[tblr]{2}/,ee=/\(\s*(.*)\s*\)/g,Ee=/([\s\S]*?);/g,ye=/-self|flex-/g,Ce=/[^]*?(:[rp][el]a[\w-]+)[^]*/,Ae=/stretch|:\s*\w+\-(?:conte|avail)/,$e=/([^-])(image-set\()/,be=1,ae=1,fe=0,re=1,Pe=[],F=[],de=0,Fe=null,s=0,S="";return R.use=y,R.set=x,r!==void 0&&x(r),R}var Dn={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};function Nn(r){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=r(n)),t[n]}}var Mn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|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|enterKeyHint|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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)-.*))$/,It=Nn(function(r){return Mn.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),Kr={exports:{}},ce={};/** @license React v16.13.1
82
- * react-is.production.min.js
83
- *
84
- * Copyright (c) Facebook, Inc. and its affiliates.
85
- *
86
- * This source code is licensed under the MIT license found in the
87
- * LICENSE file in the root directory of this source tree.
88
- */var Dt;function Ln(){if(Dt)return ce;Dt=1;var r=typeof Symbol=="function"&&Symbol.for,t=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,h=r?Symbol.for("react.profiler"):60114,p=r?Symbol.for("react.provider"):60109,b=r?Symbol.for("react.context"):60110,y=r?Symbol.for("react.async_mode"):60111,x=r?Symbol.for("react.concurrent_mode"):60111,R=r?Symbol.for("react.forward_ref"):60112,P=r?Symbol.for("react.suspense"):60113,I=r?Symbol.for("react.suspense_list"):60120,D=r?Symbol.for("react.memo"):60115,$=r?Symbol.for("react.lazy"):60116,N=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,W=r?Symbol.for("react.responder"):60118,j=r?Symbol.for("react.scope"):60119;function z(d){if(typeof d=="object"&&d!==null){var ee=d.$$typeof;switch(ee){case t:switch(d=d.type,d){case y:case x:case i:case h:case l:case P:return d;default:switch(d=d&&d.$$typeof,d){case b:case R:case $:case D:case p:return d;default:return ee}}case n:return ee}}}function V(d){return z(d)===x}return ce.AsyncMode=y,ce.ConcurrentMode=x,ce.ContextConsumer=b,ce.ContextProvider=p,ce.Element=t,ce.ForwardRef=R,ce.Fragment=i,ce.Lazy=$,ce.Memo=D,ce.Portal=n,ce.Profiler=h,ce.StrictMode=l,ce.Suspense=P,ce.isAsyncMode=function(d){return V(d)||z(d)===y},ce.isConcurrentMode=V,ce.isContextConsumer=function(d){return z(d)===b},ce.isContextProvider=function(d){return z(d)===p},ce.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===t},ce.isForwardRef=function(d){return z(d)===R},ce.isFragment=function(d){return z(d)===i},ce.isLazy=function(d){return z(d)===$},ce.isMemo=function(d){return z(d)===D},ce.isPortal=function(d){return z(d)===n},ce.isProfiler=function(d){return z(d)===h},ce.isStrictMode=function(d){return z(d)===l},ce.isSuspense=function(d){return z(d)===P},ce.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===i||d===x||d===h||d===l||d===P||d===I||typeof d=="object"&&d!==null&&(d.$$typeof===$||d.$$typeof===D||d.$$typeof===p||d.$$typeof===b||d.$$typeof===R||d.$$typeof===v||d.$$typeof===W||d.$$typeof===j||d.$$typeof===N)},ce.typeOf=z,ce}var ue={};/** @license React v16.13.1
89
- * react-is.development.js
90
- *
91
- * Copyright (c) Facebook, Inc. and its affiliates.
92
- *
93
- * This source code is licensed under the MIT license found in the
94
- * LICENSE file in the root directory of this source tree.
95
- */var Nt;function Yn(){return Nt||(Nt=1,process.env.NODE_ENV!=="production"&&function(){var r=typeof Symbol=="function"&&Symbol.for,t=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,h=r?Symbol.for("react.profiler"):60114,p=r?Symbol.for("react.provider"):60109,b=r?Symbol.for("react.context"):60110,y=r?Symbol.for("react.async_mode"):60111,x=r?Symbol.for("react.concurrent_mode"):60111,R=r?Symbol.for("react.forward_ref"):60112,P=r?Symbol.for("react.suspense"):60113,I=r?Symbol.for("react.suspense_list"):60120,D=r?Symbol.for("react.memo"):60115,$=r?Symbol.for("react.lazy"):60116,N=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,W=r?Symbol.for("react.responder"):60118,j=r?Symbol.for("react.scope"):60119;function z(E){return typeof E=="string"||typeof E=="function"||E===i||E===x||E===h||E===l||E===P||E===I||typeof E=="object"&&E!==null&&(E.$$typeof===$||E.$$typeof===D||E.$$typeof===p||E.$$typeof===b||E.$$typeof===R||E.$$typeof===v||E.$$typeof===W||E.$$typeof===j||E.$$typeof===N)}function V(E){if(typeof E=="object"&&E!==null){var le=E.$$typeof;switch(le){case t:var A=E.type;switch(A){case y:case x:case i:case h:case l:case P:return A;default:var G=A&&A.$$typeof;switch(G){case b:case R:case $:case D:case p:return G;default:return le}}case n:return le}}}var d=y,ee=x,Ee=b,ye=p,Ce=t,Ae=R,$e=i,be=$,ae=D,fe=n,re=h,Pe=l,F=P,de=!1;function Fe(E){return de||(de=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),s(E)||V(E)===y}function s(E){return V(E)===x}function S(E){return V(E)===b}function g(E){return V(E)===p}function w(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function _(E){return V(E)===R}function O(E){return V(E)===i}function c(E){return V(E)===$}function M(E){return V(E)===D}function m(E){return V(E)===n}function H(E){return V(E)===h}function K(E){return V(E)===l}function Z(E){return V(E)===P}ue.AsyncMode=d,ue.ConcurrentMode=ee,ue.ContextConsumer=Ee,ue.ContextProvider=ye,ue.Element=Ce,ue.ForwardRef=Ae,ue.Fragment=$e,ue.Lazy=be,ue.Memo=ae,ue.Portal=fe,ue.Profiler=re,ue.StrictMode=Pe,ue.Suspense=F,ue.isAsyncMode=Fe,ue.isConcurrentMode=s,ue.isContextConsumer=S,ue.isContextProvider=g,ue.isElement=w,ue.isForwardRef=_,ue.isFragment=O,ue.isLazy=c,ue.isMemo=M,ue.isPortal=m,ue.isProfiler=H,ue.isStrictMode=K,ue.isSuspense=Z,ue.isValidElementType=z,ue.typeOf=V}()),ue}process.env.NODE_ENV==="production"?Kr.exports=Ln():Kr.exports=Yn();var Vn=Kr.exports,Xr=Vn,zn={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Wn={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Un={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Mt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Zr={};Zr[Xr.ForwardRef]=Un,Zr[Xr.Memo]=Mt;function Lt(r){return Xr.isMemo(r)?Mt:Zr[r.$$typeof]||zn}var Bn=Object.defineProperty,Hn=Object.getOwnPropertyNames,Yt=Object.getOwnPropertySymbols,Gn=Object.getOwnPropertyDescriptor,qn=Object.getPrototypeOf,Vt=Object.prototype;function zt(r,t,n){if(typeof t!="string"){if(Vt){var i=qn(t);i&&i!==Vt&&zt(r,i,n)}var l=Hn(t);Yt&&(l=l.concat(Yt(t)));for(var h=Lt(r),p=Lt(t),b=0;b<l.length;++b){var y=l[b];if(!Wn[y]&&!(n&&n[y])&&!(p&&p[y])&&!(h&&h[y])){var x=Gn(t,y);try{Bn(r,y,x)}catch{}}}}return r}var Kn=zt;const Xn=ir(Kn);function Ue(){return(Ue=Object.assign||function(r){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r}).apply(this,arguments)}var Wt=function(r,t){for(var n=[r[0]],i=0,l=t.length;i<l;i+=1)n.push(t[i],r[i+1]);return n},Jr=function(r){return r!==null&&typeof r=="object"&&(r.toString?r.toString():Object.prototype.toString.call(r))==="[object Object]"&&!qr.typeOf(r)},Cr=Object.freeze([]),qe=Object.freeze({});function mr(r){return typeof r=="function"}function Qr(r){return process.env.NODE_ENV!=="production"&&typeof r=="string"&&r||r.displayName||r.name||"Component"}function et(r){return r&&typeof r.styledComponentId=="string"}var sr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",rt=typeof window<"u"&&"HTMLElement"in window,Zn=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production")),Jn=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
96
-
97
- `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
98
-
99
- - Are you trying to reuse it across renders?
100
- - Are you accidentally calling collectStyles twice?
101
-
102
- `,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
103
-
104
- `,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
105
-
106
- - Does this error occur on the client and is your target falsy?
107
- - Does this error occur on the server and is the sheet falsy?
108
-
109
- `,5:`The clone method cannot be used on the client!
110
-
111
- - Are you running in a client-like environment on the server?
112
- - Are you trying to run SSR on the client?
113
-
114
- `,6:`Trying to insert a new style tag, but the given Node is unmounted!
115
-
116
- - Are you using a custom target that isn't mounted?
117
- - Does your document not have a valid head element?
118
- - Have you accidentally removed a style tag manually?
119
-
120
- `,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
121
-
122
- `,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
123
-
124
- `,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
125
-
126
- `,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
127
-
128
- `,14:`ThemeProvider: "theme" prop is required.
129
-
130
- `,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
131
- You may only create up to 1,073,741,824 components. If you're creating components dynamically,
132
- as for instance in your render method then you may be running into this limitation.
133
-
134
- `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
135
- Has styled-components' style tag been unmounted or altered by another script?
136
- `}:{};function Qn(){for(var r=arguments.length<=0?void 0:arguments[0],t=[],n=1,i=arguments.length;n<i;n+=1)t.push(n<0||arguments.length<=n?void 0:arguments[n]);return t.forEach(function(l){r=r.replace(/%[a-z]/,l)}),r}function cr(r){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];throw process.env.NODE_ENV==="production"?new Error("An error occurred. See https://git.io/JUIaE#"+r+" for more information."+(n.length>0?" Args: "+n.join(", "):"")):new Error(Qn.apply(void 0,[Jn[r]].concat(n)).trim())}var eo=function(){function r(n){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=n}var t=r.prototype;return t.indexOfGroup=function(n){for(var i=0,l=0;l<n;l++)i+=this.groupSizes[l];return i},t.insertRules=function(n,i){if(n>=this.groupSizes.length){for(var l=this.groupSizes,h=l.length,p=h;n>=p;)(p<<=1)<0&&cr(16,""+n);this.groupSizes=new Uint32Array(p),this.groupSizes.set(l),this.length=p;for(var b=h;b<p;b++)this.groupSizes[b]=0}for(var y=this.indexOfGroup(n+1),x=0,R=i.length;x<R;x++)this.tag.insertRule(y,i[x])&&(this.groupSizes[n]++,y++)},t.clearGroup=function(n){if(n<this.length){var i=this.groupSizes[n],l=this.indexOfGroup(n),h=l+i;this.groupSizes[n]=0;for(var p=l;p<h;p++)this.tag.deleteRule(l)}},t.getGroup=function(n){var i="";if(n>=this.length||this.groupSizes[n]===0)return i;for(var l=this.groupSizes[n],h=this.indexOfGroup(n),p=h+l,b=h;b<p;b++)i+=this.tag.getRule(b)+`/*!sc*/
137
- `;return i},r}(),Sr=new Map,xr=new Map,yr=1,Rr=function(r){if(Sr.has(r))return Sr.get(r);for(;xr.has(yr);)yr++;var t=yr++;return process.env.NODE_ENV!=="production"&&((0|t)<0||t>1<<30)&&cr(16,""+t),Sr.set(r,t),xr.set(t,r),t},ro=function(r){return xr.get(r)},to=function(r,t){t>=yr&&(yr=t+1),Sr.set(r,t),xr.set(t,r)},no="style["+sr+'][data-styled-version="5.3.11"]',oo=new RegExp("^"+sr+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),ao=function(r,t,n){for(var i,l=n.split(","),h=0,p=l.length;h<p;h++)(i=l[h])&&r.registerName(t,i)},io=function(r,t){for(var n=(t.textContent||"").split(`/*!sc*/
138
- `),i=[],l=0,h=n.length;l<h;l++){var p=n[l].trim();if(p){var b=p.match(oo);if(b){var y=0|parseInt(b[1],10),x=b[2];y!==0&&(to(x,y),ao(r,x,b[3]),r.getTag().insertRules(y,i)),i.length=0}else i.push(p)}}},so=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null},Ut=function(r){var t=document.head,n=r||t,i=document.createElement("style"),l=function(b){for(var y=b.childNodes,x=y.length;x>=0;x--){var R=y[x];if(R&&R.nodeType===1&&R.hasAttribute(sr))return R}}(n),h=l!==void 0?l.nextSibling:null;i.setAttribute(sr,"active"),i.setAttribute("data-styled-version","5.3.11");var p=so();return p&&i.setAttribute("nonce",p),n.insertBefore(i,h),i},co=function(){function r(n){var i=this.element=Ut(n);i.appendChild(document.createTextNode("")),this.sheet=function(l){if(l.sheet)return l.sheet;for(var h=document.styleSheets,p=0,b=h.length;p<b;p++){var y=h[p];if(y.ownerNode===l)return y}cr(17)}(i),this.length=0}var t=r.prototype;return t.insertRule=function(n,i){try{return this.sheet.insertRule(i,n),this.length++,!0}catch{return!1}},t.deleteRule=function(n){this.sheet.deleteRule(n),this.length--},t.getRule=function(n){var i=this.sheet.cssRules[n];return i!==void 0&&typeof i.cssText=="string"?i.cssText:""},r}(),uo=function(){function r(n){var i=this.element=Ut(n);this.nodes=i.childNodes,this.length=0}var t=r.prototype;return t.insertRule=function(n,i){if(n<=this.length&&n>=0){var l=document.createTextNode(i),h=this.nodes[n];return this.element.insertBefore(l,h||null),this.length++,!0}return!1},t.deleteRule=function(n){this.element.removeChild(this.nodes[n]),this.length--},t.getRule=function(n){return n<this.length?this.nodes[n].textContent:""},r}(),lo=function(){function r(n){this.rules=[],this.length=0}var t=r.prototype;return t.insertRule=function(n,i){return n<=this.length&&(this.rules.splice(n,0,i),this.length++,!0)},t.deleteRule=function(n){this.rules.splice(n,1),this.length--},t.getRule=function(n){return n<this.length?this.rules[n]:""},r}(),Bt=rt,fo={isServer:!rt,useCSSOMInjection:!Zn},Ht=function(){function r(n,i,l){n===void 0&&(n=qe),i===void 0&&(i={}),this.options=Ue({},fo,{},n),this.gs=i,this.names=new Map(l),this.server=!!n.isServer,!this.server&&rt&&Bt&&(Bt=!1,function(h){for(var p=document.querySelectorAll(no),b=0,y=p.length;b<y;b++){var x=p[b];x&&x.getAttribute(sr)!=="active"&&(io(h,x),x.parentNode&&x.parentNode.removeChild(x))}}(this))}r.registerId=function(n){return Rr(n)};var t=r.prototype;return t.reconstructWithOptions=function(n,i){return i===void 0&&(i=!0),new r(Ue({},this.options,{},n),this.gs,i&&this.names||void 0)},t.allocateGSInstance=function(n){return this.gs[n]=(this.gs[n]||0)+1},t.getTag=function(){return this.tag||(this.tag=(l=(i=this.options).isServer,h=i.useCSSOMInjection,p=i.target,n=l?new lo(p):h?new co(p):new uo(p),new eo(n)));var n,i,l,h,p},t.hasNameForId=function(n,i){return this.names.has(n)&&this.names.get(n).has(i)},t.registerName=function(n,i){if(Rr(n),this.names.has(n))this.names.get(n).add(i);else{var l=new Set;l.add(i),this.names.set(n,l)}},t.insertRules=function(n,i,l){this.registerName(n,i),this.getTag().insertRules(Rr(n),l)},t.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},t.clearRules=function(n){this.getTag().clearGroup(Rr(n)),this.clearNames(n)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(n){for(var i=n.getTag(),l=i.length,h="",p=0;p<l;p++){var b=ro(p);if(b!==void 0){var y=n.names.get(b),x=i.getGroup(p);if(y&&x&&y.size){var R=sr+".g"+p+'[id="'+b+'"]',P="";y!==void 0&&y.forEach(function(I){I.length>0&&(P+=I+",")}),h+=""+x+R+'{content:"'+P+`"}/*!sc*/
139
- `}}}return h}(this)},r}(),po=/(a)(d)/gi,Gt=function(r){return String.fromCharCode(r+(r>25?39:97))};function tt(r){var t,n="";for(t=Math.abs(r);t>52;t=t/52|0)n=Gt(t%52)+n;return(Gt(t%52)+n).replace(po,"$1-$2")}var rr=function(r,t){for(var n=t.length;n;)r=33*r^t.charCodeAt(--n);return r},qt=function(r){return rr(5381,r)};function ho(r){for(var t=0;t<r.length;t+=1){var n=r[t];if(mr(n)&&!et(n))return!1}return!0}var vo=qt("5.3.11"),mo=function(){function r(t,n,i){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(i===void 0||i.isStatic)&&ho(t),this.componentId=n,this.baseHash=rr(vo,n),this.baseStyle=i,Ht.registerId(n)}return r.prototype.generateAndInjectStyles=function(t,n,i){var l=this.componentId,h=[];if(this.baseStyle&&h.push(this.baseStyle.generateAndInjectStyles(t,n,i)),this.isStatic&&!i.hash)if(this.staticRulesId&&n.hasNameForId(l,this.staticRulesId))h.push(this.staticRulesId);else{var p=ur(this.rules,t,n,i).join(""),b=tt(rr(this.baseHash,p)>>>0);if(!n.hasNameForId(l,b)){var y=i(p,"."+b,void 0,l);n.insertRules(l,b,y)}h.push(b),this.staticRulesId=b}else{for(var x=this.rules.length,R=rr(this.baseHash,i.hash),P="",I=0;I<x;I++){var D=this.rules[I];if(typeof D=="string")P+=D,process.env.NODE_ENV!=="production"&&(R=rr(R,D+I));else if(D){var $=ur(D,t,n,i),N=Array.isArray($)?$.join(""):$;R=rr(R,N+I),P+=N}}if(P){var v=tt(R>>>0);if(!n.hasNameForId(l,v)){var W=i(P,"."+v,void 0,l);n.insertRules(l,v,W)}h.push(v)}}return h.join(" ")},r}(),yo=/^\s*\/\/.*$/gm,go=[":","[",".","#"];function bo(r){var t,n,i,l,h=r===void 0?qe:r,p=h.options,b=p===void 0?qe:p,y=h.plugins,x=y===void 0?Cr:y,R=new In(b),P=[],I=function(N){function v(W){if(W)try{N(W+"}")}catch{}}return function(W,j,z,V,d,ee,Ee,ye,Ce,Ae){switch(W){case 1:if(Ce===0&&j.charCodeAt(0)===64)return N(j+";"),"";break;case 2:if(ye===0)return j+"/*|*/";break;case 3:switch(ye){case 102:case 112:return N(z[0]+j),"";default:return j+(Ae===0?"/*|*/":"")}case-2:j.split("/*|*/}").forEach(v)}}}(function(N){P.push(N)}),D=function(N,v,W){return v===0&&go.indexOf(W[n.length])!==-1||W.match(l)?N:"."+t};function $(N,v,W,j){j===void 0&&(j="&");var z=N.replace(yo,""),V=v&&W?W+" "+v+" { "+z+" }":z;return t=j,n=v,i=new RegExp("\\"+n+"\\b","g"),l=new RegExp("(\\"+n+"\\b){2,}"),R(W||!v?"":v,V)}return R.use([].concat(x,[function(N,v,W){N===2&&W.length&&W[0].lastIndexOf(n)>0&&(W[0]=W[0].replace(i,D))},I,function(N){if(N===-2){var v=P;return P=[],v}}])),$.hash=x.length?x.reduce(function(N,v){return v.name||cr(15),rr(N,v.name)},5381).toString():"",$}var Kt=_r.createContext();Kt.Consumer;var Xt=_r.createContext(),Eo=(Xt.Consumer,new Ht),nt=bo();function wo(){return er.useContext(Kt)||Eo}function _o(){return er.useContext(Xt)||nt}var Co=function(){function r(t,n){var i=this;this.inject=function(l,h){h===void 0&&(h=nt);var p=i.name+h.hash;l.hasNameForId(i.id,p)||l.insertRules(i.id,p,h(i.rules,p,"@keyframes"))},this.toString=function(){return cr(12,String(i.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=n}return r.prototype.getName=function(t){return t===void 0&&(t=nt),this.name+t.hash},r}(),So=/([A-Z])/,xo=/([A-Z])/g,Ro=/^ms-/,To=function(r){return"-"+r.toLowerCase()};function Zt(r){return So.test(r)?r.replace(xo,To).replace(Ro,"-ms-"):r}var Jt=function(r){return r==null||r===!1||r===""};function ur(r,t,n,i){if(Array.isArray(r)){for(var l,h=[],p=0,b=r.length;p<b;p+=1)(l=ur(r[p],t,n,i))!==""&&(Array.isArray(l)?h.push.apply(h,l):h.push(l));return h}if(Jt(r))return"";if(et(r))return"."+r.styledComponentId;if(mr(r)){if(typeof(x=r)!="function"||x.prototype&&x.prototype.isReactComponent||!t)return r;var y=r(t);return process.env.NODE_ENV!=="production"&&qr.isElement(y)&&console.warn(Qr(r)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),ur(y,t,n,i)}var x;return r instanceof Co?n?(r.inject(n,i),r.getName(i)):r:Jr(r)?function R(P,I){var D,$,N=[];for(var v in P)P.hasOwnProperty(v)&&!Jt(P[v])&&(Array.isArray(P[v])&&P[v].isCss||mr(P[v])?N.push(Zt(v)+":",P[v],";"):Jr(P[v])?N.push.apply(N,R(P[v],v)):N.push(Zt(v)+": "+(D=v,($=P[v])==null||typeof $=="boolean"||$===""?"":typeof $!="number"||$===0||D in Dn||D.startsWith("--")?String($).trim():$+"px")+";"));return I?[I+" {"].concat(N,["}"]):N}(r):r.toString()}var Qt=function(r){return Array.isArray(r)&&(r.isCss=!0),r};function Ke(r){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return mr(r)||Jr(r)?Qt(ur(Wt(Cr,[r].concat(n)))):n.length===0&&r.length===1&&typeof r[0]=="string"?r:Qt(ur(Wt(r,n)))}var en=/invalid hook call/i,Tr=new Set,ko=function(r,t){if(process.env.NODE_ENV!=="production"){var n="The component "+r+(t?' with the id of "'+t+'"':"")+` has been created dynamically.
140
- You may see this warning because you've called styled inside another component.
141
- To resolve this only create new StyledComponents outside of any render method and function component.`,i=console.error;try{var l=!0;console.error=function(h){if(en.test(h))l=!1,Tr.delete(n);else{for(var p=arguments.length,b=new Array(p>1?p-1:0),y=1;y<p;y++)b[y-1]=arguments[y];i.apply(void 0,[h].concat(b))}},er.useRef(),l&&!Tr.has(n)&&(console.warn(n),Tr.add(n))}catch(h){en.test(h.message)&&Tr.delete(n)}finally{console.error=i}}},Ao=function(r,t,n){return n===void 0&&(n=qe),r.theme!==n.theme&&r.theme||t||n.theme},Po=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Oo=/(^-|-$)/g;function ot(r){return r.replace(Po,"-").replace(Oo,"")}var $o=function(r){return tt(qt(r)>>>0)};function kr(r){return typeof r=="string"&&(process.env.NODE_ENV==="production"||r.charAt(0)===r.charAt(0).toLowerCase())}var at=function(r){return typeof r=="function"||typeof r=="object"&&r!==null&&!Array.isArray(r)},Fo=function(r){return r!=="__proto__"&&r!=="constructor"&&r!=="prototype"};function jo(r,t,n){var i=r[n];at(t)&&at(i)?rn(i,t):r[n]=t}function rn(r){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var l=0,h=n;l<h.length;l++){var p=h[l];if(at(p))for(var b in p)Fo(b)&&jo(r,p[b],b)}return r}var tn=_r.createContext();tn.Consumer;var it={};function nn(r,t,n){var i=et(r),l=!kr(r),h=t.attrs,p=h===void 0?Cr:h,b=t.componentId,y=b===void 0?function(j,z){var V=typeof j!="string"?"sc":ot(j);it[V]=(it[V]||0)+1;var d=V+"-"+$o("5.3.11"+V+it[V]);return z?z+"-"+d:d}(t.displayName,t.parentComponentId):b,x=t.displayName,R=x===void 0?function(j){return kr(j)?"styled."+j:"Styled("+Qr(j)+")"}(r):x,P=t.displayName&&t.componentId?ot(t.displayName)+"-"+t.componentId:t.componentId||y,I=i&&r.attrs?Array.prototype.concat(r.attrs,p).filter(Boolean):p,D=t.shouldForwardProp;i&&r.shouldForwardProp&&(D=t.shouldForwardProp?function(j,z,V){return r.shouldForwardProp(j,z,V)&&t.shouldForwardProp(j,z,V)}:r.shouldForwardProp);var $,N=new mo(n,P,i?r.componentStyle:void 0),v=N.isStatic&&p.length===0,W=function(j,z){return function(V,d,ee,Ee){var ye=V.attrs,Ce=V.componentStyle,Ae=V.defaultProps,$e=V.foldedComponentIds,be=V.shouldForwardProp,ae=V.styledComponentId,fe=V.target,re=function(O,c,M){O===void 0&&(O=qe);var m=Ue({},c,{theme:O}),H={};return M.forEach(function(K){var Z,E,le,A=K;for(Z in mr(A)&&(A=A(m)),A)m[Z]=H[Z]=Z==="className"?(E=H[Z],le=A[Z],E&&le?E+" "+le:E||le):A[Z]}),[m,H]}(Ao(d,er.useContext(tn),Ae)||qe,d,ye),Pe=re[0],F=re[1],de=function(O,c,M,m){var H=wo(),K=_o(),Z=c?O.generateAndInjectStyles(qe,H,K):O.generateAndInjectStyles(M,H,K);return process.env.NODE_ENV!=="production"&&!c&&m&&m(Z),Z}(Ce,Ee,Pe,process.env.NODE_ENV!=="production"?V.warnTooManyClasses:void 0),Fe=ee,s=F.$as||d.$as||F.as||d.as||fe,S=kr(s),g=F!==d?Ue({},d,{},F):d,w={};for(var _ in g)_[0]!=="$"&&_!=="as"&&(_==="forwardedAs"?w.as=g[_]:(be?be(_,It,s):!S||It(_))&&(w[_]=g[_]));return d.style&&F.style!==d.style&&(w.style=Ue({},d.style,{},F.style)),w.className=Array.prototype.concat($e,ae,de!==ae?de:null,d.className,F.className).filter(Boolean).join(" "),w.ref=Fe,er.createElement(s,w)}($,j,z,v)};return W.displayName=R,($=_r.forwardRef(W)).attrs=I,$.componentStyle=N,$.displayName=R,$.shouldForwardProp=D,$.foldedComponentIds=i?Array.prototype.concat(r.foldedComponentIds,r.styledComponentId):Cr,$.styledComponentId=P,$.target=i?r.target:r,$.withComponent=function(j){var z=t.componentId,V=function(ee,Ee){if(ee==null)return{};var ye,Ce,Ae={},$e=Object.keys(ee);for(Ce=0;Ce<$e.length;Ce++)ye=$e[Ce],Ee.indexOf(ye)>=0||(Ae[ye]=ee[ye]);return Ae}(t,["componentId"]),d=z&&z+"-"+(kr(j)?j:ot(Qr(j)));return nn(j,Ue({},V,{attrs:I,componentId:d}),n)},Object.defineProperty($,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(j){this._foldedDefaultProps=i?rn({},r.defaultProps,j):j}}),process.env.NODE_ENV!=="production"&&(ko(R,P),$.warnTooManyClasses=function(j,z){var V={},d=!1;return function(ee){if(!d&&(V[ee]=!0,Object.keys(V).length>=200)){var Ee=z?' with the id of "'+z+'"':"";console.warn("Over 200 classes were generated for component "+j+Ee+`.
142
- Consider using the attrs method, together with a style object for frequently changed styles.
143
- Example:
144
- const Component = styled.div.attrs(props => ({
145
- style: {
146
- background: props.background,
147
- },
148
- }))\`width: 100%;\`
149
-
150
- <Component />`),d=!0,V={}}}}(R,P)),Object.defineProperty($,"toString",{value:function(){return"."+$.styledComponentId}}),l&&Xn($,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),$}var st=function(r){return function t(n,i,l){if(l===void 0&&(l=qe),!qr.isValidElementType(i))return cr(1,String(i));var h=function(){return n(i,l,Ke.apply(void 0,arguments))};return h.withConfig=function(p){return t(n,i,Ue({},l,{},p))},h.attrs=function(p){return t(n,i,Ue({},l,{attrs:Array.prototype.concat(l.attrs,p).filter(Boolean)}))},h}(nn,r)};["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","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(r){st[r]=st(r)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
151
- Perhaps you're looking to import 'styled-components/native'?
152
- Read more about this at https://www.styled-components.com/docs/basics#react-native`),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,window["__styled-components-init__"]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
153
-
154
- See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]+=1);const Xe=st;var Ar;(r=>{(t=>{t.outline="outline",t.filled="filled",t.light="light",t.subtle="subtle"})(r.Variant||(r.Variant={})),(t=>{t[t.primary=0]="primary",t[t.secondary=1]="secondary",t[t.error=2]="error",t[t.success=3]="success",t[t.warning=4]="warning",t[t.tertiary=5]="tertiary"})(r.ButtonEnum||(r.ButtonEnum={}))})(Ar||(Ar={}));const Io=(r,t,n)=>{const{buttonColors:i,disabledColors:l,hoverColors:h,focusColors:p}=t,b=i[r],y=l[r],x=h[r],R=p[r];return!n&&r&&r in i?Ke`
155
- background-color: ${b};
156
- :hover {
157
- background-color: ${x};
158
- }
159
-
160
- :focus {
161
- box-shadow: 0px 0px 0px 4px ${R};
162
- }
163
- `:Ke`
164
- background-color: ${y};
165
- :hover {
166
- background-color: ${x};
167
- }
168
-
169
- :focus {
170
- box-shadow: 0px 0px 0px 4px ${R};
171
- }
172
- `},Do=(r,t,n)=>{const{buttonColors:i,disabledColors:l,hoverColors:h,focusColors:p}=t,b=i[r],y=l[r],x=h[r],R=p[r];return!n&&r&&r in i?Ke`
173
- background-color: transparent;
174
- border: 1px solid;
175
- color: ${b};
176
- border-color: color;
177
- :hover {
178
- background-color: ${x};
179
- }
180
-
181
- :focus {
182
- box-shadow: 0px 0px 0px 4px ${R};
183
- }
184
- `:Ke`
185
- background-color: transparent;
186
- border: 1px solid;
187
- color: ${y};
188
- border-color: ${y};
189
- :hover {
190
- background-color: ${x};
191
- }
192
-
193
- :focus {
194
- box-shadow: 0px 0px 0px 4px ${R};
195
- }
196
- `},No=r=>{const{buttontype:t,disabled:n,variant:i,theme:{secondary:{secondary100:l,secondary30:h,secondary90:p},grey:{greyHigh:b,greyLow:y,greyMedium:x,grey5:R},success:{successDark:P,successMedium:I},error:{errorHigh:D,errorLow:$},warning:{warningHigh:N,warningLow:v,warningMedium:W},tertiary:{tertiary100:j,tertiary30:z,tertiary90:V},green:{green5:d},red:{red050:ee}}}=r,$e={buttonColors:{primary:l,tertiary:j,secondary:b,error:D,success:P,warning:N},disabledColors:{primary:h,tertiary:z,secondary:y,error:$,success:I,warning:v},hoverColors:{primary:p,tertiary:V,secondary:x,error:$,success:I,warning:W},focusColors:{primary:h,tertiary:R,secondary:y,error:ee,success:d,warning:v}};if(i===Ar.Variant.filled)return Io(t,$e,n);if(i===Ar.Variant.outline)return Do(t,$e,n)},ct={subtitle:`
197
- font-weight: 400;
198
- font-size: 24px;
199
- line-height: 32px;
200
- letter-spacing: 0.5px;
201
- `,subtitle2:`
202
- font-weight: 400;
203
- font-size: 20px;
204
- line-height: 28px;
205
- letter-spacing: 0.5px;
206
- `,body:`
207
- font-weight: 400;
208
- font-size: 16px;
209
- line-height: 24px;
210
- `,bodyEm:`
211
- font-weight: 500;
212
- font-size: 16px;
213
- line-height: 20px;
214
- `,bodySm:`
215
- font-weight: 400;
216
- font-size: 14px;
217
- line-height: 20px;
218
- `,button:`
219
- font-style: normal;
220
- font-weight: 400;
221
- font-size: 16px;
222
- line-height: 24px;
223
- letter-spacing: 2px;
224
- text-transform: capitalize;
225
- `,prefix:`
226
- font-weight: 400;
227
- font-size: 12px;
228
- line-height: 16px;
229
- letter-spacing: 2px;
230
- text-transform: uppercase;
231
- `,caption:`
232
- font-weight: 400;
233
- font-size: 12px;
234
- line-height: 16px;
235
- `,link:`
236
- font-weight: 400;
237
- font-size: 14px;
238
- line-height: 20px;
239
- letter-spacing: 1px;
240
- text-decoration-line: underline;
241
- `},Mo=r=>{const{category:t}=r;return t?ct[t]:ct.body},Lo=Xe.div`
242
- ${({disabled:r,variant:t,theme:n,cursor:i,...l})=>Ke`
243
- border-radius: 8px;
244
- cursor: ${r?"not-allowed":i||"pointer"};
245
- button {
246
- display: flex;
247
- justify-content: center;
248
- align-items: center;
249
- padding: 12px 24px;
250
- min-width: 160px;
251
- width: 100%;
252
- transition: all 0.2s ease-in-out;
253
- border: 0;
254
- border-radius: 8px;
255
- color: ${n.white.white};
256
- background-color: ${n.secondary.secondary100};
257
- height: 40px;
258
- user-select: none;
259
- cursor: ${r?"not-allowed":i||"pointer"};
260
- outline: none;
261
-
262
- ${No({disabled:r,variant:t,theme:n,...l})}
263
- p {
264
- font-family: 'Poppins', sans-serif;
265
- ${ct.button}
266
- }
267
-
268
- ${t==="outline"&&`&:hover {
269
- p {
270
- color:white;
271
- }
272
- }`}
273
- }
274
- `}
275
- `,Yo=r=>{const{label:t="Button Label",buttontype:n="primary",disabled:i=!1,position:l,icon:h,onClick:p,variant:b="filled",...y}=r,x=R=>{i||p&&p(R)};return Re.jsx(Lo,{buttontype:n,disabled:i,variant:b,children:Re.jsx("button",{onClick:R=>x(R),disabled:i,...y,children:Re.jsx("p",{children:t})})})};function Vo({options:r,activeStep:t,onStepChange:n,direction:i,hasBottom:l,bottomOptions:h}){return Re.jsxs(zo,{hasBottom:l,direction:i,children:[Re.jsx("div",{className:"stepper-options",children:r&&r.map(p=>{const{id:b,icon:y}=p,x=t===b;return Re.jsx(Re.Fragment,{children:Re.jsxs("div",{"data-data-active":x?"true":"false",onClick:()=>{n(b)},className:"stepper-options__option",children:[y,p.hasAlert&&Re.jsx("div",{className:`stepper-alert ${b}`,children:Re.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 14 14",fill:"none",children:Re.jsx("path",{d:"M6.99992 0.333252C3.31992 0.333252 0.333252 3.31992 0.333252 6.99992C0.333252 10.6799 3.31992 13.6666 6.99992 13.6666C10.6799 13.6666 13.6666 10.6799 13.6666 6.99992C13.6666 3.31992 10.6799 0.333252 6.99992 0.333252ZM7.66659 10.3333H6.33325V8.99992H7.66659V10.3333ZM7.66659 7.66659H6.33325V3.66659H7.66659V7.66659Z",fill:"#E53935"})})})]},b)})})}),l&&Re.jsx("div",{className:"stepper-bottom",children:h&&h.map(p=>{const{id:b,icon:y}=p;return Re.jsx("div",{onClick:()=>{n(b)},className:"stepper-options__option bottom",children:y},b)})})]})}const zo=Xe.div`
276
- display: flex;
277
- height:100%;
278
- flex-direction: ${r=>`
279
- ${r.direction==="row"?"row":"column"};`};
280
-
281
- .stepper-bottom {
282
- display: flex;
283
- align-items: center;
284
- justify-content: space-between;
285
- flex: 1;
286
- bottom: 0px;
287
- background-color: transparent;
288
- height:100px;
289
-
290
- ${r=>Ke`
291
- flex-direction: ${r.direction&&r.direction&&r.direction==="row"?"row":"column"};
292
- align-items: center;
293
- ${r.hasBottom&&"justify-content:flex-end;"}
294
- border-left-style: solid;
295
- border-left-width: 1px;
296
- border-color: #e5e5e5;
297
- padding: ${r.direction==="row"?"0px 15px":"15px 0px"};
298
- `}
299
-
300
- .bottom {
301
- display: flex;
302
- align-items: center;
303
- justify-content: center;
304
- width: 48px;
305
- height: 48px;
306
- border-radius: 5px;
307
- background-color: transparent;
308
- cursor: pointer;
309
- margin: ${r=>r.direction==="row"?"0px 5px 0px 5px":"5px 0px 5px 0px"};
310
- svg {
311
- width: 17px;
312
- height: 17px;
313
- fill: black;
314
- }
315
-
316
- &:hover {
317
- background-color: #E0E0E0;
318
- svg {
319
- width: 17px;
320
- height: 17px;
321
- fill: black;
322
- }
323
- }
324
- }
325
- .active {
326
- background-color: #f4f5f9;
327
- svg {
328
- width: 20px;
329
- height: 20px;
330
- fill: black;
331
- }
332
- }
333
- }
334
-
335
- &__option {
336
- display: flex;
337
- align-items: center;
338
- justify-content: center;
339
- width: 48px;
340
- height: 48px;
341
- border-radius: 5px;
342
- background-color: transparent;
343
- cursor: pointer;
344
- margin: ${r=>r.direction==="row"?"0px 5px 0px 5px":"5px 0px 5px 0px"};
345
- svg {
346
- width: 20px;
347
- height: 20px;
348
- fill: black;
349
- }
350
-
351
- &[data-active="true"] {
352
- background-color: #ECC537;
353
- svg {
354
- width: 20px;
355
- height: 20px;
356
- fill: white;
357
- }
358
- }
359
-
360
- &:hover {
361
- background-color: #ECC537;
362
- svg {
363
- width: 20px;
364
- height: 20px;
365
- fill: white;
366
- }
367
- }
368
- }
369
- .active {
370
- background-color: #ECC537;
371
- svg {
372
- width: 20px;
373
- height: 20px;
374
- fill: white;
375
- }
376
- }
377
- }
378
-
379
- .stepper-alert {
380
- position:absolute;
381
- margin-right:-30px;
382
- margin-top:-10px;
383
- }
384
-
385
- .stepper-options {
386
- display: flex;
387
- flex: 1;
388
- background-color: white;
389
-
390
- ${r=>Ke`
391
- flex-direction: ${r.direction&&r.direction&&r.direction==="row"?"row":"column"};
392
- align-items: center;
393
- border-left-style: solid;
394
- border-left-width: 1px;
395
- border-color: #e5e5e5;
396
- padding: ${r.direction==="row"?"0px 15px":"15px 0px"};
397
- min-width: ${r.direction==="row"?"400px":"85px"};
398
- min-height: ${r.direction==="row"?"85px":"400px"};
399
- `}
400
-
401
- &__option {
402
- display: flex;
403
- align-items: center;
404
- justify-content: center;
405
- width: 48px;
406
- height: 48px;
407
- border-radius: 5px;
408
- background-color: transparent;
409
- cursor: pointer;
410
- margin: ${r=>r.direction==="row"?"0px 5px 0px 5px":"5px 0px 5px 0px"};
411
- svg {
412
- width: 20px;
413
- height: 20px;
414
- fill: black;
415
- }
416
-
417
- &[data-active="true"] {
418
- background-color: #ECC537;
419
- svg {
420
- width: 20px;
421
- height: 20px;
422
- fill: white;
423
- }
424
- }
425
-
426
- &:hover {
427
- background-color: #ECC537;
428
- svg {
429
- width: 20px;
430
- height: 20px;
431
- fill: white;
432
- }
433
- }
434
- }
435
- .active {
436
- background-color: #ECC537;
437
- svg {
438
- width: 20px;
439
- height: 20px;
440
- fill: white;
441
- }
442
- }
443
- }
444
- `,Wo=(r,t,n)=>t==="success"?r.success.successDark:t==="error"?r.error.errorMedium:n||r.text.primary,Uo=Xe.p`
445
- color: ${({type:r,theme:t,color:n})=>Wo(t,r,n)};
446
- font-family: 'Poppins', sans-serif;
447
- ${r=>Mo(r)}
448
- ${r=>r.type==="error"&&"font-size:14px;"}
449
- `,Bo=r=>{const{category:t="body",onClick:n,children:i,...l}=r;return Re.jsx(Uo,{onClick:h=>n&&n(h),category:t,...l,children:i})},on={...{primary:{primary100:"#0B1B2A",primary90:"#1C2E40",primary80:"#2A4055",primary70:"#39526B",primary60:"#455F7B",primary50:"#5F758F",primary40:"#455F7B",primary30:"#9CACC0",primary20:"#C0CEDE",primary10:"#E4EBF8",primary5:"#F9FAFD"},secondary:{secondary100:"#103FE8",secondary90:"#2852EA",secondary80:"#4065ED",secondary70:"#5879EF",secondary60:"#708CF1",secondary50:"#889FF4",secondary40:"#9FB2F6",secondary30:"#B7C5F8",secondary20:"#CFD9FA",secondary10:"#E7ECFD",secondary5:"#F3F5FE"},tertiary:{tertiary100:"#174189",tertiary90:"#2E5495",tertiary80:"#4567A1",tertiary70:"#5D7AAC",tertiary60:"#748DB8",tertiary50:"#8BA0C4",tertiary40:"#A2B3D0",tertiary30:"#B9C6DC",tertiary20:"#D1D9E7",tertiary10:"#E8ECF3",tertiary5:"#F3F5F9"},accent:{accent500:"#BD9E2C",accent100:"#ECC537",accent50:"#F4DC87"},link:{linkHigh:"#002C99",linkMedium:"#0053CB",linkLow:"#5D7FFF"},error:{errorHigh:"#AB000D",errorMedium:"#E53935",errorLow:"#FF6F60"},success:{successDark:"#009624",successMedium:"#00C853",successLow:"#5EFC82"},black:{blackHigh:"#212121",blackMedium:"#666666",blackLow:"#757575",black:"#000000"},white:{white:"#FFFFFF"},grey:{grey5:"##F9FAFD",grey20:"#C0CEDE",grey30:"#9CACC0",grey90:"#1C2E40",greyHigh:"#C2C2C2",greyMedium:"#E5E5E5",greyLow:"#F5F5F5"},warning:{warningHigh:"#C67100",warningMedium:"#FFA000",warningLow:"#FFD149"},disabled:{disabledHigh:"#B1B1B1",disabledMedium:"#CFCFCF",disabledLow:"#ECECEC"},text:{primary:"#24292E"},input:{focused:"0px 0px 0px 4px rgba(16, 63, 232, 0.25)",focusedShadow:"0px 0px 0px 4px rgba(16, 63, 232, 0.25)",focusedShadowError:" 0px 0px 0px 4px rgba(239, 68, 68, 0.25)"},green:{green40:"#2DA170",green5:"#F1FAF4"},blue:{blue5:"#F6F8FE"},red:{red050:"#FDF2F2"},scrollbar:{track:"#F2F5FA",thumb:"#9CACC0"}}};Xe.div`
450
- display: flex;
451
- width: 100%;
452
- `;const Ho=Xe.div`
453
- /* Fading animation */
454
- .fade {
455
- animation-name: fade;
456
- animation-duration: 1.5s;
457
- }
458
-
459
- @keyframes fade {
460
- from {
461
- opacity: 0.4;
462
- }
463
- to {
464
- opacity: 1;
465
- }
466
- }
467
- `,Go=Xe.div`
468
- position: relative;
469
- /* Caption text */
470
- .slide {
471
- h4 {
472
- width: ${r=>r.contentWidth}%;
473
- color: ${on.primary.primary100};
474
- margin-bottom: 24px;
475
- }
476
- p {
477
- width: ${r=>r.contentWidth}%;
478
- min-height: 100px;
479
- }
480
- }
481
- `,qo={left:"flex-start",center:"center",right:"flex-end"},Ko=Xe.div`
482
- display: flex;
483
- justify-content: ${r=>qo[r.dotsAlignment]};
484
- align-content: center;
485
- .dot {
486
- cursor: pointer;
487
- height: 8px;
488
- width: 8px;
489
- margin-left: 10px;
490
- margin-right: 5px;
491
- background-color: ${r=>r.dotsBackgroundColor};
492
- border-radius: 5px;
493
- display: inline-block;
494
- transition: background-color 0.6s ease;
495
- }
496
-
497
- .active {
498
- width: 20px;
499
- }
500
-
501
- .active,
502
- .dot:hover {
503
- background-color: ${r=>r.dotsActiveColor};
504
- }
505
- `;Xe.div`
506
- margin-top: 24px;
507
- `;const Xo=r=>{const{autoPlay:t,content:n,interval:i,contentWidth:l=65,dotsAlignment:h="left",dotsActiveColor:p="red",dotsBackgroundColor:b="red"}=r;let y=1;const x=I=>{P(y+=I)},R=I=>{P(y=I)},P=I=>{let D;const $=document.getElementsByClassName("mySlides"),N=document.getElementsByClassName("dot");for(I>$.length&&(y=1),I<1&&(y=$.length),D=0;D<$.length;D++)$[D].style.display="none";for(D=0;D<N.length;D++)N[D].className=N[D].className.replace(" active","");$[y-1].style.display="block",N[y-1].className+=" active"};return er.useEffect(()=>{if(P(y),t){const I=setInterval(()=>{x(1)},i);return()=>{clearInterval(I)}}},[t,i,l,h,p,b]),Re.jsxs(Ho,{children:[Re.jsx(Go,{contentWidth:l,children:n.map((I,D)=>Re.jsx("div",{className:"mySlides fade",children:Re.jsxs("div",{className:"slide",children:[Re.jsx("h4",{children:I.titleText}),Re.jsx(Bo,{category:"bodySm",color:on.primary.primary60,children:I.description})]})},D+1))}),Re.jsx(Ko,{dotsAlignment:h,dotsActiveColor:p,dotsBackgroundColor:b,children:n.map((I,D)=>Re.jsx("span",{className:"dot",onClick:()=>R(D+1)},D+1))})]})};Ge.Button=Yo,Ge.Slider=Xo,Ge.Stepper=Vo,Object.defineProperty(Ge,Symbol.toStringTag,{value:"Module"})});