hplx-feature-library 1.0.308 → 1.0.310

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 (49) hide show
  1. package/dist/{APIAction-BPjQvoDr.cjs → APIAction-BC572SUh.cjs} +1 -1
  2. package/dist/{APIAction-Cn6CnUPj.js → APIAction-Dh1jeN3Q.js} +2 -2
  3. package/dist/AllInvestigations/index.js +1 -1
  4. package/dist/{AllInvestigationsTable-o7sUrypz.js → AllInvestigationsTable-6WZYLxgn.js} +121 -121
  5. package/dist/AllInvestigationsTable-IN3Gv1wb.cjs +80 -0
  6. package/dist/Attachments/index.js +1 -1
  7. package/dist/Attachments-C5eZR_b9.cjs +186 -0
  8. package/dist/{Attachments-Bl0Bb93j.js → Attachments-Ddu-Ak3N.js} +36 -36
  9. package/dist/NineDots/index.js +1 -1
  10. package/dist/{NineDots-BenIdNn6.cjs → NineDots-CEKYCz_l.cjs} +1 -1
  11. package/dist/{NineDots-BovmR9lR.js → NineDots-CZxm95h0.js} +1 -1
  12. package/dist/PatientAddEdit/index.js +1 -1
  13. package/dist/{PatientAddEdit-BsvMkDPi.js → PatientAddEdit-Bsa6mPrj.js} +5 -5
  14. package/dist/{PatientAddEdit-CiUyGlRS.cjs → PatientAddEdit-CtM4xbMa.cjs} +1 -1
  15. package/dist/PatientPopup/index.js +1 -1
  16. package/dist/PatientPopupContainer-DOJniw5Q.cjs +36 -0
  17. package/dist/{PatientPopupContainer-BjejzoZp.js → PatientPopupContainer-VaUWBPAN.js} +512 -512
  18. package/dist/PediatricsCalculator/index.js +1 -1
  19. package/dist/{PediatricsCalculatorTable-CoHNZcKB.js → PediatricsCalculatorTable-Bsotwgba.js} +2 -2
  20. package/dist/{PediatricsCalculatorTable-Bfnfpscv.cjs → PediatricsCalculatorTable-C59lNMNS.cjs} +1 -1
  21. package/dist/{PrintModal-BYaI_gvN.cjs → PrintModal-D8CPsVQ6.cjs} +46 -46
  22. package/dist/{PrintModal-Dnu4I6Bq.js → PrintModal-DAhX2jNv.js} +587 -587
  23. package/dist/SearchPatients/index.js +1 -1
  24. package/dist/{SearchPatients-BURn-eU9.cjs → SearchPatients-1FVfZoeQ.cjs} +1 -1
  25. package/dist/{SearchPatients-BTmBvIpk.js → SearchPatients-tEIv_TBu.js} +3 -3
  26. package/dist/UserProfile/index.js +1 -1
  27. package/dist/{UserProfile-D9u7TGPM.js → UserProfile-CXotmcbO.js} +4 -4
  28. package/dist/{UserProfile-BcdsuEnn.cjs → UserProfile-DeVg1Gym.cjs} +1 -1
  29. package/dist/{common-utils-BmJs-CNu.cjs → common-utils-D1ID7-VY.cjs} +1 -1
  30. package/dist/{common-utils-fQX0KRKT.js → common-utils-P_6EPLut.js} +1 -1
  31. package/dist/{dayjs.min-Dx50Uhvr.js → dayjs.min-CI-igRZR.js} +15 -15
  32. package/dist/dayjs.min-Dq_-qqjW.cjs +1 -0
  33. package/dist/hplx-feature-library.css +1 -1
  34. package/dist/index-C8nmTIgQ.cjs +102 -0
  35. package/dist/{index-DPIXOYYJ.js → index-CJFGOBPb.js} +2 -2
  36. package/dist/{index-Cuk4eOa2.js → index-D9tHKxGo.js} +19 -19
  37. package/dist/index-DfcUmlge.cjs +17 -0
  38. package/dist/{index-D-5bovl6.js → index-Ku_Lrm51.js} +565 -565
  39. package/dist/index-fA2CtGkU.cjs +32 -0
  40. package/dist/index.js +9 -9
  41. package/dist/print-pdf/index.js +1 -1
  42. package/package.json +2 -2
  43. package/dist/AllInvestigationsTable-DKMxC37E.cjs +0 -80
  44. package/dist/Attachments-DP1L4bRq.cjs +0 -186
  45. package/dist/PatientPopupContainer-CNb0MKZc.cjs +0 -36
  46. package/dist/dayjs.min-QUFnA3Sz.cjs +0 -1
  47. package/dist/index-83gl7aAu.cjs +0 -32
  48. package/dist/index-D-bucTJp.cjs +0 -102
  49. package/dist/index-Dsi-BJd2.cjs +0 -17
@@ -1,80 +0,0 @@
1
- "use strict";const _=require("./index-D-bucTJp.cjs"),P8=require("./types/AllInvestigationTypes/index.js"),E=require("react"),T1=require("react-dom"),Zn=require("./dayjs.min-QUFnA3Sz.cjs"),Q=require("./clsx-C11secjj.cjs"),D1=require("./index-Dsi-BJd2.cjs"),A8=require("./useClickOutside-DsVG12Cs.cjs");function _8(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const x=_8(E),N1=E.createContext(void 0),hn=()=>{const e=E.useContext(N1);if(!e)throw new Error("useTableContext must be used within a TableProvider");return e},Mn={NEXT_PAGE:"next",PREV_PAGE:"prev"},kn={Left:"left",Right:"right"},S8=()=>{const{paginationProps:e,onPaginationClick:t,displayPaginationClassesToOverride:r}=hn(),n=E.useMemo(()=>Math.ceil(e.totalRecords/e.pageSize),[e.pageSize,e.totalRecords]),i=a=>{let o=e.activePage;a===Mn.PREV_PAGE&&e.activePage>1?o=o-1:a===Mn.NEXT_PAGE&&e.activePage<n&&(o=o+1),t?.(o)};return _.jsxRuntimeExports.jsxs("div",{className:"hfl-flex hfl-justify-between hfl-items-center hfl-gap-2",children:[_.jsxRuntimeExports.jsxs("h1",{className:`${r??""} hfl-text-Gray-500 hfl-font-inter hfl-leading-12 hfl-text-2 hfl-font-inter-0`,children:[`${e.pageSize*(e.activePage-1)+1}`,"-",`${e.pageSize*(e.activePage-1)+e.currentPageRowCount}`," of ",`${e.totalRecords}`]}),_.jsxRuntimeExports.jsx(_.Ku,{className:"hfl-mx-2 hfl-items-center hfl-justify-center",hierarchy:"Secondary-Grey",size:"sm",icon:"Only",iconFile:`${r??""} hx_left hfl-text-4 hfl-text-Gray-700`,onClick:()=>{i(Mn.PREV_PAGE)},textField:"",disabled:e.activePage===1||e.activePage===0}),_.jsxRuntimeExports.jsx(_.Ku,{className:"hfl-items-center hfl-justify-center",hierarchy:"Secondary-Grey",size:"sm",icon:"Only",iconFile:`${r??""} hx_right hfl-text-4 hfl-text-Gray-700`,onClick:()=>{i(Mn.NEXT_PAGE)},textField:"",disabled:!e.currentPageRowCount||e.activePage===n})]})};function I1(e){const{label:t,onCheck:r,isSelected:n,isDisabled:i}=e;return _.jsxRuntimeExports.jsxs("li",{className:"hfl-flex hfl-items-center hfl-w-full hfl-py-2",children:[_.jsxRuntimeExports.jsx("input",{type:"checkbox",checked:!i&&n,disabled:i,onChange:()=>!i&&r(t),className:"hfl-appearance-none hfl-mr-1 hfl-min-w-[16px] hfl-min-h-[16px] hfl-border-1 hfl-border-Gray-300 hfl-bg-white hfl-rounded-md hfl-checked:bg-blue-800 hfl-checked:border-transparent checked:hfl-bg-Blue-600 disabled:hfl-text-Gray-200 disabled:hfl-bg-Gray-200"}),_.jsxRuntimeExports.jsx("h3",{className:`hfl-overflow-hidden hfl-text-ellipsis hfl-whitespace-nowrap hfl-font-inter-0 hfl-text-[13px] ${i?"hfl-text-Gray-400":""}`,children:t})]})}const j8=e=>{const{options:t,filterclassname:r,filterButtonStyles:n="",clearFilterButtonStyles:i="",showApplyFilter:a=!1,onApplyFilter:o,onClearFilter:s}=e,[u,c]=E.useState([]),[l,f]=E.useState(0),h=E.useRef(null),d=E.useRef(null),p=E.useRef(null),m=E.useRef(null),[v,y]=E.useState(!1),b=()=>{o&&o(u),y(!1)},g=()=>{s&&s(),y(!1)},w=C=>{c(O=>O.map((P,S)=>S===C?{...P,isSelected:!P.isSelected}:{...P}))};return E.useEffect(()=>{c(t),f(t.filter(C=>C.isSelected&&!C.isDisabled).length)},[t]),E.useEffect(()=>{const C=O=>{O.target instanceof HTMLElement&&d.current&&!d.current.contains(O.target)&&h.current&&!h.current.contains(O.target)&&(!p.current||p&&p.current&&!p.current.contains(O.target))&&(!m.current||m&&m.current&&!m.current.contains(O.target))&&(y(!1),c(t))};return v?document.addEventListener("mousedown",C):document.removeEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)}},[v,d,y]),_.jsxRuntimeExports.jsxs("div",{className:"hfl-relative",style:{minWidth:"10rem"},children:[_.jsxRuntimeExports.jsxs("div",{ref:h,className:"hfl-flex hfl-items-center hfl-gap-4 hfl-cursor-pointer hfl-justify-between hfl-border hfl-px-2 hfl-py-1.5 hfl-rounded-md hfl-border-Gray-200",onClick:()=>y(!v),children:[_.jsxRuntimeExports.jsx("span",{className:"hfl-text-1 hfl-text-Gray-400",children:l>0?`${l} Selected`:"Select Table Filter"}),_.jsxRuntimeExports.jsx("i",{className:`${v?"hx_up":"hx_down"} hfl-text-1 hfl-text-Gray-500`})]}),v&&_.jsxRuntimeExports.jsxs("div",{className:`hfl-absolute hfl-z-50 hfl-rounded-lg hfl-bg-White hfl-shadow-4xl hfl-border-1 ${r}`,children:[_.jsxRuntimeExports.jsx("ul",{ref:d,className:"hfl-pb-1 hfl-px-3 hfl-py-2 hfl-max-h-[200px] hfl-rounded-lg hfl-overflow-y-scroll hfl-overflow-x-hidden ",children:u.map((C,O)=>_.jsxRuntimeExports.jsx(I1,{isSelected:C.isSelected,isDisabled:C.isDisabled??!1,label:C.name,onCheck:()=>w(O)},`dropdown-option-${C.name}`))}),a&&_.jsxRuntimeExports.jsxs("div",{className:"hfl-flex hfl-bg-White hfl-px-2 hfl-border-t hfl-gap-3 hfl-border-Gray-200",children:[_.jsxRuntimeExports.jsx("button",{onClick:b,className:`hfl-my-2 hfl-whitespace-nowrap hfl-text-White hfl-text-[13px] hfl-bg-Blue-600 hfl-cursor-pointer hover:hfl-bg-Blue-50 hover:hfl-border hover:hfl-border-Blue-300 hover:hfl-text-Blue-600 hfl-py-2 hfl-px-4 hfl-rounded-lg hfl-border-1 hfl-font-inter-0 ${n}`,ref:p,children:"Apply Filter"}),_.jsxRuntimeExports.jsx("button",{onClick:g,className:`hfl-my-2 hfl-whitespace-nowrap hfl-text-LightBlack-1 hfl-text-[13px] hfl-bg-White hfl-cursor-pointer hfl-py-2 hfl-px-4 hfl-rounded-lg hfl-border-1 hfl-border-gray-200 hfl-font-inter-0 ${i}`,ref:m,children:"Clear Filter"})]})]})]})},M8="data:image/svg+xml,%3csvg%20width='360'%20height='397'%20viewBox='0%200%20360%20397'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M116.526%20139.68L69.3729%20329.589C69.1276%20330.579%2068.9182%20331.578%2068.7507%20332.583C68.5831%20333.592%2068.4545%20334.603%2068.3677%20335.62C68.278%20336.637%2068.2301%20337.657%2068.2241%20338.678C68.2151%20339.698%2068.248%20340.718%2068.3198%20341.735C68.3916%20342.752%2068.5023%20343.767%2068.6549%20344.778C68.8075%20345.786%2068.999%20346.788%2069.2293%20347.782C69.4597%20348.778%2069.729%20349.762%2070.0371%20350.734C70.3453%20351.707%2070.6923%20352.667%2071.0753%20353.613C71.4582%20354.558%2071.8801%20355.488%2072.3348%20356.401C72.7925%20357.313%2073.2832%20358.208%2073.8097%20359.081C74.3393%20359.958%2074.8988%20360.811%2075.4941%20361.639C76.0865%20362.471%2076.7118%20363.276%2077.37%20364.057C78.0281%20364.838%2078.7163%20365.592%2079.4313%20366.319C80.1493%20367.046%2080.8943%20367.743%2081.6632%20368.413C82.435%20369.08%2083.2338%20369.717%2084.0536%20370.325C84.8763%20370.929%2085.72%20371.503%2086.5876%20372.042C104.574%20383.225%20134.312%20395.327%20179.784%20396.715C227.985%20398.184%20260.048%20384.344%20279.01%20371.782C279.841%20371.228%20280.652%20370.648%20281.436%20370.034C282.223%20369.421%20282.986%20368.778%20283.722%20368.105C284.461%20367.432%20285.17%20366.734%20285.855%20366.007C286.537%20365.28%20287.192%20364.529%20287.817%20363.752C288.443%20362.974%20289.038%20362.175%20289.603%20361.352C290.166%20360.529%20290.698%20359.686%20291.198%20358.824C291.698%20357.96%20292.164%20357.08%20292.595%20356.179C293.026%20355.282%20293.424%20354.366%20293.786%20353.436C294.145%20352.506%20294.471%20351.566%20294.761%20350.609C295.049%20349.654%20295.303%20348.691%20295.515%20347.719C295.731%20346.743%20295.907%20345.762%20296.048%20344.775C296.188%20343.788%20296.29%20342.797%20296.353%20341.801C296.416%20340.805%20296.44%20339.808%20296.428%20338.812C296.416%20337.816%20296.362%20336.82%20296.272%20335.826C296.182%20334.833%20296.057%20333.843%20295.889%20332.862C295.725%20331.877%20295.521%20330.902%20295.282%20329.933L248.039%20139.68'%20fill='%23F4F4F4'/%3e%3cpath%20d='M295.48%20110.343C295.48%20110.968%20295.435%20111.593%20295.345%20112.215C295.252%20112.841%20295.117%20113.463%20294.935%20114.082C294.753%20114.705%20294.528%20115.324%20294.256%20115.943C293.984%20116.56%20293.666%20117.176%20293.304%20117.786C292.945%20118.399%20292.539%20119.01%20292.087%20119.614C291.638%20120.221%20291.144%20120.823%20290.606%20121.421C290.067%20122.017%20289.487%20122.609%20288.865%20123.198C288.239%20123.788%20287.572%20124.368%20286.863%20124.945C286.154%20125.523%20285.403%20126.094%20284.613%20126.657C283.821%20127.222%20282.989%20127.779%20282.115%20128.329C281.242%20128.883%20280.329%20129.424%20279.375%20129.96C278.423%20130.495%20277.433%20131.022%20276.404%20131.542C275.375%20132.063%20274.307%20132.572%20273.203%20133.074C272.102%20133.577%20270.962%20134.067%20269.786%20134.549C268.61%20135.034%20267.402%20135.506%20266.157%20135.967C264.913%20136.431%20263.635%20136.883%20262.325%20137.325C261.014%20137.765%20259.674%20138.196%20258.301%20138.615C256.93%20139.037%20255.527%20139.444%20254.094%20139.839C252.661%20140.236%20251.201%20140.619%20249.714%20140.99C248.227%20141.364%20246.714%20141.723%20245.173%20142.07C243.632%20142.417%20242.067%20142.75%20240.479%20143.073C238.89%20143.393%20237.278%20143.701%20235.644%20143.994C234.01%20144.29%20232.356%20144.572%20230.681%20144.838C229.005%20145.104%20227.312%20145.358%20225.601%20145.595C223.889%20145.834%20222.163%20146.058%20220.419%20146.271C218.675%20146.48%20216.915%20146.678%20215.141%20146.857C213.37%20147.04%20211.584%20147.204%20209.786%20147.357C207.991%20147.509%20206.184%20147.647%20204.365%20147.767C202.549%20147.889%20200.724%20147.997%20198.893%20148.087C197.059%20148.18%20195.222%20148.254%20193.379%20148.317C191.533%20148.377%20189.687%20148.425%20187.838%20148.455C185.987%20148.485%20184.135%20148.5%20182.283%20148.5C180.431%20148.5%20178.579%20148.485%20176.727%20148.455C174.878%20148.425%20173.032%20148.377%20171.186%20148.317C169.343%20148.254%20167.506%20148.18%20165.672%20148.087C163.841%20147.997%20162.016%20147.889%20160.197%20147.767C158.381%20147.647%20156.574%20147.509%20154.776%20147.357C152.981%20147.204%20151.195%20147.04%20149.424%20146.857C147.65%20146.678%20145.891%20146.48%20144.147%20146.271C142.402%20146.058%20140.676%20145.834%20138.965%20145.595C137.254%20145.358%20135.56%20145.104%20133.885%20144.838C132.209%20144.572%20130.555%20144.29%20128.921%20143.994C127.288%20143.701%20125.675%20143.393%20124.087%20143.073C122.498%20142.75%20120.933%20142.417%20119.393%20142.07C117.852%20141.723%20116.338%20141.364%20114.851%20140.99C113.361%20140.619%20111.901%20140.236%20110.471%20139.839C109.038%20139.444%20107.635%20139.037%20106.265%20138.615C104.891%20138.196%20103.548%20137.765%20102.241%20137.325C100.93%20136.883%2099.6529%20136.431%2098.4083%20135.967C97.1637%20135.506%2095.9551%20135.034%2094.7793%20134.549C93.6035%20134.067%2092.4637%20133.577%2091.3597%20133.074C90.2587%20132.572%2089.1907%20132.063%2088.1615%20131.542C87.1323%20131.022%2086.142%20130.495%2085.1907%20129.96C84.2363%20129.424%2083.3238%20128.883%2082.4502%20128.329C81.5766%20127.779%2080.7449%20127.222%2079.9521%20126.657C79.1622%20126.094%2078.4113%20125.523%2077.7022%20124.945C76.9932%20124.368%2076.326%20123.788%2075.7008%20123.198C75.0785%20122.609%2074.4981%20122.017%2073.9595%20121.421C73.421%20120.823%2072.9274%20120.221%2072.4756%20119.614C72.0269%20119.01%2071.62%20118.399%2071.261%20117.786C70.899%20117.176%2070.5818%20116.56%2070.3096%20115.943C70.0373%20115.324%2069.8099%20114.705%2069.6304%20114.082C69.4479%20113.463%2069.3133%20112.841%2069.2206%20112.215C69.1308%20111.593%2069.0859%20110.968%2069.0859%20110.343C69.0859%20109.72%2069.1308%20109.095%2069.2206%20108.47C69.3133%20107.848%2069.4479%20107.225%2069.6304%20106.603C69.8099%20105.981%2070.0373%20105.361%2070.3096%20104.745C70.5818%20104.126%2070.899%20103.512%2071.261%20102.899C71.62%20102.286%2072.0269%20101.678%2072.4756%20101.071C72.9274%20100.467%2073.421%2099.8654%2073.9595%2099.2671C74.4981%2098.6687%2075.0785%2098.0764%2075.7008%2097.49C76.326%2096.9006%2076.9932%2096.3172%2077.7022%2095.7398C78.4113%2095.1654%2079.1622%2094.5939%2079.9521%2094.0285C80.7449%2093.463%2081.5766%2092.9066%2082.4502%2092.3561C83.3238%2091.8056%2084.2363%2091.2611%2085.1907%2090.7256C86.142%2090.19%2087.1323%2089.6635%2088.1615%2089.1429C89.1907%2088.6253%2090.2587%2088.1138%2091.3597%2087.6141C92.4637%2087.1115%2093.6035%2086.6179%2094.7793%2086.1362C95.9551%2085.6545%2097.1637%2085.1818%2098.4083%2084.7181C99.6529%2084.2544%20100.93%2083.8026%20102.241%2083.3628C103.548%2082.92%20104.891%2082.4892%20106.265%2082.0704C107.635%2081.6515%20109.038%2081.2446%20110.471%2080.8467C111.901%2080.4518%20113.361%2080.0659%20114.851%2079.6949C116.338%2079.3239%20117.852%2078.9649%20119.393%2078.6179C120.933%2078.2708%20122.498%2077.9357%20124.087%2077.6156C125.675%2077.2925%20127.288%2076.9873%20128.921%2076.6912C130.555%2076.398%20132.209%2076.1167%20133.885%2075.8505C135.56%2075.5812%20137.254%2075.3299%20138.965%2075.0906C140.676%2074.8512%20142.402%2074.6268%20144.147%2074.4174C145.891%2074.205%20147.65%2074.0105%20149.424%2073.828C151.195%2073.6485%20152.981%2073.481%20154.776%2073.3284C156.574%2073.1788%20158.381%2073.0412%20160.197%2072.9185C162.016%2072.7959%20163.841%2072.6912%20165.672%2072.5984C167.506%2072.5087%20169.343%2072.4309%20171.186%2072.371C173.032%2072.3082%20174.878%2072.2633%20176.727%2072.2334C178.579%2072.2005%20180.431%2072.1855%20182.283%2072.1855C184.135%2072.1855%20185.987%2072.2005%20187.838%2072.2334C189.687%2072.2633%20191.533%2072.3082%20193.379%2072.371C195.222%2072.4309%20197.059%2072.5087%20198.893%2072.5984C200.724%2072.6912%20202.549%2072.7959%20204.365%2072.9185C206.184%2073.0412%20207.991%2073.1788%20209.786%2073.3284C211.584%2073.481%20213.37%2073.6485%20215.141%2073.828C216.915%2074.0105%20218.675%2074.205%20220.419%2074.4174C222.163%2074.6268%20223.889%2074.8512%20225.601%2075.0906C227.312%2075.3299%20229.005%2075.5812%20230.681%2075.8505C232.356%2076.1167%20234.01%2076.398%20235.644%2076.6912C237.278%2076.9873%20238.89%2077.2925%20240.479%2077.6156C242.067%2077.9357%20243.632%2078.2708%20245.173%2078.6179C246.714%2078.9649%20248.227%2079.3239%20249.714%2079.6949C251.201%2080.0659%20252.661%2080.4518%20254.094%2080.8467C255.527%2081.2446%20256.93%2081.6515%20258.301%2082.0704C259.674%2082.4892%20261.014%2082.92%20262.325%2083.3628C263.635%2083.8026%20264.913%2084.2544%20266.157%2084.7181C267.402%2085.1818%20268.61%2085.6545%20269.786%2086.1362C270.962%2086.6179%20272.102%2087.1115%20273.203%2087.6141C274.307%2088.1138%20275.375%2088.6253%20276.404%2089.1429C277.433%2089.6635%20278.423%2090.19%20279.375%2090.7256C280.329%2091.2611%20281.242%2091.8056%20282.115%2092.3561C282.989%2092.9066%20283.821%2093.463%20284.613%2094.0285C285.403%2094.5939%20286.154%2095.1654%20286.863%2095.7398C287.572%2096.3172%20288.239%2096.9006%20288.865%2097.49C289.487%2098.0764%20290.067%2098.6687%20290.606%2099.2671C291.144%2099.8654%20291.638%20100.467%20292.087%20101.071C292.539%20101.678%20292.945%20102.286%20293.304%20102.899C293.666%20103.512%20293.984%20104.126%20294.256%20104.745C294.528%20105.361%20294.753%20105.981%20294.935%20106.603C295.117%20107.225%20295.252%20107.848%20295.345%20108.47C295.435%20109.095%20295.48%20109.72%20295.48%20110.343Z'%20fill='%23262626'/%3e%3cpath%20d='M182.283%20149.135C151.98%20149.135%20123.48%20145.152%20102.038%20137.924C80.3804%20130.621%2068.4521%20120.826%2068.4521%20110.343C68.4521%2099.857%2080.3774%2090.0619%20102.038%2082.762C123.48%2075.5339%20151.98%2071.5488%20182.283%2071.5488C212.587%2071.5488%20241.084%2075.5309%20262.529%2082.762C284.186%2090.0619%20296.114%2099.857%20296.114%20110.343C296.114%20120.826%20284.189%20130.621%20262.529%20137.924C241.084%20145.152%20212.587%20149.135%20182.283%20149.135ZM182.283%2072.8203C152.114%2072.8203%20123.758%2076.7785%20102.442%2083.9617C81.3407%2091.0761%2069.7177%20100.443%2069.7177%20110.343C69.7177%20120.243%2081.3407%20129.613%20102.442%20136.725C123.758%20143.911%20152.114%20147.869%20182.283%20147.869C212.452%20147.869%20240.808%20143.911%20262.125%20136.725C283.226%20129.613%20294.849%20120.243%20294.849%20110.343C294.849%20100.446%20283.226%2091.0761%20262.125%2083.9617C240.808%2076.7785%20212.452%2072.8203%20182.283%2072.8203Z'%20fill='%23262626'/%3e%3cpath%20d='M331.01%2093.0646C331.01%2093.7347%20330.95%2094.4049%20330.83%2095.072C330.711%2095.7422%20330.531%2096.4094%20330.295%2097.0735C330.056%2097.7407%20329.756%2098.4049%20329.4%2099.0661C329.044%2099.7302%20328.628%20100.388%20328.153%20101.044C327.677%20101.702%20327.145%20102.354%20326.552%20103.003C325.96%20103.652%20325.314%20104.299%20324.604%20104.939C323.898%20105.579%20323.136%20106.213%20322.316%20106.845C321.496%20107.473%20320.619%20108.098%20319.689%20108.718C318.759%20109.334%20317.771%20109.947%20316.73%20110.551C315.689%20111.156%20314.597%20111.754%20313.448%20112.347C312.302%20112.936%20311.103%20113.516%20309.849%20114.091C308.599%20114.665%20307.297%20115.231%20305.945%20115.787C304.592%20116.344%20303.192%20116.891%20301.741%20117.43C300.29%20117.965%20298.794%20118.495%20297.251%20119.012C295.707%20119.53%20294.118%20120.035%20292.482%20120.532C290.848%20121.029%20289.17%20121.513%20287.45%20121.986C285.726%20122.459%20283.964%20122.919%20282.163%20123.368C280.359%20123.82%20278.516%20124.257%20276.634%20124.682C274.753%20125.106%20272.835%20125.516%20270.878%20125.914C268.925%20126.315%20266.935%20126.701%20264.91%20127.072C262.887%20127.443%20260.832%20127.802%20258.744%20128.146C256.655%20128.49%20254.54%20128.819%20252.392%20129.136C250.247%20129.451%20248.072%20129.753%20245.873%20130.037C243.671%20130.324%20241.448%20130.593%20239.198%20130.851C236.948%20131.108%20234.678%20131.347%20232.386%20131.575C230.094%20131.799%20227.785%20132.008%20225.457%20132.203C223.126%20132.397%20220.781%20132.577%20218.42%20132.738C216.06%20132.9%20213.684%20133.047%20211.297%20133.178C208.91%20133.31%20206.513%20133.424%20204.105%20133.522C201.696%20133.621%20199.282%20133.702%20196.862%20133.768C194.438%20133.833%20192.012%20133.881%20189.58%20133.914C187.15%20133.947%20184.718%20133.965%20182.283%20133.965C179.847%20133.965%20177.415%20133.947%20174.986%20133.914C172.554%20133.881%20170.127%20133.833%20167.704%20133.768C165.284%20133.702%20162.866%20133.621%20160.461%20133.522C158.052%20133.424%20155.656%20133.31%20153.269%20133.178C150.881%20133.047%20148.506%20132.9%20146.145%20132.738C143.785%20132.577%20141.439%20132.397%20139.108%20132.203C136.781%20132.008%20134.471%20131.799%20132.177%20131.575C129.885%20131.347%20127.617%20131.108%20125.367%20130.851C123.117%20130.593%20120.895%20130.324%20118.693%20130.037C116.494%20129.753%20114.319%20129.451%20112.174%20129.136C110.025%20128.819%20107.91%20128.49%20105.822%20128.146C103.734%20127.802%20101.678%20127.443%2099.6529%20127.072C97.6305%20126.701%2095.641%20126.315%2093.6873%20125.914C91.7307%20125.516%2089.813%20125.106%2087.9312%20124.682C86.0493%20124.257%2084.2064%20123.82%2082.4024%20123.368C80.6013%20122.919%2078.8392%20122.459%2077.1159%20121.986C75.3956%20121.513%2073.7173%20121.029%2072.0837%20120.532C70.4472%20120.035%2068.8586%20119.53%2067.3148%20119.012C65.7711%20118.495%2064.2752%20117.965%2062.8242%20117.43C61.3732%20116.891%2059.973%20116.344%2058.6208%20115.787C57.2685%20115.231%2055.967%20114.665%2054.7165%20114.091C53.4629%20113.516%2052.2632%20112.936%2051.1174%20112.347C49.9685%20111.754%2048.8765%20111.156%2047.8354%20110.551C46.7943%20109.947%2045.807%20109.334%2044.8765%20108.718C43.9461%20108.098%2043.0695%20107.473%2042.2498%20106.845C41.43%20106.213%2040.6671%20105.579%2039.9611%20104.939C39.252%20104.299%2038.6028%20103.652%2038.0134%20103.003C37.421%20102.354%2036.8885%20101.702%2036.4128%20101.044C35.9371%20100.388%2035.5213%2099.7302%2035.1652%2099.0661C34.8092%2098.4049%2034.51%2097.7407%2034.2707%2097.0735C34.0343%2096.4094%2033.8548%2095.7422%2033.7352%2095.072C33.6155%2094.4049%2033.5557%2093.7347%2033.5557%2093.0646C33.5557%2092.3974%2033.6155%2091.7272%2033.7352%2091.0601C33.8548%2090.3899%2034.0343%2089.7227%2034.2707%2089.0586C34.51%2088.3914%2034.8092%2087.7272%2035.1652%2087.066C35.5213%2086.4019%2035.9371%2085.7437%2036.4128%2085.0855C36.8885%2084.4303%2037.421%2083.7781%2038.0134%2083.1289C38.6028%2082.4797%2039.252%2081.8334%2039.9611%2081.1932C40.6671%2080.5529%2041.43%2079.9187%2042.2498%2079.2874C43.0695%2078.6562%2043.9461%2078.0339%2044.8765%2077.4146C45.807%2076.7953%2046.7943%2076.185%2047.8354%2075.5806C48.8765%2074.9733%2049.9685%2074.3779%2051.1174%2073.7856C52.2632%2073.1962%2053.4629%2072.6128%2054.7165%2072.0384C55.967%2071.4669%2057.2685%2070.9015%2058.6208%2070.345C59.973%2069.7885%2061.3732%2069.241%2062.8242%2068.7025C64.2752%2068.164%2065.7711%2067.6375%2067.3148%2067.1199C68.8586%2066.6023%2070.4472%2066.0967%2072.0837%2065.6001C73.7173%2065.1034%2075.3956%2064.6188%2077.1159%2064.1461C78.8392%2063.6734%2080.6013%2063.2126%2082.4024%2062.7609C84.2064%2062.3121%2086.0493%2061.8753%2087.9312%2061.4505C89.813%2061.0256%2091.7307%2060.6158%2093.6873%2060.2149C95.641%2059.817%2097.6305%2059.431%2099.6529%2059.06C101.678%2058.6891%20103.734%2058.33%20105.822%2057.986C107.91%2057.6419%20110.025%2057.3128%20112.174%2056.9957C114.319%2056.6816%20116.494%2056.3794%20118.693%2056.0952C120.895%2055.808%20123.117%2055.5357%20125.367%2055.2814C127.617%2055.0241%20129.885%2054.7848%20132.177%2054.5574C134.471%2054.333%20136.781%2054.1236%20139.108%2053.9291C141.439%2053.7347%20143.785%2053.5552%20146.145%2053.3936C148.506%2053.2291%20150.881%2053.0825%20153.269%2052.9538C155.656%2052.8222%20158.052%2052.7085%20160.461%2052.6098C162.866%2052.511%20165.284%2052.4303%20167.704%2052.3644C170.127%2052.2986%20172.554%2052.2508%20174.986%2052.2179C177.415%2052.1849%20179.847%2052.167%20182.283%2052.167C184.718%2052.167%20187.15%2052.1849%20189.58%2052.2179C192.012%2052.2508%20194.438%2052.2986%20196.862%2052.3644C199.282%2052.4303%20201.696%2052.511%20204.105%2052.6098C206.513%2052.7085%20208.91%2052.8222%20211.297%2052.9538C213.684%2053.0825%20216.06%2053.2291%20218.42%2053.3936C220.781%2053.5552%20223.126%2053.7347%20225.457%2053.9291C227.785%2054.1236%20230.094%2054.333%20232.386%2054.5574C234.678%2054.7848%20236.948%2055.0241%20239.198%2055.2814C241.448%2055.5357%20243.671%2055.808%20245.873%2056.0952C248.072%2056.3794%20250.247%2056.6816%20252.392%2056.9957C254.54%2057.3128%20256.655%2057.6419%20258.744%2057.986C260.832%2058.33%20262.887%2058.6891%20264.91%2059.06C266.935%2059.431%20268.925%2059.817%20270.878%2060.2149C272.835%2060.6158%20274.753%2061.0256%20276.634%2061.4505C278.516%2061.8753%20280.359%2062.3121%20282.163%2062.7609C283.964%2063.2126%20285.726%2063.6734%20287.45%2064.1461C289.17%2064.6188%20290.848%2065.1034%20292.482%2065.6001C294.118%2066.0967%20295.707%2066.6023%20297.251%2067.1199C298.794%2067.6375%20300.29%2068.164%20301.741%2068.7025C303.192%2069.241%20304.592%2069.7885%20305.945%2070.345C307.297%2070.9015%20308.599%2071.4669%20309.849%2072.0384C311.103%2072.6128%20312.302%2073.1962%20313.448%2073.7856C314.597%2074.3779%20315.689%2074.9733%20316.73%2075.5806C317.771%2076.185%20318.759%2076.7953%20319.689%2077.4146C320.619%2078.0339%20321.496%2078.6562%20322.316%2079.2874C323.136%2079.9187%20323.898%2080.5529%20324.604%2081.1932C325.314%2081.8334%20325.96%2082.4797%20326.552%2083.1289C327.145%2083.7781%20327.677%2084.4303%20328.153%2085.0855C328.628%2085.7437%20329.044%2086.4019%20329.4%2087.066C329.756%2087.7272%20330.056%2088.3914%20330.295%2089.0586C330.531%2089.7227%20330.711%2090.3899%20330.83%2091.0601C330.95%2091.7272%20331.01%2092.3974%20331.01%2093.0646Z'%20fill='%23367CFF'/%3e%3cpath%20d='M182.282%20134.597C142.501%20134.597%20105.091%20130.337%2076.9479%20122.597C48.5559%20114.788%2032.9209%20104.302%2032.9209%2093.065C32.9209%2081.8279%2048.5559%2071.3417%2076.9479%2063.5332C105.091%2055.7935%20142.501%2051.5332%20182.282%2051.5332C222.064%2051.5332%20259.473%2055.7935%20287.617%2063.5332C316.006%2071.3417%20331.644%2081.8279%20331.644%2093.065C331.644%20104.302%20316.006%20114.788%20287.617%20122.597C259.473%20130.337%20222.064%20134.597%20182.282%20134.597ZM182.282%2052.8017C142.611%2052.8017%20105.322%2057.047%2077.2829%2064.7568C63.6883%2068.4966%2053.0226%2072.8436%2045.5881%2077.6783C38.0219%2082.5968%2034.1894%2087.7726%2034.1894%2093.065C34.1894%2098.3605%2038.0219%20103.536%2045.5881%20108.455C53.0226%20113.289%2063.6883%20117.636%2077.2829%20121.376C105.322%20129.086%20142.608%20133.331%20182.282%20133.331C221.956%20133.331%20259.243%20129.086%20287.279%20121.376C300.876%20117.636%20311.539%20113.289%20318.976%20108.455C326.54%20103.536%20330.375%2098.3605%20330.375%2093.065C330.375%2087.7726%20326.54%2082.5968%20318.976%2077.6783C311.539%2072.8436%20300.876%2068.4966%20287.279%2064.7568C259.243%2057.047%20221.953%2052.8047%20182.282%2052.8047V52.8017Z'%20fill='%23262626'/%3e%3cpath%20d='M250.713%2069.2299C250.713%2087.3092%20219.365%2091.5695%20186.674%2092.3444C151.057%2093.1851%20113.852%2087.034%20113.852%2069.2299C113.855%2068.111%20113.887%2066.9951%20113.944%2065.8791C114.001%2064.7632%20114.088%2063.6503%20114.202%2062.5373C114.312%2061.4274%20114.453%2060.3174%20114.62%2059.2135C114.785%2058.1095%20114.979%2057.0085%20115.201%2055.9135C115.422%2054.8185%20115.671%2053.7295%20115.943%2052.6435C116.218%2051.5605%20116.517%2050.4864%20116.846%2049.4184C117.172%2048.3473%20117.525%2047.2882%20117.905%2046.2381C118.282%2045.185%20118.689%2044.1439%20119.117%2043.1147C119.548%2042.0826%20120.003%2041.0624%20120.484%2040.0511C120.963%2039.0429%20121.469%2038.0466%20121.995%2037.0624C122.525%2036.0781%20123.078%2035.1057%20123.656%2034.1484C124.23%2033.191%20124.831%2032.2486%20125.454%2031.3211C126.076%2030.3937%20126.722%2029.4812%20127.389%2028.5837C128.057%2027.6891%20128.745%2026.8095%20129.457%2025.9449C130.166%2025.0833%20130.899%2024.2396%20131.65%2023.4109C132.401%2022.5852%20133.172%2021.7774%20133.965%2020.9875C134.758%2020.2007%20135.566%2019.4288%20136.398%2018.6809C137.226%2017.9329%20138.073%2017.203%20138.938%2016.4939C139.802%2015.7878%20140.685%2015.1027%20141.582%2014.4356C142.483%2013.7714%20143.395%2013.1311%20144.326%2012.5089C145.256%2011.8896%20146.202%2011.2942%20147.162%2010.7198C148.119%2010.1454%20149.095%209.59786%20150.079%209.07131C151.066%208.54476%20152.065%208.04513%20153.077%207.56645C154.088%207.09076%20155.108%206.639%20156.143%206.21117C157.175%205.78335%20158.217%205.38245%20159.27%205.00848C160.323%204.63152%20161.385%204.28148%20162.456%203.95837C163.524%203.63526%20164.601%203.33608%20165.687%203.06682C166.77%202.79457%20167.862%202.54924%20168.957%202.33383C170.055%202.11544%20171.156%201.92396%20172.26%201.75941C173.367%201.59786%20174.477%201.46024%20175.59%201.35253C176.703%201.24184%20177.816%201.16106%20178.932%201.10422C180.051%201.05036%20181.166%201.02344%20182.285%201.02344C183.401%201.02344%20184.52%201.05036%20185.636%201.10422C186.752%201.16106%20187.868%201.24184%20188.978%201.35253C190.091%201.46024%20191.201%201.59786%20192.308%201.75941C193.412%201.92396%20194.513%202.11544%20195.611%202.33383C196.706%202.54924%20197.798%202.79457%20198.881%203.06682C199.967%203.33608%20201.044%203.63526%20202.115%203.95837C203.183%204.28148%20204.245%204.63152%20205.298%205.00848C206.351%205.38245%20207.392%205.78335%20208.428%206.21117C209.46%206.639%20210.483%207.09076%20211.494%207.56645C212.502%208.04513%20213.502%208.54476%20214.489%209.07131C215.476%209.59786%20216.448%2010.1454%20217.406%2010.7198C218.366%2011.2942%20219.312%2011.8896%20220.242%2012.5089C221.173%2013.1311%20222.085%2013.7714%20222.986%2014.4356C223.883%2015.1027%20224.766%2015.7878%20225.63%2016.4939C226.495%2017.203%20227.342%2017.9329%20228.173%2018.6809C229.002%2019.4288%20229.813%2020.2007%20230.603%2020.9875C231.395%2021.7774%20232.167%2022.5852%20232.918%2023.4109C233.672%2024.2396%20234.402%2025.0833%20235.111%2025.9449C235.823%2026.8095%20236.511%2027.6891%20237.178%2028.5837C237.849%2029.4812%20238.492%2030.3937%20239.114%2031.3211C239.736%2032.2486%20240.338%2033.191%20240.915%2034.1484C241.49%2035.1057%20242.043%2036.0781%20242.573%2037.0624C243.102%2038.0466%20243.605%2039.0429%20244.087%2040.0511C244.565%2041.0624%20245.02%2042.0826%20245.451%2043.1147C245.882%2044.1439%20246.285%2045.185%20246.665%2046.2381C247.042%2047.2882%20247.395%2048.3473%20247.722%2049.4184C248.051%2050.4864%20248.35%2051.5605%20248.625%2052.6435C248.9%2053.7295%20249.146%2054.8185%20249.367%2055.9135C249.588%2057.0085%20249.783%2058.1095%20249.95%2059.2135C250.115%2060.3174%20250.256%2061.4274%20250.369%2062.5373C250.48%2063.6503%20250.567%2064.7632%20250.624%2065.8791C250.683%2066.9951%20250.713%2068.111%20250.716%2069.2299H250.713Z'%20fill='white'/%3e%3cpath%20d='M241.831%2065.6516C241.66%2065.6516%20241.513%2065.5917%20241.391%2065.4721C241.268%2065.3524%20241.205%2065.2088%20241.199%2065.0353C241.005%2058.5012%20239.739%2052.1796%20237.403%2046.0704C237.34%2045.9058%20237.346%2045.7443%20237.418%2045.5857C237.486%2045.4272%20237.606%2045.3165%20237.768%2045.2536C237.932%2045.1908%20238.094%2045.1938%20238.252%2045.2656C238.414%2045.3374%20238.525%2045.4541%20238.587%2045.6186C240.975%2051.8595%20242.267%2058.3187%20242.465%2064.9994C242.471%2065.1729%20242.414%2065.3225%20242.294%2065.4511C242.175%2065.5798%20242.028%2065.6456%20241.851%2065.6516H241.831Z'%20fill='%23262626'/%3e%3cpath%20d='M232.368%2035.4556C232.14%2035.4556%20231.964%2035.3599%20231.838%2035.1654C229.768%2032.0061%20227.413%2029.0772%20224.775%2026.3726C222.136%2023.668%20219.264%2021.2447%20216.155%2019.0966C213.047%2016.9485%20209.762%2015.1205%20206.3%2013.6067C202.836%2012.0959%20199.261%2010.9291%20195.572%2010.1123C195.407%2010.0704%20195.279%209.97768%20195.186%209.83108C195.096%209.68449%20195.069%209.52892%20195.105%209.36138C195.141%209.19384%20195.231%209.0622%20195.374%208.96945C195.518%208.87372%20195.674%208.84081%20195.841%208.87372C199.611%209.71141%20203.264%2010.9021%20206.803%2012.4459C210.339%2013.9897%20213.699%2015.8595%20216.873%2018.0555C220.051%2020.2484%20222.986%2022.7256%20225.681%2025.49C228.377%2028.2514%20230.782%2031.2462%20232.897%2034.4743C233.035%2034.6867%20233.044%2034.9022%20232.924%2035.1235C232.805%2035.3419%20232.619%2035.4526%20232.368%2035.4556Z'%20fill='%23262626'/%3e%3cpath%20d='M180.038%2093.0532C149.783%2093.0532%20126.749%2087.9672%20117.726%2079.1624C114.734%2076.2424%20113.217%2072.9006%20113.217%2069.2297C113.214%2068.0958%20113.238%2066.9649%20113.292%2065.834C113.343%2064.7061%20113.423%2063.5752%20113.531%2062.4503C113.639%2061.3224%20113.777%2060.2005%20113.938%2059.0786C114.103%2057.9597%20114.294%2056.8437%20114.512%2055.7338C114.731%2054.6238%20114.976%2053.5199%20115.248%2052.4189C115.521%2051.3209%20115.82%2050.2289%20116.146%2049.1459C116.472%2048.0629%20116.825%2046.9858%20117.205%2045.9208C117.582%2044.8557%20117.989%2043.7966%20118.42%2042.7525C118.851%2041.7053%20119.308%2040.6702%20119.79%2039.644C120.272%2038.6208%20120.777%2037.6096%20121.31%2036.6103C121.842%2035.6111%20122.399%2034.6268%20122.979%2033.6545C123.56%2032.6821%20124.161%2031.7248%20124.789%2030.7824C125.418%2029.84%20126.067%2028.9155%20126.74%2028.003C127.413%2027.0935%20128.107%2026.202%20128.825%2025.3254C129.543%2024.4488%20130.279%2023.5901%20131.039%2022.7495C131.799%2021.9118%20132.577%2021.092%20133.379%2020.2902C134.177%2019.4884%20134.997%2018.7076%20135.835%2017.9447C136.673%2017.1848%20137.528%2016.4428%20138.402%2015.7248C139.278%2015.0067%20140.17%2014.3097%20141.076%2013.6335C141.986%2012.9574%20142.91%2012.3052%20143.853%2011.6769C144.792%2011.0456%20145.747%2010.4383%20146.719%209.8579C147.688%209.2745%20148.673%208.71504%20149.672%208.1825C150.671%207.64698%20151.679%207.13838%20152.702%206.65371C153.726%206.16904%20154.761%205.70831%20155.808%205.2745C156.852%204.84069%20157.908%204.43381%20158.976%204.05086C160.041%203.66792%20161.115%203.31189%20162.198%202.9828C163.281%202.6537%20164.373%202.35154%20165.471%202.07629C166.569%201.80105%20167.673%201.55273%20168.783%201.33134C169.896%201.10995%20171.009%200.918475%20172.131%200.750935C173.25%200.583396%20174.375%200.445775%20175.5%200.335079C176.628%200.224383%20177.756%200.140614%20178.886%200.0837697C180.017%200.0299181%20181.148%200%20182.282%200C183.413%200%20184.547%200.0299181%20185.678%200.0837697C186.809%200.140614%20187.937%200.224383%20189.065%200.335079C190.189%200.445775%20191.314%200.583396%20192.433%200.750935C193.552%200.918475%20194.668%201.10995%20195.778%201.33134C196.891%201.55273%20197.995%201.80105%20199.093%202.07629C200.191%202.35154%20201.28%202.6537%20202.366%202.9828C203.449%203.31189%20204.523%203.66792%20205.588%204.05086C206.653%204.43381%20207.709%204.84069%20208.756%205.2745C209.801%205.70831%20210.836%206.16904%20211.859%206.65371C212.882%207.13838%20213.893%207.64698%20214.893%208.1825C215.889%208.71504%20216.873%209.2745%20217.845%209.8579C218.815%2010.4383%20219.772%2011.0456%20220.712%2011.6769C221.654%2012.3052%20222.578%2012.9574%20223.485%2013.6335C224.394%2014.3097%20225.286%2015.0067%20226.16%2015.7248C227.036%2016.4428%20227.892%2017.1848%20228.729%2017.9447C229.567%2018.7076%20230.387%2019.4884%20231.186%2020.2902C231.985%2021.092%20232.765%2021.9118%20233.525%2022.7495C234.282%2023.5901%20235.021%2024.4488%20235.739%2025.3254C236.454%2026.202%20237.151%2027.0935%20237.824%2028.003C238.495%2028.9155%20239.147%2029.84%20239.775%2030.7824C240.4%2031.7248%20241.005%2032.6821%20241.585%2033.6545C242.166%2034.6268%20242.722%2035.6111%20243.255%2036.6103C243.784%2037.6096%20244.293%2038.6208%20244.774%2039.644C245.256%2040.6702%20245.714%2041.7053%20246.145%2042.7525C246.575%2043.7966%20246.979%2044.8557%20247.359%2045.9208C247.739%2046.9858%20248.092%2048.0629%20248.418%2049.1459C248.744%2050.2289%20249.044%2051.3209%20249.316%2052.4189C249.588%2053.5199%20249.833%2054.6238%20250.052%2055.7338C250.27%2056.8437%20250.462%2057.9597%20250.623%2059.0786C250.788%2060.2005%20250.922%2061.3224%20251.03%2062.4503C251.141%2063.5752%20251.219%2064.7061%20251.272%2065.834C251.326%2066.9649%20251.35%2068.0958%20251.347%2069.2297C251.347%2077.7562%20244.544%2084.033%20231.126%2087.8834C220.804%2090.8452%20206.267%2092.5117%20186.686%2092.9754C184.436%2093.0262%20182.219%2093.0532%20180.038%2093.0532ZM182.279%201.45999C181.172%201.45999%20180.062%201.48691%20178.955%201.54376C177.848%201.6006%20176.741%201.68138%20175.637%201.79207C174.533%201.90277%20173.432%202.0374%20172.338%202.20195C171.24%202.36649%20170.148%202.55498%20169.059%202.77338C167.973%202.99177%20166.889%203.23411%20165.812%203.50337C164.738%203.77562%20163.67%204.0718%20162.608%204.39492C161.546%204.71803%20160.493%205.06507%20159.449%205.43905C158.405%205.81302%20157.373%206.21392%20156.346%206.63875C155.323%207.06358%20154.309%207.51235%20153.307%207.98804C152.305%208.46074%20151.314%208.96037%20150.336%209.48393C149.358%2010.0075%20148.394%2010.552%20147.443%2011.1234C146.492%2011.6948%20145.555%2012.2872%20144.631%2012.9035C143.709%2013.5198%20142.803%2014.1571%20141.911%2014.8183C141.023%2015.4794%20140.149%2016.1616%20139.29%2016.8646C138.432%2017.5677%20137.594%2018.2917%20136.771%2019.0367C135.949%2019.7816%20135.147%2020.5475%20134.363%2021.3314C133.579%2022.1152%20132.813%2022.917%20132.068%2023.7397C131.323%2024.5595%20130.599%2025.4002%20129.896%2026.2558C129.19%2027.1145%20128.508%2027.9881%20127.847%2028.8766C127.189%2029.7682%20126.548%2030.6747%20125.932%2031.5961C125.316%2032.5176%20124.72%2033.454%20124.152%2034.4054C123.581%2035.3538%20123.033%2036.3201%20122.509%2037.2955C121.986%2038.2738%20121.489%2039.2641%20121.014%2040.2663C120.538%2041.2685%20120.089%2042.2828%20119.664%2043.3059C119.239%2044.3291%20118.839%2045.3643%20118.465%2046.4084C118.091%2047.4495%20117.741%2048.5027%20117.417%2049.5647C117.097%2050.6238%20116.798%2051.6919%20116.529%2052.7689C116.26%2053.843%20116.014%2054.926%20115.799%2056.012C115.581%2057.098%20115.389%2058.19%20115.225%2059.288C115.063%2060.386%20114.925%2061.484%20114.815%2062.5879C114.707%2063.6919%20114.623%2064.7959%20114.566%2065.9028C114.512%2067.0098%20114.483%2068.1197%20114.483%2069.2267C114.483%2072.5475%20115.871%2075.5842%20118.608%2078.2559C128.041%2087.4645%20153.477%2092.4907%20186.656%2091.7099C213.884%2091.0666%20250.082%2088.033%20250.082%2069.2297C250.082%2068.1197%20250.052%2067.0128%20249.998%2065.9058C249.941%2064.7989%20249.86%2063.6919%20249.75%2062.5879C249.639%2061.487%20249.501%2060.386%20249.34%2059.288C249.175%2058.193%20248.984%2057.101%20248.768%2056.012C248.55%2054.926%20248.305%2053.846%20248.035%2052.7689C247.766%2051.6949%20247.47%2050.6268%20247.147%2049.5647C246.824%2048.5056%20246.474%2047.4525%20246.1%2046.4084C245.726%2045.3643%20245.325%2044.3321%20244.9%2043.3059C244.475%2042.2828%20244.026%2041.2685%20243.551%2040.2663C243.075%2039.2641%20242.578%2038.2768%20242.055%2037.2985C241.531%2036.3201%20240.984%2035.3568%20240.412%2034.4054C239.844%2033.454%20239.249%2032.5176%20238.632%2031.5961C238.016%2030.6747%20237.376%2029.7682%20236.717%2028.8766C236.056%2027.9881%20235.374%2027.1145%20234.668%2026.2558C233.965%2025.4002%20233.241%2024.5595%20232.496%2023.7397C231.751%2022.917%20230.985%2022.1152%20230.201%2021.3314C229.418%2020.5475%20228.613%2019.7816%20227.793%2019.0367C226.97%2018.2947%20226.13%2017.5677%20225.274%2016.8646C224.415%2016.1616%20223.542%2015.4794%20222.65%2014.8183C221.762%2014.1601%20220.855%2013.5198%20219.931%2012.9035C219.009%2012.2872%20218.073%2011.6948%20217.121%2011.1234C216.17%2010.555%20215.207%2010.0075%20214.228%209.48393C213.25%208.96037%20212.26%208.46074%20211.257%207.98804C210.255%207.51235%20209.241%207.06358%20208.215%206.63875C207.192%206.21392%20206.157%205.81302%20205.112%205.43905C204.068%205.06507%20203.015%204.71803%20201.956%204.39492C200.894%204.0718%20199.826%203.77562%20198.749%203.50636C197.675%203.23411%20196.592%202.99177%20195.503%202.77338C194.417%202.55797%20193.325%202.36649%20192.227%202.20195C191.129%202.04039%20190.028%201.90277%20188.924%201.79207C187.82%201.68437%20186.716%201.6006%20185.609%201.54675C184.499%201.4899%20183.392%201.46298%20182.282%201.45999H182.279Z'%20fill='%23262626'/%3e%3cpath%20d='M80.4304%2089.658C80.4304%2090.2414%2080.3735%2090.8188%2080.2599%2091.3902C80.1462%2091.9646%2079.9756%2092.5181%2079.7542%2093.0566C79.5299%2093.5981%2079.2576%2094.1097%2078.9315%2094.5944C78.6084%2095.0791%2078.2404%2095.5278%2077.8275%2095.9407C77.4147%2096.3506%2076.9659%2096.7215%2076.4812%2097.0447C75.9966%2097.3678%2075.482%2097.643%2074.9435%2097.8644C74.405%2098.0888%2073.8485%2098.2563%2073.2771%2098.37C72.7056%2098.4837%2072.1282%2098.5405%2071.5448%2098.5405C70.9614%2098.5405%2070.381%2098.4837%2069.8096%2098.37C69.2382%2098.2563%2068.6817%2098.0888%2068.1432%2097.8644C67.6046%2097.643%2067.0931%2097.3678%2066.6054%2097.0447C66.1207%2096.7215%2065.672%2096.3506%2065.2591%2095.9407C64.8462%2095.5278%2064.4782%2095.0791%2064.1551%2094.5944C63.832%2094.1097%2063.5568%2093.5981%2063.3324%2093.0566C63.111%2092.5181%2062.9435%2091.9646%2062.8268%2091.3902C62.7131%2090.8188%2062.6562%2090.2414%2062.6562%2089.658C62.6562%2089.0746%2062.7131%2088.4972%2062.8268%2087.9257C62.9435%2087.3543%2063.111%2086.7978%2063.3324%2086.2593C63.5568%2085.7208%2063.832%2085.2092%2064.1551%2084.7245C64.4782%2084.2399%2064.8462%2083.7911%2065.2591%2083.3782C65.672%2082.9654%2066.1207%2082.5974%2066.6054%2082.2743C67.0931%2081.9482%2067.6046%2081.6759%2068.1432%2081.4515C68.6817%2081.2301%2069.2382%2081.0596%2069.8096%2080.9459C70.381%2080.8322%2070.9614%2080.7754%2071.5448%2080.7754C72.1282%2080.7754%2072.7056%2080.8322%2073.2771%2080.9459C73.8485%2081.0596%2074.405%2081.2301%2074.9435%2081.4515C75.482%2081.6759%2075.9966%2081.9482%2076.4812%2082.2743C76.9659%2082.5974%2077.4147%2082.9654%2077.8275%2083.3782C78.2404%2083.7911%2078.6084%2084.2399%2078.9315%2084.7245C79.2576%2085.2092%2079.5299%2085.7208%2079.7542%2086.2593C79.9756%2086.7978%2080.1462%2087.3543%2080.2599%2087.9257C80.3735%2088.4972%2080.4304%2089.0746%2080.4304%2089.658Z'%20fill='white'/%3e%3cpath%20d='M71.5452%2099.1742C70.9199%2099.1742%2070.3006%2099.1114%2069.6873%2098.9917C69.074%2098.8691%2068.4786%2098.6896%2067.9012%2098.4502C67.3238%2098.2109%2066.7763%2097.9177%2066.2558%2097.5706C65.7352%2097.2236%2065.2535%2096.8287%2064.8137%2096.3859C64.3709%2095.9461%2063.976%2095.4644%2063.629%2094.9439C63.2819%2094.4263%2062.9887%2093.8758%2062.7494%2093.2984C62.5101%2092.721%2062.3306%2092.1286%2062.2079%2091.5153C62.0852%2090.902%2062.0254%2090.2827%2062.0254%2089.6574C62.0254%2089.0321%2062.0852%2088.4158%2062.2079%2087.8025C62.3306%2087.1892%2062.5101%2086.5938%2062.7494%2086.0164C62.9887%2085.439%2063.2819%2084.8915%2063.629%2084.3709C63.976%2083.8534%2064.3709%2083.3717%2064.8137%2082.9289C65.2535%2082.4891%2065.7352%2082.0942%2066.2558%2081.7471C66.7763%2081.4001%2067.3238%2081.1069%2067.9012%2080.8676C68.4786%2080.6282%2069.074%2080.4457%2069.6873%2080.3261C70.3006%2080.2034%2070.9199%2080.1436%2071.5452%2080.1436C72.1705%2080.1436%2072.7868%2080.2034%2073.4001%2080.3261C74.0134%2080.4457%2074.6088%2080.6282%2075.1862%2080.8676C75.7636%2081.1069%2076.3141%2081.4001%2076.8317%2081.7471C77.3523%2082.0942%2077.8339%2082.4891%2078.2767%2082.9289C78.7165%2083.3717%2079.1114%2083.8534%2079.4585%2084.3709C79.8055%2084.8915%2080.0987%2085.439%2080.338%2086.0164C80.5774%2086.5938%2080.7599%2087.1892%2080.8796%2087.8025C81.0022%2088.4158%2081.065%2089.0321%2081.065%2089.6574C81.0621%2090.2827%2081.0022%2090.902%2080.8796%2091.5153C80.7569%2092.1256%2080.5744%2092.721%2080.3351%2093.2984C80.0957%2093.8758%2079.8025%2094.4233%2079.4555%2094.9409C79.1084%2095.4614%2078.7135%2095.9431%2078.2707%2096.3829C77.8309%2096.8257%2077.3493%2097.2206%2076.8317%2097.5677C76.3111%2097.9147%2075.7636%2098.2079%2075.1862%2098.4472C74.6088%2098.6866%2074.0134%2098.8661%2073.4001%2098.9887C72.7868%2099.1114%2072.1675%2099.1742%2071.5452%2099.1742ZM71.5452%2081.4091C71.0007%2081.4091%2070.4652%2081.4599%2069.9327%2081.5676C69.4031%2081.6724%2068.8855%2081.8279%2068.3859%2082.0373C67.8863%2082.2438%2067.4106%2082.4981%2066.9588%2082.8003C66.5071%2083.0994%2066.0912%2083.4405%2065.7083%2083.8234C65.3253%2084.2064%2064.9843%2084.6252%2064.6821%2085.074C64.3799%2085.5258%2064.1256%2086.0015%2063.9192%2086.5011C63.7128%2087.0007%2063.5542%2087.5183%2063.4495%2088.0478C63.3448%2088.5804%2063.2909%2089.1159%2063.2909%2089.6574C63.2909%2090.1989%2063.3448%2090.7374%2063.4495%2091.267C63.5542%2091.7995%2063.7128%2092.3141%2063.9192%2092.8137C64.1256%2093.3163%2064.3799%2093.792%2064.6821%2094.2408C64.9843%2094.6926%2065.3253%2095.1084%2065.7083%2095.4914C66.0912%2095.8743%2066.5071%2096.2154%2066.9588%2096.5175C67.4106%2096.8197%2067.8863%2097.074%2068.3859%2097.2804C68.8855%2097.4869%2069.4031%2097.6424%2069.9327%2097.7501C70.4652%2097.8549%2071.0007%2097.9087%2071.5452%2097.9087C72.0867%2097.9087%2072.6223%2097.8549%2073.1548%2097.7501C73.6843%2097.6424%2074.2019%2097.4869%2074.7015%2097.2804C75.2042%2097.074%2075.6799%2096.8197%2076.1286%2096.5175C76.5804%2096.2154%2076.9962%2095.8743%2077.3792%2095.4914C77.7621%2095.1084%2078.1062%2094.6926%2078.4054%2094.2408C78.7075%2093.792%2078.9618%2093.3163%2079.1683%2092.8137C79.3777%2092.3141%2079.5333%2091.7995%2079.638%2091.267C79.7457%2090.7374%2079.7965%2090.1989%2079.7965%2089.6574C79.7965%2089.1159%2079.7427%2088.5804%2079.638%2088.0478C79.5303%2087.5183%2079.3747%2087.0037%2079.1653%2086.5011C78.9588%2086.0015%2078.7045%2085.5258%2078.4024%2085.077C78.1032%2084.6252%2077.7591%2084.2094%2077.3762%2083.8264C76.9932%2083.4435%2076.5774%2083.1024%2076.1286%2082.8003C75.6769%2082.5011%2075.2012%2082.2468%2074.7015%2082.0373C74.2019%2081.8309%2073.6843%2081.6753%2073.1548%2081.5676C72.6223%2081.4629%2072.0867%2081.4091%2071.5452%2081.4091Z'%20fill='%23262626'/%3e%3cpath%20d='M191.168%20115.096C191.168%20115.68%20191.111%20116.257%20190.997%20116.829C190.883%20117.4%20190.716%20117.957%20190.491%20118.495C190.267%20119.034%20189.995%20119.545%20189.672%20120.03C189.346%20120.515%20188.978%20120.963%20188.565%20121.376C188.152%20121.789%20187.703%20122.157%20187.218%20122.48C186.734%20122.806%20186.222%20123.079%20185.684%20123.303C185.142%20123.524%20184.589%20123.695%20184.014%20123.808C183.443%20123.922%20182.865%20123.979%20182.282%20123.979C181.699%20123.979%20181.121%20123.922%20180.55%20123.808C179.975%20123.695%20179.419%20123.524%20178.88%20123.303C178.342%20123.079%20177.83%20122.806%20177.346%20122.48C176.861%20122.157%20176.412%20121.789%20175.999%20121.376C175.586%20120.963%20175.218%20120.515%20174.892%20120.03C174.569%20119.545%20174.294%20119.034%20174.073%20118.495C173.848%20117.957%20173.681%20117.4%20173.567%20116.829C173.453%20116.257%20173.396%20115.68%20173.396%20115.096C173.396%20114.513%20173.453%20113.936%20173.567%20113.364C173.681%20112.793%20173.848%20112.236%20174.073%20111.698C174.294%20111.159%20174.569%20110.648%20174.892%20110.16C175.218%20109.675%20175.586%20109.227%20175.999%20108.817C176.412%20108.404%20176.861%20108.036%20177.346%20107.71C177.83%20107.387%20178.342%20107.114%20178.88%20106.89C179.419%20106.666%20179.975%20106.498%20180.55%20106.384C181.121%20106.271%20181.699%20106.214%20182.282%20106.214C182.865%20106.214%20183.443%20106.271%20184.014%20106.384C184.589%20106.498%20185.142%20106.666%20185.684%20106.89C186.222%20107.114%20186.734%20107.387%20187.218%20107.71C187.703%20108.036%20188.152%20108.404%20188.565%20108.817C188.978%20109.227%20189.346%20109.675%20189.672%20110.16C189.995%20110.648%20190.267%20111.159%20190.491%20111.698C190.716%20112.236%20190.883%20112.793%20190.997%20113.364C191.111%20113.936%20191.168%20114.513%20191.168%20115.096Z'%20fill='white'/%3e%3cpath%20d='M182.283%20124.613C181.657%20124.613%20181.038%20124.55%20180.425%20124.427C179.811%20124.308%20179.216%20124.125%20178.639%20123.886C178.061%20123.649%20177.514%20123.356%20176.993%20123.006C176.472%20122.659%20175.994%20122.267%20175.551%20121.824C175.108%20121.382%20174.713%20120.903%20174.366%20120.382C174.019%20119.862%20173.726%20119.314%20173.487%20118.737C173.247%20118.16%20173.068%20117.564%20172.945%20116.951C172.823%20116.341%20172.763%20115.721%20172.763%20115.096C172.763%20114.471%20172.823%20113.851%20172.945%20113.238C173.068%20112.628%20173.247%20112.032%20173.487%20111.455C173.726%20110.878%20174.019%20110.33%20174.366%20109.809C174.713%20109.289%20175.108%20108.81%20175.551%20108.367C175.994%20107.925%20176.472%20107.53%20176.993%20107.183C177.514%20106.836%20178.061%20106.542%20178.639%20106.303C179.216%20106.064%20179.811%20105.884%20180.425%20105.762C181.038%20105.642%20181.657%20105.579%20182.283%20105.579C182.908%20105.579%20183.527%20105.642%20184.14%20105.762C184.754%20105.884%20185.349%20106.064%20185.927%20106.303C186.504%20106.542%20187.051%20106.836%20187.572%20107.183C188.09%20107.53%20188.571%20107.925%20189.014%20108.367C189.457%20108.81%20189.852%20109.289%20190.199%20109.809C190.546%20110.33%20190.839%20110.878%20191.078%20111.455C191.318%20112.032%20191.497%20112.628%20191.62%20113.238C191.743%20113.851%20191.802%20114.471%20191.802%20115.096C191.802%20115.721%20191.74%20116.338%20191.617%20116.951C191.494%20117.564%20191.315%20118.16%20191.075%20118.737C190.836%20119.311%20190.543%20119.862%20190.196%20120.379C189.846%20120.9%20189.454%20121.379%20189.011%20121.821C188.568%20122.264%20188.09%20122.656%20187.569%20123.003C187.048%20123.35%20186.501%20123.643%20185.924%20123.883C185.346%20124.122%20184.751%20124.305%20184.137%20124.427C183.527%20124.55%20182.908%20124.61%20182.283%20124.613ZM182.283%20106.848C181.741%20106.848%20181.202%20106.898%20180.673%20107.006C180.14%20107.111%20179.626%20107.266%20179.123%20107.476C178.624%20107.682%20178.148%20107.937%20177.696%20108.236C177.247%20108.538%20176.832%20108.879%20176.446%20109.262C176.063%20109.645%20175.722%20110.064%20175.419%20110.513C175.12%20110.964%20174.866%20111.437%20174.659%20111.94C174.45%20112.439%20174.294%20112.954%20174.19%20113.486C174.082%20114.019%20174.031%20114.554%20174.031%20115.096C174.031%20115.637%20174.082%20116.173%20174.19%20116.706C174.294%20117.235%20174.45%20117.753%20174.659%20118.252C174.866%20118.752%20175.12%20119.228%20175.419%20119.679C175.722%20120.128%20176.063%20120.547%20176.446%20120.93C176.832%20121.313%20177.247%20121.654%20177.696%20121.956C178.148%20122.255%20178.624%20122.51%20179.123%20122.716C179.626%20122.925%20180.14%20123.081%20180.673%20123.186C181.202%20123.293%20181.741%20123.344%20182.283%20123.344C182.824%20123.344%20183.36%20123.293%20183.892%20123.186C184.425%20123.081%20184.939%20122.925%20185.442%20122.716C185.941%20122.51%20186.417%20122.255%20186.866%20121.956C187.318%20121.654%20187.734%20121.313%20188.116%20120.93C188.502%20120.547%20188.843%20120.128%20189.146%20119.679C189.445%20119.228%20189.699%20118.752%20189.906%20118.252C190.115%20117.753%20190.271%20117.235%20190.375%20116.706C190.483%20116.173%20190.534%20115.637%20190.534%20115.096C190.534%20114.554%20190.48%20114.019%20190.375%20113.486C190.268%20112.957%20190.112%20112.439%20189.906%20111.94C189.696%20111.44%20189.442%20110.964%20189.143%20110.516C188.84%20110.064%20188.499%20109.648%20188.116%20109.265C187.734%20108.882%20187.315%20108.541%20186.866%20108.239C186.414%20107.94%20185.938%20107.685%20185.439%20107.476C184.939%20107.269%20184.422%20107.114%20183.892%20107.006C183.36%20106.901%20182.824%20106.848%20182.283%20106.848Z'%20fill='%23262626'/%3e%3cpath%20d='M301.887%2089.658C301.887%2090.2414%20301.831%2090.8188%20301.717%2091.3902C301.603%2091.9646%20301.433%2092.5181%20301.211%2093.0566C300.987%2093.5981%20300.715%2094.1097%20300.388%2094.5944C300.065%2095.0791%20299.697%2095.5278%20299.285%2095.9407C298.872%2096.3506%20298.423%2096.7215%20297.938%2097.0447C297.454%2097.3678%20296.942%2097.643%20296.4%2097.8644C295.862%2098.0888%20295.305%2098.2563%20294.734%2098.37C294.163%2098.4837%20293.585%2098.5405%20293.002%2098.5405C292.418%2098.5405%20291.841%2098.4837%20291.267%2098.37C290.695%2098.2563%20290.139%2098.0888%20289.6%2097.8644C289.062%2097.643%20288.55%2097.3678%20288.065%2097.0447C287.578%2096.7215%20287.129%2096.3506%20286.719%2095.9407C286.306%2095.5278%20285.935%2095.0791%20285.612%2094.5944C285.289%2094.1097%20285.014%2093.5981%20284.792%2093.0566C284.568%2092.5181%20284.4%2091.9646%20284.287%2091.3902C284.173%2090.8188%20284.116%2090.2414%20284.116%2089.658C284.116%2089.0746%20284.173%2088.4972%20284.287%2087.9257C284.4%2087.3543%20284.568%2086.7978%20284.792%2086.2593C285.014%2085.7208%20285.289%2085.2092%20285.612%2084.7245C285.935%2084.2399%20286.306%2083.7911%20286.719%2083.3782C287.129%2082.9654%20287.578%2082.5974%20288.065%2082.2743C288.55%2081.9482%20289.062%2081.6759%20289.6%2081.4515C290.139%2081.2301%20290.695%2081.0596%20291.267%2080.9459C291.841%2080.8322%20292.418%2080.7754%20293.002%2080.7754C293.585%2080.7754%20294.163%2080.8322%20294.734%2080.9459C295.305%2081.0596%20295.862%2081.2301%20296.4%2081.4515C296.942%2081.6759%20297.454%2081.9482%20297.938%2082.2743C298.423%2082.5974%20298.872%2082.9654%20299.285%2083.3782C299.697%2083.7911%20300.065%2084.2399%20300.388%2084.7245C300.715%2085.2092%20300.987%2085.7208%20301.211%2086.2593C301.433%2086.7978%20301.603%2087.3543%20301.717%2087.9257C301.831%2088.4972%20301.887%2089.0746%20301.887%2089.658Z'%20fill='white'/%3e%3cpath%20d='M293.002%2099.1742C292.377%2099.1742%20291.758%2099.1114%20291.144%2098.9917C290.531%2098.8691%20289.936%2098.6896%20289.358%2098.4502C288.781%2098.2109%20288.233%2097.9177%20287.713%2097.5706C287.192%2097.2236%20286.714%2096.8287%20286.271%2096.3859C285.828%2095.9461%20285.433%2095.4644%20285.086%2094.9439C284.739%2094.4263%20284.446%2093.8758%20284.206%2093.2984C283.967%2092.721%20283.788%2092.1286%20283.665%2091.5153C283.542%2090.902%20283.482%2090.2827%20283.482%2089.6574C283.482%2089.0321%20283.542%2088.4158%20283.665%2087.8025C283.788%2087.1892%20283.967%2086.5938%20284.206%2086.0164C284.446%2085.439%20284.739%2084.8915%20285.086%2084.3709C285.433%2083.8534%20285.828%2083.3717%20286.271%2082.9289C286.714%2082.4891%20287.192%2082.0942%20287.713%2081.7471C288.233%2081.4001%20288.781%2081.1069%20289.358%2080.8676C289.936%2080.6282%20290.531%2080.4457%20291.144%2080.3261C291.758%2080.2034%20292.377%2080.1436%20293.002%2080.1436C293.628%2080.1436%20294.247%2080.2034%20294.86%2080.3261C295.47%2080.4457%20296.066%2080.6282%20296.643%2080.8676C297.221%2081.1069%20297.771%2081.4001%20298.292%2081.7471C298.809%2082.0942%20299.291%2082.4891%20299.734%2082.9289C300.174%2083.3717%20300.568%2083.8534%20300.915%2084.3709C301.266%2084.8915%20301.559%2085.439%20301.798%2086.0164C302.034%2086.5938%20302.217%2087.1892%20302.34%2087.8025C302.459%2088.4158%20302.522%2089.0321%20302.522%2089.6574C302.519%2090.2827%20302.459%2090.902%20302.337%2091.5153C302.214%2092.1256%20302.034%2092.721%20301.795%2093.2984C301.553%2093.8758%20301.26%2094.4233%20300.913%2094.9409C300.565%2095.4614%20300.171%2095.9431%20299.731%2096.3829C299.288%2096.8257%20298.806%2097.2206%20298.289%2097.5677C297.768%2097.9147%20297.221%2098.2079%20296.643%2098.4472C296.066%2098.6866%20295.47%2098.8661%20294.857%2098.9887C294.244%2099.1114%20293.628%2099.1742%20293.002%2099.1742ZM293.002%2081.4091C292.461%2081.4091%20291.922%2081.4599%20291.393%2081.5676C290.86%2081.6724%20290.343%2081.8279%20289.843%2082.0373C289.343%2082.2438%20288.868%2082.4981%20288.416%2082.8003C287.967%2083.0994%20287.548%2083.4405%20287.165%2083.8234C286.782%2084.2064%20286.441%2084.6252%20286.139%2085.074C285.837%2085.5258%20285.583%2086.0015%20285.376%2086.5011C285.17%2087.0007%20285.014%2087.5183%20284.907%2088.0478C284.802%2088.5804%20284.748%2089.1159%20284.748%2089.6574C284.748%2090.1989%20284.802%2090.7374%20284.907%2091.267C285.014%2091.7995%20285.17%2092.3141%20285.376%2092.8137C285.583%2093.3163%20285.837%2093.792%20286.139%2094.2408C286.441%2094.6926%20286.782%2095.1084%20287.165%2095.4914C287.548%2095.8743%20287.967%2096.2154%20288.416%2096.5175C288.868%2096.8197%20289.343%2097.074%20289.843%2097.2804C290.343%2097.4869%20290.86%2097.6424%20291.393%2097.7501C291.922%2097.8549%20292.461%2097.9087%20293.002%2097.9087C293.544%2097.9087%20294.079%2097.8549%20294.612%2097.7501C295.144%2097.6424%20295.659%2097.4869%20296.159%2097.2804C296.661%2097.074%20297.137%2096.8197%20297.586%2096.5175C298.037%2096.2154%20298.453%2095.8743%20298.836%2095.4914C299.219%2095.1084%20299.563%2094.6926%20299.862%2094.2408C300.165%2093.792%20300.419%2093.3163%20300.625%2092.8137C300.835%2092.3141%20300.99%2091.7995%20301.095%2091.267C301.203%2090.7374%20301.254%2090.1989%20301.254%2089.6574C301.254%2089.1159%20301.2%2088.5804%20301.095%2088.0478C300.987%2087.5183%20300.832%2087.0037%20300.625%2086.5011C300.416%2086.0015%20300.162%2085.5258%20299.862%2085.077C299.56%2084.6252%20299.219%2084.2094%20298.836%2083.8264C298.453%2083.4435%20298.034%2083.1024%20297.586%2082.8003C297.134%2082.5011%20296.658%2082.2468%20296.159%2082.0373C295.659%2081.8309%20295.141%2081.6753%20294.612%2081.5676C294.079%2081.4629%20293.544%2081.4091%20293.002%2081.4091Z'%20fill='%23262626'/%3e%3cpath%20d='M254.663%20106.214C254.663%20106.797%20254.606%20107.374%20254.492%20107.946C254.379%20108.517%20254.211%20109.074%20253.987%20109.612C253.762%20110.151%20253.49%20110.662%20253.167%20111.147C252.841%20111.635%20252.473%20112.081%20252.06%20112.493C251.647%20112.906%20251.198%20113.274%20250.714%20113.6C250.229%20113.923%20249.717%20114.196%20249.179%20114.42C248.637%20114.644%20248.084%20114.812%20247.509%20114.926C246.938%20115.039%20246.361%20115.096%20245.777%20115.096C245.194%20115.096%20244.616%20115.039%20244.042%20114.926C243.471%20114.812%20242.914%20114.644%20242.376%20114.42C241.837%20114.196%20241.325%20113.923%20240.841%20113.6C240.356%20113.274%20239.907%20112.906%20239.494%20112.493C239.082%20112.081%20238.714%20111.635%20238.387%20111.147C238.064%20110.662%20237.789%20110.151%20237.568%20109.612C237.343%20109.074%20237.176%20108.517%20237.062%20107.946C236.948%20107.374%20236.892%20106.797%20236.892%20106.214C236.892%20105.63%20236.948%20105.053%20237.062%20104.481C237.176%20103.91%20237.343%20103.353%20237.568%20102.815C237.789%20102.276%20238.064%20101.765%20238.387%20101.28C238.714%20100.793%20239.082%20100.344%20239.494%2099.9339C239.907%2099.521%20240.356%2099.153%20240.841%2098.8269C241.325%2098.5038%20241.837%2098.2316%20242.376%2098.0072C242.914%2097.7828%20243.471%2097.6153%20244.042%2097.5016C244.616%2097.3879%20245.194%2097.3311%20245.777%2097.3311C246.361%2097.3311%20246.938%2097.3879%20247.509%2097.5016C248.084%2097.6153%20248.637%2097.7828%20249.179%2098.0072C249.717%2098.2316%20250.229%2098.5038%20250.714%2098.8269C251.198%2099.153%20251.647%2099.521%20252.06%2099.9339C252.473%20100.344%20252.841%20100.793%20253.164%20101.28C253.49%20101.765%20253.762%20102.276%20253.987%20102.815C254.211%20103.353%20254.379%20103.91%20254.492%20104.481C254.606%20105.053%20254.663%20105.63%20254.663%20106.214Z'%20fill='white'/%3e%3cpath%20d='M245.777%20115.731C245.151%20115.731%20244.532%20115.668%20243.919%20115.545C243.305%20115.426%20242.71%20115.243%20242.133%20115.004C241.555%20114.768%20241.008%20114.474%20240.487%20114.127C239.967%20113.78%20239.488%20113.385%20239.045%20112.943C238.602%20112.5%20238.207%20112.021%20237.86%20111.501C237.513%20110.98%20237.22%20110.433%20236.981%20109.855C236.742%20109.278%20236.562%20108.682%20236.439%20108.069C236.317%20107.459%20236.257%20106.839%20236.257%20106.214C236.257%20105.589%20236.317%20104.97%20236.439%20104.356C236.562%20103.746%20236.742%20103.151%20236.981%20102.573C237.22%20101.996%20237.513%20101.448%20237.86%20100.928C238.207%20100.407%20238.602%2099.9284%20239.045%2099.4856C239.488%2099.0428%20239.967%2098.6479%20240.487%2098.3009C241.008%2097.9538%20241.555%2097.6606%20242.133%2097.4213C242.71%2097.1849%20243.305%2097.0024%20243.919%2096.8798C244.532%2096.7601%20245.151%2096.6973%20245.777%2096.6973C246.402%2096.6973%20247.021%2096.7601%20247.635%2096.8798C248.248%2097.0024%20248.843%2097.1849%20249.421%2097.4213C249.998%2097.6606%20250.546%2097.9538%20251.066%2098.3009C251.584%2098.6479%20252.065%2099.0428%20252.508%2099.4856C252.951%2099.9284%20253.346%20100.407%20253.693%20100.928C254.04%20101.448%20254.333%20101.996%20254.572%20102.573C254.812%20103.151%20254.991%20103.746%20255.114%20104.356C255.234%20104.97%20255.296%20105.589%20255.296%20106.214C255.296%20106.839%20255.234%20107.459%20255.111%20108.069C254.988%20108.682%20254.809%20109.278%20254.569%20109.855C254.33%20110.43%20254.037%20110.98%20253.687%20111.498C253.34%20112.018%20252.945%20112.497%20252.505%20112.94C252.062%20113.382%20251.581%20113.774%20251.063%20114.121C250.543%20114.468%20249.995%20114.765%20249.418%20115.004C248.84%20115.243%20248.245%20115.423%20247.632%20115.545C247.021%20115.668%20246.402%20115.728%20245.777%20115.731ZM245.777%2097.9658C245.235%2097.9658%20244.697%2098.0166%20244.167%2098.1214C243.635%2098.2291%20243.12%2098.3846%20242.617%2098.5911C242.118%2098.8005%20241.642%2099.0548%20241.19%2099.354C240.742%2099.6561%20240.323%2099.9972%20239.94%20100.38C239.557%20100.763%20239.216%20101.179%20238.914%20101.631C238.611%20102.079%20238.357%20102.555%20238.151%20103.058C237.944%20103.557%20237.786%20104.072%20237.681%20104.605C237.576%20105.134%20237.522%20105.673%20237.522%20106.214C237.522%20106.756%20237.576%20107.291%20237.681%20107.824C237.786%20108.353%20237.944%20108.871%20238.151%20109.37C238.357%20109.87%20238.611%20110.346%20238.914%20110.797C239.216%20111.246%20239.557%20111.665%20239.94%20112.048C240.323%20112.431%20240.739%20112.772%20241.19%20113.074C241.642%20113.373%20242.118%20113.628%20242.617%20113.834C243.117%20114.044%20243.635%20114.199%20244.164%20114.304C244.697%20114.412%20245.235%20114.462%20245.777%20114.462C246.318%20114.462%20246.854%20114.412%20247.386%20114.304C247.916%20114.199%20248.433%20114.044%20248.933%20113.837C249.436%20113.628%20249.911%20113.373%20250.36%20113.074C250.812%20112.772%20251.228%20112.431%20251.611%20112.048C251.994%20111.665%20252.338%20111.246%20252.637%20110.797C252.939%20110.346%20253.193%20109.87%20253.4%20109.37C253.609%20108.871%20253.765%20108.356%20253.869%20107.824C253.977%20107.291%20254.028%20106.756%20254.028%20106.214C254.028%20105.673%20253.974%20105.137%20253.869%20104.605C253.762%20104.075%20253.606%20103.557%20253.4%20103.058C253.19%20102.558%20252.936%20102.082%20252.637%20101.634C252.335%20101.182%20251.994%20100.766%20251.611%20100.383C251.228%20100%20250.809%2099.6591%20250.36%2099.357C249.908%2099.0578%20249.433%2098.8035%20248.933%2098.5941C248.433%2098.3876%20247.916%2098.2291%20247.386%2098.1243C246.854%2098.0196%20246.318%2097.9658%20245.777%2097.9658Z'%20fill='%23262626'/%3e%3cpath%20d='M127.673%20107.423C127.673%20108.006%20127.617%20108.583%20127.503%20109.155C127.389%20109.729%20127.222%20110.283%20126.997%20110.821C126.773%20111.36%20126.501%20111.871%20126.175%20112.359C125.851%20112.844%20125.484%20113.292%20125.071%20113.702C124.658%20114.115%20124.209%20114.483%20123.724%20114.809C123.24%20115.132%20122.728%20115.405%20122.19%20115.629C121.648%20115.853%20121.095%20116.021%20120.52%20116.135C119.949%20116.248%20119.371%20116.305%20118.788%20116.305C118.205%20116.305%20117.627%20116.248%20117.053%20116.135C116.481%20116.021%20115.925%20115.853%20115.386%20115.629C114.848%20115.405%20114.336%20115.132%20113.851%20114.809C113.367%20114.483%20112.918%20114.115%20112.505%20113.702C112.092%20113.292%20111.724%20112.844%20111.398%20112.359C111.075%20111.871%20110.8%20111.36%20110.578%20110.821C110.354%20110.283%20110.187%20109.729%20110.073%20109.155C109.959%20108.583%20109.902%20108.006%20109.902%20107.423C109.902%20106.839%20109.959%20106.262%20110.073%20105.69C110.187%20105.119%20110.354%20104.562%20110.578%20104.024C110.8%20103.485%20111.075%20102.974%20111.398%20102.489C111.724%20102.005%20112.092%20101.556%20112.505%20101.143C112.918%20100.73%20113.367%20100.362%20113.851%20100.039C114.336%2099.7128%20114.848%2099.4406%20115.386%2099.2162C115.925%2098.9948%20116.481%2098.8243%20117.053%2098.7106C117.627%2098.5969%20118.205%2098.54%20118.788%2098.54C119.371%2098.54%20119.949%2098.5969%20120.52%2098.7106C121.095%2098.8243%20121.648%2098.9948%20122.19%2099.2162C122.728%2099.4406%20123.24%2099.7128%20123.724%20100.039C124.209%20100.362%20124.658%20100.73%20125.071%20101.143C125.484%20101.556%20125.851%20102.005%20126.175%20102.489C126.501%20102.974%20126.773%20103.485%20126.997%20104.024C127.222%20104.562%20127.389%20105.119%20127.503%20105.69C127.617%20106.262%20127.673%20106.839%20127.673%20107.423Z'%20fill='white'/%3e%3cpath%20d='M118.788%20116.94C118.163%20116.94%20117.544%20116.88%20116.93%20116.757C116.317%20116.635%20115.722%20116.455%20115.144%20116.216C114.567%20115.977%20114.019%20115.683%20113.499%20115.336C112.978%20114.989%20112.5%20114.594%20112.057%20114.152C111.614%20113.712%20111.219%20113.23%20110.872%20112.709C110.525%20112.192%20110.232%20111.641%20109.993%20111.064C109.753%20110.49%20109.574%20109.894%20109.451%20109.281C109.328%20108.668%20109.269%20108.048%20109.269%20107.423C109.269%20106.798%20109.328%20106.181%20109.451%20105.568C109.574%20104.955%20109.753%20104.359%20109.993%20103.782C110.232%20103.205%20110.525%20102.657%20110.872%20102.137C111.219%20101.619%20111.614%20101.137%20112.057%20100.695C112.5%20100.255%20112.978%2099.8598%20113.499%2099.5128C114.019%2099.1657%20114.567%2098.8725%20115.144%2098.6332C115.722%2098.3938%20116.317%2098.2143%20116.93%2098.0917C117.544%2097.969%20118.163%2097.9092%20118.788%2097.9092C119.414%2097.9092%20120.033%2097.969%20120.646%2098.0917C121.26%2098.2143%20121.855%2098.3938%20122.432%2098.6332C123.01%2098.8725%20123.557%2099.1657%20124.078%2099.5128C124.595%2099.8598%20125.077%20100.255%20125.52%20100.695C125.963%20101.137%20126.355%20101.619%20126.705%20102.137C127.052%20102.657%20127.345%20103.205%20127.584%20103.782C127.824%20104.359%20128.003%20104.955%20128.126%20105.568C128.245%20106.181%20128.308%20106.798%20128.308%20107.423C128.308%20108.048%20128.245%20108.668%20128.123%20109.281C128%20109.891%20127.821%20110.487%20127.581%20111.064C127.342%20111.641%20127.049%20112.189%20126.699%20112.709C126.352%20113.227%20125.957%20113.709%20125.517%20114.149C125.074%20114.591%20124.592%20114.986%20124.075%20115.333C123.554%20115.68%20123.007%20115.974%20122.429%20116.213C121.852%20116.452%20121.257%20116.632%20120.643%20116.754C120.033%20116.877%20119.414%20116.94%20118.788%20116.94ZM118.788%2099.1747C118.247%2099.1747%20117.708%2099.2256%20117.179%2099.3333C116.646%2099.438%20116.129%2099.5935%20115.629%2099.8C115.129%20100.009%20114.654%20100.264%20114.202%20100.563C113.75%20100.865%20113.334%20101.206%20112.951%20101.589C112.568%20101.972%20112.224%20102.388%20111.925%20102.84C111.623%20103.288%20111.369%20103.764%20111.162%20104.264C110.953%20104.766%20110.797%20105.281%20110.69%20105.813C110.585%20106.343%20110.531%20106.882%20110.531%20107.423C110.531%20107.965%20110.585%20108.5%20110.69%20109.033C110.797%20109.562%20110.953%20110.08%20111.159%20110.579C111.366%20111.079%20111.62%20111.555%20111.922%20112.006C112.224%20112.458%20112.565%20112.874%20112.948%20113.257C113.331%20113.64%20113.747%20113.981%20114.199%20114.283C114.651%20114.582%20115.126%20114.837%20115.626%20115.046C116.126%20115.252%20116.643%20115.408%20117.176%20115.516C117.705%20115.62%20118.244%20115.674%20118.785%20115.674C119.327%20115.674%20119.862%20115.62%20120.395%20115.516C120.928%20115.408%20121.442%20115.252%20121.945%20115.046C122.444%20114.84%20122.92%20114.585%20123.372%20114.283C123.821%20113.981%20124.236%20113.64%20124.622%20113.257C125.005%20112.874%20125.346%20112.458%20125.649%20112.006C125.948%20111.558%20126.202%20111.082%20126.411%20110.579C126.618%20110.08%20126.773%20109.565%20126.881%20109.033C126.986%20108.503%20127.04%20107.965%20127.04%20107.423C127.037%20106.882%20126.986%20106.346%20126.878%20105.816C126.773%20105.284%20126.615%20104.769%20126.408%20104.27C126.202%20103.767%20125.948%20103.294%20125.646%20102.843C125.343%20102.394%20125.002%20101.978%20124.619%20101.595C124.236%20101.212%20123.821%20100.868%20123.369%20100.569C122.92%20100.267%20122.444%20100.012%20121.945%2099.806C121.445%2099.5965%20120.928%2099.441%20120.398%2099.3333C119.865%2099.2286%20119.33%2099.1747%20118.788%2099.1747Z'%20fill='%23262626'/%3e%3cpath%20d='M276.508%2061.4215C276.344%2061.9211%20276.137%2062.3998%20275.889%2062.8605C275.637%2063.3212%20275.35%2063.7551%20275.024%2064.1649C274.698%2064.5748%20274.339%2064.9548%20273.947%2065.3018C273.555%2065.6459%20273.133%2065.957%20272.685%2066.2293C272.239%2066.5015%20271.769%2066.7319%20271.281%2066.9204C270.794%2067.1088%20270.291%2067.2554%20269.777%2067.3542C269.262%2067.4559%20268.744%2067.5097%20268.221%2067.5187C267.697%2067.5277%20267.177%2067.4918%20266.659%2067.408C266.142%2067.3272%20265.636%2067.1986%20265.139%2067.0251C264.646%2066.8545%20264.17%2066.6391%20263.712%2066.3818C263.257%2066.1245%20262.827%2065.8313%20262.423%2065.4993C262.016%2065.1642%20261.645%2064.7992%20261.304%2064.4013C260.966%2064.0034%20260.664%2063.5785%20260.397%2063.1238C260.134%2062.672%20259.91%2062.2023%20259.73%2061.7087C259.548%2061.218%20259.41%2060.7154%20259.32%2060.2008C259.228%2059.6833%20259.18%2059.1657%20259.18%2058.6421C259.18%2058.4417%20259.189%2058.2472%20259.201%2058.0527C265.271%2059.0669%20271.051%2060.1889%20276.508%2061.4215Z'%20fill='white'/%3e%3cpath%20d='M268.066%2068.1557C267.44%2068.1557%20266.824%2068.0928%20266.211%2067.9702C265.598%2067.8475%20265.002%2067.668%20264.425%2067.4287C263.847%2067.1893%20263.3%2066.8961%20262.779%2066.5491C262.262%2066.202%20261.78%2065.8071%20261.337%2065.3643C260.894%2064.9246%20260.503%2064.4429%20260.152%2063.9223C259.805%2063.4047%20259.512%2062.8572%20259.273%2062.2798C259.034%2061.7024%20258.854%2061.107%20258.731%2060.4937C258.609%2059.8834%20258.546%2059.2641%20258.546%2058.6388C258.546%2058.4264%20258.555%2058.22%20258.57%2058.0106L258.615%2057.3135L259.306%2057.4272C265.409%2058.4474%20271.243%2059.5812%20276.649%2060.8019L277.328%2060.9575L277.11%2061.6186C276.954%2062.0913%20276.763%2062.5491%20276.535%2062.9919C276.308%2063.4346%20276.048%2063.8595%20275.755%2064.2604C275.461%2064.6613%20275.138%2065.0382%20274.785%2065.3883C274.432%2065.7413%20274.052%2066.0614%20273.648%2066.3546C273.244%2066.6448%20272.823%2066.9021%20272.377%2067.1295C271.934%2067.3539%20271.473%2067.5424%20271.001%2067.6949C270.525%2067.8475%20270.043%2067.9642%20269.553%2068.039C269.059%2068.1168%20268.565%2068.1557%20268.066%2068.1557ZM259.817%2058.7974C259.826%2059.2671%20259.874%2059.7308%20259.961%2060.1916C260.051%2060.6523%20260.176%2061.1011%20260.341%2061.5379C260.506%2061.9777%20260.706%2062.3995%20260.942%2062.8034C261.179%2063.2073%20261.448%2063.5902%20261.75%2063.9462C262.052%2064.3053%20262.381%2064.6373%20262.74%2064.9395C263.096%2065.2417%20263.479%2065.5109%20263.88%2065.7503C264.284%2065.9866%20264.706%2066.1871%20265.146%2066.3546C265.583%2066.5192%20266.031%2066.6478%20266.492%2066.7376C266.953%2066.8273%20267.417%2066.8782%20267.886%2066.8872C268.353%2066.8991%20268.82%2066.8692%20269.283%2066.8004C269.747%2066.7316%20270.202%2066.6239%20270.645%2066.4773C271.09%2066.3307%20271.521%2066.1482%20271.934%2065.9298C272.35%2065.7084%20272.742%2065.4571%20273.113%2065.1699C273.484%2064.8827%20273.828%2064.5685%20274.145%2064.2245C274.462%2063.8774%20274.746%2063.5094%20275.001%2063.1175C275.255%2062.7226%20275.476%2062.3097%20275.659%2061.8789C270.693%2060.772%20265.37%2059.7368%20259.817%2058.7974Z'%20fill='%23262626'/%3e%3cpath%20d='M104.428%2058.6417C104.428%2059.1593%20104.383%2059.6739%20104.293%2060.1854C104.203%2060.697%20104.069%2061.1967%20103.889%2061.6843C103.712%2062.172%20103.491%2062.6417%20103.231%2063.0905C102.971%2063.5392%20102.674%2063.9641%20102.339%2064.362C102.004%2064.7599%20101.636%2065.1249%20101.238%2065.457C100.84%2065.789%20100.416%2066.0852%2099.9638%2066.3425C99.515%2066.6028%2099.0453%2066.8182%2098.5547%2066.9947C98.067%2067.1712%2097.5674%2067.3029%2097.0528%2067.3926C96.5412%2067.4794%2096.0266%2067.5243%2095.506%2067.5213C94.9885%2067.5213%2094.4709%2067.4734%2093.9593%2067.3807C93.4477%2067.2879%2092.9511%2067.1533%2092.4634%2066.9708C91.9758%2066.7913%2091.506%2066.5699%2091.0573%2066.3096C90.6085%2066.0463%2090.1867%2065.7472%2089.7918%2065.4121C89.3938%2065.077%2089.0318%2064.709%2088.6998%2064.3081C88.3677%2063.9072%2088.0745%2063.4824%2087.8172%2063.0306C87.5599%2062.5789%2087.3445%2062.1092%2087.168%2061.6215C92.604%2060.3799%2098.3632%2059.24%20104.416%2058.2139C104.425%2058.3545%20104.428%2058.4951%20104.428%2058.6417Z'%20fill='white'/%3e%3cpath%20d='M95.5427%2068.1553C95.0551%2068.1553%2094.5704%2068.1164%2094.0887%2068.0416C93.6041%2067.9668%2093.1314%2067.8531%2092.6676%2067.7065C92.2009%2067.5599%2091.7492%2067.3774%2091.3124%2067.159C90.8756%2066.9436%2090.4567%2066.6923%2090.0588%2066.4111C89.6579%2066.1299%2089.2839%2065.8217%2088.9309%2065.4837C88.5809%2065.1426%2088.2578%2064.7806%2087.9616%2064.3917C87.6654%2064.0027%2087.4021%2063.5958%2087.1688%2063.165C86.9354%2062.7372%2086.7349%2062.2914%2086.5704%2061.8337L86.3311%2061.1605L87.0281%2061.002C92.4881%2059.7544%2098.3041%2058.6086%20104.309%2057.5884L105.006%2057.4717L105.048%2058.1747C105.057%2058.3273%20105.063%2058.4829%20105.063%2058.6415C105.06%2059.2638%20105%2059.883%20104.877%2060.4964C104.754%2061.1067%20104.575%2061.702%20104.336%2062.2795C104.093%2062.8569%20103.8%2063.4044%20103.453%2063.9219C103.106%2064.4425%20102.711%2064.9242%20102.271%2065.364C101.828%2065.8068%20101.35%2066.2017%20100.829%2066.5487C100.309%2066.8958%2099.7611%2067.189%2099.1837%2067.4283C98.6063%2067.6676%2098.0139%2067.8472%2097.4006%2067.9698C96.7873%2068.0925%2096.168%2068.1553%2095.5427%2068.1553ZM88.0364%2062.073C88.2278%2062.4919%2088.4552%2062.8928%2088.7125%2063.2727C88.9728%2063.6527%2089.26%2064.0117%2089.5801%2064.3438C89.8973%2064.6759%2090.2413%2064.981%2090.6123%2065.2533C90.9803%2065.5285%2091.3692%2065.7709%2091.7791%2065.9833C92.1889%2066.1927%2092.6138%2066.3662%2093.0536%2066.5038C93.4934%2066.6445%2093.9421%2066.7462%2094.3969%2066.809C94.8546%2066.8718%2095.3124%2066.8988%2095.7731%2066.8868C96.2338%2066.8718%2096.6886%2066.821%2097.1403%2066.7312C97.5921%2066.6445%2098.0349%2066.5158%2098.4657%2066.3543C98.8965%2066.1897%2099.3124%2065.9923%2099.7073%2065.7619C100.105%2065.5285%20100.482%2065.2653%20100.835%2064.9691C101.188%2064.6729%20101.514%2064.3498%20101.813%2063.9997C102.116%2063.6497%20102.382%2063.2787%20102.618%2062.8838C102.858%2062.4889%20103.058%2062.076%20103.229%2061.6482C103.396%2061.2204%20103.528%2060.7806%20103.621%2060.3288C103.716%2059.8771%20103.773%2059.4223%20103.791%2058.9616C98.3311%2059.901%2093.0416%2060.9451%2088.0364%2062.073Z'%20fill='%23262626'/%3e%3cpath%20d='M196.108%20368.722L114.875%20322.466L177.735%20212.159L233.906%20244.144L244.691%20283.465L196.108%20368.722Z'%20fill='white'/%3e%3cpath%20d='M214.122%20308.939C214.122%20309.256%20214.092%20309.573%20214.029%20309.885C213.969%20310.196%20213.876%20310.498%20213.754%20310.791C213.634%20311.084%20213.484%20311.363%20213.308%20311.626C213.131%20311.892%20212.931%20312.134%20212.707%20312.359C212.482%20312.583%20212.237%20312.784%20211.974%20312.96C211.707%20313.137%20211.429%20313.286%20211.136%20313.409C210.843%20313.529%20210.541%20313.621%20210.229%20313.684C209.915%20313.747%20209.601%20313.777%20209.284%20313.777C208.967%20313.777%20208.653%20313.747%20208.339%20313.684C208.027%20313.621%20207.725%20313.529%20207.432%20313.409C207.139%20313.286%20206.861%20313.137%20206.594%20312.96C206.331%20312.784%20206.086%20312.583%20205.861%20312.359C205.637%20312.134%20205.437%20311.892%20205.26%20311.626C205.084%20311.363%20204.934%20311.084%20204.814%20310.791C204.692%20310.498%20204.599%20310.196%20204.539%20309.885C204.476%20309.573%20204.446%20309.256%20204.446%20308.939C204.446%20308.622%20204.476%20308.308%20204.539%20307.997C204.599%20307.686%20204.692%20307.383%20204.814%20307.09C204.934%20306.794%20205.084%20306.516%20205.26%20306.253C205.437%20305.989%20205.637%20305.744%20205.861%20305.52C206.086%20305.295%20206.331%20305.095%20206.594%20304.918C206.861%20304.742%20207.139%20304.592%20207.432%20304.472C207.725%20304.35%20208.027%20304.257%20208.339%20304.197C208.653%20304.134%20208.967%20304.104%20209.284%20304.104C209.601%20304.104%20209.915%20304.134%20210.229%20304.197C210.541%20304.257%20210.843%20304.35%20211.136%20304.472C211.429%20304.592%20211.707%20304.742%20211.974%20304.918C212.237%20305.095%20212.482%20305.295%20212.707%20305.52C212.931%20305.744%20213.131%20305.989%20213.308%20306.253C213.484%20306.516%20213.634%20306.794%20213.754%20307.09C213.876%20307.383%20213.969%20307.686%20214.029%20307.997C214.092%20308.308%20214.122%20308.622%20214.122%20308.939Z'%20fill='%23367CFF'%20fill-opacity='0.3'/%3e%3cpath%20d='M163.057%20283.465C163.057%20283.785%20163.027%20284.099%20162.964%20284.41C162.905%20284.721%20162.812%20285.023%20162.689%20285.316C162.57%20285.61%20162.42%20285.888%20162.243%20286.154C162.067%20286.417%20161.867%20286.663%20161.642%20286.887C161.418%20287.112%20161.172%20287.312%20160.909%20287.489C160.643%20287.665%20160.365%20287.812%20160.071%20287.934C159.778%20288.057%20159.476%20288.147%20159.165%20288.21C158.851%20288.272%20158.537%20288.302%20158.22%20288.302C157.902%20288.302%20157.588%20288.272%20157.277%20288.21C156.963%20288.147%20156.661%20288.057%20156.368%20287.934C156.074%20287.812%20155.796%20287.665%20155.533%20287.489C155.267%20287.312%20155.024%20287.112%20154.797%20286.887C154.573%20286.663%20154.372%20286.417%20154.196%20286.154C154.019%20285.888%20153.872%20285.61%20153.75%20285.316C153.627%20285.023%20153.537%20284.721%20153.475%20284.41C153.412%20284.099%20153.382%20283.785%20153.382%20283.465C153.382%20283.147%20153.412%20282.833%20153.475%20282.522C153.537%20282.211%20153.627%20281.909%20153.75%20281.616C153.872%20281.322%20154.019%20281.044%20154.196%20280.778C154.372%20280.515%20154.573%20280.269%20154.797%20280.045C155.024%20279.821%20155.267%20279.62%20155.533%20279.444C155.796%20279.267%20156.074%20279.121%20156.368%20278.998C156.661%20278.875%20156.963%20278.785%20157.277%20278.723C157.588%20278.66%20157.902%20278.63%20158.22%20278.63C158.537%20278.63%20158.851%20278.66%20159.165%20278.723C159.476%20278.785%20159.778%20278.875%20160.071%20278.998C160.365%20279.121%20160.643%20279.267%20160.909%20279.444C161.172%20279.62%20161.418%20279.821%20161.642%20280.045C161.867%20280.269%20162.067%20280.515%20162.243%20280.778C162.42%20281.044%20162.57%20281.322%20162.689%20281.616C162.812%20281.909%20162.905%20282.211%20162.964%20282.522C163.027%20282.833%20163.057%20283.147%20163.057%20283.465Z'%20fill='%23367CFF'%20fill-opacity='0.3'/%3e%3cpath%20d='M196.344%20369.583L114.011%20322.702L177.499%20211.297L234.448%20243.725L245.374%20283.554L196.344%20369.583ZM115.737%20322.229L195.869%20367.856L244.015%20283.381L233.368%20244.562L177.975%20213.023L115.737%20322.229Z'%20fill='%23262626'/%3e%3cpath%20d='M233.906%20244.144L219.629%20269.194L244.691%20283.464L233.906%20244.144Z'%20fill='%23367CFF'%20fill-opacity='0.3'/%3e%3cpath%20d='M244.69%20284.099C244.58%20284.099%20244.475%20284.072%20244.379%20284.015L219.317%20269.744C219.165%20269.658%20219.066%20269.532%20219.018%20269.362C218.973%20269.194%20218.994%20269.032%20219.081%20268.883L233.358%20243.83C233.495%20243.584%20233.705%20243.477%20233.986%20243.513C234.264%20243.549%20234.444%20243.701%20234.518%20243.973L245.304%20283.294C245.328%20283.39%20245.334%20283.486%20245.313%20283.584C245.295%20283.68%20245.256%20283.767%20245.196%20283.845C245.136%20283.925%20245.061%20283.985%20244.972%20284.03C244.885%20284.072%20244.789%20284.096%20244.69%20284.096V284.099ZM220.493%20268.958L243.676%20282.16L233.699%20245.786L220.493%20268.958Z'%20fill='%23292A2E'/%3e%3cpath%20d='M178.301%20273.286C178.301%20273.535%20178.277%20273.783%20178.229%20274.031C178.181%20274.277%20178.107%20274.513%20178.011%20274.746C177.915%20274.977%20177.798%20275.198%20177.658%20275.404C177.52%20275.614%20177.362%20275.808%20177.185%20275.985C177.006%20276.161%20176.814%20276.32%20176.605%20276.458C176.395%20276.598%20176.177%20276.715%20175.944%20276.811C175.713%20276.906%20175.474%20276.981%20175.228%20277.029C174.983%20277.077%20174.735%20277.104%20174.484%20277.104C174.232%20277.104%20173.984%20277.077%20173.739%20277.029C173.493%20276.981%20173.254%20276.906%20173.021%20276.811C172.79%20276.715%20172.569%20276.598%20172.362%20276.458C172.153%20276.32%20171.961%20276.161%20171.782%20275.985C171.605%20275.808%20171.447%20275.614%20171.309%20275.404C171.169%20275.198%20171.052%20274.977%20170.956%20274.746C170.86%20274.513%20170.786%20274.277%20170.738%20274.031C170.69%20273.783%20170.666%20273.535%20170.666%20273.286C170.666%20273.035%20170.69%20272.787%20170.738%20272.541C170.786%20272.296%20170.86%20272.057%20170.956%20271.823C171.052%20271.593%20171.169%20271.372%20171.309%20271.165C171.447%20270.956%20171.605%20270.764%20171.782%20270.585C171.961%20270.408%20172.153%20270.25%20172.362%20270.112C172.569%20269.971%20172.79%20269.855%20173.021%20269.759C173.254%20269.663%20173.493%20269.591%20173.739%20269.541C173.984%20269.493%20174.232%20269.469%20174.484%20269.469C174.735%20269.469%20174.983%20269.493%20175.228%20269.541C175.474%20269.591%20175.713%20269.663%20175.944%20269.759C176.177%20269.855%20176.395%20269.971%20176.605%20270.112C176.814%20270.25%20177.006%20270.408%20177.185%20270.585C177.362%20270.764%20177.52%20270.956%20177.658%20271.165C177.798%20271.372%20177.915%20271.593%20178.011%20271.823C178.107%20272.057%20178.181%20272.296%20178.229%20272.541C178.277%20272.787%20178.301%20273.035%20178.301%20273.286Z'%20fill='%23292A2E'/%3e%3cpath%20d='M214.121%20289.565C214.121%20289.816%20214.097%20290.064%20214.05%20290.31C213.999%20290.555%20213.927%20290.794%20213.831%20291.025C213.735%20291.258%20213.619%20291.476%20213.478%20291.686C213.338%20291.895%20213.182%20292.087%20213.002%20292.263C212.826%20292.443%20212.634%20292.601%20212.425%20292.739C212.216%20292.879%20211.997%20292.996%20211.764%20293.092C211.534%20293.188%20211.294%20293.259%20211.049%20293.31C210.804%20293.358%20210.555%20293.382%20210.304%20293.382C210.053%20293.382%20209.804%20293.358%20209.559%20293.31C209.311%20293.259%20209.074%20293.188%20208.841%20293.092C208.611%20292.996%20208.389%20292.879%20208.183%20292.739C207.973%20292.601%20207.779%20292.443%20207.602%20292.263C207.426%20292.087%20207.267%20291.895%20207.127%20291.686C206.989%20291.476%20206.869%20291.258%20206.774%20291.025C206.678%20290.794%20206.606%20290.555%20206.558%20290.31C206.507%20290.064%20206.483%20289.816%20206.483%20289.565C206.483%20289.313%20206.507%20289.065%20206.558%20288.82C206.606%20288.574%20206.678%20288.335%20206.774%20288.105C206.869%20287.874%20206.989%20287.653%20207.127%20287.443C207.267%20287.237%20207.426%20287.043%20207.602%20286.866C207.779%20286.689%20207.973%20286.531%20208.183%20286.39C208.389%20286.253%20208.611%20286.133%20208.841%20286.037C209.074%20285.942%20209.311%20285.87%20209.559%20285.822C209.804%20285.771%20210.053%20285.747%20210.304%20285.747C210.555%20285.747%20210.804%20285.771%20211.049%20285.822C211.294%20285.87%20211.534%20285.942%20211.764%20286.037C211.997%20286.133%20212.216%20286.253%20212.425%20286.39C212.634%20286.531%20212.826%20286.689%20213.002%20286.866C213.182%20287.043%20213.338%20287.237%20213.478%20287.443C213.619%20287.653%20213.735%20287.874%20213.831%20288.105C213.927%20288.335%20213.999%20288.574%20214.05%20288.82C214.097%20289.065%20214.121%20289.313%20214.121%20289.565Z'%20fill='%23292A2E'/%3e%3cpath%20d='M194.073%20316.796C193.9%20316.796%20193.753%20316.736%20193.63%20316.616C193.508%20316.497%20193.445%20316.35%20193.439%20316.18C193.43%20315.8%20193.406%20315.42%20193.373%20315.043C193.34%20314.663%20193.292%20314.289%20193.236%20313.912C193.179%20313.538%20193.107%20313.164%20193.026%20312.793C192.945%20312.422%20192.85%20312.054%20192.745%20311.689C192.64%20311.324%20192.523%20310.962%20192.398%20310.606C192.269%20310.247%20192.129%20309.894%20191.979%20309.547C191.829%20309.197%20191.668%20308.853%20191.494%20308.515C191.324%20308.177%20191.141%20307.845%20190.947%20307.515C190.752%20307.189%20190.549%20306.869%20190.336%20306.555C190.121%20306.241%20189.9%20305.936%20189.666%20305.634C189.433%20305.334%20189.191%20305.044%20188.936%20304.757C188.685%20304.473%20188.425%20304.198%20188.155%20303.931C187.886%20303.662%20187.608%20303.405%20187.324%20303.153C187.037%20302.902%20186.743%20302.663%20186.441%20302.429C186.142%20302.199%20185.834%20301.978%20185.517%20301.765C185.203%20301.553%20184.882%20301.352%20184.553%20301.161C184.224%20300.969%20183.892%20300.787%20183.551%20300.616C183.213%20300.446%20182.869%20300.287%20182.519%20300.138C182.169%20299.991%20181.813%20299.854%20181.457%20299.728C181.098%20299.599%20180.736%20299.486%20180.371%20299.384C180.003%20299.279%20179.635%20299.189%20179.264%20299.109C178.893%20299.028%20178.519%20298.962%20178.142%20298.905C177.768%20298.848%20177.391%20298.806%20177.011%20298.773C176.634%20298.741%20176.254%20298.723%20175.874%20298.714C175.494%20298.705%20175.114%20298.711%20174.734%20298.726C174.354%20298.744%20173.977%20298.77%20173.598%20298.809C173.221%20298.851%20172.844%20298.902%20172.47%20298.968C172.096%20299.031%20171.725%20299.109%20171.354%20299.195C170.986%20299.282%20170.618%20299.381%20170.256%20299.494C169.891%20299.605%20169.532%20299.728%20169.176%20299.859C168.82%20299.994%20168.47%20300.138%20168.123%20300.296C167.779%20300.452%20167.437%20300.619%20167.099%20300.796C166.944%20300.883%20166.782%20300.901%20166.612%20300.85C166.441%20300.799%20166.316%20300.697%20166.232%20300.539C166.148%20300.383%20166.133%20300.218%20166.187%20300.051C166.244%20299.88%20166.348%20299.755%20166.507%20299.677C166.869%20299.486%20167.234%20299.309%20167.605%20299.141C167.973%20298.974%20168.35%20298.818%20168.73%20298.675C169.113%20298.531%20169.496%20298.402%20169.885%20298.283C170.274%20298.163%20170.666%20298.058%20171.063%20297.963C171.458%20297.87%20171.856%20297.789%20172.257%20297.72C172.658%20297.652%20173.062%20297.595%20173.466%20297.553C173.87%20297.511%20174.274%20297.481%20174.681%20297.463C175.087%20297.445%20175.494%20297.442%20175.901%20297.448C176.308%20297.457%20176.712%20297.478%20177.119%20297.514C177.523%20297.547%20177.927%20297.595%20178.33%20297.655C178.731%20297.714%20179.132%20297.786%20179.53%20297.873C179.928%20297.957%20180.323%20298.055%20180.712%20298.166C181.104%20298.277%20181.493%20298.399%20181.876%20298.534C182.259%20298.669%20182.639%20298.815%20183.013%20298.974C183.387%20299.135%20183.755%20299.306%20184.12%20299.489C184.482%20299.671%20184.841%20299.862%20185.191%20300.069C185.541%20300.272%20185.888%20300.491%20186.223%20300.715C186.561%20300.943%20186.89%20301.182%20187.213%20301.43C187.536%20301.675%20187.85%20301.936%20188.155%20302.202C188.461%20302.471%20188.76%20302.747%20189.047%20303.034C189.337%20303.321%20189.615%20303.617%20189.885%20303.919C190.154%20304.224%20190.414%20304.539%20190.663%20304.859C190.914%20305.179%20191.153%20305.508%20191.381%20305.843C191.611%20306.181%20191.829%20306.522%20192.036%20306.872C192.242%20307.222%20192.437%20307.578%20192.622%20307.94C192.808%20308.302%20192.978%20308.67%20193.14%20309.044C193.301%20309.418%20193.451%20309.795%20193.589%20310.178C193.726%20310.561%20193.849%20310.947%20193.963%20311.339C194.076%20311.728%20194.175%20312.123%20194.262%20312.521C194.351%20312.916%20194.426%20313.316%20194.486%20313.717C194.549%20314.118%20194.6%20314.522%20194.636%20314.929C194.672%20315.333%20194.696%20315.74%20194.704%20316.144C194.71%20316.32%20194.654%20316.47%20194.531%20316.598C194.411%20316.724%20194.265%20316.79%20194.091%20316.796H194.073Z'%20fill='%23292A2E'/%3e%3cpath%20d='M177.807%20269.379C175.707%20269.352%20173.777%20268.766%20172.018%20267.617C171.877%20267.516%20171.793%20267.381%20171.764%20267.207C171.737%20267.037%20171.773%20266.878%20171.871%20266.738C171.973%20266.597%20172.108%20266.51%20172.278%20266.48C172.452%20266.45%20172.607%20266.483%20172.751%20266.582C172.802%20266.618%20176.517%20269.17%20180.67%20267.584C180.832%20267.525%20180.99%20267.533%20181.149%20267.605C181.304%20267.677%20181.412%20267.794%20181.475%20267.955C181.535%20268.114%20181.532%20268.272%20181.463%20268.431C181.394%20268.59%20181.28%20268.7%20181.122%20268.766C180.054%20269.176%20178.95%20269.379%20177.807%20269.379Z'%20fill='%23292A2E'/%3e%3cpath%20d='M216.922%20287.578C216.85%20287.578%20216.781%20287.566%20216.712%20287.542C211.372%20285.685%20210.765%20281.568%20210.741%20281.391C210.72%20281.218%20210.762%20281.062%20210.866%20280.925C210.974%20280.787%20211.115%20280.706%20211.285%20280.682C211.459%20280.658%20211.617%20280.7%20211.755%20280.805C211.895%20280.91%20211.976%20281.05%20212%20281.224C212.021%20281.373%20212.563%20284.754%20217.131%20286.349C217.278%20286.4%20217.391%20286.489%20217.469%20286.624C217.547%20286.756%20217.574%20286.899%20217.547%20287.052C217.523%20287.204%20217.451%20287.33%20217.331%20287.429C217.215%20287.528%20217.077%20287.578%20216.925%20287.578H216.922Z'%20fill='%23292A2E'/%3e%3cpath%20d='M6.51937%20140.314C6.34585%20140.314%206.19626%20140.252%206.07359%20140.129C5.94794%20140.003%205.8881%20139.857%205.8881%20139.68V121.813C5.88212%20121.637%205.94196%20121.481%206.06462%20121.356C6.19027%20121.227%206.34285%20121.161%206.51937%20121.161C6.69888%20121.161%206.85146%20121.227%206.97412%20121.356C7.09977%20121.481%207.15961%20121.637%207.15362%20121.813V139.68C7.15362%20139.857%207.0908%20140.003%206.96813%20140.129C6.84547%20140.252%206.69588%20140.314%206.51937%20140.314Z'%20fill='%23262626'/%3e%3cmask%20id='mask0_2917_18791'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='-1'%20y='129'%20width='15'%20height='3'%3e%3cpath%20d='M-0.000976562%20129.481H13.5727V131.779H-0.000976562V129.481Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_2917_18791)'%3e%3cpath%20d='M12.3519%20131.381H0.686991C0.510476%20131.381%200.363879%20131.318%200.238224%20131.195C0.115562%20131.073%200.0527344%20130.923%200.0527344%20130.746C0.0527344%20130.573%200.115562%20130.423%200.238224%20130.301C0.363879%20130.175%200.510476%20130.115%200.686991%20130.115H12.3519C12.5254%20130.115%2012.675%20130.175%2012.7977%20130.301C12.9234%20130.423%2012.9832%20130.573%2012.9832%20130.746C12.9832%20130.923%2012.9234%20131.073%2012.7977%20131.195C12.675%20131.318%2012.5254%20131.381%2012.3519%20131.381Z'%20fill='%23262626'/%3e%3c/g%3e%3cpath%20d='M310.758%20239.821C310.582%20239.821%20310.432%20239.758%20310.31%20239.635C310.187%20239.51%20310.124%20239.36%20310.124%20239.186V212.009C310.124%20211.836%20310.187%20211.686%20310.31%20211.563C310.435%20211.441%20310.582%20211.381%20310.758%20211.381C310.932%20211.381%20311.081%20211.441%20311.204%20211.563C311.327%20211.686%20311.39%20211.836%20311.39%20212.009V239.186C311.39%20239.36%20311.33%20239.51%20311.204%20239.635C311.081%20239.758%20310.932%20239.821%20310.758%20239.821Z'%20fill='%23262626'/%3e%3cpath%20d='M319.629%20226.232H301.888C301.712%20226.232%20301.565%20226.17%20301.439%20226.047C301.317%20225.921%20301.254%20225.775%20301.254%20225.598C301.254%20225.425%20301.317%20225.275%20301.439%20225.149C301.565%20225.027%20301.712%20224.964%20301.888%20224.964H319.629C319.806%20224.964%20319.955%20225.027%20320.078%20225.149C320.204%20225.275%20320.264%20225.425%20320.264%20225.598C320.264%20225.775%20320.204%20225.921%20320.078%20226.047C319.955%20226.17%20319.806%20226.232%20319.629%20226.232Z'%20fill='%23262626'/%3e%3cpath%20d='M353.942%20153.903C353.768%20153.903%20353.619%20153.84%20353.493%20153.717C353.37%20153.592%20353.308%20153.442%20353.308%20153.269V139.68C353.311%20139.507%20353.373%20139.357%20353.496%20139.234C353.619%20139.115%20353.768%20139.052%20353.942%20139.052C354.115%20139.052%20354.265%20139.115%20354.388%20139.234C354.51%20139.357%20354.573%20139.507%20354.576%20139.68V153.269C354.576%20153.442%20354.513%20153.592%20354.391%20153.717C354.265%20153.84%20354.118%20153.903%20353.942%20153.903Z'%20fill='%23262626'/%3e%3cmask%20id='mask1_2917_18791'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='348'%20y='145'%20width='12'%20height='3'%3e%3cpath%20d='M348.269%20145.564H359.012V147.862H348.269V145.564Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_2917_18791)'%3e%3cpath%20d='M358.378%20147.108H349.507C349.331%20147.108%20349.181%20147.046%20349.059%20146.923C348.933%20146.797%20348.873%20146.651%20348.873%20146.474C348.873%20146.301%20348.933%20146.151%20349.059%20146.025C349.181%20145.903%20349.331%20145.84%20349.507%20145.84H358.378C358.551%20145.84%20358.701%20145.903%20358.827%20146.025C358.949%20146.151%20359.012%20146.301%20359.012%20146.474C359.012%20146.651%20358.949%20146.797%20358.824%20146.923C358.701%20147.046%20358.551%20147.108%20358.378%20147.108Z'%20fill='%23262626'/%3e%3c/g%3e%3c/svg%3e";function k8(e){const{title:t,description:r,onPageRefresh:n,buttonClassName:i,titleClassName:a,descriptionClassName:o,containerClassName:s,imageClassName:u}=e;return _.jsxRuntimeExports.jsxs("div",{className:`hfl-flex hfl-justify-center hfl-items-center xs:hfl-py-2 xs:hfl-px-8 sm:hfl-py-4 sm:hfl-px-16 hfl-border-t-1 hfl-border-Gray-300 ${s}`,children:[_.jsxRuntimeExports.jsx("img",{src:M8,className:u||"",alt:"No records found image"}),_.jsxRuntimeExports.jsxs("div",{className:"xs:hfl-ml-8 sm:hfl-ml-12 ",children:[_.jsxRuntimeExports.jsx(_.bi,{variant:"Bold",type:"Display xs",className:`hfl-mb-1 ${a}`,children:t}),_.jsxRuntimeExports.jsx(_.bi,{variant:"Medium",type:"Text md",className:`hfl-mb-1 ${o}`,children:r}),_.jsxRuntimeExports.jsx(_.Ku,{hierarchy:"Primary",size:"sm",className:i,onClick:n,icon:"Left",iconFile:"hx_rewind",textField:"Refresh"})]})]})}const R1=({children:e,column:t,isHeaderCell:r})=>_.jsxRuntimeExports.jsx("div",{style:{width:t?.width?t?.width:"auto",minWidth:t?.minWidth??"100px",maxWidth:t?.width?"":"100px",wordBreak:"break-word"},className:`hfl-flex hfl-items-center hfl-px-4 hfl-text-left hfl-min-w-100 ${t?.pinned==="left"?"hfl-z-10":""} ${r?`${t?.headerCellClasses??""} hfl-py-2 hfl-justify-between hfl-relative`:`${t?.cellClasses??""} hfl-min-h-[40px] hfl-py-1`}`,children:e}),$1=({children:e,isHeaderRow:t,classes:r})=>_.jsxRuntimeExports.jsx("div",{className:`hfl-flex hfl-justify-start hfl-items-stretch ${r??""} ${t?"hfl-bg-White":"hfl-bg-White odd:hfl-bg-Gray-50"}`,children:e}),T8=()=>{const{rowsData:e,leftPinnedColumns:t,rightPinnedColumns:r,nonPinnedColumns:n,tableBodyClassesToOverride:i,rowClassesForSpecificIndex:a,tableBodyParentDivRef:o}=hn(),s=(f,h,d)=>{const p=h[f?.field];return f?.valueFormatter?f?.valueFormatter(p,h,f,d):p},u=(f,h,d,p)=>_.jsxRuntimeExports.jsx(R1,{column:f,colIndex:p,rowIndex:d,children:f?.renderCell?f?.renderCell(s(f,h,d),h,f,d):s(f,h,d)},`${d}-${p}`),c=(f,h,d,p)=>_.jsxRuntimeExports.jsx("div",{style:{height:"inherit"},className:p,children:f.map((m,v)=>u(m,h,d,v))}),l=(f,h)=>_.jsxRuntimeExports.jsxs($1,{classes:`hfl-text-LightBlack-1 hfl-text-1 hfl-leading-12 hfl-font-inter-0 ${a.index===h?a.rowClasses:""}`,isHeaderRow:!1,children:[c(t,f,h,"hfl-flex hfl-sticky hfl-left-0 hfl-z-10 hfl-bg-inherit hfl-shadow-lg hfl-shadow-Gray-300"),c(n,f,h,"hfl-flex hfl-h-inherit hfl-w-full"),c(r,f,h,"hfl-flex hfl-h-inherit hfl-sticky hfl-right-0 hfl-z-10 hfl-bg-inherit hfl-shadow-lg hfl-shadow-Gray-300")]},"tr"+h);return _.jsxRuntimeExports.jsx("div",{ref:o,className:`${i??""} hfl-max-h-500`,children:e.map((f,h)=>l(f,h))})},D8="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%2010.6667C9.27614%2010.6667%209.5%2010.8905%209.5%2011.1667C9.5%2011.4428%209.27614%2011.6667%209%2011.6667H7C6.72386%2011.6667%206.5%2011.4428%206.5%2011.1667C6.5%2010.8905%206.72386%2010.6667%207%2010.6667H9ZM11%207.33333C11.2761%207.33333%2011.5%207.55719%2011.5%207.83333C11.5%208.10948%2011.2761%208.33333%2011%208.33333H5C4.72386%208.33333%204.5%208.10948%204.5%207.83333C4.5%207.55719%204.72386%207.33333%205%207.33333H11ZM13%204C13.2761%204%2013.5%204.22386%2013.5%204.5C13.5%204.77614%2013.2761%205%2013%205H3C2.72386%205%202.5%204.77614%202.5%204.5C2.5%204.22386%202.72386%204%203%204H13Z'%20fill='%23667085'/%3e%3c/svg%3e",N8=e=>{const{options:t,onCheck:r,filterclassname:n,filterButtonStyles:i="",showApplyFilter:a=!1,onApplyFilter:o,field:s,resetDropDownData:u,showSearch:c,searchQuery:l,setSearchQuery:f,dropdownCloseEventOnClickOutside:h}=e,d=E.useRef(null),p=E.useRef(null),m=E.useRef(null),{showDropdown:v,setShowDropdown:y}=hn(),b=()=>{o&&o(s),y(null)};return E.useEffect(()=>{const g=w=>{if(w.target instanceof HTMLElement){const C=document.getElementById(`filter-button-${v}`);d.current&&!d.current.contains(w.target)&&C&&!C.contains(w.target)&&m&&!m.current?.contains(w.target)&&(!p.current||p&&p.current&&!p.current.contains(w.target))&&(a&&u&&u(s),y(null),h?.())}};return v?document.addEventListener("mousedown",g):document.removeEventListener("mousedown",g),()=>{document.removeEventListener("mousedown",g)}},[v,d,y]),_.jsxRuntimeExports.jsxs("div",{className:`hfl-px-3 hfl-z-[10000000] hfl-py-2 hfl-top-[48px] hfl-left-[20px] hfl-rounded-lg hfl-bg-White hfl-absolute hfl-shadow-4xl hfl-border-1 ${n}`,children:[c&&_.jsxRuntimeExports.jsxs("div",{ref:m,className:"hfl-flex hfl-items-center hfl-w-full hfl-px-2 hfl-py-1 hfl-border hfl-rounded-lg",children:[_.jsxRuntimeExports.jsx("i",{className:"hx_search"}),_.jsxRuntimeExports.jsx("input",{type:"string",value:l,className:"hfl-p-1 hfl-w-full focus-visible:hfl-outline-none",placeholder:"Search Service",onChange:g=>{f?.(g.target.value)}})]}),_.jsxRuntimeExports.jsx("ul",{ref:d,className:"hfl-pb-1 hfl-w-[150px] hfl-max-h-[200px] hfl-rounded-lg hfl-overflow-y-scroll hfl-overflow-x-hidden ",children:t.map(g=>_.jsxRuntimeExports.jsx(I1,{isSelected:g.isSelected,isDisabled:!1,label:g.name,onCheck:r},`dropdown-option-${g.name}`))}),a&&_.jsxRuntimeExports.jsx("button",{onClick:b,className:`hfl-text-Blue-950 hfl-text-[13px] hfl-mt-1 hfl-pb-0.5 hfl-rounded-lg hfl-border-0 hfl-font-inter-0 ${i}`,ref:p,children:"Apply Filter"})]})},I8=()=>{const{leftPinnedColumns:e,rightPinnedColumns:t,nonPinnedColumns:r,headerRowClasses:n,hideHeader:i,showDropdown:a,setShowDropdown:o}=hn(),s=E.useCallback((c,l)=>_.jsxRuntimeExports.jsxs(R1,{column:c,isHeaderCell:!0,colIndex:l,children:[_.jsxRuntimeExports.jsxs("div",{className:"hfl-flex hfl-w-full hfl-gap-0 hfl-flex-row hfl-items-center",children:[c?.enableColumnCheckbox&&_.jsxRuntimeExports.jsx(_.Oi,{size:"md",checkBoxInnerDivClasses:"!hfl-w-4 !hfl-h-4 !hfl-mr-1 !hfl-text-Blue-600 !hfl-border-Blue-600 !hfl-bg-Blue-50 hover:hfl-bg-Blue-50 hover:hfl-border-Blue-600",text:"",onClick:()=>{c?.onColumnCheckboxClick?.(!c?.isCheckBoxMarked)},id:`checkbox-${c?.field}`,isMarked:c?.isCheckBoxMarked||!1,checkboxClasses:"hfl-gap-0"}),c.renderHeaderCell?c.renderHeaderCell(c):c?.fieldHeaderName]}),c?.enableFilter&&_.jsxRuntimeExports.jsx("img",{alt:"filter-icon",src:D8,onClick:()=>a===c?.field?o(null):o(c?.field),id:`filter-button-${c?.field}`}),a===c?.field&&_.jsxRuntimeExports.jsx(N8,{options:c?.filterValues??[],onCheck:c?.onFilterCheck??(()=>{}),filterclassname:c?.filterClassName??"",showApplyFilter:c?.showApplyFilter??!1,onApplyFilter:c?.onApplyFilter,field:c?.field,resetDropDownData:c?.resetFilterData,filterButtonStyles:c?.filterButtonClassName,showSearch:c?.showSearch??!1,searchQuery:c?.searchQuery??"",setSearchQuery:c?.setSearchQuery,dropdownCloseEventOnClickOutside:c?.dropdownCloseEventOnClickOutside})]},`th-${l}`),[o,a]),u=E.useCallback((c,l)=>_.jsxRuntimeExports.jsx("div",{className:l,children:c.map((f,h)=>s(f,h))}),[s]);return _.jsxRuntimeExports.jsx(_.jsxRuntimeExports.Fragment,{children:!i&&_.jsxRuntimeExports.jsxs($1,{isHeaderRow:!0,classes:`${n??""} hfl-sticky hfl-top-0 hfl-left-0 hfl-z-20 hfl-text-LightBlack-1 hfl-text-1 hfl-leading-12 hfl-font-inter-2 hfl-border-b hfl-border-t hfl-border-Gray-200`,children:[u(e,"hfl-flex hfl-sticky hfl-left-0 hfl-z-10 hfl-bg-inherit hfl-shadow-md hfl-shadow-Gray-200"),u(r,"hfl-flex hfl-h-inherit hfl-w-full"),u(t,"hfl-flex hfl-sticky hfl-right-0 hfl-z-10 hfl-bg-inherit hfl-shadow-md hfl-shadow-Gray-200")]})})},R8=()=>{const{rowsData:e,displayNoDataFoundProps:t,tableMainDivClasses:r}=hn();return _.jsxRuntimeExports.jsxs("div",{className:`hfl-table hfl-w-full ${r||""}`,children:[_.jsxRuntimeExports.jsx(I8,{}),(!e||e?.length===0)&&t&&_.jsxRuntimeExports.jsx(k8,{title:t?.title,description:t?.description,buttonClassName:t?.buttonClassName??"",containerClassName:t?.containerClassName??"",descriptionClassName:t?.descriptionClassName??"",onPageRefresh:t?.onPageReload,titleClassName:t?.titleClassName??"",imageClassName:t?.imageClassName??""}),e?.length>0&&_.jsxRuntimeExports.jsx(T8,{})]})},$8=({children:e,initialColumns:t,rowData:r,headerRowClasses:n,rowClassesForSpecificIndex:i,tableBodyClassesToOverride:a,hideHeader:o,paginationProps:s,onPaginationClick:u,displayPaginationClassesToOverride:c,displayNoDataFoundProps:l,enableTableFilter:f,tableBodyParentDivRef:h,tableMainDivClasses:d})=>{const[p,m]=E.useState(null),v={rowsData:r,allColumns:t,leftPinnedColumns:t.filter(y=>y.pinned===kn.Left),rightPinnedColumns:t.filter(y=>y.pinned===kn.Right),nonPinnedColumns:t.filter(y=>y.pinned!==kn.Right&&y.pinned!==kn.Left),paginationProps:s,onPaginationClick:u,headerRowClasses:n,rowClassesForSpecificIndex:i,tableBodyClassesToOverride:a,hideHeader:o,showDropdown:p,setShowDropdown:m,displayPaginationClassesToOverride:c,displayNoDataFoundProps:l,enableTableFilter:f,tableBodyParentDivRef:h,tableMainDivClasses:d};return _.jsxRuntimeExports.jsx(N1.Provider,{value:v,children:e})},L8=e=>{const t={activePage:e.paginationProps?.activePage??0,pageSize:e.paginationProps?.pageSize??0,currentPageRowCount:e.paginationProps?.currentPageRowCount??0,totalRecords:e.paginationProps?.totalRecords??0};return _.jsxRuntimeExports.jsx($8,{initialColumns:e.columns,rowData:e.rows,paginationProps:t,headerRowClasses:e.headerRowClasses||"",rowClassesForSpecificIndex:e.rowClassesForSpecificIndex||{index:-1,rowClasses:""},tableBodyClassesToOverride:e.tableBodyClassesToOverride||"",hideHeader:e.hideHeader??!1,displayPaginationClassesToOverride:e.displayPaginationClassesToOverride||"",onPaginationClick:e.onPaginationClick,displayNoDataFoundProps:e.displayNoDataFoundProps,tableMainDivClasses:e.tableMainDivClasses,enableTableFilter:e.enableTableFilter||!1,tableBodyParentDivRef:e.tableBodyParentDivRef,children:_.jsxRuntimeExports.jsxs("div",{className:`${e.tableClassesToOverride??""} hfl-w-full hfl-bg-White hfl-border hfl-border-Gray-200 hfl-rounded-lg`,ref:e.tableRef,children:[(e.displayHeaderName||e.showPagination)&&_.jsxRuntimeExports.jsxs("div",{className:`hfl-flex hfl-justify-between hfl-items-center hfl-px-4 hfl-py-2 ${e.headerAndPaginationDivClasses??""}`,children:[_.jsxRuntimeExports.jsxs("div",{className:"hfl-flex hfl-gap-4 hfl-items-center hfl-justify-between",children:[_.jsxRuntimeExports.jsx("h1",{className:` ${e.displayHeaderClassesToOverride??""}hfl-font-inter-2 hfl-text-2 hfl-text-Gray-800`,children:e.displayHeaderName}),e.enableTableFilter&&e.tableFilterProps&&_.jsxRuntimeExports.jsx(j8,{showApplyFilter:e?.tableFilterProps?.showApplyFilter,onApplyFilter:e?.tableFilterProps?.onApplyFilter,options:e?.tableFilterProps?.options,filterclassname:e?.tableFilterProps?.filterclassname,filterButtonStyles:e?.tableFilterProps?.filterButtonStyles,clearFilterButtonStyles:e?.tableFilterProps?.clearFilterButtonStyles,onClearFilter:e?.tableFilterProps?.onClearFilter})]}),e.showPagination&&e.rows?.length>0&&_.jsxRuntimeExports.jsx(S8,{})]}),_.jsxRuntimeExports.jsx("div",{ref:e.tableMainParentDivRef,className:`hfl-w-full hfl-overflow-auto ${e.tableMainParentDivClasses||""}`,children:_.jsxRuntimeExports.jsx(R8,{})})]})})};var w2={},O2={},Bs;function B8(){return Bs||(Bs=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r==="__proto__"}e.isUnsafeProperty=t})(O2)),O2}var E2={},Fs;function L1(){return Fs||(Fs=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){switch(typeof r){case"number":case"symbol":return!1;case"string":return r.includes(".")||r.includes("[")||r.includes("]")}}e.isDeepKey=t})(E2)),E2}var P2={},zs;function eo(){return zs||(zs=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return typeof r=="string"||typeof r=="symbol"?r:Object.is(r?.valueOf?.(),-0)?"-0":String(r)}e.toKey=t})(P2)),P2}var A2={},_2={},qs;function F8(){return qs||(qs=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){if(r==null)return"";if(typeof r=="string")return r;if(Array.isArray(r))return r.map(t).join(",");const n=String(r);return n==="0"&&Object.is(Number(r),-0)?"-0":n}e.toString=t})(_2)),_2}var Ws;function to(){return Ws||(Ws=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=F8(),r=eo();function n(i){if(Array.isArray(i))return i.map(r.toKey);if(typeof i=="symbol")return[i];i=t.toString(i);const a=[],o=i.length;if(o===0)return a;let s=0,u="",c="",l=!1;for(i.charCodeAt(0)===46&&(a.push(""),s++);s<o;){const f=i[s];c?f==="\\"&&s+1<o?(s++,u+=i[s]):f===c?c="":u+=f:l?f==='"'||f==="'"?c=f:f==="]"?(l=!1,a.push(u),u=""):u+=f:f==="["?(l=!0,u&&(a.push(u),u="")):f==="."?u&&(a.push(u),u=""):u+=f,s++}return u&&a.push(u),a}e.toPath=n})(A2)),A2}var Us;function ro(){return Us||(Us=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=B8(),r=L1(),n=eo(),i=to();function a(s,u,c){if(s==null)return c;switch(typeof u){case"string":{if(t.isUnsafeProperty(u))return c;const l=s[u];return l===void 0?r.isDeepKey(u)?a(s,i.toPath(u),c):c:l}case"number":case"symbol":{typeof u=="number"&&(u=n.toKey(u));const l=s[u];return l===void 0?c:l}default:{if(Array.isArray(u))return o(s,u,c);if(Object.is(u?.valueOf(),-0)?u="-0":u=String(u),t.isUnsafeProperty(u))return c;const l=s[u];return l===void 0?c:l}}}function o(s,u,c){if(u.length===0)return c;let l=s;for(let f=0;f<u.length;f++){if(l==null||t.isUnsafeProperty(u[f]))return c;l=l[u[f]]}return l===void 0?c:l}e.get=a})(w2)),w2}var S2,Ks;function z8(){return Ks||(Ks=1,S2=ro().get),S2}var q8=z8();const ur=_.getDefaultExportFromCjs(q8);var W8=_.requireReactIs(),Je=e=>e===0?0:e>0?1:-1,He=e=>typeof e=="number"&&e!=+e,Qt=e=>typeof e=="string"&&e.indexOf("%")===e.length-1,N=e=>(typeof e=="number"||e instanceof Number)&&!He(e),ft=e=>N(e)||typeof e=="string",U8=0,Zr=e=>{var t=++U8;return"".concat(e||"").concat(t)},Bt=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!N(t)&&typeof t!="string")return n;var a;if(Qt(t)){if(r==null)return n;var o=t.indexOf("%");a=r*parseFloat(t.slice(0,o))/100}else a=+t;return He(a)&&(a=n),i&&r!=null&&a>r&&(a=r),a},B1=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++)if(!r[e[n]])r[e[n]]=!0;else return!0;return!1};function it(e,t,r){return N(e)&&N(t)?e+r*(t-e):t}function F1(e,t,r){if(!(!e||!e.length))return e.find(n=>n&&(typeof t=="function"?t(n):ur(n,t))===r)}var ue=e=>e===null||typeof e>"u",no=e=>ue(e)?e:"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1)),K8=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"];function io(e){if(typeof e!="string")return!1;var t=K8;return t.includes(e)}var V8=["viewBox","children"],Vs=["points","pathLength"],j2={svg:V8,polygon:Vs,polyline:Vs},ao=(e,t)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var r=e;if(E.isValidElement(e)&&(r=e.props),typeof r!="object"&&typeof r!="function")return null;var n={};return Object.keys(r).forEach(i=>{io(i)&&(n[i]=(a=>r[i](r,a)))}),n},H8=(e,t,r)=>n=>(e(t,r,n),null),G8=(e,t,r)=>{if(e===null||typeof e!="object"&&typeof e!="function")return null;var n=null;return Object.keys(e).forEach(i=>{var a=e[i];io(i)&&typeof a=="function"&&(n||(n={}),n[i]=H8(a,t,r))}),n},Y8=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"];function z1(e){if(typeof e!="string")return!1;var t=Y8;return t.includes(e)}function Ft(e){var t=Object.entries(e).filter(r=>{var[n]=r;return z1(n)});return Object.fromEntries(t)}var Hs=e=>typeof e=="string"?e:e?e.displayName||e.name||"Component":"",Gs=null,M2=null,q1=e=>{if(e===Gs&&Array.isArray(M2))return M2;var t=[];return E.Children.forEach(e,r=>{ue(r)||(W8.isFragment(r)?t=t.concat(q1(r.props.children)):t.push(r))}),M2=t,Gs=e,t};function W1(e,t){var r=[],n=[];return Array.isArray(t)?n=t.map(i=>Hs(i)):n=[Hs(t)],q1(e).forEach(i=>{var a=ur(i,"type.displayName")||ur(i,"type.name");n.indexOf(a)!==-1&&r.push(i)}),r}var $i=e=>e&&typeof e=="object"&&"clipDot"in e?!!e.clipDot:!0,Z8=(e,t,r,n)=>{var i;if(typeof t=="symbol"||typeof t=="number")return!0;var a=(i=n&&j2?.[n])!==null&&i!==void 0?i:[],o=t.startsWith("data-"),s=typeof e!="function"&&(!!n&&a.includes(t)||z1(t)),u=!!r&&io(t);return o||s||u},le=(e,t,r)=>{if(!e||typeof e=="function"||typeof e=="boolean")return null;var n=e;if(E.isValidElement(e)&&(n=e.props),typeof n!="object"&&typeof n!="function")return null;var i={};return Object.keys(n).forEach(a=>{var o;Z8((o=n)===null||o===void 0?void 0:o[a],a,t,r)&&(i[a]=n[a])}),i},X8=["children","width","height","viewBox","className","style","title","desc"];function t0(){return t0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},t0.apply(null,arguments)}function Q8(e,t){if(e==null)return{};var r,n,i=J8(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function J8(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var U1=E.forwardRef((e,t)=>{var{children:r,width:n,height:i,viewBox:a,className:o,style:s,title:u,desc:c}=e,l=Q8(e,X8),f=a||{width:n,height:i,x:0,y:0},h=Q.clsx("recharts-surface",o);return x.createElement("svg",t0({},le(l,!0,"svg"),{className:h,width:n,height:i,style:s,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height),ref:t}),x.createElement("title",null,u),x.createElement("desc",null,c),r)}),e9=["children","className"];function r0(){return r0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r0.apply(null,arguments)}function t9(e,t){if(e==null)return{};var r,n,i=r9(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function r9(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var st=x.forwardRef((e,t)=>{var{children:r,className:n}=e,i=t9(e,e9),a=Q.clsx("recharts-layer",n);return x.createElement("g",r0({className:a},le(i,!0),{ref:t}),r)}),n9=E.createContext(null);function oe(e){return function(){return e}}const n0=Math.PI,i0=2*n0,Gt=1e-6,i9=i0-Gt;function K1(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function a9(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return K1;const r=10**t;return function(n){this._+=n[0];for(let i=1,a=n.length;i<a;++i)this._+=Math.round(arguments[i]*r)/r+n[i]}}class o9{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?K1:a9(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,i){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(t,r,n,i,a,o){this._append`C${+t},${+r},${+n},${+i},${this._x1=+a},${this._y1=+o}`}arcTo(t,r,n,i,a){if(t=+t,r=+r,n=+n,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let o=this._x1,s=this._y1,u=n-t,c=i-r,l=o-t,f=s-r,h=l*l+f*f;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(h>Gt)if(!(Math.abs(f*u-c*l)>Gt)||!a)this._append`L${this._x1=t},${this._y1=r}`;else{let d=n-o,p=i-s,m=u*u+c*c,v=d*d+p*p,y=Math.sqrt(m),b=Math.sqrt(h),g=a*Math.tan((n0-Math.acos((m+h-v)/(2*y*b)))/2),w=g/b,C=g/y;Math.abs(w-1)>Gt&&this._append`L${t+w*l},${r+w*f}`,this._append`A${a},${a},0,0,${+(f*d>l*p)},${this._x1=t+C*u},${this._y1=r+C*c}`}}arc(t,r,n,i,a,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let s=n*Math.cos(i),u=n*Math.sin(i),c=t+s,l=r+u,f=1^o,h=o?i-a:a-i;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Gt||Math.abs(this._y1-l)>Gt)&&this._append`L${c},${l}`,n&&(h<0&&(h=h%i0+i0),h>i9?this._append`A${n},${n},0,1,${f},${t-s},${r-u}A${n},${n},0,1,${f},${this._x1=c},${this._y1=l}`:h>Gt&&this._append`A${n},${n},0,${+(h>=n0)},${f},${this._x1=t+n*Math.cos(a)},${this._y1=r+n*Math.sin(a)}`)}rect(t,r,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function V1(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new o9(t)}function oo(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function H1(e){this._context=e}H1.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 Li(e){return new H1(e)}function G1(e){return e[0]}function Y1(e){return e[1]}function Z1(e,t){var r=oe(!0),n=null,i=Li,a=null,o=V1(s);e=typeof e=="function"?e:e===void 0?G1:oe(e),t=typeof t=="function"?t:t===void 0?Y1:oe(t);function s(u){var c,l=(u=oo(u)).length,f,h=!1,d;for(n==null&&(a=i(d=o())),c=0;c<=l;++c)!(c<l&&r(f=u[c],c,u))===h&&((h=!h)?a.lineStart():a.lineEnd()),h&&a.point(+e(f,c,u),+t(f,c,u));if(d)return a=null,d+""||null}return s.x=function(u){return arguments.length?(e=typeof u=="function"?u:oe(+u),s):e},s.y=function(u){return arguments.length?(t=typeof u=="function"?u:oe(+u),s):t},s.defined=function(u){return arguments.length?(r=typeof u=="function"?u:oe(!!u),s):r},s.curve=function(u){return arguments.length?(i=u,n!=null&&(a=i(n)),s):i},s.context=function(u){return arguments.length?(u==null?n=a=null:a=i(n=u),s):n},s}function Tn(e,t,r){var n=null,i=oe(!0),a=null,o=Li,s=null,u=V1(c);e=typeof e=="function"?e:e===void 0?G1:oe(+e),t=typeof t=="function"?t:oe(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?Y1:oe(+r);function c(f){var h,d,p,m=(f=oo(f)).length,v,y=!1,b,g=new Array(m),w=new Array(m);for(a==null&&(s=o(b=u())),h=0;h<=m;++h){if(!(h<m&&i(v=f[h],h,f))===y)if(y=!y)d=h,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),p=h-1;p>=d;--p)s.point(g[p],w[p]);s.lineEnd(),s.areaEnd()}y&&(g[h]=+e(v,h,f),w[h]=+t(v,h,f),s.point(n?+n(v,h,f):g[h],r?+r(v,h,f):w[h]))}if(b)return s=null,b+""||null}function l(){return Z1().defined(i).curve(o).context(a)}return c.x=function(f){return arguments.length?(e=typeof f=="function"?f:oe(+f),n=null,c):e},c.x0=function(f){return arguments.length?(e=typeof f=="function"?f:oe(+f),c):e},c.x1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:oe(+f),c):n},c.y=function(f){return arguments.length?(t=typeof f=="function"?f:oe(+f),r=null,c):t},c.y0=function(f){return arguments.length?(t=typeof f=="function"?f:oe(+f),c):t},c.y1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:oe(+f),c):r},c.lineX0=c.lineY0=function(){return l().x(e).y(t)},c.lineY1=function(){return l().x(e).y(r)},c.lineX1=function(){return l().x(n).y(t)},c.defined=function(f){return arguments.length?(i=typeof f=="function"?f:oe(!!f),c):i},c.curve=function(f){return arguments.length?(o=f,a!=null&&(s=o(a)),c):o},c.context=function(f){return arguments.length?(f==null?a=s=null:s=o(a=f),c):a},c}class X1{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function s9(e){return new X1(e,!0)}function u9(e){return new X1(e,!1)}function ei(){}function ti(e,t,r){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+r)/6)}function Q1(e){this._context=e}Q1.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:ti(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:ti(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function l9(e){return new Q1(e)}function J1(e){this._context=e}J1.prototype={areaStart:ei,areaEnd:ei,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:ti(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function c9(e){return new J1(e)}function ef(e){this._context=e}ef.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 r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:ti(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function f9(e){return new ef(e)}function tf(e){this._context=e}tf.prototype={areaStart:ei,areaEnd:ei,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 d9(e){return new tf(e)}function Ys(e){return e<0?-1:1}function Zs(e,t,r){var n=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(n||i<0&&-0),o=(r-e._y1)/(i||n<0&&-0),s=(a*i+o*n)/(n+i);return(Ys(a)+Ys(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Xs(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function k2(e,t,r){var n=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-n)/3;e._context.bezierCurveTo(n+s,i+s*t,a-s,o-s*r,a,o)}function ri(e){this._context=e}ri.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:k2(this,this._t0,Xs(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 r=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,k2(this,Xs(this,r=Zs(this,e,t)),r);break;default:k2(this,this._t0,r=Zs(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function rf(e){this._context=new nf(e)}(rf.prototype=Object.create(ri.prototype)).point=function(e,t){ri.prototype.point.call(this,t,e)};function nf(e){this._context=e}nf.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,r,n,i,a){this._context.bezierCurveTo(t,e,n,r,a,i)}};function h9(e){return new ri(e)}function p9(e){return new rf(e)}function af(e){this._context=e}af.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,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=Qs(e),i=Qs(t),a=0,o=1;o<r;++a,++o)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&r===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 Qs(e){var t,r=e.length-1,n,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,a[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/a[t-1],a[t]-=n,o[t]-=n*o[t-1];for(i[r-1]=o[r-1]/a[r-1],t=r-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function v9(e){return new af(e)}function Bi(e,t){this._context=e,this._t=t}Bi.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 r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function m9(e){return new Bi(e,.5)}function y9(e){return new Bi(e,0)}function g9(e){return new Bi(e,1)}function xr(e,t){if((o=e.length)>1)for(var r=1,n,i,a=e[t[0]],o,s=a.length;r<o;++r)for(i=a,a=e[t[r]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(i[n][1])?i[n][0]:i[n][1]}function a0(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function b9(e,t){return e[t]}function C9(e){const t=[];return t.key=e,t}function x9(){var e=oe([]),t=a0,r=xr,n=b9;function i(a){var o=Array.from(e.apply(this,arguments),C9),s,u=o.length,c=-1,l;for(const f of a)for(s=0,++c;s<u;++s)(o[s][c]=[0,+n(f,o[s].key,c,a)]).data=f;for(s=0,l=oo(t(o));s<u;++s)o[l[s]].index=s;return r(o,l),o}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:oe(Array.from(a)),i):e},i.value=function(a){return arguments.length?(n=typeof a=="function"?a:oe(+a),i):n},i.order=function(a){return arguments.length?(t=a==null?a0:typeof a=="function"?a:oe(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(r=a??xr,i):r},i}function w9(e,t){if((n=e.length)>0){for(var r,n,i=0,a=e[0].length,o;i<a;++i){for(o=r=0;r<n;++r)o+=e[r][i][1]||0;if(o)for(r=0;r<n;++r)e[r][i][1]/=o}xr(e,t)}}function O9(e,t){if((i=e.length)>0){for(var r=0,n=e[t[0]],i,a=n.length;r<a;++r){for(var o=0,s=0;o<i;++o)s+=e[o][r][1]||0;n[r][1]+=n[r][0]=-s/2}xr(e,t)}}function E9(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var r=0,n=1,i,a,o;n<a;++n){for(var s=0,u=0,c=0;s<o;++s){for(var l=e[t[s]],f=l[n][1]||0,h=l[n-1][1]||0,d=(f-h)/2,p=0;p<s;++p){var m=e[t[p]],v=m[n][1]||0,y=m[n-1][1]||0;d+=v-y}u+=f,c+=d*f}i[n-1][1]+=i[n-1][0]=r,u&&(r-=c/u)}i[n-1][1]+=i[n-1][0]=r,xr(e,t)}}var T2={},D2={},Js;function P9(){return Js||(Js=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n){const i=new Map;for(let a=0;a<r.length;a++){const o=r[a],s=n(o);i.has(s)||i.set(s,o)}return Array.from(i.values())}e.uniqBy=t})(D2)),D2}var N2={},eu;function of(){return eu||(eu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r}e.identity=t})(N2)),N2}var I2={},R2={},$2={},tu;function A9(){return tu||(tu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return Number.isSafeInteger(r)&&r>=0}e.isLength=t})($2)),$2}var ru;function so(){return ru||(ru=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=A9();function r(n){return n!=null&&typeof n!="function"&&t.isLength(n.length)}e.isArrayLike=r})(R2)),R2}var L2={},nu;function _9(){return nu||(nu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return typeof r=="object"&&r!==null}e.isObjectLike=t})(L2)),L2}var iu;function S9(){return iu||(iu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=so(),r=_9();function n(i){return r.isObjectLike(i)&&t.isArrayLike(i)}e.isArrayLikeObject=n})(I2)),I2}var B2={},F2={},au;function j9(){return au||(au=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ro();function r(n){return function(i){return t.get(i,n)}}e.property=r})(F2)),F2}var z2={},q2={},W2={},U2={},ou;function sf(){return ou||(ou=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r!==null&&(typeof r=="object"||typeof r=="function")}e.isObject=t})(U2)),U2}var K2={},su;function uf(){return su||(su=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r==null||typeof r!="object"&&typeof r!="function"}e.isPrimitive=t})(K2)),K2}var V2={},uu;function uo(){return uu||(uu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n){return r===n||Number.isNaN(r)&&Number.isNaN(n)}e.eq=t})(V2)),V2}var lu;function M9(){return lu||(lu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=sf(),r=uf(),n=uo();function i(l,f,h){return typeof h!="function"?i(l,f,()=>{}):a(l,f,function d(p,m,v,y,b,g){const w=h(p,m,v,y,b,g);return w!==void 0?!!w:a(p,m,d,g)},new Map)}function a(l,f,h,d){if(f===l)return!0;switch(typeof f){case"object":return o(l,f,h,d);case"function":return Object.keys(f).length>0?a(l,{...f},h,d):n.eq(l,f);default:return t.isObject(l)?typeof f=="string"?f==="":!0:n.eq(l,f)}}function o(l,f,h,d){if(f==null)return!0;if(Array.isArray(f))return u(l,f,h,d);if(f instanceof Map)return s(l,f,h,d);if(f instanceof Set)return c(l,f,h,d);const p=Object.keys(f);if(l==null)return p.length===0;if(p.length===0)return!0;if(d?.has(f))return d.get(f)===l;d?.set(f,l);try{for(let m=0;m<p.length;m++){const v=p[m];if(!r.isPrimitive(l)&&!(v in l)||f[v]===void 0&&l[v]!==void 0||f[v]===null&&l[v]!==null||!h(l[v],f[v],v,l,f,d))return!1}return!0}finally{d?.delete(f)}}function s(l,f,h,d){if(f.size===0)return!0;if(!(l instanceof Map))return!1;for(const[p,m]of f.entries()){const v=l.get(p);if(h(v,m,p,l,f,d)===!1)return!1}return!0}function u(l,f,h,d){if(f.length===0)return!0;if(!Array.isArray(l))return!1;const p=new Set;for(let m=0;m<f.length;m++){const v=f[m];let y=!1;for(let b=0;b<l.length;b++){if(p.has(b))continue;const g=l[b];let w=!1;if(h(g,v,m,l,f,d)&&(w=!0),w){p.add(b),y=!0;break}}if(!y)return!1}return!0}function c(l,f,h,d){return f.size===0?!0:l instanceof Set?u([...l],[...f],h,d):!1}e.isMatchWith=i,e.isSetMatch=c})(W2)),W2}var cu;function lf(){return cu||(cu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=M9();function r(n,i){return t.isMatchWith(n,i,()=>{})}e.isMatch=r})(q2)),q2}var H2={},G2={},Y2={},fu;function cf(){return fu||(fu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return Object.getOwnPropertySymbols(r).filter(n=>Object.prototype.propertyIsEnumerable.call(r,n))}e.getSymbols=t})(Y2)),Y2}var Z2={},du;function lo(){return du||(du=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r==null?r===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(r)}e.getTag=t})(Z2)),Z2}var X2={},hu;function co(){return hu||(hu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t="[object RegExp]",r="[object String]",n="[object Number]",i="[object Boolean]",a="[object Arguments]",o="[object Symbol]",s="[object Date]",u="[object Map]",c="[object Set]",l="[object Array]",f="[object Function]",h="[object ArrayBuffer]",d="[object Object]",p="[object Error]",m="[object DataView]",v="[object Uint8Array]",y="[object Uint8ClampedArray]",b="[object Uint16Array]",g="[object Uint32Array]",w="[object BigUint64Array]",C="[object Int8Array]",O="[object Int16Array]",P="[object Int32Array]",S="[object BigInt64Array]",M="[object Float32Array]",z="[object Float64Array]";e.argumentsTag=a,e.arrayBufferTag=h,e.arrayTag=l,e.bigInt64ArrayTag=S,e.bigUint64ArrayTag=w,e.booleanTag=i,e.dataViewTag=m,e.dateTag=s,e.errorTag=p,e.float32ArrayTag=M,e.float64ArrayTag=z,e.functionTag=f,e.int16ArrayTag=O,e.int32ArrayTag=P,e.int8ArrayTag=C,e.mapTag=u,e.numberTag=n,e.objectTag=d,e.regexpTag=t,e.setTag=c,e.stringTag=r,e.symbolTag=o,e.uint16ArrayTag=b,e.uint32ArrayTag=g,e.uint8ArrayTag=v,e.uint8ClampedArrayTag=y})(X2)),X2}var Q2={},pu;function k9(){return pu||(pu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}e.isTypedArray=t})(Q2)),Q2}var vu;function ff(){return vu||(vu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=cf(),r=lo(),n=co(),i=uf(),a=k9();function o(l,f){return s(l,void 0,l,new Map,f)}function s(l,f,h,d=new Map,p=void 0){const m=p?.(l,f,h,d);if(m!==void 0)return m;if(i.isPrimitive(l))return l;if(d.has(l))return d.get(l);if(Array.isArray(l)){const v=new Array(l.length);d.set(l,v);for(let y=0;y<l.length;y++)v[y]=s(l[y],y,h,d,p);return Object.hasOwn(l,"index")&&(v.index=l.index),Object.hasOwn(l,"input")&&(v.input=l.input),v}if(l instanceof Date)return new Date(l.getTime());if(l instanceof RegExp){const v=new RegExp(l.source,l.flags);return v.lastIndex=l.lastIndex,v}if(l instanceof Map){const v=new Map;d.set(l,v);for(const[y,b]of l)v.set(y,s(b,y,h,d,p));return v}if(l instanceof Set){const v=new Set;d.set(l,v);for(const y of l)v.add(s(y,void 0,h,d,p));return v}if(typeof Buffer<"u"&&Buffer.isBuffer(l))return l.subarray();if(a.isTypedArray(l)){const v=new(Object.getPrototypeOf(l)).constructor(l.length);d.set(l,v);for(let y=0;y<l.length;y++)v[y]=s(l[y],y,h,d,p);return v}if(l instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&l instanceof SharedArrayBuffer)return l.slice(0);if(l instanceof DataView){const v=new DataView(l.buffer.slice(0),l.byteOffset,l.byteLength);return d.set(l,v),u(v,l,h,d,p),v}if(typeof File<"u"&&l instanceof File){const v=new File([l],l.name,{type:l.type});return d.set(l,v),u(v,l,h,d,p),v}if(typeof Blob<"u"&&l instanceof Blob){const v=new Blob([l],{type:l.type});return d.set(l,v),u(v,l,h,d,p),v}if(l instanceof Error){const v=new l.constructor;return d.set(l,v),v.message=l.message,v.name=l.name,v.stack=l.stack,v.cause=l.cause,u(v,l,h,d,p),v}if(l instanceof Boolean){const v=new Boolean(l.valueOf());return d.set(l,v),u(v,l,h,d,p),v}if(l instanceof Number){const v=new Number(l.valueOf());return d.set(l,v),u(v,l,h,d,p),v}if(l instanceof String){const v=new String(l.valueOf());return d.set(l,v),u(v,l,h,d,p),v}if(typeof l=="object"&&c(l)){const v=Object.create(Object.getPrototypeOf(l));return d.set(l,v),u(v,l,h,d,p),v}return l}function u(l,f,h=l,d,p){const m=[...Object.keys(f),...t.getSymbols(f)];for(let v=0;v<m.length;v++){const y=m[v],b=Object.getOwnPropertyDescriptor(l,y);(b==null||b.writable)&&(l[y]=s(f[y],y,h,d,p))}}function c(l){switch(r.getTag(l)){case n.argumentsTag:case n.arrayTag:case n.arrayBufferTag:case n.dataViewTag:case n.booleanTag:case n.dateTag:case n.float32ArrayTag:case n.float64ArrayTag:case n.int8ArrayTag:case n.int16ArrayTag:case n.int32ArrayTag:case n.mapTag:case n.numberTag:case n.objectTag:case n.regexpTag:case n.setTag:case n.stringTag:case n.symbolTag:case n.uint8ArrayTag:case n.uint8ClampedArrayTag:case n.uint16ArrayTag:case n.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=o,e.cloneDeepWithImpl=s,e.copyProperties=u})(G2)),G2}var mu;function T9(){return mu||(mu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ff();function r(n){return t.cloneDeepWithImpl(n,void 0,n,new Map,void 0)}e.cloneDeep=r})(H2)),H2}var yu;function D9(){return yu||(yu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=lf(),r=T9();function n(i){return i=r.cloneDeep(i),a=>t.isMatch(a,i)}e.matches=n})(z2)),z2}var J2={},ea={},ta={},gu;function N9(){return gu||(gu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ff(),r=co();function n(i,a){return t.cloneDeepWith(i,(o,s,u,c)=>{const l=a?.(o,s,u,c);if(l!==void 0)return l;if(typeof i=="object")switch(Object.prototype.toString.call(i)){case r.numberTag:case r.stringTag:case r.booleanTag:{const f=new i.constructor(i?.valueOf());return t.copyProperties(f,i),f}case r.argumentsTag:{const f={};return t.copyProperties(f,i),f.length=i.length,f[Symbol.iterator]=i[Symbol.iterator],f}default:return}})}e.cloneDeepWith=n})(ta)),ta}var bu;function I9(){return bu||(bu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=N9();function r(n){return t.cloneDeepWith(n)}e.cloneDeep=r})(ea)),ea}var ra={},na={},Cu;function df(){return Cu||(Cu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=/^(?:0|[1-9]\d*)$/;function r(n,i=Number.MAX_SAFE_INTEGER){switch(typeof n){case"number":return Number.isInteger(n)&&n>=0&&n<i;case"symbol":return!1;case"string":return t.test(n)}}e.isIndex=r})(na)),na}var ia={},xu;function R9(){return xu||(xu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=lo();function r(n){return n!==null&&typeof n=="object"&&t.getTag(n)==="[object Arguments]"}e.isArguments=r})(ia)),ia}var wu;function $9(){return wu||(wu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=L1(),r=df(),n=R9(),i=to();function a(o,s){let u;if(Array.isArray(s)?u=s:typeof s=="string"&&t.isDeepKey(s)&&o?.[s]==null?u=i.toPath(s):u=[s],u.length===0)return!1;let c=o;for(let l=0;l<u.length;l++){const f=u[l];if((c==null||!Object.hasOwn(c,f))&&!((Array.isArray(c)||n.isArguments(c))&&r.isIndex(f)&&f<c.length))return!1;c=c[f]}return!0}e.has=a})(ra)),ra}var Ou;function L9(){return Ou||(Ou=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=lf(),r=eo(),n=I9(),i=ro(),a=$9();function o(s,u){switch(typeof s){case"object":{Object.is(s?.valueOf(),-0)&&(s="-0");break}case"number":{s=r.toKey(s);break}}return u=n.cloneDeep(u),function(c){const l=i.get(c,s);return l===void 0?a.has(c,s):u===void 0?l===void 0:t.isMatch(l,u)}}e.matchesProperty=o})(J2)),J2}var Eu;function B9(){return Eu||(Eu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=of(),r=j9(),n=D9(),i=L9();function a(o){if(o==null)return t.identity;switch(typeof o){case"function":return o;case"object":return Array.isArray(o)&&o.length===2?i.matchesProperty(o[0],o[1]):n.matches(o);case"string":case"symbol":case"number":return r.property(o)}}e.iteratee=a})(B2)),B2}var Pu;function F9(){return Pu||(Pu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=P9(),r=of(),n=S9(),i=B9();function a(o,s=r.identity){return n.isArrayLikeObject(o)?t.uniqBy(Array.from(o),i.iteratee(s)):[]}e.uniqBy=a})(T2)),T2}var aa,Au;function z9(){return Au||(Au=1,aa=F9().uniqBy),aa}var q9=z9();const _u=_.getDefaultExportFromCjs(q9);function W9(e,t,r){return t===!0?_u(e,r):typeof t=="function"?_u(e,t):e}var Dn={exports:{}},oa={};/**
2
- * @license React
3
- * use-sync-external-store-shim/with-selector.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Su;function U9(){if(Su)return oa;Su=1;var e=E,t=D1.requireShim();function r(c,l){return c===l&&(c!==0||1/c===1/l)||c!==c&&l!==l}var n=typeof Object.is=="function"?Object.is:r,i=t.useSyncExternalStore,a=e.useRef,o=e.useEffect,s=e.useMemo,u=e.useDebugValue;return oa.useSyncExternalStoreWithSelector=function(c,l,f,h,d){var p=a(null);if(p.current===null){var m={hasValue:!1,value:null};p.current=m}else m=p.current;p=s(function(){function y(O){if(!b){if(b=!0,g=O,O=h(O),d!==void 0&&m.hasValue){var P=m.value;if(d(P,O))return w=P}return w=O}if(P=w,n(g,O))return P;var S=h(O);return d!==void 0&&d(P,S)?(g=O,P):(g=O,w=S)}var b=!1,g,w,C=f===void 0?null:f;return[function(){return y(l())},C===null?void 0:function(){return y(C())}]},[l,f,h,d]);var v=i(c,p[0],p[1]);return o(function(){m.hasValue=!0,m.value=v},[v]),u(v),v},oa}var sa={};/**
10
- * @license React
11
- * use-sync-external-store-shim/with-selector.development.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var ju;function K9(){return ju||(ju=1,process.env.NODE_ENV!=="production"&&(function(){function e(c,l){return c===l&&(c!==0||1/c===1/l)||c!==c&&l!==l}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=E,r=D1.requireShim(),n=typeof Object.is=="function"?Object.is:e,i=r.useSyncExternalStore,a=t.useRef,o=t.useEffect,s=t.useMemo,u=t.useDebugValue;sa.useSyncExternalStoreWithSelector=function(c,l,f,h,d){var p=a(null);if(p.current===null){var m={hasValue:!1,value:null};p.current=m}else m=p.current;p=s(function(){function y(O){if(!b){if(b=!0,g=O,O=h(O),d!==void 0&&m.hasValue){var P=m.value;if(d(P,O))return w=P}return w=O}if(P=w,n(g,O))return P;var S=h(O);return d!==void 0&&d(P,S)?(g=O,P):(g=O,w=S)}var b=!1,g,w,C=f===void 0?null:f;return[function(){return y(l())},C===null?void 0:function(){return y(C())}]},[l,f,h,d]);var v=i(c,p[0],p[1]);return o(function(){m.hasValue=!0,m.value=v},[v]),u(v),v},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),sa}var Mu;function V9(){return Mu||(Mu=1,process.env.NODE_ENV==="production"?Dn.exports=U9():Dn.exports=K9()),Dn.exports}var H9=V9(),fo=E.createContext(null),G9=e=>e,ke=()=>{var e=E.useContext(fo);return e?e.store.dispatch:G9},Xn=()=>{},Y9=()=>Xn,Z9=(e,t)=>e===t;function F(e){var t=E.useContext(fo);return H9.useSyncExternalStoreWithSelector(t?t.subscription.addNestedSub:Y9,t?t.store.getState:Xn,t?t.store.getState:Xn,t?e:Xn,Z9)}var X9=(e,t,r)=>{if(t.length===1&&t[0]===r){let n=!1;try{const i={};e(i)===i&&(n=!0)}catch{}if(n){let i;try{throw new Error}catch(a){({stack:i}=a)}console.warn(`The result function returned its own inputs without modification. e.g
18
- \`createSelector([state => state.todos], todos => todos)\`
19
- This could lead to inefficient memoization and unnecessary re-renders.
20
- Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`,{stack:i})}}},Q9=(e,t,r)=>{const{memoize:n,memoizeOptions:i}=t,{inputSelectorResults:a,inputSelectorResultsCopy:o}=e,s=n(()=>({}),...i);if(!(s.apply(null,a)===s.apply(null,o))){let c;try{throw new Error}catch(l){({stack:c}=l)}console.warn(`An input selector returned a different result when passed same arguments.
21
- This means your output selector will likely run more frequently than intended.
22
- Avoid returning a new reference inside your input selector, e.g.
23
- \`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``,{arguments:r,firstInputs:a,secondInputs:o,stack:c})}},J9={inputStabilityCheck:"once",identityFunctionCheck:"once"};function e6(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function t6(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function r6(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var ku=e=>Array.isArray(e)?e:[e];function n6(e){const t=Array.isArray(e[0])?e[0]:e;return r6(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Tu(e,t){const r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var i6=(e,t)=>{const{identityFunctionCheck:r,inputStabilityCheck:n}={...J9,...t};return{identityFunctionCheck:{shouldRun:r==="always"||r==="once"&&e,run:X9},inputStabilityCheck:{shouldRun:n==="always"||n==="once"&&e,run:Q9}}},a6=class{constructor(e){this.value=e}deref(){return this.value}},o6=typeof WeakRef<"u"?WeakRef:a6,s6=0,Du=1;function Nn(){return{s:s6,v:void 0,o:null,p:null}}function hf(e,t={}){let r=Nn();const{resultEqualityCheck:n}=t;let i,a=0;function o(){let s=r;const{length:u}=arguments;for(let f=0,h=u;f<h;f++){const d=arguments[f];if(typeof d=="function"||typeof d=="object"&&d!==null){let p=s.o;p===null&&(s.o=p=new WeakMap);const m=p.get(d);m===void 0?(s=Nn(),p.set(d,s)):s=m}else{let p=s.p;p===null&&(s.p=p=new Map);const m=p.get(d);m===void 0?(s=Nn(),p.set(d,s)):s=m}}const c=s;let l;if(s.s===Du)l=s.v;else if(l=e.apply(null,arguments),a++,n){const f=i?.deref?.()??i;f!=null&&n(f,l)&&(l=f,a!==0&&a--),i=typeof l=="object"&&l!==null||typeof l=="function"?new o6(l):l}return c.s=Du,c.v=l,l}return o.clearCache=()=>{r=Nn(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function u6(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...i)=>{let a=0,o=0,s,u={},c=i.pop();typeof c=="object"&&(u=c,c=i.pop()),e6(c,`createSelector expects an output function after the inputs, but received: [${typeof c}]`);const l={...r,...u},{memoize:f,memoizeOptions:h=[],argsMemoize:d=hf,argsMemoizeOptions:p=[],devModeChecks:m={}}=l,v=ku(h),y=ku(p),b=n6(i),g=f(function(){return a++,c.apply(null,arguments)},...v);let w=!0;const C=d(function(){o++;const P=Tu(b,arguments);if(s=g.apply(null,P),process.env.NODE_ENV!=="production"){const{identityFunctionCheck:S,inputStabilityCheck:M}=i6(w,m);if(S.shouldRun&&S.run(c,P,s),M.shouldRun){const z=Tu(b,arguments);M.run({inputSelectorResults:P,inputSelectorResultsCopy:z},{memoize:f,memoizeOptions:v},arguments)}w&&(w=!1)}return s},...y);return Object.assign(C,{resultFunc:c,memoizedResultFunc:g,dependencies:b,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>s,recomputations:()=>a,resetRecomputations:()=>{a=0},memoize:f,argsMemoize:d})};return Object.assign(n,{withTypes:()=>n}),n}var A=u6(hf),l6=Object.assign((e,t=A)=>{t6(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const r=Object.keys(e),n=r.map(a=>e[a]);return t(n,(...a)=>a.reduce((o,s,u)=>(o[r[u]]=s,o),{}))},{withTypes:()=>l6}),ua={},la={},ca={},Nu;function c6(){return Nu||(Nu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return typeof n=="symbol"?1:n===null?2:n===void 0?3:n!==n?4:0}const r=(n,i,a)=>{if(n!==i){const o=t(n),s=t(i);if(o===s&&o===0){if(n<i)return a==="desc"?1:-1;if(n>i)return a==="desc"?-1:1}return a==="desc"?s-o:o-s}return 0};e.compareValues=r})(ca)),ca}var fa={},da={},Iu;function pf(){return Iu||(Iu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return typeof r=="symbol"||r instanceof Symbol}e.isSymbol=t})(da)),da}var Ru;function f6(){return Ru||(Ru=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=pf(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){return Array.isArray(a)?!1:typeof a=="number"||typeof a=="boolean"||a==null||t.isSymbol(a)?!0:typeof a=="string"&&(n.test(a)||!r.test(a))||o!=null&&Object.hasOwn(o,a)}e.isKey=i})(fa)),fa}var $u;function d6(){return $u||($u=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=c6(),r=f6(),n=to();function i(a,o,s,u){if(a==null)return[];s=u?void 0:s,Array.isArray(a)||(a=Object.values(a)),Array.isArray(o)||(o=o==null?[null]:[o]),o.length===0&&(o=[null]),Array.isArray(s)||(s=s==null?[]:[s]),s=s.map(d=>String(d));const c=(d,p)=>{let m=d;for(let v=0;v<p.length&&m!=null;++v)m=m[p[v]];return m},l=(d,p)=>p==null||d==null?p:typeof d=="object"&&"key"in d?Object.hasOwn(p,d.key)?p[d.key]:c(p,d.path):typeof d=="function"?d(p):Array.isArray(d)?c(p,d):typeof p=="object"?p[d]:p,f=o.map(d=>(Array.isArray(d)&&d.length===1&&(d=d[0]),d==null||typeof d=="function"||Array.isArray(d)||r.isKey(d)?d:{key:d,path:n.toPath(d)}));return a.map(d=>({original:d,criteria:f.map(p=>l(p,d))})).slice().sort((d,p)=>{for(let m=0;m<f.length;m++){const v=t.compareValues(d.criteria[m],p.criteria[m],s[m]);if(v!==0)return v}return 0}).map(d=>d.original)}e.orderBy=i})(la)),la}var ha={},Lu;function h6(){return Lu||(Lu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n=1){const i=[],a=Math.floor(n),o=(s,u)=>{for(let c=0;c<s.length;c++){const l=s[c];Array.isArray(l)&&u<a?o(l,u+1):i.push(l)}};return o(r,0),i}e.flatten=t})(ha)),ha}var pa={},Bu;function vf(){return Bu||(Bu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=df(),r=so(),n=sf(),i=uo();function a(o,s,u){return n.isObject(u)&&(typeof s=="number"&&r.isArrayLike(u)&&t.isIndex(s)&&s<u.length||typeof s=="string"&&s in u)?i.eq(u[s],o):!1}e.isIterateeCall=a})(pa)),pa}var Fu;function p6(){return Fu||(Fu=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=d6(),r=h6(),n=vf();function i(a,...o){const s=o.length;return s>1&&n.isIterateeCall(a,o[0],o[1])?o=[]:s>2&&n.isIterateeCall(o[0],o[1],o[2])&&(o=[o[0]]),t.orderBy(a,r.flatten(o),["asc"])}e.sortBy=i})(ua)),ua}var va,zu;function v6(){return zu||(zu=1,va=p6().sortBy),va}var m6=v6();const Fi=_.getDefaultExportFromCjs(m6);var mf=e=>e.legend.settings,y6=e=>e.legend.size,g6=e=>e.legend.payload;A([g6,mf],(e,t)=>{var{itemSorter:r}=t,n=e.flat(1);return r?Fi(n,r):n});var In=1;function b6(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],[t,r]=E.useState({height:0,left:0,top:0,width:0}),n=E.useCallback(i=>{if(i!=null){var a=i.getBoundingClientRect(),o={height:a.height,left:a.left,top:a.top,width:a.width};(Math.abs(o.height-t.height)>In||Math.abs(o.left-t.left)>In||Math.abs(o.top-t.top)>In||Math.abs(o.width-t.width)>In)&&r({height:o.height,left:o.left,top:o.top,width:o.width})}},[t.width,t.height,t.top,t.left,...e]);return[t,n]}function Ce(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var C6=typeof Symbol=="function"&&Symbol.observable||"@@observable",qu=C6,ma=()=>Math.random().toString(36).substring(7).split("").join("."),x6={INIT:`@@redux/INIT${ma()}`,REPLACE:`@@redux/REPLACE${ma()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${ma()}`},ir=x6;function pn(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function w6(e){if(e===void 0)return"undefined";if(e===null)return"null";const t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(P6(e))return"date";if(E6(e))return"error";const r=O6(e);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}function O6(e){return typeof e.constructor=="function"?e.constructor.name:null}function E6(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function P6(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function Nt(e){let t=typeof e;return process.env.NODE_ENV!=="production"&&(t=w6(e)),t}function yf(e,t,r){if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Ce(2):`Expected the root reducer to be a function. Instead, received: '${Nt(e)}'`);if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Ce(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?Ce(1):`Expected the enhancer to be a function. Instead, received: '${Nt(r)}'`);return r(yf)(e,t)}let n=e,i=t,a=new Map,o=a,s=0,u=!1;function c(){o===a&&(o=new Map,a.forEach((v,y)=>{o.set(y,v)}))}function l(){if(u)throw new Error(process.env.NODE_ENV==="production"?Ce(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function f(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?Ce(4):`Expected the listener to be a function. Instead, received: '${Nt(v)}'`);if(u)throw new Error(process.env.NODE_ENV==="production"?Ce(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let y=!0;c();const b=s++;return o.set(b,v),function(){if(y){if(u)throw new Error(process.env.NODE_ENV==="production"?Ce(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");y=!1,c(),o.delete(b),a=null}}}function h(v){if(!pn(v))throw new Error(process.env.NODE_ENV==="production"?Ce(7):`Actions must be plain objects. Instead, the actual type was: '${Nt(v)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof v.type>"u")throw new Error(process.env.NODE_ENV==="production"?Ce(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof v.type!="string")throw new Error(process.env.NODE_ENV==="production"?Ce(17):`Action "type" property must be a string. Instead, the actual type was: '${Nt(v.type)}'. Value was: '${v.type}' (stringified)`);if(u)throw new Error(process.env.NODE_ENV==="production"?Ce(9):"Reducers may not dispatch actions.");try{u=!0,i=n(i,v)}finally{u=!1}return(a=o).forEach(b=>{b()}),v}function d(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?Ce(10):`Expected the nextReducer to be a function. Instead, received: '${Nt(v)}`);n=v,h({type:ir.REPLACE})}function p(){const v=f;return{subscribe(y){if(typeof y!="object"||y===null)throw new Error(process.env.NODE_ENV==="production"?Ce(11):`Expected the observer to be an object. Instead, received: '${Nt(y)}'`);function b(){const w=y;w.next&&w.next(l())}return b(),{unsubscribe:v(b)}},[qu](){return this}}}return h({type:ir.INIT}),{dispatch:h,subscribe:f,getState:l,replaceReducer:d,[qu]:p}}function Wu(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function A6(e,t,r,n){const i=Object.keys(t),a=r&&r.type===ir.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(i.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!pn(e))return`The ${a} has unexpected type of "${Nt(e)}". Expected argument to be an object with the following keys: "${i.join('", "')}"`;const o=Object.keys(e).filter(s=>!t.hasOwnProperty(s)&&!n[s]);if(o.forEach(s=>{n[s]=!0}),!(r&&r.type===ir.REPLACE)&&o.length>0)return`Unexpected ${o.length>1?"keys":"key"} "${o.join('", "')}" found in ${a}. Expected to find one of the known reducer keys instead: "${i.join('", "')}". Unexpected keys will be ignored.`}function _6(e){Object.keys(e).forEach(t=>{const r=e[t];if(typeof r(void 0,{type:ir.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?Ce(12):`The slice reducer for key "${t}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:ir.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?Ce(13):`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${ir.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function gf(e){const t=Object.keys(e),r={};for(let o=0;o<t.length;o++){const s=t[o];process.env.NODE_ENV!=="production"&&typeof e[s]>"u"&&Wu(`No reducer provided for key "${s}"`),typeof e[s]=="function"&&(r[s]=e[s])}const n=Object.keys(r);let i;process.env.NODE_ENV!=="production"&&(i={});let a;try{_6(r)}catch(o){a=o}return function(s={},u){if(a)throw a;if(process.env.NODE_ENV!=="production"){const f=A6(s,r,u,i);f&&Wu(f)}let c=!1;const l={};for(let f=0;f<n.length;f++){const h=n[f],d=r[h],p=s[h],m=d(p,u);if(typeof m>"u"){const v=u&&u.type;throw new Error(process.env.NODE_ENV==="production"?Ce(14):`When called with an action of type ${v?`"${String(v)}"`:"(unknown type)"}, the slice reducer for key "${h}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}l[h]=m,c=c||m!==p}return c=c||n.length!==Object.keys(s).length,c?l:s}}function ni(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function S6(...e){return t=>(r,n)=>{const i=t(r,n);let a=()=>{throw new Error(process.env.NODE_ENV==="production"?Ce(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const o={getState:i.getState,dispatch:(u,...c)=>a(u,...c)},s=e.map(u=>u(o));return a=ni(...s)(i.dispatch),{...i,dispatch:a}}}function ho(e){return pn(e)&&"type"in e&&typeof e.type=="string"}var bf=Symbol.for("immer-nothing"),Uu=Symbol.for("immer-draftable"),je=Symbol.for("immer-state"),j6=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function Ue(e,...t){if(process.env.NODE_ENV!=="production"){const r=j6[e],n=Xt(r)?r.apply(null,t):r;throw new Error(`[Immer] ${n}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ve=Object,wr=Ve.getPrototypeOf,ii="constructor",zi="prototype",o0="configurable",ai="enumerable",Qn="writable",Xr="value",Ot=e=>!!e&&!!e[je];function ut(e){return e?Cf(e)||qi(e)||!!e[Uu]||!!e[ii]?.[Uu]||Wi(e)||Ui(e):!1}var M6=Ve[zi][ii].toString(),Ku=new WeakMap;function Cf(e){if(!e||!po(e))return!1;const t=wr(e);if(t===null||t===Ve[zi])return!0;const r=Ve.hasOwnProperty.call(t,ii)&&t[ii];if(r===Object)return!0;if(!Xt(r))return!1;let n=Ku.get(r);return n===void 0&&(n=Function.toString.call(r),Ku.set(r,n)),n===M6}function vn(e,t,r=!0){mn(e)===0?(r?Reflect.ownKeys(e):Ve.keys(e)).forEach(i=>{t(i,e[i],e)}):e.forEach((n,i)=>t(i,n,e))}function mn(e){const t=e[je];return t?t.type_:qi(e)?1:Wi(e)?2:Ui(e)?3:0}var Vu=(e,t,r=mn(e))=>r===2?e.has(t):Ve[zi].hasOwnProperty.call(e,t),s0=(e,t,r=mn(e))=>r===2?e.get(t):e[t],oi=(e,t,r,n=mn(e))=>{n===2?e.set(t,r):n===3?e.add(r):e[t]=r};function k6(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var qi=Array.isArray,Wi=e=>e instanceof Map,Ui=e=>e instanceof Set,po=e=>typeof e=="object",Xt=e=>typeof e=="function",ya=e=>typeof e=="boolean",vt=e=>e.copy_||e.base_,vo=e=>e.modified_?e.copy_:e.base_;function u0(e,t){if(Wi(e))return new Map(e);if(Ui(e))return new Set(e);if(qi(e))return Array[zi].slice.call(e);const r=Cf(e);if(t===!0||t==="class_only"&&!r){const n=Ve.getOwnPropertyDescriptors(e);delete n[je];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){const o=i[a],s=n[o];s[Qn]===!1&&(s[Qn]=!0,s[o0]=!0),(s.get||s.set)&&(n[o]={[o0]:!0,[Qn]:!0,[ai]:s[ai],[Xr]:e[o]})}return Ve.create(wr(e),n)}else{const n=wr(e);if(n!==null&&r)return{...e};const i=Ve.create(n);return Ve.assign(i,e)}}function mo(e,t=!1){return Ki(e)||Ot(e)||!ut(e)||(mn(e)>1&&Ve.defineProperties(e,{set:Rn,add:Rn,clear:Rn,delete:Rn}),Ve.freeze(e),t&&vn(e,(r,n)=>{mo(n,!0)},!1)),e}function T6(){Ue(2)}var Rn={[Xr]:T6};function Ki(e){return e===null||!po(e)?!0:Ve.isFrozen(e)}var si="MapSet",l0="Patches",xf={};function Or(e){const t=xf[e];return t||Ue(0,e),t}var D6=e=>!!xf[e],Qr,wf=()=>Qr,N6=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:D6(si)?Or(si):void 0});function Hu(e,t){t&&(e.patchPlugin_=Or(l0),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function c0(e){f0(e),e.drafts_.forEach(I6),e.drafts_=null}function f0(e){e===Qr&&(Qr=e.parent_)}var Gu=e=>Qr=N6(Qr,e);function I6(e){const t=e[je];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Yu(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];if(e!==void 0&&e!==r){r[je].modified_&&(c0(t),Ue(4)),ut(e)&&(e=Zu(t,e));const{patchPlugin_:i}=t;i&&i.generateReplacementPatches_(r[je].base_,e,t)}else e=Zu(t,r);return R6(t,e,!0),c0(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==bf?e:void 0}function Zu(e,t){if(Ki(t))return t;const r=t[je];if(!r)return yo(t,e.handledSet_,e);if(!Vi(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){const{callbacks_:n}=r;if(n)for(;n.length>0;)n.pop()(e);Pf(r,e)}return r.copy_}function R6(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&mo(t,r)}function Of(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Vi=(e,t)=>e.scope_===t,$6=[];function Ef(e,t,r,n){const i=vt(e),a=e.type_;if(n!==void 0&&s0(i,n,a)===t){oi(i,n,r,a);return}if(!e.draftLocations_){const s=e.draftLocations_=new Map;vn(i,(u,c)=>{if(Ot(c)){const l=s.get(c)||[];l.push(u),s.set(c,l)}})}const o=e.draftLocations_.get(t)??$6;for(const s of o)oi(i,s,r,a)}function L6(e,t,r){e.callbacks_.push(function(i){const a=t;if(!a||!Vi(a,i))return;i.mapSetPlugin_?.fixSetContents(a);const o=vo(a);Ef(e,a.draft_??a,o,r),Pf(a,i)})}function Pf(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||(e.assigned_?.size??0)>0)){const{patchPlugin_:n}=t;if(n){const i=n.getPath(e);i&&n.generatePatches_(e,i,t)}Of(e)}}function B6(e,t,r){const{scope_:n}=e;if(Ot(r)){const i=r[je];Vi(i,n)&&i.callbacks_.push(function(){Jn(e);const o=vo(i);Ef(e,r,o,t)})}else ut(r)&&e.callbacks_.push(function(){const a=vt(e);s0(a,t,e.type_)===r&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&yo(s0(e.copy_,t,e.type_),n.handledSet_,n)})}function yo(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||Ot(e)||t.has(e)||!ut(e)||Ki(e)||(t.add(e),vn(e,(n,i)=>{if(Ot(i)){const a=i[je];if(Vi(a,r)){const o=vo(a);oi(e,n,o,e.type_),Of(a)}}else ut(i)&&yo(i,t,r)})),e}function F6(e,t){const r=qi(e),n={type_:r?1:0,scope_:t?t.scope_:wf(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let i=n,a=go;r&&(i=[n],a=Jr);const{revoke:o,proxy:s}=Proxy.revocable(i,a);return n.draft_=s,n.revoke_=o,[s,n]}var go={get(e,t){if(t===je)return e;const r=vt(e);if(!Vu(r,t,e.type_))return z6(e,r,t);const n=r[t];if(e.finalized_||!ut(n))return n;if(n===ga(e.base_,t)){Jn(e);const i=e.type_===1?+t:t,a=h0(e.scope_,n,e,i);return e.copy_[i]=a}return n},has(e,t){return t in vt(e)},ownKeys(e){return Reflect.ownKeys(vt(e))},set(e,t,r){const n=Af(vt(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=ga(vt(e),t),a=i?.[je];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_.set(t,!1),!0;if(k6(r,i)&&(r!==void 0||Vu(e.base_,t,e.type_)))return!0;Jn(e),d0(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_.set(t,!0),B6(e,t,r)),!0},deleteProperty(e,t){return Jn(e),ga(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),d0(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=vt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{[Qn]:!0,[o0]:e.type_!==1||t!=="length",[ai]:n[ai],[Xr]:r[t]}},defineProperty(){Ue(11)},getPrototypeOf(e){return wr(e.base_)},setPrototypeOf(){Ue(12)}},Jr={};vn(go,(e,t)=>{Jr[e]=function(){const r=arguments;return r[0]=r[0][0],t.apply(this,r)}});Jr.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&Ue(13),Jr.set.call(this,e,t,void 0)};Jr.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&Ue(14),go.set.call(this,e[0],t,r,e[0])};function ga(e,t){const r=e[je];return(r?vt(r):e)[t]}function z6(e,t,r){const n=Af(t,r);return n?Xr in n?n[Xr]:n.get?.call(e.draft_):void 0}function Af(e,t){if(!(t in e))return;let r=wr(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=wr(r)}}function d0(e){e.modified_||(e.modified_=!0,e.parent_&&d0(e.parent_))}function Jn(e){e.copy_||(e.assigned_=new Map,e.copy_=u0(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var q6=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(r,n,i)=>{if(Xt(r)&&!Xt(n)){const o=n;n=r;const s=this;return function(c=o,...l){return s.produce(c,f=>n.call(this,f,...l))}}Xt(n)||Ue(6),i!==void 0&&!Xt(i)&&Ue(7);let a;if(ut(r)){const o=Gu(this),s=h0(o,r,void 0);let u=!0;try{a=n(s),u=!1}finally{u?c0(o):f0(o)}return Hu(o,i),Yu(a,o)}else if(!r||!po(r)){if(a=n(r),a===void 0&&(a=r),a===bf&&(a=void 0),this.autoFreeze_&&mo(a,!0),i){const o=[],s=[];Or(l0).generateReplacementPatches_(r,a,{patches_:o,inversePatches_:s}),i(o,s)}return a}else Ue(1,r)},this.produceWithPatches=(r,n)=>{if(Xt(r))return(s,...u)=>this.produceWithPatches(s,c=>r(c,...u));let i,a;return[this.produce(r,n,(s,u)=>{i=s,a=u}),i,a]},ya(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),ya(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),ya(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){ut(t)||Ue(8),Ot(t)&&(t=Ct(t));const r=Gu(this),n=h0(r,t,void 0);return n[je].isManual_=!0,f0(r),n}finishDraft(t,r){const n=t&&t[je];(!n||!n.isManual_)&&Ue(9);const{scope_:i}=n;return Hu(i,r),Yu(void 0,i)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,r){let n;for(n=r.length-1;n>=0;n--){const a=r[n];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}n>-1&&(r=r.slice(n+1));const i=Or(l0).applyPatches_;return Ot(t)?i(t,r):this.produce(t,a=>i(a,r))}};function h0(e,t,r,n){const[i,a]=Wi(t)?Or(si).proxyMap_(t,r):Ui(t)?Or(si).proxySet_(t,r):F6(t,r);return(r?.scope_??wf()).drafts_.push(i),a.callbacks_=r?.callbacks_??[],a.key_=n,r&&n!==void 0?L6(r,a,n):a.callbacks_.push(function(u){u.mapSetPlugin_?.fixSetContents(a);const{patchPlugin_:c}=u;a.modified_&&c&&c.generatePatches_(a,[],u)}),i}function Ct(e){return Ot(e)||Ue(10,e),_f(e)}function _f(e){if(!ut(e)||Ki(e))return e;const t=e[je];let r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=u0(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=u0(e,!0);return vn(r,(i,a)=>{oi(r,i,_f(a))},n),t&&(t.finalized_=!1),r}var W6=new q6,Sf=W6.produce;function jf(e){return({dispatch:r,getState:n})=>i=>a=>typeof a=="function"?a(r,n,e):i(a)}var U6=jf(),K6=jf,V6=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ni:ni.apply(null,arguments)},H6=e=>e&&typeof e.match=="function";function tt(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(process.env.NODE_ENV==="production"?G(0):"prepareAction did not return an object");return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>ho(n)&&n.type===e,r}function G6(e){return typeof e=="function"&&"type"in e&&H6(e)}function Y6(e){const t=e?`${e}`.split("/"):[],r=t[t.length-1]||"actionCreator";return`Detected an action creator with type "${e||"unknown"}" being dispatched.
24
- Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${r}())\` instead of \`dispatch(${r})\`. This is necessary even if the action has no payload.`}function Z6(e={}){if(process.env.NODE_ENV==="production")return()=>r=>n=>r(n);const{isActionCreator:t=G6}=e;return()=>r=>n=>(t(n)&&console.warn(Y6(n.type)),r(n))}function Mf(e,t){let r=0;return{measureTime(n){const i=Date.now();try{return n()}finally{const a=Date.now();r+=a-i}},warnIfExceeded(){r>e&&console.warn(`${t} took ${r}ms, which is more than the warning threshold of ${e}ms.
25
- If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
26
- It is disabled in production builds, so you don't need to worry about that.`)}}}var kf=class Kr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Kr.prototype)}static get[Symbol.species](){return Kr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Kr(...t[0].concat(this)):new Kr(...t.concat(this))}};function Xu(e){return ut(e)?Sf(e,()=>{}):e}function $n(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function X6(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function Q6(e,t,r){const n=Tf(e,t,r);return{detectMutations(){return Df(e,t,n,r)}}}function Tf(e,t=[],r,n="",i=new Set){const a={value:r};if(!e(r)&&!i.has(r)){i.add(r),a.children={};const o=t.length>0;for(const s in r){const u=n?n+"."+s:s;o&&t.some(l=>l instanceof RegExp?l.test(u):u===l)||(a.children[s]=Tf(e,t,r[s],u))}}return a}function Df(e,t=[],r,n,i=!1,a=""){const o=r?r.value:void 0,s=o===n;if(i&&!s&&!Number.isNaN(n))return{wasMutated:!0,path:a};if(e(o)||e(n))return{wasMutated:!1};const u={};for(let l in r.children)u[l]=!0;for(let l in n)u[l]=!0;const c=t.length>0;for(let l in u){const f=a?a+"."+l:l;if(c&&t.some(p=>p instanceof RegExp?p.test(f):f===p))continue;const h=Df(e,t,r.children[l],n[l],s,f);if(h.wasMutated)return h}return{wasMutated:!1}}function J6(e={}){if(process.env.NODE_ENV==="production")return()=>t=>r=>t(r);{let t=function(s,u,c,l){return JSON.stringify(s,r(u,l),c)},r=function(s,u){let c=[],l=[];return u||(u=function(f,h){return c[0]===h?"[Circular ~]":"[Circular ~."+l.slice(0,c.indexOf(h)).join(".")+"]"}),function(f,h){if(c.length>0){var d=c.indexOf(this);~d?c.splice(d+1):c.push(this),~d?l.splice(d,1/0,f):l.push(f),~c.indexOf(h)&&(h=u.call(this,f,h))}else c.push(h);return s==null?h:s.call(this,f,h)}},{isImmutable:n=X6,ignoredPaths:i,warnAfter:a=32}=e;const o=Q6.bind(null,n,i);return({getState:s})=>{let u=s(),c=o(u),l;return f=>h=>{const d=Mf(a,"ImmutableStateInvariantMiddleware");d.measureTime(()=>{if(u=s(),l=c.detectMutations(),c=o(u),l.wasMutated)throw new Error(process.env.NODE_ENV==="production"?G(19):`A state mutation was detected between dispatches, in the path '${l.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const p=f(h);return d.measureTime(()=>{if(u=s(),l=c.detectMutations(),c=o(u),l.wasMutated)throw new Error(process.env.NODE_ENV==="production"?G(20):`A state mutation was detected inside a dispatch, in the path: ${l.path||""}. Take a look at the reducer(s) handling the action ${t(h)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),d.warnIfExceeded(),p}}}}function Nf(e){const t=typeof e;return e==null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||pn(e)}function p0(e,t="",r=Nf,n,i=[],a){let o;if(!r(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null||a?.has(e))return!1;const s=n!=null?n(e):Object.entries(e),u=i.length>0;for(const[c,l]of s){const f=t?t+"."+c:c;if(!(u&&i.some(d=>d instanceof RegExp?d.test(f):f===d))){if(!r(l))return{keyPath:f,value:l};if(typeof l=="object"&&(o=p0(l,f,r,n,i,a),o))return o}}return a&&If(e)&&a.add(e),!1}function If(e){if(!Object.isFrozen(e))return!1;for(const t of Object.values(e))if(!(typeof t!="object"||t===null)&&!If(t))return!1;return!0}function e7(e={}){if(process.env.NODE_ENV==="production")return()=>t=>r=>t(r);{const{isSerializable:t=Nf,getEntries:r,ignoredActions:n=[],ignoredActionPaths:i=["meta.arg","meta.baseQueryMeta"],ignoredPaths:a=[],warnAfter:o=32,ignoreState:s=!1,ignoreActions:u=!1,disableCache:c=!1}=e,l=!c&&WeakSet?new WeakSet:void 0;return f=>h=>d=>{if(!ho(d))return h(d);const p=h(d),m=Mf(o,"SerializableStateInvariantMiddleware");return!u&&!(n.length&&n.indexOf(d.type)!==-1)&&m.measureTime(()=>{const v=p0(d,"",t,r,i,l);if(v){const{keyPath:y,value:b}=v;console.error(`A non-serializable value was detected in an action, in the path: \`${y}\`. Value:`,b,`
27
- Take a look at the logic that dispatched this action: `,d,`
28
- (See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
29
- (To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),s||(m.measureTime(()=>{const v=f.getState(),y=p0(v,"",t,r,a,l);if(y){const{keyPath:b,value:g}=y;console.error(`A non-serializable value was detected in the state, in the path: \`${b}\`. Value:`,g,`
30
- Take a look at the reducer(s) handling this action type: ${d.type}.
31
- (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),m.warnIfExceeded()),p}}}function Ln(e){return typeof e=="boolean"}var t7=()=>function(t){const{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=t??{};let o=new kf;if(r&&(Ln(r)?o.push(U6):o.push(K6(r.extraArgument))),process.env.NODE_ENV!=="production"){if(n){let s={};Ln(n)||(s=n),o.unshift(J6(s))}if(i){let s={};Ln(i)||(s=i),o.push(e7(s))}if(a){let s={};Ln(a)||(s=a),o.unshift(Z6(s))}}return o},r7="RTK_autoBatch",Qu=e=>t=>{setTimeout(t,e)},n7=(e={type:"raf"})=>t=>(...r)=>{const n=t(...r);let i=!0,a=!1,o=!1;const s=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Qu(10):e.type==="callback"?e.queueNotification:Qu(e.timeout),c=()=>{o=!1,a&&(a=!1,s.forEach(l=>l()))};return Object.assign({},n,{subscribe(l){const f=()=>i&&l(),h=n.subscribe(f);return s.add(l),()=>{h(),s.delete(l)}},dispatch(l){try{return i=!l?.meta?.[r7],a=!i,a&&(o||(o=!0,u(c))),n.dispatch(l)}finally{i=!0}}})},i7=e=>function(r){const{autoBatch:n=!0}=r??{};let i=new kf(e);return n&&i.push(n7(typeof n=="object"?n:void 0)),i};function a7(e){const t=t7(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let u;if(typeof r=="function")u=r;else if(pn(r))u=gf(r);else throw new Error(process.env.NODE_ENV==="production"?G(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(process.env.NODE_ENV!=="production"&&n&&typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?G(2):"`middleware` field must be a callback");let c;if(typeof n=="function"){if(c=n(t),process.env.NODE_ENV!=="production"&&!Array.isArray(c))throw new Error(process.env.NODE_ENV==="production"?G(3):"when using a middleware builder function, an array of middleware must be returned")}else c=t();if(process.env.NODE_ENV!=="production"&&c.some(m=>typeof m!="function"))throw new Error(process.env.NODE_ENV==="production"?G(4):"each middleware provided to configureStore must be a function");if(process.env.NODE_ENV!=="production"&&a){let m=new Set;c.forEach(v=>{if(m.has(v))throw new Error(process.env.NODE_ENV==="production"?G(42):"Duplicate middleware references found when creating the store. Ensure that each middleware is only included once.");m.add(v)})}let l=ni;i&&(l=V6({trace:process.env.NODE_ENV!=="production",...typeof i=="object"&&i}));const f=S6(...c),h=i7(f);if(process.env.NODE_ENV!=="production"&&s&&typeof s!="function")throw new Error(process.env.NODE_ENV==="production"?G(5):"`enhancers` field must be a callback");let d=typeof s=="function"?s(h):h();if(process.env.NODE_ENV!=="production"&&!Array.isArray(d))throw new Error(process.env.NODE_ENV==="production"?G(6):"`enhancers` callback must return an array");if(process.env.NODE_ENV!=="production"&&d.some(m=>typeof m!="function"))throw new Error(process.env.NODE_ENV==="production"?G(7):"each enhancer provided to configureStore must be a function");process.env.NODE_ENV!=="production"&&c.length&&!d.includes(f)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const p=l(...d);return yf(u,o,p)}function Rf(e){const t={},r=[];let n;const i={addCase(a,o){if(process.env.NODE_ENV!=="production"){if(r.length>0)throw new Error(process.env.NODE_ENV==="production"?G(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(n)throw new Error(process.env.NODE_ENV==="production"?G(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const s=typeof a=="string"?a:a.type;if(!s)throw new Error(process.env.NODE_ENV==="production"?G(28):"`builder.addCase` cannot be called with an empty action type");if(s in t)throw new Error(process.env.NODE_ENV==="production"?G(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${s}'`);return t[s]=o,i},addAsyncThunk(a,o){if(process.env.NODE_ENV!=="production"&&n)throw new Error(process.env.NODE_ENV==="production"?G(43):"`builder.addAsyncThunk` should only be called before calling `builder.addDefaultCase`");return o.pending&&(t[a.pending.type]=o.pending),o.rejected&&(t[a.rejected.type]=o.rejected),o.fulfilled&&(t[a.fulfilled.type]=o.fulfilled),o.settled&&r.push({matcher:a.settled,reducer:o.settled}),i},addMatcher(a,o){if(process.env.NODE_ENV!=="production"&&n)throw new Error(process.env.NODE_ENV==="production"?G(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:a,reducer:o}),i},addDefaultCase(a){if(process.env.NODE_ENV!=="production"&&n)throw new Error(process.env.NODE_ENV==="production"?G(31):"`builder.addDefaultCase` can only be called once");return n=a,i}};return e(i),[t,r,n]}function o7(e){return typeof e=="function"}function s7(e,t){if(process.env.NODE_ENV!=="production"&&typeof t=="object")throw new Error(process.env.NODE_ENV==="production"?G(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[r,n,i]=Rf(t),a;if(o7(e))a=()=>Xu(e());else{const s=Xu(e);a=()=>s}function o(s=a(),u){let c=[r[u.type],...n.filter(({matcher:l})=>l(u)).map(({reducer:l})=>l)];return c.filter(l=>!!l).length===0&&(c=[i]),c.reduce((l,f)=>{if(f)if(Ot(l)){const d=f(l,u);return d===void 0?l:d}else{if(ut(l))return Sf(l,h=>f(h,u));{const h=f(l,u);if(h===void 0){if(l===null)return l;throw Error("A case reducer on a non-draftable value must not return undefined")}return h}}return l},s)}return o.getInitialState=a,o}var u7="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",l7=(e=21)=>{let t="",r=e;for(;r--;)t+=u7[Math.random()*64|0];return t},c7=Symbol.for("rtk-slice-createasyncthunk");function f7(e,t){return`${e}/${t}`}function d7({creators:e}={}){const t=e?.asyncThunk?.[c7];return function(n){const{name:i,reducerPath:a=i}=n;if(!i)throw new Error(process.env.NODE_ENV==="production"?G(11):"`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&n.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const o=(typeof n.reducers=="function"?n.reducers(p7()):n.reducers)||{},s=Object.keys(o),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},c={addCase(g,w){const C=typeof g=="string"?g:g.type;if(!C)throw new Error(process.env.NODE_ENV==="production"?G(12):"`context.addCase` cannot be called with an empty action type");if(C in u.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?G(13):"`context.addCase` cannot be called with two reducers for the same action type: "+C);return u.sliceCaseReducersByType[C]=w,c},addMatcher(g,w){return u.sliceMatchers.push({matcher:g,reducer:w}),c},exposeAction(g,w){return u.actionCreators[g]=w,c},exposeCaseReducer(g,w){return u.sliceCaseReducersByName[g]=w,c}};s.forEach(g=>{const w=o[g],C={reducerName:g,type:f7(i,g),createNotation:typeof n.reducers=="function"};m7(w)?g7(C,w,c,t):v7(C,w,c)});function l(){if(process.env.NODE_ENV!=="production"&&typeof n.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?G(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[g={},w=[],C=void 0]=typeof n.extraReducers=="function"?Rf(n.extraReducers):[n.extraReducers],O={...g,...u.sliceCaseReducersByType};return s7(n.initialState,P=>{for(let S in O)P.addCase(S,O[S]);for(let S of u.sliceMatchers)P.addMatcher(S.matcher,S.reducer);for(let S of w)P.addMatcher(S.matcher,S.reducer);C&&P.addDefaultCase(C)})}const f=g=>g,h=new Map,d=new WeakMap;let p;function m(g,w){return p||(p=l()),p(g,w)}function v(){return p||(p=l()),p.getInitialState()}function y(g,w=!1){function C(P){let S=P[g];if(typeof S>"u"){if(w)S=$n(d,C,v);else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?G(15):"selectSlice returned undefined for an uninjected slice reducer")}return S}function O(P=f){const S=$n(h,w,()=>new WeakMap);return $n(S,P,()=>{const M={};for(const[z,k]of Object.entries(n.selectors??{}))M[z]=h7(k,P,()=>$n(d,P,v),w);return M})}return{reducerPath:g,getSelectors:O,get selectors(){return O(C)},selectSlice:C}}const b={name:i,reducer:m,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:v,...y(a),injectInto(g,{reducerPath:w,...C}={}){const O=w??a;return g.inject({reducerPath:O,reducer:m},C),{...b,...y(O,!0)}}};return b}}function h7(e,t,r,n){function i(a,...o){let s=t(a);if(typeof s>"u"){if(n)s=r();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?G(16):"selectState returned undefined for an uninjected slice reducer")}return e(s,...o)}return i.unwrapped=e,i}var Ye=d7();function p7(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function v7({type:e,reducerName:t,createNotation:r},n,i){let a,o;if("reducer"in n){if(r&&!y7(n))throw new Error(process.env.NODE_ENV==="production"?G(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");a=n.reducer,o=n.prepare}else a=n;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?tt(e,o):tt(e))}function m7(e){return e._reducerDefinitionType==="asyncThunk"}function y7(e){return e._reducerDefinitionType==="reducerWithPrepare"}function g7({type:e,reducerName:t},r,n,i){if(!i)throw new Error(process.env.NODE_ENV==="production"?G(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:a,fulfilled:o,pending:s,rejected:u,settled:c,options:l}=r,f=i(e,a,l);n.exposeAction(t,f),o&&n.addCase(f.fulfilled,o),s&&n.addCase(f.pending,s),u&&n.addCase(f.rejected,u),c&&n.addMatcher(f.settled,c),n.exposeCaseReducer(t,{fulfilled:o||Bn,pending:s||Bn,rejected:u||Bn,settled:c||Bn})}function Bn(){}var b7="task",$f="listener",Lf="completed",bo="cancelled",C7=`task-${bo}`,x7=`task-${Lf}`,v0=`${$f}-${bo}`,w7=`${$f}-${Lf}`,Hi=class{constructor(e){this.code=e,this.message=`${b7} ${bo} (reason: ${e})`}name="TaskAbortError";message},Co=(e,t)=>{if(typeof e!="function")throw new TypeError(process.env.NODE_ENV==="production"?G(32):`${t} is not a function`)},ui=()=>{},Bf=(e,t=ui)=>(e.catch(t),e),Ff=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),ar=e=>{if(e.aborted)throw new Hi(e.reason)};function zf(e,t){let r=ui;return new Promise((n,i)=>{const a=()=>i(new Hi(e.reason));if(e.aborted){a();return}r=Ff(e,a),t.finally(()=>r()).then(n,i)}).finally(()=>{r=ui})}var O7=async(e,t)=>{try{return await Promise.resolve(),{status:"ok",value:await e()}}catch(r){return{status:r instanceof Hi?"cancelled":"rejected",error:r}}finally{t?.()}},li=e=>t=>Bf(zf(e,t).then(r=>(ar(e),r))),qf=e=>{const t=li(e);return r=>t(new Promise(n=>setTimeout(n,r)))},{assign:br}=Object,Ju={},yn="listenerMiddleware",E7=(e,t)=>{const r=n=>Ff(e,()=>n.abort(e.reason));return(n,i)=>{Co(n,"taskExecutor");const a=new AbortController;r(a);const o=O7(async()=>{ar(e),ar(a.signal);const s=await n({pause:li(a.signal),delay:qf(a.signal),signal:a.signal});return ar(a.signal),s},()=>a.abort(x7));return i?.autoJoin&&t.push(o.catch(ui)),{result:li(e)(o),cancel(){a.abort(C7)}}}},P7=(e,t)=>{const r=async(n,i)=>{ar(t);let a=()=>{};const s=[new Promise((u,c)=>{let l=e({predicate:n,effect:(f,h)=>{h.unsubscribe(),u([f,h.getState(),h.getOriginalState()])}});a=()=>{l(),c()}})];i!=null&&s.push(new Promise(u=>setTimeout(u,i,null)));try{const u=await zf(t,Promise.race(s));return ar(t),u}finally{a()}};return(n,i)=>Bf(r(n,i))},Wf=e=>{let{type:t,actionCreator:r,matcher:n,predicate:i,effect:a}=e;if(t)i=tt(t).match;else if(r)t=r.type,i=r.match;else if(n)i=n;else if(!i)throw new Error(process.env.NODE_ENV==="production"?G(21):"Creating or removing a listener requires one of the known fields for matching an action");return Co(a,"options.listener"),{predicate:i,type:t,effect:a}},Uf=br(e=>{const{type:t,predicate:r,effect:n}=Wf(e);return{id:l7(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw new Error(process.env.NODE_ENV==="production"?G(22):"Unsubscribe not initialized")}}},{withTypes:()=>Uf}),el=(e,t)=>{const{type:r,effect:n,predicate:i}=Wf(t);return Array.from(e.values()).find(a=>(typeof r=="string"?a.type===r:a.predicate===i)&&a.effect===n)},m0=e=>{e.pending.forEach(t=>{t.abort(v0)})},A7=(e,t)=>()=>{for(const r of t.keys())m0(r);e.clear()},tl=(e,t,r)=>{try{e(t,r)}catch(n){setTimeout(()=>{throw n},0)}},Kf=br(tt(`${yn}/add`),{withTypes:()=>Kf}),_7=tt(`${yn}/removeAll`),Vf=br(tt(`${yn}/remove`),{withTypes:()=>Vf}),S7=(...e)=>{console.error(`${yn}/error`,...e)},gn=(e={})=>{const t=new Map,r=new Map,n=d=>{const p=r.get(d)??0;r.set(d,p+1)},i=d=>{const p=r.get(d)??1;p===1?r.delete(d):r.set(d,p-1)},{extra:a,onError:o=S7}=e;Co(o,"onError");const s=d=>(d.unsubscribe=()=>t.delete(d.id),t.set(d.id,d),p=>{d.unsubscribe(),p?.cancelActive&&m0(d)}),u=d=>{const p=el(t,d)??Uf(d);return s(p)};br(u,{withTypes:()=>u});const c=d=>{const p=el(t,d);return p&&(p.unsubscribe(),d.cancelActive&&m0(p)),!!p};br(c,{withTypes:()=>c});const l=async(d,p,m,v)=>{const y=new AbortController,b=P7(u,y.signal),g=[];try{d.pending.add(y),n(d),await Promise.resolve(d.effect(p,br({},m,{getOriginalState:v,condition:(w,C)=>b(w,C).then(Boolean),take:b,delay:qf(y.signal),pause:li(y.signal),extra:a,signal:y.signal,fork:E7(y.signal,g),unsubscribe:d.unsubscribe,subscribe:()=>{t.set(d.id,d)},cancelActiveListeners:()=>{d.pending.forEach((w,C,O)=>{w!==y&&(w.abort(v0),O.delete(w))})},cancel:()=>{y.abort(v0),d.pending.delete(y)},throwIfCancelled:()=>{ar(y.signal)}})))}catch(w){w instanceof Hi||tl(o,w,{raisedBy:"effect"})}finally{await Promise.all(g),y.abort(w7),i(d),d.pending.delete(y)}},f=A7(t,r);return{middleware:d=>p=>m=>{if(!ho(m))return p(m);if(Kf.match(m))return u(m.payload);if(_7.match(m)){f();return}if(Vf.match(m))return c(m.payload);let v=d.getState();const y=()=>{if(v===Ju)throw new Error(process.env.NODE_ENV==="production"?G(23):`${yn}: getOriginalState can only be called synchronously`);return v};let b;try{if(b=p(m),t.size>0){const g=d.getState(),w=Array.from(t.values());for(const C of w){let O=!1;try{O=C.predicate(m,g,v)}catch(P){O=!1,tl(o,P,{raisedBy:"predicate"})}O&&l(C,m,d,y)}}}finally{v=Ju}return b},startListening:u,stopListening:c,clearListeners:f}};function G(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var j7={layoutType:"horizontal",width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},Hf=Ye({name:"chartLayout",initialState:j7,reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){e.margin.top=t.payload.top,e.margin.right=t.payload.right,e.margin.bottom=t.payload.bottom,e.margin.left=t.payload.left},setScale(e,t){e.scale=t.payload}}}),{setMargin:M7,setLayout:k7,setChartSize:T7,setScale:D7}=Hf.actions,N7=Hf.reducer;function rl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function nl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rl(Object(r),!0).forEach(function(n){I7(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rl(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function I7(e,t,r){return(t=R7(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R7(e){var t=$7(e,"string");return typeof t=="symbol"?t:t+""}function $7(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ci=Math.PI/180,L7=e=>e*180/Math.PI,we=(e,t,r,n)=>({x:e+Math.cos(-ci*n)*r,y:t+Math.sin(-ci*n)*r}),B7=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(n.left||0)-(n.right||0)),Math.abs(r-(n.top||0)-(n.bottom||0)))/2},F7=(e,t)=>{var{x:r,y:n}=e,{x:i,y:a}=t;return Math.sqrt((r-i)**2+(n-a)**2)},z7=(e,t)=>{var{x:r,y:n}=e,{cx:i,cy:a}=t,o=F7({x:r,y:n},{x:i,y:a});if(o<=0)return{radius:o,angle:0};var s=(r-i)/o,u=Math.acos(s);return n>a&&(u=2*Math.PI-u),{radius:o,angle:L7(u),angleInRadian:u}},q7=e=>{var{startAngle:t,endAngle:r}=e,n=Math.floor(t/360),i=Math.floor(r/360),a=Math.min(n,i);return{startAngle:t-a*360,endAngle:r-a*360}},W7=(e,t)=>{var{startAngle:r,endAngle:n}=t,i=Math.floor(r/360),a=Math.floor(n/360),o=Math.min(i,a);return e+o*360},U7=(e,t)=>{var{x:r,y:n}=e,{radius:i,angle:a}=z7({x:r,y:n},t),{innerRadius:o,outerRadius:s}=t;if(i<o||i>s||i===0)return null;var{startAngle:u,endAngle:c}=q7(t),l=a,f;if(u<=c){for(;l>c;)l-=360;for(;l<u;)l+=360;f=l>=u&&l<=c}else{for(;l>u;)l-=360;for(;l<c;)l+=360;f=l>=c&&l<=u}return f?nl(nl({},t),{},{radius:i,angle:W7(l,t)}):null};function Gf(e,t,r){return Array.isArray(e)&&e&&t+r!==0?e.slice(t,r+1):e}function il(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Qe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?il(Object(r),!0).forEach(function(n){K7(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):il(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function K7(e,t,r){return(t=V7(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function V7(e){var t=H7(e,"string");return typeof t=="symbol"?t:t+""}function H7(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Oe(e,t,r){return ue(e)||ue(t)?r:ft(t)?ur(e,t,r):typeof t=="function"?t(e):r}var G7=(e,t,r,n,i)=>{var a,o=-1,s=(a=t?.length)!==null&&a!==void 0?a:0;if(s<=1||e==null)return 0;if(n==="angleAxis"&&i!=null&&Math.abs(Math.abs(i[1]-i[0])-360)<=1e-6)for(var u=0;u<s;u++){var c=u>0?r[u-1].coordinate:r[s-1].coordinate,l=r[u].coordinate,f=u>=s-1?r[0].coordinate:r[u+1].coordinate,h=void 0;if(Je(l-c)!==Je(f-l)){var d=[];if(Je(f-l)===Je(i[1]-i[0])){h=f;var p=l+i[1]-i[0];d[0]=Math.min(p,(p+c)/2),d[1]=Math.max(p,(p+c)/2)}else{h=c;var m=f+i[1]-i[0];d[0]=Math.min(l,(m+l)/2),d[1]=Math.max(l,(m+l)/2)}var v=[Math.min(l,(h+l)/2),Math.max(l,(h+l)/2)];if(e>v[0]&&e<=v[1]||e>=d[0]&&e<=d[1]){({index:o}=r[u]);break}}else{var y=Math.min(c,f),b=Math.max(c,f);if(e>(y+l)/2&&e<=(b+l)/2){({index:o}=r[u]);break}}}else if(t){for(var g=0;g<s;g++)if(g===0&&e<=(t[g].coordinate+t[g+1].coordinate)/2||g>0&&g<s-1&&e>(t[g].coordinate+t[g-1].coordinate)/2&&e<=(t[g].coordinate+t[g+1].coordinate)/2||g===s-1&&e>(t[g].coordinate+t[g-1].coordinate)/2){({index:o}=t[g]);break}}return o},Y7=(e,t,r)=>{if(t&&r){var{width:n,height:i}=r,{align:a,verticalAlign:o,layout:s}=t;if((s==="vertical"||s==="horizontal"&&o==="middle")&&a!=="center"&&N(e[a]))return Qe(Qe({},e),{},{[a]:e[a]+(n||0)});if((s==="horizontal"||s==="vertical"&&a==="center")&&o!=="middle"&&N(e[o]))return Qe(Qe({},e),{},{[o]:e[o]+(i||0)})}return e},ht=(e,t)=>e==="horizontal"&&t==="xAxis"||e==="vertical"&&t==="yAxis"||e==="centric"&&t==="angleAxis"||e==="radial"&&t==="radiusAxis",Yf=(e,t,r,n)=>{if(n)return e.map(s=>s.coordinate);var i,a,o=e.map(s=>(s.coordinate===t&&(i=!0),s.coordinate===r&&(a=!0),s.coordinate));return i||o.push(t),a||o.push(r),o},Zf=(e,t,r)=>{if(!e)return null;var{duplicateDomain:n,type:i,range:a,scale:o,realScaleType:s,isCategorical:u,categoricalDomain:c,tickCount:l,ticks:f,niceTicks:h,axisType:d}=e;if(!o)return null;var p=s==="scaleBand"&&o.bandwidth?o.bandwidth()/2:2,m=i==="category"&&o.bandwidth?o.bandwidth()/p:0;if(m=d==="angleAxis"&&a&&a.length>=2?Je(a[0]-a[1])*2*m:m,f||h){var v=(f||h||[]).map((y,b)=>{var g=n?n.indexOf(y):y;return{coordinate:o(g)+m,value:y,offset:m,index:b}});return v.filter(y=>!He(y.coordinate))}return u&&c?c.map((y,b)=>({coordinate:o(y)+m,value:y,index:b,offset:m})):o.ticks&&l!=null?o.ticks(l).map((y,b)=>({coordinate:o(y)+m,value:y,offset:m,index:b})):o.domain().map((y,b)=>({coordinate:o(y)+m,value:n?n[y]:y,index:b,offset:m}))},al=1e-4,Z7=e=>{var t=e.domain();if(!(!t||t.length<=2)){var r=t.length,n=e.range(),i=Math.min(n[0],n[1])-al,a=Math.max(n[0],n[1])+al,o=e(t[0]),s=e(t[r-1]);(o<i||o>a||s<i||s>a)&&e.domain([t[0],t[r-1]])}},X7=e=>{var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,a=0,o=0;o<t;++o){var s=He(e[o][r][1])?e[o][r][0]:e[o][r][1];s>=0?(e[o][r][0]=i,e[o][r][1]=i+s,i=e[o][r][1]):(e[o][r][0]=a,e[o][r][1]=a+s,a=e[o][r][1])}},Q7=e=>{var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,a=0;a<t;++a){var o=He(e[a][r][1])?e[a][r][0]:e[a][r][1];o>=0?(e[a][r][0]=i,e[a][r][1]=i+o,i=e[a][r][1]):(e[a][r][0]=0,e[a][r][1]=0)}},J7={sign:X7,expand:w9,none:xr,silhouette:O9,wiggle:E9,positive:Q7},e4=(e,t,r)=>{var n=J7[r],i=x9().keys(t).value((a,o)=>+Oe(a,o,0)).order(a0).offset(n);return i(e)};function t4(e){return e==null?void 0:String(e)}function fi(e){var{axis:t,ticks:r,bandSize:n,entry:i,index:a,dataKey:o}=e;if(t.type==="category"){if(!t.allowDuplicatedCategory&&t.dataKey&&!ue(i[t.dataKey])){var s=F1(r,"value",i[t.dataKey]);if(s)return s.coordinate+n/2}return r[a]?r[a].coordinate+n/2:null}var u=Oe(i,ue(o)?t.dataKey:o);return ue(u)?null:t.scale(u)}var r4=e=>{var t=e.flat(2).filter(N);return[Math.min(...t),Math.max(...t)]},n4=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],i4=(e,t,r)=>{if(e!=null)return n4(Object.keys(e).reduce((n,i)=>{var a=e[i],{stackedData:o}=a,s=o.reduce((u,c)=>{var l=Gf(c,t,r),f=r4(l);return[Math.min(u[0],f[0]),Math.max(u[1],f[1])]},[1/0,-1/0]);return[Math.min(s[0],n[0]),Math.max(s[1],n[1])]},[1/0,-1/0]))},ol=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,sl=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,en=(e,t,r)=>{if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var i=Fi(t,l=>l.coordinate),a=1/0,o=1,s=i.length;o<s;o++){var u=i[o],c=i[o-1];a=Math.min((u.coordinate||0)-(c.coordinate||0),a)}return a===1/0?0:a}return r?void 0:0};function ul(e){var{tooltipEntrySettings:t,dataKey:r,payload:n,value:i,name:a}=e;return Qe(Qe({},t),{},{dataKey:r,payload:n,value:i,name:a})}function Gi(e,t){if(e)return String(e);if(typeof t=="string")return t}function a4(e,t,r,n,i){if(r==="horizontal"||r==="vertical"){var a=e>=i.left&&e<=i.left+i.width&&t>=i.top&&t<=i.top+i.height;return a?{x:e,y:t}:null}return n?U7({x:e,y:t},n):null}var o4=(e,t,r,n)=>{var i=t.find(c=>c&&c.index===r);if(i){if(e==="horizontal")return{x:i.coordinate,y:n.y};if(e==="vertical")return{x:n.x,y:i.coordinate};if(e==="centric"){var a=i.coordinate,{radius:o}=n;return Qe(Qe(Qe({},n),we(n.cx,n.cy,o,a)),{},{angle:a,radius:o})}var s=i.coordinate,{angle:u}=n;return Qe(Qe(Qe({},n),we(n.cx,n.cy,s,u)),{},{angle:u,radius:s})}return{x:0,y:0}},s4=(e,t)=>t==="horizontal"?e.x:t==="vertical"?e.y:t==="centric"?e.angle:e.radius,_t=e=>e.layout.width,St=e=>e.layout.height,u4=e=>e.layout.scale,Xf=e=>e.layout.margin,xo=A(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),wo=A(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),l4="data-recharts-item-index",c4="data-recharts-item-data-key",Yi=60;function ll(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Tt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ll(Object(r),!0).forEach(function(n){f4(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ll(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function f4(e,t,r){return(t=d4(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d4(e){var t=h4(e,"string");return typeof t=="symbol"?t:t+""}function h4(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var p4=e=>e.brush.height,Ee=A([_t,St,Xf,p4,xo,wo,mf,y6],(e,t,r,n,i,a,o,s)=>{var u=a.reduce((p,m)=>{var{orientation:v}=m;if(!m.mirror&&!m.hide){var y=typeof m.width=="number"?m.width:Yi;return Tt(Tt({},p),{},{[v]:p[v]+y})}return p},{left:r.left||0,right:r.right||0}),c=i.reduce((p,m)=>{var{orientation:v}=m;return!m.mirror&&!m.hide?Tt(Tt({},p),{},{[v]:ur(p,"".concat(v))+m.height}):p},{top:r.top||0,bottom:r.bottom||0}),l=Tt(Tt({},c),u),f=l.bottom;l.bottom+=n,l=Y7(l,o,s);var h=e-l.left-l.right,d=t-l.top-l.bottom;return Tt(Tt({brushBottom:f},l),{},{width:Math.max(h,0),height:Math.max(d,0)})}),v4=A(Ee,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),Qf=A(_t,St,(e,t)=>({x:0,y:0,width:e,height:t})),m4=E.createContext(null),Re=()=>E.useContext(m4)!=null,Zi=e=>e.brush,Xi=A([Zi,Ee,Xf],(e,t,r)=>({height:e.height,x:N(e.x)?e.x:t.left,y:N(e.y)?e.y:t.top+t.height+t.brushBottom-(r?.bottom||0),width:N(e.width)?e.width:t.width})),Oo=()=>{var e,t=Re(),r=F(v4),n=F(Xi),i=(e=F(Zi))===null||e===void 0?void 0:e.padding;return!t||!n||!i?r:{width:n.width-i.left-i.right,height:n.height-i.top-i.bottom,x:i.left,y:i.top}},y4={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},Jf=()=>{var e;return(e=F(Ee))!==null&&e!==void 0?e:y4},ed=()=>F(_t),td=()=>F(St),X=e=>e.layout.layoutType,Qi=()=>F(X),rd=Symbol.for("immer-nothing"),cl=Symbol.for("immer-draftable"),Ge=Symbol.for("immer-state"),g4=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function Ne(e,...t){if(process.env.NODE_ENV!=="production"){const r=g4[e],n=typeof r=="function"?r.apply(null,t):r;throw new Error(`[Immer] ${n}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var tn=Object.getPrototypeOf;function Er(e){return!!e&&!!e[Ge]}function lr(e){return e?nd(e)||Array.isArray(e)||!!e[cl]||!!e.constructor?.[cl]||bn(e)||e2(e):!1}var b4=Object.prototype.constructor.toString(),fl=new WeakMap;function nd(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(r===Object)return!0;if(typeof r!="function")return!1;let n=fl.get(r);return n===void 0&&(n=Function.toString.call(r),fl.set(r,n)),n===b4}function di(e,t,r=!0){Ji(e)===0?(r?Reflect.ownKeys(e):Object.keys(e)).forEach(i=>{t(i,e[i],e)}):e.forEach((n,i)=>t(i,n,e))}function Ji(e){const t=e[Ge];return t?t.type_:Array.isArray(e)?1:bn(e)?2:e2(e)?3:0}function y0(e,t){return Ji(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function id(e,t,r){const n=Ji(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function C4(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function bn(e){return e instanceof Map}function e2(e){return e instanceof Set}function Yt(e){return e.copy_||e.base_}function g0(e,t){if(bn(e))return new Map(e);if(e2(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=nd(e);if(t===!0||t==="class_only"&&!r){const n=Object.getOwnPropertyDescriptors(e);delete n[Ge];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){const o=i[a],s=n[o];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(n[o]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[o]})}return Object.create(tn(e),n)}else{const n=tn(e);if(n!==null&&r)return{...e};const i=Object.create(n);return Object.assign(i,e)}}function Eo(e,t=!1){return t2(e)||Er(e)||!lr(e)||(Ji(e)>1&&Object.defineProperties(e,{set:Fn,add:Fn,clear:Fn,delete:Fn}),Object.freeze(e),t&&Object.values(e).forEach(r=>Eo(r,!0))),e}function x4(){Ne(2)}var Fn={value:x4};function t2(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var w4={};function cr(e){const t=w4[e];return t||Ne(0,e),t}var rn;function ad(){return rn}function O4(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function dl(e,t){t&&(cr("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function b0(e){C0(e),e.drafts_.forEach(E4),e.drafts_=null}function C0(e){e===rn&&(rn=e.parent_)}function hl(e){return rn=O4(rn,e)}function E4(e){const t=e[Ge];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function pl(e,t){t.unfinalizedDrafts_=t.drafts_.length;const r=t.drafts_[0];return e!==void 0&&e!==r?(r[Ge].modified_&&(b0(t),Ne(4)),lr(e)&&(e=hi(t,e),t.parent_||pi(t,e)),t.patches_&&cr("Patches").generateReplacementPatches_(r[Ge].base_,e,t.patches_,t.inversePatches_)):e=hi(t,r,[]),b0(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==rd?e:void 0}function hi(e,t,r){if(t2(t))return t;const n=e.immer_.shouldUseStrictIteration(),i=t[Ge];if(!i)return di(t,(a,o)=>vl(e,i,t,a,o,r),n),t;if(i.scope_!==e)return t;if(!i.modified_)return pi(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;const a=i.copy_;let o=a,s=!1;i.type_===3&&(o=new Set(a),a.clear(),s=!0),di(o,(u,c)=>vl(e,i,a,u,c,r,s),n),pi(e,a,!1),r&&e.patches_&&cr("Patches").generatePatches_(i,r,e.patches_,e.inversePatches_)}return i.copy_}function vl(e,t,r,n,i,a,o){if(i==null||typeof i!="object"&&!o)return;const s=t2(i);if(!(s&&!o)){if(process.env.NODE_ENV!=="production"&&i===r&&Ne(5),Er(i)){const u=a&&t&&t.type_!==3&&!y0(t.assigned_,n)?a.concat(n):void 0,c=hi(e,i,u);if(id(r,n,c),Er(c))e.canAutoFreeze_=!1;else return}else o&&r.add(i);if(lr(i)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[n]===i&&s)return;hi(e,i),(!t||!t.scope_.parent_)&&typeof n!="symbol"&&(bn(r)?r.has(n):Object.prototype.propertyIsEnumerable.call(r,n))&&pi(e,i)}}}function pi(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Eo(t,r)}function P4(e,t){const r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:ad(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=n,a=Po;r&&(i=[n],a=nn);const{revoke:o,proxy:s}=Proxy.revocable(i,a);return n.draft_=s,n.revoke_=o,s}var Po={get(e,t){if(t===Ge)return e;const r=Yt(e);if(!y0(r,t))return A4(e,r,t);const n=r[t];return e.finalized_||!lr(n)?n:n===ba(e.base_,t)?(Ca(e),e.copy_[t]=w0(n,e)):n},has(e,t){return t in Yt(e)},ownKeys(e){return Reflect.ownKeys(Yt(e))},set(e,t,r){const n=od(Yt(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){const i=ba(Yt(e),t),a=i?.[Ge];if(a&&a.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if(C4(r,i)&&(r!==void 0||y0(e.base_,t)))return!0;Ca(e),x0(e)}return e.copy_[t]===r&&(r!==void 0||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_[t]=!0),!0},deleteProperty(e,t){return ba(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Ca(e),x0(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const r=Yt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty(){Ne(11)},getPrototypeOf(e){return tn(e.base_)},setPrototypeOf(){Ne(12)}},nn={};di(Po,(e,t)=>{nn[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});nn.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&Ne(13),nn.set.call(this,e,t,void 0)};nn.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&Ne(14),Po.set.call(this,e[0],t,r,e[0])};function ba(e,t){const r=e[Ge];return(r?Yt(r):e)[t]}function A4(e,t,r){const n=od(t,r);return n?"value"in n?n.value:n.get?.call(e.draft_):void 0}function od(e,t){if(!(t in e))return;let r=tn(e);for(;r;){const n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=tn(r)}}function x0(e){e.modified_||(e.modified_=!0,e.parent_&&x0(e.parent_))}function Ca(e){e.copy_||(e.copy_=g0(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var _4=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(t,r,n)=>{if(typeof t=="function"&&typeof r!="function"){const a=r;r=t;const o=this;return function(u=a,...c){return o.produce(u,l=>r.call(this,l,...c))}}typeof r!="function"&&Ne(6),n!==void 0&&typeof n!="function"&&Ne(7);let i;if(lr(t)){const a=hl(this),o=w0(t,void 0);let s=!0;try{i=r(o),s=!1}finally{s?b0(a):C0(a)}return dl(a,n),pl(i,a)}else if(!t||typeof t!="object"){if(i=r(t),i===void 0&&(i=t),i===rd&&(i=void 0),this.autoFreeze_&&Eo(i,!0),n){const a=[],o=[];cr("Patches").generateReplacementPatches_(t,i,a,o),n(a,o)}return i}else Ne(1,t)},this.produceWithPatches=(t,r)=>{if(typeof t=="function")return(o,...s)=>this.produceWithPatches(o,u=>t(u,...s));let n,i;return[this.produce(t,r,(o,s)=>{n=o,i=s}),n,i]},typeof e?.autoFreeze=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){lr(e)||Ne(8),Er(e)&&(e=S4(e));const t=hl(this),r=w0(e,void 0);return r[Ge].isManual_=!0,C0(t),r}finishDraft(e,t){const r=e&&e[Ge];(!r||!r.isManual_)&&Ne(9);const{scope_:n}=r;return dl(n,t),pl(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){const i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));const n=cr("Patches").applyPatches_;return Er(e)?n(e,t):this.produce(e,i=>n(i,t))}};function w0(e,t){const r=bn(e)?cr("MapSet").proxyMap_(e,t):e2(e)?cr("MapSet").proxySet_(e,t):P4(e,t);return(t?t.scope_:ad()).drafts_.push(r),r}function S4(e){return Er(e)||Ne(10,e),sd(e)}function sd(e){if(!lr(e)||t2(e))return e;const t=e[Ge];let r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=g0(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=g0(e,!0);return di(r,(i,a)=>{id(r,i,sd(a))},n),t&&(t.finalized_=!1),r}var j4=new _4;j4.produce;var M4={settings:{layout:"horizontal",align:"center",verticalAlign:"middle",itemSorter:"value"},size:{width:0,height:0},payload:[]},ud=Ye({name:"legend",initialState:M4,reducers:{setLegendSize(e,t){e.size.width=t.payload.width,e.size.height=t.payload.height},setLegendSettings(e,t){e.settings.align=t.payload.align,e.settings.layout=t.payload.layout,e.settings.verticalAlign=t.payload.verticalAlign,e.settings.itemSorter=t.payload.itemSorter},addLegendPayload(e,t){e.payload.push(t.payload)},removeLegendPayload(e,t){var r=Ct(e).payload.indexOf(t.payload);r>-1&&e.payload.splice(r,1)}}}),{setLegendSize:AE,setLegendSettings:_E,addLegendPayload:k4,removeLegendPayload:T4}=ud.actions,D4=ud.reducer;function O0(){return O0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O0.apply(null,arguments)}function ml(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function xa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ml(Object(r),!0).forEach(function(n){N4(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ml(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function N4(e,t,r){return(t=I4(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I4(e){var t=R4(e,"string");return typeof t=="symbol"?t:t+""}function R4(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $4(e){return Array.isArray(e)&&ft(e[0])&&ft(e[1])?e.join(" ~ "):e}var L4=e=>{var{separator:t=" : ",contentStyle:r={},itemStyle:n={},labelStyle:i={},payload:a,formatter:o,itemSorter:s,wrapperClassName:u,labelClassName:c,label:l,labelFormatter:f,accessibilityLayer:h=!1}=e,d=()=>{if(a&&a.length){var C={padding:0,margin:0},O=(s?Fi(a,s):a).map((P,S)=>{if(P.type==="none")return null;var M=P.formatter||o||$4,{value:z,name:k}=P,T=z,W=k;if(M){var K=M(z,k,P,S,a);if(Array.isArray(K))[T,W]=K;else if(K!=null)T=K;else return null}var te=xa({display:"block",paddingTop:4,paddingBottom:4,color:P.color||"#000"},n);return x.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(S),style:te},ft(W)?x.createElement("span",{className:"recharts-tooltip-item-name"},W):null,ft(W)?x.createElement("span",{className:"recharts-tooltip-item-separator"},t):null,x.createElement("span",{className:"recharts-tooltip-item-value"},T),x.createElement("span",{className:"recharts-tooltip-item-unit"},P.unit||""))});return x.createElement("ul",{className:"recharts-tooltip-item-list",style:C},O)}return null},p=xa({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},r),m=xa({margin:0},i),v=!ue(l),y=v?l:"",b=Q.clsx("recharts-default-tooltip",u),g=Q.clsx("recharts-tooltip-label",c);v&&f&&a!==void 0&&a!==null&&(y=f(l,a));var w=h?{role:"status","aria-live":"assertive"}:{};return x.createElement("div",O0({className:b,style:p},w),x.createElement("p",{className:g,style:m},x.isValidElement(y)?y:"".concat(y)),d())},Lr="recharts-tooltip-wrapper",B4={visibility:"hidden"};function F4(e){var{coordinate:t,translateX:r,translateY:n}=e;return Q.clsx(Lr,{["".concat(Lr,"-right")]:N(r)&&t&&N(t.x)&&r>=t.x,["".concat(Lr,"-left")]:N(r)&&t&&N(t.x)&&r<t.x,["".concat(Lr,"-bottom")]:N(n)&&t&&N(t.y)&&n>=t.y,["".concat(Lr,"-top")]:N(n)&&t&&N(t.y)&&n<t.y})}function yl(e){var{allowEscapeViewBox:t,coordinate:r,key:n,offsetTopLeft:i,position:a,reverseDirection:o,tooltipDimension:s,viewBox:u,viewBoxDimension:c}=e;if(a&&N(a[n]))return a[n];var l=r[n]-s-(i>0?i:0),f=r[n]+i;if(t[n])return o[n]?l:f;var h=u[n];if(h==null)return 0;if(o[n]){var d=l,p=h;return d<p?Math.max(f,h):Math.max(l,h)}if(c==null)return 0;var m=f+s,v=h+c;return m>v?Math.max(l,h):Math.max(f,h)}function z4(e){var{translateX:t,translateY:r,useTranslate3d:n}=e;return{transform:n?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}function q4(e){var{allowEscapeViewBox:t,coordinate:r,offsetTopLeft:n,position:i,reverseDirection:a,tooltipBox:o,useTranslate3d:s,viewBox:u}=e,c,l,f;return o.height>0&&o.width>0&&r?(l=yl({allowEscapeViewBox:t,coordinate:r,key:"x",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.width,viewBox:u,viewBoxDimension:u.width}),f=yl({allowEscapeViewBox:t,coordinate:r,key:"y",offsetTopLeft:n,position:i,reverseDirection:a,tooltipDimension:o.height,viewBox:u,viewBoxDimension:u.height}),c=z4({translateX:l,translateY:f,useTranslate3d:s})):c=B4,{cssProperties:c,cssClasses:F4({translateX:l,translateY:f,coordinate:r})}}function gl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function zn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gl(Object(r),!0).forEach(function(n){E0(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gl(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function E0(e,t,r){return(t=W4(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function W4(e){var t=U4(e,"string");return typeof t=="symbol"?t:t+""}function U4(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class K4 extends E.PureComponent{constructor(){super(...arguments),E0(this,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),E0(this,"handleKeyDown",t=>{if(t.key==="Escape"){var r,n,i,a;this.setState({dismissed:!0,dismissedAtCoordinate:{x:(r=(n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==null&&r!==void 0?r:0,y:(i=(a=this.props.coordinate)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0}})}})}componentDidMount(){document.addEventListener("keydown",this.handleKeyDown)}componentWillUnmount(){document.removeEventListener("keydown",this.handleKeyDown)}componentDidUpdate(){var t,r;this.state.dismissed&&(((t=this.props.coordinate)===null||t===void 0?void 0:t.x)!==this.state.dismissedAtCoordinate.x||((r=this.props.coordinate)===null||r===void 0?void 0:r.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}render(){var{active:t,allowEscapeViewBox:r,animationDuration:n,animationEasing:i,children:a,coordinate:o,hasPayload:s,isAnimationActive:u,offset:c,position:l,reverseDirection:f,useTranslate3d:h,viewBox:d,wrapperStyle:p,lastBoundingBox:m,innerRef:v,hasPortalFromProps:y}=this.props,{cssClasses:b,cssProperties:g}=q4({allowEscapeViewBox:r,coordinate:o,offsetTopLeft:c,position:l,reverseDirection:f,tooltipBox:{height:m.height,width:m.width},useTranslate3d:h,viewBox:d}),w=y?{}:zn(zn({transition:u&&t?"transform ".concat(n,"ms ").concat(i):void 0},g),{},{pointerEvents:"none",visibility:!this.state.dismissed&&t&&s?"visible":"hidden",position:"absolute",top:0,left:0}),C=zn(zn({},w),{},{visibility:!this.state.dismissed&&t&&s?"visible":"hidden"},p);return x.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",tabIndex:-1,className:b,style:C,ref:v},a)}}var V4=()=>!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout),jr={isSsr:V4()},ld=()=>F(e=>e.rootProps.accessibilityLayer);function Me(e){return Number.isFinite(e)}function vi(e){return typeof e=="number"&&e>0&&Number.isFinite(e)}function P0(){return P0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},P0.apply(null,arguments)}function bl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Cl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?bl(Object(r),!0).forEach(function(n){H4(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bl(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function H4(e,t,r){return(t=G4(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function G4(e){var t=Y4(e,"string");return typeof t=="symbol"?t:t+""}function Y4(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var xl={curveBasisClosed:c9,curveBasisOpen:f9,curveBasis:l9,curveBumpX:s9,curveBumpY:u9,curveLinearClosed:d9,curveLinear:Li,curveMonotoneX:h9,curveMonotoneY:p9,curveNatural:v9,curveStep:m9,curveStepAfter:g9,curveStepBefore:y9},qn=e=>Me(e.x)&&Me(e.y),Br=e=>e.x,Fr=e=>e.y,Z4=(e,t)=>{if(typeof e=="function")return e;var r="curve".concat(no(e));return(r==="curveMonotone"||r==="curveBump")&&t?xl["".concat(r).concat(t==="vertical"?"Y":"X")]:xl[r]||Li},X4=e=>{var{type:t="linear",points:r=[],baseLine:n,layout:i,connectNulls:a=!1}=e,o=Z4(t,i),s=a?r.filter(qn):r,u;if(Array.isArray(n)){var c=a?n.filter(f=>qn(f)):n,l=s.map((f,h)=>Cl(Cl({},f),{},{base:c[h]}));return i==="vertical"?u=Tn().y(Fr).x1(Br).x0(f=>f.base.x):u=Tn().x(Br).y1(Fr).y0(f=>f.base.y),u.defined(qn).curve(o),u(l)}return i==="vertical"&&N(n)?u=Tn().y(Fr).x1(Br).x0(n):N(n)?u=Tn().x(Br).y1(Fr).y0(n):u=Z1().x(Br).y(Fr),u.defined(qn).curve(o),u(s)},Hr=e=>{var{className:t,points:r,path:n,pathRef:i}=e;if((!r||!r.length)&&!n)return null;var a=r&&r.length?X4(e):n;return x.createElement("path",P0({},Ft(e),ao(e),{className:Q.clsx("recharts-curve",t),d:a===null?void 0:a,ref:i}))},Q4=["x","y","top","left","width","height","className"];function A0(){return A0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},A0.apply(null,arguments)}function wl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function J4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wl(Object(r),!0).forEach(function(n){e5(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wl(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function e5(e,t,r){return(t=t5(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t5(e){var t=r5(e,"string");return typeof t=="symbol"?t:t+""}function r5(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function n5(e,t){if(e==null)return{};var r,n,i=i5(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function i5(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var a5=(e,t,r,n,i,a)=>"M".concat(e,",").concat(i,"v").concat(n,"M").concat(a,",").concat(t,"h").concat(r),o5=e=>{var{x:t=0,y:r=0,top:n=0,left:i=0,width:a=0,height:o=0,className:s}=e,u=n5(e,Q4),c=J4({x:t,y:r,top:n,left:i,width:a,height:o},u);return!N(t)||!N(r)||!N(a)||!N(o)||!N(n)||!N(i)?null:x.createElement("path",A0({},le(c,!0),{className:Q.clsx("recharts-cross",s),d:a5(t,r,a,o,n,i)}))};function s5(e,t,r,n){var i=n/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-i:r.left+.5,y:e==="horizontal"?r.top+.5:t.y-i,width:e==="horizontal"?n:r.width-1,height:e==="horizontal"?r.height-1:n}}function Ol(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function u5(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ol(Object(r),!0).forEach(function(n){l5(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ol(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function l5(e,t,r){return(t=c5(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c5(e){var t=f5(e,"string");return typeof t=="symbol"?t:t+""}function f5(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function pt(e,t){var r=u5({},e),n=t,i=Object.keys(t),a=i.reduce((o,s)=>(o[s]===void 0&&n[s]!==void 0&&(o[s]=n[s]),o),r);return a}var wa={},Oa={},Ea={},El;function d5(){return El||(El=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){if(!r||typeof r!="object")return!1;const n=Object.getPrototypeOf(r);return n===null||n===Object.prototype||Object.getPrototypeOf(n)===null?Object.prototype.toString.call(r)==="[object Object]":!1}e.isPlainObject=t})(Ea)),Ea}var Pl;function h5(){return Pl||(Pl=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=d5(),r=cf(),n=lo(),i=co(),a=uo();function o(c,l,f){return s(c,l,void 0,void 0,void 0,void 0,f)}function s(c,l,f,h,d,p,m){const v=m(c,l,f,h,d,p);if(v!==void 0)return v;if(typeof c==typeof l)switch(typeof c){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return c===l;case"number":return c===l||Object.is(c,l);case"function":return c===l;case"object":return u(c,l,p,m)}return u(c,l,p,m)}function u(c,l,f,h){if(Object.is(c,l))return!0;let d=n.getTag(c),p=n.getTag(l);if(d===i.argumentsTag&&(d=i.objectTag),p===i.argumentsTag&&(p=i.objectTag),d!==p)return!1;switch(d){case i.stringTag:return c.toString()===l.toString();case i.numberTag:{const y=c.valueOf(),b=l.valueOf();return a.eq(y,b)}case i.booleanTag:case i.dateTag:case i.symbolTag:return Object.is(c.valueOf(),l.valueOf());case i.regexpTag:return c.source===l.source&&c.flags===l.flags;case i.functionTag:return c===l}f=f??new Map;const m=f.get(c),v=f.get(l);if(m!=null&&v!=null)return m===l;f.set(c,l),f.set(l,c);try{switch(d){case i.mapTag:{if(c.size!==l.size)return!1;for(const[y,b]of c.entries())if(!l.has(y)||!s(b,l.get(y),y,c,l,f,h))return!1;return!0}case i.setTag:{if(c.size!==l.size)return!1;const y=Array.from(c.values()),b=Array.from(l.values());for(let g=0;g<y.length;g++){const w=y[g],C=b.findIndex(O=>s(w,O,void 0,c,l,f,h));if(C===-1)return!1;b.splice(C,1)}return!0}case i.arrayTag:case i.uint8ArrayTag:case i.uint8ClampedArrayTag:case i.uint16ArrayTag:case i.uint32ArrayTag:case i.bigUint64ArrayTag:case i.int8ArrayTag:case i.int16ArrayTag:case i.int32ArrayTag:case i.bigInt64ArrayTag:case i.float32ArrayTag:case i.float64ArrayTag:{if(typeof Buffer<"u"&&Buffer.isBuffer(c)!==Buffer.isBuffer(l)||c.length!==l.length)return!1;for(let y=0;y<c.length;y++)if(!s(c[y],l[y],y,c,l,f,h))return!1;return!0}case i.arrayBufferTag:return c.byteLength!==l.byteLength?!1:u(new Uint8Array(c),new Uint8Array(l),f,h);case i.dataViewTag:return c.byteLength!==l.byteLength||c.byteOffset!==l.byteOffset?!1:u(new Uint8Array(c),new Uint8Array(l),f,h);case i.errorTag:return c.name===l.name&&c.message===l.message;case i.objectTag:{if(!(u(c.constructor,l.constructor,f,h)||t.isPlainObject(c)&&t.isPlainObject(l)))return!1;const b=[...Object.keys(c),...r.getSymbols(c)],g=[...Object.keys(l),...r.getSymbols(l)];if(b.length!==g.length)return!1;for(let w=0;w<b.length;w++){const C=b[w],O=c[C];if(!Object.hasOwn(l,C))return!1;const P=l[C];if(!s(O,P,C,c,l,f,h))return!1}return!0}default:return!1}}finally{f.delete(c),f.delete(l)}}e.isEqualWith=o})(Oa)),Oa}var Pa={},Al;function p5(){return Al||(Al=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(){}e.noop=t})(Pa)),Pa}var _l;function v5(){return _l||(_l=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=h5(),r=p5();function n(i,a){return t.isEqualWith(i,a,r.noop)}e.isEqual=n})(wa)),wa}var Aa,Sl;function m5(){return Sl||(Sl=1,Aa=v5().isEqual),Aa}var y5=m5();const g5=_.getDefaultExportFromCjs(y5);var mi=1e-4,cd=(e,t)=>[0,3*e,3*t-6*e,3*e-3*t+1],fd=(e,t)=>e.map((r,n)=>r*t**n).reduce((r,n)=>r+n),jl=(e,t)=>r=>{var n=cd(e,t);return fd(n,r)},b5=(e,t)=>r=>{var n=cd(e,t),i=[...n.map((a,o)=>a*o).slice(1),0];return fd(i,r)},Ml=function(){for(var t,r,n,i,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];if(o.length===1)switch(o[0]){case"linear":[t,n,r,i]=[0,0,1,1];break;case"ease":[t,n,r,i]=[.25,.1,.25,1];break;case"ease-in":[t,n,r,i]=[.42,0,1,1];break;case"ease-out":[t,n,r,i]=[.42,0,.58,1];break;case"ease-in-out":[t,n,r,i]=[0,0,.58,1];break;default:{var u=o[0].split("(");u[0]==="cubic-bezier"&&u[1].split(")")[0].split(",").length===4&&([t,n,r,i]=u[1].split(")")[0].split(",").map(p=>parseFloat(p)))}}else o.length===4&&([t,n,r,i]=o);var c=jl(t,r),l=jl(n,i),f=b5(t,r),h=p=>p>1?1:p<0?0:p,d=p=>{for(var m=p>1?1:p,v=m,y=0;y<8;++y){var b=c(v)-m,g=f(v);if(Math.abs(b-m)<mi||g<mi)return l(v);v=h(v-b/g)}return l(v)};return d.isStepper=!1,d},C5=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{stiff:r=100,damping:n=8,dt:i=17}=t,a=(o,s,u)=>{var c=-(o-s)*r,l=u*n,f=u+(c-l)*i/1e3,h=u*i/1e3+o;return Math.abs(h-s)<mi&&Math.abs(f)<mi?[s,0]:[h,f]};return a.isStepper=!0,a.dt=i,a},dd=e=>{if(typeof e=="string")switch(e){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return Ml(e);case"spring":return C5();default:if(e.split("(")[0]==="cubic-bezier")return Ml(e)}return typeof e=="function"?e:null};function kl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Tl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?kl(Object(r),!0).forEach(function(n){x5(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kl(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function x5(e,t,r){return(t=w5(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w5(e){var t=O5(e,"string");return typeof t=="symbol"?t:t+""}function O5(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var E5=e=>e.replace(/([A-Z])/g,t=>"-".concat(t.toLowerCase())),P5=(e,t,r)=>e.map(n=>"".concat(E5(n)," ").concat(t,"ms ").concat(r)).join(","),A5=(e,t)=>[Object.keys(e),Object.keys(t)].reduce((r,n)=>r.filter(i=>n.includes(i))),an=(e,t)=>Object.keys(t).reduce((r,n)=>Tl(Tl({},r),{},{[n]:e(n,t[n])}),{});function Dl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function xe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Dl(Object(r),!0).forEach(function(n){_5(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dl(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function _5(e,t,r){return(t=S5(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S5(e){var t=j5(e,"string");return typeof t=="symbol"?t:t+""}function j5(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var yi=(e,t,r)=>e+(t-e)*r,_0=e=>{var{from:t,to:r}=e;return t!==r},hd=(e,t,r)=>{var n=an((i,a)=>{if(_0(a)){var[o,s]=e(a.from,a.to,a.velocity);return xe(xe({},a),{},{from:o,velocity:s})}return a},t);return r<1?an((i,a)=>_0(a)?xe(xe({},a),{},{velocity:yi(a.velocity,n[i].velocity,r),from:yi(a.from,n[i].from,r)}):a,t):hd(e,n,r-1)};function M5(e,t,r,n,i,a){var o,s=n.reduce((h,d)=>xe(xe({},h),{},{[d]:{from:e[d],velocity:0,to:t[d]}}),{}),u=()=>an((h,d)=>d.from,s),c=()=>!Object.values(s).filter(_0).length,l=null,f=h=>{o||(o=h);var d=h-o,p=d/r.dt;s=hd(r,s,p),i(xe(xe(xe({},e),t),u())),o=h,c()||(l=a.setTimeout(f))};return()=>(l=a.setTimeout(f),()=>{l()})}function k5(e,t,r,n,i,a,o){var s=null,u=i.reduce((f,h)=>xe(xe({},f),{},{[h]:[e[h],t[h]]}),{}),c,l=f=>{c||(c=f);var h=(f-c)/n,d=an((m,v)=>yi(...v,r(h)),u);if(a(xe(xe(xe({},e),t),d)),h<1)s=o.setTimeout(l);else{var p=an((m,v)=>yi(...v,r(1)),u);a(xe(xe(xe({},e),t),p))}};return()=>(s=o.setTimeout(l),()=>{s()})}const pd=(e,t,r,n,i,a)=>{var o=A5(e,t);return r.isStepper===!0?M5(e,t,r,o,i,a):k5(e,t,r,n,o,i,a)};function T5(e){var t,r=()=>null,n=!1,i=null,a=o=>{if(!n){if(Array.isArray(o)){if(!o.length)return;var s=o,[u,...c]=s;if(typeof u=="number"){i=e.setTimeout(a.bind(null,c),u);return}a(u),i=e.setTimeout(a.bind(null,c));return}typeof o=="string"&&(t=o,r(t)),typeof o=="object"&&(t=o,r(t)),typeof o=="function"&&o()}};return{stop:()=>{n=!0},start:o=>{n=!1,i&&(i(),i=null),a(o)},subscribe:o=>(r=o,()=>{r=()=>null}),getTimeoutController:()=>e}}class D5{setTimeout(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=performance.now(),i=null,a=o=>{o-n>=r?t(o):typeof requestAnimationFrame=="function"&&(i=requestAnimationFrame(a))};return i=requestAnimationFrame(a),()=>{cancelAnimationFrame(i)}}}function N5(){return T5(new D5)}var I5=E.createContext(N5);function vd(e,t){var r=E.useContext(I5);return E.useMemo(()=>t??r(e),[e,t,r])}var R5=["children","begin","duration","attributeName","easing","isActive","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart","animationManager"];function S0(){return S0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},S0.apply(null,arguments)}function $5(e,t){if(e==null)return{};var r,n,i=L5(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function L5(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function Nl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Dt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Nl(Object(r),!0).forEach(function(n){Jt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nl(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Jt(e,t,r){return(t=B5(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B5(e){var t=F5(e,"string");return typeof t=="symbol"?t:t+""}function F5(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class Ao extends E.PureComponent{constructor(t,r){super(t,r),Jt(this,"mounted",!1),Jt(this,"manager",void 0),Jt(this,"stopJSAnimation",null),Jt(this,"unSubscribe",null);var{isActive:n,attributeName:i,from:a,to:o,children:s,duration:u,animationManager:c}=this.props;if(this.manager=c,this.handleStyleChange=this.handleStyleChange.bind(this),this.changeStyle=this.changeStyle.bind(this),!n||u<=0){this.state={style:{}},typeof s=="function"&&(this.state={style:o});return}if(a){if(typeof s=="function"){this.state={style:a};return}this.state={style:i?{[i]:a}:a}}else this.state={style:{}}}componentDidMount(){var{isActive:t,canBegin:r}=this.props;this.mounted=!0,!(!t||!r)&&this.runAnimation(this.props)}componentDidUpdate(t){var{isActive:r,canBegin:n,attributeName:i,shouldReAnimate:a,to:o,from:s}=this.props,{style:u}=this.state;if(n){if(!r){var c={style:i?{[i]:o}:o};this.state&&u&&(i&&u[i]!==o||!i&&u!==o)&&this.setState(c);return}if(!(g5(t.to,o)&&t.canBegin&&t.isActive)){var l=!t.canBegin||!t.isActive;this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=l||a?s:t.to;if(this.state&&u){var h={style:i?{[i]:f}:f};(i&&u[i]!==f||!i&&u!==f)&&this.setState(h)}this.runAnimation(Dt(Dt({},this.props),{},{from:f,begin:0}))}}}componentWillUnmount(){this.mounted=!1;var{onAnimationEnd:t}=this.props;this.unSubscribe&&this.unSubscribe(),this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}handleStyleChange(t){this.changeStyle(t)}changeStyle(t){this.mounted&&this.setState({style:t})}runJSAnimation(t){var{from:r,to:n,duration:i,easing:a,begin:o,onAnimationEnd:s,onAnimationStart:u}=t,c=pd(r,n,dd(a),i,this.changeStyle,this.manager.getTimeoutController()),l=()=>{this.stopJSAnimation=c()};this.manager.start([u,o,l,i,s])}runAnimation(t){var{begin:r,duration:n,attributeName:i,to:a,easing:o,onAnimationStart:s,onAnimationEnd:u,children:c}=t;if(this.unSubscribe=this.manager.subscribe(this.handleStyleChange),typeof o=="function"||typeof c=="function"||o==="spring"){this.runJSAnimation(t);return}var l=i?{[i]:a}:a,f=P5(Object.keys(l),n,o);this.manager.start([s,r,Dt(Dt({},l),{},{transition:f}),n,u])}render(){var t=this.props,{children:r,begin:n,duration:i,attributeName:a,easing:o,isActive:s,from:u,to:c,canBegin:l,onAnimationEnd:f,shouldReAnimate:h,onAnimationReStart:d,animationManager:p}=t,m=$5(t,R5),v=E.Children.count(r),y=this.state.style;if(typeof r=="function")return r(y);if(!s||v===0||i<=0)return r;var b=g=>{var{style:w={},className:C}=g.props,O=E.cloneElement(g,Dt(Dt({},m),{},{style:Dt(Dt({},w),y),className:C}));return O};return v===1?b(E.Children.only(r)):x.createElement("div",null,E.Children.map(r,g=>b(g)))}}Jt(Ao,"displayName","Animate");Jt(Ao,"defaultProps",{begin:0,duration:1e3,attributeName:"",easing:"ease",isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}});function Il(e){var t,r=vd((t=e.attributeName)!==null&&t!==void 0?t:Object.keys(e.to).join(","),e.animationManager);return x.createElement(Ao,S0({},e,{animationManager:r}))}function gi(){return gi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gi.apply(null,arguments)}var Rl=(e,t,r,n,i)=>{var a=Math.min(Math.abs(r)/2,Math.abs(n)/2),o=n>=0?1:-1,s=r>=0?1:-1,u=n>=0&&r>=0||n<0&&r<0?1:0,c;if(a>0&&i instanceof Array){for(var l=[0,0,0,0],f=0,h=4;f<h;f++)l[f]=i[f]>a?a:i[f];c="M".concat(e,",").concat(t+o*l[0]),l[0]>0&&(c+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(u,",").concat(e+s*l[0],",").concat(t)),c+="L ".concat(e+r-s*l[1],",").concat(t),l[1]>0&&(c+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(u,`,
32
- `).concat(e+r,",").concat(t+o*l[1])),c+="L ".concat(e+r,",").concat(t+n-o*l[2]),l[2]>0&&(c+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(u,`,
33
- `).concat(e+r-s*l[2],",").concat(t+n)),c+="L ".concat(e+s*l[3],",").concat(t+n),l[3]>0&&(c+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(u,`,
34
- `).concat(e,",").concat(t+n-o*l[3])),c+="Z"}else if(a>0&&i===+i&&i>0){var d=Math.min(a,i);c="M ".concat(e,",").concat(t+o*d,`
35
- A `).concat(d,",").concat(d,",0,0,").concat(u,",").concat(e+s*d,",").concat(t,`
36
- L `).concat(e+r-s*d,",").concat(t,`
37
- A `).concat(d,",").concat(d,",0,0,").concat(u,",").concat(e+r,",").concat(t+o*d,`
38
- L `).concat(e+r,",").concat(t+n-o*d,`
39
- A `).concat(d,",").concat(d,",0,0,").concat(u,",").concat(e+r-s*d,",").concat(t+n,`
40
- L `).concat(e+s*d,",").concat(t+n,`
41
- A `).concat(d,",").concat(d,",0,0,").concat(u,",").concat(e,",").concat(t+n-o*d," Z")}else c="M ".concat(e,",").concat(t," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return c},z5={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},q5=e=>{var t=pt(e,z5),r=E.useRef(null),[n,i]=E.useState(-1);E.useEffect(()=>{if(r.current&&r.current.getTotalLength)try{var y=r.current.getTotalLength();y&&i(y)}catch{}},[]);var{x:a,y:o,width:s,height:u,radius:c,className:l}=t,{animationEasing:f,animationDuration:h,animationBegin:d,isAnimationActive:p,isUpdateAnimationActive:m}=t;if(a!==+a||o!==+o||s!==+s||u!==+u||s===0||u===0)return null;var v=Q.clsx("recharts-rectangle",l);return m?x.createElement(Il,{canBegin:n>0,from:{width:s,height:u,x:a,y:o},to:{width:s,height:u,x:a,y:o},duration:h,animationEasing:f,isActive:m},y=>{var{width:b,height:g,x:w,y:C}=y;return x.createElement(Il,{canBegin:n>0,from:"0px ".concat(n===-1?1:n,"px"),to:"".concat(n,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,isActive:p,easing:f},x.createElement("path",gi({},le(t,!0),{className:v,d:Rl(w,C,b,g,c),ref:r})))}):x.createElement("path",gi({},le(t,!0),{className:v,d:Rl(a,o,s,u,c)}))};function md(e){var{cx:t,cy:r,radius:n,startAngle:i,endAngle:a}=e,o=we(t,r,n,i),s=we(t,r,n,a);return{points:[o,s],cx:t,cy:r,radius:n,startAngle:i,endAngle:a}}function j0(){return j0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j0.apply(null,arguments)}var W5=(e,t)=>{var r=Je(t-e),n=Math.min(Math.abs(t-e),359.999);return r*n},Wn=e=>{var{cx:t,cy:r,radius:n,angle:i,sign:a,isExternal:o,cornerRadius:s,cornerIsExternal:u}=e,c=s*(o?1:-1)+n,l=Math.asin(s/c)/ci,f=u?i:i+a*l,h=we(t,r,c,f),d=we(t,r,n,f),p=u?i-a*l:i,m=we(t,r,c*Math.cos(l*ci),p);return{center:h,circleTangency:d,lineTangency:m,theta:l}},yd=e=>{var{cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:a,endAngle:o}=e,s=W5(a,o),u=a+s,c=we(t,r,i,a),l=we(t,r,i,u),f="M ".concat(c.x,",").concat(c.y,`
42
- A `).concat(i,",").concat(i,`,0,
43
- `).concat(+(Math.abs(s)>180),",").concat(+(a>u),`,
44
- `).concat(l.x,",").concat(l.y,`
45
- `);if(n>0){var h=we(t,r,n,a),d=we(t,r,n,u);f+="L ".concat(d.x,",").concat(d.y,`
46
- A `).concat(n,",").concat(n,`,0,
47
- `).concat(+(Math.abs(s)>180),",").concat(+(a<=u),`,
48
- `).concat(h.x,",").concat(h.y," Z")}else f+="L ".concat(t,",").concat(r," Z");return f},U5=e=>{var{cx:t,cy:r,innerRadius:n,outerRadius:i,cornerRadius:a,forceCornerRadius:o,cornerIsExternal:s,startAngle:u,endAngle:c}=e,l=Je(c-u),{circleTangency:f,lineTangency:h,theta:d}=Wn({cx:t,cy:r,radius:i,angle:u,sign:l,cornerRadius:a,cornerIsExternal:s}),{circleTangency:p,lineTangency:m,theta:v}=Wn({cx:t,cy:r,radius:i,angle:c,sign:-l,cornerRadius:a,cornerIsExternal:s}),y=s?Math.abs(u-c):Math.abs(u-c)-d-v;if(y<0)return o?"M ".concat(h.x,",").concat(h.y,`
49
- a`).concat(a,",").concat(a,",0,0,1,").concat(a*2,`,0
50
- a`).concat(a,",").concat(a,",0,0,1,").concat(-a*2,`,0
51
- `):yd({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:u,endAngle:c});var b="M ".concat(h.x,",").concat(h.y,`
52
- A`).concat(a,",").concat(a,",0,0,").concat(+(l<0),",").concat(f.x,",").concat(f.y,`
53
- A`).concat(i,",").concat(i,",0,").concat(+(y>180),",").concat(+(l<0),",").concat(p.x,",").concat(p.y,`
54
- A`).concat(a,",").concat(a,",0,0,").concat(+(l<0),",").concat(m.x,",").concat(m.y,`
55
- `);if(n>0){var{circleTangency:g,lineTangency:w,theta:C}=Wn({cx:t,cy:r,radius:n,angle:u,sign:l,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),{circleTangency:O,lineTangency:P,theta:S}=Wn({cx:t,cy:r,radius:n,angle:c,sign:-l,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),M=s?Math.abs(u-c):Math.abs(u-c)-C-S;if(M<0&&a===0)return"".concat(b,"L").concat(t,",").concat(r,"Z");b+="L".concat(P.x,",").concat(P.y,`
56
- A`).concat(a,",").concat(a,",0,0,").concat(+(l<0),",").concat(O.x,",").concat(O.y,`
57
- A`).concat(n,",").concat(n,",0,").concat(+(M>180),",").concat(+(l>0),",").concat(g.x,",").concat(g.y,`
58
- A`).concat(a,",").concat(a,",0,0,").concat(+(l<0),",").concat(w.x,",").concat(w.y,"Z")}else b+="L".concat(t,",").concat(r,"Z");return b},K5={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},V5=e=>{var t=pt(e,K5),{cx:r,cy:n,innerRadius:i,outerRadius:a,cornerRadius:o,forceCornerRadius:s,cornerIsExternal:u,startAngle:c,endAngle:l,className:f}=t;if(a<i||c===l)return null;var h=Q.clsx("recharts-sector",f),d=a-i,p=Bt(o,d,0,!0),m;return p>0&&Math.abs(c-l)<360?m=U5({cx:r,cy:n,innerRadius:i,outerRadius:a,cornerRadius:Math.min(p,d/2),forceCornerRadius:s,cornerIsExternal:u,startAngle:c,endAngle:l}):m=yd({cx:r,cy:n,innerRadius:i,outerRadius:a,startAngle:c,endAngle:l}),x.createElement("path",j0({},le(t,!0),{className:h,d:m}))};function H5(e,t,r){var n,i,a,o;if(e==="horizontal")n=t.x,a=n,i=r.top,o=r.top+r.height;else if(e==="vertical")i=t.y,o=i,n=r.left,a=r.left+r.width;else if(t.cx!=null&&t.cy!=null)if(e==="centric"){var{cx:s,cy:u,innerRadius:c,outerRadius:l,angle:f}=t,h=we(s,u,c,f),d=we(s,u,l,f);n=h.x,i=h.y,a=d.x,o=d.y}else return md(t);return[{x:n,y:i},{x:a,y:o}]}var _a={},Sa={},ja={},$l;function G5(){return $l||($l=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=pf();function r(n){return t.isSymbol(n)?NaN:Number(n)}e.toNumber=r})(ja)),ja}var Ll;function Y5(){return Ll||(Ll=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=G5();function r(n){return n?(n=t.toNumber(n),n===1/0||n===-1/0?(n<0?-1:1)*Number.MAX_VALUE:n===n?n:0):n===0?n:0}e.toFinite=r})(Sa)),Sa}var Bl;function Z5(){return Bl||(Bl=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=vf(),r=Y5();function n(i,a,o){o&&typeof o!="number"&&t.isIterateeCall(i,a,o)&&(a=o=void 0),i=r.toFinite(i),a===void 0?(a=i,i=0):a=r.toFinite(a),o=o===void 0?i<a?1:-1:r.toFinite(o);const s=Math.max(Math.ceil((a-i)/(o||1)),0),u=new Array(s);for(let c=0;c<s;c++)u[c]=i,i+=o;return u}e.range=n})(_a)),_a}var Ma,Fl;function X5(){return Fl||(Fl=1,Ma=Z5().range),Ma}var Q5=X5();const gd=_.getDefaultExportFromCjs(Q5);function $t(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function J5(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function _o(e){let t,r,n;e.length!==2?(t=$t,r=(s,u)=>$t(e(s),u),n=(s,u)=>e(s)-u):(t=e===$t||e===J5?e:ep,r=e,n=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;r(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;r(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&&n(s[f-1],u)>-n(s[f],u)?f-1:f}return{left:i,center:o,right:a}}function ep(){return 0}function bd(e){return e===null?NaN:+e}function*tp(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const rp=_o($t),Cn=rp.right;_o(bd).center;class zl extends Map{constructor(t,r=ap){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(ql(this,t))}has(t){return super.has(ql(this,t))}set(t,r){return super.set(np(this,t),r)}delete(t){return super.delete(ip(this,t))}}function ql({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function np({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function ip({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function ap(e){return e!==null&&typeof e=="object"?e.valueOf():e}function op(e=$t){if(e===$t)return Cd;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function Cd(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const sp=Math.sqrt(50),up=Math.sqrt(10),lp=Math.sqrt(2);function bi(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),o=a>=sp?10:a>=up?5:a>=lp?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<=r&&r<2?bi(e,t,r*2):[s,u,c]}function M0(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[i,a,o]=n?bi(t,e,r):bi(e,t,r);if(!(a>=i))return[];const s=a-i+1,u=new Array(s);if(n)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 k0(e,t,r){return t=+t,e=+e,r=+r,bi(e,t,r)[2]}function T0(e,t,r){t=+t,e=+e,r=+r;const n=t<e,i=n?k0(t,e,r):k0(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function Wl(e,t){let r;for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);return r}function Ul(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function xd(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=i===void 0?Cd:op(i);n>r;){if(n-r>600){const u=n-r+1,c=t-r+1,l=Math.log(u),f=.5*Math.exp(2*l/3),h=.5*Math.sqrt(l*f*(u-f)/u)*(c-u/2<0?-1:1),d=Math.max(r,Math.floor(t-c*f/u+h)),p=Math.min(n,Math.floor(t+(u-c)*f/u+h));xd(e,t,d,p,i)}const a=e[t];let o=r,s=n;for(zr(e,r,t),i(e[n],a)>0&&zr(e,r,n);o<s;){for(zr(e,o,s),++o,--s;i(e[o],a)<0;)++o;for(;i(e[s],a)>0;)--s}i(e[r],a)===0?zr(e,r,s):(++s,zr(e,s,n)),s<=t&&(r=s+1),t<=s&&(n=s-1)}return e}function zr(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function cp(e,t,r){if(e=Float64Array.from(tp(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return Ul(e);if(t>=1)return Wl(e);var n,i=(n-1)*t,a=Math.floor(i),o=Wl(xd(e,a).subarray(0,a+1)),s=Ul(e.subarray(a+1));return o+(s-o)*(i-a)}}function fp(e,t,r=bd){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,a=Math.floor(i),o=+r(e[a],a,e),s=+r(e[a+1],a+1,e);return o+(s-o)*(i-a)}}function dp(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=Math.max(0,Math.ceil((t-e)/r))|0,a=new Array(i);++n<i;)a[n]=e+n*r;return a}function nt(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function jt(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const D0=Symbol("implicit");function So(){var e=new zl,t=[],r=[],n=D0;function i(a){let o=e.get(a);if(o===void 0){if(n!==D0)return n;e.set(a,o=t.push(a)-1)}return r[o%r.length]}return i.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new zl;for(const o of a)e.has(o)||e.set(o,t.push(o)-1);return i},i.range=function(a){return arguments.length?(r=Array.from(a),i):r.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return So(t,r).unknown(n)},nt.apply(i,arguments),i}function jo(){var e=So().unknown(void 0),t=e.domain,r=e.range,n=0,i=1,a,o,s=!1,u=0,c=0,l=.5;delete e.unknown;function f(){var h=t().length,d=i<n,p=d?i:n,m=d?n:i;a=(m-p)/Math.max(1,h-u+c*2),s&&(a=Math.floor(a)),p+=(m-p-a*(h-u))*l,o=a*(1-u),s&&(p=Math.round(p),o=Math.round(o));var v=dp(h).map(function(y){return p+a*y});return r(d?v.reverse():v)}return e.domain=function(h){return arguments.length?(t(h),f()):t()},e.range=function(h){return arguments.length?([n,i]=h,n=+n,i=+i,f()):[n,i]},e.rangeRound=function(h){return[n,i]=h,n=+n,i=+i,s=!0,f()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(h){return arguments.length?(s=!!h,f()):s},e.padding=function(h){return arguments.length?(u=Math.min(1,c=+h),f()):u},e.paddingInner=function(h){return arguments.length?(u=Math.min(1,h),f()):u},e.paddingOuter=function(h){return arguments.length?(c=+h,f()):c},e.align=function(h){return arguments.length?(l=Math.max(0,Math.min(1,h)),f()):l},e.copy=function(){return jo(t(),[n,i]).round(s).paddingInner(u).paddingOuter(c).align(l)},nt.apply(f(),arguments)}function wd(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return wd(t())},e}function hp(){return wd(jo.apply(null,arguments).paddingInner(1))}function Mo(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Od(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function xn(){}var on=.7,Ci=1/on,Cr="\\s*([+-]?\\d+)\\s*",sn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ct="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",pp=/^#([0-9a-f]{3,8})$/,vp=new RegExp(`^rgb\\(${Cr},${Cr},${Cr}\\)$`),mp=new RegExp(`^rgb\\(${ct},${ct},${ct}\\)$`),yp=new RegExp(`^rgba\\(${Cr},${Cr},${Cr},${sn}\\)$`),gp=new RegExp(`^rgba\\(${ct},${ct},${ct},${sn}\\)$`),bp=new RegExp(`^hsl\\(${sn},${ct},${ct}\\)$`),Cp=new RegExp(`^hsla\\(${sn},${ct},${ct},${sn}\\)$`),Kl={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};Mo(xn,un,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Vl,formatHex:Vl,formatHex8:xp,formatHsl:wp,formatRgb:Hl,toString:Hl});function Vl(){return this.rgb().formatHex()}function xp(){return this.rgb().formatHex8()}function wp(){return Ed(this).formatHsl()}function Hl(){return this.rgb().formatRgb()}function un(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=pp.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?Gl(t):r===3?new Ie(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?Un(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?Un(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=vp.exec(e))?new Ie(t[1],t[2],t[3],1):(t=mp.exec(e))?new Ie(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=yp.exec(e))?Un(t[1],t[2],t[3],t[4]):(t=gp.exec(e))?Un(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=bp.exec(e))?Xl(t[1],t[2]/100,t[3]/100,1):(t=Cp.exec(e))?Xl(t[1],t[2]/100,t[3]/100,t[4]):Kl.hasOwnProperty(e)?Gl(Kl[e]):e==="transparent"?new Ie(NaN,NaN,NaN,0):null}function Gl(e){return new Ie(e>>16&255,e>>8&255,e&255,1)}function Un(e,t,r,n){return n<=0&&(e=t=r=NaN),new Ie(e,t,r,n)}function Op(e){return e instanceof xn||(e=un(e)),e?(e=e.rgb(),new Ie(e.r,e.g,e.b,e.opacity)):new Ie}function N0(e,t,r,n){return arguments.length===1?Op(e):new Ie(e,t,r,n??1)}function Ie(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}Mo(Ie,N0,Od(xn,{brighter(e){return e=e==null?Ci:Math.pow(Ci,e),new Ie(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?on:Math.pow(on,e),new Ie(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ie(or(this.r),or(this.g),or(this.b),xi(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:Yl,formatHex:Yl,formatHex8:Ep,formatRgb:Zl,toString:Zl}));function Yl(){return`#${er(this.r)}${er(this.g)}${er(this.b)}`}function Ep(){return`#${er(this.r)}${er(this.g)}${er(this.b)}${er((isNaN(this.opacity)?1:this.opacity)*255)}`}function Zl(){const e=xi(this.opacity);return`${e===1?"rgb(":"rgba("}${or(this.r)}, ${or(this.g)}, ${or(this.b)}${e===1?")":`, ${e})`}`}function xi(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function or(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function er(e){return e=or(e),(e<16?"0":"")+e.toString(16)}function Xl(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new ot(e,t,r,n)}function Ed(e){if(e instanceof ot)return new ot(e.h,e.s,e.l,e.opacity);if(e instanceof xn||(e=un(e)),!e)return new ot;if(e instanceof ot)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,s=a-i,u=(a+i)/2;return s?(t===a?o=(r-n)/s+(r<n)*6:r===a?o=(n-t)/s+2:o=(t-r)/s+4,s/=u<.5?a+i:2-a-i,o*=60):s=u>0&&u<1?0:o,new ot(o,s,u,e.opacity)}function Pp(e,t,r,n){return arguments.length===1?Ed(e):new ot(e,t,r,n??1)}function ot(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}Mo(ot,Pp,Od(xn,{brighter(e){return e=e==null?Ci:Math.pow(Ci,e),new ot(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?on:Math.pow(on,e),new ot(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,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new Ie(ka(e>=240?e-240:e+120,i,n),ka(e,i,n),ka(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new ot(Ql(this.h),Kn(this.s),Kn(this.l),xi(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=xi(this.opacity);return`${e===1?"hsl(":"hsla("}${Ql(this.h)}, ${Kn(this.s)*100}%, ${Kn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Ql(e){return e=(e||0)%360,e<0?e+360:e}function Kn(e){return Math.max(0,Math.min(1,e||0))}function ka(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const ko=e=>()=>e;function Ap(e,t){return function(r){return e+r*t}}function _p(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function Sp(e){return(e=+e)==1?Pd:function(t,r){return r-t?_p(t,r,e):ko(isNaN(t)?r:t)}}function Pd(e,t){var r=t-e;return r?Ap(e,r):ko(isNaN(e)?t:e)}const Jl=(function e(t){var r=Sp(t);function n(i,a){var o=r((i=N0(i)).r,(a=N0(a)).r),s=r(i.g,a.g),u=r(i.b,a.b),c=Pd(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 n.gamma=e,n})(1);function jp(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(a){for(i=0;i<r;++i)n[i]=e[i]*(1-a)+t[i]*a;return n}}function Mp(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function kp(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),a=new Array(r),o;for(o=0;o<n;++o)i[o]=Mr(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(s){for(o=0;o<n;++o)a[o]=i[o](s);return a}}function Tp(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function wi(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function Dp(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=Mr(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var I0=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ta=new RegExp(I0.source,"g");function Np(e){return function(){return e}}function Ip(e){return function(t){return e(t)+""}}function Rp(e,t){var r=I0.lastIndex=Ta.lastIndex=0,n,i,a,o=-1,s=[],u=[];for(e=e+"",t=t+"";(n=I0.exec(e))&&(i=Ta.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),s[o]?s[o]+=a:s[++o]=a),(n=n[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,u.push({i:o,x:wi(n,i)})),r=Ta.lastIndex;return r<t.length&&(a=t.slice(r),s[o]?s[o]+=a:s[++o]=a),s.length<2?u[0]?Ip(u[0].x):Np(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 Mr(e,t){var r=typeof t,n;return t==null||r==="boolean"?ko(t):(r==="number"?wi:r==="string"?(n=un(t))?(t=n,Jl):Rp:t instanceof un?Jl:t instanceof Date?Tp:Mp(t)?jp:Array.isArray(t)?kp:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?Dp:wi)(e,t)}function To(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function $p(e,t){t===void 0&&(t=e,e=Mr);for(var r=0,n=t.length-1,i=t[0],a=new Array(n<0?0:n);r<n;)a[r]=e(i,i=t[++r]);return function(o){var s=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return a[s](o-s)}}function Lp(e){return function(){return e}}function Oi(e){return+e}var ec=[0,1];function Se(e){return e}function R0(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:Lp(isNaN(t)?NaN:.5)}function Bp(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function Fp(e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1];return i<n?(n=R0(i,n),a=r(o,a)):(n=R0(n,i),a=r(a,o)),function(s){return a(n(s))}}function zp(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),a=new Array(n),o=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<n;)i[o]=R0(e[o],e[o+1]),a[o]=r(t[o],t[o+1]);return function(s){var u=Cn(e,s,1,n)-1;return a[u](i[u](s))}}function wn(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function r2(){var e=ec,t=ec,r=Mr,n,i,a,o=Se,s,u,c;function l(){var h=Math.min(e.length,t.length);return o!==Se&&(o=Bp(e[0],e[h-1])),s=h>2?zp:Fp,u=c=null,f}function f(h){return h==null||isNaN(h=+h)?a:(u||(u=s(e.map(n),t,r)))(n(o(h)))}return f.invert=function(h){return o(i((c||(c=s(t,e.map(n),wi)))(h)))},f.domain=function(h){return arguments.length?(e=Array.from(h,Oi),l()):e.slice()},f.range=function(h){return arguments.length?(t=Array.from(h),l()):t.slice()},f.rangeRound=function(h){return t=Array.from(h),r=To,l()},f.clamp=function(h){return arguments.length?(o=h?!0:Se,l()):o!==Se},f.interpolate=function(h){return arguments.length?(r=h,l()):r},f.unknown=function(h){return arguments.length?(a=h,f):a},function(h,d){return n=h,i=d,l()}}function Do(){return r2()(Se,Se)}function qp(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Ei(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function Pr(e){return e=Ei(Math.abs(e)),e?e[1]:NaN}function Wp(e,t){return function(r,n){for(var i=r.length,a=[],o=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>n&&(s=Math.max(1,n-u)),a.push(r.substring(i-=s,i+s)),!((u+=s+1)>n));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function Up(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var Kp=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ln(e){if(!(t=Kp.exec(e)))throw new Error("invalid format: "+e);var t;return new No({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]})}ln.prototype=No.prototype;function No(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+""}No.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 Vp(e){e:for(var t=e.length,r=1,n=-1,i;r<t;++r)switch(e[r]){case".":n=i=r;break;case"0":n===0&&(n=r),i=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var Ad;function Hp(e,t){var r=Ei(e,t);if(!r)return e+"";var n=r[0],i=r[1],a=i-(Ad=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=n.length;return a===o?n:a>o?n+new Array(a-o+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+Ei(e,Math.max(0,t+a-1))[0]}function tc(e,t){var r=Ei(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const rc={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:qp,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)=>tc(e*100,t),r:tc,s:Hp,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function nc(e){return e}var ic=Array.prototype.map,ac=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Gp(e){var t=e.grouping===void 0||e.thousands===void 0?nc:Wp(ic.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?nc:Up(ic.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=ln(f);var h=f.fill,d=f.align,p=f.sign,m=f.symbol,v=f.zero,y=f.width,b=f.comma,g=f.precision,w=f.trim,C=f.type;C==="n"?(b=!0,C="g"):rc[C]||(g===void 0&&(g=12),w=!0,C="g"),(v||h==="0"&&d==="=")&&(v=!0,h="0",d="=");var O=m==="$"?r:m==="#"&&/[boxX]/.test(C)?"0"+C.toLowerCase():"",P=m==="$"?n:/[%p]/.test(C)?o:"",S=rc[C],M=/[defgprs%]/.test(C);g=g===void 0?6:/[gprs]/.test(C)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g));function z(k){var T=O,W=P,K,te,Y;if(C==="c")W=S(k)+W,k="";else{k=+k;var B=k<0||1/k<0;if(k=isNaN(k)?u:S(Math.abs(k),g),w&&(k=Vp(k)),B&&+k==0&&p!=="+"&&(B=!1),T=(B?p==="("?p:s:p==="-"||p==="("?"":p)+T,W=(C==="s"?ac[8+Ad/3]:"")+W+(B&&p==="("?")":""),M){for(K=-1,te=k.length;++K<te;)if(Y=k.charCodeAt(K),48>Y||Y>57){W=(Y===46?i+k.slice(K+1):k.slice(K))+W,k=k.slice(0,K);break}}}b&&!v&&(k=t(k,1/0));var q=T.length+k.length+W.length,R=q<y?new Array(y-q+1).join(h):"";switch(b&&v&&(k=t(R+k,R.length?y-W.length:1/0),R=""),d){case"<":k=T+k+W+R;break;case"=":k=T+R+k+W;break;case"^":k=R.slice(0,q=R.length>>1)+T+k+W+R.slice(q);break;default:k=R+T+k+W;break}return a(k)}return z.toString=function(){return f+""},z}function l(f,h){var d=c((f=ln(f),f.type="f",f)),p=Math.max(-8,Math.min(8,Math.floor(Pr(h)/3)))*3,m=Math.pow(10,-p),v=ac[8+p/3];return function(y){return d(m*y)+v}}return{format:c,formatPrefix:l}}var Vn,Io,_d;Yp({thousands:",",grouping:[3],currency:["$",""]});function Yp(e){return Vn=Gp(e),Io=Vn.format,_d=Vn.formatPrefix,Vn}function Zp(e){return Math.max(0,-Pr(Math.abs(e)))}function Xp(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Pr(t)/3)))*3-Pr(Math.abs(e)))}function Qp(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Pr(t)-Pr(e))+1}function Sd(e,t,r,n){var i=T0(e,t,r),a;switch(n=ln(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(a=Xp(i,o))&&(n.precision=a),_d(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=Qp(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=Zp(i))&&(n.precision=a-(n.type==="%")*2);break}}return Io(n)}function zt(e){var t=e.domain;return e.ticks=function(r){var n=t();return M0(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var i=t();return Sd(i[0],i[i.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),i=0,a=n.length-1,o=n[i],s=n[a],u,c,l=10;for(s<o&&(c=o,o=s,s=c,c=i,i=a,a=c);l-- >0;){if(c=k0(o,s,r),c===u)return n[i]=o,n[a]=s,t(n);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 jd(){var e=Do();return e.copy=function(){return wn(e,jd())},nt.apply(e,arguments),zt(e)}function Md(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,Oi),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return Md(e).unknown(t)},e=arguments.length?Array.from(e,Oi):[0,1],zt(r)}function kd(e,t){e=e.slice();var r=0,n=e.length-1,i=e[r],a=e[n],o;return a<i&&(o=r,r=n,n=o,o=i,i=a,a=o),e[r]=t.floor(i),e[n]=t.ceil(a),e}function oc(e){return Math.log(e)}function sc(e){return Math.exp(e)}function Jp(e){return-Math.log(-e)}function ev(e){return-Math.exp(-e)}function tv(e){return isFinite(e)?+("1e"+e):e<0?0:e}function rv(e){return e===10?tv:e===Math.E?Math.exp:t=>Math.pow(e,t)}function nv(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 uc(e){return(t,r)=>-e(-t,r)}function Ro(e){const t=e(oc,sc),r=t.domain;let n=10,i,a;function o(){return i=nv(n),a=rv(n),r()[0]<0?(i=uc(i),a=uc(a),e(Jp,ev)):e(oc,sc),t}return t.base=function(s){return arguments.length?(n=+s,o()):n},t.domain=function(s){return arguments.length?(r(s),o()):r()},t.ticks=s=>{const u=r();let c=u[0],l=u[u.length-1];const f=l<c;f&&([c,l]=[l,c]);let h=i(c),d=i(l),p,m;const v=s==null?10:+s;let y=[];if(!(n%1)&&d-h<v){if(h=Math.floor(h),d=Math.ceil(d),c>0){for(;h<=d;++h)for(p=1;p<n;++p)if(m=h<0?p/a(-h):p*a(h),!(m<c)){if(m>l)break;y.push(m)}}else for(;h<=d;++h)for(p=n-1;p>=1;--p)if(m=h>0?p/a(-h):p*a(h),!(m<c)){if(m>l)break;y.push(m)}y.length*2<v&&(y=M0(c,l,v))}else y=M0(h,d,Math.min(d-h,v)).map(a);return f?y.reverse():y},t.tickFormat=(s,u)=>{if(s==null&&(s=10),u==null&&(u=n===10?"s":","),typeof u!="function"&&(!(n%1)&&(u=ln(u)).precision==null&&(u.trim=!0),u=Io(u)),s===1/0)return u;const c=Math.max(1,n*s/t.ticks().length);return l=>{let f=l/a(Math.round(i(l)));return f*n<n-.5&&(f*=n),f<=c?u(l):""}},t.nice=()=>r(kd(r(),{floor:s=>a(Math.floor(i(s))),ceil:s=>a(Math.ceil(i(s)))})),t}function Td(){const e=Ro(r2()).domain([1,10]);return e.copy=()=>wn(e,Td()).base(e.base()),nt.apply(e,arguments),e}function lc(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function cc(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function $o(e){var t=1,r=e(lc(t),cc(t));return r.constant=function(n){return arguments.length?e(lc(t=+n),cc(t)):t},zt(r)}function Dd(){var e=$o(r2());return e.copy=function(){return wn(e,Dd()).constant(e.constant())},nt.apply(e,arguments)}function fc(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function iv(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function av(e){return e<0?-e*e:e*e}function Lo(e){var t=e(Se,Se),r=1;function n(){return r===1?e(Se,Se):r===.5?e(iv,av):e(fc(r),fc(1/r))}return t.exponent=function(i){return arguments.length?(r=+i,n()):r},zt(t)}function Bo(){var e=Lo(r2());return e.copy=function(){return wn(e,Bo()).exponent(e.exponent())},nt.apply(e,arguments),e}function ov(){return Bo.apply(null,arguments).exponent(.5)}function dc(e){return Math.sign(e)*e*e}function sv(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function Nd(){var e=Do(),t=[0,1],r=!1,n;function i(a){var o=sv(e(a));return isNaN(o)?n:r?Math.round(o):o}return i.invert=function(a){return e.invert(dc(a))},i.domain=function(a){return arguments.length?(e.domain(a),i):e.domain()},i.range=function(a){return arguments.length?(e.range((t=Array.from(a,Oi)).map(dc)),i):t.slice()},i.rangeRound=function(a){return i.range(a).round(!0)},i.round=function(a){return arguments.length?(r=!!a,i):r},i.clamp=function(a){return arguments.length?(e.clamp(a),i):e.clamp()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return Nd(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},nt.apply(i,arguments),zt(i)}function Id(){var e=[],t=[],r=[],n;function i(){var o=0,s=Math.max(1,t.length);for(r=new Array(s-1);++o<s;)r[o-1]=fp(e,o/s);return a}function a(o){return o==null||isNaN(o=+o)?n:t[Cn(r,o)]}return a.invertExtent=function(o){var s=t.indexOf(o);return s<0?[NaN,NaN]:[s>0?r[s-1]:e[0],s<r.length?r[s]:e[e.length-1]]},a.domain=function(o){if(!arguments.length)return e.slice();e=[];for(let s of o)s!=null&&!isNaN(s=+s)&&e.push(s);return e.sort($t),i()},a.range=function(o){return arguments.length?(t=Array.from(o),i()):t.slice()},a.unknown=function(o){return arguments.length?(n=o,a):n},a.quantiles=function(){return r.slice()},a.copy=function(){return Id().domain(e).range(t).unknown(n)},nt.apply(a,arguments)}function Rd(){var e=0,t=1,r=1,n=[.5],i=[0,1],a;function o(u){return u!=null&&u<=u?i[Cn(n,u,0,r)]:a}function s(){var u=-1;for(n=new Array(r);++u<r;)n[u]=((u+1)*t-(u-r)*e)/(r+1);return o}return o.domain=function(u){return arguments.length?([e,t]=u,e=+e,t=+t,s()):[e,t]},o.range=function(u){return arguments.length?(r=(i=Array.from(u)).length-1,s()):i.slice()},o.invertExtent=function(u){var c=i.indexOf(u);return c<0?[NaN,NaN]:c<1?[e,n[0]]:c>=r?[n[r-1],t]:[n[c-1],n[c]]},o.unknown=function(u){return arguments.length&&(a=u),o},o.thresholds=function(){return n.slice()},o.copy=function(){return Rd().domain([e,t]).range(i).unknown(a)},nt.apply(zt(o),arguments)}function $d(){var e=[.5],t=[0,1],r,n=1;function i(a){return a!=null&&a<=a?t[Cn(e,a,0,n)]:r}return i.domain=function(a){return arguments.length?(e=Array.from(a),n=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(a){return arguments.length?(t=Array.from(a),n=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(a){var o=t.indexOf(a);return[e[o-1],e[o]]},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return $d().domain(e).range(t).unknown(r)},nt.apply(i,arguments)}const Da=new Date,Na=new Date;function he(e,t,r,n){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=>he(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););}),r&&(i.count=(a,o)=>(Da.setTime(+a),Na.setTime(+o),e(Da),e(Na),Math.floor(r(Da,Na))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(n?o=>n(o)%a===0:o=>i.count(0,o)%a===0):i)),i}const Pi=he(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Pi.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?he(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):Pi);Pi.range;const gt=1e3,et=gt*60,bt=et*60,Et=bt*24,Fo=Et*7,hc=Et*30,Ia=Et*365,tr=he(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*gt)},(e,t)=>(t-e)/gt,e=>e.getUTCSeconds());tr.range;const zo=he(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*gt)},(e,t)=>{e.setTime(+e+t*et)},(e,t)=>(t-e)/et,e=>e.getMinutes());zo.range;const qo=he(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*et)},(e,t)=>(t-e)/et,e=>e.getUTCMinutes());qo.range;const Wo=he(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*gt-e.getMinutes()*et)},(e,t)=>{e.setTime(+e+t*bt)},(e,t)=>(t-e)/bt,e=>e.getHours());Wo.range;const Uo=he(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*bt)},(e,t)=>(t-e)/bt,e=>e.getUTCHours());Uo.range;const On=he(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*et)/Et,e=>e.getDate()-1);On.range;const n2=he(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Et,e=>e.getUTCDate()-1);n2.range;const Ld=he(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Et,e=>Math.floor(e/Et));Ld.range;function hr(e){return he(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*et)/Fo)}const i2=hr(0),Ai=hr(1),uv=hr(2),lv=hr(3),Ar=hr(4),cv=hr(5),fv=hr(6);i2.range;Ai.range;uv.range;lv.range;Ar.range;cv.range;fv.range;function pr(e){return he(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/Fo)}const a2=pr(0),_i=pr(1),dv=pr(2),hv=pr(3),_r=pr(4),pv=pr(5),vv=pr(6);a2.range;_i.range;dv.range;hv.range;_r.range;pv.range;vv.range;const Ko=he(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());Ko.range;const Vo=he(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());Vo.range;const Pt=he(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());Pt.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:he(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});Pt.range;const At=he(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());At.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:he(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});At.range;function Bd(e,t,r,n,i,a){const o=[[tr,1,gt],[tr,5,5*gt],[tr,15,15*gt],[tr,30,30*gt],[a,1,et],[a,5,5*et],[a,15,15*et],[a,30,30*et],[i,1,bt],[i,3,3*bt],[i,6,6*bt],[i,12,12*bt],[n,1,Et],[n,2,2*Et],[r,1,Fo],[t,1,hc],[t,3,3*hc],[e,1,Ia]];function s(c,l,f){const h=l<c;h&&([c,l]=[l,c]);const d=f&&typeof f.range=="function"?f:u(c,l,f),p=d?d.range(c,+l+1):[];return h?p.reverse():p}function u(c,l,f){const h=Math.abs(l-c)/f,d=_o(([,,v])=>v).right(o,h);if(d===o.length)return e.every(T0(c/Ia,l/Ia,f));if(d===0)return Pi.every(Math.max(T0(c,l,f),1));const[p,m]=o[h/o[d-1][2]<o[d][2]/h?d-1:d];return p.every(m)}return[s,u]}const[mv,yv]=Bd(At,Vo,a2,Ld,Uo,qo),[gv,bv]=Bd(Pt,Ko,i2,On,Wo,zo);function Ra(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 $a(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 qr(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function Cv(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,u=e.shortMonths,c=Wr(i),l=Ur(i),f=Wr(a),h=Ur(a),d=Wr(o),p=Ur(o),m=Wr(s),v=Ur(s),y=Wr(u),b=Ur(u),g={a:B,A:q,b:R,B:$,c:null,d:bc,e:bc,f:Wv,g:Jv,G:tm,H:Fv,I:zv,j:qv,L:Fd,m:Uv,M:Kv,p:se,q:L,Q:wc,s:Oc,S:Vv,u:Hv,U:Gv,V:Yv,w:Zv,W:Xv,x:null,X:null,y:Qv,Y:em,Z:rm,"%":xc},w={a:be,A:Ze,b:ne,B:me,c:null,d:Cc,e:Cc,f:om,g:mm,G:gm,H:nm,I:im,j:am,L:qd,m:sm,M:um,p:Pe,q:Vt,Q:wc,s:Oc,S:lm,u:cm,U:fm,V:dm,w:hm,W:pm,x:null,X:null,y:vm,Y:ym,Z:bm,"%":xc},C={a:z,A:k,b:T,B:W,c:K,d:yc,e:yc,f:Rv,g:mc,G:vc,H:gc,I:gc,j:Tv,L:Iv,m:kv,M:Dv,p:M,q:Mv,Q:Lv,s:Bv,S:Nv,u:Pv,U:Av,V:_v,w:Ev,W:Sv,x:te,X:Y,y:mc,Y:vc,Z:jv,"%":$v};g.x=O(r,g),g.X=O(n,g),g.c=O(t,g),w.x=O(r,w),w.X=O(n,w),w.c=O(t,w);function O(I,U){return function(V){var j=[],Te=-1,ee=0,Le=I.length,Be,Ht,Ls;for(V instanceof Date||(V=new Date(+V));++Te<Le;)I.charCodeAt(Te)===37&&(j.push(I.slice(ee,Te)),(Ht=pc[Be=I.charAt(++Te)])!=null?Be=I.charAt(++Te):Ht=Be==="e"?" ":"0",(Ls=U[Be])&&(Be=Ls(V,Ht)),j.push(Be),ee=Te+1);return j.push(I.slice(ee,Te)),j.join("")}}function P(I,U){return function(V){var j=qr(1900,void 0,1),Te=S(j,I,V+="",0),ee,Le;if(Te!=V.length)return null;if("Q"in j)return new Date(j.Q);if("s"in j)return new Date(j.s*1e3+("L"in j?j.L:0));if(U&&!("Z"in j)&&(j.Z=0),"p"in j&&(j.H=j.H%12+j.p*12),j.m===void 0&&(j.m="q"in j?j.q:0),"V"in j){if(j.V<1||j.V>53)return null;"w"in j||(j.w=1),"Z"in j?(ee=$a(qr(j.y,0,1)),Le=ee.getUTCDay(),ee=Le>4||Le===0?_i.ceil(ee):_i(ee),ee=n2.offset(ee,(j.V-1)*7),j.y=ee.getUTCFullYear(),j.m=ee.getUTCMonth(),j.d=ee.getUTCDate()+(j.w+6)%7):(ee=Ra(qr(j.y,0,1)),Le=ee.getDay(),ee=Le>4||Le===0?Ai.ceil(ee):Ai(ee),ee=On.offset(ee,(j.V-1)*7),j.y=ee.getFullYear(),j.m=ee.getMonth(),j.d=ee.getDate()+(j.w+6)%7)}else("W"in j||"U"in j)&&("w"in j||(j.w="u"in j?j.u%7:"W"in j?1:0),Le="Z"in j?$a(qr(j.y,0,1)).getUTCDay():Ra(qr(j.y,0,1)).getDay(),j.m=0,j.d="W"in j?(j.w+6)%7+j.W*7-(Le+5)%7:j.w+j.U*7-(Le+6)%7);return"Z"in j?(j.H+=j.Z/100|0,j.M+=j.Z%100,$a(j)):Ra(j)}}function S(I,U,V,j){for(var Te=0,ee=U.length,Le=V.length,Be,Ht;Te<ee;){if(j>=Le)return-1;if(Be=U.charCodeAt(Te++),Be===37){if(Be=U.charAt(Te++),Ht=C[Be in pc?U.charAt(Te++):Be],!Ht||(j=Ht(I,V,j))<0)return-1}else if(Be!=V.charCodeAt(j++))return-1}return j}function M(I,U,V){var j=c.exec(U.slice(V));return j?(I.p=l.get(j[0].toLowerCase()),V+j[0].length):-1}function z(I,U,V){var j=d.exec(U.slice(V));return j?(I.w=p.get(j[0].toLowerCase()),V+j[0].length):-1}function k(I,U,V){var j=f.exec(U.slice(V));return j?(I.w=h.get(j[0].toLowerCase()),V+j[0].length):-1}function T(I,U,V){var j=y.exec(U.slice(V));return j?(I.m=b.get(j[0].toLowerCase()),V+j[0].length):-1}function W(I,U,V){var j=m.exec(U.slice(V));return j?(I.m=v.get(j[0].toLowerCase()),V+j[0].length):-1}function K(I,U,V){return S(I,t,U,V)}function te(I,U,V){return S(I,r,U,V)}function Y(I,U,V){return S(I,n,U,V)}function B(I){return o[I.getDay()]}function q(I){return a[I.getDay()]}function R(I){return u[I.getMonth()]}function $(I){return s[I.getMonth()]}function se(I){return i[+(I.getHours()>=12)]}function L(I){return 1+~~(I.getMonth()/3)}function be(I){return o[I.getUTCDay()]}function Ze(I){return a[I.getUTCDay()]}function ne(I){return u[I.getUTCMonth()]}function me(I){return s[I.getUTCMonth()]}function Pe(I){return i[+(I.getUTCHours()>=12)]}function Vt(I){return 1+~~(I.getUTCMonth()/3)}return{format:function(I){var U=O(I+="",g);return U.toString=function(){return I},U},parse:function(I){var U=P(I+="",!1);return U.toString=function(){return I},U},utcFormat:function(I){var U=O(I+="",w);return U.toString=function(){return I},U},utcParse:function(I){var U=P(I+="",!0);return U.toString=function(){return I},U}}}var pc={"-":"",_:" ",0:"0"},ge=/^\s*\d+/,xv=/^%/,wv=/[\\^$*+?|[\]().{}]/g;function H(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",a=i.length;return n+(a<r?new Array(r-a+1).join(t)+i:i)}function Ov(e){return e.replace(wv,"\\$&")}function Wr(e){return new RegExp("^(?:"+e.map(Ov).join("|")+")","i")}function Ur(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function Ev(e,t,r){var n=ge.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function Pv(e,t,r){var n=ge.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function Av(e,t,r){var n=ge.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function _v(e,t,r){var n=ge.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function Sv(e,t,r){var n=ge.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function vc(e,t,r){var n=ge.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function mc(e,t,r){var n=ge.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function jv(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function Mv(e,t,r){var n=ge.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function kv(e,t,r){var n=ge.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function yc(e,t,r){var n=ge.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function Tv(e,t,r){var n=ge.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function gc(e,t,r){var n=ge.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function Dv(e,t,r){var n=ge.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Nv(e,t,r){var n=ge.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Iv(e,t,r){var n=ge.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function Rv(e,t,r){var n=ge.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function $v(e,t,r){var n=xv.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function Lv(e,t,r){var n=ge.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function Bv(e,t,r){var n=ge.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function bc(e,t){return H(e.getDate(),t,2)}function Fv(e,t){return H(e.getHours(),t,2)}function zv(e,t){return H(e.getHours()%12||12,t,2)}function qv(e,t){return H(1+On.count(Pt(e),e),t,3)}function Fd(e,t){return H(e.getMilliseconds(),t,3)}function Wv(e,t){return Fd(e,t)+"000"}function Uv(e,t){return H(e.getMonth()+1,t,2)}function Kv(e,t){return H(e.getMinutes(),t,2)}function Vv(e,t){return H(e.getSeconds(),t,2)}function Hv(e){var t=e.getDay();return t===0?7:t}function Gv(e,t){return H(i2.count(Pt(e)-1,e),t,2)}function zd(e){var t=e.getDay();return t>=4||t===0?Ar(e):Ar.ceil(e)}function Yv(e,t){return e=zd(e),H(Ar.count(Pt(e),e)+(Pt(e).getDay()===4),t,2)}function Zv(e){return e.getDay()}function Xv(e,t){return H(Ai.count(Pt(e)-1,e),t,2)}function Qv(e,t){return H(e.getFullYear()%100,t,2)}function Jv(e,t){return e=zd(e),H(e.getFullYear()%100,t,2)}function em(e,t){return H(e.getFullYear()%1e4,t,4)}function tm(e,t){var r=e.getDay();return e=r>=4||r===0?Ar(e):Ar.ceil(e),H(e.getFullYear()%1e4,t,4)}function rm(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+H(t/60|0,"0",2)+H(t%60,"0",2)}function Cc(e,t){return H(e.getUTCDate(),t,2)}function nm(e,t){return H(e.getUTCHours(),t,2)}function im(e,t){return H(e.getUTCHours()%12||12,t,2)}function am(e,t){return H(1+n2.count(At(e),e),t,3)}function qd(e,t){return H(e.getUTCMilliseconds(),t,3)}function om(e,t){return qd(e,t)+"000"}function sm(e,t){return H(e.getUTCMonth()+1,t,2)}function um(e,t){return H(e.getUTCMinutes(),t,2)}function lm(e,t){return H(e.getUTCSeconds(),t,2)}function cm(e){var t=e.getUTCDay();return t===0?7:t}function fm(e,t){return H(a2.count(At(e)-1,e),t,2)}function Wd(e){var t=e.getUTCDay();return t>=4||t===0?_r(e):_r.ceil(e)}function dm(e,t){return e=Wd(e),H(_r.count(At(e),e)+(At(e).getUTCDay()===4),t,2)}function hm(e){return e.getUTCDay()}function pm(e,t){return H(_i.count(At(e)-1,e),t,2)}function vm(e,t){return H(e.getUTCFullYear()%100,t,2)}function mm(e,t){return e=Wd(e),H(e.getUTCFullYear()%100,t,2)}function ym(e,t){return H(e.getUTCFullYear()%1e4,t,4)}function gm(e,t){var r=e.getUTCDay();return e=r>=4||r===0?_r(e):_r.ceil(e),H(e.getUTCFullYear()%1e4,t,4)}function bm(){return"+0000"}function xc(){return"%"}function wc(e){return+e}function Oc(e){return Math.floor(+e/1e3)}var mr,Ud,Kd;Cm({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 Cm(e){return mr=Cv(e),Ud=mr.format,mr.parse,Kd=mr.utcFormat,mr.utcParse,mr}function xm(e){return new Date(e)}function wm(e){return e instanceof Date?+e:+new Date(+e)}function Ho(e,t,r,n,i,a,o,s,u,c){var l=Do(),f=l.invert,h=l.domain,d=c(".%L"),p=c(":%S"),m=c("%I:%M"),v=c("%I %p"),y=c("%a %d"),b=c("%b %d"),g=c("%B"),w=c("%Y");function C(O){return(u(O)<O?d:s(O)<O?p:o(O)<O?m:a(O)<O?v:n(O)<O?i(O)<O?y:b:r(O)<O?g:w)(O)}return l.invert=function(O){return new Date(f(O))},l.domain=function(O){return arguments.length?h(Array.from(O,wm)):h().map(xm)},l.ticks=function(O){var P=h();return e(P[0],P[P.length-1],O??10)},l.tickFormat=function(O,P){return P==null?C:c(P)},l.nice=function(O){var P=h();return(!O||typeof O.range!="function")&&(O=t(P[0],P[P.length-1],O??10)),O?h(kd(P,O)):l},l.copy=function(){return wn(l,Ho(e,t,r,n,i,a,o,s,u,c))},l}function Om(){return nt.apply(Ho(gv,bv,Pt,Ko,i2,On,Wo,zo,tr,Ud).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Em(){return nt.apply(Ho(mv,yv,At,Vo,a2,n2,Uo,qo,tr,Kd).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function o2(){var e=0,t=1,r,n,i,a,o=Se,s=!1,u;function c(f){return f==null||isNaN(f=+f)?u:o(i===0?.5:(f=(a(f)-r)*i,s?Math.max(0,Math.min(1,f)):f))}c.domain=function(f){return arguments.length?([e,t]=f,r=a(e=+e),n=a(t=+t),i=r===n?0:1/(n-r),c):[e,t]},c.clamp=function(f){return arguments.length?(s=!!f,c):s},c.interpolator=function(f){return arguments.length?(o=f,c):o};function l(f){return function(h){var d,p;return arguments.length?([d,p]=h,o=f(d,p),c):[o(0),o(1)]}}return c.range=l(Mr),c.rangeRound=l(To),c.unknown=function(f){return arguments.length?(u=f,c):u},function(f){return a=f,r=f(e),n=f(t),i=r===n?0:1/(n-r),c}}function qt(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Vd(){var e=zt(o2()(Se));return e.copy=function(){return qt(e,Vd())},jt.apply(e,arguments)}function Hd(){var e=Ro(o2()).domain([1,10]);return e.copy=function(){return qt(e,Hd()).base(e.base())},jt.apply(e,arguments)}function Gd(){var e=$o(o2());return e.copy=function(){return qt(e,Gd()).constant(e.constant())},jt.apply(e,arguments)}function Go(){var e=Lo(o2());return e.copy=function(){return qt(e,Go()).exponent(e.exponent())},jt.apply(e,arguments)}function Pm(){return Go.apply(null,arguments).exponent(.5)}function Yd(){var e=[],t=Se;function r(n){if(n!=null&&!isNaN(n=+n))return t((Cn(e,n,1)-1)/(e.length-1))}return r.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let i of n)i!=null&&!isNaN(i=+i)&&e.push(i);return e.sort($t),r},r.interpolator=function(n){return arguments.length?(t=n,r):t},r.range=function(){return e.map((n,i)=>t(i/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(i,a)=>cp(e,a/n))},r.copy=function(){return Yd(t).domain(e)},jt.apply(r,arguments)}function s2(){var e=0,t=.5,r=1,n=1,i,a,o,s,u,c=Se,l,f=!1,h;function d(m){return isNaN(m=+m)?h:(m=.5+((m=+l(m))-a)*(n*m<n*a?s:u),c(f?Math.max(0,Math.min(1,m)):m))}d.domain=function(m){return arguments.length?([e,t,r]=m,i=l(e=+e),a=l(t=+t),o=l(r=+r),s=i===a?0:.5/(a-i),u=a===o?0:.5/(o-a),n=a<i?-1:1,d):[e,t,r]},d.clamp=function(m){return arguments.length?(f=!!m,d):f},d.interpolator=function(m){return arguments.length?(c=m,d):c};function p(m){return function(v){var y,b,g;return arguments.length?([y,b,g]=v,c=$p(m,[y,b,g]),d):[c(0),c(.5),c(1)]}}return d.range=p(Mr),d.rangeRound=p(To),d.unknown=function(m){return arguments.length?(h=m,d):h},function(m){return l=m,i=m(e),a=m(t),o=m(r),s=i===a?0:.5/(a-i),u=a===o?0:.5/(o-a),n=a<i?-1:1,d}}function Zd(){var e=zt(s2()(Se));return e.copy=function(){return qt(e,Zd())},jt.apply(e,arguments)}function Xd(){var e=Ro(s2()).domain([.1,1,10]);return e.copy=function(){return qt(e,Xd()).base(e.base())},jt.apply(e,arguments)}function Qd(){var e=$o(s2());return e.copy=function(){return qt(e,Qd()).constant(e.constant())},jt.apply(e,arguments)}function Yo(){var e=Lo(s2());return e.copy=function(){return qt(e,Yo()).exponent(e.exponent())},jt.apply(e,arguments)}function Am(){return Yo.apply(null,arguments).exponent(.5)}const Vr=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:jo,scaleDiverging:Zd,scaleDivergingLog:Xd,scaleDivergingPow:Yo,scaleDivergingSqrt:Am,scaleDivergingSymlog:Qd,scaleIdentity:Md,scaleImplicit:D0,scaleLinear:jd,scaleLog:Td,scaleOrdinal:So,scalePoint:hp,scalePow:Bo,scaleQuantile:Id,scaleQuantize:Rd,scaleRadial:Nd,scaleSequential:Vd,scaleSequentialLog:Hd,scaleSequentialPow:Go,scaleSequentialQuantile:Yd,scaleSequentialSqrt:Pm,scaleSequentialSymlog:Gd,scaleSqrt:ov,scaleSymlog:Dd,scaleThreshold:$d,scaleTime:Om,scaleUtc:Em,tickFormat:Sd},Symbol.toStringTag,{value:"Module"}));var Wt=e=>e.chartData,_m=A([Wt],e=>{var t=e.chartData!=null?e.chartData.length-1:0;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:t,dataStartIndex:0}}),u2=(e,t,r,n)=>n?_m(e):Wt(e);function Sr(e){if(Array.isArray(e)&&e.length===2){var[t,r]=e;if(Me(t)&&Me(r))return!0}return!1}function Ec(e,t,r){return r?e:[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}function Sm(e,t){if(t&&typeof e!="function"&&Array.isArray(e)&&e.length===2){var[r,n]=e,i,a;if(Me(r))i=r;else if(typeof r=="function")return;if(Me(n))a=n;else if(typeof n=="function")return;var o=[i,a];if(Sr(o))return o}}function jm(e,t,r){if(!(!r&&t==null)){if(typeof e=="function"&&t!=null)try{var n=e(t,r);if(Sr(n))return Ec(n,t,r)}catch{}if(Array.isArray(e)&&e.length===2){var[i,a]=e,o,s;if(i==="auto")t!=null&&(o=Math.min(...t));else if(N(i))o=i;else if(typeof i=="function")try{t!=null&&(o=i(t?.[0]))}catch{}else if(typeof i=="string"&&ol.test(i)){var u=ol.exec(i);if(u==null||t==null)o=void 0;else{var c=+u[1];o=t[0]-c}}else o=t?.[0];if(a==="auto")t!=null&&(s=Math.max(...t));else if(N(a))s=a;else if(typeof a=="function")try{t!=null&&(s=a(t?.[1]))}catch{}else if(typeof a=="string"&&sl.test(a)){var l=sl.exec(a);if(l==null||t==null)s=void 0;else{var f=+l[1];s=t[1]+f}}else s=t?.[1];var h=[o,s];if(Sr(h))return t==null?h:Ec(h,t,r)}}}var kr=1e9,Mm={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},Xo,ie=!0,rt="[DecimalError] ",sr=rt+"Invalid argument: ",Zo=rt+"Exponent out of range: ",Tr=Math.floor,Zt=Math.pow,km=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Ke,ye=1e7,re=7,Jd=9007199254740991,Si=Tr(Jd/re),D={};D.absoluteValue=D.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};D.comparedTo=D.cmp=function(e){var t,r,n,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(n=a.d.length,i=e.d.length,t=0,r=n<i?n:i;t<r;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return n===i?0:n>i^a.s<0?1:-1};D.decimalPlaces=D.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*re;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};D.dividedBy=D.div=function(e){return xt(this,new this.constructor(e))};D.dividedToIntegerBy=D.idiv=function(e){var t=this,r=t.constructor;return J(xt(t,new r(e),0,1),r.precision)};D.equals=D.eq=function(e){return!this.cmp(e)};D.exponent=function(){return ce(this)};D.greaterThan=D.gt=function(e){return this.cmp(e)>0};D.greaterThanOrEqualTo=D.gte=function(e){return this.cmp(e)>=0};D.isInteger=D.isint=function(){return this.e>this.d.length-2};D.isNegative=D.isneg=function(){return this.s<0};D.isPositive=D.ispos=function(){return this.s>0};D.isZero=function(){return this.s===0};D.lessThan=D.lt=function(e){return this.cmp(e)<0};D.lessThanOrEqualTo=D.lte=function(e){return this.cmp(e)<1};D.logarithm=D.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(Ke))throw Error(rt+"NaN");if(r.s<1)throw Error(rt+(r.s?"NaN":"-Infinity"));return r.eq(Ke)?new n(0):(ie=!1,t=xt(cn(r,a),cn(e,a),a),ie=!0,J(t,i))};D.minus=D.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?r3(t,e):e3(t,(e.s=-e.s,e))};D.modulo=D.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(e=new n(e),!e.s)throw Error(rt+"NaN");return r.s?(ie=!1,t=xt(r,e,0,1).times(e),ie=!0,r.minus(t)):J(new n(r),i)};D.naturalExponential=D.exp=function(){return t3(this)};D.naturalLogarithm=D.ln=function(){return cn(this)};D.negated=D.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};D.plus=D.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?e3(t,e):r3(t,(e.s=-e.s,e))};D.precision=D.sd=function(e){var t,r,n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(sr+e);if(t=ce(i)+1,n=i.d.length-1,r=n*re+1,n=i.d[n],n){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};D.squareRoot=D.sqrt=function(){var e,t,r,n,i,a,o,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(rt+"NaN")}for(e=ce(s),ie=!1,i=Math.sqrt(+s),i==0||i==1/0?(t=lt(s.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=Tr((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new u(t)):n=new u(i.toString()),r=u.precision,i=o=r+3;;)if(a=n,n=a.plus(xt(s,a,o+2)).times(.5),lt(a.d).slice(0,o)===(t=lt(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),i==o&&t=="4999"){if(J(a,r+1,0),a.times(a).eq(s)){n=a;break}}else if(t!="9999")break;o+=4}return ie=!0,J(n,r)};D.times=D.mul=function(e){var t,r,n,i,a,o,s,u,c,l=this,f=l.constructor,h=l.d,d=(e=new f(e)).d;if(!l.s||!e.s)return new f(0);for(e.s*=l.s,r=l.e+e.e,u=h.length,c=d.length,u<c&&(a=h,h=d,d=a,o=u,u=c,c=o),a=[],o=u+c,n=o;n--;)a.push(0);for(n=c;--n>=0;){for(t=0,i=u+n;i>n;)s=a[i]+d[n]*h[i-n-1]+t,a[i--]=s%ye|0,t=s/ye|0;a[i]=(a[i]+t)%ye|0}for(;!a[--o];)a.pop();return t?++r:a.shift(),e.d=a,e.e=r,ie?J(e,f.precision):e};D.toDecimalPlaces=D.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(dt(e,0,kr),t===void 0?t=n.rounding:dt(t,0,8),J(r,e+ce(r)+1,t))};D.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=fr(n,!0):(dt(e,0,kr),t===void 0?t=i.rounding:dt(t,0,8),n=J(new i(n),e+1,t),r=fr(n,!0,e+1)),r};D.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?fr(i):(dt(e,0,kr),t===void 0?t=a.rounding:dt(t,0,8),n=J(new a(i),e+ce(i)+1,t),r=fr(n.abs(),!1,e+ce(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)};D.toInteger=D.toint=function(){var e=this,t=e.constructor;return J(new t(e),ce(e)+1,t.rounding)};D.toNumber=function(){return+this};D.toPower=D.pow=function(e){var t,r,n,i,a,o,s=this,u=s.constructor,c=12,l=+(e=new u(e));if(!e.s)return new u(Ke);if(s=new u(s),!s.s){if(e.s<1)throw Error(rt+"Infinity");return s}if(s.eq(Ke))return s;if(n=u.precision,e.eq(Ke))return J(s,n);if(t=e.e,r=e.d.length-1,o=t>=r,a=s.s,o){if((r=l<0?-l:l)<=Jd){for(i=new u(Ke),t=Math.ceil(n/re+4),ie=!1;r%2&&(i=i.times(s),Ac(i.d,t)),r=Tr(r/2),r!==0;)s=s.times(s),Ac(s.d,t);return ie=!0,e.s<0?new u(Ke).div(i):J(i,n)}}else if(a<0)throw Error(rt+"NaN");return a=a<0&&e.d[Math.max(t,r)]&1?-1:1,s.s=1,ie=!1,i=e.times(cn(s,n+c)),ie=!0,i=t3(i),i.s=a,i};D.toPrecision=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?(r=ce(i),n=fr(i,r<=a.toExpNeg||r>=a.toExpPos)):(dt(e,1,kr),t===void 0?t=a.rounding:dt(t,0,8),i=J(new a(i),e,t),r=ce(i),n=fr(i,e<=r||r<=a.toExpNeg,e)),n};D.toSignificantDigits=D.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(dt(e,1,kr),t===void 0?t=n.rounding:dt(t,0,8)),J(new n(r),e,t)};D.toString=D.valueOf=D.val=D.toJSON=D[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=ce(e),r=e.constructor;return fr(e,t<=r.toExpNeg||t>=r.toExpPos)};function e3(e,t){var r,n,i,a,o,s,u,c,l=e.constructor,f=l.precision;if(!e.s||!t.s)return t.s||(t=new l(e)),ie?J(t,f):t;if(u=e.d,c=t.d,o=e.e,i=t.e,u=u.slice(),a=o-i,a){for(a<0?(n=u,a=-a,s=c.length):(n=c,i=o,s=u.length),o=Math.ceil(f/re),s=o>s?o+1:s+1,a>s&&(a=s,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for(s=u.length,a=c.length,s-a<0&&(a=s,n=c,c=u,u=n),r=0;a;)r=(u[--a]=u[a]+c[a]+r)/ye|0,u[a]%=ye;for(r&&(u.unshift(r),++i),s=u.length;u[--s]==0;)u.pop();return t.d=u,t.e=i,ie?J(t,f):t}function dt(e,t,r){if(e!==~~e||e<t||e>r)throw Error(sr+e)}function lt(e){var t,r,n,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)n=e[t]+"",r=re-n.length,r&&(a+=It(r)),a+=n;o=e[t],n=o+"",r=re-n.length,r&&(a+=It(r))}else if(o===0)return"0";for(;o%10===0;)o/=10;return a+o}var xt=(function(){function e(n,i){var a,o=0,s=n.length;for(n=n.slice();s--;)a=n[s]*i+o,n[s]=a%ye|0,o=a/ye|0;return o&&n.unshift(o),n}function t(n,i,a,o){var s,u;if(a!=o)u=a>o?1:-1;else for(s=u=0;s<a;s++)if(n[s]!=i[s]){u=n[s]>i[s]?1:-1;break}return u}function r(n,i,a){for(var o=0;a--;)n[a]-=o,o=n[a]<i[a]?1:0,n[a]=o*ye+n[a]-i[a];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,a,o){var s,u,c,l,f,h,d,p,m,v,y,b,g,w,C,O,P,S,M=n.constructor,z=n.s==i.s?1:-1,k=n.d,T=i.d;if(!n.s)return new M(n);if(!i.s)throw Error(rt+"Division by zero");for(u=n.e-i.e,P=T.length,C=k.length,d=new M(z),p=d.d=[],c=0;T[c]==(k[c]||0);)++c;if(T[c]>(k[c]||0)&&--u,a==null?b=a=M.precision:o?b=a+(ce(n)-ce(i))+1:b=a,b<0)return new M(0);if(b=b/re+2|0,c=0,P==1)for(l=0,T=T[0],b++;(c<C||l)&&b--;c++)g=l*ye+(k[c]||0),p[c]=g/T|0,l=g%T|0;else{for(l=ye/(T[0]+1)|0,l>1&&(T=e(T,l),k=e(k,l),P=T.length,C=k.length),w=P,m=k.slice(0,P),v=m.length;v<P;)m[v++]=0;S=T.slice(),S.unshift(0),O=T[0],T[1]>=ye/2&&++O;do l=0,s=t(T,m,P,v),s<0?(y=m[0],P!=v&&(y=y*ye+(m[1]||0)),l=y/O|0,l>1?(l>=ye&&(l=ye-1),f=e(T,l),h=f.length,v=m.length,s=t(f,m,h,v),s==1&&(l--,r(f,P<h?S:T,h))):(l==0&&(s=l=1),f=T.slice()),h=f.length,h<v&&f.unshift(0),r(m,f,v),s==-1&&(v=m.length,s=t(T,m,P,v),s<1&&(l++,r(m,P<v?S:T,v))),v=m.length):s===0&&(l++,m=[0]),p[c++]=l,s&&m[0]?m[v++]=k[w]||0:(m=[k[w]],v=1);while((w++<C||m[0]!==void 0)&&b--)}return p[0]||p.shift(),d.e=u,J(d,o?a+ce(d)+1:a)}})();function t3(e,t){var r,n,i,a,o,s,u=0,c=0,l=e.constructor,f=l.precision;if(ce(e)>16)throw Error(Zo+ce(e));if(!e.s)return new l(Ke);for(ie=!1,s=f,o=new l(.03125);e.abs().gte(.1);)e=e.times(o),c+=5;for(n=Math.log(Zt(2,c))/Math.LN10*2+5|0,s+=n,r=i=a=new l(Ke),l.precision=s;;){if(i=J(i.times(e),s),r=r.times(++u),o=a.plus(xt(i,r,s)),lt(o.d).slice(0,s)===lt(a.d).slice(0,s)){for(;c--;)a=J(a.times(a),s);return l.precision=f,t==null?(ie=!0,J(a,f)):a}a=o}}function ce(e){for(var t=e.e*re,r=e.d[0];r>=10;r/=10)t++;return t}function La(e,t,r){if(t>e.LN10.sd())throw ie=!0,r&&(e.precision=r),Error(rt+"LN10 precision limit exceeded");return J(new e(e.LN10),t)}function It(e){for(var t="";e--;)t+="0";return t}function cn(e,t){var r,n,i,a,o,s,u,c,l,f=1,h=10,d=e,p=d.d,m=d.constructor,v=m.precision;if(d.s<1)throw Error(rt+(d.s?"NaN":"-Infinity"));if(d.eq(Ke))return new m(0);if(t==null?(ie=!1,c=v):c=t,d.eq(10))return t==null&&(ie=!0),La(m,c);if(c+=h,m.precision=c,r=lt(p),n=r.charAt(0),a=ce(d),Math.abs(a)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)d=d.times(e),r=lt(d.d),n=r.charAt(0),f++;a=ce(d),n>1?(d=new m("0."+r),a++):d=new m(n+"."+r.slice(1))}else return u=La(m,c+2,v).times(a+""),d=cn(new m(n+"."+r.slice(1)),c-h).plus(u),m.precision=v,t==null?(ie=!0,J(d,v)):d;for(s=o=d=xt(d.minus(Ke),d.plus(Ke),c),l=J(d.times(d),c),i=3;;){if(o=J(o.times(l),c),u=s.plus(xt(o,new m(i),c)),lt(u.d).slice(0,c)===lt(s.d).slice(0,c))return s=s.times(2),a!==0&&(s=s.plus(La(m,c+2,v).times(a+""))),s=xt(s,new m(f),c),m.precision=v,t==null?(ie=!0,J(s,v)):s;s=u,i+=2}}function Pc(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(n,i),t){if(i-=n,r=r-n-1,e.e=Tr(r/re),e.d=[],n=(r+1)%re,r<0&&(n+=re),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=re;n<i;)e.d.push(+t.slice(n,n+=re));t=t.slice(n),n=re-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),ie&&(e.e>Si||e.e<-Si))throw Error(Zo+r)}else e.s=0,e.e=0,e.d=[0];return e}function J(e,t,r){var n,i,a,o,s,u,c,l,f=e.d;for(o=1,a=f[0];a>=10;a/=10)o++;if(n=t-o,n<0)n+=re,i=t,c=f[l=0];else{if(l=Math.ceil((n+1)/re),a=f.length,l>=a)return e;for(c=a=f[l],o=1;a>=10;a/=10)o++;n%=re,i=n-re+o}if(r!==void 0&&(a=Zt(10,o-i-1),s=c/a%10|0,u=t<0||f[l+1]!==void 0||c%a,u=r<4?(s||u)&&(r==0||r==(e.s<0?3:2)):s>5||s==5&&(r==4||u||r==6&&(n>0?i>0?c/Zt(10,o-i):0:f[l-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return u?(a=ce(e),f.length=1,t=t-a-1,f[0]=Zt(10,(re-t%re)%re),e.e=Tr(-t/re)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(n==0?(f.length=l,a=1,l--):(f.length=l+1,a=Zt(10,re-n),f[l]=i>0?(c/Zt(10,o-i)%Zt(10,i)|0)*a:0),u)for(;;)if(l==0){(f[0]+=a)==ye&&(f[0]=1,++e.e);break}else{if(f[l]+=a,f[l]!=ye)break;f[l--]=0,a=1}for(n=f.length;f[--n]===0;)f.pop();if(ie&&(e.e>Si||e.e<-Si))throw Error(Zo+ce(e));return e}function r3(e,t){var r,n,i,a,o,s,u,c,l,f,h=e.constructor,d=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),ie?J(t,d):t;if(u=e.d,f=t.d,n=t.e,c=e.e,u=u.slice(),o=c-n,o){for(l=o<0,l?(r=u,o=-o,s=f.length):(r=f,n=c,s=u.length),i=Math.max(Math.ceil(d/re),s)+2,o>i&&(o=i,r.length=1),r.reverse(),i=o;i--;)r.push(0);r.reverse()}else{for(i=u.length,s=f.length,l=i<s,l&&(s=i),i=0;i<s;i++)if(u[i]!=f[i]){l=u[i]<f[i];break}o=0}for(l&&(r=u,u=f,f=r,t.s=-t.s),s=u.length,i=f.length-s;i>0;--i)u[s++]=0;for(i=f.length;i>o;){if(u[--i]<f[i]){for(a=i;a&&u[--a]===0;)u[a]=ye-1;--u[a],u[i]+=ye}u[i]-=f[i]}for(;u[--s]===0;)u.pop();for(;u[0]===0;u.shift())--n;return u[0]?(t.d=u,t.e=n,ie?J(t,d):t):new h(0)}function fr(e,t,r){var n,i=ce(e),a=lt(e.d),o=a.length;return t?(r&&(n=r-o)>0?a=a.charAt(0)+"."+a.slice(1)+It(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+It(-i-1)+a,r&&(n=r-o)>0&&(a+=It(n))):i>=o?(a+=It(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+It(n))):((n=i+1)<o&&(a=a.slice(0,n)+"."+a.slice(n)),r&&(n=r-o)>0&&(i+1===o&&(a+="."),a+=It(n))),e.s<0?"-"+a:a}function Ac(e,t){if(e.length>t)return e.length=t,!0}function n3(e){var t,r,n;function i(a){var o=this;if(!(o instanceof i))return new i(a);if(o.constructor=i,a instanceof i){o.s=a.s,o.e=a.e,o.d=(a=a.d)?a.slice():a;return}if(typeof a=="number"){if(a*0!==0)throw Error(sr+a);if(a>0)o.s=1;else if(a<0)a=-a,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(a===~~a&&a<1e7){o.e=0,o.d=[a];return}return Pc(o,a.toString())}else if(typeof a!="string")throw Error(sr+a);if(a.charCodeAt(0)===45?(a=a.slice(1),o.s=-1):o.s=1,km.test(a))Pc(o,a);else throw Error(sr+a)}if(i.prototype=D,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=n3,i.config=i.set=Tm,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return i.config(e),i}function Tm(e){if(!e||typeof e!="object")throw Error(rt+"Object expected");var t,r,n,i=["precision",1,kr,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if((n=e[r=i[t]])!==void 0)if(Tr(n)===n&&n>=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(sr+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(sr+r+": "+n);return this}var Xo=n3(Mm);Ke=new Xo(1);const Z=Xo;var Dm=e=>e,i3={},a3=e=>e===i3,_c=e=>function t(){return arguments.length===0||arguments.length===1&&a3(arguments.length<=0?void 0:arguments[0])?t:e(...arguments)},o3=(e,t)=>e===1?t:_c(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var a=n.filter(o=>o!==i3).length;return a>=e?t(...n):o3(e-a,_c(function(){for(var o=arguments.length,s=new Array(o),u=0;u<o;u++)s[u]=arguments[u];var c=n.map(l=>a3(l)?s.shift():l);return t(...c,...s)}))}),l2=e=>o3(e.length,e),$0=(e,t)=>{for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},Nm=l2((e,t)=>Array.isArray(t)?t.map(e):Object.keys(t).map(r=>t[r]).map(e)),Im=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!r.length)return Dm;var i=r.reverse(),a=i[0],o=i.slice(1);return function(){return o.reduce((s,u)=>u(s),a(...arguments))}},L0=e=>Array.isArray(e)?e.reverse():e.split("").reverse().join(""),s3=e=>{var t=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t&&i.every((o,s)=>{var u;return o===((u=t)===null||u===void 0?void 0:u[s])})||(t=i,r=e(...i)),r}};function u3(e){var t;return e===0?t=1:t=Math.floor(new Z(e).abs().log(10).toNumber())+1,t}function l3(e,t,r){for(var n=new Z(e),i=0,a=[];n.lt(t)&&i<1e5;)a.push(n.toNumber()),n=n.add(r),i++;return a}l2((e,t,r)=>{var n=+e,i=+t;return n+r*(i-n)});l2((e,t,r)=>{var n=t-+e;return n=n||1/0,(r-e)/n});l2((e,t,r)=>{var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))});var c3=e=>{var[t,r]=e,[n,i]=[t,r];return t>r&&([n,i]=[r,t]),[n,i]},f3=(e,t,r)=>{if(e.lte(0))return new Z(0);var n=u3(e.toNumber()),i=new Z(10).pow(n),a=e.div(i),o=n!==1?.05:.1,s=new Z(Math.ceil(a.div(o).toNumber())).add(r).mul(o),u=s.mul(i);return t?new Z(u.toNumber()):new Z(Math.ceil(u.toNumber()))},Rm=(e,t,r)=>{var n=new Z(1),i=new Z(e);if(!i.isint()&&r){var a=Math.abs(e);a<1?(n=new Z(10).pow(u3(e)-1),i=new Z(Math.floor(i.div(n).toNumber())).mul(n)):a>1&&(i=new Z(Math.floor(e)))}else e===0?i=new Z(Math.floor((t-1)/2)):r||(i=new Z(Math.floor(e)));var o=Math.floor((t-1)/2),s=Im(Nm(u=>i.add(new Z(u-o).mul(n)).toNumber()),$0);return s(0,t)},d3=function(t,r,n,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((r-t)/(n-1)))return{step:new Z(0),tickMin:new Z(0),tickMax:new Z(0)};var o=f3(new Z(r).sub(t).div(n-1),i,a),s;t<=0&&r>=0?s=new Z(0):(s=new Z(t).add(r).div(2),s=s.sub(new Z(s).mod(o)));var u=Math.ceil(s.sub(t).div(o).toNumber()),c=Math.ceil(new Z(r).sub(s).div(o).toNumber()),l=u+c+1;return l>n?d3(t,r,n,i,a+1):(l<n&&(c=r>0?c+(n-l):c,u=r>0?u:u+(n-l)),{step:o,tickMin:s.sub(new Z(u).mul(o)),tickMax:s.add(new Z(c).mul(o))})};function $m(e){var[t,r]=e,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=Math.max(n,2),[o,s]=c3([t,r]);if(o===-1/0||s===1/0){var u=s===1/0?[o,...$0(0,n-1).map(()=>1/0)]:[...$0(0,n-1).map(()=>-1/0),s];return t>r?L0(u):u}if(o===s)return Rm(o,n,i);var{step:c,tickMin:l,tickMax:f}=d3(o,s,a,i,0),h=l3(l,f.add(new Z(.1).mul(c)),c);return t>r?L0(h):h}function Lm(e,t){var[r,n]=e,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,[a,o]=c3([r,n]);if(a===-1/0||o===1/0)return[r,n];if(a===o)return[a];var s=Math.max(t,2),u=f3(new Z(o).sub(a).div(s-1),i,0),c=[...l3(new Z(a),new Z(o),u),o];return i===!1&&(c=c.map(l=>Math.round(l))),r>n?L0(c):c}var Bm=s3($m),Fm=s3(Lm),zm=e=>e.rootProps.barCategoryGap,c2=e=>e.rootProps.stackOffset,Qo=e=>e.options.chartName,Jo=e=>e.rootProps.syncId,h3=e=>e.rootProps.syncMethod,es=e=>e.options.eventEmitter,mt={allowDuplicatedCategory:!0,angleAxisId:0,reversed:!1,scale:"auto",tick:!0,type:"category"},qe={allowDataOverflow:!1,allowDuplicatedCategory:!0,radiusAxisId:0,scale:"auto",tick:!0,tickCount:5,type:"number"},f2=(e,t)=>{if(!(!e||!t))return e!=null&&e.reversed?[t[1],t[0]]:t},qm={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:mt.angleAxisId,includeHidden:!1,name:void 0,reversed:mt.reversed,scale:mt.scale,tick:mt.tick,tickCount:void 0,ticks:void 0,type:mt.type,unit:void 0},Wm={allowDataOverflow:qe.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:qe.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:qe.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:qe.scale,tick:qe.tick,tickCount:qe.tickCount,ticks:void 0,type:qe.type,unit:void 0},Um={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:mt.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:mt.angleAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:mt.scale,tick:mt.tick,tickCount:void 0,ticks:void 0,type:"number",unit:void 0},Km={allowDataOverflow:qe.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:qe.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:qe.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:qe.scale,tick:qe.tick,tickCount:qe.tickCount,ticks:void 0,type:"category",unit:void 0},ts=(e,t)=>e.polarAxis.angleAxis[t]!=null?e.polarAxis.angleAxis[t]:e.layout.layoutType==="radial"?Um:qm,rs=(e,t)=>e.polarAxis.radiusAxis[t]!=null?e.polarAxis.radiusAxis[t]:e.layout.layoutType==="radial"?Km:Wm,d2=e=>e.polarOptions,ns=A([_t,St,Ee],B7),p3=A([d2,ns],(e,t)=>{if(e!=null)return Bt(e.innerRadius,t,0)}),v3=A([d2,ns],(e,t)=>{if(e!=null)return Bt(e.outerRadius,t,t*.8)}),Vm=e=>{if(e==null)return[0,0];var{startAngle:t,endAngle:r}=e;return[t,r]},m3=A([d2],Vm);A([ts,m3],f2);var y3=A([ns,p3,v3],(e,t,r)=>{if(!(e==null||t==null||r==null))return[t,r]});A([rs,y3],f2);var g3=A([X,d2,p3,v3,_t,St],(e,t,r,n,i,a)=>{if(!(e!=="centric"&&e!=="radial"||t==null||r==null||n==null)){var{cx:o,cy:s,startAngle:u,endAngle:c}=t;return{cx:Bt(o,i,i/2),cy:Bt(s,a,a/2),innerRadius:r,outerRadius:n,startAngle:u,endAngle:c,clockWise:!1}}}),fe=(e,t)=>t,h2=(e,t,r)=>r;function is(e){return e?.id}var pe=e=>{var t=X(e);return t==="horizontal"?"xAxis":t==="vertical"?"yAxis":t==="centric"?"angleAxis":"radiusAxis"},Dr=e=>e.tooltip.settings.axisId,ve=e=>{var t=pe(e),r=Dr(e);return En(e,t,r)};function b3(e,t,r){var{chartData:n=[]}=t,i=r?.dataKey,a=new Map;return e.forEach(o=>{var s,u=(s=o.data)!==null&&s!==void 0?s:n;if(!(u==null||u.length===0)){var c=is(o);u.forEach((l,f)=>{var h=i==null?f:String(Oe(l,i,null)),d=Oe(l,o.dataKey,0),p;a.has(h)?p=a.get(h):p={},Object.assign(p,{[c]:d}),a.set(h,p)})}}),Array.from(a.values())}function as(e){return e.stackId!=null&&e.dataKey!=null}function Sc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ji(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sc(Object(r),!0).forEach(function(n){Hm(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Hm(e,t,r){return(t=Gm(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gm(e){var t=Ym(e,"string");return typeof t=="symbol"?t:t+""}function Ym(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var B0=[0,"auto"],Fe={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:void 0,height:30,hide:!0,id:0,includeHidden:!1,interval:"preserveEnd",minTickGap:5,mirror:!1,name:void 0,orientation:"bottom",padding:{left:0,right:0},reversed:!1,scale:"auto",tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:"category",unit:void 0},Mt=(e,t)=>{var r=e.cartesianAxis.xAxis[t];return r??Fe},ze={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:B0,hide:!0,id:0,includeHidden:!1,interval:"preserveEnd",minTickGap:5,mirror:!1,name:void 0,orientation:"left",padding:{top:0,bottom:0},reversed:!1,scale:"auto",tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:"number",unit:void 0,width:Yi},Ut=(e,t)=>{var r=e.cartesianAxis.yAxis[t];return r??ze},Zm={domain:[0,"auto"],includeHidden:!1,reversed:!1,allowDataOverflow:!1,allowDuplicatedCategory:!1,dataKey:void 0,id:0,name:"",range:[64,64],scale:"auto",type:"number",unit:""},os=(e,t)=>{var r=e.cartesianAxis.zAxis[t];return r??Zm},$e=(e,t,r)=>{switch(t){case"xAxis":return Mt(e,r);case"yAxis":return Ut(e,r);case"zAxis":return os(e,r);case"angleAxis":return ts(e,r);case"radiusAxis":return rs(e,r);default:throw new Error("Unexpected axis type: ".concat(t))}},Xm=(e,t,r)=>{switch(t){case"xAxis":return Mt(e,r);case"yAxis":return Ut(e,r);default:throw new Error("Unexpected axis type: ".concat(t))}},En=(e,t,r)=>{switch(t){case"xAxis":return Mt(e,r);case"yAxis":return Ut(e,r);case"angleAxis":return ts(e,r);case"radiusAxis":return rs(e,r);default:throw new Error("Unexpected axis type: ".concat(t))}},C3=e=>e.graphicalItems.cartesianItems.some(t=>t.type==="bar")||e.graphicalItems.polarItems.some(t=>t.type==="radialBar");function x3(e,t){return r=>{switch(e){case"xAxis":return"xAxisId"in r&&r.xAxisId===t;case"yAxis":return"yAxisId"in r&&r.yAxisId===t;case"zAxis":return"zAxisId"in r&&r.zAxisId===t;case"angleAxis":return"angleAxisId"in r&&r.angleAxisId===t;case"radiusAxis":return"radiusAxisId"in r&&r.radiusAxisId===t;default:return!1}}}var ss=e=>e.graphicalItems.cartesianItems,Qm=A([fe,h2],x3),w3=(e,t,r)=>e.filter(r).filter(n=>t?.includeHidden===!0?!0:!n.hide),Pn=A([ss,$e,Qm],w3),O3=A([Pn],e=>e.filter(t=>t.type==="area"||t.type==="bar").filter(as)),E3=e=>e.filter(t=>!("stackId"in t)||t.stackId===void 0),P3=A([Pn],E3),A3=e=>e.map(t=>t.data).filter(Boolean).flat(1),Jm=A([Pn],A3),_3=(e,t)=>{var{chartData:r=[],dataStartIndex:n,dataEndIndex:i}=t;return e.length>0?e:r.slice(n,i+1)},us=A([Jm,u2],_3),S3=(e,t,r)=>t?.dataKey!=null?e.map(n=>({value:Oe(n,t.dataKey)})):r.length>0?r.map(n=>n.dataKey).flatMap(n=>e.map(i=>({value:Oe(i,n)}))):e.map(n=>({value:n})),p2=A([us,$e,Pn],S3);function j3(e,t){switch(e){case"xAxis":return t.direction==="x";case"yAxis":return t.direction==="y";default:return!1}}function vr(e){return e.filter(t=>ft(t)||t instanceof Date).map(Number).filter(t=>He(t)===!1)}function ey(e,t,r){return!r||typeof t!="number"||He(t)?[]:r.length?vr(r.flatMap(n=>{var i=Oe(e,n.dataKey),a,o;if(Array.isArray(i)?[a,o]=i:a=o=i,!(!Me(a)||!Me(o)))return[t-a,t+o]})):[]}var ty=A([O3,u2,ve],b3),M3=(e,t,r)=>{var n={},i=t.reduce((a,o)=>(o.stackId==null||(a[o.stackId]==null&&(a[o.stackId]=[]),a[o.stackId].push(o)),a),n);return Object.fromEntries(Object.entries(i).map(a=>{var[o,s]=a,u=s.map(is);return[o,{stackedData:e4(e,u,r),graphicalItems:s}]}))},F0=A([ty,O3,c2],M3),k3=(e,t,r)=>{var{dataStartIndex:n,dataEndIndex:i}=t;if(r!=="zAxis"){var a=i4(e,n,i);if(!(a!=null&&a[0]===0&&a[1]===0))return a}},ry=A([F0,Wt,fe],k3),T3=(e,t,r,n,i)=>r.length>0?e.flatMap(a=>r.flatMap(o=>{var s,u,c=(s=n[o.id])===null||s===void 0?void 0:s.filter(f=>j3(i,f)),l=Oe(a,(u=t.dataKey)!==null&&u!==void 0?u:o.dataKey);return{value:l,errorDomain:ey(a,l,c)}})).filter(Boolean):t?.dataKey!=null?e.map(a=>({value:Oe(a,t.dataKey),errorDomain:[]})):e.map(a=>({value:a,errorDomain:[]})),v2=e=>e.errorBars,D3=(e,t,r)=>e.flatMap(n=>t[n.id]).filter(Boolean).filter(n=>j3(r,n));A([P3,v2,fe],D3);var ny=A([us,$e,P3,v2,fe],T3);function iy(e){var{value:t}=e;if(ft(t)||t instanceof Date)return t}var jc=e=>{var t=e.flatMap(n=>[n.value,n.errorDomain]).flat(1),r=vr(t);if(r.length!==0)return[Math.min(...r),Math.max(...r)]},ay=(e,t,r)=>{var n=e.map(iy).filter(i=>i!=null);return r&&(t.dataKey==null||t.allowDuplicatedCategory&&B1(n))?gd(0,e.length):t.allowDuplicatedCategory?n:Array.from(new Set(n))},ls=e=>{var t;if(e==null||!("domain"in e))return B0;if(e.domain!=null)return e.domain;if(e.ticks!=null){if(e.type==="number"){var r=vr(e.ticks);return[Math.min(...r),Math.max(...r)]}if(e.type==="category")return e.ticks.map(String)}return(t=e?.domain)!==null&&t!==void 0?t:B0},Mi=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r.filter(Boolean);if(i.length!==0){var a=i.flat(),o=Math.min(...a),s=Math.max(...a);return[o,s]}},N3=e=>e.referenceElements.dots,Nr=(e,t,r)=>e.filter(n=>n.ifOverflow==="extendDomain").filter(n=>t==="xAxis"?n.xAxisId===r:n.yAxisId===r),oy=A([N3,fe,h2],Nr),I3=e=>e.referenceElements.areas,sy=A([I3,fe,h2],Nr),R3=e=>e.referenceElements.lines,uy=A([R3,fe,h2],Nr),$3=(e,t)=>{var r=vr(e.map(n=>t==="xAxis"?n.x:n.y));if(r.length!==0)return[Math.min(...r),Math.max(...r)]},ly=A(oy,fe,$3),L3=(e,t)=>{var r=vr(e.flatMap(n=>[t==="xAxis"?n.x1:n.y1,t==="xAxis"?n.x2:n.y2]));if(r.length!==0)return[Math.min(...r),Math.max(...r)]},cy=A([sy,fe],L3),B3=(e,t)=>{var r=vr(e.map(n=>t==="xAxis"?n.x:n.y));if(r.length!==0)return[Math.min(...r),Math.max(...r)]},fy=A(uy,fe,B3),dy=A(ly,fy,cy,(e,t,r)=>Mi(e,r,t)),hy=A([$e],ls),F3=(e,t,r,n,i,a,o)=>{var s=Sm(t,e.allowDataOverflow);if(s!=null)return s;var u=a==="vertical"&&o==="xAxis"||a==="horizontal"&&o==="yAxis",c=u?Mi(r,i,jc(n)):Mi(i,jc(n));return jm(t,c,e.allowDataOverflow)},py=A([$e,hy,ry,ny,dy,X,fe],F3),vy=[0,1],z3=(e,t,r,n,i,a,o)=>{if(!((e==null||r==null||r.length===0)&&o===void 0)){var{dataKey:s,type:u}=e,c=ht(t,a);return c&&s==null?gd(0,r.length):u==="category"?ay(n,e,c):i==="expand"?vy:o}},cs=A([$e,X,us,p2,c2,fe,py],z3),q3=(e,t,r,n,i)=>{if(e!=null){var{scale:a,type:o}=e;if(a==="auto")return t==="radial"&&i==="radiusAxis"?"band":t==="radial"&&i==="angleAxis"?"linear":o==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?"point":o==="category"?"band":"linear";if(typeof a=="string"){var s="scale".concat(no(a));return s in Vr?s:"point"}}},An=A([$e,X,C3,Qo,fe],q3);function my(e){if(e!=null){if(e in Vr)return Vr[e]();var t="scale".concat(no(e));if(t in Vr)return Vr[t]()}}function fs(e,t,r,n){if(!(r==null||n==null)){if(typeof e.scale=="function")return e.scale.copy().domain(r).range(n);var i=my(t);if(i!=null){var a=i.domain(r).range(n);return Z7(a),a}}}var W3=(e,t,r)=>{var n=ls(t);if(!(r!=="auto"&&r!=="linear")){if(t!=null&&t.tickCount&&Array.isArray(n)&&(n[0]==="auto"||n[1]==="auto")&&Sr(e))return Bm(e,t.tickCount,t.allowDecimals);if(t!=null&&t.tickCount&&t.type==="number"&&Sr(e))return Fm(e,t.tickCount,t.allowDecimals)}},ds=A([cs,En,An],W3),U3=(e,t,r,n)=>{if(n!=="angleAxis"&&e?.type==="number"&&Sr(t)&&Array.isArray(r)&&r.length>0){var i=t[0],a=r[0],o=t[1],s=r[r.length-1];return[Math.min(i,a),Math.max(o,s)]}return t},yy=A([$e,cs,ds,fe],U3),gy=A(p2,$e,(e,t)=>{if(!(!t||t.type!=="number")){var r=1/0,n=Array.from(vr(e.map(s=>s.value))).sort((s,u)=>s-u);if(n.length<2)return 1/0;var i=n[n.length-1]-n[0];if(i===0)return 1/0;for(var a=0;a<n.length-1;a++){var o=n[a+1]-n[a];r=Math.min(r,o)}return r/i}}),K3=A(gy,X,zm,Ee,(e,t,r,n)=>n,(e,t,r,n,i)=>{if(!Me(e))return 0;var a=t==="vertical"?n.height:n.width;if(i==="gap")return e*a/2;if(i==="no-gap"){var o=Bt(r,e*a),s=e*a/2;return s-o-(s-o)/a*o}return 0}),by=(e,t)=>{var r=Mt(e,t);return r==null||typeof r.padding!="string"?0:K3(e,"xAxis",t,r.padding)},Cy=(e,t)=>{var r=Ut(e,t);return r==null||typeof r.padding!="string"?0:K3(e,"yAxis",t,r.padding)},xy=A(Mt,by,(e,t)=>{var r,n;if(e==null)return{left:0,right:0};var{padding:i}=e;return typeof i=="string"?{left:t,right:t}:{left:((r=i.left)!==null&&r!==void 0?r:0)+t,right:((n=i.right)!==null&&n!==void 0?n:0)+t}}),wy=A(Ut,Cy,(e,t)=>{var r,n;if(e==null)return{top:0,bottom:0};var{padding:i}=e;return typeof i=="string"?{top:t,bottom:t}:{top:((r=i.top)!==null&&r!==void 0?r:0)+t,bottom:((n=i.bottom)!==null&&n!==void 0?n:0)+t}}),Oy=A([Ee,xy,Xi,Zi,(e,t,r)=>r],(e,t,r,n,i)=>{var{padding:a}=n;return i?[a.left,r.width-a.right]:[e.left+t.left,e.left+e.width-t.right]}),Ey=A([Ee,X,wy,Xi,Zi,(e,t,r)=>r],(e,t,r,n,i,a)=>{var{padding:o}=i;return a?[n.height-o.bottom,o.top]:t==="horizontal"?[e.top+e.height-r.bottom,e.top+r.top]:[e.top+r.top,e.top+e.height-r.bottom]}),_n=(e,t,r,n)=>{var i;switch(t){case"xAxis":return Oy(e,r,n);case"yAxis":return Ey(e,r,n);case"zAxis":return(i=os(e,r))===null||i===void 0?void 0:i.range;case"angleAxis":return m3(e);case"radiusAxis":return y3(e,r);default:return}},V3=A([$e,_n],f2),Ir=A([$e,An,yy,V3],fs);A([Pn,v2,fe],D3);function H3(e,t){return e.id<t.id?-1:e.id>t.id?1:0}var m2=(e,t)=>t,y2=(e,t,r)=>r,Py=A(xo,m2,y2,(e,t,r)=>e.filter(n=>n.orientation===t).filter(n=>n.mirror===r).sort(H3)),Ay=A(wo,m2,y2,(e,t,r)=>e.filter(n=>n.orientation===t).filter(n=>n.mirror===r).sort(H3)),G3=(e,t)=>({width:e.width,height:t.height}),_y=(e,t)=>{var r=typeof t.width=="number"?t.width:Yi;return{width:r,height:e.height}},Sy=A(Ee,Mt,G3),jy=(e,t,r)=>{switch(t){case"top":return e.top;case"bottom":return r-e.bottom;default:return 0}},My=(e,t,r)=>{switch(t){case"left":return e.left;case"right":return r-e.right;default:return 0}},ky=A(St,Ee,Py,m2,y2,(e,t,r,n,i)=>{var a={},o;return r.forEach(s=>{var u=G3(t,s);o==null&&(o=jy(t,n,e));var c=n==="top"&&!i||n==="bottom"&&i;a[s.id]=o-Number(c)*u.height,o+=(c?-1:1)*u.height}),a}),Ty=A(_t,Ee,Ay,m2,y2,(e,t,r,n,i)=>{var a={},o;return r.forEach(s=>{var u=_y(t,s);o==null&&(o=My(t,n,e));var c=n==="left"&&!i||n==="right"&&i;a[s.id]=o-Number(c)*u.width,o+=(c?-1:1)*u.width}),a}),Dy=(e,t)=>{var r=Ee(e),n=Mt(e,t);if(n!=null){var i=ky(e,n.orientation,n.mirror),a=i[t];return a==null?{x:r.left,y:0}:{x:r.left,y:a}}},Ny=(e,t)=>{var r=Ee(e),n=Ut(e,t);if(n!=null){var i=Ty(e,n.orientation,n.mirror),a=i[t];return a==null?{x:0,y:r.top}:{x:a,y:r.top}}},Iy=A(Ee,Ut,(e,t)=>{var r=typeof t.width=="number"?t.width:Yi;return{width:r,height:e.height}}),Y3=(e,t,r,n)=>{if(r!=null){var{allowDuplicatedCategory:i,type:a,dataKey:o}=r,s=ht(e,n),u=t.map(c=>c.value);if(o&&s&&a==="category"&&i&&B1(u))return u}},hs=A([X,p2,$e,fe],Y3),Z3=(e,t,r,n)=>{if(!(r==null||r.dataKey==null)){var{type:i,scale:a}=r,o=ht(e,n);if(o&&(i==="number"||a!=="auto"))return t.map(s=>s.value)}},ps=A([X,p2,En,fe],Z3),Mc=A([X,Xm,An,Ir,hs,ps,_n,ds,fe],(e,t,r,n,i,a,o,s,u)=>{if(t==null)return null;var c=ht(e,u);return{angle:t.angle,interval:t.interval,minTickGap:t.minTickGap,orientation:t.orientation,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,axisType:u,categoricalDomain:a,duplicateDomain:i,isCategorical:c,niceTicks:s,range:o,realScaleType:r,scale:n}}),Ry=(e,t,r,n,i,a,o,s,u)=>{if(!(t==null||n==null)){var c=ht(e,u),{type:l,ticks:f,tickCount:h}=t,d=r==="scaleBand"&&typeof n.bandwidth=="function"?n.bandwidth()/2:2,p=l==="category"&&n.bandwidth?n.bandwidth()/d:0;p=u==="angleAxis"&&a!=null&&a.length>=2?Je(a[0]-a[1])*2*p:p;var m=f||i;if(m){var v=m.map((y,b)=>{var g=o?o.indexOf(y):y;return{index:b,coordinate:n(g)+p,value:y,offset:p}});return v.filter(y=>!He(y.coordinate))}return c&&s?s.map((y,b)=>({coordinate:n(y)+p,value:y,index:b,offset:p})):n.ticks?n.ticks(h).map(y=>({coordinate:n(y)+p,value:y,offset:p})):n.domain().map((y,b)=>({coordinate:n(y)+p,value:o?o[y]:y,index:b,offset:p}))}},X3=A([X,En,An,Ir,ds,_n,hs,ps,fe],Ry),$y=(e,t,r,n,i,a,o)=>{if(!(t==null||r==null||n==null||n[0]===n[1])){var s=ht(e,o),{tickCount:u}=t,c=0;return c=o==="angleAxis"&&n?.length>=2?Je(n[0]-n[1])*2*c:c,s&&a?a.map((l,f)=>({coordinate:r(l)+c,value:l,index:f,offset:c})):r.ticks?r.ticks(u).map(l=>({coordinate:r(l)+c,value:l,offset:c})):r.domain().map((l,f)=>({coordinate:r(l)+c,value:i?i[l]:l,index:f,offset:c}))}},g2=A([X,En,Ir,_n,hs,ps,fe],$y),b2=A($e,Ir,(e,t)=>{if(!(e==null||t==null))return ji(ji({},e),{},{scale:t})}),Ly=A([$e,An,cs,V3],fs);A((e,t,r)=>os(e,r),Ly,(e,t)=>{if(!(e==null||t==null))return ji(ji({},e),{},{scale:t})});var By=A([X,xo,wo],(e,t,r)=>{switch(e){case"horizontal":return t.some(n=>n.reversed)?"right-to-left":"left-to-right";case"vertical":return r.some(n=>n.reversed)?"bottom-to-top":"top-to-bottom";case"centric":case"radial":return"left-to-right";default:return}}),Q3=e=>e.options.defaultTooltipEventType,J3=e=>e.options.validateTooltipEventTypes;function eh(e,t,r){if(e==null)return t;var n=e?"axis":"item";return r==null?t:r.includes(n)?n:t}function vs(e,t){var r=Q3(e),n=J3(e);return eh(t,r,n)}function Fy(e){return F(t=>vs(t,e))}var th=(e,t)=>{var r,n=Number(t);if(!(He(n)||t==null))return n>=0?e==null||(r=e[n])===null||r===void 0?void 0:r.value:void 0},zy=e=>e.tooltip.settings,Rt={active:!1,index:null,dataKey:void 0,coordinate:void 0},qy={itemInteraction:{click:Rt,hover:Rt},axisInteraction:{click:Rt,hover:Rt},keyboardInteraction:Rt,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:"hover",axisId:0,active:!1,defaultIndex:void 0}},rh=Ye({name:"tooltip",initialState:qy,reducers:{addTooltipEntrySettings(e,t){e.tooltipItemPayloads.push(t.payload)},removeTooltipEntrySettings(e,t){var r=Ct(e).tooltipItemPayloads.indexOf(t.payload);r>-1&&e.tooltipItemPayloads.splice(r,1)},setTooltipSettingsState(e,t){e.settings=t.payload},setActiveMouseOverItemIndex(e,t){e.syncInteraction.active=!1,e.keyboardInteraction.active=!1,e.itemInteraction.hover.active=!0,e.itemInteraction.hover.index=t.payload.activeIndex,e.itemInteraction.hover.dataKey=t.payload.activeDataKey,e.itemInteraction.hover.coordinate=t.payload.activeCoordinate},mouseLeaveChart(e){e.itemInteraction.hover.active=!1,e.axisInteraction.hover.active=!1},mouseLeaveItem(e){e.itemInteraction.hover.active=!1},setActiveClickItemIndex(e,t){e.syncInteraction.active=!1,e.itemInteraction.click.active=!0,e.keyboardInteraction.active=!1,e.itemInteraction.click.index=t.payload.activeIndex,e.itemInteraction.click.dataKey=t.payload.activeDataKey,e.itemInteraction.click.coordinate=t.payload.activeCoordinate},setMouseOverAxisIndex(e,t){e.syncInteraction.active=!1,e.axisInteraction.hover.active=!0,e.keyboardInteraction.active=!1,e.axisInteraction.hover.index=t.payload.activeIndex,e.axisInteraction.hover.dataKey=t.payload.activeDataKey,e.axisInteraction.hover.coordinate=t.payload.activeCoordinate},setMouseClickAxisIndex(e,t){e.syncInteraction.active=!1,e.keyboardInteraction.active=!1,e.axisInteraction.click.active=!0,e.axisInteraction.click.index=t.payload.activeIndex,e.axisInteraction.click.dataKey=t.payload.activeDataKey,e.axisInteraction.click.coordinate=t.payload.activeCoordinate},setSyncInteraction(e,t){e.syncInteraction=t.payload},setKeyboardInteraction(e,t){e.keyboardInteraction.active=t.payload.active,e.keyboardInteraction.index=t.payload.activeIndex,e.keyboardInteraction.coordinate=t.payload.activeCoordinate,e.keyboardInteraction.dataKey=t.payload.activeDataKey}}}),{addTooltipEntrySettings:Wy,removeTooltipEntrySettings:Uy,setTooltipSettingsState:Ky,setActiveMouseOverItemIndex:Vy,mouseLeaveItem:SE,mouseLeaveChart:nh,setActiveClickItemIndex:jE,setMouseOverAxisIndex:ih,setMouseClickAxisIndex:Hy,setSyncInteraction:z0,setKeyboardInteraction:q0}=rh.actions,Gy=rh.reducer;function kc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Hn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?kc(Object(r),!0).forEach(function(n){Yy(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Yy(e,t,r){return(t=Zy(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zy(e){var t=Xy(e,"string");return typeof t=="symbol"?t:t+""}function Xy(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qy(e,t,r){return t==="axis"?r==="click"?e.axisInteraction.click:e.axisInteraction.hover:r==="click"?e.itemInteraction.click:e.itemInteraction.hover}function Jy(e){return e.index!=null}var ah=(e,t,r,n)=>{if(t==null)return Rt;var i=Qy(e,t,r);if(i==null)return Rt;if(i.active)return i;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&&e.syncInteraction.index!=null)return e.syncInteraction;var a=e.settings.active===!0;if(Jy(i)){if(a)return Hn(Hn({},i),{},{active:!0})}else if(n!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:n};return Hn(Hn({},Rt),{},{coordinate:i.coordinate})},ms=(e,t)=>{var r=e?.index;if(r==null)return null;var n=Number(r);if(!Me(n))return r;var i=0,a=1/0;return t.length>0&&(a=t.length-1),String(Math.max(i,Math.min(n,a)))},oh=(e,t,r,n,i,a,o,s)=>{if(!(a==null||s==null)){var u=o[0],c=u==null?void 0:s(u.positions,a);if(c!=null)return c;var l=i?.[Number(a)];if(l)switch(r){case"horizontal":return{x:l.coordinate,y:(n.top+t)/2};default:return{x:(n.left+e)/2,y:l.coordinate}}}},sh=(e,t,r,n)=>{if(t==="axis")return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var i;return r==="hover"?i=e.itemInteraction.hover.dataKey:i=e.itemInteraction.click.dataKey,i==null&&n!=null?[e.tooltipItemPayloads[0]]:e.tooltipItemPayloads.filter(a=>{var o;return((o=a.settings)===null||o===void 0?void 0:o.dataKey)===i})},Sn=e=>e.options.tooltipPayloadSearcher,Rr=e=>e.tooltip;function Tc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Dc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Tc(Object(r),!0).forEach(function(n){eg(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function eg(e,t,r){return(t=tg(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tg(e){var t=rg(e,"string");return typeof t=="symbol"?t:t+""}function rg(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ng(e,t){return e??t}var uh=(e,t,r,n,i,a,o)=>{if(!(t==null||a==null)){var{chartData:s,computedData:u,dataStartIndex:c,dataEndIndex:l}=r,f=[];return e.reduce((h,d)=>{var p,{dataDefinedOnItem:m,settings:v}=d,y=ng(m,s),b=Array.isArray(y)?Gf(y,c,l):y,g=(p=v?.dataKey)!==null&&p!==void 0?p:n?.dataKey,w=v?.nameKey,C;if(n!=null&&n.dataKey&&Array.isArray(b)&&!Array.isArray(b[0])&&o==="axis"?C=F1(b,n.dataKey,i):C=a(b,t,u,w),Array.isArray(C))C.forEach(P=>{var S=Dc(Dc({},v),{},{name:P.name,unit:P.unit,color:void 0,fill:void 0});h.push(ul({tooltipEntrySettings:S,dataKey:P.dataKey,payload:P.payload,value:Oe(P.payload,P.dataKey),name:P.name}))});else{var O;h.push(ul({tooltipEntrySettings:v,dataKey:g,payload:C,value:Oe(C,g),name:(O=Oe(C,w))!==null&&O!==void 0?O:v?.name}))}return h},f)}},ys=A([ve,X,C3,Qo,pe],q3),ig=A([e=>e.graphicalItems.cartesianItems,e=>e.graphicalItems.polarItems],(e,t)=>[...e,...t]),ag=A([pe,Dr],x3),jn=A([ig,ve,ag],w3),og=A([jn],e=>e.filter(as)),sg=A([jn],A3),$r=A([sg,Wt],_3),ug=A([og,Wt,ve],b3),gs=A([$r,ve,jn],S3),lg=A([ve],ls),cg=A([jn],e=>e.filter(as)),fg=A([ug,cg,c2],M3),dg=A([fg,Wt,pe],k3),hg=A([jn],E3),pg=A([$r,ve,hg,v2,pe],T3),vg=A([N3,pe,Dr],Nr),mg=A([vg,pe],$3),yg=A([I3,pe,Dr],Nr),gg=A([yg,pe],L3),bg=A([R3,pe,Dr],Nr),Cg=A([bg,pe],B3),xg=A([mg,Cg,gg],Mi),wg=A([ve,lg,dg,pg,xg,X,pe],F3),lh=A([ve,X,$r,gs,c2,pe,wg],z3),Og=A([lh,ve,ys],W3),Eg=A([ve,lh,Og,pe],U3),ch=e=>{var t=pe(e),r=Dr(e),n=!1;return _n(e,t,r,n)},fh=A([ve,ch],f2),dh=A([ve,ys,Eg,fh],fs),Pg=A([X,gs,ve,pe],Y3),Ag=A([X,gs,ve,pe],Z3),_g=(e,t,r,n,i,a,o,s)=>{if(t){var{type:u}=t,c=ht(e,s);if(n){var l=r==="scaleBand"&&n.bandwidth?n.bandwidth()/2:2,f=u==="category"&&n.bandwidth?n.bandwidth()/l:0;return f=s==="angleAxis"&&i!=null&&i?.length>=2?Je(i[0]-i[1])*2*f:f,c&&o?o.map((h,d)=>({coordinate:n(h)+f,value:h,index:d,offset:f})):n.domain().map((h,d)=>({coordinate:n(h)+f,value:a?a[h]:h,index:d,offset:f}))}}},kt=A([X,ve,ys,dh,ch,Pg,Ag,pe],_g),bs=A([Q3,J3,zy],(e,t,r)=>eh(r.shared,e,t)),hh=e=>e.tooltip.settings.trigger,Cs=e=>e.tooltip.settings.defaultIndex,C2=A([Rr,bs,hh,Cs],ah),fn=A([C2,$r],ms),ph=A([kt,fn],th),Sg=A([C2],e=>{if(e)return e.dataKey}),vh=A([Rr,bs,hh,Cs],sh),jg=A([_t,St,X,Ee,kt,Cs,vh,Sn],oh),Mg=A([C2,jg],(e,t)=>e!=null&&e.coordinate?e.coordinate:t),kg=A([C2],e=>e.active),Tg=A([vh,fn,Wt,ve,ph,Sn,bs],uh),Dg=A([Tg],e=>{if(e!=null){var t=e.map(r=>r.payload).filter(r=>r!=null);return Array.from(new Set(t))}});function Nc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ic(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Nc(Object(r),!0).forEach(function(n){Ng(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ng(e,t,r){return(t=Ig(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ig(e){var t=Rg(e,"string");return typeof t=="symbol"?t:t+""}function Rg(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $g=()=>F(ve),Lg=()=>{var e=$g(),t=F(kt),r=F(dh);return en(Ic(Ic({},e),{},{scale:r}),t)},mh=()=>F(Qo),xs=(e,t)=>t,yh=(e,t,r)=>r,ws=(e,t,r,n)=>n,Bg=A(kt,e=>Fi(e,t=>t.coordinate)),Os=A([Rr,xs,yh,ws],ah),gh=A([Os,$r],ms),Fg=(e,t,r)=>{if(t!=null){var n=Rr(e);return t==="axis"?r==="hover"?n.axisInteraction.hover.dataKey:n.axisInteraction.click.dataKey:r==="hover"?n.itemInteraction.hover.dataKey:n.itemInteraction.click.dataKey}},bh=A([Rr,xs,yh,ws],sh),ki=A([_t,St,X,Ee,kt,ws,bh,Sn],oh),zg=A([Os,ki],(e,t)=>{var r;return(r=e.coordinate)!==null&&r!==void 0?r:t}),Ch=A(kt,gh,th),qg=A([bh,gh,Wt,ve,Ch,Sn,xs],uh),Wg=A([Os],e=>({isActive:e.active,activeIndex:e.index})),Ug=(e,t,r,n,i,a,o,s)=>{if(!(!e||!t||!n||!i||!a)){var u=a4(e.chartX,e.chartY,t,r,s);if(u){var c=s4(u,t),l=G7(c,o,a,n,i),f=o4(t,a,l,u);return{activeIndex:String(l),activeCoordinate:f}}}};function W0(){return W0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W0.apply(null,arguments)}function Rc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Gn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Rc(Object(r),!0).forEach(function(n){Kg(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Kg(e,t,r){return(t=Vg(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vg(e){var t=Hg(e,"string");return typeof t=="symbol"?t:t+""}function Hg(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Gg(e){var{coordinate:t,payload:r,index:n,offset:i,tooltipAxisBandSize:a,layout:o,cursor:s,tooltipEventType:u,chartName:c}=e,l=t,f=r,h=n;if(!s||!l||c!=="ScatterChart"&&u!=="axis")return null;var d,p;if(c==="ScatterChart")d=l,p=o5;else if(c==="BarChart")d=s5(o,l,i,a),p=q5;else if(o==="radial"){var{cx:m,cy:v,radius:y,startAngle:b,endAngle:g}=md(l);d={cx:m,cy:v,startAngle:b,endAngle:g,innerRadius:y,outerRadius:y},p=V5}else d={points:H5(o,l,i)},p=Hr;var w=typeof s=="object"&&"className"in s?s.className:void 0,C=Gn(Gn(Gn(Gn({stroke:"#ccc",pointerEvents:"none"},i),d),le(s,!1)),{},{payload:f,payloadIndex:h,className:Q.clsx("recharts-tooltip-cursor",w)});return E.isValidElement(s)?E.cloneElement(s,C):E.createElement(p,C)}function Yg(e){var t=Lg(),r=Jf(),n=Qi(),i=mh();return x.createElement(Gg,W0({},e,{coordinate:e.coordinate,index:e.index,payload:e.payload,offset:r,layout:n,tooltipAxisBandSize:t,chartName:i}))}var xh=E.createContext(null),Zg=()=>E.useContext(xh),Ba={exports:{}},$c;function Xg(){return $c||($c=1,(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(u,c,l){this.fn=u,this.context=c,this.once=l||!1}function a(u,c,l,f,h){if(typeof l!="function")throw new TypeError("The listener must be a function");var d=new i(l,f||u,h),p=r?r+c:c;return u._events[p]?u._events[p].fn?u._events[p]=[u._events[p],d]:u._events[p].push(d):(u._events[p]=d,u._eventsCount++),u}function o(u,c){--u._eventsCount===0?u._events=new n:delete u._events[c]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var c=[],l,f;if(this._eventsCount===0)return c;for(f in l=this._events)t.call(l,f)&&c.push(r?f.slice(1):f);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(l)):c},s.prototype.listeners=function(c){var l=r?r+c:c,f=this._events[l];if(!f)return[];if(f.fn)return[f.fn];for(var h=0,d=f.length,p=new Array(d);h<d;h++)p[h]=f[h].fn;return p},s.prototype.listenerCount=function(c){var l=r?r+c:c,f=this._events[l];return f?f.fn?1:f.length:0},s.prototype.emit=function(c,l,f,h,d,p){var m=r?r+c:c;if(!this._events[m])return!1;var v=this._events[m],y=arguments.length,b,g;if(v.fn){switch(v.once&&this.removeListener(c,v.fn,void 0,!0),y){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,l),!0;case 3:return v.fn.call(v.context,l,f),!0;case 4:return v.fn.call(v.context,l,f,h),!0;case 5:return v.fn.call(v.context,l,f,h,d),!0;case 6:return v.fn.call(v.context,l,f,h,d,p),!0}for(g=1,b=new Array(y-1);g<y;g++)b[g-1]=arguments[g];v.fn.apply(v.context,b)}else{var w=v.length,C;for(g=0;g<w;g++)switch(v[g].once&&this.removeListener(c,v[g].fn,void 0,!0),y){case 1:v[g].fn.call(v[g].context);break;case 2:v[g].fn.call(v[g].context,l);break;case 3:v[g].fn.call(v[g].context,l,f);break;case 4:v[g].fn.call(v[g].context,l,f,h);break;default:if(!b)for(C=1,b=new Array(y-1);C<y;C++)b[C-1]=arguments[C];v[g].fn.apply(v[g].context,b)}}return!0},s.prototype.on=function(c,l,f){return a(this,c,l,f,!1)},s.prototype.once=function(c,l,f){return a(this,c,l,f,!0)},s.prototype.removeListener=function(c,l,f,h){var d=r?r+c:c;if(!this._events[d])return this;if(!l)return o(this,d),this;var p=this._events[d];if(p.fn)p.fn===l&&(!h||p.once)&&(!f||p.context===f)&&o(this,d);else{for(var m=0,v=[],y=p.length;m<y;m++)(p[m].fn!==l||h&&!p[m].once||f&&p[m].context!==f)&&v.push(p[m]);v.length?this._events[d]=v.length===1?v[0]:v:o(this,d)}return this},s.prototype.removeAllListeners=function(c){var l;return c?(l=r?r+c:c,this._events[l]&&o(this,l)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s})(Ba)),Ba.exports}var Qg=Xg();const Jg=_.getDefaultExportFromCjs(Qg);var dn=new Jg,U0="recharts.syncEvent.tooltip",Lc="recharts.syncEvent.brush";function wh(e,t){if(t){var r=Number.parseInt(t,10);if(!He(r))return e?.[r]}}var eb={chartName:"",tooltipPayloadSearcher:void 0,eventEmitter:void 0,defaultTooltipEventType:"axis"},Oh=Ye({name:"options",initialState:eb,reducers:{createEventEmitter:e=>{e.eventEmitter==null&&(e.eventEmitter=Symbol("rechartsEventEmitter"))}}}),tb=Oh.reducer,{createEventEmitter:rb}=Oh.actions;function nb(e){return e.tooltip.syncInteraction}var ib={chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},Eh=Ye({name:"chartData",initialState:ib,reducers:{setChartData(e,t){if(e.chartData=t.payload,t.payload==null){e.dataStartIndex=0,e.dataEndIndex=0;return}t.payload.length>0&&e.dataEndIndex!==t.payload.length-1&&(e.dataEndIndex=t.payload.length-1)},setComputedData(e,t){e.computedData=t.payload},setDataStartEndIndexes(e,t){var{startIndex:r,endIndex:n}=t.payload;r!=null&&(e.dataStartIndex=r),n!=null&&(e.dataEndIndex=n)}}}),{setChartData:Bc,setDataStartEndIndexes:ab,setComputedData:ME}=Eh.actions,ob=Eh.reducer,Ph=()=>{};function sb(){var e=F(Jo),t=F(es),r=ke(),n=F(h3),i=F(kt),a=Qi(),o=Oo(),s=F(u=>u.rootProps.className);E.useEffect(()=>{if(e==null)return Ph;var u=(c,l,f)=>{if(t!==f&&e===c){if(n==="index"){r(l);return}if(i!=null){var h;if(typeof n=="function"){var d={activeTooltipIndex:l.payload.index==null?void 0:Number(l.payload.index),isTooltipActive:l.payload.active,activeIndex:l.payload.index==null?void 0:Number(l.payload.index),activeLabel:l.payload.label,activeDataKey:l.payload.dataKey,activeCoordinate:l.payload.coordinate},p=n(i,d);h=i[p]}else n==="value"&&(h=i.find(O=>String(O.value)===l.payload.label));var{coordinate:m}=l.payload;if(h==null||l.payload.active===!1||m==null||o==null){r(z0({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0}));return}var{x:v,y}=m,b=Math.min(v,o.x+o.width),g=Math.min(y,o.y+o.height),w={x:a==="horizontal"?h.coordinate:b,y:a==="horizontal"?g:h.coordinate},C=z0({active:l.payload.active,coordinate:w,dataKey:l.payload.dataKey,index:String(h.index),label:l.payload.label});r(C)}}};return dn.on(U0,u),()=>{dn.off(U0,u)}},[s,r,t,e,n,i,a,o])}function ub(){var e=F(Jo),t=F(es),r=ke();E.useEffect(()=>{if(e==null)return Ph;var n=(i,a,o)=>{t!==o&&e===i&&r(ab(a))};return dn.on(Lc,n),()=>{dn.off(Lc,n)}},[r,t,e])}function lb(){var e=ke();E.useEffect(()=>{e(rb())},[e]),sb(),ub()}function cb(e,t,r,n,i,a){var o=F(h=>Fg(h,e,t)),s=F(es),u=F(Jo),c=F(h3),l=F(nb),f=l?.active;E.useEffect(()=>{if(!f&&u!=null&&s!=null){var h=z0({active:a,coordinate:r,dataKey:o,index:i,label:typeof n=="number"?String(n):n});dn.emit(U0,u,h,s)}},[f,r,o,i,n,s,u,c,a])}function Fc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function zc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Fc(Object(r),!0).forEach(function(n){fb(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function fb(e,t,r){return(t=db(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function db(e){var t=hb(e,"string");return typeof t=="symbol"?t:t+""}function hb(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function pb(e){return e.dataKey}function vb(e,t){return x.isValidElement(e)?x.cloneElement(e,t):typeof e=="function"?x.createElement(e,t):x.createElement(L4,t)}var qc=[],mb={allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",axisId:0,contentStyle:{},cursor:!0,filterNull:!0,isAnimationActive:!jr.isSsr,itemSorter:"name",itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,wrapperStyle:{}};function yb(e){var t=pt(e,mb),{active:r,allowEscapeViewBox:n,animationDuration:i,animationEasing:a,content:o,filterNull:s,isAnimationActive:u,offset:c,payloadUniqBy:l,position:f,reverseDirection:h,useTranslate3d:d,wrapperStyle:p,cursor:m,shared:v,trigger:y,defaultIndex:b,portal:g,axisId:w}=t,C=ke(),O=typeof b=="number"?String(b):b;E.useEffect(()=>{C(Ky({shared:v,trigger:y,axisId:w,active:r,defaultIndex:O}))},[C,v,y,w,r,O]);var P=Oo(),S=ld(),M=Fy(v),{activeIndex:z,isActive:k}=F(ne=>Wg(ne,M,y,O)),T=F(ne=>qg(ne,M,y,O)),W=F(ne=>Ch(ne,M,y,O)),K=F(ne=>zg(ne,M,y,O)),te=T,Y=Zg(),B=r??k,[q,R]=b6([te,B]),$=M==="axis"?W:void 0;cb(M,y,K,$,z,B);var se=g??Y;if(se==null)return null;var L=te??qc;B||(L=qc),s&&L.length&&(L=W9(te.filter(ne=>ne.value!=null&&(ne.hide!==!0||t.includeHidden)),l,pb));var be=L.length>0,Ze=x.createElement(K4,{allowEscapeViewBox:n,animationDuration:i,animationEasing:a,isAnimationActive:u,active:B,coordinate:K,hasPayload:be,offset:c,position:f,reverseDirection:h,useTranslate3d:d,viewBox:P,wrapperStyle:p,lastBoundingBox:q,innerRef:R,hasPortalFromProps:!!g},vb(o,zc(zc({},t),{},{payload:L,label:$,active:B,coordinate:K,accessibilityLayer:S})));return x.createElement(x.Fragment,null,T1.createPortal(Ze,se),B&&x.createElement(Yg,{cursor:m,tooltipEventType:M,coordinate:K,payload:te,index:z}))}var Fa={},za={},qa={},Wc;function gb(){return Wc||(Wc=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r,n,{signal:i,edges:a}={}){let o,s=null;const u=a!=null&&a.includes("leading"),c=a==null||a.includes("trailing"),l=()=>{s!==null&&(r.apply(o,s),o=void 0,s=null)},f=()=>{c&&l(),m()};let h=null;const d=()=>{h!=null&&clearTimeout(h),h=setTimeout(()=>{h=null,f()},n)},p=()=>{h!==null&&(clearTimeout(h),h=null)},m=()=>{p(),o=void 0,s=null},v=()=>{l()},y=function(...b){if(i?.aborted)return;o=this,s=b;const g=h==null;d(),u&&g&&l()};return y.schedule=d,y.cancel=m,y.flush=v,i?.addEventListener("abort",m,{once:!0}),y}e.debounce=t})(qa)),qa}var Uc;function bb(){return Uc||(Uc=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=gb();function r(n,i=0,a={}){typeof a!="object"&&(a={});const{leading:o=!1,trailing:s=!0,maxWait:u}=a,c=Array(2);o&&(c[0]="leading"),s&&(c[1]="trailing");let l,f=null;const h=t.debounce(function(...m){l=n.apply(this,m),f=null},i,{edges:c}),d=function(...m){return u!=null&&(f===null&&(f=Date.now()),Date.now()-f>=u)?(l=n.apply(this,m),f=Date.now(),h.cancel(),h.schedule(),l):(h.apply(this,m),l)},p=()=>(h.flush(),l);return d.cancel=h.cancel,d.flush=p,d}e.debounce=r})(za)),za}var Kc;function Cb(){return Kc||(Kc=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=bb();function r(n,i=0,a={}){const{leading:o=!0,trailing:s=!0}=a;return t.debounce(n,i,{leading:o,maxWait:i,trailing:s})}e.throttle=r})(Fa)),Fa}var Wa,Vc;function xb(){return Vc||(Vc=1,Wa=Cb().throttle),Wa}var wb=xb();const Ob=_.getDefaultExportFromCjs(wb);var Eb=process.env.NODE_ENV!=="production",Gr=function(t,r){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];if(Eb&&typeof console<"u"&&console.warn&&(r===void 0&&console.warn("LogUtils requires an error message argument"),!t))if(r===void 0)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;console.warn(r.replace(/%s/g,()=>i[o++]))}};function Hc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ua(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Hc(Object(r),!0).forEach(function(n){Pb(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Pb(e,t,r){return(t=Ab(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ab(e){var t=_b(e,"string");return typeof t=="symbol"?t:t+""}function _b(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ah=E.forwardRef((e,t)=>{var{aspect:r,initialDimension:n={width:-1,height:-1},width:i="100%",height:a="100%",minWidth:o=0,minHeight:s,maxHeight:u,children:c,debounce:l=0,id:f,className:h,onResize:d,style:p={}}=e,m=E.useRef(null),v=E.useRef();v.current=d,E.useImperativeHandle(t,()=>m.current);var[y,b]=E.useState({containerWidth:n.width,containerHeight:n.height}),g=E.useCallback((C,O)=>{b(P=>{var S=Math.round(C),M=Math.round(O);return P.containerWidth===S&&P.containerHeight===M?P:{containerWidth:S,containerHeight:M}})},[]);E.useEffect(()=>{var C=M=>{var z,{width:k,height:T}=M[0].contentRect;g(k,T),(z=v.current)===null||z===void 0||z.call(v,k,T)};l>0&&(C=Ob(C,l,{trailing:!0,leading:!1}));var O=new ResizeObserver(C),{width:P,height:S}=m.current.getBoundingClientRect();return g(P,S),O.observe(m.current),()=>{O.disconnect()}},[g,l]);var w=E.useMemo(()=>{var{containerWidth:C,containerHeight:O}=y;if(C<0||O<0)return null;Gr(Qt(i)||Qt(a),`The width(%s) and height(%s) are both fixed numbers,
59
- maybe you don't need to use a ResponsiveContainer.`,i,a),Gr(!r||r>0,"The aspect(%s) must be greater than zero.",r);var P=Qt(i)?C:i,S=Qt(a)?O:a;return r&&r>0&&(P?S=P/r:S&&(P=S*r),u&&S>u&&(S=u)),Gr(P>0||S>0,`The width(%s) and height(%s) of chart should be greater than 0,
60
- please check the style of container, or the props width(%s) and height(%s),
61
- or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
62
- height and width.`,P,S,i,a,o,s,r),x.Children.map(c,M=>E.cloneElement(M,{width:P,height:S,style:Ua({width:P,height:S},M.props.style)}))},[r,c,a,u,s,o,y,i]);return x.createElement("div",{id:f?"".concat(f):void 0,className:Q.clsx("recharts-responsive-container",h),style:Ua(Ua({},p),{},{width:i,height:a,minWidth:o,minHeight:s,maxHeight:u}),ref:m},x.createElement("div",{style:{width:0,height:0,overflow:"visible"}},w))});function Sb(e,t,r){return(t=jb(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jb(e){var t=Mb(e,"string");return typeof t=="symbol"?t:t+""}function Mb(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class kb{constructor(t){Sb(this,"cache",new Map),this.maxSize=t}get(t){var r=this.cache.get(t);return r!==void 0&&(this.cache.delete(t),this.cache.set(t,r)),r}set(t,r){if(this.cache.has(t))this.cache.delete(t);else if(this.cache.size>=this.maxSize){var n=this.cache.keys().next().value;this.cache.delete(n)}this.cache.set(t,r)}clear(){this.cache.clear()}size(){return this.cache.size}}function Gc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Tb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gc(Object(r),!0).forEach(function(n){Db(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Db(e,t,r){return(t=Nb(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nb(e){var t=Ib(e,"string");return typeof t=="symbol"?t:t+""}function Ib(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Rb={cacheSize:2e3,enableCache:!0},_h=Tb({},Rb),Yc=new kb(_h.cacheSize),$b={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},Zc="recharts_measurement_span";function Lb(e,t){var r=t.fontSize||"",n=t.fontFamily||"",i=t.fontWeight||"",a=t.fontStyle||"",o=t.letterSpacing||"",s=t.textTransform||"";return"".concat(e,"|").concat(r,"|").concat(n,"|").concat(i,"|").concat(a,"|").concat(o,"|").concat(s)}var Xc=(e,t)=>{try{var r=document.getElementById(Zc);r||(r=document.createElement("span"),r.setAttribute("id",Zc),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),Object.assign(r.style,$b,t),r.textContent="".concat(e);var n=r.getBoundingClientRect();return{width:n.width,height:n.height}}catch{return{width:0,height:0}}},Yr=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||jr.isSsr)return{width:0,height:0};if(!_h.enableCache)return Xc(t,r);var n=Lb(t,r),i=Yc.get(n);if(i)return i;var a=Xc(t,r);return Yc.set(n,a),a},Qc=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Jc=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Bb=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,Fb=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Sh={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},zb=Object.keys(Sh),yr="NaN";function qb(e,t){return e*Sh[t]}class De{static parse(t){var r,[,n,i]=(r=Fb.exec(t))!==null&&r!==void 0?r:[];return new De(parseFloat(n),i??"")}constructor(t,r){this.num=t,this.unit=r,this.num=t,this.unit=r,He(t)&&(this.unit=""),r!==""&&!Bb.test(r)&&(this.num=NaN,this.unit=""),zb.includes(r)&&(this.num=qb(t,r),this.unit="px")}add(t){return this.unit!==t.unit?new De(NaN,""):new De(this.num+t.num,this.unit)}subtract(t){return this.unit!==t.unit?new De(NaN,""):new De(this.num-t.num,this.unit)}multiply(t){return this.unit!==""&&t.unit!==""&&this.unit!==t.unit?new De(NaN,""):new De(this.num*t.num,this.unit||t.unit)}divide(t){return this.unit!==""&&t.unit!==""&&this.unit!==t.unit?new De(NaN,""):new De(this.num/t.num,this.unit||t.unit)}toString(){return"".concat(this.num).concat(this.unit)}isNaN(){return He(this.num)}}function jh(e){if(e.includes(yr))return yr;for(var t=e;t.includes("*")||t.includes("/");){var r,[,n,i,a]=(r=Qc.exec(t))!==null&&r!==void 0?r:[],o=De.parse(n??""),s=De.parse(a??""),u=i==="*"?o.multiply(s):o.divide(s);if(u.isNaN())return yr;t=t.replace(Qc,u.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var c,[,l,f,h]=(c=Jc.exec(t))!==null&&c!==void 0?c:[],d=De.parse(l??""),p=De.parse(h??""),m=f==="+"?d.add(p):d.subtract(p);if(m.isNaN())return yr;t=t.replace(Jc,m.toString())}return t}var e1=/\(([^()]*)\)/;function Wb(e){for(var t=e,r;(r=e1.exec(t))!=null;){var[,n]=r;t=t.replace(e1,jh(n))}return t}function Ub(e){var t=e.replace(/\s+/g,"");return t=Wb(t),t=jh(t),t}function Kb(e){try{return Ub(e)}catch{return yr}}function Ka(e){var t=Kb(e.slice(5,-1));return t===yr?"":t}var Vb=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],Hb=["dx","dy","angle","className","breakAll"];function K0(){return K0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},K0.apply(null,arguments)}function t1(e,t){if(e==null)return{};var r,n,i=Gb(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Gb(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var Mh=/[ \f\n\r\t\v\u2028\u2029]+/,kh=e=>{var{children:t,breakAll:r,style:n}=e;try{var i=[];ue(t)||(r?i=t.toString().split(""):i=t.toString().split(Mh));var a=i.map(s=>({word:s,width:Yr(s,n).width})),o=r?0:Yr(" ",n).width;return{wordsWithComputedWidth:a,spaceWidth:o}}catch{return null}},Yb=(e,t,r,n,i)=>{var{maxLines:a,children:o,style:s,breakAll:u}=e,c=N(a),l=o,f=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return k.reduce((T,W)=>{var{word:K,width:te}=W,Y=T[T.length-1];if(Y&&(n==null||i||Y.width+te+r<Number(n)))Y.words.push(K),Y.width+=te+r;else{var B={words:[K],width:te};T.push(B)}return T},[])},h=f(t),d=z=>z.reduce((k,T)=>k.width>T.width?k:T);if(!c||i)return h;var p=h.length>a||d(h).width>Number(n);if(!p)return h;for(var m="…",v=z=>{var k=l.slice(0,z),T=kh({breakAll:u,style:s,children:k+m}).wordsWithComputedWidth,W=f(T),K=W.length>a||d(W).width>Number(n);return[K,W]},y=0,b=l.length-1,g=0,w;y<=b&&g<=l.length-1;){var C=Math.floor((y+b)/2),O=C-1,[P,S]=v(O),[M]=v(C);if(!P&&!M&&(y=C+1),P&&M&&(b=C-1),!P&&M){w=S;break}g++}return w||h},r1=e=>{var t=ue(e)?[]:e.toString().split(Mh);return[{words:t}]},Zb=e=>{var{width:t,scaleToFit:r,children:n,style:i,breakAll:a,maxLines:o}=e;if((t||r)&&!jr.isSsr){var s,u,c=kh({breakAll:a,children:n,style:i});if(c){var{wordsWithComputedWidth:l,spaceWidth:f}=c;s=l,u=f}else return r1(n);return Yb({breakAll:a,children:n,maxLines:o,style:i},s,u,t,r)}return r1(n)},n1="#808080",Es=E.forwardRef((e,t)=>{var{x:r=0,y:n=0,lineHeight:i="1em",capHeight:a="0.71em",scaleToFit:o=!1,textAnchor:s="start",verticalAnchor:u="end",fill:c=n1}=e,l=t1(e,Vb),f=E.useMemo(()=>Zb({breakAll:l.breakAll,children:l.children,maxLines:l.maxLines,scaleToFit:o,style:l.style,width:l.width}),[l.breakAll,l.children,l.maxLines,o,l.style,l.width]),{dx:h,dy:d,angle:p,className:m,breakAll:v}=l,y=t1(l,Hb);if(!ft(r)||!ft(n))return null;var b=r+(N(h)?h:0),g=n+(N(d)?d:0),w;switch(u){case"start":w=Ka("calc(".concat(a,")"));break;case"middle":w=Ka("calc(".concat((f.length-1)/2," * -").concat(i," + (").concat(a," / 2))"));break;default:w=Ka("calc(".concat(f.length-1," * -").concat(i,")"));break}var C=[];if(o){var O=f[0].width,{width:P}=l;C.push("scale(".concat(N(P)?P/O:1,")"))}return p&&C.push("rotate(".concat(p,", ").concat(b,", ").concat(g,")")),C.length&&(y.transform=C.join(" ")),x.createElement("text",K0({},le(y,!0),{ref:t,x:b,y:g,className:Q.clsx("recharts-text",m),textAnchor:s,fill:c.includes("url")?n1:c}),f.map((S,M)=>{var z=S.words.join(v?"":" ");return x.createElement("tspan",{x:b,dy:M===0?w:i,key:"".concat(z,"-").concat(M)},z)}))});Es.displayName="Text";var Xb=["offset"],Qb=["labelRef"];function i1(e,t){if(e==null)return{};var r,n,i=Jb(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Jb(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function a1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ae(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?a1(Object(r),!0).forEach(function(n){eC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function eC(e,t,r){return(t=tC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tC(e){var t=rC(e,"string");return typeof t=="symbol"?t:t+""}function rC(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function yt(){return yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yt.apply(null,arguments)}var nC=e=>{var{value:t,formatter:r}=e,n=ue(e.children)?t:e.children;return typeof r=="function"?r(n):n},Ps=e=>e!=null&&typeof e=="function",iC=(e,t)=>{var r=Je(t-e),n=Math.min(Math.abs(t-e),360);return r*n},aC=(e,t,r,n)=>{var{position:i,offset:a,className:o}=e,{cx:s,cy:u,innerRadius:c,outerRadius:l,startAngle:f,endAngle:h,clockWise:d}=n,p=(c+l)/2,m=iC(f,h),v=m>=0?1:-1,y,b;i==="insideStart"?(y=f+v*a,b=d):i==="insideEnd"?(y=h-v*a,b=!d):i==="end"&&(y=h+v*a,b=d),b=m<=0?b:!b;var g=we(s,u,p,y),w=we(s,u,p,y+(b?1:-1)*359),C="M".concat(g.x,",").concat(g.y,`
63
- A`).concat(p,",").concat(p,",0,1,").concat(b?0:1,`,
64
- `).concat(w.x,",").concat(w.y),O=ue(e.id)?Zr("recharts-radial-line-"):e.id;return x.createElement("text",yt({},r,{dominantBaseline:"central",className:Q.clsx("recharts-radial-bar-label",o)}),x.createElement("defs",null,x.createElement("path",{id:O,d:C})),x.createElement("textPath",{xlinkHref:"#".concat(O)},t))},oC=(e,t,r)=>{var{cx:n,cy:i,innerRadius:a,outerRadius:o,startAngle:s,endAngle:u}=e,c=(s+u)/2;if(r==="outside"){var{x:l,y:f}=we(n,i,o+t,c);return{x:l,y:f,textAnchor:l>=n?"start":"end",verticalAnchor:"middle"}}if(r==="center")return{x:n,y:i,textAnchor:"middle",verticalAnchor:"middle"};if(r==="centerTop")return{x:n,y:i,textAnchor:"middle",verticalAnchor:"start"};if(r==="centerBottom")return{x:n,y:i,textAnchor:"middle",verticalAnchor:"end"};var h=(a+o)/2,{x:d,y:p}=we(n,i,h,c);return{x:d,y:p,textAnchor:"middle",verticalAnchor:"middle"}},sC=(e,t)=>{var{parentViewBox:r,offset:n,position:i}=e,{x:a,y:o,width:s,height:u}=t,c=u>=0?1:-1,l=c*n,f=c>0?"end":"start",h=c>0?"start":"end",d=s>=0?1:-1,p=d*n,m=d>0?"end":"start",v=d>0?"start":"end";if(i==="top"){var y={x:a+s/2,y:o-c*n,textAnchor:"middle",verticalAnchor:f};return ae(ae({},y),r?{height:Math.max(o-r.y,0),width:s}:{})}if(i==="bottom"){var b={x:a+s/2,y:o+u+l,textAnchor:"middle",verticalAnchor:h};return ae(ae({},b),r?{height:Math.max(r.y+r.height-(o+u),0),width:s}:{})}if(i==="left"){var g={x:a-p,y:o+u/2,textAnchor:m,verticalAnchor:"middle"};return ae(ae({},g),r?{width:Math.max(g.x-r.x,0),height:u}:{})}if(i==="right"){var w={x:a+s+p,y:o+u/2,textAnchor:v,verticalAnchor:"middle"};return ae(ae({},w),r?{width:Math.max(r.x+r.width-w.x,0),height:u}:{})}var C=r?{width:s,height:u}:{};return i==="insideLeft"?ae({x:a+p,y:o+u/2,textAnchor:v,verticalAnchor:"middle"},C):i==="insideRight"?ae({x:a+s-p,y:o+u/2,textAnchor:m,verticalAnchor:"middle"},C):i==="insideTop"?ae({x:a+s/2,y:o+l,textAnchor:"middle",verticalAnchor:h},C):i==="insideBottom"?ae({x:a+s/2,y:o+u-l,textAnchor:"middle",verticalAnchor:f},C):i==="insideTopLeft"?ae({x:a+p,y:o+l,textAnchor:v,verticalAnchor:h},C):i==="insideTopRight"?ae({x:a+s-p,y:o+l,textAnchor:m,verticalAnchor:h},C):i==="insideBottomLeft"?ae({x:a+p,y:o+u-l,textAnchor:v,verticalAnchor:f},C):i==="insideBottomRight"?ae({x:a+s-p,y:o+u-l,textAnchor:m,verticalAnchor:f},C):i&&typeof i=="object"&&(N(i.x)||Qt(i.x))&&(N(i.y)||Qt(i.y))?ae({x:a+Bt(i.x,s),y:o+Bt(i.y,u),textAnchor:"end",verticalAnchor:"end"},C):ae({x:a+s/2,y:o+u/2,textAnchor:"middle",verticalAnchor:"middle"},C)},uC=e=>"cx"in e&&N(e.cx);function We(e){var{offset:t=5}=e,r=i1(e,Xb),n=ae({offset:t},r),{viewBox:i,position:a,value:o,children:s,content:u,className:c="",textBreakAll:l,labelRef:f}=n,h=F(g3),d=Oo(),p=a==="center"?d:h??d,m=i||p;if(!m||ue(o)&&ue(s)&&!E.isValidElement(u)&&typeof u!="function")return null;var v=ae(ae({},n),{},{viewBox:m});if(E.isValidElement(u)){var{labelRef:y}=v,b=i1(v,Qb);return E.cloneElement(u,b)}var g;if(typeof u=="function"){if(g=E.createElement(u,v),E.isValidElement(g))return g}else g=nC(n);var w=uC(m),C=le(n,!0);if(w&&(a==="insideStart"||a==="insideEnd"||a==="end"))return aC(n,g,C,m);var O=w?oC(m,n.offset,n.position):sC(n,m);return x.createElement(Es,yt({ref:f,className:Q.clsx("recharts-label",c)},C,O,{breakAll:l}),g)}We.displayName="Label";var Th=e=>{var{cx:t,cy:r,angle:n,startAngle:i,endAngle:a,r:o,radius:s,innerRadius:u,outerRadius:c,x:l,y:f,top:h,left:d,width:p,height:m,clockWise:v,labelViewBox:y}=e;if(y)return y;if(N(p)&&N(m)){if(N(l)&&N(f))return{x:l,y:f,width:p,height:m};if(N(h)&&N(d))return{x:h,y:d,width:p,height:m}}if(N(l)&&N(f))return{x:l,y:f,width:0,height:0};if(N(t)&&N(r))return{cx:t,cy:r,startAngle:i||n||0,endAngle:a||n||0,innerRadius:u||0,outerRadius:c||s||o||0,clockWise:v};if(e.viewBox)return e.viewBox},lC=(e,t,r)=>{if(!e)return null;var n={viewBox:t,labelRef:r};return e===!0?x.createElement(We,yt({key:"label-implicit"},n)):ft(e)?x.createElement(We,yt({key:"label-implicit",value:e},n)):E.isValidElement(e)?e.type===We?E.cloneElement(e,ae({key:"label-implicit"},n)):x.createElement(We,yt({key:"label-implicit",content:e},n)):Ps(e)?x.createElement(We,yt({key:"label-implicit",content:e},n)):e&&typeof e=="object"?x.createElement(We,yt({},e,{key:"label-implicit"},n)):null},cC=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&n&&!t.label)return null;var{children:i,labelRef:a}=t,o=Th(t),s=W1(i,We).map((c,l)=>E.cloneElement(c,{viewBox:r||o,key:"label-".concat(l)}));if(!n)return s;var u=lC(t.label,r||o,a);return[u,...s]};We.parseViewBox=Th;We.renderCallByParent=cC;var Va={},Ha={},o1;function fC(){return o1||(o1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return r[r.length-1]}e.last=t})(Ha)),Ha}var Ga={},s1;function dC(){return s1||(s1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return Array.isArray(r)?r:Array.from(r)}e.toArray=t})(Ga)),Ga}var u1;function hC(){return u1||(u1=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=fC(),r=dC(),n=so();function i(a){if(n.isArrayLike(a))return t.last(r.toArray(a))}e.last=i})(Va)),Va}var Ya,l1;function pC(){return l1||(l1=1,Ya=hC().last),Ya}var vC=pC();const mC=_.getDefaultExportFromCjs(vC);var yC=["valueAccessor"],gC=["data","dataKey","clockWise","id","textBreakAll"];function Ti(){return Ti=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ti.apply(null,arguments)}function c1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function f1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?c1(Object(r),!0).forEach(function(n){bC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function bC(e,t,r){return(t=CC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CC(e){var t=xC(e,"string");return typeof t=="symbol"?t:t+""}function xC(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function d1(e,t){if(e==null)return{};var r,n,i=wC(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function wC(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var OC=e=>Array.isArray(e.value)?mC(e.value):e.value;function Lt(e){var{valueAccessor:t=OC}=e,r=d1(e,yC),{data:n,dataKey:i,clockWise:a,id:o,textBreakAll:s}=r,u=d1(r,gC);return!n||!n.length?null:x.createElement(st,{className:"recharts-label-list"},n.map((c,l)=>{var f=ue(i)?t(c,l):Oe(c&&c.payload,i),h=ue(o)?{}:{id:"".concat(o,"-").concat(l)};return x.createElement(We,Ti({},le(c,!0),u,h,{parentViewBox:c.parentViewBox,value:f,textBreakAll:s,viewBox:We.parseViewBox(ue(a)?c:f1(f1({},c),{},{clockWise:a})),key:"label-".concat(l),index:l}))}))}Lt.displayName="LabelList";function EC(e,t){return e?e===!0?x.createElement(Lt,{key:"labelList-implicit",data:t}):x.isValidElement(e)||Ps(e)?x.createElement(Lt,{key:"labelList-implicit",data:t,content:e}):typeof e=="object"?x.createElement(Lt,Ti({data:t},e,{key:"labelList-implicit"})):null:null}function PC(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&r&&!e.label)return null;var{children:n}=e,i=W1(n,Lt).map((o,s)=>E.cloneElement(o,{data:t,key:"labelList-".concat(s)}));if(!r)return i;var a=EC(e.label,t);return[a,...i]}Lt.renderCallByParent=PC;function V0(){return V0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},V0.apply(null,arguments)}var As=e=>{var{cx:t,cy:r,r:n,className:i}=e,a=Q.clsx("recharts-dot",i);return t===+t&&r===+r&&n===+n?x.createElement("circle",V0({},Ft(e),ao(e),{className:a,cx:t,cy:r,r:n})):null},AC={radiusAxis:{},angleAxis:{}},Dh=Ye({name:"polarAxis",initialState:AC,reducers:{addRadiusAxis(e,t){e.radiusAxis[t.payload.id]=t.payload},removeRadiusAxis(e,t){delete e.radiusAxis[t.payload.id]},addAngleAxis(e,t){e.angleAxis[t.payload.id]=t.payload},removeAngleAxis(e,t){delete e.angleAxis[t.payload.id]}}}),{addRadiusAxis:kE,removeRadiusAxis:TE,addAngleAxis:DE,removeAngleAxis:NE}=Dh.actions,_C=Dh.reducer;function Nh(e){var{fn:t,args:r}=e,n=ke(),i=Re();return E.useEffect(()=>{if(!i){var a=t(r);return n(Wy(a)),()=>{n(Uy(a))}}},[t,r,n,i]),null}var SC=()=>{};function Ih(e){var{legendPayload:t}=e,r=ke(),n=Re();return E.useEffect(()=>n?SC:(r(k4(t)),()=>{r(T4(t))}),[r,n,t]),null}function Rh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"animation-",r=E.useRef(Zr(t)),n=E.useRef(e);return n.current!==e&&(r.current=Zr(t),n.current=e),r.current}var Za,jC=()=>{var[e]=x.useState(()=>Zr("uid-"));return e},MC=(Za=x.useId)!==null&&Za!==void 0?Za:jC;function kC(e,t){var r=MC();return t||(e?"".concat(e,"-").concat(r):r)}var TC=E.createContext(void 0),$h=e=>{var{id:t,type:r,children:n}=e,i=kC("recharts-".concat(r),t);return x.createElement(TC.Provider,{value:i},n(i))},DC={cartesianItems:[],polarItems:[]},Lh=Ye({name:"graphicalItems",initialState:DC,reducers:{addCartesianGraphicalItem(e,t){e.cartesianItems.push(t.payload)},replaceCartesianGraphicalItem(e,t){var{prev:r,next:n}=t.payload,i=Ct(e).cartesianItems.indexOf(r);i>-1&&(e.cartesianItems[i]=n)},removeCartesianGraphicalItem(e,t){var r=Ct(e).cartesianItems.indexOf(t.payload);r>-1&&e.cartesianItems.splice(r,1)},addPolarGraphicalItem(e,t){e.polarItems.push(t.payload)},removePolarGraphicalItem(e,t){var r=Ct(e).polarItems.indexOf(t.payload);r>-1&&e.polarItems.splice(r,1)}}}),{addCartesianGraphicalItem:NC,replaceCartesianGraphicalItem:IC,removeCartesianGraphicalItem:RC,addPolarGraphicalItem:IE,removePolarGraphicalItem:RE}=Lh.actions,$C=Lh.reducer;function Bh(e){var t=ke(),r=E.useRef(null);return E.useEffect(()=>{r.current===null?t(NC(e)):r.current!==e&&t(IC({prev:r.current,next:e})),r.current=e},[t,e]),E.useEffect(()=>()=>{r.current&&(t(RC(r.current)),r.current=null)},[t]),null}function LC(){}var BC={begin:0,duration:1e3,easing:"ease",isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}},h1={t:0},Xa={t:1};function Fh(e){var t=pt(e,BC),{isActive:r,canBegin:n,duration:i,easing:a,begin:o,onAnimationEnd:s,onAnimationStart:u,children:c}=t,l=vd("JavascriptAnimate",t.animationManager),[f,h]=E.useState(r?h1:Xa),d=E.useRef(null);return E.useEffect(()=>{r||h(Xa)},[r]),E.useEffect(()=>{if(!r||!n)return LC;var p=pd(h1,Xa,dd(a),i,h,l.getTimeoutController()),m=()=>{d.current=p()};return l.start([u,o,m,i,s]),()=>{l.stop(),d.current&&d.current(),s()}},[r,n,i,a,o,u,s,l]),c(f.t)}var FC=A([Ee],e=>{if(e)return{top:e.top,bottom:e.bottom,left:e.left,right:e.right}}),zC=A([FC,_t,St],(e,t,r)=>{if(!(!e||t==null||r==null))return{x:e.left,y:e.top,width:Math.max(0,t-e.left-e.right),height:Math.max(0,r-e.top-e.bottom)}}),x2=()=>F(zC),qC=()=>F(Dg);function p1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function v1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?p1(Object(r),!0).forEach(function(n){WC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function WC(e,t,r){return(t=UC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function UC(e){var t=KC(e,"string");return typeof t=="symbol"?t:t+""}function KC(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var VC=e=>{var{point:t,childIndex:r,mainColor:n,activeDot:i,dataKey:a}=e;if(i===!1||t.x==null||t.y==null)return null;var o=v1(v1({index:r,dataKey:a,cx:t.x,cy:t.y,r:4,fill:n??"none",strokeWidth:2,stroke:"#fff",payload:t.payload,value:t.value},le(i,!1)),ao(i)),s;return E.isValidElement(i)?s=E.cloneElement(i,o):typeof i=="function"?s=i(o):s=x.createElement(As,o),x.createElement(st,{className:"recharts-active-dot"},s)};function H0(e){var{points:t,mainColor:r,activeDot:n,itemDataKey:i}=e,a=F(fn),o=qC();if(t==null||o==null)return null;var s=t.find(u=>o.includes(u.payload));return ue(s)?null:VC({point:s,childIndex:Number(a),mainColor:r,dataKey:i,activeDot:n})}var HC={},zh=Ye({name:"errorBars",initialState:HC,reducers:{addErrorBar:(e,t)=>{var{itemId:r,errorBar:n}=t.payload;e[r]||(e[r]=[]),e[r].push(n)},removeErrorBar:(e,t)=>{var{itemId:r,errorBar:n}=t.payload;e[r]&&(e[r]=e[r].filter(i=>i.dataKey!==n.dataKey||i.direction!==n.direction))}}}),{addErrorBar:$E,removeErrorBar:LE}=zh.actions,GC=zh.reducer,YC=["children"];function ZC(e,t){if(e==null)return{};var r,n,i=XC(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function XC(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var QC={data:[],xAxisId:"xAxis-0",yAxisId:"yAxis-0",dataPointFormatter:()=>({x:0,y:0,value:0}),errorBarOffset:0},JC=E.createContext(QC);function ex(e){var{children:t}=e,r=ZC(e,YC);return x.createElement(JC.Provider,{value:r},t)}function _s(e,t){var r,n,i=F(c=>Mt(c,e)),a=F(c=>Ut(c,t)),o=(r=i?.allowDataOverflow)!==null&&r!==void 0?r:Fe.allowDataOverflow,s=(n=a?.allowDataOverflow)!==null&&n!==void 0?n:ze.allowDataOverflow,u=o||s;return{needClip:u,needClipX:o,needClipY:s}}function qh(e){var{xAxisId:t,yAxisId:r,clipPathId:n}=e,i=x2(),{needClipX:a,needClipY:o,needClip:s}=_s(t,r);if(!s)return null;var{x:u,y:c,width:l,height:f}=i;return x.createElement("clipPath",{id:"clipPath-".concat(n)},x.createElement("rect",{x:a?u:u-l/2,y:o?c:c-f/2,width:a?l:l*2,height:o?f:f*2}))}var tx=e=>{var{chartData:t}=e,r=ke(),n=Re();return E.useEffect(()=>n?()=>{}:(r(Bc(t)),()=>{r(Bc(void 0))}),[t,r,n]),null},m1={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},Wh=Ye({name:"brush",initialState:m1,reducers:{setBrushSettings(e,t){return t.payload==null?m1:t.payload}}}),{setBrushSettings:BE}=Wh.actions,rx=Wh.reducer;function nx(e,t,r){return(t=ix(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ix(e){var t=ax(e,"string");return typeof t=="symbol"?t:t+""}function ax(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class Ss{static create(t){return new Ss(t)}constructor(t){this.scale=t}get domain(){return this.scale.domain}get range(){return this.scale.range}get rangeMin(){return this.range()[0]}get rangeMax(){return this.range()[1]}get bandwidth(){return this.scale.bandwidth}apply(t){var{bandAware:r,position:n}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t!==void 0){if(n)switch(n){case"start":return this.scale(t);case"middle":{var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i}case"end":{var a=this.bandwidth?this.bandwidth():0;return this.scale(t)+a}default:return this.scale(t)}if(r){var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o}return this.scale(t)}}isInRange(t){var r=this.range(),n=r[0],i=r[r.length-1];return n<=i?t>=n&&t<=i:t>=i&&t<=n}}nx(Ss,"EPS",1e-4);function ox(e){return(e%180+180)%180}var sx=function(t){var{width:r,height:n}=t,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=ox(i),o=a*Math.PI/180,s=Math.atan(n/r),u=o>s&&o<Math.PI-s?n/Math.sin(o):r/Math.cos(o);return Math.abs(u)},ux={dots:[],areas:[],lines:[]},Uh=Ye({name:"referenceElements",initialState:ux,reducers:{addDot:(e,t)=>{e.dots.push(t.payload)},removeDot:(e,t)=>{var r=Ct(e).dots.findIndex(n=>n===t.payload);r!==-1&&e.dots.splice(r,1)},addArea:(e,t)=>{e.areas.push(t.payload)},removeArea:(e,t)=>{var r=Ct(e).areas.findIndex(n=>n===t.payload);r!==-1&&e.areas.splice(r,1)},addLine:(e,t)=>{e.lines.push(t.payload)},removeLine:(e,t)=>{var r=Ct(e).lines.findIndex(n=>n===t.payload);r!==-1&&e.lines.splice(r,1)}}}),{addDot:FE,removeDot:zE,addArea:qE,removeArea:WE,addLine:UE,removeLine:KE}=Uh.actions,lx=Uh.reducer,cx=E.createContext(void 0),fx=e=>{var{children:t}=e,[r]=E.useState("".concat(Zr("recharts"),"-clip")),n=x2();if(n==null)return null;var{x:i,y:a,width:o,height:s}=n;return x.createElement(cx.Provider,{value:r},x.createElement("defs",null,x.createElement("clipPath",{id:r},x.createElement("rect",{x:i,y:a,height:s,width:o}))),t)};function Qa(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function Kh(e,t,r){if(t<1)return[];if(t===1&&r===void 0)return e;for(var n=[],i=0;i<e.length;i+=t)n.push(e[i]);return n}function dx(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return sx(n,r)}function hx(e,t,r){var n=r==="width",{x:i,y:a,width:o,height:s}=e;return t===1?{start:n?i:a,end:n?i+o:a+s}:{start:n?i+o:a+s,end:n?i:a}}function Di(e,t,r,n,i){if(e*t<e*n||e*t>e*i)return!1;var a=r();return e*(t-e*a/2-n)>=0&&e*(t+e*a/2-i)<=0}function px(e,t){return Kh(e,t+1)}function vx(e,t,r,n,i){for(var a=(n||[]).slice(),{start:o,end:s}=t,u=0,c=1,l=o,f=function(){var p=n?.[u];if(p===void 0)return{v:Kh(n,c)};var m=u,v,y=()=>(v===void 0&&(v=r(p,m)),v),b=p.coordinate,g=u===0||Di(e,b,y,l,s);g||(u=0,l=o,c+=1),g&&(l=b+e*(y()/2+i),u+=c)},h;c<=a.length;)if(h=f(),h)return h.v;return[]}function y1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ae(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?y1(Object(r),!0).forEach(function(n){mx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mx(e,t,r){return(t=yx(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yx(e){var t=gx(e,"string");return typeof t=="symbol"?t:t+""}function gx(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bx(e,t,r,n,i){for(var a=(n||[]).slice(),o=a.length,{start:s}=t,{end:u}=t,c=function(h){var d=a[h],p,m=()=>(p===void 0&&(p=r(d,h)),p);if(h===o-1){var v=e*(d.coordinate+e*m()/2-u);a[h]=d=Ae(Ae({},d),{},{tickCoord:v>0?d.coordinate-v*e:d.coordinate})}else a[h]=d=Ae(Ae({},d),{},{tickCoord:d.coordinate});var y=Di(e,d.tickCoord,m,s,u);y&&(u=d.tickCoord-e*(m()/2+i),a[h]=Ae(Ae({},d),{},{isShow:!0}))},l=o-1;l>=0;l--)c(l);return a}function Cx(e,t,r,n,i,a){var o=(n||[]).slice(),s=o.length,{start:u,end:c}=t;if(a){var l=n[s-1],f=r(l,s-1),h=e*(l.coordinate+e*f/2-c);o[s-1]=l=Ae(Ae({},l),{},{tickCoord:h>0?l.coordinate-h*e:l.coordinate});var d=Di(e,l.tickCoord,()=>f,u,c);d&&(c=l.tickCoord-e*(f/2+i),o[s-1]=Ae(Ae({},l),{},{isShow:!0}))}for(var p=a?s-1:s,m=function(b){var g=o[b],w,C=()=>(w===void 0&&(w=r(g,b)),w);if(b===0){var O=e*(g.coordinate-e*C()/2-u);o[b]=g=Ae(Ae({},g),{},{tickCoord:O<0?g.coordinate-O*e:g.coordinate})}else o[b]=g=Ae(Ae({},g),{},{tickCoord:g.coordinate});var P=Di(e,g.tickCoord,C,u,c);P&&(u=g.tickCoord+e*(C()/2+i),o[b]=Ae(Ae({},g),{},{isShow:!0}))},v=0;v<p;v++)m(v);return o}function js(e,t,r){var{tick:n,ticks:i,viewBox:a,minTickGap:o,orientation:s,interval:u,tickFormatter:c,unit:l,angle:f}=e;if(!i||!i.length||!n)return[];if(N(u)||jr.isSsr){var h;return(h=px(i,N(u)?u:0))!==null&&h!==void 0?h:[]}var d=[],p=s==="top"||s==="bottom"?"width":"height",m=l&&p==="width"?Yr(l,{fontSize:t,letterSpacing:r}):{width:0,height:0},v=(g,w)=>{var C=typeof c=="function"?c(g.value,w):g.value;return p==="width"?dx(Yr(C,{fontSize:t,letterSpacing:r}),m,f):Yr(C,{fontSize:t,letterSpacing:r})[p]},y=i.length>=2?Je(i[1].coordinate-i[0].coordinate):1,b=hx(a,y,p);return u==="equidistantPreserveStart"?vx(y,b,v,i,o):(u==="preserveStart"||u==="preserveStartEnd"?d=Cx(y,b,v,i,o,u==="preserveStartEnd"):d=bx(y,b,v,i,o),d.filter(g=>g.isShow))}var xx=["viewBox"],wx=["viewBox"];function gr(){return gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gr.apply(null,arguments)}function g1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function de(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?g1(Object(r),!0).forEach(function(n){Ms(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function b1(e,t){if(e==null)return{};var r,n,i=Ox(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Ox(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function Ms(e,t,r){return(t=Ex(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ex(e){var t=Px(e,"string");return typeof t=="symbol"?t:t+""}function Px(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class Kt extends E.Component{constructor(t){super(t),this.tickRefs=x.createRef(),this.tickRefs.current=[],this.state={fontSize:"",letterSpacing:""}}shouldComponentUpdate(t,r){var{viewBox:n}=t,i=b1(t,xx),a=this.props,{viewBox:o}=a,s=b1(a,wx);return!Qa(n,o)||!Qa(i,s)||!Qa(r,this.state)}getTickLineCoord(t){var{x:r,y:n,width:i,height:a,orientation:o,tickSize:s,mirror:u,tickMargin:c}=this.props,l,f,h,d,p,m,v=u?-1:1,y=t.tickSize||s,b=N(t.tickCoord)?t.tickCoord:t.coordinate;switch(o){case"top":l=f=t.coordinate,d=n+ +!u*a,h=d-v*y,m=h-v*c,p=b;break;case"left":h=d=t.coordinate,f=r+ +!u*i,l=f-v*y,p=l-v*c,m=b;break;case"right":h=d=t.coordinate,f=r+ +u*i,l=f+v*y,p=l+v*c,m=b;break;default:l=f=t.coordinate,d=n+ +u*a,h=d+v*y,m=h+v*c,p=b;break}return{line:{x1:l,y1:h,x2:f,y2:d},tick:{x:p,y:m}}}getTickTextAnchor(){var{orientation:t,mirror:r}=this.props,n;switch(t){case"left":n=r?"start":"end";break;case"right":n=r?"end":"start";break;default:n="middle";break}return n}getTickVerticalAnchor(){var{orientation:t,mirror:r}=this.props;switch(t){case"left":case"right":return"middle";case"top":return r?"start":"end";default:return r?"end":"start"}}renderAxisLine(){var{x:t,y:r,width:n,height:i,orientation:a,mirror:o,axisLine:s}=this.props,u=de(de(de({},le(this.props,!1)),le(s,!1)),{},{fill:"none"});if(a==="top"||a==="bottom"){var c=+(a==="top"&&!o||a==="bottom"&&o);u=de(de({},u),{},{x1:t,y1:r+c*i,x2:t+n,y2:r+c*i})}else{var l=+(a==="left"&&!o||a==="right"&&o);u=de(de({},u),{},{x1:t+l*n,y1:r,x2:t+l*n,y2:r+i})}return x.createElement("line",gr({},u,{className:Q.clsx("recharts-cartesian-axis-line",ur(s,"className"))}))}static renderTickItem(t,r,n){var i,a=Q.clsx(r.className,"recharts-cartesian-axis-tick-value");if(x.isValidElement(t))i=x.cloneElement(t,de(de({},r),{},{className:a}));else if(typeof t=="function")i=t(de(de({},r),{},{className:a}));else{var o="recharts-cartesian-axis-tick-value";typeof t!="boolean"&&(o=Q.clsx(o,t.className)),i=x.createElement(Es,gr({},r,{className:o}),n)}return i}renderTicks(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],{tickLine:i,stroke:a,tick:o,tickFormatter:s,unit:u,padding:c}=this.props,l=js(de(de({},this.props),{},{ticks:n}),t,r),f=this.getTickTextAnchor(),h=this.getTickVerticalAnchor(),d=Ft(this.props),p=le(o,!1),m=de(de({},d),{},{fill:"none"},le(i,!1)),v=l.map((y,b)=>{var{line:g,tick:w}=this.getTickLineCoord(y),C=de(de(de(de({textAnchor:f,verticalAnchor:h},d),{},{stroke:"none",fill:a},p),w),{},{index:b,payload:y,visibleTicksCount:l.length,tickFormatter:s,padding:c});return x.createElement(st,gr({className:"recharts-cartesian-axis-tick",key:"tick-".concat(y.value,"-").concat(y.coordinate,"-").concat(y.tickCoord)},G8(this.props,y,b)),i&&x.createElement("line",gr({},m,g,{className:Q.clsx("recharts-cartesian-axis-tick-line",ur(i,"className"))})),o&&Kt.renderTickItem(o,C,"".concat(typeof s=="function"?s(y.value,b):y.value).concat(u||"")))});return v.length>0?x.createElement("g",{className:"recharts-cartesian-axis-ticks"},v):null}render(){var{axisLine:t,width:r,height:n,className:i,hide:a}=this.props;if(a)return null;var{ticks:o}=this.props;return r!=null&&r<=0||n!=null&&n<=0?null:x.createElement(st,{className:Q.clsx("recharts-cartesian-axis",i),ref:s=>{if(s){var u=s.getElementsByClassName("recharts-cartesian-axis-tick-value");this.tickRefs.current=Array.from(u);var c=u[0];if(c){var l=window.getComputedStyle(c).fontSize,f=window.getComputedStyle(c).letterSpacing;(l!==this.state.fontSize||f!==this.state.letterSpacing)&&this.setState({fontSize:window.getComputedStyle(c).fontSize,letterSpacing:window.getComputedStyle(c).letterSpacing})}}}},t&&this.renderAxisLine(),this.renderTicks(this.state.fontSize,this.state.letterSpacing,o),We.renderCallByParent(this.props))}}Ms(Kt,"displayName","CartesianAxis");Ms(Kt,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var Ax=["x1","y1","x2","y2","key"],_x=["offset"],Sx=["xAxisId","yAxisId"],jx=["xAxisId","yAxisId"];function C1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function _e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?C1(Object(r),!0).forEach(function(n){Mx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Mx(e,t,r){return(t=kx(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kx(e){var t=Tx(e,"string");return typeof t=="symbol"?t:t+""}function Tx(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rr.apply(null,arguments)}function Ni(e,t){if(e==null)return{};var r,n,i=Dx(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Dx(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var Nx=e=>{var{fill:t}=e;if(!t||t==="none")return null;var{fillOpacity:r,x:n,y:i,width:a,height:o,ry:s}=e;return x.createElement("rect",{x:n,y:i,ry:s,width:a,height:o,stroke:"none",fill:t,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function Vh(e,t){var r;if(x.isValidElement(e))r=x.cloneElement(e,t);else if(typeof e=="function")r=e(t);else{var{x1:n,y1:i,x2:a,y2:o,key:s}=t,u=Ni(t,Ax),c=Ft(u),{offset:l}=c,f=Ni(c,_x);r=x.createElement("line",rr({},f,{x1:n,y1:i,x2:a,y2:o,fill:"none",key:s}))}return r}function Ix(e){var{x:t,width:r,horizontal:n=!0,horizontalPoints:i}=e;if(!n||!i||!i.length)return null;var{xAxisId:a,yAxisId:o}=e,s=Ni(e,Sx),u=i.map((c,l)=>{var f=_e(_e({},s),{},{x1:t,y1:c,x2:t+r,y2:c,key:"line-".concat(l),index:l});return Vh(n,f)});return x.createElement("g",{className:"recharts-cartesian-grid-horizontal"},u)}function Rx(e){var{y:t,height:r,vertical:n=!0,verticalPoints:i}=e;if(!n||!i||!i.length)return null;var{xAxisId:a,yAxisId:o}=e,s=Ni(e,jx),u=i.map((c,l)=>{var f=_e(_e({},s),{},{x1:c,y1:t,x2:c,y2:t+r,key:"line-".concat(l),index:l});return Vh(n,f)});return x.createElement("g",{className:"recharts-cartesian-grid-vertical"},u)}function $x(e){var{horizontalFill:t,fillOpacity:r,x:n,y:i,width:a,height:o,horizontalPoints:s,horizontal:u=!0}=e;if(!u||!t||!t.length)return null;var c=s.map(f=>Math.round(f+i-i)).sort((f,h)=>f-h);i!==c[0]&&c.unshift(0);var l=c.map((f,h)=>{var d=!c[h+1],p=d?i+o-f:c[h+1]-f;if(p<=0)return null;var m=h%t.length;return x.createElement("rect",{key:"react-".concat(h),y:f,x:n,height:p,width:a,stroke:"none",fill:t[m],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return x.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},l)}function Lx(e){var{vertical:t=!0,verticalFill:r,fillOpacity:n,x:i,y:a,width:o,height:s,verticalPoints:u}=e;if(!t||!r||!r.length)return null;var c=u.map(f=>Math.round(f+i-i)).sort((f,h)=>f-h);i!==c[0]&&c.unshift(0);var l=c.map((f,h)=>{var d=!c[h+1],p=d?i+o-f:c[h+1]-f;if(p<=0)return null;var m=h%r.length;return x.createElement("rect",{key:"react-".concat(h),x:f,y:a,width:p,height:s,stroke:"none",fill:r[m],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return x.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},l)}var Bx=(e,t)=>{var{xAxis:r,width:n,height:i,offset:a}=e;return Yf(js(_e(_e(_e({},Kt.defaultProps),r),{},{ticks:Zf(r),viewBox:{x:0,y:0,width:n,height:i}})),a.left,a.left+a.width,t)},Fx=(e,t)=>{var{yAxis:r,width:n,height:i,offset:a}=e;return Yf(js(_e(_e(_e({},Kt.defaultProps),r),{},{ticks:Zf(r),viewBox:{x:0,y:0,width:n,height:i}})),a.top,a.top+a.height,t)},zx={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[],xAxisId:0,yAxisId:0};function Hh(e){var t=ed(),r=td(),n=Jf(),i=_e(_e({},pt(e,zx)),{},{x:N(e.x)?e.x:n.left,y:N(e.y)?e.y:n.top,width:N(e.width)?e.width:n.width,height:N(e.height)?e.height:n.height}),{xAxisId:a,yAxisId:o,x:s,y:u,width:c,height:l,syncWithTicks:f,horizontalValues:h,verticalValues:d}=i,p=Re(),m=F(M=>Mc(M,"xAxis",a,p)),v=F(M=>Mc(M,"yAxis",o,p));if(!N(c)||c<=0||!N(l)||l<=0||!N(s)||s!==+s||!N(u)||u!==+u)return null;var y=i.verticalCoordinatesGenerator||Bx,b=i.horizontalCoordinatesGenerator||Fx,{horizontalPoints:g,verticalPoints:w}=i;if((!g||!g.length)&&typeof b=="function"){var C=h&&h.length,O=b({yAxis:v?_e(_e({},v),{},{ticks:C?h:v.ticks}):void 0,width:t,height:r,offset:n},C?!0:f);Gr(Array.isArray(O),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(typeof O,"]")),Array.isArray(O)&&(g=O)}if((!w||!w.length)&&typeof y=="function"){var P=d&&d.length,S=y({xAxis:m?_e(_e({},m),{},{ticks:P?d:m.ticks}):void 0,width:t,height:r,offset:n},P?!0:f);Gr(Array.isArray(S),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(typeof S,"]")),Array.isArray(S)&&(w=S)}return x.createElement("g",{className:"recharts-cartesian-grid"},x.createElement(Nx,{fill:i.fill,fillOpacity:i.fillOpacity,x:i.x,y:i.y,width:i.width,height:i.height,ry:i.ry}),x.createElement($x,rr({},i,{horizontalPoints:g})),x.createElement(Lx,rr({},i,{verticalPoints:w})),x.createElement(Ix,rr({},i,{offset:n,horizontalPoints:g,xAxis:m,yAxis:v})),x.createElement(Rx,rr({},i,{offset:n,verticalPoints:w,xAxis:m,yAxis:v})))}Hh.displayName="CartesianGrid";var Gh=(e,t,r,n)=>b2(e,"xAxis",t,n),Yh=(e,t,r,n)=>g2(e,"xAxis",t,n),Zh=(e,t,r,n)=>b2(e,"yAxis",r,n),Xh=(e,t,r,n)=>g2(e,"yAxis",r,n),qx=A([X,Gh,Zh,Yh,Xh],(e,t,r,n,i)=>ht(e,"xAxis")?en(t,n,!1):en(r,i,!1)),Wx=(e,t,r,n,i)=>i;function Ux(e){return e.type==="line"}var Kx=A([ss,Wx],(e,t)=>e.filter(Ux).find(r=>r.id===t)),Vx=A([X,Gh,Zh,Yh,Xh,Kx,qx,u2],(e,t,r,n,i,a,o,s)=>{var{chartData:u,dataStartIndex:c,dataEndIndex:l}=s;if(!(a==null||t==null||r==null||n==null||i==null||n.length===0||i.length===0||o==null)){var{dataKey:f,data:h}=a,d;if(h!=null&&h.length>0?d=h:d=u?.slice(c,l+1),d!=null)return hw({layout:e,xAxis:t,yAxis:r,xAxisTicks:n,yAxisTicks:i,dataKey:f,bandSize:o,displayedData:d})}}),Hx=["id"],Gx=["type","layout","connectNulls","needClip"],Yx=["activeDot","animateNewValues","animationBegin","animationDuration","animationEasing","connectNulls","dot","hide","isAnimationActive","label","legendType","xAxisId","yAxisId","id"];function x1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function at(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?x1(Object(r),!0).forEach(function(n){Zx(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Zx(e,t,r){return(t=Xx(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xx(e){var t=Qx(e,"string");return typeof t=="symbol"?t:t+""}function Qx(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ks(e,t){if(e==null)return{};var r,n,i=Jx(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Jx(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function dr(){return dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dr.apply(null,arguments)}var ew=e=>{var{dataKey:t,name:r,stroke:n,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:n,value:Gi(r,t),payload:e}]};function tw(e){var{dataKey:t,data:r,stroke:n,strokeWidth:i,fill:a,name:o,hide:s,unit:u}=e;return{dataDefinedOnItem:r,positions:void 0,settings:{stroke:n,strokeWidth:i,fill:a,dataKey:t,nameKey:void 0,name:Gi(o,t),hide:s,type:e.tooltipType,color:e.stroke,unit:u}}}var Qh=(e,t)=>"".concat(t,"px ").concat(e-t,"px");function rw(e,t){for(var r=e.length%2!==0?[...e,0]:e,n=[],i=0;i<t;++i)n=[...n,...r];return n}var nw=(e,t,r)=>{var n=r.reduce((f,h)=>f+h);if(!n)return Qh(t,e);for(var i=Math.floor(e/n),a=e%n,o=t-e,s=[],u=0,c=0;u<r.length;c+=r[u],++u)if(c+r[u]>a){s=[...r.slice(0,u),a-c];break}var l=s.length%2===0?[0,o]:[o];return[...rw(r,i),...s,...l].map(f=>"".concat(f,"px")).join(", ")};function iw(e,t){var r;if(x.isValidElement(e))r=x.cloneElement(e,t);else if(typeof e=="function")r=e(t);else{var n=Q.clsx("recharts-line-dot",typeof e!="boolean"?e.className:"");r=x.createElement(As,dr({},t,{className:n}))}return r}function aw(e,t){return e==null?!1:t?!0:e.length===1}function ow(e){var{clipPathId:t,points:r,props:n}=e,{dot:i,dataKey:a,needClip:o}=n;if(!aw(r,i))return null;var{id:s}=n,u=ks(n,Hx),c=$i(i),l=Ft(u),f=le(i,!0),h=r.map((p,m)=>{var v=at(at(at({key:"dot-".concat(m),r:3},l),f),{},{index:m,cx:p.x,cy:p.y,dataKey:a,value:p.value,payload:p.payload,points:r});return iw(i,v)}),d={clipPath:o?"url(#clipPath-".concat(c?"":"dots-").concat(t,")"):void 0};return x.createElement(st,dr({className:"recharts-line-dots",key:"dots"},d),h)}function G0(e){var{clipPathId:t,pathRef:r,points:n,strokeDasharray:i,props:a,showLabels:o}=e,{type:s,layout:u,connectNulls:c,needClip:l}=a,f=ks(a,Gx),h=at(at({},le(f,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:l?"url(#clipPath-".concat(t,")"):void 0,points:n,type:s,layout:u,connectNulls:c,strokeDasharray:i??a.strokeDasharray});return x.createElement(x.Fragment,null,n?.length>1&&x.createElement(Hr,dr({},h,{pathRef:r})),x.createElement(ow,{points:n,clipPathId:t,props:a}),o&&Lt.renderCallByParent(a,n))}function sw(e){try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch{return 0}}function uw(e){var{clipPathId:t,props:r,pathRef:n,previousPointsRef:i,longestAnimatedLengthRef:a}=e,{points:o,strokeDasharray:s,isAnimationActive:u,animationBegin:c,animationDuration:l,animationEasing:f,animateNewValues:h,width:d,height:p,onAnimationEnd:m,onAnimationStart:v}=r,y=i.current,b=Rh(r,"recharts-line-"),[g,w]=E.useState(!1),C=E.useCallback(()=>{typeof m=="function"&&m(),w(!1)},[m]),O=E.useCallback(()=>{typeof v=="function"&&v(),w(!0)},[v]),P=sw(n.current),S=a.current;return x.createElement(Fh,{begin:c,duration:l,isActive:u,easing:f,onAnimationEnd:C,onAnimationStart:O,key:b},M=>{var z=it(S,P+S,M),k=Math.min(z,P),T;if(s){var W="".concat(s).split(/[,\s]+/gim).map(Y=>parseFloat(Y));T=nw(k,P,W)}else T=Qh(P,k);if(y){var K=y.length/o.length,te=M===1?o:o.map((Y,B)=>{var q=Math.floor(B*K);if(y[q]){var R=y[q];return at(at({},Y),{},{x:it(R.x,Y.x,M),y:it(R.y,Y.y,M)})}return h?at(at({},Y),{},{x:it(d*2,Y.x,M),y:it(p/2,Y.y,M)}):at(at({},Y),{},{x:Y.x,y:Y.y})});return i.current=te,x.createElement(G0,{props:r,points:te,clipPathId:t,pathRef:n,showLabels:!g,strokeDasharray:T})}return M>0&&P>0&&(i.current=o,a.current=k),x.createElement(G0,{props:r,points:o,clipPathId:t,pathRef:n,showLabels:!g,strokeDasharray:T})})}function lw(e){var{clipPathId:t,props:r}=e,{points:n,isAnimationActive:i}=r,a=E.useRef(null),o=E.useRef(0),s=E.useRef(null),u=a.current;return i&&n&&n.length&&u!==n?x.createElement(uw,{props:r,clipPathId:t,previousPointsRef:a,longestAnimatedLengthRef:o,pathRef:s}):x.createElement(G0,{props:r,points:n,clipPathId:t,pathRef:s,showLabels:!0})}var cw=(e,t)=>({x:e.x,y:e.y,value:e.value,errorVal:Oe(e.payload,t)});class fw extends E.Component{render(){var t,{hide:r,dot:n,points:i,className:a,xAxisId:o,yAxisId:s,top:u,left:c,width:l,height:f,id:h,needClip:d}=this.props;if(r)return null;var p=Q.clsx("recharts-line",a),m=h,{r:v=3,strokeWidth:y=2}=(t=le(n,!1))!==null&&t!==void 0?t:{r:3,strokeWidth:2},b=$i(n),g=v*2+y;return x.createElement(x.Fragment,null,x.createElement(st,{className:p},d&&x.createElement("defs",null,x.createElement(qh,{clipPathId:m,xAxisId:o,yAxisId:s}),!b&&x.createElement("clipPath",{id:"clipPath-dots-".concat(m)},x.createElement("rect",{x:c-g/2,y:u-g/2,width:l+g,height:f+g}))),x.createElement(lw,{props:this.props,clipPathId:m}),x.createElement(ex,{xAxisId:o,yAxisId:s,data:i,dataPointFormatter:cw,errorBarOffset:0},this.props.children)),x.createElement(H0,{activeDot:this.props.activeDot,points:i,mainColor:this.props.stroke,itemDataKey:this.props.dataKey}))}}var Jh={activeDot:!0,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",connectNulls:!1,dot:!0,fill:"#fff",hide:!1,isAnimationActive:!jr.isSsr,label:!1,legendType:"line",stroke:"#3182bd",strokeWidth:1,xAxisId:0,yAxisId:0};function dw(e){var t=pt(e,Jh),{activeDot:r,animateNewValues:n,animationBegin:i,animationDuration:a,animationEasing:o,connectNulls:s,dot:u,hide:c,isAnimationActive:l,label:f,legendType:h,xAxisId:d,yAxisId:p,id:m}=t,v=ks(t,Yx),{needClip:y}=_s(d,p),b=x2(),g=Qi(),w=Re(),C=F(z=>Vx(z,d,p,w,m));if(g!=="horizontal"&&g!=="vertical"||C==null||b==null)return null;var{height:O,width:P,x:S,y:M}=b;return x.createElement(fw,dr({},v,{id:m,connectNulls:s,dot:u,activeDot:r,animateNewValues:n,animationBegin:i,animationDuration:a,animationEasing:o,isAnimationActive:l,hide:c,label:f,legendType:h,xAxisId:d,yAxisId:p,points:C,layout:g,height:O,width:P,left:S,top:M,needClip:y}))}function hw(e){var{layout:t,xAxis:r,yAxis:n,xAxisTicks:i,yAxisTicks:a,dataKey:o,bandSize:s,displayedData:u}=e;return u.map((c,l)=>{var f=Oe(c,o);if(t==="horizontal"){var h=fi({axis:r,ticks:i,bandSize:s,entry:c,index:l}),d=ue(f)?null:n.scale(f);return{x:h,y:d,value:f,payload:c}}var p=ue(f)?null:r.scale(f),m=fi({axis:n,ticks:a,bandSize:s,entry:c,index:l});return p==null||m==null?null:{x:p,y:m,value:f,payload:c}}).filter(Boolean)}function e8(e){var t=pt(e,Jh),r=Re();return x.createElement($h,{id:t.id,type:"line"},n=>x.createElement(x.Fragment,null,x.createElement(Ih,{legendPayload:ew(t)}),x.createElement(Nh,{fn:tw,args:t}),x.createElement(Bh,{type:"line",id:n,data:t.data,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,hide:t.hide,isPanorama:r}),x.createElement(dw,dr({},t,{id:n}))))}e8.displayName="Line";var t8=(e,t,r,n)=>b2(e,"xAxis",t,n),r8=(e,t,r,n)=>g2(e,"xAxis",t,n),n8=(e,t,r,n)=>b2(e,"yAxis",r,n),i8=(e,t,r,n)=>g2(e,"yAxis",r,n),pw=A([X,t8,n8,r8,i8],(e,t,r,n,i)=>ht(e,"xAxis")?en(t,n,!1):en(r,i,!1)),vw=(e,t,r,n,i)=>i,a8=A([ss,vw],(e,t)=>e.filter(r=>r.type==="area").find(r=>r.id===t)),mw=(e,t,r,n,i)=>{var a,o=a8(e,t,r,n,i);if(o!=null){var s=X(e),u=ht(s,"xAxis"),c;if(u?c=F0(e,"yAxis",r,n):c=F0(e,"xAxis",t,n),c!=null){var{stackId:l}=o,f=is(o);if(!(l==null||f==null)){var h=(a=c[l])===null||a===void 0?void 0:a.stackedData;return h?.find(d=>d.key===f)}}}},yw=A([X,t8,n8,r8,i8,mw,u2,pw,a8],(e,t,r,n,i,a,o,s,u)=>{var{chartData:c,dataStartIndex:l,dataEndIndex:f}=o;if(!(u==null||e!=="horizontal"&&e!=="vertical"||t==null||r==null||n==null||i==null||n.length===0||i.length===0||s==null)){var{data:h}=u,d;if(h&&h.length>0?d=h:d=c?.slice(l,f+1),d!=null){var p=void 0;return $w({layout:e,xAxis:t,yAxis:r,xAxisTicks:n,yAxisTicks:i,dataStartIndex:l,areaSettings:u,stackedData:a,displayedData:d,chartBaseValue:p,bandSize:s})}}}),gw=["id"],bw=["activeDot","animationBegin","animationDuration","animationEasing","connectNulls","dot","fill","fillOpacity","hide","isAnimationActive","legendType","stroke","xAxisId","yAxisId"];function o8(e,t){if(e==null)return{};var r,n,i=Cw(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Cw(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function w1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function nr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?w1(Object(r),!0).forEach(function(n){xw(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function xw(e,t,r){return(t=ww(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ww(e){var t=Ow(e,"string");return typeof t=="symbol"?t:t+""}function Ow(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wt(){return wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wt.apply(null,arguments)}function Ii(e,t){return e&&e!=="none"?e:t}var Ew=e=>{var{dataKey:t,name:r,stroke:n,fill:i,legendType:a,hide:o}=e;return[{inactive:o,dataKey:t,type:a,color:Ii(n,i),value:Gi(r,t),payload:e}]};function Pw(e){var{dataKey:t,data:r,stroke:n,strokeWidth:i,fill:a,name:o,hide:s,unit:u}=e;return{dataDefinedOnItem:r,positions:void 0,settings:{stroke:n,strokeWidth:i,fill:a,dataKey:t,nameKey:void 0,name:Gi(o,t),hide:s,type:e.tooltipType,color:Ii(n,a),unit:u}}}var Aw=(e,t)=>{var r;if(x.isValidElement(e))r=x.cloneElement(e,t);else if(typeof e=="function")r=e(t);else{var n=Q.clsx("recharts-area-dot",typeof e!="boolean"?e.className:"");r=x.createElement(As,wt({},t,{className:n}))}return r};function _w(e,t){return e==null?!1:t?!0:e.length===1}function Sw(e){var{clipPathId:t,points:r,props:n}=e,{needClip:i,dot:a,dataKey:o}=n;if(!_w(r,a))return null;var s=$i(a),u=Ft(n),c=le(a,!0),l=r.map((h,d)=>{var p=nr(nr(nr({key:"dot-".concat(d),r:3},u),c),{},{index:d,cx:h.x,cy:h.y,dataKey:o,value:h.value,payload:h.payload,points:r});return Aw(a,p)}),f={clipPath:i?"url(#clipPath-".concat(s?"":"dots-").concat(t,")"):void 0};return x.createElement(st,wt({className:"recharts-area-dots"},f),l)}function Y0(e){var{points:t,baseLine:r,needClip:n,clipPathId:i,props:a,showLabels:o}=e,{layout:s,type:u,stroke:c,connectNulls:l,isRange:f}=a,{id:h}=a,d=o8(a,gw),p=Ft(d);return x.createElement(x.Fragment,null,t?.length>1&&x.createElement(st,{clipPath:n?"url(#clipPath-".concat(i,")"):void 0},x.createElement(Hr,wt({},p,{id:h,points:t,connectNulls:l,type:u,baseLine:r,layout:s,stroke:"none",className:"recharts-area-area"})),c!=="none"&&x.createElement(Hr,wt({},p,{className:"recharts-area-curve",layout:s,type:u,connectNulls:l,fill:"none",points:t})),c!=="none"&&f&&x.createElement(Hr,wt({},p,{className:"recharts-area-curve",layout:s,type:u,connectNulls:l,fill:"none",points:r}))),x.createElement(Sw,{points:t,props:d,clipPathId:i}),o&&Lt.renderCallByParent(d,t))}function jw(e){var{alpha:t,baseLine:r,points:n,strokeWidth:i}=e,a=n[0].y,o=n[n.length-1].y;if(!Me(a)||!Me(o))return null;var s=t*Math.abs(a-o),u=Math.max(...n.map(c=>c.x||0));return N(r)?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(...r.map(c=>c.x||0),u)),N(u)?x.createElement("rect",{x:0,y:a<o?a:a-s,width:u+(i?parseInt("".concat(i),10):1),height:Math.floor(s)}):null}function Mw(e){var{alpha:t,baseLine:r,points:n,strokeWidth:i}=e,a=n[0].x,o=n[n.length-1].x;if(!Me(a)||!Me(o))return null;var s=t*Math.abs(a-o),u=Math.max(...n.map(c=>c.y||0));return N(r)?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(...r.map(c=>c.y||0),u)),N(u)?x.createElement("rect",{x:a<o?a:a-s,y:0,width:s,height:Math.floor(u+(i?parseInt("".concat(i),10):1))}):null}function kw(e){var{alpha:t,layout:r,points:n,baseLine:i,strokeWidth:a}=e;return r==="vertical"?x.createElement(jw,{alpha:t,points:n,baseLine:i,strokeWidth:a}):x.createElement(Mw,{alpha:t,points:n,baseLine:i,strokeWidth:a})}function Tw(e){var{needClip:t,clipPathId:r,props:n,previousPointsRef:i,previousBaselineRef:a}=e,{points:o,baseLine:s,isAnimationActive:u,animationBegin:c,animationDuration:l,animationEasing:f,onAnimationStart:h,onAnimationEnd:d}=n,p=Rh(n,"recharts-area-"),[m,v]=E.useState(!0),y=E.useCallback(()=>{typeof d=="function"&&d(),v(!1)},[d]),b=E.useCallback(()=>{typeof h=="function"&&h(),v(!0)},[h]),g=i.current,w=a.current;return x.createElement(Fh,{begin:c,duration:l,isActive:u,easing:f,onAnimationEnd:y,onAnimationStart:b,key:p},C=>{if(g){var O=g.length/o.length,P=C===1?o:o.map((M,z)=>{var k=Math.floor(z*O);if(g[k]){var T=g[k];return nr(nr({},M),{},{x:it(T.x,M.x,C),y:it(T.y,M.y,C)})}return M}),S;return N(s)?S=it(w,s,C):ue(s)||He(s)?S=it(w,0,C):S=s.map((M,z)=>{var k=Math.floor(z*O);if(Array.isArray(w)&&w[k]){var T=w[k];return nr(nr({},M),{},{x:it(T.x,M.x,C),y:it(T.y,M.y,C)})}return M}),C>0&&(i.current=P,a.current=S),x.createElement(Y0,{points:P,baseLine:S,needClip:t,clipPathId:r,props:n,showLabels:!m})}return C>0&&(i.current=o,a.current=s),x.createElement(st,null,x.createElement("defs",null,x.createElement("clipPath",{id:"animationClipPath-".concat(r)},x.createElement(kw,{alpha:C,points:o,baseLine:s,layout:n.layout,strokeWidth:n.strokeWidth}))),x.createElement(st,{clipPath:"url(#animationClipPath-".concat(r,")")},x.createElement(Y0,{points:o,baseLine:s,needClip:t,clipPathId:r,props:n,showLabels:!0})))})}function Dw(e){var{needClip:t,clipPathId:r,props:n}=e,{points:i,baseLine:a,isAnimationActive:o}=n,s=E.useRef(null),u=E.useRef(),c=s.current,l=u.current;return o&&i&&i.length&&(c!==i||l!==a)?x.createElement(Tw,{needClip:t,clipPathId:r,props:n,previousPointsRef:s,previousBaselineRef:u}):x.createElement(Y0,{points:i,baseLine:a,needClip:t,clipPathId:r,props:n,showLabels:!0})}class Nw extends E.PureComponent{render(){var t,{hide:r,dot:n,points:i,className:a,top:o,left:s,needClip:u,xAxisId:c,yAxisId:l,width:f,height:h,id:d,baseLine:p}=this.props;if(r)return null;var m=Q.clsx("recharts-area",a),v=d,{r:y=3,strokeWidth:b=2}=(t=le(n,!1))!==null&&t!==void 0?t:{r:3,strokeWidth:2},g=$i(n),w=y*2+b;return x.createElement(x.Fragment,null,x.createElement(st,{className:m},u&&x.createElement("defs",null,x.createElement(qh,{clipPathId:v,xAxisId:c,yAxisId:l}),!g&&x.createElement("clipPath",{id:"clipPath-dots-".concat(v)},x.createElement("rect",{x:s-w/2,y:o-w/2,width:f+w,height:h+w}))),x.createElement(Dw,{needClip:u,clipPathId:v,props:this.props})),x.createElement(H0,{points:i,mainColor:Ii(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot}),this.props.isRange&&Array.isArray(p)&&x.createElement(H0,{points:p,mainColor:Ii(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot}))}}var s8={activeDot:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",connectNulls:!1,dot:!1,fill:"#3182bd",fillOpacity:.6,hide:!1,isAnimationActive:!jr.isSsr,legendType:"line",stroke:"#3182bd",xAxisId:0,yAxisId:0};function Iw(e){var t,r=pt(e,s8),{activeDot:n,animationBegin:i,animationDuration:a,animationEasing:o,connectNulls:s,dot:u,fill:c,fillOpacity:l,hide:f,isAnimationActive:h,legendType:d,stroke:p,xAxisId:m,yAxisId:v}=r,y=o8(r,bw),b=Qi(),g=mh(),{needClip:w}=_s(m,v),C=Re(),{points:O,isRange:P,baseLine:S}=(t=F(K=>yw(K,m,v,C,e.id)))!==null&&t!==void 0?t:{},M=x2();if(b!=="horizontal"&&b!=="vertical"||M==null||g!=="AreaChart"&&g!=="ComposedChart")return null;var{height:z,width:k,x:T,y:W}=M;return!O||!O.length?null:x.createElement(Nw,wt({},y,{activeDot:n,animationBegin:i,animationDuration:a,animationEasing:o,baseLine:S,connectNulls:s,dot:u,fill:c,fillOpacity:l,height:z,hide:f,layout:b,isAnimationActive:h,isRange:P,legendType:d,needClip:w,points:O,stroke:p,width:k,left:T,top:W,xAxisId:m,yAxisId:v}))}var Rw=(e,t,r,n,i)=>{var a=r??t;if(N(a))return a;var o=e==="horizontal"?i:n,s=o.scale.domain();if(o.type==="number"){var u=Math.max(s[0],s[1]),c=Math.min(s[0],s[1]);return a==="dataMin"?c:a==="dataMax"||u<0?u:Math.max(Math.min(s[0],s[1]),0)}return a==="dataMin"?s[0]:a==="dataMax"?s[1]:s[0]};function $w(e){var{areaSettings:{connectNulls:t,baseValue:r,dataKey:n},stackedData:i,layout:a,chartBaseValue:o,xAxis:s,yAxis:u,displayedData:c,dataStartIndex:l,xAxisTicks:f,yAxisTicks:h,bandSize:d}=e,p=i&&i.length,m=Rw(a,o,r,s,u),v=a==="horizontal",y=!1,b=c.map((w,C)=>{var O;p?O=i[l+C]:(O=Oe(w,n),Array.isArray(O)?y=!0:O=[m,O]);var P=O[1]==null||p&&!t&&Oe(w,n)==null;return v?{x:fi({axis:s,ticks:f,bandSize:d,entry:w,index:C}),y:P?null:u.scale(O[1]),value:O,payload:w}:{x:P?null:s.scale(O[1]),y:fi({axis:u,ticks:h,bandSize:d,entry:w,index:C}),value:O,payload:w}}),g;return p||y?g=b.map(w=>{var C=Array.isArray(w.value)?w.value[0]:null;return v?{x:w.x,y:C!=null&&w.y!=null?u.scale(C):null,payload:w.payload}:{x:C!=null?s.scale(C):null,y:w.y,payload:w.payload}}):g=v?u.scale(m):s.scale(m),{points:b,baseLine:g,isRange:y}}function u8(e){var t=pt(e,s8),r=Re();return x.createElement($h,{id:t.id,type:"area"},n=>x.createElement(x.Fragment,null,x.createElement(Ih,{legendPayload:Ew(t)}),x.createElement(Nh,{fn:Pw,args:t}),x.createElement(Bh,{type:"area",id:n,data:t.data,dataKey:t.dataKey,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,stackId:t4(t.stackId),hide:t.hide,barSize:void 0,baseValue:t.baseValue,isPanorama:r,connectNulls:t.connectNulls}),x.createElement(Iw,wt({},t,{id:n}))))}u8.displayName="Area";function O1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function E1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?O1(Object(r),!0).forEach(function(n){Lw(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Lw(e,t,r){return(t=Bw(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bw(e){var t=Fw(e,"string");return typeof t=="symbol"?t:t+""}function Fw(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var zw={xAxis:{},yAxis:{},zAxis:{}},l8=Ye({name:"cartesianAxis",initialState:zw,reducers:{addXAxis(e,t){e.xAxis[t.payload.id]=t.payload},removeXAxis(e,t){delete e.xAxis[t.payload.id]},addYAxis(e,t){e.yAxis[t.payload.id]=t.payload},removeYAxis(e,t){delete e.yAxis[t.payload.id]},addZAxis(e,t){e.zAxis[t.payload.id]=t.payload},removeZAxis(e,t){delete e.zAxis[t.payload.id]},updateYAxisWidth(e,t){var{id:r,width:n}=t.payload;e.yAxis[r]&&(e.yAxis[r]=E1(E1({},e.yAxis[r]),{},{width:n}))}}}),{addXAxis:qw,removeXAxis:Ww,addYAxis:Uw,removeYAxis:Kw,addZAxis:VE,removeZAxis:HE,updateYAxisWidth:Vw}=l8.actions,Hw=l8.reducer,Gw=["children"],Yw=["dangerouslySetInnerHTML","ticks"];function c8(e,t,r){return(t=Zw(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zw(e){var t=Xw(e,"string");return typeof t=="symbol"?t:t+""}function Xw(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Z0(){return Z0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Z0.apply(null,arguments)}function f8(e,t){if(e==null)return{};var r,n,i=Qw(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Qw(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function Jw(e){var t=ke(),r=E.useMemo(()=>{var{children:a}=e,o=f8(e,Gw);return o},[e]),n=F(a=>Mt(a,r.id)),i=r===n;return E.useEffect(()=>(t(qw(r)),()=>{t(Ww(r))}),[r,t]),i?e.children:null}var eO=e=>{var{xAxisId:t,className:r}=e,n=F(Qf),i=Re(),a="xAxis",o=F(d=>Ir(d,a,t,i)),s=F(d=>X3(d,a,t,i)),u=F(d=>Sy(d,t)),c=F(d=>Dy(d,t));if(u==null||c==null)return null;var{dangerouslySetInnerHTML:l,ticks:f}=e,h=f8(e,Yw);return x.createElement(Kt,Z0({},h,{scale:o,x:c.x,y:c.y,width:u.width,height:u.height,className:Q.clsx("recharts-".concat(a," ").concat(a),r),viewBox:n,ticks:s}))},tO=e=>{var t,r,n,i,a;return x.createElement(Jw,{interval:(t=e.interval)!==null&&t!==void 0?t:"preserveEnd",id:e.xAxisId,scale:e.scale,type:e.type,padding:e.padding,allowDataOverflow:e.allowDataOverflow,domain:e.domain,dataKey:e.dataKey,allowDuplicatedCategory:e.allowDuplicatedCategory,allowDecimals:e.allowDecimals,tickCount:e.tickCount,includeHidden:(r=e.includeHidden)!==null&&r!==void 0?r:!1,reversed:e.reversed,ticks:e.ticks,height:e.height,orientation:e.orientation,mirror:e.mirror,hide:e.hide,unit:e.unit,name:e.name,angle:(n=e.angle)!==null&&n!==void 0?n:0,minTickGap:(i=e.minTickGap)!==null&&i!==void 0?i:5,tick:(a=e.tick)!==null&&a!==void 0?a:!0,tickFormatter:e.tickFormatter},x.createElement(eO,e))};class Ts extends E.Component{render(){return x.createElement(tO,this.props)}}c8(Ts,"displayName","XAxis");c8(Ts,"defaultProps",{allowDataOverflow:Fe.allowDataOverflow,allowDecimals:Fe.allowDecimals,allowDuplicatedCategory:Fe.allowDuplicatedCategory,height:Fe.height,hide:!1,mirror:Fe.mirror,orientation:Fe.orientation,padding:Fe.padding,reversed:Fe.reversed,scale:Fe.scale,tickCount:Fe.tickCount,type:Fe.type,xAxisId:0});var rO=e=>{var{ticks:t,label:r,labelGapWithTick:n=5,tickSize:i=0,tickMargin:a=0}=e,o=0;if(t){t.forEach(l=>{if(l){var f=l.getBoundingClientRect();f.width>o&&(o=f.width)}});var s=r?r.getBoundingClientRect().width:0,u=i+a,c=o+u+s+(r?n:0);return Math.round(c)}return 0},nO=["dangerouslySetInnerHTML","ticks"];function d8(e,t,r){return(t=iO(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iO(e){var t=aO(e,"string");return typeof t=="symbol"?t:t+""}function aO(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function X0(){return X0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},X0.apply(null,arguments)}function oO(e,t){if(e==null)return{};var r,n,i=sO(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function sO(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function uO(e){var t=ke();return E.useEffect(()=>(t(Uw(e)),()=>{t(Kw(e))}),[e,t]),null}var lO=e=>{var t,{yAxisId:r,className:n,width:i,label:a}=e,o=E.useRef(null),s=E.useRef(null),u=F(Qf),c=Re(),l=ke(),f="yAxis",h=F(g=>Ir(g,f,r,c)),d=F(g=>Iy(g,r)),p=F(g=>Ny(g,r)),m=F(g=>X3(g,f,r,c));if(E.useLayoutEffect(()=>{var g;if(!(i!=="auto"||!d||Ps(a)||E.isValidElement(a))){var w=o.current,C=w==null||(g=w.tickRefs)===null||g===void 0?void 0:g.current,{tickSize:O,tickMargin:P}=w.props,S=rO({ticks:C,label:s.current,labelGapWithTick:5,tickSize:O,tickMargin:P});Math.round(d.width)!==Math.round(S)&&l(Vw({id:r,width:S}))}},[o,o==null||(t=o.current)===null||t===void 0||(t=t.tickRefs)===null||t===void 0?void 0:t.current,d?.width,d,l,a,r,i]),d==null||p==null)return null;var{dangerouslySetInnerHTML:v,ticks:y}=e,b=oO(e,nO);return x.createElement(Kt,X0({},b,{ref:o,labelRef:s,scale:h,x:p.x,y:p.y,width:d.width,height:d.height,className:Q.clsx("recharts-".concat(f," ").concat(f),n),viewBox:u,ticks:m}))},cO=e=>{var t,r,n,i,a;return x.createElement(x.Fragment,null,x.createElement(uO,{interval:(t=e.interval)!==null&&t!==void 0?t:"preserveEnd",id:e.yAxisId,scale:e.scale,type:e.type,domain:e.domain,allowDataOverflow:e.allowDataOverflow,dataKey:e.dataKey,allowDuplicatedCategory:e.allowDuplicatedCategory,allowDecimals:e.allowDecimals,tickCount:e.tickCount,padding:e.padding,includeHidden:(r=e.includeHidden)!==null&&r!==void 0?r:!1,reversed:e.reversed,ticks:e.ticks,width:e.width,orientation:e.orientation,mirror:e.mirror,hide:e.hide,unit:e.unit,name:e.name,angle:(n=e.angle)!==null&&n!==void 0?n:0,minTickGap:(i=e.minTickGap)!==null&&i!==void 0?i:5,tick:(a=e.tick)!==null&&a!==void 0?a:!0,tickFormatter:e.tickFormatter}),x.createElement(lO,e))},fO={allowDataOverflow:ze.allowDataOverflow,allowDecimals:ze.allowDecimals,allowDuplicatedCategory:ze.allowDuplicatedCategory,hide:!1,mirror:ze.mirror,orientation:ze.orientation,padding:ze.padding,reversed:ze.reversed,scale:ze.scale,tickCount:ze.tickCount,type:ze.type,width:ze.width,yAxisId:0};class Ds extends E.Component{render(){return x.createElement(cO,this.props)}}d8(Ds,"displayName","YAxis");d8(Ds,"defaultProps",fO);var Yn={exports:{}},Ja={};/**
65
- * @license React
66
- * use-sync-external-store-with-selector.production.js
67
- *
68
- * Copyright (c) Meta Platforms, Inc. and affiliates.
69
- *
70
- * This source code is licensed under the MIT license found in the
71
- * LICENSE file in the root directory of this source tree.
72
- */var P1;function dO(){if(P1)return Ja;P1=1;var e=E;function t(u,c){return u===c&&(u!==0||1/u===1/c)||u!==u&&c!==c}var r=typeof Object.is=="function"?Object.is:t,n=e.useSyncExternalStore,i=e.useRef,a=e.useEffect,o=e.useMemo,s=e.useDebugValue;return Ja.useSyncExternalStoreWithSelector=function(u,c,l,f,h){var d=i(null);if(d.current===null){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=o(function(){function v(C){if(!y){if(y=!0,b=C,C=f(C),h!==void 0&&p.hasValue){var O=p.value;if(h(O,C))return g=O}return g=C}if(O=g,r(b,C))return O;var P=f(C);return h!==void 0&&h(O,P)?(b=C,O):(b=C,g=P)}var y=!1,b,g,w=l===void 0?null:l;return[function(){return v(c())},w===null?void 0:function(){return v(w())}]},[c,l,f,h]);var m=n(u,d[0],d[1]);return a(function(){p.hasValue=!0,p.value=m},[m]),s(m),m},Ja}var e0={};/**
73
- * @license React
74
- * use-sync-external-store-with-selector.development.js
75
- *
76
- * Copyright (c) Meta Platforms, Inc. and affiliates.
77
- *
78
- * This source code is licensed under the MIT license found in the
79
- * LICENSE file in the root directory of this source tree.
80
- */var A1;function hO(){return A1||(A1=1,process.env.NODE_ENV!=="production"&&(function(){function e(u,c){return u===c&&(u!==0||1/u===1/c)||u!==u&&c!==c}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=E,r=typeof Object.is=="function"?Object.is:e,n=t.useSyncExternalStore,i=t.useRef,a=t.useEffect,o=t.useMemo,s=t.useDebugValue;e0.useSyncExternalStoreWithSelector=function(u,c,l,f,h){var d=i(null);if(d.current===null){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=o(function(){function v(C){if(!y){if(y=!0,b=C,C=f(C),h!==void 0&&p.hasValue){var O=p.value;if(h(O,C))return g=O}return g=C}if(O=g,r(b,C))return O;var P=f(C);return h!==void 0&&h(O,P)?(b=C,O):(b=C,g=P)}var y=!1,b,g,w=l===void 0?null:l;return[function(){return v(c())},w===null?void 0:function(){return v(w())}]},[c,l,f,h]);var m=n(u,d[0],d[1]);return a(function(){p.hasValue=!0,p.value=m},[m]),s(m),m},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),e0}var _1;function pO(){return _1||(_1=1,process.env.NODE_ENV==="production"?Yn.exports=dO():Yn.exports=hO()),Yn.exports}pO();function vO(e){e()}function mO(){let e=null,t=null;return{clear(){e=null,t=null},notify(){vO(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||e===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var S1={notify(){},get:()=>[]};function yO(e,t){let r,n=S1,i=0,a=!1;function o(m){l();const v=n.subscribe(m);let y=!1;return()=>{y||(y=!0,v(),f())}}function s(){n.notify()}function u(){p.onStateChange&&p.onStateChange()}function c(){return a}function l(){i++,r||(r=e.subscribe(u),n=mO())}function f(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=S1)}function h(){a||(a=!0,l())}function d(){a&&(a=!1,f())}const p={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:u,isSubscribed:c,trySubscribe:h,tryUnsubscribe:d,getListeners:()=>n};return p}var gO=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",bO=gO(),CO=()=>typeof navigator<"u"&&navigator.product==="ReactNative",xO=CO(),wO=()=>bO||xO?x.useLayoutEffect:x.useEffect,OO=wO(),EO=Symbol.for("react-redux-context"),PO=typeof globalThis<"u"?globalThis:{};function AO(){if(!x.createContext)return{};const e=PO[EO]??=new Map;let t=e.get(x.createContext);return t||(t=x.createContext(null),process.env.NODE_ENV!=="production"&&(t.displayName="ReactRedux"),e.set(x.createContext,t)),t}var _O=AO();function SO(e){const{children:t,context:r,serverState:n,store:i}=e,a=x.useMemo(()=>{const u=yO(i),c={store:i,subscription:u,getServerState:n?()=>n:void 0};if(process.env.NODE_ENV==="production")return c;{const{identityFunctionCheck:l="once",stabilityCheck:f="once"}=e;return Object.assign(c,{stabilityCheck:f,identityFunctionCheck:l})}},[i,n]),o=x.useMemo(()=>i.getState(),[i]);OO(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),o!==i.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,o]);const s=r||_O;return x.createElement(s.Provider,{value:a},t)}var jO=SO,MO=(e,t)=>t,Ns=A([MO,X,g3,pe,fh,kt,Bg,Ee],Ug),Is=e=>{var t=e.currentTarget.getBoundingClientRect(),r=t.width/e.currentTarget.offsetWidth,n=t.height/e.currentTarget.offsetHeight;return{chartX:Math.round((e.clientX-t.left)/r),chartY:Math.round((e.clientY-t.top)/n)}},h8=tt("mouseClick"),p8=gn();p8.startListening({actionCreator:h8,effect:(e,t)=>{var r=e.payload,n=Ns(t.getState(),Is(r));n?.activeIndex!=null&&t.dispatch(Hy({activeIndex:n.activeIndex,activeDataKey:void 0,activeCoordinate:n.activeCoordinate}))}});var Q0=tt("mouseMove"),v8=gn();v8.startListening({actionCreator:Q0,effect:(e,t)=>{var r=e.payload,n=t.getState(),i=vs(n,n.tooltip.settings.shared),a=Ns(n,Is(r));i==="axis"&&(a?.activeIndex!=null?t.dispatch(ih({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate})):t.dispatch(nh()))}});function kO(e,t){return t instanceof HTMLElement?"HTMLElement <".concat(t.tagName,' class="').concat(t.className,'">'):t===window?"global.window":t}var j1={accessibilityLayer:!0,barCategoryGap:"10%",barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:"none",syncId:void 0,syncMethod:"index"},m8=Ye({name:"rootProps",initialState:j1,reducers:{updateOptions:(e,t)=>{var r;e.accessibilityLayer=t.payload.accessibilityLayer,e.barCategoryGap=t.payload.barCategoryGap,e.barGap=(r=t.payload.barGap)!==null&&r!==void 0?r:j1.barGap,e.barSize=t.payload.barSize,e.maxBarSize=t.payload.maxBarSize,e.stackOffset=t.payload.stackOffset,e.syncId=t.payload.syncId,e.syncMethod=t.payload.syncMethod,e.className=t.payload.className}}}),TO=m8.reducer,{updateOptions:DO}=m8.actions,y8=Ye({name:"polarOptions",initialState:null,reducers:{updatePolarOptions:(e,t)=>t.payload}}),{updatePolarOptions:GE}=y8.actions,NO=y8.reducer,g8=tt("keyDown"),b8=tt("focus"),Rs=gn();Rs.startListening({actionCreator:g8,effect:(e,t)=>{var r=t.getState(),n=r.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:i}=r.tooltip,a=e.payload;if(!(a!=="ArrowRight"&&a!=="ArrowLeft"&&a!=="Enter")){var o=Number(ms(i,$r(r))),s=kt(r);if(a==="Enter"){var u=ki(r,"axis","hover",String(i.index));t.dispatch(q0({active:!i.active,activeIndex:i.index,activeDataKey:i.dataKey,activeCoordinate:u}));return}var c=By(r),l=c==="left-to-right"?1:-1,f=a==="ArrowRight"?1:-1,h=o+f*l;if(!(s==null||h>=s.length||h<0)){var d=ki(r,"axis","hover",String(h));t.dispatch(q0({active:!0,activeIndex:h.toString(),activeDataKey:void 0,activeCoordinate:d}))}}}}});Rs.startListening({actionCreator:b8,effect:(e,t)=>{var r=t.getState(),n=r.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:i}=r.tooltip;if(!i.active&&i.index==null){var a="0",o=ki(r,"axis","hover",String(a));t.dispatch(q0({activeDataKey:void 0,active:!0,activeIndex:a,activeCoordinate:o}))}}}});var Xe=tt("externalEvent"),C8=gn();C8.startListening({actionCreator:Xe,effect:(e,t)=>{if(e.payload.handler!=null){var r=t.getState(),n={activeCoordinate:Mg(r),activeDataKey:Sg(r),activeIndex:fn(r),activeLabel:ph(r),activeTooltipIndex:fn(r),isTooltipActive:kg(r)};e.payload.handler(n,e.payload.reactEvent)}}});var IO=A([Rr],e=>e.tooltipItemPayloads),RO=A([IO,Sn,(e,t,r)=>t,(e,t,r)=>r],(e,t,r,n)=>{var i=e.find(s=>s.settings.dataKey===n);if(i!=null){var{positions:a}=i;if(a!=null){var o=t(a,r);return o}}}),x8=tt("touchMove"),w8=gn();w8.startListening({actionCreator:x8,effect:(e,t)=>{var r=e.payload,n=t.getState(),i=vs(n,n.tooltip.settings.shared);if(i==="axis"){var a=Ns(n,Is({clientX:r.touches[0].clientX,clientY:r.touches[0].clientY,currentTarget:r.currentTarget}));a?.activeIndex!=null&&t.dispatch(ih({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate}))}else if(i==="item"){var o,s=r.touches[0],u=document.elementFromPoint(s.clientX,s.clientY);if(!u||!u.getAttribute)return;var c=u.getAttribute(l4),l=(o=u.getAttribute(c4))!==null&&o!==void 0?o:void 0,f=RO(t.getState(),c,l);t.dispatch(Vy({activeDataKey:l,activeIndex:c,activeCoordinate:f}))}}});var $O=gf({brush:rx,cartesianAxis:Hw,chartData:ob,errorBars:GC,graphicalItems:$C,layout:N7,legend:D4,options:tb,polarAxis:_C,polarOptions:NO,referenceElements:lx,rootProps:TO,tooltip:Gy}),LO=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Chart";return a7({reducer:$O,preloadedState:t,middleware:n=>n({serializableCheck:!1}).concat([p8.middleware,v8.middleware,Rs.middleware,C8.middleware,w8.middleware]),devTools:{serialize:{replacer:kO},name:"recharts-".concat(r)}})};function BO(e){var{preloadedState:t,children:r,reduxStoreName:n}=e,i=Re(),a=E.useRef(null);if(i)return r;a.current==null&&(a.current=LO(t,n));var o=fo;return x.createElement(jO,{context:o,store:a.current},r)}function FO(e){var{layout:t,width:r,height:n,margin:i}=e,a=ke(),o=Re();return E.useEffect(()=>{o||(a(k7(t)),a(T7({width:r,height:n})),a(M7(i)))},[a,o,t,r,n,i]),null}function zO(e){var t=ke();return E.useEffect(()=>{t(DO(e))},[t,e]),null}var qO=["children"];function WO(e,t){if(e==null)return{};var r,n,i=UO(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function UO(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function Ri(){return Ri=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ri.apply(null,arguments)}var KO={width:"100%",height:"100%"},VO=E.forwardRef((e,t)=>{var r=ed(),n=td(),i=ld();if(!vi(r)||!vi(n))return null;var{children:a,otherAttributes:o,title:s,desc:u}=e,c,l;return typeof o.tabIndex=="number"?c=o.tabIndex:c=i?0:void 0,typeof o.role=="string"?l=o.role:l=i?"application":void 0,x.createElement(U1,Ri({},o,{title:s,desc:u,role:l,tabIndex:c,width:r,height:n,style:KO,ref:t}),a)}),HO=e=>{var{children:t}=e,r=F(Xi);if(!r)return null;var{width:n,height:i,y:a,x:o}=r;return x.createElement(U1,{width:n,height:i,x:o,y:a},t)},M1=E.forwardRef((e,t)=>{var{children:r}=e,n=WO(e,qO),i=Re();return i?x.createElement(HO,null,r):x.createElement(VO,Ri({ref:t},n),r)});function GO(){var e=ke(),[t,r]=E.useState(null),n=F(u4);return E.useEffect(()=>{if(t!=null){var i=t.getBoundingClientRect(),a=i.width/t.offsetWidth;Me(a)&&a!==n&&e(D7(a))}},[t,e,n]),r}function k1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function YO(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?k1(Object(r),!0).forEach(function(n){ZO(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ZO(e,t,r){return(t=XO(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function XO(e){var t=QO(e,"string");return typeof t=="symbol"?t:t+""}function QO(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var JO=E.forwardRef((e,t)=>{var{children:r,className:n,height:i,onClick:a,onContextMenu:o,onDoubleClick:s,onMouseDown:u,onMouseEnter:c,onMouseLeave:l,onMouseMove:f,onMouseUp:h,onTouchEnd:d,onTouchMove:p,onTouchStart:m,style:v,width:y}=e,b=ke(),[g,w]=E.useState(null),[C,O]=E.useState(null);lb();var P=GO(),S=E.useCallback(L=>{P(L),typeof t=="function"&&t(L),w(L),O(L)},[P,t,w,O]),M=E.useCallback(L=>{b(h8(L)),b(Xe({handler:a,reactEvent:L}))},[b,a]),z=E.useCallback(L=>{b(Q0(L)),b(Xe({handler:c,reactEvent:L}))},[b,c]),k=E.useCallback(L=>{b(nh()),b(Xe({handler:l,reactEvent:L}))},[b,l]),T=E.useCallback(L=>{b(Q0(L)),b(Xe({handler:f,reactEvent:L}))},[b,f]),W=E.useCallback(()=>{b(b8())},[b]),K=E.useCallback(L=>{b(g8(L.key))},[b]),te=E.useCallback(L=>{b(Xe({handler:o,reactEvent:L}))},[b,o]),Y=E.useCallback(L=>{b(Xe({handler:s,reactEvent:L}))},[b,s]),B=E.useCallback(L=>{b(Xe({handler:u,reactEvent:L}))},[b,u]),q=E.useCallback(L=>{b(Xe({handler:h,reactEvent:L}))},[b,h]),R=E.useCallback(L=>{b(Xe({handler:m,reactEvent:L}))},[b,m]),$=E.useCallback(L=>{b(x8(L)),b(Xe({handler:p,reactEvent:L}))},[b,p]),se=E.useCallback(L=>{b(Xe({handler:d,reactEvent:L}))},[b,d]);return x.createElement(xh.Provider,{value:g},x.createElement(n9.Provider,{value:C},x.createElement("div",{className:Q.clsx("recharts-wrapper",n),style:YO({position:"relative",cursor:"default",width:y,height:i},v),onClick:M,onContextMenu:te,onDoubleClick:Y,onFocus:W,onKeyDown:K,onMouseDown:B,onMouseEnter:z,onMouseLeave:k,onMouseMove:T,onMouseUp:q,onTouchEnd:se,onTouchMove:$,onTouchStart:R,ref:S},r)))}),eE=["children","className","width","height","style","compact","title","desc"];function tE(e,t){if(e==null)return{};var r,n,i=rE(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function rE(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var nE=E.forwardRef((e,t)=>{var{children:r,className:n,width:i,height:a,style:o,compact:s,title:u,desc:c}=e,l=tE(e,eE),f=Ft(l);return s?x.createElement(M1,{otherAttributes:f,title:u,desc:c},r):x.createElement(JO,{className:n,style:o,width:i,height:a,onClick:e.onClick,onMouseLeave:e.onMouseLeave,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onContextMenu:e.onContextMenu,onDoubleClick:e.onDoubleClick,onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd},x.createElement(M1,{otherAttributes:f,title:u,desc:c,ref:t},x.createElement(fx,null,r)))}),iE=["width","height"];function J0(){return J0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},J0.apply(null,arguments)}function aE(e,t){if(e==null)return{};var r,n,i=oE(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function oE(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var sE={top:5,right:5,bottom:5,left:5},uE={accessibilityLayer:!0,layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:sE,reverseStackOrder:!1,syncMethod:"index"},O8=E.forwardRef(function(t,r){var n,i=pt(t.categoricalChartProps,uE),{width:a,height:o}=i,s=aE(i,iE);if(!vi(a)||!vi(o))return null;var{chartName:u,defaultTooltipEventType:c,validateTooltipEventTypes:l,tooltipPayloadSearcher:f,categoricalChartProps:h}=t,d={chartName:u,defaultTooltipEventType:c,validateTooltipEventTypes:l,tooltipPayloadSearcher:f,eventEmitter:void 0};return x.createElement(BO,{preloadedState:{options:d},reduxStoreName:(n=h.id)!==null&&n!==void 0?n:u},x.createElement(tx,{chartData:h.data}),x.createElement(FO,{width:a,height:o,layout:i.layout,margin:i.margin}),x.createElement(zO,{accessibilityLayer:i.accessibilityLayer,barCategoryGap:i.barCategoryGap,maxBarSize:i.maxBarSize,stackOffset:i.stackOffset,barGap:i.barGap,barSize:i.barSize,syncId:i.syncId,syncMethod:i.syncMethod,className:i.className}),x.createElement(nE,J0({},s,{width:a,height:o,ref:r})))}),lE=["axis"],cE=E.forwardRef((e,t)=>x.createElement(O8,{chartName:"LineChart",defaultTooltipEventType:"axis",validateTooltipEventTypes:lE,tooltipPayloadSearcher:wh,categoricalChartProps:e,ref:t})),fE=["axis"],dE=E.forwardRef((e,t)=>x.createElement(O8,{chartName:"AreaChart",defaultTooltipEventType:"axis",validateTooltipEventTypes:fE,tooltipPayloadSearcher:wh,categoricalChartProps:e,ref:t}));function hE(e){return e&&Array.isArray(e.data)&&e.data.length>1&&e.data.every(t=>t.date&&!isNaN(new Date(t.date).getTime())&&typeof t.value=="number"&&!isNaN(t.value))}const pE=e=>{const t=[];return Object.keys(e).forEach(r=>{if(r==="test_id"||r==="test_name"||r==="test_unit"||r==="isPrintable")return;const n=e[r];if(n&&typeof n=="object"&&"test_value"in n){const i=parseFloat(n.test_value);isNaN(i)||t.push({date:r,value:i})}}),t.sort((r,n)=>new Date(r.date).getTime()-new Date(n.date).getTime())},E8=E.createContext(void 0);function vE({children:e}){const t=_.jsxRuntimeExports.jsx("div",{className:"hfl-fixed hfl-inset-0 hfl-z-[1000] hfl-flex hfl-items-center hfl-justify-center hfl-bg-black/50 hfl-backdrop-blur-[2px]",children:e});return T1.createPortal(t,document.body)}function $s(){const e=E.useContext(E8);if(!e)throw new Error("Trend Graph Context not available");return e}const mE=({active:e,payload:t})=>{if(e&&t&&t.length){const r=t[0];return _.jsxRuntimeExports.jsxs("div",{className:"hfl-bg-Blue_gray-900 hfl-border hfl-border-Gray-300 hfl-rounded-lg hfl-shadow-lg hfl-px-2 hfl-pb-1 ",children:[_.jsxRuntimeExports.jsx("div",{className:"hfl-w-full hfl-flex hfl-justify-center",children:_.jsxRuntimeExports.jsx("div",{className:"hfl-w-0 hfl-h-0 hfl-border-l-[6px] hfl-border-r-[6px] hfl-border-b-[8px] hfl-border-l-transparent hfl-border-r-transparent hfl-border-b-Blue_gray-900"})}),_.jsxRuntimeExports.jsx(_.bi,{variant:"Bold",className:"hfl-text-White",type:"Text md",children:r.value})]})}return null};function yE(){const{data:e}=$s();return _.jsxRuntimeExports.jsx("div",{className:"hfl-flex hfl-justify-center hfl-items-center hfl-px-7 hfl-py-2 hfl-h-[55vh] hfl-bg-white",children:_.jsxRuntimeExports.jsx(Ah,{width:"100%",height:"100%",children:_.jsxRuntimeExports.jsxs(cE,{width:500,height:300,data:e.data,margin:{top:30,right:30,left:20,bottom:15},children:[_.jsxRuntimeExports.jsx(Hh,{strokeDasharray:"3 3"}),_.jsxRuntimeExports.jsx(Ts,{dataKey:"date",ticks:e.data.map(t=>t.date),tick:({x:t,y:r,payload:n})=>{const i=Zn.dayjs(n.value);return _.jsxRuntimeExports.jsxs("text",{x:t,y:r+10,textAnchor:"middle",fill:"#666",children:[_.jsxRuntimeExports.jsx("tspan",{x:t,dy:"0",children:i.format("DD-MMM-YY")}),_.jsxRuntimeExports.jsx("tspan",{x:t,dy:"20",children:i.format("hh:mm A")})]})}}),_.jsxRuntimeExports.jsx(Ds,{label:{value:e.unit,position:"top",offset:20,style:{textAnchor:"middle",fontSize:12}}}),_.jsxRuntimeExports.jsx(yb,{content:mE}),_.jsxRuntimeExports.jsx(e8,{type:"monotone",dataKey:"value",stroke:e.color.lineColor,activeDot:{r:8},name:e.testName})]})})})}function gE(){const{setShowLineChart:e,data:t}=$s();return _.jsxRuntimeExports.jsxs("div",{className:"hfl-px-7 hfl-py-2.5 hfl-flex hfl-justify-between hfl-w-full hfl-items-center hfl-bg-Warning-100 hfl-border-b-Warning-600",children:[_.jsxRuntimeExports.jsx(_.bi,{type:"Text md",variant:"Bold",className:"hfl-text-Blue_gray-800",children:t.testName}),_.jsxRuntimeExports.jsx(_.Ku,{hierarchy:"Secondary-Grey",icon:"Only",iconFile:"hx_close",size:"sm",onClick:()=>e(!1)})]})}function bE(){const e=E.useRef(null),{setShowLineChart:t}=$s();return A8.useClickOutside(e,()=>t(!1)),_.jsxRuntimeExports.jsx(vE,{children:_.jsxRuntimeExports.jsxs("div",{className:"hfl-rounded-md hfl-border-2 hfl-border-Gray-200 hfl-w-[54vw] ",ref:e,children:[_.jsxRuntimeExports.jsx(gE,{}),_.jsxRuntimeExports.jsx(yE,{})]})})}function CE(e){const{trendData:t,containerWidth:r,containerHeight:n,showError:i}=e,[a,o]=E.useState(!1),s=hE(t),{lineColor:u,areaColor:c}=t.color,l=E.useCallback(()=>{s?o(!0):i&&i("Line Chart cannot be shown, insufficient or invalid data points")},[s,i]);return!t||!t.data||t.data.length===0||!s?_.jsxRuntimeExports.jsx("div",{style:{width:157,height:28}}):_.jsxRuntimeExports.jsxs(E8.Provider,{value:{data:t,setShowLineChart:o},children:[_.jsxRuntimeExports.jsx("div",{style:{width:r,height:n,cursor:"pointer"},onClick:l,children:_.jsxRuntimeExports.jsx(Ah,{width:"100%",height:"100%",children:_.jsxRuntimeExports.jsx(dE,{data:t.data,children:_.jsxRuntimeExports.jsx(u8,{type:"monotone",dataKey:"value",stroke:u,strokeWidth:2,fill:c})})})}),a&&_.jsxRuntimeExports.jsx(bE,{})]})}const xE=[{lineColor:"#6938EF",areaColor:"#D9D6FE"},{lineColor:"#727BBD",areaColor:"#d5d9eb"},{lineColor:"#e44ca4",areaColor:"#fce7f6"}],wE=(e,t,r,n,i="")=>{let a={min:"",max:""},o=!1;try{if(i?.length){const s=JSON.parse(i);if(s?.rule){let u;const c=s.rule.find(l=>l.gender==="-1");c?.ranges?.length?u=c:u=s.rule.find(l=>l.gender===t),u?.ranges&&u.ranges.forEach(l=>{const f=l.age.split("-");f[0]<=e&&e<=f[1]&&(a=l)})}switch(r){case"921":case"922":case"923":case"1461":a=s[n];break;case"1851":a=s.WaistHipRatio;break;default:break}return o=OE(a,n),{isOutOfRange:o,rule:a}}return{isOutOfRange:o,rule:a}}catch(s){return console.log(s),{isOutOfRange:o,rule:a}}},OE=(e,t)=>{if(t?.length&&"max"in e&&"min"in e){let r=!1;return Number(e.min)>Number(e.max)&&(e.max=1/0),Number(e.min)===0&&Number(e.max)===0?!1:(Number(t)>=Number(e.min)&&Number(t)<=Number(e.max)||(r=!0),r)}return!1},EE=({patientAge:e,patientGender:t,data:r=[],testDetails:n=[],enableCheckboxesToSelect:i=!1,tableHeaderRowClasses:a,investigationCheckBoxMap:o,onColumnCheckboxClickHandler:s,onRowCheckboxClickHandler:u,onRefresh:c,scrollOverflowXToEnd:l=!1,displayOutOfRangeStyles:f,enableDateColsEditing:h,onInvValueCellSave:d})=>{const[p,m]=E.useState([]),[v,y]=E.useState([]),[b,g]=E.useState([]),[w,C]=E.useState(new Map([])),[O,P]=E.useState(new Map([])),[S,M]=E.useState(new Map([])),z=E.useRef(null),k=E.useRef(null),T="hfl-text-1",W=E.useCallback((B,q)=>{C(R=>{const $=new Map(R);return $.set(B,!0),$}),P(R=>{const $=new Map(R);return $.set(B,q??""),$})},[]),K=E.useCallback(B=>{C(q=>{const R=new Map(q);return R.set(B,!1),R}),P(q=>{const R=new Map(q);return R.delete(B),R}),M(q=>{const R=new Map(q);return R.delete(B),R})},[]),te=E.useCallback(async B=>{const q=O.get(B)??"",R=S.get(B)??"",[$,se]=B.split("::"),L=p.find(ne=>ne.test_id===$),be=L?L[se]:void 0,Ze=be?.test_value??"";if(q===Ze){C(ne=>{const me=new Map(ne);return me.set(B,!1),me}),P(ne=>{const me=new Map(ne);return me.delete(B),me}),M(ne=>{const me=new Map(ne);return me.delete(B),me});return}try{await d?.({test_date:se,test_id:$,test_value:q,out_of_range:R||!1,created_on:"",source_id:be?.source_id||0,source_type:be?.source_type||P8.E_INVESTIGATIONS_SOURCE.INVESTIGATIONS,id:be?.id||""})&&(C(me=>{const Pe=new Map(me);return Pe.set(B,!1),Pe}),P(me=>{const Pe=new Map(me);return Pe.delete(B),Pe}),M(me=>{const Pe=new Map(me);return Pe.delete(B),Pe}))}catch{}},[O,S,p,d]),Y=E.useCallback((B,q,R)=>{const $=O.get(R),[se]=R.split("::"),L=q?S.get(R)??B.out_of_range:B.out_of_range;return _.jsxRuntimeExports.jsx(_.jsxRuntimeExports.Fragment,{children:B&&_.jsxRuntimeExports.jsxs("div",{className:`hfl-flex hfl-px-4 hfl-py-1 hfl-gap-4 hfl-items-center hfl-w-full hfl-h-full ${q?"hfl-bg-Blue-50 hfl-border hfl-border-Blue-600":""} ${q&&L?"hfl-border hfl-border-Error-600":""}`,children:[q?_.jsxRuntimeExports.jsx("input",{autoFocus:!0,type:"string",value:$,className:`hfl-w-3/4 hfl-h-full hfl-border-0 focus:hfl-outline-none hfl-bg-inherit ${L&&"hfl-text-Error-600 hfl-font-bold"}`,onChange:be=>{const Ze=be.target.value,ne=n.find(Pe=>Pe.test_id===se),me=wE(e,t,se,Ze,ne?.test_range_rule)?.isOutOfRange;P(Pe=>{const Vt=new Map(Pe);return Vt.set(R,Ze),Vt}),M(Pe=>{const Vt=new Map(Pe);return Vt.set(R,me),Vt})}}):_.jsxRuntimeExports.jsx("span",{className:`${f&&L?"hfl-text-Error-600 hfl-font-semibold":""}`,children:$||B.test_value}),h&&B.isEditPermitted&&B.test_value?.length>0&&_.jsxRuntimeExports.jsx("div",{className:"hfl-flex hfl-gap-1",children:q?_.jsxRuntimeExports.jsxs(_.jsxRuntimeExports.Fragment,{children:[_.jsxRuntimeExports.jsx("i",{className:"hx_checkmark hfl-cursor-pointer hfl-text-Success-600 hover:hfl-font-bold",onClick:()=>te(R)}),_.jsxRuntimeExports.jsx("i",{className:"hx_close hfl-cursor-pointer hfl-text-Error-600 hover:hfl-font-bold",onClick:()=>K(R)})]}):_.jsxRuntimeExports.jsx("i",{className:"hx_edit hfl-cursor-pointer hfl-text-Blue-600 hover:hfl-font-bold",onClick:()=>W(R,B.test_value)})})]})})},[f,h,W,te,K,O,S,n,e,t]);return E.useEffect(()=>{const B=[{field:"#",fieldHeaderName:"No.",pinned:"left",width:"60px",minWidth:"60px",cellClasses:`${T}`,renderCell:(R,$,se,L)=>_.jsxRuntimeExports.jsx(_.jsxRuntimeExports.Fragment,{children:L+1})},{field:"test_name",fieldHeaderName:"Tests / Investigations",pinned:"left",width:"250px",minWidth:"250px",cellClasses:`${T}`,enableColumnCheckbox:i,isCheckBoxMarked:o.get("test_name"),onColumnCheckboxClick:R=>{s("test_name",R)},renderCell:(R,$)=>_.jsxRuntimeExports.jsxs("div",{className:"hfl-flex hfl-items-center",children:[i&&_.jsxRuntimeExports.jsx(_.Oi,{size:"md",checkBoxInnerDivClasses:"!hfl-w-4 !hfl-h-4 !hfl-mr-1 !hfl-text-Blue-600 !hfl-border-Blue-600 !hfl-bg-Blue-50 hover:hfl-bg-Blue-50 hover:hfl-border-Blue-600",text:"",onClick:()=>u?.($.test_id),id:`checkbox-test-${$.test_id}`,isMarked:$.isPrintable,checkboxClasses:"hfl-gap-0"}),R]})},{field:"test_unit",fieldHeaderName:"Units",pinned:"left",width:"80px",minWidth:"80px",cellClasses:`${T}`},{field:"trend_lines",fieldHeaderName:"Trend Lines",pinned:"right",width:"180px",minWidth:"180px",cellClasses:`${T}`,renderCell:(R,$,se,L)=>{const be=L%3,Ze={testName:$.test_name,unit:$.test_unit,color:xE[be],data:pE($)};return _.jsxRuntimeExports.jsx(CE,{containerHeight:32,containerWidth:180,trendData:Ze})}}],q=v.map(R=>({field:R,fieldHeaderName:R,width:"120px",minWidth:"120px",cellClasses:`${T} !hfl-p-0`,enableColumnCheckbox:i,isCheckBoxMarked:o.get(R),onColumnCheckboxClick:$=>{s(R,$)},renderHeaderCell:$=>_.jsxRuntimeExports.jsx(_.jsxRuntimeExports.Fragment,{children:Zn.dayjs($.fieldHeaderName).format("DD-MMM-YY hh:mm A")}),renderCell:($,se,L)=>{const be=`${se.test_id}::${String(L.field)}`,Ze=w.get(be)??!1;return Y($||{},Ze,be)}}));g([...B,...q])},[v,i,o,w,s,u,Y]),E.useEffect(()=>{if(!r.length)return;const B=[...new Set(r.map($=>$.test_date))].sort(($,se)=>Zn.dayjs($).diff(Zn.dayjs(se)));y(B);const q=new Map;r.forEach($=>{const se=n.find(be=>be?.test_id?.toString()===$?.test_id?.toString());q.has($.test_id)||q.set($.test_id,{test_id:$.test_id,test_name:se?.test_names||$.test_name,test_unit:se?.test_units||$.test_unit,isPrintable:$.isPrintable,isEditPermitted:$.isEditPermitted});const L=q.get($.test_id);L[$.test_date]={test_value:$.test_value,out_of_range:$.out_of_range,created_on:$.created_on,source_id:$.source_id,source_type:$.source_type,isEditPermitted:$.isEditPermitted||!1,id:$.id||""}});const R=Array.from(q.values());m(R)},[r,n]),E.useLayoutEffect(()=>{if(!l)return;const B=k.current;if(!B)return;const q=setTimeout(()=>{B.scrollLeft=B.scrollWidth},0);return()=>clearTimeout(q)},[l]),_.jsxRuntimeExports.jsx(L8,{headerRowClasses:`hfl-bg-Blue_gray-50 hfl-text-Indigo-500 hfl-text-1 hfl-border-t-0 ${a}`,tableRef:z,tableClassesToOverride:"hfl-border-0",tableMainDivClasses:"hfl-w-auto hfl-border",tableMainParentDivRef:k,columns:b,tableName:"Investigations",rows:p,displayNoDataFoundProps:{title:"No Investigation Available",description:"Please create a new investigation or refresh",onPageReload:c}})};exports.AllInvestigationsTable=EE;