@prismicio/editor-ui 0.4.84 → 0.4.86-alpha.jp-fix-navigation-icon.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/{BarChart-fiSxXgwn.mjs → BarChart-Ikr_LoJ2.mjs} +1 -1
  2. package/dist/{BarChart-hVE2wKiC.js → BarChart-xgerseId.js} +1 -1
  3. package/dist/components/ActionList/ActionList.d.ts +1 -1
  4. package/dist/components/ActionList/ActionList.stories.d.ts +1 -0
  5. package/dist/components/Alert/Alert.stories.d.ts +1 -1
  6. package/dist/components/AnimatedElement/AnimatedElement.d.ts +1 -1
  7. package/dist/components/AnimatedElement/AnimatedElement.stories.d.ts +2 -3
  8. package/dist/components/AnimatedList/AnimatedList.stories.d.ts +0 -1
  9. package/dist/components/BackgroundIcon/BackgroundIcon.stories.d.ts +2 -2
  10. package/dist/components/Badge/Badge.stories.d.ts +1 -2
  11. package/dist/components/Banner/Banner.stories.d.ts +1 -1
  12. package/dist/components/BarChart/LazyBarChart.d.ts +0 -1
  13. package/dist/components/BaseInput/BaseInput.stories.d.ts +0 -1
  14. package/dist/components/Box/Box.stories.d.ts +0 -1
  15. package/dist/components/Button/Button.stories.d.ts +3 -4
  16. package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +0 -1
  17. package/dist/components/Card/Card.d.ts +5 -3
  18. package/dist/components/Card/Card.stories.d.ts +2 -2
  19. package/dist/components/Card/PreviewCard.stories.d.ts +0 -1
  20. package/dist/components/Card/index.d.ts +1 -1
  21. package/dist/components/CodeBlock/LazyCodeBlock.d.ts +0 -1
  22. package/dist/components/ComboBox/ComboBox.stories.d.ts +0 -1
  23. package/dist/components/ConjoinedIcons/ConjoinedIcons.stories.d.ts +2 -2
  24. package/dist/components/DatePicker/DatePicker.d.ts +0 -1
  25. package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -1
  26. package/dist/components/DateRangePicker/DateRangePicker.d.ts +0 -1
  27. package/dist/components/DateRangePicker/DateRangePicker.stories.d.ts +0 -1
  28. package/dist/components/Draggable/Draggable.stories.d.ts +0 -1
  29. package/dist/components/EditableText/EditableText.d.ts +0 -1
  30. package/dist/components/EditableText/EditableText.stories.d.ts +0 -1
  31. package/dist/components/Field/Field.stories.d.ts +0 -1
  32. package/dist/components/Form/Form.stories.d.ts +0 -1
  33. package/dist/components/Form/FormTextArea.d.ts +0 -1
  34. package/dist/components/HairlineButton/HairlineButton.stories.d.ts +1 -2
  35. package/dist/components/Icon/Icon.d.ts +0 -1
  36. package/dist/components/Icon/Icon.stories.d.ts +0 -1
  37. package/dist/components/Icon/PrismicLogo.d.ts +0 -1
  38. package/dist/components/Icon/iconNames.d.ts +1 -1
  39. package/dist/components/IconButton/IconButton.stories.d.ts +1 -2
  40. package/dist/components/ScrollArea/ScrollArea.stories.d.ts +0 -1
  41. package/dist/components/SearchInput/SearchInput.stories.d.ts +0 -1
  42. package/dist/components/Separator/Separator.d.ts +0 -1
  43. package/dist/components/Separator/Separator.stories.d.ts +0 -1
  44. package/dist/components/Skeleton/Skeleton.stories.d.ts +0 -1
  45. package/dist/components/TextArea/TextArea.d.ts +0 -1
  46. package/dist/components/TextInput/TextInput.d.ts +0 -1
  47. package/dist/components/TextInput/TextInput.stories.d.ts +0 -1
  48. package/dist/components/Toast/Toast.d.ts +1 -1
  49. package/dist/components/Toast/ToastContext.d.ts +4 -1
  50. package/dist/components/ToggleButton/ToggleButton.stories.d.ts +2 -3
  51. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +0 -1
  52. package/dist/{index-CYaMNVIy.mjs → index-jepo_vAB.mjs} +13999 -13882
  53. package/dist/{index-aD7yyXDz.js → index-n0hzqHsG.js} +202 -206
  54. package/dist/index.cjs.js +1 -1
  55. package/dist/index.d.ts +1 -1
  56. package/dist/index.es.js +1 -1
  57. package/dist/style.css +1 -1
  58. package/package.json +5 -3
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./index-aD7yyXDz.js"),C=require("react"),u1=require("react-dom");function c1(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Zt=c1(C);var ms=Jr(),K=e=>Zr(e,ms),ps=Jr();K.write=e=>Zr(e,ps);var Ki=Jr();K.onStart=e=>Zr(e,Ki);var ys=Jr();K.onFrame=e=>Zr(e,ys);var vs=Jr();K.onFinish=e=>Zr(e,vs);var Fn=[];K.setTimeout=(e,t)=>{const n=K.now()+t,r=()=>{const a=Fn.findIndex(o=>o.cancel==r);~a&&Fn.splice(a,1),Kt-=~a?1:0},i={time:n,handler:e,cancel:r};return Fn.splice(Tl(n),0,i),Kt+=1,Ml(),i};var Tl=e=>~(~Fn.findIndex(t=>t.time>e)||~Fn.length);K.cancel=e=>{Ki.delete(e),ys.delete(e),vs.delete(e),ms.delete(e),ps.delete(e)};K.sync=e=>{Fo=!0,K.batchedUpdates(e),Fo=!1};K.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...i){t=i,K.onStart(n)}return r.handler=e,r.cancel=()=>{Ki.delete(n),t=null},r};var xs=typeof window<"u"?window.requestAnimationFrame:()=>{};K.use=e=>xs=e;K.now=typeof performance<"u"?()=>performance.now():Date.now;K.batchedUpdates=e=>e();K.catch=console.error;K.frameLoop="always";K.advance=()=>{K.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Sl()};var Xt=-1,Kt=0,Fo=!1;function Zr(e,t){Fo?(t.delete(e),e(0)):(t.add(e),Ml())}function Ml(){Xt<0&&(Xt=0,K.frameLoop!=="demand"&&xs(Cl))}function f1(){Xt=-1}function Cl(){~Xt&&(xs(Cl),K.batchedUpdates(Sl))}function Sl(){const e=Xt;Xt=K.now();const t=Tl(Xt);if(t&&(kl(Fn.splice(0,t),n=>n.handler()),Kt-=t),!Kt){f1();return}Ki.flush(),ms.flush(e?Math.min(64,Xt-e):16.667),ys.flush(),ps.flush(),vs.flush()}function Jr(){let e=new Set,t=e;return{add(n){Kt+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return Kt-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,Kt-=t.size,kl(t,r=>r(n)&&e.add(r)),Kt+=e.size,t=e)}}}function kl(e,t){e.forEach(n=>{try{t(n)}catch(r){K.catch(r)}})}var l1=Object.defineProperty,d1=(e,t)=>{for(var n in t)l1(e,n,{get:t[n],enumerable:!0})},mt={};d1(mt,{assign:()=>b1,colors:()=>Jt,createStringInterpolator:()=>$s,skipAnimation:()=>Al,to:()=>jl,willAdvance:()=>ws});function Uo(){}var h1=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),P={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function It(e,t){if(P.arr(e)){if(!P.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 X=(e,t)=>e.forEach(t);function kt(e,t,n){if(P.arr(e)){for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);return}for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var Ve=e=>P.und(e)?[]:P.arr(e)?e:[e];function Cr(e,t){if(e.size){const n=Array.from(e);e.clear(),X(n,t)}}var Tr=(e,...t)=>Cr(e,n=>n(...t)),_s=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),$s,jl,Jt=null,Al=!1,ws=Uo,b1=e=>{e.to&&(jl=e.to),e.now&&(K.now=e.now),e.colors!==void 0&&(Jt=e.colors),e.skipAnimation!=null&&(Al=e.skipAnimation),e.createStringInterpolator&&($s=e.createStringInterpolator),e.requestAnimationFrame&&K.use(e.requestAnimationFrame),e.batchedUpdates&&(K.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ws=e.willAdvance),e.frameLoop&&(K.frameLoop=e.frameLoop)},Sr=new Set,at=[],so=[],Mi=0,Qi={get idle(){return!Sr.size&&!at.length},start(e){Mi>e.priority?(Sr.add(e),K.onStart(g1)):(El(e),K(Lo))},advance:Lo,sort(e){if(Mi)K.onFrame(()=>Qi.sort(e));else{const t=at.indexOf(e);~t&&(at.splice(t,1),Ol(e))}},clear(){at=[],Sr.clear()}};function g1(){Sr.forEach(El),Sr.clear(),K(Lo)}function El(e){at.includes(e)||Ol(e)}function Ol(e){at.splice(m1(at,t=>t.priority>e.priority),0,e)}function Lo(e){const t=so;for(let n=0;n<at.length;n++){const r=at[n];Mi=r.priority,r.idle||(ws(r),r.advance(e),r.idle||t.push(r))}return Mi=0,so=at,so.length=0,at=t,at.length>0}function m1(e,t){const n=e.findIndex(t);return n<0?e.length:n}var p1=(e,t,n)=>Math.min(Math.max(n,e),t),y1={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},gt="[-+]?\\d*\\.?\\d+",Ci=gt+"%";function Zi(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var v1=new RegExp("rgb"+Zi(gt,gt,gt)),x1=new RegExp("rgba"+Zi(gt,gt,gt,gt)),_1=new RegExp("hsl"+Zi(gt,Ci,Ci)),$1=new RegExp("hsla"+Zi(gt,Ci,Ci,gt)),w1=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,T1=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,M1=/^#([0-9a-fA-F]{6})$/,C1=/^#([0-9a-fA-F]{8})$/;function S1(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=M1.exec(e))?parseInt(t[1]+"ff",16)>>>0:Jt&&Jt[e]!==void 0?Jt[e]:(t=v1.exec(e))?(On(t[1])<<24|On(t[2])<<16|On(t[3])<<8|255)>>>0:(t=x1.exec(e))?(On(t[1])<<24|On(t[2])<<16|On(t[3])<<8|Uu(t[4]))>>>0:(t=w1.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=C1.exec(e))?parseInt(t[1],16)>>>0:(t=T1.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=_1.exec(e))?(Du(Fu(t[1]),fi(t[2]),fi(t[3]))|255)>>>0:(t=$1.exec(e))?(Du(Fu(t[1]),fi(t[2]),fi(t[3]))|Uu(t[4]))>>>0:null}function uo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Du(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,a=uo(i,r,e+1/3),o=uo(i,r,e),s=uo(i,r,e-1/3);return Math.round(a*255)<<24|Math.round(o*255)<<16|Math.round(s*255)<<8}function On(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Fu(e){return(parseFloat(e)%360+360)%360/360}function Uu(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function fi(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Lu(e){let t=S1(e);if(t===null)return e;t=t||0;const n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,a=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${a})`}var Er=(e,t,n)=>{if(P.fun(e))return e;if(P.arr(e))return Er({range:e,output:t,extrapolate:n});if(P.str(e.output[0]))return $s(e);const r=e,i=r.output,a=r.range||[0,1],o=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",u=r.easing||(c=>c);return c=>{const l=j1(c,a);return k1(c,a[l],a[l+1],i[l],i[l+1],u,o,s,r.map)}};function k1(e,t,n,r,i,a,o,s,u){let c=u?u(e):e;if(c<t){if(o==="identity")return c;o==="clamp"&&(c=t)}if(c>n){if(s==="identity")return c;s==="clamp"&&(c=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?c=-c:n===1/0?c=c-t:c=(c-t)/(n-t),c=a(c),r===-1/0?c=-c:i===1/0?c=c+r:c=c*(i-r)+r,c)}function j1(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}var A1=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,i=t==="end"?Math.floor(r):Math.ceil(r);return p1(0,1,i/e)},Si=1.70158,li=Si*1.525,Wu=Si+1,Nu=2*Math.PI/3,Yu=2*Math.PI/4.5,di=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,E1={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=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?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=>Wu*e*e*e-Si*e*e,easeOutBack:e=>1+Wu*Math.pow(e-1,3)+Si*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((li+1)*2*e-li)/2:(Math.pow(2*e-2,2)*((li+1)*(e*2-2)+li)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*Nu),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*Nu)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Yu))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Yu)/2+1,easeInBounce:e=>1-di(1-e),easeOutBounce:di,easeInOutBounce:e=>e<.5?(1-di(1-2*e))/2:(1+di(2*e-1))/2,steps:A1},Or=Symbol.for("FluidValue.get"),Nn=Symbol.for("FluidValue.observers"),it=e=>!!(e&&e[Or]),Xe=e=>e&&e[Or]?e[Or]():e,Bu=e=>e[Nn]||null;function O1(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Pr(e,t){const n=e[Nn];n&&n.forEach(r=>{O1(r,t)})}var Pl=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");P1(this,e)}},P1=(e,t)=>Rl(e,Or,t);function Kn(e,t){if(e[Or]){let n=e[Nn];n||Rl(e,Nn,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Rr(e,t){const n=e[Nn];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Nn]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var Rl=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),_i=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,R1=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Hu=new RegExp(`(${_i.source})(%|[a-z]+)`,"i"),I1=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Ji=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Il=e=>{const[t,n]=D1(e);if(!t||_s())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(n);return i||e}else{if(n&&Ji.test(n))return Il(n);if(n)return n}return e},D1=e=>{const t=Ji.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},co,F1=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,Dl=e=>{co||(co=Jt?new RegExp(`(${Object.keys(Jt).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(a=>Xe(a).replace(Ji,Il).replace(R1,Lu).replace(co,Lu)),n=t.map(a=>a.match(_i).map(Number)),i=n[0].map((a,o)=>n.map(s=>{if(!(o in s))throw Error('The arity of each "output" value must be equal');return s[o]})).map(a=>Er({...e,output:a}));return a=>{var u;const o=!Hu.test(t[0])&&((u=t.find(c=>Hu.test(c)))==null?void 0:u.replace(_i,""));let s=0;return t[0].replace(_i,()=>`${i[s++](a)}${o||""}`).replace(I1,F1)}},Ts="react-spring: ",Fl=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${Ts}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},U1=Fl(console.warn);function L1(){U1(`${Ts}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var W1=Fl(console.warn);function N1(){W1(`${Ts}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function ea(e){return P.str(e)&&(e[0]=="#"||/\d/.test(e)||!_s()&&Ji.test(e)||e in(Jt||{}))}var dn=_s()?C.useEffect:C.useLayoutEffect,Y1=()=>{const e=C.useRef(!1);return dn(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function Ms(){const e=C.useState()[1],t=Y1();return()=>{t.current&&e(Math.random())}}function B1(e,t){const[n]=C.useState(()=>({inputs:t,result:e()})),r=C.useRef(),i=r.current;let a=i;return a?t&&a.inputs&&H1(t,a.inputs)||(a={inputs:t,result:e()}):a=n,C.useEffect(()=>{r.current=a,i==n&&(n.inputs=n.result=void 0)},[a]),a.result}function H1(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}var Cs=e=>C.useEffect(e,z1),z1=[];function Wo(e){const t=C.useRef();return C.useEffect(()=>{t.current=e}),t.current}var Ir=Symbol.for("Animated:node"),V1=e=>!!e&&e[Ir]===e,Mt=e=>e&&e[Ir],Ss=(e,t)=>h1(e,Ir,t),ta=e=>e&&e[Ir]&&e[Ir].getPayload(),Ul=class{constructor(){Ss(this,this)}getPayload(){return this.payload||[]}},ei=class extends Ul{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,P.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new ei(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return P.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,P.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Dr=class extends ei{constructor(e){super(0),this._string=null,this._toString=Er({output:[e,e]})}static create(e){return new Dr(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(P.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=Er({output:[this.getValue(),e]})),this._value=0,super.reset()}},ki={dependencies:null},na=class extends Ul{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return kt(this.source,(n,r)=>{V1(n)?t[r]=n.getValue(e):it(n)?t[r]=Xe(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&X(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return kt(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){ki.dependencies&&it(e)&&ki.dependencies.add(e);const t=ta(e);t&&X(t,n=>this.add(n))}},Ll=class extends na{constructor(e){super(e)}static create(e){return new Ll(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((n,r)=>n.setValue(e[r])).some(Boolean):(super.setValue(e.map(G1)),!0)}};function G1(e){return(ea(e)?Dr:ei).create(e)}function No(e){const t=Mt(e);return t?t.constructor:P.arr(e)?Ll:ea(e)?Dr:ei}var zu=(e,t)=>{const n=!P.fun(e)||e.prototype&&e.prototype.isReactComponent;return C.forwardRef((r,i)=>{const a=C.useRef(null),o=n&&C.useCallback(b=>{a.current=K1(i,b)},[i]),[s,u]=X1(r,t),c=Ms(),l=()=>{const b=a.current;if(n&&!b)return;(b?t.applyAnimatedValues(b,s.getValue(!0)):!1)===!1&&c()},f=new q1(l,u),d=C.useRef();dn(()=>(d.current=f,X(u,b=>Kn(b,f)),()=>{d.current&&(X(d.current.deps,b=>Rr(b,d.current)),K.cancel(d.current.update))})),C.useEffect(l,[]),Cs(()=>()=>{const b=d.current;X(b.deps,m=>Rr(m,b))});const h=t.getComponentProps(s.getValue());return Zt.createElement(e,{...h,ref:o})})},q1=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&K.write(this.update)}};function X1(e,t){const n=new Set;return ki.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new na(e),ki.dependencies=null,[e,n]}function K1(e,t){return e&&(P.fun(e)?e(t):e.current=t),t}var Vu=Symbol.for("AnimatedComponent"),Q1=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new na(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},a=o=>{const s=Gu(o)||"Anonymous";return P.str(o)?o=a[o]||(a[o]=zu(o,i)):o=o[Vu]||(o[Vu]=zu(o,i)),o.displayName=`Animated(${s})`,o};return kt(e,(o,s)=>{P.arr(e)&&(s=Gu(o)),a[s]=a(o)}),{animated:a}},Gu=e=>P.str(e)?e:e&&P.str(e.displayName)?e.displayName:P.fun(e)&&e.name||null;function Ke(e,...t){return P.fun(e)?e(...t):e}var kr=(e,t)=>e===!0||!!(t&&e&&(P.fun(e)?e(t):Ve(e).includes(t))),Wl=(e,t)=>P.obj(e)?t&&e[t]:e,Nl=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,Z1=e=>e,ra=(e,t=Z1)=>{let n=J1;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const a=t(e[i],i);P.und(a)||(r[i]=a)}return r},J1=["config","onProps","onStart","onChange","onPause","onResume","onRest"],eb={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 tb(e){const t={};let n=0;if(kt(e,(r,i)=>{eb[i]||(t[i]=r,n++)}),n)return t}function ks(e){const t=tb(e);if(t){const n={to:t};return kt(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function Fr(e){return e=Xe(e),P.arr(e)?e.map(Fr):ea(e)?mt.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Yl(e){for(const t in e)return!0;return!1}function Yo(e){return P.fun(e)||P.arr(e)&&P.obj(e[0])}function Bo(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function Bl(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var Hl={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Ho={...Hl.default,mass:1,damping:1,easing:E1.linear,clamp:!1},nb=class{constructor(){this.velocity=0,Object.assign(this,Ho)}};function rb(e,t,n){n&&(n={...n},qu(n,t),t={...n,...t}),qu(e,t),Object.assign(e,t);for(const o in Ho)e[o]==null&&(e[o]=Ho[o]);let{frequency:r,damping:i}=e;const{mass:a}=e;return P.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*a,e.friction=4*Math.PI*i*a/r),e}function qu(e,t){if(!P.und(t.decay))e.duration=void 0;else{const n=!P.und(t.tension)||!P.und(t.friction);(n||!P.und(t.frequency)||!P.und(t.damping)||!P.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}var Xu=[],ib=class{constructor(){this.changed=!1,this.values=Xu,this.toValues=null,this.fromValues=Xu,this.config=new nb,this.immediate=!1}};function zl(e,{key:t,props:n,defaultProps:r,state:i,actions:a}){return new Promise((o,s)=>{let u,c,l=kr(n.cancel??(r==null?void 0:r.cancel),t);if(l)h();else{P.und(n.pause)||(i.paused=kr(n.pause,t));let b=r==null?void 0:r.pause;b!==!0&&(b=i.paused||kr(b,t)),u=Ke(n.delay||0,t),b?(i.resumeQueue.add(d),a.pause()):(a.resume(),d())}function f(){i.resumeQueue.add(d),i.timeouts.delete(c),c.cancel(),u=c.time-K.now()}function d(){u>0&&!mt.skipAnimation?(i.delayed=!0,c=K.setTimeout(h,u),i.pauseQueue.add(f),i.timeouts.add(c)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(f),i.timeouts.delete(c),e<=(i.cancelId||0)&&(l=!0);try{a.start({...n,callId:e,cancel:l},o)}catch(b){s(b)}}})}var js=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?Un(e.get()):t.every(n=>n.noop)?Vl(e.get()):ht(e.get(),t.every(n=>n.finished)),Vl=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),ht=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Un=e=>({value:e,cancelled:!0,finished:!1});function Gl(e,t,n,r){const{callId:i,parentId:a,onRest:o}=t,{asyncTo:s,promise:u}=n;return!a&&e===s&&!t.reset?u:n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const c=ra(t,(g,y)=>y==="onRest"?void 0:g);let l,f;const d=new Promise((g,y)=>(l=g,f=y)),h=g=>{const y=i<=(n.cancelId||0)&&Un(r)||i!==n.asyncId&&ht(r,!1);if(y)throw g.result=y,f(g),g},b=(g,y)=>{const _=new Ku,v=new Qu;return(async()=>{if(mt.skipAnimation)throw Ur(n),v.result=ht(r,!1),f(v),v;h(_);const T=P.obj(g)?{...g}:{...y,to:g};T.parentId=i,kt(c,(M,A)=>{P.und(T[A])&&(T[A]=M)});const S=await r.start(T);return h(_),n.paused&&await new Promise(M=>{n.resumeQueue.add(M)}),S})()};let m;if(mt.skipAnimation)return Ur(n),ht(r,!1);try{let g;P.arr(e)?g=(async y=>{for(const _ of y)await b(_)})(e):g=Promise.resolve(e(b,r.stop.bind(r))),await Promise.all([g.then(l),d]),m=ht(r.get(),!0,!1)}catch(g){if(g instanceof Ku)m=g.result;else if(g instanceof Qu)m=g.result;else throw g}finally{i==n.asyncId&&(n.asyncId=a,n.asyncTo=a?s:void 0,n.promise=a?u:void 0)}return P.fun(o)&&K.batchedUpdates(()=>{o(m,r,r.item)}),m})()}function Ur(e,t){Cr(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Ku=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.")}},Qu=class extends Error{constructor(){super("SkipAnimationSignal")}},zo=e=>e instanceof As,ab=1,As=class extends Pl{constructor(){super(...arguments),this.id=ab++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Mt(this);return e&&e.getValue()}to(...e){return mt.to(this,e)}interpolate(...e){return L1(),mt.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Pr(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Qi.sort(this),Pr(this,{type:"priority",parent:this,priority:e})}},yn=Symbol.for("SpringPhase"),ql=1,Vo=2,Go=4,fo=e=>(e[yn]&ql)>0,qt=e=>(e[yn]&Vo)>0,lr=e=>(e[yn]&Go)>0,Zu=(e,t)=>t?e[yn]|=Vo|ql:e[yn]&=~Vo,Ju=(e,t)=>t?e[yn]|=Go:e[yn]&=~Go,ob=class extends As{constructor(e,t){if(super(),this.animation=new ib,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,!P.und(e)||!P.und(t)){const n=P.obj(e)?{...e}:{...t,from:e};P.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(qt(this)||this._state.asyncTo)||lr(this)}get goal(){return Xe(this.animation.to)}get velocity(){const e=Mt(this);return e instanceof ei?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return fo(this)}get isAnimating(){return qt(this)}get isPaused(){return lr(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:a}=r,o=ta(r.to);!o&&it(r.to)&&(i=Ve(Xe(r.to))),r.values.forEach((c,l)=>{if(c.done)return;const f=c.constructor==Dr?1:o?o[l].lastPosition:i[l];let d=r.immediate,h=f;if(!d){if(h=c.lastPosition,a.tension<=0){c.done=!0;return}let b=c.elapsedTime+=e;const m=r.fromValues[l],g=c.v0!=null?c.v0:c.v0=P.arr(a.velocity)?a.velocity[l]:a.velocity;let y;const _=a.precision||(m==f?.005:Math.min(1,Math.abs(f-m)*.001));if(P.und(a.duration))if(a.decay){const v=a.decay===!0?.998:a.decay,T=Math.exp(-(1-v)*b);h=m+g/(1-v)*(1-T),d=Math.abs(c.lastPosition-h)<=_,y=g*T}else{y=c.lastVelocity==null?g:c.lastVelocity;const v=a.restVelocity||_/10,T=a.clamp?0:a.bounce,S=!P.und(T),M=m==f?c.v0>0:m<f;let A,R=!1;const D=1,W=Math.ceil(e/D);for(let $=0;$<W&&(A=Math.abs(y)>v,!(!A&&(d=Math.abs(f-h)<=_,d)));++$){S&&(R=h==f||h>f==M,R&&(y=-y*T,h=f));const N=-a.tension*1e-6*(h-f),E=-a.friction*.001*y,k=(N+E)/a.mass;y=y+k*D,h=h+y*D}}else{let v=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,c.durationProgress>0&&(c.elapsedTime=a.duration*c.durationProgress,b=c.elapsedTime+=e)),v=(a.progress||0)+b/this._memoizedDuration,v=v>1?1:v<0?0:v,c.durationProgress=v),h=m+a.easing(v)*(f-m),y=(h-c.lastPosition)/e,d=v==1}c.lastVelocity=y,Number.isNaN(h)&&(console.warn("Got NaN while animating:",this),d=!0)}o&&!o[l].done&&(d=!1),d?c.done=!0:t=!1,c.setValue(h,a.round)&&(n=!0)});const s=Mt(this),u=s.getValue();if(t){const c=Xe(r.to);(u!==c||n)&&!a.decay?(s.setValue(c),this._onChange(c)):n&&a.decay&&this._onChange(u),this._stop()}else n&&this._onChange(u)}set(e){return K.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(qt(this)){const{to:e,config:t}=this.animation;K.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 P.und(e)?(n=this.queue||[],this.queue=[]):n=[P.obj(e)?e:{...t,to:e}],Promise.all(n.map(r=>this._update(r))).then(r=>js(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Ur(this._state,e&&this._lastCallId),K.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=P.obj(n)?n[t]:n,(n==null||Yo(n))&&(n=void 0),r=P.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return fo(this)||(e.reverse&&([n,r]=[r,n]),r=Xe(r),P.und(r)?Mt(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,ra(e,(o,s)=>/^on/.test(s)?Wl(o,n):o)),tc(this,e,"onProps"),hr(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 a=this._state;return zl(++this._lastCallId,{key:n,props:e,defaultProps:r,state:a,actions:{pause:()=>{lr(this)||(Ju(this,!0),Tr(a.pauseQueue),hr(this,"onPause",ht(this,dr(this,this.animation.to)),this))},resume:()=>{lr(this)&&(Ju(this,!1),qt(this)&&this._resume(),Tr(a.resumeQueue),hr(this,"onResume",ht(this,dr(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(o=>{if(e.loop&&o.finished&&!(t&&o.noop)){const s=Xl(e);if(s)return this._update(s,!0)}return o})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Un(this));const r=!P.und(e.to),i=!P.und(e.from);if(r||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return n(Un(this));const{key:a,defaultProps:o,animation:s}=this,{to:u,from:c}=s;let{to:l=u,from:f=c}=e;i&&!r&&(!t.default||P.und(l))&&(l=f),t.reverse&&([l,f]=[f,l]);const d=!It(f,c);d&&(s.from=f),f=Xe(f);const h=!It(l,u);h&&this._focus(l);const b=Yo(t.to),{config:m}=s,{decay:g,velocity:y}=m;(r||i)&&(m.velocity=0),t.config&&!b&&rb(m,Ke(t.config,a),t.config!==o.config?Ke(o.config,a):void 0);let _=Mt(this);if(!_||P.und(l))return n(ht(this,!0));const v=P.und(t.reset)?i&&!t.default:!P.und(f)&&kr(t.reset,a),T=v?f:this.get(),S=Fr(l),M=P.num(S)||P.arr(S)||ea(S),A=!b&&(!M||kr(o.immediate||t.immediate,a));if(h){const $=No(l);if($!==_.constructor)if(A)_=this._set(S);else throw Error(`Cannot animate between ${_.constructor.name} and ${$.name}, as the "to" prop suggests`)}const R=_.constructor;let D=it(l),W=!1;if(!D){const $=v||!fo(this)&&d;(h||$)&&(W=It(Fr(T),S),D=!W),(!It(s.immediate,A)&&!A||!It(m.decay,g)||!It(m.velocity,y))&&(D=!0)}if(W&&qt(this)&&(s.changed&&!v?D=!0:D||this._stop(u)),!b&&((D||it(u))&&(s.values=_.getPayload(),s.toValues=it(l)?null:R==Dr?[1]:Ve(S)),s.immediate!=A&&(s.immediate=A,!A&&!v&&this._set(u)),D)){const{onRest:$}=s;X(ub,E=>tc(this,t,E));const N=ht(this,dr(this,u));Tr(this._pendingCalls,N),this._pendingCalls.add(n),s.changed&&K.batchedUpdates(()=>{var E;s.changed=!v,$==null||$(N,this),v?Ke(o.onRest,N):(E=s.onStart)==null||E.call(s,N,this)})}v&&this._set(T),b?n(Gl(t.to,t,this._state,this)):D?this._start():qt(this)&&!h?this._pendingCalls.add(n):n(Vl(T))}_focus(e){const t=this.animation;e!==t.to&&(Bu(this)&&this._detach(),t.to=e,Bu(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;it(t)&&(Kn(t,this),zo(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;it(e)&&Rr(e,this)}_set(e,t=!0){const n=Xe(e);if(!P.und(n)){const r=Mt(this);if(!r||!It(n,r.getValue())){const i=No(n);!r||r.constructor!=i?Ss(this,i.create(n)):r.setValue(n),r&&K.batchedUpdates(()=>{this._onChange(n,t)})}}return Mt(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,hr(this,"onStart",ht(this,dr(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Ke(this.animation.onChange,e,this)),Ke(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Mt(this).reset(Xe(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),qt(this)||(Zu(this,!0),lr(this)||this._resume())}_resume(){mt.skipAnimation?this.finish():Qi.start(this)}_stop(e,t){if(qt(this)){Zu(this,!1);const n=this.animation;X(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Pr(this,{type:"idle",parent:this});const r=t?Un(this.get()):ht(this.get(),dr(this,e??n.to));Tr(this._pendingCalls,r),n.changed&&(n.changed=!1,hr(this,"onRest",r,this))}}};function dr(e,t){const n=Fr(t),r=Fr(e.get());return It(r,n)}function Xl(e,t=e.loop,n=e.to){const r=Ke(t);if(r){const i=r!==!0&&ks(r),a=(i||e).reverse,o=!i||i.reset;return Lr({...e,loop:t,default:!1,pause:void 0,to:!a||Yo(n)?n:void 0,from:o?e.from:void 0,reset:o,...i})}}function Lr(e){const{to:t,from:n}=e=ks(e),r=new Set;return P.obj(t)&&ec(t,r),P.obj(n)&&ec(n,r),e.keys=r.size?Array.from(r):null,e}function sb(e){const t=Lr(e);return P.und(t.default)&&(t.default=ra(t)),t}function ec(e,t){kt(e,(n,r)=>n!=null&&t.add(r))}var ub=["onStart","onRest","onChange","onPause","onResume"];function tc(e,t,n){e.animation[n]=t[n]!==Nl(t,n)?Wl(t[n],e.key):void 0}function hr(e,t,...n){var r,i,a,o;(i=(r=e.animation)[t])==null||i.call(r,...n),(o=(a=e.defaultProps)[t])==null||o.call(a,...n)}var cb=["onStart","onChange","onRest"],fb=1,Kl=class{constructor(e,t){this.id=fb++,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];P.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Lr(e)),this}start(e){let{queue:t}=this;return e?t=Ve(e).map(Lr):this.queue=[],this._flush?this._flush(this,t):(td(this,t),qo(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;X(Ve(t),r=>n[r].stop(!!e))}else Ur(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(P.und(e))this.start({pause:!0});else{const t=this.springs;X(Ve(e),n=>t[n].pause())}return this}resume(e){if(P.und(e))this.start({pause:!1});else{const t=this.springs;X(Ve(e),n=>t[n].resume())}return this}each(e){kt(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,Cr(e,([s,u])=>{u.value=this.get(),s(u,this,this._item)}));const a=!r&&this._started,o=i||a&&n.size?this.get():null;i&&t.size&&Cr(t,([s,u])=>{u.value=o,s(u,this,this._item)}),a&&(this._started=!1,Cr(n,([s,u])=>{u.value=o,s(u,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;K.onFrame(this._onFrame)}};function qo(e,t){return Promise.all(t.map(n=>Ql(e,n))).then(n=>js(e,n))}async function Ql(e,t,n){const{keys:r,to:i,from:a,loop:o,onRest:s,onResolve:u}=t,c=P.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),a===!1&&(t.from=null);const l=P.arr(i)||P.fun(i)?i:void 0;l?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):X(cb,m=>{const g=t[m];if(P.fun(g)){const y=e._events[m];t[m]=({finished:_,cancelled:v})=>{const T=y.get(g);T?(_||(T.finished=!1),v&&(T.cancelled=!0)):y.set(g,{value:null,finished:_||!1,cancelled:v||!1})},c&&(c[m]=t[m])}});const f=e._state;t.pause===!f.paused?(f.paused=t.pause,Tr(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map(m=>e.springs[m].start(t)),h=t.cancel===!0||Nl(t,"cancel")===!0;(l||h&&f.asyncId)&&d.push(zl(++e._lastAsyncId,{props:t,state:f,actions:{pause:Uo,resume:Uo,start(m,g){h?(Ur(f,e._lastAsyncId),g(Un(e))):(m.onRest=s,g(Gl(l,m,f,e)))}}})),f.paused&&await new Promise(m=>{f.resumeQueue.add(m)});const b=js(e,await Promise.all(d));if(o&&b.finished&&!(n&&b.noop)){const m=Xl(t,o,i);if(m)return td(e,[m]),Ql(e,m,!0)}return u&&K.batchedUpdates(()=>u(b,e,e.item)),b}function Xo(e,t){const n={...e.springs};return t&&X(Ve(t),r=>{P.und(r.keys)&&(r=Lr(r)),P.obj(r.to)||(r={...r,to:void 0}),ed(n,r,i=>Jl(i))}),Zl(e,n),n}function Zl(e,t){kt(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,Kn(n,e))})}function Jl(e,t){const n=new ob;return n.key=e,t&&Kn(n,t),n}function ed(e,t,n){t.keys&&X(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function td(e,t){X(t,n=>{ed(e.springs,n,r=>Jl(r,e))})}var ti=({children:e,...t})=>{const n=C.useContext(ji),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=B1(()=>({pause:r,immediate:i}),[r,i]);const{Provider:a}=ji;return Zt.createElement(a,{value:t},e)},ji=lb(ti,{});ti.Provider=ji.Provider;ti.Consumer=ji.Consumer;function lb(e,t){return Object.assign(e,Zt.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var nd=()=>{const e=[],t=function(r){N1();const i=[];return X(e,(a,o)=>{if(P.und(r))i.push(a.start());else{const s=n(r,a,o);s&&i.push(a.start(s))}}),i};t.current=e,t.add=function(r){e.includes(r)||e.push(r)},t.delete=function(r){const i=e.indexOf(r);~i&&e.splice(i,1)},t.pause=function(){return X(e,r=>r.pause(...arguments)),this},t.resume=function(){return X(e,r=>r.resume(...arguments)),this},t.set=function(r){X(e,(i,a)=>{const o=P.fun(r)?r(a,i):r;o&&i.set(o)})},t.start=function(r){const i=[];return X(e,(a,o)=>{if(P.und(r))i.push(a.start());else{const s=this._getProps(r,a,o);s&&i.push(a.start(s))}}),i},t.stop=function(){return X(e,r=>r.stop(...arguments)),this},t.update=function(r){return X(e,(i,a)=>i.update(this._getProps(r,i,a))),this};const n=function(r,i,a){return P.fun(r)?r(a,i):r};return t._getProps=n,t};function db(e,t,n){const r=P.fun(t)&&t;r&&!n&&(n=[]);const i=C.useMemo(()=>r||arguments.length==3?nd():void 0,[]),a=C.useRef(0),o=Ms(),s=C.useMemo(()=>({ctrls:[],queue:[],flush(y,_){const v=Xo(y,_);return a.current>0&&!s.queue.length&&!Object.keys(v).some(S=>!y.springs[S])?qo(y,_):new Promise(S=>{Zl(y,v),s.queue.push(()=>{S(qo(y,_))}),o()})}}),[]),u=C.useRef([...s.ctrls]),c=[],l=Wo(e)||0;C.useMemo(()=>{X(u.current.slice(e,l),y=>{Bo(y,i),y.stop(!0)}),u.current.length=e,f(l,e)},[e]),C.useMemo(()=>{f(0,Math.min(l,e))},n);function f(y,_){for(let v=y;v<_;v++){const T=u.current[v]||(u.current[v]=new Kl(null,s.flush)),S=r?r(v,T):t[v];S&&(c[v]=sb(S))}}const d=u.current.map((y,_)=>Xo(y,c[_])),h=C.useContext(ti),b=Wo(h),m=h!==b&&Yl(h);dn(()=>{a.current++,s.ctrls=u.current;const{queue:y}=s;y.length&&(s.queue=[],X(y,_=>_())),X(u.current,(_,v)=>{i==null||i.add(_),m&&_.start({default:h});const T=c[v];T&&(Bl(_,T.ref),_.ref?_.queue.push(T):_.start(T))})}),Cs(()=>()=>{X(s.ctrls,y=>y.stop(!0))});const g=d.map(y=>({...y}));return i?[g,i]:g}function Yt(e,t){const n=P.fun(e),[[r],i]=db(1,n?e:[e],n?t||[]:t);return n||arguments.length==2?[r,i]:r}function ia(e,t,n){const r=P.fun(t)&&t,{reset:i,sort:a,trail:o=0,expires:s=!0,exitBeforeEnter:u=!1,onDestroyed:c,ref:l,config:f}=r?r():t,d=C.useMemo(()=>r||arguments.length==3?nd():void 0,[]),h=Ve(e),b=[],m=C.useRef(null),g=i?null:m.current;dn(()=>{m.current=b}),Cs(()=>(X(b,k=>{d==null||d.add(k.ctrl),k.ctrl.ref=d}),()=>{X(m.current,k=>{k.expired&&clearTimeout(k.expirationId),Bo(k.ctrl,d),k.ctrl.stop(!0)})}));const y=bb(h,r?r():t,g),_=i&&m.current||[];dn(()=>X(_,({ctrl:k,item:j,key:F})=>{Bo(k,d),Ke(c,j,F)}));const v=[];if(g&&X(g,(k,j)=>{k.expired?(clearTimeout(k.expirationId),_.push(k)):(j=v[j]=y.indexOf(k.key),~j&&(b[j]=k))}),X(h,(k,j)=>{b[j]||(b[j]={key:y[j],item:k,phase:"mount",ctrl:new Kl},b[j].ctrl.item=k)}),v.length){let k=-1;const{leave:j}=r?r():t;X(v,(F,U)=>{const Y=g[U];~F?(k=b.indexOf(Y),b[k]={...Y,item:h[F]}):j&&b.splice(++k,0,Y)})}P.fun(a)&&b.sort((k,j)=>a(k.item,j.item));let T=-o;const S=Ms(),M=ra(t),A=new Map,R=C.useRef(new Map),D=C.useRef(!1);X(b,(k,j)=>{const F=k.key,U=k.phase,Y=r?r():t;let L,H;const ae=Ke(Y.delay||0,F);if(U=="mount")L=Y.enter,H="enter";else{const Z=y.indexOf(F)<0;if(U!="leave")if(Z)L=Y.leave,H="leave";else if(L=Y.update)H="update";else return;else if(!Z)L=Y.enter,H="enter";else return}if(L=Ke(L,k.item,j),L=P.obj(L)?ks(L):{to:L},!L.config){const Z=f||M.config;L.config=Ke(Z,k.item,j,H)}T+=o;const ne={...M,delay:ae+T,ref:l,immediate:Y.immediate,reset:!1,...L};if(H=="enter"&&P.und(ne.from)){const Z=r?r():t,oe=P.und(Z.initial)||g?Z.from:Z.initial;ne.from=Ke(oe,k.item,j)}const{onResolve:ue}=ne;ne.onResolve=Z=>{Ke(ue,Z);const oe=m.current,J=oe.find(me=>me.key===F);if(J&&!(Z.cancelled&&J.phase!="update")&&J.ctrl.idle){const me=oe.every(w=>w.ctrl.idle);if(J.phase=="leave"){const w=Ke(s,J.item);if(w!==!1){const I=w===!0?0:w;if(J.expired=!0,!me&&I>0){I<=2147483647&&(J.expirationId=setTimeout(S,I));return}}}me&&oe.some(w=>w.expired)&&(R.current.delete(J),u&&(D.current=!0),S())}};const G=Xo(k.ctrl,ne);H==="leave"&&u?R.current.set(k,{phase:H,springs:G,payload:ne}):A.set(k,{phase:H,springs:G,payload:ne})});const W=C.useContext(ti),$=Wo(W),N=W!==$&&Yl(W);dn(()=>{N&&X(b,k=>{k.ctrl.start({default:W})})},[W]),X(A,(k,j)=>{if(R.current.size){const F=b.findIndex(U=>U.key===j.key);b.splice(F,1)}}),dn(()=>{X(R.current.size?R.current:A,({phase:k,payload:j},F)=>{const{ctrl:U}=F;F.phase=k,d==null||d.add(U),N&&k=="enter"&&U.start({default:W}),j&&(Bl(U,j.ref),(U.ref||d)&&!D.current?U.update(j):(U.start(j),D.current&&(D.current=!1)))})},i?void 0:n);const E=k=>Zt.createElement(Zt.Fragment,null,b.map((j,F)=>{const{springs:U}=A.get(j)||j.ctrl,Y=k({...U},j.item,j,F);return Y&&Y.type?Zt.createElement(Y.type,{...Y.props,key:P.str(j.key)||P.num(j.key)?j.key:j.ctrl.id,ref:Y.ref}):Y}));return d?[E,d]:E}var hb=1;function bb(e,{key:t,keys:n=t},r){if(n===null){const i=new Set;return e.map(a=>{const o=r&&r.find(s=>s.item===a&&s.phase!=="leave"&&!i.has(s));return o?(i.add(o),o.key):hb++})}return P.und(n)?e:P.fun(n)?e.map(n):Ve(n)}var rd=class extends As{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Er(...t);const n=this._get(),r=No(n);Ss(this,r.create(n))}advance(e){const t=this._get(),n=this.get();It(t,n)||(Mt(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&nc(this._active)&&lo(this)}_get(){const e=P.arr(this.source)?this.source.map(Xe):Ve(Xe(this.source));return this.calc(...e)}_start(){this.idle&&!nc(this._active)&&(this.idle=!1,X(ta(this),e=>{e.done=!1}),mt.skipAnimation?(K.batchedUpdates(()=>this.advance()),lo(this)):Qi.start(this))}_attach(){let e=1;X(Ve(this.source),t=>{it(t)&&Kn(t,this),zo(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){X(Ve(this.source),e=>{it(e)&&Rr(e,this)}),this._active.clear(),lo(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=Ve(this.source).reduce((t,n)=>Math.max(t,(zo(n)?n.priority:0)+1),0))}};function gb(e){return e.idle!==!1}function nc(e){return!e.size||Array.from(e).every(gb)}function lo(e){e.idle||(e.idle=!0,X(ta(e),t=>{t.done=!0}),Pr(e,{type:"idle",parent:e}))}var Ko=(e,...t)=>new rd(e,t);mt.assign({createStringInterpolator:Dl,to:(e,t)=>new rd(e,t)});var id=/^--/;function mb(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!id.test(e)&&!(jr.hasOwnProperty(e)&&jr[e])?t+"px":(""+t).trim()}var rc={};function pb(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{className:r,style:i,children:a,scrollTop:o,scrollLeft:s,viewBox:u,...c}=t,l=Object.values(c),f=Object.keys(c).map(d=>n||e.hasAttribute(d)?d:rc[d]||(rc[d]=d.replace(/([A-Z])/g,h=>"-"+h.toLowerCase())));a!==void 0&&(e.textContent=a);for(const d in i)if(i.hasOwnProperty(d)){const h=mb(d,i[d]);id.test(d)?e.style.setProperty(d,h):e.style[d]=h}f.forEach((d,h)=>{e.setAttribute(d,l[h])}),r!==void 0&&(e.className=r),o!==void 0&&(e.scrollTop=o),s!==void 0&&(e.scrollLeft=s),u!==void 0&&e.setAttribute("viewBox",u)}var jr={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},yb=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),vb=["Webkit","Ms","Moz","O"];jr=Object.keys(jr).reduce((e,t)=>(vb.forEach(n=>e[yb(n,t)]=e[t]),e),jr);var xb=/^(matrix|translate|scale|rotate|skew)/,_b=/^(translate)/,$b=/^(rotate|skew)/,ho=(e,t)=>P.num(e)&&e!==0?e+t:e,$i=(e,t)=>P.arr(e)?e.every(n=>$i(n,t)):P.num(e)?e===t:parseFloat(e)===t,wb=class extends na{constructor({x:e,y:t,z:n,...r}){const i=[],a=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),a.push(o=>[`translate3d(${o.map(s=>ho(s,"px")).join(",")})`,$i(o,0)])),kt(r,(o,s)=>{if(s==="transform")i.push([o||""]),a.push(u=>[u,u===""]);else if(xb.test(s)){if(delete r[s],P.und(o))return;const u=_b.test(s)?"px":$b.test(s)?"deg":"";i.push(Ve(o)),a.push(s==="rotate3d"?([c,l,f,d])=>[`rotate3d(${c},${l},${f},${ho(d,u)})`,$i(d,0)]:c=>[`${s}(${c.map(l=>ho(l,u)).join(",")})`,$i(c,s.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new Tb(i,a)),super(r)}},Tb=class extends Pl{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 X(this.inputs,(n,r)=>{const i=Xe(n[0]),[a,o]=this.transforms[r](P.arr(i)?i:n.map(Xe));e+=" "+a,t=t&&o}),t?"none":e}observerAdded(e){e==1&&X(this.inputs,t=>X(t,n=>it(n)&&Kn(n,this)))}observerRemoved(e){e==0&&X(this.inputs,t=>X(t,n=>it(n)&&Rr(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),Pr(this,e)}},Mb=["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"];mt.assign({batchedUpdates:u1.unstable_batchedUpdates,createStringInterpolator:Dl,colors:y1});var Cb=Q1(Mb,{applyAnimatedValues:pb,createAnimatedStyle:e=>new wb(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),Se=Cb.animated;function Sb(){this.__data__=[],this.size=0}var kb=Sb;function jb(e,t){return e===t||e!==e&&t!==t}var ni=jb,Ab=ni;function Eb(e,t){for(var n=e.length;n--;)if(Ab(e[n][0],t))return n;return-1}var aa=Eb,Ob=aa,Pb=Array.prototype,Rb=Pb.splice;function Ib(e){var t=this.__data__,n=Ob(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Rb.call(t,n,1),--this.size,!0}var Db=Ib,Fb=aa;function Ub(e){var t=this.__data__,n=Fb(t,e);return n<0?void 0:t[n][1]}var Lb=Ub,Wb=aa;function Nb(e){return Wb(this.__data__,e)>-1}var Yb=Nb,Bb=aa;function Hb(e,t){var n=this.__data__,r=Bb(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var zb=Hb,Vb=kb,Gb=Db,qb=Lb,Xb=Yb,Kb=zb;function Qn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Qn.prototype.clear=Vb;Qn.prototype.delete=Gb;Qn.prototype.get=qb;Qn.prototype.has=Xb;Qn.prototype.set=Kb;var oa=Qn,Qb=oa;function Zb(){this.__data__=new Qb,this.size=0}var Jb=Zb;function eg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var tg=eg;function ng(e){return this.__data__.get(e)}var rg=ng;function ig(e){return this.__data__.has(e)}var ag=ig,og=typeof x.commonjsGlobal=="object"&&x.commonjsGlobal&&x.commonjsGlobal.Object===Object&&x.commonjsGlobal,ad=og,sg=ad,ug=typeof self=="object"&&self&&self.Object===Object&&self,cg=sg||ug||Function("return this")(),Et=cg,fg=Et,lg=fg.Symbol,Zn=lg,ic=Zn,od=Object.prototype,dg=od.hasOwnProperty,hg=od.toString,br=ic?ic.toStringTag:void 0;function bg(e){var t=dg.call(e,br),n=e[br];try{e[br]=void 0;var r=!0}catch{}var i=hg.call(e);return r&&(t?e[br]=n:delete e[br]),i}var gg=bg,mg=Object.prototype,pg=mg.toString;function yg(e){return pg.call(e)}var vg=yg,ac=Zn,xg=gg,_g=vg,$g="[object Null]",wg="[object Undefined]",oc=ac?ac.toStringTag:void 0;function Tg(e){return e==null?e===void 0?wg:$g:oc&&oc in Object(e)?xg(e):_g(e)}var tn=Tg;function Mg(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ot=Mg,Cg=tn,Sg=Ot,kg="[object AsyncFunction]",jg="[object Function]",Ag="[object GeneratorFunction]",Eg="[object Proxy]";function Og(e){if(!Sg(e))return!1;var t=Cg(e);return t==jg||t==Ag||t==kg||t==Eg}var sa=Og;const sd=x.getDefaultExportFromCjs(sa);var Pg=Et,Rg=Pg["__core-js_shared__"],Ig=Rg,bo=Ig,sc=function(){var e=/[^.]+$/.exec(bo&&bo.keys&&bo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Dg(e){return!!sc&&sc in e}var Fg=Dg,Ug=Function.prototype,Lg=Ug.toString;function Wg(e){if(e!=null){try{return Lg.call(e)}catch{}try{return e+""}catch{}}return""}var ud=Wg,Ng=sa,Yg=Fg,Bg=Ot,Hg=ud,zg=/[\\^$.*+?()[\]{}|]/g,Vg=/^\[object .+?Constructor\]$/,Gg=Function.prototype,qg=Object.prototype,Xg=Gg.toString,Kg=qg.hasOwnProperty,Qg=RegExp("^"+Xg.call(Kg).replace(zg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Zg(e){if(!Bg(e)||Yg(e))return!1;var t=Ng(e)?Qg:Vg;return t.test(Hg(e))}var Jg=Zg;function em(e,t){return e==null?void 0:e[t]}var tm=em,nm=Jg,rm=tm;function im(e,t){var n=rm(e,t);return nm(n)?n:void 0}var _n=im,am=_n,om=Et,sm=am(om,"Map"),Es=sm,um=_n,cm=um(Object,"create"),ua=cm,uc=ua;function fm(){this.__data__=uc?uc(null):{},this.size=0}var lm=fm;function dm(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var hm=dm,bm=ua,gm="__lodash_hash_undefined__",mm=Object.prototype,pm=mm.hasOwnProperty;function ym(e){var t=this.__data__;if(bm){var n=t[e];return n===gm?void 0:n}return pm.call(t,e)?t[e]:void 0}var vm=ym,xm=ua,_m=Object.prototype,$m=_m.hasOwnProperty;function wm(e){var t=this.__data__;return xm?t[e]!==void 0:$m.call(t,e)}var Tm=wm,Mm=ua,Cm="__lodash_hash_undefined__";function Sm(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Mm&&t===void 0?Cm:t,this}var km=Sm,jm=lm,Am=hm,Em=vm,Om=Tm,Pm=km;function Jn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Jn.prototype.clear=jm;Jn.prototype.delete=Am;Jn.prototype.get=Em;Jn.prototype.has=Om;Jn.prototype.set=Pm;var Rm=Jn,cc=Rm,Im=oa,Dm=Es;function Fm(){this.size=0,this.__data__={hash:new cc,map:new(Dm||Im),string:new cc}}var Um=Fm;function Lm(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Wm=Lm,Nm=Wm;function Ym(e,t){var n=e.__data__;return Nm(t)?n[typeof t=="string"?"string":"hash"]:n.map}var ca=Ym,Bm=ca;function Hm(e){var t=Bm(this,e).delete(e);return this.size-=t?1:0,t}var zm=Hm,Vm=ca;function Gm(e){return Vm(this,e).get(e)}var qm=Gm,Xm=ca;function Km(e){return Xm(this,e).has(e)}var Qm=Km,Zm=ca;function Jm(e,t){var n=Zm(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var ep=Jm,tp=Um,np=zm,rp=qm,ip=Qm,ap=ep;function er(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}er.prototype.clear=tp;er.prototype.delete=np;er.prototype.get=rp;er.prototype.has=ip;er.prototype.set=ap;var Os=er,op=oa,sp=Es,up=Os,cp=200;function fp(e,t){var n=this.__data__;if(n instanceof op){var r=n.__data__;if(!sp||r.length<cp-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new up(r)}return n.set(e,t),this.size=n.size,this}var lp=fp,dp=oa,hp=Jb,bp=tg,gp=rg,mp=ag,pp=lp;function tr(e){var t=this.__data__=new dp(e);this.size=t.size}tr.prototype.clear=hp;tr.prototype.delete=bp;tr.prototype.get=gp;tr.prototype.has=mp;tr.prototype.set=pp;var fa=tr,yp=_n,vp=function(){try{var e=yp(Object,"defineProperty");return e({},"",{}),e}catch{}}(),cd=vp,fc=cd;function xp(e,t,n){t=="__proto__"&&fc?fc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Ps=xp,_p=Ps,$p=ni;function wp(e,t,n){(n!==void 0&&!$p(e[t],n)||n===void 0&&!(t in e))&&_p(e,t,n)}var fd=wp;function Tp(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var u=o[e?s:++i];if(n(a[u],u,a)===!1)break}return t}}var Mp=Tp,Cp=Mp,Sp=Cp(),ld=Sp,Ai={exports:{}};Ai.exports;(function(e,t){var n=Et,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,o=a?n.Buffer:void 0,s=o?o.allocUnsafe:void 0;function u(c,l){if(l)return c.slice();var f=c.length,d=s?s(f):new c.constructor(f);return c.copy(d),d}e.exports=u})(Ai,Ai.exports);var dd=Ai.exports,kp=Et,jp=kp.Uint8Array,hd=jp,lc=hd;function Ap(e){var t=new e.constructor(e.byteLength);return new lc(t).set(new lc(e)),t}var Rs=Ap,Ep=Rs;function Op(e,t){var n=t?Ep(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var bd=Op;function Pp(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var gd=Pp,Rp=Ot,dc=Object.create,Ip=function(){function e(){}return function(t){if(!Rp(t))return{};if(dc)return dc(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Dp=Ip;function Fp(e,t){return function(n){return e(t(n))}}var md=Fp,Up=md,Lp=Up(Object.getPrototypeOf,Object),Is=Lp,Wp=Object.prototype;function Np(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Wp;return e===n}var Ds=Np,Yp=Dp,Bp=Is,Hp=Ds;function zp(e){return typeof e.constructor=="function"&&!Hp(e)?Yp(Bp(e)):{}}var pd=zp;function Vp(e){return e!=null&&typeof e=="object"}var yt=Vp,Gp=tn,qp=yt,Xp="[object Arguments]";function Kp(e){return qp(e)&&Gp(e)==Xp}var Qp=Kp,hc=Qp,Zp=yt,yd=Object.prototype,Jp=yd.hasOwnProperty,ey=yd.propertyIsEnumerable,ty=hc(function(){return arguments}())?hc:function(e){return Zp(e)&&Jp.call(e,"callee")&&!ey.call(e,"callee")},la=ty,ny=Array.isArray,Qe=ny,ry=9007199254740991;function iy(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ry}var Fs=iy,ay=sa,oy=Fs;function sy(e){return e!=null&&oy(e.length)&&!ay(e)}var nr=sy,uy=nr,cy=yt;function fy(e){return cy(e)&&uy(e)}var vd=fy,Ei={exports:{}};function ly(){return!1}var dy=ly;Ei.exports;(function(e,t){var n=Et,r=dy,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,s=o?n.Buffer:void 0,u=s?s.isBuffer:void 0,c=u||r;e.exports=c})(Ei,Ei.exports);var da=Ei.exports,hy=tn,by=Is,gy=yt,my="[object Object]",py=Function.prototype,yy=Object.prototype,xd=py.toString,vy=yy.hasOwnProperty,xy=xd.call(Object);function _y(e){if(!gy(e)||hy(e)!=my)return!1;var t=by(e);if(t===null)return!0;var n=vy.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&xd.call(n)==xy}var Us=_y;const Ls=x.getDefaultExportFromCjs(Us);var $y=tn,wy=Fs,Ty=yt,My="[object Arguments]",Cy="[object Array]",Sy="[object Boolean]",ky="[object Date]",jy="[object Error]",Ay="[object Function]",Ey="[object Map]",Oy="[object Number]",Py="[object Object]",Ry="[object RegExp]",Iy="[object Set]",Dy="[object String]",Fy="[object WeakMap]",Uy="[object ArrayBuffer]",Ly="[object DataView]",Wy="[object Float32Array]",Ny="[object Float64Array]",Yy="[object Int8Array]",By="[object Int16Array]",Hy="[object Int32Array]",zy="[object Uint8Array]",Vy="[object Uint8ClampedArray]",Gy="[object Uint16Array]",qy="[object Uint32Array]",we={};we[Wy]=we[Ny]=we[Yy]=we[By]=we[Hy]=we[zy]=we[Vy]=we[Gy]=we[qy]=!0;we[My]=we[Cy]=we[Uy]=we[Sy]=we[Ly]=we[ky]=we[jy]=we[Ay]=we[Ey]=we[Oy]=we[Py]=we[Ry]=we[Iy]=we[Dy]=we[Fy]=!1;function Xy(e){return Ty(e)&&wy(e.length)&&!!we[$y(e)]}var Ky=Xy;function Qy(e){return function(t){return e(t)}}var ri=Qy,Oi={exports:{}};Oi.exports;(function(e,t){var n=ad,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,o=a&&n.process,s=function(){try{var u=i&&i.require&&i.require("util").types;return u||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s})(Oi,Oi.exports);var ha=Oi.exports,Zy=Ky,Jy=ri,bc=ha,gc=bc&&bc.isTypedArray,ev=gc?Jy(gc):Zy,Ws=ev;function tv(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var _d=tv,nv=Ps,rv=ni,iv=Object.prototype,av=iv.hasOwnProperty;function ov(e,t,n){var r=e[t];(!(av.call(e,t)&&rv(r,n))||n===void 0&&!(t in e))&&nv(e,t,n)}var Ns=ov,sv=Ns,uv=Ps;function cv(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],u=r?r(n[s],e[s],s,n,e):void 0;u===void 0&&(u=e[s]),i?uv(n,s,u):sv(n,s,u)}return n}var rr=cv;function fv(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var lv=fv,dv=9007199254740991,hv=/^(?:0|[1-9]\d*)$/;function bv(e,t){var n=typeof e;return t=t??dv,!!t&&(n=="number"||n!="symbol"&&hv.test(e))&&e>-1&&e%1==0&&e<t}var ba=bv,gv=lv,mv=la,pv=Qe,yv=da,vv=ba,xv=Ws,_v=Object.prototype,$v=_v.hasOwnProperty;function wv(e,t){var n=pv(e),r=!n&&mv(e),i=!n&&!r&&yv(e),a=!n&&!r&&!i&&xv(e),o=n||r||i||a,s=o?gv(e.length,String):[],u=s.length;for(var c in e)(t||$v.call(e,c))&&!(o&&(c=="length"||i&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||vv(c,u)))&&s.push(c);return s}var $d=wv;function Tv(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Mv=Tv,Cv=Ot,Sv=Ds,kv=Mv,jv=Object.prototype,Av=jv.hasOwnProperty;function Ev(e){if(!Cv(e))return kv(e);var t=Sv(e),n=[];for(var r in e)r=="constructor"&&(t||!Av.call(e,r))||n.push(r);return n}var Ov=Ev,Pv=$d,Rv=Ov,Iv=nr;function Dv(e){return Iv(e)?Pv(e,!0):Rv(e)}var ii=Dv,Fv=rr,Uv=ii;function Lv(e){return Fv(e,Uv(e))}var Wv=Lv,mc=fd,Nv=dd,Yv=bd,Bv=gd,Hv=pd,pc=la,yc=Qe,zv=vd,Vv=da,Gv=sa,qv=Ot,Xv=Us,Kv=Ws,vc=_d,Qv=Wv;function Zv(e,t,n,r,i,a,o){var s=vc(e,n),u=vc(t,n),c=o.get(u);if(c){mc(e,n,c);return}var l=a?a(s,u,n+"",e,t,o):void 0,f=l===void 0;if(f){var d=yc(u),h=!d&&Vv(u),b=!d&&!h&&Kv(u);l=u,d||h||b?yc(s)?l=s:zv(s)?l=Bv(s):h?(f=!1,l=Nv(u,!0)):b?(f=!1,l=Yv(u,!0)):l=[]:Xv(u)||pc(u)?(l=s,pc(s)?l=Qv(s):(!qv(s)||Gv(s))&&(l=Hv(u))):f=!1}f&&(o.set(u,l),i(l,u,r,a,o),o.delete(u)),mc(e,n,l)}var Jv=Zv,e2=fa,t2=fd,n2=ld,r2=Jv,i2=Ot,a2=ii,o2=_d;function wd(e,t,n,r,i){e!==t&&n2(t,function(a,o){if(i||(i=new e2),i2(a))r2(e,t,o,n,wd,r,i);else{var s=r?r(o2(e,o),a,o+"",e,t,i):void 0;s===void 0&&(s=a),t2(e,o,s)}},a2)}var s2=wd;function u2(e){return e}var ga=u2;function c2(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var f2=c2,l2=f2,xc=Math.max;function d2(e,t,n){return t=xc(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=xc(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),l2(e,this,s)}}var Td=d2;function h2(e){return function(){return e}}var b2=h2,g2=b2,_c=cd,m2=ga,p2=_c?function(e,t){return _c(e,"toString",{configurable:!0,enumerable:!1,value:g2(t),writable:!0})}:m2,y2=p2,v2=800,x2=16,_2=Date.now;function $2(e){var t=0,n=0;return function(){var r=_2(),i=x2-(r-n);if(n=r,i>0){if(++t>=v2)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var w2=$2,T2=y2,M2=w2,C2=M2(T2),Md=C2,S2=ga,k2=Td,j2=Md;function A2(e,t){return j2(k2(e,t,S2),e+"")}var Ys=A2,E2=ni,O2=nr,P2=ba,R2=Ot;function I2(e,t,n){if(!R2(n))return!1;var r=typeof t;return(r=="number"?O2(n)&&P2(t,n.length):r=="string"&&t in n)?E2(n[t],e):!1}var Cd=I2,D2=Ys,F2=Cd;function U2(e){return D2(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&F2(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var L2=U2,W2=s2,N2=L2,Y2=N2(function(e,t,n){W2(e,t,n)}),B2=Y2;const Sd=x.getDefaultExportFromCjs(B2);var H2=tn,z2=yt,V2="[object Symbol]";function G2(e){return typeof e=="symbol"||z2(e)&&H2(e)==V2}var ma=G2,q2=Qe,X2=ma,K2=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q2=/^\w*$/;function Z2(e,t){if(q2(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||X2(e)?!0:Q2.test(e)||!K2.test(e)||t!=null&&e in Object(t)}var Bs=Z2,kd=Os,J2="Expected a function";function Hs(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(J2);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Hs.Cache||kd),n}Hs.Cache=kd;var ex=Hs,tx=ex,nx=500;function rx(e){var t=tx(e,function(r){return n.size===nx&&n.clear(),r}),n=t.cache;return t}var ix=rx,ax=ix,ox=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,sx=/\\(\\)?/g,ux=ax(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(ox,function(n,r,i,a){t.push(i?a.replace(sx,"$1"):r||n)}),t}),cx=ux;function fx(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var pa=fx,$c=Zn,lx=pa,dx=Qe,hx=ma,bx=1/0,wc=$c?$c.prototype:void 0,Tc=wc?wc.toString:void 0;function jd(e){if(typeof e=="string")return e;if(dx(e))return lx(e,jd)+"";if(hx(e))return Tc?Tc.call(e):"";var t=e+"";return t=="0"&&1/e==-bx?"-0":t}var gx=jd,mx=gx;function px(e){return e==null?"":mx(e)}var yx=px,vx=Qe,xx=Bs,_x=cx,$x=yx;function wx(e,t){return vx(e)?e:xx(e,t)?[e]:_x($x(e))}var ir=wx,Tx=ma,Mx=1/0;function Cx(e){if(typeof e=="string"||Tx(e))return e;var t=e+"";return t=="0"&&1/e==-Mx?"-0":t}var ar=Cx,Sx=ir,kx=ar;function jx(e,t){t=Sx(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[kx(t[n++])];return n&&n==r?e:void 0}var ai=jx,Ax=ai;function Ex(e,t,n){var r=e==null?void 0:Ax(e,t);return r===void 0?n:r}var Ad=Ex;const Ut=x.getDefaultExportFromCjs(Ad);var Ox=Ns,Px=ir,Rx=ba,Mc=Ot,Ix=ar;function Dx(e,t,n,r){if(!Mc(e))return e;t=Px(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var u=Ix(t[i]),c=n;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(i!=o){var l=s[u];c=r?r(l,u,s):void 0,c===void 0&&(c=Mc(l)?l:Rx(t[i+1])?[]:{})}Ox(s,u,c),s=s[u]}return e}var Ed=Dx,Fx=Ed;function Ux(e,t,n){return e==null?e:Fx(e,t,n)}var Lx=Ux;const Mr=x.getDefaultExportFromCjs(Lx);function Qo(){return Qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qo.apply(null,arguments)}function Wx(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Nx=["outlineWidth","outlineColor","outlineOpacity"],Yx=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,Wx(e,Nx)},Bx=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],Hx=function(e,t){return Qo({},t,e)},zx=function(e,t){var n=Sd({},e,t);return Bx.forEach(function(r){Mr(n,r,Hx(Ut(n,r),n.text))}),n},Od=function(e,t){return t?Sd({},e,t):e},Vx={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"#ffffff",outlineOpacity:1},axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}},Gx=function(e){return C.useMemo(function(){return zx(Vx,e)},[e])},qx=function(e,t){return C.useMemo(function(){return Od(e,t)},[e,t])},Pd=C.createContext(null),Xx={},Kx=function(e){var t=e.theme,n=t===void 0?Xx:t,r=e.children,i=Gx(n);return x.jsxRuntimeExports.jsx(Pd.Provider,{value:i,children:r})},Ee=function(){var e=C.useContext(Pd);if(e===null)throw new Error("Unable to find the theme, did you forget to wrap your component with ThemeProvider?");return e};function vn(){return vn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vn.apply(null,arguments)}var Qx=["basic","chip","container","table","tableCell","tableCellValue"],Zx={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},Cc=function(e,t){return"translate("+e+"px, "+t+"px)"},Rd=C.memo(function(e){var t,n=e.position,r=e.anchor,i=e.children,a=Ee(),o=vt(),s=o.animate,u=o.config,c=u0(),l=c[0],f=c[1],d=C.useRef(!1),h=void 0,b=!1,m=f.width>0&&f.height>0,g=Math.round(n[0]),y=Math.round(n[1]);m&&(r==="top"?(g-=f.width/2,y-=f.height+14):r==="right"?(g+=14,y-=f.height/2):r==="bottom"?(g-=f.width/2,y+=14):r==="left"?(g-=f.width+14,y-=f.height/2):r==="center"&&(g-=f.width/2,y-=f.height/2),h={transform:Cc(g,y)},d.current||(b=!0),d.current=[g,y]);var _=Yt({to:h,config:u,immediate:!s||b}),v=a.tooltip;v.basic,v.chip,v.container,v.table,v.tableCell,v.tableCellValue;var T=function(M,A){if(M==null)return{};var R={};for(var D in M)if({}.hasOwnProperty.call(M,D)){if(A.indexOf(D)!==-1)continue;R[D]=M[D]}return R}(v,Qx),S=vn({},Zx,T,{transform:(t=_.transform)!=null?t:Cc(g,y),opacity:_.transform?1:0});return x.jsxRuntimeExports.jsx(Se.div,{ref:l,style:S,children:i})});Rd.displayName="TooltipWrapper";var Jx=C.memo(function(e){var t=e.size,n=t===void 0?12:t,r=e.color,i=e.style;return x.jsxRuntimeExports.jsx("span",{style:vn({display:"block",width:n,height:n,background:r},i===void 0?{}:i)})}),Id=C.memo(function(e){var t,n=e.id,r=e.value,i=e.format,a=e.enableChip,o=a!==void 0&&a,s=e.color,u=e.renderContent,c=Ee(),l=ku(i);if(typeof u=="function")t=u();else{var f=r;l!==void 0&&f!==void 0&&(f=l(f)),t=x.jsxRuntimeExports.jsxs("div",{style:c.tooltip.basic,children:[o&&x.jsxRuntimeExports.jsx(Jx,{color:s,style:c.tooltip.chip}),f!==void 0?x.jsxRuntimeExports.jsxs("span",{children:[n,": ",x.jsxRuntimeExports.jsx("strong",{children:""+f})]}):n]})}return x.jsxRuntimeExports.jsx("div",{style:c.tooltip.container,role:"tooltip",children:t})}),e_={width:"100%",borderCollapse:"collapse"},t_=C.memo(function(e){var t,n=e.title,r=e.rows,i=r===void 0?[]:r,a=e.renderContent,o=Ee();return i.length?(t=typeof a=="function"?a():x.jsxRuntimeExports.jsxs("div",{children:[n&&n,x.jsxRuntimeExports.jsx("table",{style:vn({},e_,o.tooltip.table),children:x.jsxRuntimeExports.jsx("tbody",{children:i.map(function(s,u){return x.jsxRuntimeExports.jsx("tr",{children:s.map(function(c,l){return x.jsxRuntimeExports.jsx("td",{style:o.tooltip.tableCell,children:c},l)})},u)})})})]}),x.jsxRuntimeExports.jsx("div",{style:o.tooltip.container,children:t})):null});t_.displayName="TableTooltip";var Zo=C.memo(function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,a=Ee(),o=vt(),s=o.animate,u=o.config,c=C.useMemo(function(){return vn({},a.crosshair.line,{pointerEvents:"none"})},[a.crosshair.line]),l=Yt({x1:t,x2:n,y1:r,y2:i,config:u,immediate:!s});return x.jsxRuntimeExports.jsx(Se.line,vn({},l,{fill:"none",style:c}))});Zo.displayName="CrosshairLine";var n_=C.memo(function(e){var t,n,r=e.width,i=e.height,a=e.type,o=e.x,s=e.y;return a==="cross"?(t={x0:o,x1:o,y0:0,y1:i},n={x0:0,x1:r,y0:s,y1:s}):a==="top-left"?(t={x0:o,x1:o,y0:0,y1:s},n={x0:0,x1:o,y0:s,y1:s}):a==="top"?t={x0:o,x1:o,y0:0,y1:s}:a==="top-right"?(t={x0:o,x1:o,y0:0,y1:s},n={x0:o,x1:r,y0:s,y1:s}):a==="right"?n={x0:o,x1:r,y0:s,y1:s}:a==="bottom-right"?(t={x0:o,x1:o,y0:s,y1:i},n={x0:o,x1:r,y0:s,y1:s}):a==="bottom"?t={x0:o,x1:o,y0:s,y1:i}:a==="bottom-left"?(t={x0:o,x1:o,y0:s,y1:i},n={x0:0,x1:o,y0:s,y1:s}):a==="left"?n={x0:0,x1:o,y0:s,y1:s}:a==="x"?t={x0:o,x1:o,y0:0,y1:i}:a==="y"&&(n={x0:0,x1:r,y0:s,y1:s}),x.jsxRuntimeExports.jsxs(x.jsxRuntimeExports.Fragment,{children:[t&&x.jsxRuntimeExports.jsx(Zo,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&x.jsxRuntimeExports.jsx(Zo,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})});n_.displayName="Crosshair";var Dd=C.createContext({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),Jo={isVisible:!1,position:[null,null],content:null,anchor:null},Fd=C.createContext(Jo),r_=function(e){var t=C.useState(Jo),n=t[0],r=t[1],i=C.useCallback(function(s,u,c){var l=u[0],f=u[1];c===void 0&&(c="top"),r({isVisible:!0,position:[l,f],anchor:c,content:s})},[r]),a=C.useCallback(function(s,u,c){c===void 0&&(c="top");var l=e.current.getBoundingClientRect(),f=e.current.offsetWidth,d=f===l.width?1:f/l.width,h="touches"in u?u.touches[0]:u,b=h.clientX,m=h.clientY,g=(b-l.left)*d,y=(m-l.top)*d;c!=="left"&&c!=="right"||(c=g<l.width/2?"right":"left"),r({isVisible:!0,position:[g,y],anchor:c,content:s})},[e,r]),o=C.useCallback(function(){r(Jo)},[r]);return{actions:C.useMemo(function(){return{showTooltipAt:i,showTooltipFromEvent:a,hideTooltip:o}},[i,a,o]),state:n}},Ud=function(){var e=C.useContext(Dd);if(e===void 0)throw new Error("useTooltip must be used within a TooltipProvider");return e},i_=function(){var e=C.useContext(Fd);if(e===void 0)throw new Error("useTooltipState must be used within a TooltipProvider");return e},a_=function(e){return e.isVisible},o_=function(){var e=i_();return a_(e)?x.jsxRuntimeExports.jsx(Rd,{position:e.position,anchor:e.anchor,children:e.content}):null},s_=function(e){var t=e.container,n=e.children,r=r_(t),i=r.actions,a=r.state;return x.jsxRuntimeExports.jsx(Dd.Provider,{value:i,children:x.jsxRuntimeExports.jsx(Fd.Provider,{value:a,children:n})})},u_=tn,c_=Qe,f_=yt,l_="[object String]";function d_(e){return typeof e=="string"||!c_(e)&&f_(e)&&u_(e)==l_}var h_=d_;const b_=x.getDefaultExportFromCjs(h_);function ya(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function zs(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function or(){}var xn=.7,Yn=1/xn,Ln="\\s*([+-]?\\d+)\\s*",Wr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ct="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",g_=/^#([0-9a-f]{3,8})$/,m_=new RegExp(`^rgb\\(${Ln},${Ln},${Ln}\\)$`),p_=new RegExp(`^rgb\\(${Ct},${Ct},${Ct}\\)$`),y_=new RegExp(`^rgba\\(${Ln},${Ln},${Ln},${Wr}\\)$`),v_=new RegExp(`^rgba\\(${Ct},${Ct},${Ct},${Wr}\\)$`),x_=new RegExp(`^hsl\\(${Wr},${Ct},${Ct}\\)$`),__=new RegExp(`^hsla\\(${Wr},${Ct},${Ct},${Wr}\\)$`),Sc={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};ya(or,Nr,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:kc,formatHex:kc,formatHex8:$_,formatHsl:w_,formatRgb:jc,toString:jc});function kc(){return this.rgb().formatHex()}function $_(){return this.rgb().formatHex8()}function w_(){return Wd(this).formatHsl()}function jc(){return this.rgb().formatRgb()}function Nr(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=g_.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Ac(t):n===3?new He(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?hi(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?hi(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=m_.exec(e))?new He(t[1],t[2],t[3],1):(t=p_.exec(e))?new He(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=y_.exec(e))?hi(t[1],t[2],t[3],t[4]):(t=v_.exec(e))?hi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=x_.exec(e))?Pc(t[1],t[2]/100,t[3]/100,1):(t=__.exec(e))?Pc(t[1],t[2]/100,t[3]/100,t[4]):Sc.hasOwnProperty(e)?Ac(Sc[e]):e==="transparent"?new He(NaN,NaN,NaN,0):null}function Ac(e){return new He(e>>16&255,e>>8&255,e&255,1)}function hi(e,t,n,r){return r<=0&&(e=t=n=NaN),new He(e,t,n,r)}function Ld(e){return e instanceof or||(e=Nr(e)),e?(e=e.rgb(),new He(e.r,e.g,e.b,e.opacity)):new He}function Bn(e,t,n,r){return arguments.length===1?Ld(e):new He(e,t,n,r??1)}function He(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}ya(He,Bn,zs(or,{brighter(e){return e=e==null?Yn:Math.pow(Yn,e),new He(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?xn:Math.pow(xn,e),new He(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new He(mn(this.r),mn(this.g),mn(this.b),Pi(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:Ec,formatHex:Ec,formatHex8:T_,formatRgb:Oc,toString:Oc}));function Ec(){return`#${hn(this.r)}${hn(this.g)}${hn(this.b)}`}function T_(){return`#${hn(this.r)}${hn(this.g)}${hn(this.b)}${hn((isNaN(this.opacity)?1:this.opacity)*255)}`}function Oc(){const e=Pi(this.opacity);return`${e===1?"rgb(":"rgba("}${mn(this.r)}, ${mn(this.g)}, ${mn(this.b)}${e===1?")":`, ${e})`}`}function Pi(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function mn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function hn(e){return e=mn(e),(e<16?"0":"")+e.toString(16)}function Pc(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new bt(e,t,n,r)}function Wd(e){if(e instanceof bt)return new bt(e.h,e.s,e.l,e.opacity);if(e instanceof or||(e=Nr(e)),!e)return new bt;if(e instanceof bt)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,u=(a+i)/2;return s?(t===a?o=(n-r)/s+(n<r)*6:n===a?o=(r-t)/s+2:o=(t-n)/s+4,s/=u<.5?a+i:2-a-i,o*=60):s=u>0&&u<1?0:o,new bt(o,s,u,e.opacity)}function M_(e,t,n,r){return arguments.length===1?Wd(e):new bt(e,t,n,r??1)}function bt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ya(bt,M_,zs(or,{brighter(e){return e=e==null?Yn:Math.pow(Yn,e),new bt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?xn:Math.pow(xn,e),new bt(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new He(go(e>=240?e-240:e+120,i,r),go(e,i,r),go(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new bt(Rc(this.h),bi(this.s),bi(this.l),Pi(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=Pi(this.opacity);return`${e===1?"hsl(":"hsla("}${Rc(this.h)}, ${bi(this.s)*100}%, ${bi(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Rc(e){return e=(e||0)%360,e<0?e+360:e}function bi(e){return Math.max(0,Math.min(1,e||0))}function go(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const C_=Math.PI/180,S_=180/Math.PI;var Nd=-.14861,Vs=1.78277,Gs=-.29227,va=-.90649,Yr=1.97294,Ic=Yr*va,Dc=Yr*Vs,Fc=Vs*Gs-va*Nd;function k_(e){if(e instanceof pn)return new pn(e.h,e.s,e.l,e.opacity);e instanceof He||(e=Ld(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Fc*r+Ic*t-Dc*n)/(Fc+Ic-Dc),a=r-i,o=(Yr*(n-i)-Gs*a)/va,s=Math.sqrt(o*o+a*a)/(Yr*i*(1-i)),u=s?Math.atan2(o,a)*S_-120:NaN;return new pn(u<0?u+360:u,s,i,e.opacity)}function jt(e,t,n,r){return arguments.length===1?k_(e):new pn(e,t,n,r??1)}function pn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ya(pn,jt,zs(or,{brighter(e){return e=e==null?Yn:Math.pow(Yn,e),new pn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?xn:Math.pow(xn,e),new pn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*C_,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new He(255*(t+n*(Nd*r+Vs*i)),255*(t+n*(Gs*r+va*i)),255*(t+n*(Yr*r)),this.opacity)}}));function j_(e,t,n,r,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*n+(1+3*e+3*a-3*o)*r+o*i)/6}function A_(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],a=e[r+1],o=r>0?e[r-1]:2*i-a,s=r<t-1?e[r+2]:2*a-i;return j_((n-r/t)*t,o,i,a,s)}}const xa=e=>()=>e;function Yd(e,t){return function(n){return e+n*t}}function E_(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)}}function O_(e,t){var n=t-e;return n?Yd(e,n>180||n<-180?n-360*Math.round(n/360):n):xa(isNaN(e)?t:e)}function P_(e){return(e=+e)==1?Wn:function(t,n){return n-t?E_(t,n,e):xa(isNaN(t)?n:t)}}function Wn(e,t){var n=t-e;return n?Yd(e,n):xa(isNaN(e)?t:e)}const Uc=function e(t){var n=P_(t);function r(i,a){var o=n((i=Bn(i)).r,(a=Bn(a)).r),s=n(i.g,a.g),u=n(i.b,a.b),c=Wn(i.opacity,a.opacity);return function(l){return i.r=o(l),i.g=s(l),i.b=u(l),i.opacity=c(l),i+""}}return r.gamma=e,r}(1);function R_(e){return function(t){var n=t.length,r=new Array(n),i=new Array(n),a=new Array(n),o,s;for(o=0;o<n;++o)s=Bn(t[o]),r[o]=s.r||0,i[o]=s.g||0,a[o]=s.b||0;return r=e(r),i=e(i),a=e(a),s.opacity=1,function(u){return s.r=r(u),s.g=i(u),s.b=a(u),s+""}}}var I_=R_(A_);function D_(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function F_(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function U_(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=new Array(r),a=new Array(n),o;for(o=0;o<r;++o)i[o]=qs(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(s){for(o=0;o<r;++o)a[o]=i[o](s);return a}}function L_(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Br(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function W_(e,t){var n={},r={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?n[i]=qs(e[i],t[i]):r[i]=t[i];return function(a){for(i in n)r[i]=n[i](a);return r}}var es=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,mo=new RegExp(es.source,"g");function N_(e){return function(){return e}}function Y_(e){return function(t){return e(t)+""}}function Bd(e,t){var n=es.lastIndex=mo.lastIndex=0,r,i,a,o=-1,s=[],u=[];for(e=e+"",t=t+"";(r=es.exec(e))&&(i=mo.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,u.push({i:o,x:Br(r,i)})),n=mo.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?u[0]?Y_(u[0].x):N_(t):(t=u.length,function(c){for(var l=0,f;l<t;++l)s[(f=u[l]).i]=f.x(c);return s.join("")})}function qs(e,t){var n=typeof t,r;return t==null||n==="boolean"?xa(t):(n==="number"?Br:n==="string"?(r=Nr(t))?(t=r,Uc):Bd:t instanceof Nr?Uc:t instanceof Date?L_:F_(t)?D_:Array.isArray(t)?U_:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?W_:Br)(e,t)}function Hd(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function zd(e){return function t(n){n=+n;function r(i,a){var o=e((i=jt(i)).h,(a=jt(a)).h),s=Wn(i.s,a.s),u=Wn(i.l,a.l),c=Wn(i.opacity,a.opacity);return function(l){return i.h=o(l),i.s=s(l),i.l=u(Math.pow(l,n)),i.opacity=c(l),i+""}}return r.gamma=t,r}(1)}zd(O_);var Xs=zd(Wn),B_="__lodash_hash_undefined__";function H_(e){return this.__data__.set(e,B_),this}var z_=H_;function V_(e){return this.__data__.has(e)}var G_=V_,q_=Os,X_=z_,K_=G_;function Ri(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new q_;++t<n;)this.add(e[t])}Ri.prototype.add=Ri.prototype.push=X_;Ri.prototype.has=K_;var Ks=Ri;function Q_(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}var Z_=Q_;function J_(e){return e!==e}var e3=J_;function t3(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}var n3=t3,r3=Z_,i3=e3,a3=n3;function o3(e,t,n){return t===t?a3(e,t,n):r3(e,i3,n)}var s3=o3,u3=s3;function c3(e,t){var n=e==null?0:e.length;return!!n&&u3(e,t,0)>-1}var Vd=c3;function f3(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}var Gd=f3;function l3(e,t){return e.has(t)}var Qs=l3,d3=Ks,h3=Vd,b3=Gd,g3=pa,m3=ri,p3=Qs,y3=200;function v3(e,t,n,r){var i=-1,a=h3,o=!0,s=e.length,u=[],c=t.length;if(!s)return u;n&&(t=g3(t,m3(n))),r?(a=b3,o=!1):t.length>=y3&&(a=p3,o=!1,t=new d3(t));e:for(;++i<s;){var l=e[i],f=n==null?l:n(l);if(l=r||l!==0?l:0,o&&f===f){for(var d=c;d--;)if(t[d]===f)continue e;u.push(l)}else a(t,f,r)||u.push(l)}return u}var x3=v3,_3=x3,$3=Ys,w3=vd,T3=$3(function(e,t){return w3(e)?_3(e,t):[]}),M3=T3;const qd=x.getDefaultExportFromCjs(M3);function gi(e){return function(){return e}}const Lc=1e-12;function C3(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Xd(e){this._context=e}Xd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function S3(e){return new Xd(e)}function en(){}function Ii(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function _a(e){this._context=e}_a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ii(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ii(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function k3(e){return new _a(e)}function Kd(e){this._context=e}Kd.prototype={areaStart:en,areaEnd:en,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ii(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function j3(e){return new Kd(e)}function Qd(e){this._context=e}Qd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Ii(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function A3(e){return new Qd(e)}function Zd(e,t){this._basis=new _a(e),this._beta=t}Zd.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r=e[0],i=t[0],a=e[n]-r,o=t[n]-i,s=-1,u;++s<=n;)u=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+u*a),this._beta*t[s]+(1-this._beta)*(i+u*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const E3=function e(t){function n(r){return t===1?new _a(r):new Zd(r,t)}return n.beta=function(r){return e(+r)},n}(.85);function Di(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Zs(e,t){this._context=e,this._k=(1-t)/6}Zs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Di(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Di(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const O3=function e(t){function n(r){return new Zs(r,t)}return n.tension=function(r){return e(+r)},n}(0);function Js(e,t){this._context=e,this._k=(1-t)/6}Js.prototype={areaStart:en,areaEnd:en,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Di(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const P3=function e(t){function n(r){return new Js(r,t)}return n.tension=function(r){return e(+r)},n}(0);function eu(e,t){this._context=e,this._k=(1-t)/6}eu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Di(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const R3=function e(t){function n(r){return new eu(r,t)}return n.tension=function(r){return e(+r)},n}(0);function tu(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>Lc){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>Lc){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,l=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*c+e._x1*e._l23_2a-t*e._l12_2a)/l,o=(o*c+e._y1*e._l23_2a-n*e._l12_2a)/l}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Jd(e,t){this._context=e,this._alpha=t}Jd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:tu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const I3=function e(t){function n(r){return t?new Jd(r,t):new Zs(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function eh(e,t){this._context=e,this._alpha=t}eh.prototype={areaStart:en,areaEnd:en,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:tu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const D3=function e(t){function n(r){return t?new eh(r,t):new Js(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function th(e,t){this._context=e,this._alpha=t}th.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:tu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const F3=function e(t){function n(r){return t?new th(r,t):new eu(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function nh(e){this._context=e}nh.prototype={areaStart:en,areaEnd:en,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function U3(e){return new nh(e)}function Wc(e){return e<0?-1:1}function Nc(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(Wc(a)+Wc(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Yc(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function po(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Fi(e){this._context=e}Fi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:po(this,this._t0,Yc(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,po(this,Yc(this,n=Nc(this,e,t)),n);break;default:po(this,this._t0,n=Nc(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function rh(e){this._context=new ih(e)}(rh.prototype=Object.create(Fi.prototype)).point=function(e,t){Fi.prototype.point.call(this,t,e)};function ih(e){this._context=e}ih.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function L3(e){return new Fi(e)}function W3(e){return new rh(e)}function ah(e){this._context=e}ah.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=Bc(e),i=Bc(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function Bc(e){var t,n=e.length-1,r,i=new Array(n),a=new Array(n),o=new Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function N3(e){return new ah(e)}function $a(e,t){this._context=e,this._t=t}$a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function Y3(e){return new $a(e,.5)}function B3(e){return new $a(e,0)}function H3(e){return new $a(e,1)}function Hc(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function zc(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function z3(e,t){return e[t]}function V3(e){const t=[];return t.key=e,t}function G3(){var e=gi([]),t=zc,n=Hc,r=z3;function i(a){var o=Array.from(e.apply(this,arguments),V3),s,u=o.length,c=-1,l;for(const f of a)for(s=0,++c;s<u;++s)(o[s][c]=[0,+r(f,o[s].key,c,a)]).data=f;for(s=0,l=C3(t(o));s<u;++s)o[l[s]].index=s;return n(o,l),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:gi(Array.from(a)),i):e},i.value=function(a){return arguments.length?(r=typeof a=="function"?a:gi(+a),i):r},i.order=function(a){return arguments.length?(t=a==null?zc:typeof a=="function"?a:gi(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(n=a??Hc,i):n},i}function q3(e,t){if((u=e.length)>0)for(var n,r=0,i,a,o,s,u,c=e[t[0]].length;r<c;++r)for(o=s=0,n=0;n<u;++n)(a=(i=e[t[n]][r])[1]-i[0])>0?(i[0]=o,i[1]=o+=a):a<0?(i[1]=s,i[0]=s+=a):(i[0]=0,i[1]=a)}function wi(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function X3(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function nu(e){let t,n,r;e.length!==2?(t=wi,n=(s,u)=>wi(e(s),u),r=(s,u)=>e(s)-u):(t=e===wi||e===X3?e:K3,n=e,r=e);function i(s,u,c=0,l=s.length){if(c<l){if(t(u,u)!==0)return l;do{const f=c+l>>>1;n(s[f],u)<0?c=f+1:l=f}while(c<l)}return c}function a(s,u,c=0,l=s.length){if(c<l){if(t(u,u)!==0)return l;do{const f=c+l>>>1;n(s[f],u)<=0?c=f+1:l=f}while(c<l)}return c}function o(s,u,c=0,l=s.length){const f=i(s,u,c,l-1);return f>c&&r(s[f-1],u)>-r(s[f],u)?f-1:f}return{left:i,center:o,right:a}}function K3(){return 0}function Q3(e){return e===null?NaN:+e}const Z3=nu(wi),J3=Z3.right;nu(Q3).center;const e8=J3;class Vc extends Map{constructor(t,n=r8){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(Gc(this,t))}has(t){return super.has(Gc(this,t))}set(t,n){return super.set(t8(this,t),n)}delete(t){return super.delete(n8(this,t))}}function Gc({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function t8({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function n8({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function r8(e){return e!==null&&typeof e=="object"?e.valueOf():e}const i8=Math.sqrt(50),a8=Math.sqrt(10),o8=Math.sqrt(2);function Ui(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/Math.pow(10,i),o=a>=i8?10:a>=a8?5:a>=o8?2:1;let s,u,c;return i<0?(c=Math.pow(10,-i)/o,s=Math.round(e*c),u=Math.round(t*c),s/c<e&&++s,u/c>t&&--u,c=-c):(c=Math.pow(10,i)*o,s=Math.round(e/c),u=Math.round(t/c),s*c<e&&++s,u*c>t&&--u),u<s&&.5<=n&&n<2?Ui(e,t,n*2):[s,u,c]}function ts(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const r=t<e,[i,a,o]=r?Ui(t,e,n):Ui(e,t,n);if(!(a>=i))return[];const s=a-i+1,u=new Array(s);if(r)if(o<0)for(let c=0;c<s;++c)u[c]=(a-c)/-o;else for(let c=0;c<s;++c)u[c]=(a-c)*o;else if(o<0)for(let c=0;c<s;++c)u[c]=(i+c)/-o;else for(let c=0;c<s;++c)u[c]=(i+c)*o;return u}function ns(e,t,n){return t=+t,e=+e,n=+n,Ui(e,t,n)[2]}function rs(e,t,n){t=+t,e=+e,n=+n;const r=t<e,i=r?ns(t,e,n):ns(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function s8(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=Math.max(0,Math.ceil((t-e)/n))|0,a=new Array(i);++r<i;)a[r]=e+r*n;return a}function $n(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const qc=Symbol("implicit");function bn(){var e=new Vc,t=[],n=[],r=qc;function i(a){let o=e.get(a);if(o===void 0){if(r!==qc)return r;e.set(a,o=t.push(a)-1)}return n[o%n.length]}return i.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new Vc;for(const o of a)e.has(o)||e.set(o,t.push(o)-1);return i},i.range=function(a){return arguments.length?(n=Array.from(a),i):n.slice()},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return bn(t,n).unknown(r)},$n.apply(i,arguments),i}function ru(){var e=bn().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,u=0,c=0,l=.5;delete e.unknown;function f(){var d=t().length,h=i<r,b=h?i:r,m=h?r:i;a=(m-b)/Math.max(1,d-u+c*2),s&&(a=Math.floor(a)),b+=(m-b-a*(d-u))*l,o=a*(1-u),s&&(b=Math.round(b),o=Math.round(o));var g=s8(d).map(function(y){return b+a*y});return n(h?g.reverse():g)}return e.domain=function(d){return arguments.length?(t(d),f()):t()},e.range=function(d){return arguments.length?([r,i]=d,r=+r,i=+i,f()):[r,i]},e.rangeRound=function(d){return[r,i]=d,r=+r,i=+i,s=!0,f()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(d){return arguments.length?(s=!!d,f()):s},e.padding=function(d){return arguments.length?(u=Math.min(1,c=+d),f()):u},e.paddingInner=function(d){return arguments.length?(u=Math.min(1,d),f()):u},e.paddingOuter=function(d){return arguments.length?(c=+d,f()):c},e.align=function(d){return arguments.length?(l=Math.max(0,Math.min(1,d)),f()):l},e.copy=function(){return ru(t(),[r,i]).round(s).paddingInner(u).paddingOuter(c).align(l)},$n.apply(f(),arguments)}function oh(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return oh(t())},e}function u8(){return oh(ru.apply(null,arguments).paddingInner(1))}function c8(e){return function(){return e}}function f8(e){return+e}var Xc=[0,1];function Dn(e){return e}function is(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:c8(isNaN(t)?NaN:.5)}function l8(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function d8(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=is(i,r),a=n(o,a)):(r=is(r,i),a=n(a,o)),function(s){return a(r(s))}}function h8(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),a=new Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=is(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(s){var u=e8(e,s,1,r)-1;return a[u](i[u](s))}}function wa(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function iu(){var e=Xc,t=Xc,n=qs,r,i,a,o=Dn,s,u,c;function l(){var d=Math.min(e.length,t.length);return o!==Dn&&(o=l8(e[0],e[d-1])),s=d>2?h8:d8,u=c=null,f}function f(d){return d==null||isNaN(d=+d)?a:(u||(u=s(e.map(r),t,n)))(r(o(d)))}return f.invert=function(d){return o(i((c||(c=s(t,e.map(r),Br)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,f8),l()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),l()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),n=Hd,l()},f.clamp=function(d){return arguments.length?(o=d?!0:Dn,l()):o!==Dn},f.interpolate=function(d){return arguments.length?(n=d,l()):n},f.unknown=function(d){return arguments.length?(a=d,f):a},function(d,h){return r=d,i=h,l()}}function sh(){return iu()(Dn,Dn)}function b8(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Li(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Hn(e){return e=Li(Math.abs(e)),e?e[1]:NaN}function g8(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),a.push(n.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function m8(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var p8=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Hr(e){if(!(t=p8.exec(e)))throw new Error("invalid format: "+e);var t;return new au({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]})}Hr.prototype=au.prototype;function au(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}au.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function y8(e){e:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var uh;function v8(e,t){var n=Li(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(uh=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Li(e,Math.max(0,t+a-1))[0]}function Kc(e,t){var n=Li(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 Qc={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:b8,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)=>Kc(e*100,t),r:Kc,s:v8,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Zc(e){return e}var Jc=Array.prototype.map,ef=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function x8(e){var t=e.grouping===void 0||e.thousands===void 0?Zc:g8(Jc.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?Zc:m8(Jc.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"−":e.minus+"",u=e.nan===void 0?"NaN":e.nan+"";function c(f){f=Hr(f);var d=f.fill,h=f.align,b=f.sign,m=f.symbol,g=f.zero,y=f.width,_=f.comma,v=f.precision,T=f.trim,S=f.type;S==="n"?(_=!0,S="g"):Qc[S]||(v===void 0&&(v=12),T=!0,S="g"),(g||d==="0"&&h==="=")&&(g=!0,d="0",h="=");var M=m==="$"?n:m==="#"&&/[boxX]/.test(S)?"0"+S.toLowerCase():"",A=m==="$"?r:/[%p]/.test(S)?o:"",R=Qc[S],D=/[defgprs%]/.test(S);v=v===void 0?6:/[gprs]/.test(S)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v));function W($){var N=M,E=A,k,j,F;if(S==="c")E=R($)+E,$="";else{$=+$;var U=$<0||1/$<0;if($=isNaN($)?u:R(Math.abs($),v),T&&($=y8($)),U&&+$==0&&b!=="+"&&(U=!1),N=(U?b==="("?b:s:b==="-"||b==="("?"":b)+N,E=(S==="s"?ef[8+uh/3]:"")+E+(U&&b==="("?")":""),D){for(k=-1,j=$.length;++k<j;)if(F=$.charCodeAt(k),48>F||F>57){E=(F===46?i+$.slice(k+1):$.slice(k))+E,$=$.slice(0,k);break}}}_&&!g&&($=t($,1/0));var Y=N.length+$.length+E.length,L=Y<y?new Array(y-Y+1).join(d):"";switch(_&&g&&($=t(L+$,L.length?y-E.length:1/0),L=""),h){case"<":$=N+$+E+L;break;case"=":$=N+L+$+E;break;case"^":$=L.slice(0,Y=L.length>>1)+N+$+E+L.slice(Y);break;default:$=L+N+$+E;break}return a($)}return W.toString=function(){return f+""},W}function l(f,d){var h=c((f=Hr(f),f.type="f",f)),b=Math.max(-8,Math.min(8,Math.floor(Hn(d)/3)))*3,m=Math.pow(10,-b),g=ef[8+b/3];return function(y){return h(m*y)+g}}return{format:c,formatPrefix:l}}var mi,ou,ch;_8({thousands:",",grouping:[3],currency:["$",""]});function _8(e){return mi=x8(e),ou=mi.format,ch=mi.formatPrefix,mi}function $8(e){return Math.max(0,-Hn(Math.abs(e)))}function w8(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Hn(t)/3)))*3-Hn(Math.abs(e)))}function T8(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Hn(t)-Hn(e))+1}function M8(e,t,n,r){var i=rs(e,t,n),a;switch(r=Hr(r??",f"),r.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=w8(i,o))&&(r.precision=a),ch(r,o)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(a=T8(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(a=$8(i))&&(r.precision=a-(r.type==="%")*2);break}}return ou(r)}function fh(e){var t=e.domain;return e.ticks=function(n){var r=t();return ts(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return M8(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],u,c,l=10;for(s<o&&(c=o,o=s,s=c,c=i,i=a,a=c);l-- >0;){if(c=ns(o,s,n),c===u)return r[i]=o,r[a]=s,t(r);if(c>0)o=Math.floor(o/c)*c,s=Math.ceil(s/c)*c;else if(c<0)o=Math.ceil(o*c)/c,s=Math.floor(s*c)/c;else break;u=c}return e},e}function lh(){var e=sh();return e.copy=function(){return wa(e,lh())},$n.apply(e,arguments),fh(e)}function dh(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}function tf(e){return Math.log(e)}function nf(e){return Math.exp(e)}function C8(e){return-Math.log(-e)}function S8(e){return-Math.exp(-e)}function k8(e){return isFinite(e)?+("1e"+e):e<0?0:e}function j8(e){return e===10?k8:e===Math.E?Math.exp:t=>Math.pow(e,t)}function A8(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function rf(e){return(t,n)=>-e(-t,n)}function E8(e){const t=e(tf,nf),n=t.domain;let r=10,i,a;function o(){return i=A8(r),a=j8(r),n()[0]<0?(i=rf(i),a=rf(a),e(C8,S8)):e(tf,nf),t}return t.base=function(s){return arguments.length?(r=+s,o()):r},t.domain=function(s){return arguments.length?(n(s),o()):n()},t.ticks=s=>{const u=n();let c=u[0],l=u[u.length-1];const f=l<c;f&&([c,l]=[l,c]);let d=i(c),h=i(l),b,m;const g=s==null?10:+s;let y=[];if(!(r%1)&&h-d<g){if(d=Math.floor(d),h=Math.ceil(h),c>0){for(;d<=h;++d)for(b=1;b<r;++b)if(m=d<0?b/a(-d):b*a(d),!(m<c)){if(m>l)break;y.push(m)}}else for(;d<=h;++d)for(b=r-1;b>=1;--b)if(m=d>0?b/a(-d):b*a(d),!(m<c)){if(m>l)break;y.push(m)}y.length*2<g&&(y=ts(c,l,g))}else y=ts(d,h,Math.min(h-d,g)).map(a);return f?y.reverse():y},t.tickFormat=(s,u)=>{if(s==null&&(s=10),u==null&&(u=r===10?"s":","),typeof u!="function"&&(!(r%1)&&(u=Hr(u)).precision==null&&(u.trim=!0),u=ou(u)),s===1/0)return u;const c=Math.max(1,r*s/t.ticks().length);return l=>{let f=l/a(Math.round(i(l)));return f*r<r-.5&&(f*=r),f<=c?u(l):""}},t.nice=()=>n(dh(n(),{floor:s=>a(Math.floor(i(s))),ceil:s=>a(Math.ceil(i(s)))})),t}function hh(){const e=E8(iu()).domain([1,10]);return e.copy=()=>wa(e,hh()).base(e.base()),$n.apply(e,arguments),e}function af(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function of(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function O8(e){var t=1,n=e(af(t),of(t));return n.constant=function(r){return arguments.length?e(af(t=+r),of(t)):t},fh(n)}function bh(){var e=O8(iu());return e.copy=function(){return wa(e,bh()).constant(e.constant())},$n.apply(e,arguments)}const yo=new Date,vo=new Date;function Oe(e,t,n,r){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>(e(a=new Date(+a)),a),i.ceil=a=>(e(a=new Date(a-1)),t(a,1),e(a),a),i.round=a=>{const o=i(a),s=i.ceil(a);return a-o<s-a?o:s},i.offset=(a,o)=>(t(a=new Date(+a),o==null?1:Math.floor(o)),a),i.range=(a,o,s)=>{const u=[];if(a=i.ceil(a),s=s==null?1:Math.floor(s),!(a<o)||!(s>0))return u;let c;do u.push(c=new Date(+a)),t(a,s),e(a);while(c<a&&a<o);return u},i.filter=a=>Oe(o=>{if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},(o,s)=>{if(o>=o)if(s<0)for(;++s<=0;)for(;t(o,-1),!a(o););else for(;--s>=0;)for(;t(o,1),!a(o););}),n&&(i.count=(a,o)=>(yo.setTime(+a),vo.setTime(+o),e(yo),e(vo),Math.floor(n(yo,vo))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?o=>r(o)%a===0:o=>i.count(0,o)%a===0):i)),i}const Wi=Oe(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Wi.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Oe(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Wi);Wi.range;const Dt=1e3,ot=Dt*60,Ft=ot*60,Lt=Ft*24,su=Lt*7,sf=Lt*30,xo=Lt*365,gn=Oe(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Dt)},(e,t)=>(t-e)/Dt,e=>e.getUTCSeconds());gn.range;const uu=Oe(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Dt)},(e,t)=>{e.setTime(+e+t*ot)},(e,t)=>(t-e)/ot,e=>e.getMinutes());uu.range;const cu=Oe(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*ot)},(e,t)=>(t-e)/ot,e=>e.getUTCMinutes());cu.range;const fu=Oe(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Dt-e.getMinutes()*ot)},(e,t)=>{e.setTime(+e+t*Ft)},(e,t)=>(t-e)/Ft,e=>e.getHours());fu.range;const lu=Oe(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Ft)},(e,t)=>(t-e)/Ft,e=>e.getUTCHours());lu.range;const oi=Oe(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ot)/Lt,e=>e.getDate()-1);oi.range;const Ta=Oe(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Lt,e=>e.getUTCDate()-1);Ta.range;const gh=Oe(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Lt,e=>Math.floor(e/Lt));gh.range;function wn(e){return Oe(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ot)/su)}const Ma=wn(0),Ni=wn(1),P8=wn(2),R8=wn(3),zn=wn(4),I8=wn(5),D8=wn(6);Ma.range;Ni.range;P8.range;R8.range;zn.range;I8.range;D8.range;function Tn(e){return Oe(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/su)}const Ca=Tn(0),Yi=Tn(1),F8=Tn(2),U8=Tn(3),Vn=Tn(4),L8=Tn(5),W8=Tn(6);Ca.range;Yi.range;F8.range;U8.range;Vn.range;L8.range;W8.range;const du=Oe(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());du.range;const hu=Oe(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());hu.range;const Wt=Oe(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());Wt.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Oe(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)});Wt.range;const Nt=Oe(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());Nt.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Oe(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)});Nt.range;function mh(e,t,n,r,i,a){const o=[[gn,1,Dt],[gn,5,5*Dt],[gn,15,15*Dt],[gn,30,30*Dt],[a,1,ot],[a,5,5*ot],[a,15,15*ot],[a,30,30*ot],[i,1,Ft],[i,3,3*Ft],[i,6,6*Ft],[i,12,12*Ft],[r,1,Lt],[r,2,2*Lt],[n,1,su],[t,1,sf],[t,3,3*sf],[e,1,xo]];function s(c,l,f){const d=l<c;d&&([c,l]=[l,c]);const h=f&&typeof f.range=="function"?f:u(c,l,f),b=h?h.range(c,+l+1):[];return d?b.reverse():b}function u(c,l,f){const d=Math.abs(l-c)/f,h=nu(([,,g])=>g).right(o,d);if(h===o.length)return e.every(rs(c/xo,l/xo,f));if(h===0)return Wi.every(Math.max(rs(c,l,f),1));const[b,m]=o[d/o[h-1][2]<o[h][2]/d?h-1:h];return b.every(m)}return[s,u]}const[N8,Y8]=mh(Nt,hu,Ca,gh,lu,cu),[B8,H8]=mh(Wt,du,Ma,oi,fu,uu);function _o(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 $o(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 gr(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function z8(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,u=e.shortMonths,c=mr(i),l=pr(i),f=mr(a),d=pr(a),h=mr(o),b=pr(o),m=mr(s),g=pr(s),y=mr(u),_=pr(u),v={a:U,A:Y,b:L,B:H,c:null,d:hf,e:hf,f:b6,g:T6,G:C6,H:l6,I:d6,j:h6,L:ph,m:g6,M:m6,p:ae,q:ne,Q:mf,s:pf,S:p6,u:y6,U:v6,V:x6,w:_6,W:$6,x:null,X:null,y:w6,Y:M6,Z:S6,"%":gf},T={a:ue,A:G,b:Z,B:oe,c:null,d:bf,e:bf,f:E6,g:N6,G:B6,H:k6,I:j6,j:A6,L:vh,m:O6,M:P6,p:J,q:me,Q:mf,s:pf,S:R6,u:I6,U:D6,V:F6,w:U6,W:L6,x:null,X:null,y:W6,Y:Y6,Z:H6,"%":gf},S={a:W,A:$,b:N,B:E,c:k,d:lf,e:lf,f:s6,g:ff,G:cf,H:df,I:df,j:r6,L:o6,m:n6,M:i6,p:D,q:t6,Q:c6,s:f6,S:a6,u:K8,U:Q8,V:Z8,w:X8,W:J8,x:j,X:F,y:ff,Y:cf,Z:e6,"%":u6};v.x=M(n,v),v.X=M(r,v),v.c=M(t,v),T.x=M(n,T),T.X=M(r,T),T.c=M(t,T);function M(w,I){return function(O){var p=[],Q=-1,B=0,re=w.length,ie,xe,Fe;for(O instanceof Date||(O=new Date(+O));++Q<re;)w.charCodeAt(Q)===37&&(p.push(w.slice(B,Q)),(xe=uf[ie=w.charAt(++Q)])!=null?ie=w.charAt(++Q):xe=ie==="e"?" ":"0",(Fe=I[ie])&&(ie=Fe(O,xe)),p.push(ie),B=Q+1);return p.push(w.slice(B,Q)),p.join("")}}function A(w,I){return function(O){var p=gr(1900,void 0,1),Q=R(p,w,O+="",0),B,re;if(Q!=O.length)return null;if("Q"in p)return new Date(p.Q);if("s"in p)return new Date(p.s*1e3+("L"in p?p.L:0));if(I&&!("Z"in p)&&(p.Z=0),"p"in p&&(p.H=p.H%12+p.p*12),p.m===void 0&&(p.m="q"in p?p.q:0),"V"in p){if(p.V<1||p.V>53)return null;"w"in p||(p.w=1),"Z"in p?(B=$o(gr(p.y,0,1)),re=B.getUTCDay(),B=re>4||re===0?Yi.ceil(B):Yi(B),B=Ta.offset(B,(p.V-1)*7),p.y=B.getUTCFullYear(),p.m=B.getUTCMonth(),p.d=B.getUTCDate()+(p.w+6)%7):(B=_o(gr(p.y,0,1)),re=B.getDay(),B=re>4||re===0?Ni.ceil(B):Ni(B),B=oi.offset(B,(p.V-1)*7),p.y=B.getFullYear(),p.m=B.getMonth(),p.d=B.getDate()+(p.w+6)%7)}else("W"in p||"U"in p)&&("w"in p||(p.w="u"in p?p.u%7:"W"in p?1:0),re="Z"in p?$o(gr(p.y,0,1)).getUTCDay():_o(gr(p.y,0,1)).getDay(),p.m=0,p.d="W"in p?(p.w+6)%7+p.W*7-(re+5)%7:p.w+p.U*7-(re+6)%7);return"Z"in p?(p.H+=p.Z/100|0,p.M+=p.Z%100,$o(p)):_o(p)}}function R(w,I,O,p){for(var Q=0,B=I.length,re=O.length,ie,xe;Q<B;){if(p>=re)return-1;if(ie=I.charCodeAt(Q++),ie===37){if(ie=I.charAt(Q++),xe=S[ie in uf?I.charAt(Q++):ie],!xe||(p=xe(w,O,p))<0)return-1}else if(ie!=O.charCodeAt(p++))return-1}return p}function D(w,I,O){var p=c.exec(I.slice(O));return p?(w.p=l.get(p[0].toLowerCase()),O+p[0].length):-1}function W(w,I,O){var p=h.exec(I.slice(O));return p?(w.w=b.get(p[0].toLowerCase()),O+p[0].length):-1}function $(w,I,O){var p=f.exec(I.slice(O));return p?(w.w=d.get(p[0].toLowerCase()),O+p[0].length):-1}function N(w,I,O){var p=y.exec(I.slice(O));return p?(w.m=_.get(p[0].toLowerCase()),O+p[0].length):-1}function E(w,I,O){var p=m.exec(I.slice(O));return p?(w.m=g.get(p[0].toLowerCase()),O+p[0].length):-1}function k(w,I,O){return R(w,t,I,O)}function j(w,I,O){return R(w,n,I,O)}function F(w,I,O){return R(w,r,I,O)}function U(w){return o[w.getDay()]}function Y(w){return a[w.getDay()]}function L(w){return u[w.getMonth()]}function H(w){return s[w.getMonth()]}function ae(w){return i[+(w.getHours()>=12)]}function ne(w){return 1+~~(w.getMonth()/3)}function ue(w){return o[w.getUTCDay()]}function G(w){return a[w.getUTCDay()]}function Z(w){return u[w.getUTCMonth()]}function oe(w){return s[w.getUTCMonth()]}function J(w){return i[+(w.getUTCHours()>=12)]}function me(w){return 1+~~(w.getUTCMonth()/3)}return{format:function(w){var I=M(w+="",v);return I.toString=function(){return w},I},parse:function(w){var I=A(w+="",!1);return I.toString=function(){return w},I},utcFormat:function(w){var I=M(w+="",T);return I.toString=function(){return w},I},utcParse:function(w){var I=A(w+="",!0);return I.toString=function(){return w},I}}}var uf={"-":"",_:" ",0:"0"},Ie=/^\s*\d+/,V8=/^%/,G8=/[\\^$*+?|[\]().{}]/g;function fe(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function q8(e){return e.replace(G8,"\\$&")}function mr(e){return new RegExp("^(?:"+e.map(q8).join("|")+")","i")}function pr(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function X8(e,t,n){var r=Ie.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function K8(e,t,n){var r=Ie.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Q8(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Z8(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function J8(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function cf(e,t,n){var r=Ie.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function ff(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function e6(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 t6(e,t,n){var r=Ie.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function n6(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function lf(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function r6(e,t,n){var r=Ie.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function df(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function i6(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function a6(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function o6(e,t,n){var r=Ie.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function s6(e,t,n){var r=Ie.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function u6(e,t,n){var r=V8.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function c6(e,t,n){var r=Ie.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function f6(e,t,n){var r=Ie.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function hf(e,t){return fe(e.getDate(),t,2)}function l6(e,t){return fe(e.getHours(),t,2)}function d6(e,t){return fe(e.getHours()%12||12,t,2)}function h6(e,t){return fe(1+oi.count(Wt(e),e),t,3)}function ph(e,t){return fe(e.getMilliseconds(),t,3)}function b6(e,t){return ph(e,t)+"000"}function g6(e,t){return fe(e.getMonth()+1,t,2)}function m6(e,t){return fe(e.getMinutes(),t,2)}function p6(e,t){return fe(e.getSeconds(),t,2)}function y6(e){var t=e.getDay();return t===0?7:t}function v6(e,t){return fe(Ma.count(Wt(e)-1,e),t,2)}function yh(e){var t=e.getDay();return t>=4||t===0?zn(e):zn.ceil(e)}function x6(e,t){return e=yh(e),fe(zn.count(Wt(e),e)+(Wt(e).getDay()===4),t,2)}function _6(e){return e.getDay()}function $6(e,t){return fe(Ni.count(Wt(e)-1,e),t,2)}function w6(e,t){return fe(e.getFullYear()%100,t,2)}function T6(e,t){return e=yh(e),fe(e.getFullYear()%100,t,2)}function M6(e,t){return fe(e.getFullYear()%1e4,t,4)}function C6(e,t){var n=e.getDay();return e=n>=4||n===0?zn(e):zn.ceil(e),fe(e.getFullYear()%1e4,t,4)}function S6(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+fe(t/60|0,"0",2)+fe(t%60,"0",2)}function bf(e,t){return fe(e.getUTCDate(),t,2)}function k6(e,t){return fe(e.getUTCHours(),t,2)}function j6(e,t){return fe(e.getUTCHours()%12||12,t,2)}function A6(e,t){return fe(1+Ta.count(Nt(e),e),t,3)}function vh(e,t){return fe(e.getUTCMilliseconds(),t,3)}function E6(e,t){return vh(e,t)+"000"}function O6(e,t){return fe(e.getUTCMonth()+1,t,2)}function P6(e,t){return fe(e.getUTCMinutes(),t,2)}function R6(e,t){return fe(e.getUTCSeconds(),t,2)}function I6(e){var t=e.getUTCDay();return t===0?7:t}function D6(e,t){return fe(Ca.count(Nt(e)-1,e),t,2)}function xh(e){var t=e.getUTCDay();return t>=4||t===0?Vn(e):Vn.ceil(e)}function F6(e,t){return e=xh(e),fe(Vn.count(Nt(e),e)+(Nt(e).getUTCDay()===4),t,2)}function U6(e){return e.getUTCDay()}function L6(e,t){return fe(Yi.count(Nt(e)-1,e),t,2)}function W6(e,t){return fe(e.getUTCFullYear()%100,t,2)}function N6(e,t){return e=xh(e),fe(e.getUTCFullYear()%100,t,2)}function Y6(e,t){return fe(e.getUTCFullYear()%1e4,t,4)}function B6(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Vn(e):Vn.ceil(e),fe(e.getUTCFullYear()%1e4,t,4)}function H6(){return"+0000"}function gf(){return"%"}function mf(e){return+e}function pf(e){return Math.floor(+e/1e3)}var Pn,_h,$h;z6({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"]});function z6(e){return Pn=z8(e),_h=Pn.format,Pn.parse,$h=Pn.utcFormat,Pn.utcParse,Pn}function V6(e){return new Date(e)}function G6(e){return e instanceof Date?+e:+new Date(+e)}function bu(e,t,n,r,i,a,o,s,u,c){var l=sh(),f=l.invert,d=l.domain,h=c(".%L"),b=c(":%S"),m=c("%I:%M"),g=c("%I %p"),y=c("%a %d"),_=c("%b %d"),v=c("%B"),T=c("%Y");function S(M){return(u(M)<M?h:s(M)<M?b:o(M)<M?m:a(M)<M?g:r(M)<M?i(M)<M?y:_:n(M)<M?v:T)(M)}return l.invert=function(M){return new Date(f(M))},l.domain=function(M){return arguments.length?d(Array.from(M,G6)):d().map(V6)},l.ticks=function(M){var A=d();return e(A[0],A[A.length-1],M??10)},l.tickFormat=function(M,A){return A==null?S:c(A)},l.nice=function(M){var A=d();return(!M||typeof M.range!="function")&&(M=t(A[0],A[A.length-1],M??10)),M?d(dh(A,M)):l},l.copy=function(){return wa(l,bu(e,t,n,r,i,a,o,s,u,c))},l}function q6(){return $n.apply(bu(B8,H8,Wt,du,Ma,oi,fu,uu,gn,_h).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function X6(){return $n.apply(bu(N8,Y8,Nt,hu,Ca,Ta,lu,cu,gn,$h).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function te(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(r*6,++r*6);return n}const wh=te("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Th=te("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Mh=te("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Ch=te("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Sh=te("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),kh=te("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),jh=te("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Ah=te("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),gu=te("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),K6=te("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),ye=e=>I_(e[e.length-1]);var Sa=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(te);const Q6=ye(Sa);var ka=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(te);const Z6=ye(ka);var ja=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(te);const J6=ye(ja);var Aa=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(te);const e5=ye(Aa);var Ea=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(te);const t5=ye(Ea);var Oa=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(te);const n5=ye(Oa);var Pa=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(te);const r5=ye(Pa);var Ra=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(te);const i5=ye(Ra);var Ia=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(te);const a5=ye(Ia);var Da=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(te);const o5=ye(Da);var Fa=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(te);const s5=ye(Fa);var Ua=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(te);const u5=ye(Ua);var La=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(te);const c5=ye(La);var Wa=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(te);const f5=ye(Wa);var Na=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(te);const l5=ye(Na);var Ya=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(te);const d5=ye(Ya);var Ba=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(te);const h5=ye(Ba);var Ha=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(te);const b5=ye(Ha);var za=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(te);const g5=ye(za);var Va=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(te);const m5=ye(Va);var Ga=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(te);const p5=ye(Ga);var qa=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(te);const y5=ye(qa);var Xa=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(te);const v5=ye(Xa);var Ka=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(te);const x5=ye(Ka);var Qa=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(te);const _5=ye(Qa);var Za=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(te);const $5=ye(Za);var Ja=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(te);const w5=ye(Ja);function T5(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-e*2710.57)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-e*67.37)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-e*2475.67)))))))+")"}const M5=Xs(jt(300,.5,0),jt(-240,.5,1));var C5=Xs(jt(-100,.75,.35),jt(80,1.5,.8)),S5=Xs(jt(260,.75,.35),jt(80,1.5,.8)),pi=jt();function k5(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return pi.h=360*e-100,pi.s=1.5-1.5*t,pi.l=.8-.9*t,pi+""}var yi=Bn(),j5=Math.PI/3,A5=Math.PI*2/3;function E5(e){var t;return e=(.5-e)*Math.PI,yi.r=255*(t=Math.sin(e))*t,yi.g=255*(t=Math.sin(e+j5))*t,yi.b=255*(t=Math.sin(e+A5))*t,yi+""}function O5(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-e*14825.05)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+e*707.56)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-e*6838.66)))))))+")"}function eo(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const P5=eo(te("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var R5=eo(te("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),I5=eo(te("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),D5=eo(te("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function F5(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var Eh=F5;const V=x.getDefaultExportFromCjs(Eh);function U5(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Bi(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function L5(e){return e=Bi(Math.abs(e)),e?e[1]:NaN}function W5(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),a.push(n.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function N5(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var Y5=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function as(e){if(!(t=Y5.exec(e)))throw new Error("invalid format: "+e);var t;return new mu({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]})}as.prototype=mu.prototype;function mu(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}mu.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function B5(e){e:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var Oh;function H5(e,t){var n=Bi(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(Oh=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Bi(e,Math.max(0,t+a-1))[0]}function yf(e,t){var n=Bi(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 vf={"%":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:U5,e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return yf(e*100,t)},r:yf,s:H5,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function xf(e){return e}var _f=Array.prototype.map,$f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function z5(e){var t=e.grouping===void 0||e.thousands===void 0?xf:W5(_f.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?xf:N5(_f.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"-":e.minus+"",u=e.nan===void 0?"NaN":e.nan+"";function c(f){f=as(f);var d=f.fill,h=f.align,b=f.sign,m=f.symbol,g=f.zero,y=f.width,_=f.comma,v=f.precision,T=f.trim,S=f.type;S==="n"?(_=!0,S="g"):vf[S]||(v===void 0&&(v=12),T=!0,S="g"),(g||d==="0"&&h==="=")&&(g=!0,d="0",h="=");var M=m==="$"?n:m==="#"&&/[boxX]/.test(S)?"0"+S.toLowerCase():"",A=m==="$"?r:/[%p]/.test(S)?o:"",R=vf[S],D=/[defgprs%]/.test(S);v=v===void 0?6:/[gprs]/.test(S)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v));function W($){var N=M,E=A,k,j,F;if(S==="c")E=R($)+E,$="";else{$=+$;var U=$<0||1/$<0;if($=isNaN($)?u:R(Math.abs($),v),T&&($=B5($)),U&&+$==0&&b!=="+"&&(U=!1),N=(U?b==="("?b:s:b==="-"||b==="("?"":b)+N,E=(S==="s"?$f[8+Oh/3]:"")+E+(U&&b==="("?")":""),D){for(k=-1,j=$.length;++k<j;)if(F=$.charCodeAt(k),48>F||F>57){E=(F===46?i+$.slice(k+1):$.slice(k))+E,$=$.slice(0,k);break}}}_&&!g&&($=t($,1/0));var Y=N.length+$.length+E.length,L=Y<y?new Array(y-Y+1).join(d):"";switch(_&&g&&($=t(L+$,L.length?y-E.length:1/0),L=""),h){case"<":$=N+$+E+L;break;case"=":$=N+L+$+E;break;case"^":$=L.slice(0,Y=L.length>>1)+N+$+E+L.slice(Y);break;default:$=L+N+$+E;break}return a($)}return W.toString=function(){return f+""},W}function l(f,d){var h=c((f=as(f),f.type="f",f)),b=Math.max(-8,Math.min(8,Math.floor(L5(d)/3)))*3,m=Math.pow(10,-b),g=$f[8+b/3];return function(y){return h(m*y)+g}}return{format:c,formatPrefix:l}}var vi,pu;V5({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function V5(e){return vi=z5(e),pu=vi.format,vi.formatPrefix,vi}var wo=new Date,To=new Date;function Bt(e,t,n,r){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=function(a){return e(a=new Date(+a)),a},i.ceil=function(a){return e(a=new Date(a-1)),t(a,1),e(a),a},i.round=function(a){var o=i(a),s=i.ceil(a);return a-o<s-a?o:s},i.offset=function(a,o){return t(a=new Date(+a),o==null?1:Math.floor(o)),a},i.range=function(a,o,s){var u=[],c;if(a=i.ceil(a),s=s==null?1:Math.floor(s),!(a<o)||!(s>0))return u;do u.push(c=new Date(+a)),t(a,s),e(a);while(c<a&&a<o);return u},i.filter=function(a){return Bt(function(o){if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;t(o,-1),!a(o););else for(;--s>=0;)for(;t(o,1),!a(o););})},n&&(i.count=function(a,o){return wo.setTime(+a),To.setTime(+o),e(wo),e(To),Math.floor(n(wo,To))},i.every=function(a){return a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?function(o){return r(o)%a===0}:function(o){return i.count(0,o)%a===0}):i}),i}const G5=1e3,yu=G5*60,q5=yu*60,vu=q5*24,Ph=vu*7;var Rh=Bt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yu)/vu,e=>e.getDate()-1);const Ih=Rh;Rh.range;function Mn(e){return Bt(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n*7)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*yu)/Ph})}var Dh=Mn(0),Hi=Mn(1),X5=Mn(2),K5=Mn(3),Gn=Mn(4),Q5=Mn(5),Z5=Mn(6);Dh.range;Hi.range;X5.range;K5.range;Gn.range;Q5.range;Z5.range;var xu=Bt(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});xu.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:Bt(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)})};const zr=xu;xu.range;var Fh=Bt(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/vu},function(e){return e.getUTCDate()-1});const Uh=Fh;Fh.range;function Cn(e){return Bt(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n*7)},function(t,n){return(n-t)/Ph})}var Lh=Cn(0),zi=Cn(1),J5=Cn(2),e4=Cn(3),qn=Cn(4),t4=Cn(5),n4=Cn(6);Lh.range;zi.range;J5.range;e4.range;qn.range;t4.range;n4.range;var _u=Bt(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});_u.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:Bt(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})};const Vr=_u;_u.range;function Mo(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 Co(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 yr(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function r4(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,u=e.shortMonths,c=vr(i),l=xr(i),f=vr(a),d=xr(a),h=vr(o),b=xr(o),m=vr(s),g=xr(s),y=vr(u),_=xr(u),v={a:U,A:Y,b:L,B:H,c:null,d:kf,e:kf,f:C4,g:D4,G:U4,H:w4,I:T4,j:M4,L:Wh,m:S4,M:k4,p:ae,q:ne,Q:Ef,s:Of,S:j4,u:A4,U:E4,V:O4,w:P4,W:R4,x:null,X:null,y:I4,Y:F4,Z:L4,"%":Af},T={a:ue,A:G,b:Z,B:oe,c:null,d:jf,e:jf,f:B4,g:J4,G:t7,H:W4,I:N4,j:Y4,L:Yh,m:H4,M:z4,p:J,q:me,Q:Ef,s:Of,S:V4,u:G4,U:q4,V:X4,w:K4,W:Q4,x:null,X:null,y:Z4,Y:e7,Z:n7,"%":Af},S={a:W,A:$,b:N,B:E,c:k,d:Cf,e:Cf,f:v4,g:Mf,G:Tf,H:Sf,I:Sf,j:g4,L:y4,m:b4,M:m4,p:D,q:h4,Q:_4,s:$4,S:p4,u:u4,U:c4,V:f4,w:s4,W:l4,x:j,X:F,y:Mf,Y:Tf,Z:d4,"%":x4};v.x=M(n,v),v.X=M(r,v),v.c=M(t,v),T.x=M(n,T),T.X=M(r,T),T.c=M(t,T);function M(w,I){return function(O){var p=[],Q=-1,B=0,re=w.length,ie,xe,Fe;for(O instanceof Date||(O=new Date(+O));++Q<re;)w.charCodeAt(Q)===37&&(p.push(w.slice(B,Q)),(xe=wf[ie=w.charAt(++Q)])!=null?ie=w.charAt(++Q):xe=ie==="e"?" ":"0",(Fe=I[ie])&&(ie=Fe(O,xe)),p.push(ie),B=Q+1);return p.push(w.slice(B,Q)),p.join("")}}function A(w,I){return function(O){var p=yr(1900,void 0,1),Q=R(p,w,O+="",0),B,re;if(Q!=O.length)return null;if("Q"in p)return new Date(p.Q);if("s"in p)return new Date(p.s*1e3+("L"in p?p.L:0));if(I&&!("Z"in p)&&(p.Z=0),"p"in p&&(p.H=p.H%12+p.p*12),p.m===void 0&&(p.m="q"in p?p.q:0),"V"in p){if(p.V<1||p.V>53)return null;"w"in p||(p.w=1),"Z"in p?(B=Co(yr(p.y,0,1)),re=B.getUTCDay(),B=re>4||re===0?zi.ceil(B):zi(B),B=Uh.offset(B,(p.V-1)*7),p.y=B.getUTCFullYear(),p.m=B.getUTCMonth(),p.d=B.getUTCDate()+(p.w+6)%7):(B=Mo(yr(p.y,0,1)),re=B.getDay(),B=re>4||re===0?Hi.ceil(B):Hi(B),B=Ih.offset(B,(p.V-1)*7),p.y=B.getFullYear(),p.m=B.getMonth(),p.d=B.getDate()+(p.w+6)%7)}else("W"in p||"U"in p)&&("w"in p||(p.w="u"in p?p.u%7:"W"in p?1:0),re="Z"in p?Co(yr(p.y,0,1)).getUTCDay():Mo(yr(p.y,0,1)).getDay(),p.m=0,p.d="W"in p?(p.w+6)%7+p.W*7-(re+5)%7:p.w+p.U*7-(re+6)%7);return"Z"in p?(p.H+=p.Z/100|0,p.M+=p.Z%100,Co(p)):Mo(p)}}function R(w,I,O,p){for(var Q=0,B=I.length,re=O.length,ie,xe;Q<B;){if(p>=re)return-1;if(ie=I.charCodeAt(Q++),ie===37){if(ie=I.charAt(Q++),xe=S[ie in wf?I.charAt(Q++):ie],!xe||(p=xe(w,O,p))<0)return-1}else if(ie!=O.charCodeAt(p++))return-1}return p}function D(w,I,O){var p=c.exec(I.slice(O));return p?(w.p=l.get(p[0].toLowerCase()),O+p[0].length):-1}function W(w,I,O){var p=h.exec(I.slice(O));return p?(w.w=b.get(p[0].toLowerCase()),O+p[0].length):-1}function $(w,I,O){var p=f.exec(I.slice(O));return p?(w.w=d.get(p[0].toLowerCase()),O+p[0].length):-1}function N(w,I,O){var p=y.exec(I.slice(O));return p?(w.m=_.get(p[0].toLowerCase()),O+p[0].length):-1}function E(w,I,O){var p=m.exec(I.slice(O));return p?(w.m=g.get(p[0].toLowerCase()),O+p[0].length):-1}function k(w,I,O){return R(w,t,I,O)}function j(w,I,O){return R(w,n,I,O)}function F(w,I,O){return R(w,r,I,O)}function U(w){return o[w.getDay()]}function Y(w){return a[w.getDay()]}function L(w){return u[w.getMonth()]}function H(w){return s[w.getMonth()]}function ae(w){return i[+(w.getHours()>=12)]}function ne(w){return 1+~~(w.getMonth()/3)}function ue(w){return o[w.getUTCDay()]}function G(w){return a[w.getUTCDay()]}function Z(w){return u[w.getUTCMonth()]}function oe(w){return s[w.getUTCMonth()]}function J(w){return i[+(w.getUTCHours()>=12)]}function me(w){return 1+~~(w.getUTCMonth()/3)}return{format:function(w){var I=M(w+="",v);return I.toString=function(){return w},I},parse:function(w){var I=A(w+="",!1);return I.toString=function(){return w},I},utcFormat:function(w){var I=M(w+="",T);return I.toString=function(){return w},I},utcParse:function(w){var I=A(w+="",!0);return I.toString=function(){return w},I}}}var wf={"-":"",_:" ",0:"0"},De=/^\s*\d+/,i4=/^%/,a4=/[\\^$*+?|[\]().{}]/g;function le(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function o4(e){return e.replace(a4,"\\$&")}function vr(e){return new RegExp("^(?:"+e.map(o4).join("|")+")","i")}function xr(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function s4(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function u4(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function c4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function f4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function l4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Tf(e,t,n){var r=De.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Mf(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function d4(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 h4(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function b4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Cf(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function g4(e,t,n){var r=De.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Sf(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function m4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function p4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function y4(e,t,n){var r=De.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function v4(e,t,n){var r=De.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function x4(e,t,n){var r=i4.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function _4(e,t,n){var r=De.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function $4(e,t,n){var r=De.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function kf(e,t){return le(e.getDate(),t,2)}function w4(e,t){return le(e.getHours(),t,2)}function T4(e,t){return le(e.getHours()%12||12,t,2)}function M4(e,t){return le(1+Ih.count(zr(e),e),t,3)}function Wh(e,t){return le(e.getMilliseconds(),t,3)}function C4(e,t){return Wh(e,t)+"000"}function S4(e,t){return le(e.getMonth()+1,t,2)}function k4(e,t){return le(e.getMinutes(),t,2)}function j4(e,t){return le(e.getSeconds(),t,2)}function A4(e){var t=e.getDay();return t===0?7:t}function E4(e,t){return le(Dh.count(zr(e)-1,e),t,2)}function Nh(e){var t=e.getDay();return t>=4||t===0?Gn(e):Gn.ceil(e)}function O4(e,t){return e=Nh(e),le(Gn.count(zr(e),e)+(zr(e).getDay()===4),t,2)}function P4(e){return e.getDay()}function R4(e,t){return le(Hi.count(zr(e)-1,e),t,2)}function I4(e,t){return le(e.getFullYear()%100,t,2)}function D4(e,t){return e=Nh(e),le(e.getFullYear()%100,t,2)}function F4(e,t){return le(e.getFullYear()%1e4,t,4)}function U4(e,t){var n=e.getDay();return e=n>=4||n===0?Gn(e):Gn.ceil(e),le(e.getFullYear()%1e4,t,4)}function L4(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+le(t/60|0,"0",2)+le(t%60,"0",2)}function jf(e,t){return le(e.getUTCDate(),t,2)}function W4(e,t){return le(e.getUTCHours(),t,2)}function N4(e,t){return le(e.getUTCHours()%12||12,t,2)}function Y4(e,t){return le(1+Uh.count(Vr(e),e),t,3)}function Yh(e,t){return le(e.getUTCMilliseconds(),t,3)}function B4(e,t){return Yh(e,t)+"000"}function H4(e,t){return le(e.getUTCMonth()+1,t,2)}function z4(e,t){return le(e.getUTCMinutes(),t,2)}function V4(e,t){return le(e.getUTCSeconds(),t,2)}function G4(e){var t=e.getUTCDay();return t===0?7:t}function q4(e,t){return le(Lh.count(Vr(e)-1,e),t,2)}function Bh(e){var t=e.getUTCDay();return t>=4||t===0?qn(e):qn.ceil(e)}function X4(e,t){return e=Bh(e),le(qn.count(Vr(e),e)+(Vr(e).getUTCDay()===4),t,2)}function K4(e){return e.getUTCDay()}function Q4(e,t){return le(zi.count(Vr(e)-1,e),t,2)}function Z4(e,t){return le(e.getUTCFullYear()%100,t,2)}function J4(e,t){return e=Bh(e),le(e.getUTCFullYear()%100,t,2)}function e7(e,t){return le(e.getUTCFullYear()%1e4,t,4)}function t7(e,t){var n=e.getUTCDay();return e=n>=4||n===0?qn(e):qn.ceil(e),le(e.getUTCFullYear()%1e4,t,4)}function n7(){return"+0000"}function Af(){return"%"}function Ef(e){return+e}function Of(e){return Math.floor(+e/1e3)}var Rn,$u,Hh,zh;r7({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"]});function r7(e){return Rn=r4(e),$u=Rn.format,Hh=Rn.parse,Rn.utcFormat,zh=Rn.utcParse,Rn}var i7=ai,a7=Ed,o7=ir;function s7(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=i7(e,o);n(s,o)&&a7(a,o7(o,e),s)}return a}var u7=s7;function c7(e,t){return e!=null&&t in Object(e)}var f7=c7,l7=ir,d7=la,h7=Qe,b7=ba,g7=Fs,m7=ar;function p7(e,t,n){t=l7(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=m7(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&g7(i)&&b7(o,i)&&(h7(e)||d7(e)))}var y7=p7,v7=f7,x7=y7;function _7(e,t){return e!=null&&x7(e,t,v7)}var Vh=_7,$7=u7,w7=Vh;function T7(e,t){return $7(e,t,function(n,r){return w7(e,r)})}var M7=T7;function C7(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var wu=C7,Pf=Zn,S7=la,k7=Qe,Rf=Pf?Pf.isConcatSpreadable:void 0;function j7(e){return k7(e)||S7(e)||!!(Rf&&e&&e[Rf])}var A7=j7,E7=wu,O7=A7;function Gh(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=O7),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?Gh(s,t-1,n,r,i):E7(i,s):r||(i[i.length]=s)}return i}var qh=Gh,P7=qh;function R7(e){var t=e==null?0:e.length;return t?P7(e,1):[]}var I7=R7,D7=I7,F7=Td,U7=Md;function L7(e){return U7(F7(e,void 0,D7),e+"")}var Xh=L7,W7=M7,N7=Xh,Y7=N7(function(e,t){return e==null?{}:W7(e,t)}),B7=Y7;const H7=x.getDefaultExportFromCjs(B7);function z7(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var V7=z7,G7=Ks,q7=V7,X7=Qs,K7=1,Q7=2;function Z7(e,t,n,r,i,a){var o=n&K7,s=e.length,u=t.length;if(s!=u&&!(o&&u>s))return!1;var c=a.get(e),l=a.get(t);if(c&&l)return c==t&&l==e;var f=-1,d=!0,h=n&Q7?new G7:void 0;for(a.set(e,t),a.set(t,e);++f<s;){var b=e[f],m=t[f];if(r)var g=o?r(m,b,f,t,e,a):r(b,m,f,e,t,a);if(g!==void 0){if(g)continue;d=!1;break}if(h){if(!q7(t,function(y,_){if(!X7(h,_)&&(b===y||i(b,y,n,r,a)))return h.push(_)})){d=!1;break}}else if(!(b===m||i(b,m,n,r,a))){d=!1;break}}return a.delete(e),a.delete(t),d}var Kh=Z7;function J7(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var e9=J7;function t9(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Tu=t9,If=Zn,Df=hd,n9=ni,r9=Kh,i9=e9,a9=Tu,o9=1,s9=2,u9="[object Boolean]",c9="[object Date]",f9="[object Error]",l9="[object Map]",d9="[object Number]",h9="[object RegExp]",b9="[object Set]",g9="[object String]",m9="[object Symbol]",p9="[object ArrayBuffer]",y9="[object DataView]",Ff=If?If.prototype:void 0,So=Ff?Ff.valueOf:void 0;function v9(e,t,n,r,i,a,o){switch(n){case y9:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case p9:return!(e.byteLength!=t.byteLength||!a(new Df(e),new Df(t)));case u9:case c9:case d9:return n9(+e,+t);case f9:return e.name==t.name&&e.message==t.message;case h9:case g9:return e==t+"";case l9:var s=i9;case b9:var u=r&o9;if(s||(s=a9),e.size!=t.size&&!u)return!1;var c=o.get(e);if(c)return c==t;r|=s9,o.set(e,t);var l=r9(s(e),s(t),r,i,a,o);return o.delete(e),l;case m9:if(So)return So.call(e)==So.call(t)}return!1}var x9=v9,_9=wu,$9=Qe;function w9(e,t,n){var r=t(e);return $9(e)?r:_9(r,n(e))}var Qh=w9;function T9(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}var Zh=T9;function M9(){return[]}var Jh=M9,C9=Zh,S9=Jh,k9=Object.prototype,j9=k9.propertyIsEnumerable,Uf=Object.getOwnPropertySymbols,A9=Uf?function(e){return e==null?[]:(e=Object(e),C9(Uf(e),function(t){return j9.call(e,t)}))}:S9,Mu=A9,E9=md,O9=E9(Object.keys,Object),P9=O9,R9=Ds,I9=P9,D9=Object.prototype,F9=D9.hasOwnProperty;function U9(e){if(!R9(e))return I9(e);var t=[];for(var n in Object(e))F9.call(e,n)&&n!="constructor"&&t.push(n);return t}var L9=U9,W9=$d,N9=L9,Y9=nr;function B9(e){return Y9(e)?W9(e):N9(e)}var si=B9,H9=Qh,z9=Mu,V9=si;function G9(e){return H9(e,V9,z9)}var e0=G9,Lf=e0,q9=1,X9=Object.prototype,K9=X9.hasOwnProperty;function Q9(e,t,n,r,i,a){var o=n&q9,s=Lf(e),u=s.length,c=Lf(t),l=c.length;if(u!=l&&!o)return!1;for(var f=u;f--;){var d=s[f];if(!(o?d in t:K9.call(t,d)))return!1}var h=a.get(e),b=a.get(t);if(h&&b)return h==t&&b==e;var m=!0;a.set(e,t),a.set(t,e);for(var g=o;++f<u;){d=s[f];var y=e[d],_=t[d];if(r)var v=o?r(_,y,d,t,e,a):r(y,_,d,e,t,a);if(!(v===void 0?y===_||i(y,_,n,r,a):v)){m=!1;break}g||(g=d=="constructor")}if(m&&!g){var T=e.constructor,S=t.constructor;T!=S&&"constructor"in e&&"constructor"in t&&!(typeof T=="function"&&T instanceof T&&typeof S=="function"&&S instanceof S)&&(m=!1)}return a.delete(e),a.delete(t),m}var Z9=Q9,J9=_n,e$=Et,t$=J9(e$,"DataView"),n$=t$,r$=_n,i$=Et,a$=r$(i$,"Promise"),o$=a$,s$=_n,u$=Et,c$=s$(u$,"Set"),t0=c$,f$=_n,l$=Et,d$=f$(l$,"WeakMap"),h$=d$,os=n$,ss=Es,us=o$,cs=t0,fs=h$,n0=tn,sr=ud,Wf="[object Map]",b$="[object Object]",Nf="[object Promise]",Yf="[object Set]",Bf="[object WeakMap]",Hf="[object DataView]",g$=sr(os),m$=sr(ss),p$=sr(us),y$=sr(cs),v$=sr(fs),ln=n0;(os&&ln(new os(new ArrayBuffer(1)))!=Hf||ss&&ln(new ss)!=Wf||us&&ln(us.resolve())!=Nf||cs&&ln(new cs)!=Yf||fs&&ln(new fs)!=Bf)&&(ln=function(e){var t=n0(e),n=t==b$?e.constructor:void 0,r=n?sr(n):"";if(r)switch(r){case g$:return Hf;case m$:return Wf;case p$:return Nf;case y$:return Yf;case v$:return Bf}return t});var to=ln,ko=fa,x$=Kh,_$=x9,$$=Z9,zf=to,Vf=Qe,Gf=da,w$=Ws,T$=1,qf="[object Arguments]",Xf="[object Array]",xi="[object Object]",M$=Object.prototype,Kf=M$.hasOwnProperty;function C$(e,t,n,r,i,a){var o=Vf(e),s=Vf(t),u=o?Xf:zf(e),c=s?Xf:zf(t);u=u==qf?xi:u,c=c==qf?xi:c;var l=u==xi,f=c==xi,d=u==c;if(d&&Gf(e)){if(!Gf(t))return!1;o=!0,l=!1}if(d&&!l)return a||(a=new ko),o||w$(e)?x$(e,t,n,r,i,a):_$(e,t,u,n,r,i,a);if(!(n&T$)){var h=l&&Kf.call(e,"__wrapped__"),b=f&&Kf.call(t,"__wrapped__");if(h||b){var m=h?e.value():e,g=b?t.value():t;return a||(a=new ko),i(m,g,n,r,a)}}return d?(a||(a=new ko),$$(e,t,n,r,i,a)):!1}var S$=C$,k$=S$,Qf=yt;function r0(e,t,n,r,i){return e===t?!0:e==null||t==null||!Qf(e)&&!Qf(t)?e!==e&&t!==t:k$(e,t,n,r,r0,i)}var Cu=r0,j$=Cu;function A$(e,t){return j$(e,t)}var E$=A$;const O$=x.getDefaultExportFromCjs(E$);var i0=C.createContext(),P$=function(e){var t=e.children,n=e.animate,r=n===void 0||n,i=e.config,a=i===void 0?"default":i,o=C.useMemo(function(){var s=b_(a)?Hl[a]:a;return{animate:r,config:s}},[r,a]);return x.jsxRuntimeExports.jsx(i0.Provider,{value:o,children:t})},vt=function(){return C.useContext(i0)},R$=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?C.cloneElement(r,{},t):t},I$={position:"relative"},a0=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=r===void 0||r,a=e.isInteractive,o=a===void 0||a,s=e.animate,u=e.motionConfig,c=C.useRef(null);return x.jsxRuntimeExports.jsx(Kx,{theme:n,children:x.jsxRuntimeExports.jsx(P$,{animate:s,config:u,children:x.jsxRuntimeExports.jsx(s_,{container:c,children:x.jsxRuntimeExports.jsxs(R$,{condition:i,wrapper:x.jsxRuntimeExports.jsx("div",{style:I$,ref:c}),children:[t,o&&x.jsxRuntimeExports.jsx(o_,{})]})})})})},D$=function(e){var t=vt(),n=t.animate,r=t.config,i=function(s){var u=C.useRef();return C.useEffect(function(){u.current=s},[s]),u.current}(e),a=C.useMemo(function(){return Bd(i,e)},[i,e]),o=Yt({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value;return Ko(o,a)};C.createContext(void 0);var F$={basis:k3,basisClosed:j3,basisOpen:A3,bundle:E3,cardinal:O3,cardinalClosed:P3,cardinalOpen:R3,catmullRom:I3,catmullRomClosed:D3,catmullRomOpen:F3,linear:S3,linearClosed:U3,monotoneX:L3,monotoneY:W3,natural:N3,step:Y3,stepAfter:H3,stepBefore:B3},Su=Object.keys(F$);Su.filter(function(e){return e.endsWith("Closed")});qd(Su,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");qd(Su,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");function Zf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function U$(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(i,a){if(i){if(typeof i=="string")return Zf(i,a);var o={}.toString.call(i).slice(8,-1);return o==="Object"&&i.constructor&&(o=i.constructor.name),o==="Map"||o==="Set"?Array.from(i):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Zf(i,a):void 0}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./index-n0hzqHsG.js"),C=require("react"),u1=require("react-dom");function c1(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Zt=c1(C);var ms=Jr(),K=e=>Zr(e,ms),ps=Jr();K.write=e=>Zr(e,ps);var Ki=Jr();K.onStart=e=>Zr(e,Ki);var ys=Jr();K.onFrame=e=>Zr(e,ys);var vs=Jr();K.onFinish=e=>Zr(e,vs);var Fn=[];K.setTimeout=(e,t)=>{const n=K.now()+t,r=()=>{const a=Fn.findIndex(o=>o.cancel==r);~a&&Fn.splice(a,1),Kt-=~a?1:0},i={time:n,handler:e,cancel:r};return Fn.splice(Tl(n),0,i),Kt+=1,Ml(),i};var Tl=e=>~(~Fn.findIndex(t=>t.time>e)||~Fn.length);K.cancel=e=>{Ki.delete(e),ys.delete(e),vs.delete(e),ms.delete(e),ps.delete(e)};K.sync=e=>{Fo=!0,K.batchedUpdates(e),Fo=!1};K.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...i){t=i,K.onStart(n)}return r.handler=e,r.cancel=()=>{Ki.delete(n),t=null},r};var xs=typeof window<"u"?window.requestAnimationFrame:()=>{};K.use=e=>xs=e;K.now=typeof performance<"u"?()=>performance.now():Date.now;K.batchedUpdates=e=>e();K.catch=console.error;K.frameLoop="always";K.advance=()=>{K.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Sl()};var Xt=-1,Kt=0,Fo=!1;function Zr(e,t){Fo?(t.delete(e),e(0)):(t.add(e),Ml())}function Ml(){Xt<0&&(Xt=0,K.frameLoop!=="demand"&&xs(Cl))}function f1(){Xt=-1}function Cl(){~Xt&&(xs(Cl),K.batchedUpdates(Sl))}function Sl(){const e=Xt;Xt=K.now();const t=Tl(Xt);if(t&&(kl(Fn.splice(0,t),n=>n.handler()),Kt-=t),!Kt){f1();return}Ki.flush(),ms.flush(e?Math.min(64,Xt-e):16.667),ys.flush(),ps.flush(),vs.flush()}function Jr(){let e=new Set,t=e;return{add(n){Kt+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return Kt-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,Kt-=t.size,kl(t,r=>r(n)&&e.add(r)),Kt+=e.size,t=e)}}}function kl(e,t){e.forEach(n=>{try{t(n)}catch(r){K.catch(r)}})}var l1=Object.defineProperty,d1=(e,t)=>{for(var n in t)l1(e,n,{get:t[n],enumerable:!0})},mt={};d1(mt,{assign:()=>b1,colors:()=>Jt,createStringInterpolator:()=>$s,skipAnimation:()=>Al,to:()=>jl,willAdvance:()=>ws});function Uo(){}var h1=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),P={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function It(e,t){if(P.arr(e)){if(!P.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 X=(e,t)=>e.forEach(t);function kt(e,t,n){if(P.arr(e)){for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);return}for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var Ve=e=>P.und(e)?[]:P.arr(e)?e:[e];function Cr(e,t){if(e.size){const n=Array.from(e);e.clear(),X(n,t)}}var Tr=(e,...t)=>Cr(e,n=>n(...t)),_s=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),$s,jl,Jt=null,Al=!1,ws=Uo,b1=e=>{e.to&&(jl=e.to),e.now&&(K.now=e.now),e.colors!==void 0&&(Jt=e.colors),e.skipAnimation!=null&&(Al=e.skipAnimation),e.createStringInterpolator&&($s=e.createStringInterpolator),e.requestAnimationFrame&&K.use(e.requestAnimationFrame),e.batchedUpdates&&(K.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ws=e.willAdvance),e.frameLoop&&(K.frameLoop=e.frameLoop)},Sr=new Set,at=[],so=[],Mi=0,Qi={get idle(){return!Sr.size&&!at.length},start(e){Mi>e.priority?(Sr.add(e),K.onStart(g1)):(El(e),K(Lo))},advance:Lo,sort(e){if(Mi)K.onFrame(()=>Qi.sort(e));else{const t=at.indexOf(e);~t&&(at.splice(t,1),Ol(e))}},clear(){at=[],Sr.clear()}};function g1(){Sr.forEach(El),Sr.clear(),K(Lo)}function El(e){at.includes(e)||Ol(e)}function Ol(e){at.splice(m1(at,t=>t.priority>e.priority),0,e)}function Lo(e){const t=so;for(let n=0;n<at.length;n++){const r=at[n];Mi=r.priority,r.idle||(ws(r),r.advance(e),r.idle||t.push(r))}return Mi=0,so=at,so.length=0,at=t,at.length>0}function m1(e,t){const n=e.findIndex(t);return n<0?e.length:n}var p1=(e,t,n)=>Math.min(Math.max(n,e),t),y1={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},gt="[-+]?\\d*\\.?\\d+",Ci=gt+"%";function Zi(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var v1=new RegExp("rgb"+Zi(gt,gt,gt)),x1=new RegExp("rgba"+Zi(gt,gt,gt,gt)),_1=new RegExp("hsl"+Zi(gt,Ci,Ci)),$1=new RegExp("hsla"+Zi(gt,Ci,Ci,gt)),w1=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,T1=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,M1=/^#([0-9a-fA-F]{6})$/,C1=/^#([0-9a-fA-F]{8})$/;function S1(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=M1.exec(e))?parseInt(t[1]+"ff",16)>>>0:Jt&&Jt[e]!==void 0?Jt[e]:(t=v1.exec(e))?(On(t[1])<<24|On(t[2])<<16|On(t[3])<<8|255)>>>0:(t=x1.exec(e))?(On(t[1])<<24|On(t[2])<<16|On(t[3])<<8|Uu(t[4]))>>>0:(t=w1.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=C1.exec(e))?parseInt(t[1],16)>>>0:(t=T1.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=_1.exec(e))?(Du(Fu(t[1]),fi(t[2]),fi(t[3]))|255)>>>0:(t=$1.exec(e))?(Du(Fu(t[1]),fi(t[2]),fi(t[3]))|Uu(t[4]))>>>0:null}function uo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Du(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,a=uo(i,r,e+1/3),o=uo(i,r,e),s=uo(i,r,e-1/3);return Math.round(a*255)<<24|Math.round(o*255)<<16|Math.round(s*255)<<8}function On(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Fu(e){return(parseFloat(e)%360+360)%360/360}function Uu(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function fi(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Lu(e){let t=S1(e);if(t===null)return e;t=t||0;const n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,a=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${a})`}var Er=(e,t,n)=>{if(P.fun(e))return e;if(P.arr(e))return Er({range:e,output:t,extrapolate:n});if(P.str(e.output[0]))return $s(e);const r=e,i=r.output,a=r.range||[0,1],o=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",u=r.easing||(c=>c);return c=>{const l=j1(c,a);return k1(c,a[l],a[l+1],i[l],i[l+1],u,o,s,r.map)}};function k1(e,t,n,r,i,a,o,s,u){let c=u?u(e):e;if(c<t){if(o==="identity")return c;o==="clamp"&&(c=t)}if(c>n){if(s==="identity")return c;s==="clamp"&&(c=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?c=-c:n===1/0?c=c-t:c=(c-t)/(n-t),c=a(c),r===-1/0?c=-c:i===1/0?c=c+r:c=c*(i-r)+r,c)}function j1(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}var A1=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,i=t==="end"?Math.floor(r):Math.ceil(r);return p1(0,1,i/e)},Si=1.70158,li=Si*1.525,Wu=Si+1,Nu=2*Math.PI/3,Yu=2*Math.PI/4.5,di=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,E1={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=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?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=>Wu*e*e*e-Si*e*e,easeOutBack:e=>1+Wu*Math.pow(e-1,3)+Si*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((li+1)*2*e-li)/2:(Math.pow(2*e-2,2)*((li+1)*(e*2-2)+li)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*Nu),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*Nu)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Yu))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Yu)/2+1,easeInBounce:e=>1-di(1-e),easeOutBounce:di,easeInOutBounce:e=>e<.5?(1-di(1-2*e))/2:(1+di(2*e-1))/2,steps:A1},Or=Symbol.for("FluidValue.get"),Nn=Symbol.for("FluidValue.observers"),it=e=>!!(e&&e[Or]),Xe=e=>e&&e[Or]?e[Or]():e,Bu=e=>e[Nn]||null;function O1(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Pr(e,t){const n=e[Nn];n&&n.forEach(r=>{O1(r,t)})}var Pl=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");P1(this,e)}},P1=(e,t)=>Rl(e,Or,t);function Kn(e,t){if(e[Or]){let n=e[Nn];n||Rl(e,Nn,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Rr(e,t){const n=e[Nn];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Nn]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var Rl=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),_i=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,R1=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Hu=new RegExp(`(${_i.source})(%|[a-z]+)`,"i"),I1=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Ji=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Il=e=>{const[t,n]=D1(e);if(!t||_s())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(n);return i||e}else{if(n&&Ji.test(n))return Il(n);if(n)return n}return e},D1=e=>{const t=Ji.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},co,F1=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,Dl=e=>{co||(co=Jt?new RegExp(`(${Object.keys(Jt).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(a=>Xe(a).replace(Ji,Il).replace(R1,Lu).replace(co,Lu)),n=t.map(a=>a.match(_i).map(Number)),i=n[0].map((a,o)=>n.map(s=>{if(!(o in s))throw Error('The arity of each "output" value must be equal');return s[o]})).map(a=>Er({...e,output:a}));return a=>{var u;const o=!Hu.test(t[0])&&((u=t.find(c=>Hu.test(c)))==null?void 0:u.replace(_i,""));let s=0;return t[0].replace(_i,()=>`${i[s++](a)}${o||""}`).replace(I1,F1)}},Ts="react-spring: ",Fl=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${Ts}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},U1=Fl(console.warn);function L1(){U1(`${Ts}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var W1=Fl(console.warn);function N1(){W1(`${Ts}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function ea(e){return P.str(e)&&(e[0]=="#"||/\d/.test(e)||!_s()&&Ji.test(e)||e in(Jt||{}))}var dn=_s()?C.useEffect:C.useLayoutEffect,Y1=()=>{const e=C.useRef(!1);return dn(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function Ms(){const e=C.useState()[1],t=Y1();return()=>{t.current&&e(Math.random())}}function B1(e,t){const[n]=C.useState(()=>({inputs:t,result:e()})),r=C.useRef(),i=r.current;let a=i;return a?t&&a.inputs&&H1(t,a.inputs)||(a={inputs:t,result:e()}):a=n,C.useEffect(()=>{r.current=a,i==n&&(n.inputs=n.result=void 0)},[a]),a.result}function H1(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}var Cs=e=>C.useEffect(e,z1),z1=[];function Wo(e){const t=C.useRef();return C.useEffect(()=>{t.current=e}),t.current}var Ir=Symbol.for("Animated:node"),V1=e=>!!e&&e[Ir]===e,Mt=e=>e&&e[Ir],Ss=(e,t)=>h1(e,Ir,t),ta=e=>e&&e[Ir]&&e[Ir].getPayload(),Ul=class{constructor(){Ss(this,this)}getPayload(){return this.payload||[]}},ei=class extends Ul{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,P.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new ei(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return P.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,P.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Dr=class extends ei{constructor(e){super(0),this._string=null,this._toString=Er({output:[e,e]})}static create(e){return new Dr(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(P.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=Er({output:[this.getValue(),e]})),this._value=0,super.reset()}},ki={dependencies:null},na=class extends Ul{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return kt(this.source,(n,r)=>{V1(n)?t[r]=n.getValue(e):it(n)?t[r]=Xe(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&X(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return kt(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){ki.dependencies&&it(e)&&ki.dependencies.add(e);const t=ta(e);t&&X(t,n=>this.add(n))}},Ll=class extends na{constructor(e){super(e)}static create(e){return new Ll(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((n,r)=>n.setValue(e[r])).some(Boolean):(super.setValue(e.map(G1)),!0)}};function G1(e){return(ea(e)?Dr:ei).create(e)}function No(e){const t=Mt(e);return t?t.constructor:P.arr(e)?Ll:ea(e)?Dr:ei}var zu=(e,t)=>{const n=!P.fun(e)||e.prototype&&e.prototype.isReactComponent;return C.forwardRef((r,i)=>{const a=C.useRef(null),o=n&&C.useCallback(b=>{a.current=K1(i,b)},[i]),[s,u]=X1(r,t),c=Ms(),l=()=>{const b=a.current;if(n&&!b)return;(b?t.applyAnimatedValues(b,s.getValue(!0)):!1)===!1&&c()},f=new q1(l,u),d=C.useRef();dn(()=>(d.current=f,X(u,b=>Kn(b,f)),()=>{d.current&&(X(d.current.deps,b=>Rr(b,d.current)),K.cancel(d.current.update))})),C.useEffect(l,[]),Cs(()=>()=>{const b=d.current;X(b.deps,m=>Rr(m,b))});const h=t.getComponentProps(s.getValue());return Zt.createElement(e,{...h,ref:o})})},q1=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&K.write(this.update)}};function X1(e,t){const n=new Set;return ki.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new na(e),ki.dependencies=null,[e,n]}function K1(e,t){return e&&(P.fun(e)?e(t):e.current=t),t}var Vu=Symbol.for("AnimatedComponent"),Q1=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new na(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},a=o=>{const s=Gu(o)||"Anonymous";return P.str(o)?o=a[o]||(a[o]=zu(o,i)):o=o[Vu]||(o[Vu]=zu(o,i)),o.displayName=`Animated(${s})`,o};return kt(e,(o,s)=>{P.arr(e)&&(s=Gu(o)),a[s]=a(o)}),{animated:a}},Gu=e=>P.str(e)?e:e&&P.str(e.displayName)?e.displayName:P.fun(e)&&e.name||null;function Ke(e,...t){return P.fun(e)?e(...t):e}var kr=(e,t)=>e===!0||!!(t&&e&&(P.fun(e)?e(t):Ve(e).includes(t))),Wl=(e,t)=>P.obj(e)?t&&e[t]:e,Nl=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,Z1=e=>e,ra=(e,t=Z1)=>{let n=J1;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const a=t(e[i],i);P.und(a)||(r[i]=a)}return r},J1=["config","onProps","onStart","onChange","onPause","onResume","onRest"],eb={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 tb(e){const t={};let n=0;if(kt(e,(r,i)=>{eb[i]||(t[i]=r,n++)}),n)return t}function ks(e){const t=tb(e);if(t){const n={to:t};return kt(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function Fr(e){return e=Xe(e),P.arr(e)?e.map(Fr):ea(e)?mt.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Yl(e){for(const t in e)return!0;return!1}function Yo(e){return P.fun(e)||P.arr(e)&&P.obj(e[0])}function Bo(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function Bl(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var Hl={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Ho={...Hl.default,mass:1,damping:1,easing:E1.linear,clamp:!1},nb=class{constructor(){this.velocity=0,Object.assign(this,Ho)}};function rb(e,t,n){n&&(n={...n},qu(n,t),t={...n,...t}),qu(e,t),Object.assign(e,t);for(const o in Ho)e[o]==null&&(e[o]=Ho[o]);let{frequency:r,damping:i}=e;const{mass:a}=e;return P.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*a,e.friction=4*Math.PI*i*a/r),e}function qu(e,t){if(!P.und(t.decay))e.duration=void 0;else{const n=!P.und(t.tension)||!P.und(t.friction);(n||!P.und(t.frequency)||!P.und(t.damping)||!P.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}var Xu=[],ib=class{constructor(){this.changed=!1,this.values=Xu,this.toValues=null,this.fromValues=Xu,this.config=new nb,this.immediate=!1}};function zl(e,{key:t,props:n,defaultProps:r,state:i,actions:a}){return new Promise((o,s)=>{let u,c,l=kr(n.cancel??(r==null?void 0:r.cancel),t);if(l)h();else{P.und(n.pause)||(i.paused=kr(n.pause,t));let b=r==null?void 0:r.pause;b!==!0&&(b=i.paused||kr(b,t)),u=Ke(n.delay||0,t),b?(i.resumeQueue.add(d),a.pause()):(a.resume(),d())}function f(){i.resumeQueue.add(d),i.timeouts.delete(c),c.cancel(),u=c.time-K.now()}function d(){u>0&&!mt.skipAnimation?(i.delayed=!0,c=K.setTimeout(h,u),i.pauseQueue.add(f),i.timeouts.add(c)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(f),i.timeouts.delete(c),e<=(i.cancelId||0)&&(l=!0);try{a.start({...n,callId:e,cancel:l},o)}catch(b){s(b)}}})}var js=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?Un(e.get()):t.every(n=>n.noop)?Vl(e.get()):ht(e.get(),t.every(n=>n.finished)),Vl=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),ht=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Un=e=>({value:e,cancelled:!0,finished:!1});function Gl(e,t,n,r){const{callId:i,parentId:a,onRest:o}=t,{asyncTo:s,promise:u}=n;return!a&&e===s&&!t.reset?u:n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const c=ra(t,(g,y)=>y==="onRest"?void 0:g);let l,f;const d=new Promise((g,y)=>(l=g,f=y)),h=g=>{const y=i<=(n.cancelId||0)&&Un(r)||i!==n.asyncId&&ht(r,!1);if(y)throw g.result=y,f(g),g},b=(g,y)=>{const _=new Ku,v=new Qu;return(async()=>{if(mt.skipAnimation)throw Ur(n),v.result=ht(r,!1),f(v),v;h(_);const T=P.obj(g)?{...g}:{...y,to:g};T.parentId=i,kt(c,(M,A)=>{P.und(T[A])&&(T[A]=M)});const S=await r.start(T);return h(_),n.paused&&await new Promise(M=>{n.resumeQueue.add(M)}),S})()};let m;if(mt.skipAnimation)return Ur(n),ht(r,!1);try{let g;P.arr(e)?g=(async y=>{for(const _ of y)await b(_)})(e):g=Promise.resolve(e(b,r.stop.bind(r))),await Promise.all([g.then(l),d]),m=ht(r.get(),!0,!1)}catch(g){if(g instanceof Ku)m=g.result;else if(g instanceof Qu)m=g.result;else throw g}finally{i==n.asyncId&&(n.asyncId=a,n.asyncTo=a?s:void 0,n.promise=a?u:void 0)}return P.fun(o)&&K.batchedUpdates(()=>{o(m,r,r.item)}),m})()}function Ur(e,t){Cr(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Ku=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.")}},Qu=class extends Error{constructor(){super("SkipAnimationSignal")}},zo=e=>e instanceof As,ab=1,As=class extends Pl{constructor(){super(...arguments),this.id=ab++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Mt(this);return e&&e.getValue()}to(...e){return mt.to(this,e)}interpolate(...e){return L1(),mt.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Pr(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Qi.sort(this),Pr(this,{type:"priority",parent:this,priority:e})}},yn=Symbol.for("SpringPhase"),ql=1,Vo=2,Go=4,fo=e=>(e[yn]&ql)>0,qt=e=>(e[yn]&Vo)>0,lr=e=>(e[yn]&Go)>0,Zu=(e,t)=>t?e[yn]|=Vo|ql:e[yn]&=~Vo,Ju=(e,t)=>t?e[yn]|=Go:e[yn]&=~Go,ob=class extends As{constructor(e,t){if(super(),this.animation=new ib,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,!P.und(e)||!P.und(t)){const n=P.obj(e)?{...e}:{...t,from:e};P.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(qt(this)||this._state.asyncTo)||lr(this)}get goal(){return Xe(this.animation.to)}get velocity(){const e=Mt(this);return e instanceof ei?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return fo(this)}get isAnimating(){return qt(this)}get isPaused(){return lr(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:a}=r,o=ta(r.to);!o&&it(r.to)&&(i=Ve(Xe(r.to))),r.values.forEach((c,l)=>{if(c.done)return;const f=c.constructor==Dr?1:o?o[l].lastPosition:i[l];let d=r.immediate,h=f;if(!d){if(h=c.lastPosition,a.tension<=0){c.done=!0;return}let b=c.elapsedTime+=e;const m=r.fromValues[l],g=c.v0!=null?c.v0:c.v0=P.arr(a.velocity)?a.velocity[l]:a.velocity;let y;const _=a.precision||(m==f?.005:Math.min(1,Math.abs(f-m)*.001));if(P.und(a.duration))if(a.decay){const v=a.decay===!0?.998:a.decay,T=Math.exp(-(1-v)*b);h=m+g/(1-v)*(1-T),d=Math.abs(c.lastPosition-h)<=_,y=g*T}else{y=c.lastVelocity==null?g:c.lastVelocity;const v=a.restVelocity||_/10,T=a.clamp?0:a.bounce,S=!P.und(T),M=m==f?c.v0>0:m<f;let A,R=!1;const D=1,W=Math.ceil(e/D);for(let $=0;$<W&&(A=Math.abs(y)>v,!(!A&&(d=Math.abs(f-h)<=_,d)));++$){S&&(R=h==f||h>f==M,R&&(y=-y*T,h=f));const N=-a.tension*1e-6*(h-f),E=-a.friction*.001*y,k=(N+E)/a.mass;y=y+k*D,h=h+y*D}}else{let v=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,c.durationProgress>0&&(c.elapsedTime=a.duration*c.durationProgress,b=c.elapsedTime+=e)),v=(a.progress||0)+b/this._memoizedDuration,v=v>1?1:v<0?0:v,c.durationProgress=v),h=m+a.easing(v)*(f-m),y=(h-c.lastPosition)/e,d=v==1}c.lastVelocity=y,Number.isNaN(h)&&(console.warn("Got NaN while animating:",this),d=!0)}o&&!o[l].done&&(d=!1),d?c.done=!0:t=!1,c.setValue(h,a.round)&&(n=!0)});const s=Mt(this),u=s.getValue();if(t){const c=Xe(r.to);(u!==c||n)&&!a.decay?(s.setValue(c),this._onChange(c)):n&&a.decay&&this._onChange(u),this._stop()}else n&&this._onChange(u)}set(e){return K.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(qt(this)){const{to:e,config:t}=this.animation;K.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 P.und(e)?(n=this.queue||[],this.queue=[]):n=[P.obj(e)?e:{...t,to:e}],Promise.all(n.map(r=>this._update(r))).then(r=>js(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Ur(this._state,e&&this._lastCallId),K.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=P.obj(n)?n[t]:n,(n==null||Yo(n))&&(n=void 0),r=P.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return fo(this)||(e.reverse&&([n,r]=[r,n]),r=Xe(r),P.und(r)?Mt(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,ra(e,(o,s)=>/^on/.test(s)?Wl(o,n):o)),tc(this,e,"onProps"),hr(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 a=this._state;return zl(++this._lastCallId,{key:n,props:e,defaultProps:r,state:a,actions:{pause:()=>{lr(this)||(Ju(this,!0),Tr(a.pauseQueue),hr(this,"onPause",ht(this,dr(this,this.animation.to)),this))},resume:()=>{lr(this)&&(Ju(this,!1),qt(this)&&this._resume(),Tr(a.resumeQueue),hr(this,"onResume",ht(this,dr(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(o=>{if(e.loop&&o.finished&&!(t&&o.noop)){const s=Xl(e);if(s)return this._update(s,!0)}return o})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Un(this));const r=!P.und(e.to),i=!P.und(e.from);if(r||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return n(Un(this));const{key:a,defaultProps:o,animation:s}=this,{to:u,from:c}=s;let{to:l=u,from:f=c}=e;i&&!r&&(!t.default||P.und(l))&&(l=f),t.reverse&&([l,f]=[f,l]);const d=!It(f,c);d&&(s.from=f),f=Xe(f);const h=!It(l,u);h&&this._focus(l);const b=Yo(t.to),{config:m}=s,{decay:g,velocity:y}=m;(r||i)&&(m.velocity=0),t.config&&!b&&rb(m,Ke(t.config,a),t.config!==o.config?Ke(o.config,a):void 0);let _=Mt(this);if(!_||P.und(l))return n(ht(this,!0));const v=P.und(t.reset)?i&&!t.default:!P.und(f)&&kr(t.reset,a),T=v?f:this.get(),S=Fr(l),M=P.num(S)||P.arr(S)||ea(S),A=!b&&(!M||kr(o.immediate||t.immediate,a));if(h){const $=No(l);if($!==_.constructor)if(A)_=this._set(S);else throw Error(`Cannot animate between ${_.constructor.name} and ${$.name}, as the "to" prop suggests`)}const R=_.constructor;let D=it(l),W=!1;if(!D){const $=v||!fo(this)&&d;(h||$)&&(W=It(Fr(T),S),D=!W),(!It(s.immediate,A)&&!A||!It(m.decay,g)||!It(m.velocity,y))&&(D=!0)}if(W&&qt(this)&&(s.changed&&!v?D=!0:D||this._stop(u)),!b&&((D||it(u))&&(s.values=_.getPayload(),s.toValues=it(l)?null:R==Dr?[1]:Ve(S)),s.immediate!=A&&(s.immediate=A,!A&&!v&&this._set(u)),D)){const{onRest:$}=s;X(ub,E=>tc(this,t,E));const N=ht(this,dr(this,u));Tr(this._pendingCalls,N),this._pendingCalls.add(n),s.changed&&K.batchedUpdates(()=>{var E;s.changed=!v,$==null||$(N,this),v?Ke(o.onRest,N):(E=s.onStart)==null||E.call(s,N,this)})}v&&this._set(T),b?n(Gl(t.to,t,this._state,this)):D?this._start():qt(this)&&!h?this._pendingCalls.add(n):n(Vl(T))}_focus(e){const t=this.animation;e!==t.to&&(Bu(this)&&this._detach(),t.to=e,Bu(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;it(t)&&(Kn(t,this),zo(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;it(e)&&Rr(e,this)}_set(e,t=!0){const n=Xe(e);if(!P.und(n)){const r=Mt(this);if(!r||!It(n,r.getValue())){const i=No(n);!r||r.constructor!=i?Ss(this,i.create(n)):r.setValue(n),r&&K.batchedUpdates(()=>{this._onChange(n,t)})}}return Mt(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,hr(this,"onStart",ht(this,dr(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Ke(this.animation.onChange,e,this)),Ke(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Mt(this).reset(Xe(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),qt(this)||(Zu(this,!0),lr(this)||this._resume())}_resume(){mt.skipAnimation?this.finish():Qi.start(this)}_stop(e,t){if(qt(this)){Zu(this,!1);const n=this.animation;X(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Pr(this,{type:"idle",parent:this});const r=t?Un(this.get()):ht(this.get(),dr(this,e??n.to));Tr(this._pendingCalls,r),n.changed&&(n.changed=!1,hr(this,"onRest",r,this))}}};function dr(e,t){const n=Fr(t),r=Fr(e.get());return It(r,n)}function Xl(e,t=e.loop,n=e.to){const r=Ke(t);if(r){const i=r!==!0&&ks(r),a=(i||e).reverse,o=!i||i.reset;return Lr({...e,loop:t,default:!1,pause:void 0,to:!a||Yo(n)?n:void 0,from:o?e.from:void 0,reset:o,...i})}}function Lr(e){const{to:t,from:n}=e=ks(e),r=new Set;return P.obj(t)&&ec(t,r),P.obj(n)&&ec(n,r),e.keys=r.size?Array.from(r):null,e}function sb(e){const t=Lr(e);return P.und(t.default)&&(t.default=ra(t)),t}function ec(e,t){kt(e,(n,r)=>n!=null&&t.add(r))}var ub=["onStart","onRest","onChange","onPause","onResume"];function tc(e,t,n){e.animation[n]=t[n]!==Nl(t,n)?Wl(t[n],e.key):void 0}function hr(e,t,...n){var r,i,a,o;(i=(r=e.animation)[t])==null||i.call(r,...n),(o=(a=e.defaultProps)[t])==null||o.call(a,...n)}var cb=["onStart","onChange","onRest"],fb=1,Kl=class{constructor(e,t){this.id=fb++,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];P.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Lr(e)),this}start(e){let{queue:t}=this;return e?t=Ve(e).map(Lr):this.queue=[],this._flush?this._flush(this,t):(td(this,t),qo(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;X(Ve(t),r=>n[r].stop(!!e))}else Ur(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(P.und(e))this.start({pause:!0});else{const t=this.springs;X(Ve(e),n=>t[n].pause())}return this}resume(e){if(P.und(e))this.start({pause:!1});else{const t=this.springs;X(Ve(e),n=>t[n].resume())}return this}each(e){kt(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,Cr(e,([s,u])=>{u.value=this.get(),s(u,this,this._item)}));const a=!r&&this._started,o=i||a&&n.size?this.get():null;i&&t.size&&Cr(t,([s,u])=>{u.value=o,s(u,this,this._item)}),a&&(this._started=!1,Cr(n,([s,u])=>{u.value=o,s(u,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;K.onFrame(this._onFrame)}};function qo(e,t){return Promise.all(t.map(n=>Ql(e,n))).then(n=>js(e,n))}async function Ql(e,t,n){const{keys:r,to:i,from:a,loop:o,onRest:s,onResolve:u}=t,c=P.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),a===!1&&(t.from=null);const l=P.arr(i)||P.fun(i)?i:void 0;l?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):X(cb,m=>{const g=t[m];if(P.fun(g)){const y=e._events[m];t[m]=({finished:_,cancelled:v})=>{const T=y.get(g);T?(_||(T.finished=!1),v&&(T.cancelled=!0)):y.set(g,{value:null,finished:_||!1,cancelled:v||!1})},c&&(c[m]=t[m])}});const f=e._state;t.pause===!f.paused?(f.paused=t.pause,Tr(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map(m=>e.springs[m].start(t)),h=t.cancel===!0||Nl(t,"cancel")===!0;(l||h&&f.asyncId)&&d.push(zl(++e._lastAsyncId,{props:t,state:f,actions:{pause:Uo,resume:Uo,start(m,g){h?(Ur(f,e._lastAsyncId),g(Un(e))):(m.onRest=s,g(Gl(l,m,f,e)))}}})),f.paused&&await new Promise(m=>{f.resumeQueue.add(m)});const b=js(e,await Promise.all(d));if(o&&b.finished&&!(n&&b.noop)){const m=Xl(t,o,i);if(m)return td(e,[m]),Ql(e,m,!0)}return u&&K.batchedUpdates(()=>u(b,e,e.item)),b}function Xo(e,t){const n={...e.springs};return t&&X(Ve(t),r=>{P.und(r.keys)&&(r=Lr(r)),P.obj(r.to)||(r={...r,to:void 0}),ed(n,r,i=>Jl(i))}),Zl(e,n),n}function Zl(e,t){kt(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,Kn(n,e))})}function Jl(e,t){const n=new ob;return n.key=e,t&&Kn(n,t),n}function ed(e,t,n){t.keys&&X(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function td(e,t){X(t,n=>{ed(e.springs,n,r=>Jl(r,e))})}var ti=({children:e,...t})=>{const n=C.useContext(ji),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=B1(()=>({pause:r,immediate:i}),[r,i]);const{Provider:a}=ji;return Zt.createElement(a,{value:t},e)},ji=lb(ti,{});ti.Provider=ji.Provider;ti.Consumer=ji.Consumer;function lb(e,t){return Object.assign(e,Zt.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var nd=()=>{const e=[],t=function(r){N1();const i=[];return X(e,(a,o)=>{if(P.und(r))i.push(a.start());else{const s=n(r,a,o);s&&i.push(a.start(s))}}),i};t.current=e,t.add=function(r){e.includes(r)||e.push(r)},t.delete=function(r){const i=e.indexOf(r);~i&&e.splice(i,1)},t.pause=function(){return X(e,r=>r.pause(...arguments)),this},t.resume=function(){return X(e,r=>r.resume(...arguments)),this},t.set=function(r){X(e,(i,a)=>{const o=P.fun(r)?r(a,i):r;o&&i.set(o)})},t.start=function(r){const i=[];return X(e,(a,o)=>{if(P.und(r))i.push(a.start());else{const s=this._getProps(r,a,o);s&&i.push(a.start(s))}}),i},t.stop=function(){return X(e,r=>r.stop(...arguments)),this},t.update=function(r){return X(e,(i,a)=>i.update(this._getProps(r,i,a))),this};const n=function(r,i,a){return P.fun(r)?r(a,i):r};return t._getProps=n,t};function db(e,t,n){const r=P.fun(t)&&t;r&&!n&&(n=[]);const i=C.useMemo(()=>r||arguments.length==3?nd():void 0,[]),a=C.useRef(0),o=Ms(),s=C.useMemo(()=>({ctrls:[],queue:[],flush(y,_){const v=Xo(y,_);return a.current>0&&!s.queue.length&&!Object.keys(v).some(S=>!y.springs[S])?qo(y,_):new Promise(S=>{Zl(y,v),s.queue.push(()=>{S(qo(y,_))}),o()})}}),[]),u=C.useRef([...s.ctrls]),c=[],l=Wo(e)||0;C.useMemo(()=>{X(u.current.slice(e,l),y=>{Bo(y,i),y.stop(!0)}),u.current.length=e,f(l,e)},[e]),C.useMemo(()=>{f(0,Math.min(l,e))},n);function f(y,_){for(let v=y;v<_;v++){const T=u.current[v]||(u.current[v]=new Kl(null,s.flush)),S=r?r(v,T):t[v];S&&(c[v]=sb(S))}}const d=u.current.map((y,_)=>Xo(y,c[_])),h=C.useContext(ti),b=Wo(h),m=h!==b&&Yl(h);dn(()=>{a.current++,s.ctrls=u.current;const{queue:y}=s;y.length&&(s.queue=[],X(y,_=>_())),X(u.current,(_,v)=>{i==null||i.add(_),m&&_.start({default:h});const T=c[v];T&&(Bl(_,T.ref),_.ref?_.queue.push(T):_.start(T))})}),Cs(()=>()=>{X(s.ctrls,y=>y.stop(!0))});const g=d.map(y=>({...y}));return i?[g,i]:g}function Yt(e,t){const n=P.fun(e),[[r],i]=db(1,n?e:[e],n?t||[]:t);return n||arguments.length==2?[r,i]:r}function ia(e,t,n){const r=P.fun(t)&&t,{reset:i,sort:a,trail:o=0,expires:s=!0,exitBeforeEnter:u=!1,onDestroyed:c,ref:l,config:f}=r?r():t,d=C.useMemo(()=>r||arguments.length==3?nd():void 0,[]),h=Ve(e),b=[],m=C.useRef(null),g=i?null:m.current;dn(()=>{m.current=b}),Cs(()=>(X(b,k=>{d==null||d.add(k.ctrl),k.ctrl.ref=d}),()=>{X(m.current,k=>{k.expired&&clearTimeout(k.expirationId),Bo(k.ctrl,d),k.ctrl.stop(!0)})}));const y=bb(h,r?r():t,g),_=i&&m.current||[];dn(()=>X(_,({ctrl:k,item:j,key:F})=>{Bo(k,d),Ke(c,j,F)}));const v=[];if(g&&X(g,(k,j)=>{k.expired?(clearTimeout(k.expirationId),_.push(k)):(j=v[j]=y.indexOf(k.key),~j&&(b[j]=k))}),X(h,(k,j)=>{b[j]||(b[j]={key:y[j],item:k,phase:"mount",ctrl:new Kl},b[j].ctrl.item=k)}),v.length){let k=-1;const{leave:j}=r?r():t;X(v,(F,U)=>{const Y=g[U];~F?(k=b.indexOf(Y),b[k]={...Y,item:h[F]}):j&&b.splice(++k,0,Y)})}P.fun(a)&&b.sort((k,j)=>a(k.item,j.item));let T=-o;const S=Ms(),M=ra(t),A=new Map,R=C.useRef(new Map),D=C.useRef(!1);X(b,(k,j)=>{const F=k.key,U=k.phase,Y=r?r():t;let L,H;const ae=Ke(Y.delay||0,F);if(U=="mount")L=Y.enter,H="enter";else{const Z=y.indexOf(F)<0;if(U!="leave")if(Z)L=Y.leave,H="leave";else if(L=Y.update)H="update";else return;else if(!Z)L=Y.enter,H="enter";else return}if(L=Ke(L,k.item,j),L=P.obj(L)?ks(L):{to:L},!L.config){const Z=f||M.config;L.config=Ke(Z,k.item,j,H)}T+=o;const ne={...M,delay:ae+T,ref:l,immediate:Y.immediate,reset:!1,...L};if(H=="enter"&&P.und(ne.from)){const Z=r?r():t,oe=P.und(Z.initial)||g?Z.from:Z.initial;ne.from=Ke(oe,k.item,j)}const{onResolve:ue}=ne;ne.onResolve=Z=>{Ke(ue,Z);const oe=m.current,J=oe.find(me=>me.key===F);if(J&&!(Z.cancelled&&J.phase!="update")&&J.ctrl.idle){const me=oe.every(w=>w.ctrl.idle);if(J.phase=="leave"){const w=Ke(s,J.item);if(w!==!1){const I=w===!0?0:w;if(J.expired=!0,!me&&I>0){I<=2147483647&&(J.expirationId=setTimeout(S,I));return}}}me&&oe.some(w=>w.expired)&&(R.current.delete(J),u&&(D.current=!0),S())}};const G=Xo(k.ctrl,ne);H==="leave"&&u?R.current.set(k,{phase:H,springs:G,payload:ne}):A.set(k,{phase:H,springs:G,payload:ne})});const W=C.useContext(ti),$=Wo(W),N=W!==$&&Yl(W);dn(()=>{N&&X(b,k=>{k.ctrl.start({default:W})})},[W]),X(A,(k,j)=>{if(R.current.size){const F=b.findIndex(U=>U.key===j.key);b.splice(F,1)}}),dn(()=>{X(R.current.size?R.current:A,({phase:k,payload:j},F)=>{const{ctrl:U}=F;F.phase=k,d==null||d.add(U),N&&k=="enter"&&U.start({default:W}),j&&(Bl(U,j.ref),(U.ref||d)&&!D.current?U.update(j):(U.start(j),D.current&&(D.current=!1)))})},i?void 0:n);const E=k=>Zt.createElement(Zt.Fragment,null,b.map((j,F)=>{const{springs:U}=A.get(j)||j.ctrl,Y=k({...U},j.item,j,F);return Y&&Y.type?Zt.createElement(Y.type,{...Y.props,key:P.str(j.key)||P.num(j.key)?j.key:j.ctrl.id,ref:Y.ref}):Y}));return d?[E,d]:E}var hb=1;function bb(e,{key:t,keys:n=t},r){if(n===null){const i=new Set;return e.map(a=>{const o=r&&r.find(s=>s.item===a&&s.phase!=="leave"&&!i.has(s));return o?(i.add(o),o.key):hb++})}return P.und(n)?e:P.fun(n)?e.map(n):Ve(n)}var rd=class extends As{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Er(...t);const n=this._get(),r=No(n);Ss(this,r.create(n))}advance(e){const t=this._get(),n=this.get();It(t,n)||(Mt(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&nc(this._active)&&lo(this)}_get(){const e=P.arr(this.source)?this.source.map(Xe):Ve(Xe(this.source));return this.calc(...e)}_start(){this.idle&&!nc(this._active)&&(this.idle=!1,X(ta(this),e=>{e.done=!1}),mt.skipAnimation?(K.batchedUpdates(()=>this.advance()),lo(this)):Qi.start(this))}_attach(){let e=1;X(Ve(this.source),t=>{it(t)&&Kn(t,this),zo(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){X(Ve(this.source),e=>{it(e)&&Rr(e,this)}),this._active.clear(),lo(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=Ve(this.source).reduce((t,n)=>Math.max(t,(zo(n)?n.priority:0)+1),0))}};function gb(e){return e.idle!==!1}function nc(e){return!e.size||Array.from(e).every(gb)}function lo(e){e.idle||(e.idle=!0,X(ta(e),t=>{t.done=!0}),Pr(e,{type:"idle",parent:e}))}var Ko=(e,...t)=>new rd(e,t);mt.assign({createStringInterpolator:Dl,to:(e,t)=>new rd(e,t)});var id=/^--/;function mb(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!id.test(e)&&!(jr.hasOwnProperty(e)&&jr[e])?t+"px":(""+t).trim()}var rc={};function pb(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{className:r,style:i,children:a,scrollTop:o,scrollLeft:s,viewBox:u,...c}=t,l=Object.values(c),f=Object.keys(c).map(d=>n||e.hasAttribute(d)?d:rc[d]||(rc[d]=d.replace(/([A-Z])/g,h=>"-"+h.toLowerCase())));a!==void 0&&(e.textContent=a);for(const d in i)if(i.hasOwnProperty(d)){const h=mb(d,i[d]);id.test(d)?e.style.setProperty(d,h):e.style[d]=h}f.forEach((d,h)=>{e.setAttribute(d,l[h])}),r!==void 0&&(e.className=r),o!==void 0&&(e.scrollTop=o),s!==void 0&&(e.scrollLeft=s),u!==void 0&&e.setAttribute("viewBox",u)}var jr={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},yb=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),vb=["Webkit","Ms","Moz","O"];jr=Object.keys(jr).reduce((e,t)=>(vb.forEach(n=>e[yb(n,t)]=e[t]),e),jr);var xb=/^(matrix|translate|scale|rotate|skew)/,_b=/^(translate)/,$b=/^(rotate|skew)/,ho=(e,t)=>P.num(e)&&e!==0?e+t:e,$i=(e,t)=>P.arr(e)?e.every(n=>$i(n,t)):P.num(e)?e===t:parseFloat(e)===t,wb=class extends na{constructor({x:e,y:t,z:n,...r}){const i=[],a=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),a.push(o=>[`translate3d(${o.map(s=>ho(s,"px")).join(",")})`,$i(o,0)])),kt(r,(o,s)=>{if(s==="transform")i.push([o||""]),a.push(u=>[u,u===""]);else if(xb.test(s)){if(delete r[s],P.und(o))return;const u=_b.test(s)?"px":$b.test(s)?"deg":"";i.push(Ve(o)),a.push(s==="rotate3d"?([c,l,f,d])=>[`rotate3d(${c},${l},${f},${ho(d,u)})`,$i(d,0)]:c=>[`${s}(${c.map(l=>ho(l,u)).join(",")})`,$i(c,s.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new Tb(i,a)),super(r)}},Tb=class extends Pl{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 X(this.inputs,(n,r)=>{const i=Xe(n[0]),[a,o]=this.transforms[r](P.arr(i)?i:n.map(Xe));e+=" "+a,t=t&&o}),t?"none":e}observerAdded(e){e==1&&X(this.inputs,t=>X(t,n=>it(n)&&Kn(n,this)))}observerRemoved(e){e==0&&X(this.inputs,t=>X(t,n=>it(n)&&Rr(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),Pr(this,e)}},Mb=["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"];mt.assign({batchedUpdates:u1.unstable_batchedUpdates,createStringInterpolator:Dl,colors:y1});var Cb=Q1(Mb,{applyAnimatedValues:pb,createAnimatedStyle:e=>new wb(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),Se=Cb.animated;function Sb(){this.__data__=[],this.size=0}var kb=Sb;function jb(e,t){return e===t||e!==e&&t!==t}var ni=jb,Ab=ni;function Eb(e,t){for(var n=e.length;n--;)if(Ab(e[n][0],t))return n;return-1}var aa=Eb,Ob=aa,Pb=Array.prototype,Rb=Pb.splice;function Ib(e){var t=this.__data__,n=Ob(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Rb.call(t,n,1),--this.size,!0}var Db=Ib,Fb=aa;function Ub(e){var t=this.__data__,n=Fb(t,e);return n<0?void 0:t[n][1]}var Lb=Ub,Wb=aa;function Nb(e){return Wb(this.__data__,e)>-1}var Yb=Nb,Bb=aa;function Hb(e,t){var n=this.__data__,r=Bb(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var zb=Hb,Vb=kb,Gb=Db,qb=Lb,Xb=Yb,Kb=zb;function Qn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Qn.prototype.clear=Vb;Qn.prototype.delete=Gb;Qn.prototype.get=qb;Qn.prototype.has=Xb;Qn.prototype.set=Kb;var oa=Qn,Qb=oa;function Zb(){this.__data__=new Qb,this.size=0}var Jb=Zb;function eg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var tg=eg;function ng(e){return this.__data__.get(e)}var rg=ng;function ig(e){return this.__data__.has(e)}var ag=ig,og=typeof x.commonjsGlobal=="object"&&x.commonjsGlobal&&x.commonjsGlobal.Object===Object&&x.commonjsGlobal,ad=og,sg=ad,ug=typeof self=="object"&&self&&self.Object===Object&&self,cg=sg||ug||Function("return this")(),Et=cg,fg=Et,lg=fg.Symbol,Zn=lg,ic=Zn,od=Object.prototype,dg=od.hasOwnProperty,hg=od.toString,br=ic?ic.toStringTag:void 0;function bg(e){var t=dg.call(e,br),n=e[br];try{e[br]=void 0;var r=!0}catch{}var i=hg.call(e);return r&&(t?e[br]=n:delete e[br]),i}var gg=bg,mg=Object.prototype,pg=mg.toString;function yg(e){return pg.call(e)}var vg=yg,ac=Zn,xg=gg,_g=vg,$g="[object Null]",wg="[object Undefined]",oc=ac?ac.toStringTag:void 0;function Tg(e){return e==null?e===void 0?wg:$g:oc&&oc in Object(e)?xg(e):_g(e)}var tn=Tg;function Mg(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ot=Mg,Cg=tn,Sg=Ot,kg="[object AsyncFunction]",jg="[object Function]",Ag="[object GeneratorFunction]",Eg="[object Proxy]";function Og(e){if(!Sg(e))return!1;var t=Cg(e);return t==jg||t==Ag||t==kg||t==Eg}var sa=Og;const sd=x.getDefaultExportFromCjs(sa);var Pg=Et,Rg=Pg["__core-js_shared__"],Ig=Rg,bo=Ig,sc=function(){var e=/[^.]+$/.exec(bo&&bo.keys&&bo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Dg(e){return!!sc&&sc in e}var Fg=Dg,Ug=Function.prototype,Lg=Ug.toString;function Wg(e){if(e!=null){try{return Lg.call(e)}catch{}try{return e+""}catch{}}return""}var ud=Wg,Ng=sa,Yg=Fg,Bg=Ot,Hg=ud,zg=/[\\^$.*+?()[\]{}|]/g,Vg=/^\[object .+?Constructor\]$/,Gg=Function.prototype,qg=Object.prototype,Xg=Gg.toString,Kg=qg.hasOwnProperty,Qg=RegExp("^"+Xg.call(Kg).replace(zg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Zg(e){if(!Bg(e)||Yg(e))return!1;var t=Ng(e)?Qg:Vg;return t.test(Hg(e))}var Jg=Zg;function em(e,t){return e==null?void 0:e[t]}var tm=em,nm=Jg,rm=tm;function im(e,t){var n=rm(e,t);return nm(n)?n:void 0}var _n=im,am=_n,om=Et,sm=am(om,"Map"),Es=sm,um=_n,cm=um(Object,"create"),ua=cm,uc=ua;function fm(){this.__data__=uc?uc(null):{},this.size=0}var lm=fm;function dm(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var hm=dm,bm=ua,gm="__lodash_hash_undefined__",mm=Object.prototype,pm=mm.hasOwnProperty;function ym(e){var t=this.__data__;if(bm){var n=t[e];return n===gm?void 0:n}return pm.call(t,e)?t[e]:void 0}var vm=ym,xm=ua,_m=Object.prototype,$m=_m.hasOwnProperty;function wm(e){var t=this.__data__;return xm?t[e]!==void 0:$m.call(t,e)}var Tm=wm,Mm=ua,Cm="__lodash_hash_undefined__";function Sm(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Mm&&t===void 0?Cm:t,this}var km=Sm,jm=lm,Am=hm,Em=vm,Om=Tm,Pm=km;function Jn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Jn.prototype.clear=jm;Jn.prototype.delete=Am;Jn.prototype.get=Em;Jn.prototype.has=Om;Jn.prototype.set=Pm;var Rm=Jn,cc=Rm,Im=oa,Dm=Es;function Fm(){this.size=0,this.__data__={hash:new cc,map:new(Dm||Im),string:new cc}}var Um=Fm;function Lm(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Wm=Lm,Nm=Wm;function Ym(e,t){var n=e.__data__;return Nm(t)?n[typeof t=="string"?"string":"hash"]:n.map}var ca=Ym,Bm=ca;function Hm(e){var t=Bm(this,e).delete(e);return this.size-=t?1:0,t}var zm=Hm,Vm=ca;function Gm(e){return Vm(this,e).get(e)}var qm=Gm,Xm=ca;function Km(e){return Xm(this,e).has(e)}var Qm=Km,Zm=ca;function Jm(e,t){var n=Zm(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var ep=Jm,tp=Um,np=zm,rp=qm,ip=Qm,ap=ep;function er(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}er.prototype.clear=tp;er.prototype.delete=np;er.prototype.get=rp;er.prototype.has=ip;er.prototype.set=ap;var Os=er,op=oa,sp=Es,up=Os,cp=200;function fp(e,t){var n=this.__data__;if(n instanceof op){var r=n.__data__;if(!sp||r.length<cp-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new up(r)}return n.set(e,t),this.size=n.size,this}var lp=fp,dp=oa,hp=Jb,bp=tg,gp=rg,mp=ag,pp=lp;function tr(e){var t=this.__data__=new dp(e);this.size=t.size}tr.prototype.clear=hp;tr.prototype.delete=bp;tr.prototype.get=gp;tr.prototype.has=mp;tr.prototype.set=pp;var fa=tr,yp=_n,vp=function(){try{var e=yp(Object,"defineProperty");return e({},"",{}),e}catch{}}(),cd=vp,fc=cd;function xp(e,t,n){t=="__proto__"&&fc?fc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Ps=xp,_p=Ps,$p=ni;function wp(e,t,n){(n!==void 0&&!$p(e[t],n)||n===void 0&&!(t in e))&&_p(e,t,n)}var fd=wp;function Tp(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var u=o[e?s:++i];if(n(a[u],u,a)===!1)break}return t}}var Mp=Tp,Cp=Mp,Sp=Cp(),ld=Sp,Ai={exports:{}};Ai.exports;(function(e,t){var n=Et,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,o=a?n.Buffer:void 0,s=o?o.allocUnsafe:void 0;function u(c,l){if(l)return c.slice();var f=c.length,d=s?s(f):new c.constructor(f);return c.copy(d),d}e.exports=u})(Ai,Ai.exports);var dd=Ai.exports,kp=Et,jp=kp.Uint8Array,hd=jp,lc=hd;function Ap(e){var t=new e.constructor(e.byteLength);return new lc(t).set(new lc(e)),t}var Rs=Ap,Ep=Rs;function Op(e,t){var n=t?Ep(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var bd=Op;function Pp(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var gd=Pp,Rp=Ot,dc=Object.create,Ip=function(){function e(){}return function(t){if(!Rp(t))return{};if(dc)return dc(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Dp=Ip;function Fp(e,t){return function(n){return e(t(n))}}var md=Fp,Up=md,Lp=Up(Object.getPrototypeOf,Object),Is=Lp,Wp=Object.prototype;function Np(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Wp;return e===n}var Ds=Np,Yp=Dp,Bp=Is,Hp=Ds;function zp(e){return typeof e.constructor=="function"&&!Hp(e)?Yp(Bp(e)):{}}var pd=zp;function Vp(e){return e!=null&&typeof e=="object"}var yt=Vp,Gp=tn,qp=yt,Xp="[object Arguments]";function Kp(e){return qp(e)&&Gp(e)==Xp}var Qp=Kp,hc=Qp,Zp=yt,yd=Object.prototype,Jp=yd.hasOwnProperty,ey=yd.propertyIsEnumerable,ty=hc(function(){return arguments}())?hc:function(e){return Zp(e)&&Jp.call(e,"callee")&&!ey.call(e,"callee")},la=ty,ny=Array.isArray,Qe=ny,ry=9007199254740991;function iy(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ry}var Fs=iy,ay=sa,oy=Fs;function sy(e){return e!=null&&oy(e.length)&&!ay(e)}var nr=sy,uy=nr,cy=yt;function fy(e){return cy(e)&&uy(e)}var vd=fy,Ei={exports:{}};function ly(){return!1}var dy=ly;Ei.exports;(function(e,t){var n=Et,r=dy,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,s=o?n.Buffer:void 0,u=s?s.isBuffer:void 0,c=u||r;e.exports=c})(Ei,Ei.exports);var da=Ei.exports,hy=tn,by=Is,gy=yt,my="[object Object]",py=Function.prototype,yy=Object.prototype,xd=py.toString,vy=yy.hasOwnProperty,xy=xd.call(Object);function _y(e){if(!gy(e)||hy(e)!=my)return!1;var t=by(e);if(t===null)return!0;var n=vy.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&xd.call(n)==xy}var Us=_y;const Ls=x.getDefaultExportFromCjs(Us);var $y=tn,wy=Fs,Ty=yt,My="[object Arguments]",Cy="[object Array]",Sy="[object Boolean]",ky="[object Date]",jy="[object Error]",Ay="[object Function]",Ey="[object Map]",Oy="[object Number]",Py="[object Object]",Ry="[object RegExp]",Iy="[object Set]",Dy="[object String]",Fy="[object WeakMap]",Uy="[object ArrayBuffer]",Ly="[object DataView]",Wy="[object Float32Array]",Ny="[object Float64Array]",Yy="[object Int8Array]",By="[object Int16Array]",Hy="[object Int32Array]",zy="[object Uint8Array]",Vy="[object Uint8ClampedArray]",Gy="[object Uint16Array]",qy="[object Uint32Array]",we={};we[Wy]=we[Ny]=we[Yy]=we[By]=we[Hy]=we[zy]=we[Vy]=we[Gy]=we[qy]=!0;we[My]=we[Cy]=we[Uy]=we[Sy]=we[Ly]=we[ky]=we[jy]=we[Ay]=we[Ey]=we[Oy]=we[Py]=we[Ry]=we[Iy]=we[Dy]=we[Fy]=!1;function Xy(e){return Ty(e)&&wy(e.length)&&!!we[$y(e)]}var Ky=Xy;function Qy(e){return function(t){return e(t)}}var ri=Qy,Oi={exports:{}};Oi.exports;(function(e,t){var n=ad,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,o=a&&n.process,s=function(){try{var u=i&&i.require&&i.require("util").types;return u||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s})(Oi,Oi.exports);var ha=Oi.exports,Zy=Ky,Jy=ri,bc=ha,gc=bc&&bc.isTypedArray,ev=gc?Jy(gc):Zy,Ws=ev;function tv(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var _d=tv,nv=Ps,rv=ni,iv=Object.prototype,av=iv.hasOwnProperty;function ov(e,t,n){var r=e[t];(!(av.call(e,t)&&rv(r,n))||n===void 0&&!(t in e))&&nv(e,t,n)}var Ns=ov,sv=Ns,uv=Ps;function cv(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],u=r?r(n[s],e[s],s,n,e):void 0;u===void 0&&(u=e[s]),i?uv(n,s,u):sv(n,s,u)}return n}var rr=cv;function fv(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var lv=fv,dv=9007199254740991,hv=/^(?:0|[1-9]\d*)$/;function bv(e,t){var n=typeof e;return t=t??dv,!!t&&(n=="number"||n!="symbol"&&hv.test(e))&&e>-1&&e%1==0&&e<t}var ba=bv,gv=lv,mv=la,pv=Qe,yv=da,vv=ba,xv=Ws,_v=Object.prototype,$v=_v.hasOwnProperty;function wv(e,t){var n=pv(e),r=!n&&mv(e),i=!n&&!r&&yv(e),a=!n&&!r&&!i&&xv(e),o=n||r||i||a,s=o?gv(e.length,String):[],u=s.length;for(var c in e)(t||$v.call(e,c))&&!(o&&(c=="length"||i&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||vv(c,u)))&&s.push(c);return s}var $d=wv;function Tv(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Mv=Tv,Cv=Ot,Sv=Ds,kv=Mv,jv=Object.prototype,Av=jv.hasOwnProperty;function Ev(e){if(!Cv(e))return kv(e);var t=Sv(e),n=[];for(var r in e)r=="constructor"&&(t||!Av.call(e,r))||n.push(r);return n}var Ov=Ev,Pv=$d,Rv=Ov,Iv=nr;function Dv(e){return Iv(e)?Pv(e,!0):Rv(e)}var ii=Dv,Fv=rr,Uv=ii;function Lv(e){return Fv(e,Uv(e))}var Wv=Lv,mc=fd,Nv=dd,Yv=bd,Bv=gd,Hv=pd,pc=la,yc=Qe,zv=vd,Vv=da,Gv=sa,qv=Ot,Xv=Us,Kv=Ws,vc=_d,Qv=Wv;function Zv(e,t,n,r,i,a,o){var s=vc(e,n),u=vc(t,n),c=o.get(u);if(c){mc(e,n,c);return}var l=a?a(s,u,n+"",e,t,o):void 0,f=l===void 0;if(f){var d=yc(u),h=!d&&Vv(u),b=!d&&!h&&Kv(u);l=u,d||h||b?yc(s)?l=s:zv(s)?l=Bv(s):h?(f=!1,l=Nv(u,!0)):b?(f=!1,l=Yv(u,!0)):l=[]:Xv(u)||pc(u)?(l=s,pc(s)?l=Qv(s):(!qv(s)||Gv(s))&&(l=Hv(u))):f=!1}f&&(o.set(u,l),i(l,u,r,a,o),o.delete(u)),mc(e,n,l)}var Jv=Zv,e2=fa,t2=fd,n2=ld,r2=Jv,i2=Ot,a2=ii,o2=_d;function wd(e,t,n,r,i){e!==t&&n2(t,function(a,o){if(i||(i=new e2),i2(a))r2(e,t,o,n,wd,r,i);else{var s=r?r(o2(e,o),a,o+"",e,t,i):void 0;s===void 0&&(s=a),t2(e,o,s)}},a2)}var s2=wd;function u2(e){return e}var ga=u2;function c2(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var f2=c2,l2=f2,xc=Math.max;function d2(e,t,n){return t=xc(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=xc(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),l2(e,this,s)}}var Td=d2;function h2(e){return function(){return e}}var b2=h2,g2=b2,_c=cd,m2=ga,p2=_c?function(e,t){return _c(e,"toString",{configurable:!0,enumerable:!1,value:g2(t),writable:!0})}:m2,y2=p2,v2=800,x2=16,_2=Date.now;function $2(e){var t=0,n=0;return function(){var r=_2(),i=x2-(r-n);if(n=r,i>0){if(++t>=v2)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var w2=$2,T2=y2,M2=w2,C2=M2(T2),Md=C2,S2=ga,k2=Td,j2=Md;function A2(e,t){return j2(k2(e,t,S2),e+"")}var Ys=A2,E2=ni,O2=nr,P2=ba,R2=Ot;function I2(e,t,n){if(!R2(n))return!1;var r=typeof t;return(r=="number"?O2(n)&&P2(t,n.length):r=="string"&&t in n)?E2(n[t],e):!1}var Cd=I2,D2=Ys,F2=Cd;function U2(e){return D2(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,o&&F2(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var L2=U2,W2=s2,N2=L2,Y2=N2(function(e,t,n){W2(e,t,n)}),B2=Y2;const Sd=x.getDefaultExportFromCjs(B2);var H2=tn,z2=yt,V2="[object Symbol]";function G2(e){return typeof e=="symbol"||z2(e)&&H2(e)==V2}var ma=G2,q2=Qe,X2=ma,K2=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q2=/^\w*$/;function Z2(e,t){if(q2(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||X2(e)?!0:Q2.test(e)||!K2.test(e)||t!=null&&e in Object(t)}var Bs=Z2,kd=Os,J2="Expected a function";function Hs(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(J2);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Hs.Cache||kd),n}Hs.Cache=kd;var ex=Hs,tx=ex,nx=500;function rx(e){var t=tx(e,function(r){return n.size===nx&&n.clear(),r}),n=t.cache;return t}var ix=rx,ax=ix,ox=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,sx=/\\(\\)?/g,ux=ax(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(ox,function(n,r,i,a){t.push(i?a.replace(sx,"$1"):r||n)}),t}),cx=ux;function fx(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var pa=fx,$c=Zn,lx=pa,dx=Qe,hx=ma,bx=1/0,wc=$c?$c.prototype:void 0,Tc=wc?wc.toString:void 0;function jd(e){if(typeof e=="string")return e;if(dx(e))return lx(e,jd)+"";if(hx(e))return Tc?Tc.call(e):"";var t=e+"";return t=="0"&&1/e==-bx?"-0":t}var gx=jd,mx=gx;function px(e){return e==null?"":mx(e)}var yx=px,vx=Qe,xx=Bs,_x=cx,$x=yx;function wx(e,t){return vx(e)?e:xx(e,t)?[e]:_x($x(e))}var ir=wx,Tx=ma,Mx=1/0;function Cx(e){if(typeof e=="string"||Tx(e))return e;var t=e+"";return t=="0"&&1/e==-Mx?"-0":t}var ar=Cx,Sx=ir,kx=ar;function jx(e,t){t=Sx(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[kx(t[n++])];return n&&n==r?e:void 0}var ai=jx,Ax=ai;function Ex(e,t,n){var r=e==null?void 0:Ax(e,t);return r===void 0?n:r}var Ad=Ex;const Ut=x.getDefaultExportFromCjs(Ad);var Ox=Ns,Px=ir,Rx=ba,Mc=Ot,Ix=ar;function Dx(e,t,n,r){if(!Mc(e))return e;t=Px(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var u=Ix(t[i]),c=n;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(i!=o){var l=s[u];c=r?r(l,u,s):void 0,c===void 0&&(c=Mc(l)?l:Rx(t[i+1])?[]:{})}Ox(s,u,c),s=s[u]}return e}var Ed=Dx,Fx=Ed;function Ux(e,t,n){return e==null?e:Fx(e,t,n)}var Lx=Ux;const Mr=x.getDefaultExportFromCjs(Lx);function Qo(){return Qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qo.apply(null,arguments)}function Wx(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Nx=["outlineWidth","outlineColor","outlineOpacity"],Yx=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,Wx(e,Nx)},Bx=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],Hx=function(e,t){return Qo({},t,e)},zx=function(e,t){var n=Sd({},e,t);return Bx.forEach(function(r){Mr(n,r,Hx(Ut(n,r),n.text))}),n},Od=function(e,t){return t?Sd({},e,t):e},Vx={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"#ffffff",outlineOpacity:1},axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}},Gx=function(e){return C.useMemo(function(){return zx(Vx,e)},[e])},qx=function(e,t){return C.useMemo(function(){return Od(e,t)},[e,t])},Pd=C.createContext(null),Xx={},Kx=function(e){var t=e.theme,n=t===void 0?Xx:t,r=e.children,i=Gx(n);return x.jsxRuntimeExports.jsx(Pd.Provider,{value:i,children:r})},Ee=function(){var e=C.useContext(Pd);if(e===null)throw new Error("Unable to find the theme, did you forget to wrap your component with ThemeProvider?");return e};function vn(){return vn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vn.apply(null,arguments)}var Qx=["basic","chip","container","table","tableCell","tableCellValue"],Zx={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},Cc=function(e,t){return"translate("+e+"px, "+t+"px)"},Rd=C.memo(function(e){var t,n=e.position,r=e.anchor,i=e.children,a=Ee(),o=vt(),s=o.animate,u=o.config,c=u0(),l=c[0],f=c[1],d=C.useRef(!1),h=void 0,b=!1,m=f.width>0&&f.height>0,g=Math.round(n[0]),y=Math.round(n[1]);m&&(r==="top"?(g-=f.width/2,y-=f.height+14):r==="right"?(g+=14,y-=f.height/2):r==="bottom"?(g-=f.width/2,y+=14):r==="left"?(g-=f.width+14,y-=f.height/2):r==="center"&&(g-=f.width/2,y-=f.height/2),h={transform:Cc(g,y)},d.current||(b=!0),d.current=[g,y]);var _=Yt({to:h,config:u,immediate:!s||b}),v=a.tooltip;v.basic,v.chip,v.container,v.table,v.tableCell,v.tableCellValue;var T=function(M,A){if(M==null)return{};var R={};for(var D in M)if({}.hasOwnProperty.call(M,D)){if(A.indexOf(D)!==-1)continue;R[D]=M[D]}return R}(v,Qx),S=vn({},Zx,T,{transform:(t=_.transform)!=null?t:Cc(g,y),opacity:_.transform?1:0});return x.jsxRuntimeExports.jsx(Se.div,{ref:l,style:S,children:i})});Rd.displayName="TooltipWrapper";var Jx=C.memo(function(e){var t=e.size,n=t===void 0?12:t,r=e.color,i=e.style;return x.jsxRuntimeExports.jsx("span",{style:vn({display:"block",width:n,height:n,background:r},i===void 0?{}:i)})}),Id=C.memo(function(e){var t,n=e.id,r=e.value,i=e.format,a=e.enableChip,o=a!==void 0&&a,s=e.color,u=e.renderContent,c=Ee(),l=ku(i);if(typeof u=="function")t=u();else{var f=r;l!==void 0&&f!==void 0&&(f=l(f)),t=x.jsxRuntimeExports.jsxs("div",{style:c.tooltip.basic,children:[o&&x.jsxRuntimeExports.jsx(Jx,{color:s,style:c.tooltip.chip}),f!==void 0?x.jsxRuntimeExports.jsxs("span",{children:[n,": ",x.jsxRuntimeExports.jsx("strong",{children:""+f})]}):n]})}return x.jsxRuntimeExports.jsx("div",{style:c.tooltip.container,role:"tooltip",children:t})}),e_={width:"100%",borderCollapse:"collapse"},t_=C.memo(function(e){var t,n=e.title,r=e.rows,i=r===void 0?[]:r,a=e.renderContent,o=Ee();return i.length?(t=typeof a=="function"?a():x.jsxRuntimeExports.jsxs("div",{children:[n&&n,x.jsxRuntimeExports.jsx("table",{style:vn({},e_,o.tooltip.table),children:x.jsxRuntimeExports.jsx("tbody",{children:i.map(function(s,u){return x.jsxRuntimeExports.jsx("tr",{children:s.map(function(c,l){return x.jsxRuntimeExports.jsx("td",{style:o.tooltip.tableCell,children:c},l)})},u)})})})]}),x.jsxRuntimeExports.jsx("div",{style:o.tooltip.container,children:t})):null});t_.displayName="TableTooltip";var Zo=C.memo(function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,a=Ee(),o=vt(),s=o.animate,u=o.config,c=C.useMemo(function(){return vn({},a.crosshair.line,{pointerEvents:"none"})},[a.crosshair.line]),l=Yt({x1:t,x2:n,y1:r,y2:i,config:u,immediate:!s});return x.jsxRuntimeExports.jsx(Se.line,vn({},l,{fill:"none",style:c}))});Zo.displayName="CrosshairLine";var n_=C.memo(function(e){var t,n,r=e.width,i=e.height,a=e.type,o=e.x,s=e.y;return a==="cross"?(t={x0:o,x1:o,y0:0,y1:i},n={x0:0,x1:r,y0:s,y1:s}):a==="top-left"?(t={x0:o,x1:o,y0:0,y1:s},n={x0:0,x1:o,y0:s,y1:s}):a==="top"?t={x0:o,x1:o,y0:0,y1:s}:a==="top-right"?(t={x0:o,x1:o,y0:0,y1:s},n={x0:o,x1:r,y0:s,y1:s}):a==="right"?n={x0:o,x1:r,y0:s,y1:s}:a==="bottom-right"?(t={x0:o,x1:o,y0:s,y1:i},n={x0:o,x1:r,y0:s,y1:s}):a==="bottom"?t={x0:o,x1:o,y0:s,y1:i}:a==="bottom-left"?(t={x0:o,x1:o,y0:s,y1:i},n={x0:0,x1:o,y0:s,y1:s}):a==="left"?n={x0:0,x1:o,y0:s,y1:s}:a==="x"?t={x0:o,x1:o,y0:0,y1:i}:a==="y"&&(n={x0:0,x1:r,y0:s,y1:s}),x.jsxRuntimeExports.jsxs(x.jsxRuntimeExports.Fragment,{children:[t&&x.jsxRuntimeExports.jsx(Zo,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&x.jsxRuntimeExports.jsx(Zo,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})});n_.displayName="Crosshair";var Dd=C.createContext({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),Jo={isVisible:!1,position:[null,null],content:null,anchor:null},Fd=C.createContext(Jo),r_=function(e){var t=C.useState(Jo),n=t[0],r=t[1],i=C.useCallback(function(s,u,c){var l=u[0],f=u[1];c===void 0&&(c="top"),r({isVisible:!0,position:[l,f],anchor:c,content:s})},[r]),a=C.useCallback(function(s,u,c){c===void 0&&(c="top");var l=e.current.getBoundingClientRect(),f=e.current.offsetWidth,d=f===l.width?1:f/l.width,h="touches"in u?u.touches[0]:u,b=h.clientX,m=h.clientY,g=(b-l.left)*d,y=(m-l.top)*d;c!=="left"&&c!=="right"||(c=g<l.width/2?"right":"left"),r({isVisible:!0,position:[g,y],anchor:c,content:s})},[e,r]),o=C.useCallback(function(){r(Jo)},[r]);return{actions:C.useMemo(function(){return{showTooltipAt:i,showTooltipFromEvent:a,hideTooltip:o}},[i,a,o]),state:n}},Ud=function(){var e=C.useContext(Dd);if(e===void 0)throw new Error("useTooltip must be used within a TooltipProvider");return e},i_=function(){var e=C.useContext(Fd);if(e===void 0)throw new Error("useTooltipState must be used within a TooltipProvider");return e},a_=function(e){return e.isVisible},o_=function(){var e=i_();return a_(e)?x.jsxRuntimeExports.jsx(Rd,{position:e.position,anchor:e.anchor,children:e.content}):null},s_=function(e){var t=e.container,n=e.children,r=r_(t),i=r.actions,a=r.state;return x.jsxRuntimeExports.jsx(Dd.Provider,{value:i,children:x.jsxRuntimeExports.jsx(Fd.Provider,{value:a,children:n})})},u_=tn,c_=Qe,f_=yt,l_="[object String]";function d_(e){return typeof e=="string"||!c_(e)&&f_(e)&&u_(e)==l_}var h_=d_;const b_=x.getDefaultExportFromCjs(h_);function ya(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function zs(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function or(){}var xn=.7,Yn=1/xn,Ln="\\s*([+-]?\\d+)\\s*",Wr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ct="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",g_=/^#([0-9a-f]{3,8})$/,m_=new RegExp(`^rgb\\(${Ln},${Ln},${Ln}\\)$`),p_=new RegExp(`^rgb\\(${Ct},${Ct},${Ct}\\)$`),y_=new RegExp(`^rgba\\(${Ln},${Ln},${Ln},${Wr}\\)$`),v_=new RegExp(`^rgba\\(${Ct},${Ct},${Ct},${Wr}\\)$`),x_=new RegExp(`^hsl\\(${Wr},${Ct},${Ct}\\)$`),__=new RegExp(`^hsla\\(${Wr},${Ct},${Ct},${Wr}\\)$`),Sc={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};ya(or,Nr,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:kc,formatHex:kc,formatHex8:$_,formatHsl:w_,formatRgb:jc,toString:jc});function kc(){return this.rgb().formatHex()}function $_(){return this.rgb().formatHex8()}function w_(){return Wd(this).formatHsl()}function jc(){return this.rgb().formatRgb()}function Nr(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=g_.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Ac(t):n===3?new He(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?hi(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?hi(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=m_.exec(e))?new He(t[1],t[2],t[3],1):(t=p_.exec(e))?new He(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=y_.exec(e))?hi(t[1],t[2],t[3],t[4]):(t=v_.exec(e))?hi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=x_.exec(e))?Pc(t[1],t[2]/100,t[3]/100,1):(t=__.exec(e))?Pc(t[1],t[2]/100,t[3]/100,t[4]):Sc.hasOwnProperty(e)?Ac(Sc[e]):e==="transparent"?new He(NaN,NaN,NaN,0):null}function Ac(e){return new He(e>>16&255,e>>8&255,e&255,1)}function hi(e,t,n,r){return r<=0&&(e=t=n=NaN),new He(e,t,n,r)}function Ld(e){return e instanceof or||(e=Nr(e)),e?(e=e.rgb(),new He(e.r,e.g,e.b,e.opacity)):new He}function Bn(e,t,n,r){return arguments.length===1?Ld(e):new He(e,t,n,r??1)}function He(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}ya(He,Bn,zs(or,{brighter(e){return e=e==null?Yn:Math.pow(Yn,e),new He(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?xn:Math.pow(xn,e),new He(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new He(mn(this.r),mn(this.g),mn(this.b),Pi(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:Ec,formatHex:Ec,formatHex8:T_,formatRgb:Oc,toString:Oc}));function Ec(){return`#${hn(this.r)}${hn(this.g)}${hn(this.b)}`}function T_(){return`#${hn(this.r)}${hn(this.g)}${hn(this.b)}${hn((isNaN(this.opacity)?1:this.opacity)*255)}`}function Oc(){const e=Pi(this.opacity);return`${e===1?"rgb(":"rgba("}${mn(this.r)}, ${mn(this.g)}, ${mn(this.b)}${e===1?")":`, ${e})`}`}function Pi(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function mn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function hn(e){return e=mn(e),(e<16?"0":"")+e.toString(16)}function Pc(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new bt(e,t,n,r)}function Wd(e){if(e instanceof bt)return new bt(e.h,e.s,e.l,e.opacity);if(e instanceof or||(e=Nr(e)),!e)return new bt;if(e instanceof bt)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,u=(a+i)/2;return s?(t===a?o=(n-r)/s+(n<r)*6:n===a?o=(r-t)/s+2:o=(t-n)/s+4,s/=u<.5?a+i:2-a-i,o*=60):s=u>0&&u<1?0:o,new bt(o,s,u,e.opacity)}function M_(e,t,n,r){return arguments.length===1?Wd(e):new bt(e,t,n,r??1)}function bt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ya(bt,M_,zs(or,{brighter(e){return e=e==null?Yn:Math.pow(Yn,e),new bt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?xn:Math.pow(xn,e),new bt(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new He(go(e>=240?e-240:e+120,i,r),go(e,i,r),go(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new bt(Rc(this.h),bi(this.s),bi(this.l),Pi(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=Pi(this.opacity);return`${e===1?"hsl(":"hsla("}${Rc(this.h)}, ${bi(this.s)*100}%, ${bi(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Rc(e){return e=(e||0)%360,e<0?e+360:e}function bi(e){return Math.max(0,Math.min(1,e||0))}function go(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const C_=Math.PI/180,S_=180/Math.PI;var Nd=-.14861,Vs=1.78277,Gs=-.29227,va=-.90649,Yr=1.97294,Ic=Yr*va,Dc=Yr*Vs,Fc=Vs*Gs-va*Nd;function k_(e){if(e instanceof pn)return new pn(e.h,e.s,e.l,e.opacity);e instanceof He||(e=Ld(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Fc*r+Ic*t-Dc*n)/(Fc+Ic-Dc),a=r-i,o=(Yr*(n-i)-Gs*a)/va,s=Math.sqrt(o*o+a*a)/(Yr*i*(1-i)),u=s?Math.atan2(o,a)*S_-120:NaN;return new pn(u<0?u+360:u,s,i,e.opacity)}function jt(e,t,n,r){return arguments.length===1?k_(e):new pn(e,t,n,r??1)}function pn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ya(pn,jt,zs(or,{brighter(e){return e=e==null?Yn:Math.pow(Yn,e),new pn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?xn:Math.pow(xn,e),new pn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*C_,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new He(255*(t+n*(Nd*r+Vs*i)),255*(t+n*(Gs*r+va*i)),255*(t+n*(Yr*r)),this.opacity)}}));function j_(e,t,n,r,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*n+(1+3*e+3*a-3*o)*r+o*i)/6}function A_(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],a=e[r+1],o=r>0?e[r-1]:2*i-a,s=r<t-1?e[r+2]:2*a-i;return j_((n-r/t)*t,o,i,a,s)}}const xa=e=>()=>e;function Yd(e,t){return function(n){return e+n*t}}function E_(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)}}function O_(e,t){var n=t-e;return n?Yd(e,n>180||n<-180?n-360*Math.round(n/360):n):xa(isNaN(e)?t:e)}function P_(e){return(e=+e)==1?Wn:function(t,n){return n-t?E_(t,n,e):xa(isNaN(t)?n:t)}}function Wn(e,t){var n=t-e;return n?Yd(e,n):xa(isNaN(e)?t:e)}const Uc=function e(t){var n=P_(t);function r(i,a){var o=n((i=Bn(i)).r,(a=Bn(a)).r),s=n(i.g,a.g),u=n(i.b,a.b),c=Wn(i.opacity,a.opacity);return function(l){return i.r=o(l),i.g=s(l),i.b=u(l),i.opacity=c(l),i+""}}return r.gamma=e,r}(1);function R_(e){return function(t){var n=t.length,r=new Array(n),i=new Array(n),a=new Array(n),o,s;for(o=0;o<n;++o)s=Bn(t[o]),r[o]=s.r||0,i[o]=s.g||0,a[o]=s.b||0;return r=e(r),i=e(i),a=e(a),s.opacity=1,function(u){return s.r=r(u),s.g=i(u),s.b=a(u),s+""}}}var I_=R_(A_);function D_(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function F_(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function U_(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=new Array(r),a=new Array(n),o;for(o=0;o<r;++o)i[o]=qs(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(s){for(o=0;o<r;++o)a[o]=i[o](s);return a}}function L_(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Br(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function W_(e,t){var n={},r={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?n[i]=qs(e[i],t[i]):r[i]=t[i];return function(a){for(i in n)r[i]=n[i](a);return r}}var es=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,mo=new RegExp(es.source,"g");function N_(e){return function(){return e}}function Y_(e){return function(t){return e(t)+""}}function Bd(e,t){var n=es.lastIndex=mo.lastIndex=0,r,i,a,o=-1,s=[],u=[];for(e=e+"",t=t+"";(r=es.exec(e))&&(i=mo.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,u.push({i:o,x:Br(r,i)})),n=mo.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?u[0]?Y_(u[0].x):N_(t):(t=u.length,function(c){for(var l=0,f;l<t;++l)s[(f=u[l]).i]=f.x(c);return s.join("")})}function qs(e,t){var n=typeof t,r;return t==null||n==="boolean"?xa(t):(n==="number"?Br:n==="string"?(r=Nr(t))?(t=r,Uc):Bd:t instanceof Nr?Uc:t instanceof Date?L_:F_(t)?D_:Array.isArray(t)?U_:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?W_:Br)(e,t)}function Hd(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function zd(e){return function t(n){n=+n;function r(i,a){var o=e((i=jt(i)).h,(a=jt(a)).h),s=Wn(i.s,a.s),u=Wn(i.l,a.l),c=Wn(i.opacity,a.opacity);return function(l){return i.h=o(l),i.s=s(l),i.l=u(Math.pow(l,n)),i.opacity=c(l),i+""}}return r.gamma=t,r}(1)}zd(O_);var Xs=zd(Wn),B_="__lodash_hash_undefined__";function H_(e){return this.__data__.set(e,B_),this}var z_=H_;function V_(e){return this.__data__.has(e)}var G_=V_,q_=Os,X_=z_,K_=G_;function Ri(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new q_;++t<n;)this.add(e[t])}Ri.prototype.add=Ri.prototype.push=X_;Ri.prototype.has=K_;var Ks=Ri;function Q_(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}var Z_=Q_;function J_(e){return e!==e}var e3=J_;function t3(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}var n3=t3,r3=Z_,i3=e3,a3=n3;function o3(e,t,n){return t===t?a3(e,t,n):r3(e,i3,n)}var s3=o3,u3=s3;function c3(e,t){var n=e==null?0:e.length;return!!n&&u3(e,t,0)>-1}var Vd=c3;function f3(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}var Gd=f3;function l3(e,t){return e.has(t)}var Qs=l3,d3=Ks,h3=Vd,b3=Gd,g3=pa,m3=ri,p3=Qs,y3=200;function v3(e,t,n,r){var i=-1,a=h3,o=!0,s=e.length,u=[],c=t.length;if(!s)return u;n&&(t=g3(t,m3(n))),r?(a=b3,o=!1):t.length>=y3&&(a=p3,o=!1,t=new d3(t));e:for(;++i<s;){var l=e[i],f=n==null?l:n(l);if(l=r||l!==0?l:0,o&&f===f){for(var d=c;d--;)if(t[d]===f)continue e;u.push(l)}else a(t,f,r)||u.push(l)}return u}var x3=v3,_3=x3,$3=Ys,w3=vd,T3=$3(function(e,t){return w3(e)?_3(e,t):[]}),M3=T3;const qd=x.getDefaultExportFromCjs(M3);function gi(e){return function(){return e}}const Lc=1e-12;function C3(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Xd(e){this._context=e}Xd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function S3(e){return new Xd(e)}function en(){}function Ii(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function _a(e){this._context=e}_a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ii(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ii(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function k3(e){return new _a(e)}function Kd(e){this._context=e}Kd.prototype={areaStart:en,areaEnd:en,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ii(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function j3(e){return new Kd(e)}function Qd(e){this._context=e}Qd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Ii(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function A3(e){return new Qd(e)}function Zd(e,t){this._basis=new _a(e),this._beta=t}Zd.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r=e[0],i=t[0],a=e[n]-r,o=t[n]-i,s=-1,u;++s<=n;)u=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+u*a),this._beta*t[s]+(1-this._beta)*(i+u*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};const E3=function e(t){function n(r){return t===1?new _a(r):new Zd(r,t)}return n.beta=function(r){return e(+r)},n}(.85);function Di(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Zs(e,t){this._context=e,this._k=(1-t)/6}Zs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Di(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Di(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const O3=function e(t){function n(r){return new Zs(r,t)}return n.tension=function(r){return e(+r)},n}(0);function Js(e,t){this._context=e,this._k=(1-t)/6}Js.prototype={areaStart:en,areaEnd:en,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Di(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const P3=function e(t){function n(r){return new Js(r,t)}return n.tension=function(r){return e(+r)},n}(0);function eu(e,t){this._context=e,this._k=(1-t)/6}eu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Di(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const R3=function e(t){function n(r){return new eu(r,t)}return n.tension=function(r){return e(+r)},n}(0);function tu(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>Lc){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>Lc){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,l=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*c+e._x1*e._l23_2a-t*e._l12_2a)/l,o=(o*c+e._y1*e._l23_2a-n*e._l12_2a)/l}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Jd(e,t){this._context=e,this._alpha=t}Jd.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:tu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const I3=function e(t){function n(r){return t?new Jd(r,t):new Zs(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function eh(e,t){this._context=e,this._alpha=t}eh.prototype={areaStart:en,areaEnd:en,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:tu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const D3=function e(t){function n(r){return t?new eh(r,t):new Js(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function th(e,t){this._context=e,this._alpha=t}th.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:tu(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};const F3=function e(t){function n(r){return t?new th(r,t):new eu(r,0)}return n.alpha=function(r){return e(+r)},n}(.5);function nh(e){this._context=e}nh.prototype={areaStart:en,areaEnd:en,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function U3(e){return new nh(e)}function Wc(e){return e<0?-1:1}function Nc(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(Wc(a)+Wc(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Yc(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function po(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Fi(e){this._context=e}Fi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:po(this,this._t0,Yc(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,po(this,Yc(this,n=Nc(this,e,t)),n);break;default:po(this,this._t0,n=Nc(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function rh(e){this._context=new ih(e)}(rh.prototype=Object.create(Fi.prototype)).point=function(e,t){Fi.prototype.point.call(this,t,e)};function ih(e){this._context=e}ih.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function L3(e){return new Fi(e)}function W3(e){return new rh(e)}function ah(e){this._context=e}ah.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=Bc(e),i=Bc(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function Bc(e){var t,n=e.length-1,r,i=new Array(n),a=new Array(n),o=new Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function N3(e){return new ah(e)}function $a(e,t){this._context=e,this._t=t}$a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function Y3(e){return new $a(e,.5)}function B3(e){return new $a(e,0)}function H3(e){return new $a(e,1)}function Hc(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function zc(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function z3(e,t){return e[t]}function V3(e){const t=[];return t.key=e,t}function G3(){var e=gi([]),t=zc,n=Hc,r=z3;function i(a){var o=Array.from(e.apply(this,arguments),V3),s,u=o.length,c=-1,l;for(const f of a)for(s=0,++c;s<u;++s)(o[s][c]=[0,+r(f,o[s].key,c,a)]).data=f;for(s=0,l=C3(t(o));s<u;++s)o[l[s]].index=s;return n(o,l),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:gi(Array.from(a)),i):e},i.value=function(a){return arguments.length?(r=typeof a=="function"?a:gi(+a),i):r},i.order=function(a){return arguments.length?(t=a==null?zc:typeof a=="function"?a:gi(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(n=a??Hc,i):n},i}function q3(e,t){if((u=e.length)>0)for(var n,r=0,i,a,o,s,u,c=e[t[0]].length;r<c;++r)for(o=s=0,n=0;n<u;++n)(a=(i=e[t[n]][r])[1]-i[0])>0?(i[0]=o,i[1]=o+=a):a<0?(i[1]=s,i[0]=s+=a):(i[0]=0,i[1]=a)}function wi(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function X3(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function nu(e){let t,n,r;e.length!==2?(t=wi,n=(s,u)=>wi(e(s),u),r=(s,u)=>e(s)-u):(t=e===wi||e===X3?e:K3,n=e,r=e);function i(s,u,c=0,l=s.length){if(c<l){if(t(u,u)!==0)return l;do{const f=c+l>>>1;n(s[f],u)<0?c=f+1:l=f}while(c<l)}return c}function a(s,u,c=0,l=s.length){if(c<l){if(t(u,u)!==0)return l;do{const f=c+l>>>1;n(s[f],u)<=0?c=f+1:l=f}while(c<l)}return c}function o(s,u,c=0,l=s.length){const f=i(s,u,c,l-1);return f>c&&r(s[f-1],u)>-r(s[f],u)?f-1:f}return{left:i,center:o,right:a}}function K3(){return 0}function Q3(e){return e===null?NaN:+e}const Z3=nu(wi),J3=Z3.right;nu(Q3).center;const e8=J3;class Vc extends Map{constructor(t,n=r8){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(Gc(this,t))}has(t){return super.has(Gc(this,t))}set(t,n){return super.set(t8(this,t),n)}delete(t){return super.delete(n8(this,t))}}function Gc({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function t8({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function n8({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function r8(e){return e!==null&&typeof e=="object"?e.valueOf():e}const i8=Math.sqrt(50),a8=Math.sqrt(10),o8=Math.sqrt(2);function Ui(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/Math.pow(10,i),o=a>=i8?10:a>=a8?5:a>=o8?2:1;let s,u,c;return i<0?(c=Math.pow(10,-i)/o,s=Math.round(e*c),u=Math.round(t*c),s/c<e&&++s,u/c>t&&--u,c=-c):(c=Math.pow(10,i)*o,s=Math.round(e/c),u=Math.round(t/c),s*c<e&&++s,u*c>t&&--u),u<s&&.5<=n&&n<2?Ui(e,t,n*2):[s,u,c]}function ts(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const r=t<e,[i,a,o]=r?Ui(t,e,n):Ui(e,t,n);if(!(a>=i))return[];const s=a-i+1,u=new Array(s);if(r)if(o<0)for(let c=0;c<s;++c)u[c]=(a-c)/-o;else for(let c=0;c<s;++c)u[c]=(a-c)*o;else if(o<0)for(let c=0;c<s;++c)u[c]=(i+c)/-o;else for(let c=0;c<s;++c)u[c]=(i+c)*o;return u}function ns(e,t,n){return t=+t,e=+e,n=+n,Ui(e,t,n)[2]}function rs(e,t,n){t=+t,e=+e,n=+n;const r=t<e,i=r?ns(t,e,n):ns(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function s8(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=Math.max(0,Math.ceil((t-e)/n))|0,a=new Array(i);++r<i;)a[r]=e+r*n;return a}function $n(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}const qc=Symbol("implicit");function bn(){var e=new Vc,t=[],n=[],r=qc;function i(a){let o=e.get(a);if(o===void 0){if(r!==qc)return r;e.set(a,o=t.push(a)-1)}return n[o%n.length]}return i.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new Vc;for(const o of a)e.has(o)||e.set(o,t.push(o)-1);return i},i.range=function(a){return arguments.length?(n=Array.from(a),i):n.slice()},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return bn(t,n).unknown(r)},$n.apply(i,arguments),i}function ru(){var e=bn().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,u=0,c=0,l=.5;delete e.unknown;function f(){var d=t().length,h=i<r,b=h?i:r,m=h?r:i;a=(m-b)/Math.max(1,d-u+c*2),s&&(a=Math.floor(a)),b+=(m-b-a*(d-u))*l,o=a*(1-u),s&&(b=Math.round(b),o=Math.round(o));var g=s8(d).map(function(y){return b+a*y});return n(h?g.reverse():g)}return e.domain=function(d){return arguments.length?(t(d),f()):t()},e.range=function(d){return arguments.length?([r,i]=d,r=+r,i=+i,f()):[r,i]},e.rangeRound=function(d){return[r,i]=d,r=+r,i=+i,s=!0,f()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(d){return arguments.length?(s=!!d,f()):s},e.padding=function(d){return arguments.length?(u=Math.min(1,c=+d),f()):u},e.paddingInner=function(d){return arguments.length?(u=Math.min(1,d),f()):u},e.paddingOuter=function(d){return arguments.length?(c=+d,f()):c},e.align=function(d){return arguments.length?(l=Math.max(0,Math.min(1,d)),f()):l},e.copy=function(){return ru(t(),[r,i]).round(s).paddingInner(u).paddingOuter(c).align(l)},$n.apply(f(),arguments)}function oh(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return oh(t())},e}function u8(){return oh(ru.apply(null,arguments).paddingInner(1))}function c8(e){return function(){return e}}function f8(e){return+e}var Xc=[0,1];function Dn(e){return e}function is(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:c8(isNaN(t)?NaN:.5)}function l8(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function d8(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=is(i,r),a=n(o,a)):(r=is(r,i),a=n(a,o)),function(s){return a(r(s))}}function h8(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),a=new Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=is(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(s){var u=e8(e,s,1,r)-1;return a[u](i[u](s))}}function wa(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function iu(){var e=Xc,t=Xc,n=qs,r,i,a,o=Dn,s,u,c;function l(){var d=Math.min(e.length,t.length);return o!==Dn&&(o=l8(e[0],e[d-1])),s=d>2?h8:d8,u=c=null,f}function f(d){return d==null||isNaN(d=+d)?a:(u||(u=s(e.map(r),t,n)))(r(o(d)))}return f.invert=function(d){return o(i((c||(c=s(t,e.map(r),Br)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,f8),l()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),l()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),n=Hd,l()},f.clamp=function(d){return arguments.length?(o=d?!0:Dn,l()):o!==Dn},f.interpolate=function(d){return arguments.length?(n=d,l()):n},f.unknown=function(d){return arguments.length?(a=d,f):a},function(d,h){return r=d,i=h,l()}}function sh(){return iu()(Dn,Dn)}function b8(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Li(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Hn(e){return e=Li(Math.abs(e)),e?e[1]:NaN}function g8(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),a.push(n.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function m8(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var p8=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Hr(e){if(!(t=p8.exec(e)))throw new Error("invalid format: "+e);var t;return new au({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]})}Hr.prototype=au.prototype;function au(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}au.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function y8(e){e:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var uh;function v8(e,t){var n=Li(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(uh=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Li(e,Math.max(0,t+a-1))[0]}function Kc(e,t){var n=Li(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 Qc={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:b8,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)=>Kc(e*100,t),r:Kc,s:v8,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Zc(e){return e}var Jc=Array.prototype.map,ef=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function x8(e){var t=e.grouping===void 0||e.thousands===void 0?Zc:g8(Jc.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?Zc:m8(Jc.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"−":e.minus+"",u=e.nan===void 0?"NaN":e.nan+"";function c(f){f=Hr(f);var d=f.fill,h=f.align,b=f.sign,m=f.symbol,g=f.zero,y=f.width,_=f.comma,v=f.precision,T=f.trim,S=f.type;S==="n"?(_=!0,S="g"):Qc[S]||(v===void 0&&(v=12),T=!0,S="g"),(g||d==="0"&&h==="=")&&(g=!0,d="0",h="=");var M=m==="$"?n:m==="#"&&/[boxX]/.test(S)?"0"+S.toLowerCase():"",A=m==="$"?r:/[%p]/.test(S)?o:"",R=Qc[S],D=/[defgprs%]/.test(S);v=v===void 0?6:/[gprs]/.test(S)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v));function W($){var N=M,E=A,k,j,F;if(S==="c")E=R($)+E,$="";else{$=+$;var U=$<0||1/$<0;if($=isNaN($)?u:R(Math.abs($),v),T&&($=y8($)),U&&+$==0&&b!=="+"&&(U=!1),N=(U?b==="("?b:s:b==="-"||b==="("?"":b)+N,E=(S==="s"?ef[8+uh/3]:"")+E+(U&&b==="("?")":""),D){for(k=-1,j=$.length;++k<j;)if(F=$.charCodeAt(k),48>F||F>57){E=(F===46?i+$.slice(k+1):$.slice(k))+E,$=$.slice(0,k);break}}}_&&!g&&($=t($,1/0));var Y=N.length+$.length+E.length,L=Y<y?new Array(y-Y+1).join(d):"";switch(_&&g&&($=t(L+$,L.length?y-E.length:1/0),L=""),h){case"<":$=N+$+E+L;break;case"=":$=N+L+$+E;break;case"^":$=L.slice(0,Y=L.length>>1)+N+$+E+L.slice(Y);break;default:$=L+N+$+E;break}return a($)}return W.toString=function(){return f+""},W}function l(f,d){var h=c((f=Hr(f),f.type="f",f)),b=Math.max(-8,Math.min(8,Math.floor(Hn(d)/3)))*3,m=Math.pow(10,-b),g=ef[8+b/3];return function(y){return h(m*y)+g}}return{format:c,formatPrefix:l}}var mi,ou,ch;_8({thousands:",",grouping:[3],currency:["$",""]});function _8(e){return mi=x8(e),ou=mi.format,ch=mi.formatPrefix,mi}function $8(e){return Math.max(0,-Hn(Math.abs(e)))}function w8(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Hn(t)/3)))*3-Hn(Math.abs(e)))}function T8(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Hn(t)-Hn(e))+1}function M8(e,t,n,r){var i=rs(e,t,n),a;switch(r=Hr(r??",f"),r.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=w8(i,o))&&(r.precision=a),ch(r,o)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(a=T8(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(a=$8(i))&&(r.precision=a-(r.type==="%")*2);break}}return ou(r)}function fh(e){var t=e.domain;return e.ticks=function(n){var r=t();return ts(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return M8(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],u,c,l=10;for(s<o&&(c=o,o=s,s=c,c=i,i=a,a=c);l-- >0;){if(c=ns(o,s,n),c===u)return r[i]=o,r[a]=s,t(r);if(c>0)o=Math.floor(o/c)*c,s=Math.ceil(s/c)*c;else if(c<0)o=Math.ceil(o*c)/c,s=Math.floor(s*c)/c;else break;u=c}return e},e}function lh(){var e=sh();return e.copy=function(){return wa(e,lh())},$n.apply(e,arguments),fh(e)}function dh(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}function tf(e){return Math.log(e)}function nf(e){return Math.exp(e)}function C8(e){return-Math.log(-e)}function S8(e){return-Math.exp(-e)}function k8(e){return isFinite(e)?+("1e"+e):e<0?0:e}function j8(e){return e===10?k8:e===Math.E?Math.exp:t=>Math.pow(e,t)}function A8(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function rf(e){return(t,n)=>-e(-t,n)}function E8(e){const t=e(tf,nf),n=t.domain;let r=10,i,a;function o(){return i=A8(r),a=j8(r),n()[0]<0?(i=rf(i),a=rf(a),e(C8,S8)):e(tf,nf),t}return t.base=function(s){return arguments.length?(r=+s,o()):r},t.domain=function(s){return arguments.length?(n(s),o()):n()},t.ticks=s=>{const u=n();let c=u[0],l=u[u.length-1];const f=l<c;f&&([c,l]=[l,c]);let d=i(c),h=i(l),b,m;const g=s==null?10:+s;let y=[];if(!(r%1)&&h-d<g){if(d=Math.floor(d),h=Math.ceil(h),c>0){for(;d<=h;++d)for(b=1;b<r;++b)if(m=d<0?b/a(-d):b*a(d),!(m<c)){if(m>l)break;y.push(m)}}else for(;d<=h;++d)for(b=r-1;b>=1;--b)if(m=d>0?b/a(-d):b*a(d),!(m<c)){if(m>l)break;y.push(m)}y.length*2<g&&(y=ts(c,l,g))}else y=ts(d,h,Math.min(h-d,g)).map(a);return f?y.reverse():y},t.tickFormat=(s,u)=>{if(s==null&&(s=10),u==null&&(u=r===10?"s":","),typeof u!="function"&&(!(r%1)&&(u=Hr(u)).precision==null&&(u.trim=!0),u=ou(u)),s===1/0)return u;const c=Math.max(1,r*s/t.ticks().length);return l=>{let f=l/a(Math.round(i(l)));return f*r<r-.5&&(f*=r),f<=c?u(l):""}},t.nice=()=>n(dh(n(),{floor:s=>a(Math.floor(i(s))),ceil:s=>a(Math.ceil(i(s)))})),t}function hh(){const e=E8(iu()).domain([1,10]);return e.copy=()=>wa(e,hh()).base(e.base()),$n.apply(e,arguments),e}function af(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function of(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function O8(e){var t=1,n=e(af(t),of(t));return n.constant=function(r){return arguments.length?e(af(t=+r),of(t)):t},fh(n)}function bh(){var e=O8(iu());return e.copy=function(){return wa(e,bh()).constant(e.constant())},$n.apply(e,arguments)}const yo=new Date,vo=new Date;function Oe(e,t,n,r){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>(e(a=new Date(+a)),a),i.ceil=a=>(e(a=new Date(a-1)),t(a,1),e(a),a),i.round=a=>{const o=i(a),s=i.ceil(a);return a-o<s-a?o:s},i.offset=(a,o)=>(t(a=new Date(+a),o==null?1:Math.floor(o)),a),i.range=(a,o,s)=>{const u=[];if(a=i.ceil(a),s=s==null?1:Math.floor(s),!(a<o)||!(s>0))return u;let c;do u.push(c=new Date(+a)),t(a,s),e(a);while(c<a&&a<o);return u},i.filter=a=>Oe(o=>{if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},(o,s)=>{if(o>=o)if(s<0)for(;++s<=0;)for(;t(o,-1),!a(o););else for(;--s>=0;)for(;t(o,1),!a(o););}),n&&(i.count=(a,o)=>(yo.setTime(+a),vo.setTime(+o),e(yo),e(vo),Math.floor(n(yo,vo))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?o=>r(o)%a===0:o=>i.count(0,o)%a===0):i)),i}const Wi=Oe(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Wi.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Oe(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Wi);Wi.range;const Dt=1e3,ot=Dt*60,Ft=ot*60,Lt=Ft*24,su=Lt*7,sf=Lt*30,xo=Lt*365,gn=Oe(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Dt)},(e,t)=>(t-e)/Dt,e=>e.getUTCSeconds());gn.range;const uu=Oe(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Dt)},(e,t)=>{e.setTime(+e+t*ot)},(e,t)=>(t-e)/ot,e=>e.getMinutes());uu.range;const cu=Oe(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*ot)},(e,t)=>(t-e)/ot,e=>e.getUTCMinutes());cu.range;const fu=Oe(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Dt-e.getMinutes()*ot)},(e,t)=>{e.setTime(+e+t*Ft)},(e,t)=>(t-e)/Ft,e=>e.getHours());fu.range;const lu=Oe(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Ft)},(e,t)=>(t-e)/Ft,e=>e.getUTCHours());lu.range;const oi=Oe(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ot)/Lt,e=>e.getDate()-1);oi.range;const Ta=Oe(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Lt,e=>e.getUTCDate()-1);Ta.range;const gh=Oe(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Lt,e=>Math.floor(e/Lt));gh.range;function wn(e){return Oe(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ot)/su)}const Ma=wn(0),Ni=wn(1),P8=wn(2),R8=wn(3),zn=wn(4),I8=wn(5),D8=wn(6);Ma.range;Ni.range;P8.range;R8.range;zn.range;I8.range;D8.range;function Tn(e){return Oe(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/su)}const Ca=Tn(0),Yi=Tn(1),F8=Tn(2),U8=Tn(3),Vn=Tn(4),L8=Tn(5),W8=Tn(6);Ca.range;Yi.range;F8.range;U8.range;Vn.range;L8.range;W8.range;const du=Oe(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());du.range;const hu=Oe(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());hu.range;const Wt=Oe(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());Wt.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Oe(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)});Wt.range;const Nt=Oe(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());Nt.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Oe(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)});Nt.range;function mh(e,t,n,r,i,a){const o=[[gn,1,Dt],[gn,5,5*Dt],[gn,15,15*Dt],[gn,30,30*Dt],[a,1,ot],[a,5,5*ot],[a,15,15*ot],[a,30,30*ot],[i,1,Ft],[i,3,3*Ft],[i,6,6*Ft],[i,12,12*Ft],[r,1,Lt],[r,2,2*Lt],[n,1,su],[t,1,sf],[t,3,3*sf],[e,1,xo]];function s(c,l,f){const d=l<c;d&&([c,l]=[l,c]);const h=f&&typeof f.range=="function"?f:u(c,l,f),b=h?h.range(c,+l+1):[];return d?b.reverse():b}function u(c,l,f){const d=Math.abs(l-c)/f,h=nu(([,,g])=>g).right(o,d);if(h===o.length)return e.every(rs(c/xo,l/xo,f));if(h===0)return Wi.every(Math.max(rs(c,l,f),1));const[b,m]=o[d/o[h-1][2]<o[h][2]/d?h-1:h];return b.every(m)}return[s,u]}const[N8,Y8]=mh(Nt,hu,Ca,gh,lu,cu),[B8,H8]=mh(Wt,du,Ma,oi,fu,uu);function _o(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 $o(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 gr(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function z8(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,u=e.shortMonths,c=mr(i),l=pr(i),f=mr(a),d=pr(a),h=mr(o),b=pr(o),m=mr(s),g=pr(s),y=mr(u),_=pr(u),v={a:U,A:Y,b:L,B:H,c:null,d:hf,e:hf,f:b6,g:T6,G:C6,H:l6,I:d6,j:h6,L:ph,m:g6,M:m6,p:ae,q:ne,Q:mf,s:pf,S:p6,u:y6,U:v6,V:x6,w:_6,W:$6,x:null,X:null,y:w6,Y:M6,Z:S6,"%":gf},T={a:ue,A:G,b:Z,B:oe,c:null,d:bf,e:bf,f:E6,g:N6,G:B6,H:k6,I:j6,j:A6,L:vh,m:O6,M:P6,p:J,q:me,Q:mf,s:pf,S:R6,u:I6,U:D6,V:F6,w:U6,W:L6,x:null,X:null,y:W6,Y:Y6,Z:H6,"%":gf},S={a:W,A:$,b:N,B:E,c:k,d:lf,e:lf,f:s6,g:ff,G:cf,H:df,I:df,j:r6,L:o6,m:n6,M:i6,p:D,q:t6,Q:c6,s:f6,S:a6,u:K8,U:Q8,V:Z8,w:X8,W:J8,x:j,X:F,y:ff,Y:cf,Z:e6,"%":u6};v.x=M(n,v),v.X=M(r,v),v.c=M(t,v),T.x=M(n,T),T.X=M(r,T),T.c=M(t,T);function M(w,I){return function(O){var p=[],Q=-1,B=0,re=w.length,ie,xe,Fe;for(O instanceof Date||(O=new Date(+O));++Q<re;)w.charCodeAt(Q)===37&&(p.push(w.slice(B,Q)),(xe=uf[ie=w.charAt(++Q)])!=null?ie=w.charAt(++Q):xe=ie==="e"?" ":"0",(Fe=I[ie])&&(ie=Fe(O,xe)),p.push(ie),B=Q+1);return p.push(w.slice(B,Q)),p.join("")}}function A(w,I){return function(O){var p=gr(1900,void 0,1),Q=R(p,w,O+="",0),B,re;if(Q!=O.length)return null;if("Q"in p)return new Date(p.Q);if("s"in p)return new Date(p.s*1e3+("L"in p?p.L:0));if(I&&!("Z"in p)&&(p.Z=0),"p"in p&&(p.H=p.H%12+p.p*12),p.m===void 0&&(p.m="q"in p?p.q:0),"V"in p){if(p.V<1||p.V>53)return null;"w"in p||(p.w=1),"Z"in p?(B=$o(gr(p.y,0,1)),re=B.getUTCDay(),B=re>4||re===0?Yi.ceil(B):Yi(B),B=Ta.offset(B,(p.V-1)*7),p.y=B.getUTCFullYear(),p.m=B.getUTCMonth(),p.d=B.getUTCDate()+(p.w+6)%7):(B=_o(gr(p.y,0,1)),re=B.getDay(),B=re>4||re===0?Ni.ceil(B):Ni(B),B=oi.offset(B,(p.V-1)*7),p.y=B.getFullYear(),p.m=B.getMonth(),p.d=B.getDate()+(p.w+6)%7)}else("W"in p||"U"in p)&&("w"in p||(p.w="u"in p?p.u%7:"W"in p?1:0),re="Z"in p?$o(gr(p.y,0,1)).getUTCDay():_o(gr(p.y,0,1)).getDay(),p.m=0,p.d="W"in p?(p.w+6)%7+p.W*7-(re+5)%7:p.w+p.U*7-(re+6)%7);return"Z"in p?(p.H+=p.Z/100|0,p.M+=p.Z%100,$o(p)):_o(p)}}function R(w,I,O,p){for(var Q=0,B=I.length,re=O.length,ie,xe;Q<B;){if(p>=re)return-1;if(ie=I.charCodeAt(Q++),ie===37){if(ie=I.charAt(Q++),xe=S[ie in uf?I.charAt(Q++):ie],!xe||(p=xe(w,O,p))<0)return-1}else if(ie!=O.charCodeAt(p++))return-1}return p}function D(w,I,O){var p=c.exec(I.slice(O));return p?(w.p=l.get(p[0].toLowerCase()),O+p[0].length):-1}function W(w,I,O){var p=h.exec(I.slice(O));return p?(w.w=b.get(p[0].toLowerCase()),O+p[0].length):-1}function $(w,I,O){var p=f.exec(I.slice(O));return p?(w.w=d.get(p[0].toLowerCase()),O+p[0].length):-1}function N(w,I,O){var p=y.exec(I.slice(O));return p?(w.m=_.get(p[0].toLowerCase()),O+p[0].length):-1}function E(w,I,O){var p=m.exec(I.slice(O));return p?(w.m=g.get(p[0].toLowerCase()),O+p[0].length):-1}function k(w,I,O){return R(w,t,I,O)}function j(w,I,O){return R(w,n,I,O)}function F(w,I,O){return R(w,r,I,O)}function U(w){return o[w.getDay()]}function Y(w){return a[w.getDay()]}function L(w){return u[w.getMonth()]}function H(w){return s[w.getMonth()]}function ae(w){return i[+(w.getHours()>=12)]}function ne(w){return 1+~~(w.getMonth()/3)}function ue(w){return o[w.getUTCDay()]}function G(w){return a[w.getUTCDay()]}function Z(w){return u[w.getUTCMonth()]}function oe(w){return s[w.getUTCMonth()]}function J(w){return i[+(w.getUTCHours()>=12)]}function me(w){return 1+~~(w.getUTCMonth()/3)}return{format:function(w){var I=M(w+="",v);return I.toString=function(){return w},I},parse:function(w){var I=A(w+="",!1);return I.toString=function(){return w},I},utcFormat:function(w){var I=M(w+="",T);return I.toString=function(){return w},I},utcParse:function(w){var I=A(w+="",!0);return I.toString=function(){return w},I}}}var uf={"-":"",_:" ",0:"0"},Ie=/^\s*\d+/,V8=/^%/,G8=/[\\^$*+?|[\]().{}]/g;function fe(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function q8(e){return e.replace(G8,"\\$&")}function mr(e){return new RegExp("^(?:"+e.map(q8).join("|")+")","i")}function pr(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function X8(e,t,n){var r=Ie.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function K8(e,t,n){var r=Ie.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Q8(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Z8(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function J8(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function cf(e,t,n){var r=Ie.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function ff(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function e6(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 t6(e,t,n){var r=Ie.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function n6(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function lf(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function r6(e,t,n){var r=Ie.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function df(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function i6(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function a6(e,t,n){var r=Ie.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function o6(e,t,n){var r=Ie.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function s6(e,t,n){var r=Ie.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function u6(e,t,n){var r=V8.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function c6(e,t,n){var r=Ie.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function f6(e,t,n){var r=Ie.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function hf(e,t){return fe(e.getDate(),t,2)}function l6(e,t){return fe(e.getHours(),t,2)}function d6(e,t){return fe(e.getHours()%12||12,t,2)}function h6(e,t){return fe(1+oi.count(Wt(e),e),t,3)}function ph(e,t){return fe(e.getMilliseconds(),t,3)}function b6(e,t){return ph(e,t)+"000"}function g6(e,t){return fe(e.getMonth()+1,t,2)}function m6(e,t){return fe(e.getMinutes(),t,2)}function p6(e,t){return fe(e.getSeconds(),t,2)}function y6(e){var t=e.getDay();return t===0?7:t}function v6(e,t){return fe(Ma.count(Wt(e)-1,e),t,2)}function yh(e){var t=e.getDay();return t>=4||t===0?zn(e):zn.ceil(e)}function x6(e,t){return e=yh(e),fe(zn.count(Wt(e),e)+(Wt(e).getDay()===4),t,2)}function _6(e){return e.getDay()}function $6(e,t){return fe(Ni.count(Wt(e)-1,e),t,2)}function w6(e,t){return fe(e.getFullYear()%100,t,2)}function T6(e,t){return e=yh(e),fe(e.getFullYear()%100,t,2)}function M6(e,t){return fe(e.getFullYear()%1e4,t,4)}function C6(e,t){var n=e.getDay();return e=n>=4||n===0?zn(e):zn.ceil(e),fe(e.getFullYear()%1e4,t,4)}function S6(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+fe(t/60|0,"0",2)+fe(t%60,"0",2)}function bf(e,t){return fe(e.getUTCDate(),t,2)}function k6(e,t){return fe(e.getUTCHours(),t,2)}function j6(e,t){return fe(e.getUTCHours()%12||12,t,2)}function A6(e,t){return fe(1+Ta.count(Nt(e),e),t,3)}function vh(e,t){return fe(e.getUTCMilliseconds(),t,3)}function E6(e,t){return vh(e,t)+"000"}function O6(e,t){return fe(e.getUTCMonth()+1,t,2)}function P6(e,t){return fe(e.getUTCMinutes(),t,2)}function R6(e,t){return fe(e.getUTCSeconds(),t,2)}function I6(e){var t=e.getUTCDay();return t===0?7:t}function D6(e,t){return fe(Ca.count(Nt(e)-1,e),t,2)}function xh(e){var t=e.getUTCDay();return t>=4||t===0?Vn(e):Vn.ceil(e)}function F6(e,t){return e=xh(e),fe(Vn.count(Nt(e),e)+(Nt(e).getUTCDay()===4),t,2)}function U6(e){return e.getUTCDay()}function L6(e,t){return fe(Yi.count(Nt(e)-1,e),t,2)}function W6(e,t){return fe(e.getUTCFullYear()%100,t,2)}function N6(e,t){return e=xh(e),fe(e.getUTCFullYear()%100,t,2)}function Y6(e,t){return fe(e.getUTCFullYear()%1e4,t,4)}function B6(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Vn(e):Vn.ceil(e),fe(e.getUTCFullYear()%1e4,t,4)}function H6(){return"+0000"}function gf(){return"%"}function mf(e){return+e}function pf(e){return Math.floor(+e/1e3)}var Pn,_h,$h;z6({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"]});function z6(e){return Pn=z8(e),_h=Pn.format,Pn.parse,$h=Pn.utcFormat,Pn.utcParse,Pn}function V6(e){return new Date(e)}function G6(e){return e instanceof Date?+e:+new Date(+e)}function bu(e,t,n,r,i,a,o,s,u,c){var l=sh(),f=l.invert,d=l.domain,h=c(".%L"),b=c(":%S"),m=c("%I:%M"),g=c("%I %p"),y=c("%a %d"),_=c("%b %d"),v=c("%B"),T=c("%Y");function S(M){return(u(M)<M?h:s(M)<M?b:o(M)<M?m:a(M)<M?g:r(M)<M?i(M)<M?y:_:n(M)<M?v:T)(M)}return l.invert=function(M){return new Date(f(M))},l.domain=function(M){return arguments.length?d(Array.from(M,G6)):d().map(V6)},l.ticks=function(M){var A=d();return e(A[0],A[A.length-1],M??10)},l.tickFormat=function(M,A){return A==null?S:c(A)},l.nice=function(M){var A=d();return(!M||typeof M.range!="function")&&(M=t(A[0],A[A.length-1],M??10)),M?d(dh(A,M)):l},l.copy=function(){return wa(l,bu(e,t,n,r,i,a,o,s,u,c))},l}function q6(){return $n.apply(bu(B8,H8,Wt,du,Ma,oi,fu,uu,gn,_h).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function X6(){return $n.apply(bu(N8,Y8,Nt,hu,Ca,Ta,lu,cu,gn,$h).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function te(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(r*6,++r*6);return n}const wh=te("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Th=te("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Mh=te("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Ch=te("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Sh=te("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),kh=te("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),jh=te("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Ah=te("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),gu=te("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),K6=te("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),ye=e=>I_(e[e.length-1]);var Sa=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(te);const Q6=ye(Sa);var ka=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(te);const Z6=ye(ka);var ja=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(te);const J6=ye(ja);var Aa=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(te);const e5=ye(Aa);var Ea=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(te);const t5=ye(Ea);var Oa=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(te);const n5=ye(Oa);var Pa=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(te);const r5=ye(Pa);var Ra=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(te);const i5=ye(Ra);var Ia=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(te);const a5=ye(Ia);var Da=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(te);const o5=ye(Da);var Fa=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(te);const s5=ye(Fa);var Ua=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(te);const u5=ye(Ua);var La=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(te);const c5=ye(La);var Wa=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(te);const f5=ye(Wa);var Na=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(te);const l5=ye(Na);var Ya=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(te);const d5=ye(Ya);var Ba=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(te);const h5=ye(Ba);var Ha=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(te);const b5=ye(Ha);var za=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(te);const g5=ye(za);var Va=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(te);const m5=ye(Va);var Ga=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(te);const p5=ye(Ga);var qa=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(te);const y5=ye(qa);var Xa=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(te);const v5=ye(Xa);var Ka=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(te);const x5=ye(Ka);var Qa=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(te);const _5=ye(Qa);var Za=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(te);const $5=ye(Za);var Ja=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(te);const w5=ye(Ja);function T5(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-e*2710.57)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-e*67.37)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-e*2475.67)))))))+")"}const M5=Xs(jt(300,.5,0),jt(-240,.5,1));var C5=Xs(jt(-100,.75,.35),jt(80,1.5,.8)),S5=Xs(jt(260,.75,.35),jt(80,1.5,.8)),pi=jt();function k5(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return pi.h=360*e-100,pi.s=1.5-1.5*t,pi.l=.8-.9*t,pi+""}var yi=Bn(),j5=Math.PI/3,A5=Math.PI*2/3;function E5(e){var t;return e=(.5-e)*Math.PI,yi.r=255*(t=Math.sin(e))*t,yi.g=255*(t=Math.sin(e+j5))*t,yi.b=255*(t=Math.sin(e+A5))*t,yi+""}function O5(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-e*14825.05)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+e*707.56)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-e*6838.66)))))))+")"}function eo(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const P5=eo(te("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var R5=eo(te("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),I5=eo(te("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),D5=eo(te("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function F5(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var Eh=F5;const V=x.getDefaultExportFromCjs(Eh);function U5(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Bi(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function L5(e){return e=Bi(Math.abs(e)),e?e[1]:NaN}function W5(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),a.push(n.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function N5(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var Y5=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function as(e){if(!(t=Y5.exec(e)))throw new Error("invalid format: "+e);var t;return new mu({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]})}as.prototype=mu.prototype;function mu(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}mu.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function B5(e){e:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var Oh;function H5(e,t){var n=Bi(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(Oh=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Bi(e,Math.max(0,t+a-1))[0]}function yf(e,t){var n=Bi(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 vf={"%":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:U5,e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return yf(e*100,t)},r:yf,s:H5,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function xf(e){return e}var _f=Array.prototype.map,$f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function z5(e){var t=e.grouping===void 0||e.thousands===void 0?xf:W5(_f.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?xf:N5(_f.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"-":e.minus+"",u=e.nan===void 0?"NaN":e.nan+"";function c(f){f=as(f);var d=f.fill,h=f.align,b=f.sign,m=f.symbol,g=f.zero,y=f.width,_=f.comma,v=f.precision,T=f.trim,S=f.type;S==="n"?(_=!0,S="g"):vf[S]||(v===void 0&&(v=12),T=!0,S="g"),(g||d==="0"&&h==="=")&&(g=!0,d="0",h="=");var M=m==="$"?n:m==="#"&&/[boxX]/.test(S)?"0"+S.toLowerCase():"",A=m==="$"?r:/[%p]/.test(S)?o:"",R=vf[S],D=/[defgprs%]/.test(S);v=v===void 0?6:/[gprs]/.test(S)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v));function W($){var N=M,E=A,k,j,F;if(S==="c")E=R($)+E,$="";else{$=+$;var U=$<0||1/$<0;if($=isNaN($)?u:R(Math.abs($),v),T&&($=B5($)),U&&+$==0&&b!=="+"&&(U=!1),N=(U?b==="("?b:s:b==="-"||b==="("?"":b)+N,E=(S==="s"?$f[8+Oh/3]:"")+E+(U&&b==="("?")":""),D){for(k=-1,j=$.length;++k<j;)if(F=$.charCodeAt(k),48>F||F>57){E=(F===46?i+$.slice(k+1):$.slice(k))+E,$=$.slice(0,k);break}}}_&&!g&&($=t($,1/0));var Y=N.length+$.length+E.length,L=Y<y?new Array(y-Y+1).join(d):"";switch(_&&g&&($=t(L+$,L.length?y-E.length:1/0),L=""),h){case"<":$=N+$+E+L;break;case"=":$=N+L+$+E;break;case"^":$=L.slice(0,Y=L.length>>1)+N+$+E+L.slice(Y);break;default:$=L+N+$+E;break}return a($)}return W.toString=function(){return f+""},W}function l(f,d){var h=c((f=as(f),f.type="f",f)),b=Math.max(-8,Math.min(8,Math.floor(L5(d)/3)))*3,m=Math.pow(10,-b),g=$f[8+b/3];return function(y){return h(m*y)+g}}return{format:c,formatPrefix:l}}var vi,pu;V5({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function V5(e){return vi=z5(e),pu=vi.format,vi.formatPrefix,vi}var wo=new Date,To=new Date;function Bt(e,t,n,r){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=function(a){return e(a=new Date(+a)),a},i.ceil=function(a){return e(a=new Date(a-1)),t(a,1),e(a),a},i.round=function(a){var o=i(a),s=i.ceil(a);return a-o<s-a?o:s},i.offset=function(a,o){return t(a=new Date(+a),o==null?1:Math.floor(o)),a},i.range=function(a,o,s){var u=[],c;if(a=i.ceil(a),s=s==null?1:Math.floor(s),!(a<o)||!(s>0))return u;do u.push(c=new Date(+a)),t(a,s),e(a);while(c<a&&a<o);return u},i.filter=function(a){return Bt(function(o){if(o>=o)for(;e(o),!a(o);)o.setTime(o-1)},function(o,s){if(o>=o)if(s<0)for(;++s<=0;)for(;t(o,-1),!a(o););else for(;--s>=0;)for(;t(o,1),!a(o););})},n&&(i.count=function(a,o){return wo.setTime(+a),To.setTime(+o),e(wo),e(To),Math.floor(n(wo,To))},i.every=function(a){return a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?function(o){return r(o)%a===0}:function(o){return i.count(0,o)%a===0}):i}),i}const G5=1e3,yu=G5*60,q5=yu*60,vu=q5*24,Ph=vu*7;var Rh=Bt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*yu)/vu,e=>e.getDate()-1);const Ih=Rh;Rh.range;function Mn(e){return Bt(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n*7)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*yu)/Ph})}var Dh=Mn(0),Hi=Mn(1),X5=Mn(2),K5=Mn(3),Gn=Mn(4),Q5=Mn(5),Z5=Mn(6);Dh.range;Hi.range;X5.range;K5.range;Gn.range;Q5.range;Z5.range;var xu=Bt(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});xu.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:Bt(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)})};const zr=xu;xu.range;var Fh=Bt(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/vu},function(e){return e.getUTCDate()-1});const Uh=Fh;Fh.range;function Cn(e){return Bt(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n*7)},function(t,n){return(n-t)/Ph})}var Lh=Cn(0),zi=Cn(1),J5=Cn(2),e4=Cn(3),qn=Cn(4),t4=Cn(5),n4=Cn(6);Lh.range;zi.range;J5.range;e4.range;qn.range;t4.range;n4.range;var _u=Bt(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});_u.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:Bt(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})};const Vr=_u;_u.range;function Mo(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 Co(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 yr(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function r4(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,u=e.shortMonths,c=vr(i),l=xr(i),f=vr(a),d=xr(a),h=vr(o),b=xr(o),m=vr(s),g=xr(s),y=vr(u),_=xr(u),v={a:U,A:Y,b:L,B:H,c:null,d:kf,e:kf,f:C4,g:D4,G:U4,H:w4,I:T4,j:M4,L:Wh,m:S4,M:k4,p:ae,q:ne,Q:Ef,s:Of,S:j4,u:A4,U:E4,V:O4,w:P4,W:R4,x:null,X:null,y:I4,Y:F4,Z:L4,"%":Af},T={a:ue,A:G,b:Z,B:oe,c:null,d:jf,e:jf,f:B4,g:J4,G:t7,H:W4,I:N4,j:Y4,L:Yh,m:H4,M:z4,p:J,q:me,Q:Ef,s:Of,S:V4,u:G4,U:q4,V:X4,w:K4,W:Q4,x:null,X:null,y:Z4,Y:e7,Z:n7,"%":Af},S={a:W,A:$,b:N,B:E,c:k,d:Cf,e:Cf,f:v4,g:Mf,G:Tf,H:Sf,I:Sf,j:g4,L:y4,m:b4,M:m4,p:D,q:h4,Q:_4,s:$4,S:p4,u:u4,U:c4,V:f4,w:s4,W:l4,x:j,X:F,y:Mf,Y:Tf,Z:d4,"%":x4};v.x=M(n,v),v.X=M(r,v),v.c=M(t,v),T.x=M(n,T),T.X=M(r,T),T.c=M(t,T);function M(w,I){return function(O){var p=[],Q=-1,B=0,re=w.length,ie,xe,Fe;for(O instanceof Date||(O=new Date(+O));++Q<re;)w.charCodeAt(Q)===37&&(p.push(w.slice(B,Q)),(xe=wf[ie=w.charAt(++Q)])!=null?ie=w.charAt(++Q):xe=ie==="e"?" ":"0",(Fe=I[ie])&&(ie=Fe(O,xe)),p.push(ie),B=Q+1);return p.push(w.slice(B,Q)),p.join("")}}function A(w,I){return function(O){var p=yr(1900,void 0,1),Q=R(p,w,O+="",0),B,re;if(Q!=O.length)return null;if("Q"in p)return new Date(p.Q);if("s"in p)return new Date(p.s*1e3+("L"in p?p.L:0));if(I&&!("Z"in p)&&(p.Z=0),"p"in p&&(p.H=p.H%12+p.p*12),p.m===void 0&&(p.m="q"in p?p.q:0),"V"in p){if(p.V<1||p.V>53)return null;"w"in p||(p.w=1),"Z"in p?(B=Co(yr(p.y,0,1)),re=B.getUTCDay(),B=re>4||re===0?zi.ceil(B):zi(B),B=Uh.offset(B,(p.V-1)*7),p.y=B.getUTCFullYear(),p.m=B.getUTCMonth(),p.d=B.getUTCDate()+(p.w+6)%7):(B=Mo(yr(p.y,0,1)),re=B.getDay(),B=re>4||re===0?Hi.ceil(B):Hi(B),B=Ih.offset(B,(p.V-1)*7),p.y=B.getFullYear(),p.m=B.getMonth(),p.d=B.getDate()+(p.w+6)%7)}else("W"in p||"U"in p)&&("w"in p||(p.w="u"in p?p.u%7:"W"in p?1:0),re="Z"in p?Co(yr(p.y,0,1)).getUTCDay():Mo(yr(p.y,0,1)).getDay(),p.m=0,p.d="W"in p?(p.w+6)%7+p.W*7-(re+5)%7:p.w+p.U*7-(re+6)%7);return"Z"in p?(p.H+=p.Z/100|0,p.M+=p.Z%100,Co(p)):Mo(p)}}function R(w,I,O,p){for(var Q=0,B=I.length,re=O.length,ie,xe;Q<B;){if(p>=re)return-1;if(ie=I.charCodeAt(Q++),ie===37){if(ie=I.charAt(Q++),xe=S[ie in wf?I.charAt(Q++):ie],!xe||(p=xe(w,O,p))<0)return-1}else if(ie!=O.charCodeAt(p++))return-1}return p}function D(w,I,O){var p=c.exec(I.slice(O));return p?(w.p=l.get(p[0].toLowerCase()),O+p[0].length):-1}function W(w,I,O){var p=h.exec(I.slice(O));return p?(w.w=b.get(p[0].toLowerCase()),O+p[0].length):-1}function $(w,I,O){var p=f.exec(I.slice(O));return p?(w.w=d.get(p[0].toLowerCase()),O+p[0].length):-1}function N(w,I,O){var p=y.exec(I.slice(O));return p?(w.m=_.get(p[0].toLowerCase()),O+p[0].length):-1}function E(w,I,O){var p=m.exec(I.slice(O));return p?(w.m=g.get(p[0].toLowerCase()),O+p[0].length):-1}function k(w,I,O){return R(w,t,I,O)}function j(w,I,O){return R(w,n,I,O)}function F(w,I,O){return R(w,r,I,O)}function U(w){return o[w.getDay()]}function Y(w){return a[w.getDay()]}function L(w){return u[w.getMonth()]}function H(w){return s[w.getMonth()]}function ae(w){return i[+(w.getHours()>=12)]}function ne(w){return 1+~~(w.getMonth()/3)}function ue(w){return o[w.getUTCDay()]}function G(w){return a[w.getUTCDay()]}function Z(w){return u[w.getUTCMonth()]}function oe(w){return s[w.getUTCMonth()]}function J(w){return i[+(w.getUTCHours()>=12)]}function me(w){return 1+~~(w.getUTCMonth()/3)}return{format:function(w){var I=M(w+="",v);return I.toString=function(){return w},I},parse:function(w){var I=A(w+="",!1);return I.toString=function(){return w},I},utcFormat:function(w){var I=M(w+="",T);return I.toString=function(){return w},I},utcParse:function(w){var I=A(w+="",!0);return I.toString=function(){return w},I}}}var wf={"-":"",_:" ",0:"0"},De=/^\s*\d+/,i4=/^%/,a4=/[\\^$*+?|[\]().{}]/g;function le(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function o4(e){return e.replace(a4,"\\$&")}function vr(e){return new RegExp("^(?:"+e.map(o4).join("|")+")","i")}function xr(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function s4(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function u4(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function c4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function f4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function l4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Tf(e,t,n){var r=De.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Mf(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function d4(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 h4(e,t,n){var r=De.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function b4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Cf(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function g4(e,t,n){var r=De.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Sf(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function m4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function p4(e,t,n){var r=De.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function y4(e,t,n){var r=De.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function v4(e,t,n){var r=De.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function x4(e,t,n){var r=i4.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function _4(e,t,n){var r=De.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function $4(e,t,n){var r=De.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function kf(e,t){return le(e.getDate(),t,2)}function w4(e,t){return le(e.getHours(),t,2)}function T4(e,t){return le(e.getHours()%12||12,t,2)}function M4(e,t){return le(1+Ih.count(zr(e),e),t,3)}function Wh(e,t){return le(e.getMilliseconds(),t,3)}function C4(e,t){return Wh(e,t)+"000"}function S4(e,t){return le(e.getMonth()+1,t,2)}function k4(e,t){return le(e.getMinutes(),t,2)}function j4(e,t){return le(e.getSeconds(),t,2)}function A4(e){var t=e.getDay();return t===0?7:t}function E4(e,t){return le(Dh.count(zr(e)-1,e),t,2)}function Nh(e){var t=e.getDay();return t>=4||t===0?Gn(e):Gn.ceil(e)}function O4(e,t){return e=Nh(e),le(Gn.count(zr(e),e)+(zr(e).getDay()===4),t,2)}function P4(e){return e.getDay()}function R4(e,t){return le(Hi.count(zr(e)-1,e),t,2)}function I4(e,t){return le(e.getFullYear()%100,t,2)}function D4(e,t){return e=Nh(e),le(e.getFullYear()%100,t,2)}function F4(e,t){return le(e.getFullYear()%1e4,t,4)}function U4(e,t){var n=e.getDay();return e=n>=4||n===0?Gn(e):Gn.ceil(e),le(e.getFullYear()%1e4,t,4)}function L4(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+le(t/60|0,"0",2)+le(t%60,"0",2)}function jf(e,t){return le(e.getUTCDate(),t,2)}function W4(e,t){return le(e.getUTCHours(),t,2)}function N4(e,t){return le(e.getUTCHours()%12||12,t,2)}function Y4(e,t){return le(1+Uh.count(Vr(e),e),t,3)}function Yh(e,t){return le(e.getUTCMilliseconds(),t,3)}function B4(e,t){return Yh(e,t)+"000"}function H4(e,t){return le(e.getUTCMonth()+1,t,2)}function z4(e,t){return le(e.getUTCMinutes(),t,2)}function V4(e,t){return le(e.getUTCSeconds(),t,2)}function G4(e){var t=e.getUTCDay();return t===0?7:t}function q4(e,t){return le(Lh.count(Vr(e)-1,e),t,2)}function Bh(e){var t=e.getUTCDay();return t>=4||t===0?qn(e):qn.ceil(e)}function X4(e,t){return e=Bh(e),le(qn.count(Vr(e),e)+(Vr(e).getUTCDay()===4),t,2)}function K4(e){return e.getUTCDay()}function Q4(e,t){return le(zi.count(Vr(e)-1,e),t,2)}function Z4(e,t){return le(e.getUTCFullYear()%100,t,2)}function J4(e,t){return e=Bh(e),le(e.getUTCFullYear()%100,t,2)}function e7(e,t){return le(e.getUTCFullYear()%1e4,t,4)}function t7(e,t){var n=e.getUTCDay();return e=n>=4||n===0?qn(e):qn.ceil(e),le(e.getUTCFullYear()%1e4,t,4)}function n7(){return"+0000"}function Af(){return"%"}function Ef(e){return+e}function Of(e){return Math.floor(+e/1e3)}var Rn,$u,Hh,zh;r7({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"]});function r7(e){return Rn=r4(e),$u=Rn.format,Hh=Rn.parse,Rn.utcFormat,zh=Rn.utcParse,Rn}var i7=ai,a7=Ed,o7=ir;function s7(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=i7(e,o);n(s,o)&&a7(a,o7(o,e),s)}return a}var u7=s7;function c7(e,t){return e!=null&&t in Object(e)}var f7=c7,l7=ir,d7=la,h7=Qe,b7=ba,g7=Fs,m7=ar;function p7(e,t,n){t=l7(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=m7(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&g7(i)&&b7(o,i)&&(h7(e)||d7(e)))}var y7=p7,v7=f7,x7=y7;function _7(e,t){return e!=null&&x7(e,t,v7)}var Vh=_7,$7=u7,w7=Vh;function T7(e,t){return $7(e,t,function(n,r){return w7(e,r)})}var M7=T7;function C7(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var wu=C7,Pf=Zn,S7=la,k7=Qe,Rf=Pf?Pf.isConcatSpreadable:void 0;function j7(e){return k7(e)||S7(e)||!!(Rf&&e&&e[Rf])}var A7=j7,E7=wu,O7=A7;function Gh(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=O7),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?Gh(s,t-1,n,r,i):E7(i,s):r||(i[i.length]=s)}return i}var qh=Gh,P7=qh;function R7(e){var t=e==null?0:e.length;return t?P7(e,1):[]}var I7=R7,D7=I7,F7=Td,U7=Md;function L7(e){return U7(F7(e,void 0,D7),e+"")}var Xh=L7,W7=M7,N7=Xh,Y7=N7(function(e,t){return e==null?{}:W7(e,t)}),B7=Y7;const H7=x.getDefaultExportFromCjs(B7);function z7(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var V7=z7,G7=Ks,q7=V7,X7=Qs,K7=1,Q7=2;function Z7(e,t,n,r,i,a){var o=n&K7,s=e.length,u=t.length;if(s!=u&&!(o&&u>s))return!1;var c=a.get(e),l=a.get(t);if(c&&l)return c==t&&l==e;var f=-1,d=!0,h=n&Q7?new G7:void 0;for(a.set(e,t),a.set(t,e);++f<s;){var b=e[f],m=t[f];if(r)var g=o?r(m,b,f,t,e,a):r(b,m,f,e,t,a);if(g!==void 0){if(g)continue;d=!1;break}if(h){if(!q7(t,function(y,_){if(!X7(h,_)&&(b===y||i(b,y,n,r,a)))return h.push(_)})){d=!1;break}}else if(!(b===m||i(b,m,n,r,a))){d=!1;break}}return a.delete(e),a.delete(t),d}var Kh=Z7;function J7(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var e9=J7;function t9(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Tu=t9,If=Zn,Df=hd,n9=ni,r9=Kh,i9=e9,a9=Tu,o9=1,s9=2,u9="[object Boolean]",c9="[object Date]",f9="[object Error]",l9="[object Map]",d9="[object Number]",h9="[object RegExp]",b9="[object Set]",g9="[object String]",m9="[object Symbol]",p9="[object ArrayBuffer]",y9="[object DataView]",Ff=If?If.prototype:void 0,So=Ff?Ff.valueOf:void 0;function v9(e,t,n,r,i,a,o){switch(n){case y9:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case p9:return!(e.byteLength!=t.byteLength||!a(new Df(e),new Df(t)));case u9:case c9:case d9:return n9(+e,+t);case f9:return e.name==t.name&&e.message==t.message;case h9:case g9:return e==t+"";case l9:var s=i9;case b9:var u=r&o9;if(s||(s=a9),e.size!=t.size&&!u)return!1;var c=o.get(e);if(c)return c==t;r|=s9,o.set(e,t);var l=r9(s(e),s(t),r,i,a,o);return o.delete(e),l;case m9:if(So)return So.call(e)==So.call(t)}return!1}var x9=v9,_9=wu,$9=Qe;function w9(e,t,n){var r=t(e);return $9(e)?r:_9(r,n(e))}var Qh=w9;function T9(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}var Zh=T9;function M9(){return[]}var Jh=M9,C9=Zh,S9=Jh,k9=Object.prototype,j9=k9.propertyIsEnumerable,Uf=Object.getOwnPropertySymbols,A9=Uf?function(e){return e==null?[]:(e=Object(e),C9(Uf(e),function(t){return j9.call(e,t)}))}:S9,Mu=A9,E9=md,O9=E9(Object.keys,Object),P9=O9,R9=Ds,I9=P9,D9=Object.prototype,F9=D9.hasOwnProperty;function U9(e){if(!R9(e))return I9(e);var t=[];for(var n in Object(e))F9.call(e,n)&&n!="constructor"&&t.push(n);return t}var L9=U9,W9=$d,N9=L9,Y9=nr;function B9(e){return Y9(e)?W9(e):N9(e)}var si=B9,H9=Qh,z9=Mu,V9=si;function G9(e){return H9(e,V9,z9)}var e0=G9,Lf=e0,q9=1,X9=Object.prototype,K9=X9.hasOwnProperty;function Q9(e,t,n,r,i,a){var o=n&q9,s=Lf(e),u=s.length,c=Lf(t),l=c.length;if(u!=l&&!o)return!1;for(var f=u;f--;){var d=s[f];if(!(o?d in t:K9.call(t,d)))return!1}var h=a.get(e),b=a.get(t);if(h&&b)return h==t&&b==e;var m=!0;a.set(e,t),a.set(t,e);for(var g=o;++f<u;){d=s[f];var y=e[d],_=t[d];if(r)var v=o?r(_,y,d,t,e,a):r(y,_,d,e,t,a);if(!(v===void 0?y===_||i(y,_,n,r,a):v)){m=!1;break}g||(g=d=="constructor")}if(m&&!g){var T=e.constructor,S=t.constructor;T!=S&&"constructor"in e&&"constructor"in t&&!(typeof T=="function"&&T instanceof T&&typeof S=="function"&&S instanceof S)&&(m=!1)}return a.delete(e),a.delete(t),m}var Z9=Q9,J9=_n,e$=Et,t$=J9(e$,"DataView"),n$=t$,r$=_n,i$=Et,a$=r$(i$,"Promise"),o$=a$,s$=_n,u$=Et,c$=s$(u$,"Set"),t0=c$,f$=_n,l$=Et,d$=f$(l$,"WeakMap"),h$=d$,os=n$,ss=Es,us=o$,cs=t0,fs=h$,n0=tn,sr=ud,Wf="[object Map]",b$="[object Object]",Nf="[object Promise]",Yf="[object Set]",Bf="[object WeakMap]",Hf="[object DataView]",g$=sr(os),m$=sr(ss),p$=sr(us),y$=sr(cs),v$=sr(fs),ln=n0;(os&&ln(new os(new ArrayBuffer(1)))!=Hf||ss&&ln(new ss)!=Wf||us&&ln(us.resolve())!=Nf||cs&&ln(new cs)!=Yf||fs&&ln(new fs)!=Bf)&&(ln=function(e){var t=n0(e),n=t==b$?e.constructor:void 0,r=n?sr(n):"";if(r)switch(r){case g$:return Hf;case m$:return Wf;case p$:return Nf;case y$:return Yf;case v$:return Bf}return t});var to=ln,ko=fa,x$=Kh,_$=x9,$$=Z9,zf=to,Vf=Qe,Gf=da,w$=Ws,T$=1,qf="[object Arguments]",Xf="[object Array]",xi="[object Object]",M$=Object.prototype,Kf=M$.hasOwnProperty;function C$(e,t,n,r,i,a){var o=Vf(e),s=Vf(t),u=o?Xf:zf(e),c=s?Xf:zf(t);u=u==qf?xi:u,c=c==qf?xi:c;var l=u==xi,f=c==xi,d=u==c;if(d&&Gf(e)){if(!Gf(t))return!1;o=!0,l=!1}if(d&&!l)return a||(a=new ko),o||w$(e)?x$(e,t,n,r,i,a):_$(e,t,u,n,r,i,a);if(!(n&T$)){var h=l&&Kf.call(e,"__wrapped__"),b=f&&Kf.call(t,"__wrapped__");if(h||b){var m=h?e.value():e,g=b?t.value():t;return a||(a=new ko),i(m,g,n,r,a)}}return d?(a||(a=new ko),$$(e,t,n,r,i,a)):!1}var S$=C$,k$=S$,Qf=yt;function r0(e,t,n,r,i){return e===t?!0:e==null||t==null||!Qf(e)&&!Qf(t)?e!==e&&t!==t:k$(e,t,n,r,r0,i)}var Cu=r0,j$=Cu;function A$(e,t){return j$(e,t)}var E$=A$;const O$=x.getDefaultExportFromCjs(E$);var i0=C.createContext(),P$=function(e){var t=e.children,n=e.animate,r=n===void 0||n,i=e.config,a=i===void 0?"default":i,o=C.useMemo(function(){var s=b_(a)?Hl[a]:a;return{animate:r,config:s}},[r,a]);return x.jsxRuntimeExports.jsx(i0.Provider,{value:o,children:t})},vt=function(){return C.useContext(i0)},R$=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?C.cloneElement(r,{},t):t},I$={position:"relative"},a0=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=r===void 0||r,a=e.isInteractive,o=a===void 0||a,s=e.animate,u=e.motionConfig,c=C.useRef(null);return x.jsxRuntimeExports.jsx(Kx,{theme:n,children:x.jsxRuntimeExports.jsx(P$,{animate:s,config:u,children:x.jsxRuntimeExports.jsx(s_,{container:c,children:x.jsxRuntimeExports.jsxs(R$,{condition:i,wrapper:x.jsxRuntimeExports.jsx("div",{style:I$,ref:c}),children:[t,o&&x.jsxRuntimeExports.jsx(o_,{})]})})})})},D$=function(e){var t=vt(),n=t.animate,r=t.config,i=function(s){var u=C.useRef();return C.useEffect(function(){u.current=s},[s]),u.current}(e),a=C.useMemo(function(){return Bd(i,e)},[i,e]),o=Yt({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value;return Ko(o,a)};C.createContext(void 0);var F$={basis:k3,basisClosed:j3,basisOpen:A3,bundle:E3,cardinal:O3,cardinalClosed:P3,cardinalOpen:R3,catmullRom:I3,catmullRomClosed:D3,catmullRomOpen:F3,linear:S3,linearClosed:U3,monotoneX:L3,monotoneY:W3,natural:N3,step:Y3,stepAfter:H3,stepBefore:B3},Su=Object.keys(F$);Su.filter(function(e){return e.endsWith("Closed")});qd(Su,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");qd(Su,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");function Zf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function U$(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(i,a){if(i){if(typeof i=="string")return Zf(i,a);var o={}.toString.call(i).slice(8,-1);return o==="Object"&&i.constructor&&(o=i.constructor.name),o==="Map"||o==="Set"?Array.from(i):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Zf(i,a):void 0}}(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function St(){return St=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},St.apply(null,arguments)}function o0(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}V(Sa),V(ka),V(ja),V(Aa),V(Ea),V(Oa),V(Pa),V(Ra),V(Ia),V(qa),V(Xa),V(Ka),V(Ja),V(Qa),V(Za),V(Da),V(Fa),V(Ua),V(La),V(Wa),V(Na),V(Ya),V(Ba),V(Ha),V(za),V(Va),V(Ga);V(Sa),V(ka),V(ja),V(Aa),V(Ea),V(Oa),V(Pa),V(Ra),V(Ia),V(qa),V(Xa),V(Ka),V(Ja),V(Qa),V(Za),V(Da),V(Fa),V(Ua),V(La),V(Wa),V(Na),V(Ya),V(Ba),V(Ha),V(za),V(Va),V(Ga);bn(gu);var L$={top:0,right:0,bottom:0,left:0},s0=function(e,t,n){return n===void 0&&(n={}),C.useMemo(function(){var r=St({},L$,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}},[e,t,n])},u0=function(){var e=C.useRef(null),t=C.useState({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=C.useState(function(){return typeof ResizeObserver>"u"?null:new ResizeObserver(function(a){var o=a[0];return r(o.contentRect)})})[0];return C.useEffect(function(){return e.current&&i!==null&&i.observe(e.current),function(){i!==null&&i.disconnect()}},[i]),[e,n]},W$=function(e){return typeof e=="function"?e:typeof e=="string"?e.indexOf("time:")===0?$u(e.slice("5")):pu(e):function(t){return""+t}},ku=function(e){return C.useMemo(function(){return W$(e)},[e])},c0=function(e){var t=e.children,n=u0(),r=n[0],i=n[1],a=i.width>0&&i.height>0;return x.jsxRuntimeExports.jsx("div",{ref:r,style:{width:"100%",height:"100%"},children:a&&t({width:i.width,height:i.height})})},N$=["id","colors"],Y$=function(e){var t=e.id,n=e.colors,r=o0(e,N$);return x.jsxRuntimeExports.jsx("linearGradient",St({id:t,x1:0,x2:0,y1:0,y2:1},r,{children:n.map(function(i){var a=i.offset,o=i.color,s=i.opacity;return x.jsxRuntimeExports.jsx("stop",{offset:a+"%",stopColor:o,stopOpacity:s!==void 0?s:1},a)})}))},f0={linearGradient:Y$},_r={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1},B$=C.memo(function(e){var t=e.id,n=e.background,r=n===void 0?_r.background:n,i=e.color,a=i===void 0?_r.color:i,o=e.size,s=o===void 0?_r.size:o,u=e.padding,c=u===void 0?_r.padding:u,l=e.stagger,f=l===void 0?_r.stagger:l,d=s+c,h=s/2,b=c/2;return f===!0&&(d=2*s+2*c),x.jsxRuntimeExports.jsxs("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[x.jsxRuntimeExports.jsx("rect",{width:d,height:d,fill:r}),x.jsxRuntimeExports.jsx("circle",{cx:b+h,cy:b+h,r:h,fill:a}),f&&x.jsxRuntimeExports.jsx("circle",{cx:1.5*c+s+h,cy:1.5*c+s+h,r:h,fill:a})]})}),Gr=function(e){return e*Math.PI/180},H$=function(e){return 180*e/Math.PI},z$=function(e,t){return{x:Math.cos(e)*t,y:Math.sin(e)*t}},V$=function(e){var t=e%360;return t<0&&(t+=360),t},G$={svg:{align:{left:"start",center:"middle",right:"end",start:"start",middle:"middle",end:"end"},baseline:{top:"text-before-edge",center:"central",bottom:"alphabetic"}},canvas:{align:{left:"left",center:"center",right:"right",start:"left",middle:"center",end:"right"},baseline:{top:"top",center:"middle",bottom:"bottom"}}},$r={spacing:5,rotation:0,background:"#000000",color:"#ffffff",lineWidth:2},q$=C.memo(function(e){var t=e.id,n=e.spacing,r=n===void 0?$r.spacing:n,i=e.rotation,a=i===void 0?$r.rotation:i,o=e.background,s=o===void 0?$r.background:o,u=e.color,c=u===void 0?$r.color:u,l=e.lineWidth,f=l===void 0?$r.lineWidth:l,d=Math.round(a)%360,h=Math.abs(r);d>180?d-=360:d>90?d-=180:d<-180?d+=360:d<-90&&(d+=180);var b,m=h,g=h;return d===0?b=`
3
3
  M 0 0 L `+m+` 0
4
4
  M 0 `+g+" L "+m+" "+g+`