HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //home/slfopp7cb1df/www/shaneconrad.me/wp-content/plugins/pojo-accessibility/assets/build/7925.js
"use strict";(globalThis.webpackChunkpojo_accessibility=globalThis.webpackChunkpojo_accessibility||[]).push([[7925],{204(e,t,n){n.d(t,{A:()=>g});var r=n(45315);function i(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}const o=e=>()=>e;function a(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):o(isNaN(e)?t:e)}const s=function e(t){var n=function(e){return 1===(e=+e)?a:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):o(isNaN(t)?n:t)}}(t);function i(e,t){var i=n((e=(0,r.Qh)(e)).r,(t=(0,r.Qh)(t)).r),o=n(e.g,t.g),s=n(e.b,t.b),l=a(e.opacity,t.opacity);return function(t){return e.r=i(t),e.g=o(t),e.b=s(t),e.opacity=l(t),e+""}}return i.gamma=e,i}(1);function l(e){return function(t){var n,i,o=t.length,a=new Array(o),s=new Array(o),l=new Array(o);for(n=0;n<o;++n)i=(0,r.Qh)(t[n]),a[n]=i.r||0,s[n]=i.g||0,l[n]=i.b||0;return a=e(a),s=e(s),l=e(l),i.opacity=1,function(e){return i.r=a(e),i.g=s(e),i.b=l(e),i+""}}}function c(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=g(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<i;++n)a[n]=o[n](e);return a}}l(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),o=e[r],a=e[r+1],s=r>0?e[r-1]:2*o-a,l=r<t-1?e[r+2]:2*a-o;return i((n-r/t)*t,s,o,a,l)}}),l(function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],a=e[r%t],s=e[(r+1)%t],l=e[(r+2)%t];return i((n-r/t)*t,o,a,s,l)}});var u=n(58172),d=n(8981);function h(e,t){var n,r={},i={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=g(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var p=n(67737);function f(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function g(e,t){var n,i,a=typeof t;return null==t||"boolean"===a?o(t):("number"===a?d.A:"string"===a?(n=(0,r.Ay)(t))?(t=n,s):p.A:t instanceof r.Ay?s:t instanceof Date?u.A:(i=t,!ArrayBuffer.isView(i)||i instanceof DataView?Array.isArray(t)?c:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?h:d.A:f))(e,t)}},411(e,t,n){n.d(t,{I:()=>o});var r=n(51609);n(10790);const i=r.createContext(),o=()=>r.useContext(i)??!1},1374(e,t,n){n.d(t,{e:()=>r});const r=n(51609).createContext({isInitialized:!1,data:{skipAnimation:void 0}})},1631(e,t,n){n.d(t,{A:()=>i});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(e){if(!(t=r.exec(e)))throw new Error("invalid format: "+e);var t;return new o({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 o(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+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},4022(e,t,n){n.d(t,{O:()=>a,v:()=>l});var r=n(58168),i=n(51609),o=n(10790);const a=i.createContext({item:null,axis:{x:null,y:null},useVoronoiInteraction:!1,dispatch:()=>null}),s=(e,t)=>{switch(t.type){case"enterItem":return(0,r.A)({},e,{item:t.data});case"exitChart":return null===e.item&&null===e.axis.x&&null===e.axis.y?e:(0,r.A)({},e,{axis:{x:null,y:null},item:null});case"updateVoronoiUsage":return(0,r.A)({},e,{useVoronoiInteraction:t.useVoronoiInteraction});case"leaveItem":return null===e.item||Object.keys(t.data).some(n=>t.data[n]!==e.item[n])?e:(0,r.A)({},e,{item:null});case"updateAxis":return t.data.x===e.axis.x&&t.data.y===e.axis.y?e:(0,r.A)({},e,{axis:t.data});default:return e}};function l(e){const{children:t}=e,[n,l]=i.useReducer(s,{item:null,axis:{x:null,y:null},useVoronoiInteraction:!1}),c=i.useMemo(()=>(0,r.A)({},n,{dispatch:l}),[n]);return(0,o.jsx)(a.Provider,{value:c,children:t})}},4197(e,t,n){n.d(t,{C:()=>p,Ay:()=>g,D_:()=>c,Gu:()=>f});var r=n(78106),i=n(204),o=n(8981),a=n(49770);function s(e){return+e}var l=[0,1];function c(e){return e}function u(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function d(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=u(i,r),o=n(a,o)):(r=u(r,i),o=n(o,a)),function(e){return o(r(e))}}function h(e,t,n){var i=Math.min(e.length,t.length)-1,o=new Array(i),a=new Array(i),s=-1;for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<i;)o[s]=u(e[s],e[s+1]),a[s]=n(t[s],t[s+1]);return function(t){var n=(0,r.Ay)(e,t,1,i)-1;return a[n](o[n](t))}}function p(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function f(){var e,t,n,r,u,p,f=l,g=l,m=i.A,y=c;function x(){var e,t,n,i=Math.min(f.length,g.length);return y!==c&&(e=f[0],t=f[i-1],e>t&&(n=e,e=t,t=n),y=function(n){return Math.max(e,Math.min(t,n))}),r=i>2?h:d,u=p=null,v}function v(t){return null==t||isNaN(t=+t)?n:(u||(u=r(f.map(e),g,m)))(e(y(t)))}return v.invert=function(n){return y(t((p||(p=r(g,f.map(e),o.A)))(n)))},v.domain=function(e){return arguments.length?(f=Array.from(e,s),x()):f.slice()},v.range=function(e){return arguments.length?(g=Array.from(e),x()):g.slice()},v.rangeRound=function(e){return g=Array.from(e),m=a.A,x()},v.clamp=function(e){return arguments.length?(y=!!e||c,x()):y!==c},v.interpolate=function(e){return arguments.length?(m=e,x()):m},v.unknown=function(e){return arguments.length?(n=e,v):n},function(n,r){return e=n,t=r,x()}}function g(){return f()(c,c)}},4897(e,t,n){n.d(t,{k6:()=>o,nW:()=>r,sk:()=>i});const r="DEFAULT_X_AXIS_KEY",i="DEFAULT_Y_AXIS_KEY",o={top:50,bottom:50,left:50,right:50}},6946(e,t,n){n.d(t,{Ay:()=>s,lq:()=>l,sG:()=>c});const r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function a(e,t,n){const s=(t-e)/Math.max(0,n),l=Math.floor(Math.log10(s)),c=s/Math.pow(10,l),u=c>=r?10:c>=i?5:c>=o?2:1;let d,h,p;return l<0?(p=Math.pow(10,-l)/u,d=Math.round(e*p),h=Math.round(t*p),d/p<e&&++d,h/p>t&&--h,p=-p):(p=Math.pow(10,l)*u,d=Math.round(e/p),h=Math.round(t/p),d*p<e&&++d,h*p>t&&--h),h<d&&.5<=n&&n<2?a(e,t,2*n):[d,h,p]}function s(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[i,o,s]=r?a(t,e,n):a(e,t,n);if(!(o>=i))return[];const l=o-i+1,c=new Array(l);if(r)if(s<0)for(let e=0;e<l;++e)c[e]=(o-e)/-s;else for(let e=0;e<l;++e)c[e]=(o-e)*s;else if(s<0)for(let e=0;e<l;++e)c[e]=(i+e)/-s;else for(let e=0;e<l;++e)c[e]=(i+e)*s;return c}function l(e,t,n){return a(e=+e,t=+t,n=+n)[2]}function c(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?l(t,e,n):l(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}},7196(e,t,n){n.d(t,{EU:()=>l,NI:()=>s,vf:()=>c,zu:()=>i});var r=n(63132);const i={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${i[e]}px)`},a={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:i[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function s(e,t,n){const s=e.theme||{};if(Array.isArray(t)){const e=s.breakpoints||o;return t.reduce((r,i,o)=>(r[e.up(e.keys[o])]=n(t[o]),r),{})}if("object"==typeof t){const e=s.breakpoints||o;return Object.keys(t).reduce((o,l)=>{if((0,r.ob)(e.keys,l)){const e=(0,r.CT)(s.containerQueries?s:a,l);e&&(o[e]=n(t[l],l))}else if(Object.keys(e.values||i).includes(l))o[e.up(l)]=n(t[l],l);else{const e=l;o[e]=t[e]}return o},{})}return n(t)}function l(e={}){const t=e.keys?.reduce((t,n)=>(t[e.up(n)]={},t),{});return t||{}}function c(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}},8981(e,t,n){function r(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}n.d(t,{A:()=>r})},9592(e,t,n){function r(e){return"number"==typeof e&&!Number.isFinite(e)}n.d(t,{D:()=>r})},9841(e,t,n){n.d(t,{d:()=>a,w:()=>l});var r=n(51609),i=n(54609),o=n(9592);function a(e){const{tickMaxStep:t,tickMinStep:n,tickNumber:r,range:i,domain:o}=e,a=void 0===n?999:Math.floor(Math.abs(o[1]-o[0])/n),s=void 0===t?2:Math.ceil(Math.abs(o[1]-o[0])/t),l=r??Math.floor(Math.abs(i[1]-i[0])/50);return Math.min(a,Math.max(s,l))}const s={start:0,extremities:0,end:1,middle:.5};function l(e){const{scale:t,tickNumber:n,valueFormatter:a,tickInterval:l,tickPlacement:c="extremities",tickLabelPlacement:u="middle"}=e;return r.useMemo(()=>{if((0,i.y)(t)){const e=t.domain();return t.bandwidth()>0?[...("function"==typeof l&&e.filter(l)||"object"==typeof l&&l||e).map(e=>({value:e,formattedValue:a?.(e,{location:"tick"})??`${e}`,offset:t(e)-(t.step()-t.bandwidth())/2+s[c]*t.step(),labelOffset:"tick"===u?0:t.step()*(s[u]-s[c])})),..."extremities"===c?[{formattedValue:void 0,offset:t.range()[1],labelOffset:0}]:[]]:("function"==typeof l&&e.filter(l)||"object"==typeof l&&l||e).map(e=>({value:e,formattedValue:a?.(e,{location:"tick"})??`${e}`,offset:t(e),labelOffset:0}))}return t.domain().some(o.D)?[]:("object"==typeof l?l:t.ticks(n)).map(e=>({value:e,formattedValue:a?.(e,{location:"tick"})??t.tickFormat(n)(e),offset:t(e),labelOffset:0}))},[t,l,n,a,c,u])}},10575(e,t,n){n.d(t,{A:()=>s,Q:()=>o});var r=n(51609),i=n(54405);function o(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function a(e){if(r.isValidElement(e)||(0,i.Hy)(e)||!o(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=a(e[n])}),t}function s(e,t,n={clone:!0}){const l=n.clone?{...e}:e;return o(e)&&o(t)&&Object.keys(t).forEach(c=>{r.isValidElement(t[c])||(0,i.Hy)(t[c])?l[c]=t[c]:o(t[c])&&Object.prototype.hasOwnProperty.call(e,c)&&o(e[c])?l[c]=s(e[c],t[c],n):n.clone?l[c]=o(t[c])?a(t[c]):t[c]:l[c]=t[c]}),l}},11509(e,t,n){n.d(t,{i:()=>c});const r=Math.PI,i=2*r,o=1e-6,a=i-o;function s(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class l{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?s:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return s;const 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,o){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,n,i,a){if(e=+e,t=+t,n=+n,i=+i,(a=+a)<0)throw new Error(`negative radius: ${a}`);let s=this._x1,l=this._y1,c=n-e,u=i-t,d=s-e,h=l-t,p=d*d+h*h;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(p>o)if(Math.abs(h*c-u*d)>o&&a){let f=n-s,g=i-l,m=c*c+u*u,y=f*f+g*g,x=Math.sqrt(m),v=Math.sqrt(p),b=a*Math.tan((r-Math.acos((m+p-y)/(2*x*v)))/2),A=b/v,w=b/x;Math.abs(A-1)>o&&this._append`L${e+A*d},${t+A*h}`,this._append`A${a},${a},0,0,${+(h*f>d*g)},${this._x1=e+w*c},${this._y1=t+w*u}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,s,l,c){if(e=+e,t=+t,c=!!c,(n=+n)<0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(s),d=n*Math.sin(s),h=e+u,p=t+d,f=1^c,g=c?s-l:l-s;null===this._x1?this._append`M${h},${p}`:(Math.abs(this._x1-h)>o||Math.abs(this._y1-p)>o)&&this._append`L${h},${p}`,n&&(g<0&&(g=g%i+i),g>a?this._append`A${n},${n},0,1,${f},${e-u},${t-d}A${n},${n},0,1,${f},${this._x1=h},${this._y1=p}`:g>o&&this._append`A${n},${n},0,${+(g>=r)},${f},${this._x1=e+n*Math.cos(l)},${this._y1=t+n*Math.sin(l)}`)}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 c(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new l(t)}},12171(e,t,n){n.d(t,{F8:()=>l,FA:()=>p,FP:()=>i,HQ:()=>f,Ni:()=>u,RZ:()=>c,T9:()=>a,TW:()=>h,gn:()=>o,jk:()=>s,pi:()=>d,qR:()=>g,tn:()=>r});const r=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,s=Math.min,l=Math.sin,c=Math.sqrt,u=1e-12,d=Math.PI,h=d/2,p=2*d;function f(e){return e>1?0:e<-1?d:Math.acos(e)}function g(e){return e>=1?h:e<=-1?-h:Math.asin(e)}},12902(e,t,n){function r(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}n.d(t,{A:()=>r})},13092(e,t,n){n.d(t,{C:()=>l,L:()=>s});var r=n(58168),i=n(51609),o=n(24578),a=n(10790);const s=i.createContext({zAxis:{},zAxisIds:[]});function l(e){const{zAxis:t,dataset:n,children:l}=e,c=i.useMemo(()=>t?.map(e=>{const t=e.dataKey;if(void 0===t||void 0!==e.data)return e;if(void 0===n)throw new Error("MUI X: z-axis uses `dataKey` but no `dataset` is provided.");return(0,r.A)({},e,{data:n.map(e=>e[t])})}),[t,n]),u=i.useMemo(()=>{const e=c?.map((e,t)=>(0,r.A)({id:`defaultized-z-axis-${t}`},e))??[],t={};return e.forEach(e=>{t[e.id]=(0,r.A)({},e,{colorScale:e.colorMap&&("ordinal"===e.colorMap.type&&e.data?(0,o.$U)((0,r.A)({values:e.data},e.colorMap)):(0,o.yw)("continuous"===e.colorMap.type?(0,r.A)({min:e.min,max:e.max},e.colorMap):e.colorMap))})}),{zAxis:t,zAxisIds:e.map(({id:e})=>e)}},[c]);return(0,a.jsx)(s.Provider,{value:u,children:l})}},14921(e,t,n){n.d(t,{A:()=>s});var r=n(65387),i=n(51609),o=n(24684);const a=(0,r.A)(),s=function(e=a){return function(e=null){const t=i.useContext(o.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}(e)}},17925(e,t,n){n.d(t,{r:()=>K});var r=n(58168),i=n(98587),o=n(51609),a=n(411),s=n(97107),l=n(27411),c=n(52106),u=n(4897),d=n(82616),h=n(87767),p=n(96492),f=n(21818),g=n(52555),m=n(42716),y=n(75659),x=n(31609),v=n(46175),b=n(38413),A=n(64180),w=n(10790);const k=["classes","color","cornerRadius","dataIndex","endAngle","id","innerRadius","isFaded","isHighlighted","onClick","outerRadius","paddingAngle","startAngle","highlightScope"];function M(e){return(0,x.Ay)("MuiPieArc",e)}(0,b.A)("MuiPieArc",["root","highlighted","faded"]);const C=(0,v.Ay)(g.CS.path,{name:"MuiPieArc",slot:"Root",overridesResolver:(e,t)=>t.arc})(({theme:e})=>({stroke:(e.vars||e).palette.background.paper,transition:"opacity 0.2s ease-in, fill 0.2s ease-in, filter 0.2s ease-in"}));function S(e){const{classes:t,color:n,cornerRadius:o,dataIndex:a,endAngle:s,id:l,innerRadius:c,isFaded:u,isHighlighted:d,onClick:h,outerRadius:p,paddingAngle:f,startAngle:x}=e,v=(0,i.A)(e,k),b={id:l,dataIndex:a,classes:t,color:n,isFaded:u,isHighlighted:d},S=(e=>{const{classes:t,id:n,isFaded:r,isHighlighted:i,dataIndex:o}=e,a={root:["root",`series-${n}`,`data-index-${o}`,i&&"highlighted",r&&"faded"]};return(0,y.A)(a,M,t)})(b),I=(0,A.D)();return(0,w.jsx)(C,(0,r.A)({d:(0,g.to)([x,s,f,c,p,o],(e,t,n,r,i,o)=>(0,m.A)().cornerRadius(o)({padAngle:n,startAngle:e,endAngle:t,innerRadius:r,outerRadius:i})),visibility:(0,g.to)([x,s],(e,t)=>e===t?"hidden":"visible"),onClick:h,cursor:h?"pointer":"unset",ownerState:b,className:S.root,fill:b.color,opacity:b.isFaded?.3:1,filter:b.isHighlighted?"brightness(120%)":"none",strokeWidth:1,strokeLinejoin:"round"},v,I({type:"pie",seriesId:l,dataIndex:a})))}const I={keys:e=>e.id,from:({innerRadius:e,outerRadius:t,cornerRadius:n,startAngle:r,endAngle:i,paddingAngle:o,color:a,isFaded:s})=>({innerRadius:e,outerRadius:(e+t)/2,cornerRadius:n,startAngle:(r+i)/2,endAngle:(r+i)/2,paddingAngle:o,fill:a,opacity:s?.3:1}),leave:({innerRadius:e,startAngle:t,endAngle:n})=>({innerRadius:e,outerRadius:e,startAngle:(t+n)/2,endAngle:(t+n)/2}),enter:({innerRadius:e,outerRadius:t,startAngle:n,endAngle:r})=>({innerRadius:e,outerRadius:t,startAngle:n,endAngle:r}),update:({innerRadius:e,outerRadius:t,cornerRadius:n,startAngle:r,endAngle:i,paddingAngle:o,color:a,isFaded:s})=>({innerRadius:e,outerRadius:t,cornerRadius:n,startAngle:r,endAngle:i,paddingAngle:o,fill:a,opacity:s?.3:1}),config:{tension:120,friction:14,clamp:!0}},$={keys:e=>e.id,from:({innerRadius:e,outerRadius:t,arcLabelRadius:n,cornerRadius:r,startAngle:i,endAngle:o,paddingAngle:a})=>({innerRadius:e,outerRadius:(e+t)/2,cornerRadius:r,arcLabelRadius:n,startAngle:(i+o)/2,endAngle:(i+o)/2,paddingAngle:a,opacity:0}),leave:({innerRadius:e,startAngle:t,endAngle:n})=>({innerRadius:e,outerRadius:e,arcLabelRadius:e,startAngle:(t+n)/2,endAngle:(t+n)/2,opacity:0}),enter:({innerRadius:e,outerRadius:t,startAngle:n,endAngle:r,arcLabelRadius:i})=>({innerRadius:e,outerRadius:t,startAngle:n,endAngle:r,arcLabelRadius:i,opacity:1}),update:({innerRadius:e,outerRadius:t,cornerRadius:n,startAngle:r,endAngle:i,paddingAngle:o,arcLabelRadius:a})=>({innerRadius:e,outerRadius:t,cornerRadius:n,startAngle:r,endAngle:i,paddingAngle:o,arcLabelRadius:a,opacity:1}),config:{tension:120,friction:14,clamp:!0}};var P=n(44126);function R(e){const{id:t,data:n,faded:i,highlighted:a,paddingAngle:s=0,innerRadius:l=0,arcLabelRadius:c,outerRadius:u,cornerRadius:d=0}=e,{isFaded:h,isHighlighted:p}=(0,P.Z)();return o.useMemo(()=>n.map((e,n)=>{const o={seriesId:t,dataIndex:n},f=p(o),g=!f&&h(o),m=(0,r.A)({additionalRadius:0},g&&i||f&&a||{}),y=Math.max(0,Math.PI*(m.paddingAngle??s)/180),x=Math.max(0,m.innerRadius??l),v=Math.max(0,m.outerRadius??u+m.additionalRadius),b=m.cornerRadius??d,A=m.arcLabelRadius??c??(x+v)/2;return(0,r.A)({},e,m,{isFaded:g,isHighlighted:f,paddingAngle:y,innerRadius:x,outerRadius:v,cornerRadius:b,arcLabelRadius:A})}),[d,l,u,s,c,n,i,a,h,p,t])}const T=["slots","slotProps","innerRadius","outerRadius","cornerRadius","paddingAngle","id","highlighted","faded","data","onItemClick","skipAnimation"];function j(e){const{slots:t,slotProps:n,innerRadius:o=0,outerRadius:a,cornerRadius:s=0,paddingAngle:l=0,id:c,highlighted:u,faded:d={additionalRadius:-5},data:h,onItemClick:p,skipAnimation:f}=e,m=(0,i.A)(e,T),y=R({innerRadius:o,outerRadius:a,cornerRadius:s,paddingAngle:l,id:c,highlighted:u,faded:d,data:h}),x=(0,g.pn)(y,(0,r.A)({},I,{immediate:f})),{highlightScope:v}=(0,P.Z)();if(0===h.length)return null;const b=t?.pieArc??S;return(0,w.jsx)("g",(0,r.A)({},m,{children:x(({startAngle:e,endAngle:t,paddingAngle:i,innerRadius:o,outerRadius:a,cornerRadius:s},l,u,d)=>(0,w.jsx)(b,(0,r.A)({startAngle:e,endAngle:t,paddingAngle:i,innerRadius:o,outerRadius:a,cornerRadius:s,id:c,color:l.color,dataIndex:d,highlightScope:v,isFaded:l.isFaded,isHighlighted:l.isHighlighted,onClick:p&&(e=>{p(e,{type:"pie",seriesId:c,dataIndex:d},l)})},n?.pieArc)))}))}var _=n(78398),O=n(32586);const N=["arcLabel","arcLabelMinAngle","arcLabelRadius","cornerRadius","data","faded","highlighted","id","innerRadius","outerRadius","paddingAngle","skipAnimation","slotProps","slots"],E=["startAngle","endAngle","paddingAngle","innerRadius","outerRadius","arcLabelRadius","cornerRadius"],F=180/Math.PI;function L(e,t,n){if(!e)return null;if((n.endAngle-n.startAngle)*F<t)return null;switch(e){case"label":return(0,O.p)(n.label,"arc");case"value":return n.value?.toString();case"formattedValue":return n.formattedValue;default:return e((0,r.A)({},n,{label:(0,O.p)(n.label,"arc")}))}}function D(e){const{arcLabel:t,arcLabelMinAngle:n=0,arcLabelRadius:o,cornerRadius:a=0,data:s,faded:l={additionalRadius:-5},highlighted:c,id:u,innerRadius:d,outerRadius:h,paddingAngle:p=0,skipAnimation:f,slotProps:m,slots:y}=e,x=(0,i.A)(e,N),v=R({innerRadius:d,outerRadius:h,arcLabelRadius:o,cornerRadius:a,paddingAngle:p,id:u,highlighted:c,faded:l,data:s}),b=(0,g.pn)(v,(0,r.A)({},$,{immediate:f}));if(0===s.length)return null;const A=y?.pieArcLabel??_.Zr;return(0,w.jsx)("g",(0,r.A)({},x,{children:b((e,o)=>{let{startAngle:a,endAngle:s,paddingAngle:l,innerRadius:c,outerRadius:d,arcLabelRadius:h,cornerRadius:p}=e,f=(0,i.A)(e,E);return(0,w.jsx)(A,(0,r.A)({startAngle:a,endAngle:s,paddingAngle:l,innerRadius:c,outerRadius:d,arcLabelRadius:h,cornerRadius:p,style:f,id:u,color:o.color,isFaded:o.isFaded,isHighlighted:o.isHighlighted,formattedArcLabel:L(t,n,o)},m?.pieArcLabel))})}))}function B(e,t){if("number"==typeof e)return e;if("100%"===e)return t;if(e.endsWith("%")){const n=Number.parseFloat(e.slice(0,e.length-1));if(!Number.isNaN(n))return n*t/100}if(e.endsWith("px")){const t=Number.parseFloat(e.slice(0,e.length-2));if(!Number.isNaN(t))return t}throw new Error(`MUI X: Received an unknown value "${e}". It should be a number, or a string with a percentage value.`)}function z(e,t){const{height:n,width:r}=t,{cx:i,cy:o}=e,a=Math.min(r,n)/2;return{cx:B(i??"50%",r),cy:B(o??"50%",n),availableRadius:a}}var U=n(55202),H=n(23917);function V(e){const{skipAnimation:t,slots:n,slotProps:r,onItemClick:i}=e,a=(0,U.P6)(),{left:s,top:l,width:c,height:u}=o.useContext(f.wf),d=(0,H.x)(t);if(void 0===a)return null;const{series:h,seriesOrder:p}=a;return(0,w.jsxs)("g",{children:[p.map(e=>{const{innerRadius:t,outerRadius:o,cornerRadius:a,paddingAngle:p,data:f,cx:g,cy:m,highlighted:y,faded:x}=h[e],{cx:v,cy:b,availableRadius:A}=z({cx:g,cy:m},{width:c,height:u}),k=B(o??A,A),M=B(t??0,A);return(0,w.jsx)("g",{transform:`translate(${s+v}, ${l+b})`,children:(0,w.jsx)(j,{innerRadius:M,outerRadius:k,cornerRadius:a,paddingAngle:p,id:e,data:f,skipAnimation:d,highlighted:y,faded:x,onItemClick:i,slots:n,slotProps:r})},e)}),p.map(e=>{const{innerRadius:t,outerRadius:i,arcLabelRadius:o,cornerRadius:a,paddingAngle:p,arcLabel:f,arcLabelMinAngle:g,data:m,cx:y,cy:x}=h[e],{cx:v,cy:b,availableRadius:A}=z({cx:y,cy:x},{width:c,height:u}),k=B(i??A,A),M=B(t??0,A),C=void 0===o?(k+M)/2:B(o,A);return(0,w.jsx)("g",{transform:`translate(${s+v}, ${l+b})`,children:(0,w.jsx)(D,{innerRadius:M,outerRadius:k??A,arcLabelRadius:C,cornerRadius:a,paddingAngle:p,id:e,data:m,skipAnimation:d,arcLabel:f,arcLabelMinAngle:g,slots:n,slotProps:r})},e)})]})}var W=n(57866);const G=["xAxis","yAxis","series","width","height","margin","colors","sx","tooltip","axisHighlight","skipAnimation","legend","topAxis","leftAxis","rightAxis","bottomAxis","children","slots","slotProps","onItemClick","loading","highlightedItem","onHighlightChange","className"],Y={top:5,bottom:5,left:5,right:100},q={top:5,bottom:5,left:100,right:5},K=o.forwardRef(function(e,t){const n=(0,s.A)({props:e,name:"MuiPieChart"}),{xAxis:o,yAxis:f,series:g,width:m,height:y,margin:x,colors:v,sx:b,tooltip:A={trigger:"item"},axisHighlight:k={x:"none",y:"none"},skipAnimation:M,legend:C,topAxis:S=null,leftAxis:I=null,rightAxis:$=null,bottomAxis:P=null,children:R,slots:T,slotProps:j,onItemClick:_,loading:O,highlightedItem:N,onHighlightChange:E,className:F}=n,L=(0,i.A)(n,G),D=(0,a.I)(),B=(0,r.A)({},D?q:Y,x),z=(0,r.A)({direction:"column",position:{vertical:"middle",horizontal:D?"left":"right"}},C);return(0,w.jsxs)(l.E,(0,r.A)({},L,{ref:t,series:g.map(e=>(0,r.A)({type:"pie"},e)),width:m,height:y,margin:B,xAxis:o??[{id:u.nW,scaleType:"point",data:[...new Array(Math.max(0,...g.map(e=>e.data.length)))].map((e,t)=>t)}],yAxis:f,colors:v,sx:b,disableAxisListener:"axis"!==A?.trigger&&"none"===k?.x&&"none"===k?.y,highlightedItem:N,onHighlightChange:E,className:F,skipAnimation:M,children:[(0,w.jsx)(c.x,{topAxis:S,leftAxis:I,rightAxis:$,bottomAxis:P,slots:T,slotProps:j}),(0,w.jsx)(V,{slots:T,slotProps:j,onItemClick:_}),(0,w.jsx)(W.g,{loading:O,slots:T,slotProps:j}),(0,w.jsx)(h.Z,(0,r.A)({},z,{slots:T,slotProps:j})),(0,w.jsx)(p.R9,(0,r.A)({},k)),!O&&(0,w.jsx)(d.b,(0,r.A)({},A,{slots:T,slotProps:j})),R]}))})},18139(e,t,n){n.d(t,{A:()=>i});var r=n(61698);function i(e){const{variants:t,...n}=e,i={variants:t,style:(0,r.tT)(n),isProcessed:!0};return i.style===n||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=(0,r.tT)(e.style))}),i}},18917(e,t,n){n.d(t,{T:()=>o});var r=n(51609),i=n(76542);const o=()=>{const{data:e}=r.useContext(i.Q);return e}},21164(e,t,n){n.d(t,{O:()=>o,u:()=>i});var r=n(31609);function i(e){return(0,r.Ay)("MuiChartsLegend",e)}const o=(0,n(38413).A)("MuiChartsLegend",["root","series","itemBackground","mark","label","column","row"])},21818(e,t,n){n.d(t,{wf:()=>l,QN:()=>u,w7:()=>c});var r=n(58168),i=n(51609),o=n(34661),a=n(4897);var s=n(10790);const l=i.createContext({top:0,left:0,bottom:0,right:0,height:300,width:400,chartId:"",isPointInside:()=>!1}),c=i.createContext({isInitialized:!1,data:{current:null}});function u(e){const{width:t,height:n,margin:u,svgRef:d,children:h}=e,p=((e,t,n)=>{const o=(0,r.A)({},a.k6,n);return i.useMemo(()=>({left:o.left,top:o.top,right:o.right,bottom:o.bottom,width:Math.max(0,e-o.left-o.right),height:Math.max(0,t-o.top-o.bottom)}),[e,t,o.top,o.bottom,o.left,o.right])})(t,n,u),f=(0,o.A)(),g=i.useCallback(({x:e,y:t},n)=>{if(n?.targetElement&&n?.targetElement.closest("[data-drawing-container]"))return!0;const r=e>=p.left-1&&e<=p.left+p.width,i=t>=p.top-1&&t<=p.top+p.height;return"x"===n?.direction?r:("y"===n?.direction||r)&&i},[p]),m=i.useMemo(()=>(0,r.A)({chartId:f??""},p,{isPointInside:g}),[f,p,g]),y=i.useMemo(()=>({isInitialized:!0,data:d}),[d]);return(0,s.jsx)(c.Provider,{value:y,children:(0,s.jsx)(l.Provider,{value:m,children:h})})}},23917(e,t,n){n.d(t,{x:()=>o});var r=n(51609),i=n(1374);function o(e){const{isInitialized:t,data:n}=r.useContext(i.e);if(!t)throw new Error(["MUI X: Could not find the animation ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return e||n.skipAnimation}},24578(e,t,n){n.d(t,{yw:()=>f,$U:()=>p});var r=n(78106),i=n(99065);function o(){var e,t=[.5],n=[0,1],a=1;function s(i){return null!=i&&i<=i?n[(0,r.Ay)(t,i,0,a)]:e}return s.domain=function(e){return arguments.length?(t=Array.from(e),a=Math.min(t.length,n.length-1),s):t.slice()},s.range=function(e){return arguments.length?(n=Array.from(e),a=Math.min(t.length,n.length-1),s):n.slice()},s.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},s.unknown=function(t){return arguments.length?(e=t,s):e},s.copy=function(){return o().domain(t).range(n).unknown(e)},i.C.apply(s,arguments)}var a=n(204),s=n(49770),l=n(4197),c=n(46983);function u(){var e=(0,c.C)(function(){var e,t,n,r,i,o=0,c=1,u=l.D_,d=!1;function h(t){return null==t||isNaN(t=+t)?i:u(0===n?.5:(t=(r(t)-e)*n,d?Math.max(0,Math.min(1,t)):t))}function p(e){return function(t){var n,r;return arguments.length?([n,r]=t,u=e(n,r),h):[u(0),u(1)]}}return h.domain=function(i){return arguments.length?([o,c]=i,e=r(o=+o),t=r(c=+c),n=e===t?0:1/(t-e),h):[o,c]},h.clamp=function(e){return arguments.length?(d=!!e,h):d},h.interpolator=function(e){return arguments.length?(u=e,h):u},h.range=p(a.A),h.rangeRound=p(s.A),h.unknown=function(e){return arguments.length?(i=e,h):i},function(i){return r=i,e=i(o),t=i(c),n=e===t?0:1/(t-e),h}}()(l.D_));return e.copy=function(){return t=e,u().domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown());var t},i.K.apply(e,arguments)}var d=n(34598);function h(e){return"piecewise"===e.type?o(e.thresholds,e.colors):u([e.min??0,e.max??100],e.color)}function p(e){return e.values?(0,d.A)(e.values,e.colors).unknown(e.unknownColor??null):(0,d.A)(e.colors.map((e,t)=>t),e.colors).unknown(e.unknownColor??null)}function f(e){return"ordinal"===e.type?p(e):h(e)}},27411(e,t,n){n.d(t,{E:()=>vr});var r=n(58168),i=n(51609),o=n(21818),a=n(53356);const s=["#02B2AF","#2E96FF","#B800D8","#60009B","#2731C8","#03008D"],l=["#02B2AF","#72CCFF","#DA00FF","#9001CB","#2E96FF","#3B48E0"],c=e=>"dark"===e?l:s;var u=n(97924);const d=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],h=({series:e,colors:t,seriesFormatters:n,dataset:i})=>{const o={};e.forEach((e,n)=>{const{id:i=`auto-generated-id-${n}`,type:a}=e;if(void 0===o[a]&&(o[a]={series:{},seriesOrder:[]}),void 0!==o[a]?.series[i])throw new Error(`MUI X: series' id "${i}" is not unique.`);o[a].series[i]=(0,r.A)({id:i},function(e,t,n=d){return"pie"===e.type?(0,r.A)({},e,{data:e.data.map((e,t)=>(0,r.A)({color:n[t%n.length]},e))}):(0,r.A)({color:n[t%n.length]},e)}(e,n,t)),o[a].seriesOrder.push(i)});const a={};return Object.keys(n).forEach(e=>{const t=o[e];void 0!==t&&(a[e]=n[e]?.(t,i)??o[e])}),a};var p=n(73156),f=n(10790);function g(e){const{series:t,dataset:n,colors:r=c,children:o}=e,s=function(){const{isInitialized:e,data:t}=i.useContext(p.b);if(!e)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t.seriesFormatters}(),l=(0,a.A)(),d=i.useMemo(()=>({isInitialized:!0,data:h({series:t,colors:"function"==typeof r?r(l.palette.mode):r,seriesFormatters:s,dataset:n})}),[t,r,l.palette.mode,s,n]);return(0,f.jsx)(u.$.Provider,{value:d,children:o})}var m=n(4022),y=n(98587),x=n(46175),v=n(97107),b=n(18917),A=n(54609),w=n(72064),k=n(89812);function M(e){return e instanceof Date?e.getTime():e}const C=["children","width","height","viewBox","disableAxisListener","className","title","desc"],S=(0,x.Ay)("svg",{name:"MuiChartsSurface",slot:"Root"})(()=>({touchAction:"none"})),I=i.forwardRef(function(e,t){const n=(0,v.A)({props:e,name:"MuiChartsSurface"}),{children:o,width:a,height:s,viewBox:l,disableAxisListener:c=!1,className:u,title:d,desc:h}=n,p=(0,y.A)(n,C),g=(0,r.A)({width:a,height:s,x:0,y:0},l);return(e=>{const t=(0,w.n)(),n=(0,k.N)(),{xAxis:r,yAxis:o,xAxisIds:a,yAxisIds:s}=(0,b.T)(),{dispatch:l}=i.useContext(m.O),c=a[0],u=s[0],d=i.useRef({isInChart:!1,x:-1,y:-1});i.useEffect(()=>{const i=t.current;if(null===i||e)return()=>{};function a(e,t){const{scale:n,data:r,reverse:i}=e;if(!(0,A.y)(n)){const e=n.invert(t);if(void 0===r)return{value:e,index:-1};const i=M(e),o=r?.findIndex((t,n)=>{const o=M(t);return o>i&&(0===n||Math.abs(i-o)<=Math.abs(i-M(r[n-1])))||o<=i&&(n===r.length-1||Math.abs(M(e)-o)<Math.abs(M(e)-M(r[n+1])))});return{value:void 0!==o&&o>=0?r[o]:e,index:o}}const o=0===n.bandwidth()?Math.floor((t-Math.min(...n.range())+n.step()/2)/n.step()):Math.floor((t-Math.min(...n.range()))/n.step());if(o<0||o>=r.length)return null;if(i){const e=r.length-1-o;return{index:e,value:r[e]}}return{index:o,value:r[o]}}const s=()=>{d.current={isInChart:!1,x:-1,y:-1},l({type:"exitChart"})},h=e=>{const t="targetTouches"in e?e.targetTouches[0]:e,s=function(e,t){const n=e.createSVGPoint();return n.x=t.clientX,n.y=t.clientY,n.matrixTransform(e.getScreenCTM().inverse())}(i,t);if(d.current.x=s.x,d.current.y=s.y,!n.isPointInside(s,{targetElement:e.target}))return void(d.current.isInChart&&(l({type:"exitChart"}),d.current.isInChart=!1));d.current.isInChart=!0;const h=a(r[c],s.x),p=a(o[u],s.y);l({type:"updateAxis",data:{x:h,y:p}})},p=e=>{const t=e.currentTarget;t&&t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId)};return i.addEventListener("pointerdown",p),i.addEventListener("pointermove",h),i.addEventListener("pointerout",s),i.addEventListener("pointercancel",s),i.addEventListener("pointerleave",s),()=>{i.removeEventListener("pointerdown",p),i.removeEventListener("pointermove",h),i.removeEventListener("pointerout",s),i.removeEventListener("pointercancel",s),i.removeEventListener("pointerleave",s)}},[t,l,u,o,c,r,e,n])})(c),(0,f.jsxs)(S,(0,r.A)({width:a,height:s,viewBox:`${g.x} ${g.y} ${g.width} ${g.height}`,ref:t,className:u},p,{children:[(0,f.jsx)("title",{children:d}),(0,f.jsx)("desc",{children:h}),o]}))});var $=n(90321),P=n(6946);const R=1e3,T=6e4,j=36e5,_=864e5,O=6048e5,N=31536e6,E=new Date,F=new Date;function L(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{const t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),i.range=(n,r,o)=>{const a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;let s;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=n=>L(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(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=(t,r)=>(E.setTime(+t),F.setTime(+r),e(E),e(F),Math.floor(n(E,F))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i:null)),i}const D=L(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);D.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?L(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):D:null),D.range;const B=L(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*R)},(e,t)=>(t-e)/R,e=>e.getUTCSeconds()),z=(B.range,L(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*R)},(e,t)=>{e.setTime(+e+t*T)},(e,t)=>(t-e)/T,e=>e.getMinutes())),U=(z.range,L(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*T)},(e,t)=>(t-e)/T,e=>e.getUTCMinutes())),H=(U.range,L(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*R-e.getMinutes()*T)},(e,t)=>{e.setTime(+e+t*j)},(e,t)=>(t-e)/j,e=>e.getHours())),V=(H.range,L(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*j)},(e,t)=>(t-e)/j,e=>e.getUTCHours())),W=(V.range,L(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*T)/_,e=>e.getDate()-1)),G=(W.range,L(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/_,e=>e.getUTCDate()-1)),Y=(G.range,L(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/_,e=>Math.floor(e/_)));function q(e){return L(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+7*t)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*T)/O)}Y.range;const K=q(0),X=q(1),Q=q(2),Z=q(3),J=q(4),ee=q(5),te=q(6);function ne(e){return L(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)},(e,t)=>(t-e)/O)}K.range,X.range,Q.range,Z.range,J.range,ee.range,te.range;const re=ne(0),ie=ne(1),oe=ne(2),ae=ne(3),se=ne(4),le=ne(5),ce=ne(6),ue=(re.range,ie.range,oe.range,ae.range,se.range,le.range,ce.range,L(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear()),e=>e.getMonth())),de=(ue.range,L(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear()),e=>e.getUTCMonth())),he=(de.range,L(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear()));he.every=e=>isFinite(e=Math.floor(e))&&e>0?L(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}):null,he.range;const pe=L(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());function fe(e,t,n,r,i,o){const a=[[B,1,R],[B,5,5e3],[B,15,15e3],[B,30,3e4],[o,1,T],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,j],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,_],[r,2,1728e5],[n,1,O],[t,1,2592e6],[t,3,7776e6],[e,1,N]];function s(t,n,r){const i=Math.abs(n-t)/r,o=(0,$.A)(([,,e])=>e).right(a,i);if(o===a.length)return e.every((0,P.sG)(t/N,n/N,r));if(0===o)return D.every(Math.max((0,P.sG)(t,n,r),1));const[s,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(l)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:s(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},s]}pe.every=e=>isFinite(e=Math.floor(e))&&e>0?L(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null,pe.range;const[ge,me]=fe(pe,de,re,Y,V,U),[ye,xe]=fe(he,ue,K,W,H,z);function ve(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 be(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 Ae(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var we,ke,Me,Ce={"-":"",_:" ",0:"0"},Se=/^\s*\d+/,Ie=/^%/,$e=/[\\^$*+?|[\]().{}]/g;function Pe(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function Re(e){return e.replace($e,"\\$&")}function Te(e){return new RegExp("^(?:"+e.map(Re).join("|")+")","i")}function je(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function _e(e,t,n){var r=Se.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Oe(e,t,n){var r=Se.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Ne(e,t,n){var r=Se.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Ee(e,t,n){var r=Se.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Fe(e,t,n){var r=Se.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Le(e,t,n){var r=Se.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function De(e,t,n){var r=Se.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Be(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 ze(e,t,n){var r=Se.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Ue(e,t,n){var r=Se.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function He(e,t,n){var r=Se.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Ve(e,t,n){var r=Se.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function We(e,t,n){var r=Se.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Ge(e,t,n){var r=Se.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Ye(e,t,n){var r=Se.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function qe(e,t,n){var r=Se.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Ke(e,t,n){var r=Se.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Xe(e,t,n){var r=Ie.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Qe(e,t,n){var r=Se.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Ze(e,t,n){var r=Se.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Je(e,t){return Pe(e.getDate(),t,2)}function et(e,t){return Pe(e.getHours(),t,2)}function tt(e,t){return Pe(e.getHours()%12||12,t,2)}function nt(e,t){return Pe(1+W.count(he(e),e),t,3)}function rt(e,t){return Pe(e.getMilliseconds(),t,3)}function it(e,t){return rt(e,t)+"000"}function ot(e,t){return Pe(e.getMonth()+1,t,2)}function at(e,t){return Pe(e.getMinutes(),t,2)}function st(e,t){return Pe(e.getSeconds(),t,2)}function lt(e){var t=e.getDay();return 0===t?7:t}function ct(e,t){return Pe(K.count(he(e)-1,e),t,2)}function ut(e){var t=e.getDay();return t>=4||0===t?J(e):J.ceil(e)}function dt(e,t){return e=ut(e),Pe(J.count(he(e),e)+(4===he(e).getDay()),t,2)}function ht(e){return e.getDay()}function pt(e,t){return Pe(X.count(he(e)-1,e),t,2)}function ft(e,t){return Pe(e.getFullYear()%100,t,2)}function gt(e,t){return Pe((e=ut(e)).getFullYear()%100,t,2)}function mt(e,t){return Pe(e.getFullYear()%1e4,t,4)}function yt(e,t){var n=e.getDay();return Pe((e=n>=4||0===n?J(e):J.ceil(e)).getFullYear()%1e4,t,4)}function xt(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Pe(t/60|0,"0",2)+Pe(t%60,"0",2)}function vt(e,t){return Pe(e.getUTCDate(),t,2)}function bt(e,t){return Pe(e.getUTCHours(),t,2)}function At(e,t){return Pe(e.getUTCHours()%12||12,t,2)}function wt(e,t){return Pe(1+G.count(pe(e),e),t,3)}function kt(e,t){return Pe(e.getUTCMilliseconds(),t,3)}function Mt(e,t){return kt(e,t)+"000"}function Ct(e,t){return Pe(e.getUTCMonth()+1,t,2)}function St(e,t){return Pe(e.getUTCMinutes(),t,2)}function It(e,t){return Pe(e.getUTCSeconds(),t,2)}function $t(e){var t=e.getUTCDay();return 0===t?7:t}function Pt(e,t){return Pe(re.count(pe(e)-1,e),t,2)}function Rt(e){var t=e.getUTCDay();return t>=4||0===t?se(e):se.ceil(e)}function Tt(e,t){return e=Rt(e),Pe(se.count(pe(e),e)+(4===pe(e).getUTCDay()),t,2)}function jt(e){return e.getUTCDay()}function _t(e,t){return Pe(ie.count(pe(e)-1,e),t,2)}function Ot(e,t){return Pe(e.getUTCFullYear()%100,t,2)}function Nt(e,t){return Pe((e=Rt(e)).getUTCFullYear()%100,t,2)}function Et(e,t){return Pe(e.getUTCFullYear()%1e4,t,4)}function Ft(e,t){var n=e.getUTCDay();return Pe((e=n>=4||0===n?se(e):se.ceil(e)).getUTCFullYear()%1e4,t,4)}function Lt(){return"+0000"}function Dt(){return"%"}function Bt(e){return+e}function zt(e){return Math.floor(+e/1e3)}we=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=Te(i),u=je(i),d=Te(o),h=je(o),p=Te(a),f=je(a),g=Te(s),m=je(s),y=Te(l),x=je(l),v={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Je,e:Je,f:it,g:gt,G:yt,H:et,I:tt,j:nt,L:rt,m:ot,M:at,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Bt,s:zt,S:st,u:lt,U:ct,V:dt,w:ht,W:pt,x:null,X:null,y:ft,Y:mt,Z:xt,"%":Dt},b={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:vt,e:vt,f:Mt,g:Nt,G:Ft,H:bt,I:At,j:wt,L:kt,m:Ct,M:St,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Bt,s:zt,S:It,u:$t,U:Pt,V:Tt,w:jt,W:_t,x:null,X:null,y:Ot,Y:Et,Z:Lt,"%":Dt},A={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=f.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=h.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=x.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return M(e,t,n,r)},d:He,e:He,f:Ke,g:De,G:Le,H:We,I:We,j:Ve,L:qe,m:Ue,M:Ge,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:ze,Q:Qe,s:Ze,S:Ye,u:Oe,U:Ne,V:Ee,w:_e,W:Fe,x:function(e,t,r){return M(e,n,t,r)},X:function(e,t,n){return M(e,r,t,n)},y:De,Y:Le,Z:Be,"%":Xe};function w(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=Ce[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function k(e,t){return function(n){var r,i,o=Ae(1900,void 0,1);if(M(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=be(Ae(o.y,0,1))).getUTCDay(),r=i>4||0===i?ie.ceil(r):ie(r),r=G.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=ve(Ae(o.y,0,1))).getDay(),r=i>4||0===i?X.ceil(r):X(r),r=W.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?be(Ae(o.y,0,1)).getUTCDay():ve(Ae(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,be(o)):ve(o)}}function M(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=A[i in Ce?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return v.x=w(n,v),v.X=w(r,v),v.c=w(t,v),b.x=w(n,b),b.X=w(r,b),b.c=w(t,b),{format:function(e){var t=w(e+="",v);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",b);return t.toString=function(){return e},t},utcParse:function(e){var t=k(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"]}),ke=we.format,we.parse,Me=we.utcFormat,we.utcParse;var Ut=n(4197),Ht=n(99065);function Vt(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],a=e[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),e[r]=t.floor(o),e[i]=t.ceil(a),e}function Wt(e){return new Date(e)}function Gt(e){return e instanceof Date?+e:+new Date(+e)}function Yt(e,t,n,r,i,o,a,s,l,c){var u=(0,Ut.Ay)(),d=u.invert,h=u.domain,p=c(".%L"),f=c(":%S"),g=c("%I:%M"),m=c("%I %p"),y=c("%a %d"),x=c("%b %d"),v=c("%B"),b=c("%Y");function A(e){return(l(e)<e?p:s(e)<e?f:a(e)<e?g:o(e)<e?m:r(e)<e?i(e)<e?y:x:n(e)<e?v:b)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?h(Array.from(e,Gt)):h().map(Wt)},u.ticks=function(t){var n=h();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?A:c(t)},u.nice=function(e){var n=h();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?h(Vt(n,e)):u},u.copy=function(){return(0,Ut.C)(u,Yt(e,t,n,r,i,o,a,s,l,c))},u}function qt(){return Ht.C.apply(Yt(ye,xe,he,ue,K,W,H,z,B,ke).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Kt=n(34598);function Xt(){var e,t,n=(0,Kt.A)().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,l=0,c=0,u=.5;function d(){var n=r().length,d=a<o,h=d?a:o,p=d?o:a;e=(p-h)/Math.max(1,n-l+2*c),s&&(e=Math.floor(e)),h+=(p-h-e*(n-l))*u,t=e*(1-l),s&&(h=Math.round(h),t=Math.round(t));var f=function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}(n).map(function(t){return h+e*t});return i(d?f.reverse():f)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),d()):r()},n.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,d()):[o,a]},n.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,s=!0,d()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(s=!!e,d()):s},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),d()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),d()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,d()):c},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},n.copy=function(){return Xt(r(),[o,a]).round(s).paddingInner(l).paddingOuter(c).align(u)},Ht.C.apply(d(),arguments)}function Qt(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Qt(t())},e}function Zt(){return Qt(Xt.apply(null,arguments).paddingInner(1))}var Jt=n(24578),en=n(9841),tn=n(1631),nn=n(48662);function rn(e){return Math.log(e)}function on(e){return Math.exp(e)}function an(e){return-Math.log(-e)}function sn(e){return-Math.exp(-e)}function ln(e){return isFinite(e)?+("1e"+e):e<0?0:e}function cn(e){return(t,n)=>-e(-t,n)}function un(){const e=function(e){const t=e(rn,on),n=t.domain;let r,i,o=10;function a(){return r=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(o),i=function(e){return 10===e?ln:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=cn(r),i=cn(i),e(an,sn)):e(rn,on),t}return t.base=function(e){return arguments.length?(o=+e,a()):o},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=e=>{const t=n();let a=t[0],s=t[t.length-1];const l=s<a;l&&([a,s]=[s,a]);let c,u,d=r(a),h=r(s);const p=null==e?10:+e;let f=[];if(!(o%1)&&h-d<p){if(d=Math.floor(d),h=Math.ceil(h),a>0){for(;d<=h;++d)for(c=1;c<o;++c)if(u=d<0?c/i(-d):c*i(d),!(u<a)){if(u>s)break;f.push(u)}}else for(;d<=h;++d)for(c=o-1;c>=1;--c)if(u=d>0?c/i(-d):c*i(d),!(u<a)){if(u>s)break;f.push(u)}2*f.length<p&&(f=(0,P.Ay)(a,s,p))}else f=(0,P.Ay)(d,h,Math.min(h-d,p)).map(i);return l?f.reverse():f},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===o?"s":","),"function"!=typeof n&&(o%1||null!=(n=(0,tn.A)(n)).precision||(n.trim=!0),n=(0,nn.GP)(n)),e===1/0)return n;const a=Math.max(1,o*e/t.ticks().length);return e=>{let t=e/i(Math.round(r(e)));return t*o<o-.5&&(t*=o),t<=a?n(e):""}},t.nice=()=>n(Vt(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}((0,Ut.Gu)()).domain([1,10]);return e.copy=()=>(0,Ut.C)(e,un()).base(e.base()),Ht.C.apply(e,arguments),e}var dn=n(46983);function hn(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function pn(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function fn(e){return e<0?-e*e:e*e}function gn(){var e=function(e){var t=e(Ut.D_,Ut.D_),n=1;return t.exponent=function(t){return arguments.length?1===(n=+t)?e(Ut.D_,Ut.D_):.5===n?e(pn,fn):e(hn(n),hn(1/n)):n},(0,dn.C)(t)}((0,Ut.Gu)());return e.copy=function(){return(0,Ut.C)(e,gn()).exponent(e.exponent())},Ht.C.apply(e,arguments),e}const mn=(e,t)=>{const n=e[1]-e[0],r=t[1]-t[0];return[e[0]-t[0]*n/r,e[1]+(100-t[1])*n/r]},yn=e=>e?.[0]instanceof Date;function xn(e,t){const n=qt(e.data,t);return(t,{location:r})=>"tick"===r?n.tickFormat(e.tickNumber)(t):`${t.toLocaleString()}`}function vn({drawingArea:e,formattedSeries:t,axis:n,extremumGetters:i,axisDirection:o,zoomData:a,zoomOptions:s,getFilters:l}){const c={};return n.forEach((n,u)=>{const d=n,h=s?.[d.id],p=a?.find(({axisId:e})=>e===d.id),f=p?[p.start,p.end]:[0,100],g=function(e,t,n){if("rotation"===t){const{startAngle:e=0,endAngle:t=e+360}=n;return n.reverse?[Math.PI*e/180,Math.PI*t/180]:[Math.PI*t/180,Math.PI*e/180]}if("radius"===t){const{minRadius:t=0,maxRadius:r=Math.min(e.width,e.height)/2}=n;return[t,r]}const r="x"===t?[e.left,e.left+e.width]:[e.top+e.height,e.top];return n.reverse?[r[1],r[0]]:r}(e,o,d),[m,y]=((e,t,n,r,i)=>{const o=Object.keys(t).reduce((o,a)=>((e,t,n,r,i,o,a)=>{const s=r[t],l=o[t]?.series??{},[c,u]=s?.({series:l,axis:n,axisIndex:i,isDefaultAxis:0===i,getFilters:a})??[1/0,-1/0],[d,h]=e;return[Math.min(c,d),Math.max(u,h)]})(o,a,e,t,n,r,i),[1/0,-1/0]);return Number.isNaN(o[0])||Number.isNaN(o[1])?[1/0,-1/0]:o})(d,i,u,t,void 0!==p||h?void 0:l),x=d.data??[];if("band"===d.scaleType){const e=d.categoryGapRatio??.2,t=d.barGapRatio??.1,n="y"===o?[g[1],g[0]]:g,i=mn(n,f);if(c[d.id]=(0,r.A)({categoryGapRatio:e,barGapRatio:t},d,{data:x,scale:Xt(d.data,i).paddingInner(e).paddingOuter(e/2),tickNumber:d.data.length,colorScale:d.colorMap&&("ordinal"===d.colorMap.type?(0,Jt.$U)((0,r.A)({values:d.data},d.colorMap)):(0,Jt.yw)(d.colorMap))}),yn(d.data)){const e=xn(d,n);c[d.id].valueFormatter=d.valueFormatter??e}}if("point"===d.scaleType){const e="y"===o?[...g].reverse():g,t=mn(e,f);if(c[d.id]=(0,r.A)({},d,{data:x,scale:Zt(d.data,t),tickNumber:d.data.length,colorScale:d.colorMap&&("ordinal"===d.colorMap.type?(0,Jt.$U)((0,r.A)({values:d.data},d.colorMap)):(0,Jt.yw)(d.colorMap))}),yn(d.data)){const t=xn(d,e);c[d.id].valueFormatter=d.valueFormatter??t}}if("band"===d.scaleType||"point"===d.scaleType)return;const v=d.scaleType??"linear",b=d.domainLimit??"nice",A=[d.min??m,d.max??y];if("function"==typeof b){const{min:e,max:t}=b(m,y);A[0]=e,A[1]=t}const w=(0,en.d)((0,r.A)({},d,{range:g,domain:A})),k=w/((f[1]-f[0])/100),M=function(e,t,n){switch(e){case"log":return un(t,n);case"pow":return gn(t,n);case"sqrt":return function(){return gn.apply(null,arguments).exponent(.5)}(t,n);case"time":return qt(t,n);case"utc":return function(){return Ht.C.apply(Yt(ge,me,pe,de,re,G,V,U,B,Me).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}(t,n);default:return(0,dn.A)(t,n)}}(v,A,mn(g,f)),C="nice"===b?M.nice(w):M,[S,I]=C.domain(),$=[d.min??S,d.max??I];c[d.id]=(0,r.A)({},d,{data:x,scaleType:v,scale:C.domain($),tickNumber:k,colorScale:d.colorMap&&(0,Jt.yw)(d.colorMap)})}),{axis:c,axisIds:n.map(({id:e})=>e)}}var bn=n(55202),An=n(76542);function wn(e){const{xAxis:t,yAxis:n,children:r}=e,o=(0,bn.NY)(),a=(0,k.N)(),s=function(){const{isInitialized:e,data:t}=i.useContext(p.b);if(!e)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t.xExtremumGetters}(),l=function(){const{isInitialized:e,data:t}=i.useContext(p.b);if(!e)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t.yExtremumGetters}(),c=i.useMemo(()=>vn({drawingArea:a,formattedSeries:o,axis:t,extremumGetters:s,axisDirection:"x"}),[a,o,t,s]),u=i.useMemo(()=>vn({drawingArea:a,formattedSeries:o,axis:n,extremumGetters:l,axisDirection:"y"}),[a,o,n,l]),d=i.useMemo(()=>({isInitialized:!0,data:{xAxis:c.axis,yAxis:u.axis,xAxisIds:c.axisIds,yAxisIds:u.axisIds}}),[c,u]);return(0,f.jsx)(An.Q.Provider,{value:d,children:r})}var kn=n(34426),Mn=n(13092),Cn=n(2501),Sn=n(91058);const In=(e,t)=>n=>!!e&&("series"===e.fade?n.seriesId===t?.seriesId&&n.dataIndex!==t?.dataIndex:"global"===e.fade&&(n.seriesId!==t?.seriesId||n.dataIndex!==t?.dataIndex)),$n=(e,t)=>n=>!!e&&("series"===e.highlight||"item"===e.highlight&&n.dataIndex===t?.dataIndex)&&n.seriesId===t?.seriesId,Pn=["highlighted","faded"];function Rn({children:e,highlightedItem:t,onHighlightChange:n}){const[o,a]=(0,Cn.A)({controlled:t,default:null,name:"HighlightedProvider",state:"highlightedItem"}),s=(0,bn.NY)(),l=i.useMemo(()=>{const e=new Map;return Object.keys(s).forEach(t=>{const n=s[t];Object.keys(n?.series??{}).forEach(t=>{const i=n?.series[t];e.set(t,(e=>{const t=e??{},{highlighted:n,faded:i}=t,o=(0,y.A)(t,Pn);return(0,r.A)({highlight:n,fade:i},o)})(i?.highlightScope))})}),e},[s]),c=o&&o.seriesId?l.get(o.seriesId)??void 0:void 0,u=i.useMemo(()=>({isInitialized:!0,data:{highlightScope:c,highlightedItem:o,setHighlighted:e=>{a(e),n?.(e)},clearHighlighted:()=>{a(null),n?.(null)},isHighlighted:$n(c,o),isFaded:In(c,o)}}),[o,c,a,n]);return(0,f.jsx)(Sn.T.Provider,{value:u,children:e})}const Tn=(e,t)=>"x"===t?{x:e,y:null}:{x:null,y:e},jn=e=>{const{axis:t,getFilters:n,isDefaultAxis:r}=e,i=n?.({currentAxisId:t.id,isDefaultAxis:r}),o=i?t.data?.filter((e,t)=>i({x:null,y:null},t)):t.data;return[Math.min(...o??[]),Math.max(...o??[])]},On=e=>t=>{const{series:n,axis:r,getFilters:i,isDefaultAxis:o}=t;return Object.keys(n).filter(e=>{const t=n[e].yAxisId??n[e].yAxisKey;return t===r.id||o&&void 0===t}).reduce((t,a)=>{const{stackedData:s}=n[a],l=i?.({currentAxisId:r.id,isDefaultAxis:o,seriesXAxisId:n[a].xAxisId??n[a].xAxisKey,seriesYAxisId:n[a].yAxisId??n[a].yAxisKey}),[c,u]=s?.reduce((t,n,r)=>!l||l(Tn(n[0],e),r)&&l(Tn(n[1],e),r)?[Math.min(...n,t[0]),Math.max(...n,t[1])]:t,[1/0,-1/0])??[1/0,-1/0];return[Math.min(c,t[0]),Math.max(u,t[1])]},[1/0,-1/0])};var Nn=n(45917),En=n(48946);function Fn(e,t){if((i=e.length)>1)for(var n,r,i,o=1,a=e[t[0]],s=a.length;o<i;++o)for(r=a,a=e[t[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function Ln(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Dn(e,t){return e[t]}function Bn(e){const t=[];return t.key=e,t}function zn(){var e=(0,En.A)([]),t=Ln,n=Fn,r=Dn;function i(i){var o,a,s=Array.from(e.apply(this,arguments),Bn),l=s.length,c=-1;for(const e of i)for(o=0,++c;o<l;++o)(s[o][c]=[0,+r(e,s[o].key,c,i)]).data=e;for(o=0,a=(0,Nn.A)(t(s));o<l;++o)s[a[o]].index=o;return n(s,a),s}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:(0,En.A)(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r="function"==typeof e?e:(0,En.A)(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?Ln:"function"==typeof e?e:(0,En.A)(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Fn:e,i):n},i}function Un(e){var t=e.map(Hn);return Ln(e).sort(function(e,n){return t[e]-t[n]})}function Hn(e){for(var t,n=-1,r=0,i=e.length,o=-1/0;++n<i;)(t=+e[n][1])>o&&(o=t,r=n);return r}function Vn(e){var t=e.map(Wn);return Ln(e).sort(function(e,n){return t[e]-t[n]})}function Wn(e){for(var t,n=0,r=-1,i=e.length;++r<i;)(t=+e[r][1])&&(n+=t);return n}const Gn={appearance:Un,ascending:Vn,descending:function(e){return Vn(e).reverse()},insideOut:function(e){var t,n,r=e.length,i=e.map(Wn),o=Un(e),a=0,s=0,l=[],c=[];for(t=0;t<r;++t)n=o[t],a<s?(a+=i[n],l.push(n)):(s+=i[n],c.push(n));return c.reverse().concat(l)},none:Ln,reverse:function(e){return Ln(e).reverse()}},Yn={expand:function(e,t){if((r=e.length)>0){for(var n,r,i,o=0,a=e[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=e[n][o][1]||0;if(i)for(n=0;n<r;++n)e[n][o][1]/=i}Fn(e,t)}},diverging:function(e,t){if((s=e.length)>0)for(var n,r,i,o,a,s,l=0,c=e[t[0]].length;l<c;++l)for(o=a=0,n=0;n<s;++n)(i=(r=e[t[n]][l])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},none:Fn,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<n;++a)s+=e[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}Fn(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var s=0,l=0,c=0;s<i;++s){for(var u=e[t[s]],d=u[a][1]||0,h=(d-(u[a-1][1]||0))/2,p=0;p<s;++p){var f=e[t[p]];h+=(f[a][1]||0)-(f[a-1][1]||0)}l+=d,c+=h*d}n[a-1][1]+=n[a-1][0]=o,l&&(o-=c/l)}n[a-1][1]+=n[a-1][0]=o,Fn(e,t)}}},qn=e=>{const{series:t,seriesOrder:n,defaultStrategy:r}=e,i=[],o={};return n.forEach(e=>{const{stack:n,stackOrder:a,stackOffset:s}=t[e];void 0===n?i.push({ids:[e],stackingOrder:Gn.none,stackingOffset:Yn.none}):void 0===o[n]?(o[n]=i.length,i.push({ids:[e],stackingOrder:Gn[a??r?.stackOrder??"none"],stackingOffset:Yn[s??r?.stackOffset??"diverging"]})):(i[o[n]].ids.push(e),void 0!==a&&(i[o[n]].stackingOrder=Gn[a]),void 0!==s&&(i[o[n]].stackingOffset=Yn[s]))}),i};function Kn(e,t){const n={};return Object.keys(e).forEach(i=>{n[i]=(0,r.A)({},e[i],{valueFormatter:e[i].valueFormatter??t})}),n}const Xn={seriesType:"bar",seriesFormatter:(e,t)=>{const{seriesOrder:n,series:i}=e,o=qn(e),a=t??[];n.forEach(e=>{const n=i[e].data;if(void 0!==n)n.forEach((t,n)=>{a.length<=n?a.push({[e]:t}):a[n][e]=t});else if(void 0===t)throw new Error([`MUI X: bar series with id='${e}' has no data.`,"Either provide a data property to the series or use the dataset prop."].join("\n"))});const s={};return o.forEach(e=>{const{ids:n,stackingOffset:o,stackingOrder:l}=e,c=zn().keys(n.map(e=>{const t=i[e].dataKey;return void 0===i[e].data&&void 0!==t?t:e})).value((e,t)=>e[t]??0).order(l).offset(o)(a);n.forEach((e,n)=>{const o=i[e].dataKey;s[e]=(0,r.A)({layout:"vertical"},i[e],{data:o?t.map(e=>{const t=e[o];return"number"!=typeof t?0:t}):i[e].data,stackedData:c[n].map(([e,t])=>[e,t])})})}),{seriesOrder:n,stackingGroups:o,series:Kn(s,e=>null==e?"":e.toLocaleString())}},colorProcessor:(e,t,n)=>{const r="vertical"===e.layout,i=r?t?.colorScale:n?.colorScale,o=r?n?.colorScale:t?.colorScale,a=r?t?.data:n?.data;return o?t=>{const n=e.data[t],r=null===n?e.color:o(n);return null===r?e.color:r}:i&&a?t=>{const n=a[t],r=null===n?e.color:i(n);return null===r?e.color:r}:()=>e.color},xExtremumGetter:e=>Object.keys(e.series).some(t=>"horizontal"===e.series[t].layout)?On("x")(e):jn(e),yExtremumGetter:e=>Object.keys(e.series).some(t=>"horizontal"===e.series[t].layout)?jn(e):On("y")(e)},Qn=(e,t)=>[null===t[0]?e[0]:Math.min(e[0],t[0]),null===t[1]?e[1]:Math.max(e[1],t[1])],Zn={seriesType:"scatter",seriesFormatter:({series:e,seriesOrder:t},n)=>({series:Object.fromEntries(Object.entries(e).map(([e,t])=>{const i=t?.datasetKeys,o=["x","y","id"].filter(e=>"string"!=typeof i?.[e]);if(t?.datasetKeys&&o.length>0)throw new Error([`MUI X: scatter series with id='${e}' has incomplete datasetKeys.`,`Properties ${o.map(e=>`"${e}"`).join(", ")} are missing.`].join("\n"));const a=i?n?.map(e=>({x:e[i.x]??null,y:e[i.y]??null,z:i.z&&e[i.z],id:e[i.id]}))??[]:t.data??[];return[e,(0,r.A)({},t,{data:a,valueFormatter:t.valueFormatter??(e=>`(${e.x}, ${e.y})`)})]})),seriesOrder:t}),colorProcessor:(e,t,n,r)=>{const i=r?.colorScale,o=n?.colorScale,a=t?.colorScale;return i?t=>{if(void 0!==r?.data?.[t]){const e=i(r?.data?.[t]);if(null!==e)return e}const n=e.data[t],o=null===n?e.color:i(n.z);return null===o?e.color:o}:o?t=>{const n=e.data[t],r=null===n?e.color:o(n.y);return null===r?e.color:r}:a?t=>{const n=e.data[t],r=null===n?e.color:a(n.x);return null===r?e.color:r}:()=>e.color},xExtremumGetter:e=>{const{series:t,axis:n,isDefaultAxis:r,getFilters:i}=e;return Object.keys(t).filter(e=>{const i=t[e].xAxisId??t[e].xAxisKey;return i===n.id||void 0===i&&r}).reduce((e,o)=>{const a=i?.({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:t[o].xAxisId??t[o].xAxisKey,seriesYAxisId:t[o].yAxisId??t[o].yAxisKey}),s=t[o].data?.reduce((e,t,n)=>a&&!a(t,n)?e:Qn(e,[t.x,t.x]),[1/0,-1/0]);return Qn(e,s??[1/0,-1/0])},[1/0,-1/0])},yExtremumGetter:e=>{const{series:t,axis:n,isDefaultAxis:r,getFilters:i}=e;return Object.keys(t).filter(e=>{const i=t[e].yAxisId??t[e].yAxisKey;return i===n.id||void 0===i&&r}).reduce((e,o)=>{const a=i?.({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:t[o].xAxisId??t[o].xAxisKey,seriesYAxisId:t[o].yAxisId??t[o].yAxisKey}),s=t[o].data?.reduce((e,t,n)=>a&&!a(t,n)?e:Qn(e,[t.y,t.y]),[1/0,-1/0]);return Qn(e,s??[1/0,-1/0])},[1/0,-1/0])}},Jn={seriesType:"line",colorProcessor:n(32203).A,seriesFormatter:(e,t)=>{const{seriesOrder:n,series:i}=e,o=qn((0,r.A)({},e,{defaultStrategy:{stackOffset:"none"}})),a=t??[];n.forEach(e=>{const t=i[e].data;void 0!==t&&t.forEach((t,n)=>{a.length<=n?a.push({[e]:t}):a[n][e]=t})});const s={};return o.forEach(e=>{const{ids:n,stackingOrder:o,stackingOffset:l}=e,c=zn().keys(n.map(e=>{const t=i[e].dataKey;return void 0===i[e].data&&void 0!==t?t:e})).value((e,t)=>e[t]??0).order(o).offset(l)(a);n.forEach((e,n)=>{const o=i[e].dataKey;s[e]=(0,r.A)({},i[e],{data:o?t.map(e=>{const t=e[o];return"number"!=typeof t?null:t}):i[e].data,stackedData:c[n].map(([e,t])=>[e,t])})})}),{seriesOrder:n,stackingGroups:o,series:Kn(s,e=>null==e?"":e.toLocaleString())}},xExtremumGetter:e=>{const{axis:t}=e;return[Math.min(...t.data??[]),Math.max(...t.data??[])]},yExtremumGetter:e=>{const{series:t,axis:n,isDefaultAxis:r,getFilters:i}=e;return Object.keys(t).filter(e=>{const i=t[e].yAxisId??t[e].yAxisKey;return i===n.id||r&&void 0===i}).reduce((e,o)=>{const{area:a,stackedData:s}=t[o],l=void 0!==a,c=i?.({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:t[o].xAxisId??t[o].xAxisKey,seriesYAxisId:t[o].yAxisId??t[o].yAxisKey}),u=function(e,t,n){return t.reduce((t,r,i)=>{const[o,a]=e(r);return!n||n({y:o,x:null},i)&&n({y:a,x:null},i)?[Math.min(o,a,t[0]),Math.max(o,a,t[1])]:t},[1/0,-1/0])}(l&&"log"!==n.scaleType&&"string"!=typeof t[o].baseline?e=>e:e=>[e[1],e[1]],s,c),[d,h]=u;return[Math.min(d,e[0]),Math.max(h,e[1])]},[1/0,-1/0])}};function er(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function tr(e){return e}var nr=n(12171),rr=n(32586);const ir=[Xn,Zn,Jn,{seriesType:"pie",colorProcessor:e=>t=>e.data[t].color,seriesFormatter:e=>{const{seriesOrder:t,series:n}=e,i={};return t.forEach(e=>{const t=function(){var e=tr,t=er,n=null,r=(0,En.A)(0),i=(0,En.A)(nr.FA),o=(0,En.A)(0);function a(a){var s,l,c,u,d,h=(a=(0,Nn.A)(a)).length,p=0,f=new Array(h),g=new Array(h),m=+r.apply(this,arguments),y=Math.min(nr.FA,Math.max(-nr.FA,i.apply(this,arguments)-m)),x=Math.min(Math.abs(y)/h,o.apply(this,arguments)),v=x*(y<0?-1:1);for(s=0;s<h;++s)(d=g[f[s]=s]=+e(a[s],s,a))>0&&(p+=d);for(null!=t?f.sort(function(e,n){return t(g[e],g[n])}):null!=n&&f.sort(function(e,t){return n(a[e],a[t])}),s=0,c=p?(y-h*v)/p:0;s<h;++s,m=u)l=f[s],u=m+((d=g[l])>0?d*c:0)+v,g[l]={data:a[l],index:s,value:d,startAngle:m,endAngle:u,padAngle:x};return g}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,En.A)(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,n=null,a):t},a.sort=function(e){return arguments.length?(n=e,t=null,a):n},a.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:(0,En.A)(+e),a):r},a.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:(0,En.A)(+e),a):i},a.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:(0,En.A)(+e),a):o},a}().startAngle(2*Math.PI*(n[e].startAngle??0)/360).endAngle(2*Math.PI*(n[e].endAngle??360)/360).padAngle(2*Math.PI*(n[e].paddingAngle??0)/360).sortValues(((e="none")=>{if("function"==typeof e)return e;switch(e){case"none":default:return null;case"desc":return(e,t)=>t-e;case"asc":return(e,t)=>e-t}})(n[e].sortingValues??"none"))(n[e].data.map(e=>e.value));i[e]=(0,r.A)({valueFormatter:e=>e.value.toLocaleString()},n[e],{data:n[e].data.map((n,i)=>(0,r.A)({},n,{id:n.id??`auto-generated-pie-id-${e}-${i}`},t[i])).map((t,i)=>(0,r.A)({},t,{formattedValue:n[e].valueFormatter?.((0,r.A)({},t,{label:(0,rr.p)(t.label,"arc")}),{dataIndex:i})??t.value.toLocaleString()}))})}),{seriesOrder:t,series:i}}}];function or(e){const t=e??ir,n={},r={},i={},o={},a={},s={};for(let e=0;e<t.length;e+=1){const l=t[e],c=l.seriesType;n[c]=l.seriesFormatter,r[c]=l.colorProcessor,l.xExtremumGetter&&(i[c]=l.xExtremumGetter),l.yExtremumGetter&&(o[c]=l.yExtremumGetter),l.rotationExtremumGetter&&(a[c]=l.rotationExtremumGetter),l.radiusExtremumGetter&&(s[c]=l.radiusExtremumGetter)}return{seriesFormatters:n,colorProcessors:r,xExtremumGetters:i,yExtremumGetters:o,rotationExtremumGetters:a,radiusExtremumGetters:s}}function ar(e){const{children:t,plugins:n}=e,r=i.useMemo(()=>({isInitialized:!0,data:or(n)}),[n]);return(0,f.jsx)(p.b.Provider,{value:r,children:t})}var sr=n(31523),lr=n(4897);const cr=(e,t,n)=>{const i="x"===n?lr.nW:lr.sk;return[...e?.map((e,t)=>(0,r.A)({id:`defaultized-${n}-axis-${t}`},e))??[],...void 0===e||-1===e.findIndex(({id:e})=>e===i)?[{id:i,scaleType:"linear"}]:[]].map(e=>{const i=e.dataKey;if(void 0===i||void 0!==e.data)return e;if(void 0===t)throw new Error(`MUI X: ${n}-axis uses \`dataKey\` but no \`dataset\` is provided.`);return(0,r.A)({},e,{data:t.map(e=>e[i])})})},ur=["width","height","series","margin","xAxis","yAxis","zAxis","colors","dataset","sx","title","desc","disableAxisListener","highlightedItem","onHighlightChange","plugins","children","skipAnimation"];var dr=n(52555),hr=n(1374);function pr(e){const{children:t,skipAnimation:n}=e,r="undefined"==typeof window||!window?.matchMedia,[o,a]=i.useState(r||void 0);(0,dr.Es)(()=>{if(r)return;const e=e=>{const t=e.matches||void 0;a(t),dr.RV.assign({skipAnimation:t})},t=window.matchMedia("(prefers-reduced-motion)");return e(t),t?.addEventListener?.("change",e),()=>{t?.removeEventListener?.("change",e)}},[]);const s=i.useMemo(()=>({isInitialized:!0,data:{skipAnimation:n||o}}),[o,n]);return(0,f.jsx)(hr.e.Provider,{value:s,children:t})}const fr=i.forwardRef(function(e,t){const{children:n,drawingProviderProps:a,seriesProviderProps:s,cartesianProviderProps:l,zAxisContextProps:c,highlightedProviderProps:u,chartsSurfaceProps:d,pluginProviderProps:h,animationProviderProps:p}=((e,t)=>{const{width:n,height:o,series:a,margin:s,xAxis:l,yAxis:c,zAxis:u,colors:d,dataset:h,sx:p,title:f,desc:g,disableAxisListener:m,highlightedItem:x,onHighlightChange:v,plugins:b,children:A,skipAnimation:w}=e,k=(0,y.A)(e,ur),M=i.useRef(null),C=(0,sr.A)(t,M),[S,I]=((e,t,n)=>[i.useMemo(()=>cr(e,n,"x"),[e,n]),i.useMemo(()=>cr(t,n,"y"),[t,n])])(l,c,h),$={skipAnimation:w},P={plugins:b};return{children:A,drawingProviderProps:{width:n,height:o,margin:s,svgRef:M},seriesProviderProps:{series:a,colors:d,dataset:h},cartesianProviderProps:{xAxis:S,yAxis:I,dataset:h},zAxisContextProps:{zAxis:u,dataset:h},highlightedProviderProps:{highlightedItem:x,onHighlightChange:v},chartsSurfaceProps:(0,r.A)({},k,{width:n,height:o,ref:C,sx:p,title:f,desc:g,disableAxisListener:m}),pluginProviderProps:P,animationProviderProps:$,xAxis:S,yAxis:I}})(e,t);return(0,f.jsx)(o.QN,(0,r.A)({},a,{children:(0,f.jsx)(ar,(0,r.A)({},h,{children:(0,f.jsx)(g,(0,r.A)({},s,{children:(0,f.jsx)(wn,(0,r.A)({},l,{children:(0,f.jsx)(Mn.C,(0,r.A)({},c,{children:(0,f.jsx)(m.v,{children:(0,f.jsx)(Rn,(0,r.A)({},u,{children:(0,f.jsxs)(I,(0,r.A)({},d,{children:[(0,f.jsx)(kn.Y,{}),(0,f.jsx)(pr,(0,r.A)({},p,{children:n}))]}))}))})}))}))}))}))}))}),gr=(0,x.Ay)("div",{name:"MuiResponsiveChart",slot:"Container"})(({ownerState:e})=>({width:e.width??"100%",height:e.height??"100%",display:"flex",position:"relative",flexGrow:1,flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden","&>svg":{width:"100%",height:"100%"}}));var mr=n(21529),yr=n(44877);const xr=["width","height","resolveSizeBeforeRender","margin","children","series","colors","dataset","desc","disableAxisListener","highlightedItem","onHighlightChange","plugins","sx","title","viewBox","xAxis","yAxis","zAxis","skipAnimation"],vr=i.forwardRef(function(e,t){const{hasIntrinsicSize:n,chartContainerProps:o,resizableChartContainerProps:a}=((e,t)=>{const{width:n,height:o,resolveSizeBeforeRender:a,margin:s,children:l,series:c,colors:u,dataset:d,desc:h,disableAxisListener:p,highlightedItem:f,onHighlightChange:g,plugins:m,sx:x,title:v,viewBox:b,xAxis:A,yAxis:w,zAxis:k,skipAnimation:M}=e,C=(0,y.A)(e,xr),{containerRef:S,width:I,height:$}=((e,t,n)=>{const r=i.useRef({displayError:!1,initialCompute:!0,computeRun:0}),o=i.useRef(null),[a,s]=i.useState(0),[l,c]=i.useState(0),u=i.useCallback(()=>{const e=o?.current;if(!e)return{};const t=(0,yr.A)(e).getComputedStyle(e),n=Math.floor(parseFloat(t.height))||0,r=Math.floor(parseFloat(t.width))||0;return s(r),c(n),{width:r,height:n}},[]);return i.useEffect(()=>{r.current.displayError=!0},[]),(0,mr.A)(()=>{if(!n||!r.current.initialCompute||r.current.computeRun>20)return;const e=u();e.width!==a||e.height!==l?r.current.computeRun+=1:r.current.initialCompute&&(r.current.initialCompute=!1)},[a,l,u,n]),(0,mr.A)(()=>{if(void 0!==e&&void 0!==t)return()=>{};u();const n=o.current;if("undefined"==typeof ResizeObserver)return()=>{};let r;const i=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{u()})});return n&&i.observe(n),()=>{r&&cancelAnimationFrame(r),n&&i.unobserve(n)}},[u,t,e]),{containerRef:o,width:e??a,height:t??l}})(n,o,a);return{hasIntrinsicSize:I&&$,chartContainerProps:{margin:s,children:l,series:c,colors:u,dataset:d,desc:h,disableAxisListener:p,highlightedItem:f,onHighlightChange:g,plugins:m,sx:x,title:v,viewBox:b,xAxis:A,yAxis:w,zAxis:k,skipAnimation:M,width:I,height:$,ref:t},resizableChartContainerProps:(0,r.A)({},C,{ownerState:{width:n,height:o},ref:S})}})(e,t);return(0,f.jsx)(gr,(0,r.A)({},a,{children:n?(0,f.jsx)(fr,(0,r.A)({},o)):null}))})},30145(e,t,n){n.d(t,{A:()=>i});var r=n(93559);function i(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},31355(e,t,n){n.d(t,{A:()=>r});const r="$$material"},32203(e,t,n){n.d(t,{A:()=>r});const r=(e,t,n)=>{const r=n?.colorScale,i=t?.colorScale;return r?t=>{const n=e.data[t],i=null===n?e.color:r(n);return null===i?e.color:i}:i?n=>{const r=t.data?.[n],o=null===r?e.color:i(r);return null===o?e.color:o}:()=>e.color}},32586(e,t,n){function r(e,t){return"function"==typeof e?e(t):e}n.d(t,{p:()=>r})},33372(e,t,n){n.d(t,{A:()=>i});var r=n(93781);function i(e=8,t=(0,r.LX)({spacing:e})){if(e.mui)return e;const n=(...e)=>(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ");return n.mui=!0,n}},33494(e,t,n){function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}n.d(t,{A:()=>o});const i=function(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i};function o(e,t,n=!1){const r={...t};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const s=a;if("components"===s||"slots"===s)r[s]={...e[s],...r[s]};else if("componentsProps"===s||"slotProps"===s){const i=e[s],a=t[s];if(a)if(i){r[s]={...a};for(const e in i)if(Object.prototype.hasOwnProperty.call(i,e)){const t=e;r[s][t]=o(i[t],a[t],n)}}else r[s]=a;else r[s]=i||{}}else"className"===s&&n&&t.className?r.className=i(e?.className,t?.className):"style"===s&&n&&t.style?r.style={...e?.style,...t?.style}:void 0===r[s]&&(r[s]=e[s])}return r}},34426(e,t,n){n.d(t,{Y:()=>p,Q:()=>h});var r=n(51609),i=n(18917),o=n(21818),a=n(89812),s=n(10790);function l(e){const{isReversed:t,gradientId:n,size:i,direction:o,scale:a,colorMap:l}=e;return i<=0?null:(0,s.jsx)("linearGradient",{id:n,x1:"0",x2:"0",y1:"0",y2:"0",[`${o}${t?1:2}`]:`${i}px`,gradientUnits:"userSpaceOnUse",children:l.thresholds.map((e,n)=>{const o=a(e);if(void 0===o)return null;const c=t?1-o/i:o/i;return(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)("stop",{offset:c,stopColor:l.colors[n],stopOpacity:1}),(0,s.jsx)("stop",{offset:c,stopColor:l.colors[n+1],stopOpacity:1})]},e.toString()+n)})})}var c=n(8981),u=n(58172);function d(e){const{gradientUnits:t,isReversed:n,gradientId:r,size:i,direction:o,scale:a,colorScale:l,colorMap:d}=e,h=[d.min??0,d.max??100],p=h.map(a).filter(e=>void 0!==e);if(2!==p.length)return null;const f="number"==typeof h[0]?(0,c.A)(h[0],h[1]):(0,u.A)(h[0],h[1]),g=Math.round((Math.max(...p)-Math.min(...p))/10),m=`${h[0]}-${h[1]}-`;return(0,s.jsx)("linearGradient",{id:r,x1:"0",x2:"0",y1:"0",y2:"0",[`${o}${n?1:2}`]:"objectBoundingBox"===t?1:`${i}px`,gradientUnits:t??"userSpaceOnUse",children:Array.from({length:g+1},(e,t)=>{const r=f(t/g);if(void 0===r)return null;const o=a(r);if(void 0===o)return null;const c=n?1-o/i:o/i,u=l(r);return null===u?null:(0,s.jsx)("stop",{offset:c,stopColor:u,stopOpacity:1},m+t)})})}function h(){const{chartId:e}=r.useContext(o.wf);return r.useCallback((t,n)=>`${e}-gradient-${n}-${t}`,[e])}function p(){const{top:e,height:t,bottom:n,left:r,width:o,right:c}=(0,a.N)(),u=e+t+n,p=r+o+c,f=h(),{xAxisIds:g,xAxis:m,yAxisIds:y,yAxis:x}=(0,i.T)();return(0,s.jsxs)("defs",{children:[y.filter(e=>void 0!==x[e].colorMap).map(e=>{const t=f(e,"y"),{colorMap:n,scale:r,colorScale:i,reverse:o}=x[e];return"piecewise"===n?.type?(0,s.jsx)(l,{isReversed:!o,scale:r,colorMap:n,size:u,gradientId:t,direction:"y"},t):"continuous"===n?.type?(0,s.jsx)(d,{isReversed:!o,scale:r,colorScale:i,colorMap:n,size:u,gradientId:t,direction:"y"},t):null}),g.filter(e=>void 0!==m[e].colorMap).map(e=>{const t=f(e,"x"),{colorMap:n,scale:r,reverse:i,colorScale:o}=m[e];return"piecewise"===n?.type?(0,s.jsx)(l,{isReversed:i,scale:r,colorMap:n,size:p,gradientId:t,direction:"x"},t):"continuous"===n?.type?(0,s.jsx)(d,{isReversed:i,scale:r,colorScale:o,colorMap:n,size:p,gradientId:t,direction:"x"},t):null})]})}},34530(e,t,n){n.d(t,{n:()=>u});var r=n(58168),i=n(98587),o=n(51609),a=n(57203),s=n(10790);const l=["x","y","style","text","ownerState"],c=["angle","textAnchor","dominantBaseline"];function u(e){const{x:t,y:n,style:u,text:d}=e,h=(0,i.A)(e,l),p=u??{},{angle:f,textAnchor:g,dominantBaseline:m}=p,y=(0,i.A)(p,c),x=o.useMemo(()=>(0,a.q)({style:y,needsComputation:d.includes("\n"),text:d}),[y,d]);let v;switch(m){case"hanging":v=0;break;case"central":v=(x.length-1)/2*-x[0].height;break;default:v=(x.length-1)*-x[0].height}const b=[];return f&&b.push(`rotate(${f}, ${t}, ${n})`),(0,s.jsx)("text",(0,r.A)({},h,{transform:b.length>0?b.join(" "):void 0,x:t,y:n,textAnchor:g,dominantBaseline:m,style:y,children:x.map((e,n)=>(0,s.jsx)("tspan",{x:t,dy:`${0===n?v:x[0].height}px`,dominantBaseline:m,children:e.text},n))}))}},34598(e,t,n){n.d(t,{A:()=>l});class r extends Map{constructor(e,t=o){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(i(this,e))}has(e){return super.has(i(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const 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){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function i({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function o(e){return null!==e&&"object"==typeof e?e.valueOf():e}Set;var a=n(99065);const s=Symbol("implicit");function l(){var e=new r,t=[],n=[],i=s;function o(r){let o=e.get(r);if(void 0===o){if(i!==s)return i;e.set(r,o=t.push(r)-1)}return n[o%n.length]}return o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new r;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(i=e,o):i},o.copy=function(){return l(t,n).unknown(i)},a.C.apply(o,arguments),o}},39291(e,t,n){function r(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${n} for the full message.`}n.d(t,{A:()=>r})},39612(e,t,n){n.d(t,{Ay:()=>s,BO:()=>a,Yn:()=>o});var r=n(30145),i=n(7196);function o(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,n,r=n){let i;return i="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:o(e,n)||r,t&&(i=t(i,r,e)),i}const s=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=o(e.theme,s)||{};return(0,i.NI)(e,c,e=>{let i=a(u,l,e);return e===i&&"string"==typeof e&&(i=a(u,l,`${t}${"default"===e?"":(0,r.A)(e)}`,e)),!1===n?i:{[n]:i}})};return c.propTypes={},c.filterProps=[t],c}},42657(e,t,n){n.d(t,{A:()=>Ye});var r=n(39291),i=n(51609),o=n(54405);function a(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function s(e){if(i.isValidElement(e)||(0,o.Hy)(e)||!a(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=s(e[n])}),t}function l(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return a(e)&&a(t)&&Object.keys(t).forEach(c=>{i.isValidElement(t[c])||(0,o.Hy)(t[c])?r[c]=t[c]:a(t[c])&&Object.prototype.hasOwnProperty.call(e,c)&&a(e[c])?r[c]=l(e[c],t[c],n):n.clone?r[c]=a(t[c])?s(t[c]):t[c]:r[c]=t[c]}),r}var c=n(93559);function u(e,t=0,n=1){return function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}(e,t,n)}function d(e){if(e.type)return e;if("#"===e.charAt(0))return d(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error((0,c.A)(9,e));let r,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),r=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error((0,c.A)(10,r))}else i=i.split(",");return i=i.map(e=>parseFloat(e)),{type:n,values:i,colorSpace:r}}const h=(e,t)=>{try{return(e=>{const t=d(e);return t.values.slice(0,3).map((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e).join(" ")})(e)}catch(t){return e}};function p(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function f(e){e=d(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),a=(e,t=(e+n/30)%12)=>i-o*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),p({type:s,values:l})}function g(e){let t="hsl"===(e=d(e)).type||"hsla"===e.type?d(f(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function m(e,t){return e=d(e),t=u(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,p(e)}function y(e,t,n){try{return m(e,t)}catch(t){return e}}function x(e,t){if(e=d(e),t=u(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return p(e)}function v(e,t,n){try{return x(e,t)}catch(t){return e}}function b(e,t){if(e=d(e),t=u(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return p(e)}function A(e,t,n){try{return b(e,t)}catch(t){return e}}function w(e,t,n){try{return function(e,t=.15){return g(e)>.5?x(e,t):b(e,t)}(e,t)}catch(t){return e}}const k={black:"#000",white:"#fff"},M={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},C="#f3e5f5",S="#ce93d8",I="#ba68c8",$="#ab47bc",P="#9c27b0",R="#7b1fa2",T="#e57373",j="#ef5350",_="#f44336",O="#d32f2f",N="#c62828",E="#ffb74d",F="#ffa726",L="#ff9800",D="#f57c00",B="#e65100",z="#e3f2fd",U="#90caf9",H="#42a5f5",V="#1976d2",W="#1565c0",G="#4fc3f7",Y="#29b6f6",q="#03a9f4",K="#0288d1",X="#01579b",Q="#81c784",Z="#66bb6a",J="#4caf50",ee="#388e3c",te="#2e7d32",ne="#1b5e20";function re(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:k.white,default:k.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const ie=re();function oe(){return{text:{primary:k.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:k.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const ae=oe();function se(e,t,n,r){const i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=b(e.main,i):"dark"===t&&(e.dark=x(e.main,o)))}function le(e,t,n,r,i){const o=i.light||i,a=i.dark||1.5*i;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:"light"===n?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(100*o).toFixed(0)}%)`:"dark"===n&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(100*a).toFixed(0)}%)`))}function ce(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:i=.2,colorSpace:o,...a}=e,s=e.primary||function(e="light"){return"dark"===e?{main:U,light:z,dark:H}:{main:V,light:H,dark:W}}(t),c=e.secondary||function(e="light"){return"dark"===e?{main:S,light:C,dark:$}:{main:P,light:I,dark:R}}(t),u=e.error||function(e="light"){return"dark"===e?{main:_,light:T,dark:O}:{main:O,light:j,dark:N}}(t),d=e.info||function(e="light"){return"dark"===e?{main:Y,light:G,dark:K}:{main:K,light:q,dark:X}}(t),h=e.success||function(e="light"){return"dark"===e?{main:Z,light:Q,dark:ee}:{main:te,light:J,dark:ne}}(t),p=e.warning||function(e="light"){return"dark"===e?{main:F,light:E,dark:D}:{main:"#ed6c02",light:L,dark:B}}(t);function f(e){if(o)return function(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}(e);const t=function(e,t){const n=g(e),r=g(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,ae.text.primary)>=n?ae.text.primary:ie.text.primary;return t}const m=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:s=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,r.A)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,r.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return o?(le(o,e,"light",a,i),le(o,e,"dark",s,i)):(se(e,"light",a,i),se(e,"dark",s,i)),e.contrastText||(e.contrastText=f(e.main)),e};let y;return"light"===t?y=re():"dark"===t&&(y=oe()),l({common:{...k},mode:t,primary:m({color:s,name:"primary"}),secondary:m({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:u,name:"error"}),warning:m({color:p,name:"warning"}),info:m({color:d,name:"info"}),success:m({color:h,name:"success"}),grey:M,contrastThreshold:n,getContrastText:f,augmentColor:m,tonalOffset:i,...y},a)}function ue(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}var de=n(33372),he=n(93781);function pe(e){const t={};return Object.entries(e).forEach(e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),t}var fe=n(10575);const ge=(e,t,n,r=[])=>{let i=e;t.forEach((e,o)=>{o===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&"object"==typeof i&&(i[e]=n):i&&"object"==typeof i&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})};function me(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},o={},a={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(i,{[r]:l}),ge(o,e,`var(${r})`,s),ge(a,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach(([t,i])=>{(!l||l&&!l([...n,t]))&&null!=i&&("object"==typeof i&&Object.keys(i).length>0?e(i,[...n,t],Array.isArray(i)?[...r,t]:r):s([...n,t],i,r))})}(e),{css:i,vars:o,varsWithDefaults:a}}var ye=n(98762),xe=n(95548),ve=n(65387);const be={textTransform:"uppercase"},Ae='"Roboto", "Helvetica", "Arial", sans-serif';function we(e,t){const{fontFamily:n=Ae,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:o=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:u,pxToRem:d,...h}="function"==typeof t?t(e):t,p=r/14,f=d||(e=>e/c*p+"rem"),g=(e,t,r,i,o)=>{return{fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:r,...n===Ae?{letterSpacing:(a=i/t,Math.round(1e5*a)/1e5+"em")}:{},...o,...u};var a},m={h1:g(i,96,1.167,-1.5),h2:g(i,60,1.2,-.5),h3:g(o,48,1.167,0),h4:g(o,34,1.235,.25),h5:g(o,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(o,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(o,16,1.5,.15),body2:g(o,14,1.43,.15),button:g(a,14,1.75,.4,be),caption:g(o,12,1.66,.4),overline:g(o,12,2.66,1,be),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return l({htmlFontSize:c,pxToRem:f,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:o,fontWeightMedium:a,fontWeightBold:s,...m},h,{clone:!1})}function ke(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Me=["none",ke(0,2,1,-1,0,1,1,0,0,1,3,0),ke(0,3,1,-2,0,2,2,0,0,1,5,0),ke(0,3,3,-2,0,3,4,0,0,1,8,0),ke(0,2,4,-1,0,4,5,0,0,1,10,0),ke(0,3,5,-1,0,5,8,0,0,1,14,0),ke(0,3,5,-1,0,6,10,0,0,1,18,0),ke(0,4,5,-2,0,7,10,1,0,2,16,1),ke(0,5,5,-3,0,8,10,1,0,3,14,2),ke(0,5,6,-3,0,9,12,1,0,3,16,2),ke(0,6,6,-3,0,10,14,1,0,4,18,3),ke(0,6,7,-4,0,11,15,1,0,4,20,3),ke(0,7,8,-4,0,12,17,2,0,5,22,4),ke(0,7,8,-4,0,13,19,2,0,5,24,4),ke(0,7,9,-4,0,14,21,2,0,5,26,4),ke(0,8,9,-5,0,15,22,2,0,6,28,5),ke(0,8,10,-5,0,16,24,2,0,6,30,5),ke(0,8,11,-5,0,17,26,2,0,6,32,5),ke(0,9,11,-5,0,18,28,2,0,7,34,6),ke(0,9,12,-6,0,19,29,2,0,7,36,6),ke(0,10,13,-6,0,20,31,3,0,8,38,7),ke(0,10,13,-6,0,21,33,3,0,8,40,7),ke(0,10,14,-6,0,22,35,3,0,8,42,7),ke(0,11,14,-7,0,23,36,3,0,9,44,8),ke(0,11,15,-7,0,24,38,3,0,9,46,8)],Ce={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Se={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ie(e){return`${Math.round(e)}ms`}function $e(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function Pe(e){const t={...Ce,...e.easing},n={...Se,...e.duration};return{getAutoHeightDuration:$e,create:(e=["all"],r={})=>{const{duration:i=n.standard,easing:o=t.easeInOut,delay:a=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:Ie(i)} ${o} ${"string"==typeof a?a:Ie(a)}`).join(",")},...e,easing:t,duration:n}}const Re={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Te(e){return a(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function je(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let r=0;r<n.length;r++){const[i,o]=n[r];!Te(o)||i.startsWith("unstable_")?delete t[i]:a(o)&&(t[i]={...o},e(t[i]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function _e(e){return"number"==typeof e?`${(100*e).toFixed(0)}%`:`calc((${e}) * 100%)`}const Oe=function(e={},...t){const{breakpoints:n,mixins:i={},spacing:o,palette:a={},transitions:s={},typography:c={},shape:u,colorSpace:d,...h}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error((0,r.A)(20));const p=ce({...a,colorSpace:d}),f=(0,ve.A)(e);let g=l(f,{mixins:(y=f.breakpoints,v=i,{toolbar:{minHeight:56,[y.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[y.up("sm")]:{minHeight:64}},...v}),palette:p,shadows:Me.slice(),typography:we(p,c),transitions:Pe(s),zIndex:{...Re}});var y,v,A;return g=l(g,h),g=t.reduce((e,t)=>l(e,t),g),g.unstable_sxConfig={...ye.A,...h?.unstable_sxConfig},g.unstable_sx=function(e){return(0,xe.A)({sx:e,theme:this})},g.toRuntimeSource=je,A=g,Object.assign(A,{alpha(e,t){const n=this||A;return n.colorSpace?`oklch(from ${e} l c h / ${"string"==typeof t?`calc(${t})`:t})`:n.vars?`rgba(${e.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof t?`calc(${t})`:t})`:m(e,(e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n})(t))},lighten(e,t){const n=this||A;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${e}, #fff ${_e(t)})`:b(e,t)},darken(e,t){const n=this||A;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${e}, #000 ${_e(t)})`:x(e,t)}}),g},Ne=[...Array(25)].map((e,t)=>{if(0===t)return"none";const n=function(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Ee(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function Fe(e){return"dark"===e?Ne:[]}function Le(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const De=e=>(t,n)=>{const r=e.rootSelector||":root",i=e.colorSchemeSelector;let o=i;if("class"===i&&(o=".%s"),"data"===i&&(o="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(o=`[${i}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const i={};return(a=e.cssVarPrefix,[...[...Array(25)].map((e,t)=>`--${a?`${a}-`:""}overlays-${t}`),`--${a?`${a}-`:""}palette-AppBar-darkBg`,`--${a?`${a}-`:""}palette-AppBar-darkColor`]).forEach(e=>{i[e]=n[e],delete n[e]}),"media"===o?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:o?{[o.replace("%s",t)]:i,[`${r}, ${o.replace("%s",t)}`]:n}:{[r]:{...n,...i}}}if(o&&"media"!==o)return`${r}, ${o.replace("%s",String(t))}`}else if(t){if("media"===o)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(o)return o.replace("%s",String(t))}var a;return r};function Be(e,t,n){!e[t]&&n&&(e[t]=n)}function ze(e){return"string"==typeof e&&e.startsWith("hsl")?f(e):e}function Ue(e,t){`${t}Channel`in e||(e[`${t}Channel`]=h(ze(e[t])))}const He=e=>{try{return e()}catch(e){}};function Ve(e,t,n,r,i){if(!n)return;n=!0===n?{}:n;const o="dark"===i?"dark":"light";if(!r)return void(t[i]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:i,...o}=e,a=ce({...t,colorSpace:i});return{palette:a,opacity:{...Ee(a.mode),...n},overlays:r||Fe(a.mode),...o}}({...n,palette:{mode:o,...n?.palette},colorSpace:e}));const{palette:a,...s}=Oe({...r,palette:{mode:o,...n?.palette},colorSpace:e});return t[i]={...n,palette:a,opacity:{...Ee(o),...n?.opacity},overlays:n?.overlays||Fe(o)},s}function We(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:i,disableCssColorScheme:o=!1,cssVarPrefix:a="mui",nativeColor:s=!1,shouldSkipGeneratingVar:c=Le,colorSchemeSelector:u=(n.light&&n.dark?"media":void 0),rootSelector:d=":root",...p}=e,f=Object.keys(n)[0],g=i||(n.light&&"light"!==f?"light":f),m=((e="mui")=>ue(e))(a),{[g]:x,light:b,dark:k,...M}=n,C={...M};let S,I=x;if(("dark"===g&&!("dark"in n)||"light"===g&&!("light"in n))&&(I=!0),!I)throw new Error((0,r.A)(21,g));s&&(S="oklch");const $=Ve(S,C,I,p,g);b&&!C.light&&Ve(S,C,b,void 0,"light"),k&&!C.dark&&Ve(S,C,k,void 0,"dark");let P={defaultColorScheme:g,...$,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:d,getCssVar:m,colorSchemes:C,font:{...pe($.typography),...$.font},spacing:(R=p.spacing,"number"==typeof R?`${R}px`:"string"==typeof R||"function"==typeof R||Array.isArray(R)?R:"8px")};var R;Object.keys(P.colorSchemes).forEach(e=>{const t=P.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],i=n[2];return m(e,t[r][i])};function r(e,t,n){if(S){let r;return e===y&&(r=`transparent ${(100*(1-n)).toFixed(0)}%`),e===v&&(r=`#000 ${(100*n).toFixed(0)}%`),e===A&&(r=`#fff ${(100*n).toFixed(0)}%`),`color-mix(in ${S}, ${t}, ${r})`}return e(t,n)}var i;if("light"===t.mode&&(Be(t.common,"background","#fff"),Be(t.common,"onBackground","#000")),"dark"===t.mode&&(Be(t.common,"background","#000"),Be(t.common,"onBackground","#fff")),i=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{i[e]||(i[e]={})}),"light"===t.mode){Be(t.Alert,"errorColor",r(v,t.error.light,.6)),Be(t.Alert,"infoColor",r(v,t.info.light,.6)),Be(t.Alert,"successColor",r(v,t.success.light,.6)),Be(t.Alert,"warningColor",r(v,t.warning.light,.6)),Be(t.Alert,"errorFilledBg",n("palette-error-main")),Be(t.Alert,"infoFilledBg",n("palette-info-main")),Be(t.Alert,"successFilledBg",n("palette-success-main")),Be(t.Alert,"warningFilledBg",n("palette-warning-main")),Be(t.Alert,"errorFilledColor",He(()=>t.getContrastText(t.error.main))),Be(t.Alert,"infoFilledColor",He(()=>t.getContrastText(t.info.main))),Be(t.Alert,"successFilledColor",He(()=>t.getContrastText(t.success.main))),Be(t.Alert,"warningFilledColor",He(()=>t.getContrastText(t.warning.main))),Be(t.Alert,"errorStandardBg",r(A,t.error.light,.9)),Be(t.Alert,"infoStandardBg",r(A,t.info.light,.9)),Be(t.Alert,"successStandardBg",r(A,t.success.light,.9)),Be(t.Alert,"warningStandardBg",r(A,t.warning.light,.9)),Be(t.Alert,"errorIconColor",n("palette-error-main")),Be(t.Alert,"infoIconColor",n("palette-info-main")),Be(t.Alert,"successIconColor",n("palette-success-main")),Be(t.Alert,"warningIconColor",n("palette-warning-main")),Be(t.AppBar,"defaultBg",n("palette-grey-100")),Be(t.Avatar,"defaultBg",n("palette-grey-400")),Be(t.Button,"inheritContainedBg",n("palette-grey-300")),Be(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),Be(t.Chip,"defaultBorder",n("palette-grey-400")),Be(t.Chip,"defaultAvatarColor",n("palette-grey-700")),Be(t.Chip,"defaultIconColor",n("palette-grey-700")),Be(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Be(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Be(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Be(t.LinearProgress,"primaryBg",r(A,t.primary.main,.62)),Be(t.LinearProgress,"secondaryBg",r(A,t.secondary.main,.62)),Be(t.LinearProgress,"errorBg",r(A,t.error.main,.62)),Be(t.LinearProgress,"infoBg",r(A,t.info.main,.62)),Be(t.LinearProgress,"successBg",r(A,t.success.main,.62)),Be(t.LinearProgress,"warningBg",r(A,t.warning.main,.62)),Be(t.Skeleton,"bg",S?r(y,t.text.primary,.11):`rgba(${n("palette-text-primaryChannel")} / 0.11)`),Be(t.Slider,"primaryTrack",r(A,t.primary.main,.62)),Be(t.Slider,"secondaryTrack",r(A,t.secondary.main,.62)),Be(t.Slider,"errorTrack",r(A,t.error.main,.62)),Be(t.Slider,"infoTrack",r(A,t.info.main,.62)),Be(t.Slider,"successTrack",r(A,t.success.main,.62)),Be(t.Slider,"warningTrack",r(A,t.warning.main,.62));const e=S?r(v,t.background.default,.6825):w(t.background.default,.8);Be(t.SnackbarContent,"bg",e),Be(t.SnackbarContent,"color",He(()=>S?ae.text.primary:t.getContrastText(e))),Be(t.SpeedDialAction,"fabHoverBg",w(t.background.paper,.15)),Be(t.StepConnector,"border",n("palette-grey-400")),Be(t.StepContent,"border",n("palette-grey-400")),Be(t.Switch,"defaultColor",n("palette-common-white")),Be(t.Switch,"defaultDisabledColor",n("palette-grey-100")),Be(t.Switch,"primaryDisabledColor",r(A,t.primary.main,.62)),Be(t.Switch,"secondaryDisabledColor",r(A,t.secondary.main,.62)),Be(t.Switch,"errorDisabledColor",r(A,t.error.main,.62)),Be(t.Switch,"infoDisabledColor",r(A,t.info.main,.62)),Be(t.Switch,"successDisabledColor",r(A,t.success.main,.62)),Be(t.Switch,"warningDisabledColor",r(A,t.warning.main,.62)),Be(t.TableCell,"border",r(A,r(y,t.divider,1),.88)),Be(t.Tooltip,"bg",r(y,t.grey[700],.92))}if("dark"===t.mode){Be(t.Alert,"errorColor",r(A,t.error.light,.6)),Be(t.Alert,"infoColor",r(A,t.info.light,.6)),Be(t.Alert,"successColor",r(A,t.success.light,.6)),Be(t.Alert,"warningColor",r(A,t.warning.light,.6)),Be(t.Alert,"errorFilledBg",n("palette-error-dark")),Be(t.Alert,"infoFilledBg",n("palette-info-dark")),Be(t.Alert,"successFilledBg",n("palette-success-dark")),Be(t.Alert,"warningFilledBg",n("palette-warning-dark")),Be(t.Alert,"errorFilledColor",He(()=>t.getContrastText(t.error.dark))),Be(t.Alert,"infoFilledColor",He(()=>t.getContrastText(t.info.dark))),Be(t.Alert,"successFilledColor",He(()=>t.getContrastText(t.success.dark))),Be(t.Alert,"warningFilledColor",He(()=>t.getContrastText(t.warning.dark))),Be(t.Alert,"errorStandardBg",r(v,t.error.light,.9)),Be(t.Alert,"infoStandardBg",r(v,t.info.light,.9)),Be(t.Alert,"successStandardBg",r(v,t.success.light,.9)),Be(t.Alert,"warningStandardBg",r(v,t.warning.light,.9)),Be(t.Alert,"errorIconColor",n("palette-error-main")),Be(t.Alert,"infoIconColor",n("palette-info-main")),Be(t.Alert,"successIconColor",n("palette-success-main")),Be(t.Alert,"warningIconColor",n("palette-warning-main")),Be(t.AppBar,"defaultBg",n("palette-grey-900")),Be(t.AppBar,"darkBg",n("palette-background-paper")),Be(t.AppBar,"darkColor",n("palette-text-primary")),Be(t.Avatar,"defaultBg",n("palette-grey-600")),Be(t.Button,"inheritContainedBg",n("palette-grey-800")),Be(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),Be(t.Chip,"defaultBorder",n("palette-grey-700")),Be(t.Chip,"defaultAvatarColor",n("palette-grey-300")),Be(t.Chip,"defaultIconColor",n("palette-grey-300")),Be(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Be(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Be(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Be(t.LinearProgress,"primaryBg",r(v,t.primary.main,.5)),Be(t.LinearProgress,"secondaryBg",r(v,t.secondary.main,.5)),Be(t.LinearProgress,"errorBg",r(v,t.error.main,.5)),Be(t.LinearProgress,"infoBg",r(v,t.info.main,.5)),Be(t.LinearProgress,"successBg",r(v,t.success.main,.5)),Be(t.LinearProgress,"warningBg",r(v,t.warning.main,.5)),Be(t.Skeleton,"bg",S?r(y,t.text.primary,.13):`rgba(${n("palette-text-primaryChannel")} / 0.13)`),Be(t.Slider,"primaryTrack",r(v,t.primary.main,.5)),Be(t.Slider,"secondaryTrack",r(v,t.secondary.main,.5)),Be(t.Slider,"errorTrack",r(v,t.error.main,.5)),Be(t.Slider,"infoTrack",r(v,t.info.main,.5)),Be(t.Slider,"successTrack",r(v,t.success.main,.5)),Be(t.Slider,"warningTrack",r(v,t.warning.main,.5));const e=S?r(A,t.background.default,.985):w(t.background.default,.98);Be(t.SnackbarContent,"bg",e),Be(t.SnackbarContent,"color",He(()=>S?ie.text.primary:t.getContrastText(e))),Be(t.SpeedDialAction,"fabHoverBg",w(t.background.paper,.15)),Be(t.StepConnector,"border",n("palette-grey-600")),Be(t.StepContent,"border",n("palette-grey-600")),Be(t.Switch,"defaultColor",n("palette-grey-300")),Be(t.Switch,"defaultDisabledColor",n("palette-grey-600")),Be(t.Switch,"primaryDisabledColor",r(v,t.primary.main,.55)),Be(t.Switch,"secondaryDisabledColor",r(v,t.secondary.main,.55)),Be(t.Switch,"errorDisabledColor",r(v,t.error.main,.55)),Be(t.Switch,"infoDisabledColor",r(v,t.info.main,.55)),Be(t.Switch,"successDisabledColor",r(v,t.success.main,.55)),Be(t.Switch,"warningDisabledColor",r(v,t.warning.main,.55)),Be(t.TableCell,"border",r(v,r(y,t.divider,1),.68)),Be(t.Tooltip,"bg",r(y,t.grey[700],.92))}Ue(t.background,"default"),Ue(t.background,"paper"),Ue(t.common,"background"),Ue(t.common,"onBackground"),Ue(t,"divider"),Object.keys(t).forEach(e=>{const n=t[e];"tonalOffset"!==e&&n&&"object"==typeof n&&(n.main&&Be(t[e],"mainChannel",h(ze(n.main))),n.light&&Be(t[e],"lightChannel",h(ze(n.light))),n.dark&&Be(t[e],"darkChannel",h(ze(n.dark))),n.contrastText&&Be(t[e],"contrastTextChannel",h(ze(n.contrastText))),"text"===e&&(Ue(t[e],"primary"),Ue(t[e],"secondary")),"action"===e&&(n.active&&Ue(t[e],"active"),n.selected&&Ue(t[e],"selected")))})}),P=t.reduce((e,t)=>l(e,t),P);const T={prefix:a,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:De(P),enableContrastVars:s},{vars:j,generateThemeVars:_,generateStyleSheets:O}=function(e,t={}){const{getSelector:n=y,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:o}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...c}=e,{vars:u,css:d,varsWithDefaults:h}=me(c,t);let p=h;const f={},{[l]:g,...m}=a;if(Object.entries(m||{}).forEach(([e,n])=>{const{vars:r,css:i,varsWithDefaults:o}=me(n,t);p=(0,fe.A)(p,o),f[e]={css:i,vars:r}}),g){const{css:e,vars:n,varsWithDefaults:r}=me(g,t);p=(0,fe.A)(p,r),f[l]={css:e,vars:n}}function y(t,n){let r=i;if("class"===i&&(r=".%s"),"data"===i&&(r="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(r=`[${i}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(f).forEach(([,{vars:t}])=>{e=(0,fe.A)(e,t)}),e},generateStyleSheets:()=>{const t=[],i=e.defaultColorScheme||"light";function s(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);const{[i]:l,...c}=f;if(l){const{css:e}=l,t=a[i]?.palette?.mode,o=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...o}),o)}return Object.entries(c).forEach(([e,{css:t}])=>{const i=a[e]?.palette?.mode,o=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...o}),o)}),o&&t.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),t}}}(P,T);return P.vars=j,Object.entries(P.colorSchemes[P.defaultColorScheme]).forEach(([e,t])=>{P[e]=t}),P.generateThemeVars=_,P.generateStyleSheets=O,P.generateSpacing=function(){return(0,de.A)(p.spacing,(0,he.LX)(this))},P.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(u),P.spacing=P.generateSpacing(),P.shouldSkipGeneratingVar=c,P.unstable_sxConfig={...ye.A,...p?.unstable_sxConfig},P.unstable_sx=function(e){return(0,xe.A)({sx:e,theme:this})},P.toRuntimeSource=je,P}function Ge(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:ce({...!0===n?{}:n.palette,mode:t})})}const Ye=function(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:i=(n?void 0:{light:!0}),defaultColorScheme:o=n?.mode,...a}=e,s=o||"light",l=i?.[s],c={...i,...n?{[s]:{..."boolean"!=typeof l&&l,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return Oe(e,...t);let r=n;"palette"in e||c[s]&&(!0!==c[s]?r=c[s].palette:"dark"===s&&(r={mode:"dark"}));const i=Oe({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=c,"light"===i.palette.mode&&(i.colorSchemes.light={...!0!==c.light&&c.light,palette:i.palette},Ge(i,"dark",c.dark)),"dark"===i.palette.mode&&(i.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:i.palette},Ge(i,"light",c.light)),i}return n||"light"in c||"light"!==s||(c.light=!0),We({...a,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof r&&r},...t)}()},42716(e,t,n){n.d(t,{A:()=>h});var r=n(48946),i=n(12171),o=n(11509);function a(e){return e.innerRadius}function s(e){return e.outerRadius}function l(e){return e.startAngle}function c(e){return e.endAngle}function u(e){return e&&e.padAngle}function d(e,t,n,r,o,a,s){var l=e-n,c=t-r,u=(s?a:-a)/(0,i.RZ)(l*l+c*c),d=u*c,h=-u*l,p=e+d,f=t+h,g=n+d,m=r+h,y=(p+g)/2,x=(f+m)/2,v=g-p,b=m-f,A=v*v+b*b,w=o-a,k=p*m-g*f,M=(b<0?-1:1)*(0,i.RZ)((0,i.T9)(0,w*w*A-k*k)),C=(k*b-v*M)/A,S=(-k*v-b*M)/A,I=(k*b+v*M)/A,$=(-k*v+b*M)/A,P=C-y,R=S-x,T=I-y,j=$-x;return P*P+R*R>T*T+j*j&&(C=I,S=$),{cx:C,cy:S,x01:-d,y01:-h,x11:C*(o/w-1),y11:S*(o/w-1)}}function h(){var e=a,t=s,n=(0,r.A)(0),h=null,p=l,f=c,g=u,m=null,y=(0,o.i)(x);function x(){var r,o,a=+e.apply(this,arguments),s=+t.apply(this,arguments),l=p.apply(this,arguments)-i.TW,c=f.apply(this,arguments)-i.TW,u=(0,i.tn)(c-l),x=c>l;if(m||(m=r=y()),s<a&&(o=s,s=a,a=o),s>i.Ni)if(u>i.FA-i.Ni)m.moveTo(s*(0,i.gn)(l),s*(0,i.F8)(l)),m.arc(0,0,s,l,c,!x),a>i.Ni&&(m.moveTo(a*(0,i.gn)(c),a*(0,i.F8)(c)),m.arc(0,0,a,c,l,x));else{var v,b,A=l,w=c,k=l,M=c,C=u,S=u,I=g.apply(this,arguments)/2,$=I>i.Ni&&(h?+h.apply(this,arguments):(0,i.RZ)(a*a+s*s)),P=(0,i.jk)((0,i.tn)(s-a)/2,+n.apply(this,arguments)),R=P,T=P;if($>i.Ni){var j=(0,i.qR)($/a*(0,i.F8)(I)),_=(0,i.qR)($/s*(0,i.F8)(I));(C-=2*j)>i.Ni?(k+=j*=x?1:-1,M-=j):(C=0,k=M=(l+c)/2),(S-=2*_)>i.Ni?(A+=_*=x?1:-1,w-=_):(S=0,A=w=(l+c)/2)}var O=s*(0,i.gn)(A),N=s*(0,i.F8)(A),E=a*(0,i.gn)(M),F=a*(0,i.F8)(M);if(P>i.Ni){var L,D=s*(0,i.gn)(w),B=s*(0,i.F8)(w),z=a*(0,i.gn)(k),U=a*(0,i.F8)(k);if(u<i.pi)if(L=function(e,t,n,r,o,a,s,l){var c=n-e,u=r-t,d=s-o,h=l-a,p=h*c-d*u;if(!(p*p<i.Ni))return[e+(p=(d*(t-a)-h*(e-o))/p)*c,t+p*u]}(O,N,z,U,D,B,E,F)){var H=O-L[0],V=N-L[1],W=D-L[0],G=B-L[1],Y=1/(0,i.F8)((0,i.HQ)((H*W+V*G)/((0,i.RZ)(H*H+V*V)*(0,i.RZ)(W*W+G*G)))/2),q=(0,i.RZ)(L[0]*L[0]+L[1]*L[1]);R=(0,i.jk)(P,(a-q)/(Y-1)),T=(0,i.jk)(P,(s-q)/(Y+1))}else R=T=0}S>i.Ni?T>i.Ni?(v=d(z,U,O,N,s,T,x),b=d(D,B,E,F,s,T,x),m.moveTo(v.cx+v.x01,v.cy+v.y01),T<P?m.arc(v.cx,v.cy,T,(0,i.FP)(v.y01,v.x01),(0,i.FP)(b.y01,b.x01),!x):(m.arc(v.cx,v.cy,T,(0,i.FP)(v.y01,v.x01),(0,i.FP)(v.y11,v.x11),!x),m.arc(0,0,s,(0,i.FP)(v.cy+v.y11,v.cx+v.x11),(0,i.FP)(b.cy+b.y11,b.cx+b.x11),!x),m.arc(b.cx,b.cy,T,(0,i.FP)(b.y11,b.x11),(0,i.FP)(b.y01,b.x01),!x))):(m.moveTo(O,N),m.arc(0,0,s,A,w,!x)):m.moveTo(O,N),a>i.Ni&&C>i.Ni?R>i.Ni?(v=d(E,F,D,B,a,-R,x),b=d(O,N,z,U,a,-R,x),m.lineTo(v.cx+v.x01,v.cy+v.y01),R<P?m.arc(v.cx,v.cy,R,(0,i.FP)(v.y01,v.x01),(0,i.FP)(b.y01,b.x01),!x):(m.arc(v.cx,v.cy,R,(0,i.FP)(v.y01,v.x01),(0,i.FP)(v.y11,v.x11),!x),m.arc(0,0,a,(0,i.FP)(v.cy+v.y11,v.cx+v.x11),(0,i.FP)(b.cy+b.y11,b.cx+b.x11),x),m.arc(b.cx,b.cy,R,(0,i.FP)(b.y11,b.x11),(0,i.FP)(b.y01,b.x01),!x))):m.arc(0,0,a,M,k,x):m.lineTo(E,F)}else m.moveTo(0,0);if(m.closePath(),r)return m=null,r+""||null}return x.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+p.apply(this,arguments)+ +f.apply(this,arguments))/2-i.pi/2;return[(0,i.gn)(r)*n,(0,i.F8)(r)*n]},x.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,r.A)(+t),x):e},x.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,r.A)(+e),x):t},x.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:(0,r.A)(+e),x):n},x.padRadius=function(e){return arguments.length?(h=null==e?null:"function"==typeof e?e:(0,r.A)(+e),x):h},x.startAngle=function(e){return arguments.length?(p="function"==typeof e?e:(0,r.A)(+e),x):p},x.endAngle=function(e){return arguments.length?(f="function"==typeof e?e:(0,r.A)(+e),x):f},x.padAngle=function(e){return arguments.length?(g="function"==typeof e?e:(0,r.A)(+e),x):g},x.context=function(e){return arguments.length?(m=null==e?null:e,x):m},x}},44126(e,t,n){n.d(t,{Z:()=>o});var r=n(51609),i=n(91058);function o(){const{isInitialized:e,data:t}=r.useContext(i.T);if(!e)throw new Error(["MUI X: Could not find the highlighted ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t}},45315(e,t,n){function r(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function i(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function o(){}n.d(t,{Ay:()=>A,Qh:()=>M});var a=.7,s=1/a,l="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",d=/^#([0-9a-f]{3,8})$/,h=new RegExp(`^rgb\\(${l},${l},${l}\\)$`),p=new RegExp(`^rgb\\(${u},${u},${u}\\)$`),f=new RegExp(`^rgba\\(${l},${l},${l},${c}\\)$`),g=new RegExp(`^rgba\\(${u},${u},${u},${c}\\)$`),m=new RegExp(`^hsl\\(${c},${u},${u}\\)$`),y=new RegExp(`^hsla\\(${c},${u},${u},${c}\\)$`),x={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 v(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function A(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=d.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?w(t):3===n?new C(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?k(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?k(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=h.exec(e))?new C(t[1],t[2],t[3],1):(t=p.exec(e))?new C(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=f.exec(e))?k(t[1],t[2],t[3],t[4]):(t=g.exec(e))?k(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=m.exec(e))?T(t[1],t[2]/100,t[3]/100,1):(t=y.exec(e))?T(t[1],t[2]/100,t[3]/100,t[4]):x.hasOwnProperty(e)?w(x[e]):"transparent"===e?new C(NaN,NaN,NaN,0):null}function w(e){return new C(e>>16&255,e>>8&255,255&e,1)}function k(e,t,n,r){return r<=0&&(e=t=n=NaN),new C(e,t,n,r)}function M(e,t,n,r){return 1===arguments.length?((i=e)instanceof o||(i=A(i)),i?new C((i=i.rgb()).r,i.g,i.b,i.opacity):new C):new C(e,t,n,null==r?1:r);var i}function C(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function S(){return`#${R(this.r)}${R(this.g)}${R(this.b)}`}function I(){const e=$(this.opacity);return`${1===e?"rgb(":"rgba("}${P(this.r)}, ${P(this.g)}, ${P(this.b)}${1===e?")":`, ${e})`}`}function $(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function P(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function R(e){return((e=P(e))<16?"0":"")+e.toString(16)}function T(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new _(e,t,n,r)}function j(e){if(e instanceof _)return new _(e.h,e.s,e.l,e.opacity);if(e instanceof o||(e=A(e)),!e)return new _;if(e instanceof _)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),s=NaN,l=a-i,c=(a+i)/2;return l?(s=t===a?(n-r)/l+6*(n<r):n===a?(r-t)/l+2:(t-n)/l+4,l/=c<.5?a+i:2-a-i,s*=60):l=c>0&&c<1?0:s,new _(s,l,c,e.opacity)}function _(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function O(e){return(e=(e||0)%360)<0?e+360:e}function N(e){return Math.max(0,Math.min(1,e||0))}function E(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}r(o,A,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:v,formatHex:v,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return j(this).formatHsl()},formatRgb:b,toString:b}),r(C,M,i(o,{brighter(e){return e=null==e?s:Math.pow(s,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new C(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new C(P(this.r),P(this.g),P(this.b),$(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:S,formatHex:S,formatHex8:function(){return`#${R(this.r)}${R(this.g)}${R(this.b)}${R(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:I,toString:I})),r(_,function(e,t,n,r){return 1===arguments.length?j(e):new _(e,t,n,null==r?1:r)},i(o,{brighter(e){return e=null==e?s:Math.pow(s,e),new _(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?a:Math.pow(a,e),new _(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),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 C(E(e>=240?e-240:e+120,i,r),E(e,i,r),E(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new _(O(this.h),N(this.s),N(this.l),$(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(){const e=$(this.opacity);return`${1===e?"hsl(":"hsla("}${O(this.h)}, ${100*N(this.s)}%, ${100*N(this.l)}%${1===e?")":`, ${e})`}`}}))},45917(e,t,n){function r(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}n.d(t,{A:()=>r}),Array.prototype.slice},46175(e,t,n){n.d(t,{Ay:()=>a});var r=n(63248),i=n(42657),o=n(31355);const a=(0,r.Ay)({themeId:o.A,defaultTheme:i.A,rootShouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e})},46983(e,t,n){n.d(t,{A:()=>u,C:()=>c});var r=n(6946),i=n(4197),o=n(99065),a=n(1631),s=n(47235),l=n(48662);function c(e){var t=e.domain;return e.ticks=function(e){var n=t();return(0,r.Ay)(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var i=t();return function(e,t,n,i){var o,c=(0,r.sG)(e,t,n);switch((i=(0,a.A)(null==i?",f":i)).type){case"s":var u=Math.max(Math.abs(e),Math.abs(t));return null!=i.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,s.A)(t)/3)))-(0,s.A)(Math.abs(e)))}(c,u))||(i.precision=o),(0,l.s)(i,u);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,s.A)(t)-(0,s.A)(e))+1}(c,Math.max(Math.abs(e),Math.abs(t))))||(i.precision=o-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(o=function(e){return Math.max(0,-(0,s.A)(Math.abs(e)))}(c))||(i.precision=o-2*("%"===i.type))}return(0,l.GP)(i)}(i[0],i[i.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var i,o,a=t(),s=0,l=a.length-1,c=a[s],u=a[l],d=10;for(u<c&&(o=c,c=u,u=o,o=s,s=l,l=o);d-- >0;){if((o=(0,r.lq)(c,u,n))===i)return a[s]=c,a[l]=u,t(a);if(o>0)c=Math.floor(c/o)*o,u=Math.ceil(u/o)*o;else{if(!(o<0))break;c=Math.ceil(c*o)/o,u=Math.floor(u*o)/o}i=o}return e},e}function u(){var e=(0,i.Ay)();return e.copy=function(){return(0,i.C)(e,u())},o.C.apply(e,arguments),c(e)}},47235(e,t,n){n.d(t,{A:()=>i});var r=n(95204);function i(e){return(e=(0,r.f)(Math.abs(e)))?e[1]:NaN}},48662(e,t,n){n.d(t,{GP:()=>d,s:()=>h});var r,i=n(47235),o=n(1631),a=n(95204);function s(e,t){var n=(0,a.f)(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const l={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:a.A,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>s(100*e,t),r:s,s:function(e,t){var n=(0,a.f)(e,t);if(!n)return e+"";var i=n[0],o=n[1],s=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,l=i.length;return s===l?i:s>l?i+new Array(s-l+1).join("0"):s>0?i.slice(0,s)+"."+i.slice(s):"0."+new Array(1-s).join("0")+(0,a.f)(e,Math.max(0,t+s-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function c(e){return e}var u,d,h,p=Array.prototype.map,f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];u=function(e){var t,n,a=void 0===e.grouping||void 0===e.thousands?c:(t=p.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),s=void 0===e.currency?"":e.currency[0]+"",u=void 0===e.currency?"":e.currency[1]+"",d=void 0===e.decimal?".":e.decimal+"",h=void 0===e.numerals?c:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(p.call(e.numerals,String)),g=void 0===e.percent?"%":e.percent+"",m=void 0===e.minus?"−":e.minus+"",y=void 0===e.nan?"NaN":e.nan+"";function x(e){var t=(e=(0,o.A)(e)).fill,n=e.align,i=e.sign,c=e.symbol,p=e.zero,x=e.width,v=e.comma,b=e.precision,A=e.trim,w=e.type;"n"===w?(v=!0,w="g"):l[w]||(void 0===b&&(b=12),A=!0,w="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var k="$"===c?s:"#"===c&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",M="$"===c?u:/[%p]/.test(w)?g:"",C=l[w],S=/[defgprs%]/.test(w);function I(e){var o,s,l,c=k,u=M;if("c"===w)u=C(e)+u,e="";else{var g=(e=+e)<0||1/e<0;if(e=isNaN(e)?y:C(Math.abs(e),b),A&&(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)),g&&0===+e&&"+"!==i&&(g=!1),c=(g?"("===i?i:m:"-"===i||"("===i?"":i)+c,u=("s"===w?f[8+r/3]:"")+u+(g&&"("===i?")":""),S)for(o=-1,s=e.length;++o<s;)if(48>(l=e.charCodeAt(o))||l>57){u=(46===l?d+e.slice(o+1):e.slice(o))+u,e=e.slice(0,o);break}}v&&!p&&(e=a(e,1/0));var I=c.length+e.length+u.length,$=I<x?new Array(x-I+1).join(t):"";switch(v&&p&&(e=a($+e,$.length?x-u.length:1/0),$=""),n){case"<":e=c+e+u+$;break;case"=":e=c+$+e+u;break;case"^":e=$.slice(0,I=$.length>>1)+c+e+u+$.slice(I);break;default:e=$+c+e+u}return h(e)}return b=void 0===b?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),I.toString=function(){return e+""},I}return{format:x,formatPrefix:function(e,t){var n=x(((e=(0,o.A)(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor((0,i.A)(t)/3))),a=Math.pow(10,-r),s=f[8+r/3];return function(e){return n(a*e)+s}}}}({thousands:",",grouping:[3],currency:["$",""]}),d=u.format,h=u.formatPrefix},48946(e,t,n){function r(e){return function(){return e}}n.d(t,{A:()=>r})},49770(e,t,n){function r(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}n.d(t,{A:()=>r})},49900(e,t,n){n.d(t,{A:()=>i});var r=n(10575);const i=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},52106(e,t,n){n.d(t,{x:()=>N});var r=n(58168),i=n(51609),o=n(18917),a=n(98587),s=n(84904),l=n(75659),c=n(46175),u=n(97107),d=n(53356),h=n(9841),p=n(31609);function f(e){return(0,p.Ay)("MuiChartsAxis",e)}const g=(0,n(38413).A)("MuiChartsAxis",["root","line","tickContainer","tick","tickLabel","label","directionX","directionY","top","bottom","left","right"]),m=(0,c.Ay)("g",{name:"MuiChartsAxis",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({[`& .${g.tickLabel}`]:(0,r.A)({},e.typography.caption,{fill:(e.vars||e).palette.text.primary}),[`& .${g.label}`]:(0,r.A)({},e.typography.body1,{fill:(e.vars||e).palette.text.primary}),[`& .${g.line}`]:{stroke:(e.vars||e).palette.text.primary,shapeRendering:"crispEdges",strokeWidth:1},[`& .${g.tick}`]:{stroke:(e.vars||e).palette.text.primary,shapeRendering:"crispEdges"}}));var y=n(34530),x=n(21529),v=n(89812),b=n(57203),A=n(9592),w=n(54609),k=n(10790);const M=["scale","tickNumber","reverse"];const C=(0,c.Ay)(m,{name:"MuiChartsXAxis",slot:"Root",overridesResolver:(e,t)=>t.root})({}),S={position:"bottom",disableLine:!1,disableTicks:!1,tickSize:6};function I(e){const{xAxisIds:t,xAxis:n}=(0,o.T)(),c=n[e.axisId??t[0]],{scale:p,tickNumber:g,reverse:m}=c,I=(0,a.A)(c,M),$=function(e=!1){const[t,n]=i.useState(!1);return(0,x.A)(()=>{e||n(!0)},[e]),i.useEffect(()=>{e&&n(!0)},[e]),t}(),P=(0,u.A)({props:(0,r.A)({},I,e),name:"MuiChartsXAxis"}),R=(0,r.A)({},S,P),{position:T,disableLine:j,disableTicks:_,tickLabelStyle:O,label:N,labelStyle:E,tickFontSize:F,labelFontSize:L,tickSize:D,valueFormatter:B,slots:z,slotProps:U,tickInterval:H,tickLabelInterval:V,tickPlacement:W,tickLabelPlacement:G,sx:Y}=R,q=(0,d.A)(),K=(e=>{const{classes:t,position:n}=e,r={root:["root","directionX",n],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]};return(0,l.A)(r,f,t)})((0,r.A)({},R,{theme:q})),{left:X,top:Q,width:Z,height:J,isPointInside:ee}=(0,v.N)(),te=_?4:D,ne="bottom"===T?1:-1,re=z?.axisLine??"line",ie=z?.axisTick??"line",oe=z?.axisTickLabel??y.n,ae=z?.axisLabel??y.n,se=(0,s.A)({elementType:oe,externalSlotProps:U?.axisTickLabel,additionalProps:{style:(0,r.A)({textAnchor:"middle",dominantBaseline:"bottom"===T?"hanging":"auto",fontSize:F??12},O)},className:K.tickLabel,ownerState:{}}),le=function(e,{tickLabelStyle:t,tickLabelInterval:n,reverse:i,isMounted:o}){const a=e.map(e=>{if(!o||void 0===e.formattedValue)return(0,r.A)({},e,{width:0,height:0});const n=(0,b.q)({style:t,needsComputation:!0,text:e.formattedValue});return(0,r.A)({},e,{width:Math.max(...n.map(e=>e.width)),height:Math.max(n.length*n[0].height)})});if("function"==typeof n)return a.map((e,t)=>(0,r.A)({},e,{skipLabel:!n(e.value,t)}));let s=0,l=0;const c=i?-1:1;return a.map((e,n)=>{const{width:i,offset:o,labelOffset:a,height:u}=e,d=function(e,t,n=0){const r=Math.min(Math.abs(n)%180,Math.abs(Math.abs(n)%180-180)%180);if(r<5)return e;if(r>85)return t;const i=r*Math.PI/180;return i<Math.atan2(t,e)?e/Math.cos(i):t/Math.sin(i)}(i,u,t?.angle),h=o+a;return s=h-c*(1.2*d)/2,n>0&&c*s<c*l?(0,r.A)({},e,{skipLabel:!0}):(l=h+c*(1.2*d)/2,e)})}((0,h.w)({scale:p,tickNumber:g,valueFormatter:B,tickInterval:H,tickPlacement:W,tickLabelPlacement:G}),{tickLabelStyle:se.style,tickLabelInterval:V,reverse:m,isMounted:$}),ce={x:X+Z/2,y:ne*(te+22)},ue=(0,s.A)({elementType:ae,externalSlotProps:U?.axisLabel,additionalProps:{style:(0,r.A)({fontSize:L??14,textAnchor:"middle",dominantBaseline:"bottom"===T?"hanging":"auto"},E)},ownerState:{}}),de=p.domain(),he=(0,w.y)(p);return he&&0===de.length||!he&&de.some(A.D)?null:(0,k.jsxs)(C,{transform:`translate(0, ${"bottom"===T?Q+J:Q})`,className:K.root,sx:Y,children:[!j&&(0,k.jsx)(re,(0,r.A)({x1:X,x2:X+Z,className:K.line},U?.axisLine)),le.map(({formattedValue:e,offset:t,labelOffset:n,skipLabel:i},o)=>{const a=n??0,s=ne*(te+3),l=ee({x:t,y:-1},{direction:"x"}),c=ee({x:t+a,y:-1},{direction:"x"});return(0,k.jsxs)("g",{transform:`translate(${t}, 0)`,className:K.tickContainer,children:[!_&&l&&(0,k.jsx)(ie,(0,r.A)({y2:ne*te,className:K.tick},U?.axisTick)),void 0!==e&&!i&&c&&(0,k.jsx)(oe,(0,r.A)({x:a,y:s},se,{text:e.toString()}))]},o)}),N&&(0,k.jsx)("g",{className:K.label,children:(0,k.jsx)(ae,(0,r.A)({},ce,ue,{text:N}))})]})}var $=n(411);const P=["scale","tickNumber"],R=(0,c.Ay)(m,{name:"MuiChartsYAxis",slot:"Root",overridesResolver:(e,t)=>t.root})({}),T={position:"left",disableLine:!1,disableTicks:!1,tickFontSize:12,labelFontSize:14,tickSize:6};function j(e){const{yAxisIds:t,yAxis:n}=(0,o.T)(),i=n[e.axisId??t[0]],{scale:c,tickNumber:p}=i,g=(0,a.A)(i,P),m=(0,u.A)({props:(0,r.A)({},g,e),name:"MuiChartsYAxis"}),x=(0,r.A)({},T,m),{position:b,disableLine:M,disableTicks:C,tickFontSize:S,label:I,labelFontSize:j,labelStyle:_,tickLabelStyle:O,tickSize:N,valueFormatter:E,slots:F,slotProps:L,tickPlacement:D,tickLabelPlacement:B,tickInterval:z,tickLabelInterval:U,sx:H}=x,V=(0,d.A)(),W=(0,$.I)(),G=(e=>{const{classes:t,position:n}=e,r={root:["root","directionY",n],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]};return(0,l.A)(r,f,t)})((0,r.A)({},x,{theme:V})),{left:Y,top:q,width:K,height:X,isPointInside:Q}=(0,v.N)(),Z=C?4:N,J=(0,h.w)({scale:c,tickNumber:p,valueFormatter:E,tickPlacement:D,tickLabelPlacement:B,tickInterval:z}),ee="right"===b?1:-1,te={x:ee*(S+Z+10),y:q+X/2},ne=F?.axisLine??"line",re=F?.axisTick??"line",ie=F?.axisTickLabel??y.n,oe=F?.axisLabel??y.n,ae=!W&&"right"===b||W&&"right"!==b,se=(0,s.A)({elementType:ie,externalSlotProps:L?.axisTickLabel,additionalProps:{style:(0,r.A)({fontSize:S,textAnchor:ae?"start":"end",dominantBaseline:"central"},O)},className:G.tickLabel,ownerState:{}}),le=(0,s.A)({elementType:oe,externalSlotProps:L?.axisLabel,additionalProps:{style:(0,r.A)({fontSize:j,angle:90*ee,textAnchor:"middle",dominantBaseline:"auto"},_)},ownerState:{}}),ce=(0,s.A)({elementType:ne,externalSlotProps:L?.axisLine,additionalProps:{strokeLinecap:"square"},ownerState:{}}),ue=c.domain(),de=(0,w.y)(c);return de&&0===ue.length||!de&&ue.some(A.D)?null:(0,k.jsxs)(R,{transform:`translate(${"right"===b?Y+K:Y}, 0)`,className:G.root,sx:H,children:[!M&&(0,k.jsx)(ne,(0,r.A)({y1:q,y2:q+X,className:G.line},ce)),J.map(({formattedValue:e,offset:t,labelOffset:n,value:i},o)=>{const a=ee*(Z+2),s=n,l="function"==typeof U&&!U?.(i,o);return Q({x:-1,y:t},{direction:"y"})?(0,k.jsxs)("g",{transform:`translate(0, ${t})`,className:G.tickContainer,children:[!C&&(0,k.jsx)(re,(0,r.A)({x2:ee*Z,className:G.tick},L?.axisTick)),void 0!==e&&!l&&(0,k.jsx)(ie,(0,r.A)({x:a,y:s,text:e.toString()},se))]},o):null}),I&&(0,k.jsx)("g",{className:G.label,children:(0,k.jsx)(oe,(0,r.A)({},te,le,{text:I}))})]})}const _=(e,t)=>null==e?null:"object"==typeof e?e.axisId??t??null:e,O=(e,t,n)=>"object"==typeof e?(0,r.A)({},e,{slots:(0,r.A)({},t,e?.slots),slotProps:(0,r.A)({},n,e?.slotProps)}):{slots:t,slotProps:n};function N(e){const{topAxis:t,leftAxis:n,rightAxis:a,bottomAxis:s,slots:l,slotProps:c}=e,{xAxis:u,xAxisIds:d,yAxis:h,yAxisIds:p}=(0,o.T)(),f=_(void 0===n?p[0]:n,p[0]),g=_(void 0===s?d[0]:s,d[0]),m=_(t,d[0]),y=_(a,p[0]);if(null!==m&&!u[m])throw new Error([`MUI X: id used for top axis "${m}" is not defined.`,`Available ids are: ${d.join(", ")}.`].join("\n"));if(null!==f&&!h[f])throw new Error([`MUI X: id used for left axis "${f}" is not defined.`,`Available ids are: ${p.join(", ")}.`].join("\n"));if(null!==y&&!h[y])throw new Error([`MUI X: id used for right axis "${y}" is not defined.`,`Available ids are: ${p.join(", ")}.`].join("\n"));if(null!==g&&!u[g])throw new Error([`MUI X: id used for bottom axis "${g}" is not defined.`,`Available ids are: ${d.join(", ")}.`].join("\n"));const x=O(t,l,c),v=O(s,l,c),b=O(n,l,c),A=O(a,l,c);return(0,k.jsxs)(i.Fragment,{children:[m&&(0,k.jsx)(I,(0,r.A)({},x,{position:"top",axisId:m})),g&&(0,k.jsx)(I,(0,r.A)({},v,{position:"bottom",axisId:g})),f&&(0,k.jsx)(j,(0,r.A)({},b,{position:"left",axisId:f})),y&&(0,k.jsx)(j,(0,r.A)({},A,{position:"right",axisId:y}))]})}},52555(e,t,n){n.d(t,{RV:()=>k,CS:()=>Vn,to:()=>$n,Es:()=>Ge,zh:()=>An,pn:()=>wn});var r=v(),i=e=>g(e,r),o=v();i.write=e=>g(e,o);var a=v();i.onStart=e=>g(e,a);var s=v();i.onFrame=e=>g(e,s);var l=v();i.onFinish=e=>g(e,l);var c=[];i.setTimeout=(e,t)=>{const n=i.now()+t,r=()=>{const e=c.findIndex(e=>e.cancel==r);~e&&c.splice(e,1),p-=~e?1:0},o={time:n,handler:e,cancel:r};return c.splice(u(n),0,o),p+=1,m(),o};var u=e=>~(~c.findIndex(t=>t.time>e)||~c.length);i.cancel=e=>{a.delete(e),s.delete(e),l.delete(e),r.delete(e),o.delete(e)},i.sync=e=>{f=!0,i.batchedUpdates(e),f=!1},i.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,i.onStart(n)}return r.handler=e,r.cancel=()=>{a.delete(n),t=null},r};var d="undefined"!=typeof window?window.requestAnimationFrame:()=>{};i.use=e=>d=e,i.now="undefined"!=typeof performance?()=>performance.now():Date.now,i.batchedUpdates=e=>e(),i.catch=console.error,i.frameLoop="always",i.advance=()=>{"demand"!==i.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):x()};var h=-1,p=0,f=!1;function g(e,t){f?(t.delete(e),e(0)):(t.add(e),m())}function m(){h<0&&(h=0,"demand"!==i.frameLoop&&d(y))}function y(){~h&&(d(y),i.batchedUpdates(x))}function x(){const e=h;h=i.now();const t=u(h);t&&(b(c.splice(0,t),e=>e.handler()),p-=t),p?(a.flush(),r.flush(e?Math.min(64,h-e):16.667),s.flush(),o.flush(),l.flush()):h=-1}function v(){let e=new Set,t=e;return{add(n){p+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(p-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,p-=t.size,b(t,t=>t(n)&&e.add(t)),p+=e.size,t=e)}}}function b(e,t){e.forEach(e=>{try{t(e)}catch(e){i.catch(e)}})}var A=n(51609),w=Object.defineProperty,k={};function M(){}((e,t)=>{for(var n in t)w(e,n,{get:t[n],enumerable:!0})})(k,{assign:()=>L,colors:()=>N,createStringInterpolator:()=>T,skipAnimation:()=>E,to:()=>j,willAdvance:()=>F});var C={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 S(e,t){if(C.arr(e)){if(!C.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 I=(e,t)=>e.forEach(t);function $(e,t,n){if(C.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var P=e=>C.und(e)?[]:C.arr(e)?e:[e];function R(e,t){if(e.size){const n=Array.from(e);e.clear(),I(n,t)}}var T,j,_=(e,...t)=>R(e,e=>e(...t)),O=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),N=null,E=!1,F=M,L=e=>{e.to&&(j=e.to),e.now&&(i.now=e.now),void 0!==e.colors&&(N=e.colors),null!=e.skipAnimation&&(E=e.skipAnimation),e.createStringInterpolator&&(T=e.createStringInterpolator),e.requestAnimationFrame&&i.use(e.requestAnimationFrame),e.batchedUpdates&&(i.batchedUpdates=e.batchedUpdates),e.willAdvance&&(F=e.willAdvance),e.frameLoop&&(i.frameLoop=e.frameLoop)},D=new Set,B=[],z=[],U=0,H={get idle(){return!D.size&&!B.length},start(e){U>e.priority?(D.add(e),i.onStart(V)):(W(e),i(Y))},advance:Y,sort(e){if(U)i.onFrame(()=>H.sort(e));else{const t=B.indexOf(e);~t&&(B.splice(t,1),G(e))}},clear(){B=[],D.clear()}};function V(){D.forEach(W),D.clear(),i(Y)}function W(e){B.includes(e)||G(e)}function G(e){B.splice(function(t){const n=t.findIndex(t=>t.priority>e.priority);return n<0?t.length:n}(B),0,e)}function Y(e){const t=z;for(let n=0;n<B.length;n++){const r=B[n];U=r.priority,r.idle||(F(r),r.advance(e),r.idle||t.push(r))}return U=0,(z=B).length=0,(B=t).length>0}var q="[-+]?\\d*\\.?\\d+",K=q+"%";function X(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Q=new RegExp("rgb"+X(q,q,q)),Z=new RegExp("rgba"+X(q,q,q,q)),J=new RegExp("hsl"+X(q,K,K)),ee=new RegExp("hsla"+X(q,K,K,q)),te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,re=/^#([0-9a-fA-F]{6})$/,ie=/^#([0-9a-fA-F]{8})$/;function oe(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ae(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=oe(i,r,e+1/3),a=oe(i,r,e),s=oe(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function se(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function le(e){return(parseFloat(e)%360+360)%360/360}function ce(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ue(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function de(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=re.exec(e))?parseInt(t[1]+"ff",16)>>>0:N&&void 0!==N[e]?N[e]:(t=Q.exec(e))?(se(t[1])<<24|se(t[2])<<16|se(t[3])<<8|255)>>>0:(t=Z.exec(e))?(se(t[1])<<24|se(t[2])<<16|se(t[3])<<8|ce(t[4]))>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ie.exec(e))?parseInt(t[1],16)>>>0:(t=ne.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=J.exec(e))?(255|ae(le(t[1]),ue(t[2]),ue(t[3])))>>>0:(t=ee.exec(e))?(ae(le(t[1]),ue(t[2]),ue(t[3]))|ce(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}var he=(e,t,n)=>{if(C.fun(e))return e;if(C.arr(e))return he({range:e,output:t,extrapolate:n});if(C.str(e.output[0]))return T(e);const r=e,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(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=o(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r,c)}(e,o[t],o[t+1],i[t],i[t+1],l,a,s,r.map)}},pe=1.70158,fe=1.525*pe,ge=pe+1,me=2*Math.PI/3,ye=2*Math.PI/4.5,xe=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},ve={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>ge*e*e*e-pe*e*e,easeOutBack:e=>1+ge*Math.pow(e-1,3)+pe*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-fe)/2:(Math.pow(2*e-2,2)*((fe+1)*(2*e-2)+fe)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*me),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*me)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*ye)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*ye)/2+1,easeInBounce:e=>1-xe(1-e),easeOutBounce:xe,easeInOutBounce:e=>e<.5?(1-xe(1-2*e))/2:(1+xe(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return i=("end"===t?Math.floor(r):Math.ceil(r))/e,Math.min(Math.max(i,0),1);var i}},be=Symbol.for("FluidValue.get"),Ae=Symbol.for("FluidValue.observers"),we=e=>Boolean(e&&e[be]),ke=e=>e&&e[be]?e[be]():e,Me=e=>e[Ae]||null;function Ce(e,t){const n=e[Ae];n&&n.forEach(e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)})}var Se=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Ie(this,e)}},Ie=(e,t)=>Te(e,be,t);function $e(e,t){if(e[be]){let n=e[Ae];n||Te(e,Ae,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Pe(e,t){const n=e[Ae];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Ae]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var Re,Te=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),je=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,_e=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Oe=new RegExp(`(${je.source})(%|[a-z]+)`,"i"),Ne=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Ee=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Fe=e=>{const[t,n]=Le(e);if(!t||O())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){return window.getComputedStyle(document.documentElement).getPropertyValue(n)||e}return n&&Ee.test(n)?Fe(n):n||e},Le=e=>{const t=Ee.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},De=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,Be=e=>{Re||(Re=N?new RegExp(`(${Object.keys(N).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(e=>ke(e).replace(Ee,Fe).replace(_e,de).replace(Re,de)),n=t.map(e=>e.match(je).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=>he({...e,output:t}));return e=>{const n=!Oe.test(t[0])&&t.find(e=>Oe.test(e))?.replace(je,"");let i=0;return t[0].replace(je,()=>`${r[i++](e)}${n||""}`).replace(Ne,De)}},ze="react-spring: ",Ue=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${ze}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},He=Ue(console.warn),Ve=Ue(console.warn);function We(e){return C.str(e)&&("#"==e[0]||/\d/.test(e)||!O()&&Ee.test(e)||e in(N||{}))}var Ge=O()?A.useEffect:A.useLayoutEffect;function Ye(){const e=(0,A.useState)()[1],t=(()=>{const e=(0,A.useRef)(!1);return Ge(()=>(e.current=!0,()=>{e.current=!1}),[]),e})();return()=>{t.current&&e(Math.random())}}var qe=e=>(0,A.useEffect)(e,Ke),Ke=[];function Xe(e){const t=(0,A.useRef)();return(0,A.useEffect)(()=>{t.current=e}),t.current}var Qe=Symbol.for("Animated:node"),Ze=e=>e&&e[Qe],Je=(e,t)=>{return n=e,r=Qe,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},et=e=>e&&e[Qe]&&e[Qe].getPayload(),tt=class{constructor(){Je(this,this)}getPayload(){return this.payload||[]}},nt=class extends tt{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,C.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new nt(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return C.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(){const{done:e}=this;this.done=!1,C.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},rt=class extends nt{constructor(e){super(0),this._string=null,this._toString=he({output:[e,e]})}static create(e){return new rt(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(C.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=he({output:[this.getValue(),e]})),this._value=0,super.reset()}},it={dependencies:null},ot=class extends tt{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return $(this.source,(n,r)=>{var i;(i=n)&&i[Qe]===i?t[r]=n.getValue(e):we(n)?t[r]=ke(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&I(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return $(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){it.dependencies&&we(e)&&it.dependencies.add(e);const t=et(e);t&&I(t,e=>this.add(e))}},at=class extends ot{constructor(e){super(e)}static create(e){return new at(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(st)),!0)}};function st(e){return(We(e)?rt:nt).create(e)}function lt(e){const t=Ze(e);return t?t.constructor:C.arr(e)?at:We(e)?rt:nt}var ct=(e,t)=>{const n=!C.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,A.forwardRef)((r,o)=>{const a=(0,A.useRef)(null),s=n&&(0,A.useCallback)(e=>{a.current=function(e,t){return e&&(C.fun(e)?e(t):e.current=t),t}(o,e)},[o]),[l,c]=function(e,t){const n=new Set;return it.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new ot(e),it.dependencies=null,[e,n]}(r,t),u=Ye(),d=()=>{const e=a.current;n&&!e||!1===(!!e&&t.applyAnimatedValues(e,l.getValue(!0)))&&u()},h=new ut(d,c),p=(0,A.useRef)();Ge(()=>(p.current=h,I(c,e=>$e(e,h)),()=>{p.current&&(I(p.current.deps,e=>Pe(e,p.current)),i.cancel(p.current.update))})),(0,A.useEffect)(d,[]),qe(()=>()=>{const e=p.current;I(e.deps,t=>Pe(t,e))});const f=t.getComponentProps(l.getValue());return A.createElement(e,{...f,ref:s})})},ut=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&i.write(this.update)}},dt=Symbol.for("AnimatedComponent"),ht=e=>C.str(e)?e:e&&C.str(e.displayName)?e.displayName:C.fun(e)&&e.name||null;function pt(e,...t){return C.fun(e)?e(...t):e}var ft=(e,t)=>!0===e||!!(t&&e&&(C.fun(e)?e(t):P(e).includes(t))),gt=(e,t)=>C.obj(e)?t&&e[t]:e,mt=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,yt=e=>e,xt=(e,t=yt)=>{let n=vt;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const n=t(e[i],i);C.und(n)||(r[i]=n)}return r},vt=["config","onProps","onStart","onChange","onPause","onResume","onRest"],bt={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 At(e){const t=function(e){const t={};let n=0;if($(e,(e,r)=>{bt[r]||(t[r]=e,n++)}),n)return t}(e);if(t){const n={to:t};return $(e,(e,r)=>r in t||(n[r]=e)),n}return{...e}}function wt(e){return e=ke(e),C.arr(e)?e.map(wt):We(e)?k.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function kt(e){for(const t in e)return!0;return!1}function Mt(e){return C.fun(e)||C.arr(e)&&C.obj(e[0])}function Ct(e,t){e.ref?.delete(e),t?.delete(e)}function St(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var It={tension:170,friction:26,mass:1,damping:1,easing:ve.linear,clamp:!1},$t=class{constructor(){this.velocity=0,Object.assign(this,It)}};function Pt(e,t){if(C.und(t.decay)){const n=!C.und(t.tension)||!C.und(t.friction);!n&&C.und(t.frequency)&&C.und(t.damping)&&C.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var Rt=[],Tt=class{constructor(){this.changed=!1,this.values=Rt,this.toValues=null,this.fromValues=Rt,this.config=new $t,this.immediate=!1}};function jt(e,{key:t,props:n,defaultProps:r,state:o,actions:a}){return new Promise((s,l)=>{let c,u,d=ft(n.cancel??r?.cancel,t);if(d)f();else{C.und(n.pause)||(o.paused=ft(n.pause,t));let e=r?.pause;!0!==e&&(e=o.paused||ft(e,t)),c=pt(n.delay||0,t),e?(o.resumeQueue.add(p),a.pause()):(a.resume(),p())}function h(){o.resumeQueue.add(p),o.timeouts.delete(u),u.cancel(),c=u.time-i.now()}function p(){c>0&&!k.skipAnimation?(o.delayed=!0,u=i.setTimeout(f,c),o.pauseQueue.add(h),o.timeouts.add(u)):f()}function f(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(h),o.timeouts.delete(u),e<=(o.cancelId||0)&&(d=!0);try{a.start({...n,callId:e,cancel:d},s)}catch(e){l(e)}}})}var _t=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?Et(e.get()):t.every(e=>e.noop)?Ot(e.get()):Nt(e.get(),t.every(e=>e.finished)),Ot=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Nt=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Et=e=>({value:e,cancelled:!0,finished:!1});function Ft(e,t,n,r){const{callId:o,parentId:a,onRest:s}=t,{asyncTo:l,promise:c}=n;return a||e!==l||t.reset?n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;const u=xt(t,(e,t)=>"onRest"===t?void 0:e);let d,h;const p=new Promise((e,t)=>(d=e,h=t)),f=e=>{const t=o<=(n.cancelId||0)&&Et(r)||o!==n.asyncId&&Nt(r,!1);if(t)throw e.result=t,h(e),e},g=(e,t)=>{const i=new Dt,a=new Bt;return(async()=>{if(k.skipAnimation)throw Lt(n),a.result=Nt(r,!1),h(a),a;f(i);const s=C.obj(e)?{...e}:{...t,to:e};s.parentId=o,$(u,(e,t)=>{C.und(s[t])&&(s[t]=e)});const l=await r.start(s);return f(i),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),l})()};let m;if(k.skipAnimation)return Lt(n),Nt(r,!1);try{let t;t=C.arr(e)?(async e=>{for(const t of e)await g(t)})(e):Promise.resolve(e(g,r.stop.bind(r))),await Promise.all([t.then(d),p]),m=Nt(r.get(),!0,!1)}catch(e){if(e instanceof Dt)m=e.result;else{if(!(e instanceof Bt))throw e;m=e.result}}finally{o==n.asyncId&&(n.asyncId=a,n.asyncTo=a?l:void 0,n.promise=a?c:void 0)}return C.fun(s)&&i.batchedUpdates(()=>{s(m,r,r.item)}),m})():c}function Lt(e,t){R(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Dt=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.")}},Bt=class extends Error{constructor(){super("SkipAnimationSignal")}},zt=e=>e instanceof Ht,Ut=1,Ht=class extends Se{constructor(){super(...arguments),this.id=Ut++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Ze(this);return e&&e.getValue()}to(...e){return k.to(this,e)}interpolate(...e){return He(`${ze}The "interpolate" function is deprecated in v9 (use "to" instead)`),k.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){Ce(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||H.sort(this),Ce(this,{type:"priority",parent:this,priority:e})}},Vt=Symbol.for("SpringPhase"),Wt=e=>(1&e[Vt])>0,Gt=e=>(2&e[Vt])>0,Yt=e=>(4&e[Vt])>0,qt=(e,t)=>t?e[Vt]|=3:e[Vt]&=-3,Kt=(e,t)=>t?e[Vt]|=4:e[Vt]&=-5,Xt=class extends Ht{constructor(e,t){if(super(),this.animation=new Tt,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,!C.und(e)||!C.und(t)){const n=C.obj(e)?{...e}:{...t,from:e};C.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Gt(this)||this._state.asyncTo)||Yt(this)}get goal(){return ke(this.animation.to)}get velocity(){const e=Ze(this);return e instanceof nt?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return Wt(this)}get isAnimating(){return Gt(this)}get isPaused(){return Yt(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:o}=r,a=et(r.to);!a&&we(r.to)&&(i=P(ke(r.to))),r.values.forEach((s,l)=>{if(s.done)return;const c=s.constructor==rt?1:a?a[l].lastPosition:i[l];let u=r.immediate,d=c;if(!u){if(d=s.lastPosition,o.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[l],i=null!=s.v0?s.v0:s.v0=C.arr(o.velocity)?o.velocity[l]:o.velocity;let a;const h=o.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(C.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);d=n+i/(1-e)*(1-r),u=Math.abs(s.lastPosition-d)<=h,a=i*r}else{a=null==s.lastVelocity?i:s.lastVelocity;const t=o.restVelocity||h/10,r=o.clamp?0:o.bounce,l=!C.und(r),p=n==c?s.v0>0:n<c;let f,g=!1;const m=1,y=Math.ceil(e/m);for(let e=0;e<y&&(f=Math.abs(a)>t,f||(u=Math.abs(c-d)<=h,!u));++e)l&&(g=d==c||d>c==p,g&&(a=-a*r,d=c)),a+=(1e-6*-o.tension*(d-c)+.001*-o.friction*a)/o.mass*m,d+=a*m}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,s.durationProgress>0&&(s.elapsedTime=o.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(o.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),d=n+o.easing(r)*(c-n),a=(d-s.lastPosition)/e,u=1==r}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,o.round)&&(n=!0)});const s=Ze(this),l=s.getValue();if(t){const e=ke(r.to);l===e&&!n||o.decay?n&&o.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return i.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Gt(this)){const{to:e,config:t}=this.animation;i.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 C.und(e)?(n=this.queue||[],this.queue=[]):n=[C.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>this._update(e))).then(e=>_t(this,e))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Lt(this._state,e&&this._lastCallId),i.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){const t=this.key||"";let{to:n,from:r}=e;n=C.obj(n)?n[t]:n,(null==n||Mt(n))&&(n=void 0),r=C.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return Wt(this)||(e.reverse&&([n,r]=[r,n]),r=ke(r),C.und(r)?Ze(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,xt(e,(e,t)=>/^on/.test(t)?gt(e,n):e)),rn(this,e,"onProps"),on(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const o=this._state;return jt(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Yt(this)||(Kt(this,!0),_(o.pauseQueue),on(this,"onPause",Nt(this,Qt(this,this.animation.to)),this))},resume:()=>{Yt(this)&&(Kt(this,!1),Gt(this)&&this._resume(),_(o.resumeQueue),on(this,"onResume",Nt(this,Qt(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=Zt(e);if(t)return this._update(t,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Et(this));const r=!C.und(e.to),o=!C.und(e.from);if(r||o){if(!(t.callId>this._lastToId))return n(Et(this));this._lastToId=t.callId}const{key:a,defaultProps:s,animation:l}=this,{to:c,from:u}=l;let{to:d=c,from:h=u}=e;!o||r||t.default&&!C.und(d)||(d=h),t.reverse&&([d,h]=[h,d]);const p=!S(h,u);p&&(l.from=h),h=ke(h);const f=!S(d,c);f&&this._focus(d);const g=Mt(t.to),{config:m}=l,{decay:y,velocity:x}=m;(r||o)&&(m.velocity=0),t.config&&!g&&function(e,t,n){n&&(Pt(n={...n},t),t={...n,...t}),Pt(e,t),Object.assign(e,t);for(const t in It)null==e[t]&&(e[t]=It[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;C.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*i*o/r)}(m,pt(t.config,a),t.config!==s.config?pt(s.config,a):void 0);let v=Ze(this);if(!v||C.und(d))return n(Nt(this,!0));const b=C.und(t.reset)?o&&!t.default:!C.und(h)&&ft(t.reset,a),A=b?h:this.get(),w=wt(d),k=C.num(w)||C.arr(w)||We(w),M=!g&&(!k||ft(s.immediate||t.immediate,a));if(f){const e=lt(d);if(e!==v.constructor){if(!M)throw Error(`Cannot animate between ${v.constructor.name} and ${e.name}, as the "to" prop suggests`);v=this._set(w)}}const $=v.constructor;let R=we(d),T=!1;if(!R){const e=b||!Wt(this)&&p;(f||e)&&(T=S(wt(A),w),R=!T),(S(l.immediate,M)||M)&&S(m.decay,y)&&S(m.velocity,x)||(R=!0)}if(T&&Gt(this)&&(l.changed&&!b?R=!0:R||this._stop(c)),!g&&((R||we(c))&&(l.values=v.getPayload(),l.toValues=we(d)?null:$==rt?[1]:P(w)),l.immediate!=M&&(l.immediate=M,M||b||this._set(c)),R)){const{onRest:e}=l;I(nn,e=>rn(this,t,e));const r=Nt(this,Qt(this,c));_(this._pendingCalls,r),this._pendingCalls.add(n),l.changed&&i.batchedUpdates(()=>{l.changed=!b,e?.(r,this),b?pt(s.onRest,r):l.onStart?.(r,this)})}b&&this._set(A),g?n(Ft(t.to,t,this._state,this)):R?this._start():Gt(this)&&!f?this._pendingCalls.add(n):n(Ot(A))}_focus(e){const t=this.animation;e!==t.to&&(Me(this)&&this._detach(),t.to=e,Me(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;we(t)&&($e(t,this),zt(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;we(e)&&Pe(e,this)}_set(e,t=!0){const n=ke(e);if(!C.und(n)){const e=Ze(this);if(!e||!S(n,e.getValue())){const r=lt(n);e&&e.constructor==r?e.setValue(n):Je(this,r.create(n)),e&&i.batchedUpdates(()=>{this._onChange(n,t)})}}return Ze(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,on(this,"onStart",Nt(this,Qt(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),pt(this.animation.onChange,e,this)),pt(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Ze(this).reset(ke(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),Gt(this)||(qt(this,!0),Yt(this)||this._resume())}_resume(){k.skipAnimation?this.finish():H.start(this)}_stop(e,t){if(Gt(this)){qt(this,!1);const n=this.animation;I(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Ce(this,{type:"idle",parent:this});const r=t?Et(this.get()):Nt(this.get(),Qt(this,e??n.to));_(this._pendingCalls,r),n.changed&&(n.changed=!1,on(this,"onRest",r,this))}}};function Qt(e,t){const n=wt(t);return S(wt(e.get()),n)}function Zt(e,t=e.loop,n=e.to){const r=pt(t);if(r){const i=!0!==r&&At(r),o=(i||e).reverse,a=!i||i.reset;return Jt({...e,loop:t,default:!1,pause:void 0,to:!o||Mt(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function Jt(e){const{to:t,from:n}=e=At(e),r=new Set;return C.obj(t)&&tn(t,r),C.obj(n)&&tn(n,r),e.keys=r.size?Array.from(r):null,e}function en(e){const t=Jt(e);return C.und(t.default)&&(t.default=xt(t)),t}function tn(e,t){$(e,(e,n)=>null!=e&&t.add(n))}var nn=["onStart","onRest","onChange","onPause","onResume"];function rn(e,t,n){e.animation[n]=t[n]!==mt(t,n)?gt(t[n],e.key):void 0}function on(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var an=["onStart","onChange","onRest"],sn=1,ln=class{constructor(e,t){this.id=sn++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];C.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Jt(e)),this}start(e){let{queue:t}=this;return e?t=P(e).map(Jt):this.queue=[],this._flush?this._flush(this,t):(gn(this,t),cn(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;I(P(t),t=>n[t].stop(!!e))}else Lt(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(C.und(e))this.start({pause:!0});else{const t=this.springs;I(P(e),e=>t[e].pause())}return this}resume(e){if(C.und(e))this.start({pause:!1});else{const t=this.springs;I(P(e),e=>t[e].resume())}return this}each(e){$(this.springs,e)}_onFrame(){const{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,R(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));const o=!r&&this._started,a=i||o&&n.size?this.get():null;i&&t.size&&R(t,([e,t])=>{t.value=a,e(t,this,this._item)}),o&&(this._started=!1,R(n,([e,t])=>{t.value=a,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)}i.onFrame(this._onFrame)}};function cn(e,t){return Promise.all(t.map(t=>un(e,t))).then(t=>_t(e,t))}async function un(e,t,n){const{keys:r,to:o,from:a,loop:s,onRest:l,onResolve:c}=t,u=C.obj(t.default)&&t.default;s&&(t.loop=!1),!1===o&&(t.to=null),!1===a&&(t.from=null);const d=C.arr(o)||C.fun(o)?o:void 0;d?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):I(an,n=>{const r=t[n];if(C.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}});const h=e._state;t.pause===!h.paused?(h.paused=t.pause,_(t.pause?h.pauseQueue:h.resumeQueue)):h.paused&&(t.pause=!0);const p=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),f=!0===t.cancel||!0===mt(t,"cancel");(d||f&&h.asyncId)&&p.push(jt(++e._lastAsyncId,{props:t,state:h,actions:{pause:M,resume:M,start(t,n){f?(Lt(h,e._lastAsyncId),n(Et(e))):(t.onRest=l,n(Ft(d,t,h,e)))}}})),h.paused&&await new Promise(e=>{h.resumeQueue.add(e)});const g=_t(e,await Promise.all(p));if(s&&g.finished&&(!n||!g.noop)){const n=Zt(t,s,o);if(n)return gn(e,[n]),un(e,n,!0)}return c&&i.batchedUpdates(()=>c(g,e,e.item)),g}function dn(e,t){const n={...e.springs};return t&&I(P(t),e=>{C.und(e.keys)&&(e=Jt(e)),C.obj(e.to)||(e={...e,to:void 0}),fn(n,e,e=>pn(e))}),hn(e,n),n}function hn(e,t){$(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,$e(t,e))})}function pn(e,t){const n=new Xt;return n.key=e,t&&$e(n,t),n}function fn(e,t,n){t.keys&&I(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function gn(e,t){I(t,t=>{fn(e.springs,t,t=>pn(t,e))})}var mn,yn,xn=({children:e,...t})=>{const n=(0,A.useContext)(vn),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=function(e,t){const[n]=(0,A.useState)(()=>({inputs:t,result:e()})),r=(0,A.useRef)(),i=r.current;let o=i;return o?Boolean(t&&o.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}(t,o.inputs))||(o={inputs:t,result:e()}):o=n,(0,A.useEffect)(()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)},[o]),o.result}(()=>({pause:r,immediate:i}),[r,i]);const{Provider:o}=vn;return A.createElement(o,{value:t},e)},vn=(mn=xn,yn={},Object.assign(mn,A.createContext(yn)),mn.Provider._context=mn,mn.Consumer._context=mn,mn);xn.Provider=vn.Provider,xn.Consumer=vn.Consumer;var bn=()=>{const e=[],t=function(t){Ve(`${ze}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`);const r=[];return I(e,(e,i)=>{if(C.und(t))r.push(e.start());else{const o=n(t,e,i);o&&r.push(e.start(o))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return I(e,e=>e.pause(...arguments)),this},t.resume=function(){return I(e,e=>e.resume(...arguments)),this},t.set=function(t){I(e,(e,n)=>{const r=C.fun(t)?t(n,e):t;r&&e.set(r)})},t.start=function(t){const n=[];return I(e,(e,r)=>{if(C.und(t))n.push(e.start());else{const i=this._getProps(t,e,r);i&&n.push(e.start(i))}}),n},t.stop=function(){return I(e,e=>e.stop(...arguments)),this},t.update=function(t){return I(e,(e,n)=>e.update(this._getProps(t,e,n))),this};const n=function(e,t,n){return C.fun(e)?e(n,t):e};return t._getProps=n,t};function An(e,t){const n=C.fun(e),[[r],i]=function(e,t,n){const r=C.fun(t)&&t;r&&!n&&(n=[]);const i=(0,A.useMemo)(()=>r||3==arguments.length?bn():void 0,[]),o=(0,A.useRef)(0),a=Ye(),s=(0,A.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){const n=dn(e,t);return o.current>0&&!s.queue.length&&!Object.keys(n).some(t=>!e.springs[t])?cn(e,t):new Promise(r=>{hn(e,n),s.queue.push(()=>{r(cn(e,t))}),a()})}}),[]),l=(0,A.useRef)([...s.ctrls]),c=[],u=Xe(e)||0;function d(e,n){for(let i=e;i<n;i++){const e=l.current[i]||(l.current[i]=new ln(null,s.flush)),n=r?r(i,e):t[i];n&&(c[i]=en(n))}}(0,A.useMemo)(()=>{I(l.current.slice(e,u),e=>{Ct(e,i),e.stop(!0)}),l.current.length=e,d(u,e)},[e]),(0,A.useMemo)(()=>{d(0,Math.min(u,e))},n);const h=l.current.map((e,t)=>dn(e,c[t])),p=(0,A.useContext)(xn),f=Xe(p),g=p!==f&&kt(p);Ge(()=>{o.current++,s.ctrls=l.current;const{queue:e}=s;e.length&&(s.queue=[],I(e,e=>e())),I(l.current,(e,t)=>{i?.add(e),g&&e.start({default:p});const n=c[t];n&&(St(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),qe(()=>()=>{I(s.ctrls,e=>e.stop(!0))});const m=h.map(e=>({...e}));return i?[m,i]:m}(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}function wn(e,t,n){const r=C.fun(t)&&t,{reset:i,sort:o,trail:a=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:c,ref:u,config:d}=r?r():t,h=(0,A.useMemo)(()=>r||3==arguments.length?bn():void 0,[]),p=P(e),f=[],g=(0,A.useRef)(null),m=i?null:g.current;Ge(()=>{g.current=f}),qe(()=>(I(f,e=>{h?.add(e.ctrl),e.ctrl.ref=h}),()=>{I(g.current,e=>{e.expired&&clearTimeout(e.expirationId),Ct(e.ctrl,h),e.ctrl.stop(!0)})}));const y=function(e,{key:t,keys:n=t},r){if(null===n){const t=new Set;return e.map(e=>{const n=r&&r.find(n=>n.item===e&&"leave"!==n.phase&&!t.has(n));return n?(t.add(n),n.key):kn++})}return C.und(n)?e:C.fun(n)?e.map(n):P(n)}(p,r?r():t,m),x=i&&g.current||[];Ge(()=>I(x,({ctrl:e,item:t,key:n})=>{Ct(e,h),pt(c,t,n)}));const v=[];if(m&&I(m,(e,t)=>{e.expired?(clearTimeout(e.expirationId),x.push(e)):~(t=v[t]=y.indexOf(e.key))&&(f[t]=e)}),I(p,(e,t)=>{f[t]||(f[t]={key:y[t],item:e,phase:"mount",ctrl:new ln},f[t].ctrl.item=e)}),v.length){let e=-1;const{leave:n}=r?r():t;I(v,(t,r)=>{const i=m[r];~t?(e=f.indexOf(i),f[e]={...i,item:p[t]}):n&&f.splice(++e,0,i)})}C.fun(o)&&f.sort((e,t)=>o(e.item,t.item));let b=-a;const w=Ye(),k=xt(t),M=new Map,S=(0,A.useRef)(new Map),$=(0,A.useRef)(!1);I(f,(e,n)=>{const i=e.key,o=e.phase,c=r?r():t;let h,p;const f=pt(c.delay||0,i);if("mount"==o)h=c.enter,p="enter";else{const e=y.indexOf(i)<0;if("leave"!=o)if(e)h=c.leave,p="leave";else{if(!(h=c.update))return;p="update"}else{if(e)return;h=c.enter,p="enter"}}if(h=pt(h,e.item,n),h=C.obj(h)?At(h):{to:h},!h.config){const t=d||k.config;h.config=pt(t,e.item,n,p)}b+=a;const x={...k,delay:f+b,ref:u,immediate:c.immediate,reset:!1,...h};if("enter"==p&&C.und(x.from)){const i=r?r():t,o=C.und(i.initial)||m?i.from:i.initial;x.from=pt(o,e.item,n)}const{onResolve:v}=x;x.onResolve=e=>{pt(v,e);const t=g.current,n=t.find(e=>e.key===i);if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every(e=>e.ctrl.idle);if("leave"==n.phase){const t=pt(s,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(w,r)))}}e&&t.some(e=>e.expired)&&(S.current.delete(n),l&&($.current=!0),w())}};const A=dn(e.ctrl,x);"leave"===p&&l?S.current.set(e,{phase:p,springs:A,payload:x}):M.set(e,{phase:p,springs:A,payload:x})});const R=(0,A.useContext)(xn),T=Xe(R),j=R!==T&&kt(R);Ge(()=>{j&&I(f,e=>{e.ctrl.start({default:R})})},[R]),I(M,(e,t)=>{if(S.current.size){const e=f.findIndex(e=>e.key===t.key);f.splice(e,1)}}),Ge(()=>{I(S.current.size?S.current:M,({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,h?.add(r),j&&"enter"==e&&r.start({default:R}),t&&(St(r,t.ref),!r.ref&&!h||$.current?(r.start(t),$.current&&($.current=!1)):r.update(t))})},i?void 0:n);const _=e=>A.createElement(A.Fragment,null,f.map((t,n)=>{const{springs:r}=M.get(t)||t.ctrl,i=e({...r},t.item,t,n);return i&&i.type?A.createElement(i.type,{...i.props,key:C.str(t.key)||C.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i}));return h?[_,h]:_}var kn=1,Mn=class extends Ht{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=he(...t);const n=this._get(),r=lt(n);Je(this,r.create(n))}advance(e){const t=this._get();S(t,this.get())||(Ze(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Sn(this._active)&&In(this)}_get(){const e=C.arr(this.source)?this.source.map(ke):P(ke(this.source));return this.calc(...e)}_start(){this.idle&&!Sn(this._active)&&(this.idle=!1,I(et(this),e=>{e.done=!1}),k.skipAnimation?(i.batchedUpdates(()=>this.advance()),In(this)):H.start(this))}_attach(){let e=1;I(P(this.source),t=>{we(t)&&$e(t,this),zt(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){I(P(this.source),e=>{we(e)&&Pe(e,this)}),this._active.clear(),In(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=P(this.source).reduce((e,t)=>Math.max(e,(zt(t)?t.priority:0)+1),0))}};function Cn(e){return!1!==e.idle}function Sn(e){return!e.size||Array.from(e).every(Cn)}function In(e){e.idle||(e.idle=!0,I(et(e),e=>{e.done=!0}),Ce(e,{type:"idle",parent:e}))}var $n=(e,...t)=>new Mn(e,t);k.assign({createStringInterpolator:Be,to:(e,t)=>new Mn(e,t)}),H.advance;var Pn=n(75795),Rn=/^--/;function Tn(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Rn.test(e)||On.hasOwnProperty(e)&&On[e]?(""+t).trim():t+"px"}var jn={},On={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},Nn=["Webkit","Ms","Moz","O"];On=Object.keys(On).reduce((e,t)=>(Nn.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),On);var En=/^(matrix|translate|scale|rotate|skew)/,Fn=/^(translate)/,Ln=/^(rotate|skew)/,Dn=(e,t)=>C.num(e)&&0!==e?e+t:e,Bn=(e,t)=>C.arr(e)?e.every(e=>Bn(e,t)):C.num(e)?e===t:parseFloat(e)===t,zn=class extends ot{constructor({x:e,y:t,z:n,...r}){const i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push(e=>[`translate3d(${e.map(e=>Dn(e,"px")).join(",")})`,Bn(e,0)])),$(r,(e,t)=>{if("transform"===t)i.push([e||""]),o.push(e=>[e,""===e]);else if(En.test(t)){if(delete r[t],C.und(e))return;const n=Fn.test(t)?"px":Ln.test(t)?"deg":"";i.push(P(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${Dn(i,n)})`,Bn(i,0)]:e=>[`${t}(${e.map(e=>Dn(e,n)).join(",")})`,Bn(e,t.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new Un(i,o)),super(r)}},Un=class extends Se{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 I(this.inputs,(n,r)=>{const i=ke(n[0]),[o,a]=this.transforms[r](C.arr(i)?i:n.map(ke));e+=" "+o,t=t&&a}),t?"none":e}observerAdded(e){1==e&&I(this.inputs,e=>I(e,e=>we(e)&&$e(e,this)))}observerRemoved(e){0==e&&I(this.inputs,e=>I(e,e=>we(e)&&Pe(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),Ce(this,e)}};k.assign({batchedUpdates:Pn.unstable_batchedUpdates,createStringInterpolator:Be,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 Hn=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new ot(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=ht(e)||"Anonymous";return(e=C.str(e)?o[e]||(o[e]=ct(e,i)):e[dt]||(e[dt]=ct(e,i))).displayName=`Animated(${t})`,e};return $(e,(t,n)=>{C.arr(e)&&(n=ht(t)),o[n]=o(t)}),{animated:o}})(["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;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:a,scrollLeft:s,viewBox:l,...c}=t,u=Object.values(c),d=Object.keys(c).map(t=>n||e.hasAttribute(t)?t:jn[t]||(jn[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));void 0!==o&&(e.textContent=o);for(const t in i)if(i.hasOwnProperty(t)){const n=Tn(t,i[t]);Rn.test(t)?e.style.setProperty(t,n):e.style[t]=n}d.forEach((t,n)=>{e.setAttribute(t,u[n])}),void 0!==r&&(e.className=r),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new zn(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),Vn=Hn.animated},53356(e,t,n){n.d(t,{A:()=>a}),n(51609);var r=n(14921),i=n(42657),o=n(31355);function a(){const e=(0,r.A)(i.A);return e[o.A]||e}},53776(e,t,n){n.d(t,{A:()=>o});var r=n(51609),i=n(78079);const o=function(e){const{children:t,defer:n=!1,fallback:o=null}=e,[a,s]=r.useState(!1);return(0,i.A)(()=>{n||s(!0)},[n]),r.useEffect(()=>{n&&s(!0)},[n]),a?t:o}},54405(e,t){Symbol.for("react.transitional.element"),Symbol.for("react.portal");var n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=(Symbol.for("react.view_transition"),Symbol.for("react.client.reference"));t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===r||e===l||e===c||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===u||e.$$typeof===a||e.$$typeof===o||e.$$typeof===s||e.$$typeof===h||void 0!==e.getModuleId)}},54609(e,t,n){function r(e){return void 0!==e.bandwidth}n.d(t,{y:()=>r})},55202(e,t,n){n.d(t,{Jx:()=>s,NY:()=>o,P6:()=>a});var r=n(51609),i=n(97924);function o(){const{isInitialized:e,data:t}=r.useContext(i.$);if(!e)throw new Error(["MUI X: Could not find the series ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t}function a(){const e=o();return r.useMemo(()=>e.pie,[e.pie])}function s(){const e=o();return r.useMemo(()=>e.line,[e.line])}},57203(e,t,n){n.d(t,{q:()=>d});var r=n(58168);const i={widthCache:{},cacheCount:0},o={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},a=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],s="mui_measurement_span";function l(e,t){return a.indexOf(e)>=0&&t===+t?`${t}px`:t}function c(e){return e.split("").reduce((e,t)=>t===t.toUpperCase()?[...e,"-",t.toLowerCase()]:[...e,t],[]).join("")}let u;function d({style:e,needsComputation:t,text:n}){return n.split("\n").map(n=>(0,r.A)({text:n},t?((e,t={})=>{if(null==e||"undefined"==typeof window)return{width:0,height:0};const n=`${e}`,a=(e=>Object.keys(e).sort().reduce((t,n)=>`${t}${c(n)}:${l(n,e[n])};`,""))(t),d=`${n}-${a}`;if(i.widthCache[d])return i.widthCache[d];try{let e=document.getElementById(s);null===e&&(e=document.createElement("span"),e.setAttribute("id",s),e.setAttribute("aria-hidden","true"),document.body.appendChild(e));const a=(0,r.A)({},o,t);Object.keys(a).map(t=>(e.style[c(t)]=l(t,a[t]),t)),e.textContent=n;const h=e.getBoundingClientRect(),p={width:h.width,height:h.height};return i.widthCache[d]=p,i.cacheCount+1>2e3?(i.cacheCount=0,i.widthCache={}):i.cacheCount+=1,u&&clearTimeout(u),u=setTimeout(()=>{e.textContent=""},0),p}catch{return{width:0,height:0}}})(n,e):{width:0,height:0}))}},57866(e,t,n){n.d(t,{g:()=>g});var r=n(58168),i=(n(51609),n(98587)),o=n(46175),a=n(89812),s=n(10790);const l=["message"],c=(0,o.Ay)("text")(({theme:e})=>(0,r.A)({},e.typography.body2,{stroke:"none",fill:e.palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"}));function u(e){const{message:t}=e,n=(0,i.A)(e,l),{top:o,left:u,height:d,width:h}=(0,a.N)();return(0,s.jsx)(c,(0,r.A)({x:u+h/2,y:o+d/2},n,{children:t??"Loading data…"}))}var d=n(55202);const h=["message"],p=(0,o.Ay)("text")(({theme:e})=>(0,r.A)({},e.typography.body2,{stroke:"none",fill:e.palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"}));function f(e){const{message:t}=e,n=(0,i.A)(e,h),{top:o,left:l,height:c,width:u}=(0,a.N)();return(0,s.jsx)(p,(0,r.A)({x:l+u/2,y:o+c/2},n,{children:t??"No data to display"}))}function g(e){const t=function(){const e=(0,d.NY)();return Object.values(e).every(e=>{if(!e)return!0;const{series:t,seriesOrder:n}=e;return n.every(e=>0===t[e].data.length)})}();if(e.loading){const t=e.slots?.loadingOverlay??u;return(0,s.jsx)(t,(0,r.A)({},e.slotProps?.loadingOverlay))}if(t){const t=e.slots?.noDataOverlay??f;return(0,s.jsx)(t,(0,r.A)({},e.slotProps?.noDataOverlay))}return null}},58172(e,t,n){function r(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}n.d(t,{A:()=>r})},61698(e,t,n){n.d(t,{Ay:()=>o,HX:()=>a,tT:()=>l});var r=n(71479),i=n(43174);function o(e,t){return(0,r.A)(e,t)}function a(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const s=[];function l(e){return s[0]=e,(0,i.J)(s)}},63132(e,t,n){function r(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function i(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function o(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,i]=n,o=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(o)}function a(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const i=t(e.breakpoints.not(...n),r);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}const r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}n.d(t,{Ay:()=>a,CT:()=>o,_S:()=>r,ob:()=>i})},63248(e,t,n){n.d(t,{Ay:()=>f,MC:()=>c});var r=n(61698),i=n(10575),o=n(65387),a=n(95548),s=n(18139);const l=(0,o.A)();function c(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function u(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function d(e){return e?(t,n)=>n[e]:null}function h(e,t,n){const i="function"==typeof t?t(e):t;if(Array.isArray(i))return i.flatMap(t=>h(e,t,n));if(Array.isArray(i?.variants)){let t;if(i.isProcessed)t=n?u(i.style,n):i.style;else{const{variants:e,...o}=i;t=n?u((0,r.tT)(o),n):o}return p(e,i.variants,[t],n)}return i?.isProcessed?n?u((0,r.tT)(i.style),n):i.style:n?u((0,r.tT)(i),n):i}function p(e,t,n=[],i=void 0){let o;e:for(let a=0;a<t.length;a+=1){const s=t[a];if("function"==typeof s.props){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(o))continue}else for(const t in s.props)if(e[t]!==s.props[t]&&e.ownerState?.[t]!==s.props[t])continue e;"function"==typeof s.style?(o??={...e,...e.ownerState,ownerState:e.ownerState},n.push(i?u((0,r.tT)(s.style(o)),i):s.style(o))):n.push(i?u((0,r.tT)(s.style),i):s.style)}return n}function f(e={}){const{themeId:t,defaultTheme:n=l,rootShouldForwardProp:o=c,slotShouldForwardProp:f=c}=e;function m(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{(0,r.HX)(e,e=>e.filter(e=>e!==a.A));const{name:n,slot:l,skipVariantsResolver:y,skipSx:x,overridesResolver:v=d(g(l)),...b}=t,A=n&&n.startsWith("Mui")||l?"components":"custom",w=void 0!==y?y:l&&"Root"!==l&&"root"!==l||!1,k=x||!1;let M=c;"Root"===l||"root"===l?M=o:l?M=f:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(M=void 0);const C=(0,r.Ay)(e,{shouldForwardProp:M,label:void 0,...b}),S=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return h(t,e,t.theme.modularCssLayers?A:void 0)};if((0,i.Q)(e)){const t=(0,s.A)(e);return function(e){return t.variants?h(e,t,e.theme.modularCssLayers?A:void 0):e.theme.modularCssLayers?u(t.style,A):t.style}}return e},I=(...t)=>{const r=[],i=t.map(S),o=[];if(r.push(m),n&&v&&o.push(function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const i={};for(const t in r)i[t]=h(e,r[t],e.theme.modularCssLayers?"theme":void 0);return v(e,i)}),n&&!w&&o.push(function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?p(e,r,[],e.theme.modularCssLayers?"theme":void 0):null}),k||o.push(a.A),Array.isArray(i[0])){const e=i.shift(),t=new Array(r.length).fill(""),n=new Array(o.length).fill("");let a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}const s=[...r,...i,...o],l=C(...s);return e.muiName&&(l.muiName=e.muiName),l};return C.withConfig&&(I.withConfig=C.withConfig),I}}function g(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}},63897(e,t,n){n.d(t,{b4:()=>i});var r=n(54609);function i(e){return(0,r.y)(e)?t=>(e(t)??0)+e.bandwidth()/2:t=>e(t)}},64180(e,t,n){n.d(t,{D:()=>a});var r=n(51609),i=n(4022),o=n(44126);const a=e=>{const{dispatch:t}=r.useContext(i.O),{setHighlighted:n,clearHighlighted:a}=(0,o.Z)();return e?()=>({}):e=>({onPointerEnter:()=>{t({type:"enterItem",data:e}),n({seriesId:e.seriesId,dataIndex:e.dataIndex})},onPointerLeave:n=>{n.currentTarget.hasPointerCapture(n.pointerId)&&n.currentTarget.releasePointerCapture(n.pointerId),t({type:"leaveItem",data:e}),a()},onPointerDown:e=>{e.currentTarget.hasPointerCapture(e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId)}})}},65387(e,t,n){n.d(t,{A:()=>u});var r=n(10575);var i=n(63132);const o={borderRadius:4};var a=n(33372),s=n(95548),l=n(98762);function c(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const u=function(e={},...t){const{breakpoints:n={},palette:u={},spacing:d,shape:h={},...p}=e,f=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...i}=e,o=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),a=Object.keys(o);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,i){const o=a.indexOf(i);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[a[o]]?t[a[o]]:i)-r/100}${n})`}return{keys:a,values:o,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...i}}(n),g=(0,a.A)(d);let m=(0,r.A)({breakpoints:f,direction:"ltr",components:{},palette:{mode:"light",...u},spacing:g,shape:{...o,...h}},p);return m=(0,i.Ay)(m),m.applyStyles=c,m=t.reduce((e,t)=>(0,r.A)(e,t),m),m.unstable_sxConfig={...l.A,...p?.unstable_sxConfig},m.unstable_sx=function(e){return(0,s.A)({sx:e,theme:this})},m}},67416(e,t,n){function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}n.d(t,{A:()=>i});const i=function(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}},67737(e,t,n){n.d(t,{A:()=>a});var r=n(8981),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");function a(e,t){var n,a,s,l=i.lastIndex=o.lastIndex=0,c=-1,u=[],d=[];for(e+="",t+="";(n=i.exec(e))&&(a=o.exec(t));)(s=a.index)>l&&(s=t.slice(l,s),u[c]?u[c]+=s:u[++c]=s),(n=n[0])===(a=a[0])?u[c]?u[c]+=a:u[++c]=a:(u[++c]=null,d.push({i:c,x:(0,r.A)(n,a)})),l=o.lastIndex;return l<t.length&&(s=t.slice(l),u[c]?u[c]+=s:u[++c]=s),u.length<2?d[0]?function(e){return function(t){return e(t)+""}}(d[0].x):function(e){return function(){return e}}(t):(t=d.length,function(e){for(var n,r=0;r<t;++r)u[(n=d[r]).i]=n.x(e);return u.join("")})}},72064(e,t,n){n.d(t,{n:()=>o});var r=n(51609),i=n(21818);function o(){const{isInitialized:e,data:t}=r.useContext(i.w7);if(!e)throw new Error(["MUI X: Could not find the svg ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return t}},73156(e,t,n){n.d(t,{b:()=>r});const r=n(51609).createContext({isInitialized:!1,data:{colorProcessors:{},seriesFormatters:{},xExtremumGetters:{},yExtremumGetters:{},rotationExtremumGetters:{},radiusExtremumGetters:{}}})},76542(e,t,n){n.d(t,{Q:()=>r});const r=n(51609).createContext({isInitialized:!1,data:{xAxis:{},yAxis:{},xAxisIds:[],yAxisIds:[]}})},78079(e,t,n){n.d(t,{A:()=>i});var r=n(51609);const i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},78106(e,t,n){n.d(t,{Ay:()=>s});var r=n(12902),i=n(90321);const o=(0,i.A)(r.A),a=o.right,s=(o.left,(0,i.A)(function(e){return null===e?NaN:+e}).center,a)},78398(e,t,n){n.d(t,{Zr:()=>y,hM:()=>f});var r=n(58168),i=n(98587),o=(n(51609),n(52555)),a=n(42716),s=n(75659),l=n(31609),c=n(46175),u=n(38413),d=n(10790);const h=["id","classes","color","startAngle","endAngle","paddingAngle","arcLabelRadius","innerRadius","outerRadius","cornerRadius","formattedArcLabel","isHighlighted","isFaded","style"];function p(e){return(0,l.Ay)("MuiPieArcLabel",e)}const f=(0,u.A)("MuiPieArcLabel",["root","highlighted","faded"]),g=(0,c.Ay)(o.CS.text,{name:"MuiPieArcLabel",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({fill:(e.vars||e).palette.text.primary,textAnchor:"middle",dominantBaseline:"middle",pointerEvents:"none"})),m=(e,t)=>(n,r,i,o,s)=>{if(!e)return 0;const[l,c]=(0,a.A)().cornerRadius(s).centroid({padAngle:i,startAngle:n,endAngle:r,innerRadius:o,outerRadius:o});return"x"===t?l:c};function y(e){const{id:t,classes:n,color:a,startAngle:l,endAngle:c,paddingAngle:u,arcLabelRadius:f,cornerRadius:y,formattedArcLabel:x,isHighlighted:v,isFaded:b,style:A}=e,w=(0,i.A)(e,h),k=(e=>{const{classes:t,id:n,isFaded:r,isHighlighted:i}=e,o={root:["root",`series-${n}`,i&&"highlighted",r&&"faded"]};return(0,s.A)(o,p,t)})({id:t,classes:n,color:a,isFaded:b,isHighlighted:v});return(0,d.jsx)(g,(0,r.A)({className:k.root},w,{style:(0,r.A)({x:(0,o.to)([l,c,u,f,y],m(x,"x")),y:(0,o.to)([l,c,u,f,y],m(x,"y"))},A),children:x}))}},82616(e,t,n){n.d(t,{b:()=>Se});var r=n(58168),i=n(51609),o=n(75659),a=n(46175),s=n(97107),l=n(411);function c(e){return e&&e.ownerDocument||document}var u=n(78079);function d(...e){const t=i.useRef(void 0),n=i.useCallback(t=>{const n=e.map(e=>{if(null==e)return null;if("function"==typeof e){const n=e,r=n(t);return"function"==typeof r?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return i.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)}var h=n(5316);function p(e,t,n=void 0){const r={};for(const i in e){const o=e[i];let a="",s=!0;for(let e=0;e<o.length;e+=1){const r=o[e];r&&(a+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(a+=" "+n[r]))}r[i]=a}return r}function f(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=f(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const g=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=f(e))&&(r&&(r+=" "),r+=t);return r},m=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t},y=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const e=g(n?.className,o,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},a={...n,...i,...r};return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}({...i,...r}),s=m(r),l=m(i),c=t(a),u=g(c?.className,n?.className,o,i?.className,r?.className),d={...c?.style,...n?.style,...i?.style,...r?.style},h={...c,...n,...l,...s};return u.length>0&&(h.className=u),Object.keys(d).length>0&&(h.style=d),{props:h,internalRef:c.ref}};var x=n(75795);function v(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const b=i.forwardRef(function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,s]=i.useState(null),l=d(i.isValidElement(n)?(c=n,parseInt(i.version,10)>=19?c?.props?.ref||null:c?.ref||null):null,t);var c;if((0,u.A)(()=>{o||s(function(e){return"function"==typeof e?e():e}(r)||document.body)},[r,o]),(0,u.A)(()=>{if(a&&!o)return v(t,a),()=>{v(t,null)}},[t,a,o]),o){if(i.isValidElement(n)){const e={ref:l};return i.cloneElement(n,e)}return n}return a?x.createPortal(n,a):a}),A=e=>e,w=(()=>{let e=A;return{configure(t){e=t},generate:t=>e(t),reset(){e=A}}})(),k={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function M(e,t,n="Mui"){const r=k[t];return r?`${n}-${r}`:`${w.generate(e)}-${t}`}function C(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=M(e,t,n)}),r}function S(e){return M("MuiPopper",e)}C("MuiPopper",["root"]);var I=n(10790);function $(e){return"function"==typeof e?e():e}const P={},R=i.forwardRef(function(e,t){const{anchorEl:n,children:r,direction:o,disablePortal:a,modifiers:s,open:l,placement:c,popperOptions:f,popperRef:g,slotProps:m={},slots:x={},TransitionProps:v,ownerState:b,...A}=e,w=i.useRef(null),k=d(w,t),M=i.useRef(null),C=d(M,g),P=i.useRef(C);(0,u.A)(()=>{P.current=C},[C]),i.useImperativeHandle(g,()=>M.current,[]);const R=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,o),[T,j]=i.useState(R),[_,O]=i.useState($(n));i.useEffect(()=>{M.current&&M.current.forceUpdate()}),i.useEffect(()=>{n&&O($(n))},[n]),(0,u.A)(()=>{if(!_||!l)return;let e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{j(e.placement)}}];null!=s&&(e=e.concat(s)),f&&null!=f.modifiers&&(e=e.concat(f.modifiers));const t=(0,h.n4)(_,w.current,{placement:R,...f,modifiers:e});return P.current(t),()=>{t.destroy(),P.current(null)}},[_,a,s,l,f,R]);const N={placement:T};null!==v&&(N.TransitionProps=v);const E=(e=>{const{classes:t}=e;return p({root:["root"]},S,t)})(e),F=x.root??"div",L=function(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...o}=e,a=i?{}:function(e,t){return"function"==typeof e?e(t,void 0):e}(n,r),{props:s,internalRef:l}=y({...o,externalSlotProps:a});return function(e,t,n){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...n}}}(t,{...s,ref:d(l,a?.ref,e.additionalProps?.ref)},r)}({elementType:F,externalSlotProps:m.root,externalForwardedProps:A,additionalProps:{role:"tooltip",ref:k},ownerState:e,className:E.root});return(0,I.jsx)(F,{...L,children:"function"==typeof r?r(N):r})}),T=i.forwardRef(function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:u,open:d,placement:h="bottom",popperOptions:p=P,popperRef:f,style:g,transition:m=!1,slotProps:y={},slots:x={},...v}=e,[A,w]=i.useState(!0);if(!l&&!d&&(!m||A))return null;let k;if(o)k=o;else if(n){const e=$(n);k=e&&void 0!==e.nodeType?c(e).body:c(null).body}const M=d||!l||m&&!A?void 0:"none",C=m?{in:d,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0;return(0,I.jsx)(b,{disablePortal:s,container:k,children:(0,I.jsx)(R,{anchorEl:n,direction:a,disablePortal:s,modifiers:u,ref:t,open:m?!A:d,placement:h,popperOptions:p,popperRef:f,slotProps:y,slots:x,...v,style:{position:"fixed",top:0,left:0,display:M,...g},TransitionProps:C,children:r})})});var j=n(33494);const _=i.createContext(void 0);function O(e){return function({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?(0,j.A)(i.defaultProps,r,t.components.mergeClassNameAndStyle):i.styleOverrides||i.variants?r:(0,j.A)(i,r,t.components.mergeClassNameAndStyle)}({props:e,name:t,theme:{components:i.useContext(_)}})}(e)}const N=(0,a.Ay)(T,{name:"MuiPopper",slot:"Root"})({}),E=i.forwardRef(function(e,t){const n=(0,l.I)(),r=O({props:e,name:"MuiPopper"}),{anchorEl:i,component:o,components:a,componentsProps:s,container:c,disablePortal:u,keepMounted:d,modifiers:h,open:p,placement:f,popperOptions:g,popperRef:m,transition:y,slots:x,slotProps:v,...b}=r,A=x?.root??a?.Root,w={anchorEl:i,container:c,disablePortal:u,keepMounted:d,modifiers:h,open:p,placement:f,popperOptions:g,popperRef:m,transition:y,...b};return(0,I.jsx)(N,{as:o,direction:n?"rtl":"ltr",slots:{root:A},slotProps:v??s,...w,ref:t})});var F=n(53776),L=n(84904),D=n(4022),B=n(72064);function z(e){if(null===e)return{getBoundingClientRect:()=>({width:0,height:0,x:0,y:0,top:0,right:0,bottom:0,left:0,toJSON:()=>""})};const{x:t,y:n}=e,i={width:0,height:0,x:t,y:n,top:n,right:t,bottom:n,left:t};return{getBoundingClientRect:()=>(0,r.A)({},i,{toJSON:()=>JSON.stringify(i)})}}var U=n(67416),H=n(63248),V=n(31609);function W(e){return(0,V.Ay)("MuiChartsTooltip",e)}const G=(0,n(38413).A)("MuiChartsTooltip",["root","paper","table","row","cell","mark","markCell","labelCell","valueCell"]),Y=(0,a.Ay)("div",{name:"MuiChartsTooltip",slot:"Container",overridesResolver:(e,t)=>t.paper})(({theme:e})=>({boxShadow:e.shadows[1],backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),borderRadius:e.shape.borderRadius})),q=(0,a.Ay)("table",{name:"MuiChartsTooltip",slot:"Table",overridesResolver:(e,t)=>t.table})(({theme:e})=>({borderSpacing:0,"& thead td":{borderBottom:`solid ${(e.vars||e).palette.divider} 1px`}})),K=(0,a.Ay)("tr",{name:"MuiChartsTooltip",slot:"Row",overridesResolver:(e,t)=>t.row})(({theme:e})=>({"tr:first-of-type& td":{paddingTop:e.spacing(1)},"tr:last-of-type& td":{paddingBottom:e.spacing(1)}})),X=(0,a.Ay)("td",{name:"MuiChartsTooltip",slot:"Cell",overridesResolver:(e,t)=>t.cell})(({theme:e})=>({verticalAlign:"middle",color:(e.vars||e).palette.text.secondary,[`&.${G.labelCell}`]:{paddingLeft:e.spacing(1)},[`&.${G.valueCell}`]:{paddingLeft:e.spacing(4),color:(e.vars||e).palette.text.primary},"td:first-of-type&":{paddingLeft:e.spacing(2)},"td:last-of-type&":{paddingRight:e.spacing(2)}})),Q=(0,a.Ay)("div",{name:"MuiChartsTooltip",slot:"Mark",overridesResolver:(e,t)=>t.mark,shouldForwardProp:e=>(0,H.MC)(e)&&"color"!==e})(({theme:e,color:t})=>({width:e.spacing(1),height:e.spacing(1),borderRadius:"50%",boxShadow:e.shadows[1],background:t,borderColor:(e.vars||e).palette.background.paper,border:`solid ${(e.vars||e).palette.background.paper} ${e.spacing(.25)}`,boxSizing:"content-box"}));var Z=n(32586);function J(e){const{series:t,itemData:n,sx:i,classes:o,getColor:a}=e;if(void 0===n.dataIndex||!t.data[n.dataIndex])return null;const{displayedLabel:s,color:l}="pie"===t.type?{color:a(n.dataIndex),displayedLabel:(0,Z.p)(t.data[n.dataIndex].label,"tooltip")}:{color:a(n.dataIndex),displayedLabel:(0,Z.p)(t.label,"tooltip")},c="pie"===t.type?(0,r.A)({},t.data[n.dataIndex],{label:(0,Z.p)(t.data[n.dataIndex].label,"tooltip")}):t.data[n.dataIndex],u=t.valueFormatter?.(c,{dataIndex:n.dataIndex});return(0,I.jsx)(Y,{sx:i,className:o.paper,children:(0,I.jsx)(q,{className:o.table,children:(0,I.jsx)("tbody",{children:(0,I.jsxs)(K,{className:o.row,children:[(0,I.jsx)(X,{className:(0,U.A)(o.markCell,o.cell),children:(0,I.jsx)(Q,{color:l,className:o.mark})}),(0,I.jsx)(X,{className:(0,U.A)(o.labelCell,o.cell),children:s}),(0,I.jsx)(X,{className:(0,U.A)(o.valueCell,o.cell),children:u})]})})})})}var ee=n(18917),te=n(13092),ne=n(73156);function re(e){const{isInitialized:t,data:n}=i.useContext(ne.b);if(!t)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join("\n"));return e?n.colorProcessors[e]:n.colorProcessors}var ie=n(55202);function oe(e){const{content:t,itemData:n,sx:o,classes:a,contentProps:s}=e,l=(0,ie.NY)()[n.type].series[n.seriesId],{xAxis:c,yAxis:u,xAxisIds:d,yAxisIds:h}=(0,ee.T)(),{zAxis:p,zAxisIds:f}=i.useContext(te.L),g=re(),m=l.xAxisId??l.xAxisKey??d[0],y=l.yAxisId??l.yAxisKey??h[0],x=l.zAxisId??l.zAxisKey??f[0],v=g[l.type]?.(l,m&&c[m],y&&u[y],x&&p[x])??(()=>""),b=t??J,A=(0,L.A)({elementType:b,externalSlotProps:s,additionalProps:{itemData:n,series:l,sx:o,classes:a,getColor:v},ownerState:{}});return(0,I.jsx)(b,(0,r.A)({},A))}var ae=n(10575),se=n(98762);var le=n(18139);const ce={theme:void 0};var ue=n(39291);const de=function(e){if("string"!=typeof e)throw new Error((0,ue.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)};function he(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||"string"!=typeof e[n])return!1;return!0}(t,e)}function pe(e){return M("MuiTypography",e)}C("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const fe={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},ge=function(e){const{sx:t,...n}=e,{systemProps:r,otherProps:i}=(e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??se.A;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t})(n);let o;return o=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,ae.Q)(n)?{...r,...n}:r}:{...r,...t},{...i,sx:o}},me=(0,a.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${de(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(function(e){let t,n;return function(r){let i=t;return void 0!==i&&r.theme===n||(ce.theme=r.theme,i=(0,le.A)(e(ce)),t=i,n=r.theme),i}}(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(he()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${de(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),ye={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},xe=i.forwardRef(function(e,t){const{color:n,...r}=O({props:e,name:"MuiTypography"}),i=ge({...r,...!fe[n]&&{color:n}}),{align:o="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:h=ye,...f}=i,m={...i,align:o,color:n,className:a,component:s,gutterBottom:l,noWrap:c,paragraph:u,variant:d,variantMapping:h},y=s||(u?"p":h[d]||ye[d])||"span",x=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:a}=e;return p({root:["root",o,"inherit"!==e.align&&`align${de(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]},pe,a)})(m);return(0,I.jsx)(me,{as:y,ref:t,className:g(x.root,a),...f,ownerState:m,style:{..."inherit"!==o&&{"--Typography-textAlign":o},...f.style}})});let ve;const be=new class{constructor(){if(this.types=new Set,ve)throw new Error("You can only create one instance!");ve=this.types}addType(e){this.types.add(e)}getTypes(){return this.types}};function Ae(e){return be.getTypes().has(e)}function we(e){return Ae(e.type)}function ke(e){const{series:t,axis:n,dataIndex:r,axisValue:i,sx:o,classes:a}=e;if(null==r)return null;const s=n.valueFormatter??(e=>"utc"===n.scaleType?function(e){return e instanceof Date?e.toUTCString():e.toLocaleString()}(e):e.toLocaleString());return(0,I.jsx)(Y,{sx:o,className:a.paper,children:(0,I.jsxs)(q,{className:a.table,children:[null!=i&&!n.hideTooltip&&(0,I.jsx)("thead",{children:(0,I.jsx)(K,{children:(0,I.jsx)(X,{colSpan:3,children:(0,I.jsx)(xe,{children:s(i,{location:"tooltip"})})})})}),(0,I.jsx)("tbody",{children:t.filter(we).map(({id:e,label:t,valueFormatter:n,data:i,getColor:o})=>{const s=n(i[r]??null,{dataIndex:r});if(null==s)return null;const l=(0,Z.p)(t,"tooltip"),c=o(r);return(0,I.jsxs)(K,{className:a.row,children:[(0,I.jsx)(X,{className:(0,U.A)(a.markCell,a.cell),children:c&&(0,I.jsx)(Q,{color:c,className:a.mark})}),(0,I.jsx)(X,{className:(0,U.A)(a.labelCell,a.cell),children:l?(0,I.jsx)(xe,{children:l}):null}),(0,I.jsx)(X,{className:(0,U.A)(a.valueCell,a.cell),children:(0,I.jsx)(xe,{children:s})})]},e)})})]})})}function Me(e){const{content:t,contentProps:n,axisData:o,sx:a,classes:s}=e,l=o.x&&-1!==o.x.index,c=l?o.x&&o.x.index:o.y&&o.y.index,u=l?o.x&&o.x.value:o.y&&o.y.value,{xAxisIds:d,xAxis:h,yAxisIds:p,yAxis:f}=(0,ee.T)(),{zAxisIds:g,zAxis:m}=i.useContext(te.L),y=(0,ie.NY)(),x=re(),v=l?d[0]:p[0],b=i.useMemo(()=>{const e=[];return Object.keys(y).filter(Ae).forEach(t=>{y[t].seriesOrder.forEach(n=>{const i=y[t].series[n],o=i.xAxisId??i.xAxisKey,a=i.yAxisId??i.yAxisKey,s=l?o:a;if(void 0===s||s===v){const i=y[t].series[n],s=o??d[0],l=a??p[0],c=i.zAxisId??i.zAxisKey??g[0],u=x[t]?.(i,h[s],f[l],c&&m[c])??(()=>"");e.push((0,r.A)({},i,{getColor:u}))}})}),e},[v,x,l,y,h,d,f,p,m,g]),A=i.useMemo(()=>l?h[v]:f[v],[v,l,h,f]),w=t??ke,k=(0,L.A)({elementType:w,externalSlotProps:n,additionalProps:{axisData:o,series:b,axis:A,dataIndex:c,axisValue:u,sx:a,classes:s},ownerState:{}});return(0,I.jsx)(w,(0,r.A)({},k))}be.addType("bar"),be.addType("line"),be.addType("scatter");const Ce=(0,a.Ay)(E,{name:"MuiChartsTooltip",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({pointerEvents:"none",zIndex:e.zIndex.modal}));function Se(e){const t=(0,s.A)({props:e,name:"MuiChartsTooltip"}),{trigger:n="axis",itemContent:a,axisContent:l,slots:c,slotProps:u}=t,d=function(){const e=(0,B.n)(),[t,n]=i.useState(null);return i.useEffect(()=>{const t=e.current;if(null===t)return()=>{};const r=e=>{"mouse"!==e.pointerType&&n(null)},i=e=>{n({x:e.clientX,y:e.clientY,height:e.height,pointerType:e.pointerType})};return t.addEventListener("pointerdown",i),t.addEventListener("pointermove",i),t.addEventListener("pointerup",r),()=>{t.removeEventListener("pointerdown",i),t.removeEventListener("pointermove",i),t.removeEventListener("pointerup",r)}},[e]),t}(),{item:h,axis:p}=i.useContext(D.O),f="item"===n?h:p,g=function(e,t){if("item"===e)return null!==t;const n=null!==t.x,r=null!==t.y;return n||r}(n,f),m=null!==d&&g,y=(e=>{const{classes:t}=e;return(0,o.A)({root:["root"],paper:["paper"],table:["table"],row:["row"],cell:["cell"],mark:["mark"],markCell:["markCell"],labelCell:["labelCell"],valueCell:["valueCell"]},W,t)})({classes:t.classes}),x=c?.popper??Ce,v=(0,L.A)({elementType:x,externalSlotProps:u?.popper,additionalProps:{open:m,placement:"mouse"===d?.pointerType?"right-start":"top",anchorEl:z(d),modifiers:[{name:"offset",options:{offset:[0,"touch"===d?.pointerType?40-d.height:0]}}]},ownerState:{}});return"none"===n?null:(0,I.jsx)(F.A,{children:m&&(0,I.jsx)(x,(0,r.A)({},v,{className:y.root,children:"item"===n?(0,I.jsx)(oe,{itemData:f,content:c?.itemContent??a,contentProps:u?.itemContent,sx:{mx:2},classes:y}):(0,I.jsx)(Me,{axisData:f,content:c?.axisContent??l,contentProps:u?.axisContent,sx:{mx:2},classes:y})}))})}},84904(e,t,n){n.d(t,{A:()=>d});var r=n(58168),i=n(98587),o=n(31523);function a(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=a(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const s=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=a(e))&&(r&&(r+=" "),r+=t);return r},l=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t},c=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:i,externalForwardedProps:o,className:a}=e;if(!t){const e=s(null==n?void 0:n.className,a,null==o?void 0:o.className,null==i?void 0:i.className),t=(0,r.A)({},null==n?void 0:n.style,null==o?void 0:o.style,null==i?void 0:i.style),l=(0,r.A)({},n,o,i);return e.length>0&&(l.className=e),Object.keys(t).length>0&&(l.style=t),{props:l,internalRef:void 0}}const c=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}((0,r.A)({},o,i)),u=l(i),d=l(o),h=t(c),p=s(null==h?void 0:h.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==i?void 0:i.className),f=(0,r.A)({},null==h?void 0:h.style,null==n?void 0:n.style,null==o?void 0:o.style,null==i?void 0:i.style),g=(0,r.A)({},h,n,d,u);return p.length>0&&(g.className=p),Object.keys(f).length>0&&(g.style=f),{props:g,internalRef:h.ref}},u=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"],d=function(e){var t;const{elementType:n,externalSlotProps:a,ownerState:s,skipResolvingSlotProps:l=!1}=e,d=(0,i.A)(e,u),h=l?{}:function(e,t,n){return"function"==typeof e?e(t,n):e}(a,s),{props:p,internalRef:f}=c((0,r.A)({},d,{externalSlotProps:h})),g=(0,o.A)(f,null==h?void 0:h.ref,null==(t=e.additionalProps)?void 0:t.ref);return function(e,t,n){return void 0===e||"string"==typeof e?t:(0,r.A)({},t,{ownerState:(0,r.A)({},t.ownerState,n)})}(n,(0,r.A)({},p,{ref:g}),s)}},87767(e,t,n){n.d(t,{Z:()=>R});var r=n(98587),i=n(58168),o=n(51609),a=n(84904),s=n(75659),l=n(97107),c=n(53356),u=n(32586);const d={bar:e=>{const{seriesOrder:t,series:n}=e;return t.reduce((e,t)=>{const r=(0,u.p)(n[t].label,"legend");return void 0===r||e.push({id:t,seriesId:t,color:n[t].color,label:r}),e},[])},scatter:e=>{const{seriesOrder:t,series:n}=e;return t.reduce((e,t)=>{const r=(0,u.p)(n[t].label,"legend");return void 0===r||e.push({id:t,seriesId:t,color:n[t].color,label:r}),e},[])},line:e=>{const{seriesOrder:t,series:n}=e;return t.reduce((e,t)=>{const r=(0,u.p)(n[t].label,"legend");return void 0===r||e.push({id:t,seriesId:t,color:n[t].color,label:r}),e},[])},pie:e=>{const{seriesOrder:t,series:n}=e;return t.reduce((e,t)=>(n[t].data.forEach(n=>{const r=(0,u.p)(n.label,"legend");void 0!==r&&e.push({id:n.id,seriesId:t,color:n.color,label:r,itemId:n.id})}),e),[])}};var h=n(21164),p=n(53776),f=n(46175),g=n(57203);const m=["label"];var y=n(89812),x=n(67416),v=n(411),b=n(34530),A=n(10790);function w(e){const t=(0,v.I)(),{id:n,positionY:r,label:o,positionX:a,innerHeight:s,innerWidth:l,legendWidth:c,color:u,gapX:d,gapY:h,itemMarkHeight:p,itemMarkWidth:f,markGap:g,labelStyle:m,classes:y,onClick:w}=e;return(0,A.jsxs)("g",{className:(0,x.A)(y?.series,`${y?.series}-${n}`),transform:`translate(${d+(t?c-a:a)} ${h+r})`,children:[(0,A.jsx)("rect",{x:t?-(l+2):-2,y:-p/2-2,width:l+4,height:s+4,fill:"transparent",className:y?.itemBackground,onClick:w,style:{pointerEvents:w?"all":"none",cursor:w?"pointer":"unset"}}),(0,A.jsx)("rect",{className:y?.mark,x:t?-f:0,y:-p/2,width:f,height:p,fill:u,style:{pointerEvents:"none"}}),(0,A.jsx)(b.n,{style:(0,i.A)({pointerEvents:"none"},m),text:o,x:(t?-1:1)*(f+g),y:0})]})}const k=["rotate","dominantBaseline"],M=(0,f.Ay)("g",{name:"MuiChartsLegend",slot:"Root",overridesResolver:(e,t)=>t.root})({});function C(e){const{position:t,direction:n,itemsToDisplay:a,classes:s,itemMarkWidth:l=20,itemMarkHeight:u=20,markGap:d=5,itemGap:h=10,padding:f=10,labelStyle:x,onItemClick:v}=e,b=(0,c.A)(),C=(0,y.N)(),S=o.useMemo(()=>(0,i.A)({},b.typography.subtitle1,{color:"inherit",dominantBaseline:"central",textAnchor:"start",fill:(b.vars||b).palette.text.primary,lineHeight:1},x),[x,b]),I=o.useMemo(()=>(e=>"number"==typeof e?{left:e,right:e,top:e,bottom:e}:(0,i.A)({left:0,right:0,top:0,bottom:0},e))(f),[f]),$=o.useCallback((e,t={})=>{const n=(0,r.A)(t,k),o=(0,g.q)({style:n,needsComputation:!0,text:e}),a={innerWidth:l+d+Math.max(...o.map(e=>e.width)),innerHeight:Math.max(u,o.length*o[0].height)};return(0,i.A)({},a,{outerWidth:a.innerWidth+h,outerHeight:a.innerHeight+h})},[h,u,l,d]),P=C.left+C.width+C.right,R=C.top+C.height+C.bottom,T=P-I.left-I.right,j=R-I.top-I.bottom,[_,O,N]=o.useMemo(()=>function(e,t,n,o,a,s,l){let c=0,u=0,d=0,h=0,p=0;const f=[0];return[e.map(e=>{let{label:g}=e,y=(0,r.A)(e,m);const x=t(g,n),v=(0,i.A)({},y,{label:g,positionX:c,positionY:u,innerHeight:x.innerHeight,innerWidth:x.innerWidth,outerHeight:x.outerHeight,outerWidth:x.outerWidth,rowIndex:p});return"row"===o&&(c+x.innerWidth>a&&(c=0,u+=f[p],p+=1,f.length<=p&&f.push(0),v.positionX=c,v.positionY=u,v.rowIndex=p),d=Math.max(d,c+x.outerWidth),h=Math.max(h,u+x.outerHeight),f[p]=Math.max(f[p],x.outerHeight),c+=x.outerWidth),"column"===o&&(u+x.innerHeight>s&&(c=d+l,u=0,p=0,v.positionX=c,v.positionY=u,v.rowIndex=p),f.length<=p&&f.push(0),d=Math.max(d,c+x.outerWidth),h=Math.max(h,u+x.outerHeight),p+=1,u+=x.outerHeight),v}).map(e=>(0,i.A)({},e,{positionY:e.positionY+("row"===o?f[e.rowIndex]/2:e.outerHeight/2)})),d,h]}(a,$,S,n,T,j,h),[a,$,S,n,T,j,h]),E=o.useMemo(()=>{switch(t.horizontal){case"left":return I.left;case"right":return P-I.right-O;default:return(P-O)/2}},[t.horizontal,I.left,I.right,P,O]),F=o.useMemo(()=>{switch(t.vertical){case"top":return I.top;case"bottom":return R-I.bottom-N;default:return(R-N)/2}},[t.vertical,I.top,I.bottom,R,N]);return(0,A.jsx)(p.A,{children:(0,A.jsx)(M,{className:s?.root,children:_.map((e,t)=>(0,o.createElement)(w,(0,i.A)({},e,{key:e.id,gapX:E,gapY:F,legendWidth:O,itemMarkHeight:u,itemMarkWidth:l,markGap:d,labelStyle:S,classes:s,onClick:v?e=>v(e,t):void 0})))})})}const S=["drawingArea","seriesToDisplay","hidden","onItemClick"];function I(e){const{seriesToDisplay:t,hidden:n,onItemClick:o}=e,a=(0,r.A)(e,S);return n?null:(0,A.jsx)(C,(0,i.A)({},a,{itemsToDisplay:t,onItemClick:o?(e,n)=>{return o(e,{type:"series",color:(r=t[n]).color,label:r.label,seriesId:r.seriesId,itemId:r.itemId},n);var r}:void 0}))}var $=n(55202);const P=["slots","slotProps"];function R(e){const t=(0,l.A)({props:e,name:"MuiChartsLegend"}),n=(0,i.A)({direction:"row"},t,{position:(0,i.A)({horizontal:"middle",vertical:"top"},t.position)}),{slots:o,slotProps:u}=n,p=(0,r.A)(n,P),f=(0,c.A)(),g=(e=>{const{classes:t,direction:n}=e,r={root:["root",n],mark:["mark"],label:["label"],series:["series"],itemBackground:["itemBackground"]};return(0,s.A)(r,h.u,t)})((0,i.A)({},n,{theme:f})),m=(0,y.N)(),x=(0,$.NY)(),v=function(e){return Object.keys(e).flatMap(t=>{const n=d[t];return void 0===n?[]:n(e[t])})}(x),b=o?.legend??I,w=(0,a.A)({elementType:b,externalSlotProps:u?.legend,additionalProps:(0,i.A)({},p,{classes:g,drawingArea:m,series:x,seriesToDisplay:v}),ownerState:{}});return(0,A.jsx)(b,(0,i.A)({},w))}},89812(e,t,n){n.d(t,{N:()=>o});var r=n(51609),i=n(21818);function o(){const{left:e,top:t,width:n,height:o,bottom:a,right:s,isPointInside:l}=r.useContext(i.wf);return r.useMemo(()=>({left:e,top:t,width:n,height:o,bottom:a,right:s,isPointInside:l}),[o,e,t,n,a,s,l])}},90321(e,t,n){n.d(t,{A:()=>o});var r=n(12902);function i(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function o(e){let t,n,o;function s(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=r.A,n=(t,n)=>(0,r.A)(e(t),n),o=(t,n)=>e(t)-n):(t=e===r.A||e===i?e:a,n=e,o=e),{left:s,center:function(e,t,n=0,r=e.length){const i=s(e,t,n,r-1);return i>n&&o(e[i-1],t)>-o(e[i],t)?i-1:i},right:function(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<=0?i=t+1:o=t}while(i<o)}return i}}}function a(){return 0}},91058(e,t,n){n.d(t,{T:()=>r});const r=n(51609).createContext({isInitialized:!1,data:{highlightedItem:null,setHighlighted:()=>{},clearHighlighted:()=>{},isHighlighted:()=>!1,isFaded:()=>!1}})},93559(e,t,n){function r(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${n} for the full message.`}n.d(t,{A:()=>r})},93781(e,t,n){n.d(t,{LX:()=>f,MA:()=>p,_W:()=>g,Lc:()=>y,Ms:()=>x});var r=n(7196),i=n(39612),o=n(49900);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=a[t],i=s[n]||"";return Array.isArray(i)?i.map(e=>r+e):[r+i]})(t)),e[t])}(),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],h=[...u,...d];function p(e,t,n,r){const o=(0,i.Yn)(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?o.startsWith("var(")&&0===e?0:o.startsWith("var(")&&1===e?o:`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),n=o[t];return e>=0?n:"number"==typeof n?-n:"string"==typeof n&&n.startsWith("var(")?`calc(-1 * ${n})`:`-${n}`}:"function"==typeof o?o:()=>{}}function f(e){return p(e,"spacing",8)}function g(e,t){return"string"==typeof t||null==t?t:e(t)}function m(e,t){const n=f(e.theme);return Object.keys(e).map(i=>function(e,t,n,i){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=g(t,n),e),{})}(c(n),i),a=e[n];return(0,r.NI)(e,a,o)}(e,t,i,n)).reduce(o.A,{})}function y(e){return m(e,u)}function x(e){return m(e,d)}function v(e){return m(e,h)}y.propTypes={},y.filterProps=u,x.propTypes={},x.filterProps=d,v.propTypes={},v.filterProps=h},95204(e,t,n){function r(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function i(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)]}n.d(t,{A:()=>r,f:()=>i})},95548(e,t,n){n.d(t,{A:()=>u});var r=n(30145),i=n(49900),o=n(39612),a=n(7196),s=n(63132),l=n(98762);const c=function(){function e(e,t,n,i){const s={[e]:t,theme:n},l=i[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:h}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const p=(0,o.Yn)(n,u)||{};return h?h(s):(0,a.NI)(s,t,t=>{let n=(0,o.BO)(p,d,t);return t===n&&"string"==typeof t&&(n=(0,o.BO)(p,d,`${e}${"default"===t?"":(0,r.A)(t)}`,t)),!1===c?n:{[c]:n}})}return function t(n){const{sx:r,theme:o={},nested:c}=n||{};if(!r)return null;const u=o.unstable_sxConfig??l.A;function d(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const l=(0,a.EU)(o.breakpoints),d=Object.keys(l);let h=l;return Object.keys(r).forEach(n=>{const s="function"==typeof(l=r[n])?l(o):l;var l;if(null!=s)if("object"==typeof s)if(u[n])h=(0,i.A)(h,e(n,s,o,u));else{const e=(0,a.NI)({theme:o},s,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,s)?h=(0,i.A)(h,e):h[n]=t({sx:s,theme:o,nested:!0})}else h=(0,i.A)(h,e(n,s,o,u))}),!c&&o.modularCssLayers?{"@layer sx":(0,s._S)(o,(0,a.vf)(d,h))}:(0,s._S)(o,(0,a.vf)(d,h))}return Array.isArray(r)?r.map(d):d(r)}}();c.filterProps=["sx"];const u=c},96492(e,t,n){n.d(t,{R9:()=>m});var r=n(58168),i=n(51609),o=n(75659),a=n(31609),s=n(38413),l=n(46175),c=n(4022),u=n(18917),d=n(63897),h=n(54609),p=n(10790);function f(e){return(0,a.Ay)("MuiChartsAxisHighlight",e)}(0,s.A)("MuiChartsAxisHighlight",["root"]);const g=(0,l.Ay)("path",{name:"MuiChartsAxisHighlight",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({pointerEvents:"none",variants:[{props:{axisHighlight:"band"},style:(0,r.A)({fill:"white",fillOpacity:.1},e.applyStyles("light",{fill:"gray"}))},{props:{axisHighlight:"line"},style:(0,r.A)({strokeDasharray:"5 2",stroke:"#ffffff"},e.applyStyles("light",{stroke:"#000000"}))}]}));function m(e){const{x:t,y:n}=e,{xAxisIds:r,xAxis:a,yAxisIds:s,yAxis:l}=(0,u.T)(),m=(0,o.A)({root:["root"]},f),y=r[0],x=s[0],v=a[y].scale,b=l[x].scale,{axis:A}=i.useContext(c.O),w=(0,d.b4)(v),k=(0,d.b4)(b),M=A.x,C=A.y,S="band"===t&&null!==M&&(0,h.y)(v),I="band"===n&&null!==C&&(0,h.y)(b);return(0,p.jsxs)(i.Fragment,{children:[S&&void 0!==v(M.value)&&(0,p.jsx)(g,{d:`M ${v(M.value)-(v.step()-v.bandwidth())/2} ${b.range()[0]} l ${v.step()} 0 l 0 ${b.range()[1]-b.range()[0]} l ${-v.step()} 0 Z`,className:m.root,ownerState:{axisHighlight:"band"}}),I&&void 0!==b(C.value)&&(0,p.jsx)(g,{d:`M ${v.range()[0]} ${b(C.value)-(b.step()-b.bandwidth())/2} l 0 ${b.step()} l ${v.range()[1]-v.range()[0]} 0 l 0 ${-b.step()} Z`,className:m.root,ownerState:{axisHighlight:"band"}}),"line"===t&&null!==A.x&&(0,p.jsx)(g,{d:`M ${w(A.x.value)} ${b.range()[0]} L ${w(A.x.value)} ${b.range()[1]}`,className:m.root,ownerState:{axisHighlight:"line"}}),"line"===n&&null!==A.y&&(0,p.jsx)(g,{d:`M ${v.range()[0]} ${k(A.y.value)} L ${v.range()[1]} ${k(A.y.value)}`,className:m.root,ownerState:{axisHighlight:"line"}})]})}},97107(e,t,n){n.d(t,{A:()=>s});var r=n(33494),i=n(14921);var o=n(42657),a=n(31355);function s({props:e,name:t}){return function({props:e,name:t,defaultTheme:n,themeId:o}){let a=(0,i.A)(n);return o&&(a=a[o]||a),function(e){const{theme:t,name:n,props:i}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.A)(t.components[n].defaultProps,i):i}({theme:a,name:t,props:e})}({props:e,name:t,defaultTheme:o.A,themeId:a.A})}},97924(e,t,n){n.d(t,{$:()=>r});const r=n(51609).createContext({isInitialized:!1,data:{}})},98762(e,t,n){n.d(t,{A:()=>O});var r=n(93781),i=n(39612),o=n(49900);const a=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?(0,o.A)(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n};var s=n(7196);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,i.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),d=c("borderTop",l),h=c("borderRight",l),p=c("borderBottom",l),f=c("borderLeft",l),g=c("borderColor"),m=c("borderTopColor"),y=c("borderRightColor"),x=c("borderBottomColor"),v=c("borderLeftColor"),b=c("outline",l),A=c("outlineColor"),w=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r._W)(t,e)});return(0,s.NI)(e,e.borderRadius,n)}return null};w.propTypes={},w.filterProps=["borderRadius"],a(u,d,h,p,f,g,m,y,x,v,w,b,A);const k=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r._W)(t,e)});return(0,s.NI)(e,e.gap,n)}return null};k.propTypes={},k.filterProps=["gap"];const M=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.columnGap,n)}return null};M.propTypes={},M.filterProps=["columnGap"];const C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.rowGap,n)}return null};function S(e,t){return"grey"===t?t:e}function I(e){return e<=1&&0!==e?100*e+"%":e}C.propTypes={},C.filterProps=["rowGap"],a(k,M,C,(0,i.Ay)({prop:"gridColumn"}),(0,i.Ay)({prop:"gridRow"}),(0,i.Ay)({prop:"gridAutoFlow"}),(0,i.Ay)({prop:"gridAutoColumns"}),(0,i.Ay)({prop:"gridAutoRows"}),(0,i.Ay)({prop:"gridTemplateColumns"}),(0,i.Ay)({prop:"gridTemplateRows"}),(0,i.Ay)({prop:"gridTemplateAreas"}),(0,i.Ay)({prop:"gridArea"})),a((0,i.Ay)({prop:"color",themeKey:"palette",transform:S}),(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:S}),(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:S}));const $=(0,i.Ay)({prop:"width",transform:I}),P=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||s.zu[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:I(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};P.filterProps=["maxWidth"];const R=(0,i.Ay)({prop:"minWidth",transform:I}),T=(0,i.Ay)({prop:"height",transform:I}),j=(0,i.Ay)({prop:"maxHeight",transform:I}),_=(0,i.Ay)({prop:"minHeight",transform:I}),O=((0,i.Ay)({prop:"size",cssProperty:"width",transform:I}),(0,i.Ay)({prop:"size",cssProperty:"height",transform:I}),a($,P,R,T,j,_,(0,i.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:w},color:{themeKey:"palette",transform:S},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:S},backgroundColor:{themeKey:"palette",transform:S},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:C},columnGap:{style:M},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:I},maxWidth:{style:P},minWidth:{transform:I},height:{transform:I},maxHeight:{transform:I},minHeight:{transform:I},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},99065(e,t,n){function r(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function i(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}n.d(t,{C:()=>r,K:()=>i})}}]);