ymy-components 0.0.12 → 0.0.13
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.
- package/dist/index.cjs.js +49 -21
- package/dist/index.es.js +2618 -1607
- package/dist/src/index.d.ts +5 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react"),oa=require("react-dom");function sa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Ne=sa(C);var Kt={exports:{}},bt={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var pi;function aa(){if(pi)return bt;pi=1;var e=C,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(c,u,l){var f,d={},h=null,p=null;l!==void 0&&(h=""+l),u.key!==void 0&&(h=""+u.key),u.ref!==void 0&&(p=u.ref);for(f in u)n.call(u,f)&&!o.hasOwnProperty(f)&&(d[f]=u[f]);if(c&&c.defaultProps)for(f in u=c.defaultProps,u)d[f]===void 0&&(d[f]=u[f]);return{$$typeof:t,type:c,key:h,ref:p,props:d,_owner:i.current}}return bt.Fragment=r,bt.jsx=s,bt.jsxs=s,bt}var _t={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,23 +14,23 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),
|
|
21
|
-
`+
|
|
17
|
+
*/var mi;function ca(){return mi||(mi=1,process.env.NODE_ENV!=="production"&&function(){var e=C,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),y=Symbol.iterator,S="@@iterator";function x(a){if(a===null||typeof a!="object")return null;var g=y&&a[y]||a[S];return typeof g=="function"?g:null}var _=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(a){{for(var g=arguments.length,O=new Array(g>1?g-1:0),k=1;k<g;k++)O[k-1]=arguments[k];m("error",a,O)}}function m(a,g,O){{var k=_.ReactDebugCurrentFrame,V=k.getStackAddendum();V!==""&&(g+="%s",O=O.concat([V]));var z=O.map(function(I){return String(I)});z.unshift("Warning: "+g),Function.prototype.apply.call(console[a],console,z)}}var w=!1,E=!1,P=!1,R=!1,j=!1,M;M=Symbol.for("react.module.reference");function ue(a){return!!(typeof a=="string"||typeof a=="function"||a===n||a===o||j||a===i||a===l||a===f||R||a===p||w||E||P||typeof a=="object"&&a!==null&&(a.$$typeof===h||a.$$typeof===d||a.$$typeof===s||a.$$typeof===c||a.$$typeof===u||a.$$typeof===M||a.getModuleId!==void 0))}function H(a,g,O){var k=a.displayName;if(k)return k;var V=g.displayName||g.name||"";return V!==""?O+"("+V+")":O}function le(a){return a.displayName||"Context"}function W(a){if(a==null)return null;if(typeof a.tag=="number"&&v("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 n:return"Fragment";case r:return"Portal";case o:return"Profiler";case i:return"StrictMode";case l:return"Suspense";case f:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case c:var g=a;return le(g)+".Consumer";case s:var O=a;return le(O._context)+".Provider";case u:return H(a,a.render,"ForwardRef");case d:var k=a.displayName||null;return k!==null?k:W(a.type)||"Memo";case h:{var V=a,z=V._payload,I=V._init;try{return W(I(z))}catch{return null}}}return null}var fe=Object.assign,Ve=0,Ht,Ke,gt,ie,Pe,xe,K;function Qe(){}Qe.__reactDisabledLog=!0;function yt(){{if(Ve===0){Ht=console.log,Ke=console.info,gt=console.warn,ie=console.error,Pe=console.group,xe=console.groupCollapsed,K=console.groupEnd;var a={configurable:!0,enumerable:!0,value:Qe,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}Ve++}}function Xe(){{if(Ve--,Ve===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:fe({},a,{value:Ht}),info:fe({},a,{value:Ke}),warn:fe({},a,{value:gt}),error:fe({},a,{value:ie}),group:fe({},a,{value:Pe}),groupCollapsed:fe({},a,{value:xe}),groupEnd:fe({},a,{value:K})})}Ve<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Se=_.ReactCurrentDispatcher,Ce;function de(a,g,O){{if(Ce===void 0)try{throw Error()}catch(V){var k=V.stack.trim().match(/\n( *(at )?)/);Ce=k&&k[1]||""}return`
|
|
18
|
+
`+Ce+a}}var he=!1,ke;{var Je=typeof WeakMap=="function"?WeakMap:Map;ke=new Je}function pe(a,g){if(!a||he)return"";{var O=ke.get(a);if(O!==void 0)return O}var k;he=!0;var V=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var z;z=Se.current,Se.current=null,yt();try{if(g){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(X){k=X}Reflect.construct(a,[],I)}else{try{I.call()}catch(X){k=X}a.call(I.prototype)}}else{try{throw Error()}catch(X){k=X}a()}}catch(X){if(X&&k&&typeof X.stack=="string"){for(var N=X.stack.split(`
|
|
19
|
+
`),Q=k.stack.split(`
|
|
20
|
+
`),L=N.length-1,B=Q.length-1;L>=1&&B>=0&&N[L]!==Q[B];)B--;for(;L>=1&&B>=0;L--,B--)if(N[L]!==Q[B]){if(L!==1||B!==1)do if(L--,B--,B<0||N[L]!==Q[B]){var oe=`
|
|
21
|
+
`+N[L].replace(" at new "," at ");return a.displayName&&oe.includes("<anonymous>")&&(oe=oe.replace("<anonymous>",a.displayName)),typeof a=="function"&&ke.set(a,oe),oe}while(L>=1&&B>=0);break}}}finally{he=!1,Se.current=z,Xe(),Error.prepareStackTrace=V}var et=a?a.displayName||a.name:"",Fe=et?de(et):"";return typeof a=="function"&&ke.set(a,Fe),Fe}function js(a,g,O){return pe(a,!1)}function Vs(a){var g=a.prototype;return!!(g&&g.isReactComponent)}function Gt(a,g,O){if(a==null)return"";if(typeof a=="function")return pe(a,Vs(a));if(typeof a=="string")return de(a);switch(a){case l:return de("Suspense");case f:return de("SuspenseList")}if(typeof a=="object")switch(a.$$typeof){case u:return js(a.render);case d:return Gt(a.type,g,O);case h:{var k=a,V=k._payload,z=k._init;try{return Gt(z(V),g,O)}catch{}}}return""}var vt=Object.prototype.hasOwnProperty,ei={},ti=_.ReactDebugCurrentFrame;function Yt(a){if(a){var g=a._owner,O=Gt(a.type,a._source,g?g.type:null);ti.setExtraStackFrame(O)}else ti.setExtraStackFrame(null)}function Fs(a,g,O,k,V){{var z=Function.call.bind(vt);for(var I in a)if(z(a,I)){var N=void 0;try{if(typeof a[I]!="function"){var Q=Error((k||"React class")+": "+O+" type `"+I+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[I]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Q.name="Invariant Violation",Q}N=a[I](g,I,k,O,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(L){N=L}N&&!(N instanceof Error)&&(Yt(V),v("%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).",k||"React class",O,I,typeof N),Yt(null)),N instanceof Error&&!(N.message in ei)&&(ei[N.message]=!0,Yt(V),v("Failed %s type: %s",O,N.message),Yt(null))}}}var zs=Array.isArray;function Lr(a){return zs(a)}function Ms(a){{var g=typeof Symbol=="function"&&Symbol.toStringTag,O=g&&a[Symbol.toStringTag]||a.constructor.name||"Object";return O}}function $s(a){try{return ri(a),!1}catch{return!0}}function ri(a){return""+a}function ni(a){if($s(a))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ms(a)),ri(a)}var ii=_.ReactCurrentOwner,Ls={key:!0,ref:!0,__self:!0,__source:!0},oi,si;function Bs(a){if(vt.call(a,"ref")){var g=Object.getOwnPropertyDescriptor(a,"ref").get;if(g&&g.isReactWarning)return!1}return a.ref!==void 0}function Us(a){if(vt.call(a,"key")){var g=Object.getOwnPropertyDescriptor(a,"key").get;if(g&&g.isReactWarning)return!1}return a.key!==void 0}function Ws(a,g){typeof a.ref=="string"&&ii.current}function qs(a,g){{var O=function(){oi||(oi=!0,v("%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)",g))};O.isReactWarning=!0,Object.defineProperty(a,"key",{get:O,configurable:!0})}}function Hs(a,g){{var O=function(){si||(si=!0,v("%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)",g))};O.isReactWarning=!0,Object.defineProperty(a,"ref",{get:O,configurable:!0})}}var Gs=function(a,g,O,k,V,z,I){var N={$$typeof:t,type:a,key:g,ref:O,props:I,_owner:z};return N._store={},Object.defineProperty(N._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(N,"_self",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.defineProperty(N,"_source",{configurable:!1,enumerable:!1,writable:!1,value:V}),Object.freeze&&(Object.freeze(N.props),Object.freeze(N)),N};function Ys(a,g,O,k,V){{var z,I={},N=null,Q=null;O!==void 0&&(ni(O),N=""+O),Us(g)&&(ni(g.key),N=""+g.key),Bs(g)&&(Q=g.ref,Ws(g,V));for(z in g)vt.call(g,z)&&!Ls.hasOwnProperty(z)&&(I[z]=g[z]);if(a&&a.defaultProps){var L=a.defaultProps;for(z in L)I[z]===void 0&&(I[z]=L[z])}if(N||Q){var B=typeof a=="function"?a.displayName||a.name||"Unknown":a;N&&qs(I,B),Q&&Hs(I,B)}return Gs(a,N,Q,V,k,ii.current,I)}}var Br=_.ReactCurrentOwner,ai=_.ReactDebugCurrentFrame;function Ze(a){if(a){var g=a._owner,O=Gt(a.type,a._source,g?g.type:null);ai.setExtraStackFrame(O)}else ai.setExtraStackFrame(null)}var Ur;Ur=!1;function Wr(a){return typeof a=="object"&&a!==null&&a.$$typeof===t}function ci(){{if(Br.current){var a=W(Br.current.type);if(a)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+a+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+a+"`."}return""}}function Ks(a){return""}var ui={};function Qs(a){{var g=ci();if(!g){var O=typeof a=="string"?a:a.displayName||a.name;O&&(g=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+
|
|
25
|
+
Check the top-level render call using <`+O+">.")}return g}}function li(a,g){{if(!a._store||a._store.validated||a.key!=null)return;a._store.validated=!0;var O=Qs(g);if(ui[O])return;ui[O]=!0;var k="";a&&a._owner&&a._owner!==Br.current&&(k=" It was passed a child from "+W(a._owner.type)+"."),Ze(a),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',O,k),Ze(null)}}function fi(a,g){{if(typeof a!="object")return;if(Lr(a))for(var O=0;O<a.length;O++){var k=a[O];Wr(k)&&li(k,g)}else if(Wr(a))a._store&&(a._store.validated=!0);else if(a){var V=x(a);if(typeof V=="function"&&V!==a.entries)for(var z=V.call(a),I;!(I=z.next()).done;)Wr(I.value)&&li(I.value,g)}}}function Xs(a){{var g=a.type;if(g==null||typeof g=="string")return;var O;if(typeof g=="function")O=g.propTypes;else if(typeof g=="object"&&(g.$$typeof===u||g.$$typeof===d))O=g.propTypes;else return;if(O){var k=W(g);Fs(O,a.props,"prop",k,a)}else if(g.PropTypes!==void 0&&!Ur){Ur=!0;var V=W(g);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",V||"Unknown")}typeof g.getDefaultProps=="function"&&!g.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Js(a){{for(var g=Object.keys(a.props),O=0;O<g.length;O++){var k=g[O];if(k!=="children"&&k!=="key"){Ze(a),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",k),Ze(null);break}}a.ref!==null&&(Ze(a),v("Invalid attribute `ref` supplied to `React.Fragment`."),Ze(null))}}var di={};function hi(a,g,O,k,V,z){{var I=ue(a);if(!I){var N="";(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(N+=" 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 Q=Ks();Q?N+=Q:N+=ci();var L;a===null?L="null":Lr(a)?L="array":a!==void 0&&a.$$typeof===t?(L="<"+(W(a.type)||"Unknown")+" />",N=" Did you accidentally export a JSX literal instead of a component?"):L=typeof a,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",L,N)}var B=Ys(a,g,O,V,z);if(B==null)return B;if(I){var oe=g.children;if(oe!==void 0)if(k)if(Lr(oe)){for(var et=0;et<oe.length;et++)fi(oe[et],a);Object.freeze&&Object.freeze(oe)}else v("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 fi(oe,a)}if(vt.call(g,"key")){var Fe=W(a),X=Object.keys(g).filter(function(ia){return ia!=="key"}),qr=X.length>0?"{key: someKey, "+X.join(": ..., ")+": ...}":"{key: someKey}";if(!di[Fe+qr]){var na=X.length>0?"{"+X.join(": ..., ")+": ...}":"{}";v(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,Sr,Te,Js,Te),On[Te+Sr]=!0}}return a===n?Gs(L):Ys(L),L}}function Hs(a,f,_){return Tn(a,f,_,!0)}function Qs(a,f,_){return Tn(a,f,_,!1)}var Ks=Qs,Xs=Hs;ut.Fragment=n,ut.jsx=Ks,ut.jsxs=Xs}()),ut}var Nn;function ia(){return Nn||(Nn=1,process.env.NODE_ENV==="production"?Dt.exports=ra():Dt.exports=na()),Dt.exports}var te=ia(),Jr=Ot(),C=e=>Ct(e,Jr),Zr=Ot();C.write=e=>Ct(e,Zr);var nr=Ot();C.onStart=e=>Ct(e,nr);var en=Ot();C.onFrame=e=>Ct(e,en);var tn=Ot();C.onFinish=e=>Ct(e,tn);var He=[];C.setTimeout=(e,t)=>{const r=C.now()+t,n=()=>{const s=He.findIndex(o=>o.cancel==n);~s&&He.splice(s,1),Ae-=~s?1:0},i={time:r,handler:e,cancel:n};return He.splice(wi(r),0,i),Ae+=1,_i(),i};var wi=e=>~(~He.findIndex(t=>t.time>e)||~He.length);C.cancel=e=>{nr.delete(e),en.delete(e),tn.delete(e),Jr.delete(e),Zr.delete(e)};C.sync=e=>{jr=!0,C.batchedUpdates(e),jr=!1};C.throttle=e=>{let t;function r(){try{e(...t)}finally{t=null}}function n(...i){t=i,C.onStart(r)}return n.handler=e,n.cancel=()=>{nr.delete(r),t=null},n};var rn=typeof window<"u"?window.requestAnimationFrame:()=>{};C.use=e=>rn=e;C.now=typeof performance<"u"?()=>performance.now():Date.now;C.batchedUpdates=e=>e();C.catch=console.error;C.frameLoop="always";C.advance=()=>{C.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Ei()};var ke=-1,Ae=0,jr=!1;function Ct(e,t){jr?(t.delete(e),e(0)):(t.add(e),_i())}function _i(){ke<0&&(ke=0,C.frameLoop!=="demand"&&rn(Si))}function sa(){ke=-1}function Si(){~ke&&(rn(Si),C.batchedUpdates(Ei))}function Ei(){const e=ke;ke=C.now();const t=wi(ke);if(t&&(xi(He.splice(0,t),r=>r.handler()),Ae-=t),!Ae){sa();return}nr.flush(),Jr.flush(e?Math.min(64,ke-e):16.667),en.flush(),Zr.flush(),tn.flush()}function Ot(){let e=new Set,t=e;return{add(r){Ae+=t==e&&!e.has(r)?1:0,e.add(r)},delete(r){return Ae-=t==e&&e.has(r)?1:0,e.delete(r)},flush(r){t.size&&(e=new Set,Ae-=t.size,xi(t,n=>n(r)&&e.add(n)),Ae+=e.size,t=e)}}}function xi(e,t){e.forEach(r=>{try{t(r)}catch(n){C.catch(n)}})}var aa=Object.defineProperty,oa=(e,t)=>{for(var r in t)aa(e,r,{get:t[r],enumerable:!0})},he={};oa(he,{assign:()=>ua,colors:()=>Ce,createStringInterpolator:()=>sn,skipAnimation:()=>Pi,to:()=>Ri,willAdvance:()=>an});function Nr(){}var ca=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),g={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function be(e,t){if(g.arr(e)){if(!g.arr(t)||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}var j=(e,t)=>e.forEach(t);function ge(e,t,r){if(g.arr(e)){for(let n=0;n<e.length;n++)t.call(r,e[n],`${n}`);return}for(const n in e)e.hasOwnProperty(n)&&t.call(r,e[n],n)}var J=e=>g.und(e)?[]:g.arr(e)?e:[e];function mt(e,t){if(e.size){const r=Array.from(e);e.clear(),j(r,t)}}var ht=(e,...t)=>mt(e,r=>r(...t)),nn=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),sn,Ri,Ce=null,Pi=!1,an=Nr,ua=e=>{e.to&&(Ri=e.to),e.now&&(C.now=e.now),e.colors!==void 0&&(Ce=e.colors),e.skipAnimation!=null&&(Pi=e.skipAnimation),e.createStringInterpolator&&(sn=e.createStringInterpolator),e.requestAnimationFrame&&C.use(e.requestAnimationFrame),e.batchedUpdates&&(C.batchedUpdates=e.batchedUpdates),e.willAdvance&&(an=e.willAdvance),e.frameLoop&&(C.frameLoop=e.frameLoop)},gt=new Set,ne=[],Er=[],Ht=0,ir={get idle(){return!gt.size&&!ne.length},start(e){Ht>e.priority?(gt.add(e),C.onStart(la)):(ki(e),C(Dr))},advance:Dr,sort(e){if(Ht)C.onFrame(()=>ir.sort(e));else{const t=ne.indexOf(e);~t&&(ne.splice(t,1),Ai(e))}},clear(){ne=[],gt.clear()}};function la(){gt.forEach(ki),gt.clear(),C(Dr)}function ki(e){ne.includes(e)||Ai(e)}function Ai(e){ne.splice(fa(ne,t=>t.priority>e.priority),0,e)}function Dr(e){const t=Er;for(let r=0;r<ne.length;r++){const n=ne[r];Ht=n.priority,n.idle||(an(n),n.advance(e),n.idle||t.push(n))}return Ht=0,Er=ne,Er.length=0,ne=t,ne.length>0}function fa(e,t){const r=e.findIndex(t);return r<0?e.length:r}var da={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},fe="[-+]?\\d*\\.?\\d+",Qt=fe+"%";function sr(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var ha=new RegExp("rgb"+sr(fe,fe,fe)),pa=new RegExp("rgba"+sr(fe,fe,fe,fe)),ma=new RegExp("hsl"+sr(fe,Qt,Qt)),ga=new RegExp("hsla"+sr(fe,Qt,Qt,fe)),va=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ya=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ba=/^#([0-9a-fA-F]{6})$/,wa=/^#([0-9a-fA-F]{8})$/;function _a(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ba.exec(e))?parseInt(t[1]+"ff",16)>>>0:Ce&&Ce[e]!==void 0?Ce[e]:(t=ha.exec(e))?(Ye(t[1])<<24|Ye(t[2])<<16|Ye(t[3])<<8|255)>>>0:(t=pa.exec(e))?(Ye(t[1])<<24|Ye(t[2])<<16|Ye(t[3])<<8|$n(t[4]))>>>0:(t=va.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=wa.exec(e))?parseInt(t[1],16)>>>0:(t=ya.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ma.exec(e))?(Dn(Fn(t[1]),Ft(t[2]),Ft(t[3]))|255)>>>0:(t=ga.exec(e))?(Dn(Fn(t[1]),Ft(t[2]),Ft(t[3]))|$n(t[4]))>>>0:null}function xr(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Dn(e,t,r){const n=r<.5?r*(1+t):r+t-r*t,i=2*r-n,s=xr(i,n,e+1/3),o=xr(i,n,e),c=xr(i,n,e-1/3);return Math.round(s*255)<<24|Math.round(o*255)<<16|Math.round(c*255)<<8}function Ye(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Fn(e){return(parseFloat(e)%360+360)%360/360}function $n(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function Ft(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Vn(e){let t=_a(e);if(t===null)return e;t=t||0;const r=(t&4278190080)>>>24,n=(t&16711680)>>>16,i=(t&65280)>>>8,s=(t&255)/255;return`rgba(${r}, ${n}, ${i}, ${s})`}var wt=(e,t,r)=>{if(g.fun(e))return e;if(g.arr(e))return wt({range:e,output:t,extrapolate:r});if(g.str(e.output[0]))return sn(e);const n=e,i=n.output,s=n.range||[0,1],o=n.extrapolateLeft||n.extrapolate||"extend",c=n.extrapolateRight||n.extrapolate||"extend",u=n.easing||(l=>l);return l=>{const h=Ea(l,s);return Sa(l,s[h],s[h+1],i[h],i[h+1],u,o,c,n.map)}};function Sa(e,t,r,n,i,s,o,c,u){let l=u?u(e):e;if(l<t){if(o==="identity")return l;o==="clamp"&&(l=t)}if(l>r){if(c==="identity")return l;c==="clamp"&&(l=r)}return n===i?n:t===r?e<=t?n:i:(t===-1/0?l=-l:r===1/0?l=l-t:l=(l-t)/(r-t),l=s(l),n===-1/0?l=-l:i===1/0?l=l+n:l=l*(i-n)+n,l)}function Ea(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}var xa={linear:e=>e},_t=Symbol.for("FluidValue.get"),Ke=Symbol.for("FluidValue.observers"),re=e=>!!(e&&e[_t]),K=e=>e&&e[_t]?e[_t]():e,Mn=e=>e[Ke]||null;function Ra(e,t){e.eventObserved?e.eventObserved(t):e(t)}function St(e,t){const r=e[Ke];r&&r.forEach(n=>{Ra(n,t)})}var Ci=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Pa(this,e)}},Pa=(e,t)=>Oi(e,_t,t);function rt(e,t){if(e[_t]){let r=e[Ke];r||Oi(e,Ke,r=new Set),r.has(t)||(r.add(t),e.observerAdded&&e.observerAdded(r.size,t))}return t}function Et(e,t){const r=e[Ke];if(r&&r.has(t)){const n=r.size-1;n?r.delete(t):e[Ke]=null,e.observerRemoved&&e.observerRemoved(n,t)}}var Oi=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),Lt=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ka=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,zn=new RegExp(`(${Lt.source})(%|[a-z]+)`,"i"),Aa=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,ar=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Ti=e=>{const[t,r]=Ca(e);if(!t||nn())return e;const n=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(n)return n.trim();if(r&&r.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(r);return i||e}else{if(r&&ar.test(r))return Ti(r);if(r)return r}return e},Ca=e=>{const t=ar.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]},Rr,Oa=(e,t,r,n,i)=>`rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`,Ii=e=>{Rr||(Rr=Ce?new RegExp(`(${Object.keys(Ce).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(s=>K(s).replace(ar,Ti).replace(ka,Vn).replace(Rr,Vn)),r=t.map(s=>s.match(Lt).map(Number)),i=r[0].map((s,o)=>r.map(c=>{if(!(o in c))throw Error('The arity of each "output" value must be equal');return c[o]})).map(s=>wt({...e,output:s}));return s=>{var u;const o=!zn.test(t[0])&&((u=t.find(l=>zn.test(l)))==null?void 0:u.replace(Lt,""));let c=0;return t[0].replace(Lt,()=>`${i[c++](s)}${o||""}`).replace(Aa,Oa)}},on="react-spring: ",ji=e=>{const t=e;let r=!1;if(typeof t!="function")throw new TypeError(`${on}once requires a function parameter`);return(...n)=>{r||(t(...n),r=!0)}},Ta=ji(console.warn);function Ia(){Ta(`${on}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var ja=ji(console.warn);function Na(){ja(`${on}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function or(e){return g.str(e)&&(e[0]=="#"||/\d/.test(e)||!nn()&&ar.test(e)||e in(Ce||{}))}var cn=nn()?P.useEffect:P.useLayoutEffect,Da=()=>{const e=P.useRef(!1);return cn(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function Ni(){const e=P.useState()[1],t=Da();return()=>{t.current&&e(Math.random())}}function Fa(e,t){const[r]=P.useState(()=>({inputs:t,result:e()})),n=P.useRef(),i=n.current;let s=i;return s?t&&s.inputs&&$a(t,s.inputs)||(s={inputs:t,result:e()}):s=r,P.useEffect(()=>{n.current=s,i==r&&(r.inputs=r.result=void 0)},[s]),s.result}function $a(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var Di=e=>P.useEffect(e,Va),Va=[];function Ln(e){const t=P.useRef();return P.useEffect(()=>{t.current=e}),t.current}var xt=Symbol.for("Animated:node"),Ma=e=>!!e&&e[xt]===e,pe=e=>e&&e[xt],un=(e,t)=>ca(e,xt,t),cr=e=>e&&e[xt]&&e[xt].getPayload(),Fi=class{constructor(){un(this,this)}getPayload(){return this.payload||[]}},Tt=class extends Fi{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,g.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Tt(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return g.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,g.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Rt=class extends Tt{constructor(e){super(0),this._string=null,this._toString=wt({output:[e,e]})}static create(e){return new Rt(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(g.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=wt({output:[this.getValue(),e]})),this._value=0,super.reset()}},Kt={dependencies:null},ur=class extends Fi{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return ge(this.source,(r,n)=>{Ma(r)?t[n]=r.getValue(e):re(r)?t[n]=K(r):e||(t[n]=r)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&j(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return ge(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Kt.dependencies&&re(e)&&Kt.dependencies.add(e);const t=cr(e);t&&j(t,r=>this.add(r))}},$i=class extends ur{constructor(e){super(e)}static create(e){return new $i(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((r,n)=>r.setValue(e[n])).some(Boolean):(super.setValue(e.map(za)),!0)}};function za(e){return(or(e)?Rt:Tt).create(e)}function Fr(e){const t=pe(e);return t?t.constructor:g.arr(e)?$i:or(e)?Rt:Tt}var Un=(e,t)=>{const r=!g.fun(e)||e.prototype&&e.prototype.isReactComponent;return P.forwardRef((n,i)=>{const s=P.useRef(null),o=r&&P.useCallback(b=>{s.current=qa(i,b)},[i]),[c,u]=Ua(n,t),l=Ni(),h=()=>{const b=s.current;if(r&&!b)return;(b?t.applyAnimatedValues(b,c.getValue(!0)):!1)===!1&&l()},d=new La(h,u),p=P.useRef();cn(()=>(p.current=d,j(u,b=>rt(b,d)),()=>{p.current&&(j(p.current.deps,b=>Et(b,p.current)),C.cancel(p.current.update))})),P.useEffect(h,[]),Di(()=>()=>{const b=p.current;j(b.deps,S=>Et(S,b))});const m=t.getComponentProps(c.getValue());return Xr.createElement(e,{...m,ref:o})})},La=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&C.write(this.update)}};function Ua(e,t){const r=new Set;return Kt.dependencies=r,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new ur(e),Kt.dependencies=null,[e,r]}function qa(e,t){return e&&(g.fun(e)?e(t):e.current=t),t}var qn=Symbol.for("AnimatedComponent"),Ba=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:r=i=>new ur(i),getComponentProps:n=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:r,getComponentProps:n},s=o=>{const c=Bn(o)||"Anonymous";return g.str(o)?o=s[o]||(s[o]=Un(o,i)):o=o[qn]||(o[qn]=Un(o,i)),o.displayName=`Animated(${c})`,o};return ge(e,(o,c)=>{g.arr(e)&&(c=Bn(o)),s[c]=s(o)}),{animated:s}},Bn=e=>g.str(e)?e:e&&g.str(e.displayName)?e.displayName:g.fun(e)&&e.name||null;function Ie(e,...t){return g.fun(e)?e(...t):e}var vt=(e,t)=>e===!0||!!(t&&e&&(g.fun(e)?e(t):J(e).includes(t))),Vi=(e,t)=>g.obj(e)?t&&e[t]:e,Mi=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,Wa=e=>e,ln=(e,t=Wa)=>{let r=Ya;e.default&&e.default!==!0&&(e=e.default,r=Object.keys(e));const n={};for(const i of r){const s=t(e[i],i);g.und(s)||(n[i]=s)}return n},Ya=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Ga={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Ha(e){const t={};let r=0;if(ge(e,(n,i)=>{Ga[i]||(t[i]=n,r++)}),r)return t}function zi(e){const t=Ha(e);if(t){const r={to:t};return ge(e,(n,i)=>i in t||(r[i]=n)),r}return{...e}}function Pt(e){return e=K(e),g.arr(e)?e.map(Pt):or(e)?he.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Qa(e){for(const t in e)return!0;return!1}function $r(e){return g.fun(e)||g.arr(e)&&g.obj(e[0])}function Ka(e,t){var r;(r=e.ref)==null||r.delete(e),t==null||t.delete(e)}function Xa(e,t){var r;t&&e.ref!==t&&((r=e.ref)==null||r.delete(e),t.add(e),e.ref=t)}var Ja={default:{tension:170,friction:26}},Vr={...Ja.default,mass:1,damping:1,easing:xa.linear,clamp:!1},Za=class{constructor(){this.velocity=0,Object.assign(this,Vr)}};function eo(e,t,r){r&&(r={...r},Wn(r,t),t={...r,...t}),Wn(e,t),Object.assign(e,t);for(const o in Vr)e[o]==null&&(e[o]=Vr[o]);let{frequency:n,damping:i}=e;const{mass:s}=e;return g.und(n)||(n<.01&&(n=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/n,2)*s,e.friction=4*Math.PI*i*s/n),e}function Wn(e,t){if(!g.und(t.decay))e.duration=void 0;else{const r=!g.und(t.tension)||!g.und(t.friction);(r||!g.und(t.frequency)||!g.und(t.damping)||!g.und(t.mass))&&(e.duration=void 0,e.decay=void 0),r&&(e.frequency=void 0)}}var Yn=[],to=class{constructor(){this.changed=!1,this.values=Yn,this.toValues=null,this.fromValues=Yn,this.config=new Za,this.immediate=!1}};function Li(e,{key:t,props:r,defaultProps:n,state:i,actions:s}){return new Promise((o,c)=>{let u,l,h=vt(r.cancel??(n==null?void 0:n.cancel),t);if(h)m();else{g.und(r.pause)||(i.paused=vt(r.pause,t));let b=n==null?void 0:n.pause;b!==!0&&(b=i.paused||vt(b,t)),u=Ie(r.delay||0,t),b?(i.resumeQueue.add(p),s.pause()):(s.resume(),p())}function d(){i.resumeQueue.add(p),i.timeouts.delete(l),l.cancel(),u=l.time-C.now()}function p(){u>0&&!he.skipAnimation?(i.delayed=!0,l=C.setTimeout(m,u),i.pauseQueue.add(d),i.timeouts.add(l)):m()}function m(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(l),e<=(i.cancelId||0)&&(h=!0);try{s.start({...r,callId:e,cancel:h},o)}catch(b){c(b)}}})}var fn=(e,t)=>t.length==1?t[0]:t.some(r=>r.cancelled)?Qe(e.get()):t.every(r=>r.noop)?Ui(e.get()):le(e.get(),t.every(r=>r.finished)),Ui=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),le=(e,t,r=!1)=>({value:e,finished:t,cancelled:r}),Qe=e=>({value:e,cancelled:!0,finished:!1});function qi(e,t,r,n){const{callId:i,parentId:s,onRest:o}=t,{asyncTo:c,promise:u}=r;return!s&&e===c&&!t.reset?u:r.promise=(async()=>{r.asyncId=i,r.asyncTo=e;const l=ln(t,(x,v)=>v==="onRest"?void 0:x);let h,d;const p=new Promise((x,v)=>(h=x,d=v)),m=x=>{const v=i<=(r.cancelId||0)&&Qe(n)||i!==r.asyncId&&le(n,!1);if(v)throw x.result=v,d(x),x},b=(x,v)=>{const y=new Gn,w=new Hn;return(async()=>{if(he.skipAnimation)throw kt(r),w.result=le(n,!1),d(w),w;m(y);const R=g.obj(x)?{...x}:{...v,to:x};R.parentId=i,ge(l,(A,E)=>{g.und(R[E])&&(R[E]=A)});const O=await n.start(R);return m(y),r.paused&&await new Promise(A=>{r.resumeQueue.add(A)}),O})()};let S;if(he.skipAnimation)return kt(r),le(n,!1);try{let x;g.arr(e)?x=(async v=>{for(const y of v)await b(y)})(e):x=Promise.resolve(e(b,n.stop.bind(n))),await Promise.all([x.then(h),p]),S=le(n.get(),!0,!1)}catch(x){if(x instanceof Gn)S=x.result;else if(x instanceof Hn)S=x.result;else throw x}finally{i==r.asyncId&&(r.asyncId=s,r.asyncTo=s?c:void 0,r.promise=s?u:void 0)}return g.fun(o)&&C.batchedUpdates(()=>{o(S,n,n.item)}),S})()}function kt(e,t){mt(e.timeouts,r=>r.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Gn=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Hn=class extends Error{constructor(){super("SkipAnimationSignal")}},Mr=e=>e instanceof dn,ro=1,dn=class extends Ci{constructor(){super(...arguments),this.id=ro++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=pe(this);return e&&e.getValue()}to(...e){return he.to(this,e)}interpolate(...e){return Ia(),he.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){St(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||ir.sort(this),St(this,{type:"priority",parent:this,priority:e})}},$e=Symbol.for("SpringPhase"),Bi=1,Wi=2,Yi=4,Pr=e=>(e[$e]&Bi)>0,Re=e=>(e[$e]&Wi)>0,lt=e=>(e[$e]&Yi)>0,Qn=(e,t)=>t?e[$e]|=Wi|Bi:e[$e]&=-3,Kn=(e,t)=>t?e[$e]|=Yi:e[$e]&=-5,no=class extends dn{constructor(e,t){if(super(),this.animation=new to,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!g.und(e)||!g.und(t)){const r=g.obj(e)?{...e}:{...t,from:e};g.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(Re(this)||this._state.asyncTo)||lt(this)}get goal(){return K(this.animation.to)}get velocity(){const e=pe(this);return e instanceof Tt?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return Pr(this)}get isAnimating(){return Re(this)}get isPaused(){return lt(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,r=!1;const n=this.animation;let{toValues:i}=n;const{config:s}=n,o=cr(n.to);!o&&re(n.to)&&(i=J(K(n.to))),n.values.forEach((l,h)=>{if(l.done)return;const d=l.constructor==Rt?1:o?o[h].lastPosition:i[h];let p=n.immediate,m=d;if(!p){if(m=l.lastPosition,s.tension<=0){l.done=!0;return}let b=l.elapsedTime+=e;const S=n.fromValues[h],x=l.v0!=null?l.v0:l.v0=g.arr(s.velocity)?s.velocity[h]:s.velocity;let v;const y=s.precision||(S==d?.005:Math.min(1,Math.abs(d-S)*.001));if(g.und(s.duration))if(s.decay){const w=s.decay===!0?.998:s.decay,R=Math.exp(-(1-w)*b);m=S+x/(1-w)*(1-R),p=Math.abs(l.lastPosition-m)<=y,v=x*R}else{v=l.lastVelocity==null?x:l.lastVelocity;const w=s.restVelocity||y/10,R=s.clamp?0:s.bounce,O=!g.und(R),A=S==d?l.v0>0:S<d;let E,W=!1;const M=1,ve=Math.ceil(e/M);for(let Y=0;Y<ve&&(E=Math.abs(v)>w,!(!E&&(p=Math.abs(d-m)<=y,p)));++Y){O&&(W=m==d||m>d==A,W&&(v=-v*R,m=d));const se=-s.tension*1e-6*(m-d),q=-s.friction*.001*v,ae=(se+q)/s.mass;v=v+ae*M,m=m+v*M}}else{let w=1;s.duration>0&&(this._memoizedDuration!==s.duration&&(this._memoizedDuration=s.duration,l.durationProgress>0&&(l.elapsedTime=s.duration*l.durationProgress,b=l.elapsedTime+=e)),w=(s.progress||0)+b/this._memoizedDuration,w=w>1?1:w<0?0:w,l.durationProgress=w),m=S+s.easing(w)*(d-S),v=(m-l.lastPosition)/e,p=w==1}l.lastVelocity=v,Number.isNaN(m)&&(console.warn("Got NaN while animating:",this),p=!0)}o&&!o[h].done&&(p=!1),p?l.done=!0:t=!1,l.setValue(m,s.round)&&(r=!0)});const c=pe(this),u=c.getValue();if(t){const l=K(n.to);(u!==l||r)&&!s.decay?(c.setValue(l),this._onChange(l)):r&&s.decay&&this._onChange(u),this._stop()}else r&&this._onChange(u)}set(e){return C.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Re(this)){const{to:e,config:t}=this.animation;C.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let r;return g.und(e)?(r=this.queue||[],this.queue=[]):r=[g.obj(e)?e:{...t,to:e}],Promise.all(r.map(n=>this._update(n))).then(n=>fn(this,n))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),kt(this._state,e&&this._lastCallId),C.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:r,from:n}=e;r=g.obj(r)?r[t]:r,(r==null||$r(r))&&(r=void 0),n=g.obj(n)?n[t]:n,n==null&&(n=void 0);const i={to:r,from:n};return Pr(this)||(e.reverse&&([r,n]=[n,r]),n=K(n),g.und(n)?pe(this)||this._set(r):this._set(n)),i}_update({...e},t){const{key:r,defaultProps:n}=this;e.default&&Object.assign(n,ln(e,(o,c)=>/^on/.test(c)?Vi(o,r):o)),Jn(this,e,"onProps"),dt(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const s=this._state;return Li(++this._lastCallId,{key:r,props:e,defaultProps:n,state:s,actions:{pause:()=>{lt(this)||(Kn(this,!0),ht(s.pauseQueue),dt(this,"onPause",le(this,ft(this,this.animation.to)),this))},resume:()=>{lt(this)&&(Kn(this,!1),Re(this)&&this._resume(),ht(s.resumeQueue),dt(this,"onResume",le(this,ft(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(o=>{if(e.loop&&o.finished&&!(t&&o.noop)){const c=Gi(e);if(c)return this._update(c,!0)}return o})}_merge(e,t,r){if(t.cancel)return this.stop(!0),r(Qe(this));const n=!g.und(e.to),i=!g.und(e.from);if(n||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return r(Qe(this));const{key:s,defaultProps:o,animation:c}=this,{to:u,from:l}=c;let{to:h=u,from:d=l}=e;i&&!n&&(!t.default||g.und(h))&&(h=d),t.reverse&&([h,d]=[d,h]);const p=!be(d,l);p&&(c.from=d),d=K(d);const m=!be(h,u);m&&this._focus(h);const b=$r(t.to),{config:S}=c,{decay:x,velocity:v}=S;(n||i)&&(S.velocity=0),t.config&&!b&&eo(S,Ie(t.config,s),t.config!==o.config?Ie(o.config,s):void 0);let y=pe(this);if(!y||g.und(h))return r(le(this,!0));const w=g.und(t.reset)?i&&!t.default:!g.und(d)&&vt(t.reset,s),R=w?d:this.get(),O=Pt(h),A=g.num(O)||g.arr(O)||or(O),E=!b&&(!A||vt(o.immediate||t.immediate,s));if(m){const Y=Fr(h);if(Y!==y.constructor)if(E)y=this._set(O);else throw Error(`Cannot animate between ${y.constructor.name} and ${Y.name}, as the "to" prop suggests`)}const W=y.constructor;let M=re(h),ve=!1;if(!M){const Y=w||!Pr(this)&&p;(m||Y)&&(ve=be(Pt(R),O),M=!ve),(!be(c.immediate,E)&&!E||!be(S.decay,x)||!be(S.velocity,v))&&(M=!0)}if(ve&&Re(this)&&(c.changed&&!w?M=!0:M||this._stop(u)),!b&&((M||re(u))&&(c.values=y.getPayload(),c.toValues=re(h)?null:W==Rt?[1]:J(O)),c.immediate!=E&&(c.immediate=E,!E&&!w&&this._set(u)),M)){const{onRest:Y}=c;j(so,q=>Jn(this,t,q));const se=le(this,ft(this,u));ht(this._pendingCalls,se),this._pendingCalls.add(r),c.changed&&C.batchedUpdates(()=>{var q;c.changed=!w,Y==null||Y(se,this),w?Ie(o.onRest,se):(q=c.onStart)==null||q.call(c,se,this)})}w&&this._set(R),b?r(qi(t.to,t,this._state,this)):M?this._start():Re(this)&&!m?this._pendingCalls.add(r):r(Ui(R))}_focus(e){const t=this.animation;e!==t.to&&(Mn(this)&&this._detach(),t.to=e,Mn(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;re(t)&&(rt(t,this),Mr(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;re(e)&&Et(e,this)}_set(e,t=!0){const r=K(e);if(!g.und(r)){const n=pe(this);if(!n||!be(r,n.getValue())){const i=Fr(r);!n||n.constructor!=i?un(this,i.create(r)):n.setValue(r),n&&C.batchedUpdates(()=>{this._onChange(r,t)})}}return pe(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,dt(this,"onStart",le(this,ft(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Ie(this.animation.onChange,e,this)),Ie(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;pe(this).reset(K(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),Re(this)||(Qn(this,!0),lt(this)||this._resume())}_resume(){he.skipAnimation?this.finish():ir.start(this)}_stop(e,t){if(Re(this)){Qn(this,!1);const r=this.animation;j(r.values,i=>{i.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),St(this,{type:"idle",parent:this});const n=t?Qe(this.get()):le(this.get(),ft(this,e??r.to));ht(this._pendingCalls,n),r.changed&&(r.changed=!1,dt(this,"onRest",n,this))}}};function ft(e,t){const r=Pt(t),n=Pt(e.get());return be(n,r)}function Gi(e,t=e.loop,r=e.to){const n=Ie(t);if(n){const i=n!==!0&&zi(n),s=(i||e).reverse,o=!i||i.reset;return At({...e,loop:t,default:!1,pause:void 0,to:!s||$r(r)?r:void 0,from:o?e.from:void 0,reset:o,...i})}}function At(e){const{to:t,from:r}=e=zi(e),n=new Set;return g.obj(t)&&Xn(t,n),g.obj(r)&&Xn(r,n),e.keys=n.size?Array.from(n):null,e}function io(e){const t=At(e);return g.und(t.default)&&(t.default=ln(t)),t}function Xn(e,t){ge(e,(r,n)=>r!=null&&t.add(n))}var so=["onStart","onRest","onChange","onPause","onResume"];function Jn(e,t,r){e.animation[r]=t[r]!==Mi(t,r)?Vi(t[r],e.key):void 0}function dt(e,t,...r){var n,i,s,o;(i=(n=e.animation)[t])==null||i.call(n,...r),(o=(s=e.defaultProps)[t])==null||o.call(s,...r)}var ao=["onStart","onChange","onRest"],oo=1,co=class{constructor(e,t){this.id=oo++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,r)=>e[r]=t.get()),e}set(e){for(const t in e){const r=e[t];g.und(r)||this.springs[t].set(r)}}update(e){return e&&this.queue.push(At(e)),this}start(e){let{queue:t}=this;return e?t=J(e).map(At):this.queue=[],this._flush?this._flush(this,t):(Ji(this,t),zr(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const r=this.springs;j(J(t),n=>r[n].stop(!!e))}else kt(this._state,this._lastAsyncId),this.each(r=>r.stop(!!e));return this}pause(e){if(g.und(e))this.start({pause:!0});else{const t=this.springs;j(J(e),r=>t[r].pause())}return this}resume(e){if(g.und(e))this.start({pause:!1});else{const t=this.springs;j(J(e),r=>t[r].resume())}return this}each(e){ge(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,mt(e,([c,u])=>{u.value=this.get(),c(u,this,this._item)}));const s=!n&&this._started,o=i||s&&r.size?this.get():null;i&&t.size&&mt(t,([c,u])=>{u.value=o,c(u,this,this._item)}),s&&(this._started=!1,mt(r,([c,u])=>{u.value=o,c(u,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;C.onFrame(this._onFrame)}};function zr(e,t){return Promise.all(t.map(r=>Hi(e,r))).then(r=>fn(e,r))}async function Hi(e,t,r){const{keys:n,to:i,from:s,loop:o,onRest:c,onResolve:u}=t,l=g.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),s===!1&&(t.from=null);const h=g.arr(i)||g.fun(i)?i:void 0;h?(t.to=void 0,t.onRest=void 0,l&&(l.onRest=void 0)):j(ao,S=>{const x=t[S];if(g.fun(x)){const v=e._events[S];t[S]=({finished:y,cancelled:w})=>{const R=v.get(x);R?(y||(R.finished=!1),w&&(R.cancelled=!0)):v.set(x,{value:null,finished:y||!1,cancelled:w||!1})},l&&(l[S]=t[S])}});const d=e._state;t.pause===!d.paused?(d.paused=t.pause,ht(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const p=(n||Object.keys(e.springs)).map(S=>e.springs[S].start(t)),m=t.cancel===!0||Mi(t,"cancel")===!0;(h||m&&d.asyncId)&&p.push(Li(++e._lastAsyncId,{props:t,state:d,actions:{pause:Nr,resume:Nr,start(S,x){m?(kt(d,e._lastAsyncId),x(Qe(e))):(S.onRest=c,x(qi(h,S,d,e)))}}})),d.paused&&await new Promise(S=>{d.resumeQueue.add(S)});const b=fn(e,await Promise.all(p));if(o&&b.finished&&!(r&&b.noop)){const S=Gi(t,o,i);if(S)return Ji(e,[S]),Hi(e,S,!0)}return u&&C.batchedUpdates(()=>u(b,e,e.item)),b}function Zn(e,t){const r={...e.springs};return t&&j(J(t),n=>{g.und(n.keys)&&(n=At(n)),g.obj(n.to)||(n={...n,to:void 0}),Xi(r,n,i=>Ki(i))}),Qi(e,r),r}function Qi(e,t){ge(t,(r,n)=>{e.springs[n]||(e.springs[n]=r,rt(r,e))})}function Ki(e,t){const r=new no;return r.key=e,t&&rt(r,t),r}function Xi(e,t,r){t.keys&&j(t.keys,n=>{(e[n]||(e[n]=r(n)))._prepareNode(t)})}function Ji(e,t){j(t,r=>{Xi(e.springs,r,n=>Ki(n,e))})}var lr=({children:e,...t})=>{const r=P.useContext(Xt),n=t.pause||!!r.pause,i=t.immediate||!!r.immediate;t=Fa(()=>({pause:n,immediate:i}),[n,i]);const{Provider:s}=Xt;return Xr.createElement(s,{value:t},e)},Xt=uo(lr,{});lr.Provider=Xt.Provider;lr.Consumer=Xt.Consumer;function uo(e,t){return Object.assign(e,Xr.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var lo=()=>{const e=[],t=function(n){Na();const i=[];return j(e,(s,o)=>{if(g.und(n))i.push(s.start());else{const c=r(n,s,o);c&&i.push(s.start(c))}}),i};t.current=e,t.add=function(n){e.includes(n)||e.push(n)},t.delete=function(n){const i=e.indexOf(n);~i&&e.splice(i,1)},t.pause=function(){return j(e,n=>n.pause(...arguments)),this},t.resume=function(){return j(e,n=>n.resume(...arguments)),this},t.set=function(n){j(e,(i,s)=>{const o=g.fun(n)?n(s,i):n;o&&i.set(o)})},t.start=function(n){const i=[];return j(e,(s,o)=>{if(g.und(n))i.push(s.start());else{const c=this._getProps(n,s,o);c&&i.push(s.start(c))}}),i},t.stop=function(){return j(e,n=>n.stop(...arguments)),this},t.update=function(n){return j(e,(i,s)=>i.update(this._getProps(n,i,s))),this};const r=function(n,i,s){return g.fun(n)?n(s,i):n};return t._getProps=r,t};function fo(e,t,r){const n=g.fun(t)&&t;n&&!r&&(r=[]);const i=P.useMemo(()=>n||arguments.length==3?lo():void 0,[]),s=P.useRef(0),o=Ni(),c=P.useMemo(()=>({ctrls:[],queue:[],flush(v,y){const w=Zn(v,y);return s.current>0&&!c.queue.length&&!Object.keys(w).some(O=>!v.springs[O])?zr(v,y):new Promise(O=>{Qi(v,w),c.queue.push(()=>{O(zr(v,y))}),o()})}}),[]),u=P.useRef([...c.ctrls]),l=[],h=Ln(e)||0;P.useMemo(()=>{j(u.current.slice(e,h),v=>{Ka(v,i),v.stop(!0)}),u.current.length=e,d(h,e)},[e]),P.useMemo(()=>{d(0,Math.min(h,e))},r);function d(v,y){for(let w=v;w<y;w++){const R=u.current[w]||(u.current[w]=new co(null,c.flush)),O=n?n(w,R):t[w];O&&(l[w]=io(O))}}const p=u.current.map((v,y)=>Zn(v,l[y])),m=P.useContext(lr),b=Ln(m),S=m!==b&&Qa(m);cn(()=>{s.current++,c.ctrls=u.current;const{queue:v}=c;v.length&&(c.queue=[],j(v,y=>y())),j(u.current,(y,w)=>{i==null||i.add(y),S&&y.start({default:m});const R=l[w];R&&(Xa(y,R.ref),y.ref?y.queue.push(R):y.start(R))})}),Di(()=>()=>{j(c.ctrls,v=>v.stop(!0))});const x=p.map(v=>({...v}));return i?[x,i]:x}function ho(e,t){const r=g.fun(e),[[n],i]=fo(1,r?e:[e],r?[]:t);return r||arguments.length==2?[n,i]:n}var po=class extends dn{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=wt(...t);const r=this._get(),n=Fr(r);un(this,n.create(r))}advance(e){const t=this._get(),r=this.get();be(t,r)||(pe(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&ei(this._active)&&kr(this)}_get(){const e=g.arr(this.source)?this.source.map(K):J(K(this.source));return this.calc(...e)}_start(){this.idle&&!ei(this._active)&&(this.idle=!1,j(cr(this),e=>{e.done=!1}),he.skipAnimation?(C.batchedUpdates(()=>this.advance()),kr(this)):ir.start(this))}_attach(){let e=1;j(J(this.source),t=>{re(t)&&rt(t,this),Mr(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){j(J(this.source),e=>{re(e)&&Et(e,this)}),this._active.clear(),kr(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=J(this.source).reduce((t,r)=>Math.max(t,(Mr(r)?r.priority:0)+1),0))}};function mo(e){return e.idle!==!1}function ei(e){return!e.size||Array.from(e).every(mo)}function kr(e){e.idle||(e.idle=!0,j(cr(e),t=>{t.done=!0}),St(e,{type:"idle",parent:e}))}he.assign({createStringInterpolator:Ii,to:(e,t)=>new po(e,t)});var Zi=/^--/;function go(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!Zi.test(e)&&!(yt.hasOwnProperty(e)&&yt[e])?t+"px":(""+t).trim()}var ti={};function vo(e,t){if(!e.nodeType||!e.setAttribute)return!1;const r=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{className:n,style:i,children:s,scrollTop:o,scrollLeft:c,viewBox:u,...l}=t,h=Object.values(l),d=Object.keys(l).map(p=>r||e.hasAttribute(p)?p:ti[p]||(ti[p]=p.replace(/([A-Z])/g,m=>"-"+m.toLowerCase())));s!==void 0&&(e.textContent=s);for(const p in i)if(i.hasOwnProperty(p)){const m=go(p,i[p]);Zi.test(p)?e.style.setProperty(p,m):e.style[p]=m}d.forEach((p,m)=>{e.setAttribute(p,h[m])}),n!==void 0&&(e.className=n),o!==void 0&&(e.scrollTop=o),c!==void 0&&(e.scrollLeft=c),u!==void 0&&e.setAttribute("viewBox",u)}var yt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},yo=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),bo=["Webkit","Ms","Moz","O"];yt=Object.keys(yt).reduce((e,t)=>(bo.forEach(r=>e[yo(r,t)]=e[t]),e),yt);var wo=/^(matrix|translate|scale|rotate|skew)/,_o=/^(translate)/,So=/^(rotate|skew)/,Ar=(e,t)=>g.num(e)&&e!==0?e+t:e,Ut=(e,t)=>g.arr(e)?e.every(r=>Ut(r,t)):g.num(e)?e===t:parseFloat(e)===t,Eo=class extends ur{constructor({x:e,y:t,z:r,...n}){const i=[],s=[];(e||t||r)&&(i.push([e||0,t||0,r||0]),s.push(o=>[`translate3d(${o.map(c=>Ar(c,"px")).join(",")})`,Ut(o,0)])),ge(n,(o,c)=>{if(c==="transform")i.push([o||""]),s.push(u=>[u,u===""]);else if(wo.test(c)){if(delete n[c],g.und(o))return;const u=_o.test(c)?"px":So.test(c)?"deg":"";i.push(J(o)),s.push(c==="rotate3d"?([l,h,d,p])=>[`rotate3d(${l},${h},${d},${Ar(p,u)})`,Ut(p,0)]:l=>[`${c}(${l.map(h=>Ar(h,u)).join(",")})`,Ut(l,c.startsWith("scale")?1:0)])}}),i.length&&(n.transform=new xo(i,s)),super(n)}},xo=class extends Ci{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return j(this.inputs,(r,n)=>{const i=K(r[0]),[s,o]=this.transforms[n](g.arr(i)?i:r.map(K));e+=" "+s,t=t&&o}),t?"none":e}observerAdded(e){e==1&&j(this.inputs,t=>j(t,r=>re(r)&&rt(r,this)))}observerRemoved(e){e==0&&j(this.inputs,t=>j(t,r=>re(r)&&Et(r,this)))}eventObserved(e){e.type=="change"&&(this._value=null),St(this,e)}},Ro=["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","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];he.assign({batchedUpdates:ea.unstable_batchedUpdates,createStringInterpolator:Ii,colors:da});var Po=Ba(Ro,{applyAnimatedValues:vo,createAnimatedStyle:e=>new Eo(e),getComponentProps:({scrollTop:e,scrollLeft:t,...r})=>r}),ko=Po.animated;function es(e){const t=e.htmlElement??"div",[r,n]=P.useState(!1),i=P.useRef(null),s=P.useRef(null),[o,c]=P.useState(null),[u,l]=ho(()=>({from:{opacity:0,transform:"scale(0)"},to:{opacity:1,transform:"scale(1)"}})),h=(m,b)=>Math.floor(Math.random()*(b-m+1))+m;P.useEffect(()=>{if(i.current&&s.current){const m=i.current.getBoundingClientRect(),b=s.current.getBoundingClientRect(),S=Math.max(m.height,b.height);c(S)}},[]),P.useEffect(()=>{if(!e.animate)return;const m=setTimeout(()=>{l({opacity:0,transform:"translateY(15px)",config:{duration:200},onRest:()=>{n(b=>!b),l({opacity:1,transform:"translateY(0px)",config:{duration:200}})}})},h(3500,15e3));return()=>clearTimeout(m)},[r,e.animate,l]);const d=e.animate&&r?e.content.simplified:e.content.english,p={...e.textStyles,minHeight:o!==null?`${o}px`:void 0,display:"inline-block",alignContent:"center"};return te.jsxs(te.Fragment,{children:[te.jsx("div",{ref:i,style:{position:"absolute",visibility:"hidden",pointerEvents:"none",whiteSpace:"nowrap",font:"inherit"},children:e.content.english}),te.jsx("div",{ref:s,style:{position:"absolute",visibility:"hidden",pointerEvents:"none",whiteSpace:"nowrap",font:"inherit"},children:e.content.simplified}),te.jsx(ko.div,{style:u,children:te.jsx(t,{style:p,children:d})})]})}var X=function(){return X=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},X.apply(this,arguments)};function Ve(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function Ao(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Co=/^((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|disableRemotePlayback|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)-.*))$/,Oo=Ao(function(e){return Co.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),V="-ms-",bt="-moz-",F="-webkit-",ts="comm",fr="rule",hn="decl",To="@import",rs="@keyframes",Io="@layer",ns=Math.abs,pn=String.fromCharCode,Lr=Object.assign;function jo(e,t){return B(e,0)^45?(((t<<2^B(e,0))<<2^B(e,1))<<2^B(e,2))<<2^B(e,3):0}function is(e){return e.trim()}function we(e,t){return(e=t.exec(e))?e[0]:e}function T(e,t,r){return e.replace(t,r)}function qt(e,t,r){return e.indexOf(t,r)}function B(e,t){return e.charCodeAt(t)|0}function Xe(e,t,r){return e.slice(t,r)}function me(e){return e.length}function ss(e){return e.length}function pt(e,t){return t.push(e),e}function No(e,t){return e.map(t).join("")}function ri(e,t){return e.filter(function(r){return!we(r,t)})}var dr=1,Je=1,as=0,ie=0,U=0,nt="";function hr(e,t,r,n,i,s,o,c){return{value:e,root:t,parent:r,type:n,props:i,children:s,line:dr,column:Je,length:o,return:"",siblings:c}}function Pe(e,t){return Lr(hr("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ge(e){for(;e.root;)e=Pe(e.root,{children:[e]});pt(e,e.siblings)}function Do(){return U}function Fo(){return U=ie>0?B(nt,--ie):0,Je--,U===10&&(Je=1,dr--),U}function de(){return U=ie<as?B(nt,ie++):0,Je++,U===10&&(Je=1,dr++),U}function De(){return B(nt,ie)}function Bt(){return ie}function pr(e,t){return Xe(nt,e,t)}function Ur(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $o(e){return dr=Je=1,as=me(nt=e),ie=0,[]}function Vo(e){return nt="",e}function Cr(e){return is(pr(ie-1,qr(e===91?e+2:e===40?e+1:e)))}function Mo(e){for(;(U=De())&&U<33;)de();return Ur(e)>2||Ur(U)>3?"":" "}function zo(e,t){for(;--t&&de()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return pr(e,Bt()+(t<6&&De()==32&&de()==32))}function qr(e){for(;de();)switch(U){case e:return ie;case 34:case 39:e!==34&&e!==39&&qr(U);break;case 40:e===41&&qr(e);break;case 92:de();break}return ie}function Lo(e,t){for(;de()&&e+U!==57;)if(e+U===84&&De()===47)break;return"/*"+pr(t,ie-1)+"*"+pn(e===47?e:de())}function Uo(e){for(;!Ur(De());)de();return pr(e,ie)}function qo(e){return Vo(Wt("",null,null,null,[""],e=$o(e),0,[0],e))}function Wt(e,t,r,n,i,s,o,c,u){for(var l=0,h=0,d=o,p=0,m=0,b=0,S=1,x=1,v=1,y=0,w="",R=i,O=s,A=n,E=w;x;)switch(b=y,y=de()){case 40:if(b!=108&&B(E,d-1)==58){qt(E+=T(Cr(y),"&","&\f"),"&\f",ns(l?c[l-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:E+=Cr(y);break;case 9:case 10:case 13:case 32:E+=Mo(b);break;case 92:E+=zo(Bt()-1,7);continue;case 47:switch(De()){case 42:case 47:pt(Bo(Lo(de(),Bt()),t,r,u),u);break;default:E+="/"}break;case 123*S:c[l++]=me(E)*v;case 125*S:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+h:v==-1&&(E=T(E,/\f/g,"")),m>0&&me(E)-d&&pt(m>32?ii(E+";",n,r,d-1,u):ii(T(E," ","")+";",n,r,d-2,u),u);break;case 59:E+=";";default:if(pt(A=ni(E,t,r,l,h,i,c,w,R=[],O=[],d,s),s),y===123)if(h===0)Wt(E,t,A,A,R,s,d,c,O);else switch(p===99&&B(E,3)===110?100:p){case 100:case 108:case 109:case 115:Wt(e,A,A,n&&pt(ni(e,A,A,0,0,i,c,w,i,R=[],d,O),O),i,O,d,c,n?R:O);break;default:Wt(E,A,A,A,[""],O,0,c,O)}}l=h=m=0,S=v=1,w=E="",d=o;break;case 58:d=1+me(E),m=b;default:if(S<1){if(y==123)--S;else if(y==125&&S++==0&&Fo()==125)continue}switch(E+=pn(y),y*S){case 38:v=h>0?1:(E+="\f",-1);break;case 44:c[l++]=(me(E)-1)*v,v=1;break;case 64:De()===45&&(E+=Cr(de())),p=De(),h=d=me(w=E+=Uo(Bt())),y++;break;case 45:b===45&&me(E)==2&&(S=0)}}return s}function ni(e,t,r,n,i,s,o,c,u,l,h,d){for(var p=i-1,m=i===0?s:[""],b=ss(m),S=0,x=0,v=0;S<n;++S)for(var y=0,w=Xe(e,p+1,p=ns(x=o[S])),R=e;y<b;++y)(R=is(x>0?m[y]+" "+w:T(w,/&\f/g,m[y])))&&(u[v++]=R);return hr(e,t,r,i===0?fr:c,u,l,h,d)}function Bo(e,t,r,n){return hr(e,t,r,ts,pn(Do()),Xe(e,2,-2),0,n)}function ii(e,t,r,n,i){return hr(e,t,r,hn,Xe(e,0,n),Xe(e,n+1,-1),n,i)}function os(e,t,r){switch(jo(e,t)){case 5103:return F+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return F+e+e;case 4789:return bt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+bt+e+V+e+e;case 5936:switch(B(e,t+11)){case 114:return F+e+V+T(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+V+T(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+V+T(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return F+e+V+e+e;case 6165:return F+e+V+"flex-"+e+e;case 5187:return F+e+T(e,/(\w+).+(:[^]+)/,F+"box-$1$2"+V+"flex-$1$2")+e;case 5443:return F+e+V+"flex-item-"+T(e,/flex-|-self/g,"")+(we(e,/flex-|baseline/)?"":V+"grid-row-"+T(e,/flex-|-self/g,""))+e;case 4675:return F+e+V+"flex-line-pack"+T(e,/align-content|flex-|-self/g,"")+e;case 5548:return F+e+V+T(e,"shrink","negative")+e;case 5292:return F+e+V+T(e,"basis","preferred-size")+e;case 6060:return F+"box-"+T(e,"-grow","")+F+e+V+T(e,"grow","positive")+e;case 4554:return F+T(e,/([^-])(transform)/g,"$1"+F+"$2")+e;case 6187:return T(T(T(e,/(zoom-|grab)/,F+"$1"),/(image-set)/,F+"$1"),e,"")+e;case 5495:case 3959:return T(e,/(image-set\([^]*)/,F+"$1$`$1");case 4968:return T(T(e,/(.+:)(flex-)?(.*)/,F+"box-pack:$3"+V+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4200:if(!we(e,/flex-|baseline/))return V+"grid-column-align"+Xe(e,t)+e;break;case 2592:case 3360:return V+T(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,i){return t=i,we(n.props,/grid-\w+-end/)})?~qt(e+(r=r[t].value),"span",0)?e:V+T(e,"-start","")+e+V+"grid-row-span:"+(~qt(r,"span",0)?we(r,/\d+/):+we(r,/\d+/)-+we(e,/\d+/))+";":V+T(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return we(n.props,/grid-\w+-start/)})?e:V+T(T(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return T(e,/(.+)-inline(.+)/,F+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(me(e)-1-t>6)switch(B(e,t+1)){case 109:if(B(e,t+4)!==45)break;case 102:return T(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+bt+(B(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~qt(e,"stretch",0)?os(T(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return T(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,i,s,o,c,u,l){return V+i+":"+s+l+(o?V+i+"-span:"+(c?u:+u-+s)+l:"")+e});case 4949:if(B(e,t+6)===121)return T(e,":",":"+F)+e;break;case 6444:switch(B(e,B(e,14)===45?18:11)){case 120:return T(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+F+(B(e,14)===45?"inline-":"")+"box$3$1"+F+"$2$3$1"+V+"$2box$3")+e;case 100:return T(e,":",":"+V)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return T(e,"scroll-","scroll-snap-")+e}return e}function Jt(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Wo(e,t,r,n){switch(e.type){case Io:if(e.children.length)break;case To:case hn:return e.return=e.return||e.value;case ts:return"";case rs:return e.return=e.value+"{"+Jt(e.children,n)+"}";case fr:if(!me(e.value=e.props.join(",")))return""}return me(r=Jt(e.children,n))?e.return=e.value+"{"+r+"}":""}function Yo(e){var t=ss(e);return function(r,n,i,s){for(var o="",c=0;c<t;c++)o+=e[c](r,n,i,s)||"";return o}}function Go(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ho(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case hn:e.return=os(e.value,e.length,r);return;case rs:return Jt([Pe(e,{value:T(e.value,"@","@"+F)})],n);case fr:if(e.length)return No(r=e.props,function(i){switch(we(i,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ge(Pe(e,{props:[T(i,/:(read-\w+)/,":"+bt+"$1")]})),Ge(Pe(e,{props:[i]})),Lr(e,{props:ri(r,n)});break;case"::placeholder":Ge(Pe(e,{props:[T(i,/:(plac\w+)/,":"+F+"input-$1")]})),Ge(Pe(e,{props:[T(i,/:(plac\w+)/,":"+bt+"$1")]})),Ge(Pe(e,{props:[T(i,/:(plac\w+)/,V+"input-$1")]})),Ge(Pe(e,{props:[i]})),Lr(e,{props:ri(r,n)});break}return""})}}var Qo={animationIterationCount:1,aspectRatio: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},Me=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",cs="active",us="data-styled-version",mr="6.1.16",mn=`/*!sc*/
|
|
31
|
-
`,
|
|
30
|
+
<%s key={someKey} {...props} />`,qr,Fe,na,Fe),di[Fe+qr]=!0}}return a===n?Js(B):Xs(B),B}}function Zs(a,g,O){return hi(a,g,O,!0)}function ea(a,g,O){return hi(a,g,O,!1)}var ta=ea,ra=Zs;_t.Fragment=n,_t.jsx=ta,_t.jsxs=ra}()),_t}var gi;function ua(){return gi||(gi=1,process.env.NODE_ENV==="production"?Kt.exports=aa():Kt.exports=ca()),Kt.exports}var G=ua(),Dn=Wt(),A=e=>Ut(e,Dn),In=Wt();A.write=e=>Ut(e,In);var Sr=Wt();A.onStart=e=>Ut(e,Sr);var jn=Wt();A.onFrame=e=>Ut(e,jn);var Vn=Wt();A.onFinish=e=>Ut(e,Vn);var nt=[];A.setTimeout=(e,t)=>{const r=A.now()+t,n=()=>{const o=nt.findIndex(s=>s.cancel==n);~o&&nt.splice(o,1),Ie-=~o?1:0},i={time:r,handler:e,cancel:n};return nt.splice(po(r),0,i),Ie+=1,mo(),i};var po=e=>~(~nt.findIndex(t=>t.time>e)||~nt.length);A.cancel=e=>{Sr.delete(e),jn.delete(e),Vn.delete(e),Dn.delete(e),In.delete(e)};A.sync=e=>{un=!0,A.batchedUpdates(e),un=!1};A.throttle=e=>{let t;function r(){try{e(...t)}finally{t=null}}function n(...i){t=i,A.onStart(r)}return n.handler=e,n.cancel=()=>{Sr.delete(r),t=null},n};var Fn=typeof window<"u"?window.requestAnimationFrame:()=>{};A.use=e=>Fn=e;A.now=typeof performance<"u"?()=>performance.now():Date.now;A.batchedUpdates=e=>e();A.catch=console.error;A.frameLoop="always";A.advance=()=>{A.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):yo()};var De=-1,Ie=0,un=!1;function Ut(e,t){un?(t.delete(e),e(0)):(t.add(e),mo())}function mo(){De<0&&(De=0,A.frameLoop!=="demand"&&Fn(go))}function la(){De=-1}function go(){~De&&(Fn(go),A.batchedUpdates(yo))}function yo(){const e=De;De=A.now();const t=po(De);if(t&&(vo(nt.splice(0,t),r=>r.handler()),Ie-=t),!Ie){la();return}Sr.flush(),Dn.flush(e?Math.min(64,De-e):16.667),jn.flush(),In.flush(),Vn.flush()}function Wt(){let e=new Set,t=e;return{add(r){Ie+=t==e&&!e.has(r)?1:0,e.add(r)},delete(r){return Ie-=t==e&&e.has(r)?1:0,e.delete(r)},flush(r){t.size&&(e=new Set,Ie-=t.size,vo(t,n=>n(r)&&e.add(n)),Ie+=e.size,t=e)}}}function vo(e,t){e.forEach(r=>{try{t(r)}catch(n){A.catch(n)}})}var fa=Object.defineProperty,da=(e,t)=>{for(var r in t)fa(e,r,{get:t[r],enumerable:!0})},ve={};da(ve,{assign:()=>pa,colors:()=>je,createStringInterpolator:()=>Mn,skipAnimation:()=>_o,to:()=>bo,willAdvance:()=>$n});function ln(){}var ha=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),b={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function Ee(e,t){if(b.arr(e)){if(!b.arr(t)||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}var D=(e,t)=>e.forEach(t);function we(e,t,r){if(b.arr(e)){for(let n=0;n<e.length;n++)t.call(r,e[n],`${n}`);return}for(const n in e)e.hasOwnProperty(n)&&t.call(r,e[n],n)}var te=e=>b.und(e)?[]:b.arr(e)?e:[e];function Pt(e,t){if(e.size){const r=Array.from(e);e.clear(),D(r,t)}}var Rt=(e,...t)=>Pt(e,r=>r(...t)),zn=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Mn,bo,je=null,_o=!1,$n=ln,pa=e=>{e.to&&(bo=e.to),e.now&&(A.now=e.now),e.colors!==void 0&&(je=e.colors),e.skipAnimation!=null&&(_o=e.skipAnimation),e.createStringInterpolator&&(Mn=e.createStringInterpolator),e.requestAnimationFrame&&A.use(e.requestAnimationFrame),e.batchedUpdates&&(A.batchedUpdates=e.batchedUpdates),e.willAdvance&&($n=e.willAdvance),e.frameLoop&&(A.frameLoop=e.frameLoop)},xt=new Set,ae=[],Hr=[],lr=0,Er={get idle(){return!xt.size&&!ae.length},start(e){lr>e.priority?(xt.add(e),A.onStart(ma)):(wo(e),A(fn))},advance:fn,sort(e){if(lr)A.onFrame(()=>Er.sort(e));else{const t=ae.indexOf(e);~t&&(ae.splice(t,1),So(e))}},clear(){ae=[],xt.clear()}};function ma(){xt.forEach(wo),xt.clear(),A(fn)}function wo(e){ae.includes(e)||So(e)}function So(e){ae.splice(ga(ae,t=>t.priority>e.priority),0,e)}function fn(e){const t=Hr;for(let r=0;r<ae.length;r++){const n=ae[r];lr=n.priority,n.idle||($n(n),n.advance(e),n.idle||t.push(n))}return lr=0,Hr=ae,Hr.length=0,ae=t,ae.length>0}function ga(e,t){const r=e.findIndex(t);return r<0?e.length:r}var ya={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},ge="[-+]?\\d*\\.?\\d+",fr=ge+"%";function Rr(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var va=new RegExp("rgb"+Rr(ge,ge,ge)),ba=new RegExp("rgba"+Rr(ge,ge,ge,ge)),_a=new RegExp("hsl"+Rr(ge,fr,fr)),wa=new RegExp("hsla"+Rr(ge,fr,fr,ge)),Sa=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Ea=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Ra=/^#([0-9a-fA-F]{6})$/,Oa=/^#([0-9a-fA-F]{8})$/;function Pa(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Ra.exec(e))?parseInt(t[1]+"ff",16)>>>0:je&&je[e]!==void 0?je[e]:(t=va.exec(e))?(tt(t[1])<<24|tt(t[2])<<16|tt(t[3])<<8|255)>>>0:(t=ba.exec(e))?(tt(t[1])<<24|tt(t[2])<<16|tt(t[3])<<8|bi(t[4]))>>>0:(t=Sa.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Oa.exec(e))?parseInt(t[1],16)>>>0:(t=Ea.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=_a.exec(e))?(yi(vi(t[1]),Qt(t[2]),Qt(t[3]))|255)>>>0:(t=wa.exec(e))?(yi(vi(t[1]),Qt(t[2]),Qt(t[3]))|bi(t[4]))>>>0:null}function Gr(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function yi(e,t,r){const n=r<.5?r*(1+t):r+t-r*t,i=2*r-n,o=Gr(i,n,e+1/3),s=Gr(i,n,e),c=Gr(i,n,e-1/3);return Math.round(o*255)<<24|Math.round(s*255)<<16|Math.round(c*255)<<8}function tt(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function vi(e){return(parseFloat(e)%360+360)%360/360}function bi(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function Qt(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function _i(e){let t=Pa(e);if(t===null)return e;t=t||0;const r=(t&4278190080)>>>24,n=(t&16711680)>>>16,i=(t&65280)>>>8,o=(t&255)/255;return`rgba(${r}, ${n}, ${i}, ${o})`}var Tt=(e,t,r)=>{if(b.fun(e))return e;if(b.arr(e))return Tt({range:e,output:t,extrapolate:r});if(b.str(e.output[0]))return Mn(e);const n=e,i=n.output,o=n.range||[0,1],s=n.extrapolateLeft||n.extrapolate||"extend",c=n.extrapolateRight||n.extrapolate||"extend",u=n.easing||(l=>l);return l=>{const f=Ca(l,o);return xa(l,o[f],o[f+1],i[f],i[f+1],u,s,c,n.map)}};function xa(e,t,r,n,i,o,s,c,u){let l=u?u(e):e;if(l<t){if(s==="identity")return l;s==="clamp"&&(l=t)}if(l>r){if(c==="identity")return l;c==="clamp"&&(l=r)}return n===i?n:t===r?e<=t?n:i:(t===-1/0?l=-l:r===1/0?l=l-t:l=(l-t)/(r-t),l=o(l),n===-1/0?l=-l:i===1/0?l=l+n:l=l*(i-n)+n,l)}function Ca(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}var ka={linear:e=>e},Nt=Symbol.for("FluidValue.get"),ot=Symbol.for("FluidValue.observers"),se=e=>!!(e&&e[Nt]),J=e=>e&&e[Nt]?e[Nt]():e,wi=e=>e[ot]||null;function Aa(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Dt(e,t){const r=e[ot];r&&r.forEach(n=>{Aa(n,t)})}var Eo=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Ta(this,e)}},Ta=(e,t)=>Ro(e,Nt,t);function dt(e,t){if(e[Nt]){let r=e[ot];r||Ro(e,ot,r=new Set),r.has(t)||(r.add(t),e.observerAdded&&e.observerAdded(r.size,t))}return t}function It(e,t){const r=e[ot];if(r&&r.has(t)){const n=r.size-1;n?r.delete(t):e[ot]=null,e.observerRemoved&&e.observerRemoved(n,t)}}var Ro=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),nr=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Na=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Si=new RegExp(`(${nr.source})(%|[a-z]+)`,"i"),Da=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Or=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Oo=e=>{const[t,r]=Ia(e);if(!t||zn())return e;const n=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(n)return n.trim();if(r&&r.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(r);return i||e}else{if(r&&Or.test(r))return Oo(r);if(r)return r}return e},Ia=e=>{const t=Or.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]},Yr,ja=(e,t,r,n,i)=>`rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`,Po=e=>{Yr||(Yr=je?new RegExp(`(${Object.keys(je).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(o=>J(o).replace(Or,Oo).replace(Na,_i).replace(Yr,_i)),r=t.map(o=>o.match(nr).map(Number)),i=r[0].map((o,s)=>r.map(c=>{if(!(s in c))throw Error('The arity of each "output" value must be equal');return c[s]})).map(o=>Tt({...e,output:o}));return o=>{var u;const s=!Si.test(t[0])&&((u=t.find(l=>Si.test(l)))==null?void 0:u.replace(nr,""));let c=0;return t[0].replace(nr,()=>`${i[c++](o)}${s||""}`).replace(Da,ja)}},Ln="react-spring: ",xo=e=>{const t=e;let r=!1;if(typeof t!="function")throw new TypeError(`${Ln}once requires a function parameter`);return(...n)=>{r||(t(...n),r=!0)}},Va=xo(console.warn);function Fa(){Va(`${Ln}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var za=xo(console.warn);function Ma(){za(`${Ln}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function Pr(e){return b.str(e)&&(e[0]=="#"||/\d/.test(e)||!zn()&&Or.test(e)||e in(je||{}))}var Bn=zn()?C.useEffect:C.useLayoutEffect,$a=()=>{const e=C.useRef(!1);return Bn(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function Co(){const e=C.useState()[1],t=$a();return()=>{t.current&&e(Math.random())}}function La(e,t){const[r]=C.useState(()=>({inputs:t,result:e()})),n=C.useRef(),i=n.current;let o=i;return o?t&&o.inputs&&Ba(t,o.inputs)||(o={inputs:t,result:e()}):o=r,C.useEffect(()=>{n.current=o,i==r&&(r.inputs=r.result=void 0)},[o]),o.result}function Ba(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var ko=e=>C.useEffect(e,Ua),Ua=[];function Ei(e){const t=C.useRef();return C.useEffect(()=>{t.current=e}),t.current}var jt=Symbol.for("Animated:node"),Wa=e=>!!e&&e[jt]===e,be=e=>e&&e[jt],Un=(e,t)=>ha(e,jt,t),xr=e=>e&&e[jt]&&e[jt].getPayload(),Ao=class{constructor(){Un(this,this)}getPayload(){return this.payload||[]}},qt=class extends Ao{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,b.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new qt(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return b.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,b.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Vt=class extends qt{constructor(e){super(0),this._string=null,this._toString=Tt({output:[e,e]})}static create(e){return new Vt(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(b.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=Tt({output:[this.getValue(),e]})),this._value=0,super.reset()}},dr={dependencies:null},Cr=class extends Ao{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return we(this.source,(r,n)=>{Wa(r)?t[n]=r.getValue(e):se(r)?t[n]=J(r):e||(t[n]=r)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&D(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return we(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){dr.dependencies&&se(e)&&dr.dependencies.add(e);const t=xr(e);t&&D(t,r=>this.add(r))}},To=class extends Cr{constructor(e){super(e)}static create(e){return new To(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((r,n)=>r.setValue(e[n])).some(Boolean):(super.setValue(e.map(qa)),!0)}};function qa(e){return(Pr(e)?Vt:qt).create(e)}function dn(e){const t=be(e);return t?t.constructor:b.arr(e)?To:Pr(e)?Vt:qt}var Ri=(e,t)=>{const r=!b.fun(e)||e.prototype&&e.prototype.isReactComponent;return C.forwardRef((n,i)=>{const o=C.useRef(null),s=r&&C.useCallback(y=>{o.current=Ya(i,y)},[i]),[c,u]=Ga(n,t),l=Co(),f=()=>{const y=o.current;if(r&&!y)return;(y?t.applyAnimatedValues(y,c.getValue(!0)):!1)===!1&&l()},d=new Ha(f,u),h=C.useRef();Bn(()=>(h.current=d,D(u,y=>dt(y,d)),()=>{h.current&&(D(h.current.deps,y=>It(y,h.current)),A.cancel(h.current.update))})),C.useEffect(f,[]),ko(()=>()=>{const y=h.current;D(y.deps,S=>It(S,y))});const p=t.getComponentProps(c.getValue());return Ne.createElement(e,{...p,ref:s})})},Ha=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&A.write(this.update)}};function Ga(e,t){const r=new Set;return dr.dependencies=r,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new Cr(e),dr.dependencies=null,[e,r]}function Ya(e,t){return e&&(b.fun(e)?e(t):e.current=t),t}var Oi=Symbol.for("AnimatedComponent"),Ka=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:r=i=>new Cr(i),getComponentProps:n=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:r,getComponentProps:n},o=s=>{const c=Pi(s)||"Anonymous";return b.str(s)?s=o[s]||(o[s]=Ri(s,i)):s=s[Oi]||(s[Oi]=Ri(s,i)),s.displayName=`Animated(${c})`,s};return we(e,(s,c)=>{b.arr(e)&&(c=Pi(s)),o[c]=o(s)}),{animated:o}},Pi=e=>b.str(e)?e:e&&b.str(e.displayName)?e.displayName:b.fun(e)&&e.name||null;function Me(e,...t){return b.fun(e)?e(...t):e}var Ct=(e,t)=>e===!0||!!(t&&e&&(b.fun(e)?e(t):te(e).includes(t))),No=(e,t)=>b.obj(e)?t&&e[t]:e,Do=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,Qa=e=>e,Wn=(e,t=Qa)=>{let r=Xa;e.default&&e.default!==!0&&(e=e.default,r=Object.keys(e));const n={};for(const i of r){const o=t(e[i],i);b.und(o)||(n[i]=o)}return n},Xa=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Ja={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Za(e){const t={};let r=0;if(we(e,(n,i)=>{Ja[i]||(t[i]=n,r++)}),r)return t}function Io(e){const t=Za(e);if(t){const r={to:t};return we(e,(n,i)=>i in t||(r[i]=n)),r}return{...e}}function Ft(e){return e=J(e),b.arr(e)?e.map(Ft):Pr(e)?ve.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function ec(e){for(const t in e)return!0;return!1}function hn(e){return b.fun(e)||b.arr(e)&&b.obj(e[0])}function tc(e,t){var r;(r=e.ref)==null||r.delete(e),t==null||t.delete(e)}function rc(e,t){var r;t&&e.ref!==t&&((r=e.ref)==null||r.delete(e),t.add(e),e.ref=t)}var nc={default:{tension:170,friction:26}},pn={...nc.default,mass:1,damping:1,easing:ka.linear,clamp:!1},ic=class{constructor(){this.velocity=0,Object.assign(this,pn)}};function oc(e,t,r){r&&(r={...r},xi(r,t),t={...r,...t}),xi(e,t),Object.assign(e,t);for(const s in pn)e[s]==null&&(e[s]=pn[s]);let{frequency:n,damping:i}=e;const{mass:o}=e;return b.und(n)||(n<.01&&(n=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/n,2)*o,e.friction=4*Math.PI*i*o/n),e}function xi(e,t){if(!b.und(t.decay))e.duration=void 0;else{const r=!b.und(t.tension)||!b.und(t.friction);(r||!b.und(t.frequency)||!b.und(t.damping)||!b.und(t.mass))&&(e.duration=void 0,e.decay=void 0),r&&(e.frequency=void 0)}}var Ci=[],sc=class{constructor(){this.changed=!1,this.values=Ci,this.toValues=null,this.fromValues=Ci,this.config=new ic,this.immediate=!1}};function jo(e,{key:t,props:r,defaultProps:n,state:i,actions:o}){return new Promise((s,c)=>{let u,l,f=Ct(r.cancel??(n==null?void 0:n.cancel),t);if(f)p();else{b.und(r.pause)||(i.paused=Ct(r.pause,t));let y=n==null?void 0:n.pause;y!==!0&&(y=i.paused||Ct(y,t)),u=Me(r.delay||0,t),y?(i.resumeQueue.add(h),o.pause()):(o.resume(),h())}function d(){i.resumeQueue.add(h),i.timeouts.delete(l),l.cancel(),u=l.time-A.now()}function h(){u>0&&!ve.skipAnimation?(i.delayed=!0,l=A.setTimeout(p,u),i.pauseQueue.add(d),i.timeouts.add(l)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(l),e<=(i.cancelId||0)&&(f=!0);try{o.start({...r,callId:e,cancel:f},s)}catch(y){c(y)}}})}var qn=(e,t)=>t.length==1?t[0]:t.some(r=>r.cancelled)?it(e.get()):t.every(r=>r.noop)?Vo(e.get()):me(e.get(),t.every(r=>r.finished)),Vo=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),me=(e,t,r=!1)=>({value:e,finished:t,cancelled:r}),it=e=>({value:e,cancelled:!0,finished:!1});function Fo(e,t,r,n){const{callId:i,parentId:o,onRest:s}=t,{asyncTo:c,promise:u}=r;return!o&&e===c&&!t.reset?u:r.promise=(async()=>{r.asyncId=i,r.asyncTo=e;const l=Wn(t,(x,_)=>_==="onRest"?void 0:x);let f,d;const h=new Promise((x,_)=>(f=x,d=_)),p=x=>{const _=i<=(r.cancelId||0)&&it(n)||i!==r.asyncId&&me(n,!1);if(_)throw x.result=_,d(x),x},y=(x,_)=>{const v=new ki,m=new Ai;return(async()=>{if(ve.skipAnimation)throw zt(r),m.result=me(n,!1),d(m),m;p(v);const w=b.obj(x)?{...x}:{..._,to:x};w.parentId=i,we(l,(P,R)=>{b.und(w[R])&&(w[R]=P)});const E=await n.start(w);return p(v),r.paused&&await new Promise(P=>{r.resumeQueue.add(P)}),E})()};let S;if(ve.skipAnimation)return zt(r),me(n,!1);try{let x;b.arr(e)?x=(async _=>{for(const v of _)await y(v)})(e):x=Promise.resolve(e(y,n.stop.bind(n))),await Promise.all([x.then(f),h]),S=me(n.get(),!0,!1)}catch(x){if(x instanceof ki)S=x.result;else if(x instanceof Ai)S=x.result;else throw x}finally{i==r.asyncId&&(r.asyncId=o,r.asyncTo=o?c:void 0,r.promise=o?u:void 0)}return b.fun(s)&&A.batchedUpdates(()=>{s(S,n,n.item)}),S})()}function zt(e,t){Pt(e.timeouts,r=>r.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var ki=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Ai=class extends Error{constructor(){super("SkipAnimationSignal")}},mn=e=>e instanceof Hn,ac=1,Hn=class extends Eo{constructor(){super(...arguments),this.id=ac++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=be(this);return e&&e.getValue()}to(...e){return ve.to(this,e)}interpolate(...e){return Fa(),ve.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Dt(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Er.sort(this),Dt(this,{type:"priority",parent:this,priority:e})}},We=Symbol.for("SpringPhase"),zo=1,Mo=2,$o=4,Kr=e=>(e[We]&zo)>0,Ae=e=>(e[We]&Mo)>0,wt=e=>(e[We]&$o)>0,Ti=(e,t)=>t?e[We]|=Mo|zo:e[We]&=-3,Ni=(e,t)=>t?e[We]|=$o:e[We]&=-5,cc=class extends Hn{constructor(e,t){if(super(),this.animation=new sc,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!b.und(e)||!b.und(t)){const r=b.obj(e)?{...e}:{...t,from:e};b.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(Ae(this)||this._state.asyncTo)||wt(this)}get goal(){return J(this.animation.to)}get velocity(){const e=be(this);return e instanceof qt?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return Kr(this)}get isAnimating(){return Ae(this)}get isPaused(){return wt(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,r=!1;const n=this.animation;let{toValues:i}=n;const{config:o}=n,s=xr(n.to);!s&&se(n.to)&&(i=te(J(n.to))),n.values.forEach((l,f)=>{if(l.done)return;const d=l.constructor==Vt?1:s?s[f].lastPosition:i[f];let h=n.immediate,p=d;if(!h){if(p=l.lastPosition,o.tension<=0){l.done=!0;return}let y=l.elapsedTime+=e;const S=n.fromValues[f],x=l.v0!=null?l.v0:l.v0=b.arr(o.velocity)?o.velocity[f]:o.velocity;let _;const v=o.precision||(S==d?.005:Math.min(1,Math.abs(d-S)*.001));if(b.und(o.duration))if(o.decay){const m=o.decay===!0?.998:o.decay,w=Math.exp(-(1-m)*y);p=S+x/(1-m)*(1-w),h=Math.abs(l.lastPosition-p)<=v,_=x*w}else{_=l.lastVelocity==null?x:l.lastVelocity;const m=o.restVelocity||v/10,w=o.clamp?0:o.bounce,E=!b.und(w),P=S==d?l.v0>0:S<d;let R,j=!1;const M=1,ue=Math.ceil(e/M);for(let H=0;H<ue&&(R=Math.abs(_)>m,!(!R&&(h=Math.abs(d-p)<=v,h)));++H){E&&(j=p==d||p>d==P,j&&(_=-_*w,p=d));const le=-o.tension*1e-6*(p-d),W=-o.friction*.001*_,fe=(le+W)/o.mass;_=_+fe*M,p=p+_*M}}else{let m=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,l.durationProgress>0&&(l.elapsedTime=o.duration*l.durationProgress,y=l.elapsedTime+=e)),m=(o.progress||0)+y/this._memoizedDuration,m=m>1?1:m<0?0:m,l.durationProgress=m),p=S+o.easing(m)*(d-S),_=(p-l.lastPosition)/e,h=m==1}l.lastVelocity=_,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),h=!0)}s&&!s[f].done&&(h=!1),h?l.done=!0:t=!1,l.setValue(p,o.round)&&(r=!0)});const c=be(this),u=c.getValue();if(t){const l=J(n.to);(u!==l||r)&&!o.decay?(c.setValue(l),this._onChange(l)):r&&o.decay&&this._onChange(u),this._stop()}else r&&this._onChange(u)}set(e){return A.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ae(this)){const{to:e,config:t}=this.animation;A.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let r;return b.und(e)?(r=this.queue||[],this.queue=[]):r=[b.obj(e)?e:{...t,to:e}],Promise.all(r.map(n=>this._update(n))).then(n=>qn(this,n))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),zt(this._state,e&&this._lastCallId),A.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:r,from:n}=e;r=b.obj(r)?r[t]:r,(r==null||hn(r))&&(r=void 0),n=b.obj(n)?n[t]:n,n==null&&(n=void 0);const i={to:r,from:n};return Kr(this)||(e.reverse&&([r,n]=[n,r]),n=J(n),b.und(n)?be(this)||this._set(r):this._set(n)),i}_update({...e},t){const{key:r,defaultProps:n}=this;e.default&&Object.assign(n,Wn(e,(s,c)=>/^on/.test(c)?No(s,r):s)),Ii(this,e,"onProps"),Et(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const o=this._state;return jo(++this._lastCallId,{key:r,props:e,defaultProps:n,state:o,actions:{pause:()=>{wt(this)||(Ni(this,!0),Rt(o.pauseQueue),Et(this,"onPause",me(this,St(this,this.animation.to)),this))},resume:()=>{wt(this)&&(Ni(this,!1),Ae(this)&&this._resume(),Rt(o.resumeQueue),Et(this,"onResume",me(this,St(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(s=>{if(e.loop&&s.finished&&!(t&&s.noop)){const c=Lo(e);if(c)return this._update(c,!0)}return s})}_merge(e,t,r){if(t.cancel)return this.stop(!0),r(it(this));const n=!b.und(e.to),i=!b.und(e.from);if(n||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return r(it(this));const{key:o,defaultProps:s,animation:c}=this,{to:u,from:l}=c;let{to:f=u,from:d=l}=e;i&&!n&&(!t.default||b.und(f))&&(f=d),t.reverse&&([f,d]=[d,f]);const h=!Ee(d,l);h&&(c.from=d),d=J(d);const p=!Ee(f,u);p&&this._focus(f);const y=hn(t.to),{config:S}=c,{decay:x,velocity:_}=S;(n||i)&&(S.velocity=0),t.config&&!y&&oc(S,Me(t.config,o),t.config!==s.config?Me(s.config,o):void 0);let v=be(this);if(!v||b.und(f))return r(me(this,!0));const m=b.und(t.reset)?i&&!t.default:!b.und(d)&&Ct(t.reset,o),w=m?d:this.get(),E=Ft(f),P=b.num(E)||b.arr(E)||Pr(E),R=!y&&(!P||Ct(s.immediate||t.immediate,o));if(p){const H=dn(f);if(H!==v.constructor)if(R)v=this._set(E);else throw Error(`Cannot animate between ${v.constructor.name} and ${H.name}, as the "to" prop suggests`)}const j=v.constructor;let M=se(f),ue=!1;if(!M){const H=m||!Kr(this)&&h;(p||H)&&(ue=Ee(Ft(w),E),M=!ue),(!Ee(c.immediate,R)&&!R||!Ee(S.decay,x)||!Ee(S.velocity,_))&&(M=!0)}if(ue&&Ae(this)&&(c.changed&&!m?M=!0:M||this._stop(u)),!y&&((M||se(u))&&(c.values=v.getPayload(),c.toValues=se(f)?null:j==Vt?[1]:te(E)),c.immediate!=R&&(c.immediate=R,!R&&!m&&this._set(u)),M)){const{onRest:H}=c;D(lc,W=>Ii(this,t,W));const le=me(this,St(this,u));Rt(this._pendingCalls,le),this._pendingCalls.add(r),c.changed&&A.batchedUpdates(()=>{var W;c.changed=!m,H==null||H(le,this),m?Me(s.onRest,le):(W=c.onStart)==null||W.call(c,le,this)})}m&&this._set(w),y?r(Fo(t.to,t,this._state,this)):M?this._start():Ae(this)&&!p?this._pendingCalls.add(r):r(Vo(w))}_focus(e){const t=this.animation;e!==t.to&&(wi(this)&&this._detach(),t.to=e,wi(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;se(t)&&(dt(t,this),mn(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;se(e)&&It(e,this)}_set(e,t=!0){const r=J(e);if(!b.und(r)){const n=be(this);if(!n||!Ee(r,n.getValue())){const i=dn(r);!n||n.constructor!=i?Un(this,i.create(r)):n.setValue(r),n&&A.batchedUpdates(()=>{this._onChange(r,t)})}}return be(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Et(this,"onStart",me(this,St(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Me(this.animation.onChange,e,this)),Me(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;be(this).reset(J(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),Ae(this)||(Ti(this,!0),wt(this)||this._resume())}_resume(){ve.skipAnimation?this.finish():Er.start(this)}_stop(e,t){if(Ae(this)){Ti(this,!1);const r=this.animation;D(r.values,i=>{i.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),Dt(this,{type:"idle",parent:this});const n=t?it(this.get()):me(this.get(),St(this,e??r.to));Rt(this._pendingCalls,n),r.changed&&(r.changed=!1,Et(this,"onRest",n,this))}}};function St(e,t){const r=Ft(t),n=Ft(e.get());return Ee(n,r)}function Lo(e,t=e.loop,r=e.to){const n=Me(t);if(n){const i=n!==!0&&Io(n),o=(i||e).reverse,s=!i||i.reset;return Mt({...e,loop:t,default:!1,pause:void 0,to:!o||hn(r)?r:void 0,from:s?e.from:void 0,reset:s,...i})}}function Mt(e){const{to:t,from:r}=e=Io(e),n=new Set;return b.obj(t)&&Di(t,n),b.obj(r)&&Di(r,n),e.keys=n.size?Array.from(n):null,e}function uc(e){const t=Mt(e);return b.und(t.default)&&(t.default=Wn(t)),t}function Di(e,t){we(e,(r,n)=>r!=null&&t.add(n))}var lc=["onStart","onRest","onChange","onPause","onResume"];function Ii(e,t,r){e.animation[r]=t[r]!==Do(t,r)?No(t[r],e.key):void 0}function Et(e,t,...r){var n,i,o,s;(i=(n=e.animation)[t])==null||i.call(n,...r),(s=(o=e.defaultProps)[t])==null||s.call(o,...r)}var fc=["onStart","onChange","onRest"],dc=1,hc=class{constructor(e,t){this.id=dc++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,r)=>e[r]=t.get()),e}set(e){for(const t in e){const r=e[t];b.und(r)||this.springs[t].set(r)}}update(e){return e&&this.queue.push(Mt(e)),this}start(e){let{queue:t}=this;return e?t=te(e).map(Mt):this.queue=[],this._flush?this._flush(this,t):(Ho(this,t),gn(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const r=this.springs;D(te(t),n=>r[n].stop(!!e))}else zt(this._state,this._lastAsyncId),this.each(r=>r.stop(!!e));return this}pause(e){if(b.und(e))this.start({pause:!0});else{const t=this.springs;D(te(e),r=>t[r].pause())}return this}resume(e){if(b.und(e))this.start({pause:!1});else{const t=this.springs;D(te(e),r=>t[r].resume())}return this}each(e){we(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,Pt(e,([c,u])=>{u.value=this.get(),c(u,this,this._item)}));const o=!n&&this._started,s=i||o&&r.size?this.get():null;i&&t.size&&Pt(t,([c,u])=>{u.value=s,c(u,this,this._item)}),o&&(this._started=!1,Pt(r,([c,u])=>{u.value=s,c(u,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;A.onFrame(this._onFrame)}};function gn(e,t){return Promise.all(t.map(r=>Bo(e,r))).then(r=>qn(e,r))}async function Bo(e,t,r){const{keys:n,to:i,from:o,loop:s,onRest:c,onResolve:u}=t,l=b.obj(t.default)&&t.default;s&&(t.loop=!1),i===!1&&(t.to=null),o===!1&&(t.from=null);const f=b.arr(i)||b.fun(i)?i:void 0;f?(t.to=void 0,t.onRest=void 0,l&&(l.onRest=void 0)):D(fc,S=>{const x=t[S];if(b.fun(x)){const _=e._events[S];t[S]=({finished:v,cancelled:m})=>{const w=_.get(x);w?(v||(w.finished=!1),m&&(w.cancelled=!0)):_.set(x,{value:null,finished:v||!1,cancelled:m||!1})},l&&(l[S]=t[S])}});const d=e._state;t.pause===!d.paused?(d.paused=t.pause,Rt(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const h=(n||Object.keys(e.springs)).map(S=>e.springs[S].start(t)),p=t.cancel===!0||Do(t,"cancel")===!0;(f||p&&d.asyncId)&&h.push(jo(++e._lastAsyncId,{props:t,state:d,actions:{pause:ln,resume:ln,start(S,x){p?(zt(d,e._lastAsyncId),x(it(e))):(S.onRest=c,x(Fo(f,S,d,e)))}}})),d.paused&&await new Promise(S=>{d.resumeQueue.add(S)});const y=qn(e,await Promise.all(h));if(s&&y.finished&&!(r&&y.noop)){const S=Lo(t,s,i);if(S)return Ho(e,[S]),Bo(e,S,!0)}return u&&A.batchedUpdates(()=>u(y,e,e.item)),y}function ji(e,t){const r={...e.springs};return t&&D(te(t),n=>{b.und(n.keys)&&(n=Mt(n)),b.obj(n.to)||(n={...n,to:void 0}),qo(r,n,i=>Wo(i))}),Uo(e,r),r}function Uo(e,t){we(t,(r,n)=>{e.springs[n]||(e.springs[n]=r,dt(r,e))})}function Wo(e,t){const r=new cc;return r.key=e,t&&dt(r,t),r}function qo(e,t,r){t.keys&&D(t.keys,n=>{(e[n]||(e[n]=r(n)))._prepareNode(t)})}function Ho(e,t){D(t,r=>{qo(e.springs,r,n=>Wo(n,e))})}var kr=({children:e,...t})=>{const r=C.useContext(hr),n=t.pause||!!r.pause,i=t.immediate||!!r.immediate;t=La(()=>({pause:n,immediate:i}),[n,i]);const{Provider:o}=hr;return Ne.createElement(o,{value:t},e)},hr=pc(kr,{});kr.Provider=hr.Provider;kr.Consumer=hr.Consumer;function pc(e,t){return Object.assign(e,Ne.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var mc=()=>{const e=[],t=function(n){Ma();const i=[];return D(e,(o,s)=>{if(b.und(n))i.push(o.start());else{const c=r(n,o,s);c&&i.push(o.start(c))}}),i};t.current=e,t.add=function(n){e.includes(n)||e.push(n)},t.delete=function(n){const i=e.indexOf(n);~i&&e.splice(i,1)},t.pause=function(){return D(e,n=>n.pause(...arguments)),this},t.resume=function(){return D(e,n=>n.resume(...arguments)),this},t.set=function(n){D(e,(i,o)=>{const s=b.fun(n)?n(o,i):n;s&&i.set(s)})},t.start=function(n){const i=[];return D(e,(o,s)=>{if(b.und(n))i.push(o.start());else{const c=this._getProps(n,o,s);c&&i.push(o.start(c))}}),i},t.stop=function(){return D(e,n=>n.stop(...arguments)),this},t.update=function(n){return D(e,(i,o)=>i.update(this._getProps(n,i,o))),this};const r=function(n,i,o){return b.fun(n)?n(o,i):n};return t._getProps=r,t};function gc(e,t,r){const n=b.fun(t)&&t;n&&!r&&(r=[]);const i=C.useMemo(()=>n||arguments.length==3?mc():void 0,[]),o=C.useRef(0),s=Co(),c=C.useMemo(()=>({ctrls:[],queue:[],flush(_,v){const m=ji(_,v);return o.current>0&&!c.queue.length&&!Object.keys(m).some(E=>!_.springs[E])?gn(_,v):new Promise(E=>{Uo(_,m),c.queue.push(()=>{E(gn(_,v))}),s()})}}),[]),u=C.useRef([...c.ctrls]),l=[],f=Ei(e)||0;C.useMemo(()=>{D(u.current.slice(e,f),_=>{tc(_,i),_.stop(!0)}),u.current.length=e,d(f,e)},[e]),C.useMemo(()=>{d(0,Math.min(f,e))},r);function d(_,v){for(let m=_;m<v;m++){const w=u.current[m]||(u.current[m]=new hc(null,c.flush)),E=n?n(m,w):t[m];E&&(l[m]=uc(E))}}const h=u.current.map((_,v)=>ji(_,l[v])),p=C.useContext(kr),y=Ei(p),S=p!==y&&ec(p);Bn(()=>{o.current++,c.ctrls=u.current;const{queue:_}=c;_.length&&(c.queue=[],D(_,v=>v())),D(u.current,(v,m)=>{i==null||i.add(v),S&&v.start({default:p});const w=l[m];w&&(rc(v,w.ref),v.ref?v.queue.push(w):v.start(w))})}),ko(()=>()=>{D(c.ctrls,_=>_.stop(!0))});const x=h.map(_=>({..._}));return i?[x,i]:x}function Go(e,t){const r=b.fun(e),[[n],i]=gc(1,r?e:[e],r?[]:t);return r||arguments.length==2?[n,i]:n}var yc=class extends Hn{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Tt(...t);const r=this._get(),n=dn(r);Un(this,n.create(r))}advance(e){const t=this._get(),r=this.get();Ee(t,r)||(be(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Vi(this._active)&&Qr(this)}_get(){const e=b.arr(this.source)?this.source.map(J):te(J(this.source));return this.calc(...e)}_start(){this.idle&&!Vi(this._active)&&(this.idle=!1,D(xr(this),e=>{e.done=!1}),ve.skipAnimation?(A.batchedUpdates(()=>this.advance()),Qr(this)):Er.start(this))}_attach(){let e=1;D(te(this.source),t=>{se(t)&&dt(t,this),mn(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){D(te(this.source),e=>{se(e)&&It(e,this)}),this._active.clear(),Qr(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=te(this.source).reduce((t,r)=>Math.max(t,(mn(r)?r.priority:0)+1),0))}};function vc(e){return e.idle!==!1}function Vi(e){return!e.size||Array.from(e).every(vc)}function Qr(e){e.idle||(e.idle=!0,D(xr(e),t=>{t.done=!0}),Dt(e,{type:"idle",parent:e}))}ve.assign({createStringInterpolator:Po,to:(e,t)=>new yc(e,t)});var Yo=/^--/;function bc(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!Yo.test(e)&&!(kt.hasOwnProperty(e)&&kt[e])?t+"px":(""+t).trim()}var Fi={};function _c(e,t){if(!e.nodeType||!e.setAttribute)return!1;const r=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{className:n,style:i,children:o,scrollTop:s,scrollLeft:c,viewBox:u,...l}=t,f=Object.values(l),d=Object.keys(l).map(h=>r||e.hasAttribute(h)?h:Fi[h]||(Fi[h]=h.replace(/([A-Z])/g,p=>"-"+p.toLowerCase())));o!==void 0&&(e.textContent=o);for(const h in i)if(i.hasOwnProperty(h)){const p=bc(h,i[h]);Yo.test(h)?e.style.setProperty(h,p):e.style[h]=p}d.forEach((h,p)=>{e.setAttribute(h,f[p])}),n!==void 0&&(e.className=n),s!==void 0&&(e.scrollTop=s),c!==void 0&&(e.scrollLeft=c),u!==void 0&&e.setAttribute("viewBox",u)}var kt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},wc=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),Sc=["Webkit","Ms","Moz","O"];kt=Object.keys(kt).reduce((e,t)=>(Sc.forEach(r=>e[wc(r,t)]=e[t]),e),kt);var Ec=/^(matrix|translate|scale|rotate|skew)/,Rc=/^(translate)/,Oc=/^(rotate|skew)/,Xr=(e,t)=>b.num(e)&&e!==0?e+t:e,ir=(e,t)=>b.arr(e)?e.every(r=>ir(r,t)):b.num(e)?e===t:parseFloat(e)===t,Pc=class extends Cr{constructor({x:e,y:t,z:r,...n}){const i=[],o=[];(e||t||r)&&(i.push([e||0,t||0,r||0]),o.push(s=>[`translate3d(${s.map(c=>Xr(c,"px")).join(",")})`,ir(s,0)])),we(n,(s,c)=>{if(c==="transform")i.push([s||""]),o.push(u=>[u,u===""]);else if(Ec.test(c)){if(delete n[c],b.und(s))return;const u=Rc.test(c)?"px":Oc.test(c)?"deg":"";i.push(te(s)),o.push(c==="rotate3d"?([l,f,d,h])=>[`rotate3d(${l},${f},${d},${Xr(h,u)})`,ir(h,0)]:l=>[`${c}(${l.map(f=>Xr(f,u)).join(",")})`,ir(l,c.startsWith("scale")?1:0)])}}),i.length&&(n.transform=new xc(i,o)),super(n)}},xc=class extends Eo{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return D(this.inputs,(r,n)=>{const i=J(r[0]),[o,s]=this.transforms[n](b.arr(i)?i:r.map(J));e+=" "+o,t=t&&s}),t?"none":e}observerAdded(e){e==1&&D(this.inputs,t=>D(t,r=>se(r)&&dt(r,this)))}observerRemoved(e){e==0&&D(this.inputs,t=>D(t,r=>se(r)&&It(r,this)))}eventObserved(e){e.type=="change"&&(this._value=null),Dt(this,e)}},Cc=["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","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];ve.assign({batchedUpdates:oa.unstable_batchedUpdates,createStringInterpolator:Po,colors:ya});var kc=Ka(Cc,{applyAnimatedValues:_c,createAnimatedStyle:e=>new Pc(e),getComponentProps:({scrollTop:e,scrollLeft:t,...r})=>r}),Ko=kc.animated;function Qo(e){const t=e.htmlElement??"div",[r,n]=C.useState(!1),i=C.useRef(null),o=C.useRef(null),[s,c]=C.useState(null),[u,l]=Go(()=>({from:{opacity:0,transform:"scale(0)"},to:{opacity:1,transform:"scale(1)"}})),f=(p,y)=>Math.floor(Math.random()*(y-p+1))+p;C.useEffect(()=>{if(i.current&&o.current){const p=i.current.getBoundingClientRect(),y=o.current.getBoundingClientRect(),S=Math.max(p.height,y.height);c(S)}},[]),C.useEffect(()=>{if(!e.animate)return;const p=setTimeout(()=>{l({opacity:0,transform:"translateY(15px)",config:{duration:200},onRest:()=>{n(y=>!y),l({opacity:1,transform:"translateY(0px)",config:{duration:200}})}})},f(3500,15e3));return()=>clearTimeout(p)},[r,e.animate,l]);const d=e.animate&&r?e.content.simplified:e.content.english,h={...e.textStyles,minHeight:s!==null?`${s}px`:void 0,display:"inline-block",alignContent:"center"};return G.jsxs(G.Fragment,{children:[G.jsx("div",{ref:i,style:{position:"absolute",visibility:"hidden",pointerEvents:"none",whiteSpace:"nowrap",font:"inherit"},children:e.content.english}),G.jsx("div",{ref:o,style:{position:"absolute",visibility:"hidden",pointerEvents:"none",whiteSpace:"nowrap",font:"inherit"},children:e.content.simplified}),G.jsx(Ko.div,{style:u,children:G.jsx(t,{style:h,children:d})})]})}var ee=function(){return ee=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ee.apply(this,arguments)};function qe(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Ac(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Tc=/^((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|disableRemotePlayback|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)-.*))$/,Nc=Ac(function(e){return Tc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),$="-ms-",At="-moz-",F="-webkit-",Xo="comm",Ar="rule",Gn="decl",Dc="@import",Jo="@keyframes",Ic="@layer",Zo=Math.abs,Yn=String.fromCharCode,yn=Object.assign;function jc(e,t){return q(e,0)^45?(((t<<2^q(e,0))<<2^q(e,1))<<2^q(e,2))<<2^q(e,3):0}function es(e){return e.trim()}function Re(e,t){return(e=t.exec(e))?e[0]:e}function T(e,t,r){return e.replace(t,r)}function or(e,t,r){return e.indexOf(t,r)}function q(e,t){return e.charCodeAt(t)|0}function st(e,t,r){return e.slice(t,r)}function _e(e){return e.length}function ts(e){return e.length}function Ot(e,t){return t.push(e),e}function Vc(e,t){return e.map(t).join("")}function zi(e,t){return e.filter(function(r){return!Re(r,t)})}var Tr=1,at=1,rs=0,ce=0,U=0,ht="";function Nr(e,t,r,n,i,o,s,c){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Tr,column:at,length:s,return:"",siblings:c}}function Te(e,t){return yn(Nr("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function rt(e){for(;e.root;)e=Te(e.root,{children:[e]});Ot(e,e.siblings)}function Fc(){return U}function zc(){return U=ce>0?q(ht,--ce):0,at--,U===10&&(at=1,Tr--),U}function ye(){return U=ce<rs?q(ht,ce++):0,at++,U===10&&(at=1,Tr++),U}function Be(){return q(ht,ce)}function sr(){return ce}function Dr(e,t){return st(ht,e,t)}function vn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Mc(e){return Tr=at=1,rs=_e(ht=e),ce=0,[]}function $c(e){return ht="",e}function Jr(e){return es(Dr(ce-1,bn(e===91?e+2:e===40?e+1:e)))}function Lc(e){for(;(U=Be())&&U<33;)ye();return vn(e)>2||vn(U)>3?"":" "}function Bc(e,t){for(;--t&&ye()&&!(U<48||U>102||U>57&&U<65||U>70&&U<97););return Dr(e,sr()+(t<6&&Be()==32&&ye()==32))}function bn(e){for(;ye();)switch(U){case e:return ce;case 34:case 39:e!==34&&e!==39&&bn(U);break;case 40:e===41&&bn(e);break;case 92:ye();break}return ce}function Uc(e,t){for(;ye()&&e+U!==57;)if(e+U===84&&Be()===47)break;return"/*"+Dr(t,ce-1)+"*"+Yn(e===47?e:ye())}function Wc(e){for(;!vn(Be());)ye();return Dr(e,ce)}function qc(e){return $c(ar("",null,null,null,[""],e=Mc(e),0,[0],e))}function ar(e,t,r,n,i,o,s,c,u){for(var l=0,f=0,d=s,h=0,p=0,y=0,S=1,x=1,_=1,v=0,m="",w=i,E=o,P=n,R=m;x;)switch(y=v,v=ye()){case 40:if(y!=108&&q(R,d-1)==58){or(R+=T(Jr(v),"&","&\f"),"&\f",Zo(l?c[l-1]:0))!=-1&&(_=-1);break}case 34:case 39:case 91:R+=Jr(v);break;case 9:case 10:case 13:case 32:R+=Lc(y);break;case 92:R+=Bc(sr()-1,7);continue;case 47:switch(Be()){case 42:case 47:Ot(Hc(Uc(ye(),sr()),t,r,u),u);break;default:R+="/"}break;case 123*S:c[l++]=_e(R)*_;case 125*S:case 59:case 0:switch(v){case 0:case 125:x=0;case 59+f:_==-1&&(R=T(R,/\f/g,"")),p>0&&_e(R)-d&&Ot(p>32?$i(R+";",n,r,d-1,u):$i(T(R," ","")+";",n,r,d-2,u),u);break;case 59:R+=";";default:if(Ot(P=Mi(R,t,r,l,f,i,c,m,w=[],E=[],d,o),o),v===123)if(f===0)ar(R,t,P,P,w,o,d,c,E);else switch(h===99&&q(R,3)===110?100:h){case 100:case 108:case 109:case 115:ar(e,P,P,n&&Ot(Mi(e,P,P,0,0,i,c,m,i,w=[],d,E),E),i,E,d,c,n?w:E);break;default:ar(R,P,P,P,[""],E,0,c,E)}}l=f=p=0,S=_=1,m=R="",d=s;break;case 58:d=1+_e(R),p=y;default:if(S<1){if(v==123)--S;else if(v==125&&S++==0&&zc()==125)continue}switch(R+=Yn(v),v*S){case 38:_=f>0?1:(R+="\f",-1);break;case 44:c[l++]=(_e(R)-1)*_,_=1;break;case 64:Be()===45&&(R+=Jr(ye())),h=Be(),f=d=_e(m=R+=Wc(sr())),v++;break;case 45:y===45&&_e(R)==2&&(S=0)}}return o}function Mi(e,t,r,n,i,o,s,c,u,l,f,d){for(var h=i-1,p=i===0?o:[""],y=ts(p),S=0,x=0,_=0;S<n;++S)for(var v=0,m=st(e,h+1,h=Zo(x=s[S])),w=e;v<y;++v)(w=es(x>0?p[v]+" "+m:T(m,/&\f/g,p[v])))&&(u[_++]=w);return Nr(e,t,r,i===0?Ar:c,u,l,f,d)}function Hc(e,t,r,n){return Nr(e,t,r,Xo,Yn(Fc()),st(e,2,-2),0,n)}function $i(e,t,r,n,i){return Nr(e,t,r,Gn,st(e,0,n),st(e,n+1,-1),n,i)}function ns(e,t,r){switch(jc(e,t)){case 5103:return F+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return F+e+e;case 4789:return At+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+At+e+$+e+e;case 5936:switch(q(e,t+11)){case 114:return F+e+$+T(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+$+T(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+$+T(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return F+e+$+e+e;case 6165:return F+e+$+"flex-"+e+e;case 5187:return F+e+T(e,/(\w+).+(:[^]+)/,F+"box-$1$2"+$+"flex-$1$2")+e;case 5443:return F+e+$+"flex-item-"+T(e,/flex-|-self/g,"")+(Re(e,/flex-|baseline/)?"":$+"grid-row-"+T(e,/flex-|-self/g,""))+e;case 4675:return F+e+$+"flex-line-pack"+T(e,/align-content|flex-|-self/g,"")+e;case 5548:return F+e+$+T(e,"shrink","negative")+e;case 5292:return F+e+$+T(e,"basis","preferred-size")+e;case 6060:return F+"box-"+T(e,"-grow","")+F+e+$+T(e,"grow","positive")+e;case 4554:return F+T(e,/([^-])(transform)/g,"$1"+F+"$2")+e;case 6187:return T(T(T(e,/(zoom-|grab)/,F+"$1"),/(image-set)/,F+"$1"),e,"")+e;case 5495:case 3959:return T(e,/(image-set\([^]*)/,F+"$1$`$1");case 4968:return T(T(e,/(.+:)(flex-)?(.*)/,F+"box-pack:$3"+$+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4200:if(!Re(e,/flex-|baseline/))return $+"grid-column-align"+st(e,t)+e;break;case 2592:case 3360:return $+T(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,i){return t=i,Re(n.props,/grid-\w+-end/)})?~or(e+(r=r[t].value),"span",0)?e:$+T(e,"-start","")+e+$+"grid-row-span:"+(~or(r,"span",0)?Re(r,/\d+/):+Re(r,/\d+/)-+Re(e,/\d+/))+";":$+T(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Re(n.props,/grid-\w+-start/)})?e:$+T(T(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return T(e,/(.+)-inline(.+)/,F+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_e(e)-1-t>6)switch(q(e,t+1)){case 109:if(q(e,t+4)!==45)break;case 102:return T(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+At+(q(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~or(e,"stretch",0)?ns(T(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return T(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,i,o,s,c,u,l){return $+i+":"+o+l+(s?$+i+"-span:"+(c?u:+u-+o)+l:"")+e});case 4949:if(q(e,t+6)===121)return T(e,":",":"+F)+e;break;case 6444:switch(q(e,q(e,14)===45?18:11)){case 120:return T(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+F+(q(e,14)===45?"inline-":"")+"box$3$1"+F+"$2$3$1"+$+"$2box$3")+e;case 100:return T(e,":",":"+$)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return T(e,"scroll-","scroll-snap-")+e}return e}function pr(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Gc(e,t,r,n){switch(e.type){case Ic:if(e.children.length)break;case Dc:case Gn:return e.return=e.return||e.value;case Xo:return"";case Jo:return e.return=e.value+"{"+pr(e.children,n)+"}";case Ar:if(!_e(e.value=e.props.join(",")))return""}return _e(r=pr(e.children,n))?e.return=e.value+"{"+r+"}":""}function Yc(e){var t=ts(e);return function(r,n,i,o){for(var s="",c=0;c<t;c++)s+=e[c](r,n,i,o)||"";return s}}function Kc(e){return function(t){t.root||(t=t.return)&&e(t)}}function Qc(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Gn:e.return=ns(e.value,e.length,r);return;case Jo:return pr([Te(e,{value:T(e.value,"@","@"+F)})],n);case Ar:if(e.length)return Vc(r=e.props,function(i){switch(Re(i,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":rt(Te(e,{props:[T(i,/:(read-\w+)/,":"+At+"$1")]})),rt(Te(e,{props:[i]})),yn(e,{props:zi(r,n)});break;case"::placeholder":rt(Te(e,{props:[T(i,/:(plac\w+)/,":"+F+"input-$1")]})),rt(Te(e,{props:[T(i,/:(plac\w+)/,":"+At+"$1")]})),rt(Te(e,{props:[T(i,/:(plac\w+)/,$+"input-$1")]})),rt(Te(e,{props:[i]})),yn(e,{props:zi(r,n)});break}return""})}}var Xc={animationIterationCount:1,aspectRatio: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},He=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",is="active",os="data-styled-version",Ir="6.1.16",Kn=`/*!sc*/
|
|
31
|
+
`,mr=typeof window<"u"&&"HTMLElement"in window,Jc=!!(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:typeof process<"u"&&process.env!==void 0&&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"),Li=/invalid hook call/i,Xt=new Set,Zc=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` has been created dynamically.
|
|
32
32
|
`)+`You may see this warning because you've called styled inside another component.
|
|
33
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,i=console.error;try{var
|
|
33
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`,i=console.error;try{var o=!0;console.error=function(s){for(var c=[],u=1;u<arguments.length;u++)c[u-1]=arguments[u];Li.test(s)?(o=!1,Xt.delete(n)):i.apply(void 0,qe([s],c,!1))},C.useRef(),o&&!Xt.has(n)&&(console.warn(n),Xt.add(n))}catch(s){Li.test(s.message)&&Xt.delete(n)}finally{console.error=i}}},jr=Object.freeze([]),ct=Object.freeze({});function eu(e,t,r){return r===void 0&&(r=ct),e.theme!==r.theme&&e.theme||t||r.theme}var _n=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),tu=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ru=/(^-|-$)/g;function Bi(e){return e.replace(tu,"-").replace(ru,"")}var nu=/(a)(d)/gi,Jt=52,Ui=function(e){return String.fromCharCode(e+(e>25?39:97))};function wn(e){var t,r="";for(t=Math.abs(e);t>Jt;t=t/Jt|0)r=Ui(t%Jt)+r;return(Ui(t%Jt)+r).replace(nu,"$1-$2")}var Zr,ss=5381,$e=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},as=function(e){return $e(ss,e)};function cs(e){return wn(as(e)>>>0)}function us(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function en(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var ls=typeof Symbol=="function"&&Symbol.for,fs=ls?Symbol.for("react.memo"):60115,iu=ls?Symbol.for("react.forward_ref"):60112,ou={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},su={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ds={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},au=((Zr={})[iu]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Zr[fs]=ds,Zr);function Wi(e){return("type"in(t=e)&&t.type.$$typeof)===fs?ds:"$$typeof"in e?au[e.$$typeof]:ou;var t}var cu=Object.defineProperty,uu=Object.getOwnPropertyNames,qi=Object.getOwnPropertySymbols,lu=Object.getOwnPropertyDescriptor,fu=Object.getPrototypeOf,Hi=Object.prototype;function hs(e,t,r){if(typeof t!="string"){if(Hi){var n=fu(t);n&&n!==Hi&&hs(e,n,r)}var i=uu(t);qi&&(i=i.concat(qi(t)));for(var o=Wi(e),s=Wi(t),c=0;c<i.length;++c){var u=i[c];if(!(u in su||r&&r[u]||s&&u in s||o&&u in o)){var l=lu(t,u);try{cu(e,u,l)}catch{}}}}return e}function ut(e){return typeof e=="function"}function Qn(e){return typeof e=="object"&&"styledComponentId"in e}function Le(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Sn(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function lt(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function En(e,t,r){if(r===void 0&&(r=!1),!r&&!lt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=En(e[n],t[n]);else if(lt(t))for(var n in t)e[n]=En(e[n],t[n]);return e}function Xn(e,t){Object.defineProperty(e,"toString",{value:t})}var du=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
34
34
|
|
|
35
35
|
`,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.
|
|
36
36
|
|
|
@@ -71,7 +71,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
71
71
|
|
|
72
72
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
73
73
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
74
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function fc(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],i=1,s=e.length;i<s;i+=1)n.push(e[i]);return n.forEach(function(o){r=r.replace(/%[a-z]/,o)}),r}function it(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(fc.apply(void 0,Ve([lc[e]],t,!1)).trim())}var dc=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,i=n.length,s=i;t>=s;)if((s<<=1)<0)throw it(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var o=i;o<s;o++)this.groupSizes[o]=0}for(var c=this.indexOfGroup(t+1),u=(o=0,r.length);o<u;o++)this.tag.insertRule(c,r[o])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),i=n+r;this.groupSizes[t]=0;for(var s=n;s<i;s++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],i=this.indexOfGroup(t),s=i+n,o=i;o<s;o++)r+="".concat(this.tag.getRule(o)).concat(mn);return r},e}(),hc=1<<30,Yt=new Map,er=new Map,Gt=1,Mt=function(e){if(Yt.has(e))return Yt.get(e);for(;er.has(Gt);)Gt++;var t=Gt++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>hc))throw it(16,"".concat(t));return Yt.set(e,t),er.set(t,e),t},pc=function(e,t){Gt=t+1,Yt.set(e,t),er.set(t,e)},mc="style[".concat(Me,"][").concat(us,'="').concat(mr,'"]'),gc=new RegExp("^".concat(Me,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),vc=function(e,t,r){for(var n,i=r.split(","),s=0,o=i.length;s<o;s++)(n=i[s])&&e.registerName(t,n)},yc=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(mn),i=[],s=0,o=n.length;s<o;s++){var c=n[s].trim();if(c){var u=c.match(gc);if(u){var l=0|parseInt(u[1],10),h=u[2];l!==0&&(pc(h,l),vc(e,h,u[3]),e.getTag().insertRules(l,i)),i.length=0}else i.push(c)}}},fi=function(e){for(var t=document.querySelectorAll(mc),r=0,n=t.length;r<n;r++){var i=t[r];i&&i.getAttribute(Me)!==cs&&(yc(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function bc(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var ys=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(c){var u=Array.from(c.querySelectorAll("style[".concat(Me,"]")));return u[u.length-1]}(r),s=i!==void 0?i.nextSibling:null;n.setAttribute(Me,cs),n.setAttribute(us,mr);var o=bc();return o&&n.setAttribute("nonce",o),r.insertBefore(n,s),n},wc=function(){function e(t){this.element=ys(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,i=0,s=n.length;i<s;i++){var o=n[i];if(o.ownerNode===r)return o}throw it(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),_c=function(){function e(t){this.element=ys(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),Sc=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),di=Zt,Ec={isServer:!Zt,useCSSOMInjection:!Ko},bs=function(){function e(t,r,n){t===void 0&&(t=Ze),r===void 0&&(r={});var i=this;this.options=X(X({},Ec),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Zt&&di&&(di=!1,fi(this)),vn(this,function(){return function(s){for(var o=s.getTag(),c=o.length,u="",l=function(d){var p=function(v){return er.get(v)}(d);if(p===void 0)return"continue";var m=s.names.get(p),b=o.getGroup(d);if(m===void 0||!m.size||b.length===0)return"continue";var S="".concat(Me,".g").concat(d,'[id="').concat(p,'"]'),x="";m!==void 0&&m.forEach(function(v){v.length>0&&(x+="".concat(v,","))}),u+="".concat(b).concat(S,'{content:"').concat(x,'"}').concat(mn)},h=0;h<c;h++)l(h);return u}(i)})}return e.registerId=function(t){return Mt(t)},e.prototype.rehydrate=function(){!this.server&&Zt&&fi(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(X(X({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,i=r.target;return r.isServer?new Sc(i):n?new wc(i):new _c(i)}(this.options),new dc(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Mt(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Mt(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Mt(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),xc=/&/g,Rc=/^\s*\/\/.*$/gm;function ws(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=ws(r.children,t)),r})}function Pc(e){var t,r,n,i=Ze,s=i.options,o=s===void 0?Ze:s,c=i.plugins,u=c===void 0?gr:c,l=function(p,m,b){return b.startsWith(r)&&b.endsWith(r)&&b.replaceAll(r,"").length>0?".".concat(t):p},h=u.slice();h.push(function(p){p.type===fr&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(xc,r).replace(n,l))}),o.prefix&&h.push(Ho),h.push(Wo);var d=function(p,m,b,S){m===void 0&&(m=""),b===void 0&&(b=""),S===void 0&&(S="&"),t=S,r=m,n=new RegExp("\\".concat(r,"\\b"),"g");var x=p.replace(Rc,""),v=qo(b||m?"".concat(b," ").concat(m," { ").concat(x," }"):x);o.namespace&&(v=ws(v,o.namespace));var y=[];return Jt(v,Yo(h.concat(Go(function(w){return y.push(w)})))),y};return d.hash=u.length?u.reduce(function(p,m){return m.name||it(15),je(p,m.name)},ls).toString():"",d}var kc=new bs,Hr=Pc(),_s=P.createContext({shouldForwardProp:void 0,styleSheet:kc,stylis:Hr});_s.Consumer;P.createContext(void 0);function hi(){return P.useContext(_s)}var Qr=function(){function e(t,r){var n=this;this.inject=function(i,s){s===void 0&&(s=Hr);var o=n.name+s.hash;i.hasNameForId(n.id,o)||i.insertRules(n.id,o,s(n.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,vn(this,function(){throw it(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Hr),this.name+t.hash},e}(),Ac=function(e){return e>="A"&&e<="Z"};function pi(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;Ac(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Ss=function(e){return e==null||e===!1||e===""},Es=function(e){var t,r,n=[];for(var i in e){var s=e[i];e.hasOwnProperty(i)&&!Ss(s)&&(Array.isArray(s)&&s.isCss||et(s)?n.push("".concat(pi(i),":"),s,";"):tt(s)?n.push.apply(n,Ve(Ve(["".concat(i," {")],Es(s),!1),["}"],!1)):n.push("".concat(pi(i),": ").concat((t=i,(r=s)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Qo||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Fe(e,t,r,n){if(Ss(e))return[];if(gn(e))return[".".concat(e.styledComponentId)];if(et(e)){if(!et(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var i=e(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof Qr||tt(i)||i===null||console.error("".concat(hs(e)," 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.")),Fe(i,t,r,n)}var s;return e instanceof Qr?r?(e.inject(r,n),[e.getName(n)]):[e]:tt(e)?Es(e):Array.isArray(e)?Array.prototype.concat.apply(gr,e.map(function(o){return Fe(o,t,r,n)})):[e.toString()]}function Cc(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(et(r)&&!gn(r))return!1}return!0}var Oc=fs(mr),Tc=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Cc(t),this.componentId=r,this.baseHash=je(Oc,r),this.baseStyle=n,bs.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))i=Ne(i,this.staticRulesId);else{var s=Yr(Fe(this.rules,t,r,n)),o=Wr(je(this.baseHash,s)>>>0);if(!r.hasNameForId(this.componentId,o)){var c=n(s,".".concat(o),void 0,this.componentId);r.insertRules(this.componentId,o,c)}i=Ne(i,o),this.staticRulesId=o}else{for(var u=je(this.baseHash,n.hash),l="",h=0;h<this.rules.length;h++){var d=this.rules[h];if(typeof d=="string")l+=d,process.env.NODE_ENV!=="production"&&(u=je(u,d));else if(d){var p=Yr(Fe(d,t,r,n));u=je(u,p+h),l+=p}}if(l){var m=Wr(u>>>0);r.hasNameForId(this.componentId,m)||r.insertRules(this.componentId,m,n(l,".".concat(m),void 0,this.componentId)),i=Ne(i,m)}}return i},e}(),xs=P.createContext(void 0);xs.Consumer;var Ir={},mi=new Set;function Ic(e,t,r){var n=gn(e),i=e,s=!Tr(e),o=t.attrs,c=o===void 0?gr:o,u=t.componentId,l=u===void 0?function(R,O){var A=typeof R!="string"?"sc":ai(R);Ir[A]=(Ir[A]||0)+1;var E="".concat(A,"-").concat(ds(mr+A+Ir[A]));return O?"".concat(O,"-").concat(E):E}(t.displayName,t.parentComponentId):u,h=t.displayName,d=h===void 0?function(R){return Tr(R)?"styled.".concat(R):"Styled(".concat(hs(R),")")}(e):h,p=t.displayName&&t.componentId?"".concat(ai(t.displayName),"-").concat(t.componentId):t.componentId||l,m=n&&i.attrs?i.attrs.concat(c).filter(Boolean):c,b=t.shouldForwardProp;if(n&&i.shouldForwardProp){var S=i.shouldForwardProp;if(t.shouldForwardProp){var x=t.shouldForwardProp;b=function(R,O){return S(R,O)&&x(R,O)}}else b=S}var v=new Tc(r,p,n?i.componentStyle:void 0);function y(R,O){return function(A,E,W){var M=A.attrs,ve=A.componentStyle,Y=A.defaultProps,se=A.foldedComponentIds,q=A.styledComponentId,ae=A.target,Oe=P.useContext(xs),It=hi(),ze=A.shouldForwardProp||It.shouldForwardProp;process.env.NODE_ENV!=="production"&&P.useDebugValue(q);var st=Jo(E,Oe,Y)||Ze,Z=function(Ue,ye,Ee){for(var oe,ce=X(X({},ye),{className:void 0,theme:Ee}),xe=0;xe<Ue.length;xe+=1){var qe=et(oe=Ue[xe])?oe(ce):oe;for(var ue in qe)ce[ue]=ue==="className"?Ne(ce[ue],qe[ue]):ue==="style"?X(X({},ce[ue]),qe[ue]):qe[ue]}return ye.className&&(ce.className=Ne(ce.className,ye.className)),ce}(M,E,st),_e=Z.as||ae,Se={};for(var G in Z)Z[G]===void 0||G[0]==="$"||G==="as"||G==="theme"&&Z.theme===st||(G==="forwardedAs"?Se.as=Z.forwardedAs:ze&&!ze(G,_e)||(Se[G]=Z[G],ze||process.env.NODE_ENV!=="development"||Oo(G)||mi.has(G)||!Br.has(_e)||(mi.add(G),console.warn('styled-components: it looks like an unknown prop "'.concat(G,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var Le=function(Ue,ye){var Ee=hi(),oe=Ue.generateAndInjectStyles(ye,Ee.styleSheet,Ee.stylis);return process.env.NODE_ENV!=="production"&&P.useDebugValue(oe),oe}(ve,Z);process.env.NODE_ENV!=="production"&&A.warnTooManyClasses&&A.warnTooManyClasses(Le);var at=Ne(se,q);return Le&&(at+=" "+Le),Z.className&&(at+=" "+Z.className),Se[Tr(_e)&&!Br.has(_e)?"class":"className"]=at,W&&(Se.ref=W),P.createElement(_e,Se)}(w,R,O)}y.displayName=d;var w=P.forwardRef(y);return w.attrs=m,w.componentStyle=v,w.displayName=d,w.shouldForwardProp=b,w.foldedComponentIds=n?Ne(i.foldedComponentIds,i.styledComponentId):"",w.styledComponentId=p,w.target=n?i.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(R){this._foldedDefaultProps=n?function(O){for(var A=[],E=1;E<arguments.length;E++)A[E-1]=arguments[E];for(var W=0,M=A;W<M.length;W++)Gr(O,M[W],!0);return O}({},i.defaultProps,R):R}}),process.env.NODE_ENV!=="production"&&(Xo(d,p),w.warnTooManyClasses=function(R,O){var A={},E=!1;return function(W){if(!E&&(A[W]=!0,Object.keys(A).length>=200)){var M=O?' with the id of "'.concat(O,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(R).concat(M,`.
|
|
74
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function hu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],i=1,o=e.length;i<o;i+=1)n.push(e[i]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function pt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(hu.apply(void 0,qe([du[e]],t,!1)).trim())}var pu=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,i=n.length,o=i;t>=o;)if((o<<=1)<0)throw pt(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=i;s<o;s++)this.groupSizes[s]=0}for(var c=this.indexOfGroup(t+1),u=(s=0,r.length);s<u;s++)this.tag.insertRule(c,r[s])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),i=n+r;this.groupSizes[t]=0;for(var o=n;o<i;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],i=this.indexOfGroup(t),o=i+n,s=i;s<o;s++)r+="".concat(this.tag.getRule(s)).concat(Kn);return r},e}(),mu=1<<30,cr=new Map,gr=new Map,ur=1,Zt=function(e){if(cr.has(e))return cr.get(e);for(;gr.has(ur);)ur++;var t=ur++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>mu))throw pt(16,"".concat(t));return cr.set(e,t),gr.set(t,e),t},gu=function(e,t){ur=t+1,cr.set(e,t),gr.set(t,e)},yu="style[".concat(He,"][").concat(os,'="').concat(Ir,'"]'),vu=new RegExp("^".concat(He,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),bu=function(e,t,r){for(var n,i=r.split(","),o=0,s=i.length;o<s;o++)(n=i[o])&&e.registerName(t,n)},_u=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Kn),i=[],o=0,s=n.length;o<s;o++){var c=n[o].trim();if(c){var u=c.match(vu);if(u){var l=0|parseInt(u[1],10),f=u[2];l!==0&&(gu(f,l),bu(e,f,u[3]),e.getTag().insertRules(l,i)),i.length=0}else i.push(c)}}},Gi=function(e){for(var t=document.querySelectorAll(yu),r=0,n=t.length;r<n;r++){var i=t[r];i&&i.getAttribute(He)!==is&&(_u(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function wu(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var ps=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(c){var u=Array.from(c.querySelectorAll("style[".concat(He,"]")));return u[u.length-1]}(r),o=i!==void 0?i.nextSibling:null;n.setAttribute(He,is),n.setAttribute(os,Ir);var s=wu();return s&&n.setAttribute("nonce",s),r.insertBefore(n,o),n},Su=function(){function e(t){this.element=ps(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,i=0,o=n.length;i<o;i++){var s=n[i];if(s.ownerNode===r)return s}throw pt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),Eu=function(){function e(t){this.element=ps(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),Ru=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),Yi=mr,Ou={isServer:!mr,useCSSOMInjection:!Jc},ms=function(){function e(t,r,n){t===void 0&&(t=ct),r===void 0&&(r={});var i=this;this.options=ee(ee({},Ou),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&mr&&Yi&&(Yi=!1,Gi(this)),Xn(this,function(){return function(o){for(var s=o.getTag(),c=s.length,u="",l=function(d){var h=function(_){return gr.get(_)}(d);if(h===void 0)return"continue";var p=o.names.get(h),y=s.getGroup(d);if(p===void 0||!p.size||y.length===0)return"continue";var S="".concat(He,".g").concat(d,'[id="').concat(h,'"]'),x="";p!==void 0&&p.forEach(function(_){_.length>0&&(x+="".concat(_,","))}),u+="".concat(y).concat(S,'{content:"').concat(x,'"}').concat(Kn)},f=0;f<c;f++)l(f);return u}(i)})}return e.registerId=function(t){return Zt(t)},e.prototype.rehydrate=function(){!this.server&&mr&&Gi(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(ee(ee({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,i=r.target;return r.isServer?new Ru(i):n?new Su(i):new Eu(i)}(this.options),new pu(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Zt(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Zt(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Zt(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Pu=/&/g,xu=/^\s*\/\/.*$/gm;function gs(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=gs(r.children,t)),r})}function Cu(e){var t,r,n,i=ct,o=i.options,s=o===void 0?ct:o,c=i.plugins,u=c===void 0?jr:c,l=function(h,p,y){return y.startsWith(r)&&y.endsWith(r)&&y.replaceAll(r,"").length>0?".".concat(t):h},f=u.slice();f.push(function(h){h.type===Ar&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(Pu,r).replace(n,l))}),s.prefix&&f.push(Qc),f.push(Gc);var d=function(h,p,y,S){p===void 0&&(p=""),y===void 0&&(y=""),S===void 0&&(S="&"),t=S,r=p,n=new RegExp("\\".concat(r,"\\b"),"g");var x=h.replace(xu,""),_=qc(y||p?"".concat(y," ").concat(p," { ").concat(x," }"):x);s.namespace&&(_=gs(_,s.namespace));var v=[];return pr(_,Yc(f.concat(Kc(function(m){return v.push(m)})))),v};return d.hash=u.length?u.reduce(function(h,p){return p.name||pt(15),$e(h,p.name)},ss).toString():"",d}var ku=new ms,Rn=Cu(),ys=C.createContext({shouldForwardProp:void 0,styleSheet:ku,stylis:Rn});ys.Consumer;C.createContext(void 0);function Ki(){return C.useContext(ys)}var On=function(){function e(t,r){var n=this;this.inject=function(i,o){o===void 0&&(o=Rn);var s=n.name+o.hash;i.hasNameForId(n.id,s)||i.insertRules(n.id,s,o(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Xn(this,function(){throw pt(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Rn),this.name+t.hash},e}(),Au=function(e){return e>="A"&&e<="Z"};function Qi(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;Au(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var vs=function(e){return e==null||e===!1||e===""},bs=function(e){var t,r,n=[];for(var i in e){var o=e[i];e.hasOwnProperty(i)&&!vs(o)&&(Array.isArray(o)&&o.isCss||ut(o)?n.push("".concat(Qi(i),":"),o,";"):lt(o)?n.push.apply(n,qe(qe(["".concat(i," {")],bs(o),!1),["}"],!1)):n.push("".concat(Qi(i),": ").concat((t=i,(r=o)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in Xc||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Ue(e,t,r,n){if(vs(e))return[];if(Qn(e))return[".".concat(e.styledComponentId)];if(ut(e)){if(!ut(o=e)||o.prototype&&o.prototype.isReactComponent||!t)return[e];var i=e(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof On||lt(i)||i===null||console.error("".concat(us(e)," 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.")),Ue(i,t,r,n)}var o;return e instanceof On?r?(e.inject(r,n),[e.getName(n)]):[e]:lt(e)?bs(e):Array.isArray(e)?Array.prototype.concat.apply(jr,e.map(function(s){return Ue(s,t,r,n)})):[e.toString()]}function Tu(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ut(r)&&!Qn(r))return!1}return!0}var Nu=as(Ir),Du=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&Tu(t),this.componentId=r,this.baseHash=$e(Nu,r),this.baseStyle=n,ms.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))i=Le(i,this.staticRulesId);else{var o=Sn(Ue(this.rules,t,r,n)),s=wn($e(this.baseHash,o)>>>0);if(!r.hasNameForId(this.componentId,s)){var c=n(o,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,c)}i=Le(i,s),this.staticRulesId=s}else{for(var u=$e(this.baseHash,n.hash),l="",f=0;f<this.rules.length;f++){var d=this.rules[f];if(typeof d=="string")l+=d,process.env.NODE_ENV!=="production"&&(u=$e(u,d));else if(d){var h=Sn(Ue(d,t,r,n));u=$e(u,h+f),l+=h}}if(l){var p=wn(u>>>0);r.hasNameForId(this.componentId,p)||r.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),i=Le(i,p)}}return i},e}(),_s=C.createContext(void 0);_s.Consumer;var tn={},Xi=new Set;function Iu(e,t,r){var n=Qn(e),i=e,o=!en(e),s=t.attrs,c=s===void 0?jr:s,u=t.componentId,l=u===void 0?function(w,E){var P=typeof w!="string"?"sc":Bi(w);tn[P]=(tn[P]||0)+1;var R="".concat(P,"-").concat(cs(Ir+P+tn[P]));return E?"".concat(E,"-").concat(R):R}(t.displayName,t.parentComponentId):u,f=t.displayName,d=f===void 0?function(w){return en(w)?"styled.".concat(w):"Styled(".concat(us(w),")")}(e):f,h=t.displayName&&t.componentId?"".concat(Bi(t.displayName),"-").concat(t.componentId):t.componentId||l,p=n&&i.attrs?i.attrs.concat(c).filter(Boolean):c,y=t.shouldForwardProp;if(n&&i.shouldForwardProp){var S=i.shouldForwardProp;if(t.shouldForwardProp){var x=t.shouldForwardProp;y=function(w,E){return S(w,E)&&x(w,E)}}else y=S}var _=new Du(r,h,n?i.componentStyle:void 0);function v(w,E){return function(P,R,j){var M=P.attrs,ue=P.componentStyle,H=P.defaultProps,le=P.foldedComponentIds,W=P.styledComponentId,fe=P.target,Ve=C.useContext(_s),Ht=Ki(),Ke=P.shouldForwardProp||Ht.shouldForwardProp;process.env.NODE_ENV!=="production"&&C.useDebugValue(W);var gt=eu(R,Ve,H)||ct,ie=function(Xe,Se,Ce){for(var de,he=ee(ee({},Se),{className:void 0,theme:Ce}),ke=0;ke<Xe.length;ke+=1){var Je=ut(de=Xe[ke])?de(he):de;for(var pe in Je)he[pe]=pe==="className"?Le(he[pe],Je[pe]):pe==="style"?ee(ee({},he[pe]),Je[pe]):Je[pe]}return Se.className&&(he.className=Le(he.className,Se.className)),he}(M,R,gt),Pe=ie.as||fe,xe={};for(var K in ie)ie[K]===void 0||K[0]==="$"||K==="as"||K==="theme"&&ie.theme===gt||(K==="forwardedAs"?xe.as=ie.forwardedAs:Ke&&!Ke(K,Pe)||(xe[K]=ie[K],Ke||process.env.NODE_ENV!=="development"||Nc(K)||Xi.has(K)||!_n.has(Pe)||(Xi.add(K),console.warn('styled-components: it looks like an unknown prop "'.concat(K,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var Qe=function(Xe,Se){var Ce=Ki(),de=Xe.generateAndInjectStyles(Se,Ce.styleSheet,Ce.stylis);return process.env.NODE_ENV!=="production"&&C.useDebugValue(de),de}(ue,ie);process.env.NODE_ENV!=="production"&&P.warnTooManyClasses&&P.warnTooManyClasses(Qe);var yt=Le(le,W);return Qe&&(yt+=" "+Qe),ie.className&&(yt+=" "+ie.className),xe[en(Pe)&&!_n.has(Pe)?"class":"className"]=yt,j&&(xe.ref=j),C.createElement(Pe,xe)}(m,w,E)}v.displayName=d;var m=C.forwardRef(v);return m.attrs=p,m.componentStyle=_,m.displayName=d,m.shouldForwardProp=y,m.foldedComponentIds=n?Le(i.foldedComponentIds,i.styledComponentId):"",m.styledComponentId=h,m.target=n?i.target:e,Object.defineProperty(m,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(w){this._foldedDefaultProps=n?function(E){for(var P=[],R=1;R<arguments.length;R++)P[R-1]=arguments[R];for(var j=0,M=P;j<M.length;j++)En(E,M[j],!0);return E}({},i.defaultProps,w):w}}),process.env.NODE_ENV!=="production"&&(Zc(d,h),m.warnTooManyClasses=function(w,E){var P={},R=!1;return function(j){if(!R&&(P[j]=!0,Object.keys(P).length>=200)){var M=E?' with the id of "'.concat(E,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(w).concat(M,`.
|
|
75
75
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
76
76
|
Example:
|
|
77
77
|
const Component = styled.div.attrs(props => ({
|
|
@@ -80,11 +80,11 @@ Example:
|
|
|
80
80
|
},
|
|
81
81
|
}))\`width: 100%;\`
|
|
82
82
|
|
|
83
|
-
<Component />`),
|
|
83
|
+
<Component />`),R=!0,P={}}}}(d,h)),Xn(m,function(){return".".concat(m.styledComponentId)}),o&&hs(m,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),m}function Ji(e,t){for(var r=[e[0]],n=0,i=t.length;n<i;n+=1)r.push(t[n],e[n+1]);return r}var Zi=function(e){return Object.assign(e,{isCss:!0})};function ws(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(ut(e)||lt(e))return Zi(Ue(Ji(jr,qe([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?Ue(n):Zi(Ue(Ji(n,t)))}function Pn(e,t,r){if(r===void 0&&(r=ct),!t)throw pt(1,t);var n=function(i){for(var o=[],s=1;s<arguments.length;s++)o[s-1]=arguments[s];return e(t,r,ws.apply(void 0,qe([i],o,!1)))};return n.attrs=function(i){return Pn(e,t,ee(ee({},r),{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},n.withConfig=function(i){return Pn(e,t,ee(ee({},r),i))},n}var Ss=function(e){return Pn(Iu,e)},mt=Ss;_n.forEach(function(e){mt[e]=Ss(e)});function ju(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var n=Sn(ws.apply(void 0,qe([e],t,!1))),i=cs(n);return new On(i,n)}process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
84
84
|
Perhaps you're looking to import 'styled-components/native'?
|
|
85
|
-
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var
|
|
85
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);var er="__sc-".concat(He,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[er]||(window[er]=0),window[er]===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.
|
|
86
86
|
|
|
87
|
-
See https://s-c.sh/2BAXzed for more info.`),window[
|
|
87
|
+
See https://s-c.sh/2BAXzed for more info.`),window[er]+=1);const Vu=ju`
|
|
88
88
|
0% {
|
|
89
89
|
transform: scale(1);
|
|
90
90
|
}
|
|
@@ -94,7 +94,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[zt]+=1);const Nc=jc`
|
|
|
94
94
|
100% {
|
|
95
95
|
transform: scale(1);
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`,Fu=mt.div`
|
|
98
98
|
display: inline-block;
|
|
99
99
|
position: relative;
|
|
100
100
|
overflow: hidden;
|
|
@@ -103,9 +103,9 @@ See https://s-c.sh/2BAXzed for more info.`),window[zt]+=1);const Nc=jc`
|
|
|
103
103
|
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
|
104
104
|
|
|
105
105
|
&:active {
|
|
106
|
-
animation: ${
|
|
106
|
+
animation: ${Vu} 0.2s;
|
|
107
107
|
}
|
|
108
|
-
`,
|
|
108
|
+
`,zu=mt.button`
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: center;
|
|
111
111
|
position: relative;
|
|
@@ -124,10 +124,38 @@ See https://s-c.sh/2BAXzed for more info.`),window[zt]+=1);const Nc=jc`
|
|
|
124
124
|
background-color: #ffb652;
|
|
125
125
|
color: black;
|
|
126
126
|
}
|
|
127
|
-
|
|
127
|
+
`,Mu=mt.div`
|
|
128
128
|
margin-right: 1.25rem;
|
|
129
129
|
|
|
130
130
|
@media (min-width: 640px) {
|
|
131
131
|
margin-right: 0.25rem;
|
|
132
132
|
}
|
|
133
|
-
`;var
|
|
133
|
+
`;var Es={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},eo=C.createContext&&C.createContext(Es),$u=["attr","size","title"];function Lu(e,t){if(e==null)return{};var r=Bu(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Bu(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function yr(){return yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yr.apply(this,arguments)}function to(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function vr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?to(Object(r),!0).forEach(function(n){Uu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):to(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Uu(e,t,r){return t=Wu(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){var t=qu(e,"string");return typeof t=="symbol"?t:t+""}function qu(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Rs(e){return e&&e.map((t,r)=>C.createElement(t.tag,vr({key:r},t.attr),Rs(t.child)))}function Vr(e){return t=>C.createElement(Hu,yr({attr:vr({},e.attr)},t),Rs(e.child))}function Hu(e){var t=r=>{var{attr:n,size:i,title:o}=e,s=Lu(e,$u),c=i||r.size||"1em",u;return r.className&&(u=r.className),e.className&&(u=(u?u+" ":"")+e.className),C.createElement("svg",yr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,s,{className:u,style:vr(vr({color:e.color||r.color},r.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),o&&C.createElement("title",null,o),e.children)};return eo!==void 0?C.createElement(eo.Consumer,null,r=>t(r)):t(Es)}function Gu(e){return Vr({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"},child:[]}]})(e)}function Yu(e){return Vr({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"22",y1:"2",x2:"11",y2:"13"},child:[]},{tag:"polygon",attr:{points:"22 2 15 22 11 13 2 9 22 2"},child:[]}]})(e)}const Ku=({iconComponent:e,buttonText:t,buttonType:r="primary"})=>{let n;return e==="plus"?n=G.jsx(Gu,{}):e==="send"&&(n=G.jsx(Yu,{})),G.jsx(Fu,{children:G.jsxs(zu,{className:r,children:[G.jsx(Mu,{children:n}),G.jsx(Qo,{textStyles:{minWidth:"3rem"},content:t,animate:!0})]})})};var tr={exports:{}},rn={};/**
|
|
134
|
+
* @license React
|
|
135
|
+
* use-sync-external-store-with-selector.production.js
|
|
136
|
+
*
|
|
137
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
138
|
+
*
|
|
139
|
+
* This source code is licensed under the MIT license found in the
|
|
140
|
+
* LICENSE file in the root directory of this source tree.
|
|
141
|
+
*/var ro;function Qu(){if(ro)return rn;ro=1;var e=C;function t(u,l){return u===l&&(u!==0||1/u===1/l)||u!==u&&l!==l}var r=typeof Object.is=="function"?Object.is:t,n=e.useSyncExternalStore,i=e.useRef,o=e.useEffect,s=e.useMemo,c=e.useDebugValue;return rn.useSyncExternalStoreWithSelector=function(u,l,f,d,h){var p=i(null);if(p.current===null){var y={hasValue:!1,value:null};p.current=y}else y=p.current;p=s(function(){function x(E){if(!_){if(_=!0,v=E,E=d(E),h!==void 0&&y.hasValue){var P=y.value;if(h(P,E))return m=P}return m=E}if(P=m,r(v,E))return P;var R=d(E);return h!==void 0&&h(P,R)?(v=E,P):(v=E,m=R)}var _=!1,v,m,w=f===void 0?null:f;return[function(){return x(l())},w===null?void 0:function(){return x(w())}]},[l,f,d,h]);var S=n(u,p[0],p[1]);return o(function(){y.hasValue=!0,y.value=S},[S]),c(S),S},rn}var nn={};/**
|
|
142
|
+
* @license React
|
|
143
|
+
* use-sync-external-store-with-selector.development.js
|
|
144
|
+
*
|
|
145
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
146
|
+
*
|
|
147
|
+
* This source code is licensed under the MIT license found in the
|
|
148
|
+
* LICENSE file in the root directory of this source tree.
|
|
149
|
+
*/var no;function Xu(){return no||(no=1,process.env.NODE_ENV!=="production"&&function(){function e(u,l){return u===l&&(u!==0||1/u===1/l)||u!==u&&l!==l}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=C,r=typeof Object.is=="function"?Object.is:e,n=t.useSyncExternalStore,i=t.useRef,o=t.useEffect,s=t.useMemo,c=t.useDebugValue;nn.useSyncExternalStoreWithSelector=function(u,l,f,d,h){var p=i(null);if(p.current===null){var y={hasValue:!1,value:null};p.current=y}else y=p.current;p=s(function(){function x(E){if(!_){if(_=!0,v=E,E=d(E),h!==void 0&&y.hasValue){var P=y.value;if(h(P,E))return m=P}return m=E}if(P=m,r(v,E))return P;var R=d(E);return h!==void 0&&h(P,R)?(v=E,P):(v=E,m=R)}var _=!1,v,m,w=f===void 0?null:f;return[function(){return x(l())},w===null?void 0:function(){return x(w())}]},[l,f,d,h]);var S=n(u,p[0],p[1]);return o(function(){y.hasValue=!0,y.value=S},[S]),c(S),S},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),nn}var io;function Ju(){return io||(io=1,process.env.NODE_ENV==="production"?tr.exports=Qu():tr.exports=Xu()),tr.exports}Ju();var on=Symbol.for("react-redux-context"),sn=typeof globalThis<"u"?globalThis:{};function Zu(){if(!Ne.createContext)return{};const e=sn[on]??(sn[on]=new Map);let t=e.get(Ne.createContext);return t||(t=Ne.createContext(null),process.env.NODE_ENV!=="production"&&(t.displayName="ReactRedux"),e.set(Ne.createContext,t)),t}var $t=Zu();function Os(e=$t){return function(){const r=Ne.useContext(e);if(process.env.NODE_ENV!=="production"&&!r)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return r}}var el=Os();function Ps(e=$t){const t=e===$t?el:Os(e),r=()=>{const{store:n}=t();return n};return Object.assign(r,{withTypes:()=>r}),r}var tl=Ps();function rl(e=$t){const t=e===$t?tl:Ps(e),r=()=>t().dispatch;return Object.assign(r,{withTypes:()=>r}),r}var nl=rl();const il=mt(Ko.div)`
|
|
150
|
+
width: 2.5rem; /* Equivalent to Tailwind's w-10 */
|
|
151
|
+
height: 2.5rem; /* Equivalent to Tailwind's h-10 */
|
|
152
|
+
border-radius: 50%; /* Tailwind's rounded-full */
|
|
153
|
+
border: 1px solid white; /* Tailwind's border border-white */
|
|
154
|
+
display: flex;
|
|
155
|
+
align-items: center;
|
|
156
|
+
justify-content: center;
|
|
157
|
+
cursor: pointer; /* Optional: for pointer cursor on hover */
|
|
158
|
+
`,ol=mt.span`
|
|
159
|
+
color: black; /* Tailwind's text-black */
|
|
160
|
+
font-size: 1.125rem; /* Tailwind's text-lg */
|
|
161
|
+
`;function sl(e){return Vr({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6m2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0m4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4m-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10s-3.516.68-4.168 1.332c-.678.678-.83 1.418-.832 1.664z"},child:[]}]})(e)}function al(e){return Vr({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M0 .5A.5.5 0 0 1 .5 0h3a.5.5 0 0 1 0 1H1v2.5a.5.5 0 0 1-1 0zm12 0a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V1h-2.5a.5.5 0 0 1-.5-.5M.5 12a.5.5 0 0 1 .5.5V15h2.5a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5m15 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1H15v-2.5a.5.5 0 0 1 .5-.5M4 4h1v1H4z"},child:[]},{tag:"path",attr:{d:"M7 2H2v5h5zM3 3h3v3H3zm2 8H4v1h1z"},child:[]},{tag:"path",attr:{d:"M7 9H2v5h5zm-4 1h3v3H3zm8-6h1v1h-1z"},child:[]},{tag:"path",attr:{d:"M9 2h5v5H9zm1 1v3h3V3zM8 8v2h1v1H8v1h2v-2h1v2h1v-1h2v-1h-3V8zm2 2H9V9h1zm4 2h-1v1h-2v1h3zm-4 2v-1H8v1z"},child:[]},{tag:"path",attr:{d:"M12 9h2V8h-2z"},child:[]}]})(e)}function cl(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function ul(e){return cl(e)&&"type"in e&&typeof e.type=="string"}var xs=Symbol.for("immer-nothing"),oo=Symbol.for("immer-draftable"),re=Symbol.for("immer-state"),ll=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function Z(e,...t){if(process.env.NODE_ENV!=="production"){const r=ll[e],n=typeof r=="function"?r.apply(null,t):r;throw new Error(`[Immer] ${n}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ft=Object.getPrototypeOf;function Ge(e){return!!e&&!!e[re]}function Oe(e){var t;return e?Cs(e)||Array.isArray(e)||!!e[oo]||!!((t=e.constructor)!=null&&t[oo])||zr(e)||Mr(e):!1}var fl=Object.prototype.constructor.toString();function Cs(e){if(!e||typeof e!="object")return!1;const t=ft(e);if(t===null)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object?!0:typeof r=="function"&&Function.toString.call(r)===fl}function br(e,t){Fr(e)===0?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function Fr(e){const t=e[re];return t?t.type_:Array.isArray(e)?1:zr(e)?2:Mr(e)?3:0}function xn(e,t){return Fr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ks(e,t,r){const n=Fr(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function dl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function zr(e){return e instanceof Map}function Mr(e){return e instanceof Set}function ze(e){return e.copy_||e.base_}function Cn(e,t){if(zr(e))return new Map(e);if(Mr(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=Cs(e);if(t===!0||t==="class_only"&&!r){const n=Object.getOwnPropertyDescriptors(e);delete n[re];let i=Reflect.ownKeys(n);for(let o=0;o<i.length;o++){const s=i[o],c=n[s];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(n[s]={configurable:!0,writable:!0,enumerable:c.enumerable,value:e[s]})}return Object.create(ft(e),n)}else{const n=ft(e);if(n!==null&&r)return{...e};const i=Object.create(n);return Object.assign(i,e)}}function Jn(e,t=!1){return $r(e)||Ge(e)||!Oe(e)||(Fr(e)>1&&(e.set=e.add=e.clear=e.delete=hl),Object.freeze(e),t&&Object.entries(e).forEach(([r,n])=>Jn(n,!0))),e}function hl(){Z(2)}function $r(e){return Object.isFrozen(e)}var pl={};function Ye(e){const t=pl[e];return t||Z(0,e),t}var Lt;function As(){return Lt}function ml(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function so(e,t){t&&(Ye("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function kn(e){An(e),e.drafts_.forEach(gl),e.drafts_=null}function An(e){e===Lt&&(Lt=e.parent_)}function ao(e){return Lt=ml(Lt,e)}function gl(e){const t=e[re];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function co(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[re].modified_&&(kn(t),Z(4)),Oe(e)&&(e=_r(t,e),t.parent_||wr(t,e)),t.patches_&&Ye("Patches").generateReplacementPatches_(r[re].base_,e,t.patches_,t.inversePatches_)):e=_r(t,r,[]),kn(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==xs?e:void 0}function _r(e,t,r){if($r(t))return t;const n=t[re];if(!n)return br(t,(i,o)=>uo(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return wr(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;const i=n.copy_;let o=i,s=!1;n.type_===3&&(o=new Set(i),i.clear(),s=!0),br(o,(c,u)=>uo(e,n,i,c,u,r,s)),wr(e,i,!1),r&&e.patches_&&Ye("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function uo(e,t,r,n,i,o,s){if(process.env.NODE_ENV!=="production"&&i===r&&Z(5),Ge(i)){const c=o&&t&&t.type_!==3&&!xn(t.assigned_,n)?o.concat(n):void 0,u=_r(e,i,c);if(ks(r,n,u),Ge(u))e.canAutoFreeze_=!1;else return}else s&&r.add(i);if(Oe(i)&&!$r(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;_r(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&Object.prototype.propertyIsEnumerable.call(r,n)&&wr(e,i)}}function wr(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Jn(t,r)}function yl(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:As(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,o=Zn;r&&(i=[n],o=Bt);const{revoke:s,proxy:c}=Proxy.revocable(i,o);return n.draft_=c,n.revoke_=s,c}var Zn={get(e,t){if(t===re)return e;const r=ze(e);if(!xn(r,t))return vl(e,r,t);const n=r[t];return e.finalized_||!Oe(n)?n:n===an(e.base_,t)?(cn(e),e.copy_[t]=Nn(n,e)):n},has(e,t){return t in ze(e)},ownKeys(e){return Reflect.ownKeys(ze(e))},set(e,t,r){const n=Ts(ze(e),t);if(n!=null&&n.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=an(ze(e),t),o=i==null?void 0:i[re];if(o&&o.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(dl(r,i)&&(r!==void 0||xn(e.base_,t)))return!0;cn(e),Tn(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return an(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,cn(e),Tn(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=ze(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){Z(11)},getPrototypeOf(e){return ft(e.base_)},setPrototypeOf(){Z(12)}},Bt={};br(Zn,(e,t)=>{Bt[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Bt.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&Z(13),Bt.set.call(this,e,t,void 0)};Bt.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&Z(14),Zn.set.call(this,e[0],t,r,e[0])};function an(e,t){const r=e[re];return(r?ze(r):e)[t]}function vl(e,t,r){var i;const n=Ts(t,r);return n?"value"in n?n.value:(i=n.get)==null?void 0:i.call(e.draft_):void 0}function Ts(e,t){if(!(t in e))return;let r=ft(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=ft(r)}}function Tn(e){e.modified_||(e.modified_=!0,e.parent_&&Tn(e.parent_))}function cn(e){e.copy_||(e.copy_=Cn(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var bl=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const o=r;r=t;const s=this;return function(u=o,...l){return s.produce(u,f=>r.call(this,f,...l))}}typeof r!="function"&&Z(6),n!==void 0&&typeof n!="function"&&Z(7);let i;if(Oe(t)){const o=ao(this),s=Nn(t,void 0);let c=!0;try{i=r(s),c=!1}finally{c?kn(o):An(o)}return so(o,n),co(i,o)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===xs&&(i=void 0),this.autoFreeze_&&Jn(i,!0),n){const o=[],s=[];Ye("Patches").generateReplacementPatches_(t,i,o,s),n(o,s)}return i}else Z(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(s,...c)=>this.produceWithPatches(s,u=>t(u,...c));let n,i;return[this.produce(t,r,(s,c)=>{n=s,i=c}),n,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Oe(e)||Z(8),Ge(e)&&(e=_l(e));const t=ao(this),r=Nn(e,void 0);return r[re].isManual_=!0,An(t),r}finishDraft(e,t){const r=e&&e[re];(!r||!r.isManual_)&&Z(9);const{scope_:n}=r;return so(n,t),co(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));const n=Ye("Patches").applyPatches_;return Ge(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Nn(e,t){const r=zr(e)?Ye("MapSet").proxyMap_(e,t):Mr(e)?Ye("MapSet").proxySet_(e,t):yl(e,t);return(t?t.scope_:As()).drafts_.push(r),r}function _l(e){return Ge(e)||Z(10,e),Ns(e)}function Ns(e){if(!Oe(e)||$r(e))return e;const t=e[re];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Cn(e,t.scope_.immer_.useStrictShallowCopy_)}else r=Cn(e,!0);return br(r,(n,i)=>{ks(r,n,Ns(i))}),t&&(t.finalized_=!1),r}var ne=new bl,Ds=ne.produce;ne.produceWithPatches.bind(ne);ne.setAutoFreeze.bind(ne);ne.setUseStrictShallowCopy.bind(ne);ne.applyPatches.bind(ne);ne.createDraft.bind(ne);ne.finishDraft.bind(ne);function lo(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(process.env.NODE_ENV==="production"?Y(0):"prepareAction did not return an object");return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>ul(n)&&n.type===e,r}function fo(e){return Oe(e)?Ds(e,()=>{}):e}function ho(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function Is(e){const t={},r=[];let n;const i={addCase(o,s){if(process.env.NODE_ENV!=="production"){if(r.length>0)throw new Error(process.env.NODE_ENV==="production"?Y(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(n)throw new Error(process.env.NODE_ENV==="production"?Y(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const c=typeof o=="string"?o:o.type;if(!c)throw new Error(process.env.NODE_ENV==="production"?Y(28):"`builder.addCase` cannot be called with an empty action type");if(c in t)throw new Error(process.env.NODE_ENV==="production"?Y(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${c}'`);return t[c]=s,i},addMatcher(o,s){if(process.env.NODE_ENV!=="production"&&n)throw new Error(process.env.NODE_ENV==="production"?Y(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:o,reducer:s}),i},addDefaultCase(o){if(process.env.NODE_ENV!=="production"&&n)throw new Error(process.env.NODE_ENV==="production"?Y(31):"`builder.addDefaultCase` can only be called once");return n=o,i}};return e(i),[t,r,n]}function wl(e){return typeof e=="function"}function Sl(e,t){if(process.env.NODE_ENV!=="production"&&typeof t=="object")throw new Error(process.env.NODE_ENV==="production"?Y(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[r,n,i]=Is(t),o;if(wl(e))o=()=>fo(e());else{const c=fo(e);o=()=>c}function s(c=o(),u){let l=[r[u.type],...n.filter(({matcher:f})=>f(u)).map(({reducer:f})=>f)];return l.filter(f=>!!f).length===0&&(l=[i]),l.reduce((f,d)=>{if(d)if(Ge(f)){const p=d(f,u);return p===void 0?f:p}else{if(Oe(f))return Ds(f,h=>d(h,u));{const h=d(f,u);if(h===void 0){if(f===null)return f;throw Error("A case reducer on a non-draftable value must not return undefined")}return h}}return f},c)}return s.getInitialState=o,s}var El=Symbol.for("rtk-slice-createasyncthunk");function Rl(e,t){return`${e}/${t}`}function Ol({creators:e}={}){var r;const t=(r=e==null?void 0:e.asyncThunk)==null?void 0:r[El];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error(process.env.NODE_ENV==="production"?Y(11):"`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&i.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const c=(typeof i.reducers=="function"?i.reducers(Cl()):i.reducers)||{},u=Object.keys(c),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(m,w){const E=typeof m=="string"?m:m.type;if(!E)throw new Error(process.env.NODE_ENV==="production"?Y(12):"`context.addCase` cannot be called with an empty action type");if(E in l.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?Y(13):"`context.addCase` cannot be called with two reducers for the same action type: "+E);return l.sliceCaseReducersByType[E]=w,f},addMatcher(m,w){return l.sliceMatchers.push({matcher:m,reducer:w}),f},exposeAction(m,w){return l.actionCreators[m]=w,f},exposeCaseReducer(m,w){return l.sliceCaseReducersByName[m]=w,f}};u.forEach(m=>{const w=c[m],E={reducerName:m,type:Rl(o,m),createNotation:typeof i.reducers=="function"};Al(w)?Nl(E,w,f,t):kl(E,w,f)});function d(){if(process.env.NODE_ENV!=="production"&&typeof i.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?Y(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[m={},w=[],E=void 0]=typeof i.extraReducers=="function"?Is(i.extraReducers):[i.extraReducers],P={...m,...l.sliceCaseReducersByType};return Sl(i.initialState,R=>{for(let j in P)R.addCase(j,P[j]);for(let j of l.sliceMatchers)R.addMatcher(j.matcher,j.reducer);for(let j of w)R.addMatcher(j.matcher,j.reducer);E&&R.addDefaultCase(E)})}const h=m=>m,p=new Map;let y;function S(m,w){return y||(y=d()),y(m,w)}function x(){return y||(y=d()),y.getInitialState()}function _(m,w=!1){function E(R){let j=R[m];if(typeof j>"u"){if(w)j=x();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Y(15):"selectSlice returned undefined for an uninjected slice reducer")}return j}function P(R=h){const j=ho(p,w,()=>new WeakMap);return ho(j,R,()=>{const M={};for(const[ue,H]of Object.entries(i.selectors??{}))M[ue]=Pl(H,R,x,w);return M})}return{reducerPath:m,getSelectors:P,get selectors(){return P(E)},selectSlice:E}}const v={name:o,reducer:S,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:x,..._(s),injectInto(m,{reducerPath:w,...E}={}){const P=w??s;return m.inject({reducerPath:P,reducer:S},E),{...v,..._(P,!0)}}};return v}}function Pl(e,t,r,n){function i(o,...s){let c=t(o);if(typeof c>"u"){if(n)c=r();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?Y(16):"selectState returned undefined for an uninjected slice reducer")}return e(c,...s)}return i.unwrapped=e,i}var xl=Ol();function Cl(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function kl({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&!Tl(n))throw new Error(process.env.NODE_ENV==="production"?Y(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");o=n.reducer,s=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?lo(e,s):lo(e))}function Al(e){return e._reducerDefinitionType==="asyncThunk"}function Tl(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Nl({type:e,reducerName:t},r,n,i){if(!i)throw new Error(process.env.NODE_ENV==="production"?Y(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:o,fulfilled:s,pending:c,rejected:u,settled:l,options:f}=r,d=i(e,o,f);n.exposeAction(t,d),s&&n.addCase(d.fulfilled,s),c&&n.addCase(d.pending,c),u&&n.addCase(d.rejected,u),l&&n.addMatcher(d.settled,l),n.exposeCaseReducer(t,{fulfilled:s||rr,pending:c||rr,rejected:u||rr,settled:l||rr})}function rr(){}function Y(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const Dl={cardPosition:"transit-to-home"},Il=xl({name:"navigation",initialState:Dl,reducers:{setCardState:(e,t)=>(e.cardPosition=t.payload.state,e)}}),{setCardState:jl}=Il.actions,Vl=({iconComponent:e})=>{const t=nl(),r=Go({from:{opacity:0,transform:"scale(0.5)"},to:{opacity:1,transform:"scale(1)"}}),n=()=>{t(jl({state:"transit-to-profile"}))};let i;return e==="person"?i=G.jsx(sl,{}):e==="qr"&&(i=G.jsx(al,{})),G.jsx(il,{style:r,onClick:n,children:G.jsx(ol,{children:i})})};exports.AnimatedText=Qo;exports.BannerButton=Ku;exports.CircleIconButton=Vl;
|