1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3901],{3901:function(e,t,n){"use strict";n.d(t,{mj:function(){return f2}});var r,i,a,o,s,f,c,u,d,l,h=n(2265),b=n(40718),p=n.n(b),g=$(),y=e=>O(e,g),m=$();y.write=e=>O(e,m);var _=$();y.onStart=e=>O(e,_);var v=$();y.onFrame=e=>O(e,v);var x=$();y.onFinish=e=>O(e,x);var w=[];y.setTimeout=(e,t)=>{let n=y.now()+t,r=()=>{let e=w.findIndex(e=>e.cancel==r);~e&&w.splice(e,1),S-=~e?1:0},i={time:n,handler:e,cancel:r};return w.splice(M(n),0,i),S+=1,T(),i};var M=e=>~(~w.findIndex(t=>t.time>e)||~w.length);y.cancel=e=>{_.delete(e),v.delete(e),x.delete(e),g.delete(e),m.delete(e)},y.sync=e=>{j=!0,y.batchedUpdates(e),j=!1},y.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,y.onStart(n)}return r.handler=e,r.cancel=()=>{_.delete(n),t=null},r};var k="undefined"!=typeof window?window.requestAnimationFrame:()=>{};y.use=e=>k=e,y.now="undefined"!=typeof performance?()=>performance.now():Date.now,y.batchedUpdates=e=>e(),y.catch=console.error,y.frameLoop="always",y.advance=()=>{"demand"!==y.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):R()};var C=-1,S=0,j=!1;function O(e,t){j?(t.delete(e),e(0)):(t.add(e),T())}function T(){C<0&&(C=0,"demand"!==y.frameLoop&&k(P))}function P(){~C&&(k(P),y.batchedUpdates(R))}function R(){let e=C,t=M(C=y.now());if(t&&(A(w.splice(0,t),e=>e.handler()),S-=t),!S){C=-1;return}_.flush(),g.flush(e?Math.min(64,C-e):16.667),v.flush(),m.flush(),x.flush()}function $(){let e=new Set,t=e;return{add(n){S+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(S-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,S-=t.size,A(t,t=>t(n)&&e.add(t)),S+=e.size,t=e)}}}function A(e,t){e.forEach(e=>{try{t(e)}catch(e){y.catch(e)}})}var N=Object.defineProperty,E={};function q(){}((e,t)=>{for(var n in t)N(e,n,{get:t[n],enumerable:!0})})(E,{assign:()=>Q,colors:()=>B,createStringInterpolator:()=>i,skipAnimation:()=>G,to:()=>a,willAdvance:()=>H});var z=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),I={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function W(e,t){if(I.arr(e)){if(!I.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var F=(e,t)=>e.forEach(t);function D(e,t,n){if(I.arr(e)){for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);return}for(let r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var L=e=>I.und(e)?[]:I.arr(e)?e:[e];function U(e,t){if(e.size){let n=Array.from(e);e.clear(),F(n,t)}}var V=(e,...t)=>U(e,e=>e(...t)),Y=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),B=null,G=!1,H=q,Q=e=>{e.to&&(a=e.to),e.now&&(y.now=e.now),void 0!==e.colors&&(B=e.colors),null!=e.skipAnimation&&(G=e.skipAnimation),e.createStringInterpolator&&(i=e.createStringInterpolator),e.requestAnimationFrame&&y.use(e.requestAnimationFrame),e.batchedUpdates&&(y.batchedUpdates=e.batchedUpdates),e.willAdvance&&(H=e.willAdvance),e.frameLoop&&(y.frameLoop=e.frameLoop)},X=new Set,Z=[],J=[],K=0,ee={get idle(){return!X.size&&!Z.length},start(e){K>e.priority?(X.add(e),y.onStart(et)):(en(e),y(ei))},advance:ei,sort(e){if(K)y.onFrame(()=>ee.sort(e));else{let t=Z.indexOf(e);~t&&(Z.splice(t,1),er(e))}},clear(){Z=[],X.clear()}};function et(){X.forEach(en),X.clear(),y(ei)}function en(e){Z.includes(e)||er(e)}function er(e){Z.splice(function(e,t){let n=e.findIndex(t);return n<0?e.length:n}(Z,t=>t.priority>e.priority),0,e)}function ei(e){let t=J;for(let n=0;n<Z.length;n++){let r=Z[n];K=r.priority,r.idle||(H(r),r.advance(e),r.idle||t.push(r))}return K=0,(J=Z).length=0,(Z=t).length>0}var ea="[-+]?\\d*\\.?\\d+",eo=ea+"%";function es(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var ef=RegExp("rgb"+es(ea,ea,ea)),ec=RegExp("rgba"+es(ea,ea,ea,ea)),eu=RegExp("hsl"+es(ea,eo,eo)),ed=RegExp("hsla"+es(ea,eo,eo,ea)),el=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,eh=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,eb=/^#([0-9a-fA-F]{6})$/,ep=/^#([0-9a-fA-F]{8})$/;function eg(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}
1function ey(e,t,n){let r=n<.5?n*(1+t):n+t-n*t,i=2*n-r;return Math.round(255*eg(i,r,e+1/3))<<24|Math.round(255*eg(i,r,e))<<16|Math.round(255*eg(i,r,e-1/3))<<8}function em(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function e_(e){return(parseFloat(e)%360+360)%360/360}function ev(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ex(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function ew(e){let t;let n="number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=eb.exec(e))?parseInt(t[1]+"ff",16)>>>0:B&&void 0!==B[e]?B[e]:(t=ef.exec(e))?(em(t[1])<<24|em(t[2])<<16|em(t[3])<<8|255)>>>0:(t=ec.exec(e))?(em(t[1])<<24|em(t[2])<<16|em(t[3])<<8|ev(t[4]))>>>0:(t=el.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ep.exec(e))?parseInt(t[1],16)>>>0:(t=eh.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=eu.exec(e))?(255|ey(e_(t[1]),ex(t[2]),ex(t[3])))>>>0:(t=ed.exec(e))?(ey(e_(t[1]),ex(t[2]),ex(t[3]))|ev(t[4]))>>>0:null;if(null===n)return e;let r=(4278190080&(n=n||0))>>>24,i=(16711680&n)>>>16,a=(65280&n)>>>8,o=(255&n)/255;return`rgba(${r}, ${i}, ${a}, ${o})`}var eM=(e,t,n)=>{if(I.fun(e))return e;if(I.arr(e))return eM({range:e,output:t,extrapolate:n});if(I.str(e.output[0]))return i(e);let r=e.output,a=e.range||[0,1],o=e.extrapolateLeft||e.extrapolate||"extend",s=e.extrapolateRight||e.extrapolate||"extend",f=e.easing||(e=>e);return t=>{let n=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(t,a);return function(e,t,n,r,i,a,o,s,f){let c=f?f(e):e;if(c<t){if("identity"===o)return c;"clamp"===o&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t),c=a(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r,c)}(t,a[n],a[n+1],r[n],r[n+1],f,o,s,e.map)}},ek=Symbol.for("FluidValue.get"),eC=Symbol.for("FluidValue.observers"),eS=e=>!!(e&&e[ek]),ej=e=>e&&e[ek]?e[ek]():e,eO=e=>e[eC]||null;function eT(e,t){let n=e[eC];n&&n.forEach(e=>{e.eventObserved?e.eventObserved(t):e(t)})}var eP=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");eR(this,e)}},eR=(e,t)=>eN(e,ek,t);function e$(e,t){if(e[ek]){let n=e[eC];n||eN(e,eC,n=new Set),!n.has(t)&&(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function eA(e,t){let n=e[eC];if(n&&n.has(t)){let r=n.size-1;r?n.delete(t):e[eC]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var eN=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),eE=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,eq=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ez=RegExp(`(${eE.source})(%|[a-z]+)`,"i"),eI=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,eW=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,eF=e=>{let[t,n]=eD(e);if(!t||Y())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){let e=window.getComputedStyle(document.documentElement).getPropertyValue(n);if(e)return e}else if(n&&eW.test(n))return eF(n);else if(n)return n;return e},eD=e=>{let t=eW.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]},eL=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,eU=e=>{o||(o=B?RegExp(`(${Object.keys(B).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(e=>ej(e).replace(eW,eF).replace(eq,ew).replace(o,ew)),n=t.map(e=>e.match(eE).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>eM({...e,output:t}));return e=>{let n=!ez.test(t[0])&&t.find(e=>ez.test(e))?.replace(eE,""),i=0;return t[0].replace(eE,()=>`${r[i++](e)}${n||""}`).replace(eI,eL)}},eV="react-spring: ",eY=e=>{let t=!1;if("function"!=typeof e)throw TypeError(`${eV}once requires a function parameter`);return(...n)=>{t||(e(...n),t=!0)}},eB=eY(console.warn),eG=eY(console.warn);function eH(e){return I.str(e)&&("#"==e[0]||/\d/.test(e)||!Y()&&eW.test(e)||e in(B||{}))}var eQ=Y()?h.useEffect:h.useLayoutEffect,eX=()=>{let e=(0,h.useRef)(!1);return eQ(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function eZ(){let e=(0,h.useState)()[1],t=eX();return()=>{t.current&&e(Math.random())}}var eJ=e=>(0,h.useEffect)(e,eK),eK=[];function e0(e){let t=(0,h.useRef)();return(0,h.useEffect)(()=>{t.current=e}),t.current}var e1=Symbol.for("Animated:node"),e2=e=>!!e&&e[e1]===e,e5=e=>e&&e[e1],e6=(e,t)=>z(e,e1,t),e7=e=>e&&e[e1]&&e[e1].getPayload(),e8=class{constructor(){e6(this,this)}getPayload(){return this.payload||[]}},e3=class extends e8{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,I.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new e3(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return I.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){let{done:e}=this;this.done=!1,I.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}
1,e4=class extends e3{constructor(e){super(0),this._string=null,this._toString=eM({output:[e,e]})}static create(e){return new e4(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(I.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=eM({output:[this.getValue(),e]})),this._value=0,super.reset()}},e9={dependencies:null},te=class extends e8{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){let t={};return D(this.source,(n,r)=>{e2(n)?t[r]=n.getValue(e):eS(n)?t[r]=ej(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&F(this.payload,e=>e.reset())}_makePayload(e){if(e){let t=new Set;return D(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){e9.dependencies&&eS(e)&&e9.dependencies.add(e);let t=e7(e);t&&F(t,e=>this.add(e))}},tt=class extends te{constructor(e){super(e)}static create(e){return new tt(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){let t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(tn)),!0)}};function tn(e){return(eH(e)?e4:e3).create(e)}function tr(e){let t=e5(e);return t?t.constructor:I.arr(e)?tt:eH(e)?e4:e3}var ti=(e,t)=>{let n=!I.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,h.forwardRef)((r,i)=>{let a=(0,h.useRef)(null),o=n&&(0,h.useCallback)(e=>{a.current=(i&&(I.fun(i)?i(e):i.current=e),e)},[i]),[s,f]=function(e,t){let n=new Set;return e9.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}
1),e=new te(e),e9.dependencies=null,[e,n]}(r,t),c=eZ(),u=()=>{let e=a.current;(!n||e)&&!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&c()},d=new ta(u,f),l=(0,h.useRef)();eQ(()=>(l.current=d,F(f,e=>e$(e,d)),()=>{l.current&&(F(l.current.deps,e=>eA(e,l.current)),y.cancel(l.current.update))})),(0,h.useEffect)(u,[]),eJ(()=>()=>{let e=l.current;F(e.deps,t=>eA(t,e))});let b=t.getComponentProps(s.getValue());return h.createElement(e,{...b,ref:o})})},ta=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&y.write(this.update)}},to=Symbol.for("AnimatedComponent"),ts=e=>I.str(e)?e:e&&I.str(e.displayName)?e.displayName:I.fun(e)&&e.name||null;function tf(e,...t){return I.fun(e)?e(...t):e}var tc=(e,t)=>!0===e||!!(t&&e&&(I.fun(e)?e(t):L(e).includes(t))),tu=(e,t)=>I.obj(e)?t&&e[t]:e,td=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,tl=e=>e,th=(e,t=tl)=>{let n=tb;e.default&&!0!==e.default&&(n=Object.keys(e=e.default));let r={};for(let i of n){let n=t(e[i],i);I.und(n)||(r[i]=n)}return r},tb=["config","onProps","onStart","onChange","onPause","onResume","onRest"],tp={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 tg(e){let t=function(e){let t={},n=0;if(D(e,(e,r)=>{!tp[r]&&(t[r]=e,n++)}),n)return t}(e);if(t){let n={to:t};return D(e,(e,r)=>r in t||(n[r]=e)),n}return{...e}}function ty(e){return e=ej(e),I.arr(e)?e.map(ty):eH(e)?E.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function tm(e){return I.fun(e)||I.arr(e)&&I.obj(e[0])}var t_={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},tv={...t_.default,mass:1,damping:1,easing:e=>e,clamp:!1},tx=class{constructor(){this.velocity=0,Object.assign(this,tv)}};function tw(e,t){if(I.und(t.decay)){let n=!I.und(t.tension)||!I.und(t.friction);!n&&I.und(t.frequency)&&I.und(t.damping)&&I.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var tM=[],tk=class{constructor(){this.changed=!1,this.values=tM,this.toValues=null,this.fromValues=tM,this.config=new tx,this.immediate=!1}};function tC(e,{key:t,props:n,defaultProps:r,state:i,actions:a}){return new Promise((o,s)=>{let f,c;let u=tc(n.cancel??r?.cancel,t);if(u)h();else{I.und(n.pause)||(i.paused=tc(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||tc(e,t)),f=tf(n.delay||0,t),e?(i.resumeQueue.add(l),a.pause()):(a.resume(),l())}function d(){i.resumeQueue.add(l),i.timeouts.delete(c),c.cancel(),f=c.time-y.now()}function l(){f>0&&!E.skipAnimation?(i.delayed=!0,c=y.setTimeout(h,f),i.pauseQueue.add(d),i.timeouts.add(c)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(c),e<=(i.cancelId||0)&&(u=!0);try{a.start({...n,callId:e,cancel:u},o)}catch(e){s(e)}}})}var tS=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?tT(e.get()):t.every(e=>e.noop)?tj(e.get()):tO(e.get(),t.every(e=>e.finished)),tj=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),tO=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),tT=e=>({value:e,cancelled:!0,finished:!1});function tP(e,t,n,r){let{callId:i,parentId:a,onRest:o}=t,{asyncTo:s,promise:f}=n;return a||e!==s||t.reset?n.promise=(async()=>{let c,u,d;n.asyncId=i,n.asyncTo=e;let l=th(t,(e,t)=>"onRest"===t?void 0:e),h=new Promise((e,t)=>(c=e,u=t)),b=e=>{let t=i<=(n.cancelId||0)&&tT(r)||i!==n.asyncId&&tO(r,!1);if(t)throw e.result=t,u(e),e},p=(e,t)=>{let a=new t$,o=new tA;return(async()=>{if(E.skipAnimation)throw tR(n),o.result=tO(r,!1),u(o),o;b(a);let s=I.obj(e)?{...e}:{...t,to:e};s.parentId=i,D(l,(e,t)=>{I.und(s[t])&&(s[t]=e)});let f=await r.start(s);return b(a),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),f})()};if(E.skipAnimation)return tR(n),tO(r,!1);try{let t;t=I.arr(e)?(async e=>{for(let t of e)await p(t)})(e):Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([t.then(c),h]),d=tO(r.get(),!0,!1)}catch(e){if(e instanceof t$)d=e.result;else if(e instanceof tA)d=e.result;else throw e}finally{i==n.asyncId&&(n.asyncId=a,n.asyncTo=a?s:void 0,n.promise=a?f:void 0)}return I.fun(o)&&y.batchedUpdates(()=>{o(d,r,r.item)}),d})():f}function tR(e,t){U(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}
1var t$=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.")}},tA=class extends Error{constructor(){super("SkipAnimationSignal")}},tN=e=>e instanceof tq,tE=1,tq=class extends eP{constructor(){super(...arguments),this.id=tE++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){let e=e5(this);return e&&e.getValue()}to(...e){return E.to(this,e)}interpolate(...e){return eB(`${eV}The "interpolate" function is deprecated in v9 (use "to" instead)`),E.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){eT(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||ee.sort(this),eT(this,{type:"priority",parent:this,priority:e})}},tz=Symbol.for("SpringPhase"),tI=e=>(1&e[tz])>0,tW=e=>(2&e[tz])>0,tF=e=>(4&e[tz])>0,tD=(e,t)=>t?e[tz]|=3:e[tz]&=-3,tL=(e,t)=>t?e[tz]|=4:e[tz]&=-5,tU=class extends tq{constructor(e,t){if(super(),this.animation=new tk,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,!I.und(e)||!I.und(t)){let n=I.obj(e)?{...e}:{...t,from:e};I.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(tW(this)||this._state.asyncTo)||tF(this)}get goal(){return ej(this.animation.to)}get velocity(){let e=e5(this);return e instanceof e3?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return tI(this)}get isAnimating(){return tW(this)}get isPaused(){return tF(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1,r=this.animation,{toValues:i}=r,{config:a}=r,o=e7(r.to);!o&&eS(r.to)&&(i=L(ej(r.to))),r.values.forEach((s,f)=>{if(s.done)return;let c=s.constructor==e4?1:o?o[f].lastPosition:i[f],u=r.immediate,d=c;if(!u){let t;if(d=s.lastPosition,a.tension<=0){s.done=!0;return}let n=s.elapsedTime+=e,i=r.fromValues[f],o=null!=s.v0?s.v0:s.v0=I.arr(a.velocity)?a.velocity[f]:a.velocity,l=a.precision||(i==c?.005:Math.min(1,.001*Math.abs(c-i)));if(I.und(a.duration)){if(a.decay){let e=!0===a.decay?.998:a.decay,r=Math.exp(-(1-e)*n);d=i+o/(1-e)*(1-r),u=Math.abs(s.lastPosition-d)<=l,t=o*r}else{t=null==s.lastVelocity?o:s.lastVelocity;let n=a.restVelocity||l/10,r=a.clamp?0:a.bounce,f=!I.und(r),h=i==c?s.v0>0:i<c,b=Math.ceil(e/1);for(let e=0;e<b&&!(!(Math.abs(t)>n)&&(u=Math.abs(c-d)<=l));++e){f&&(d==c||d>
1c==h)&&(t=-t*r,d=c);let e=(-(1e-6*a.tension)*(d-c)+-(.001*a.friction)*t)/a.mass;t+=1*e,d+=1*t}}}else{let r=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,s.durationProgress>0&&(s.elapsedTime=a.duration*s.durationProgress,n=s.elapsedTime+=e)),r=(r=(a.progress||0)+n/this._memoizedDuration)>1?1:r<0?0:r,s.durationProgress=r),t=((d=i+a.easing(r)*(c-i))-s.lastPosition)/e,u=1==r}s.lastVelocity=t,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}o&&!o[f].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,a.round)&&(n=!0)});let s=e5(this),f=s.getValue();if(t){let e=ej(r.to);(f!==e||n)&&!a.decay?(s.setValue(e),this._onChange(e)):n&&a.decay&&this._onChange(f),this._stop()}else n&&this._onChange(f)}set(e){return y.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(tW(this)){let{to:e,config:t}=this.animation;y.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 n;return I.und(e)?(n=this.queue||[],this.queue=[]):n=[I.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>this._update(e))).then(e=>tS(this,e))}stop(e){let{to:t}=this.animation;return this._focus(this.get()),tR(this._state,e&&this._lastCallId),y.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){let t=this.key||"",{to:n,from:r}=e;(null==(n=I.obj(n)?n[t]:n)||tm(n))&&(n=void 0),null==(r=I.obj(r)?r[t]:r)&&(r=void 0);let i={to:n,from:r};return tI(this)||(e.reverse&&([n,r]=[r,n]),r=ej(r),I.und(r)?e5(this)||this._set(n):this._set(r)),i}_update({...e},t){let{key:n,defaultProps:r}=this;e.default&&Object.assign(r,th(e,(e,t)=>/^on/.test(t)?tu(e,n):e)),tQ(this,e,"onProps"),tX(this,"onProps",e,this);let 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?");let a=this._state;return tC(++this._lastCallId,{key:n,props:e,defaultProps:r,state:a,actions:{pause:()=>{tF(this)||(tL(this,!0),V(a.pauseQueue),tX(this,"onPause",tO(this,tV(this,this.animation.to)),this))},resume:()=>{tF(this)&&(tL(this,!1),tW(this)&&this._resume(),V(a.resumeQueue),tX(this,"onResume",tO(this,tV(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(n=>{if(e.loop&&n.finished&&!(t&&n.noop)){let t=tY(e);if(t)return this._update(t,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(tT(this));let r=!I.und(e.to),i=!I.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(tT(this));this._lastToId=t.callId}let{key:a,defaultProps:o,animation:s}=this,{to:f,from:c}=s,{to:u=f,from:d=c}=e;i&&!r&&(!t.default||I.und(u))&&(u=d),t.reverse&&([u,d]=[d,u]);let l=!W(d,c);l&&(s.from=d),d=ej(d);let h=!W(u,f);h&&this._focus(u);let b=tm(t.to),{config:p}=s,{decay:g,velocity:m}=p;(r||i)&&(p.velocity=0),t.config&&!b&&function(e,t,n){for(let r in n&&(tw(n={...n},t),t={...n,...t}),tw(e,t),Object.assign(e,t),tv)null==e[r]&&(e[r]=tv[r]);let{frequency:r,damping:i}=e,{mass:a}=e;I.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*a,e.friction=4*Math.PI*i*a/r)}(p,tf(t.config,a),t.config!==o.config?tf(o.config,a):void 0);let _=e5(this);if(!_||I.und(u))return n(tO(this,!0));let v=I.und(t.reset)?i&&!t.default:!I.und(d)&&tc(t.reset,a),x=v?d:this.get(),w=ty(u),M=I.num(w)||I.arr(w)||eH(w),k=!b&&(!M||tc(o.immediate||t.immediate,a));if(h){let e=tr(u);if(e!==_.constructor){if(k)_=this._set(w);else throw Error(`Cannot animate between ${_.constructor.name} and ${e.name}, as the "to" prop suggests`)}}let C=_.constructor,S=eS(u),j=!1;if(!S){let e=v||!tI(this)&&l;(h||e)&&(S=!(j=W(ty(x),w))),(W(s.immediate,k)||k)&&W(p.decay,g)&&W(p.velocity,m)||(S=!0)}if(j&&tW(this)&&(s.changed&&!v?S=!0:S||this._stop(f)),!b&&((S||eS(f))&&(s.values=_.getPayload(),s.toValues=eS(u)?null:C==e4?[1]:L(w)),s.immediate==k||(s.immediate=k,k||v||this._set(f)),S)){let{onRest:e}=s;F(tH,e=>tQ(this,t,e));let r=tO(this,tV(this,f));
1V(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&y.batchedUpdates(()=>{s.changed=!v,e?.(r,this),v?tf(o.onRest,r):s.onStart?.(r,this)})}v&&this._set(x),b?n(tP(t.to,t,this._state,this)):S?this._start():tW(this)&&!h?this._pendingCalls.add(n):n(tj(x))}_focus(e){let t=this.animation;e!==t.to&&(eO(this)&&this._detach(),t.to=e,eO(this)&&this._attach())}_attach(){let e=0,{to:t}=this.animation;eS(t)&&(e$(t,this),tN(t)&&(e=t.priority+1)),this.priority=e}_detach(){let{to:e}=this.animation;eS(e)&&eA(e,this)}_set(e,t=!0){let n=ej(e);if(!I.und(n)){let e=e5(this);if(!e||!W(n,e.getValue())){let r=tr(n);e&&e.constructor==r?e.setValue(n):e6(this,r.create(n)),e&&y.batchedUpdates(()=>{this._onChange(n,t)})}}return e5(this)}_onStart(){let e=this.animation;e.changed||(e.changed=!0,tX(this,"onStart",tO(this,tV(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),tf(this.animation.onChange,e,this)),tf(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){let e=this.animation;e5(this).reset(ej(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),tW(this)||(tD(this,!0),tF(this)||this._resume())}_resume(){E.skipAnimation?this.finish():ee.start(this)}_stop(e,t){if(tW(this)){tD(this,!1);let n=this.animation;F(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),eT(this,{type:"idle",parent:this});let r=t?tT(this.get()):tO(this.get(),tV(this,e??n.to));V(this._pendingCalls,r),n.changed&&(n.changed=!1,tX(this,"onRest",r,this))}}};function tV(e,t){let n=ty(t);return W(ty(e.get()),n)}function tY(e,t=e.loop,n=e.to){let r=tf(t);if(r){let i=!0!==r&&tg(r),a=(i||e).reverse,o=!i||i.reset;return tB({...e,loop:t,default:!1,pause:void 0,to:!a||tm(n)?n:void 0,from:o?e.from:void 0,reset:o,...i})}}function tB(e){let{to:t,from:n}=e=tg(e),r=new Set;return I.obj(t)&&tG(t,r),I.obj(n)&&tG(n,r),e.keys=r.size?Array.from(r):null,e}function tG(e,t){D(e,(e,n)=>null!=e&&t.add(n))}var tH=["onStart","onRest","onChange","onPause","onResume"];function tQ(e,t,n){e.animation[n]=t[n]!==td(t,n)?tu(t[n],e.key):void 0}function tX(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var tZ=["onStart","onChange","onRest"],tJ=1,tK=class{constructor(e,t){this.id=tJ++,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(){let e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(let t in e){let n=e[t];I.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(tB(e)),this}start(e){let{queue:t}=this;return(e?t=L(e).map(tB):this.queue=[],this._flush)?this._flush(this,t):(t8(this,t),t0(this,t))}stop(e,t){if(!!e!==e&&(t=e),t){let n=this.springs;F(L(t),t=>n[t].stop(!!e))}else tR(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(I.und(e))this.start({pause:!0});else{let t=this.springs;F(L(e),e=>t[e].pause())}return this}resume(e){if(I.und(e))this.start({pause:!1});else{let t=this.springs;F(L(e),e=>t[e].resume())}return this}each(e){D(this.springs,e)}_onFrame(){let{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,U(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));let a=!r&&this._started,o=i||a&&n.size?this.get():null;i&&t.size&&U(t,([e,t])=>{t.value=o,e(t,this,this._item)}),a&&(this._started=!1,U(n,([e,t])=>{t.value=o,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}y.onFrame(this._onFrame)}};function t0(e,t){return Promise.all(t.map(t=>t1(e,t))).then(t=>tS(e,t))}async function t1(e,t,n){let{keys:r,to:i,from:a,loop:o,onRest:s,onResolve:f}=t,c=I.obj(t.default)&&t.default;o&&(t.loop=!1),!1===i&&(t.to=null),!1===a&&(t.from=null);let u=I.arr(i)||I.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):F(tZ,n=>{let r=t[n];if(I.fun(r)){let i=e._events[n];t[n]=({finished:e,cancelled:t})=>{let n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},c&&(c[n]=t[n])}});let d=e._state;!d.paused===t.pause?(d.paused=t.pause,V(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);let l=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),h=!0===t.cancel||!0===td(t,"cancel");(u||h&&d.asyncId)&&l.push(tC(++e._lastAsyncId,{props:t,state:d,actions:{pause:q,resume:q,start(t,n){h?(tR(d,e._lastAsyncId),n(tT(e))):(t.onRest=s,n(tP(u,t,d,e)))}}})),d.paused&&await new Promise(e=>{d.resumeQueue.add(e)});let b=tS(e,await Promise.all(l));if(o&&b.finished&&!(n&&b.noop)){let n=tY(t,o,i);if(n)return t8(e,[n]),t1(e,n,!0)}return f&&y.batchedUpdates(()=>f(b,e,e.item)),b}function t2(e,t){let n={...e.springs};return t&&F(L(t),e=>{I.und(e.keys)&&(e=tB(e)),I.obj(e.to)||(e={...e,to:void 0}),t7(n,e,e=>t6(e))}),t5(e,n),n}function t5(e,t){D(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,e$(t,e))})}function t6(e,t){let n=new tU;return n.key=e,t&&e$(n,t),n}function t7(e,t,n){t.keys&&F(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function t8(e,t){F(t,t=>{t7(e.springs,t,t=>t6(t,e))})}var t3=({children:e,...t})=>{let n=(0,h.useContext)(t4),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=function(e,t){let[n]=(0,h.useState)(()=>({inputs:t,result:e()})),r=(0,h.useRef)(),i=r.current,a=i;return a?t&&a.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}
1(t,a.inputs)||(a={inputs:t,result:e()}):a=n,(0,h.useEffect)(()=>{r.current=a,i==n&&(n.inputs=n.result=void 0)},[a]),a.result}(()=>({pause:r,immediate:i}),[r,i]);let{Provider:a}=t4;return h.createElement(a,{value:t},e)},t4=(r={},Object.assign(t3,h.createContext(r)),t3.Provider._context=t3,t3.Consumer._context=t3,t3);t3.Provider=t4.Provider,t3.Consumer=t4.Consumer;var t9=()=>{let e=[],t=function(t){eG(`${eV}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`);let r=[];return F(e,(e,i)=>{if(I.und(t))r.push(e.start());else{let a=n(t,e,i);a&&r.push(e.start(a))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){let n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return F(e,e=>e.pause(...arguments)),this},t.resume=function(){return F(e,e=>e.resume(...arguments)),this},t.set=function(t){F(e,(e,n)=>{let r=I.fun(t)?t(n,e):t;r&&e.set(r)})},t.start=function(t){let n=[];return F(e,(e,r)=>{if(I.und(t))n.push(e.start());else{let i=this._getProps(t,e,r);i&&n.push(e.start(i))}}),n},t.stop=function(){return F(e,e=>e.stop(...arguments)),this},t.update=function(t){return F(e,(e,n)=>e.update(this._getProps(t,e,n))),this};let n=function(e,t,n){return I.fun(e)?e(n,t):e};return t._getProps=n,t};function ne(e,t){let n=I.fun(e),[[r],i]=function(e,t,n){let r=I.fun(t)&&t;r&&!n&&(n=[]);let i=(0,h.useMemo)(()=>r||3==arguments.length?t9():void 0,[]),a=(0,h.useRef)(0),o=eZ(),s=(0,h.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){let n=t2(e,t);return!(a.current>0)||s.queue.length||Object.keys(n).some(t=>!e.springs[t])?new Promise(r=>{t5(e,n),s.queue.push(()=>{r(t0(e,t))}),o()}):t0(e,t)}}),[]),f=(0,h.useRef)([...s.ctrls]),c=[],u=e0(e)||0;function d(e,n){for(let i=e;i<n;i++){let e=f.current[i]||(f.current[i]=new tK(null,s.flush)),n=r?r(i,e):t[i];n&&(c[i]=function(e){let t=tB(e);return I.und(t.default)&&(t.default=th(t)),t}(n))}}(0,h.useMemo)(()=>{F(f.current.slice(e,u),e=>{e.ref?.delete(e),i?.delete(e),e.stop(!0)}),f.current.length=e,d(u,e)},[e]),(0,h.useMemo)(()=>{d(0,Math.min(u,e))},n);let l=f.current.map((e,t)=>t2(e,c[t])),b=(0,h.useContext)(t3),p=e0(b),g=b!==p&&function(e){for(let t in e)return!0;return!1}(b);eQ(()=>{a.current++,s.ctrls=f.current;let{queue:e}=s;e.length&&(s.queue=[],F(e,e=>e())),F(f.current,(e,t)=>{i?.add(e),g&&e.start({default:b});let n=c[t];if(n){var r;(r=n.ref)&&e.ref!==r&&(e.ref?.delete(e),r.add(e),e.ref=r),e.ref?e.queue.push(n):e.start(n)}})}),eJ(()=>()=>{F(s.ctrls,e=>e.stop(!0))});let y=l.map(e=>({...e}));return i?[y,i]:y}(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}var nt=class extends tq{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=eM(...t);let n=this._get();e6(this,tr(n).create(n))}advance(e){let t=this._get();W(t,this.get())||(e5(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&nr(this._active)&&ni(this)}_get(){let e=I.arr(this.source)?this.source.map(ej):L(ej(this.source));return this.calc(...e)}_start(){this.idle&&!nr(this._active)&&(this.idle=!1,F(e7(this),e=>{e.done=!1}),E.skipAnimation?(y.batchedUpdates(()=>this.advance()),ni(this)):ee.start(this))}_attach(){let e=1;F(L(this.source),t=>{eS(t)&&e$(t,this),tN(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){F(L(this.source),e=>{eS(e)&&eA(e,this)}),this._active.clear(),ni(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=L(this.source).reduce((e,t)=>Math.max(e,(tN(t)?t.priority:0)+1),0))}};function nn(e){return!1!==e.idle}function nr(e){return!e.size||Array.from(e).every(nn)}function ni(e){e.idle||(e.idle=!0,F(e7(e),e=>{e.done=!0}),eT(e,{type:"idle",parent:e}))}var na=(e,...t)=>new nt(e,t);E.assign({createStringInterpolator:eU,to:(e,t)=>new nt(e,t)}),ee.advance;var no=n(54887),ns=/^--/,nf={},nc={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},nu=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),nd=["Webkit","Ms","Moz","O"];nc=Object.keys(nc).reduce((e,t)=>
1(nd.forEach(n=>e[nu(n,t)]=e[t]),e),nc);var nl=/^(matrix|translate|scale|rotate|skew)/,nh=/^(translate)/,nb=/^(rotate|skew)/,np=(e,t)=>I.num(e)&&0!==e?e+t:e,ng=(e,t)=>I.arr(e)?e.every(e=>ng(e,t)):I.num(e)?e===t:parseFloat(e)===t,ny=class extends te{constructor({x:e,y:t,z:n,...r}){let i=[],a=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),a.push(e=>[`translate3d(${e.map(e=>np(e,"px")).join(",")})`,ng(e,0)])),D(r,(e,t)=>{if("transform"===t)i.push([e||""]),a.push(e=>[e,""===e]);else if(nl.test(t)){if(delete r[t],I.und(e))return;let n=nh.test(t)?"px":nb.test(t)?"deg":"";i.push(L(e)),a.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${np(i,n)})`,ng(i,0)]:e=>[`${t}(${e.map(e=>np(e,n)).join(",")})`,ng(e,t.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new nm(i,a)),super(r)}},nm=class extends eP{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 F(this.inputs,(n,r)=>{let i=ej(n[0]),[a,o]=this.transforms[r](I.arr(i)?i:n.map(ej));e+=" "+a,t=t&&o}),t?"none":e}observerAdded(e){1==e&&F(this.inputs,e=>F(e,e=>eS(e)&&e$(e,this)))}observerRemoved(e){0==e&&F(this.inputs,e=>F(e,e=>eS(e)&&eA(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),eT(this,e)}};E.assign({batchedUpdates:no.unstable_batchedUpdates,createStringInterpolator:eU,colors:{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}});var n_=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new te(e),getComponentProps:r=e=>e}={})=>{let i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},a=e=>{let t=ts(e)||"Anonymous";return(e=I.str(e)?a[e]||(a[e]=ti(e,i)):e[to]||(e[to]=ti(e,i))).displayName=`Animated(${t})`,e};return D(e,(t,n)=>{I.arr(e)&&(n=ts(t)),a[n]=a(t)}),{animated:a}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;let n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:i,children:a,scrollTop:o,scrollLeft:s,viewBox:f,...c}=t,u=Object.values(c),d=Object.keys(c).map(t=>n||e.hasAttribute(t)?t:nf[t]||(nf[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));for(let t in void 0!==a&&(e.textContent=a),i)if(i.hasOwnProperty(t)){var l;let n=null==(l=i[t])||"boolean"==typeof l||""===l?"":"number"!=typeof l||0===l||ns.test(t)||nc.hasOwnProperty(t)&&nc[t]?(""+l).trim():l+"px";ns.test(t)?e.style.setProperty(t,n):e.style[t]=n}
1d.forEach((t,n)=>{e.setAttribute(t,u[n])}),void 0!==r&&(e.className=r),void 0!==o&&(e.scrollTop=o),void 0!==s&&(e.scrollLeft=s),void 0!==f&&e.setAttribute("viewBox",f)},createAnimatedStyle:e=>new ny(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}).animated,nv=n(57437);function nx(){return(nx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var nw={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},nM=function(e,t){return"translate("+e+"px, "+t+"px)"},nk=(0,h.memo)(function(e){var t,n=e.position,r=e.anchor,i=e.children,a=sl(),o=sn(),s=o.animate,f=o.config,c=ss(),u=c[0],d=c[1],l=(0,h.useRef)(!1),b=void 0,p=!1,g=d.width>0&&d.height>0,y=Math.round(n[0]),m=Math.round(n[1]);g&&("top"===r?(y-=d.width/2,m-=d.height+14):"right"===r?(y+=14,m-=d.height/2):"bottom"===r?(y-=d.width/2,m+=14):"left"===r?(y-=d.width+14,m-=d.height/2):"center"===r&&(y-=d.width/2,m-=d.height/2),b={transform:nM(y,m)},l.current||(p=!0),l.current=[y,m]);var _=ne({to:b,config:f,immediate:!s||p}),v=nx({},nw,a.tooltip.wrapper,{transform:null!=(t=_.transform)?t:nM(y,m),opacity:_.transform?1:0});return(0,nv.jsx)(n_.div,{ref:u,style:v,children:i})});nk.displayName="TooltipWrapper";var nC=(0,h.memo)(function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return(0,nv.jsx)("span",{style:nx({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})}),nS=(0,h.memo)(function(e){var t,n=e.id,r=e.value,i=e.format,a=e.enableChip,o=e.color,s=e.renderContent,f=sl(),c=sf(i);if("function"==typeof s)t=s();else{var u=r;void 0!==c&&void 0!==u&&(u=c(u)),t=(0,nv.jsxs)("div",{style:f.tooltip.basic,children:[void 0!==a&&a&&(0,nv.jsx)(nC,{color:o,style:f.tooltip.chip}),void 0!==u?(0,nv.jsxs)("span",{children:[n,": ",(0,nv.jsx)("strong",{children:""+u})]}):n]})}return(0,nv.jsx)("div",{style:f.tooltip.container,children:t})}),nj={width:"100%",borderCollapse:"collapse"};(0,h.memo)(function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,a=e.renderContent,o=sl();return i.length?(t="function"==typeof a?a():(0,nv.jsxs)("div",{children:[n&&n,(0,nv.jsx)("table",{style:nx({},nj,o.tooltip.table),children:(0,nv.jsx)("tbody",{children:i.map(function(e,t){return(0,nv.jsx)("tr",{children:e.map(function(e,t){return(0,nv.jsx)("td",{style:o.tooltip.tableCell,children:e},t)})},t)})})})]}),(0,nv.jsx)("div",{style:o.tooltip.container,children:t})):null}).displayName="TableTooltip";var nO=(0,h.memo)(function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,a=sl(),o=sn(),s=o.animate,f=o.config,c=(0,h.useMemo)(function(){return nx({},a.crosshair.line,{pointerEvents:"none"})},[a.crosshair.line]),u=ne({x1:t,x2:n,y1:r,y2:i,config:f,immediate:!s});return(0,nv.jsx)(n_.line,nx({},u,{fill:"none",style:c}))});nO.displayName="CrosshairLine",(0,h.memo)(function(e){var t,n,r=e.width,i=e.height,a=e.type,o=e.x,s=e.y;return"cross"===a?(t={x0:o,x1:o,y0:0,y1:i},n={x0:0,x1:r,y0:s,y1:s}):"top-left"===a?(t={x0:o,x1:o,y0:0,y1:s},n={x0:0,x1:o,y0:s,y1:s}):"top"===a?t={x0:o,x1:o,y0:0,y1:s}:"top-right"===a?(t={x0:o,x1:o,y0:0,y1:s},n={x0:o,x1:r,y0:s,y1:s}):"right"===a?n={x0:o,x1:r,y0:s,y1:s}:"bottom-right"===a?(t={x0:o,x1:o,y0:s,y1:i},n={x0:o,x1:r,y0:s,y1:s}):"bottom"===a?t={x0:o,x1:o,y0:s,y1:i}:"bottom-left"===a?(t={x0:o,x1:o,y0:s,y1:i},n={x0:0,x1:o,y0:s,y1:s}):"left"===a?n={x0:0,x1:o,y0:s,y1:s}:"x"===a?t={x0:o,x1:o,y0:0,y1:i}:"y"===a&&(n={x0:0,x1:r,y0:s,y1:s}),(0,nv.jsxs)(nv.Fragment,{children:[t&&(0,nv.jsx)(nO,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&(0,nv.jsx)(nO,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})}).displayName="Crosshair";var nT=(0,h.createContext)({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),nP={isVisible:!1,position:[null,null],content:null,anchor:null},nR=(0,h.createContext)(nP),n$=function(e){var t=(0,h.useState)(nP),n=t[0],r=t[1],i=(0,h.useCallback)(function(e,t,n){void 0===n&&(n="top"),r({isVisible:!0,position:[t[0],t[1]],anchor:n,content:e})},[r]),a=(0,h.useCallback)(function(t,n,i){void 0===i&&(i="top");var a=e.current.getBoundingClientRect(),o=e.current.offsetWidth,s=o===a.width?1:o/a.width,f="touches"in n?n.touches[0]:n,c=f.clientX,u=f.clientY,d=(c-a.left)*s,l=(u-a.top)*s;
1"left"!==i&&"right"!==i||(i=d<a.width/2?"right":"left"),r({isVisible:!0,position:[d,l],anchor:i,content:t})},[e,r]),o=(0,h.useCallback)(function(){r(nP)},[r]);return{actions:(0,h.useMemo)(function(){return{showTooltipAt:i,showTooltipFromEvent:a,hideTooltip:o}},[i,a,o]),state:n}},nA=function(){var e=(0,h.useContext)(nT);if(void 0===e)throw Error("useTooltip must be used within a TooltipProvider");return e},nN=function(){var e=(0,h.useContext)(nR);if(void 0===e)throw Error("useTooltipState must be used within a TooltipProvider");return e},nE=function(){var e=nN();return e.isVisible?(0,nv.jsx)(nk,{position:e.position,anchor:e.anchor,children:e.content}):null},nq=function(e){var t=e.container,n=e.children,r=n$(t),i=r.actions,a=r.state;return(0,nv.jsx)(nT.Provider,{value:i,children:(0,nv.jsx)(nR.Provider,{value:a,children:n})})},nz=n(23006),nI=n.n(nz),nW=n(13735),nF=n.n(nW),nD=n(69854),nL=n.n(nD);function nU(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var nV=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nY=RegExp(nV.source,"g");function nB(e,t){var n,r,i,a,o,s=nV.lastIndex=nY.lastIndex=0,f=-1,c=[],u=[];for(e+="",t+="";(i=nV.exec(e))&&(a=nY.exec(t));)(o=a.index)>s&&(o=t.slice(s,o),c[f]?c[f]+=o:c[++f]=o),(i=i[0])===(a=a[0])?c[f]?c[f]+=a:c[++f]=a:(c[++f]=null,u.push({i:f,x:nU(i,a)})),s=nY.lastIndex;return s<t.length&&(o=t.slice(s),c[f]?c[f]+=o:c[++f]=o),c.length<2?u[0]?(n=u[0].x,function(e){return n(e)+""}):(r=t,function(){return r}):(t=u.length,function(e){for(var n,r=0;r<t;++r)c[(n=u[r]).i]=n.x(e);return c.join("")})}var nG=n(42715),nH=n.n(nG),nQ=n(86185),nX=n.n(nQ);n(25614);class nZ extends Map{constructor(e,t=nK){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(nJ(this,e))}has(e){return super.has(nJ(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function nJ({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function nK(e){return null!==e&&"object"==typeof e?e.valueOf():e}function n0(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}let n1=Symbol("implicit");function n2(){var e=new nZ,t=[],n=[],r=n1;function i(i){let a=e.get(i);if(void 0===a){if(r!==n1)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();for(let r of(t=[],e=new nZ,n))e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return n2(t,n).unknown(r)},n0.apply(i,arguments),i}function n5(e){for(var t=e.length/6|0,n=Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}function n6(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function n7(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function n8(){}var n3="\\s*([+-]?\\d+)\\s*",n4="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",n9="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",re=/^#([0-9a-f]{3,8})$/,rt=RegExp(`^rgb\\(${n3},${n3},${n3}\\)$`),rn=RegExp(`^rgb\\(${n9},${n9},${n9}\\)$`),rr=RegExp(`^rgba\\(${n3},${n3},${n3},${n4}\\)$`),ri=RegExp(`^rgba\\(${n9},${n9},${n9},${n4}\\)$`),ra=RegExp(`^hsl\\(${n4},${n9},${n9}\\)$`),ro=RegExp(`^hsla\\(${n4},${n9},${n9},${n4}\\)$`),rs={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function rf(){return this.rgb().formatHex()}function rc(){return this.rgb().formatRgb()}function ru(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=re.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?rd(t):3===n?
1new rp(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?rl(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?rl(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=rt.exec(e))?new rp(t[1],t[2],t[3],1):(t=rn.exec(e))?new rp(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=rr.exec(e))?rl(t[1],t[2],t[3],t[4]):(t=ri.exec(e))?rl(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ra.exec(e))?rx(t[1],t[2]/100,t[3]/100,1):(t=ro.exec(e))?rx(t[1],t[2]/100,t[3]/100,t[4]):rs.hasOwnProperty(e)?rd(rs[e]):"transparent"===e?new rp(NaN,NaN,NaN,0):null}function rd(e){return new rp(e>>16&255,e>>8&255,255&e,1)}function rl(e,t,n,r){return r<=0&&(e=t=n=NaN),new rp(e,t,n,r)}function rh(e){return(e instanceof n8||(e=ru(e)),e)?new rp((e=e.rgb()).r,e.g,e.b,e.opacity):new rp}function rb(e,t,n,r){return 1==arguments.length?rh(e):new rp(e,t,n,null==r?1:r)}function rp(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function rg(){return`#${rv(this.r)}${rv(this.g)}${rv(this.b)}`}function ry(){let e=rm(this.opacity);return`${1===e?"rgb(":"rgba("}${r_(this.r)}, ${r_(this.g)}, ${r_(this.b)}${1===e?")":`, ${e})`}`}function rm(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function r_(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function rv(e){return((e=r_(e))<16?"0":"")+e.toString(16)}function rx(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new rM(e,t,n,r)}function rw(e){if(e instanceof rM)return new rM(e.h,e.s,e.l,e.opacity);if(e instanceof n8||(e=ru(e)),!e)return new rM;if(e instanceof rM)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,f=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=f<.5?a+i:2-a-i,o*=60):s=f>0&&f<1?0:o,new rM(o,s,f,e.opacity)}function rM(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function rk(e){return(e=(e||0)%360)<0?e+360:e}function rC(e){return Math.max(0,Math.min(1,e||0))}function rS(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function rj(e,t,n,r,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*n+(1+3*e+3*a-3*o)*r+o*i)/6}n6(n8,ru,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:rf,formatHex:rf,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return rw(this).formatHsl()},formatRgb:rc,toString:rc}),n6(rp,rb,n7(n8,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new rp(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new rp(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new rp(r_(this.r),r_(this.g),r_(this.b),rm(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rg,formatHex:rg,formatHex8:function(){return`#${rv(this.r)}${rv(this.g)}${rv(this.b)}${rv((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:ry,toString:ry})),n6(rM,function(e,t,n,r){return 1==arguments.length?rw(e):new rM(e,t,n,null==r?1:r)},n7(n8,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new rM(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new rM(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new rp(rS(e>=240?e-240:e+120,i,r),rS(e,i,r),rS(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new rM(rk(this.h),rC(this.s),rC(this.l),rm(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=rm(this.opacity);return`${1===e?"hsl(":"hsla("}${rk(this.h)}, ${100*rC(this.s)}%, ${100*rC(this.l)}%${1===e?")":`, ${e})`}`}}));var rO=e=>()=>e;function rT(e,t){return function(n){return e+n*t}}function rP(e,t){var n=t-e;return n?rT(e,n):rO(isNaN(e)?t:e)}var rR=function e(t){var n,r=1==(n=+(n=t))?rP:function(e,t){var r,i,a;return t-e?(r=e,i=t,r=Math.pow(r,a=n),i=Math.pow(i,a)-r,a=1/a,function(e){return Math.pow(r+e*i,a)}):rO(isNaN(e)?t:e)};function i(e,t){var n=r((e=rb(e)).r,(t=rb(t)).r),i=r(e.g,t.g),a=r(e.b,t.b),o=rP(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+""}}return i.gamma=e,i}(1);function r$(e){return function(t){var n,r,i=t.length,a=Array(i),o=Array(i),s=Array(i);for(n=0;n<i;++n)r=rb(t[n]),a[n]=r.r||0,o[n]=r.g||0,s[n]=r.b||0;return a=e(a),o=e(o),s=e(s),r.opacity=1,function(e){return r.r=a(e),r.g=o(e),r.b=s(e),r+""}}}var rA=r$(function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],a=e[r+1],o=r>0?e[r-1]:2*i-a,s=r<t-1?e[r+2]:2*a-i;return rj((n-r/t)*t,o,i,a,s)}});r$(function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],a=e[r%t],o=e[(r+1)%t],s=e[(r+2)%t];return rj((n-r/t)*t,i,a,o,s)}});var rN=e=>rA(e[e.length-1]),rE=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(n5),rq=rN(rE),rz=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(n5),rI=rN(rz),rW=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(n5),rF=rN(rW),rD=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(n5),rL=rN(rD),rU=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(n5),rV=rN(rU),rY=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(n5),rB=rN(rY),rG=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(n5),rH=rN(rG),rQ=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d
17191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(n5),rX=rN(rQ),rZ=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(n5),rJ=rN(rZ),rK=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(n5),r0=rN(rK),r1=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(n5),r2=rN(r1),r5=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(n5),r6=rN(r5),r7=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(n5),r8=rN(r7),r3=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(n5),r4=rN(r3),r9=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(n5),ie=rN(r9),it=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(n5),ir=rN(it),ii=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(n5),ia=rN(ii),io=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(n5),is=rN(io),ic=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(n5),iu=rN(ic),id=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(n5),il=rN(id),ih=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(n5),ib=rN(i
1h),ip=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(n5),ig=rN(ip),iy=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(n5),im=rN(iy),i_=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(n5),iv=rN(i_),ix=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(n5),iw=rN(ix),iM=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(n5),ik=rN(iM),iC=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(n5),iS=rN(iC),ij=n5("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),iO=n5("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),iT=n5("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),iP=n5("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),iR=n5("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),i$=n5("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),iA=n5("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),iN=n5("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),iE=n5("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");function iq(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var iz=iq(n5("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),iI=iq(n5("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb8
11febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),iW=iq(n5("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),iF=iq(n5("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));let iD=Math.PI/180,iL=180/Math.PI;var iU=-1.78277*.29227-.1347134789;function iV(e,t,n,r){return 1==arguments.length?function(e){if(e instanceof iY)return new iY(e.h,e.s,e.l,e.opacity);e instanceof rp||(e=rh(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(iU*r+-1.7884503806*t-3.5172982438*n)/(iU+-1.7884503806-3.5172982438),a=r-i,o=-((1.97294*(n-i)- -.29227*a)/.90649),s=Math.sqrt(o*o+a*a)/(1.97294*i*(1-i)),f=s?Math.atan2(o,a)*iL-120:NaN;return new iY(f<0?f+360:f,s,i,e.opacity)}(e):new iY(e,t,n,null==r?1:r)}function iY(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function iB(e){return function t(n){function r(t,r){var i=e((t=iV(t)).h,(r=iV(r)).h),a=rP(t.s,r.s),o=rP(t.l,r.l),s=rP(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=a(e),t.l=o(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}
1n6(iY,iV,n7(n8,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new iY(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new iY(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*iD,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new rp(255*(t+n*(-.14861*r+1.78277*i)),255*(t+n*(-.29227*r+-.90649*i)),255*(t+1.97294*r*n),this.opacity)}})),iB(function(e,t){var n=t-e;return n?rT(e,n>180||n<-180?n-360*Math.round(n/360):n):rO(isNaN(e)?t:e)});var iG=iB(rP),iH=iG(iV(-100,.75,.35),iV(80,1.5,.8)),iQ=iG(iV(260,.75,.35),iV(80,1.5,.8)),iX=iV(),iZ=iG(iV(300,.5,0),iV(-240,.5,1)),iJ=rb(),iK=Math.PI/3,i0=2*Math.PI/3;n(86757);var i1=n(31390),i2=n.n(i1);function i5(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function i6(e){this._context=e}function i7(e){return new i6(e)}function i8(){}function i3(e,t){this._basis=new i6(e),this._beta=t}function i4(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function i9(e,t){this._context=e,this._k=(1-t)/6}function ae(e,t){this._context=e,this._k=(1-t)/6}function at(e,t){this._context=e,this._k=(1-t)/6}function an(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>1e-12){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,f=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/f,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/f}if(e._l23_a>1e-12){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*c+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function ar(e,t){this._context=e,this._alpha=t}function ai(e,t){this._context=e,this._alpha=t}function aa(e,t){this._context=e,this._alpha=t}function ao(e){this._context=e}function as(e){return new ao(e)}function af(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs((a*i+o*r)/(r+i)))||0}function ac(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function au(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function ad(e){this._context=e}function al(e){this._context=e}i6.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:i5(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:i5(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},i3.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,f=-1;++f<=n;)r=f/n,this._basis.point(this._beta*e[f]+(1-this._beta)*(i+r*o),this._beta*t[f]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},function e(t){function n(e){return 1===t?new i6(e):new i3(e,t)}return n.beta=function(t){return e(+t)},n}(.85),i9.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:i4(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:i4(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new i9(e,t)}return n.tension=function(t){return e(+t)},n}(0),ae.prototype={areaStart:i8,areaEnd:i8,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:i4(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new ae(e,t)}return n.tension=function(t){return e(+t)},n}(0),at.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:i4(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new at(e,t)}return n.tension=function(t){return e(+t)},n}(0),ar.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:an(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return t?new ar(e,t):new i9(e,0)}
1return n.alpha=function(t){return e(+t)},n}(.5),ai.prototype={areaStart:i8,areaEnd:i8,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:an(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return t?new ai(e,t):new ae(e,0)}return n.alpha=function(t){return e(+t)},n}(.5),aa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:an(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return t?new aa(e,t):new at(e,0)}return n.alpha=function(t){return e(+t)},n}(.5),ao.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},ad.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:au(this,this._t0,ac(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,au(this,ac(this,n=af(this,e,t)),n);break;default:au(this,this._t0,n=af(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},((function(e){this._context=new al(e)}).prototype=Object.create(ad.prototype)).point=function(e,t){ad.prototype.point.call(this,t,e)},al.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function ah(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function ab(e){return(e=ah(Math.abs(e)))?e[1]:NaN}var ap=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ag(e){var t;if(!(t=ap.exec(e)))throw Error("invalid format: "+e);return new ay({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function ay(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function am(e,t){var n=ah(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}ag.prototype=ay.prototype,ay.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?""
1:Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var a_={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return am(100*e,t)},r:am,s:function(e,t){var n=ah(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(s=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+Array(1-a).join("0")+ah(e,Math.max(0,t+a-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function av(e){return e}var ax=Array.prototype.map,aw=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];c=(f=function(e){var t,n,r,i=void 0===e.grouping||void 0===e.thousands?av:(t=ax.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,a=[],o=0,s=t[0],f=0;i>0&&s>0&&(f+s+1>r&&(s=Math.max(1,r-f)),a.push(e.substring(i-=s,i+s)),!((f+=s+1)>r));)s=t[o=(o+1)%t.length];return a.reverse().join(n)}),a=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",f=void 0===e.decimal?".":e.decimal+"",c=void 0===e.numerals?av:(r=ax.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return r[+e]})}),u=void 0===e.percent?"%":e.percent+"",d=void 0===e.minus?"-":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function h(e){var t=(e=ag(e)).fill,n=e.align,r=e.sign,h=e.symbol,b=e.zero,p=e.width,g=e.comma,y=e.precision,m=e.trim,_=e.type;"n"===_?(g=!0,_="g"):a_[_]||(void 0===y&&(y=12),m=!0,_="g"),(b||"0"===t&&"="===n)&&(b=!0,t="0",n="=");var v="$"===h?a:"#"===h&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",x="$"===h?o:/[%p]/.test(_)?u:"",w=a_[_],M=/[defgprs%]/.test(_);function k(e){var a,o,u,h=v,k=x;if("c"===_)k=w(e)+k,e="";else{var C=(e=+e)<0||1/e<0;
1if(e=isNaN(e)?l:w(Math.abs(e),y),m&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),C&&0==+e&&"+"!==r&&(C=!1),h=(C?"("===r?r:d:"-"===r||"("===r?"":r)+h,k=("s"===_?aw[8+s/3]:"")+k+(C&&"("===r?")":""),M){for(a=-1,o=e.length;++a<o;)if(48>(u=e.charCodeAt(a))||u>57){k=(46===u?f+e.slice(a+1):e.slice(a))+k,e=e.slice(0,a);break}}}g&&!b&&(e=i(e,1/0));var S=h.length+e.length+k.length,j=S<p?Array(p-S+1).join(t):"";switch(g&&b&&(e=i(j+e,j.length?p-k.length:1/0),j=""),n){case"<":e=h+e+k+j;break;case"=":e=h+j+e+k;break;case"^":e=j.slice(0,S=j.length>>1)+h+e+k+j.slice(S);break;default:e=j+h+e+k}return c(e)}return y=void 0===y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),k.toString=function(){return e+""},k}return{format:h,formatPrefix:function(e,t){var n=h(((e=ag(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(ab(t)/3))),i=Math.pow(10,-r),a=aw[8+r/3];return function(e){return n(i*e)+a}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"})).format,u=f.formatPrefix;var aM=new Date,ak=new Date;function aC(e,t,n,r){function i(t){return e(t=0==arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,a){var o,s=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r)||!(a>0))return s;do s.push(o=new Date(+n)),t(n,a),e(n);while(o<n&&n<r);return s},i.filter=function(n){return aC(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e){if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}})},n&&(i.count=function(t,r){return aM.setTime(+t),ak.setTime(+r),e(aM),e(ak),Math.floor(n(aM,ak))},i.every=function(e){return isFinite(e=Math.floor(e))&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}function aS(e){return aC(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/6048e5})}var aj=aS(0),aO=aS(1),aT=aS(2),aP=aS(3),aR=aS(4),a$=aS(5),aA=aS(6);aj.range,aO.range,aT.range,aP.range,aR.range,a$.range,aA.range;var aN=aC(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1});function aE(e){return aC(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5})}aN.range;var aq=aE(0),az=aE(1),aI=aE(2),aW=aE(3),aF=aE(4),aD=aE(5),aL=aE(6);aq.range,az.range,aI.range,aW.range,aF.range,aD.range,aL.range;var aU=aC(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5,e=>e.getDate()-1);aU.range;var aV=aC(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});aV.every=function(e){return isFinite(e=Math.floor(e))&&e>0?aC(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},aV.range;var aY=aC(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});function aB(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function aG(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function aH(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}aY.every=function(e){return isFinite(e=Math.floor(e))&&e>0?aC(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},aY.range;var aQ={"-":"",_:" ",0:"0"},aX=/^\s*\d+/,aZ=/^%/,aJ=/[\\^$*+?|[\]().{}]/g;function aK(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function a0(e){return e.replace(aJ,"\\$&")}function a1(e){return RegExp("^(?:"+e.map(a0).join("|")+")","i")}function a2(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function a5(e,t,n){var r=aX.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function a6(e,t,n){var r=aX.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function a7(e,t,n){var r=aX.exec(t.slice(n,n+2));
vendor: 4,246 bytes, line 1
1return r?(e.U=+r[0],n+r[0].length):-1}function a8(e,t,n){var r=aX.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function a3(e,t,n){var r=aX.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function a4(e,t,n){var r=aX.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function a9(e,t,n){var r=aX.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function oe(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ot(e,t,n){var r=aX.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function on(e,t,n){var r=aX.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function or(e,t,n){var r=aX.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function oi(e,t,n){var r=aX.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function oa(e,t,n){var r=aX.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function oo(e,t,n){var r=aX.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function os(e,t,n){var r=aX.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function of(e,t,n){var r=aX.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function oc(e,t,n){var r=aX.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function ou(e,t,n){var r=aZ.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function od(e,t,n){var r=aX.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function ol(e,t,n){var r=aX.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function oh(e,t){return aK(e.getDate(),t,2)}function ob(e,t){return aK(e.getHours(),t,2)}function op(e,t){return aK(e.getHours()%12||12,t,2)}function og(e,t){return aK(1+aU.count(aV(e),e),t,3)}function oy(e,t){return aK(e.getMilliseconds(),t,3)}function om(e,t){return oy(e,t)+"000"}function o_(e,t){return aK(e.getMonth()+1,t,2)}function ov(e,t){return aK(e.getMinutes(),t,2)}function ox(e,t){return aK(e.getSeconds(),t,2)}function ow(e){var t=e.getDay();return 0===t?7:t}function oM(e,t){return aK(aq.count(aV(e)-1,e),t,2)}function ok(e){var t=e.getDay();return t>=4||0===t?aF(e):aF.ceil(e)}function oC(e,t){return e=ok(e),aK(aF.count(aV(e),e)+(4===aV(e).getDay()),t,2)}function oS(e){return e.getDay()}function oj(e,t){return aK(az.count(aV(e)-1,e),t,2)}function oO(e,t){return aK(e.getFullYear()%100,t,2)}function oT(e,t){return aK((e=ok(e)).getFullYear()%100,t,2)}function oP(e,t){return aK(e.getFullYear()%1e4,t,4)}function oR(e,t){var n=e.getDay();return aK((e=n>=4||0===n?aF(e):aF.ceil(e)).getFullYear()%1e4,t,4)}function o$(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+aK(t/60|0,"0",2)+aK(t%60,"0",2)}function oA(e,t){return aK(e.getUTCDate(),t,2)}function oN(e,t){return aK(e.getUTCHours(),t,2)}function oE(e,t){return aK(e.getUTCHours()%12||12,t,2)}function oq(e,t){return aK(1+aN.count(aY(e),e),t,3)}function oz(e,t){return aK(e.getUTCMilliseconds(),t,3)}function oI(e,t){return oz(e,t)+"000"}function oW(e,t){return aK(e.getUTCMonth()+1,t,2)}function oF(e,t){return aK(e.getUTCMinutes(),t,2)}function oD(e,t){return aK(e.getUTCSeconds(),t,2)}function oL(e){var t=e.getUTCDay();return 0===t?7:t}function oU(e,t){return aK(aj.count(aY(e)-1,e),t,2)}function oV(e){var t=e.getUTCDay();return t>=4||0===t?aR(e):aR.ceil(e)}function oY(e,t){return e=oV(e),aK(aR.count(aY(e),e)+(4===aY(e).getUTCDay()),t,2)}function oB(e){return e.getUTCDay()}function oG(e,t){return aK(aO.count(aY(e)-1,e),t,2)}function oH(e,t){return aK(e.getUTCFullYear()%100,t,2)}function oQ(e,t){return aK((e=oV(e)).getUTCFullYear()%100,t,2)}function oX(e,t){return aK(e.getUTCFullYear()%1e4,t,4)}function oZ(e,t){var n=e.getUTCDay();return aK((e=n>=4||0===n?aR(e):aR.ceil(e)).getUTCFullYear()%1e4,t,4)}function oJ(){return"+0000"}function oK(){return"%"}function o0(e){return+e}function o1(e){return Math.floor(+e/1e3)}l=(d=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,f=e.shortMonths,c=a1(i),u=a2(i),d=a1(a),l=a2(a),h=a1(o),b=a2(o),p=a1(s),g=a2(s),y=a1(f),m=a2(f),_={a:function(e){return o[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return f[e.getMonth()]},B:function(e){return s[e.getMonth()]}
1,c:null,d:oh,e:oh,f:om,g:oT,G:oR,H:ob,I:op,j:og,L:oy,m:o_,M:ov,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:o0,s:o1,S:ox,u:ow,U:oM,V:oC,w:oS,W:oj,x:null,X:null,y:oO,Y:oP,Z:o$,"%":oK},v={a:function(e){return o[e.getUTCDay()]},A:function(e){return a[e.getUTCDay()]},b:function(e){return f[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:oA,e:oA,f:oI,g:oQ,G:oZ,H:oN,I:oE,j:oq,L:oz,m:oW,M:oF,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:o0,s:o1,S:oD,u:oL,U:oU,V:oY,w:oB,W:oG,x:null,X:null,y:oH,Y:oX,Z:oJ,"%":oK},x={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=b.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=l.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:or,e:or,f:oc,g:a9,G:a4,H:oa,I:oa,j:oi,L:of,m:on,M:oo,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:ot,Q:od,s:ol,S:os,u:a6,U:a7,V:a8,w:a5,W:a3,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:a9,Y:a4,Z:oe,"%":ou};function w(e,t){return function(n){var r,i,a,o=[],s=-1,f=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(o.push(e.slice(f,s)),null!=(i=aQ[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(a=t[r])&&(r=a(n,i)),o.push(r),f=s+1);return o.push(e.slice(f,s)),o.join("")}}function M(e,t){return function(n){var r,i,a=aH(1900,void 0,1);if(k(a,e,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(!t||"Z"in a||(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(r=(i=(r=aG(aH(a.y,0,1))).getUTCDay())>4||0===i?aO.ceil(r):aO(r),r=aN.offset(r,(a.V-1)*7),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(r=(i=(r=aB(aH(a.y,0,1))).getDay())>4||0===i?az.ceil(r):az(r),r=aU.offset(r,(a.V-1)*7),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?aG(aH(a.y,0,1)).getUTCDay():aB(aH(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,aG(a)):aB(a)}}function k(e,t,n,r){for(var i,a,o=0,s=t.length,f=n.length;o<s;){if(r>=f)return -1;if(37===(i=t.charCodeAt(o++))){if(!(a=x[(i=t.charAt(o++))in aQ?t.charAt(o++):i])||(r=a(e,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return _.x=w(n,_),_.X=w(r,_),_.c=w(t,_),v.x=w(n,v),v.X=w(r,v),v.c=w(t,v),{format:function(e){var t=w(e+="",_);return t.toString=function(){return e},t},parse:function(e){var t=M(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",v);return t.toString=function(){return e},t},utcParse:function(e){var t=M(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,d.parse,d.utcFormat,d.utcParse;var o2=n(90231),o5=n.n(o2);n(53852),n(21652);var o6={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"transparent",outlineOpacity:1},axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}};function o7(){return(o7=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o8(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var o3=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],o4=function(e,t){var n=nI()({},e,t);return o3.forEach(function(e){var t,r;nL()(n,e,(t=nF()(n,e),r=n.text,o7({},r,t)))}),n},o9=(0,h.createContext)(),se=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,a=void 0===i?"default":i,o=(0,h.useMemo)(function(){return{animate:r,config:nH()(a)?t_[a]:a}},[r,a]);return(0,nv.jsx)(o9.Provider,{value:o,children:t})},st={animate:p().bool,motionConfig:p().oneOfType([p().oneOf(Object.keys(t_)),p().shape({mass:p().number,tension:p().number,friction:p().number,clamp:p().bool,precision:p().number,velocity:p().number,duration:p().number,easing:p().func})])};
1se.propTypes={children:p().node.isRequired,animate:st.animate,config:st.motionConfig};var sn=function(){return(0,h.useContext)(o9)},sr=function(e){var t,n=sn(),r=n.animate,i=n.config,a=(t=(0,h.useRef)(),(0,h.useEffect)(function(){t.current=e},[e]),t.current),o=(0,h.useMemo)(function(){return nB(a,e)},[a,e]);return na(ne({from:{value:0},to:{value:1},reset:!0,config:i,immediate:!r}).value,o)},si=Object.keys({nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:nX()(rE),PRGn:nX()(rz),PiYG:nX()(rW),PuOr:nX()(rD),RdBu:nX()(rU),RdGy:nX()(rY),RdYlBu:nX()(rG),RdYlGn:nX()(rQ),spectral:nX()(rZ),blues:nX()(rK),greens:nX()(r1),greys:nX()(r5),oranges:nX()(r7),purples:nX()(r3),reds:nX()(r9),BuGn:nX()(it),BuPu:nX()(ii),GnBu:nX()(io),OrRd:nX()(ic),PuBuGn:nX()(id),PuBu:nX()(ih),PuRd:nX()(ip),RdPu:nX()(iy),YlGnBu:nX()(i_),YlGn:nX()(ix),YlOrBr:nX()(iM),YlOrRd:nX()(iC)}),sa=(nX()(rE),nX()(rz),nX()(rW),nX()(rD),nX()(rU),nX()(rY),nX()(rG),nX()(rQ),nX()(rZ),nX()(rK),nX()(r1),nX()(r5),nX()(r7),nX()(r3),nX()(r9),nX()(it),nX()(ii),nX()(io),nX()(ic),nX()(id),nX()(ih),nX()(ip),nX()(iy),nX()(i_),nX()(ix),nX()(iM),nX()(iC),p().oneOfType([p().oneOf(si),p().func,p().arrayOf(p().string)]),["basis","basisClosed","basisOpen","bundle","cardinal","cardinalClosed","cardinalOpen","catmullRom","catmullRomClosed","catmullRomOpen","linear","linearClosed","monotoneX","monotoneY","natural","step","stepAfter","stepBefore"]),so=(sa.filter(function(e){return e.endsWith("Closed")}),i2()(sa,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),i2()(sa,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),p().shape({top:p().number,right:p().number,bottom:p().number,left:p().number}).isRequired,p().oneOf(["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]),n2(iE),{top:0,right:0,bottom:0,left:0}),ss=function(){var e=(0,h.useRef)(null),t=(0,h.useState)({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=(0,h.useState)(function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver(function(e){return r(e[0].contentRect)})})[0];return(0,h.useEffect)(function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}},[]),[e,n]},sf=function(e){return(0,h.useMemo)(function(){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?l(e.slice("5")):c(e):function(e){return""+e}},[e])},sc=(0,h.createContext)(),su={},sd=function(e){var t,n=e.theme,r=e.children,i=(t=void 0===n?su:n,(0,h.useMemo)(function(){return o4(o6,t)},[t]));return(0,nv.jsx)(sc.Provider,{value:i,children:r})};sd.propTypes={children:p().node.isRequired,theme:p().object};var sl=function(){return(0,h.useContext)(sc)},sh=["outlineWidth","outlineColor","outlineOpacity"],sb=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?(0,h.cloneElement)(r,{},t):t};sb.propTypes={children:p().node.isRequired,condition:p().bool.isRequired,wrapper:p().element.isRequired};var sp={position:"relative"},sg=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=e.isInteractive,a=e.animate,o=e.motionConfig,s=(0,h.useRef)(null);return(0,nv.jsx)(sd,{theme:n,children:(0,nv.jsx)(se,{animate:a,config:o,children:(0,nv.jsx)(nq,{container:s,children:(0,nv.jsxs)(sb,{condition:void 0===r||r,wrapper:(0,nv.jsx)("div",{style:sp,ref:s}),children:[t,(void 0===i||i)&&(0,nv.jsx)(nE,{})]})})})})};sg.propTypes={children:p().element.isRequired,isInteractive:p().bool,renderWrapper:p().bool,theme:p().object,animate:p().bool,motionConfig:p().string},p().func.isRequired,p().bool,p().bool,p().object.isRequired,p().bool.isRequired,p().string;var sy=function(e){var t=e.children,n=ss(),r=n[0],i=n[1],a=i.width>0&&i.height>0;return(0,nv.jsx)("div",{ref:r,style:{width:"100%",height:"100%"},children:a&&t({width:i.width,height:i.height})})};sy.propTypes={children:p().func.isRequired};var sm=["id","colors"],s_=function(e){var t=e.id,n=e.colors,r=o8(e,sm);return(0,nv.jsx)("linearGradient",o7({id:t,x1:0,x2:0,y1:0,y2:1},r,{children:n.map(function(e){var t=e.offset,n=e.color,r=e.opacity;return(0,nv.jsx)("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)})}))};
1s_.propTypes={id:p().string.isRequired,colors:p().arrayOf(p().shape({offset:p().number.isRequired,color:p().string.isRequired,opacity:p().number})).isRequired,gradientTransform:p().string};var sv={linearGradient:s_},sx={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1},sw=(0,h.memo)(function(e){var t=e.id,n=e.background,r=void 0===n?sx.background:n,i=e.color,a=void 0===i?sx.color:i,o=e.size,s=void 0===o?sx.size:o,f=e.padding,c=void 0===f?sx.padding:f,u=e.stagger,d=void 0===u?sx.stagger:u,l=s+c,h=s/2,b=c/2;return!0===d&&(l=2*s+2*c),(0,nv.jsxs)("pattern",{id:t,width:l,height:l,patternUnits:"userSpaceOnUse",children:[(0,nv.jsx)("rect",{width:l,height:l,fill:r}),(0,nv.jsx)("circle",{cx:b+h,cy:b+h,r:h,fill:a}),d&&(0,nv.jsx)("circle",{cx:1.5*c+s+h,cy:1.5*c+s+h,r:h,fill:a})]})});sw.displayName="PatternDots",sw.propTypes={id:p().string.isRequired,color:p().string.isRequired,background:p().string.isRequired,size:p().number.isRequired,padding:p().number.isRequired,stagger:p().bool.isRequired};var sM=function(e){return e*Math.PI/180},sk=function(e){var t=e%360;return t<0&&(t+=360),t},sC={spacing:5,rotation:0,background:"#000000",color:"#ffffff",lineWidth:2},sS=(0,h.memo)(function(e){var t=e.id,n=e.spacing,r=void 0===n?sC.spacing:n,i=e.rotation,a=void 0===i?sC.rotation:i,o=e.background,s=void 0===o?sC.background:o,f=e.color,c=void 0===f?sC.color:f,u=e.lineWidth,d=void 0===u?sC.lineWidth:u,l=Math.round(a)%360,h=Math.abs(r);l>180?l-=360:l>90?l-=180:l<-180?l+=360:l<-90&&(l+=180);var b,p=h,g=h;return 0===l?b="\n M 0 0 L "+p+" 0\n M 0 "+g+" L "+p+" "+g+"\n ":90===l?b="\n M 0 0 L 0 "+g+"\n M "+p+" 0 L "+p+" "+g+"\n ":(p=Math.abs(h/Math.sin(sM(l))),g=h/Math.sin(sM(90-l)),b=l>0?"\n M 0 "+-g+" L "+2*p+" "+g+"\n M "+-p+" "+-g+" L "+p+" "+g+"\n M "+-p+" 0 L "+p+" "+2*g+"\n ":"\n M "+-p+" "+g+" L "+p+" "+-g+"\n M "+-p+" "+2*g+" L "+2*p+" "+-g+"\n M 0 "+2*g+" L "+2*p+" 0\n "),(0,nv.jsxs)("pattern",{id:t,width:p,height:g,patternUnits:"userSpaceOnUse",children:[(0,nv.jsx)("rect",{width:p,height:g,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),(0,nv.jsx)("path",{d:b,strokeWidth:d,stroke:c,strokeLinecap:"square"})]})});sS.displayName="PatternLines",sS.propTypes={id:p().string.isRequired,spacing:p().number.isRequired,rotation:p().number.isRequired,background:p().string.isRequired,color:p().string.isRequired,lineWidth:p().number.isRequired};var sj={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1},sO=(0,h.memo)(function(e){var t=e.id,n=e.color,r=void 0===n?sj.color:n,i=e.background,a=void 0===i?sj.background:i,o=e.size,s=void 0===o?sj.size:o,f=e.padding,c=void 0===f?sj.padding:f,u=e.stagger,d=void 0===u?sj.stagger:u,l=s+c,h=c/2;return!0===d&&(l=2*s+2*c),(0,nv.jsxs)("pattern",{id:t,width:l,height:l,patternUnits:"userSpaceOnUse",children:[(0,nv.jsx)("rect",{width:l,height:l,fill:a}),(0,nv.jsx)("rect",{x:h,y:h,width:s,height:s,fill:r}),d&&(0,nv.jsx)("rect",{x:1.5*c+s,y:1.5*c+s,width:s,height:s,fill:r})]})});sO.displayName="PatternSquares",sO.propTypes={id:p().string.isRequired,color:p().string.isRequired,background:p().string.isRequired,size:p().number.isRequired,padding:p().number.isRequired,stagger:p().bool.isRequired};var sT={patternDots:sw,patternLines:sS,patternSquares:sO},sP=["type"],sR=o7({},sv,sT),s$=function(e){var t=e.defs;return!t||t.length<1?null:(0,nv.jsx)("defs",{"aria-hidden":!0,children:t.map(function(e){var t=e.type,n=o8(e,sP);return sR[t]?(0,h.createElement)(sR[t],o7({key:n.id},n)):null})})};s$.propTypes={defs:p().arrayOf(p().shape({type:p().oneOf(Object.keys(sR)).isRequired,id:p().string.isRequired}))};var sA=(0,h.memo)(s$),sN=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,a=e.children,o=e.role,s=e.ariaLabel,f=e.ariaLabelledBy,c=e.ariaDescribedBy,u=e.isFocusable,d=sl();return(0,nv.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,role:o,"aria-label":s,"aria-labelledby":f,"aria-describedby":c,focusable:u,tabIndex:u?0:void 0,children:[(0,nv.jsx)(sA,{defs:i}),(0,nv.jsx)("rect",{width:t,height:n,fill:d.background}),(0,nv.jsx)("g",{transform:"translate("+r.left+","+r.top+")",children:a})]})};sN.propTypes={width:p().number.isRequired,height:p().number.isRequired,margin:p().shape({top:p().number.isRequired,left:p().number.isRequired}).isRequired,defs:p().array,children:p().oneOfType([p().arrayOf(p().node),p().node]).isRequired,role:p().string,isFocusable:p().bool,ariaLabel:p().string,ariaLabelledBy:p().string,ariaDescribedBy:p().string};var sE=function(e){var t=e.size,n=e.color,r=e.borderWidth,i=e.borderColor;return(0,nv.jsx)("circle",{r:t/2,fill:n,stroke:i,strokeWidth:r,style:{pointerEvents:"none"}})};sE.propTypes={size:p().number.isRequired,color:p().string.isRequired,borderWidth:p().number.isRequired,borderColor:p().string.isRequired};var sq=(0,h.memo)(sE),sz=function(e){var t,n=e.x,r=e.y,i=e.symbol,a=void 0===i?sq:i,o=e.size,s=e.datum,f=e.color,c=e.borderWidth,u=e.borderColor,d=e.label,l=e.labelTextAnchor,b=e.labelYOffset,p=sl(),g=sn(),y=g.animate,m=ne({transform:"translate("+n+", "+r+")",config:g.config,immediate:!y});return(0,nv.jsxs)(n_.g,{transform:m.transform,style:{pointerEvents:"none"},children:[(0,h.createElement)(a,{size:o,color:f,datum:s,borderWidth:c,borderColor:u}),d&&(0,nv.jsx)("text",{textAnchor:void 0===l?"middle":l,y:void 0===b?-12:b,style:((t=p.dots.text).outlineWidth,t.outlineColor,t.outlineOpacity,o8(t,sh)),children:d})]})};sz.propTypes={x:p().number.isRequired,y:p().number.isRequired,datum:p().object.isRequired,size:p().number.isRequired,color:p().string.isRequired,borderWidth:p().number.isRequired,borderColor:p().string.isRequired,symbol:p().oneOfType([p().func,p().object]),label:p().oneOfType([p().string,p().number]),labelTextAnchor:p().oneOf(["start","middle","end"]),labelYOffset:p().number},(0,h.memo)(sz);
1var sI=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,a=e.value,o=e.lineStyle,s=e.textStyle,f=e.legend,c=e.legendPosition,u=e.legendOffsetX,d=e.legendOffsetY,l=e.legendOrientation,h=sl(),b=0,p=0,g=0,y=0;"y"===r?(g=i(a),p=t):(b=i(a),y=n);var m=null;if(f){var _=function(e){var t=e.axis,n=e.width,r=e.height,i=e.position,a=e.offsetX,o=e.offsetY,s=e.orientation,f=0,c=0,u="start";if("x"===t)switch(i){case"top-left":f=-a,c=o,u="end";break;case"top":c=-o,u="horizontal"===s?"middle":"start";break;case"top-right":f=a,c=o,u="horizontal"===s?"start":"end";break;case"right":f=a,c=r/2,u="horizontal"===s?"start":"middle";break;case"bottom-right":f=a,c=r-o,u="start";break;case"bottom":c=r+o,u="horizontal"===s?"middle":"end";break;case"bottom-left":c=r-o,f=-a,u="horizontal"===s?"end":"start";break;case"left":f=-a,c=r/2,u="horizontal"===s?"end":"middle"}else switch(i){case"top-left":f=a,c=-o,u="start";break;case"top":f=n/2,c=-o,u="horizontal"===s?"middle":"start";break;case"top-right":f=n-a,c=-o,u="horizontal"===s?"end":"start";break;case"right":f=n+a,u="horizontal"===s?"start":"middle";break;case"bottom-right":f=n-a,c=o,u="end";break;case"bottom":f=n/2,c=o,u="horizontal"===s?"middle":"end";break;case"bottom-left":f=a,c=o,u="horizontal"===s?"start":"end";break;case"left":f=-a,u="horizontal"===s?"end":"middle"}return{x:f,y:c,rotation:"vertical"===s?-90:0,textAnchor:u}}({axis:r,width:t,height:n,position:void 0===c?"top-right":c,offsetX:void 0===u?14:u,offsetY:void 0===d?14:d,orientation:void 0===l?"horizontal":l});m=(0,nv.jsx)("text",{transform:"translate("+_.x+", "+_.y+") rotate("+_.rotation+")",textAnchor:_.textAnchor,dominantBaseline:"central",style:s,children:f})}return(0,nv.jsxs)("g",{transform:"translate("+b+", "+g+")",children:[(0,nv.jsx)("line",{x1:0,x2:p,y1:0,y2:y,stroke:h.markers.lineColor,strokeWidth:h.markers.lineStrokeWidth,style:o}),m]})};sI.propTypes={width:p().number.isRequired,height:p().number.isRequired,axis:p().oneOf(["x","y"]).isRequired,scale:p().func.isRequired,value:p().oneOfType([p().number,p().string,p().instanceOf(Date)]).isRequired,lineStyle:p().object,textStyle:p().object,legend:p().string,legendPosition:p().oneOf(["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]),legendOffsetX:p().number.isRequired,legendOffsetY:p().number.isRequired,legendOrientation:p().oneOf(["horizontal","vertical"]).isRequired};var sW=(0,h.memo)(sI),sF=function(e){var t=e.markers,n=e.width,r=e.height,i=e.xScale,a=e.yScale;return t&&0!==t.length?t.map(function(e,t){return(0,nv.jsx)(sW,o7({},e,{width:n,height:r,scale:"y"===e.axis?a:i}),t)}):null};function sD(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function sL(e){return function(){return e}}sF.propTypes={width:p().number.isRequired,height:p().number.isRequired,xScale:p().func.isRequired,yScale:p().func.isRequired,markers:p().arrayOf(p().shape({axis:p().oneOf(["x","y"]).isRequired,value:p().oneOfType([p().number,p().string,p().instanceOf(Date)]).isRequired,lineStyle:p().object,textStyle:p().object}))},(0,h.memo)(sF),Object.keys(sv),Object.keys(sT),Array.prototype.slice;let sU=Math.PI,sV=2*sU,sY=sV-1e-6;function sB(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class sG{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?sB:function(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return sB;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,(i=+i)<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,f=r-t,c=a-e,u=o-t,d=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>1e-6){if(Math.abs(u*s-f*c)>1e-6&&i){let l=n-a,h=r-o,b=s*s+f*f,p=Math.sqrt(b),g=Math.sqrt(d),y=i*Math.tan((sU-Math.acos((b+d-(l*l+h*h))/(2*p*g)))/2),m=y/g,_=y/p;Math.abs(m-1)>1e-6&&this._append`L${e+m*c},${t+m*u}`,this._append`A${i},${i},0,0,${+(u*l>c*h)},${this._x1=e+_*s},${this._y1=t+_*f}`}else this._append`L${this._x1=e},${this._y1=t}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,a=!!a,(n=+n)<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),f=e+o,c=t+s,u=1^a,d=a?r-i:i-r;null===this._x1?this._append`M${f},${c}`:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-c)>1e-6)&&this._append`L${f},${c}`,n&&(d<0&&(d=d%sV+sV),d>sY?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=f},${this._y1=c}`:d>1e-6&&this._append`A${n},${n},0,${+(d>=sU)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function sH(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new sG(t)}function sQ(e){return e[0]}function sX(e){return e[1]}function sZ(e,t){var n=sL(!0),r=null,i=as,a=null,o=sH(s);function s(s){var f,c,u,d=(s=sD(s)).length,l=!1;for(null==r&&(a=i(u=o())),f=0;f<=d;
1++f)!(f<d&&n(c=s[f],f,s))===l&&((l=!l)?a.lineStart():a.lineEnd()),l&&a.point(+e(c,f,s),+t(c,f,s));if(u)return a=null,u+""||null}return e="function"==typeof e?e:void 0===e?sQ:sL(e),t="function"==typeof t?t:void 0===t?sX:sL(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:sL(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:sL(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:sL(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,null!=r&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(null==e?r=a=null:a=i(r=e),s):r},s}sG.prototype;let sJ=Math.sqrt(50),sK=Math.sqrt(10),s0=Math.sqrt(2);function s1(e,t,n){let r,i,a;let o=(t-e)/Math.max(0,n),s=Math.floor(Math.log10(o)),f=o/Math.pow(10,s),c=f>=sJ?10:f>=sK?5:f>=s0?2:1;return(s<0?(r=Math.round(e*(a=Math.pow(10,-s)/c)),i=Math.round(t*a),r/a<e&&++r,i/a>t&&--i,a=-a):(r=Math.round(e/(a=Math.pow(10,s)*c)),i=Math.round(t/a),r*a<e&&++r,i*a>t&&--i),i<r&&.5<=n&&n<2)?s1(e,t,2*n):[r,i,a]}function s2(e,t,n){return s1(e=+e,t=+t,n=+n)[2]}function s5(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function s6(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function s7(e){let t,n,r;function i(e,r,i=0,a=e.length){if(i<a){if(0!==t(r,r))return a;do{let t=i+a>>>1;0>n(e[t],r)?i=t+1:a=t}while(i<a)}return i}return 2!==e.length?(t=s5,n=(t,n)=>s5(e(t),n),r=(t,n)=>e(t)-n):(t=e===s5||e===s6?e:s8,n=e,r=e),{left:i,center:function(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o},right:function(e,r,i=0,a=e.length){if(i<a){if(0!==t(r,r))return a;do{let t=i+a>>>1;0>=n(e[t],r)?i=t+1:a=t}while(i<a)}return i}}}function s8(){return 0}let s3=s7(s5),s4=s3.right;function s9(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function fe(e){return+e}s3.left,s7(function(e){return null===e?NaN:+e}).center;var ft=[0,1];function fn(e){return e}function fr(e,t){var n;return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n})}function fi(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=fr(i,r),a=n(o,a)):(r=fr(r,i),a=n(a,o)),function(e){return a(r(e))}}function fa(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=fr(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=s4(e,t,1,r)-1;return a[n](i[n](t))}}function fo(){return(fo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function fs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ff={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:ij,accent:iO,dark2:iT,paired:iP,pastel1:iR,pastel2:i$,set1:iA,set2:iN,set3:iE,tableau10:n5("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab")},fc=Object.keys(ff),fu={brown_blueGreen:rE,purpleRed_green:rz,pink_yellowGreen:rW,purple_orange:rD,red_blue:rU,red_grey:rY,red_yellow_blue:rG,red_yellow_green:rQ,spectral:rZ},fd=Object.keys(fu),fl={blues:rK,greens:r1,greys:r5,oranges:r7,purples:r3,reds:r9,blue_green:it,blue_purple:ii,green_blue:io,orange_red:ic,purple_blue_green:id,purple_blue:ih,purple_red:ip,red_purple:iy,yellow_green_blue:i_,yellow_green:ix,yellow_orange_brown:iM,yellow_orange_red:iC},fh=Object.keys(fl),fb=fo({},ff,fu,fl),fp=(Object.keys((Object.keys(fb),fo({},{brown_blueGreen:rq,purpleRed_green:rI,pink_yellowGreen:rF,purple_orange:rL,red_blue:rV,red_grey:rB,red_yellow_blue:rH,red_yellow_green:rX,spectral:rJ},{blues:r0,greens:r2,greys:r6,oranges:r8,purples:r4,reds:ie,turbo:function(e){return"rgb("+Math.max(0,Math.min(255,Math.round(34.61+(e=Math.max(0,Math.min(1,e)))*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+")"},viridis:iz,inferno:iW,magma:iI,plasma:iF,cividis:function(e){return"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-(e=Math.max(0,Math.min(1,e)))*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+", "+
1Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+")"},warm:iH,cool:iQ,cubehelixDefault:iZ,blue_green:ir,blue_purple:ia,green_blue:is,orange_red:iu,purple_blue_green:il,purple_blue:ib,purple_red:ig,red_purple:im,yellow_green_blue:iv,yellow_green:iw,yellow_orange_brown:ik,yellow_orange_red:iS},{rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return iX.h=360*e-100,iX.s=1.5-1.5*t,iX.l=.8-.9*t,iX+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,iJ.r=255*(t=Math.sin(e))*t,iJ.g=255*(t=Math.sin(e+iK))*t,iJ.b=255*(t=Math.sin(e+i0))*t,iJ+""}}))),function(e,t){if("function"==typeof e)return e;if(o5()(e)){if(void 0!==e.theme){if(void 0===t)throw Error("Unable to use color from theme as no theme was provided");var n=nF()(t,e.theme);if(void 0===n)throw Error("Color from theme is undefined at path: '"+e.theme+"'");return function(){return n}}if(void 0!==e.from){var r=function(t){return nF()(t,e.from)};if(Array.isArray(e.modifiers)){for(var i,a=[],o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return fs(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fs(e,void 0):void 0}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.modifiers);!(i=o()).done;)!function(){var e=i.value,t=e[0],n=e[1];if("brighter"===t)a.push(function(e){return e.brighter(n)});else if("darker"===t)a.push(function(e){return e.darker(n)});else{if("opacity"!==t)throw Error("Invalid color modifier: '"+t+"', must be one of: 'brighter', 'darker', 'opacity'");a.push(function(e){return e.opacity=n,e})}}();return 0===a.length?r:function(e){return a.reduce(function(e,t){return t(e)},rb(r(e))).toString()}}return r}throw Error("Invalid color spec, you should either specify 'theme' or 'from' when using a config object")}return function(){return e}}),fg=function(e,t){return(0,h.useMemo)(function(){return fp(e,t)},[e,t])},fy=(p().oneOfType([p().string,p().func,p().shape({theme:p().string.isRequired}),p().shape({from:p().string.isRequired,modifiers:p().arrayOf(p().array)})]),function(e,t){if("function"==typeof e)return e;var n="function"==typeof t?t:function(e){return nF()(e,t)};if(Array.isArray(e)){var r=n2(e),i=function(e){return r(n(e))};return i.scale=r,i}if(o5()(e)){if(void 0!==e.datum)return function(t){return nF()(t,e.datum)};if(void 0!==e.scheme){if(a=e.scheme,fc.includes(a)){var a,o,s,f=n2(fb[e.scheme]),c=function(e){return f(n(e))};return c.scale=f,c}if(o=e.scheme,fd.includes(o)){if(void 0!==e.size&&(e.size<3||e.size>11))throw Error("Invalid size '"+e.size+"' for diverging color scheme '"+e.scheme+"', must be between 3~11");var u=n2(fb[e.scheme][e.size||11]),d=function(e){return u(n(e))};return d.scale=u,d}if(s=e.scheme,fh.includes(s)){if(void 0!==e.size&&(e.size<3||e.size>9))throw Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var l=n2(fb[e.scheme][e.size||9]),h=function(e){return l(n(e))};return h.scale=l,h}}throw Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}}),fm=n(4155),f_=n.n(fm),fv=n(22345),fx=n.n(fv),fw=n(46075),fM=n.n(fw);function fk(){return(fk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var fC={dotSize:4,noteWidth:120,noteTextOffset:8},fS=function(e){var t=typeof e;return(0,h.isValidElement)(e)||"string"===t||"function"===t||"object"===t},fj=function(e){return"circle"===e.type},fO=function(e){return"rect"===e.type},fT=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return n.reduce(function(e,n){var a=n.offset||0;return[].concat(e,f_()(t,n.match).map(function(e){var t=r(e),o=i(e);return(fj(n)||fO(n))&&(o.size=o.size+2*a,o.width=o.width+2*a,o.height=o.height+2*a),fk({},fM()(n,["match","offset"]),t,o,{size:n.size||o.size,datum:e})}))},[])}
1,fP=function(e){var t,n,r=e.x,i=e.y,a=e.noteX,o=e.noteY,s=e.noteWidth,f=void 0===s?fC.noteWidth:s,c=e.noteTextOffset,u=void 0===c?fC.noteTextOffset:c;if(fx()(a))t=r+a;else{if(void 0===a.abs)throw Error("noteX should be either a number or an object containing an 'abs' property");t=a.abs}if(fx()(o))n=i+o;else{if(void 0===o.abs)throw Error("noteY should be either a number or an object containing an 'abs' property");n=o.abs}var d=r,l=i,h=sk(180*Math.atan2(n-i,t-r)/Math.PI);if(fj(e)){var b,p,g={x:Math.cos(b=sM(h))*(p=e.size/2),y:Math.sin(b)*p};d+=g.x,l+=g.y}if(fO(e)){var y=Math.round((h+90)/45)%8;0===y&&(l-=e.height/2),1===y&&(d+=e.width/2,l-=e.height/2),2===y&&(d+=e.width/2),3===y&&(d+=e.width/2,l+=e.height/2),4===y&&(l+=e.height/2),5===y&&(d-=e.width/2,l+=e.height/2),6===y&&(d-=e.width/2),7===y&&(d-=e.width/2,l-=e.height/2)}var m=t,_=t;return(h+90)%360>180?(m-=f,_-=f):_+=f,{points:[[d,l],[t,n],[_,n]],text:[m,n-u],angle:h+90}},fR=function(e){var t=e.data,n=e.annotations,r=e.getPosition,i=e.getDimensions;return(0,h.useMemo)(function(){return fT({data:t,annotations:n,getPosition:r,getDimensions:i})},[t,n,r,i])},f$=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,a=sl(),o=sn(),s=o.animate,f=ne({x:n,y:r,config:o.config,immediate:!s});return"function"==typeof i?(0,h.createElement)(i,{x:n,y:r,datum:t}):(0,nv.jsxs)(nv.Fragment,{children:[a.annotations.text.outlineWidth>0&&(0,nv.jsx)(n_.text,{x:f.x,y:f.y,style:fk({},a.annotations.text,{strokeLinejoin:"round",strokeWidth:2*a.annotations.text.outlineWidth,stroke:a.annotations.text.outlineColor}),children:i}),(0,nv.jsx)(n_.text,{x:f.x,y:f.y,style:fM()(a.annotations.text,["outlineWidth","outlineColor"]),children:i})]})},fA=function(e){var t=e.points,n=e.isOutline,r=void 0!==n&&n,i=sl(),a=sr((0,h.useMemo)(function(){var e=t[0];return t.slice(1).reduce(function(e,t){return e+" L"+t[0]+","+t[1]},"M"+e[0]+","+e[1])},[t]));if(r&&i.annotations.link.outlineWidth<=0)return null;var o=fk({},i.annotations.link);return r&&(o.strokeLinecap="square",o.strokeWidth=i.annotations.link.strokeWidth+2*i.annotations.link.outlineWidth,o.stroke=i.annotations.link.outlineColor,o.opacity=i.annotations.link.outlineOpacity),(0,nv.jsx)(n_.path,{fill:"none",d:a,style:o})},fN=function(e){var t=e.x,n=e.y,r=e.size,i=sl(),a=sn(),o=a.animate,s=ne({x:t,y:n,radius:r/2,config:a.config,immediate:!o});return(0,nv.jsxs)(nv.Fragment,{children:[i.annotations.outline.outlineWidth>0&&(0,nv.jsx)(n_.circle,{cx:s.x,cy:s.y,r:s.radius,style:fk({},i.annotations.outline,{fill:"none",strokeWidth:i.annotations.outline.strokeWidth+2*i.annotations.outline.outlineWidth,stroke:i.annotations.outline.outlineColor,opacity:i.annotations.outline.outlineOpacity})}),(0,nv.jsx)(n_.circle,{cx:s.x,cy:s.y,r:s.radius,style:i.annotations.outline})]})},fE=function(e){var t=e.x,n=e.y,r=e.size,i=void 0===r?fC.dotSize:r,a=sl(),o=sn(),s=o.animate,f=ne({x:t,y:n,radius:i/2,config:o.config,immediate:!s});return(0,nv.jsxs)(nv.Fragment,{children:[a.annotations.outline.outlineWidth>0&&(0,nv.jsx)(n_.circle,{cx:f.x,cy:f.y,r:f.radius,style:fk({},a.annotations.outline,{fill:"none",strokeWidth:2*a.annotations.outline.outlineWidth,stroke:a.annotations.outline.outlineColor,opacity:a.annotations.outline.outlineOpacity})}),(0,nv.jsx)(n_.circle,{cx:f.x,cy:f.y,r:f.radius,style:a.annotations.symbol})]})},fq=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,a=e.borderRadius,o=void 0===a?6:a,s=sl(),f=sn(),c=f.animate,u=ne({x:t-r/2,y:n-i/2,width:r,height:i,config:f.config,immediate:!c});return(0,nv.jsxs)(nv.Fragment,{children:[s.annotations.outline.outlineWidth>0&&(0,nv.jsx)(n_.rect,{x:u.x,y:u.y,rx:o,ry:o,width:u.width,height:u.height,style:fk({},s.annotations.outline,{fill:"none",strokeWidth:s.annotations.outline.strokeWidth+2*s.annotations.outline.outlineWidth,stroke:s.annotations.outline.outlineColor,opacity:s.annotations.outline.outlineOpacity})}),(0,nv.jsx)(n_.rect,{x:u.x,y:u.y,rx:o,ry:o,width:u.width,height:u.height,style:s.annotations.outline})]})},fz=function(e){var t=e.datum,n=e.x,r=e.y,i=e.note,a=(0,h.useMemo)(function(){return fP(e)},[e]);if(!fS(i))throw Error("note should be a valid react element");return(0,nv.jsxs)(nv.Fragment,{children:[(0,nv.jsx)(fA,{points:a.points,isOutline:!0}),fj(e)&&(0,nv.jsx)(fN,{x:n,y:r,size:e.size}),"dot"===e.type&&(0,nv.jsx)(fE,{x:n,y:r,size:e.size}),fO(e)&&(0,nv.jsx)(fq,{x:n,y:r,width:e.width,height:e.height,borderRadius:e.borderRadius}),(0,nv.jsx)(fA,{points:a.points}),(0,nv.jsx)(f$,{datum:t,x:a.text[0],y:a.text[1],note:i})]})};function fI(){return(fI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var fW={layers:["separators","parts","labels","annotations"],direction:"vertical",interpolation:"smooth",spacing:0,shapeBlending:.66,colors:{scheme:"nivo"},fillOpacity:1,borderWidth:6,borderColor:{from:"color"},borderOpacity:.66,enableLabel:!0,labelColor:{theme:"background"},enableBeforeSeparators:!0,beforeSeparatorLength:0,beforeSeparatorOffset:0,enableAfterSeparators:!0,afterSeparatorLength:0,afterSeparatorOffset:0,annotations:[],isInteractive:!0,currentPartSizeExtension:0,role:"img",animate:!0,motionConfig:"default"},fF=function(e){var t=e.part;return(0,nv.jsx)(nS,{id:t.data.label,value:t.formattedValue,color:t.color,enableChip:!0})},fD=function(e,t){var n=function(e,t,n){var r=null,i=sL(!0),a=null,o=as,s=null,f=sH(c);function c(c){var u,d,l,h,b,p=(c=sD(c)).length,g=!1,y=Array(p),m=Array(p);for(null==a&&(s=o(b=f())),u=0;u<=p;++u){if(!(u<p&&i(h=c[u],u,c))===g){if(g=!g)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),l=u-1;l>=d;--l)s.point(y[l],m[l]);s.lineEnd(),s.areaEnd()}}g&&(y[u]=+e(h,u,c),m[u]=+t(h,u,c),s.point(r?+r(h,u,c):y[u],n?+n(h,u,c):m[u]))}if(b)return s=null,b+""||null}function u(){return sZ().defined(i).curve(o).context(a)}return e="function"==typeof e?e:void 0===e?sQ:sL(+e),t="function"==typeof t?t:void 0===t?sL(0):sL(+t),n="function"==typeof n?n:void 0===n?sX:sL(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:sL(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:sL(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:sL(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:sL(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:sL(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:sL(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:sL(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c}();return"vertical"===t?n.curve("smooth"===e?i7:as).x0(function(e){return e.x0}).x1(function(e){return e.x1}).y(function(e){return e.y}):n.curve("smooth"===e?i7:as).y0(function(e){return e.y0}).y1(function(e){return e.y1}).x(function(e){return e.x}),[n,sZ().defined(function(e){return null!==e}).x(function(e){return e.x}).y(function(e){return e.y}).curve("smooth"===e?i7:as)]},fL=function(e){var t,n,r=e.data,i=e.direction,a=e.width,o=e.height,s=e.spacing;"vertical"===i?(t=o,n=a):(t=a,n=o);var f=(t-s*(r.length-1))/r.length,d=function(e){return s*e+f*e};d.bandwidth=f;var l=r.map(function(e){return e.value});return[d,(function e(){var t,n=(function(){var e,t,n,r,i,a,o=ft,s=ft,f=function e(t,n){var r,i,a=typeof n;return null==n||"boolean"===a?rO(n):("number"===a?nU:"string"===a?(i=ru(n))?(n=i,rR):nB:n instanceof ru?rR:n instanceof Date?function(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}:!ArrayBuffer.isView(r=n)||r instanceof DataView?Array.isArray(n)?function(t,n){var r,i=n?n.length:0,a=t?Math.min(i,t.length):0,o=Array(a),s=Array(i);for(r=0;r<a;++r)o[r]=e(t[r],n[r]);for(;r<i;++r)s[r]=n[r];return function(e){for(r=0;r<a;++r)s[r]=o[r](e);return s}}:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?function(t,n){var r,i={},a={};for(r in(null===t||"object"!=typeof t)&&(t={}),(null===n||"object"!=typeof n)&&(n={}),n)r in t?i[r]=e(t[r],n[r]):a[r]=n[r];return function(e){for(r in i)a[r]=i[r](e);return a}}:nU:function(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(a){for(n=0;n<r;++n)i[n]=e[n]*(1-a)+t[n]*a;return i}})(t,n)},c=fn;function u(){var e,t,n,f=Math.min(o.length,s.length);return c!==fn&&(e=o[0],t=o[f-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=f>2?fa:fi,i=a=null,d}function d(t){return null==t||isNaN(t=+t)?n:(i||(i=r(o.map(e),s,f)))(e(c(t)))}return d.invert=function(n){return c(t((a||(a=r(s,o.map(e),nU)))(n)))},d.domain=function(e){return arguments.length?(o=Array.from(e,fe),u()):o.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),f=s9,u()},d.clamp=function(e){return arguments.length?(c=!!e||fn,u()):c!==fn},d.interpolate=function(e){return arguments.length?(f=e,u()):f},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}})()(fn,fn);return n.copy=function(){return e().domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())},n0.apply(n,arguments),t=n.domain,n.ticks=function(e){var n=t();return function(e,t,n){if(t=+t,e=+e,!((n=+n)>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?s1(t,e,n):s1(e,t,n);if(!(a>=i))return[];let s=a-i+1,f=Array(s);if(r){if(o<0)for(let e=0;e<s;++e)f[e]=-((a-e)/o);else for(let e=0;e<s;++e)f[e]=(a-e)*o}else if(o<0)for(let e=0;e<s;++e)f[e]=-((i+e)/o);else for(let e=0;e<s;++e)f[e]=(i+e)*o;return f}(n[0],n[n.length-1],null==e?10:e)}
1,n.tickFormat=function(e,n){var r=t();return function(e,t,n,r){var i,a,o=function(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?s2(t,e,n):s2(e,t,n);return(r?-1:1)*(i<0?-(1/i):i)}(e,t,n);switch((r=ag(null==r?",f":r)).type){case"s":var s=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(a=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ab(s)/3)))-ab(Math.abs(o))))||(r.precision=a),u(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(a=Math.max(0,ab(Math.abs(Math.max(Math.abs(e),Math.abs(t)))-(i=Math.abs(i=o)))-ab(i))+1)||(r.precision=a-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(a=Math.max(0,-ab(Math.abs(o))))||(r.precision=a-("%"===r.type)*2)}return c(r)}(r[0],r[r.length-1],null==e?10:e,n)},n.nice=function(e){null==e&&(e=10);var r,i,a=t(),o=0,s=a.length-1,f=a[o],c=a[s],u=10;for(c<f&&(i=f,f=c,c=i,i=o,o=s,s=i);u-- >0;){if((i=s2(f,c,e))===r)return a[o]=f,a[s]=c,t(a);if(i>0)f=Math.floor(f/i)*i,c=Math.ceil(c/i)*i;else if(i<0)f=Math.ceil(f*i)/i,c=Math.floor(c*i)/i;else break;r=i}return n},n})().domain([0,Math.max.apply(Math,l)]).range([0,n])]},fU=function(e){var t=e.parts,n=e.direction,r=e.width,i=e.height,a=e.spacing,o=e.enableBeforeSeparators,s=e.beforeSeparatorOffset,f=e.enableAfterSeparators,c=e.afterSeparatorOffset,u=[],d=[],l=t[t.length-1];if("vertical"===n){t.forEach(function(e){var t=e.y0-a/2;o&&u.push({partId:e.data.id,x0:0,x1:e.x0-s,y0:t,y1:t}),f&&d.push({partId:e.data.id,x0:e.x1+c,x1:r,y0:t,y1:t})});var h=l.y1;o&&u.push(fI({},u[u.length-1],{partId:"none",y0:h,y1:h})),f&&d.push(fI({},d[d.length-1],{partId:"none",y0:h,y1:h}))}else if("horizontal"===n){t.forEach(function(e){var t=e.x0-a/2;u.push({partId:e.data.id,x0:t,x1:t,y0:0,y1:e.y0-s}),d.push({partId:e.data.id,x0:t,x1:t,y0:e.y1+c,y1:i})});var b=l.x1;u.push(fI({},u[u.length-1],{partId:"none",x0:b,x1:b})),d.push(fI({},d[d.length-1],{partId:"none",x0:b,x1:b}))}return[u,d]},fV=function(e){var t=e.parts,n=e.setCurrentPartId,r=e.isInteractive,i=e.onMouseEnter,a=e.onMouseLeave,o=e.onMouseMove,s=e.onClick,f=e.showTooltipFromEvent,c=e.hideTooltip,u=e.tooltip,d=void 0===u?fF:u;return r?t.map(function(e){return fI({},e,{onMouseEnter:function(t){n(e.data.id),f((0,h.createElement)(d,{part:e}),t),void 0!==i&&i(e,t)},onMouseLeave:function(t){n(null),c(),void 0!==a&&a(e,t)},onMouseMove:function(t){f((0,h.createElement)(d,{part:e}),t),void 0!==o&&o(e,t)},onClick:void 0!==s?function(t){s(e,t)}:void 0})}):t},fY=function(e){var t,n,r=e.data,i=e.width,a=e.height,o=e.direction,s=void 0===o?fW.direction:o,f=e.interpolation,c=void 0===f?fW.interpolation:f,u=e.spacing,d=void 0===u?fW.spacing:u,l=e.shapeBlending,b=void 0===l?fW.shapeBlending:l,p=e.valueFormat,g=e.colors,y=void 0===g?fW.colors:g,m=e.fillOpacity,_=void 0===m?fW.fillOpacity:m,v=e.borderWidth,x=void 0===v?fW.borderWidth:v,w=e.borderColor,M=void 0===w?fW.borderColor:w,k=e.borderOpacity,C=void 0===k?fW.borderOpacity:k,S=e.labelColor,j=void 0===S?fW.labelColor:S,O=e.enableBeforeSeparators,T=void 0===O?fW.enableBeforeSeparators:O,P=e.beforeSeparatorLength,R=void 0===P?fW.beforeSeparatorLength:P,$=e.beforeSeparatorOffset,A=void 0===$?fW.beforeSeparatorOffset:$,N=e.enableAfterSeparators,E=void 0===N?fW.enableAfterSeparators:N,q=e.afterSeparatorLength,z=void 0===q?fW.afterSeparatorLength:q,I=e.afterSeparatorOffset,W=void 0===I?fW.afterSeparatorOffset:I,F=e.isInteractive,D=void 0===F?fW.isInteractive:F,L=e.currentPartSizeExtension,U=void 0===L?fW.currentPartSizeExtension:L,V=e.currentBorderWidth,Y=e.onMouseEnter,B=e.onMouseMove,G=e.onMouseLeave,H=e.onClick,Q=e.tooltip,X=sl(),Z=(0,h.useMemo)(function(){return fy(y,"id")},[y,"id"]),J=fg(M,X),K=fg(j,X),ee=sf(p),et=(0,h.useMemo)(function(){return fD(c,s)},[c,s]),en=et[0],er=et[1],ei=T?R+A:0,ea=E?z+W:0;"vertical"===s?(t=i-ei-ea,n=a):(t=i,n=a-ei-ea);var eo=(0,h.useMemo)(function(){return fL({data:r,direction:s,width:t,height:n,spacing:d})},[r,s,t,n,d]),es=eo[0],ef=eo[1],ec=(0,h.useState)(null),eu=ec[0],ed=ec[1],el=(0,h.useMemo)(function(){var e=r.map(function(e,r){var i,a,o,f,c=e.id===eu;"vertical"===s?(i=ef(e.value),a=es.bandwidth,f=ei+.5*(t-i),o=es(r)):(i=es.bandwidth,a=ef(e.value),f=es(r),o=ei+.5*(n-a));var u=f+i,d=f+.5*i,l=o+a,h=o+.5*a,b={data:e,width:i,height:a,color:Z(e),fillOpacity:_,borderWidth:c&&void 0!==V?V:x,borderOpacity:C,formattedValue:ee(e.value),isCurrent:c,x:d,x0:f,x1:u,y:h,y0:o,y1:l,borderColor:"",labelColor:"",points:[],areaPoints:[],borderPoints:[]};return b.borderColor=J(b),b.labelColor=K(b),b}),i=b/2;return e.forEach(function(t,n){var r=e[n+1];if("vertical"===s){t.points.push({x:t.x0,y:t.y0}),t.points.push({x:t.x1,y:t.y0}),r?(t.points.push({x:r.x1,y:t.y1}),t.points.push({x:r.x0,y:t.y1})):(t.points.push({x:t.points[1].x,y:t.y1}),t.points.push({x:t.points[0].x,y:t.y1})),t.isCurrent&&(t.points[0].x-=U,t.points[1].x+=U,t.points[2].x+=U,t.points[3].x-=U),t.areaPoints=[{x:0,x0:t.points[0].x,x1:t.points[1].x,y:t.y0,y0:0,y1:0}],t.areaPoints.push(fI({},t.areaPoints[0],{y:t.y0+t.height*i}));var a={x:0,x0:t.points[3].x,x1:t.points[2].x,y:t.y1,y0:0,y1:0};t.areaPoints.push(fI({},a,{y:t.y1-t.height*i})),t.areaPoints.push(a),[0,1,2,3].map(function(e){t.borderPoints.push({x:t.areaPoints[e].x0,y:t.areaPoints[e].y})}),t.borderPoints.push(null),[3,2,1,0].map(function(e){t.borderPoints.push({x:t.areaPoints[e].x1,y:t.areaPoints[e].y})})}else{t.points.push({x:t.x0,y:t.y0}),r?(t.points.push({x:t.x1,y:r.y0}),t.points.push({x:t.x1,y:r.y1})):(t.points.push({x:t.x1,y:t.y0}),t.points.push({x:t.x1,y:t.y1})),t.points.push({x:t.x0,y:t.y1}),t.isCurrent&&(t.points[0].y-=U,t.points[1].y-=U,t.points[2].y+=U,t.points[3].y+=U),t.areaPoints=[{x:t.x0,x0:0,x1:0,y:0,y0:t.points[0].y,y1:t.points[3].y}],t.areaPoints.push(fI({},t.areaPoints[0],{x:t.x0+t.width*i}));var o={x:t.x1,x0:0,x1:0,y:0,y0:t.points[1].y,y1:t.points[2].y};t.areaPoints.push(fI({},o,{x:t.x1-t.width*i})),t.areaPoints.push(o),[0,1,2,3].map(function(e){t.borderPoints.push({x:t.areaPoints[e].x,y:t.areaPoints[e].y0})}),t.borderPoints.push(null),[3,2,1,0].map(function(e){t.borderPoints.push({x:t.areaPoints[e].x,y:t.areaPoints[e].y1})})}}),e},[r,s,ef,es,t,n,ei,ea,b,Z,ee,J,K,eu]),eh=nA(),eb=eh.showTooltipFromEvent,ep=eh.hideTooltip,eg=(0,h.useMemo)(function(){return fV({parts:el,setCurrentPartId:ed,isInteractive:D,onMouseEnter:Y,onMouseLeave:G,onMouseMove:B,onClick:H,showTooltipFromEvent:eb,hideTooltip:ep,tooltip:Q})},[el,ed,D,Y,G,B,H,eb,ep,Q]),ey=(0,h.useMemo)(function(){return fU({parts:el,direction:s,width:i,height:a,spacing:d,enableBeforeSeparators:T,beforeSeparatorOffset:A,enableAfterSeparators:E,afterSeparatorOffset:W})},[el,s,i,a,d,T,A,E,W]),em=ey[0],e_=ey[1],ev=(0,h.useMemo)(function(){return{width:i,height:a,parts:eg,areaGenerator:en,borderGenerator:er,beforeSeparators:em,afterSeparators:e_,setCurrentPartId:ed}},[i,a,eg,en,er,em,e_,ed]);return{parts:eg,areaGenerator:en,borderGenerator:er,beforeSeparators:em,afterSeparators:e_,setCurrentPartId:ed,currentPartId:eu,customLayerProps:ev}},fB=function(e){var t=e.part,n=e.areaGenerator,r=e.borderGenerator,i=sn(),a=i.animate,o=i.config,s=sr
1(n(t.areaPoints)),f=sr(r(t.borderPoints)),c=ne({areaColor:t.color,borderWidth:t.borderWidth,borderColor:t.borderColor,config:o,immediate:!a});return(0,nv.jsxs)(nv.Fragment,{children:[t.borderWidth>0&&(0,nv.jsx)(n_.path,{d:f,stroke:c.borderColor,strokeWidth:c.borderWidth,strokeOpacity:t.borderOpacity,fill:"none"}),(0,nv.jsx)(n_.path,{d:s,fill:c.areaColor,fillOpacity:t.fillOpacity,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseMove:t.onMouseMove,onClick:t.onClick})]})},fG=function(e){var t=e.parts,n=e.areaGenerator,r=e.borderGenerator;return(0,nv.jsx)(nv.Fragment,{children:t.map(function(e){return(0,nv.jsx)(fB,{part:e,areaGenerator:n,borderGenerator:r},e.data.id)})})},fH=function(e){var t=e.part,n=sl(),r=sn(),i=r.animate,a=r.config,o=ne({transform:"translate("+t.x+", "+t.y+")",color:t.labelColor,config:a,immediate:!i});return(0,nv.jsx)(n_.g,{transform:o.transform,children:(0,nv.jsx)(n_.text,{textAnchor:"middle",dominantBaseline:"central",style:fI({},n.labels.text,{fill:o.color,pointerEvents:"none"}),children:t.formattedValue})})},fQ=function(e){var t=e.parts;return(0,nv.jsx)(nv.Fragment,{children:t.map(function(e){return(0,nv.jsx)(fH,{part:e},e.data.id)})})},fX=function(e){var t=e.separator,n=sl(),r=sn(),i=r.animate,a=r.config,o=ne({x1:t.x0,x2:t.x1,y1:t.y0,y2:t.y1,config:a,immediate:!i});return(0,nv.jsx)(n_.line,fI({x1:o.x1,x2:o.x2,y1:o.y1,y2:o.y2,fill:"none"},n.grid.line))},fZ=function(e){var t=e.beforeSeparators,n=e.afterSeparators;return(0,nv.jsxs)(nv.Fragment,{children:[t.map(function(e){return(0,nv.jsx)(fX,{separator:e},e.partId)}),n.map(function(e){return(0,nv.jsx)(fX,{separator:e},e.partId)})]})},fJ=function(e){var t=fR({data:e.parts,annotations:e.annotations,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,n=e.height;return{size:Math.max(t,n),width:t,height:n}}});return(0,nv.jsx)(nv.Fragment,{children:t.map(function(e,t){return(0,nv.jsx)(fz,fI({},e),t)})})},fK=["isInteractive","animate","motionConfig","theme","renderWrapper"],f0=function(e){var t,n=e.data,r=e.width,i=e.height,a=e.margin,o=e.direction,s=void 0===o?fW.direction:o,f=e.interpolation,c=void 0===f?fW.interpolation:f,u=e.spacing,d=void 0===u?fW.spacing:u,l=e.shapeBlending,b=void 0===l?fW.shapeBlending:l,p=e.valueFormat,g=e.colors,y=void 0===g?fW.colors:g,m=e.fillOpacity,_=void 0===m?fW.fillOpacity:m,v=e.borderWidth,x=void 0===v?fW.borderWidth:v,w=e.borderColor,M=void 0===w?fW.borderColor:w,k=e.borderOpacity,C=void 0===k?fW.borderOpacity:k,S=e.enableLabel,j=void 0===S?fW.enableLabel:S,O=e.labelColor,T=void 0===O?fW.labelColor:O,P=e.enableBeforeSeparators,R=void 0===P?fW.enableBeforeSeparators:P,$=e.beforeSeparatorLength,A=void 0===$?fW.beforeSeparatorLength:$,N=e.beforeSeparatorOffset,E=void 0===N?fW.beforeSeparatorOffset:N,q=e.enableAfterSeparators,z=void 0===q?fW.enableAfterSeparators:q,I=e.afterSeparatorLength,W=void 0===I?fW.afterSeparatorLength:I,F=e.afterSeparatorOffset,D=void 0===F?fW.afterSeparatorOffset:F,L=e.layers,U=void 0===L?fW.layers:L,V=e.annotations,Y=void 0===V?fW.annotations:V,B=e.isInteractive,G=void 0===B?fW.isInteractive:B,H=e.currentPartSizeExtension,Q=void 0===H?fW.currentPartSizeExtension:H,X=e.currentBorderWidth,Z=e.onMouseEnter,J=e.onMouseMove,K=e.onMouseLeave,ee=e.onClick,et=e.tooltip,en=e.role,er=void 0===en?fW.role:en,ei=e.ariaLabel,ea=e.ariaLabelledBy,eo=e.ariaDescribedBy,es=(void 0===(t=a)&&(t={}),(0,h.useMemo)(function(){var e=o7({},so,t);return{margin:e,innerWidth:r-e.left-e.right,innerHeight:i-e.top-e.bottom,outerWidth:r,outerHeight:i}},[r,i,t.top,t.right,t.bottom,t.left])),ef=es.margin,ec=es.innerWidth,eu=es.innerHeight,ed=es.outerWidth,el=es.outerHeight,eh=fY({data:n,width:ec,height:eu,direction:s,interpolation:c,spacing:d,shapeBlending:b,valueFormat:p,colors:y,fillOpacity:_,borderWidth:x,borderColor:M,borderOpacity:C,labelColor:T,enableBeforeSeparators:R,beforeSeparatorLength:A,beforeSeparatorOffset:E,enableAfterSeparators:z,afterSeparatorLength:W,afterSeparatorOffset:D,isInteractive:G,currentPartSizeExtension:Q,currentBorderWidth:X,onMouseEnter:Z,onMouseMove:J,onMouseLeave:K,onClick:ee,tooltip:et}),eb=eh.areaGenerator,ep=eh.borderGenerator,eg=eh.parts,ey=eh.beforeSeparators,em=eh.afterSeparators,e_=eh.customLayerProps,ev={separators:null,parts:null,annotations:null,labels:null};return U.includes("separators")&&(ev.separators=(0,nv.jsx)(fZ,{beforeSeparators:ey,afterSeparators:em},"separators")),U.includes("parts")&&(ev.parts=(0,nv.jsx)(fG,{parts:eg,areaGenerator:eb,borderGenerator:ep},"parts")),null!=U&&U.includes("annotations")&&(ev.annotations=(0,nv.jsx)(fJ,{parts:eg,annotations:Y},"annotations")),U.includes("labels")&&j&&(ev.labels=(0,nv.jsx)(fQ,{parts:eg},"labels")),(0,nv.jsx)(sN,{width:ed,height:el,margin:ef,role:er,ariaLabel:ei,ariaLabelledBy:ea,ariaDescribedBy:eo,children:U.map(function(e,t){var n;return"function"==typeof e?(0,nv.jsx)(h.Fragment,{children:(0,h.createElement)(e,e_)},t):null!=(n=null==ev?void 0:ev[e])?n:null})})},f1=function(e){var t=e.isInteractive,n=void 0===t?fW.isInteractive:t,r=e.animate,i=void 0===r?fW.animate:r,a=e.motionConfig,o=void 0===a?fW.motionConfig:a,s=e.theme,f=e.renderWrapper,c=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,fK);return(0,nv.jsx)(sg,{animate:i,isInteractive:n,motionConfig:o,renderWrapper:f,theme:s,children:(0,nv.jsx)(f0,fI({isInteractive:n},c))})},f2=function(e){return(0,nv.jsx)(sy,{children:function(t){var n=t.
1width,r=t.height;return(0,nv.jsx)(f1,fI({width:n,height:r},e))}})}},56883:function(e){e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},68852:function(e,t,n){var r=n(83023),i=n(37560);e.exports=function(e,t,n){(void 0===n||i(e[t],n))&&(void 0!==n||t in e)||r(e,t,n)}},5757:function(e,t,n){var r=n(11549),i=n(26685),a=n(56883),o=n(73819),s=n(23305),f=n(65734);e.exports=function(e,t,n,c){var u=-1,d=i,l=!0,h=e.length,b=[],p=t.length;if(!h)return b;n&&(t=o(t,s(n))),c?(d=a,l=!1):t.length>=200&&(d=f,l=!1,t=new r(t));t:for(;++u<h;){var g=e[u],y=null==n?g:n(g);if(g=c||0!==g?g:0,l&&y==y){for(var m=p;m--;)if(t[m]===y)continue t;b.push(g)}else d(t,y,c)||b.push(g)}return b}},990:function(e,t,n){var r=n(67676);e.exports=function(e,t){var n=[];return r(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}},92197:function(e,t,n){var r=n(85885),i=n(68852),a=n(63321),o=n(11026),s=n(28302),f=n(18587),c=n(59082);e.exports=function e(t,n,u,d,l){t!==n&&a(n,function(a,f){if(l||(l=new r),s(a))o(t,n,f,u,e,d,l);else{var h=d?d(c(t,f),a,f+"",t,n,l):void 0;void 0===h&&(h=a),i(t,f,h)}},f)}},11026:function(e,t,n){var r=n(68852),i=n(19243),a=n(65919),o=n(56075),s=n(32685),f=n(56569),c=n(25614),u=n(35873),d=n(98051),l=n(86757),h=n(28302),b=n(90231),p=n(9792),g=n(59082),y=n(8838);e.exports=function(e,t,n,m,_,v,x){var w=g(e,n),M=g(t,n),k=x.get(M);if(k){r(e,n,k);return}var C=v?v(w,M,n+"",e,t,x):void 0,S=void 0===C;if(S){var j=c(M),O=!j&&d(M),T=!j&&!O&&p(M);C=M,j||O||T?c(w)?C=w:u(w)?C=o(w):O?(S=!1,C=i(M,!0)):T?(S=!1,C=a(M,!0)):C=[]:b(M)||f(M)?(C=w,f(w)?C=y(w):(!h(w)||l(w))&&(C=s(M))):S=!1}S&&(x.set(M,C),_(C,M,m,v,x),x.delete(M)),r(e,n,C)}},21760:function(e,t,n){var r=n(20702),i=n(17764);e.exports=function(e,t){return r(e,t,function(t,n){return i(e,n)})}},20702:function(e,t,n){var r=n(92167),i=n(87325),a=n(67906);e.exports=function(e,t,n){for(var o=-1,s=t.length,f={};++o<s;){var c=t[o],u=r(e,c);n(u,c)&&i(f,a(c,e),u)}return f}},87325:function(e,t,n){var r=n(83295),i=n(67906),a=n(84257),o=n(28302),s=n(70235);e.exports=function(e,t,n,f){if(!o(e))return e;t=i(t,e);for(var c=-1,u=t.length,d=u-1,l=e;null!=l&&++c<u;){var h=s(t[c]),b=n;if("__proto__"===h||"constructor"===h||"prototype"===h)break;if(c!=d){var p=l[h];void 0===(b=f?f(p,h,l):void 0)&&(b=o(p)?p:a(t[c+1])?[]:{})}r(l,h,b),l=l[h]}return e}},59082:function(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},4155:function(e,t,n){var r=n(42774),i=n(990),a=n(88157),o=n(25614);e.exports=function(e,t){return(o(e)?r:i)(e,a(t,3))}},35873:function(e,t,n){var r=n(5629),i=n(10303);e.exports=function(e){return i(e)&&r(e)}},22345:function(e,t,n){var r=n(54506),i=n(10303);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==r(e)}},42715:function(e,t,n){var r=n(54506),i=n(25614),a=n(10303);e.exports=function(e){return"string"==typeof e||!i(e)&&a(e)&&"[object String]"==r(e)}},23006:function(e,t,n){var r=n(92197),i=n(48022)(function(e,t,n){r(e,t,n)});e.exports=i},53852:function(e,t,n){var r=n(21760),i=n(53526)(function(e,t){return null==e?{}:r(e,t)});e.exports=i},69854:function(e,t,n){var r=n(87325);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},8838:function(e,t,n){var r=n(33485),i=n(18587);e.exports=function(e){return r(e,i(e))}},31390:function(e,t,n){var r=n(5757),i=n(44843),a=n(35873),o=i(function(e,t){return a(e)?r(e,t):[]});e.exports=o}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.